deepseek-harness/examples
Tianyi Cui 01da043737 test(python): prove installed dsh profile customization
Migrate the packaged-runtime smoke inventory from complete Cordis trees to the sdk profile plus ordered patches. Preserve the focused minimal and advanced behaviors, update the generated durable snapshots for explicit permission events and the smaller RunResult, and keep worker, MCP, ripgrep, PTY/editor, direct JSON-RPC, and real-provider coverage.

Add an installed-only external bundle scenario that invokes the wheel's dsh plugin command with a local file package, verifies profile manifest reconciliation, imports @deepseek-ai/cordis as a peer, asserts the packaged proxy returns the exact host Context instance, and proves its system-prompt contribution reaches the model. Migrate the repository source e2e and runnable minimal example to the same profile grammar.
2026-08-24 17:28:26 +08:00
..
acp-agent test(attachment): pin the assembled image re-encoding path in a keyless snapshot 2026-08-24 17:15:59 +08:00
headless-agent test(llm): cover pi-ai upgrade compatibility 2026-08-24 01:57:18 +08:00
mcp-memory docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
python-sdk-agent test(python): prove installed dsh profile customization 2026-08-24 17:28:26 +08:00
web-cordis docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
web-github-review test(webhook): resolve the real CLI rule from examples 2026-08-23 01:48:55 +08:00
web-schedule refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
AGENTS.md docs: make technical prose concrete 2026-08-10 16:34:20 +08:00
CLAUDE.md refactor(examples): extract reusable logic into tested packages 2026-06-19 12:42:28 +08:00
package.json chore(repo): wire profile apps and the renamed runtime through builds 2026-08-23 10:59:01 +08:00
README.i18n.yaml refactor(sdk): name the private Python runtime carrier explicitly 2026-08-23 10:59:01 +08:00
README.md refactor(sdk): name the private Python runtime carrier explicitly 2026-08-23 10:59:01 +08:00
README.zh.md refactor(sdk): name the private Python runtime carrier explicitly 2026-08-23 10:59:01 +08:00

Examples

English | 中文

Runnable demonstrations of the main DeepSeek Harness interfaces and extension points. Each child directory owns its configuration, prerequisites, commands, and detailed behavior.

mcp-memory

Optional overlays that connect supported third-party memory servers through the generic MCP client. See the memory example reference.

headless-agent

A non-interactive agent that accepts one task, runs it, and emits a selected machine-readable or human-readable output format. See the headless example reference.

python-sdk-agent

An unattended coding agent driven through the Python SDK and JSON-RPC. See the Python SDK agent reference.

web-cordis

A self-referential agent that can inspect and change its in-memory Cordis plugin tree. See the web-cordis example reference.

web-schedule

An opt-in Web overlay for durable, Session-local reminders. It supports positive whole-second after_seconds delays and absolute at targets through schedule_create, schedule_list, and schedule_delete; active reminders persist in the original Session, resume when that Session becomes live again, and do not run while it is cold. Run dsh web --patch examples/web-schedule/cordis.yml; see web-schedule/README.md for absolute-time authority, delivery, and recovery boundaries.

web-github-review

An opt-in Web overlay with a dedicated signed GitHub endpoint and a programmatic pull_request.ready_for_review rule. Matching deliveries create read-only review Sessions beneath the configured local Workspace; see web-github-review/README.md.

acp-agent

An Agent Client Protocol automation server for programmatic clients, with session, permission, and cancellation support. See the ACP example reference.