mirror of
https://github.com/qwibitai/nanoclaw.git
synced 2026-06-18 18:29:35 +08:00
0ffe5582f0
Trunk's adfae67 moved global Node CLI installs into container/cli-tools.json
(a json-merge seam) so a skill adds a CLI without editing the Dockerfile. The
Codex provider still hardcoded its CLI into the Dockerfile and guarded that
shape with a test. Migrate it:
- Drop the codex ARG + RUN from this branch's reference Dockerfile.
- Replace codex-dockerfile.test.ts with codex-cli-tools.test.ts, which asserts
the @openai/codex entry in cli-tools.json (skips when the manifest is absent,
e.g. on the bare providers branch).
- setup/providers/codex install-check verifies the manifest entry, not the
Dockerfile.
Pairs with the trunk-side add-codex.sh / SKILL.md change that appends the
manifest entry instead of awk-ing the Dockerfile.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>