2026-06-11 10:55:05 +08:00
|
|
|
# The echo-agent plugin tree, loaded via @cordisjs/plugin-include.
|
|
|
|
|
# Core services first, then the demo plugins, then the agent itself.
|
|
|
|
|
|
|
|
|
|
- id: logger
|
|
|
|
|
name: '@cordisjs/plugin-logger-console'
|
|
|
|
|
|
|
|
|
|
- id: timer
|
|
|
|
|
name: '@cordisjs/plugin-timer'
|
|
|
|
|
|
|
|
|
|
- id: hmr
|
|
|
|
|
name: '@cordisjs/plugin-hmr'
|
|
|
|
|
config:
|
|
|
|
|
root: ['.']
|
|
|
|
|
|
|
|
|
|
- id: llm
|
|
|
|
|
name: '@deepseek-ai/dsh-llm'
|
|
|
|
|
|
|
|
|
|
- id: sessions
|
|
|
|
|
name: '@deepseek-ai/dsh-session'
|
|
|
|
|
|
|
|
|
|
- id: system-prompt
|
|
|
|
|
name: '@deepseek-ai/dsh-system-prompt'
|
|
|
|
|
|
|
|
|
|
- id: tools
|
|
|
|
|
name: '@deepseek-ai/dsh-tools'
|
|
|
|
|
|
|
|
|
|
- id: agents
|
|
|
|
|
name: '@deepseek-ai/dsh-agent'
|
|
|
|
|
|
2026-06-13 23:25:12 +08:00
|
|
|
# Dev-mode event-contract assertions + session-log freeze (off in prod;
|
|
|
|
|
# on here so the demo smoke test exercises the contract).
|
|
|
|
|
- id: invariants
|
|
|
|
|
name: '@deepseek-ai/dsh-invariants'
|
|
|
|
|
|
2026-06-11 10:55:05 +08:00
|
|
|
- id: agent-loop
|
|
|
|
|
name: '@deepseek-ai/dsh-agent-loop'
|
|
|
|
|
config:
|
|
|
|
|
agents:
|
|
|
|
|
- id: main
|
|
|
|
|
model: mock-echo
|
|
|
|
|
systemPrompt: 'You are echo-agent, a demo agent.'
|
|
|
|
|
|
|
|
|
|
- id: mock-llm
|
|
|
|
|
name: './src/mock-llm.ts'
|
|
|
|
|
|
|
|
|
|
- id: echo-tool
|
|
|
|
|
name: './src/echo-tool.ts'
|
|
|
|
|
|
2026-06-15 21:05:46 +08:00
|
|
|
- id: session-persistence
|
|
|
|
|
name: '@deepseek-ai/dsh-session-persistence-jsonl'
|
|
|
|
|
config:
|
|
|
|
|
root: './.sessions'
|
2026-06-11 10:55:05 +08:00
|
|
|
|
|
|
|
|
- id: stdio-chat
|
2026-06-19 12:42:28 +08:00
|
|
|
name: '@deepseek-ai/dsh-ui-stdio'
|
|
|
|
|
config:
|
|
|
|
|
welcome: 'echo-agent ready. Type a message ("echo <text>" triggers the tool).'
|