@qvac/harness 0.3.1 → 0.3.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.
Files changed (27) hide show
  1. package/CHANGELOG.md +50 -1
  2. package/dist/harness.bundle +7 -5
  3. package/dist-lib/lib/capabilities/completion.d.ts +2 -1
  4. package/dist-lib/lib/capabilities/completion.js +3 -3
  5. package/dist-lib/lib/tools/exec/adapters/adapter.d.ts +3 -1
  6. package/dist-lib/lib/tools/exec/adapters/python/guarded-fetch.d.ts +5 -0
  7. package/dist-lib/lib/tools/exec/adapters/python/guarded-fetch.js +28 -2
  8. package/dist-lib/lib/tools/exec/adapters/python/interrupt-timer.d.ts +5 -0
  9. package/dist-lib/lib/tools/exec/adapters/python/interrupt-timer.js +29 -0
  10. package/dist-lib/lib/tools/exec/adapters/python/named-hosts.d.ts +2 -0
  11. package/dist-lib/lib/tools/exec/adapters/python/named-hosts.js +15 -0
  12. package/dist-lib/lib/tools/exec/adapters/python/pyodide.d.ts +3 -1
  13. package/dist-lib/lib/tools/exec/adapters/python/pyodide.js +41 -7
  14. package/dist-lib/lib/tools/exec/adapters/python/python-adapter.js +9 -3
  15. package/dist-lib/lib/tools/exec/adapters/python/run-session.d.ts +2 -0
  16. package/dist-lib/lib/tools/exec/adapters/python/run-session.js +19 -11
  17. package/dist-lib/lib/tools/exec/adapters/python/worker/client.d.ts +2 -1
  18. package/dist-lib/lib/tools/exec/adapters/python/worker/client.js +16 -3
  19. package/dist-lib/lib/tools/exec/adapters/python/worker/entry.js +15 -2
  20. package/dist-lib/lib/tools/exec/adapters/python/worker/protocol.d.ts +6 -0
  21. package/dist-lib/lib/tools/exec/adapters/python/worker/protocol.js +6 -2
  22. package/dist-lib/lib/tools/exec/adapters/python/worker/spawn-bare.d.ts +1 -0
  23. package/dist-lib/lib/tools/exec/adapters/python/worker/spawn-bare.js +8 -0
  24. package/dist-lib/lib/tools/exec/adapters/python/worker/spawn-node.d.ts +1 -0
  25. package/dist-lib/lib/tools/exec/adapters/python/worker/spawn-node.js +8 -0
  26. package/dist-lib/lib/tools/exec.js +36 -3
  27. package/package.json +11 -1
package/CHANGELOG.md CHANGED
@@ -8,6 +8,53 @@ While the major version is `0`, a breaking change bumps the minor version.
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## [0.3.2] - 2026-09-23
12
+
13
+ ### Changed
14
+
15
+ - A networked python run's approval prompt lists every host its source names in
16
+ a URL, or says it names none. On an approved run those hosts (and their `www.`
17
+ form) are reached without asking. Any other host is asked about through
18
+ `askUser` before it is resolved, and silence past a minute counts as a no. A
19
+ host that does not wire `askUser` refuses every unnamed host. (#109)
20
+
21
+ ### Fixed
22
+
23
+ - A python call reached the network whenever the runtime allowed it, so an
24
+ auto-run read call, such as a document build that loads an image from a URL,
25
+ could reach the web without anyone approving it. The network now opens only to
26
+ a call a person approved or that skip-all allowed. (#108)
27
+ - A timed-out python run on a host with no worker thread spun forever. It is now
28
+ interrupted at the deadline. (#104)
29
+ - A timed-out python run on the worker could miss its SIGINT, which killed the
30
+ worker along with the interpreter's state. The interrupt is resent until the
31
+ run settles. (#112)
32
+ - A python run that failed partway through a save attached the half-written
33
+ file. A non-zero exit now attaches nothing and reports every declared output in
34
+ `missingOutputs`. (#110)
35
+
36
+ ## [0.3.1] - 2026-09-23
37
+
38
+ ### Added
39
+
40
+ - Python in `exec` reaches the network on Bare: `urllib`, `http.client` and
41
+ `requests` go through the host's guarded fetch. (#94)
42
+ - `SkillOAuthConfig.verify`: an optional probe a skill manifest declares, so a
43
+ host can check a fresh token before saving it. It is carried over the wire.
44
+ (#105)
45
+ - A skill operation may name `response.decode` to turn a provider response into
46
+ a compact shape, starting with `gmail-message`. (#69)
47
+
48
+ ### Fixed
49
+
50
+ - A malformed `<tool_call>` left its JSON arguments in the reply. The whole span
51
+ is now stripped. (#100)
52
+ - A misspelt, placeholder or repeated `skill` load returned an error the model
53
+ retried. It now resolves to the file that was meant, or to the already-loaded
54
+ body. (#101)
55
+ - When the model reached for `pip` or a video tool on the shell path, the
56
+ redirect it got now names the call that works. (#71)
57
+
11
58
  ## [0.3.0] - 2026-09-23
12
59
 
13
60
  ### Added
@@ -193,7 +240,9 @@ Tagged but never published to npm; these changes first shipped in 0.2.12.
193
240
  and the hash-pinned Python wheels), and `prebuilds-manifest.json` naming the
194
241
  native addons it defers (#13, #15)
195
242
 
196
- [Unreleased]: https://github.com/tetherto/qvac-harness/compare/v0.3.0...HEAD
243
+ [Unreleased]: https://github.com/tetherto/qvac-harness/compare/v0.3.2...HEAD
244
+ [0.3.2]: https://github.com/tetherto/qvac-harness/compare/v0.3.1...v0.3.2
245
+ [0.3.1]: https://github.com/tetherto/qvac-harness/compare/v0.3.0...v0.3.1
197
246
  [0.3.0]: https://github.com/tetherto/qvac-harness/compare/v0.2.12...v0.3.0
198
247
  [0.2.12]: https://github.com/tetherto/qvac-harness/compare/v0.2.11...v0.2.12
199
248
  [0.2.11]: https://github.com/tetherto/qvac-harness/compare/v0.2.10...v0.2.11