From d705a3e7d977ae21eb4831a3cf9d7e580e759e7d Mon Sep 17 00:00:00 2001 From: catlog22 Date: Sat, 27 Dec 2025 22:48:38 +0800 Subject: [PATCH] fix: Add active_queue_id to QueueIndex interface MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- ccw/src/commands/issue.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ccw/src/commands/issue.ts b/ccw/src/commands/issue.ts index 59390701..6e969588 100644 --- a/ccw/src/commands/issue.ts +++ b/ccw/src/commands/issue.ts @@ -149,6 +149,7 @@ interface Queue { } interface QueueIndex { + active_queue_id: string | null; active_item_id: string | null; queues: { id: string; @@ -290,7 +291,7 @@ function ensureQueuesDir(): void { function readQueueIndex(): QueueIndex { const path = join(getQueuesDir(), 'index.json'); if (!existsSync(path)) { - return { active_item_id: null, queues: [] }; + return { active_queue_id: null, active_item_id: null, queues: [] }; } return JSON.parse(readFileSync(path, 'utf-8')); }