From 55633c90c0d96e62153a4b6655f3f833a3b46ad4 Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Thu, 21 May 2026 19:06:15 +0900 Subject: refactor: gut model/tag/fallback/agent-template system, fix Docker setup - Remove ModelResolver, model definitions, model tags, fallback order, agent templates - Remove all [[models]], [agents], and fallback from dispatch.toml and config schema - ModelRegistry is now a pure key-state manager - dispatch.toml reduced to keys + permissions only - Docker: fix entrypoint for existing UID, skip bun install in frontend container - Docker: scoped build cache prune in bin/clean --- docker/entrypoint.dev.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docker') diff --git a/docker/entrypoint.dev.sh b/docker/entrypoint.dev.sh index 8378585..bbde09a 100644 --- a/docker/entrypoint.dev.sh +++ b/docker/entrypoint.dev.sh @@ -40,8 +40,10 @@ if [ -d /app/node_modules ]; then chown -R "$HOST_UID:$HOST_GID" /app/node_modules fi -# Install/update dependencies as the target user -su -s /bin/bash - "$USER_NAME" -c "export HOME=$USER_HOME && cd /app && bun install" +# Install/update dependencies as the target user (skip with SKIP_INSTALL=1) +if [ "${SKIP_INSTALL:-}" != "1" ]; then + su -s /bin/bash - "$USER_NAME" -c "export HOME=$USER_HOME && cd /app && bun install" +fi # Execute the main command as the target user exec su -s /bin/bash - "$USER_NAME" -c "export HOME=$USER_HOME && cd /app && exec $*" -- cgit v1.2.3