animastor-worker 2.1.0 → 2.1.1
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.
- package/job-protocol-v2.cjs +3 -3
- package/package.json +2 -2
- package/worker.cjs +2 -2
package/job-protocol-v2.cjs
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
// ======================================================
|
|
4
4
|
// Generated copy of the canonical Job Protocol v2 implementation:
|
|
5
5
|
// package: @animastor/contracts
|
|
6
|
-
// source: contracts/src/job-protocol-v2.js
|
|
6
|
+
// source: packages/animastor-contracts/src/job-protocol-v2.js
|
|
7
7
|
// sha256: b005fafc01614e643e325b3433f657c6bd197ee6f76dca4d36eb1bf7de2b5a84
|
|
8
8
|
// generated: 0.1.0 snapshot
|
|
9
|
-
// Generator: worker/tools/sync-protocol.cjs (Phase 9D — blocker B2, option B)
|
|
9
|
+
// Generator: packages/animastor-worker/tools/sync-protocol.cjs (Phase 9D — blocker B2, option B)
|
|
10
10
|
//
|
|
11
11
|
// The worker bundle ships with zero runtime npm dependencies (Phase 9B
|
|
12
12
|
// freeze) and is delivered to GPU machines without an npm registry, so it
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
// backend/tests/architecture/phase9d-worker-package.test.js
|
|
19
19
|
//
|
|
20
20
|
// Regenerate after any change to the canonical source:
|
|
21
|
-
// node worker/tools/sync-protocol.cjs
|
|
21
|
+
// node packages/animastor-worker/tools/sync-protocol.cjs
|
|
22
22
|
|
|
23
23
|
// ===8<=== canonical source (verbatim, do not edit) ====================
|
|
24
24
|
// ======================================================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "animastor-worker",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Animastor GPU Worker runtime bundle. The version field is the canonical worker bundle version: the hub publishes it with the bundle artifact (GET /worker-bundle) and worker.cjs reports it in beacons when WORKER_VERSION is not set.",
|
|
5
5
|
"main": "worker.cjs",
|
|
6
6
|
"files": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
25
25
|
"url": "https://github.com/Animastor/animastor.git",
|
|
26
|
-
"directory": "worker/worker"
|
|
26
|
+
"directory": "packages/animastor-worker/worker"
|
|
27
27
|
},
|
|
28
28
|
"bugs": {
|
|
29
29
|
"url": "https://github.com/Animastor/animastor/issues"
|
package/worker.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// ======================================================
|
|
2
|
-
// GPU Worker - v2.1.
|
|
2
|
+
// GPU Worker - v2.1.1 (fail-closed authorization, PW-4)
|
|
3
3
|
// ======================================================
|
|
4
4
|
// CJS (CommonJS) — Node 18+ with global fetch is assumed.
|
|
5
5
|
// Job Protocol v2 comes from the GENERATED copy of the canonical
|
|
6
6
|
// @animastor/contracts package (Phase 9D, blocker B2 — option B):
|
|
7
|
-
// worker/worker/job-protocol-v2.cjs (regenerate: node worker/tools/sync-protocol.cjs)
|
|
7
|
+
// packages/animastor-worker/worker/job-protocol-v2.cjs (regenerate: node packages/animastor-worker/tools/sync-protocol.cjs)
|
|
8
8
|
// It is byte-parity guarded against the canonical source — never edit it.
|
|
9
9
|
|
|
10
10
|
const { execSync } = require("child_process");
|