refactor(subagent): flatten activation task options
This commit is contained in:
1 parent
5b1a588284
commit
575606a356
60 files changed
+229
-179
No files matched your search
@@ -79,7 +79,7 @@ describe('advanced Python snapshot workflow ordering', () => {
|
||||
const parent = await ctx.agentLoop.create(SessionId(config.parentSessionId), { provider: 'mock', model: 'mock' })
|
||||
const run = await ctx.subagents.startActivation({
|
||||
provider: 'spawn', label: 'workflow-child', delivery: 'caller',
|
||||
request: { parent, prompt: [{ type: 'text', text: config.prompt }] }, signal: new AbortController().signal,
|
||||
parent, prompt: [{ type: 'text', text: config.prompt }], signal: new AbortController().signal,
|
||||
})
|
||||
cleanups.push(() => run.dispose())
|
||||
const child = await entered.promise
|
||||
|
||||
Reference in new issue
Block a user