Dudu-0223
db38164d4c
docs(subagent): clarify shared preset delegation tradeoffs
2026-10-26 15:02:10 +08:00
Dudu-0223
c527f18146
test(subagent): use public composition APIs instead of scope primitives
2026-10-25 14:57:09 +08:00
Dudu-0223
6b24717b4a
test(subagent): cover preset readiness and inherited restrictions
2026-10-25 14:30:53 +08:00
Dudu-0223
90e398328d
refactor(subagent): resolve preset references only when starting children
2026-10-25 13:22:35 +08:00
Dudu-0223
f78984a497
fix(subagent): share delegation tools within each preset revision
2026-10-25 12:17:00 +08:00
Chinesezjc
8cd82e8001
Merge branch 'master' into work/restore-subagent-end-turn
2026-10-22 16:21:42 +08:00
_Kerman
fef2f3d06e
Merge master into xtr/session-store-write-lifecycle
2026-10-21 19:27:56 +08:00
_Kerman
a53ecb2f3a
Merge origin/master into xtr/tool-executor-plugins
2026-10-21 15:56:44 +08:00
_Kerman
d6dc8890b9
Merge github/master into xtr/session-store-write-lifecycle
2026-10-21 15:01:22 +08:00
_Kerman
6bfe05c6f5
refactor(agent): name captured step selection modelSelection
2026-10-21 14:08:11 +08:00
_Kerman
8b79a1ddcc
Merge origin/master into xtr/session-model-selection
2026-10-20 17:22:59 +08:00
Chinesezjc
bc540720ec
fix(prompt): end the turn while waiting on subagents
...
Restore the subagent guidance sentence that #6348 removed: when only a
delegated result remains, the model ends its turn instead of sleeping or
polling, because a finished subagent wakes the idle parent.
A controlled single-request probe (deepseek-v4-flash and deepseek-v4-pro,
150 samples per arm) measured a bash sleep in 0/300 samples with the
sentence and 29/300 without it; any waiting tool call in 7/300 versus
120/300. Unit expectations for the rendered guidance follow the restored
text.
2026-10-20 16:50:13 +08:00
_Kerman
cc0e980e48
fix(session): align store-owned writes with lifecycle notifications
2026-10-20 11:33:44 +08:00
_Kerman
7d0301fe05
Merge master into scoped tool executors
2026-10-19 21:53:41 +08:00
_Kerman
e9784c073b
fix(tools): settle executor calls after unload and validate configuration
2026-10-19 16:32:29 +08:00
_Kerman
3b978adcec
test(tools): tidy migrated fixture imports and comments
2026-10-19 16:32:04 +08:00
_Kerman
feff25e8f7
fix(subagent): initialize model selection before agent publication
2026-10-19 15:26:29 +08:00
_Kerman
31a49c6629
Merge remote-tracking branch 'origin/master' into xtr/tool-executor-plugins
...
# Conflicts:
# docs/capability-seams.i18n.yaml
# docs/tool-catalog.i18n.yaml
# packages/bundle/base/package.json
# packages/core/agent-loop/tests/serial-listener-review.spec.ts
# packages/core/agent-tool-presentation/package.json
# packages/experimental/auto-review/tests/auto-review.spec.ts
# packages/lsp/tool-lsp/package.json
# packages/subagent/tool-subagent/tests/list-models.spec.ts
# scripts/check-workspace-constraints.ts
# scripts/type-equiv.manifest.json
# tsconfig.base.json
2026-10-19 14:53:33 +08:00
_Kerman
455686626d
refactor(tools): separate scoped executors from tool registration
2026-10-19 14:49:55 +08:00
_Kerman
c18f5bd3c0
Merge remote-tracking branch 'origin/master' into xtr/session-model-selection
...
# Conflicts:
# docs/capability-seams.i18n.yaml
# docs/capability-seams.md
# docs/capability-seams.zh.md
# docs/config-catalog.md
# docs/config-catalog.zh.md
# docs/event-producer-consumer.md
# docs/event-producer-consumer.zh.md
# docs/module-graph.md
# docs/module-graph.zh.md
# docs/persistence-catalog.i18n.yaml
# docs/persistence-catalog.md
# docs/persistence-catalog.zh.md
# docs/persistence-schema.json
# packages/api/session-controller/src/types.ts
# packages/bundle/base/package.json
# packages/bundle/headless/README.i18n.yaml
# packages/bundle/headless/README.md
# packages/bundle/headless/README.zh.md
# packages/bundle/headless/package.json
# packages/bundle/headless/tsconfig.json
# packages/subagent/tool-subagent/tests/model-selection-settings.spec.ts
# scripts/type-equiv.manifest.json
2026-10-19 11:30:55 +08:00
_Kerman
955e600031
Merge master into session projection registration handles
2026-10-19 11:21:16 +08:00
Dudu-0223
1448360b66
refactor(subagent): make model discovery explicitly opt-in
2026-10-17 14:02:01 +08:00
Dudu-0223
4df09d37d5
refactor(subagent): register shared control tools together
2026-10-17 13:28:17 +08:00
Dudu-0223
590cfe168c
Merge master and refresh tool catalog translation pairing
2026-10-17 12:03:03 +08:00
_Kerman
b34679d9de
Merge remote-tracking branch 'origin/master' into xtr/session-model-selection
2026-10-16 16:40:11 +08:00
_Kerman
7b112942ab
refactor(agent-model): move Session model selection into its own package
...
Add @deepseek-ai/dsh-agent-model. It provides ctx.agentModel
(resolveForNextStep, select, applyConfiguredRoute) and owns the
modelSelection projection, which the Agent registry no longer registers.
dsh-agent-loop now injects agentModel; the base and SDK-minimal bundles
and the Python SDK runtime include it.
The provider keeps the projection registered until consumers that are
still unloading finish their cleanup. The model-switch notice becomes an
opt-in per-Agent plugin at @deepseek-ai/dsh-agent-model/notice, and
agent/request now also rejects reasoning-effort changes after step
preparation.
Mount the provider in every composition that loads dsh-agent-loop, and
update consumers, the switch-notice snapshot driver, docs, and the
upgrade guide.
2026-10-16 15:28:59 +08:00
fz
d6adc5d9b9
fix(prompts): restore compatible PTC guidance and SDK persona
2026-10-16 13:14:24 +08:00
_Kerman
e39b5f58c2
refactor(agent): persist model selection in session state
2026-10-15 19:05:09 +08:00
Dudu-0223
e103591fd5
fix(subagent): address model selection review feedback
2026-10-14 13:40:25 +08:00
Dudu-0223
11bfb04081
Merge master and reconcile subagent preset and model selection
2026-10-14 13:09:34 +08:00
_Kerman
6b4452b4ec
Merge remote-tracking branch 'origin/master' into xtr/session-projection-registration-handles
...
# Conflicts:
# packages/subagent/subagent-dsh-sdk/tests/fixtures/loader/scoped-tool-subagent.ts
# packages/subagent/tool-subagent/src/index.ts
# packages/subagent/tool-subagent/tests/harness.ts
# packages/subagent/tool-subagent/tests/model-selection-settings.spec.ts
# packages/subagent/tool-subagent/tests/tool-subagent.spec.ts
2026-10-13 17:44:01 +08:00
Dudu-0223
b9958b901b
Merge master into subagent-agent-presets and resolve integration conflicts
2026-10-13 14:10:56 +08:00
Dudu-0223
c05b3aedfb
Merge master into subagent model selection refactor
2026-10-13 11:46:45 +08:00
Dudu-0223
8fa8e9167d
refactor(subagent): separate model discovery and session authorization
2026-10-13 11:42:31 +08:00
_Kerman
f8a84280aa
Merge remote-tracking branch 'origin/master' into xtr/session-projection-registration-handles
2026-10-13 11:27:47 +08:00
Dudu-0223
84c3a61abf
fix(subagent): keep fork model selection configurable
2026-10-13 11:16:53 +08:00
Turtle
ead3556a04
Merge pull request #6054 from deepseek-harness/fix/subagent-no-sleep-wait
...
fix(prompt,goal): end the turn while waiting on subagents and read line ranges with read
2026-10-13 11:00:00 +08:00
Dudu-0223
764a51d507
refactor(subagent): expose model selection only on settings-owning tools
...
Route fields and list_subagent_models are now registered only by the
tool-subagent instance configured with modelSelectionSettings, which keeps
one fixed definition per composition for Web presets while headless and SDK
profiles return to their previous schemas. Discovery registers with that
instance instead of a separate list-models plugin entry, so the delegation
description never references an absent tool. modelSelectionSettings on a
provider that inherits the parent conversation now fails the mount.
2026-10-12 18:37:26 +08:00
turtle1999
7a881e944a
fix(prompt): end the turn instead of sleeping on subagents and read line ranges with read
...
The subagent guidance now tells the model to end its turn when only waiting
for delegated results remains, since each result starts a new turn. The read
guidance names sed, head, and tail alongside cat and covers line ranges.
The compaction-output-reserve and compaction-summary-headroom context windows
grow by 40 tokens to keep their triggers between the history and its
condensed replacement.
2026-10-12 18:09:15 +08:00
ZiyaZhang
77483f61d9
fix(subagent): respect optional runtime context suppression
2026-10-12 03:04:08 -07:00
Dudu-0223
56affefb19
refactor(subagent): shorten model-selection tool descriptions
2026-10-12 17:20:06 +08:00
Dudu-0223
155ab69fae
fix(subagent): preserve fork model selection restriction
2026-10-12 16:29:01 +08:00
Dudu-0223
7609189262
fix(subagent): intersect model discovery with authorized catalog
2026-10-12 15:27:02 +08:00
ZiyaZhang
2998eb0311
Merge master and fix depth-limit snapshot CI
2026-10-12 00:25:05 -07:00
Dudu-0223
0948cd9809
test(subagent): document non-Error adapter rejection fixture
2026-10-12 15:14:22 +08:00
Dudu-0223
48ab8620d9
Merge master and align SDK resume fixture with persistence plugin exports
2026-10-12 15:06:12 +08:00
Dudu-0223
41ea4eb6de
fix(subagent): report model discovery errors per route
2026-10-12 15:00:27 +08:00
_Kerman
08e48f34b5
refactor(plugins): migrate projection consumers to retained handles
2026-10-12 12:03:36 +08:00
ZiyaZhang
42db4b8541
fix(subagent): expose exhausted delegation depth in runtime context
2026-10-11 04:37:57 -07:00
turtle1999
dfca3c3c6f
fix(session): use namespace exports for JSONL persistence plugin
2026-10-09 15:10:49 +08:00