Files
Codeman/.changeset/cli9a1d.md
T
DevvynandClaude Sonnet 5 8cef31086b fix(docker): persist CLIs installed from Settings across container updates
The image sets NPM_CONFIG_PREFIX=/opt/codeman-cli, which is image content, so
Update-Codeman.sh discarded every npm-installed CLI (dsh, pi). In the Compose
container, POST /api/clis/:id/install now installs into ~/.local on the
persistent home mount, and ~/.local/bin is appended to the image PATH.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GuHtuPiHXdykq9T6rKQJ9n
2026-09-25 08:56:20 +08:00

426 B

aicodeman
aicodeman
patch

Docker Compose: CLIs installed from Settings (DeepSeek, Pi and any other npm-based CLI) survive Update-Codeman.sh. The image's NPM_CONFIG_PREFIX (/opt/codeman-cli) is image content and was discarded when the container was recreated; POST /api/clis/:id/install now installs into ~/.local on the persistent home mount when running in the container, and ~/.local/bin is on the image PATH.