Files
deepseek-harness/packages/context
_Kerman ccebba2349 refactor(agent): unify agent-scoped event signatures as payload objects
All agent/* and agent-loop/config-start-failed events take one payload
object carrying the agent subject; waterfall/serial payloads require a
signal and keep next as the final argument. PreStepContext and
RequestFailureContext are unfolded into payloads and retired.
goal/changed follows the same shape so agentEvents keeps its listener
error containment. ReactLoopAgent builds its scope carrier once in the
constructor. Regenerates scope resolvers, tool-cordis api catalog, and
docs catalogs; updates all affected listeners, tests, and the
core-data-structures docs (en + zh).
2026-08-06 12:13:14 +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, tmux-context, and session-reference are opt-in.

Package Role ctx key
session-reference/ Bounded snapshots of other sessions ctx.sessionReferences
time-context/ Current-time and elapsed-time context
tmux-context/ tmux location context
workspace-context/ Workspace-instruction context

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