deepseek-harness/packages/core/agent-loop/src
_Kerman 262d044642 fix(agent): route loop dispatches through prebuilt fused dispatcher
Address review feedback on PR #1738:
- ReactLoopAgent builds its AgentEventDispatch once in the constructor and
  routes every emit/serial/waterfall through it, so hot-path dispatches no
  longer allocate a carrier and dispatcher per call; the public carrier
  field is gone (fused dispatcher is private).
- agentEvents accepts an optional prebuilt carrier.
- The fused payload builder spreads the payload before the injected agent
  so a structurally acceptable payload carrying an agent field can never
  override the subject.
- Regenerate doc graphs; re-record core + architecture + affected Agent
  Note translation pairs; add payload-object event contract Agent Note.
2026-08-06 13:44:23 +08:00
..
agent.ts fix(agent): route loop dispatches through prebuilt fused dispatcher 2026-08-06 13:44:23 +08:00
constants.ts docs: tighten parallel tool-call prose 2026-07-18 14:59:26 +08:00
index.ts refactor(agent): unify agent-scoped event signatures as payload objects 2026-08-06 12:13:14 +08:00
invariant.ts refactor(session): route construction through Session.create 2026-08-05 11:56:14 +08:00
runtime-context.ts Merge remote-tracking branch 'origin/worktree/context-source-cards' into worktree/context-forms-remaining 2026-08-06 11:49:03 +08:00
tool-calls.ts refactor agent pre-step inbox lifecycle 2026-07-31 19:21:16 +08:00