Dudu-0223 and imccyu
0487699ae4
feat(subagent): share ID-based identity and collaboration guidance ( #7519 )
...
* feat(subagent): share identity and collaboration guidance
* fix(subagent): complete shared guidance snapshot expectations
* fix(subagent): match task descriptions to the user language
* refactor(subagent): retain shared guidance with Session ids
* test(subagent): recognize parent ids in shared identity
* Checkpoint ID collaboration guidance generated expectations
* Preserve historical Web schema sidecars
* fix(test-support): preserve job references during snapshot refresh
* test(subagent): refresh ID-only collaboration guidance outputs
* fix(subagent): rely on list_agents tool description
* fix(subagent): keep collaboration guidance consistent with live identity
* test(team): parse parent identity from shared guidance
* test(subagent): address parent from shared identity context
* test(subagent): refresh compiled Web guidance snapshots
* test(subagent): refresh browser collaboration context fixtures
* docs(subagent): attribute required identity to standard controls
* fix(subagent): clarify collaboration identity prompts
* test(subagent): remove duplicate PowerShell collaboration context
* refactor(subagent): match unavailable-root errors by name and code
---------
Co-authored-by: imccyu <276526105+imccyu@users.noreply.github.com >
2026-10-31 22:38:07 +08:00
Dudu-0223
b5fed8ca06
test(team): refresh ID-only UI and session snapshots
2026-10-30 14:37:04 +08:00
Dudu-0223
11c02855e1
Merge master into subagent runtime stack base
2026-10-29 17:55:40 +08:00
Dudu-0223
76a36fee3b
fix(subagent): wait only for the caller inbox
2026-10-29 17:19:15 +08:00
Magolor and _Kerman
fcca540841
refactor(session): unify runtime projection reads ( #7347 )
...
* refactor(session): bind runtime projection reads to one session
* refactor(session): expose session-bound readers on projection handles
---------
Co-authored-by: _Kerman <kermanx@qq.com >
2026-10-27 09:50:22 +00:00
Dudu-0223
9c406a6325
refactor(subagent): derive membership from existing activations
2026-10-23 17:18:03 +08:00
Dudu-0223
b3d4933f39
refactor(subagent): own live lineage outside core agent registry
2026-10-23 16:07:11 +08:00
Dudu-0223
3dde36b5bb
Merge master while preserving subagent lifecycle changes
2026-10-23 15:41:00 +08:00
Dudu-0223
b096659245
fix(session): make ordinary forks independent of source lineage
2026-10-23 14:48:07 +08:00
Dudu-0223
16ece34568
Merge master into subagent tree branch
2026-10-22 13:33:16 +08:00
Dudu-0223
89e2a525aa
refactor(subagent): distinguish runtime ownership from Team identity
2026-10-22 11:59:09 +08:00
Yichen Jiang
d8c99baa28
docs: record batch tool admission and fit the turn-flow summary
...
The tool executor merge added ToolBatchInput.toolSet; the subsystem page's type-equivalence block now matches it. The architecture turn-flow line names step-admitted tool schemas in one line so the page stays within its word budget.
2026-10-21 23:36:35 +08:00
Yichen Jiang
ce24d53eb5
Merge remote-tracking branch 'origin/master' into worktree/dynamic-tool-activation-pr-64796e
2026-10-21 23:32:43 +08:00
Yichen Jiang
207b30d299
Merge remote-tracking branch 'origin/master' into worktree/dynamic-tool-activation-pr-64796e
...
# Conflicts:
# docs/config-catalog.md
# docs/config-catalog.zh.md
# docs/event-producer-consumer.md
# docs/event-producer-consumer.zh.md
# docs/persistence-catalog.i18n.yaml
# docs/persistence-catalog.md
# docs/persistence-catalog.zh.md
# docs/persistence-schema.json
# packages/core/agent-loop/src/agent.ts
# packages/core/agent-loop/src/tool-calls.ts
# packages/core/agent-loop/tests/tool-updates.spec.ts
# packages/core/system-prompt/README.i18n.yaml
# packages/core/system-prompt/README.md
# packages/core/system-prompt/README.zh.md
# packages/core/tool-executor-ptc/src/ptc.ts
# packages/core/tool-executor-ptc/tests/ptc.spec.ts
# packages/core/tools/README.i18n.yaml
# packages/core/tools/README.md
# packages/core/tools/README.zh.md
# packages/core/tools/src/index.ts
# packages/extensions/tool-cordis/src/api-catalog.ts
# packages/plan/plan-mode/tests/plan-mode.spec.ts
# snapshots/session/cordis-inspect-jsdoc/session.v4.jsonl
2026-10-21 23:32:15 +08:00
_Kerman
04609dc0de
Merge xtr/session-store-write-lifecycle into xtr/agent-initialization-flow
2026-10-21 19:33:26 +08:00
_Kerman
fef2f3d06e
Merge master into xtr/session-store-write-lifecycle
2026-10-21 19:27:56 +08:00
_Kerman
46fdc70d66
Merge master into xtr/session-store-write-lifecycle
2026-10-21 19:27:56 +08:00
_Kerman
0e7b3701cb
Merge xtr/session-store-write-lifecycle into xtr/agent-initialization-flow
2026-10-21 18:22:35 +08:00
_Kerman
a53ecb2f3a
Merge origin/master into xtr/tool-executor-plugins
2026-10-21 15:56:44 +08:00
Yichen Jiang
9d0c97b9d2
feat(tools): admit conditional tools per step
...
ctx.tools.register(definition, { when }) adds a synchronous or asynchronous
condition. AgentLoop resolves conditions once per proposed step with the
agent, the model selection that step preparation captured, and the turn
signal, before prompt assembly and agent/pre-step. The resulting
ResolvedToolSet governs tool declarations, Native dispatch, PTC bindings,
and nested calls for that step and its retries, and the turn disposes it
when the proposal is rejected or fails, when no step opens, and after the
step. A false condition removes the tool everywhere; a thrown condition
ends the turn with TOOL_ACTIVATION_FAILED. Calls whose registration was
replaced or removed during the step return UNKNOWN_TOOL.
system-prompt/assemble now transforms PromptPresentation without a tool
array, so tool declarations stay provider-owned. exit_plan_mode is declared
only for steps whose selected plan state is active, the same state that
renders plan guidance; it still rejects a call before the selection is
logged.
Model selection stays as master defines it; this change adds no model
selection event or Agent field.
2026-10-21 15:02:29 +08:00
_Kerman
d6dc8890b9
Merge github/master into xtr/session-store-write-lifecycle
2026-10-21 15:01:22 +08:00
_Kerman
8f0489dc06
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
a8013ddc35
Merge remote-tracking branch 'github/master' into xtr/session-store-write-lifecycle
...
# Conflicts:
# docs/event-producer-consumer.md
# docs/event-producer-consumer.zh.md
# docs/persistence-schema.json
2026-10-21 13:45:24 +08:00
_Kerman
28af21a294
Merge remote-tracking branch 'github/master' into xtr/session-store-write-lifecycle
...
# Conflicts:
# docs/event-producer-consumer.md
# docs/event-producer-consumer.zh.md
# docs/persistence-schema.json
2026-10-21 13:45:24 +08:00
_Kerman
bf4ab8be26
refactor(agent-loop): unify agent initialization
2026-10-20 22:21:52 +08:00
_Kerman
a9c006f9c3
refactor(agent): own model selection on each agent
2026-10-20 21:09:09 +08:00
_Kerman
639602e63a
Merge origin/master into xtr/session-model-selection
2026-10-20 20:57:11 +08:00
Turtle
aa8bdfc79e
Revert "feat(agent): admit Web prompts through the agent controller"
2026-10-20 19:09:02 +08:00
_Kerman
8b79a1ddcc
Merge origin/master into xtr/session-model-selection
2026-10-20 17:22:59 +08:00
_Kerman
e7ffab7902
Merge remote-tracking branch 'origin/master' into xtr/session-store-write-lifecycle
...
# Conflicts:
# apps/web/tests/new-session-refused.e2e.ts
# docs/event-producer-consumer.md
# docs/event-producer-consumer.zh.md
2026-10-20 15:31:09 +08:00
_Kerman
939752f485
Merge remote-tracking branch 'origin/master' into xtr/session-store-write-lifecycle
...
# Conflicts:
# apps/web/tests/new-session-refused.e2e.ts
# docs/event-producer-consumer.md
# docs/event-producer-consumer.zh.md
2026-10-20 15:31:09 +08:00
Dudu-0223
3331b91a52
Merge origin/master into refactor/agent-team-named-subagents
2026-10-20 15:10:31 +08:00
_Kerman
cc0e980e48
fix(session): align store-owned writes with lifecycle notifications
2026-10-20 11:33:44 +08:00
_Kerman
49a7a75d75
fix(session): align store-owned writes with lifecycle notifications
2026-10-20 11:33:44 +08:00
Yichen Jiang
1d51715aca
Merge remote-tracking branch 'origin/master' into worktree/session-agent-controller-refactor-ff892d
...
# Conflicts:
# 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/README.i18n.yaml
# packages/api/session-controller/tests/commands-upload-file.host.spec.ts
# scripts/gen-cordis-catalog.ts
2026-10-19 22:25:55 +08:00
_Kerman
7d0301fe05
Merge master into scoped tool executors
2026-10-19 21:53:41 +08:00
Yichen Jiang
a472820428
fix(agent): wait for deliveries on disposal and keep image prompts in order
...
The Agent controller now finishes disposal only after every delivery it
stopped has settled, and a sender that cancels stops waiting at once, also
while its message waits behind a held one; the message keeps its place and
is dropped at its turn.
An image prompt takes the Session's image admission turn when its
preparation starts, in the Agent's delivery order, and keeps it until the
prompt settles. Image and text prompts therefore enter the inbox in arrival
order, and a model selection waits only for the image prompt being
admitted, not for one still queued.
The core page documents the delivery types, and the architecture overview
lists the controller and its admission event.
2026-10-19 16:58:59 +08:00
Dudu-0223
02a1e013f2
Merge master projection registration API
2026-10-19 16:10:13 +08:00
Dudu-0223
82cd8fe6e0
Keep collaboration prompts scoped to Team mode
2026-10-19 15:57:26 +08:00
_Kerman
ffe122ffd4
docs(tools): document executor plugins and migration
2026-10-19 14:50:00 +08:00
Dudu-0223
47582f4ec9
Keep task-board wakeups in memory without inbox schema changes
2026-10-19 13:55:18 +08:00
Dudu-0223
aa6a4249b8
refactor(team): derive teams from subagent trees and wait on inbox input
2026-10-19 11:34: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
_Kerman
7aaa6b3c5a
refactor(agent): deprecate the agent/request hook
2026-10-15 20:00:19 +08:00
_Kerman
e39b5f58c2
refactor(agent): persist model selection in session state
2026-10-15 19:05:09 +08:00
_Kerman
c3efd4bff8
refactor(session-projection): keep state reads inside owning services
2026-10-15 18:18:58 +08:00
Dudu-0223
11479fca13
refactor(team): reuse subagents with id-only addressing
2026-10-15 17:43:51 +08:00
_Kerman
ce5c38791e
docs: update projection lifecycle guidance and generated catalogs
2026-10-12 12:03:37 +08:00
Dudu-0223
deda23bf69
Merge master into refactor/agent-team-direct-steer
2026-10-08 16:29:44 +08:00