2026-08-05 16:40:03 +08:00
|
|
|
# The `minimal` agent preset: the two-tool benchmark surface.
|
2026-08-03 22:38:11 +08:00
|
|
|
#
|
|
|
|
|
# The native model surface is exactly persistent `bash` plus
|
|
|
|
|
# `str_replace_editor`. Everything else a session could reach — skills, goals,
|
|
|
|
|
# plan mode, delegation, workflows, todo, web — is simply absent rather than
|
|
|
|
|
# disabled, because a preset composes what an agent has instead of subtracting
|
|
|
|
|
# from a shared default.
|
|
|
|
|
#
|
|
|
|
|
# The host composition is unchanged: this agent still runs inside the same
|
2026-08-10 22:36:06 +08:00
|
|
|
# sandbox, approval, persistence, and model routing as any other session — and
|
|
|
|
|
# the same token meter, so the browser's context meter reads this session like
|
|
|
|
|
# any other. What this preset drops is auto-compaction, not the accounting.
|
2026-08-03 22:38:11 +08:00
|
|
|
|
|
|
|
|
- id: persona
|
|
|
|
|
name: '@deepseek-ai/dsh-persona'
|
|
|
|
|
config:
|
|
|
|
|
text: >-
|
|
|
|
|
You are a coding agent powered by the {{model}} model. Your working directory is {{cwd}}.
|
|
|
|
|
|
2026-08-06 19:14:13 +08:00
|
|
|
# `bash-env` stays in the HOST composition: `apps/cli/src/web.ts` injects it to
|
|
|
|
|
# publish `DSH_WEB_URL`/`DSH_WEB_MODE`, and a host row that injects a service is
|
|
|
|
|
# the criterion for host-plane ownership — injection resolves before any session
|
|
|
|
|
# exists, so there is no agent to key by. Behind a preset realm those variables
|
|
|
|
|
# never reached the model's shell at all. `tool-bash` consumes the host registry
|
|
|
|
|
# from here; the executor behind it (`bash-sandbox`) is host-plane too, where the
|
|
|
|
|
# sandbox policy owns it.
|
2026-08-10 14:18:41 +08:00
|
|
|
#
|
2026-08-10 16:12:41 +08:00
|
|
|
# `run_in_background` is off because this preset mounts no `tool-tasks`. The
|
|
|
|
|
# host registry already refuses a start for an owner no attached control
|
|
|
|
|
# surface serves, so this is not the safety boundary — it is the model-facing
|
|
|
|
|
# one: an agent that could never collect a task should not be offered the
|
|
|
|
|
# parameter at all, and disabling it drops the parameter from the schema.
|
2026-08-06 19:14:13 +08:00
|
|
|
- id: tool-bash
|
|
|
|
|
name: '@deepseek-ai/dsh-tool-bash'
|
2026-08-10 14:18:41 +08:00
|
|
|
config:
|
|
|
|
|
enableRunInBackground: false
|
2026-08-03 22:38:11 +08:00
|
|
|
|
|
|
|
|
- id: tool-str-replace-editor
|
|
|
|
|
name: '@deepseek-ai/dsh-tool-str-replace-editor'
|
|
|
|
|
config:
|
|
|
|
|
maxOutputChars: 16000
|