2026-07-13 23:27:00 +08:00
# Keyless replay includes the live `cordis.yml`, disables the key-requiring
# DeepSeek adapter, and inserts `llm-replay` to serve recorded JSONL without a key
2026-07-22 10:55:18 +08:00
# or network; every other app entry remains shared. It also restates the acp-agent
# config to re-pin `deepseek-v4-flash`: `cordis.yml` ships `deepseek-v4-pro`, but the
# recorded corpus (request headers, provenance, system prompt) was captured on flash,
# so replay holds the recorded model to stay reproducible without a re-record. A config
# patch replaces the whole app config, so the base fields are restated verbatim.
2026-07-13 23:27:00 +08:00
# With `DSH_SNAPSHOT=replay`, the app bin reads `DSH_SNAPSHOT_FILE` and optional
# `DSH_SNAPSHOT_OVERRIDE` from the harness. The one-shot patch applies at include
# load time, and stdout remains reserved for ACP JSON-RPC.
2026-07-04 17:29:07 +08:00
- id : base
name : '@cordisjs/plugin-include'
config :
path : ./cordis.yml
patches :
2026-07-13 23:27:00 +08:00
# `name` asserts the target: a mismatch skips the patch and warns only when
# a logger exists. A renamed id leaves a stale adapter entry, but replay still
# short-circuits through `llm-replay`.
2026-07-04 17:29:07 +08:00
- id : llm-deepseek
2026-07-04 17:54:17 +08:00
name : '@deepseek-ai/dsh-llm-deepseek'
2026-07-04 17:29:07 +08:00
disabled : true
2026-07-22 10:55:18 +08:00
- id : acp-agent
name : '@deepseek-ai/dsh-acp-demo'
config :
provider : deepseek
model : deepseek-v4-flash
persistenceRoot : !!js process.env.DSH_SNAPSHOT_SESSIONS_ROOT ?? './.sessions'
2026-07-22 12:56:31 +08:00
# Replay fixtures are raw JSONL; the whole-config patch must restate
# the compression choice or the default zstd frames hide the logs
# from the harness's harvest.
persistenceCompression : none
2026-07-22 10:55:18 +08:00
workspaceContext :
maxBytes : 65536
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.
2026-07-15 11:20:48 +08:00
- id : sandbox
name : '@deepseek-ai/dsh-sandbox-local'
config :
runnerCommand :
- bash
- -c
- while [ "$1" != "--" ]; do shift; done; shift; exec "$@"
- passthrough-runner
runnerFailureSignatures :
- 'passthrough-runner : profile rejected'
2026-07-04 17:29:07 +08:00
- insert :
- id : llm-replay
name : '@deepseek-ai/dsh-llm-replay'
2026-07-15 13:33:42 +08:00
config :
providers :
- id : deepseek
name : DeepSeek
models :
- id : deepseek-v4-flash
- id : deepseek-v4-pro