refactor(subagent): narrow continuation interface

This commit is contained in:
Tianyi Cui
2026-07-28 00:10:24 +08:00
committed by imccyu
parent 644bf00b86
commit f14121a4c2
55 changed files with 669 additions and 441 deletions

View File

@@ -163,9 +163,11 @@ export const LINK_MAP: Readonly<Record<string, string>> = {
ContinuableStart: 'subagent.md',
ContinuableStartSpec: 'subagent.md',
CoordinatorMessageSource: 'subagent.md',
SendMessageResult: 'subagent.md',
SubagentFollowupOptions: 'subagent.md',
SubagentFollowupResult: 'subagent.md',
SubagentProvider: 'subagent.md',
SubagentResumeRequest: 'subagent.md',
SubagentProviderResumeRequest: 'subagent.md',
SubagentProviderStartRequest: 'subagent.md',
SubagentRun: 'subagent.md',
SubagentService: 'subagent.md',
SubagentStartRequest: 'subagent.md',

View File

@@ -1094,6 +1094,11 @@
"symbol": "SubagentStartRequest",
"source": "packages/subagent/subagent/src/types.ts"
},
{
"doc": "docs/core-data-structures/subagent.md",
"symbol": "SubagentProviderStartRequest",
"source": "packages/subagent/subagent/src/types.ts"
},
{
"doc": "docs/core-data-structures/subagent.md",
"symbol": "SubagentContinuation",
@@ -1106,7 +1111,17 @@
},
{
"doc": "docs/core-data-structures/subagent.md",
"symbol": "SubagentResumeRequest",
"symbol": "SubagentFollowupOptions",
"source": "packages/subagent/subagent/src/continuation.ts"
},
{
"doc": "docs/core-data-structures/subagent.md",
"symbol": "SubagentFollowupResult",
"source": "packages/subagent/subagent/src/continuation.ts"
},
{
"doc": "docs/core-data-structures/subagent.md",
"symbol": "SubagentProviderResumeRequest",
"source": "packages/subagent/subagent/src/types.ts"
},
{