# Conflicts: # packages/acp/acp/tests/approval.spec.ts # packages/acp/acp/tests/edges.spec.ts # packages/api/session-controller/tests/event-script.client.ts # packages/client/connection/src/client/fixture.ts # packages/client/ui-conversation/src/client/contract/slots.ts # packages/client/ui-conversation/src/client/contract/views.ts # packages/client/ui-conversation/src/client/index.ts # packages/client/ui-conversation/src/client/stores.ts # packages/core/agent-loop/tests/loop.spec.ts # packages/extensions/cordis-client-runner/src/client/slot-catalog.ts # packages/extensions/tool-cordis/src/api-catalog.ts # packages/host/apiproxy/src/api-proxy.ts # packages/host/apiproxy/src/api/events.ts # packages/host/apiproxy/tests/api-proxy-view.spec.ts # packages/interaction/user-approval/src/index.ts # packages/llm/llm-deepseek/tests/adapter.e2e.ts # packages/llm/llm-pi-ai/src/context.ts # packages/llm/llm-pi-ai/tests/context.spec.ts # packages/llm/llm/tests/content.spec.ts # packages/subagent/subagent/tests/continuation.spec.ts # packages/subagent/tool-subagent/tests/tool-subagent.spec.ts # packages/test-support/llm-replay/tests/llm-replay.spec.ts # packages/todo/tool-todo/tests/tool-todo.spec.ts # scripts/gen-persistence-catalog.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.