# Code Mode adds `ctx.codeRuntime` and changes the registry to one wire tool, # `run_code`, plus its generated TypeScript SDK prompt. The demo and snapshot # recorder apply this profile patch; replay applies its sibling patch. - id: acp name: '@deepseek-ai/dsh-acp' config: provider: deepseek-official model: deepseek-v4-pro - id: session-persistence-jsonl name: '@deepseek-ai/dsh-session-persistence-jsonl' config: root: !!js process.env.DSH_SNAPSHOT_SESSIONS_ROOT ?? './.sessions' compression: !!js 'process.env.DSH_SNAPSHOT === undefined ? ''zstd'' : ''none''' - id: agent-instructions name: '@deepseek-ai/dsh-agent-instructions' config: maxBytes: 65536 - id: tools name: '@deepseek-ai/dsh-tools' config: mode: code - id: system-prompt name: '@deepseek-ai/dsh-system-prompt' config: persona: | You are a coding assistant powered by the {{model}} model. Your working directory is {{cwd}}. Verify your work by running the code or tests. Keep answers brief and factual. - insert: - id: code-runtime name: '@deepseek-ai/dsh-code-runtime-worker-thread'