fix: handle long-running executor prompts

This commit is contained in:
2026-07-18 17:24:00 +02:00
parent a05975dec5
commit 57fe9eafa1
10 changed files with 304 additions and 60 deletions
+13
View File
@@ -7,6 +7,19 @@ export const generatedLabel = "agent:generated";
export const blockedLabel = "agent:blocked";
export const planReadyLabel = "agent:plan-ready";
export function log(
level: string,
message: string,
fields: Record<string, unknown>,
): string {
return JSON.stringify({
level,
message,
...fields,
time: new Date().toISOString(),
});
}
export type Mode = "plan" | "implement";
export interface PlanData {