refactor: rename queue to claude-status and remove KV key prefix

Namespace provides scoping, prefix on KV key is redundant.
This commit is contained in:
2026-04-08 23:09:02 +07:00
parent cb9fd58565
commit 41bdcf36ef
4 changed files with 6 additions and 6 deletions

View File

@@ -41,7 +41,7 @@ Cloudflare Workers with two entry points exported from `src/index.js`:
### KV Storage
Single key `claude-status:subscribers` stores a JSON object keyed by composite subscriber ID:
Single key `subscribers` stores a JSON object keyed by composite subscriber ID:
- DM/group: `"chatId"``{ types: ["incident", "component"] }`
- Supergroup topic: `"chatId:threadId"``{ types: ["incident"] }`
@@ -60,4 +60,4 @@ Bot stores `message_thread_id` from the topic where `/start` was sent. Notificat
## CF Bindings (wrangler.jsonc)
- `SUBSCRIBERS` — KV namespace
- `STATUS_QUEUE` — Queue producer/consumer (`status-notifications`, batch size 30, max retries 3)
- `STATUS_QUEUE` — Queue producer/consumer (`claude-status`, batch size 30, max retries 3)