This commit is contained in:
Your Name
2026-04-08 20:44:56 +00:00
parent f726de12e5
commit 9287159ccc
22 changed files with 106 additions and 41 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ export class IrProjector {
* applies the Immediate Sanitization pipeline, and enforces token boundaries.
*/
static async project(
ship: ReadonlyArray<ConcreteNode>,
ship: readonly ConcreteNode[],
orchestrator: PipelineOrchestrator,
sidecar: SidecarConfig,
tracer: ContextTracer,
+3 -3
View File
@@ -159,7 +159,7 @@ function parseToolResponses(
if (callId) pendingCallParts.delete(callId);
}
}
return currentEpisode as Partial<Episode>;
return currentEpisode;
}
function parseUserParts(
@@ -231,7 +231,7 @@ function parseModelParts(
];
}
}
return currentEpisode as Partial<Episode>;
return currentEpisode;
}
function finalizeYield(currentEpisode: Partial<Episode>) {
@@ -247,7 +247,7 @@ function finalizeYield(currentEpisode: Partial<Episode>) {
},
};
const existingNodes =
currentEpisode.concreteNodes as import('./types.js').ConcreteNode[];
currentEpisode.concreteNodes as Array<import('./types.js').ConcreteNode>;
currentEpisode.concreteNodes = [...existingNodes, yieldNode];
}
}