deepseek-harness/packages/client
Tianyi Cui 8a79679489 feat(tools): live dispatch lifecycle + native-contract parallel sub-calls in Code Mode
The bridge replaces its serialization queue with a pool that reuses the
native concurrency contract: submissions classify through
registry.executionMode (fail-closed isConcurrencySafe), start strictly in
submission order, overlap up to the validated maxParallelSubCalls config
(default 10; 1 restores serial), and exclusive calls drain the pool, run
alone, and bar later calls. Each started sub-call logs a
tool/code-dispatch-start event at pool entry; the existing
tool/code-dispatch settles the pair (started ⇔ settles exactly once;
abandoned queued calls log neither). SDK prompt guidance now states the
true Promise.all contract — re-recorded across every code/both-mode
snapshot (plus the stale cordis-dynamic-toolchain fixture gaining the
required description arg).

Client: CodeSubCall widens to RunningToolCall | ToolResultNode — starts
land the running shape (rows wear the native running ring), settles
replace in place preserving start order, callTime pairs to the start
time. Fixture emits start/settle pairs; jsdom pins the running sub-row;
runtime specs pin in-place settlement and out-of-order completion.
2026-07-26 06:02:36 +08:00
..
connection feat(tools): live dispatch lifecycle + native-contract parallel sub-calls in Code Mode 2026-07-26 06:02:36 +08:00
hmr Merge origin/master into fix-webplugins-watch-flake 2026-07-25 13:23:42 +08:00
i18n Trim redundant source comments 2026-07-25 13:02:37 +08:00
modules chore(web): gate repairs for the config-tree boot round 2026-07-25 10:38:54 +08:00
runtime feat(tools): live dispatch lifecycle + native-contract parallel sub-calls in Code Mode 2026-07-26 06:02:36 +08:00
ui-conversation feat(tools): live dispatch lifecycle + native-contract parallel sub-calls in Code Mode 2026-07-26 06:02:36 +08:00
ui-layout feat(web): add workspace-aware session flow 2026-07-25 17:45:26 +08:00
ui-primitives feat(web): add workspace-aware session flow 2026-07-25 17:45:26 +08:00
ui-question feat(web): add workspace-aware session flow 2026-07-25 17:45:26 +08:00
ui-sidebar test(web): cover workspace UI branches 2026-07-25 17:46:05 +08:00
ui-slots feat(web): add workspace-aware session flow 2026-07-25 17:45:26 +08:00
ui-theme Trim redundant source comments 2026-07-25 13:02:37 +08:00
ui-trajectory feat(web): add workspace-aware session flow 2026-07-25 17:45:26 +08:00
ui-workspace test(web): cover workspace UI branches 2026-07-25 17:46:05 +08:00
web Merge remote-tracking branch 'origin/master' into codex/trim-redundant-comments 2026-07-25 13:06:40 +08:00
web-react feat(web): add workspace-aware session flow 2026-07-25 17:45:26 +08:00
AGENTS.md Merge remote-tracking branch 'origin/master' into web-e2e-lane 2026-07-25 18:19:22 +08:00
tsdown.client.ts refactor(gui): one plugin-package shape — dshClient manifests, clientBundle preset, purity gate over all nine 2026-07-24 02:09:42 +08:00