@unotest/core 0.26.0 → 0.26.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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.26.1] - 2026-08-30
4
+
5
+ ### Patch Changes
6
+
7
+ - `packBundle` accepts `declaredVariables` — the external NAMES a suite
8
+ declares, carried in the manifest so a box can tell a pusher which of
9
+ them it has no value for. Names only; the files that hold the values
10
+ are excluded from every bundle as before.
11
+
12
+ - Updated dependencies [9424f6b]
13
+ - @unotest/protocol@0.26.1
14
+ - @unotest/dsl@0.26.1
15
+
3
16
  ## [0.26.0] - 2026-08-30
4
17
 
5
18
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -421,6 +421,11 @@ interface BundleProvenance {
421
421
  webVersion: string;
422
422
  author?: string;
423
423
  git?: BundleGitInfo;
424
+ /** Names of the externals the suite declares. The files that hold them
425
+ * never travel (their values belong to an environment), so the names
426
+ * ride in the manifest — that is what lets a box say at upload which
427
+ * of them it cannot supply. */
428
+ declaredVariables?: readonly string[];
424
429
  }
425
430
  interface PackedBundle {
426
431
  bundleId: string;
package/dist/index.js CHANGED
@@ -1483,7 +1483,8 @@ function packBundle(files, provenance) {
1483
1483
  fileCount: files.length,
1484
1484
  byteSize: files.reduce((total, file) => total + file.content.byteLength, 0),
1485
1485
  ...provenance.author !== void 0 ? { author: provenance.author } : {},
1486
- ...provenance.git !== void 0 ? { git: provenance.git } : {}
1486
+ ...provenance.git !== void 0 ? { git: provenance.git } : {},
1487
+ ...provenance.declaredVariables && provenance.declaredVariables.length > 0 ? { declaredVariables: [...provenance.declaredVariables] } : {}
1487
1488
  };
1488
1489
  const archive = writeTar([
1489
1490
  ...files,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unotest/core",
3
- "version": "0.26.0",
3
+ "version": "0.26.1",
4
4
  "description": "Shared runner-side utilities for the @unotest ecosystem: JSONL run-artifact writer (steps.jsonl + heartbeat), atomic run-manifest + run-sources writers, atomic runtime-state writer with a protocol-normalizing runtime-inspection helper, layered .env reader/applier (target + environment axes), idempotent .gitignore updater. Used by @unotest/web and @unotest/mobile; depends on @unotest/protocol plus a type-only import of @unotest/dsl/executor event types (M-20). Unlike protocol (pure data), this package owns the thin filesystem layer both runners need.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -29,8 +29,8 @@
29
29
  ],
30
30
  "dependencies": {
31
31
  "chokidar": "^4.0.3",
32
- "@unotest/dsl": "^0.26.0",
33
- "@unotest/protocol": "^0.26.0"
32
+ "@unotest/dsl": "^0.26.1",
33
+ "@unotest/protocol": "^0.26.1"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^22.10.0",