90 lines
3 KiB
YAML
90 lines
3 KiB
YAML
# ACP snapshot-record patch over the shipped `acp` profile. The dsh
|
|
# launcher owns environment loading, plugin resolution, and process shutdown;
|
|
# stdout remains reserved for ACP JSON-RPC.
|
|
|
|
- id: llm-deepseek
|
|
name: '@deepseek-ai/dsh-llm-deepseek'
|
|
config:
|
|
thinking: enabled
|
|
reasoningEffort: max
|
|
models:
|
|
- id: deepseek-v4-flash
|
|
- id: deepseek-v4-pro
|
|
- id: deepseek-v4-flash-vision-exp
|
|
inputModalities: [text, image]
|
|
|
|
- id: sandbox-policy
|
|
name: '@deepseek-ai/dsh-sandbox-policy'
|
|
config:
|
|
mode: !!js "process.env.DSH_PERMISSION_MODE ?? (process.env.DSH_SNAPSHOT === undefined ? 'workspace-write' : 'danger-full-access')"
|
|
workspaceRoot: !!js process.cwd()
|
|
|
|
- id: approval
|
|
name: '@deepseek-ai/dsh-user-approval'
|
|
config:
|
|
policy: !!js "(process.env.DSH_PERMISSION_MODE ?? (process.env.DSH_SNAPSHOT === undefined ? 'workspace-write' : 'danger-full-access')) === 'danger-full-access' ? 'never' : 'ask'"
|
|
|
|
- id: session-persistence-jsonl
|
|
name: '@deepseek-ai/dsh-session-persistence-jsonl'
|
|
config:
|
|
root: !!js process.env.DSH_SNAPSHOT_SESSIONS_ROOT ?? dshHomePath('sessions')
|
|
compression: !!js "process.env.DSH_SNAPSHOT === undefined ? 'zstd' : 'none'"
|
|
|
|
- id: acp
|
|
name: '@deepseek-ai/dsh-acp'
|
|
config:
|
|
provider: deepseek-official
|
|
model: deepseek-v4-flash
|
|
|
|
- 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}}. Your bash tool runs under a file sandbox — a `[sandbox: file access denied …]` result is policy, not a command bug.
|
|
|
|
Verify your work by running the code or tests. Keep answers brief and factual.
|
|
|
|
- id: agent-instructions
|
|
name: '@deepseek-ai/dsh-agent-instructions'
|
|
config:
|
|
maxBytes: 65536
|
|
|
|
- id: tool-subagent
|
|
name: '@deepseek-ai/dsh-tool-subagent'
|
|
config:
|
|
provider: spawn
|
|
toolName: subagent
|
|
backgroundMode: continuable
|
|
maxDepth: 1
|
|
|
|
# Fork omits model selection so provider/model stay equal to the parent and the
|
|
# inherited history remains eligible for KV Cache reuse. It stays one-shot because
|
|
# a continuable child's `report` tool and prompt section precede that history and
|
|
# invalidate the same prefix. `run_in_background` is off as an explicit foreground-only
|
|
# choice even though the shipped ACP profile mounts the generic Job runtime.
|
|
# See .agents/notes/implemented/feature/2026-08-18-model-selected-subagent-routes.md
|
|
# and .agents/notes/implemented/architecture/2026-08-10-fork-children-stay-one-shot.md.
|
|
- id: tool-subagent-fork
|
|
name: '@deepseek-ai/dsh-tool-subagent'
|
|
config:
|
|
provider: fork
|
|
toolName: subagent_fork
|
|
backgroundMode: one-shot
|
|
enableRunInBackground: false
|
|
maxDepth: 1
|
|
|
|
- id: fs-sandbox
|
|
name: '@deepseek-ai/dsh-fs-sandbox'
|
|
config:
|
|
cwd: !!js process.cwd()
|
|
|
|
- insert:
|
|
- id: hooks-claude-code
|
|
name: '@deepseek-ai/dsh-hooks-claude-code'
|
|
config:
|
|
configPath: ./hooks.json
|
|
|
|
- id: hooks-codex
|
|
name: '@deepseek-ai/dsh-hooks-codex'
|
|
config:
|
|
configPath: ./codex-hooks.json
|