@tracecode/harness 0.6.1 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +4 -3
- package/dist/browser.cjs +4 -4
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.js +4 -4
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
- package/workers/java/java-worker.js +99 -26
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@ All notable changes to this project are documented here.
|
|
|
4
4
|
|
|
5
5
|
This repo uses Git tags as release boundaries. Version notes below summarize what shipped in each tagged release.
|
|
6
6
|
|
|
7
|
+
## [0.6.2] - 2026-04-23
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Enabled Java script-style browser execution using an empty function name, `executionStyle: "function"`, and the top-level `result` variable convention.
|
|
12
|
+
- Added direct Java worker regression coverage for script-mode normalization, result serialization, trace function mapping, and invalid style rejection.
|
|
13
|
+
|
|
7
14
|
## [0.6.1] - 2026-04-23
|
|
8
15
|
|
|
9
16
|
### Fixed
|
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ This package provides an execution and tracing runtime for browser applications.
|
|
|
13
13
|
It includes:
|
|
14
14
|
|
|
15
15
|
- browser-hosted execution for Python, JavaScript, and TypeScript
|
|
16
|
-
- an experimental browser-local Java 17 lane for `function`, `solution-method`, `ops-class`, and `interviewMode` execution
|
|
16
|
+
- an experimental browser-local Java 17 lane for `function`, `solution-method`, `ops-class`, `script`, and `interviewMode` execution
|
|
17
17
|
- trace capture and normalized runtime contracts
|
|
18
18
|
- browser worker assets and asset sync tooling
|
|
19
19
|
- runtime-side structural annotations such as object kinds and hash/map payloads
|
|
@@ -233,8 +233,8 @@ Current language status:
|
|
|
233
233
|
|
|
234
234
|
Current Java scope:
|
|
235
235
|
|
|
236
|
-
- supported: `function`, `solution-method`, `ops-class`, `interviewMode`, tracing, compile diagnostics, structural visualization payloads
|
|
237
|
-
-
|
|
236
|
+
- supported: `function`, `solution-method`, `ops-class`, `script`, `interviewMode`, tracing, compile diagnostics, structural visualization payloads
|
|
237
|
+
- script mode uses an empty function name with `executionStyle: "function"` and reads the top-level `result` variable
|
|
238
238
|
|
|
239
239
|
## Example Consumer
|
|
240
240
|
|
|
@@ -279,6 +279,7 @@ pnpm generate:python-harness
|
|
|
279
279
|
|
|
280
280
|
This repo uses explicit versioned release boundaries.
|
|
281
281
|
|
|
282
|
+
- `0.6.2` enables experimental Java script-style execution using the empty function name and top-level `result` convention
|
|
282
283
|
- `0.6.1` resolves Dependabot-reported vulnerabilities in Vite, DOMPurify, and Picomatch dependency paths
|
|
283
284
|
- `0.6.0` adds an experimental browser-local Java 17 runtime lane for `function`, `solution-method`, `ops-class`, and `interviewMode` execution, plus public asset packaging and browser smoke coverage for Java
|
|
284
285
|
- `0.5.0` improves JavaScript tree/list input hydration, fixes sparse tree deserialization, and trims GitHub CI to the non-browser verification set
|
package/dist/browser.cjs
CHANGED
|
@@ -860,7 +860,7 @@ var JAVA_RUNTIME_PROFILE = {
|
|
|
860
860
|
function: true,
|
|
861
861
|
solutionMethod: true,
|
|
862
862
|
opsClass: true,
|
|
863
|
-
script:
|
|
863
|
+
script: true,
|
|
864
864
|
interviewMode: true
|
|
865
865
|
},
|
|
866
866
|
timeouts: {
|
|
@@ -913,9 +913,9 @@ var JAVA_RUNTIME_PROFILE = {
|
|
|
913
913
|
}
|
|
914
914
|
},
|
|
915
915
|
notes: [
|
|
916
|
-
"Java currently supports the browser-local Java 17 lane for function, solution-method,
|
|
917
|
-
"Interview-mode Java reuses the same browser-local execution path and remains experimental
|
|
918
|
-
|
|
916
|
+
"Java currently supports the browser-local Java 17 lane for function, solution-method, ops-class, and script-style execution.",
|
|
917
|
+
"Interview-mode Java reuses the same browser-local execution path and remains experimental.",
|
|
918
|
+
'Script-style Java uses an empty function name with executionStyle="function" and reads the top-level result variable.'
|
|
919
919
|
]
|
|
920
920
|
};
|
|
921
921
|
var LANGUAGE_RUNTIME_PROFILES = {
|