thread.resume
Continues a turn a daemon restart interrupted (interruptedAt, PRT-230): starts the thread host and sends a notice asking the agent to check what was in progress and continue; conflict when the thread has no interrupted turn.
Params: ThreadRef
Section titled “Params: ThreadRef”/** Params naming one thread. */export type ThreadRef = { threadId: string;};Result: PromptResult
Section titled “Result: PromptResult”/** `thread.prompt` and `thread.resume` result, sent once pi accepted the prompt, before its run ends. */export type PromptResult = { /** * `false` when no run of the agent follows: pi handled the prompt itself (a `/` command) or it was a `!command`, * answered once the command ended. */ agentInvoked: boolean; /** A fresh id of this prompt. */ promptId: string;};