mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-09-30 12:39:42 +02:00
Merge pull request #350 from opticon454/bugfix/dsh-pnpm
fix(docker): install pnpm for DeepSeek profile
This commit is contained in:
@@ -75,8 +75,9 @@ RUN curl -fsSL https://x.ai/cli/install.sh | bash \
|
||||
# profile itself is installed further down, into the `agent` HOME, because
|
||||
# Codeman deliberately does NOT seed `profiles/` from the host: it is a
|
||||
# per-profile node_modules tree, host-arch-specific and far too large to copy on
|
||||
# every container start.
|
||||
RUN npm install -g @deepseek-ai/dsh \
|
||||
# every container start. The harness delegates profile dependency management to
|
||||
# pnpm, so pnpm is a build dependency rather than optional runtime tooling.
|
||||
RUN npm install -g @deepseek-ai/dsh pnpm \
|
||||
&& npm cache clean --force \
|
||||
&& dsh --version
|
||||
|
||||
@@ -130,6 +131,10 @@ RUN useradd -g 0 -m -d /home/agent -s /bin/bash agent \
|
||||
&& mkdir -p /home/agent/.npm /home/agent/.cache /home/agent/.config /home/agent/.codeman \
|
||||
/home/agent/.claude/projects /home/agent/.codex/sessions /home/agent/.pi/agent /home/agent/.grok \
|
||||
/home/agent/.dsh /home/agent/.omp/agent \
|
||||
&& DSH_HOME=/home/agent/.dsh HOME=/home/agent \
|
||||
dsh plugin --profile dsh-tui install --ignore-scripts \
|
||||
&& printf '%s\n' '' 'allowBuilds:' ' "@google/genai": true' ' protobufjs: true' \
|
||||
>> /home/agent/.dsh/profiles/dsh-tui/pnpm-workspace.yaml \
|
||||
&& DSH_HOME=/home/agent/.dsh HOME=/home/agent \
|
||||
dsh plugin --profile dsh-tui add @deepseek-harness-tui/dsh-tui \
|
||||
&& test -f /home/agent/.dsh/profiles/dsh-tui/package.json \
|
||||
|
||||
Reference in New Issue
Block a user