mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-08-29 04:26:38 +00:00
# Conflicts: # .agents/notes/implemented/architecture/2026-06-20-branded-ids.i18n.yaml # .agents/notes/implemented/architecture/2026-06-20-branded-ids.md # .agents/notes/implemented/architecture/2026-06-20-branded-ids.zh.md # packages/fs/tool-fs/tests/read-image.spec.ts # packages/llm/llm-deepseek/tests/adapter.e2e.ts # packages/llm/llm-deepseek/tests/serialize.spec.ts # packages/llm/llm-pi-ai/src/context.ts # packages/llm/llm-pi-ai/tests/context.spec.ts # packages/llm/llm-pi-ai/tests/convert.spec.ts # packages/llm/llm/src/message.ts # packages/llm/llm/tests/content.spec.ts
context/ — request-context extensions
English | 中文
Product plugins that add model-visible request context without defining a tool. agent-instructions is included by the default dsh-agent-spine-demo bundle and can be disabled through bundle config; time-context, tmux-context, session-reference, file-reference, and file-reference-local are opt-in.
| Package | Role | ctx key |
|---|---|---|
session-reference/ |
Bounded snapshots of other sessions | ctx.sessionReferenceResolver |
file-reference/ |
File-reference discovery seam and @file grammar |
ctx.fileReferences |
file-reference-local/ |
Local-filesystem file-reference provider | — |
time-context/ |
Current-time and elapsed-time context | — |
tmux-context/ |
tmux location context | — |
agent-instructions/ |
Workspace-instruction context | — |
Session references are documented in docs/subsystems/session-reference.md; the agent-instructions decision record owns its per-agent/session isolation and lifecycle split.