mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-11 04:00:38 +00:00
# Conflicts: # examples/acp-agent/tests/acp.snapshot.ts # examples/acp-agent/tests/snapshots/web-fetch/input.json # examples/acp-agent/tests/snapshots/web-fetch/stdout.expected.jsonl # knip.json # packages/test-support/session-snapshot/tests/fixtures/web-fetch-network.ts # snapshots/sdk/subagent-mixed/session.1.jsonl # snapshots/sdk/subagent-mixed/session.2.jsonl # snapshots/session/advanced-toolchain-runtime/session.1.jsonl # snapshots/session/advanced-toolchain-runtime/session.2.jsonl # snapshots/session/subagent-depth-two-rejection/session.1.jsonl # snapshots/session/subagent-depth-two-rejection/session.2.jsonl # snapshots/session/subagent-multi/session.1.jsonl # snapshots/session/subagent-multi/session.2.jsonl # snapshots/session/subagent-parallel/session.1.jsonl # snapshots/session/subagent-parallel/session.2.jsonl # snapshots/session/web-fetch/session.jsonl # snapshots/session/web-fetch/web-fetch-fixture-server.mjs
interaction/ — the human-collaboration plane
English | 中文
The services and plugins through which a human collaborates with a running agent — questions, approvals, permission presets, commands. These are product packages: real interfaces a person drives.
| Package | Role | ctx key |
|---|---|---|
commands/ |
Registers and dispatches human commands for interactive adapters. | ctx.commands |
user-approval/ |
Coordinates one-shot approval decisions. | ctx.approval |
permission/ |
Presents and persists user-facing permission presets. | ctx.permissionPresets |
user-questions/ |
Defines the provider-neutral human question/answer seam. | ctx.userQuestions |
tool-ask-user/ |
Exposes human questions to the model. | (registers on ctx.tools) |
These packages integrate through existing agent and session contracts rather than changing the loop. Interactive applications provide the concrete command, approval, and question adapters; automation uses acp/. The product dsh CLI composes these packages directly.
The subsystem references: approval.md, permission-presets.md, user-questions.md, and commands.md. The automation-only ACP transport is acp/, the SDK's JSON-RPC server half is sdk/server, and the shared bin boot glue is boot/.