feat: prefill forked session prompt draft

This commit is contained in:
Federico Jaramillo Martinez
2026-05-21 22:56:03 +02:00
parent 2f5293a8c9
commit 9e3d272731
9 changed files with 51 additions and 8 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ export interface PiSessionRuntime {
readonly cwd: string;
readonly session: PiAgentSession;
setRebindSession(rebindSession?: (session: PiAgentSession) => Promise<void>): void;
fork(entryId: string, options?: { position?: "before" | "at" }): Promise<{ cancelled: boolean }>;
fork(entryId: string, options?: { position?: "before" | "at" }): Promise<{ cancelled: boolean; selectedText?: string }>;
dispose(): Promise<void>;
}