diff --git a/.opencode/plans/1773656570427-mighty-tiger.md b/.opencode/plans/1773656570427-mighty-tiger.md index 436f62d..059d2d8 100644 --- a/.opencode/plans/1773656570427-mighty-tiger.md +++ b/.opencode/plans/1773656570427-mighty-tiger.md @@ -118,6 +118,8 @@ export interface CloseSessionResult { cleanupPerformed?: boolean; worktreesRemoved?: string[]; branchesDeleted?: string[]; + tagsCreated?: string[]; + warnings?: string[]; } ``` @@ -298,6 +300,8 @@ async function promptUser(question: string): Promise { export async function closeMultiModel(options: CloseSessionOptions): Promise { const worktreesRemoved: string[] = []; const branchesDeleted: string[] = []; + const tagsCreated: string[] = []; + const warnings: string[] = []; try { // Check if session exists @@ -337,8 +341,17 @@ export async function closeMultiModel(options: CloseSessionOptions): Promise 0) { + details += ` Created backup tags: ${result.tagsCreated.join(", ")}.`; + } + if (result.warnings && result.warnings.length > 0) { + details += ` Warnings: ${result.warnings.join("; ")}.`; + } } return { @@ -553,6 +576,12 @@ program console.log(`✓ Closed session: ${result.sessionName}`); if (result.cleanupPerformed) { console.log(` Removed ${result.worktreesRemoved?.length || 0} worktrees`); + if (result.tagsCreated && result.tagsCreated.length > 0) { + console.log(` Created backup tags: ${result.tagsCreated.join(", ")}`); + } + if (result.warnings && result.warnings.length > 0) { + console.log(` Warnings: ${result.warnings.join("; ")}`); + } if (result.branchesDeleted && result.branchesDeleted.length > 0) { console.log(` Deleted ${result.branchesDeleted.length} branches`); }