Rename the tool-presentation transport from code-mode to ptc everywhere that is not written into session logs: the mode config value becomes 'ptc', the preset directory/id becomes ptc, the demo becomes demo:ptc, the dispatch waterfall becomes tools/ptc-dispatch-log (types PtcDispatch*), the prompt rule becomes tools:ptc-only, source/test files become ptc.ts etc., and prose says PTC mode / PTC 模式. The session-persistent vocabulary (durable events tool/code-dispatch*, logged plugin name tools-code-mode, sub-call id segment :code:) intentionally stays and moves in the stacked persistence PR, which is blocked until the SESSION_FORMAT_VERSION v0→v1 migration lands with it. run_code, its code parameter, CodeSdkLanguage, CodeRunFailedError, the dsh-code-runtime family, third-party codex names, and frozen archived notes keep their names.
35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
# PTC mode image overlay: mounts the worker runtime and durable attachment
|
|
# store so a nested read_image result can cross the generic rich-result bridge.
|
|
# The live config selects the shipped vision route for manual use.
|
|
- id: agent-default-model
|
|
name: '@deepseek-ai/dsh-agent-default-model'
|
|
config:
|
|
provider: deepseek-official
|
|
model: deepseek-v4-flash-vision-exp
|
|
|
|
- id: session-persistence-jsonl
|
|
name: '@deepseek-ai/dsh-session-persistence-jsonl'
|
|
config:
|
|
root: !!js dshHomePath('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: ptc
|
|
|
|
- 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.
|
|
|
|
- id: attachment-local
|
|
name: '@deepseek-ai/dsh-attachment-local'
|