import type { ExtensionAPI } from "@earendil-works/pi-coding-agent"; export const CONTINUATION_PROMPT = `[pi-midrun-compact/v1] Auto-compaction completed. Continue the interrupted task.`; /** Send only after the runtime has verified that Pi is idle. */ export function sendContinuationPrompt( pi: ExtensionAPI, prompt: string = CONTINUATION_PROMPT, ): void { pi.sendUserMessage(prompt); }