@tracecode/harness 0.16.7 → 0.16.8

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 (30) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/{browser-runtime-provider-BMDGQ3KS.js → browser-runtime-provider-X6OLUZSN.js} +4 -4
  3. package/dist/{chunk-EL32HALA.js → chunk-32OZHBX6.js} +2 -2
  4. package/dist/{chunk-GLWDM276.js → chunk-B4XMQTD7.js} +10 -9
  5. package/dist/{chunk-ZX2AEA6Q.js → chunk-BZNOMJSC.js} +2 -2
  6. package/dist/{chunk-KYRVBA6G.js → chunk-DLRTNTVJ.js} +2 -2
  7. package/dist/{chunk-ERYCOWPS.js → chunk-GQSM4APD.js} +2 -2
  8. package/dist/{chunk-6FC562KX.js → chunk-IRI2XDVR.js} +12 -12
  9. package/dist/core.cjs +9 -8
  10. package/dist/core.js +1 -1
  11. package/dist/{cpp-worker-client-GUABNYCC.js → cpp-worker-client-7NLJ7RKG.js} +3 -3
  12. package/dist/{csharp-worker-client-3X7TM35A.js → csharp-worker-client-LAIK4IXZ.js} +3 -3
  13. package/dist/internal/tracekernel-workspace.cjs +9 -8
  14. package/dist/internal/tracekernel-workspace.js +1 -1
  15. package/dist/{java-project-HKJVRSGW.js → java-project-WQNHWOFV.js} +2 -2
  16. package/dist/judge.cjs +18 -10
  17. package/dist/judge.js +15 -8
  18. package/dist/{project-browser-VA4JO24R.js → project-browser-2OSJRVDB.js} +2 -2
  19. package/dist/{project-browser-OESLR46C.js → project-browser-CWX4AY24.js} +2 -2
  20. package/dist/{project-browser-MVPRY3P4.js → project-browser-JWQZTSDF.js} +2 -2
  21. package/dist/{project-browser-UQPBIF52.js → project-browser-OPSZJVFS.js} +2 -2
  22. package/dist/{project-browser-YM4F7OYW.js → project-browser-YF7EUUTQ.js} +2 -2
  23. package/dist/{python-worker-client-FD6RJKAT.js → python-worker-client-ON4LFEJD.js} +3 -3
  24. package/dist/tracekernel.cjs +9 -8
  25. package/dist/tracekernel.js +3 -3
  26. package/package.json +4 -3
  27. package/runtime-assets.lock.json +23 -15
  28. package/workers/javascript/javascript-project-worker.js +8 -7
  29. package/workers/python/pyodide-0.29.3/snapshots/provenance.json +36 -0
  30. package/workers/python/pyodide-0.29.3/snapshots/webkit.bin +0 -0
package/CHANGELOG.md CHANGED
@@ -6,6 +6,19 @@ This repo uses Git tags as release boundaries. Version notes below summarize wha
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.16.8] - 2026-08-23
10
+
11
+ ### Added
12
+
13
+ - Added a reproducible Python runtime snapshot builder that stages each image,
14
+ restores it in a fresh Worker, and can build the WebKit release image inside
15
+ Mobile Safari on an iOS simulator.
16
+
17
+ ### Fixed
18
+
19
+ - Rebuilt the WebKit Python runtime image in Mobile Safari so disposable
20
+ Python runners restore on iOS instead of crashing before returning results.
21
+
9
22
  ## [0.16.7] - 2026-08-14
10
23
 
11
24
  ### Fixed
@@ -2,9 +2,9 @@ var define = undefined;
2
2
  import {
3
3
  createCppBrowserRuntimeProvider,
4
4
  createTraceCCBrowserCompilerService
5
- } from "./chunk-KYRVBA6G.js";
6
- import "./chunk-EL32HALA.js";
7
- import "./chunk-GLWDM276.js";
5
+ } from "./chunk-DLRTNTVJ.js";
6
+ import "./chunk-32OZHBX6.js";
7
+ import "./chunk-B4XMQTD7.js";
8
8
  import "./chunk-5KH5ABPQ.js";
9
9
  import "./chunk-C2RUZCIL.js";
10
10
  import "./chunk-756Z7C6D.js";
@@ -12,4 +12,4 @@ export {
12
12
  createCppBrowserRuntimeProvider,
13
13
  createTraceCCBrowserCompilerService
14
14
  };
15
- //# sourceMappingURL=browser-runtime-provider-BMDGQ3KS.js.map
15
+ //# sourceMappingURL=browser-runtime-provider-X6OLUZSN.js.map
@@ -4,7 +4,7 @@ import {
4
4
  liftCodeBatchOutcome,
5
5
  liftCodeOutcome,
6
6
  liftTraceOutcome
7
- } from "./chunk-GLWDM276.js";
7
+ } from "./chunk-B4XMQTD7.js";
8
8
  import {
9
9
  WorkerCrashedError,
10
10
  WorkerReadyTimeoutError,
@@ -1372,4 +1372,4 @@ var CppWorkerClient = class {
1372
1372
  export {
1373
1373
  CppWorkerClient
1374
1374
  };
1375
- //# sourceMappingURL=chunk-EL32HALA.js.map
1375
+ //# sourceMappingURL=chunk-32OZHBX6.js.map
@@ -3,7 +3,7 @@ var define = undefined;
3
3
  // package.json
4
4
  var package_default = {
5
5
  name: "@tracecode/harness",
6
- version: "0.16.7",
6
+ version: "0.16.8",
7
7
  license: "AGPL-3.0-only",
8
8
  homepage: "https://tracecode.app",
9
9
  repository: {
@@ -82,6 +82,7 @@ var package_default = {
82
82
  "bench:traceclr-tiers:matrix": "pnpm build:traceclr-wire-probe && pnpm materialize:csharp-role-assets && for engine in chromium firefox webkit; do TRACECODE_TRACECLR_BROWSER_ENGINE=$engine node --import tsx scripts/benchmark-traceclr-runtime-tiers.ts || exit; done",
83
83
  "generate:runtime-open-source-info": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-runtime-open-source-info.ts",
84
84
  "generate:python-harness": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-python-harness-artifacts.ts",
85
+ "build:python-runtime-snapshot": "node --import tsx scripts/build-python-runtime-snapshot.ts",
85
86
  "generate:runtime-assets-lock": "node --import tsx scripts/generate-runtime-assets-lock.mjs",
86
87
  "generate:typescript-project-libs": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-typescript-project-libs.ts",
87
88
  "generate:javascript-project-worker": "pnpm exec esbuild packages/runtime-javascript/src/project-browser-worker.ts --bundle --format=esm --platform=browser --target=es2022 --outfile=workers/javascript/javascript-project-worker.js && node scripts/normalize-generated-worker-paths.mjs workers/javascript/javascript-project-worker.js",
@@ -269,7 +270,7 @@ var LANGUAGE_RUNTIME_INFOS = Object.freeze(
269
270
  "versionLabel": "Python 3.13.2",
270
271
  "executionPlatform": {
271
272
  "name": "TraceKernel",
272
- "version": "0.16.7"
273
+ "version": "0.16.8"
273
274
  },
274
275
  "description": "Python 3.13.2 runs in TraceKernel's isolated Python runtime.\n\nCommon algorithm helpers are imported automatically, including array, bisect, collections, functools, heapq, itertools. Other standard-library modules can be imported normally.\n\nOptional third-party packages are consumer-owned runtime assets and are available only when declared by the TraceKernel runtime manifest.",
275
276
  "runtime": {
@@ -296,7 +297,7 @@ var LANGUAGE_RUNTIME_INFOS = Object.freeze(
296
297
  "versionLabel": "JavaScript (ECMAScript 2023)",
297
298
  "executionPlatform": {
298
299
  "name": "TraceKernel",
299
- "version": "0.16.7"
300
+ "version": "0.16.8"
300
301
  },
301
302
  "runtime": {
302
303
  "name": "TraceKernel JavaScript runtime",
@@ -388,7 +389,7 @@ Binary Search Tree, Trie, and Graph are bundled too, but are not exposed globall
388
389
  "versionLabel": "TypeScript 5.9.3",
389
390
  "executionPlatform": {
390
391
  "name": "TraceKernel",
391
- "version": "0.16.7"
392
+ "version": "0.16.8"
392
393
  },
393
394
  "description": `TypeScript 5.9.3 is compiled with the TypeScript compiler and executed by TraceKernel's JavaScript runtime.
394
395
 
@@ -488,7 +489,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
488
489
  "versionLabel": "Java 23",
489
490
  "executionPlatform": {
490
491
  "name": "TraceKernel",
491
- "version": "0.16.7"
492
+ "version": "0.16.8"
492
493
  },
493
494
  "description": "Java 23 is compiled with javac 23 and executed by the Java runtime on TraceKernel.\n\nCommon imports are added automatically: java.util.*, java.io.*, java.math.*, java.util.stream.*, javafx.util.Pair.",
494
495
  "runtime": {
@@ -525,7 +526,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
525
526
  "versionLabel": "C# 14",
526
527
  "executionPlatform": {
527
528
  "name": "TraceKernel",
528
- "version": "0.16.7"
529
+ "version": "0.16.8"
529
530
  },
530
531
  "description": "C# 14 source is compiled and executed by TraceKernel's isolated C# runtime.\n\nCommon namespaces are imported automatically: System, System.Collections, System.Collections.Generic, System.IO, System.Linq, System.Numerics, System.Text, System.Text.RegularExpressions.",
531
532
  "runtime": {
@@ -554,7 +555,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
554
555
  "versionLabel": "C++23",
555
556
  "executionPlatform": {
556
557
  "name": "TraceKernel",
557
- "version": "0.16.7"
558
+ "version": "0.16.8"
558
559
  },
559
560
  "description": "C++ source is compiled using the C++23 standard.\n\nSubmissions compile to WebAssembly and run in TraceKernel's WASI execution lane. The compiler currently uses -O0 and -fno-exceptions, with a fixed program stack size.\n\nCommon standard library headers are included automatically, including <algorithm>, <array>, <bitset>, <climits>, <cmath>, <cstdint>, <functional>, <limits>, <numeric>, <sstream>, <tuple>, <vector>, <unordered_map>, <unordered_set> and more.",
560
561
  "runtime": {
@@ -706,7 +707,7 @@ var LANGUAGE_RUNTIME_OPEN_SOURCE_INFOS = Object.freeze(
706
707
  {
707
708
  "kind": "modifications",
708
709
  "label": "Runtime modifications",
709
- "url": "https://github.com/tracecodeapp/harness/tree/v0.16.7/workers/python/pyodide-0.29.3"
710
+ "url": "https://github.com/tracecodeapp/harness/tree/v0.16.8/workers/python/pyodide-0.29.3"
710
711
  }
711
712
  ]
712
713
  }
@@ -4433,4 +4434,4 @@ export {
4433
4434
  normalizeJavaSerializedResult,
4434
4435
  javaTraceHooksEventsToRuntimeTrace
4435
4436
  };
4436
- //# sourceMappingURL=chunk-GLWDM276.js.map
4437
+ //# sourceMappingURL=chunk-B4XMQTD7.js.map
@@ -4,7 +4,7 @@ import {
4
4
  liftCodeBatchOutcome,
5
5
  liftTraceOutcome,
6
6
  withRuntimeTraceOptions
7
- } from "./chunk-GLWDM276.js";
7
+ } from "./chunk-B4XMQTD7.js";
8
8
  import {
9
9
  HostArtifactCache,
10
10
  WorkerCrashedError,
@@ -1124,4 +1124,4 @@ var CSharpWorkerClient = class {
1124
1124
  export {
1125
1125
  CSharpWorkerClient
1126
1126
  };
1127
- //# sourceMappingURL=chunk-ZX2AEA6Q.js.map
1127
+ //# sourceMappingURL=chunk-BZNOMJSC.js.map
@@ -1,7 +1,7 @@
1
1
  var define = undefined;
2
2
  import {
3
3
  CppWorkerClient
4
- } from "./chunk-EL32HALA.js";
4
+ } from "./chunk-32OZHBX6.js";
5
5
  import {
6
6
  createPromotableBrowserBackgroundTask,
7
7
  createWorkerProtocolToken
@@ -891,4 +891,4 @@ export {
891
891
  createTraceCCBrowserCompilerService,
892
892
  createCppBrowserRuntimeProvider
893
893
  };
894
- //# sourceMappingURL=chunk-KYRVBA6G.js.map
894
+ //# sourceMappingURL=chunk-DLRTNTVJ.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createEmptyRuntimeTrace,
4
4
  liftCodeBatchOutcome,
5
5
  liftCodeOutcome
6
- } from "./chunk-GLWDM276.js";
6
+ } from "./chunk-B4XMQTD7.js";
7
7
  import {
8
8
  WorkerCrashedError,
9
9
  WorkerReadyTimeoutError,
@@ -559,4 +559,4 @@ export {
559
559
  PythonWorkerClient,
560
560
  isWorkerSupported
561
561
  };
562
- //# sourceMappingURL=chunk-ERYCOWPS.js.map
562
+ //# sourceMappingURL=chunk-GQSM4APD.js.map
@@ -1,7 +1,7 @@
1
1
  var define = undefined;
2
2
  import {
3
3
  normalizeRuntimeProjectPath
4
- } from "./chunk-GLWDM276.js";
4
+ } from "./chunk-B4XMQTD7.js";
5
5
  import {
6
6
  _await,
7
7
  bounded,
@@ -11512,23 +11512,23 @@ async function createBrowserProjectWorkspace(options = {}) {
11512
11512
  const hasProvider = (provider) => providers.includes(provider);
11513
11513
  const [pythonProvider, javascriptProvider, javaProvider, csharpProvider, cppProvider] = await Promise.all([
11514
11514
  hasProvider("python") ? Promise.all([
11515
- import("./project-browser-YM4F7OYW.js"),
11516
- import("./python-worker-client-FD6RJKAT.js")
11515
+ import("./project-browser-YF7EUUTQ.js"),
11516
+ import("./python-worker-client-ON4LFEJD.js")
11517
11517
  ]) : void 0,
11518
- hasProvider("javascript") || hasProvider("typescript") ? import("./project-browser-VA4JO24R.js") : void 0,
11518
+ hasProvider("javascript") || hasProvider("typescript") ? import("./project-browser-2OSJRVDB.js") : void 0,
11519
11519
  hasProvider("java") ? Promise.all([
11520
- import("./project-browser-OESLR46C.js"),
11521
- import("./java-project-HKJVRSGW.js"),
11520
+ import("./project-browser-CWX4AY24.js"),
11521
+ import("./java-project-WQNHWOFV.js"),
11522
11522
  import("./java-project-client-PEQKFTH6.js")
11523
11523
  ]) : void 0,
11524
11524
  hasProvider("csharp") ? Promise.all([
11525
- import("./project-browser-MVPRY3P4.js"),
11526
- import("./csharp-worker-client-3X7TM35A.js")
11525
+ import("./project-browser-JWQZTSDF.js"),
11526
+ import("./csharp-worker-client-LAIK4IXZ.js")
11527
11527
  ]) : void 0,
11528
11528
  hasProvider("cpp") ? Promise.all([
11529
- import("./project-browser-UQPBIF52.js"),
11530
- import("./cpp-worker-client-GUABNYCC.js"),
11531
- import("./browser-runtime-provider-BMDGQ3KS.js"),
11529
+ import("./project-browser-OPSZJVFS.js"),
11530
+ import("./cpp-worker-client-7NLJ7RKG.js"),
11531
+ import("./browser-runtime-provider-X6OLUZSN.js"),
11532
11532
  import("./tracecc-runtime-assets-G3BFH7LY.js")
11533
11533
  ]) : void 0
11534
11534
  ]);
@@ -12165,4 +12165,4 @@ export {
12165
12165
  createBrowserProjectWorkspace,
12166
12166
  createBrowserRuntimeEnvironment
12167
12167
  };
12168
- //# sourceMappingURL=chunk-6FC562KX.js.map
12168
+ //# sourceMappingURL=chunk-IRI2XDVR.js.map
package/dist/core.cjs CHANGED
@@ -189,7 +189,7 @@ module.exports = __toCommonJS(src_exports);
189
189
  // package.json
190
190
  var package_default = {
191
191
  name: "@tracecode/harness",
192
- version: "0.16.7",
192
+ version: "0.16.8",
193
193
  license: "AGPL-3.0-only",
194
194
  homepage: "https://tracecode.app",
195
195
  repository: {
@@ -268,6 +268,7 @@ var package_default = {
268
268
  "bench:traceclr-tiers:matrix": "pnpm build:traceclr-wire-probe && pnpm materialize:csharp-role-assets && for engine in chromium firefox webkit; do TRACECODE_TRACECLR_BROWSER_ENGINE=$engine node --import tsx scripts/benchmark-traceclr-runtime-tiers.ts || exit; done",
269
269
  "generate:runtime-open-source-info": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-runtime-open-source-info.ts",
270
270
  "generate:python-harness": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-python-harness-artifacts.ts",
271
+ "build:python-runtime-snapshot": "node --import tsx scripts/build-python-runtime-snapshot.ts",
271
272
  "generate:runtime-assets-lock": "node --import tsx scripts/generate-runtime-assets-lock.mjs",
272
273
  "generate:typescript-project-libs": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-typescript-project-libs.ts",
273
274
  "generate:javascript-project-worker": "pnpm exec esbuild packages/runtime-javascript/src/project-browser-worker.ts --bundle --format=esm --platform=browser --target=es2022 --outfile=workers/javascript/javascript-project-worker.js && node scripts/normalize-generated-worker-paths.mjs workers/javascript/javascript-project-worker.js",
@@ -455,7 +456,7 @@ var LANGUAGE_RUNTIME_INFOS = Object.freeze(
455
456
  "versionLabel": "Python 3.13.2",
456
457
  "executionPlatform": {
457
458
  "name": "TraceKernel",
458
- "version": "0.16.7"
459
+ "version": "0.16.8"
459
460
  },
460
461
  "description": "Python 3.13.2 runs in TraceKernel's isolated Python runtime.\n\nCommon algorithm helpers are imported automatically, including array, bisect, collections, functools, heapq, itertools. Other standard-library modules can be imported normally.\n\nOptional third-party packages are consumer-owned runtime assets and are available only when declared by the TraceKernel runtime manifest.",
461
462
  "runtime": {
@@ -482,7 +483,7 @@ var LANGUAGE_RUNTIME_INFOS = Object.freeze(
482
483
  "versionLabel": "JavaScript (ECMAScript 2023)",
483
484
  "executionPlatform": {
484
485
  "name": "TraceKernel",
485
- "version": "0.16.7"
486
+ "version": "0.16.8"
486
487
  },
487
488
  "runtime": {
488
489
  "name": "TraceKernel JavaScript runtime",
@@ -574,7 +575,7 @@ Binary Search Tree, Trie, and Graph are bundled too, but are not exposed globall
574
575
  "versionLabel": "TypeScript 5.9.3",
575
576
  "executionPlatform": {
576
577
  "name": "TraceKernel",
577
- "version": "0.16.7"
578
+ "version": "0.16.8"
578
579
  },
579
580
  "description": `TypeScript 5.9.3 is compiled with the TypeScript compiler and executed by TraceKernel's JavaScript runtime.
580
581
 
@@ -674,7 +675,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
674
675
  "versionLabel": "Java 23",
675
676
  "executionPlatform": {
676
677
  "name": "TraceKernel",
677
- "version": "0.16.7"
678
+ "version": "0.16.8"
678
679
  },
679
680
  "description": "Java 23 is compiled with javac 23 and executed by the Java runtime on TraceKernel.\n\nCommon imports are added automatically: java.util.*, java.io.*, java.math.*, java.util.stream.*, javafx.util.Pair.",
680
681
  "runtime": {
@@ -711,7 +712,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
711
712
  "versionLabel": "C# 14",
712
713
  "executionPlatform": {
713
714
  "name": "TraceKernel",
714
- "version": "0.16.7"
715
+ "version": "0.16.8"
715
716
  },
716
717
  "description": "C# 14 source is compiled and executed by TraceKernel's isolated C# runtime.\n\nCommon namespaces are imported automatically: System, System.Collections, System.Collections.Generic, System.IO, System.Linq, System.Numerics, System.Text, System.Text.RegularExpressions.",
717
718
  "runtime": {
@@ -740,7 +741,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
740
741
  "versionLabel": "C++23",
741
742
  "executionPlatform": {
742
743
  "name": "TraceKernel",
743
- "version": "0.16.7"
744
+ "version": "0.16.8"
744
745
  },
745
746
  "description": "C++ source is compiled using the C++23 standard.\n\nSubmissions compile to WebAssembly and run in TraceKernel's WASI execution lane. The compiler currently uses -O0 and -fno-exceptions, with a fixed program stack size.\n\nCommon standard library headers are included automatically, including <algorithm>, <array>, <bitset>, <climits>, <cmath>, <cstdint>, <functional>, <limits>, <numeric>, <sstream>, <tuple>, <vector>, <unordered_map>, <unordered_set> and more.",
746
747
  "runtime": {
@@ -892,7 +893,7 @@ var LANGUAGE_RUNTIME_OPEN_SOURCE_INFOS = Object.freeze(
892
893
  {
893
894
  "kind": "modifications",
894
895
  "label": "Runtime modifications",
895
- "url": "https://github.com/tracecodeapp/harness/tree/v0.16.7/workers/python/pyodide-0.29.3"
896
+ "url": "https://github.com/tracecodeapp/harness/tree/v0.16.8/workers/python/pyodide-0.29.3"
896
897
  }
897
898
  ]
898
899
  }
package/dist/core.js CHANGED
@@ -162,7 +162,7 @@ import {
162
162
  withRuntimeProjectCommandRunnerCapabilities,
163
163
  withRuntimeTraceOptions,
164
164
  writeRuntimeCommandStdinPipeBytes
165
- } from "./chunk-GLWDM276.js";
165
+ } from "./chunk-B4XMQTD7.js";
166
166
  import "./chunk-756Z7C6D.js";
167
167
  export {
168
168
  LANGUAGE_RUNTIME_INFOS,
@@ -1,12 +1,12 @@
1
1
  var define = undefined;
2
2
  import {
3
3
  CppWorkerClient
4
- } from "./chunk-EL32HALA.js";
5
- import "./chunk-GLWDM276.js";
4
+ } from "./chunk-32OZHBX6.js";
5
+ import "./chunk-B4XMQTD7.js";
6
6
  import "./chunk-5KH5ABPQ.js";
7
7
  import "./chunk-C2RUZCIL.js";
8
8
  import "./chunk-756Z7C6D.js";
9
9
  export {
10
10
  CppWorkerClient
11
11
  };
12
- //# sourceMappingURL=cpp-worker-client-GUABNYCC.js.map
12
+ //# sourceMappingURL=cpp-worker-client-7NLJ7RKG.js.map
@@ -1,12 +1,12 @@
1
1
  var define = undefined;
2
2
  import {
3
3
  CSharpWorkerClient
4
- } from "./chunk-ZX2AEA6Q.js";
5
- import "./chunk-GLWDM276.js";
4
+ } from "./chunk-BZNOMJSC.js";
5
+ import "./chunk-B4XMQTD7.js";
6
6
  import "./chunk-5KH5ABPQ.js";
7
7
  import "./chunk-C2RUZCIL.js";
8
8
  import "./chunk-756Z7C6D.js";
9
9
  export {
10
10
  CSharpWorkerClient
11
11
  };
12
- //# sourceMappingURL=csharp-worker-client-3X7TM35A.js.map
12
+ //# sourceMappingURL=csharp-worker-client-LAIK4IXZ.js.map
@@ -17081,7 +17081,7 @@ module.exports = __toCommonJS(workspace_exports);
17081
17081
  // package.json
17082
17082
  var package_default = {
17083
17083
  name: "@tracecode/harness",
17084
- version: "0.16.7",
17084
+ version: "0.16.8",
17085
17085
  license: "AGPL-3.0-only",
17086
17086
  homepage: "https://tracecode.app",
17087
17087
  repository: {
@@ -17160,6 +17160,7 @@ var package_default = {
17160
17160
  "bench:traceclr-tiers:matrix": "pnpm build:traceclr-wire-probe && pnpm materialize:csharp-role-assets && for engine in chromium firefox webkit; do TRACECODE_TRACECLR_BROWSER_ENGINE=$engine node --import tsx scripts/benchmark-traceclr-runtime-tiers.ts || exit; done",
17161
17161
  "generate:runtime-open-source-info": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-runtime-open-source-info.ts",
17162
17162
  "generate:python-harness": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-python-harness-artifacts.ts",
17163
+ "build:python-runtime-snapshot": "node --import tsx scripts/build-python-runtime-snapshot.ts",
17163
17164
  "generate:runtime-assets-lock": "node --import tsx scripts/generate-runtime-assets-lock.mjs",
17164
17165
  "generate:typescript-project-libs": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-typescript-project-libs.ts",
17165
17166
  "generate:javascript-project-worker": "pnpm exec esbuild packages/runtime-javascript/src/project-browser-worker.ts --bundle --format=esm --platform=browser --target=es2022 --outfile=workers/javascript/javascript-project-worker.js && node scripts/normalize-generated-worker-paths.mjs workers/javascript/javascript-project-worker.js",
@@ -17347,7 +17348,7 @@ var LANGUAGE_RUNTIME_INFOS = Object.freeze(
17347
17348
  "versionLabel": "Python 3.13.2",
17348
17349
  "executionPlatform": {
17349
17350
  "name": "TraceKernel",
17350
- "version": "0.16.7"
17351
+ "version": "0.16.8"
17351
17352
  },
17352
17353
  "description": "Python 3.13.2 runs in TraceKernel's isolated Python runtime.\n\nCommon algorithm helpers are imported automatically, including array, bisect, collections, functools, heapq, itertools. Other standard-library modules can be imported normally.\n\nOptional third-party packages are consumer-owned runtime assets and are available only when declared by the TraceKernel runtime manifest.",
17353
17354
  "runtime": {
@@ -17374,7 +17375,7 @@ var LANGUAGE_RUNTIME_INFOS = Object.freeze(
17374
17375
  "versionLabel": "JavaScript (ECMAScript 2023)",
17375
17376
  "executionPlatform": {
17376
17377
  "name": "TraceKernel",
17377
- "version": "0.16.7"
17378
+ "version": "0.16.8"
17378
17379
  },
17379
17380
  "runtime": {
17380
17381
  "name": "TraceKernel JavaScript runtime",
@@ -17466,7 +17467,7 @@ Binary Search Tree, Trie, and Graph are bundled too, but are not exposed globall
17466
17467
  "versionLabel": "TypeScript 5.9.3",
17467
17468
  "executionPlatform": {
17468
17469
  "name": "TraceKernel",
17469
- "version": "0.16.7"
17470
+ "version": "0.16.8"
17470
17471
  },
17471
17472
  "description": `TypeScript 5.9.3 is compiled with the TypeScript compiler and executed by TraceKernel's JavaScript runtime.
17472
17473
 
@@ -17566,7 +17567,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
17566
17567
  "versionLabel": "Java 23",
17567
17568
  "executionPlatform": {
17568
17569
  "name": "TraceKernel",
17569
- "version": "0.16.7"
17570
+ "version": "0.16.8"
17570
17571
  },
17571
17572
  "description": "Java 23 is compiled with javac 23 and executed by the Java runtime on TraceKernel.\n\nCommon imports are added automatically: java.util.*, java.io.*, java.math.*, java.util.stream.*, javafx.util.Pair.",
17572
17573
  "runtime": {
@@ -17603,7 +17604,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
17603
17604
  "versionLabel": "C# 14",
17604
17605
  "executionPlatform": {
17605
17606
  "name": "TraceKernel",
17606
- "version": "0.16.7"
17607
+ "version": "0.16.8"
17607
17608
  },
17608
17609
  "description": "C# 14 source is compiled and executed by TraceKernel's isolated C# runtime.\n\nCommon namespaces are imported automatically: System, System.Collections, System.Collections.Generic, System.IO, System.Linq, System.Numerics, System.Text, System.Text.RegularExpressions.",
17609
17610
  "runtime": {
@@ -17632,7 +17633,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
17632
17633
  "versionLabel": "C++23",
17633
17634
  "executionPlatform": {
17634
17635
  "name": "TraceKernel",
17635
- "version": "0.16.7"
17636
+ "version": "0.16.8"
17636
17637
  },
17637
17638
  "description": "C++ source is compiled using the C++23 standard.\n\nSubmissions compile to WebAssembly and run in TraceKernel's WASI execution lane. The compiler currently uses -O0 and -fno-exceptions, with a fixed program stack size.\n\nCommon standard library headers are included automatically, including <algorithm>, <array>, <bitset>, <climits>, <cmath>, <cstdint>, <functional>, <limits>, <numeric>, <sstream>, <tuple>, <vector>, <unordered_map>, <unordered_set> and more.",
17638
17639
  "runtime": {
@@ -17784,7 +17785,7 @@ var LANGUAGE_RUNTIME_OPEN_SOURCE_INFOS = Object.freeze(
17784
17785
  {
17785
17786
  "kind": "modifications",
17786
17787
  "label": "Runtime modifications",
17787
- "url": "https://github.com/tracecodeapp/harness/tree/v0.16.7/workers/python/pyodide-0.29.3"
17788
+ "url": "https://github.com/tracecodeapp/harness/tree/v0.16.8/workers/python/pyodide-0.29.3"
17788
17789
  }
17789
17790
  ]
17790
17791
  }
@@ -162,7 +162,7 @@ import {
162
162
  withRuntimeProjectCommandRunnerCapabilities,
163
163
  withRuntimeTraceOptions,
164
164
  writeRuntimeCommandStdinPipeBytes
165
- } from "../chunk-GLWDM276.js";
165
+ } from "../chunk-B4XMQTD7.js";
166
166
  import {
167
167
  TraceKernelChildProcessError,
168
168
  TraceKernelControlledRuntime,
@@ -4,7 +4,7 @@ import {
4
4
  runtimeAbortSignalName,
5
5
  runtimeSignalExitCode,
6
6
  withRuntimeProjectCommandRunnerCapabilities
7
- } from "./chunk-GLWDM276.js";
7
+ } from "./chunk-B4XMQTD7.js";
8
8
  import "./chunk-756Z7C6D.js";
9
9
 
10
10
  // packages/runtime-java/src/java-project.ts
@@ -484,4 +484,4 @@ export {
484
484
  JAVA_PROJECT_CAPABILITIES,
485
485
  createJavaProjectRunner
486
486
  };
487
- //# sourceMappingURL=java-project-HKJVRSGW.js.map
487
+ //# sourceMappingURL=java-project-WQNHWOFV.js.map
package/dist/judge.cjs CHANGED
@@ -13074,7 +13074,7 @@ var init_runtime_language_info_data = __esm({
13074
13074
  "versionLabel": "Python 3.13.2",
13075
13075
  "executionPlatform": {
13076
13076
  "name": "TraceKernel",
13077
- "version": "0.16.7"
13077
+ "version": "0.16.8"
13078
13078
  },
13079
13079
  "description": "Python 3.13.2 runs in TraceKernel's isolated Python runtime.\n\nCommon algorithm helpers are imported automatically, including array, bisect, collections, functools, heapq, itertools. Other standard-library modules can be imported normally.\n\nOptional third-party packages are consumer-owned runtime assets and are available only when declared by the TraceKernel runtime manifest.",
13080
13080
  "runtime": {
@@ -13101,7 +13101,7 @@ var init_runtime_language_info_data = __esm({
13101
13101
  "versionLabel": "JavaScript (ECMAScript 2023)",
13102
13102
  "executionPlatform": {
13103
13103
  "name": "TraceKernel",
13104
- "version": "0.16.7"
13104
+ "version": "0.16.8"
13105
13105
  },
13106
13106
  "runtime": {
13107
13107
  "name": "TraceKernel JavaScript runtime",
@@ -13193,7 +13193,7 @@ Binary Search Tree, Trie, and Graph are bundled too, but are not exposed globall
13193
13193
  "versionLabel": "TypeScript 5.9.3",
13194
13194
  "executionPlatform": {
13195
13195
  "name": "TraceKernel",
13196
- "version": "0.16.7"
13196
+ "version": "0.16.8"
13197
13197
  },
13198
13198
  "description": `TypeScript 5.9.3 is compiled with the TypeScript compiler and executed by TraceKernel's JavaScript runtime.
13199
13199
 
@@ -13293,7 +13293,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
13293
13293
  "versionLabel": "Java 23",
13294
13294
  "executionPlatform": {
13295
13295
  "name": "TraceKernel",
13296
- "version": "0.16.7"
13296
+ "version": "0.16.8"
13297
13297
  },
13298
13298
  "description": "Java 23 is compiled with javac 23 and executed by the Java runtime on TraceKernel.\n\nCommon imports are added automatically: java.util.*, java.io.*, java.math.*, java.util.stream.*, javafx.util.Pair.",
13299
13299
  "runtime": {
@@ -13330,7 +13330,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
13330
13330
  "versionLabel": "C# 14",
13331
13331
  "executionPlatform": {
13332
13332
  "name": "TraceKernel",
13333
- "version": "0.16.7"
13333
+ "version": "0.16.8"
13334
13334
  },
13335
13335
  "description": "C# 14 source is compiled and executed by TraceKernel's isolated C# runtime.\n\nCommon namespaces are imported automatically: System, System.Collections, System.Collections.Generic, System.IO, System.Linq, System.Numerics, System.Text, System.Text.RegularExpressions.",
13336
13336
  "runtime": {
@@ -13359,7 +13359,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
13359
13359
  "versionLabel": "C++23",
13360
13360
  "executionPlatform": {
13361
13361
  "name": "TraceKernel",
13362
- "version": "0.16.7"
13362
+ "version": "0.16.8"
13363
13363
  },
13364
13364
  "description": "C++ source is compiled using the C++23 standard.\n\nSubmissions compile to WebAssembly and run in TraceKernel's WASI execution lane. The compiler currently uses -O0 and -fno-exceptions, with a fixed program stack size.\n\nCommon standard library headers are included automatically, including <algorithm>, <array>, <bitset>, <climits>, <cmath>, <cstdint>, <functional>, <limits>, <numeric>, <sstream>, <tuple>, <vector>, <unordered_map>, <unordered_set> and more.",
13365
13365
  "runtime": {
@@ -13524,7 +13524,7 @@ var init_runtime_open_source_info_data = __esm({
13524
13524
  {
13525
13525
  "kind": "modifications",
13526
13526
  "label": "Runtime modifications",
13527
- "url": "https://github.com/tracecodeapp/harness/tree/v0.16.7/workers/python/pyodide-0.29.3"
13527
+ "url": "https://github.com/tracecodeapp/harness/tree/v0.16.8/workers/python/pyodide-0.29.3"
13528
13528
  }
13529
13529
  ]
13530
13530
  }
@@ -15213,7 +15213,7 @@ var init_package = __esm({
15213
15213
  "package.json"() {
15214
15214
  package_default = {
15215
15215
  name: "@tracecode/harness",
15216
- version: "0.16.7",
15216
+ version: "0.16.8",
15217
15217
  license: "AGPL-3.0-only",
15218
15218
  homepage: "https://tracecode.app",
15219
15219
  repository: {
@@ -15292,6 +15292,7 @@ var init_package = __esm({
15292
15292
  "bench:traceclr-tiers:matrix": "pnpm build:traceclr-wire-probe && pnpm materialize:csharp-role-assets && for engine in chromium firefox webkit; do TRACECODE_TRACECLR_BROWSER_ENGINE=$engine node --import tsx scripts/benchmark-traceclr-runtime-tiers.ts || exit; done",
15293
15293
  "generate:runtime-open-source-info": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-runtime-open-source-info.ts",
15294
15294
  "generate:python-harness": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-python-harness-artifacts.ts",
15295
+ "build:python-runtime-snapshot": "node --import tsx scripts/build-python-runtime-snapshot.ts",
15295
15296
  "generate:runtime-assets-lock": "node --import tsx scripts/generate-runtime-assets-lock.mjs",
15296
15297
  "generate:typescript-project-libs": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-typescript-project-libs.ts",
15297
15298
  "generate:javascript-project-worker": "pnpm exec esbuild packages/runtime-javascript/src/project-browser-worker.ts --bundle --format=esm --platform=browser --target=es2022 --outfile=workers/javascript/javascript-project-worker.js && node scripts/normalize-generated-worker-paths.mjs workers/javascript/javascript-project-worker.js",
@@ -127858,11 +127859,18 @@ var PYTHON_RUNTIME_SNAPSHOTS = Object.freeze({
127858
127859
  "size": 20971936
127859
127860
  },
127860
127861
  "webkit": {
127861
- "integrity": "sha256-6/QwvAp6JAivTHNhA/unBxEFjg+eYKiQ1Q7S4dcHbvs=",
127862
+ "integrity": "sha256-X1nEztIYVKa7kt10+5WkTRZeNxFlo34Zs//cIpveIgc=",
127862
127863
  "size": 20971936
127863
127864
  }
127864
127865
  });
127865
127866
 
127867
+ // packages/runtime-python/src/python-runtime-image-contract.ts
127868
+ var PYTHON_RUNTIME_IMAGE_HASH_SEED = "0";
127869
+ var PYTHON_RUNTIME_IMAGE_HASH_PROBE = Object.freeze({
127870
+ source: "tracecode",
127871
+ value: -307991673
127872
+ });
127873
+
127866
127874
  // packages/runtime-python/src/python-runtime-assets.ts
127867
127875
  var IMMUTABLE_VERSIONED_DELIVERY = Object.freeze({
127868
127876
  mutability: "immutable",
@@ -127915,7 +127923,7 @@ function resolveBuiltInPythonRuntimeAssets(assets, engine) {
127915
127923
  // an existing image and would make restored interpreter state invalid.
127916
127924
  // Guest execution limits remain the denial-of-service boundary until a
127917
127925
  // future CPython/Wasm snapshot format can safely re-key after restore.
127918
- pythonHashSeed: "0",
127926
+ pythonHashSeed: PYTHON_RUNTIME_IMAGE_HASH_SEED,
127919
127927
  wasm: Object.freeze({
127920
127928
  url: `${runtimeBase}pyodide.asm.wasm`,
127921
127929
  integrity: PYTHON_RUNTIME_WASM.integrity,
package/dist/judge.js CHANGED
@@ -1,8 +1,8 @@
1
1
  var define = undefined;
2
2
  import {
3
3
  createCppBrowserRuntimeProvider
4
- } from "./chunk-KYRVBA6G.js";
5
- import "./chunk-EL32HALA.js";
4
+ } from "./chunk-DLRTNTVJ.js";
5
+ import "./chunk-32OZHBX6.js";
6
6
  import {
7
7
  normalizeTraceJVMRuntimeAssetBaseUrl,
8
8
  preflightBuiltInTraceJVMRuntimeAssets,
@@ -10,20 +10,20 @@ import {
10
10
  } from "./chunk-FYDQ4ZKL.js";
11
11
  import {
12
12
  CSharpWorkerClient
13
- } from "./chunk-ZX2AEA6Q.js";
13
+ } from "./chunk-BZNOMJSC.js";
14
14
  import {
15
15
  PYTHON_RUNTIME_IMAGE_PROTOCOL_VERSION,
16
16
  createBrowserProjectWorkspace,
17
17
  createBrowserRuntimeAssetPreflight,
18
18
  createBrowserRuntimeEnvironment,
19
19
  makeTraceKernelHost
20
- } from "./chunk-6FC562KX.js";
20
+ } from "./chunk-IRI2XDVR.js";
21
21
  import {
22
22
  resolveBuiltInTraceCCRuntimeManifest
23
23
  } from "./chunk-EJE2EJDI.js";
24
24
  import {
25
25
  PythonWorkerClient
26
- } from "./chunk-ERYCOWPS.js";
26
+ } from "./chunk-GQSM4APD.js";
27
27
  import {
28
28
  RUNTIME_TRACE_SCHEMA_VERSION,
29
29
  createEmptyRuntimeTrace,
@@ -32,7 +32,7 @@ import {
32
32
  liftCodeOutcome,
33
33
  liftTraceOutcome,
34
34
  runtimeWorkspaceActorPreset
35
- } from "./chunk-GLWDM276.js";
35
+ } from "./chunk-B4XMQTD7.js";
36
36
  import {
37
37
  TraceKernelControlledRuntime,
38
38
  TraceKernelSharedSyscallServer,
@@ -2157,11 +2157,18 @@ var PYTHON_RUNTIME_SNAPSHOTS = Object.freeze({
2157
2157
  "size": 20971936
2158
2158
  },
2159
2159
  "webkit": {
2160
- "integrity": "sha256-6/QwvAp6JAivTHNhA/unBxEFjg+eYKiQ1Q7S4dcHbvs=",
2160
+ "integrity": "sha256-X1nEztIYVKa7kt10+5WkTRZeNxFlo34Zs//cIpveIgc=",
2161
2161
  "size": 20971936
2162
2162
  }
2163
2163
  });
2164
2164
 
2165
+ // packages/runtime-python/src/python-runtime-image-contract.ts
2166
+ var PYTHON_RUNTIME_IMAGE_HASH_SEED = "0";
2167
+ var PYTHON_RUNTIME_IMAGE_HASH_PROBE = Object.freeze({
2168
+ source: "tracecode",
2169
+ value: -307991673
2170
+ });
2171
+
2165
2172
  // packages/runtime-python/src/python-runtime-assets.ts
2166
2173
  var IMMUTABLE_VERSIONED_DELIVERY = Object.freeze({
2167
2174
  mutability: "immutable",
@@ -2214,7 +2221,7 @@ function resolveBuiltInPythonRuntimeAssets(assets, engine) {
2214
2221
  // an existing image and would make restored interpreter state invalid.
2215
2222
  // Guest execution limits remain the denial-of-service boundary until a
2216
2223
  // future CPython/Wasm snapshot format can safely re-key after restore.
2217
- pythonHashSeed: "0",
2224
+ pythonHashSeed: PYTHON_RUNTIME_IMAGE_HASH_SEED,
2218
2225
  wasm: Object.freeze({
2219
2226
  url: `${runtimeBase}pyodide.asm.wasm`,
2220
2227
  integrity: PYTHON_RUNTIME_WASM.integrity,
@@ -53,7 +53,7 @@ import {
53
53
  runtimeKernelWriteFsErrorMessage,
54
54
  runtimeKernelWriteTarget,
55
55
  runtimeProjectInfrastructureFailure
56
- } from "./chunk-GLWDM276.js";
56
+ } from "./chunk-B4XMQTD7.js";
57
57
  import {
58
58
  decodeTraceKernelWatchEvent
59
59
  } from "./chunk-LTRAP6OY.js";
@@ -10865,4 +10865,4 @@ export {
10865
10865
  createBrowserTypeScriptProjectRunner,
10866
10866
  runBrowserJavaScriptProjectRequest
10867
10867
  };
10868
- //# sourceMappingURL=project-browser-VA4JO24R.js.map
10868
+ //# sourceMappingURL=project-browser-2OSJRVDB.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createRuntimeProjectIoBridge,
4
4
  runRuntimeProjectWorkerBridge,
5
5
  withRuntimeProjectCommandRunnerCapabilities
6
- } from "./chunk-GLWDM276.js";
6
+ } from "./chunk-B4XMQTD7.js";
7
7
  import "./chunk-756Z7C6D.js";
8
8
 
9
9
  // packages/runtime-java/src/project-browser.ts
@@ -77,4 +77,4 @@ function createBrowserJavaProjectRunner(workerClient, options = {}) {
77
77
  export {
78
78
  createBrowserJavaProjectRunner
79
79
  };
80
- //# sourceMappingURL=project-browser-OESLR46C.js.map
80
+ //# sourceMappingURL=project-browser-CWX4AY24.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createRuntimeProjectIoBridge,
4
4
  runRuntimeProjectWorkerBridge,
5
5
  withRuntimeProjectCommandRunnerCapabilities
6
- } from "./chunk-GLWDM276.js";
6
+ } from "./chunk-B4XMQTD7.js";
7
7
  import "./chunk-756Z7C6D.js";
8
8
 
9
9
  // packages/runtime-csharp/src/project-browser.ts
@@ -79,4 +79,4 @@ function createBrowserCSharpProjectRunner(workerClient, options = {}) {
79
79
  export {
80
80
  createBrowserCSharpProjectRunner
81
81
  };
82
- //# sourceMappingURL=project-browser-MVPRY3P4.js.map
82
+ //# sourceMappingURL=project-browser-JWQZTSDF.js.map
@@ -2,7 +2,7 @@ var define = undefined;
2
2
  import {
3
3
  runRuntimeProjectWorkerBridge,
4
4
  withRuntimeProjectCommandRunnerCapabilities
5
- } from "./chunk-GLWDM276.js";
5
+ } from "./chunk-B4XMQTD7.js";
6
6
  import "./chunk-756Z7C6D.js";
7
7
 
8
8
  // packages/runtime-cpp/src/project-browser.ts
@@ -32,4 +32,4 @@ function createBrowserCppProjectRunner(workerClient, options = {}) {
32
32
  export {
33
33
  createBrowserCppProjectRunner
34
34
  };
35
- //# sourceMappingURL=project-browser-UQPBIF52.js.map
35
+ //# sourceMappingURL=project-browser-OPSZJVFS.js.map
@@ -2,7 +2,7 @@ var define = undefined;
2
2
  import {
3
3
  runRuntimeProjectWorkerBridge,
4
4
  withRuntimeProjectCommandRunnerCapabilities
5
- } from "./chunk-GLWDM276.js";
5
+ } from "./chunk-B4XMQTD7.js";
6
6
  import "./chunk-756Z7C6D.js";
7
7
 
8
8
  // packages/runtime-python/src/project-browser.ts
@@ -35,4 +35,4 @@ function createBrowserPythonProjectRunner(workerClient, options = {}) {
35
35
  export {
36
36
  createBrowserPythonProjectRunner
37
37
  };
38
- //# sourceMappingURL=project-browser-YM4F7OYW.js.map
38
+ //# sourceMappingURL=project-browser-YF7EUUTQ.js.map
@@ -2,8 +2,8 @@ var define = undefined;
2
2
  import {
3
3
  PythonWorkerClient,
4
4
  isWorkerSupported
5
- } from "./chunk-ERYCOWPS.js";
6
- import "./chunk-GLWDM276.js";
5
+ } from "./chunk-GQSM4APD.js";
6
+ import "./chunk-B4XMQTD7.js";
7
7
  import "./chunk-5KH5ABPQ.js";
8
8
  import "./chunk-C2RUZCIL.js";
9
9
  import "./chunk-756Z7C6D.js";
@@ -11,4 +11,4 @@ export {
11
11
  PythonWorkerClient,
12
12
  isWorkerSupported
13
13
  };
14
- //# sourceMappingURL=python-worker-client-FD6RJKAT.js.map
14
+ //# sourceMappingURL=python-worker-client-ON4LFEJD.js.map
@@ -13521,7 +13521,7 @@ var init_package = __esm({
13521
13521
  "package.json"() {
13522
13522
  package_default = {
13523
13523
  name: "@tracecode/harness",
13524
- version: "0.16.7",
13524
+ version: "0.16.8",
13525
13525
  license: "AGPL-3.0-only",
13526
13526
  homepage: "https://tracecode.app",
13527
13527
  repository: {
@@ -13600,6 +13600,7 @@ var init_package = __esm({
13600
13600
  "bench:traceclr-tiers:matrix": "pnpm build:traceclr-wire-probe && pnpm materialize:csharp-role-assets && for engine in chromium firefox webkit; do TRACECODE_TRACECLR_BROWSER_ENGINE=$engine node --import tsx scripts/benchmark-traceclr-runtime-tiers.ts || exit; done",
13601
13601
  "generate:runtime-open-source-info": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-runtime-open-source-info.ts",
13602
13602
  "generate:python-harness": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-python-harness-artifacts.ts",
13603
+ "build:python-runtime-snapshot": "node --import tsx scripts/build-python-runtime-snapshot.ts",
13603
13604
  "generate:runtime-assets-lock": "node --import tsx scripts/generate-runtime-assets-lock.mjs",
13604
13605
  "generate:typescript-project-libs": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-typescript-project-libs.ts",
13605
13606
  "generate:javascript-project-worker": "pnpm exec esbuild packages/runtime-javascript/src/project-browser-worker.ts --bundle --format=esm --platform=browser --target=es2022 --outfile=workers/javascript/javascript-project-worker.js && node scripts/normalize-generated-worker-paths.mjs workers/javascript/javascript-project-worker.js",
@@ -13800,7 +13801,7 @@ var init_runtime_language_info_data = __esm({
13800
13801
  "versionLabel": "Python 3.13.2",
13801
13802
  "executionPlatform": {
13802
13803
  "name": "TraceKernel",
13803
- "version": "0.16.7"
13804
+ "version": "0.16.8"
13804
13805
  },
13805
13806
  "description": "Python 3.13.2 runs in TraceKernel's isolated Python runtime.\n\nCommon algorithm helpers are imported automatically, including array, bisect, collections, functools, heapq, itertools. Other standard-library modules can be imported normally.\n\nOptional third-party packages are consumer-owned runtime assets and are available only when declared by the TraceKernel runtime manifest.",
13806
13807
  "runtime": {
@@ -13827,7 +13828,7 @@ var init_runtime_language_info_data = __esm({
13827
13828
  "versionLabel": "JavaScript (ECMAScript 2023)",
13828
13829
  "executionPlatform": {
13829
13830
  "name": "TraceKernel",
13830
- "version": "0.16.7"
13831
+ "version": "0.16.8"
13831
13832
  },
13832
13833
  "runtime": {
13833
13834
  "name": "TraceKernel JavaScript runtime",
@@ -13919,7 +13920,7 @@ Binary Search Tree, Trie, and Graph are bundled too, but are not exposed globall
13919
13920
  "versionLabel": "TypeScript 5.9.3",
13920
13921
  "executionPlatform": {
13921
13922
  "name": "TraceKernel",
13922
- "version": "0.16.7"
13923
+ "version": "0.16.8"
13923
13924
  },
13924
13925
  "description": `TypeScript 5.9.3 is compiled with the TypeScript compiler and executed by TraceKernel's JavaScript runtime.
13925
13926
 
@@ -14019,7 +14020,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
14019
14020
  "versionLabel": "Java 23",
14020
14021
  "executionPlatform": {
14021
14022
  "name": "TraceKernel",
14022
- "version": "0.16.7"
14023
+ "version": "0.16.8"
14023
14024
  },
14024
14025
  "description": "Java 23 is compiled with javac 23 and executed by the Java runtime on TraceKernel.\n\nCommon imports are added automatically: java.util.*, java.io.*, java.math.*, java.util.stream.*, javafx.util.Pair.",
14025
14026
  "runtime": {
@@ -14056,7 +14057,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
14056
14057
  "versionLabel": "C# 14",
14057
14058
  "executionPlatform": {
14058
14059
  "name": "TraceKernel",
14059
- "version": "0.16.7"
14060
+ "version": "0.16.8"
14060
14061
  },
14061
14062
  "description": "C# 14 source is compiled and executed by TraceKernel's isolated C# runtime.\n\nCommon namespaces are imported automatically: System, System.Collections, System.Collections.Generic, System.IO, System.Linq, System.Numerics, System.Text, System.Text.RegularExpressions.",
14062
14063
  "runtime": {
@@ -14085,7 +14086,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
14085
14086
  "versionLabel": "C++23",
14086
14087
  "executionPlatform": {
14087
14088
  "name": "TraceKernel",
14088
- "version": "0.16.7"
14089
+ "version": "0.16.8"
14089
14090
  },
14090
14091
  "description": "C++ source is compiled using the C++23 standard.\n\nSubmissions compile to WebAssembly and run in TraceKernel's WASI execution lane. The compiler currently uses -O0 and -fno-exceptions, with a fixed program stack size.\n\nCommon standard library headers are included automatically, including <algorithm>, <array>, <bitset>, <climits>, <cmath>, <cstdint>, <functional>, <limits>, <numeric>, <sstream>, <tuple>, <vector>, <unordered_map>, <unordered_set> and more.",
14091
14092
  "runtime": {
@@ -14250,7 +14251,7 @@ var init_runtime_open_source_info_data = __esm({
14250
14251
  {
14251
14252
  "kind": "modifications",
14252
14253
  "label": "Runtime modifications",
14253
- "url": "https://github.com/tracecodeapp/harness/tree/v0.16.7/workers/python/pyodide-0.29.3"
14254
+ "url": "https://github.com/tracecodeapp/harness/tree/v0.16.8/workers/python/pyodide-0.29.3"
14254
14255
  }
14255
14256
  ]
14256
14257
  }
@@ -61,7 +61,7 @@ import {
61
61
  makeTraceKernelSharedSyscallChannel,
62
62
  resolveBrowserRuntimeAssetManifests,
63
63
  resolveBrowserRuntimeAssets
64
- } from "./chunk-6FC562KX.js";
64
+ } from "./chunk-IRI2XDVR.js";
65
65
  import {
66
66
  TRACECC_RUNTIME_ASSET_RELATIVE_PATH,
67
67
  TRACECC_RUNTIME_CONTENT_HASH,
@@ -72,7 +72,7 @@ import {
72
72
  } from "./chunk-EJE2EJDI.js";
73
73
  import {
74
74
  PythonWorkerClient
75
- } from "./chunk-ERYCOWPS.js";
75
+ } from "./chunk-GQSM4APD.js";
76
76
  import {
77
77
  LANGUAGE_RUNTIME_INFOS,
78
78
  LANGUAGE_RUNTIME_OPEN_SOURCE_INFOS,
@@ -236,7 +236,7 @@ import {
236
236
  withRuntimeProjectCommandRunnerCapabilities,
237
237
  withRuntimeTraceOptions,
238
238
  writeRuntimeCommandStdinPipeBytes
239
- } from "./chunk-GLWDM276.js";
239
+ } from "./chunk-B4XMQTD7.js";
240
240
  import {
241
241
  _await,
242
242
  bounded,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tracecode/harness",
3
- "version": "0.16.7",
3
+ "version": "0.16.8",
4
4
  "license": "AGPL-3.0-only",
5
5
  "homepage": "https://tracecode.app",
6
6
  "repository": {
@@ -65,8 +65,8 @@
65
65
  "tsup": "^8.5.0",
66
66
  "tsx": "^4.21.0",
67
67
  "typescript": "^5.0.0",
68
- "@tracecode/runtime-contracts": "^0.16.7",
69
- "@tracecode/tracekernel": "^0.16.7"
68
+ "@tracecode/runtime-contracts": "^0.16.8",
69
+ "@tracecode/tracekernel": "^0.16.8"
70
70
  },
71
71
  "dependencies": {
72
72
  "@datastructures-js/binary-search-tree": "5.4.0",
@@ -107,6 +107,7 @@
107
107
  "bench:traceclr-tiers:matrix": "pnpm build:traceclr-wire-probe && pnpm materialize:csharp-role-assets && for engine in chromium firefox webkit; do TRACECODE_TRACECLR_BROWSER_ENGINE=$engine node --import tsx scripts/benchmark-traceclr-runtime-tiers.ts || exit; done",
108
108
  "generate:runtime-open-source-info": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-runtime-open-source-info.ts",
109
109
  "generate:python-harness": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-python-harness-artifacts.ts",
110
+ "build:python-runtime-snapshot": "node --import tsx scripts/build-python-runtime-snapshot.ts",
110
111
  "generate:runtime-assets-lock": "node --import tsx scripts/generate-runtime-assets-lock.mjs",
111
112
  "generate:typescript-project-libs": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-typescript-project-libs.ts",
112
113
  "generate:javascript-project-worker": "pnpm exec esbuild packages/runtime-javascript/src/project-browser-worker.ts --bundle --format=esm --platform=browser --target=es2022 --outfile=workers/javascript/javascript-project-worker.js && node scripts/normalize-generated-worker-paths.mjs workers/javascript/javascript-project-worker.js",
@@ -2,12 +2,12 @@
2
2
  "schema": "tracecode.runtime-assets-lock.v1",
3
3
  "harness": {
4
4
  "name": "@tracecode/harness",
5
- "version": "0.16.7",
6
- "releaseId": "@tracecode/harness@0.16.7+sha256.cebbba0bbcd7b57102dcc49d825e507cd3153271308303a659551ad0b596ccc7"
5
+ "version": "0.16.8",
6
+ "releaseId": "@tracecode/harness@0.16.8+sha256.be3fadf5cfad3876034dea92d63582389e489360c820386d9d593533ab9ad622"
7
7
  },
8
8
  "treeSha256Algorithm": "sha256-path-nul-bytes-nul-v1",
9
- "packageTreeSha256": "cebbba0bbcd7b57102dcc49d825e507cd3153271308303a659551ad0b596ccc7",
10
- "totalPackagedRuntimeBytes": 151721849,
9
+ "packageTreeSha256": "be3fadf5cfad3876034dea92d63582389e489360c820386d9d593533ab9ad622",
10
+ "totalPackagedRuntimeBytes": 151723159,
11
11
  "components": {
12
12
  "cpp": {
13
13
  "releaseId": "cpp+sha256.9340d58c47a65abceff7fa7a783b57d01550d697013c2b50782aec77e6b19816",
@@ -1844,15 +1844,15 @@
1844
1844
  ]
1845
1845
  },
1846
1846
  "javascript": {
1847
- "releaseId": "javascript+sha256.fe615a05e50b54db86c546edefde77975ad4c52a5e17c91c31bc81cd2707e252",
1848
- "treeSha256": "fe615a05e50b54db86c546edefde77975ad4c52a5e17c91c31bc81cd2707e252",
1849
- "totalBytes": 1204569,
1847
+ "releaseId": "javascript+sha256.bbf6072a16c06b76610193c6c51f8235ab0ed9b09ce5db4d8569108f2c11b4a3",
1848
+ "treeSha256": "bbf6072a16c06b76610193c6c51f8235ab0ed9b09ce5db4d8569108f2c11b4a3",
1849
+ "totalBytes": 1204668,
1850
1850
  "files": [
1851
1851
  {
1852
1852
  "path": "workers/javascript/javascript-project-worker.js",
1853
- "size": 562771,
1854
- "sha256": "e0fde62145bbd56ff925b53570222fe5799bf51e4d21631e2dfb881537d5250c",
1855
- "integrity": "sha256-4P3mIUW71W/5JbU1cCIv5Xmb9R5NIWMeLfuIFTfVJQw=",
1853
+ "size": 562870,
1854
+ "sha256": "85581feb6e5728ca33b6d106b7df699b604c79c54825ed54b0d81f67a255e758",
1855
+ "integrity": "sha256-hVgf625XKMozttEGt99pm2BMecVIJe1UsNgfZ6JV51g=",
1856
1856
  "mediaType": "text/javascript"
1857
1857
  },
1858
1858
  {
@@ -1872,9 +1872,9 @@
1872
1872
  ]
1873
1873
  },
1874
1874
  "python": {
1875
- "releaseId": "python+sha256.03ea58bb2847423becc2062888653e6a3175a2903915c95fb0b7b82444a9678f",
1876
- "treeSha256": "03ea58bb2847423becc2062888653e6a3175a2903915c95fb0b7b82444a9678f",
1877
- "totalBytes": 75905209,
1875
+ "releaseId": "python+sha256.328174da2f8bc4de31176c735e064bb334391a2f906caad86b8d56f386ece09b",
1876
+ "treeSha256": "328174da2f8bc4de31176c735e064bb334391a2f906caad86b8d56f386ece09b",
1877
+ "totalBytes": 75906420,
1878
1878
  "files": [
1879
1879
  {
1880
1880
  "path": "workers/python/generated-python-harness-snippets.js",
@@ -1946,11 +1946,18 @@
1946
1946
  "integrity": "sha256-ozSkcg1128ksIGL0HrfKsqHNmBknSK0J9D/RulzOO6k=",
1947
1947
  "mediaType": "application/octet-stream"
1948
1948
  },
1949
+ {
1950
+ "path": "workers/python/pyodide-0.29.3/snapshots/provenance.json",
1951
+ "size": 1211,
1952
+ "sha256": "279f8756280cfb00fba7db7eb16ab1c89b32c5bdb8db96822ea9fc69f978d9db",
1953
+ "integrity": "sha256-J5+HVigM+wD7p9t+sWqxyJsyxb2425aCLqn8afl42ds=",
1954
+ "mediaType": "application/json"
1955
+ },
1949
1956
  {
1950
1957
  "path": "workers/python/pyodide-0.29.3/snapshots/webkit.bin",
1951
1958
  "size": 20971936,
1952
- "sha256": "ebf430bc0a7a2408af4c736103fba70711058e0f9e60a890d50ed2e1d7076efb",
1953
- "integrity": "sha256-6/QwvAp6JAivTHNhA/unBxEFjg+eYKiQ1Q7S4dcHbvs=",
1959
+ "sha256": "5f59c4ced21854a6bb92dd74fb95a44d165e371165a37e19b3ffdc229bde2207",
1960
+ "integrity": "sha256-X1nEztIYVKa7kt10+5WkTRZeNxFlo34Zs//cIpveIgc=",
1954
1961
  "mediaType": "application/octet-stream"
1955
1962
  },
1956
1963
  {
@@ -2029,6 +2036,7 @@
2029
2036
  "compatibility": {
2030
2037
  "python": {
2031
2038
  "runtimeDirectory": "pyodide-0.29.3",
2039
+ "hashSeed": "0",
2032
2040
  "native": {
2033
2041
  "schema": "tracecode-python-native-manifest-v1",
2034
2042
  "module": "_tracecode_native",
@@ -1621,7 +1621,7 @@ var TraceKernelRuntimeFileClient = class {
1621
1621
  // package.json
1622
1622
  var package_default = {
1623
1623
  name: "@tracecode/harness",
1624
- version: "0.16.7",
1624
+ version: "0.16.8",
1625
1625
  license: "AGPL-3.0-only",
1626
1626
  homepage: "https://tracecode.app",
1627
1627
  repository: {
@@ -1700,6 +1700,7 @@ var package_default = {
1700
1700
  "bench:traceclr-tiers:matrix": "pnpm build:traceclr-wire-probe && pnpm materialize:csharp-role-assets && for engine in chromium firefox webkit; do TRACECODE_TRACECLR_BROWSER_ENGINE=$engine node --import tsx scripts/benchmark-traceclr-runtime-tiers.ts || exit; done",
1701
1701
  "generate:runtime-open-source-info": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-runtime-open-source-info.ts",
1702
1702
  "generate:python-harness": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-python-harness-artifacts.ts",
1703
+ "build:python-runtime-snapshot": "node --import tsx scripts/build-python-runtime-snapshot.ts",
1703
1704
  "generate:runtime-assets-lock": "node --import tsx scripts/generate-runtime-assets-lock.mjs",
1704
1705
  "generate:typescript-project-libs": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-typescript-project-libs.ts",
1705
1706
  "generate:javascript-project-worker": "pnpm exec esbuild packages/runtime-javascript/src/project-browser-worker.ts --bundle --format=esm --platform=browser --target=es2022 --outfile=workers/javascript/javascript-project-worker.js && node scripts/normalize-generated-worker-paths.mjs workers/javascript/javascript-project-worker.js",
@@ -1887,7 +1888,7 @@ var LANGUAGE_RUNTIME_INFOS = Object.freeze(
1887
1888
  "versionLabel": "Python 3.13.2",
1888
1889
  "executionPlatform": {
1889
1890
  "name": "TraceKernel",
1890
- "version": "0.16.7"
1891
+ "version": "0.16.8"
1891
1892
  },
1892
1893
  "description": "Python 3.13.2 runs in TraceKernel's isolated Python runtime.\n\nCommon algorithm helpers are imported automatically, including array, bisect, collections, functools, heapq, itertools. Other standard-library modules can be imported normally.\n\nOptional third-party packages are consumer-owned runtime assets and are available only when declared by the TraceKernel runtime manifest.",
1893
1894
  "runtime": {
@@ -1914,7 +1915,7 @@ var LANGUAGE_RUNTIME_INFOS = Object.freeze(
1914
1915
  "versionLabel": "JavaScript (ECMAScript 2023)",
1915
1916
  "executionPlatform": {
1916
1917
  "name": "TraceKernel",
1917
- "version": "0.16.7"
1918
+ "version": "0.16.8"
1918
1919
  },
1919
1920
  "runtime": {
1920
1921
  "name": "TraceKernel JavaScript runtime",
@@ -2006,7 +2007,7 @@ Binary Search Tree, Trie, and Graph are bundled too, but are not exposed globall
2006
2007
  "versionLabel": "TypeScript 5.9.3",
2007
2008
  "executionPlatform": {
2008
2009
  "name": "TraceKernel",
2009
- "version": "0.16.7"
2010
+ "version": "0.16.8"
2010
2011
  },
2011
2012
  "description": `TypeScript 5.9.3 is compiled with the TypeScript compiler and executed by TraceKernel's JavaScript runtime.
2012
2013
 
@@ -2106,7 +2107,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
2106
2107
  "versionLabel": "Java 23",
2107
2108
  "executionPlatform": {
2108
2109
  "name": "TraceKernel",
2109
- "version": "0.16.7"
2110
+ "version": "0.16.8"
2110
2111
  },
2111
2112
  "description": "Java 23 is compiled with javac 23 and executed by the Java runtime on TraceKernel.\n\nCommon imports are added automatically: java.util.*, java.io.*, java.math.*, java.util.stream.*, javafx.util.Pair.",
2112
2113
  "runtime": {
@@ -2143,7 +2144,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
2143
2144
  "versionLabel": "C# 14",
2144
2145
  "executionPlatform": {
2145
2146
  "name": "TraceKernel",
2146
- "version": "0.16.7"
2147
+ "version": "0.16.8"
2147
2148
  },
2148
2149
  "description": "C# 14 source is compiled and executed by TraceKernel's isolated C# runtime.\n\nCommon namespaces are imported automatically: System, System.Collections, System.Collections.Generic, System.IO, System.Linq, System.Numerics, System.Text, System.Text.RegularExpressions.",
2149
2150
  "runtime": {
@@ -2172,7 +2173,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
2172
2173
  "versionLabel": "C++23",
2173
2174
  "executionPlatform": {
2174
2175
  "name": "TraceKernel",
2175
- "version": "0.16.7"
2176
+ "version": "0.16.8"
2176
2177
  },
2177
2178
  "description": "C++ source is compiled using the C++23 standard.\n\nSubmissions compile to WebAssembly and run in TraceKernel's WASI execution lane. The compiler currently uses -O0 and -fno-exceptions, with a fixed program stack size.\n\nCommon standard library headers are included automatically, including <algorithm>, <array>, <bitset>, <climits>, <cmath>, <cstdint>, <functional>, <limits>, <numeric>, <sstream>, <tuple>, <vector>, <unordered_map>, <unordered_set> and more.",
2178
2179
  "runtime": {
@@ -0,0 +1,36 @@
1
+ {
2
+ "schema": "tracecode.python-runtime-snapshot-provenance.v1",
3
+ "pyodideVersion": "0.29.3",
4
+ "snapshots": {
5
+ "chromium": {
6
+ "builtAt": null,
7
+ "bytes": 20971936,
8
+ "engine": "chromium",
9
+ "provenance": "legacy-unrecorded",
10
+ "pythonHashSeed": "0",
11
+ "runner": "legacy-unrecorded",
12
+ "sha256": "f6e5a59006c18656d10b591681fe6bd009b7d1385ec395a3b0080d333bbb8151",
13
+ "userAgent": null
14
+ },
15
+ "firefox": {
16
+ "builtAt": null,
17
+ "bytes": 20971936,
18
+ "engine": "firefox",
19
+ "provenance": "legacy-unrecorded",
20
+ "pythonHashSeed": "0",
21
+ "runner": "legacy-unrecorded",
22
+ "sha256": "a334a4720d75dbc92c2062f41eb7cab2a1cd98192748ad09f43fd1ba5cce3ba9",
23
+ "userAgent": null
24
+ },
25
+ "webkit": {
26
+ "builtAt": "2026-08-23T18:31:40.932Z",
27
+ "bytes": 20971936,
28
+ "engine": "webkit",
29
+ "provenance": "built-and-verified",
30
+ "pythonHashSeed": "0",
31
+ "runner": "ios-simulator",
32
+ "sha256": "5f59c4ced21854a6bb92dd74fb95a44d165e371165a37e19b3ffdc229bde2207",
33
+ "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 18_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.5 Mobile/15E148 Safari/604.1"
34
+ }
35
+ }
36
+ }