@qvac/harness 1.0.0-rc.9 → 1.0.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 +696 -7
- package/NOTICE.md +0 -16
- package/README.md +46 -5
- package/dist-lib/index.d.ts +23 -16
- package/dist-lib/index.js +127 -23
- package/dist-lib/lib/agent/delegate.d.ts +1 -0
- package/dist-lib/lib/agent/delegate.js +10 -9
- package/dist-lib/lib/agent/follow.d.ts +1 -0
- package/dist-lib/lib/agent/follow.js +12 -2
- package/dist-lib/lib/agent/resolve.js +11 -3
- package/dist-lib/lib/agent/tools.d.ts +1 -0
- package/dist-lib/lib/agent/tools.js +1 -1
- package/dist-lib/lib/capabilities/agent-ports.d.ts +1 -1
- package/dist-lib/lib/capabilities/agent-ports.js +8 -1
- package/dist-lib/lib/capabilities/completion-engine/actors/answering.js +2 -2
- package/dist-lib/lib/capabilities/completion-engine/actors/direct-search.js +1 -1
- package/dist-lib/lib/capabilities/completion-engine/actors/execute.d.ts +1 -1
- package/dist-lib/lib/capabilities/completion-engine/actors/executing.d.ts +2 -1
- package/dist-lib/lib/capabilities/completion-engine/actors/executing.js +79 -9
- package/dist-lib/lib/capabilities/completion-engine/actors/execution-plan.js +12 -4
- package/dist-lib/lib/capabilities/completion-engine/actors/inspect-prepare.js +1 -1
- package/dist-lib/lib/capabilities/completion-engine/actors/inspecting.d.ts +1 -1
- package/dist-lib/lib/capabilities/completion-engine/actors/inspecting.js +13 -8
- package/dist-lib/lib/capabilities/completion-engine/actors/loading-skill.js +3 -2
- package/dist-lib/lib/capabilities/completion-engine/actors/preparing.js +47 -22
- package/dist-lib/lib/capabilities/completion-engine/actors/rejecting.js +5 -4
- package/dist-lib/lib/capabilities/completion-engine/actors/resolving.js +10 -4
- package/dist-lib/lib/capabilities/completion-engine/actors/retrieving.d.ts +2 -1
- package/dist-lib/lib/capabilities/completion-engine/actors/retrieving.js +19 -11
- package/dist-lib/lib/capabilities/completion-engine/actors/run-prepare.js +38 -23
- package/dist-lib/lib/capabilities/completion-engine/actors/skill-step.js +31 -10
- package/dist-lib/lib/capabilities/completion-engine/actors/stream.d.ts +5 -3
- package/dist-lib/lib/capabilities/completion-engine/actors/stream.js +61 -7
- package/dist-lib/lib/capabilities/completion-engine/actors/streaming.js +41 -16
- package/dist-lib/lib/capabilities/completion-engine/actors/wrap-up.js +26 -10
- package/dist-lib/lib/capabilities/completion-engine/actors.d.ts +1 -0
- package/dist-lib/lib/capabilities/completion-engine/actors.js +8 -8
- package/dist-lib/lib/capabilities/completion-engine/driver.d.ts +0 -1
- package/dist-lib/lib/capabilities/completion-engine/driver.js +30 -6
- package/dist-lib/lib/capabilities/completion-engine/durable.d.ts +2 -1
- package/dist-lib/lib/capabilities/completion-engine/durable.js +7 -1
- package/dist-lib/lib/capabilities/completion-engine/engine.d.ts +2 -0
- package/dist-lib/lib/capabilities/completion-engine/engine.js +35 -15
- package/dist-lib/lib/capabilities/completion-engine/index.d.ts +0 -1
- package/dist-lib/lib/capabilities/completion-engine/loop.d.ts +13 -3
- package/dist-lib/lib/capabilities/completion-engine/loop.js +7 -2
- package/dist-lib/lib/capabilities/completion-engine/model-round.d.ts +4 -1
- package/dist-lib/lib/capabilities/completion-engine/model-round.js +2 -0
- package/dist-lib/lib/capabilities/completion-engine/operations.js +29 -9
- package/dist-lib/lib/capabilities/completion-engine/ports.d.ts +1 -0
- package/dist-lib/lib/capabilities/completion-engine/ports.js +6 -4
- package/dist-lib/lib/capabilities/completion-engine/prepare-step.d.ts +4 -1
- package/dist-lib/lib/capabilities/completion-engine/round.d.ts +14 -0
- package/dist-lib/lib/capabilities/completion-engine/round.js +102 -47
- package/dist-lib/lib/capabilities/completion-engine/session.d.ts +5 -3
- package/dist-lib/lib/capabilities/completion-engine/session.js +1 -0
- package/dist-lib/lib/capabilities/completion-engine/tool-caller.js +3 -1
- package/dist-lib/lib/capabilities/completion-engine/tool-execution.d.ts +5 -41
- package/dist-lib/lib/capabilities/completion-engine/tool-execution.js +21 -135
- package/dist-lib/lib/capabilities/completion-engine/tool-outcome.d.ts +4 -0
- package/dist-lib/lib/capabilities/completion-engine/tool-outcome.js +40 -0
- package/dist-lib/lib/capabilities/completion-engine/tool-preflight.d.ts +43 -0
- package/dist-lib/lib/capabilities/completion-engine/tool-preflight.js +91 -0
- package/dist-lib/lib/capabilities/completion-engine/transition-log.d.ts +14 -0
- package/dist-lib/lib/capabilities/completion-engine/transition-log.js +44 -0
- package/dist-lib/lib/capabilities/completion-engine/turns.d.ts +4 -0
- package/dist-lib/lib/capabilities/completion-engine/turns.js +36 -8
- package/dist-lib/lib/capabilities/enhance.js +3 -3
- package/dist-lib/lib/capabilities/kv-cache.js +11 -3
- package/dist-lib/lib/capabilities/prefix-template.d.ts +34 -0
- package/dist-lib/lib/capabilities/prefix-template.js +175 -0
- package/dist-lib/lib/capabilities/prompt-prefix.d.ts +2 -0
- package/dist-lib/lib/capabilities/prompt-prefix.js +8 -0
- package/dist-lib/lib/capabilities/sdk-tool.d.ts +4 -4
- package/dist-lib/lib/capabilities/sdk-tool.js +22 -6
- package/dist-lib/lib/capabilities/skill-entry.d.ts +13 -1
- package/dist-lib/lib/capabilities/skill-entry.js +33 -2
- package/dist-lib/lib/capabilities/tool-failed-note.d.ts +1 -0
- package/dist-lib/lib/capabilities/tool-failed-note.js +1 -0
- package/dist-lib/lib/capabilities/tool-turns/answered.d.ts +15 -0
- package/dist-lib/lib/capabilities/tool-turns/answered.js +16 -0
- package/dist-lib/lib/capabilities/tool-turns/attachments.d.ts +7 -0
- package/dist-lib/lib/capabilities/tool-turns/attachments.js +39 -0
- package/dist-lib/lib/capabilities/tool-turns/copy.d.ts +13 -0
- package/dist-lib/lib/capabilities/tool-turns/copy.js +29 -0
- package/dist-lib/lib/capabilities/tool-turns/result-turn.d.ts +22 -0
- package/dist-lib/lib/capabilities/tool-turns/result-turn.js +120 -0
- package/dist-lib/lib/capabilities/tool-turns/run-limits.d.ts +6 -0
- package/dist-lib/lib/capabilities/tool-turns/run-limits.js +32 -0
- package/dist-lib/lib/capabilities/tool-turns/skill-loads.d.ts +9 -0
- package/dist-lib/lib/capabilities/tool-turns/skill-loads.js +71 -0
- package/dist-lib/lib/capabilities/tool-turns.d.ts +10 -43
- package/dist-lib/lib/capabilities/tool-turns.js +7 -262
- package/dist-lib/lib/capabilities/usage-breakdown.d.ts +1 -0
- package/dist-lib/lib/capabilities/usage-breakdown.js +4 -1
- package/dist-lib/lib/client/index.js +6 -5
- package/dist-lib/lib/connect/abort.d.ts +6 -0
- package/dist-lib/lib/connect/abort.js +52 -0
- package/dist-lib/lib/connect/bridges.d.ts +21 -0
- package/dist-lib/lib/connect/bridges.js +185 -0
- package/dist-lib/lib/connect/decode.d.ts +31 -0
- package/dist-lib/lib/connect/decode.js +114 -0
- package/dist-lib/lib/connect/host-run-log.d.ts +20 -0
- package/dist-lib/lib/connect/host-run-log.js +89 -0
- package/dist-lib/lib/connect/round-log.d.ts +8 -0
- package/dist-lib/lib/connect/round-log.js +33 -0
- package/dist-lib/lib/connect/served.d.ts +7 -0
- package/dist-lib/lib/connect/served.js +45 -0
- package/dist-lib/lib/connect.d.ts +5 -1
- package/dist-lib/lib/connect.js +102 -444
- package/dist-lib/lib/context-window.d.ts +13 -6
- package/dist-lib/lib/context-window.js +18 -5
- package/dist-lib/lib/contract/agent.d.ts +18 -1
- package/dist-lib/lib/contract/completion.d.ts +35 -3
- package/dist-lib/lib/contract/drive.d.ts +154 -4
- package/dist-lib/lib/contract/exec.d.ts +1 -0
- package/dist-lib/lib/contract/index.d.ts +1 -0
- package/dist-lib/lib/contract/knowledge.d.ts +10 -0
- package/dist-lib/lib/contract/media.d.ts +58 -0
- package/dist-lib/lib/contract/models.d.ts +6 -2
- package/dist-lib/lib/contract/ocr.d.ts +17 -0
- package/dist-lib/lib/contract/ocr.js +1 -0
- package/dist-lib/lib/contract/root-search.d.ts +34 -0
- package/dist-lib/lib/contract/root-search.js +1 -0
- package/dist-lib/lib/contract/run.d.ts +13 -0
- package/dist-lib/lib/contract-types.d.ts +10 -2
- package/dist-lib/lib/docx/index.js +1 -1
- package/dist-lib/lib/errors.d.ts +8 -4
- package/dist-lib/lib/errors.js +12 -8
- package/dist-lib/lib/fold/index.d.ts +4 -2
- package/dist-lib/lib/fold/index.js +15 -7
- package/dist-lib/lib/guards.d.ts +2 -0
- package/dist-lib/lib/guards.js +7 -0
- package/dist-lib/lib/hardware/capability-probe.js +10 -7
- package/dist-lib/lib/hardware/gpu-probe-addon.js +26 -11
- package/dist-lib/lib/hardware/gpu-stats.native.cjs +17 -1
- package/dist-lib/lib/helpers/completion-params.d.ts +2 -1
- package/dist-lib/lib/helpers/completion-params.js +18 -2
- package/dist-lib/lib/helpers/control-tokens.d.ts +3 -0
- package/dist-lib/lib/helpers/control-tokens.js +25 -0
- package/dist-lib/lib/helpers/drain.d.ts +1 -1
- package/dist-lib/lib/helpers/drain.js +1 -1
- package/dist-lib/lib/helpers/goal-check/asks.d.ts +25 -0
- package/dist-lib/lib/helpers/goal-check/asks.js +52 -0
- package/dist-lib/lib/helpers/goal-check/checks.d.ts +8 -0
- package/dist-lib/lib/helpers/goal-check/checks.js +92 -0
- package/dist-lib/lib/helpers/goal-check/commands.d.ts +7 -0
- package/dist-lib/lib/helpers/goal-check/commands.js +130 -0
- package/dist-lib/lib/helpers/goal-check/paths.d.ts +5 -0
- package/dist-lib/lib/helpers/goal-check/paths.js +44 -0
- package/dist-lib/lib/helpers/goal-check/shell.d.ts +9 -0
- package/dist-lib/lib/helpers/goal-check/shell.js +96 -0
- package/dist-lib/lib/helpers/goal-check.d.ts +36 -6
- package/dist-lib/lib/helpers/goal-check.js +34 -98
- package/dist-lib/lib/helpers/html-helpers.js +9 -6
- package/dist-lib/lib/helpers/recent-map.d.ts +7 -0
- package/dist-lib/lib/helpers/recent-map.js +23 -0
- package/dist-lib/lib/helpers/repeated-reply.js +9 -2
- package/dist-lib/lib/helpers/root-search.d.ts +3 -0
- package/dist-lib/lib/helpers/root-search.js +74 -0
- package/dist-lib/lib/helpers/run-latency.d.ts +14 -0
- package/dist-lib/lib/helpers/run-latency.js +63 -0
- package/dist-lib/lib/helpers/run-outcome.d.ts +2 -0
- package/dist-lib/lib/helpers/run-outcome.js +6 -2
- package/dist-lib/lib/helpers/spawn-path.d.ts +1 -0
- package/dist-lib/lib/helpers/spawn-path.js +2 -1
- package/dist-lib/lib/helpers/stable-stringify.js +10 -2
- package/dist-lib/lib/helpers/text-coalescer.d.ts +6 -0
- package/dist-lib/lib/helpers/text-coalescer.js +44 -4
- package/dist-lib/lib/helpers/tool-call-markup/emit.d.ts +6 -0
- package/dist-lib/lib/helpers/tool-call-markup/emit.js +15 -0
- package/dist-lib/lib/helpers/tool-call-markup/recover.d.ts +22 -0
- package/dist-lib/lib/helpers/tool-call-markup/recover.js +130 -0
- package/dist-lib/lib/helpers/tool-call-markup/skill-recovery.d.ts +3 -0
- package/dist-lib/lib/helpers/tool-call-markup/skill-recovery.js +56 -0
- package/dist-lib/lib/helpers/tool-call-markup/strip.d.ts +4 -0
- package/dist-lib/lib/helpers/tool-call-markup/strip.js +157 -0
- package/dist-lib/lib/helpers/tool-call-markup.d.ts +19 -24
- package/dist-lib/lib/helpers/tool-call-markup.js +17 -343
- package/dist-lib/lib/lifecycle/completion-run.js +2 -2
- package/dist-lib/lib/log.d.ts +3 -0
- package/dist-lib/lib/log.js +17 -1
- package/dist-lib/lib/machine/completion/actions/completion.d.ts +13 -16
- package/dist-lib/lib/machine/completion/actions/completion.js +110 -138
- package/dist-lib/lib/machine/completion/actions/goal.d.ts +10 -0
- package/dist-lib/lib/machine/completion/actions/goal.js +93 -0
- package/dist-lib/lib/machine/completion/actions/prepare.js +2 -1
- package/dist-lib/lib/machine/completion/actions/reject-tool.d.ts +16 -0
- package/dist-lib/lib/machine/completion/actions/reject-tool.js +147 -0
- package/dist-lib/lib/machine/completion/actions/retry-round.d.ts +6 -0
- package/dist-lib/lib/machine/completion/actions/retry-round.js +50 -0
- package/dist-lib/lib/machine/completion/actions/rounds.d.ts +5 -0
- package/dist-lib/lib/machine/completion/actions/rounds.js +31 -0
- package/dist-lib/lib/machine/completion/actions/tools.d.ts +1 -16
- package/dist-lib/lib/machine/completion/actions/tools.js +73 -151
- package/dist-lib/lib/machine/completion/context.js +6 -1
- package/dist-lib/lib/machine/completion/guards/retry.d.ts +2 -1
- package/dist-lib/lib/machine/completion/guards/retry.js +4 -3
- package/dist-lib/lib/machine/completion/implementations.d.ts +8 -5
- package/dist-lib/lib/machine/completion/implementations.js +22 -7
- package/dist-lib/lib/machine/completion/machine.d.ts +15 -6
- package/dist-lib/lib/machine/completion/machine.js +25 -5
- package/dist-lib/lib/machine/completion/metrics.d.ts +25 -0
- package/dist-lib/lib/machine/completion/metrics.js +70 -0
- package/dist-lib/lib/machine/completion/nudges.d.ts +5 -0
- package/dist-lib/lib/machine/completion/nudges.js +33 -0
- package/dist-lib/lib/machine/completion/rules.d.ts +10 -33
- package/dist-lib/lib/machine/completion/rules.js +27 -103
- package/dist-lib/lib/machine/completion/splice.d.ts +9 -0
- package/dist-lib/lib/machine/completion/splice.js +19 -0
- package/dist-lib/lib/machine/completion/types.d.ts +37 -13
- package/dist-lib/lib/machine/index.d.ts +21 -7
- package/dist-lib/lib/machine/index.js +7 -2
- package/dist-lib/lib/media-host.d.ts +12 -0
- package/dist-lib/lib/media-host.js +52 -0
- package/dist-lib/lib/media-port.d.ts +20 -0
- package/dist-lib/lib/media-port.js +77 -0
- package/dist-lib/lib/media-wire.d.ts +8 -0
- package/dist-lib/lib/media-wire.js +111 -0
- package/dist-lib/lib/models/context-choice.js +8 -1
- package/dist-lib/lib/models/custom-model-cache.d.ts +1 -0
- package/dist-lib/lib/models/custom-model-cache.js +3 -0
- package/dist-lib/lib/models/gguf-header.d.ts +6 -0
- package/dist-lib/lib/models/gguf-header.js +38 -1
- package/dist-lib/lib/models/gpu-selection.d.ts +6 -1
- package/dist-lib/lib/models/gpu-selection.js +29 -5
- package/dist-lib/lib/models/kv-cache.d.ts +2 -0
- package/dist-lib/lib/models/kv-cache.js +8 -0
- package/dist-lib/lib/models/llm-presets.js +27 -1
- package/dist-lib/lib/models/load-requests.d.ts +9 -0
- package/dist-lib/lib/models/load-requests.js +42 -0
- package/dist-lib/lib/models/model-catalog-constants.d.ts +3 -2
- package/dist-lib/lib/models/model-catalog-constants.js +8 -5
- package/dist-lib/lib/models/model-catalog.d.ts +12 -3
- package/dist-lib/lib/models/model-catalog.js +40 -16
- package/dist-lib/lib/models/model-delete.js +3 -0
- package/dist-lib/lib/models/model-handle.d.ts +1 -0
- package/dist-lib/lib/models/model-list.d.ts +2 -1
- package/dist-lib/lib/models/model-list.js +5 -1
- package/dist-lib/lib/models/model-pool.d.ts +7 -1
- package/dist-lib/lib/models/model-pool.js +34 -13
- package/dist-lib/lib/models/tts-model-default.d.ts +2 -1
- package/dist-lib/lib/models/tts-model-default.js +8 -6
- package/dist-lib/lib/no-redirect-fetch-impl.d.ts +2 -1
- package/dist-lib/lib/no-redirect-fetch-impl.js +45 -8
- package/dist-lib/lib/office/index.js +1 -1
- package/dist-lib/lib/plugins/registry.d.ts +12 -0
- package/dist-lib/lib/plugins/registry.js +71 -15
- package/dist-lib/lib/plugins/require-bare.d.ts +1 -0
- package/dist-lib/lib/plugins/require-bare.js +13 -0
- package/dist-lib/lib/prompt.d.ts +7 -4
- package/dist-lib/lib/prompt.js +81 -24
- package/dist-lib/lib/residency/completion-runtime.d.ts +8 -6
- package/dist-lib/lib/residency/completion-runtime.js +53 -9
- package/dist-lib/lib/residency/index.d.ts +12 -3
- package/dist-lib/lib/residency/index.js +52 -16
- package/dist-lib/lib/round-host.js +3 -3
- package/dist-lib/lib/round-port.js +3 -3
- package/dist-lib/lib/run-log/boundary.d.ts +1 -4
- package/dist-lib/lib/run-log/boundary.js +4 -21
- package/dist-lib/lib/run-log/history-codec.d.ts +1 -1
- package/dist-lib/lib/run-log/history-codec.js +3 -3
- package/dist-lib/lib/run-log/protocol.js +17 -16
- package/dist-lib/lib/run-log/redact.d.ts +10 -1
- package/dist-lib/lib/run-log/redact.js +99 -9
- package/dist-lib/lib/run-log/request-codec.d.ts +3 -0
- package/dist-lib/lib/run-log/request-codec.js +19 -4
- package/dist-lib/lib/run-log/run-journal.js +1 -1
- package/dist-lib/lib/sdk-loader.d.ts +1 -0
- package/dist-lib/lib/sdk-loader.js +14 -0
- package/dist-lib/lib/serve/completion.d.ts +7 -0
- package/dist-lib/lib/serve/completion.js +571 -0
- package/dist-lib/lib/serve/downloads.d.ts +4 -0
- package/dist-lib/lib/serve/downloads.js +79 -0
- package/dist-lib/lib/serve/models.d.ts +5 -0
- package/dist-lib/lib/serve/models.js +120 -0
- package/dist-lib/lib/serve/noop.d.ts +1 -0
- package/dist-lib/lib/serve/noop.js +1 -0
- package/dist-lib/lib/serve/requests.d.ts +148 -0
- package/dist-lib/lib/serve/requests.js +1 -0
- package/dist-lib/lib/serve/rounds.d.ts +11 -0
- package/dist-lib/lib/serve/rounds.js +67 -0
- package/dist-lib/lib/serve/run-log-start.d.ts +37 -0
- package/dist-lib/lib/serve/run-log-start.js +253 -0
- package/dist-lib/lib/serve/skills.d.ts +32 -0
- package/dist-lib/lib/serve/skills.js +46 -0
- package/dist-lib/lib/serve.d.ts +5 -1
- package/dist-lib/lib/serve.js +23 -995
- package/dist-lib/lib/sidecar/index.d.ts +1 -1
- package/dist-lib/lib/sidecar/index.js +11 -19
- package/dist-lib/lib/sidecar/user-plugins.js +6 -4
- package/dist-lib/lib/skills-host/index.d.ts +6 -3
- package/dist-lib/lib/skills-host/index.js +39 -18
- package/dist-lib/lib/spawn.d.ts +14 -0
- package/dist-lib/lib/spawn.js +9 -5
- package/dist-lib/lib/tools/ask-user.d.ts +2 -0
- package/dist-lib/lib/tools/ask-user.js +137 -0
- package/dist-lib/lib/tools/attachments/delivered.d.ts +5 -0
- package/dist-lib/lib/tools/attachments/delivered.js +16 -0
- package/dist-lib/lib/tools/attachments/fetched-file.d.ts +32 -0
- package/dist-lib/lib/tools/attachments/fetched-file.js +134 -0
- package/dist-lib/lib/tools/attachments/staging.d.ts +1 -0
- package/dist-lib/lib/tools/attachments/staging.js +18 -22
- package/dist-lib/lib/tools/exec/runner.d.ts +4 -0
- package/dist-lib/lib/tools/exec/runner.js +20 -3
- package/dist-lib/lib/tools/exec.js +2 -1
- package/dist-lib/lib/tools/files/edit-file.d.ts +4 -1
- package/dist-lib/lib/tools/files/edit-file.js +220 -28
- package/dist-lib/lib/tools/files/glob.js +72 -11
- package/dist-lib/lib/tools/files/grep.js +65 -22
- package/dist-lib/lib/tools/files/index.js +3 -1
- package/dist-lib/lib/tools/files/read-file.js +199 -36
- package/dist-lib/lib/tools/fs/document-text.d.ts +7 -1
- package/dist-lib/lib/tools/fs/document-text.js +5 -21
- package/dist-lib/lib/tools/fs/drive.d.ts +1 -17
- package/dist-lib/lib/tools/fs/edit-match.d.ts +22 -0
- package/dist-lib/lib/tools/fs/edit-match.js +337 -45
- package/dist-lib/lib/tools/fs/engine.d.ts +9 -0
- package/dist-lib/lib/tools/fs/engine.js +28 -0
- package/dist-lib/lib/tools/fs/remote-protocol.d.ts +1 -81
- package/dist-lib/lib/tools/fs/scope.d.ts +2 -17
- package/dist-lib/lib/tools/fs/search.d.ts +2 -18
- package/dist-lib/lib/tools/fs/suggest.d.ts +8 -0
- package/dist-lib/lib/tools/fs/suggest.js +110 -0
- package/dist-lib/lib/tools/fs/tool-path.d.ts +3 -0
- package/dist-lib/lib/tools/fs/tool-path.js +13 -0
- package/dist-lib/lib/tools/fs/walk.d.ts +5 -5
- package/dist-lib/lib/tools/fs/walk.js +22 -21
- package/dist-lib/lib/tools/http-request/request.d.ts +4 -2
- package/dist-lib/lib/tools/http-request/request.js +2 -1
- package/dist-lib/lib/tools/http-request/truncate-response.d.ts +16 -1
- package/dist-lib/lib/tools/http-request/truncate-response.js +56 -11
- package/dist-lib/lib/tools/http-request.d.ts +1 -0
- package/dist-lib/lib/tools/http-request.js +88 -14
- package/dist-lib/lib/tools/index.d.ts +3 -1
- package/dist-lib/lib/tools/index.js +6 -2
- package/dist-lib/lib/tools/office/ops.d.ts +1 -0
- package/dist-lib/lib/tools/office/ops.js +5 -1
- package/dist-lib/lib/tools/office.d.ts +3 -2
- package/dist-lib/lib/tools/office.js +200 -39
- package/dist-lib/lib/tools/operations/builders.d.ts +4 -3
- package/dist-lib/lib/tools/operations/builders.js +41 -3
- package/dist-lib/lib/tools/operations/calendar-range.d.ts +16 -0
- package/dist-lib/lib/tools/operations/calendar-range.js +40 -0
- package/dist-lib/lib/tools/operations/compile.js +8 -6
- package/dist-lib/lib/tools/operations/manifest.d.ts +4 -0
- package/dist-lib/lib/tools/pdf/build.d.ts +13 -3
- package/dist-lib/lib/tools/pdf/build.js +52 -16
- package/dist-lib/lib/tools/pdf/pages.d.ts +12 -0
- package/dist-lib/lib/tools/pdf/pages.js +31 -0
- package/dist-lib/lib/tools/pdf/recognize.d.ts +13 -0
- package/dist-lib/lib/tools/pdf/recognize.js +55 -0
- package/dist-lib/lib/tools/pdf/request.d.ts +3 -8
- package/dist-lib/lib/tools/pdf/request.js +4 -4
- package/dist-lib/lib/tools/pdf.d.ts +0 -1
- package/dist-lib/lib/tools/pdf.js +42 -14
- package/dist-lib/lib/tools/skill.js +13 -4
- package/dist-lib/lib/tools/skills/bundled-dir.d.ts +8 -1
- package/dist-lib/lib/tools/skills/bundled-dir.js +38 -32
- package/dist-lib/lib/tools/skills/bundled-hash.d.ts +1 -0
- package/dist-lib/lib/tools/skills/bundled-hash.js +4 -1
- package/dist-lib/lib/tools/skills/catalog-loader.d.ts +12 -0
- package/dist-lib/lib/tools/skills/catalog-loader.js +173 -0
- package/dist-lib/lib/tools/skills/catalog.d.ts +5 -8
- package/dist-lib/lib/tools/skills/catalog.js +1 -162
- package/dist-lib/lib/tools/skills/credential-check.d.ts +1 -0
- package/dist-lib/lib/tools/skills/credential-check.js +3 -0
- package/dist-lib/lib/tools/skills/index.d.ts +1 -0
- package/dist-lib/lib/tools/skills/index.js +1 -0
- package/dist-lib/lib/tools/skills/manifest-parse.js +27 -3
- package/dist-lib/lib/tools/skills/manifest.d.ts +1 -0
- package/dist-lib/lib/tools/skills/overlay-crud.d.ts +3 -3
- package/dist-lib/lib/tools/skills/overlay-crud.js +4 -4
- package/dist-lib/lib/tools/skills/overlay-watch.d.ts +2 -2
- package/dist-lib/lib/tools/skills/overlay-watch.js +4 -3
- package/dist-lib/lib/tools/skills/scope-key.d.ts +1 -0
- package/dist-lib/lib/tools/skills/scope-key.js +4 -0
- package/dist-lib/lib/tools/skills/skill-tree.d.ts +5 -0
- package/dist-lib/lib/tools/skills/skill-tree.js +54 -0
- package/dist-lib/lib/tools/toolsets.d.ts +1 -1
- package/dist-lib/lib/tools/toolsets.js +2 -0
- package/dist-lib/lib/tools/web-fetch.js +41 -130
- package/dist-lib/lib/wire/download.d.ts +10 -0
- package/dist-lib/lib/wire/download.js +35 -0
- package/dist-lib/lib/wire/event.d.ts +41 -0
- package/dist-lib/lib/wire/event.js +306 -0
- package/dist-lib/lib/wire/fields.d.ts +3 -0
- package/dist-lib/lib/wire/fields.js +12 -0
- package/dist-lib/lib/wire/knowledge.d.ts +9 -0
- package/dist-lib/lib/wire/knowledge.js +68 -0
- package/dist-lib/lib/wire/round.d.ts +14 -0
- package/dist-lib/lib/wire/round.js +45 -0
- package/dist-lib/lib/wire/vectors.d.ts +6 -0
- package/dist-lib/lib/wire/vectors.js +33 -0
- package/dist-lib/lib/wire.d.ts +28 -77
- package/dist-lib/lib/wire.js +24 -463
- package/dist-lib/plugins/charts/chart-tool.d.ts +8 -0
- package/dist-lib/plugins/charts/chart-tool.js +175 -0
- package/dist-lib/plugins/charts/index.d.ts +16 -0
- package/dist-lib/plugins/charts/index.js +21 -0
- package/dist-lib/plugins/coding-guards/index.d.ts +25 -0
- package/dist-lib/plugins/coding-guards/index.js +126 -0
- package/dist-lib/plugins/diagrams/draw.d.ts +10 -0
- package/dist-lib/plugins/diagrams/draw.js +90 -0
- package/dist-lib/plugins/diagrams/index.d.ts +13 -0
- package/dist-lib/plugins/diagrams/index.js +15 -0
- package/dist-lib/plugins/diagrams/render.d.ts +16 -0
- package/dist-lib/plugins/diagrams/render.js +285 -0
- package/dist-lib/plugins/image/edit-image.d.ts +3 -22
- package/dist-lib/plugins/image/edit-image.js +20 -44
- package/dist-lib/plugins/image/fit.d.ts +31 -0
- package/dist-lib/plugins/image/fit.js +28 -0
- package/dist-lib/plugins/image/generate-image.d.ts +24 -4
- package/dist-lib/plugins/image/generate-image.js +198 -72
- package/dist-lib/plugins/image/index.d.ts +2 -1
- package/dist-lib/plugins/image/index.js +17 -8
- package/dist-lib/plugins/knowledge/index.d.ts +3 -0
- package/dist-lib/plugins/knowledge/index.js +5 -0
- package/dist-lib/plugins/knowledge/manifest.d.ts +53 -0
- package/dist-lib/plugins/knowledge/manifest.js +86 -0
- package/dist-lib/plugins/knowledge/search-tool.js +8 -8
- package/dist-lib/plugins/knowledge/store.d.ts +45 -8
- package/dist-lib/plugins/knowledge/store.js +428 -166
- package/dist-lib/plugins/mcp/call.js +15 -4
- package/dist-lib/plugins/mcp/protocol.d.ts +10 -2
- package/dist-lib/plugins/mcp/protocol.js +13 -12
- package/dist-lib/plugins/mcp/tool-listing.d.ts +6 -0
- package/dist-lib/plugins/mcp/tool-listing.js +97 -0
- package/dist-lib/plugins/music/generate-music.d.ts +21 -4
- package/dist-lib/plugins/music/generate-music.js +168 -65
- package/dist-lib/plugins/music/index.d.ts +2 -1
- package/dist-lib/plugins/music/index.js +11 -6
- package/dist-lib/plugins/obsidian/index.js +14 -4
- package/dist-lib/plugins/ocr/bmp.d.ts +2 -0
- package/dist-lib/plugins/ocr/bmp.js +27 -0
- package/dist-lib/plugins/ocr/coverage.d.ts +3 -0
- package/dist-lib/plugins/ocr/coverage.js +67 -0
- package/dist-lib/plugins/ocr/index.d.ts +12 -0
- package/dist-lib/plugins/ocr/index.js +20 -0
- package/dist-lib/plugins/ocr/ocr-runtime.d.ts +25 -0
- package/dist-lib/plugins/ocr/ocr-runtime.js +103 -0
- package/dist-lib/plugins/ocr/reading-order.d.ts +5 -0
- package/dist-lib/plugins/ocr/reading-order.js +218 -0
- package/dist-lib/plugins/python/bare-floor.d.ts +1 -0
- package/dist-lib/plugins/python/bare-floor.js +2 -0
- package/dist-lib/plugins/python/index.d.ts +4 -1
- package/dist-lib/plugins/python/index.js +5 -1
- package/dist-lib/plugins/python/language.js +11 -10
- package/dist-lib/plugins/python/python-adapter.d.ts +6 -1
- package/dist-lib/plugins/python/python-adapter.js +34 -1
- package/dist-lib/plugins/python/worker/client.js +1 -1
- package/dist-lib/plugins/python/worker/entry.js +2 -8
- package/dist-lib/plugins/python/worker/preload.d.ts +1 -0
- package/dist-lib/plugins/python/worker/preload.js +2 -0
- package/dist-lib/plugins/python/worker/spawn.js +1 -1
- package/dist-lib/plugins/ripgrep/index.d.ts +15 -0
- package/dist-lib/plugins/ripgrep/index.js +28 -0
- package/dist-lib/plugins/run-report/story.js +4 -1
- package/dist-lib/plugins/sandbox-linux/index.js +2 -2
- package/dist-lib/plugins/sandbox-macos/index.js +2 -2
- package/dist-lib/plugins/sandbox-vm/index.d.ts +2 -1
- package/dist-lib/plugins/sandbox-vm/index.js +2 -2
- package/dist-lib/plugins/sandbox-vm/vm-shell.d.ts +3 -1
- package/dist-lib/plugins/sandbox-vm/vm-shell.js +45 -16
- package/dist-lib/plugins/sandbox-windows/index.js +2 -2
- package/dist-lib/plugins/sandbox-windows/prebuilds/win32-arm64/qvac-sandbox.exe +0 -0
- package/dist-lib/plugins/sandbox-windows/prebuilds/win32-x64/qvac-sandbox.exe +0 -0
- package/dist-lib/plugins/speech/speech-engine.d.ts +1 -1
- package/dist-lib/plugins/speech/speech-engine.js +10 -5
- package/dist-lib/plugins/speech/speech-text.d.ts +1 -0
- package/dist-lib/plugins/speech/speech-text.js +9 -4
- package/dist-lib/plugins/speech/voice.js +7 -2
- package/dist-lib/plugins/walkie-talkie/index.d.ts +2 -0
- package/dist-lib/plugins/walkie-talkie/index.js +6 -1
- package/dist-lib/plugins/weather/lookup.js +1 -0
- package/dist-lib/schema/baseline.d.ts +2 -1
- package/dist-lib/schema/baseline.js +2 -2
- package/dist-lib/schema/generate.js +8 -1
- package/dist-lib/schema/harness.js +34 -5
- package/dist-lib/schema/release-tags.d.ts +2 -1
- package/dist-lib/schema/release-tags.js +9 -10
- package/dist-lib/spec/bind.js +3 -0
- package/dist-lib/spec/calls.js +1 -0
- package/dist-lib/spec/hrpc/hrpc.json +13 -0
- package/dist-lib/spec/hrpc/index.js +15 -3
- package/dist-lib/spec/hrpc/messages.js +126 -13
- package/dist-lib/spec/hyperschema/index.js +126 -13
- package/dist-lib/spec/hyperschema/schema.json +86 -2
- package/dist-lib/spec/hyperschema/types.d.ts +18 -3
- package/package.json +96 -36
- package/scripts/addon-externals.cjs +7 -1
- package/worker/harness-sidecar.mjs +10 -0
- package/dist-lib/lib/helpers/buffer-burst.d.ts +0 -1
- package/dist-lib/lib/helpers/buffer-burst.js +0 -22
- package/dist-lib/lib/office/engine/codes.d.ts +0 -62
- package/dist-lib/lib/office/engine/codes.js +0 -61
- package/dist-lib/lib/office/engine/docx/document.d.ts +0 -216
- package/dist-lib/lib/office/engine/docx/document.js +0 -1152
- package/dist-lib/lib/office/engine/docx/index.d.ts +0 -7
- package/dist-lib/lib/office/engine/docx/index.js +0 -8
- package/dist-lib/lib/office/engine/docx/styles.d.ts +0 -31
- package/dist-lib/lib/office/engine/docx/styles.js +0 -173
- package/dist-lib/lib/office/engine/docx/template.d.ts +0 -18
- package/dist-lib/lib/office/engine/docx/template.js +0 -133
- package/dist-lib/lib/office/engine/docx/text.d.ts +0 -55
- package/dist-lib/lib/office/engine/docx/text.js +0 -538
- package/dist-lib/lib/office/engine/drawingml/chart.d.ts +0 -63
- package/dist-lib/lib/office/engine/drawingml/chart.js +0 -539
- package/dist-lib/lib/office/engine/drawingml/text.d.ts +0 -35
- package/dist-lib/lib/office/engine/drawingml/text.js +0 -352
- package/dist-lib/lib/office/engine/errors.d.ts +0 -6
- package/dist-lib/lib/office/engine/errors.js +0 -12
- package/dist-lib/lib/office/engine/image.d.ts +0 -8
- package/dist-lib/lib/office/engine/image.js +0 -48
- package/dist-lib/lib/office/engine/index.d.ts +0 -12
- package/dist-lib/lib/office/engine/index.js +0 -7
- package/dist-lib/lib/office/engine/opc/content-types.d.ts +0 -17
- package/dist-lib/lib/office/engine/opc/content-types.js +0 -74
- package/dist-lib/lib/office/engine/opc/media.d.ts +0 -13
- package/dist-lib/lib/office/engine/opc/media.js +0 -11
- package/dist-lib/lib/office/engine/opc/package.d.ts +0 -51
- package/dist-lib/lib/office/engine/opc/package.js +0 -324
- package/dist-lib/lib/office/engine/opc/paths.d.ts +0 -7
- package/dist-lib/lib/office/engine/opc/paths.js +0 -46
- package/dist-lib/lib/office/engine/opc/properties.d.ts +0 -7
- package/dist-lib/lib/office/engine/opc/properties.js +0 -75
- package/dist-lib/lib/office/engine/opc/relationships.d.ts +0 -23
- package/dist-lib/lib/office/engine/opc/relationships.js +0 -65
- package/dist-lib/lib/office/engine/opc/zip.d.ts +0 -15
- package/dist-lib/lib/office/engine/opc/zip.js +0 -264
- package/dist-lib/lib/office/engine/pptx/fit.d.ts +0 -12
- package/dist-lib/lib/office/engine/pptx/fit.js +0 -37
- package/dist-lib/lib/office/engine/pptx/index.d.ts +0 -8
- package/dist-lib/lib/office/engine/pptx/index.js +0 -8
- package/dist-lib/lib/office/engine/pptx/inherit.d.ts +0 -29
- package/dist-lib/lib/office/engine/pptx/inherit.js +0 -155
- package/dist-lib/lib/office/engine/pptx/notes.d.ts +0 -5
- package/dist-lib/lib/office/engine/pptx/notes.js +0 -85
- package/dist-lib/lib/office/engine/pptx/picture-area.d.ts +0 -23
- package/dist-lib/lib/office/engine/pptx/picture-area.js +0 -84
- package/dist-lib/lib/office/engine/pptx/presentation.d.ts +0 -56
- package/dist-lib/lib/office/engine/pptx/presentation.js +0 -787
- package/dist-lib/lib/office/engine/pptx/read.d.ts +0 -9
- package/dist-lib/lib/office/engine/pptx/read.js +0 -66
- package/dist-lib/lib/office/engine/pptx/shapes.d.ts +0 -52
- package/dist-lib/lib/office/engine/pptx/shapes.js +0 -276
- package/dist-lib/lib/office/engine/pptx/slides.d.ts +0 -27
- package/dist-lib/lib/office/engine/pptx/slides.js +0 -123
- package/dist-lib/lib/office/engine/pptx/template.d.ts +0 -20
- package/dist-lib/lib/office/engine/pptx/template.js +0 -391
- package/dist-lib/lib/office/engine/pptx/types.d.ts +0 -121
- package/dist-lib/lib/office/engine/units.d.ts +0 -3
- package/dist-lib/lib/office/engine/units.js +0 -12
- package/dist-lib/lib/office/engine/utf8.d.ts +0 -2
- package/dist-lib/lib/office/engine/utf8.js +0 -103
- package/dist-lib/lib/office/engine/xlsx/formula.d.ts +0 -49
- package/dist-lib/lib/office/engine/xlsx/formula.js +0 -381
- package/dist-lib/lib/office/engine/xlsx/index.d.ts +0 -8
- package/dist-lib/lib/office/engine/xlsx/index.js +0 -8
- package/dist-lib/lib/office/engine/xlsx/refs.d.ts +0 -22
- package/dist-lib/lib/office/engine/xlsx/refs.js +0 -82
- package/dist-lib/lib/office/engine/xlsx/reshape.d.ts +0 -21
- package/dist-lib/lib/office/engine/xlsx/reshape.js +0 -424
- package/dist-lib/lib/office/engine/xlsx/sheet.d.ts +0 -108
- package/dist-lib/lib/office/engine/xlsx/sheet.js +0 -662
- package/dist-lib/lib/office/engine/xlsx/strings.d.ts +0 -15
- package/dist-lib/lib/office/engine/xlsx/strings.js +0 -93
- package/dist-lib/lib/office/engine/xlsx/styles.d.ts +0 -38
- package/dist-lib/lib/office/engine/xlsx/styles.js +0 -369
- package/dist-lib/lib/office/engine/xlsx/template.d.ts +0 -7
- package/dist-lib/lib/office/engine/xlsx/template.js +0 -54
- package/dist-lib/lib/office/engine/xlsx/workbook.d.ts +0 -162
- package/dist-lib/lib/office/engine/xlsx/workbook.js +0 -881
- package/dist-lib/lib/office/engine/xlsx/write.d.ts +0 -2
- package/dist-lib/lib/office/engine/xlsx/write.js +0 -42
- package/dist-lib/lib/office/engine/xml.d.ts +0 -45
- package/dist-lib/lib/office/engine/xml.js +0 -258
- package/patches/localwatch@1.4.3.patch +0 -13
- /package/dist-lib/lib/{office/engine/pptx/types.js → contract/media.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -12,6 +12,8 @@ API had in that release; a breaking change shows the call before and after.
|
|
|
12
12
|
|
|
13
13
|
## [Unreleased]
|
|
14
14
|
|
|
15
|
+
## [1.0.0] - 2026-11-17
|
|
16
|
+
|
|
15
17
|
1.0 makes the harness a small core that plugins extend. Speech, translation,
|
|
16
18
|
image, music, weather, web search, Obsidian, Python and MCP are now plugins a
|
|
17
19
|
host composes as instances, and the harness builds `exec` from what they
|
|
@@ -21,6 +23,184 @@ breaking change is listed under Changed and Removed.
|
|
|
21
23
|
|
|
22
24
|
### Added
|
|
23
25
|
|
|
26
|
+
- A new chat's first turn starts from a primed copy of the system prompt and tool block instead of
|
|
27
|
+
decoding them. After a keyed run, once the model is idle, the harness prefills a template for that
|
|
28
|
+
model, system text and tool set; a later chat with no cache of its own copies it on round 0. On
|
|
29
|
+
Qwen3.5-9B a fresh chat decodes 3,929 prompt tokens instead of 8,083 and TTFT drops from 21.7 s to
|
|
30
|
+
15.2 s. Needs `sdkHome`; see _Prefix template_ in [docs/kvcache-reference.md](docs/kvcache-reference.md)
|
|
31
|
+
([#899](https://github.com/tetherto/qvac-harness/pull/899)).
|
|
32
|
+
|
|
33
|
+
- A run logs each change of its completion state at debug, one line naming the
|
|
34
|
+
run, the state it left, the state it entered, the event that moved it and the
|
|
35
|
+
round: `completion transition {"runId":"…","from":"active.generating","to":"active.resolving","event":"…","round":0}`.
|
|
36
|
+
A resumed run first logs the state it restored into. Nothing of the
|
|
37
|
+
conversation is logged, and nothing is built unless debug is on.
|
|
38
|
+
|
|
39
|
+
- A connected host logs, at debug, each model or media round the worker hands it
|
|
40
|
+
(`model round asked {runId, callId, round}`, then `model round end {callId, outcome, ms}`
|
|
41
|
+
with `answered`, `failed` or `cancelled`), and each run-log append with its
|
|
42
|
+
duration. The first append in a run that takes over a second is a warning.
|
|
43
|
+
`client wire ended` names why the wire ended (`finished`, `aborted`, `paused`
|
|
44
|
+
or `error`), and `wire handed off` names its run.
|
|
45
|
+
|
|
46
|
+
- `plugins/ripgrep` lets `grep` and `glob` search a shared local folder with ripgrep's engine instead
|
|
47
|
+
of walking and reading the drive in JavaScript, so a tree past the 10,000-entry walk cap is searched
|
|
48
|
+
whole. A regex the engine rejects falls back to the JS engine. A local root takes an optional `search`
|
|
49
|
+
and `walk`, set from the new `rootSearch` service; with no such plugin nothing changes. The native
|
|
50
|
+
addon is `bare-ripgrep`, a new optional peer. (#889)
|
|
51
|
+
|
|
52
|
+
- `grep` takes `caseSensitive` to match exact case, and `grep` and `glob` take `includeIgnored` to also
|
|
53
|
+
search what `.gitignore`, `.ignore` and cache folders leave out; `.git`, `node_modules` and `.trash`
|
|
54
|
+
stay skipped. `glob` takes `limit` (default 100, at most 500) and `offset`. A `glob` that finds more
|
|
55
|
+
than 100 paths, with neither set, now samples across the top-level folders instead of taking the
|
|
56
|
+
newest 100, and says so in a `note`; with `limit` or `offset` it pages newest first as before.
|
|
57
|
+
(#888)
|
|
58
|
+
- A host turns on speculative decoding with `llmLoad: { speculative: true }`. Qwen3.8-27B, the one
|
|
59
|
+
catalog model with a drafter (`QWEN3_8_27B_DFLASH2_Q8_0`), then decodes about 1.5× faster: 79 to
|
|
60
|
+
119 tokens a second on an H100, for about 45 ms more to the first token. The drafter downloads with
|
|
61
|
+
the model, counts toward the memory cap and is deleted with it, and a round's metrics carry
|
|
62
|
+
`draftTokens` and `draftAcceptedTokens`. It is read when the harness is created, so switching it
|
|
63
|
+
means a restart. (#884)
|
|
64
|
+
- A `Diagrams` plugin gives the model `draw_diagram`: a diagram type and its links in, and the
|
|
65
|
+
Mermaid block the app renders out, as the run's reply. It draws flowcharts, sequence, state,
|
|
66
|
+
ER and class diagrams, mind maps, timelines, Gantt charts and pies, escapes every label itself,
|
|
67
|
+
and draws a horizontal sequence as a numbered `flowchart LR`, but only when a user turn asks for
|
|
68
|
+
horizontal, left to right or sideways in words. It sits in a new `diagrams`
|
|
69
|
+
toolset, and the shipped sidecar registers it with its read grant. On the diagrams pack, with the
|
|
70
|
+
`diagrams` skill that declares it, the 2B succeeds in 180 of 198 runs against 161 and draws no
|
|
71
|
+
broken diagram against 12; the 4B 180 against 170, with none broken against 18.
|
|
72
|
+
```js
|
|
73
|
+
new Harness({ plugins: [new Diagrams({ read: ['draw_diagram'] })] })
|
|
74
|
+
```
|
|
75
|
+
(#892)
|
|
76
|
+
- `answeredToolTurns` and `isAnswer` in `@qvac/harness/lib/capabilities/tool-turns`: a call whose
|
|
77
|
+
result answered the run (`{ content, answer: true }`) has no round after it, so a host that
|
|
78
|
+
rebuilds a chat from its own record replays it with these, before the run's reply. (#892)
|
|
79
|
+
- `ToolExecuteContext.userTurns`: the user's turns as the host sent them, so a tool can check an
|
|
80
|
+
argument the model sent against what was asked. (#892)
|
|
81
|
+
- A `Charts` plugin gives the model `create_chart`: the model describes the numbers, and
|
|
82
|
+
[qvac-charts](https://github.com/tetherto/qvac-charts) picks the chart, computes shares and
|
|
83
|
+
growth, and draws a 1080×1350 SVG, saved as a chat attachment. A map of countries is drawn on
|
|
84
|
+
the world, or on the one continent that holds them all. The result carries a one-line
|
|
85
|
+
summary of what was drawn, so the model can talk about it without seeing it. A host sets the
|
|
86
|
+
default theme, which the model overrides when the user asks for a light or dark chart, and
|
|
87
|
+
passes its own brand mark; the plugin ships no logo. It sits in a new `charts`
|
|
88
|
+
toolset, is skill-gated, and the shipped sidecar registers it with its read grant and the
|
|
89
|
+
options in `pluginOptions.charts`. `qvac-charts` is a new optional peer.
|
|
90
|
+
|
|
91
|
+
```js
|
|
92
|
+
new Harness({ plugins: [new Charts({ read: ['create_chart'], theme: 'light', mark })] })
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
(#901)
|
|
96
|
+
|
|
97
|
+
- Workspace skills run in every chat of the workspace. Send them as `workspaceSkills`, shaped like
|
|
98
|
+
`projectSkills`. On a name clash the project's skill wins over the workspace's, and the workspace's
|
|
99
|
+
over your own. A workspace skill with a script asks each member by its hash, as a project skill
|
|
100
|
+
does. (#727)
|
|
101
|
+
|
|
102
|
+
- A project's skills run in its chats over your own. Send each as `{ name, hash, files }`, with `hash`
|
|
103
|
+
from `hashSkillFiles`. The harness writes the tree under its hash and layers it over the sender's
|
|
104
|
+
skills, the project's copy wins on a name clash, and a skill that joins is on. A skill whose tree has not replicated is left out until a run brings its files.
|
|
105
|
+
Each project skill joins a run only after `approve` says yes to `<name>@<hash>`, in every
|
|
106
|
+
approval mode, so a changed skill asks again. (#726)
|
|
107
|
+
|
|
108
|
+
- Image and music generation can run on a device that holds the model. A run
|
|
109
|
+
that passes `mediaRound` has `generate_image`, `edit_image` and
|
|
110
|
+
`generate_music` ask it for the model call, and the device with the model
|
|
111
|
+
answers through `serveMediaRound(request, io)`; parsing, attaching and
|
|
112
|
+
progress stay with the run. A host without the model refuses with
|
|
113
|
+
`MEDIA_MODEL_MISSING` and downloads nothing, so the caller can ask another
|
|
114
|
+
device. It crosses the sidecar and worker wire as model rounds do. An
|
|
115
|
+
`edit_image` round names its sources in `request.sources` (attachment id or
|
|
116
|
+
turn-image file, with the fitted size), so the serving device can read the
|
|
117
|
+
original and fit it itself. See [docs/hosting.md](docs/hosting.md).
|
|
118
|
+
(#845, #849, #866)
|
|
119
|
+
|
|
120
|
+
```js
|
|
121
|
+
owner.completion({ ...run, mediaRound: (request, io) => host.serveMediaRound(request, io) })
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
- A vision model sees an image a tool attaches. A call whose result attached a
|
|
125
|
+
file (`attachmentId`, or a list under `attachments`) offers it to a new host
|
|
126
|
+
port, `showImage({ attachmentId })`. The host answers with its own file for
|
|
127
|
+
the image, or `null`. Up to four a round ride the user turn that closes the
|
|
128
|
+
round, as its `attachments`, with a line naming them. A host without the
|
|
129
|
+
port changes nothing. Over the wire it is a `fetch-ask` with
|
|
130
|
+
`payload: { show: true }`, so the schema is unchanged.
|
|
131
|
+
|
|
132
|
+
```js
|
|
133
|
+
harness.completion({
|
|
134
|
+
...run,
|
|
135
|
+
showImage: async ({ attachmentId }) => imageFileFor(attachmentId) // or null
|
|
136
|
+
})
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
See [the decision record](docs/decisions/2026-11-06-a-tool-image-rides-the-turn-closing-its-round.md).
|
|
140
|
+
|
|
141
|
+
- The model can ask the user with a form. `ask_user` takes a question and its
|
|
142
|
+
fields (single choice, multiple choice, date, short text, note, number;
|
|
143
|
+
`required` per field) and waits on `askUser`, which now carries the fields as
|
|
144
|
+
`form`. The host answers with a JSON object of field id to value, or `null`
|
|
145
|
+
for Skip; any other text reaches the model as the user's own reply. A form
|
|
146
|
+
with a file pick, an unknown type or a choice without options is refused.
|
|
147
|
+
Off by default: `Tools.product({ ask: true })`, or `spawnHarness({ ask: true })`
|
|
148
|
+
for the sidecar
|
|
149
|
+
([#728](https://github.com/tetherto/qvac-harness/issues/728)).
|
|
150
|
+
- `http_request` attaches a 2xx response whose `Content-Type` names a file
|
|
151
|
+
(PDF, Office, image, audio, video, any binary) to the chat instead of
|
|
152
|
+
returning it as text, and the result carries its `attachmentId`, `fileName`,
|
|
153
|
+
`mimeType` and `byteLength`. A skill reaches a private file with the
|
|
154
|
+
credential it already holds, such as a Drive file through `alt=media`. The
|
|
155
|
+
new `fileName` argument names it; without one, the server's
|
|
156
|
+
`Content-Disposition` or the URL does. The total timeout is 120 s, up from
|
|
157
|
+
30 s; a stalled server still fails at 10 s. A text file cut to the context
|
|
158
|
+
window, such as a long log, is attached whole beside the cut text, and the
|
|
159
|
+
`truncated` note says how to stage it into `exec` to read the rest. (#812)
|
|
160
|
+
- A scanned PDF page is read by OCR. The `ocr` plugin
|
|
161
|
+
(`@qvac/harness/plugins/ocr`) runs DocTR over the SDK's `ggml-ocr` as one
|
|
162
|
+
pooled model, unloaded when idle; `pdf` and `read_file` use it for a page with
|
|
163
|
+
an image and no text layer, and the reply notes the page was read by OCR. On
|
|
164
|
+
by default; `pluginOptions.ocr: false` leaves it out for a host that shows
|
|
165
|
+
scanned pages to the model as images. See
|
|
166
|
+
[plugins/ocr/README.md](plugins/ocr/README.md) and
|
|
167
|
+
[the decision record](docs/decisions/2026-11-03-a-scanned-pdf-page-is-read-by-ocr.md).
|
|
168
|
+
(#768)
|
|
169
|
+
|
|
170
|
+
- A host that reads PDFs in its own process OCRs their scanned pages through
|
|
171
|
+
the harness. `pdfPages(bytes, { ocr, signal })` (`@qvac/harness/pdf-pages`)
|
|
172
|
+
returns each page's text, renders a scanned page in the host and marks it
|
|
173
|
+
`unread` when OCR fails, and `harness.ocrRead({ image, signal })` reads one
|
|
174
|
+
rendered page across the wire. `ocrRead` resolves an `OcrPage`,
|
|
175
|
+
`{ text, coverage }`: `coverage`, 0 to 1, is the share of the page's ink
|
|
176
|
+
inside the words read, near 1 on a typed page and under 0.5 on a chart or a
|
|
177
|
+
photo, so a host can give a model a high-coverage page as its text. Before
|
|
178
|
+
rc.21 it resolved the text alone. The harness keeps the last 1,024 pages it
|
|
179
|
+
read, so a scan indexed and then shown is read once. See
|
|
180
|
+
[docs/hosting.md](docs/hosting.md). (#789, #841)
|
|
181
|
+
|
|
182
|
+
- Kwaipilot's KAT-Coder-V2.5-Dev (`Kwaipilot_KAT-Coder-V2.5-Dev-Q4_K_M`, 21.4 GB) is in the LLM catalog:
|
|
183
|
+
a coding tune of the Qwen3.6-35B-A3B architecture, text only, `xhigh`, with the `qwen35` tool
|
|
184
|
+
dialect. It and gpt-oss sample as their makers recommend: KAT-Coder at temp 1.0, top_p 0.95 and
|
|
185
|
+
top_k 20; gpt-oss at temp 1.0 and top_p 1.0. A run's own sampling still wins. (#717)
|
|
186
|
+
|
|
187
|
+
- The `coding-guards` plugin, for a coding model that loops on whole-file
|
|
188
|
+
writes or works where nothing can run. Each guard is off until its option is
|
|
189
|
+
set: `sameWrite` refuses a `write_file` of the content the run last wrote to
|
|
190
|
+
that file, until another tool changes it; `promptNote` adds a note to every
|
|
191
|
+
prompt; `noRunner` tells every prompt that nothing can be built, run or
|
|
192
|
+
tested here. (#691, #717)
|
|
193
|
+
|
|
194
|
+
- `isLoading` covers image and music models, and a reply waiting for room. An
|
|
195
|
+
image or music row reads `true` from the request, through any wait for a
|
|
196
|
+
download or for room, until the model is resident or the load fails, and the
|
|
197
|
+
`loading` and `ready` or `error` edges carry `catalogChanged` as a pooled
|
|
198
|
+
load's do. A reply's model, and the chat model a translation runs on, read
|
|
199
|
+
`true` from the request too, so the wait for room before the load shows: with
|
|
200
|
+
no memory cap that wait can run minutes while another reply holds the one
|
|
201
|
+
chat model. The request and the load each send `loading`. A plugin that loads
|
|
202
|
+
its own models counts them through `ModelHost.requests`. Translation pack,
|
|
203
|
+
speech, transcription and embedding rows still read `false`. (#649)
|
|
24
204
|
- The macOS and Linux sandboxes take `writable`: absolute folders every shell line may write on
|
|
25
205
|
top of the run's policy, for a toolchain cache outside the project such as Go's build cache.
|
|
26
206
|
The file tools never see them, they are made at setup if missing, and a denied root still wins.
|
|
@@ -36,6 +216,34 @@ breaking change is listed under Changed and Removed.
|
|
|
36
216
|
the mcp, web-search and weather plugins. `isDeviceSharedCredentialKey` from
|
|
37
217
|
`@qvac/harness/skill-state` names the first-party plugins' device-shared
|
|
38
218
|
credential keys for a client that has no skill readiness to read them from.
|
|
219
|
+
- `wording.toolRepeatedFailure` sets the note on a call answered from its own
|
|
220
|
+
earlier failure (`RunPolicy.repeatedFailureMessage`).
|
|
221
|
+
- `wording.guidelines` rewords a system-prompt guideline by its id, or drops it
|
|
222
|
+
with `false`; `skills-list` is the header of the skills list. A deferred
|
|
223
|
+
tool's description carries the same wording (`GuidelineWording`).
|
|
224
|
+
- `insert_text` and `edit_many` are default tools in the files toolset, available
|
|
225
|
+
with a writable folder grant; `edit_file` is unchanged. No `toolConfigs` entry
|
|
226
|
+
is needed. Both remain subject to file permissions, the Files switch, and
|
|
227
|
+
approval. `insert_text` adds lines `after` a line number from `read_file`
|
|
228
|
+
whose text matches `expect`, with `after: 0` the start and `after: "end"` the
|
|
229
|
+
end. `edit_many` takes a list of `{ old, new }` replacements, all resolved
|
|
230
|
+
against the file as read and applied together or not at all, with one
|
|
231
|
+
approval whose `quote` lists every change. Both reply
|
|
232
|
+
`{ edited, changes }` with a unified diff in `data.diff`. See the
|
|
233
|
+
[decision record](docs/decisions/2026-10-22-edit-file-inserts-at-a-checked-line.md).
|
|
234
|
+
|
|
235
|
+
```js
|
|
236
|
+
insert_text({ path: '.gitignore', insert: 'todo.md', after: 'end' })
|
|
237
|
+
insert_text({ path: 'notes.md', insert: '- three', after: 3, expect: '- two' })
|
|
238
|
+
edit_many({
|
|
239
|
+
path: 'notes.md',
|
|
240
|
+
edits: [
|
|
241
|
+
{ old: '- one', new: '- 1' },
|
|
242
|
+
{ old: '- two', new: '- 2' }
|
|
243
|
+
]
|
|
244
|
+
})
|
|
245
|
+
```
|
|
246
|
+
|
|
39
247
|
- `CompletionContext.modelRound` sends each `generating` and
|
|
40
248
|
`wrapping` model round to another device. It gets the request the local
|
|
41
249
|
round would send and streams `content` and `thinking` back through `emit`;
|
|
@@ -437,9 +645,222 @@ breaking change is listed under Changed and Removed.
|
|
|
437
645
|
leaves under `@qvac/harness/lib/tools/` are exported for such a host. See the
|
|
438
646
|
[decision record](docs/decisions/2026-10-25-a-host-shapes-the-harness-through-a-named-module.md).
|
|
439
647
|
(#629)
|
|
648
|
+
- `ToolDefinition.deliversMany`, for a tool one request may call several times
|
|
649
|
+
for several files. A file it delivers gets the delivered-file nudge but does
|
|
650
|
+
not end the run one tool round later, so "draw a cat, a dog and a bird" made
|
|
651
|
+
one image per round still gets all three. `generate_image` and `edit_image`
|
|
652
|
+
set it. (#610)
|
|
653
|
+
- A skill whose oauth setup route has a `verify` probe and a `credentialKey`
|
|
654
|
+
gets that probe as its `requires.credentialChecks` entry for the key, when
|
|
655
|
+
the skill declares none, so a dead token reads as rejected instead of
|
|
656
|
+
needs-setup. A hand-written check still wins. A credential check may now
|
|
657
|
+
carry a `body`. A `verify` rule keyed on a response field (Spotify Premium)
|
|
658
|
+
still marks the token rejected in the health probe only on 401 or 403.
|
|
440
659
|
|
|
441
660
|
### Changed
|
|
442
661
|
|
|
662
|
+
- **Breaking:** the harness logs nothing unless a host asks. `spawnHarness` and
|
|
663
|
+
`harnessChild` take `logs`: unset, the sidecar writes no `harness.log`, the SDK and
|
|
664
|
+
its addons print nothing, and the host's `logger` gets no harness lines. `'harness'`
|
|
665
|
+
writes the harness's own lines to `harness.log` and to the `logger`, at the
|
|
666
|
+
`logger`'s level; `'all'` adds the SDK's and addons' console output to the file.
|
|
667
|
+
The sidecar owns its process and keeps the SDK's console off unless `logs` is
|
|
668
|
+
`'all'`. An in-process harness leaves that process-wide setting to its host:
|
|
669
|
+
`HarnessLog.setSdkLogs(false)` before the first model load has the harness turn it
|
|
670
|
+
off, and `true` turns it on.
|
|
671
|
+
`QVAC_HARNESS_LOG=1` still turns on the harness's lines, and `QVAC_HARNESS_LOG=all`
|
|
672
|
+
the SDK's as well. (#919)
|
|
673
|
+
|
|
674
|
+
```js
|
|
675
|
+
// before: a logger alone wrote harness.log and turned on the SDK's console
|
|
676
|
+
spawnHarness({ entry, sdkStorage, logger })
|
|
677
|
+
// after
|
|
678
|
+
spawnHarness({ entry, sdkStorage, logger, logs: 'all' })
|
|
679
|
+
```
|
|
680
|
+
|
|
681
|
+
- **Breaking** for a host that spawns the shipped sidecar: install `qvac-charts`, which the
|
|
682
|
+
`charts` plugin checks on import, or the sidecar throws at boot. npm does not install an
|
|
683
|
+
optional peer, and a host with its own entry that leaves out `Charts` needs nothing. See
|
|
684
|
+
[Plugin dependencies](docs/hosting.md#plugin-dependencies). (#901)
|
|
685
|
+
- The office engine is the `qvac-office` package, pinned at `0.1.0`, in place of the copy under
|
|
686
|
+
`lib/office/engine/`. The `pptx`, `docx` and `xlsx` tools and attachment text extraction work as
|
|
687
|
+
before, and `@xmldom/xmldom` is no longer a direct dependency. (#902)
|
|
688
|
+
|
|
689
|
+
- Two calls in one round whose results each answer the run (`{ content, answer: true }`) both
|
|
690
|
+
reach the reply, joined in order; only the first did before. (#892)
|
|
691
|
+
|
|
692
|
+
- **Breaking:** image generation defaults to FLUX.2 Klein off phones.
|
|
693
|
+
`DEFAULT_IMAGE_MODEL_CHOICE` is `flux2-klein`, where it was `sd2`, so an
|
|
694
|
+
agent with the image-generation skill and no `imageModelChoice` has
|
|
695
|
+
`skillModelsForAgent` and `modelsForAgent` answer `FLUX.2-Klein-4B-Q4_0`.
|
|
696
|
+
FLUX.2 Klein is 5.1 GB with its text encoder and VAE (Stable Diffusion 2.1
|
|
697
|
+
is 2.3 GB), needs a GPU, and edits from several reference images. On a
|
|
698
|
+
mobile host the default stays `sd2`, the one choice that runs on a CPU:
|
|
699
|
+
`modelsForAgent(agent, host)` answers it, and `defaultImageModelChoice(host)`
|
|
700
|
+
gives a host the same answer for its `Image` plugin, which still takes its
|
|
701
|
+
model from the host. `skillModelsForAgent` now requires the host as its
|
|
702
|
+
second argument, `null` when there is none, so a caller on a phone cannot
|
|
703
|
+
get the desktop default by leaving it out. An `imageModelChoice` the agent
|
|
704
|
+
set is never changed. Set it to `sd2` to keep Stable Diffusion 2.1 on a
|
|
705
|
+
desktop. (#867)
|
|
706
|
+
|
|
707
|
+
```js
|
|
708
|
+
// before: an agent with no choice resolved to StableDiffusion-2.1-Q8_0
|
|
709
|
+
// after: off phones it resolves to FLUX.2-Klein-4B-Q4_0; to keep the old model
|
|
710
|
+
const agent = { ...saved, imageModelChoice: 'sd2' }
|
|
711
|
+
|
|
712
|
+
// before
|
|
713
|
+
skillModelsForAgent(agent)
|
|
714
|
+
// after
|
|
715
|
+
skillModelsForAgent(agent, await harness.capability())
|
|
716
|
+
```
|
|
717
|
+
|
|
718
|
+
- **Breaking:** speech defaults to Audio8. A `speak` or `speakStream` that
|
|
719
|
+
names no model loads `Audio8-Q8_0` on every device profile, where it loaded
|
|
720
|
+
Supertonic 3. Audio8 is 1.05 GB with its codec decoder (Supertonic was 85 MB
|
|
721
|
+
on phones and 207 MB on desktops) and speaks the language the text is
|
|
722
|
+
written in. `defaultTtsModelName`, `infraModelsFor` and `TTS_MODEL_NAMES`
|
|
723
|
+
answer Audio8, so a host that prefetches them downloads it once.
|
|
724
|
+
`new Speech({ tts: 'supertonic' })` keeps Supertonic, at the quant the
|
|
725
|
+
device profile carries.
|
|
726
|
+
|
|
727
|
+
On macOS and iOS the SDK downloads a Core ML bundle with the Audio8 codec
|
|
728
|
+
decoder and the Parakeet encoder and runs those stages on it. On an M2 Max
|
|
729
|
+
Audio8 speaks 9.8 s of audio in 2.7 s, and Supertonic FP16 speaks 8.4 s in
|
|
730
|
+
1.6 s. See
|
|
731
|
+
[the decision](docs/decisions/2026-11-09-audio8-is-the-default-voice.md).
|
|
732
|
+
(#853)
|
|
733
|
+
|
|
734
|
+
```js
|
|
735
|
+
import { defaultTtsModelName } from '@qvac/harness/model-defaults'
|
|
736
|
+
|
|
737
|
+
defaultTtsModelName('mid') // 'Audio8-Q8_0', was 'Supertonic3-FP16'
|
|
738
|
+
|
|
739
|
+
// before: Supertonic unless the host asked for MOSS
|
|
740
|
+
new Speech()
|
|
741
|
+
// after: the same voice as before
|
|
742
|
+
new Speech({ tts: 'supertonic' })
|
|
743
|
+
```
|
|
744
|
+
|
|
745
|
+
- **Breaking:** `@qvac/harness` no longer depends on `@qvac/skills`; the host
|
|
746
|
+
installs the skills version it ships and hands it in.
|
|
747
|
+
`Tools.bundledSkillsDir(bundle)` takes `{ skills, hash }` (what
|
|
748
|
+
`@qvac/skills/bundled` and `@qvac/skills/hash` export) and materializes it
|
|
749
|
+
under a directory keyed on that hash, refusing a tree that does not hash to
|
|
750
|
+
it as before. A `Harness` or a sidecar given no `skillsDir` serves no base
|
|
751
|
+
skills, only the user's overlay, where it used to materialize the bundled
|
|
752
|
+
ones, and `SidecarContext.skillsDir` is then `undefined`. `Tools.product`
|
|
753
|
+
adds `skill` for a `skillCatalog` that lists a skill even with no
|
|
754
|
+
`skillsDir`, so the overlay can be loaded. `@qvac/skills` names the oldest
|
|
755
|
+
harness that loads it as a peer dependency. (#837)
|
|
756
|
+
|
|
757
|
+
```js
|
|
758
|
+
import { SKILLS } from '@qvac/skills/bundled'
|
|
759
|
+
import { SKILLS_HASH } from '@qvac/skills/hash'
|
|
760
|
+
|
|
761
|
+
// before
|
|
762
|
+
const skillsDir = await Tools.bundledSkillsDir()
|
|
763
|
+
// after
|
|
764
|
+
const skillsDir = await Tools.bundledSkillsDir({ skills: SKILLS, hash: SKILLS_HASH })
|
|
765
|
+
```
|
|
766
|
+
|
|
767
|
+
- Importing `@qvac/harness/plugins/image` or `@qvac/harness/plugins/music` no
|
|
768
|
+
longer needs their peers; constructing `Image` or `Music` without them throws
|
|
769
|
+
the error naming the plugin and the missing packages. A sidecar host passing no
|
|
770
|
+
image or music model installs neither's peers.
|
|
771
|
+
|
|
772
|
+
- **Breaking:** a command that times out resolves instead of throwing.
|
|
773
|
+
`runCommand` (`lib/tools/exec/runner.ts`) and the `exec` tool result come
|
|
774
|
+
back as `{ stdout, stderr, exitCode: 124 }`: `stdout` and `stderr` hold what
|
|
775
|
+
the command printed before the kill, and a note goes at the end of `stderr`,
|
|
776
|
+
added after the head/tail cut so the cut never drops it. There is no `error`
|
|
777
|
+
field and no `COMMAND_TIMED_OUT`. This holds on the host shell and the Linux,
|
|
778
|
+
macOS and Windows sandboxes. An abort still rejects with `AbortedError`. The
|
|
779
|
+
Pyodide `python` language still throws `COMMAND_TIMED_OUT` and `quickjs` still
|
|
780
|
+
throws a plain error. (#742)
|
|
781
|
+
|
|
782
|
+
```js
|
|
783
|
+
import { HarnessError } from '@qvac/harness/errors'
|
|
784
|
+
import { runCommand } from '@qvac/harness/lib/tools/exec/runner.ts'
|
|
785
|
+
|
|
786
|
+
// before
|
|
787
|
+
try {
|
|
788
|
+
await runCommand('npm test', { spawn, timeoutMs: 60_000 })
|
|
789
|
+
} catch (err) {
|
|
790
|
+
if (HarnessError.is(err, 'COMMAND_TIMED_OUT')) retry()
|
|
791
|
+
}
|
|
792
|
+
// after
|
|
793
|
+
const result = await runCommand('npm test', { spawn, timeoutMs: 60_000 })
|
|
794
|
+
if (result.exitCode === 124) retry(result.stdout)
|
|
795
|
+
```
|
|
796
|
+
|
|
797
|
+
- Exec sets `PYTHONUNBUFFERED=1` (`EXEC_ENV_DEFAULTS` in
|
|
798
|
+
`lib/helpers/spawn-path.ts`), so a python child's output reaches the pipe
|
|
799
|
+
before a timeout's kill instead of dying in its block buffer. `execEnv`
|
|
800
|
+
always sets it, as it is not on the env allowlist. The Linux, macOS and
|
|
801
|
+
Windows sandboxes spread it first, so a policy `env` allowlist that leaves
|
|
802
|
+
it out still passes it, and an explicit value wins. (#742)
|
|
803
|
+
|
|
804
|
+
- The ask for checks of the model's own stops after two goal turns it ignored
|
|
805
|
+
on every goal, not only one whose host checks test behaviour. A goal with no
|
|
806
|
+
host checks is then met on its plan. A goal whose host checks only test that
|
|
807
|
+
a file exists stays open until a passing check runs or reads what they test,
|
|
808
|
+
and each goal turn asks for one; a passing test runner, test script or
|
|
809
|
+
assertion that runs it is held as a check even after the model named others.
|
|
810
|
+
A run no longer repeats the same ask until its time budget. (#721)
|
|
811
|
+
|
|
812
|
+
- A spawned harness that cannot open now fails its sidecar's start with the
|
|
813
|
+
harness's own error, instead of serving a harness whose every call fails. A
|
|
814
|
+
supervising host sees the boot fail and why. (core v1 follow-up H1)
|
|
815
|
+
|
|
816
|
+
- A goal with host checks that test behaviour stops asking the model for checks
|
|
817
|
+
of its own after two goal turns it ignored. From then on the plan and the host
|
|
818
|
+
checks meet it, and a check the model names later still gates it. A goal with
|
|
819
|
+
no host checks keeps asking. (#682) When every host check only tests that a
|
|
820
|
+
file exists (`test -s`, `[ -f ... ]`), the ask stays until the model names a
|
|
821
|
+
check or a passing test runner, test script or inline assertion proves the
|
|
822
|
+
result; that run is held as a check of its own. (#686)
|
|
823
|
+
- Breaking for hosts that send only `test -s` checks: a goal whose host checks
|
|
824
|
+
all test only that a path exists is met only once its checks pass and one of
|
|
825
|
+
them names a path the host checks test (not with `cat`, `ls` or another
|
|
826
|
+
command that only shows or moves a file, nor a `test` with no comparison),
|
|
827
|
+
runs a script whose written text names one (a heredoc, a `>` line,
|
|
828
|
+
`write_file` or `edit_file`), or runs a test runner on no given script
|
|
829
|
+
(`npm test`, `pytest`). While every check passes and none does this, each
|
|
830
|
+
goal turn asks for such a check, and until one does, the checks the model
|
|
831
|
+
names are added, so a run that used to end `met` now goes on until one passes
|
|
832
|
+
or a budget runs out. Set `goal.checksProve: true` when the
|
|
833
|
+
checks prove the task. (#698) Once that holds, one goal turn asks the model
|
|
834
|
+
to list the task's requirements and to name a check for each one the checks
|
|
835
|
+
miss, and adds those checks. (#694) A check wrapped in `timeout`, `env`,
|
|
836
|
+
`nice` or `stdbuf` is read as the command it runs; `nohup` is not, as
|
|
837
|
+
`nohup X &` exits at once. (#700, #703) On every goal, a write to a script resets
|
|
838
|
+
the pass of each check that runs it, so a pass from before the rewrite never
|
|
839
|
+
counts. (#701)
|
|
840
|
+
- Breaking for hosts that pass a `goal`: on a run with a tool that takes a
|
|
841
|
+
`command`, plan and checks no longer meet a goal on their own. Once the model
|
|
842
|
+
writes a source file, known by its extension for the languages a run can be
|
|
843
|
+
read for (Python, JavaScript and TypeScript, shell, Ruby, Perl, PHP, Lua, R,
|
|
844
|
+
Julia, Go, Rust, C and C++, Java; not `.txt`, `.json`, `.csv` or `.md`), the
|
|
845
|
+
goal stays open until a later command that runs that code exits 0, and once
|
|
846
|
+
the checks pass each goal turn asks for that run. A run is the file run as a
|
|
847
|
+
program or by its interpreter (`go run`, `Rscript`, `julia`, `tsx`,
|
|
848
|
+
`ts-node`, `java X.java`, and through `npx` or `bunx`), a test suite or test
|
|
849
|
+
script, `go run .`, `cargo run` or a build then a run in one command, or a
|
|
850
|
+
passing check that runs a script or a test suite. A reader such as `cat` or
|
|
851
|
+
`grep`, also by its `/bin` or `/usr/bin` path after a build, a run after
|
|
852
|
+
`make clean`, `make -n` or a cmake clean target, a compile, lint or syntax
|
|
853
|
+
check, and a run piped or followed by `|| true` or `;` do not count. Every
|
|
854
|
+
goal, whatever its host checks and with `checksProve` set, then takes a
|
|
855
|
+
review turn that asks for each requirement with the command that proves it.
|
|
856
|
+
The `goal` event carries `proof`, the command that ran the edited code,
|
|
857
|
+
recorded as `goalProof` in the bench trial row. (#732, #735, #745) The review
|
|
858
|
+
reply answers it only when a line above its `Checks:` names, in backticks, a
|
|
859
|
+
passed check or the run that proved the code; a reply with no calls that
|
|
860
|
+
names none is asked again, at most twice in all. A goal met with more than
|
|
861
|
+
half of each budget left takes one turn on the cases the task names; the met
|
|
862
|
+
`goal` event then carries `cases: true`, recorded as `goalCases`, and
|
|
863
|
+
`RunBudget.totalMs` keeps the whole time budget. (#740)
|
|
443
864
|
- A host reaches the drive protocol it serves, the skill catalog and the
|
|
444
865
|
user-plugin import map through named entries: `@qvac/harness/drive`
|
|
445
866
|
(`DriveRequest`, `DriveResponse`, `DriveEntry`, `GrantedDrive`, `DriveOpFn`,
|
|
@@ -517,10 +938,13 @@ breaking change is listed under Changed and Removed.
|
|
|
517
938
|
const [best] = await harness.detectLanguage({ text })
|
|
518
939
|
```
|
|
519
940
|
|
|
520
|
-
- `bare-worker` is
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
941
|
+
- `bare-worker` is a dependency at `^4.5.3` and `bare-module` is not one, so a
|
|
942
|
+
host shares its own `bare-worker` copy. The exact 4.5.0 pin kept a second copy
|
|
943
|
+
under `@qvac/harness` in any host on a newer one, and that copy, built against
|
|
944
|
+
`bare-module` 7.1, could not start the python worker under the host.s
|
|
945
|
+
`bare-thread` 1.4 (`MODULE_NOT_FOUND` for `bare-worker/lib/worker-thread.js`).
|
|
946
|
+
`bare-worker` 4.5.3 runs on `bare-module` 7.5, so the python plugin needs Bare
|
|
947
|
+
1.35. (#852)
|
|
524
948
|
- The `sandbox-vm` plugin (`VmShell`, `./plugins/sandbox-vm`) is back, with
|
|
525
949
|
`barevisor` an optional peer instead of a dependency every host installed.
|
|
526
950
|
(#626)
|
|
@@ -668,6 +1092,14 @@ breaking change is listed under Changed and Removed.
|
|
|
668
1092
|
unchanged count. A call that returns the same result and folds every few rounds
|
|
669
1093
|
now ends the run at its fourth identical run. The re-read after a fold carries
|
|
670
1094
|
no unchanged note and no progress credit. (#507)
|
|
1095
|
+
- A stall no longer ends a goal run that has rounds, time and tokens left. The
|
|
1096
|
+
round ends, every unchanged and blocked count restarts, and the goal goes on
|
|
1097
|
+
with a turn that adds `wording.goalStalled` to the goal turn; `{call}` names
|
|
1098
|
+
the stuck call. Only a met goal or a spent budget ends a goal run, and the
|
|
1099
|
+
`GoalStatus` is `stalled` only when a stall came with no budget left. A run
|
|
1100
|
+
with no goal still ends on a stall. See the
|
|
1101
|
+
[decision record](docs/decisions/2026-10-26-a-stall-continues-a-goal-run-until-its-budget-ends.md).
|
|
1102
|
+
(#651)
|
|
671
1103
|
- A wrap-up cut off at the context window answers with the fallback instead of
|
|
672
1104
|
its fragment and emits `round-reset` for what it streamed; a wrap-up
|
|
673
1105
|
cut at its `predict` cap (`contextBoundary: false`) keeps its
|
|
@@ -859,8 +1291,7 @@ breaking change is listed under Changed and Removed.
|
|
|
859
1291
|
- **Breaking:** nothing a run does can load a new native addon: the sidecar
|
|
860
1292
|
seals addon loading once the harness is ready. A plugin or tool that imports
|
|
861
1293
|
a native addon lazily declares it in `HarnessPlugin.addons` or
|
|
862
|
-
`ToolDefinition.addons`.
|
|
863
|
-
`workerData.preload` is true. See the
|
|
1294
|
+
`ToolDefinition.addons`. See the
|
|
864
1295
|
[decision record](docs/decisions/2026-10-02-the-sidecar-seals-addon-loading-after-boot.md).
|
|
865
1296
|
(#177)
|
|
866
1297
|
- **Breaking:** `SandboxWorkspace` gains `start(command, { cwd? })`, returning a
|
|
@@ -972,9 +1403,26 @@ breaking change is listed under Changed and Removed.
|
|
|
972
1403
|
preload with round 0's calls: the harness renders it as its own round first.
|
|
973
1404
|
A skill that fails to load is noted in the user's turn, sends no call, and
|
|
974
1405
|
that run is not cached. (#511)
|
|
1406
|
+
- **Breaking** for a host that reads `attachmentId` off a `generate_image` or
|
|
1407
|
+
`edit_image` result, in a chat or from `invoke` with the `image` capability:
|
|
1408
|
+
the image is now `attachments[0]`, `{ attachmentId, fileName, byteLength }`,
|
|
1409
|
+
the shape a delivered file has everywhere else. (#610)
|
|
975
1410
|
|
|
976
1411
|
### Removed
|
|
977
1412
|
|
|
1413
|
+
- **Breaking:** `Qwen3.6-27B-UD-Q4_K_XL` leaves the curated catalog, and the
|
|
1414
|
+
`QWEN_36_27B` export with it. Qwen3.8-27B is the model the `xhigh` profile
|
|
1415
|
+
recommends. An agent saved on the old name still loads, through the
|
|
1416
|
+
registry, as an uncurated model: no projection and no capability gate.
|
|
1417
|
+
(#862)
|
|
1418
|
+
|
|
1419
|
+
```js
|
|
1420
|
+
// before
|
|
1421
|
+
import { QWEN_36_27B } from '@qvac/harness/model-catalog'
|
|
1422
|
+
// after
|
|
1423
|
+
import { QWEN_38_27B } from '@qvac/harness/model-catalog'
|
|
1424
|
+
```
|
|
1425
|
+
|
|
978
1426
|
- The eight file exports 1.0.0-rc.7 added for hosts:
|
|
979
1427
|
`./lib/tools/fs/drive.ts`, `remote.ts` and `remote-protocol.ts`, and
|
|
980
1428
|
`./lib/tools/skills/skill-state.ts`, `credential-slots.ts`,
|
|
@@ -1047,6 +1495,200 @@ breaking change is listed under Changed and Removed.
|
|
|
1047
1495
|
|
|
1048
1496
|
### Fixed
|
|
1049
1497
|
|
|
1498
|
+
- A run on a remote model host no longer stays busy after its answer arrived. The
|
|
1499
|
+
completion frame's unused `byteLength` field decoded as 0 on every frame, and
|
|
1500
|
+
streamx read that as the frame's size, so when two frames reached the harness
|
|
1501
|
+
together the second waited for a third; a round result sent right behind its
|
|
1502
|
+
last chunk never landed. The field is now `legacyByteLength`, with the same bits on
|
|
1503
|
+
the wire ([#923](https://github.com/tetherto/qvac-harness/pull/923)).
|
|
1504
|
+
- A run no longer fails because its host was slow to commit a run-log step. The
|
|
1505
|
+
engine waits on each append for as long as the host takes, where it gave up
|
|
1506
|
+
after 5 seconds with `Host run-log append did not acknowledge within 5000ms`,
|
|
1507
|
+
even on a run that already had its answer. An append the host rejects still
|
|
1508
|
+
fails the run. `hostAppendTimeoutMs` goes, from the run context and the
|
|
1509
|
+
`runLog` start payload, since nothing is left for it to bound.
|
|
1510
|
+
|
|
1511
|
+
- A tool staging a chat's files no longer gives up after 60 seconds with
|
|
1512
|
+
`ATTACHMENT_STAGING_TIMED_OUT`, which a large file from a slow peer could hit.
|
|
1513
|
+
A connected run's attachment fetch now ends when the run aborts, the signal it
|
|
1514
|
+
was missing across the host bridge, and otherwise waits for the host. The
|
|
1515
|
+
`ATTACHMENT_STAGING_TIMED_OUT` error code goes.
|
|
1516
|
+
|
|
1517
|
+
- A round served through `serveModelRound` on a slotted model reports the whole chat in
|
|
1518
|
+
`cacheTokens`, not just its own request, so a host that compacts on it folds a long chat before
|
|
1519
|
+
it overflows instead of the ladder dropping its oldest turns. `deleteKvCache` and `clearKvCache`
|
|
1520
|
+
reset that count with the cache. (#915)
|
|
1521
|
+
- `read_file` returns what a model can use. A CRLF line loses its `\r`, and a
|
|
1522
|
+
line over 2000 characters is cut there, so one long line no longer uses up
|
|
1523
|
+
the read; the cut names the full length,
|
|
1524
|
+
`… (line cut at 2000 chars; 5800 bytes in all)` for a text file and
|
|
1525
|
+
`5800 chars` for a document. A `startLine` past the end returns the last 50
|
|
1526
|
+
lines under `startLine N is past the end; the file has T lines`, and a
|
|
1527
|
+
negative `startLine` reads from the end (`-50` is the last 50 lines). A range
|
|
1528
|
+
names the exact total (`lines 2-2 of 50001`) where it said `of unknown`.
|
|
1529
|
+
Every read is one pass over one stream: the file is counted to its end
|
|
1530
|
+
without decoding it, and the tail is kept in a ring as it goes. The count
|
|
1531
|
+
stops at 8 MiB: past it a range's total stays unknown, and a tail returns
|
|
1532
|
+
`has more than N lines; its end is past the 8 MiB read_file counts` instead
|
|
1533
|
+
of reading on. A missing
|
|
1534
|
+
path suggests up to three near matches: the same name in another case, the
|
|
1535
|
+
same name with another extension, a name that contains it, or a one- or
|
|
1536
|
+
two-letter typo. For a missing folder it names the nearest folder that
|
|
1537
|
+
exists, and for a path written from the wrong root it suggests the same path
|
|
1538
|
+
under the shared folder. Denied paths are never suggested. (#887)
|
|
1539
|
+
- OCR loads in the harness sidecar. Since rc.16 the first OCR model load
|
|
1540
|
+
failed with `CANNOT_LOAD`, so a scanned PDF got no text on desktop. (#844)
|
|
1541
|
+
- `edit_file`, `insert_text` and `edit_many` write only what they change. A
|
|
1542
|
+
BOM stays first when lines go in at the start, and line endings outside an
|
|
1543
|
+
edit keep their CRLF or LF in a file that mixes both. A `new` with
|
|
1544
|
+
`read_file` row numbers loses them only when they are rows of
|
|
1545
|
+
`old`, so `2026| revenue` is written as sent. `expect` takes the pasted
|
|
1546
|
+
`N| ` prefix even when the line itself starts with one. A change to the
|
|
1547
|
+
final newline alone shows in the diff (``) and in
|
|
1548
|
+
the approval quote.
|
|
1549
|
+
- Two walkie-talkie machines in one process no longer miss each other. Started
|
|
1550
|
+
together they dialed each other at once, each could keep a different one of
|
|
1551
|
+
the two connections, and `teammate()` then never resolved: the agent-team
|
|
1552
|
+
example and its test hung. `walkie.announced()` resolves once a machine can
|
|
1553
|
+
be found, and the example starts its second machine after it.
|
|
1554
|
+
- A steer sent while a run writes its answer no longer continues that run. It
|
|
1555
|
+
is left untaken, so the host runs it on its own: a second chat message used
|
|
1556
|
+
to be answered inside the first message's reply, and got none of its own.
|
|
1557
|
+
([QVAC-28184](https://app.asana.com/1/45238840754660/project/1216236248324478/task/1220368764270002))
|
|
1558
|
+
- `generate_music` progress stops at 99% until the track is saved. The VAE
|
|
1559
|
+
stage reported 100% while the WAV was still being attached, so a slow or
|
|
1560
|
+
failed save left a full bar over a chat with no audio. ([QVAC-28182](https://app.asana.com/1/45238840754660/project/1213510748674624/task/1220363856167110), #843)
|
|
1561
|
+
- Generated capability streams expose their `destroyed` state, and upload
|
|
1562
|
+
streams their `drain` listeners, so a host can respect upload backpressure
|
|
1563
|
+
without casts or a downstream patch. (#842)
|
|
1564
|
+
- Text that spells a chat-template token no longer becomes one. A tool result,
|
|
1565
|
+
file, page, user turn or tool description holding `<|im_start|>`,
|
|
1566
|
+
`<tool_response>`, `<think>` and the like reaches the model with a word joiner
|
|
1567
|
+
after the `<`, so its words are read but cannot open a turn. A log holding a
|
|
1568
|
+
captured prompt used to hand the model a fake user turn mid-run, and it
|
|
1569
|
+
answered that instead. A tool never sees the joiner: a call copying that text
|
|
1570
|
+
runs with it as the file held it. A tool result now reaches the model as the
|
|
1571
|
+
same bytes in its own run and on replay, where replay used to strip it. (#825)
|
|
1572
|
+
- A model that cannot see images now hears when a new `pptx`, `docx` or `xlsx`
|
|
1573
|
+
file leaves out the image the user uploaded. Without `turnImages` the tool
|
|
1574
|
+
said "Done", and a deck shipped without the image while the model claimed it
|
|
1575
|
+
was there. (#817)
|
|
1576
|
+
- `web_fetch` downloads a file of up to 100 MB, as large as one a user can
|
|
1577
|
+
attach, instead of refusing anything past 8 MB. The cap is picked from the
|
|
1578
|
+
response's `Content-Type`, so a page keeps its 8 MB budget, and a declared
|
|
1579
|
+
file attaches without being decoded as text first. A stalled download fails
|
|
1580
|
+
after 15 s without a byte; one that keeps arriving has 120 s, where any fetch
|
|
1581
|
+
used to stop at 15 s. (#811)
|
|
1582
|
+
- A tool that attaches a large file no longer stalls the run. Every host
|
|
1583
|
+
callback's input went through JSON twice and into the run journal whole, so
|
|
1584
|
+
a 24 MB file became tens of millions of object keys and the attach never
|
|
1585
|
+
reached the host. The bytes now go to the host as a copy, and the journal
|
|
1586
|
+
records them as `{ byteLength, sha256 }`, which a resume still matches. (#811)
|
|
1587
|
+
- `weather_lookup` is listed under `weather` in the `tool_search` catalog, not
|
|
1588
|
+
under its `http-request` toolset. The search scores a tool's heading, so a
|
|
1589
|
+
query such as "http request tool" also loaded the weather tool next to
|
|
1590
|
+
`http_request`. (#818)
|
|
1591
|
+
- The package loads on Bare 1.33.4, the runtime of `react-native-bare-kit`
|
|
1592
|
+
0.16.0: `engines.bare` is `>=1.33.4`, so a mobile host no longer patches it.
|
|
1593
|
+
Python still needs Bare 1.35.0, and importing `@qvac/harness/plugins/python`
|
|
1594
|
+
on an older Bare throws `@qvac/harness/plugins/python needs Bare 1.35.0 or
|
|
1595
|
+
later` instead of a stowed harness failing to open with `ADDON_NOT_FOUND` for
|
|
1596
|
+
`bare-channel`. A plugin names its own floor with
|
|
1597
|
+
`PluginRegistry.requireBare(plugin, floor)`. (#806)
|
|
1598
|
+
- The refusal for a skill that is `disconnected` or `needs-setup` carries
|
|
1599
|
+
`setup: { skill, state }` beside its `error`, so a host can offer the setup
|
|
1600
|
+
itself. Its text asks the model to say it once and to name no menu path,
|
|
1601
|
+
which a small model invented as "Settings → Skills".
|
|
1602
|
+
- `@qvac/turbovec-ggml` is an optional peer at `^0.3.1`. 0.3.0 depends on
|
|
1603
|
+
`@qvac/fabric` ^0.24.0 while every other model addon is on ^0.25.0, so a host
|
|
1604
|
+
that resolved it loaded two fabric copies into one process. A host whose lock
|
|
1605
|
+
holds 0.3.0 updates it. (#807)
|
|
1606
|
+
- A credential the host removes from `setCredentials` forgets its rejected
|
|
1607
|
+
verdict, so its skill reads as needing setup instead of disconnected, and a
|
|
1608
|
+
token pushed for the same key at another scope is probed afresh. (#807)
|
|
1609
|
+
- An MCP session is keyed by the token that opened it, so a token rotated under
|
|
1610
|
+
the same credential key opens its own session instead of reusing the old one,
|
|
1611
|
+
which a server that binds a session to its user refused with 403 and marked
|
|
1612
|
+
the fresh token rejected. (#807)
|
|
1613
|
+
- A `%` that starts no escape in an `http_request` URL (`?q=50%`) is kept as
|
|
1614
|
+
text, as in Node, instead of throwing `URI malformed` on Bare when `query` is
|
|
1615
|
+
also given; the skill-eval judge crashed on the same URL. Both now parse with
|
|
1616
|
+
the `bare-url` package, at least 2.5.6 (holepunchto/bare-url#46), instead of
|
|
1617
|
+
the global `URL` built into the Bare runtime, which no Bare release has
|
|
1618
|
+
updated yet. (#799)
|
|
1619
|
+
- Calendar reads build their own query: validated arguments, encoded dates
|
|
1620
|
+
and timezone offsets, and a local day range resolved from the turn's clock
|
|
1621
|
+
that holds across pages and DST, so "today" and "tomorrow" no longer fail
|
|
1622
|
+
and get explained as a credential problem. (#770)
|
|
1623
|
+
- On Linux the NVIDIA card is pinned as `main-gpu` only when another GPU could
|
|
1624
|
+
take the load. A host whose NVIDIA GPU is the only one, such as a DGX Spark
|
|
1625
|
+
or a Jetson, registers it as integrated and was loading on the CPU. (#786)
|
|
1626
|
+
- Restore the completion output queue and pending-input handling from before #684.
|
|
1627
|
+
Output events retain their original boundaries, with no mailbox chunking,
|
|
1628
|
+
coalescing, or count/byte limits. Pending steer/follow-up inputs no longer have
|
|
1629
|
+
admission limits in the engine or transport. Unread output and pending input
|
|
1630
|
+
remain unbounded in memory.
|
|
1631
|
+
- A skill-gated tool is sent only once the run may call it, from the round its
|
|
1632
|
+
skill loads, so `tool_search`'s catalog no longer names it before. The catalog
|
|
1633
|
+
line read as a tool to search for and call, so a 9B asked for a PDF skipped the
|
|
1634
|
+
pdf skill and wrote Python with reportlab or fpdf instead: 4 of 5 runs on 0.8.12
|
|
1635
|
+
against 0 of 10 on 0.8.11. The tool joins on the round the SDK already
|
|
1636
|
+
re-prefills to declare what the skill loaded, so it costs no cache. A gated tool
|
|
1637
|
+
a small model may call early, such as `pdf` on a 2B, is sent from the first
|
|
1638
|
+
round. (QVAC-27769)
|
|
1639
|
+
- `exec` refuses Python that imports `reportlab`, `fpdf`, `pypdf` or `PyPDF2`,
|
|
1640
|
+
or declares their packages, before it runs, when the run offers the `pdf`
|
|
1641
|
+
tool, and names that tool instead, or the skill to load first when it has not
|
|
1642
|
+
loaded yet. Offline, a model asked for a PDF reached for reportlab before
|
|
1643
|
+
loading the pdf skill, could not install it, and wrote the PDF bytes by hand:
|
|
1644
|
+
the file attached as a success with only its title, or no text at all. A
|
|
1645
|
+
skill's own script and a run without the `pdf` tool still run as before. A
|
|
1646
|
+
tool now also gets `offeredTools`, every tool the run offers, alongside
|
|
1647
|
+
`toolNames`, the ones it can call now. (QVAC-27769)
|
|
1648
|
+
- A repeat save by the `pdf`, `pptx`, `docx` or `xlsx` tool in a later round of
|
|
1649
|
+
the same run, or after the run resumes, returns the file already attached
|
|
1650
|
+
instead of attaching it again. Each round got its own `attach`, which the
|
|
1651
|
+
tools' per-turn record keyed on, so a small model that called again delivered
|
|
1652
|
+
the same file twice. The record now lives in the run budget as `delivered`,
|
|
1653
|
+
saved with the run.
|
|
1654
|
+
- A `pdf` save under a name already attached with different content is refused
|
|
1655
|
+
as the Office tools already refuse it, instead of returning the old file.
|
|
1656
|
+
- `tools/list` through `mcp_call` comes back as a line per tool, with each
|
|
1657
|
+
argument's type and allowed values, and `params.names` gives the tools named
|
|
1658
|
+
whole. Asana's 52 tools were 148 KB, so the model saw 5 of them cut or waited
|
|
1659
|
+
minutes for the whole listing on every round; the summary is 14 KB. See
|
|
1660
|
+
[the decision record](./docs/decisions/2026-10-29-mcp-call-lists-a-servers-tools-a-line-each.md).
|
|
1661
|
+
(QVAC-21896)
|
|
1662
|
+
- An MCP response, from `mcp_call` or a named server tool, is cut to the same
|
|
1663
|
+
share of the context window as an `http_request` body, and a cut carries the
|
|
1664
|
+
same `truncated` field, instead of a fixed 8 KB with a marker. The cut keeps
|
|
1665
|
+
JSON parseable and keeps the fields after a bulky one, and the body is no
|
|
1666
|
+
longer re-indented before it is measured. Asana's `tools/list` came back as
|
|
1667
|
+
5 of its tools and a task as its custom fields without its name, so the
|
|
1668
|
+
asana skill guessed arguments for 8 to 11 calls and often never answered.
|
|
1669
|
+
(QVAC-21896)
|
|
1670
|
+
- A cut string inside a JSON response is measured as it serializes, so a body
|
|
1671
|
+
of escaped text (newlines, quotes) stays within the room instead of coming
|
|
1672
|
+
back at up to twice the budget while `truncated.keptChars` reported the
|
|
1673
|
+
budget, and a short field after it still fits.
|
|
1674
|
+
|
|
1675
|
+
- A plugin added before the harness has served any run joins the boot set, so a run it hooked
|
|
1676
|
+
resumes after a restart that adds it again. Before, every added plugin took a per-process
|
|
1677
|
+
revision, and a run interrupted mid-try, such as a benchmark try cut at its time limit, could
|
|
1678
|
+
never resume with the host's config plugins loaded. A plugin added after a run started, or
|
|
1679
|
+
reloaded, still fails closed. (#717)
|
|
1680
|
+
|
|
1681
|
+
- The last tool round pushes `WRAP_UP_NUDGE` (a host's `wording.wrapUp`), which asks for a
|
|
1682
|
+
plain-text answer, instead of the nudge that offers "the next tool": with the grammar off
|
|
1683
|
+
Qwen3.5-2B wrote that call as text and answered "I ran out of steps" (24 → 1 of 396 runs).
|
|
1684
|
+
- The runaway cap also counts tool markup in think blocks, closed or not.
|
|
1685
|
+
- A tool call whose arguments a model wrote as something other than an object, such as a
|
|
1686
|
+
string, no longer fails the run with a raw `TypeError`. The call is answered with an error
|
|
1687
|
+
the model reads, and the tool never runs.
|
|
1688
|
+
- A user plugin loads from the published package: `sharedImports` resolved the harness's own
|
|
1689
|
+
files by their `.ts` names, which the compiled `dist-lib` does not ship, so every host that
|
|
1690
|
+
loads user plugins from npm failed with `MODULE_NOT_FOUND`. It now names them with its own
|
|
1691
|
+
extension, and a test keeps shipped code from resolving its files by a `.ts` name.
|
|
1050
1692
|
- A host needs neither `@qvac/sdk` nor a patch of `@qvac/inference`. The
|
|
1051
1693
|
published types import `@qvac/inference`, so a Bare host type-checks
|
|
1052
1694
|
without the SDK or a `tsconfig` path, and the round tells a `length` stop at
|
|
@@ -1066,6 +1708,10 @@ breaking change is listed under Changed and Removed.
|
|
|
1066
1708
|
token on Qwen3.5-2B after a 12-turn chat). (#605)
|
|
1067
1709
|
- A `skill` call that names a skill by its display name, in another case, or by
|
|
1068
1710
|
the one tool it grants (`pptx`) loads that skill. (#528)
|
|
1711
|
+
- A call the model repeats after it failed now says it was not run again,
|
|
1712
|
+
instead of only repeating the failure. A run that stops on those repeats and
|
|
1713
|
+
whose wrap-up says nothing ends on `REPEATED_CALL_ANSWER` instead of "I ran
|
|
1714
|
+
out of steps", which invited the same loop.
|
|
1069
1715
|
- On Node, the Python plugin finds pyodide and the vendored wheels without
|
|
1070
1716
|
`import.meta.asset`: it resolves both with `import.meta.resolve`. (#535)
|
|
1071
1717
|
- A skill's tools are reselected on the turn the skill loads, so a run
|
|
@@ -1116,6 +1762,48 @@ breaking change is listed under Changed and Removed.
|
|
|
1116
1762
|
round past `maxToolRounds`. (#167)
|
|
1117
1763
|
- A `FAIL` sent while a run was finishing no longer runs the finishing step and
|
|
1118
1764
|
its `runEnd` hook again. (#167)
|
|
1765
|
+
- After `generate_image` or `edit_image`, the next round is told the image is
|
|
1766
|
+
attached and shown to the user, as it is after `pdf`, the office tools and
|
|
1767
|
+
`exec`, instead of "call the next tool, or answer". On that nudge Qwen3.5-4B
|
|
1768
|
+
sometimes called `generate_image` again to show the image it had just made,
|
|
1769
|
+
and the chat got two. (#610)
|
|
1770
|
+
- A custom model whose head width a quantized KV block does not divide loads
|
|
1771
|
+
with an `f16` cache instead of failing with "Failed to initialize context"
|
|
1772
|
+
(BeeLLM, head width 40, under the hosts' `q8_0`). (QVAC-27064)
|
|
1773
|
+
- A custom model whose chat template has no `<think>` tag no longer starts its
|
|
1774
|
+
reply inside a think block, so the reply stops streaming as thinking and then
|
|
1775
|
+
repeating as the answer (Qwen2.5-Coder with thinking on). Its reasoning
|
|
1776
|
+
budget is unchanged. (QVAC-27064)
|
|
1777
|
+
- An `http_request` body, or a shaped skill operation response, is cut at a
|
|
1778
|
+
share of the context window instead of a fixed 8 KB: half the room the last
|
|
1779
|
+
round left, at a character per token so Chinese or Japanese text cannot
|
|
1780
|
+
overflow it, and shared by every call in the round. With 11k tokens used of
|
|
1781
|
+
a 51k window that is 20,000 characters where it was 8,192. A cut result
|
|
1782
|
+
carries `truncated`, with the characters kept, the total, the share read and
|
|
1783
|
+
a note that the reply must say so. A Google Doc export came back as its
|
|
1784
|
+
first fragment and the model summarized that as the whole document. See
|
|
1785
|
+
[the decision record](./docs/decisions/2026-10-23-a-tool-response-is-cut-to-the-window-and-says-so.md).
|
|
1786
|
+
- `http_request` gives up once no byte has arrived for 10 seconds, at any
|
|
1787
|
+
point in the request, instead of 10 seconds for the whole response. A body
|
|
1788
|
+
that keeps arriving gets up to 30 seconds, so a large Google Doc export on a
|
|
1789
|
+
slow link finishes, while a server that stops answering still fails as fast
|
|
1790
|
+
as before.
|
|
1791
|
+
- `pptx` skips look-only keys, an invented theme, a body a layout cannot hold
|
|
1792
|
+
and a picture with no upload, listing them in `skipped`, instead of
|
|
1793
|
+
refusing the whole deck. (#527)
|
|
1794
|
+
- A loaded skill's body reaches the model as text under its `[Tool: skill …]`
|
|
1795
|
+
header, with only `name` and `file` on the JSON line, instead of stringified
|
|
1796
|
+
whole. Qwen3.5-4B copied the escaped quotes of `A[\"First step\"]` into its
|
|
1797
|
+
own Mermaid block, which the app then could not render (QVAC-24502). Turns
|
|
1798
|
+
an older harness stringified whole still read as loaded; an existing chat
|
|
1799
|
+
with a replayed skill stub re-reads once after the update. (#639)
|
|
1800
|
+
- A new user-added overlay skill no longer runs a credential health check, so
|
|
1801
|
+
a key it holds is never sent to a probe host it chose. An overlay that
|
|
1802
|
+
shadows a bundled skill keeps its checks, still bound to the bundled
|
|
1803
|
+
allow-list. (#654)
|
|
1804
|
+
- A skill picked with `@` that cannot serve the request, or whose input is not
|
|
1805
|
+
in the chat, now makes the model say so in one sentence instead of calling
|
|
1806
|
+
tools to force it. (#643)
|
|
1119
1807
|
|
|
1120
1808
|
## [0.8.12] - 2026-10-21
|
|
1121
1809
|
|
|
@@ -3245,7 +3933,8 @@ Install 0.2.12 or later to get them.
|
|
|
3245
3933
|
- Every dependency installs from the public npm registry: GPU stats are read
|
|
3246
3934
|
through `bare-gpu-info`. (#12)
|
|
3247
3935
|
|
|
3248
|
-
[Unreleased]: https://github.com/tetherto/qvac-harness/compare/
|
|
3936
|
+
[Unreleased]: https://github.com/tetherto/qvac-harness/compare/v1.0.0...HEAD
|
|
3937
|
+
[1.0.0]: https://github.com/tetherto/qvac-harness/compare/v0.8.12...v1.0.0
|
|
3249
3938
|
[0.8.12]: https://github.com/tetherto/qvac-harness/compare/v0.8.11...v0.8.12
|
|
3250
3939
|
[0.8.11]: https://github.com/tetherto/qvac-harness/compare/v0.8.10...v0.8.11
|
|
3251
3940
|
[0.8.10]: https://github.com/tetherto/qvac-harness/compare/v0.8.9...v0.8.10
|