From 288b21cec98421fda57028a0c8c9d835cfbb14b0 Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Fri, 22 May 2026 17:07:31 +0900 Subject: feat: add/remove keys from UI, backend URL setting, user service, Docker fix - Add POST /models/add-key and POST /models/remove-key API endpoints - Add 'Add New Key' modal (page-level) with provider selection - Add remove button per key in Model Status view - Add configurable backend URL setting in Settings panel with localStorage persistence - Convert systemd service from system to user service (systemctl --user) - Fix Docker entrypoint to chown all nested node_modules dirs - Update dispatch.toml credential paths to use -pro/-max naming - Make API port configurable via PORT env var (default 3000, prod 18390) --- docker/entrypoint.dev.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'docker') diff --git a/docker/entrypoint.dev.sh b/docker/entrypoint.dev.sh index bbde09a..dd0d423 100644 --- a/docker/entrypoint.dev.sh +++ b/docker/entrypoint.dev.sh @@ -35,10 +35,8 @@ if [ -d "$USER_HOME/.claude" ]; then chown -R "$HOST_UID:$HOST_GID" "$USER_HOME/.claude" 2>/dev/null || true fi -# Ensure node_modules is writable (created as root during build) -if [ -d /app/node_modules ]; then - chown -R "$HOST_UID:$HOST_GID" /app/node_modules -fi +# Ensure all node_modules are writable (created as root during build) +find /app -name node_modules -type d -maxdepth 3 -exec chown -R "$HOST_UID:$HOST_GID" {} + 2>/dev/null || true # Install/update dependencies as the target user (skip with SKIP_INSTALL=1) if [ "${SKIP_INSTALL:-}" != "1" ]; then -- cgit v1.2.3