mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
# Conflicts: # AGENTS.md # docs/config-catalog.md # docs/cordis-catalog/events.md # docs/cordis-catalog/services.md # docs/core-data-structures/core.md # docs/event-producer-consumer.md # docs/persistence-catalog.md # docs/rfc/implemented/architecture/2026-07-05-reconstructable-requests.md # docs/rfc/implemented/feature/2026-06-15-code-mode.md # docs/rfc/implemented/feature/2026-06-30-hook-bridges.md # docs/rfc/implemented/feature/2026-06-30-interception-seams.md # docs/rfc/implemented/feature/2026-07-08-repeat-tool-guard.md # docs/rfc/proposed/simplification/2026-07-04-prune-dead-core-spine-surface.md # examples/AGENTS.md # examples/acp-agent/cordis.yml # examples/acp-agent/tests/acp.snapshot.ts # examples/echo-agent/cordis.yml # examples/sandbox-acp-agent/cordis.yml # packages/cordis/tool-cordis/src/api-catalog.ts # packages/core/agent-core/README.md # packages/core/agent-core/src/index.ts # packages/core/agent-loop/README.md # packages/core/agent-loop/src/loop.ts # packages/core/agent-loop/tests/interception.spec.ts # packages/core/agent/src/types.ts # packages/core/tools/README.md # packages/core/tools/src/code-mode.ts # packages/core/tools/src/index.ts # packages/fs/fs-local/src/index.ts # packages/fs/fs/README.md # packages/fs/fs/src/index.ts # packages/guard/repeat-tool-guard/README.md # packages/guard/repeat-tool-guard/src/index.ts # packages/hooks/hooks-claude/src/index.ts # packages/hooks/hooks-codex/src/index.ts # packages/ui/acp-agent/src/index.ts
42 lines
1.5 KiB
YAML
42 lines
1.5 KiB
YAML
# 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.
|
|
# 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
|
|
# dsh-stdio-agent — it needs `node --expose-internals`, which `demo:echo` passes).
|
|
- id: hmr
|
|
name: '@cordisjs/plugin-hmr'
|
|
config:
|
|
root: ['.']
|
|
|
|
# Example-local model and tool plugins resolve relative to this file.
|
|
- id: mock-llm
|
|
name: './src/mock-llm.ts'
|
|
|
|
- id: echo-tool
|
|
name: './src/echo-tool.ts'
|
|
|
|
# Local bash executor: agent-core ships the `tool-bash` consumer schema, so the
|
|
# 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'
|
|
|
|
# Local filesystem provider for agent-core's workspace-context loader. This
|
|
# 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()
|
|
|
|
# The app pre-creates `main` on the mock model and supplies logging, persistence, and readline UI.
|
|
- id: stdio-agent
|
|
name: '@deepseek-ai/dsh-stdio-agent'
|
|
config:
|
|
model: mock-echo
|
|
persona: 'You are echo-agent, a demo agent.'
|
|
welcome: 'echo-agent ready. Type a message ("echo <text>" triggers the tool).'
|
|
persistenceRoot: './.sessions'
|
|
workspaceContext:
|
|
maxBytes: 65536
|