@tracecode/harness 0.4.0
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 +113 -0
- package/LICENSE +674 -0
- package/README.md +266 -0
- package/dist/browser.cjs +1352 -0
- package/dist/browser.cjs.map +1 -0
- package/dist/browser.d.cts +49 -0
- package/dist/browser.d.ts +49 -0
- package/dist/browser.js +1317 -0
- package/dist/browser.js.map +1 -0
- package/dist/cli.cjs +70 -0
- package/dist/cli.cjs.map +1 -0
- package/dist/cli.d.cts +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +70 -0
- package/dist/cli.js.map +1 -0
- package/dist/core.cjs +286 -0
- package/dist/core.cjs.map +1 -0
- package/dist/core.d.cts +69 -0
- package/dist/core.d.ts +69 -0
- package/dist/core.js +254 -0
- package/dist/core.js.map +1 -0
- package/dist/index.cjs +2603 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +2538 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/browser.cjs +647 -0
- package/dist/internal/browser.cjs.map +1 -0
- package/dist/internal/browser.d.cts +143 -0
- package/dist/internal/browser.d.ts +143 -0
- package/dist/internal/browser.js +617 -0
- package/dist/internal/browser.js.map +1 -0
- package/dist/javascript.cjs +549 -0
- package/dist/javascript.cjs.map +1 -0
- package/dist/javascript.d.cts +11 -0
- package/dist/javascript.d.ts +11 -0
- package/dist/javascript.js +518 -0
- package/dist/javascript.js.map +1 -0
- package/dist/python.cjs +744 -0
- package/dist/python.cjs.map +1 -0
- package/dist/python.d.cts +97 -0
- package/dist/python.d.ts +97 -0
- package/dist/python.js +698 -0
- package/dist/python.js.map +1 -0
- package/dist/runtime-types-C7d1LFbx.d.ts +85 -0
- package/dist/runtime-types-Dvgn07z9.d.cts +85 -0
- package/dist/types-Bzr1Ohcf.d.cts +96 -0
- package/dist/types-Bzr1Ohcf.d.ts +96 -0
- package/package.json +89 -0
- package/workers/javascript/javascript-worker.js +2918 -0
- package/workers/python/generated-python-harness-snippets.js +20 -0
- package/workers/python/pyodide-worker.js +1197 -0
- package/workers/python/runtime-core.js +1529 -0
- package/workers/vendor/typescript.js +200276 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented here.
|
|
4
|
+
|
|
5
|
+
This repo uses Git tags as release boundaries. Version notes below summarize what shipped in each tagged release.
|
|
6
|
+
|
|
7
|
+
## [0.4.0] - 2026-03-10
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Built ESM and CommonJS package outputs plus `.d.ts` publishing.
|
|
12
|
+
- `createBrowserHarness(...)` as the stable public browser runtime factory.
|
|
13
|
+
- `tracecode-harness sync-assets <target-dir>` for copying the canonical worker asset set into consumer apps.
|
|
14
|
+
- Packaging, asset-contract, and example-consumer smoke tests.
|
|
15
|
+
- In-repo minimal example app at `examples/web-ide`.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- The public browser SDK now uses explicit runtime instances instead of app-coupled ambient bootstrap.
|
|
20
|
+
- Browser asset resolution is centralized around `assetBaseUrl` and per-asset overrides.
|
|
21
|
+
- `@tracecode/harness/browser` now exports the high-level stable API instead of low-level worker internals.
|
|
22
|
+
|
|
23
|
+
### Notes
|
|
24
|
+
|
|
25
|
+
- `0.4.0` is the clean public SDK cut for browser consumers.
|
|
26
|
+
|
|
27
|
+
## [0.3.4] - 2026-03-07
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- TypeScript tracer line alignment for debugger-style playback.
|
|
32
|
+
- JS/TS runtime coverage around traced queue and traversal steps.
|
|
33
|
+
|
|
34
|
+
### Notes
|
|
35
|
+
|
|
36
|
+
- `0.3.4` is a tracer-alignment patch release focused on TypeScript step accuracy.
|
|
37
|
+
|
|
38
|
+
## [0.3.3] - 2026-03-07
|
|
39
|
+
|
|
40
|
+
### Fixed
|
|
41
|
+
|
|
42
|
+
- JavaScript tracer line mapping for debugger-style playback.
|
|
43
|
+
- JS runtime behavior around queue mutations, loop headers, and traversal line alignment.
|
|
44
|
+
|
|
45
|
+
### Notes
|
|
46
|
+
|
|
47
|
+
- `0.3.3` improves JS trace semantics without changing the public contract shape.
|
|
48
|
+
|
|
49
|
+
## [0.3.2] - 2026-03-07
|
|
50
|
+
|
|
51
|
+
### Fixed
|
|
52
|
+
|
|
53
|
+
- JavaScript/TypeScript input binding order during harness execution.
|
|
54
|
+
|
|
55
|
+
### Notes
|
|
56
|
+
|
|
57
|
+
- `0.3.2` is a JS/TS execution correctness patch release.
|
|
58
|
+
|
|
59
|
+
## [0.3.1] - 2026-03-07
|
|
60
|
+
|
|
61
|
+
### Fixed
|
|
62
|
+
|
|
63
|
+
- Python class-scope access instrumentation mangling in the tracing runtime.
|
|
64
|
+
|
|
65
|
+
### Notes
|
|
66
|
+
|
|
67
|
+
- `0.3.1` fixes Python access metadata emission for class-based solutions.
|
|
68
|
+
|
|
69
|
+
## [0.3.0] - 2026-03-07
|
|
70
|
+
|
|
71
|
+
### Added
|
|
72
|
+
|
|
73
|
+
- Runtime access metadata in the shared trace contract via an optional `accesses` field on trace steps.
|
|
74
|
+
- Public access event types for:
|
|
75
|
+
- `indexed-read`
|
|
76
|
+
- `indexed-write`
|
|
77
|
+
- `cell-read`
|
|
78
|
+
- `cell-write`
|
|
79
|
+
- `mutating-call`
|
|
80
|
+
- JavaScript/TypeScript runtime instrumentation for array and grid access events, including indexed reads/writes and mutating queue/array calls.
|
|
81
|
+
- Python runtime instrumentation for aligned access metadata during tracing.
|
|
82
|
+
|
|
83
|
+
### Changed
|
|
84
|
+
|
|
85
|
+
- Trace adapters now preserve runtime access metadata end to end.
|
|
86
|
+
- Runtime contract coverage now validates the new access metadata surface.
|
|
87
|
+
|
|
88
|
+
### Notes
|
|
89
|
+
|
|
90
|
+
- `0.3.0` is an additive, backward-compatible contract release.
|
|
91
|
+
- Access metadata is state-aligned with debugger-style trace playback, so events appear on the next emitted step alongside the post-line state.
|
|
92
|
+
|
|
93
|
+
## [0.2.0] - 2026-03-06
|
|
94
|
+
|
|
95
|
+
### Added
|
|
96
|
+
|
|
97
|
+
- Structured runtime capability profiles for supported languages.
|
|
98
|
+
- Browser runtime capability guards and shared runtime-type metadata.
|
|
99
|
+
- Contract tests validating language profiles and declared support levels.
|
|
100
|
+
|
|
101
|
+
### Notes
|
|
102
|
+
|
|
103
|
+
- `0.2.0` formalizes the public runtime capability surface.
|
|
104
|
+
|
|
105
|
+
## [0.1.0] - 2026-03-06
|
|
106
|
+
|
|
107
|
+
### Added
|
|
108
|
+
|
|
109
|
+
- Initial public harness baseline with repository documentation and published package metadata.
|
|
110
|
+
|
|
111
|
+
### Notes
|
|
112
|
+
|
|
113
|
+
- `0.1.0` is the pre-profile baseline release.
|