@crewhaus/target-batch-worker 0.1.1 → 0.1.2

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/package.json +8 -13
  2. package/src/index.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewhaus/target-batch-worker",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "description": "Codegen for the BATCH target — emits a queue-consumer daemon (Section 23 BATCH)",
6
6
  "main": "src/index.ts",
@@ -12,15 +12,15 @@
12
12
  "test": "bun test src"
13
13
  },
14
14
  "dependencies": {
15
- "@crewhaus/errors": "0.1.1",
16
- "@crewhaus/infra-utils": "0.1.1",
17
- "@crewhaus/ir": "0.1.1"
15
+ "@crewhaus/errors": "0.1.2",
16
+ "@crewhaus/infra-utils": "0.1.2",
17
+ "@crewhaus/ir": "0.1.2"
18
18
  },
19
19
  "license": "Apache-2.0",
20
20
  "author": {
21
21
  "name": "Max Meier",
22
- "email": "max@studiomax.io",
23
- "url": "https://studiomax.io"
22
+ "email": "max@crewhaus.ai",
23
+ "url": "https://crewhaus.ai"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",
@@ -32,12 +32,7 @@
32
32
  "url": "https://github.com/crewhaus/factory/issues"
33
33
  },
34
34
  "publishConfig": {
35
- "access": "restricted"
35
+ "access": "public"
36
36
  },
37
- "files": [
38
- "src",
39
- "README.md",
40
- "LICENSE",
41
- "NOTICE"
42
- ]
37
+ "files": ["src", "README.md", "LICENSE", "NOTICE"]
43
38
  }
package/src/index.ts CHANGED
@@ -153,7 +153,7 @@ function renderAgent(ir: IrBatchV0): string {
153
153
 
154
154
  return `#!/usr/bin/env bun
155
155
  // Generated by crewhaus. DO NOT EDIT.
156
- // Source spec: ${ir.name} (target: batch, ir version: ${ir.version})
156
+ // Source spec: ${escapeJsonString(ir.name)} (target: batch, ir version: ${ir.version})
157
157
  import { createInMemoryQueue } from "@crewhaus/queue-protocol";
158
158
  import { startConsumer } from "@crewhaus/queue-consumer";
159
159
  import { createInMemoryIdempotencyStore } from "@crewhaus/idempotency-keys";