We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6a3fa5 commit 1438ccaCopy full SHA for 1438cca
1 file changed
src/agents/subagent-registry.ts
@@ -22,6 +22,7 @@ export type SubagentRunRecord = {
22
label?: string;
23
model?: string;
24
runTimeoutSeconds?: number;
25
+ spawnMode?: "run" | "session";
26
createdAt: number;
27
startedAt?: number;
28
endedAt?: number;
@@ -536,6 +537,7 @@ export function registerSubagentRun(params: {
536
537
538
539
expectsCompletionMessage?: boolean;
540
541
}) {
542
const now = Date.now();
543
const cfg = loadConfig();
@@ -554,6 +556,7 @@ export function registerSubagentRun(params: {
554
556
label: params.label,
555
557
model: params.model,
558
runTimeoutSeconds,
559
+ spawnMode: params.spawnMode,
560
createdAt: now,
561
startedAt: now,
562
cleanupHandled: false,
0 commit comments