@tracecode/harness 0.16.1 → 0.16.3

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 (45) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/{browser-runtime-provider-NQNCL6HE.js → browser-runtime-provider-C53ZJH3D.js} +4 -4
  3. package/dist/{chunk-MMQLUTPP.js → chunk-53ROKKGU.js} +2 -2
  4. package/dist/{chunk-KYTMGAFA.js → chunk-6SWX35P2.js} +2 -2
  5. package/dist/{chunk-4W6MUXZE.js → chunk-BXUGUGWL.js} +9 -9
  6. package/dist/{chunk-AWHLLSEH.js → chunk-DI7WIHES.js} +3 -3
  7. package/dist/chunk-EJE2EJDI.js +193 -0
  8. package/dist/{chunk-DQMPICNS.js → chunk-TXDHVV6B.js} +193 -345
  9. package/dist/{chunk-57WKRSIB.js → chunk-YID2AAYD.js} +2 -2
  10. package/dist/cli.cjs +5 -0
  11. package/dist/cli.js +5 -0
  12. package/dist/core.cjs +8 -8
  13. package/dist/core.d.cts +2 -2
  14. package/dist/core.d.ts +2 -2
  15. package/dist/core.js +1 -1
  16. package/dist/{cpp-worker-client-A2ULEW5T.js → cpp-worker-client-FLJ2YLSW.js} +3 -3
  17. package/dist/{csharp-worker-client-RA47P77F.js → csharp-worker-client-S4U6MCVF.js} +3 -3
  18. package/dist/internal/tracekernel-workspace.cjs +171 -31
  19. package/dist/internal/tracekernel-workspace.d.cts +8 -2
  20. package/dist/internal/tracekernel-workspace.d.ts +8 -2
  21. package/dist/internal/tracekernel-workspace.js +164 -24
  22. package/dist/{java-project-BTAANBJH.js → java-project-GK6MHT3I.js} +2 -2
  23. package/dist/{java-project-client-R7CKC72F.js → java-project-client-PEQKFTH6.js} +11 -2
  24. package/dist/judge.cjs +420 -214
  25. package/dist/judge.d.cts +1 -1
  26. package/dist/judge.d.ts +1 -1
  27. package/dist/judge.js +9 -7
  28. package/dist/{project-browser-GBSPIYEW.js → project-browser-3I5FVB5N.js} +2 -2
  29. package/dist/{project-browser-U3YK43H4.js → project-browser-ADXGG5RZ.js} +2 -2
  30. package/dist/{project-browser-J6LVPVDC.js → project-browser-B5T7WJWP.js} +2 -2
  31. package/dist/{project-browser-QMZCUVJA.js → project-browser-JXJ74RDZ.js} +2 -2
  32. package/dist/{project-browser-PC7TRROQ.js → project-browser-TDL4LMJJ.js} +2 -2
  33. package/dist/{python-worker-client-NEBS6V63.js → python-worker-client-2RF6IYIN.js} +3 -3
  34. package/dist/{runtime-environment-D7mZm8SA.d.cts → runtime-environment-BO5I1fAC.d.cts} +5 -0
  35. package/dist/{runtime-environment-Q60S0pUa.d.ts → runtime-environment-Dfg6ZoCj.d.ts} +5 -0
  36. package/dist/{runtime-open-source-info-BQtIRJ9F.d.cts → runtime-open-source-info-CaBpNicy.d.cts} +4 -2
  37. package/dist/{runtime-open-source-info-FkIxlAcm.d.ts → runtime-open-source-info-D0OJc4zH.d.ts} +4 -2
  38. package/dist/tracecc-runtime-assets-G3BFH7LY.js +19 -0
  39. package/dist/tracekernel.cjs +585 -235
  40. package/dist/tracekernel.d.cts +14 -5
  41. package/dist/tracekernel.d.ts +14 -5
  42. package/dist/tracekernel.js +175 -31
  43. package/package.json +44 -32
  44. package/runtime-assets.lock.json +7 -7
  45. package/workers/javascript/javascript-project-worker.js +7 -7
package/dist/judge.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as Effect from 'effect/Effect';
2
2
  import * as Scope from 'effect/Scope';
3
3
  import { L as Language, R as RuntimeExecutionStyle, h as RuntimeExecutionLimits, T as TraceExecutionOptions } from './runtime-capabilities-lLyT-B7D.cjs';
4
- import { N as CreateBrowserProjectWorkspaceOptions, l as BrowserRuntimeAssets, o as BrowserRuntimeEnvironment, v as BrowserRuntimeReadiness, q as BrowserRuntimeEnvironmentReport, k as BrowserRuntimeAssetOverrides, n as BrowserRuntimeEngine, r as BrowserRuntimeFeatureSupport } from './runtime-environment-D7mZm8SA.cjs';
4
+ import { N as CreateBrowserProjectWorkspaceOptions, l as BrowserRuntimeAssets, o as BrowserRuntimeEnvironment, v as BrowserRuntimeReadiness, q as BrowserRuntimeEnvironmentReport, k as BrowserRuntimeAssetOverrides, n as BrowserRuntimeEngine, r as BrowserRuntimeFeatureSupport } from './runtime-environment-BO5I1fAC.cjs';
5
5
  import { B as BrowserExecutionWorkerHostOptions } from './execution-host-BtriY0VV.cjs';
6
6
  import * as effect_Cause from 'effect/Cause';
7
7
  import * as effect_Types from 'effect/Types';
package/dist/judge.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as Effect from 'effect/Effect';
2
2
  import * as Scope from 'effect/Scope';
3
3
  import { L as Language, R as RuntimeExecutionStyle, h as RuntimeExecutionLimits, T as TraceExecutionOptions } from './runtime-capabilities-lLyT-B7D.js';
4
- import { N as CreateBrowserProjectWorkspaceOptions, l as BrowserRuntimeAssets, o as BrowserRuntimeEnvironment, v as BrowserRuntimeReadiness, q as BrowserRuntimeEnvironmentReport, k as BrowserRuntimeAssetOverrides, n as BrowserRuntimeEngine, r as BrowserRuntimeFeatureSupport } from './runtime-environment-Q60S0pUa.js';
4
+ import { N as CreateBrowserProjectWorkspaceOptions, l as BrowserRuntimeAssets, o as BrowserRuntimeEnvironment, v as BrowserRuntimeReadiness, q as BrowserRuntimeEnvironmentReport, k as BrowserRuntimeAssetOverrides, n as BrowserRuntimeEngine, r as BrowserRuntimeFeatureSupport } from './runtime-environment-Dfg6ZoCj.js';
5
5
  import { B as BrowserExecutionWorkerHostOptions } from './execution-host-BtriY0VV.js';
6
6
  import * as effect_Cause from 'effect/Cause';
7
7
  import * as effect_Types from 'effect/Types';
package/dist/judge.js CHANGED
@@ -1,8 +1,8 @@
1
1
  var define = undefined;
2
2
  import {
3
3
  createCppBrowserRuntimeProvider
4
- } from "./chunk-57WKRSIB.js";
5
- import "./chunk-AWHLLSEH.js";
4
+ } from "./chunk-YID2AAYD.js";
5
+ import "./chunk-DI7WIHES.js";
6
6
  import {
7
7
  normalizeTraceJVMRuntimeAssetBaseUrl,
8
8
  preflightBuiltInTraceJVMRuntimeAssets,
@@ -10,18 +10,20 @@ import {
10
10
  } from "./chunk-FYDQ4ZKL.js";
11
11
  import {
12
12
  CSharpWorkerClient
13
- } from "./chunk-KYTMGAFA.js";
13
+ } from "./chunk-6SWX35P2.js";
14
14
  import {
15
15
  PYTHON_RUNTIME_IMAGE_PROTOCOL_VERSION,
16
16
  createBrowserProjectWorkspace,
17
17
  createBrowserRuntimeAssetPreflight,
18
18
  createBrowserRuntimeEnvironment,
19
- makeTraceKernelHost,
19
+ makeTraceKernelHost
20
+ } from "./chunk-TXDHVV6B.js";
21
+ import {
20
22
  resolveBuiltInTraceCCRuntimeManifest
21
- } from "./chunk-DQMPICNS.js";
23
+ } from "./chunk-EJE2EJDI.js";
22
24
  import {
23
25
  PythonWorkerClient
24
- } from "./chunk-MMQLUTPP.js";
26
+ } from "./chunk-53ROKKGU.js";
25
27
  import {
26
28
  RUNTIME_TRACE_SCHEMA_VERSION,
27
29
  createEmptyRuntimeTrace,
@@ -30,7 +32,7 @@ import {
30
32
  liftCodeOutcome,
31
33
  liftTraceOutcome,
32
34
  runtimeWorkspaceActorPreset
33
- } from "./chunk-4W6MUXZE.js";
35
+ } from "./chunk-BXUGUGWL.js";
34
36
  import {
35
37
  TraceKernelControlledRuntime,
36
38
  TraceKernelSharedSyscallServer,
@@ -2,7 +2,7 @@ var define = undefined;
2
2
  import {
3
3
  runRuntimeProjectWorkerBridge,
4
4
  withRuntimeProjectCommandRunnerCapabilities
5
- } from "./chunk-4W6MUXZE.js";
5
+ } from "./chunk-BXUGUGWL.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-GBSPIYEW.js.map
35
+ //# sourceMappingURL=project-browser-3I5FVB5N.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createRuntimeProjectIoBridge,
4
4
  runRuntimeProjectWorkerBridge,
5
5
  withRuntimeProjectCommandRunnerCapabilities
6
- } from "./chunk-4W6MUXZE.js";
6
+ } from "./chunk-BXUGUGWL.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-U3YK43H4.js.map
82
+ //# sourceMappingURL=project-browser-ADXGG5RZ.js.map
@@ -2,7 +2,7 @@ var define = undefined;
2
2
  import {
3
3
  runRuntimeProjectWorkerBridge,
4
4
  withRuntimeProjectCommandRunnerCapabilities
5
- } from "./chunk-4W6MUXZE.js";
5
+ } from "./chunk-BXUGUGWL.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-J6LVPVDC.js.map
38
+ //# sourceMappingURL=project-browser-B5T7WJWP.js.map
@@ -53,7 +53,7 @@ import {
53
53
  runtimeKernelWriteFsErrorMessage,
54
54
  runtimeKernelWriteTarget,
55
55
  runtimeProjectInfrastructureFailure
56
- } from "./chunk-4W6MUXZE.js";
56
+ } from "./chunk-BXUGUGWL.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-QMZCUVJA.js.map
10868
+ //# sourceMappingURL=project-browser-JXJ74RDZ.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createRuntimeProjectIoBridge,
4
4
  runRuntimeProjectWorkerBridge,
5
5
  withRuntimeProjectCommandRunnerCapabilities
6
- } from "./chunk-4W6MUXZE.js";
6
+ } from "./chunk-BXUGUGWL.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-PC7TRROQ.js.map
80
+ //# sourceMappingURL=project-browser-TDL4LMJJ.js.map
@@ -2,8 +2,8 @@ var define = undefined;
2
2
  import {
3
3
  PythonWorkerClient,
4
4
  isWorkerSupported
5
- } from "./chunk-MMQLUTPP.js";
6
- import "./chunk-4W6MUXZE.js";
5
+ } from "./chunk-53ROKKGU.js";
6
+ import "./chunk-BXUGUGWL.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-NEBS6V63.js.map
14
+ //# sourceMappingURL=python-worker-client-2RF6IYIN.js.map
@@ -401,6 +401,11 @@ interface CreateBrowserProjectWorkspaceOptions extends Omit<CreateRuntimeWorkspa
401
401
  java?: BrowserProjectJavaRuntimeOptions;
402
402
  /** Immutable Java runtime tree used by the built-in provider. */
403
403
  javaRuntimeAssetBaseUrl?: string;
404
+ /**
405
+ * Same-origin TraceJVM project Worker. Runtime payloads may live on a CDN,
406
+ * but browsers require the Worker constructor itself to use this origin.
407
+ */
408
+ javaProjectWorkerUrl?: string;
404
409
  /** Runs selected project workers on a dedicated, credential-free origin. */
405
410
  executionHost?: BrowserProjectExecutionHostOptions;
406
411
  nodeProject?: BrowserProjectNodeOptions;
@@ -401,6 +401,11 @@ interface CreateBrowserProjectWorkspaceOptions extends Omit<CreateRuntimeWorkspa
401
401
  java?: BrowserProjectJavaRuntimeOptions;
402
402
  /** Immutable Java runtime tree used by the built-in provider. */
403
403
  javaRuntimeAssetBaseUrl?: string;
404
+ /**
405
+ * Same-origin TraceJVM project Worker. Runtime payloads may live on a CDN,
406
+ * but browsers require the Worker constructor itself to use this origin.
407
+ */
408
+ javaProjectWorkerUrl?: string;
404
409
  /** Runs selected project workers on a dedicated, credential-free origin. */
405
410
  executionHost?: BrowserProjectExecutionHostOptions;
406
411
  nodeProject?: BrowserProjectNodeOptions;
@@ -576,8 +576,10 @@ interface RuntimeCommandOptions {
576
576
  onEvent?: RuntimeCommandEventHandler;
577
577
  /**
578
578
  * Internal terminal handshake fired when the foreground process actually
579
- * reads its controlling terminal. Terminal sessions use this explicit
580
- * signal to enter stdin mode; stdout chunk boundaries are not prompts.
579
+ * reads its controlling terminal. Terminal sessions already expose their
580
+ * TTY input line while the process runs; this signal associates any
581
+ * pending stdout text with the child's explicit stdin prompt instead of
582
+ * guessing from output chunk boundaries.
581
583
  */
582
584
  onTerminalStdinRead?: () => void;
583
585
  /**
@@ -576,8 +576,10 @@ interface RuntimeCommandOptions {
576
576
  onEvent?: RuntimeCommandEventHandler;
577
577
  /**
578
578
  * Internal terminal handshake fired when the foreground process actually
579
- * reads its controlling terminal. Terminal sessions use this explicit
580
- * signal to enter stdin mode; stdout chunk boundaries are not prompts.
579
+ * reads its controlling terminal. Terminal sessions already expose their
580
+ * TTY input line while the process runs; this signal associates any
581
+ * pending stdout text with the child's explicit stdin prompt instead of
582
+ * guessing from output chunk boundaries.
581
583
  */
582
584
  onTerminalStdinRead?: () => void;
583
585
  /**
@@ -0,0 +1,19 @@
1
+ var define = undefined;
2
+ import {
3
+ TRACECC_RUNTIME_ASSET_RELATIVE_PATH,
4
+ TRACECC_RUNTIME_CONTENT_HASH,
5
+ TRACECC_RUNTIME_MANIFEST,
6
+ createTraceCCRuntimeManifest,
7
+ resolveBuiltInTraceCCProjectRuntimeManifest,
8
+ resolveBuiltInTraceCCRuntimeManifest
9
+ } from "./chunk-EJE2EJDI.js";
10
+ import "./chunk-756Z7C6D.js";
11
+ export {
12
+ TRACECC_RUNTIME_ASSET_RELATIVE_PATH,
13
+ TRACECC_RUNTIME_CONTENT_HASH,
14
+ TRACECC_RUNTIME_MANIFEST,
15
+ createTraceCCRuntimeManifest,
16
+ resolveBuiltInTraceCCProjectRuntimeManifest,
17
+ resolveBuiltInTraceCCRuntimeManifest
18
+ };
19
+ //# sourceMappingURL=tracecc-runtime-assets-G3BFH7LY.js.map