cloudflare-to-claude-fix 1.0.62 → 1.0.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CLAUDE.md +26 -0
  2. package/package.json +1 -1
package/CLAUDE.md ADDED
@@ -0,0 +1,26 @@
1
+ # CLAUDE.md — `cloudflare-to-claude-fix`
2
+
3
+ **skill:** [`skills/cloudflare-to-claude-fix`](../../skills/cloudflare-to-claude-fix/SKILL.md)
4
+ · **runner:** Vitest · **build:** none — `src/index.js` ships as-is
5
+
6
+ A Cloudflare Workers **Queue consumer** that fires a Claude Code routine
7
+ whenever a Workers build fails. Subscribes to Cloudflare build events through a
8
+ Workers Queue plus a dead-letter queue, then triggers the fix routine over its
9
+ `/fire` API.
10
+
11
+ ## Things that bite
12
+
13
+ - **No build step.** `src/index.js` is the artifact. A syntax error ships.
14
+ - **Queue semantics, not request semantics.** Messages retry, and a message that
15
+ keeps throwing lands in the DLQ. An unhandled throw is not a 500 — it is a
16
+ retry storm. Ack deliberately.
17
+ - **Secrets are Worker secrets**, never committed. The routine trigger token in
18
+ particular.
19
+ - Requires a Workers **Paid** plan (queues) and Claude Pro. A local run that
20
+ "works" without them proves nothing.
21
+
22
+ ```bash
23
+ cd packages/cloudflare-to-claude-fix
24
+ bun run test
25
+ wrangler deploy # via `bun deploy`
26
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudflare-to-claude-fix",
3
- "version": "1.0.62",
3
+ "version": "1.0.64",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",