Files
deepseek-harness/packages/context
_Kerman e46a2499df Merge remote-tracking branch 'origin/master' into xtr/durable-inbox-recovery
# Conflicts:
#	docs/event-producer-consumer.i18n.yaml
#	docs/event-producer-consumer.md
#	docs/event-producer-consumer.zh.md
#	docs/module-graph.i18n.yaml
#	docs/module-graph.md
#	docs/module-graph.zh.md
#	packages/api/session-controller/tests/session-projections.host.spec.ts
2026-08-25 13:20:42 +08:00
..
2026-08-21 19:48:58 +08:00

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.