Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
import { persistCancelledCreationDraft } from './mobileDurableOutbox';
import { dismissRecoveredPrecreatedSession } from './newSessionCreation';
import type { PendingPrecreatedWorktree } from './precreatedWorktreeRecovery';
/** Keep the recovery ledger until its matching draft is durably safe to resubmit. */
export async function completePrecreatedWorktreeRecovery(record: PendingPrecreatedWorktree): Promise<void> {
await persistCancelledCreationDraft(record);
dismissRecoveredPrecreatedSession(record);
}