@tracecode/harness 0.16.4 → 0.16.6

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 (50) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/README.md +6 -4
  3. package/dist/{browser-runtime-provider-OGJQLGXU.js → browser-runtime-provider-KPQBQ4EG.js} +5 -5
  4. package/dist/{chunk-AAKNIYV6.js → chunk-46XZQOHV.js} +3 -3
  5. package/dist/{chunk-6LE4KEMZ.js → chunk-4PN5YD6J.js} +489 -3
  6. package/dist/{chunk-DTLDQQHA.js → chunk-5KH5ABPQ.js} +72 -1
  7. package/dist/{chunk-5RT5IT4I.js → chunk-B2EM2SZ2.js} +15 -31
  8. package/dist/{chunk-M7SNEZDR.js → chunk-EPBHRROK.js} +3 -3
  9. package/dist/{chunk-Y72C46GE.js → chunk-GXTDL2ML.js} +20 -11
  10. package/dist/{chunk-RCOPAMVR.js → chunk-J2KGF5PU.js} +56 -36
  11. package/dist/core.cjs +19 -10
  12. package/dist/core.js +1 -1
  13. package/dist/cpp-worker-client-UWGDH6HR.js +12 -0
  14. package/dist/{csharp-worker-client-ARGMOB3M.js → csharp-worker-client-4QP2ZBSA.js} +4 -4
  15. package/dist/internal/browser.cjs +72 -0
  16. package/dist/internal/browser.d.cts +19 -1
  17. package/dist/internal/browser.d.ts +19 -1
  18. package/dist/internal/browser.js +3 -1
  19. package/dist/internal/tracekernel-workspace.cjs +19 -10
  20. package/dist/internal/tracekernel-workspace.js +1 -1
  21. package/dist/{java-project-JB5TUIFU.js → java-project-AEQEVBDA.js} +2 -2
  22. package/dist/judge.cjs +885 -89
  23. package/dist/judge.d.cts +6 -0
  24. package/dist/judge.d.ts +6 -0
  25. package/dist/judge.js +237 -23
  26. package/dist/{project-browser-3S2FWEAP.js → project-browser-HFNQEALT.js} +2 -2
  27. package/dist/{project-browser-QN7YOJQQ.js → project-browser-L3A2G2MA.js} +2 -2
  28. package/dist/{project-browser-S4KLCZV7.js → project-browser-OVE7V464.js} +2 -2
  29. package/dist/{project-browser-WDUWUGLZ.js → project-browser-P2H222D7.js} +2 -2
  30. package/dist/{project-browser-HCQCXAYC.js → project-browser-WCSIJY6I.js} +2 -2
  31. package/dist/{python-worker-client-EX6Q2W4L.js → python-worker-client-UCOMTSMU.js} +4 -4
  32. package/dist/tracekernel.cjs +650 -68
  33. package/dist/tracekernel.js +4 -4
  34. package/package.json +14 -5
  35. package/runtime-assets.lock.json +77 -70
  36. package/workers/cpp/cpp-worker.js +53 -43
  37. package/workers/csharp/csharp-worker.js +150 -1
  38. package/workers/javascript/javascript-project-worker.js +18 -9
  39. package/workers/python/python-worker.js +121 -1
  40. package/workers/vendor/csharp/_framework/TraceCode.CSharpHost.wasm +0 -0
  41. package/workers/vendor/csharp/_framework/TraceCode.CSharpJudgeRuntime.wasm +0 -0
  42. package/workers/vendor/csharp/_framework/TraceCode.TraceClrWire.wasm +0 -0
  43. package/workers/vendor/csharp/_framework/dotnet.boot.js +11 -6
  44. package/workers/vendor/csharp/_framework/dotnet.native.wasm +0 -0
  45. package/workers/vendor/csharp/_framework/supportFiles/TraceCode.CSharpHost.dll +0 -0
  46. package/workers/vendor/csharp/_framework/supportFiles/TraceCode.CSharpJudgeRuntime.dll +0 -0
  47. package/workers/vendor/csharp-runner/_framework/assemblies-02.pack +0 -0
  48. package/workers/vendor/csharp-runner/_framework/assemblies-03.pack +0 -0
  49. package/workers/vendor/csharp-runner/_framework/dotnet.boot.js +65 -65
  50. package/dist/cpp-worker-client-HV7RO2P5.js +0 -12
@@ -0,0 +1,12 @@
1
+ var define = undefined;
2
+ import {
3
+ CppWorkerClient
4
+ } from "./chunk-46XZQOHV.js";
5
+ import "./chunk-GXTDL2ML.js";
6
+ import "./chunk-5KH5ABPQ.js";
7
+ import "./chunk-C2RUZCIL.js";
8
+ import "./chunk-756Z7C6D.js";
9
+ export {
10
+ CppWorkerClient
11
+ };
12
+ //# sourceMappingURL=cpp-worker-client-UWGDH6HR.js.map
@@ -1,12 +1,12 @@
1
1
  var define = undefined;
2
2
  import {
3
3
  CSharpWorkerClient
4
- } from "./chunk-6LE4KEMZ.js";
5
- import "./chunk-Y72C46GE.js";
6
- import "./chunk-DTLDQQHA.js";
4
+ } from "./chunk-4PN5YD6J.js";
5
+ import "./chunk-GXTDL2ML.js";
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-ARGMOB3M.js.map
12
+ //# sourceMappingURL=csharp-worker-client-4QP2ZBSA.js.map
@@ -50,6 +50,7 @@ __export(internal_exports, {
50
50
  closeKernelHttpSyncServers: () => closeKernelHttpSyncServers,
51
51
  codeResultToExecuteCase: () => codeResultToExecuteCase,
52
52
  createBrowserExecutionWorkerHost: () => createBrowserExecutionWorkerHost,
53
+ createPromotableBrowserBackgroundTask: () => createPromotableBrowserBackgroundTask,
53
54
  createWorkerProtocolToken: () => createWorkerProtocolToken,
54
55
  dispatchAsyncWorkerKernelHttpRequest: () => dispatchAsyncWorkerKernelHttpRequest,
55
56
  executeRuntimeRequest: () => executeRuntimeRequest,
@@ -109,6 +110,76 @@ function appendWorkerUrlQueryParameter(workerUrl, name, value) {
109
110
  return `${beforeHash}${beforeHash.includes("?") ? "&" : "?"}${encodedName}=${encodedValue}${hash2}`;
110
111
  }
111
112
 
113
+ // packages/runtime-browser/src/background-work-scheduler.ts
114
+ function createPromotableBrowserBackgroundTask(work) {
115
+ let permanentlyCancelled = false;
116
+ let task = null;
117
+ let idleHandle = null;
118
+ let backgroundController = null;
119
+ let resolveCompletion;
120
+ let rejectCompletion;
121
+ const completion = new Promise((resolve, reject) => {
122
+ resolveCompletion = resolve;
123
+ rejectCompletion = reject;
124
+ });
125
+ void completion.catch(() => void 0);
126
+ const start = () => {
127
+ if (permanentlyCancelled) return Promise.resolve();
128
+ if (!task) {
129
+ task = Promise.resolve().then(work);
130
+ task.then(resolveCompletion, rejectCompletion);
131
+ void task.catch(() => void 0);
132
+ }
133
+ return task;
134
+ };
135
+ const cancelPendingCallback = () => {
136
+ if (idleHandle !== null && typeof globalThis.cancelIdleCallback === "function") {
137
+ globalThis.cancelIdleCallback(idleHandle);
138
+ idleHandle = null;
139
+ }
140
+ backgroundController?.abort();
141
+ backgroundController = null;
142
+ };
143
+ if (typeof globalThis.requestIdleCallback === "function") {
144
+ idleHandle = globalThis.requestIdleCallback(() => {
145
+ idleHandle = null;
146
+ void start();
147
+ });
148
+ } else {
149
+ const scheduler = globalThis.scheduler;
150
+ if (scheduler?.postTask) {
151
+ backgroundController = new AbortController();
152
+ void scheduler.postTask(
153
+ () => {
154
+ backgroundController = null;
155
+ return start();
156
+ },
157
+ {
158
+ priority: "background",
159
+ signal: backgroundController.signal
160
+ }
161
+ ).catch(() => void 0);
162
+ }
163
+ }
164
+ return {
165
+ promote: () => {
166
+ cancelPendingCallback();
167
+ return start();
168
+ },
169
+ wait: () => completion,
170
+ cancel: () => {
171
+ if (permanentlyCancelled) return;
172
+ permanentlyCancelled = true;
173
+ cancelPendingCallback();
174
+ if (!task) {
175
+ rejectCompletion(
176
+ new DOMException("Browser background work was cancelled.", "AbortError")
177
+ );
178
+ }
179
+ }
180
+ };
181
+ }
182
+
112
183
  // packages/runtime-browser/src/execution-host.ts
113
184
  var BROWSER_EXECUTION_HOST_PROTOCOL = "tracecode.browser-execution-host.v1";
114
185
  function secureRandomToken() {
@@ -13723,6 +13794,7 @@ var WorkerSessionCore = class {
13723
13794
  closeKernelHttpSyncServers,
13724
13795
  codeResultToExecuteCase,
13725
13796
  createBrowserExecutionWorkerHost,
13797
+ createPromotableBrowserBackgroundTask,
13726
13798
  createWorkerProtocolToken,
13727
13799
  dispatchAsyncWorkerKernelHttpRequest,
13728
13800
  executeRuntimeRequest,
@@ -18,6 +18,24 @@ declare function isDevEnvironment(): boolean;
18
18
  /** Append (or replace) a query parameter on a worker URL, preserving any hash. */
19
19
  declare function appendWorkerUrlQueryParameter(workerUrl: string, name: string, value: string): string;
20
20
 
21
+ interface PromotableBrowserBackgroundTask {
22
+ /** Start immediately when still queued, then await the shared work. */
23
+ promote(): Promise<void>;
24
+ /** Observe completion without changing the queued task's priority. */
25
+ wait(): Promise<void>;
26
+ /** Cancel work that has not started. Running work needs owner teardown. */
27
+ cancel(): void;
28
+ }
29
+ /**
30
+ * Queue speculative work without making a timer part of product lifecycle.
31
+ *
32
+ * Browsers do not expose a portable mutable CPU priority for a running Worker.
33
+ * This helper therefore keeps work behind requestIdleCallback (or background
34
+ * scheduler priority), while allowing a user action to promote the exact same
35
+ * Promise rather than starting duplicate work.
36
+ */
37
+ declare function createPromotableBrowserBackgroundTask(work: () => Promise<void>): PromotableBrowserBackgroundTask;
38
+
21
39
  /**
22
40
  * Shared client-side bridge for the synchronous TraceKernel HTTP worker protocol.
23
41
  *
@@ -472,4 +490,4 @@ declare class WorkerReportedError extends WorkerReportedError_base<{
472
490
 
473
491
  declare function createWorkerProtocolToken(): string;
474
492
 
475
- export { type AsyncKernelHttpHost, type AsyncKernelHttpPendingState, BrowserWorkerLike, ExecutionAbortedError, ExecutionTimeoutError, HostArtifactCache, KERNEL_HTTP_SYNC_CLOSED, KERNEL_HTTP_SYNC_HEADER_BYTES, KERNEL_HTTP_SYNC_IDLE, KERNEL_HTTP_SYNC_LENGTH_INDEX, KERNEL_HTTP_SYNC_MAX_QUEUED_REQUESTS, KERNEL_HTTP_SYNC_REQUEST, KERNEL_HTTP_SYNC_RESPONSE, KERNEL_HTTP_SYNC_STATE_INDEX, type KernelHttpSyncPending, type KernelHttpSyncServerBridge, type RuntimeDiagnosticEvent, type RuntimeDiagnosticLevel, type TraceEventTransferRequest, WorkerCrashedError, WorkerReadyTimeoutError, WorkerReportedError, WorkerRequestTimeoutError, type WorkerSession, WorkerSessionCore, type WorkerSessionCoreConfig, type WorkerSessionMessage, type WorkerSessionPendingMessage, WorkerTerminatedError, appendWorkerUrlQueryParameter, batchCodeResultToExecuteResult, batchTraceResultToExecuteResult, cleanupAsyncKernelHttp, closeKernelHttpSyncServerBridge, closeKernelHttpSyncServers, codeResultToExecuteCase, createWorkerProtocolToken, dispatchAsyncWorkerKernelHttpRequest, executeRuntimeRequest, handleAsyncKernelHttpProtocolMessage, handleHostArtifactCacheRequest, handleKernelHttpCloseMessage, handleKernelHttpDispatchSyncMessage, handleKernelHttpListenSyncMessage, isDevEnvironment, isExecutionTimeoutError, isRuntimeCodeExecuteRequest, isRuntimeProjectExecuteRequest, kernelHttpBase64FromString, kernelHttpErrorManifest, kernelHttpRequestManifest, kernelHttpResponseFromManifest, kernelHttpResponseManifest, kernelHttpStringFromBase64, logRuntimeDiagnostic, postAsyncKernelHttpError, restoreTransferredTraceEvents, runtimeDeepEqual, runtimeDiagnosticEvent, serializableKernelHttpRequest, traceEventTransferRequest, traceResultToExecuteCase, writeKernelHttpSyncManifest };
493
+ export { type AsyncKernelHttpHost, type AsyncKernelHttpPendingState, BrowserWorkerLike, ExecutionAbortedError, ExecutionTimeoutError, HostArtifactCache, KERNEL_HTTP_SYNC_CLOSED, KERNEL_HTTP_SYNC_HEADER_BYTES, KERNEL_HTTP_SYNC_IDLE, KERNEL_HTTP_SYNC_LENGTH_INDEX, KERNEL_HTTP_SYNC_MAX_QUEUED_REQUESTS, KERNEL_HTTP_SYNC_REQUEST, KERNEL_HTTP_SYNC_RESPONSE, KERNEL_HTTP_SYNC_STATE_INDEX, type KernelHttpSyncPending, type KernelHttpSyncServerBridge, type PromotableBrowserBackgroundTask, type RuntimeDiagnosticEvent, type RuntimeDiagnosticLevel, type TraceEventTransferRequest, WorkerCrashedError, WorkerReadyTimeoutError, WorkerReportedError, WorkerRequestTimeoutError, type WorkerSession, WorkerSessionCore, type WorkerSessionCoreConfig, type WorkerSessionMessage, type WorkerSessionPendingMessage, WorkerTerminatedError, appendWorkerUrlQueryParameter, batchCodeResultToExecuteResult, batchTraceResultToExecuteResult, cleanupAsyncKernelHttp, closeKernelHttpSyncServerBridge, closeKernelHttpSyncServers, codeResultToExecuteCase, createPromotableBrowserBackgroundTask, createWorkerProtocolToken, dispatchAsyncWorkerKernelHttpRequest, executeRuntimeRequest, handleAsyncKernelHttpProtocolMessage, handleHostArtifactCacheRequest, handleKernelHttpCloseMessage, handleKernelHttpDispatchSyncMessage, handleKernelHttpListenSyncMessage, isDevEnvironment, isExecutionTimeoutError, isRuntimeCodeExecuteRequest, isRuntimeProjectExecuteRequest, kernelHttpBase64FromString, kernelHttpErrorManifest, kernelHttpRequestManifest, kernelHttpResponseFromManifest, kernelHttpResponseManifest, kernelHttpStringFromBase64, logRuntimeDiagnostic, postAsyncKernelHttpError, restoreTransferredTraceEvents, runtimeDeepEqual, runtimeDiagnosticEvent, serializableKernelHttpRequest, traceEventTransferRequest, traceResultToExecuteCase, writeKernelHttpSyncManifest };
@@ -18,6 +18,24 @@ declare function isDevEnvironment(): boolean;
18
18
  /** Append (or replace) a query parameter on a worker URL, preserving any hash. */
19
19
  declare function appendWorkerUrlQueryParameter(workerUrl: string, name: string, value: string): string;
20
20
 
21
+ interface PromotableBrowserBackgroundTask {
22
+ /** Start immediately when still queued, then await the shared work. */
23
+ promote(): Promise<void>;
24
+ /** Observe completion without changing the queued task's priority. */
25
+ wait(): Promise<void>;
26
+ /** Cancel work that has not started. Running work needs owner teardown. */
27
+ cancel(): void;
28
+ }
29
+ /**
30
+ * Queue speculative work without making a timer part of product lifecycle.
31
+ *
32
+ * Browsers do not expose a portable mutable CPU priority for a running Worker.
33
+ * This helper therefore keeps work behind requestIdleCallback (or background
34
+ * scheduler priority), while allowing a user action to promote the exact same
35
+ * Promise rather than starting duplicate work.
36
+ */
37
+ declare function createPromotableBrowserBackgroundTask(work: () => Promise<void>): PromotableBrowserBackgroundTask;
38
+
21
39
  /**
22
40
  * Shared client-side bridge for the synchronous TraceKernel HTTP worker protocol.
23
41
  *
@@ -472,4 +490,4 @@ declare class WorkerReportedError extends WorkerReportedError_base<{
472
490
 
473
491
  declare function createWorkerProtocolToken(): string;
474
492
 
475
- export { type AsyncKernelHttpHost, type AsyncKernelHttpPendingState, BrowserWorkerLike, ExecutionAbortedError, ExecutionTimeoutError, HostArtifactCache, KERNEL_HTTP_SYNC_CLOSED, KERNEL_HTTP_SYNC_HEADER_BYTES, KERNEL_HTTP_SYNC_IDLE, KERNEL_HTTP_SYNC_LENGTH_INDEX, KERNEL_HTTP_SYNC_MAX_QUEUED_REQUESTS, KERNEL_HTTP_SYNC_REQUEST, KERNEL_HTTP_SYNC_RESPONSE, KERNEL_HTTP_SYNC_STATE_INDEX, type KernelHttpSyncPending, type KernelHttpSyncServerBridge, type RuntimeDiagnosticEvent, type RuntimeDiagnosticLevel, type TraceEventTransferRequest, WorkerCrashedError, WorkerReadyTimeoutError, WorkerReportedError, WorkerRequestTimeoutError, type WorkerSession, WorkerSessionCore, type WorkerSessionCoreConfig, type WorkerSessionMessage, type WorkerSessionPendingMessage, WorkerTerminatedError, appendWorkerUrlQueryParameter, batchCodeResultToExecuteResult, batchTraceResultToExecuteResult, cleanupAsyncKernelHttp, closeKernelHttpSyncServerBridge, closeKernelHttpSyncServers, codeResultToExecuteCase, createWorkerProtocolToken, dispatchAsyncWorkerKernelHttpRequest, executeRuntimeRequest, handleAsyncKernelHttpProtocolMessage, handleHostArtifactCacheRequest, handleKernelHttpCloseMessage, handleKernelHttpDispatchSyncMessage, handleKernelHttpListenSyncMessage, isDevEnvironment, isExecutionTimeoutError, isRuntimeCodeExecuteRequest, isRuntimeProjectExecuteRequest, kernelHttpBase64FromString, kernelHttpErrorManifest, kernelHttpRequestManifest, kernelHttpResponseFromManifest, kernelHttpResponseManifest, kernelHttpStringFromBase64, logRuntimeDiagnostic, postAsyncKernelHttpError, restoreTransferredTraceEvents, runtimeDeepEqual, runtimeDiagnosticEvent, serializableKernelHttpRequest, traceEventTransferRequest, traceResultToExecuteCase, writeKernelHttpSyncManifest };
493
+ export { type AsyncKernelHttpHost, type AsyncKernelHttpPendingState, BrowserWorkerLike, ExecutionAbortedError, ExecutionTimeoutError, HostArtifactCache, KERNEL_HTTP_SYNC_CLOSED, KERNEL_HTTP_SYNC_HEADER_BYTES, KERNEL_HTTP_SYNC_IDLE, KERNEL_HTTP_SYNC_LENGTH_INDEX, KERNEL_HTTP_SYNC_MAX_QUEUED_REQUESTS, KERNEL_HTTP_SYNC_REQUEST, KERNEL_HTTP_SYNC_RESPONSE, KERNEL_HTTP_SYNC_STATE_INDEX, type KernelHttpSyncPending, type KernelHttpSyncServerBridge, type PromotableBrowserBackgroundTask, type RuntimeDiagnosticEvent, type RuntimeDiagnosticLevel, type TraceEventTransferRequest, WorkerCrashedError, WorkerReadyTimeoutError, WorkerReportedError, WorkerRequestTimeoutError, type WorkerSession, WorkerSessionCore, type WorkerSessionCoreConfig, type WorkerSessionMessage, type WorkerSessionPendingMessage, WorkerTerminatedError, appendWorkerUrlQueryParameter, batchCodeResultToExecuteResult, batchTraceResultToExecuteResult, cleanupAsyncKernelHttp, closeKernelHttpSyncServerBridge, closeKernelHttpSyncServers, codeResultToExecuteCase, createPromotableBrowserBackgroundTask, createWorkerProtocolToken, dispatchAsyncWorkerKernelHttpRequest, executeRuntimeRequest, handleAsyncKernelHttpProtocolMessage, handleHostArtifactCacheRequest, handleKernelHttpCloseMessage, handleKernelHttpDispatchSyncMessage, handleKernelHttpListenSyncMessage, isDevEnvironment, isExecutionTimeoutError, isRuntimeCodeExecuteRequest, isRuntimeProjectExecuteRequest, kernelHttpBase64FromString, kernelHttpErrorManifest, kernelHttpRequestManifest, kernelHttpResponseFromManifest, kernelHttpResponseManifest, kernelHttpStringFromBase64, logRuntimeDiagnostic, postAsyncKernelHttpError, restoreTransferredTraceEvents, runtimeDeepEqual, runtimeDiagnosticEvent, serializableKernelHttpRequest, traceEventTransferRequest, traceResultToExecuteCase, writeKernelHttpSyncManifest };
@@ -29,6 +29,7 @@ import {
29
29
  closeKernelHttpSyncServers,
30
30
  codeResultToExecuteCase,
31
31
  createBrowserExecutionWorkerHost,
32
+ createPromotableBrowserBackgroundTask,
32
33
  createWorkerProtocolToken,
33
34
  dispatchAsyncWorkerKernelHttpRequest,
34
35
  executeRuntimeRequest,
@@ -64,7 +65,7 @@ import {
64
65
  traceEventTransferRequest,
65
66
  traceResultToExecuteCase,
66
67
  writeKernelHttpSyncManifest
67
- } from "../chunk-DTLDQQHA.js";
68
+ } from "../chunk-5KH5ABPQ.js";
68
69
  import "../chunk-C2RUZCIL.js";
69
70
  import "../chunk-756Z7C6D.js";
70
71
  export {
@@ -97,6 +98,7 @@ export {
97
98
  closeKernelHttpSyncServers,
98
99
  codeResultToExecuteCase,
99
100
  createBrowserExecutionWorkerHost,
101
+ createPromotableBrowserBackgroundTask,
100
102
  createWorkerProtocolToken,
101
103
  dispatchAsyncWorkerKernelHttpRequest,
102
104
  executeRuntimeRequest,
@@ -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.4",
17084
+ version: "0.16.6",
17085
17085
  license: "AGPL-3.0-only",
17086
17086
  homepage: "https://tracecode.app",
17087
17087
  repository: {
@@ -17149,6 +17149,15 @@ var package_default = {
17149
17149
  "build:browser-host": "pnpm exec tsup --config tsup.browser-host.config.ts",
17150
17150
  "build:tracekernel": "pnpm exec tsup --config tsup.tracekernel.config.ts",
17151
17151
  "generate:runtime-info": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-runtime-language-info.ts",
17152
+ "generate:traceclr-profile": "node scripts/generate-traceclr-algorithm-profile.mjs",
17153
+ "audit:traceclr-corpus": "node scripts/audit-traceclr-corpus.mjs",
17154
+ "build:traceclr-product-corpus": "node scripts/create-traceclr-product-corpus.mjs",
17155
+ "check:traceclr-profile": "node --test tests/test-traceclr-algorithm-profile.mjs tests/test-traceclr-profile-policy.mjs && node --import tsx tests/test-traceclr-wire-codec.ts",
17156
+ "check:traceclr-product-profile": "node scripts/generate-traceclr-algorithm-profile.mjs --check && pnpm check:traceclr-profile",
17157
+ "build:traceclr-wire-probe": "dotnet build tools/TraceCode.TraceClrWireProbe/TraceCode.TraceClrWireProbe.csproj -c Release && dotnet build tools/TraceCode.TraceClrHostileProbe/TraceCode.TraceClrHostileProbe.csproj -c Release && dotnet publish packages/runtime-csharp/dotnet/TraceCode.CSharpAlgorithmRunner/TraceCode.CSharpAlgorithmRunner.csproj -c Release",
17158
+ "test:traceclr-wire-browser": "pnpm build:traceclr-wire-probe && TRACECODE_TRACECLR_BROWSER_ENGINE=chromium node --import tsx tests/test-traceclr-wire-runner-browser.ts && TRACECODE_TRACECLR_BROWSER_ENGINE=firefox node --import tsx tests/test-traceclr-wire-runner-browser.ts && TRACECODE_TRACECLR_BROWSER_ENGINE=webkit node --import tsx tests/test-traceclr-wire-runner-browser.ts",
17159
+ "bench:traceclr-tiers": "pnpm build:traceclr-wire-probe && pnpm materialize:csharp-role-assets && node --import tsx scripts/benchmark-traceclr-runtime-tiers.ts",
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",
17152
17161
  "generate:runtime-open-source-info": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-runtime-open-source-info.ts",
17153
17162
  "generate:python-harness": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/generate-python-harness-artifacts.ts",
17154
17163
  "generate:runtime-assets-lock": "node --import tsx scripts/generate-runtime-assets-lock.mjs",
@@ -17212,10 +17221,10 @@ var package_default = {
17212
17221
  "test:java-runtime": "pnpm exec tsx --tsconfig tsconfig.base.json tests/test-java-runtime.ts && pnpm exec tsx --tsconfig tsconfig.base.json tests/test-java-project-filesystem.ts && node --import tsx --test tests/test-java-jar-manifest.ts && pnpm exec tsx --tsconfig tsconfig.base.json tests/test-java-project-provider.ts && TSX_TSCONFIG_PATH=tsconfig.base.json node --import tsx --test tests/test-java-prepared-provider.ts",
17213
17222
  "test:java-prepared-provider": "TSX_TSCONFIG_PATH=tsconfig.base.json node --import tsx --test tests/test-java-prepared-provider.ts && pnpm exec tsx --tsconfig tsconfig.base.json tests/test-java-prepared-provider-browser.ts",
17214
17223
  "test:tracejvm-semantic-trace": "node --import tsx tests/test-tracejvm-semantic-trace-matrix.ts",
17215
- "test:csharp-runtime": "pnpm exec tsx --tsconfig tsconfig.base.json scripts/validate-csharp-runtime-role-assets.ts && TSX_TSCONFIG_PATH=tsconfig.base.json node --import tsx --test tests/test-csharp-role-artifacts.ts tests/test-csharp-managed-assembly-packs.ts && pnpm exec tsx --tsconfig tsconfig.base.json tests/test-csharp-runtime.ts && TSX_TSCONFIG_PATH=tsconfig.base.json node --import tsx --test tests/test-csharp-prepared-provider.ts && pnpm exec tsx --tsconfig tsconfig.base.json tests/test-csharp-project-fs-parity.ts",
17224
+ "test:csharp-runtime": "pnpm check:traceclr-profile && pnpm exec tsx --tsconfig tsconfig.base.json scripts/validate-csharp-runtime-role-assets.ts && TSX_TSCONFIG_PATH=tsconfig.base.json node --import tsx --test tests/test-csharp-role-artifacts.ts tests/test-csharp-managed-assembly-packs.ts && pnpm exec tsx --tsconfig tsconfig.base.json tests/test-csharp-runtime.ts && TSX_TSCONFIG_PATH=tsconfig.base.json node --import tsx --test tests/test-csharp-prepared-provider.ts && pnpm exec tsx --tsconfig tsconfig.base.json tests/test-csharp-project-fs-parity.ts",
17216
17225
  "test:csharp-role-assets": "pnpm materialize:csharp-role-assets && TSX_TSCONFIG_PATH=tsconfig.base.json node --import tsx --test tests/test-csharp-role-artifacts.ts tests/test-csharp-managed-assembly-packs.ts && pnpm exec tsx --tsconfig tsconfig.base.json scripts/validate-csharp-runtime-role-assets.ts",
17217
17226
  "test:csharp-worker-browser": "pnpm materialize:csharp-role-assets && pnpm exec tsx --tsconfig tsconfig.base.json tests/test-csharp-worker-client-http.ts && pnpm exec tsx --tsconfig tsconfig.base.json tests/test-csharp-worker-browser.ts && pnpm exec tsx --tsconfig tsconfig.base.json tests/test-csharp-worker-lifecycle-browser.ts && pnpm exec tsx --tsconfig tsconfig.base.json tests/test-csharp-prepared-boundary-browser.ts",
17218
- "test:csharp-worker-browser-matrix": "pnpm materialize:csharp-role-assets && TRACECODE_CSHARP_BROWSER_SMOKE=1 TRACECODE_CSHARP_BROWSER_ENGINE=chromium pnpm exec tsx --tsconfig tsconfig.base.json tests/test-csharp-worker-browser.ts && TRACECODE_CSHARP_BROWSER_SMOKE=1 TRACECODE_CSHARP_BROWSER_ENGINE=firefox pnpm exec tsx --tsconfig tsconfig.base.json tests/test-csharp-worker-browser.ts && TRACECODE_CSHARP_BROWSER_SMOKE=1 TRACECODE_CSHARP_BROWSER_ENGINE=webkit pnpm exec tsx --tsconfig tsconfig.base.json tests/test-csharp-worker-browser.ts",
17227
+ "test:csharp-worker-browser-matrix": "pnpm materialize:csharp-role-assets && for engine in chromium firefox webkit; do TSX_TSCONFIG_PATH=tsconfig.base.json TRACECODE_CSHARP_BROWSER_SMOKE=1 TRACECODE_CSHARP_BROWSER_ENGINE=$engine node --import tsx tests/test-csharp-worker-browser.ts && TSX_TSCONFIG_PATH=tsconfig.base.json TRACECODE_CSHARP_BROWSER_ENGINE=$engine node --import tsx tests/test-csharp-prepared-boundary-browser.ts || exit; done",
17219
17228
  "test:cpp-runtime": "pnpm exec tsx --tsconfig tsconfig.base.json tests/test-cpp-runtime.ts",
17220
17229
  "test:cpp-conformance": "pnpm exec tsx --tsconfig tsconfig.base.json tests/test-cpp-conformance.ts",
17221
17230
  "test:cpp-script-lambda-trace": "pnpm exec tsx --tsconfig tsconfig.base.json tests/test-cpp-script-lambda-trace.ts",
@@ -17338,7 +17347,7 @@ var LANGUAGE_RUNTIME_INFOS = Object.freeze(
17338
17347
  "versionLabel": "Python 3.13.2",
17339
17348
  "executionPlatform": {
17340
17349
  "name": "TraceKernel",
17341
- "version": "0.16.4"
17350
+ "version": "0.16.6"
17342
17351
  },
17343
17352
  "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
17353
  "runtime": {
@@ -17365,7 +17374,7 @@ var LANGUAGE_RUNTIME_INFOS = Object.freeze(
17365
17374
  "versionLabel": "JavaScript (ECMAScript 2023)",
17366
17375
  "executionPlatform": {
17367
17376
  "name": "TraceKernel",
17368
- "version": "0.16.4"
17377
+ "version": "0.16.6"
17369
17378
  },
17370
17379
  "runtime": {
17371
17380
  "name": "TraceKernel JavaScript runtime",
@@ -17457,7 +17466,7 @@ Binary Search Tree, Trie, and Graph are bundled too, but are not exposed globall
17457
17466
  "versionLabel": "TypeScript 5.9.3",
17458
17467
  "executionPlatform": {
17459
17468
  "name": "TraceKernel",
17460
- "version": "0.16.4"
17469
+ "version": "0.16.6"
17461
17470
  },
17462
17471
  "description": `TypeScript 5.9.3 is compiled with the TypeScript compiler and executed by TraceKernel's JavaScript runtime.
17463
17472
 
@@ -17557,7 +17566,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
17557
17566
  "versionLabel": "Java 23",
17558
17567
  "executionPlatform": {
17559
17568
  "name": "TraceKernel",
17560
- "version": "0.16.4"
17569
+ "version": "0.16.6"
17561
17570
  },
17562
17571
  "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
17572
  "runtime": {
@@ -17594,7 +17603,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
17594
17603
  "versionLabel": "C# 14",
17595
17604
  "executionPlatform": {
17596
17605
  "name": "TraceKernel",
17597
- "version": "0.16.4"
17606
+ "version": "0.16.6"
17598
17607
  },
17599
17608
  "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
17609
  "runtime": {
@@ -17623,7 +17632,7 @@ The compiled output runs on the same TraceKernel execution lane as JavaScript su
17623
17632
  "versionLabel": "C++23",
17624
17633
  "executionPlatform": {
17625
17634
  "name": "TraceKernel",
17626
- "version": "0.16.4"
17635
+ "version": "0.16.6"
17627
17636
  },
17628
17637
  "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
17638
  "runtime": {
@@ -17775,7 +17784,7 @@ var LANGUAGE_RUNTIME_OPEN_SOURCE_INFOS = Object.freeze(
17775
17784
  {
17776
17785
  "kind": "modifications",
17777
17786
  "label": "Runtime modifications",
17778
- "url": "https://github.com/tracecodeapp/harness/tree/v0.16.4/workers/python/pyodide-0.29.3"
17787
+ "url": "https://github.com/tracecodeapp/harness/tree/v0.16.6/workers/python/pyodide-0.29.3"
17779
17788
  }
17780
17789
  ]
17781
17790
  }
@@ -162,7 +162,7 @@ import {
162
162
  withRuntimeProjectCommandRunnerCapabilities,
163
163
  withRuntimeTraceOptions,
164
164
  writeRuntimeCommandStdinPipeBytes
165
- } from "../chunk-Y72C46GE.js";
165
+ } from "../chunk-GXTDL2ML.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-Y72C46GE.js";
7
+ } from "./chunk-GXTDL2ML.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-JB5TUIFU.js.map
487
+ //# sourceMappingURL=java-project-AEQEVBDA.js.map