2026-07-13 23:27:00 +08:00
|
|
|
# Stdio agent with the network-free `mock-echo` adapter and example-local `echo`
|
|
|
|
|
# tool. The app bundle supplies the spine; this leaf selects backends, HMR, and app config.
|
2026-06-21 12:03:44 +08:00
|
|
|
# No API key: the `mock-echo` adapter never touches the network.
|
|
|
|
|
|
|
|
|
|
# Hot-module reload for the dev/demo loop (a leaf entry, not baked into
|
2026-07-15 15:57:57 +08:00
|
|
|
# dsh-stdio-demo — it needs `node --expose-internals`, which `demo:echo` passes).
|
2026-06-11 10:55:05 +08:00
|
|
|
- id: hmr
|
|
|
|
|
name: '@cordisjs/plugin-hmr'
|
|
|
|
|
config:
|
|
|
|
|
root: ['.']
|
|
|
|
|
|
2026-07-13 23:27:00 +08:00
|
|
|
# Example-local model and tool plugins resolve relative to this file.
|
2026-06-11 10:55:05 +08:00
|
|
|
- id: mock-llm
|
|
|
|
|
name: './src/mock-llm.ts'
|
|
|
|
|
|
|
|
|
|
- id: echo-tool
|
|
|
|
|
name: './src/echo-tool.ts'
|
|
|
|
|
|
2026-07-15 17:04:16 +08:00
|
|
|
# Local bash executor: agent-spine-demo ships the `tool-bash` consumer schema, so the
|
2026-06-21 12:03:44 +08:00
|
|
|
# leaf provides the executor it runs on (the echo demo doesn't drive bash, but
|
|
|
|
|
# the tool is part of the shared spine).
|
|
|
|
|
- id: bash
|
|
|
|
|
name: '@deepseek-ai/dsh-bash-local'
|
2026-06-11 10:55:05 +08:00
|
|
|
|
2026-07-15 17:04:16 +08:00
|
|
|
# Local filesystem provider for agent-spine-demo's workspace-context loader. This
|
2026-07-03 11:56:58 +08:00
|
|
|
# does not expose model-facing read/write/edit tools in the echo demo.
|
|
|
|
|
- id: fs-local
|
|
|
|
|
name: '@deepseek-ai/dsh-fs-local'
|
|
|
|
|
config:
|
|
|
|
|
cwd: !!js process.cwd()
|
|
|
|
|
|
2026-07-18 21:17:10 +08:00
|
|
|
# The app pre-creates `main` on the mock model and supplies persistence plus
|
|
|
|
|
# TTY-selected `dsh-tui`/`dsh-stdio` front doors; readline mode also owns logging.
|
2026-06-21 12:03:44 +08:00
|
|
|
- id: stdio-agent
|
2026-07-15 15:57:57 +08:00
|
|
|
name: '@deepseek-ai/dsh-stdio-demo'
|
2026-06-19 12:42:28 +08:00
|
|
|
config:
|
2026-07-14 21:57:52 +08:00
|
|
|
provider: mock
|
2026-06-21 12:03:44 +08:00
|
|
|
model: mock-echo
|
2026-07-05 23:23:46 +08:00
|
|
|
persona: 'You are echo-agent, a demo agent.'
|
2026-06-19 12:42:28 +08:00
|
|
|
welcome: 'echo-agent ready. Type a message ("echo <text>" triggers the tool).'
|
2026-06-21 12:03:44 +08:00
|
|
|
persistenceRoot: './.sessions'
|
2026-07-12 12:09:35 +08:00
|
|
|
workspaceContext:
|
|
|
|
|
maxBytes: 65536
|