deepseek-harness/packages/context
Yichen Jiang 67a7c79004 Merge remote-tracking branch 'origin/master' into worktree/web-file-session-references
# Conflicts:
#	docs/event-producer-consumer.i18n.yaml
#	docs/event-producer-consumer.md
#	docs/event-producer-consumer.zh.md
#	packages/context/agent-instructions/tests/agent-instructions.spec.ts
2026-08-19 11:01:27 +08:00
..
agent-instructions perf(ci): parallelize coverage and web snapshots in-job 2026-08-18 21:15:20 +08:00
file-reference fix(release): 同步工作区包版本 2026-08-17 21:17:30 +08:00
file-reference-local fix(release): 同步工作区包版本 2026-08-17 21:17:30 +08:00
session-reference test(session-reference): 补齐预处理分支覆盖 2026-08-17 21:25:12 +08:00
time-context release(dsh): 0.1.0-rc.7 2026-08-17 18:47:02 +08:00
tmux-context release(dsh): 0.1.0-rc.7 2026-08-17 18:47:02 +08:00
README.i18n.yaml refactor(reference): serve discovery through typert Remote faces 2026-08-17 18:35:30 +08:00
README.md refactor(reference): serve discovery through typert Remote faces 2026-08-17 18:35:30 +08:00
README.zh.md refactor(reference): serve discovery through typert Remote faces 2026-08-17 18:35:30 +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.