@tracecode/harness 0.16.3 → 0.16.4

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 (29) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{browser-runtime-provider-C53ZJH3D.js → browser-runtime-provider-OGJQLGXU.js} +4 -4
  3. package/dist/{chunk-TXDHVV6B.js → chunk-5RT5IT4I.js} +12 -12
  4. package/dist/{chunk-6SWX35P2.js → chunk-6LE4KEMZ.js} +2 -2
  5. package/dist/{chunk-DI7WIHES.js → chunk-AAKNIYV6.js} +2 -2
  6. package/dist/{chunk-53ROKKGU.js → chunk-M7SNEZDR.js} +2 -2
  7. package/dist/{chunk-YID2AAYD.js → chunk-RCOPAMVR.js} +10 -2
  8. package/dist/{chunk-BXUGUGWL.js → chunk-Y72C46GE.js} +9 -9
  9. package/dist/cli.js +0 -0
  10. package/dist/core.cjs +8 -8
  11. package/dist/core.js +1 -1
  12. package/dist/{cpp-worker-client-FLJ2YLSW.js → cpp-worker-client-HV7RO2P5.js} +3 -3
  13. package/dist/{csharp-worker-client-S4U6MCVF.js → csharp-worker-client-ARGMOB3M.js} +3 -3
  14. package/dist/internal/tracekernel-workspace.cjs +8 -8
  15. package/dist/internal/tracekernel-workspace.js +1 -1
  16. package/dist/{java-project-GK6MHT3I.js → java-project-JB5TUIFU.js} +2 -2
  17. package/dist/judge.cjs +16 -8
  18. package/dist/judge.js +6 -6
  19. package/dist/{project-browser-3I5FVB5N.js → project-browser-3S2FWEAP.js} +2 -2
  20. package/dist/{project-browser-ADXGG5RZ.js → project-browser-HCQCXAYC.js} +2 -2
  21. package/dist/{project-browser-JXJ74RDZ.js → project-browser-QN7YOJQQ.js} +2 -2
  22. package/dist/{project-browser-B5T7WJWP.js → project-browser-S4KLCZV7.js} +2 -2
  23. package/dist/{project-browser-TDL4LMJJ.js → project-browser-WDUWUGLZ.js} +2 -2
  24. package/dist/{python-worker-client-2RF6IYIN.js → python-worker-client-EX6Q2W4L.js} +3 -3
  25. package/dist/tracekernel.cjs +16 -8
  26. package/dist/tracekernel.js +3 -3
  27. package/package.json +32 -44
  28. package/runtime-assets.lock.json +7 -7
  29. package/workers/javascript/javascript-project-worker.js +7 -7
package/CHANGELOG.md CHANGED
@@ -6,6 +6,14 @@ This repo uses Git tags as release boundaries. Version notes below summarize wha
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.16.4] - 2026-08-11
10
+
11
+ ### Fixed
12
+
13
+ - Reset the trusted TraceCC compiler authority when its Worker retires after
14
+ an idle period, so the first C++ compile after waiting or system suspension
15
+ creates a fresh compiler instead of timing out once.
16
+
9
17
  ## [0.16.3] - 2026-08-11
10
18
 
11
19
  ### Fixed
@@ -2,9 +2,9 @@ var define = undefined;
2
2
  import {
3
3
  createCppBrowserRuntimeProvider,
4
4
  createTraceCCBrowserCompilerService
5
- } from "./chunk-YID2AAYD.js";
6
- import "./chunk-DI7WIHES.js";
7
- import "./chunk-BXUGUGWL.js";
5
+ } from "./chunk-RCOPAMVR.js";
6
+ import "./chunk-AAKNIYV6.js";
7
+ import "./chunk-Y72C46GE.js";
8
8
  import "./chunk-DTLDQQHA.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-C53ZJH3D.js.map
15
+ //# sourceMappingURL=browser-runtime-provider-OGJQLGXU.js.map
@@ -1,7 +1,7 @@
1
1
  var define = undefined;
2
2
  import {
3
3
  normalizeRuntimeProjectPath
4
- } from "./chunk-BXUGUGWL.js";
4
+ } from "./chunk-Y72C46GE.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-B5T7WJWP.js"),
11516
- import("./python-worker-client-2RF6IYIN.js")
11515
+ import("./project-browser-S4KLCZV7.js"),
11516
+ import("./python-worker-client-EX6Q2W4L.js")
11517
11517
  ]) : void 0,
11518
- hasProvider("javascript") || hasProvider("typescript") ? import("./project-browser-JXJ74RDZ.js") : void 0,
11518
+ hasProvider("javascript") || hasProvider("typescript") ? import("./project-browser-QN7YOJQQ.js") : void 0,
11519
11519
  hasProvider("java") ? Promise.all([
11520
- import("./project-browser-TDL4LMJJ.js"),
11521
- import("./java-project-GK6MHT3I.js"),
11520
+ import("./project-browser-WDUWUGLZ.js"),
11521
+ import("./java-project-JB5TUIFU.js"),
11522
11522
  import("./java-project-client-PEQKFTH6.js")
11523
11523
  ]) : void 0,
11524
11524
  hasProvider("csharp") ? Promise.all([
11525
- import("./project-browser-ADXGG5RZ.js"),
11526
- import("./csharp-worker-client-S4U6MCVF.js")
11525
+ import("./project-browser-HCQCXAYC.js"),
11526
+ import("./csharp-worker-client-ARGMOB3M.js")
11527
11527
  ]) : void 0,
11528
11528
  hasProvider("cpp") ? Promise.all([
11529
- import("./project-browser-3I5FVB5N.js"),
11530
- import("./cpp-worker-client-FLJ2YLSW.js"),
11531
- import("./browser-runtime-provider-C53ZJH3D.js"),
11529
+ import("./project-browser-3S2FWEAP.js"),
11530
+ import("./cpp-worker-client-HV7RO2P5.js"),
11531
+ import("./browser-runtime-provider-OGJQLGXU.js"),
11532
11532
  import("./tracecc-runtime-assets-G3BFH7LY.js")
11533
11533
  ]) : void 0
11534
11534
  ]);
@@ -12181,4 +12181,4 @@ export {
12181
12181
  createBrowserProjectWorkspace,
12182
12182
  createBrowserRuntimeEnvironment
12183
12183
  };
12184
- //# sourceMappingURL=chunk-TXDHVV6B.js.map
12184
+ //# sourceMappingURL=chunk-5RT5IT4I.js.map
@@ -4,7 +4,7 @@ import {
4
4
  liftCodeBatchOutcome,
5
5
  liftTraceOutcome,
6
6
  withRuntimeTraceOptions
7
- } from "./chunk-BXUGUGWL.js";
7
+ } from "./chunk-Y72C46GE.js";
8
8
  import {
9
9
  HostArtifactCache,
10
10
  WorkerCrashedError,
@@ -638,4 +638,4 @@ var CSharpWorkerClient = class {
638
638
  export {
639
639
  CSharpWorkerClient
640
640
  };
641
- //# sourceMappingURL=chunk-6SWX35P2.js.map
641
+ //# sourceMappingURL=chunk-6LE4KEMZ.js.map
@@ -4,7 +4,7 @@ import {
4
4
  liftCodeBatchOutcome,
5
5
  liftCodeOutcome,
6
6
  liftTraceOutcome
7
- } from "./chunk-BXUGUGWL.js";
7
+ } from "./chunk-Y72C46GE.js";
8
8
  import {
9
9
  WorkerCrashedError,
10
10
  WorkerReadyTimeoutError,
@@ -1370,4 +1370,4 @@ var CppWorkerClient = class {
1370
1370
  export {
1371
1371
  CppWorkerClient
1372
1372
  };
1373
- //# sourceMappingURL=chunk-DI7WIHES.js.map
1373
+ //# sourceMappingURL=chunk-AAKNIYV6.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createEmptyRuntimeTrace,
4
4
  liftCodeBatchOutcome,
5
5
  liftCodeOutcome
6
- } from "./chunk-BXUGUGWL.js";
6
+ } from "./chunk-Y72C46GE.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-53ROKKGU.js.map
562
+ //# sourceMappingURL=chunk-M7SNEZDR.js.map
@@ -1,7 +1,7 @@
1
1
  var define = undefined;
2
2
  import {
3
3
  CppWorkerClient
4
- } from "./chunk-DI7WIHES.js";
4
+ } from "./chunk-AAKNIYV6.js";
5
5
  import {
6
6
  createWorkerProtocolToken
7
7
  } from "./chunk-DTLDQQHA.js";
@@ -612,6 +612,14 @@ var TraceCCCompilerService = class {
612
612
  }, this.requestTimeoutMs);
613
613
  worker.onmessage = (event) => {
614
614
  const message = event.data;
615
+ if (message.type === "idle-timeout") {
616
+ if (generation === this.generation) {
617
+ this.reset(
618
+ new Error("TraceCC compiler Worker closed after idle timeout.")
619
+ );
620
+ }
621
+ return;
622
+ }
615
623
  if (message.type === "worker-ready") {
616
624
  globalThis.clearTimeout(readyTimeout);
617
625
  resolve();
@@ -862,4 +870,4 @@ export {
862
870
  createTraceCCBrowserCompilerService,
863
871
  createCppBrowserRuntimeProvider
864
872
  };
865
- //# sourceMappingURL=chunk-YID2AAYD.js.map
873
+ //# sourceMappingURL=chunk-RCOPAMVR.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.3",
6
+ version: "0.16.4",
7
7
  license: "AGPL-3.0-only",
8
8
  homepage: "https://tracecode.app",
9
9
  repository: {
@@ -260,7 +260,7 @@ var LANGUAGE_RUNTIME_INFOS = Object.freeze(
260
260
  "versionLabel": "Python 3.13.2",
261
261
  "executionPlatform": {
262
262
  "name": "TraceKernel",
263
- "version": "0.16.3"
263
+ "version": "0.16.4"
264
264
  },
265
265
  "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.",
266
266
  "runtime": {
@@ -287,7 +287,7 @@ var LANGUAGE_RUNTIME_INFOS = Object.freeze(
287
287
  "versionLabel": "JavaScript (ECMAScript 2023)",
288
288
  "executionPlatform": {
289
289
  "name": "TraceKernel",
290
- "version": "0.16.3"
290
+ "version": "0.16.4"
291
291
  },
292
292
  "runtime": {
293
293
  "name": "TraceKernel JavaScript runtime",
@@ -379,7 +379,7 @@ Binary Search Tree, Trie, and Graph are bundled too, but are not exposed globall
379
379
  "versionLabel": "TypeScript 5.9.3",
380
380
  "executionPlatform": {
381
381
  "name": "TraceKernel",
382
- "version": "0.16.3"
382
+ "version": "0.16.4"
383
383
  },
384
384
  "description": `TypeScript 5.9.3 is compiled with the TypeScript compiler and executed by TraceKernel's JavaScript runtime.
385
385
 
@@ -479,7 +479,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
479
479
  "versionLabel": "Java 23",
480
480
  "executionPlatform": {
481
481
  "name": "TraceKernel",
482
- "version": "0.16.3"
482
+ "version": "0.16.4"
483
483
  },
484
484
  "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.",
485
485
  "runtime": {
@@ -516,7 +516,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
516
516
  "versionLabel": "C# 14",
517
517
  "executionPlatform": {
518
518
  "name": "TraceKernel",
519
- "version": "0.16.3"
519
+ "version": "0.16.4"
520
520
  },
521
521
  "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.",
522
522
  "runtime": {
@@ -545,7 +545,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
545
545
  "versionLabel": "C++23",
546
546
  "executionPlatform": {
547
547
  "name": "TraceKernel",
548
- "version": "0.16.3"
548
+ "version": "0.16.4"
549
549
  },
550
550
  "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.",
551
551
  "runtime": {
@@ -697,7 +697,7 @@ var LANGUAGE_RUNTIME_OPEN_SOURCE_INFOS = Object.freeze(
697
697
  {
698
698
  "kind": "modifications",
699
699
  "label": "Runtime modifications",
700
- "url": "https://github.com/tracecodeapp/harness/tree/v0.16.3/workers/python/pyodide-0.29.3"
700
+ "url": "https://github.com/tracecodeapp/harness/tree/v0.16.4/workers/python/pyodide-0.29.3"
701
701
  }
702
702
  ]
703
703
  }
@@ -4424,4 +4424,4 @@ export {
4424
4424
  normalizeJavaSerializedResult,
4425
4425
  javaTraceHooksEventsToRuntimeTrace
4426
4426
  };
4427
- //# sourceMappingURL=chunk-BXUGUGWL.js.map
4427
+ //# sourceMappingURL=chunk-Y72C46GE.js.map
package/dist/cli.js CHANGED
File without changes
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.3",
192
+ version: "0.16.4",
193
193
  license: "AGPL-3.0-only",
194
194
  homepage: "https://tracecode.app",
195
195
  repository: {
@@ -446,7 +446,7 @@ var LANGUAGE_RUNTIME_INFOS = Object.freeze(
446
446
  "versionLabel": "Python 3.13.2",
447
447
  "executionPlatform": {
448
448
  "name": "TraceKernel",
449
- "version": "0.16.3"
449
+ "version": "0.16.4"
450
450
  },
451
451
  "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.",
452
452
  "runtime": {
@@ -473,7 +473,7 @@ var LANGUAGE_RUNTIME_INFOS = Object.freeze(
473
473
  "versionLabel": "JavaScript (ECMAScript 2023)",
474
474
  "executionPlatform": {
475
475
  "name": "TraceKernel",
476
- "version": "0.16.3"
476
+ "version": "0.16.4"
477
477
  },
478
478
  "runtime": {
479
479
  "name": "TraceKernel JavaScript runtime",
@@ -565,7 +565,7 @@ Binary Search Tree, Trie, and Graph are bundled too, but are not exposed globall
565
565
  "versionLabel": "TypeScript 5.9.3",
566
566
  "executionPlatform": {
567
567
  "name": "TraceKernel",
568
- "version": "0.16.3"
568
+ "version": "0.16.4"
569
569
  },
570
570
  "description": `TypeScript 5.9.3 is compiled with the TypeScript compiler and executed by TraceKernel's JavaScript runtime.
571
571
 
@@ -665,7 +665,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
665
665
  "versionLabel": "Java 23",
666
666
  "executionPlatform": {
667
667
  "name": "TraceKernel",
668
- "version": "0.16.3"
668
+ "version": "0.16.4"
669
669
  },
670
670
  "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.",
671
671
  "runtime": {
@@ -702,7 +702,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
702
702
  "versionLabel": "C# 14",
703
703
  "executionPlatform": {
704
704
  "name": "TraceKernel",
705
- "version": "0.16.3"
705
+ "version": "0.16.4"
706
706
  },
707
707
  "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.",
708
708
  "runtime": {
@@ -731,7 +731,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
731
731
  "versionLabel": "C++23",
732
732
  "executionPlatform": {
733
733
  "name": "TraceKernel",
734
- "version": "0.16.3"
734
+ "version": "0.16.4"
735
735
  },
736
736
  "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.",
737
737
  "runtime": {
@@ -883,7 +883,7 @@ var LANGUAGE_RUNTIME_OPEN_SOURCE_INFOS = Object.freeze(
883
883
  {
884
884
  "kind": "modifications",
885
885
  "label": "Runtime modifications",
886
- "url": "https://github.com/tracecodeapp/harness/tree/v0.16.3/workers/python/pyodide-0.29.3"
886
+ "url": "https://github.com/tracecodeapp/harness/tree/v0.16.4/workers/python/pyodide-0.29.3"
887
887
  }
888
888
  ]
889
889
  }
package/dist/core.js CHANGED
@@ -162,7 +162,7 @@ import {
162
162
  withRuntimeProjectCommandRunnerCapabilities,
163
163
  withRuntimeTraceOptions,
164
164
  writeRuntimeCommandStdinPipeBytes
165
- } from "./chunk-BXUGUGWL.js";
165
+ } from "./chunk-Y72C46GE.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-DI7WIHES.js";
5
- import "./chunk-BXUGUGWL.js";
4
+ } from "./chunk-AAKNIYV6.js";
5
+ import "./chunk-Y72C46GE.js";
6
6
  import "./chunk-DTLDQQHA.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-FLJ2YLSW.js.map
12
+ //# sourceMappingURL=cpp-worker-client-HV7RO2P5.js.map
@@ -1,12 +1,12 @@
1
1
  var define = undefined;
2
2
  import {
3
3
  CSharpWorkerClient
4
- } from "./chunk-6SWX35P2.js";
5
- import "./chunk-BXUGUGWL.js";
4
+ } from "./chunk-6LE4KEMZ.js";
5
+ import "./chunk-Y72C46GE.js";
6
6
  import "./chunk-DTLDQQHA.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-S4U6MCVF.js.map
12
+ //# sourceMappingURL=csharp-worker-client-ARGMOB3M.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.3",
17084
+ version: "0.16.4",
17085
17085
  license: "AGPL-3.0-only",
17086
17086
  homepage: "https://tracecode.app",
17087
17087
  repository: {
@@ -17338,7 +17338,7 @@ var LANGUAGE_RUNTIME_INFOS = Object.freeze(
17338
17338
  "versionLabel": "Python 3.13.2",
17339
17339
  "executionPlatform": {
17340
17340
  "name": "TraceKernel",
17341
- "version": "0.16.3"
17341
+ "version": "0.16.4"
17342
17342
  },
17343
17343
  "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.",
17344
17344
  "runtime": {
@@ -17365,7 +17365,7 @@ var LANGUAGE_RUNTIME_INFOS = Object.freeze(
17365
17365
  "versionLabel": "JavaScript (ECMAScript 2023)",
17366
17366
  "executionPlatform": {
17367
17367
  "name": "TraceKernel",
17368
- "version": "0.16.3"
17368
+ "version": "0.16.4"
17369
17369
  },
17370
17370
  "runtime": {
17371
17371
  "name": "TraceKernel JavaScript runtime",
@@ -17457,7 +17457,7 @@ Binary Search Tree, Trie, and Graph are bundled too, but are not exposed globall
17457
17457
  "versionLabel": "TypeScript 5.9.3",
17458
17458
  "executionPlatform": {
17459
17459
  "name": "TraceKernel",
17460
- "version": "0.16.3"
17460
+ "version": "0.16.4"
17461
17461
  },
17462
17462
  "description": `TypeScript 5.9.3 is compiled with the TypeScript compiler and executed by TraceKernel's JavaScript runtime.
17463
17463
 
@@ -17557,7 +17557,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
17557
17557
  "versionLabel": "Java 23",
17558
17558
  "executionPlatform": {
17559
17559
  "name": "TraceKernel",
17560
- "version": "0.16.3"
17560
+ "version": "0.16.4"
17561
17561
  },
17562
17562
  "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.",
17563
17563
  "runtime": {
@@ -17594,7 +17594,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
17594
17594
  "versionLabel": "C# 14",
17595
17595
  "executionPlatform": {
17596
17596
  "name": "TraceKernel",
17597
- "version": "0.16.3"
17597
+ "version": "0.16.4"
17598
17598
  },
17599
17599
  "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.",
17600
17600
  "runtime": {
@@ -17623,7 +17623,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
17623
17623
  "versionLabel": "C++23",
17624
17624
  "executionPlatform": {
17625
17625
  "name": "TraceKernel",
17626
- "version": "0.16.3"
17626
+ "version": "0.16.4"
17627
17627
  },
17628
17628
  "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.",
17629
17629
  "runtime": {
@@ -17775,7 +17775,7 @@ var LANGUAGE_RUNTIME_OPEN_SOURCE_INFOS = Object.freeze(
17775
17775
  {
17776
17776
  "kind": "modifications",
17777
17777
  "label": "Runtime modifications",
17778
- "url": "https://github.com/tracecodeapp/harness/tree/v0.16.3/workers/python/pyodide-0.29.3"
17778
+ "url": "https://github.com/tracecodeapp/harness/tree/v0.16.4/workers/python/pyodide-0.29.3"
17779
17779
  }
17780
17780
  ]
17781
17781
  }
@@ -162,7 +162,7 @@ import {
162
162
  withRuntimeProjectCommandRunnerCapabilities,
163
163
  withRuntimeTraceOptions,
164
164
  writeRuntimeCommandStdinPipeBytes
165
- } from "../chunk-BXUGUGWL.js";
165
+ } from "../chunk-Y72C46GE.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-BXUGUGWL.js";
7
+ } from "./chunk-Y72C46GE.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-GK6MHT3I.js.map
487
+ //# sourceMappingURL=java-project-JB5TUIFU.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.3"
13077
+ "version": "0.16.4"
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.3"
13104
+ "version": "0.16.4"
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.3"
13196
+ "version": "0.16.4"
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.3"
13296
+ "version": "0.16.4"
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.3"
13333
+ "version": "0.16.4"
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.3"
13362
+ "version": "0.16.4"
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.3/workers/python/pyodide-0.29.3"
13527
+ "url": "https://github.com/tracecodeapp/harness/tree/v0.16.4/workers/python/pyodide-0.29.3"
13528
13528
  }
13529
13529
  ]
13530
13530
  }
@@ -15138,7 +15138,7 @@ var init_package = __esm({
15138
15138
  "package.json"() {
15139
15139
  package_default = {
15140
15140
  name: "@tracecode/harness",
15141
- version: "0.16.3",
15141
+ version: "0.16.4",
15142
15142
  license: "AGPL-3.0-only",
15143
15143
  homepage: "https://tracecode.app",
15144
15144
  repository: {
@@ -31870,6 +31870,14 @@ var init_tracecc_compiler_service = __esm({
31870
31870
  }, this.requestTimeoutMs);
31871
31871
  worker.onmessage = (event) => {
31872
31872
  const message = event.data;
31873
+ if (message.type === "idle-timeout") {
31874
+ if (generation === this.generation) {
31875
+ this.reset(
31876
+ new Error("TraceCC compiler Worker closed after idle timeout.")
31877
+ );
31878
+ }
31879
+ return;
31880
+ }
31873
31881
  if (message.type === "worker-ready") {
31874
31882
  globalThis.clearTimeout(readyTimeout);
31875
31883
  resolve();
package/dist/judge.js CHANGED
@@ -1,8 +1,8 @@
1
1
  var define = undefined;
2
2
  import {
3
3
  createCppBrowserRuntimeProvider
4
- } from "./chunk-YID2AAYD.js";
5
- import "./chunk-DI7WIHES.js";
4
+ } from "./chunk-RCOPAMVR.js";
5
+ import "./chunk-AAKNIYV6.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-6SWX35P2.js";
13
+ } from "./chunk-6LE4KEMZ.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-TXDHVV6B.js";
20
+ } from "./chunk-5RT5IT4I.js";
21
21
  import {
22
22
  resolveBuiltInTraceCCRuntimeManifest
23
23
  } from "./chunk-EJE2EJDI.js";
24
24
  import {
25
25
  PythonWorkerClient
26
- } from "./chunk-53ROKKGU.js";
26
+ } from "./chunk-M7SNEZDR.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-BXUGUGWL.js";
35
+ } from "./chunk-Y72C46GE.js";
36
36
  import {
37
37
  TraceKernelControlledRuntime,
38
38
  TraceKernelSharedSyscallServer,
@@ -2,7 +2,7 @@ var define = undefined;
2
2
  import {
3
3
  runRuntimeProjectWorkerBridge,
4
4
  withRuntimeProjectCommandRunnerCapabilities
5
- } from "./chunk-BXUGUGWL.js";
5
+ } from "./chunk-Y72C46GE.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-3I5FVB5N.js.map
35
+ //# sourceMappingURL=project-browser-3S2FWEAP.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createRuntimeProjectIoBridge,
4
4
  runRuntimeProjectWorkerBridge,
5
5
  withRuntimeProjectCommandRunnerCapabilities
6
- } from "./chunk-BXUGUGWL.js";
6
+ } from "./chunk-Y72C46GE.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-ADXGG5RZ.js.map
82
+ //# sourceMappingURL=project-browser-HCQCXAYC.js.map
@@ -53,7 +53,7 @@ import {
53
53
  runtimeKernelWriteFsErrorMessage,
54
54
  runtimeKernelWriteTarget,
55
55
  runtimeProjectInfrastructureFailure
56
- } from "./chunk-BXUGUGWL.js";
56
+ } from "./chunk-Y72C46GE.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-JXJ74RDZ.js.map
10868
+ //# sourceMappingURL=project-browser-QN7YOJQQ.js.map
@@ -2,7 +2,7 @@ var define = undefined;
2
2
  import {
3
3
  runRuntimeProjectWorkerBridge,
4
4
  withRuntimeProjectCommandRunnerCapabilities
5
- } from "./chunk-BXUGUGWL.js";
5
+ } from "./chunk-Y72C46GE.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-B5T7WJWP.js.map
38
+ //# sourceMappingURL=project-browser-S4KLCZV7.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createRuntimeProjectIoBridge,
4
4
  runRuntimeProjectWorkerBridge,
5
5
  withRuntimeProjectCommandRunnerCapabilities
6
- } from "./chunk-BXUGUGWL.js";
6
+ } from "./chunk-Y72C46GE.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-TDL4LMJJ.js.map
80
+ //# sourceMappingURL=project-browser-WDUWUGLZ.js.map
@@ -2,8 +2,8 @@ var define = undefined;
2
2
  import {
3
3
  PythonWorkerClient,
4
4
  isWorkerSupported
5
- } from "./chunk-53ROKKGU.js";
6
- import "./chunk-BXUGUGWL.js";
5
+ } from "./chunk-M7SNEZDR.js";
6
+ import "./chunk-Y72C46GE.js";
7
7
  import "./chunk-DTLDQQHA.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-2RF6IYIN.js.map
14
+ //# sourceMappingURL=python-worker-client-EX6Q2W4L.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.3",
13524
+ version: "0.16.4",
13525
13525
  license: "AGPL-3.0-only",
13526
13526
  homepage: "https://tracecode.app",
13527
13527
  repository: {
@@ -13791,7 +13791,7 @@ var init_runtime_language_info_data = __esm({
13791
13791
  "versionLabel": "Python 3.13.2",
13792
13792
  "executionPlatform": {
13793
13793
  "name": "TraceKernel",
13794
- "version": "0.16.3"
13794
+ "version": "0.16.4"
13795
13795
  },
13796
13796
  "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.",
13797
13797
  "runtime": {
@@ -13818,7 +13818,7 @@ var init_runtime_language_info_data = __esm({
13818
13818
  "versionLabel": "JavaScript (ECMAScript 2023)",
13819
13819
  "executionPlatform": {
13820
13820
  "name": "TraceKernel",
13821
- "version": "0.16.3"
13821
+ "version": "0.16.4"
13822
13822
  },
13823
13823
  "runtime": {
13824
13824
  "name": "TraceKernel JavaScript runtime",
@@ -13910,7 +13910,7 @@ Binary Search Tree, Trie, and Graph are bundled too, but are not exposed globall
13910
13910
  "versionLabel": "TypeScript 5.9.3",
13911
13911
  "executionPlatform": {
13912
13912
  "name": "TraceKernel",
13913
- "version": "0.16.3"
13913
+ "version": "0.16.4"
13914
13914
  },
13915
13915
  "description": `TypeScript 5.9.3 is compiled with the TypeScript compiler and executed by TraceKernel's JavaScript runtime.
13916
13916
 
@@ -14010,7 +14010,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
14010
14010
  "versionLabel": "Java 23",
14011
14011
  "executionPlatform": {
14012
14012
  "name": "TraceKernel",
14013
- "version": "0.16.3"
14013
+ "version": "0.16.4"
14014
14014
  },
14015
14015
  "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.",
14016
14016
  "runtime": {
@@ -14047,7 +14047,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
14047
14047
  "versionLabel": "C# 14",
14048
14048
  "executionPlatform": {
14049
14049
  "name": "TraceKernel",
14050
- "version": "0.16.3"
14050
+ "version": "0.16.4"
14051
14051
  },
14052
14052
  "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.",
14053
14053
  "runtime": {
@@ -14076,7 +14076,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
14076
14076
  "versionLabel": "C++23",
14077
14077
  "executionPlatform": {
14078
14078
  "name": "TraceKernel",
14079
- "version": "0.16.3"
14079
+ "version": "0.16.4"
14080
14080
  },
14081
14081
  "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.",
14082
14082
  "runtime": {
@@ -14241,7 +14241,7 @@ var init_runtime_open_source_info_data = __esm({
14241
14241
  {
14242
14242
  "kind": "modifications",
14243
14243
  "label": "Runtime modifications",
14244
- "url": "https://github.com/tracecodeapp/harness/tree/v0.16.3/workers/python/pyodide-0.29.3"
14244
+ "url": "https://github.com/tracecodeapp/harness/tree/v0.16.4/workers/python/pyodide-0.29.3"
14245
14245
  }
14246
14246
  ]
14247
14247
  }
@@ -123519,6 +123519,14 @@ var init_tracecc_compiler_service = __esm({
123519
123519
  }, this.requestTimeoutMs);
123520
123520
  worker.onmessage = (event) => {
123521
123521
  const message = event.data;
123522
+ if (message.type === "idle-timeout") {
123523
+ if (generation === this.generation) {
123524
+ this.reset(
123525
+ new Error("TraceCC compiler Worker closed after idle timeout.")
123526
+ );
123527
+ }
123528
+ return;
123529
+ }
123522
123530
  if (message.type === "worker-ready") {
123523
123531
  globalThis.clearTimeout(readyTimeout);
123524
123532
  resolve();
@@ -61,7 +61,7 @@ import {
61
61
  makeTraceKernelSharedSyscallChannel,
62
62
  resolveBrowserRuntimeAssetManifests,
63
63
  resolveBrowserRuntimeAssets
64
- } from "./chunk-TXDHVV6B.js";
64
+ } from "./chunk-5RT5IT4I.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-53ROKKGU.js";
75
+ } from "./chunk-M7SNEZDR.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-BXUGUGWL.js";
239
+ } from "./chunk-Y72C46GE.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.3",
3
+ "version": "0.16.4",
4
4
  "license": "AGPL-3.0-only",
5
5
  "homepage": "https://tracecode.app",
6
6
  "repository": {
@@ -10,7 +10,6 @@
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },
13
- "packageManager": "pnpm@10.4.1",
14
13
  "type": "module",
15
14
  "files": [
16
15
  "dist",
@@ -57,8 +56,37 @@
57
56
  },
58
57
  "./package.json": "./package.json"
59
58
  },
59
+ "devDependencies": {
60
+ "@types/node": "^20.0.0",
61
+ "esbuild": "0.27.3",
62
+ "just-bash": "3.1.0",
63
+ "playwright": "^1.53.2",
64
+ "pyodide": "^0.29.0",
65
+ "tsup": "^8.5.0",
66
+ "tsx": "^4.21.0",
67
+ "typescript": "^5.0.0",
68
+ "@tracecode/tracekernel": "^0.16.4",
69
+ "@tracecode/runtime-contracts": "^0.16.4"
70
+ },
71
+ "dependencies": {
72
+ "@datastructures-js/binary-search-tree": "5.4.0",
73
+ "@datastructures-js/deque": "1.0.8",
74
+ "@datastructures-js/graph": "5.3.1",
75
+ "@datastructures-js/heap": "4.3.7",
76
+ "@datastructures-js/linked-list": "6.1.4",
77
+ "@datastructures-js/priority-queue": "6.3.5",
78
+ "@datastructures-js/queue": "4.3.0",
79
+ "@datastructures-js/set": "4.2.2",
80
+ "@datastructures-js/stack": "3.1.6",
81
+ "@datastructures-js/trie": "4.2.3",
82
+ "@tracecode/tracecc": "0.1.0",
83
+ "@tracecode/tracejvm": "0.4.1",
84
+ "effect": "3.22.0",
85
+ "fflate": "0.8.3",
86
+ "lodash": "4.17.21",
87
+ "typescript": "^5.0.0"
88
+ },
60
89
  "scripts": {
61
- "prepublishOnly": "pnpm release:check && pnpm test:runtime-assets-lock && pnpm build && pnpm release:check && pnpm test:runtime-assets-lock",
62
90
  "release:check": "node scripts/check-publish-safety.mjs",
63
91
  "release:root": "pnpm release:check && pnpm publish . --access public",
64
92
  "version:sync": "node scripts/sync-workspace-versions.mjs",
@@ -202,45 +230,5 @@
202
230
  "bench:browser-project-runtimes": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/benchmark-browser-project-runtimes.ts",
203
231
  "bench:tracekernel-seekable-output": "node --import tsx scripts/benchmark-tracekernel-seekable-output.mts",
204
232
  "check:browser-project-performance": "node scripts/check-browser-project-performance.mjs"
205
- },
206
- "devDependencies": {
207
- "@tracecode/runtime-contracts": "workspace:^",
208
- "@tracecode/tracekernel": "workspace:^",
209
- "@types/node": "^20.0.0",
210
- "esbuild": "0.27.3",
211
- "just-bash": "3.1.0",
212
- "playwright": "^1.53.2",
213
- "pyodide": "^0.29.0",
214
- "tsup": "^8.5.0",
215
- "tsx": "^4.21.0",
216
- "typescript": "^5.0.0"
217
- },
218
- "pnpm": {
219
- "overrides": {
220
- "dompurify": "3.4.1",
221
- "picomatch": "4.0.4",
222
- "postcss": "8.5.10"
223
- },
224
- "patchedDependencies": {
225
- "just-bash@3.1.0": "patches/just-bash@3.1.0.patch"
226
- }
227
- },
228
- "dependencies": {
229
- "@datastructures-js/binary-search-tree": "5.4.0",
230
- "@datastructures-js/deque": "1.0.8",
231
- "@datastructures-js/graph": "5.3.1",
232
- "@datastructures-js/heap": "4.3.7",
233
- "@datastructures-js/linked-list": "6.1.4",
234
- "@datastructures-js/priority-queue": "6.3.5",
235
- "@datastructures-js/queue": "4.3.0",
236
- "@datastructures-js/set": "4.2.2",
237
- "@datastructures-js/stack": "3.1.6",
238
- "@datastructures-js/trie": "4.2.3",
239
- "@tracecode/tracecc": "0.1.0",
240
- "@tracecode/tracejvm": "0.4.1",
241
- "effect": "3.22.0",
242
- "fflate": "0.8.3",
243
- "lodash": "4.17.21",
244
- "typescript": "^5.0.0"
245
233
  }
246
- }
234
+ }
@@ -2,11 +2,11 @@
2
2
  "schema": "tracecode.runtime-assets-lock.v1",
3
3
  "harness": {
4
4
  "name": "@tracecode/harness",
5
- "version": "0.16.3",
6
- "releaseId": "@tracecode/harness@0.16.3+sha256.d18992b4747d0a65e03c2b103bc38051f14c78cf543e7fe94faf05b9ce98120c"
5
+ "version": "0.16.4",
6
+ "releaseId": "@tracecode/harness@0.16.4+sha256.af3783bba7880dfac3b84fe91f86eba8c9e9d99e710ae2533d475f4396cbe03d"
7
7
  },
8
8
  "treeSha256Algorithm": "sha256-path-nul-bytes-nul-v1",
9
- "packageTreeSha256": "d18992b4747d0a65e03c2b103bc38051f14c78cf543e7fe94faf05b9ce98120c",
9
+ "packageTreeSha256": "af3783bba7880dfac3b84fe91f86eba8c9e9d99e710ae2533d475f4396cbe03d",
10
10
  "totalPackagedRuntimeBytes": 151629893,
11
11
  "components": {
12
12
  "cpp": {
@@ -1837,15 +1837,15 @@
1837
1837
  ]
1838
1838
  },
1839
1839
  "javascript": {
1840
- "releaseId": "javascript+sha256.f4e5d679cae01f08ba4327ffbd7f4bcfcb685bb5b70cfb3b0b4b063e2f46cb26",
1841
- "treeSha256": "f4e5d679cae01f08ba4327ffbd7f4bcfcb685bb5b70cfb3b0b4b063e2f46cb26",
1840
+ "releaseId": "javascript+sha256.b8a0cb68bfd698c61e76b60c2846f65153482c7e0034a0cfe77b83ae906d77ff",
1841
+ "treeSha256": "b8a0cb68bfd698c61e76b60c2846f65153482c7e0034a0cfe77b83ae906d77ff",
1842
1842
  "totalBytes": 1202891,
1843
1843
  "files": [
1844
1844
  {
1845
1845
  "path": "workers/javascript/javascript-project-worker.js",
1846
1846
  "size": 561093,
1847
- "sha256": "570de947fe170a1dd1d778514577827ede5edbef1ddf08c01f3500834e93ce6b",
1848
- "integrity": "sha256-Vw3pR/4XCh3R13hRRXeCft5e2+8d3wjAHzUAg06Tzms=",
1847
+ "sha256": "019715545f0a552ee538a34525f38b98c967e75a07b8737ad536d8c37de78e52",
1848
+ "integrity": "sha256-AZcVVF8KVS7lOKNFJfOLmMln51oHuHN61TbYw33njlI=",
1849
1849
  "mediaType": "text/javascript"
1850
1850
  },
1851
1851
  {
@@ -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.3",
1624
+ version: "0.16.4",
1625
1625
  license: "AGPL-3.0-only",
1626
1626
  homepage: "https://tracecode.app",
1627
1627
  repository: {
@@ -1878,7 +1878,7 @@ var LANGUAGE_RUNTIME_INFOS = Object.freeze(
1878
1878
  "versionLabel": "Python 3.13.2",
1879
1879
  "executionPlatform": {
1880
1880
  "name": "TraceKernel",
1881
- "version": "0.16.3"
1881
+ "version": "0.16.4"
1882
1882
  },
1883
1883
  "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.",
1884
1884
  "runtime": {
@@ -1905,7 +1905,7 @@ var LANGUAGE_RUNTIME_INFOS = Object.freeze(
1905
1905
  "versionLabel": "JavaScript (ECMAScript 2023)",
1906
1906
  "executionPlatform": {
1907
1907
  "name": "TraceKernel",
1908
- "version": "0.16.3"
1908
+ "version": "0.16.4"
1909
1909
  },
1910
1910
  "runtime": {
1911
1911
  "name": "TraceKernel JavaScript runtime",
@@ -1997,7 +1997,7 @@ Binary Search Tree, Trie, and Graph are bundled too, but are not exposed globall
1997
1997
  "versionLabel": "TypeScript 5.9.3",
1998
1998
  "executionPlatform": {
1999
1999
  "name": "TraceKernel",
2000
- "version": "0.16.3"
2000
+ "version": "0.16.4"
2001
2001
  },
2002
2002
  "description": `TypeScript 5.9.3 is compiled with the TypeScript compiler and executed by TraceKernel's JavaScript runtime.
2003
2003
 
@@ -2097,7 +2097,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
2097
2097
  "versionLabel": "Java 23",
2098
2098
  "executionPlatform": {
2099
2099
  "name": "TraceKernel",
2100
- "version": "0.16.3"
2100
+ "version": "0.16.4"
2101
2101
  },
2102
2102
  "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.",
2103
2103
  "runtime": {
@@ -2134,7 +2134,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
2134
2134
  "versionLabel": "C# 14",
2135
2135
  "executionPlatform": {
2136
2136
  "name": "TraceKernel",
2137
- "version": "0.16.3"
2137
+ "version": "0.16.4"
2138
2138
  },
2139
2139
  "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.",
2140
2140
  "runtime": {
@@ -2163,7 +2163,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
2163
2163
  "versionLabel": "C++23",
2164
2164
  "executionPlatform": {
2165
2165
  "name": "TraceKernel",
2166
- "version": "0.16.3"
2166
+ "version": "0.16.4"
2167
2167
  },
2168
2168
  "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.",
2169
2169
  "runtime": {