@crewhaus/target-cf-worker-workflow 0.2.1 → 0.2.3

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/dist/index.js +7 -1
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -109,9 +109,15 @@ function renderWorker(ir, allowedOrigins) {
109
109
  })
110
110
  .join(",\n");
111
111
  const allowed = JSON.stringify(allowedOrigins);
112
+ // Item 23 — surface the ignored failure_taxonomy as a generated comment
113
+ // (mirror of target-workflow's mcp_servers note); the Worker calls the
114
+ // Anthropic API with raw fetch, so the recovery engine never runs here.
115
+ const taxonomyWarning = ir.failureTaxonomy !== undefined && ir.failureTaxonomy.length > 0
116
+ ? "// note: failure_taxonomy configured but target-cf-worker-workflow does not yet wire it up — it is ignored\n"
117
+ : "";
112
118
  return `// Generated by @crewhaus/target-cf-worker-workflow. Do not edit by hand.
113
119
  // Regenerate via the studio PWA or \`crewhaus compile --target cf-worker-workflow\`.
114
-
120
+ ${taxonomyWarning}
115
121
  const CONFIG = {
116
122
  name: ${name},
117
123
  steps: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewhaus/target-cf-worker-workflow",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "type": "module",
5
5
  "description": "Codegen backend for the workflow target emitted as a Cloudflare Worker. Sibling of target-cf-worker-cli; reads the same IrWorkflowV0 variant, emits a self-contained Worker bundle that runs the steps sequentially.",
6
6
  "main": "dist/index.js",
@@ -15,10 +15,10 @@
15
15
  "test": "bun test src"
16
16
  },
17
17
  "dependencies": {
18
- "@crewhaus/errors": "0.2.1",
19
- "@crewhaus/infra-utils": "0.2.1",
20
- "@crewhaus/ir": "0.2.1",
21
- "@crewhaus/model-router": "0.2.1"
18
+ "@crewhaus/errors": "0.2.3",
19
+ "@crewhaus/infra-utils": "0.2.3",
20
+ "@crewhaus/ir": "0.2.3",
21
+ "@crewhaus/model-router": "0.2.3"
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "author": {