deepseek-harness/packages/context
2026-08-03 12:25:33 +08:00
..
session-reference refactor agent pre-step inbox lifecycle 2026-07-31 19:21:16 +08:00
time-context refactor(agent): complete inbox lifecycle migration 2026-08-03 12:25:33 +08:00
tmux-context refactor(agent): complete inbox lifecycle migration 2026-08-03 12:25:33 +08:00
workspace-context refactor(agent): complete inbox lifecycle migration 2026-08-03 12:25:33 +08:00
README.i18n.yaml refactor agent pre-step inbox lifecycle 2026-07-31 19:21:16 +08:00
README.md refactor agent pre-step inbox lifecycle 2026-07-31 19:21:16 +08:00
README.zh.md refactor agent pre-step inbox lifecycle 2026-07-31 19:21:16 +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/pre-step, reads ctx.bash)
workspace-context/ AGENTS.md/CLAUDE.md workspace context loader (listens on agent/pre-step + tools/post-execute)

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