Files
deepseek-harness/packages/context
Tianyi Cui 3787bef665 Merge remote-tracking branch 'origin/master' into worktree/pr468-retarget-latest-master
# Conflicts:
#	docs/config-catalog.md
#	docs/event-producer-consumer.md
#	docs/module-graph.md
#	packages/examples/tui-demo/src/index.ts
#	packages/examples/tui-demo/tests/tui-agent.spec.ts
#	packages/ui/tui/README.md
#	packages/ui/tui/package.json
#	packages/ui/tui/src/index.ts
#	packages/ui/tui/tests/tui.spec.ts
#	packages/ui/tui/tsconfig.json
#	pnpm-lock.yaml
#	vitest.config.ts
2026-07-22 21:27:18 +08:00
..

context/ — request-context extensions

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 is opt-in, while the standard TUI and ACP bundles compose 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)
workspace-context/ AGENTS.md/CLAUDE.md workspace context loader (listens on agent/session-prefix + tools/post-execute)

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