Files
deepseek-harness/packages/context
kingwl c97b1d025e Merge remote-tracking branch 'origin/master' into codex/web-queue-actions
# Conflicts:
#	apps/web/tsconfig.json
#	docs/architecture.i18n.yaml
#	docs/event-producer-consumer.md
#	packages/client/runtime/README.i18n.yaml
#	packages/client/tsdown.client.ts
#	packages/client/ui-conversation/README.i18n.yaml
#	packages/core/agent-loop/README.i18n.yaml
#	packages/core/agent/README.i18n.yaml
#	packages/core/agent/README.zh.md
#	packages/host/apiproxy/README.i18n.yaml
#	tsconfig.host.json
2026-07-30 00:30:38 +08:00
..

context/ — request-context extensions

English | 中文

Product plugins that add model-visible request context without defining a tool. workspace-context is included by the default dsh-agent-spine-demo bundle and can be disabled through bundle config; time-context and tmux-context are opt-in, while the standard TUI bundle composes session-reference explicitly.

Package Role ctx key
session-reference/ Bounded current-surface snapshots of other sessions ctx.sessionReferences
time-context/ Durable per-step current time and elapsed-time context (none)
tmux-context/ Durable per-turn context with this agent's tmux pane/window location (listens on agent/step, reads ctx.bash)
workspace-context/ AGENTS.md/CLAUDE.md workspace context loader (listens on agent/step + tools/post-execute)

The workspace-context decision record explains its per-agent/session isolation and lifecycle split.