Files
deepseek-harness/packages/context
_Kerman 3cd80a6f3f Merge remote-tracking branch 'origin/xtr/session-format-migration' into xtr/message-tool-call-id
# 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
2026-08-22 16:03:48 +08:00
..
2026-08-21 19:48:58 +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.