@qvac/harness 0.2.5 → 0.2.7
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/.claude/skills/asana/SKILL.md +86 -0
- package/.claude/skills/gh-stack/SKILL.md +181 -0
- package/.claude/skills/gh-stack/references/commands.md +177 -0
- package/.claude/skills/gh-stack/references/stack-design.md +97 -0
- package/.claude/skills/gh-stack/references/troubleshooting.md +159 -0
- package/.claude/skills/js-house-style/SKILL.md +671 -0
- package/.claude/skills/kvcache/SKILL.md +171 -0
- package/.claude/skills/pr-create/SKILL.md +180 -0
- package/.claude/skills/pr-review/SKILL.md +217 -0
- package/CLAUDE.md +39 -0
- package/README.md +26 -4
- package/dist/harness.bundle +8 -60
- package/dist/prebuilds-manifest.json +0 -8
- package/dist-lib/index.d.ts +4 -1
- package/dist-lib/index.js +23 -7
- package/dist-lib/lib/docx/index.d.ts +5 -0
- package/dist-lib/lib/docx/index.js +49 -0
- package/dist-lib/lib/models/model-pool.d.ts +1 -1
- package/dist-lib/lib/models/model-pool.js +3 -2
- package/dist-lib/lib/spawn.d.ts +1 -0
- package/dist-lib/lib/tools/exec/adapters/python/pyodide.js +2 -0
- package/dist-lib/lib/tools/exec/adapters/python/wheels.js +2 -1
- package/dist-lib/lib/tools/exec/adapters/python/worker/client.js +1 -1
- package/dist-lib/schema/generate.d.ts +6 -2
- package/dist-lib/schema/generate.js +10 -5
- package/docs/decisions/2026-05-29-kvcache-tool-turns.md +75 -0
- package/docs/decisions/2026-06-02-kvcache-tool-turns-reenabled.md +127 -0
- package/docs/decisions/2026-06-23-android-cpu-llm-defaults.md +126 -0
- package/docs/decisions/2026-07-29-assistant-owned-storage-layout.md +88 -0
- package/docs/decisions/2026-08-04-sidecar-orphan-reaping.md +79 -0
- package/docs/decisions/2026-08-11-pyodide-worker-thread.md +68 -0
- package/docs/decisions/2026-08-17-harness-hook-pipeline.md +84 -0
- package/docs/decisions/2026-08-17-harness-outbound-egress-guard.md +176 -0
- package/docs/decisions/2026-08-20-chat-prompt-prefix-is-stable.md +95 -0
- package/docs/decisions/2026-08-20-kvcache-static-placement.md +109 -0
- package/docs/decisions/2026-08-21-vendored-python-wheels.md +85 -0
- package/docs/decisions/2026-08-26-exec-is-not-gated-by-skills.md +64 -0
- package/docs/decisions/2026-08-27-writable-skills-overlay.md +56 -0
- package/docs/decisions/2026-09-01-skill-operation-manifests.md +53 -0
- package/docs/decisions/2026-09-01-usage-breakdown-is-measured.md +78 -0
- package/docs/decisions/2026-09-03-usage-breakdown-reported-by-the-harness.md +136 -0
- package/docs/decisions/INDEX.md +38 -0
- package/docs/decisions/TEMPLATE.md +32 -0
- package/docs/kvcache-reference.md +655 -0
- package/package.json +6 -2
- package/worker/harness-sidecar.mjs +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qvac/harness",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "An AI harness implementing generate(context) via @qvac/sdk. Knows nothing about workbench, hyperdb, or chunks — just inference in, events out.",
|
|
6
6
|
"exports": {
|
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
"types": "./dist-lib/index.d.ts",
|
|
9
9
|
"default": "./dist-lib/index.js"
|
|
10
10
|
},
|
|
11
|
+
"./docx": {
|
|
12
|
+
"types": "./dist-lib/lib/docx/index.d.ts",
|
|
13
|
+
"default": "./dist-lib/lib/docx/index.js"
|
|
14
|
+
},
|
|
11
15
|
"./lib/dns-lookup.ts": {
|
|
12
16
|
"types": "./dist-lib/lib/dns-lookup.d.ts",
|
|
13
17
|
"default": "./dist-lib/lib/dns-lookup.js"
|
|
@@ -539,7 +543,7 @@
|
|
|
539
543
|
},
|
|
540
544
|
"scripts": {
|
|
541
545
|
"build:schema": "bare schema/build.ts",
|
|
542
|
-
"test": "npm run test:node && npm run test:bare && npm run test:addons",
|
|
546
|
+
"test": "npm run vendor:wheels && npm run test:node && npm run test:bare && npm run test:addons",
|
|
543
547
|
"test:node": "QVAC_NO_SKILL_BIN_PROBE=1 brittle-node test/all.ts | prettytap",
|
|
544
548
|
"test:bare": "QVAC_NO_SKILL_BIN_PROBE=1 brittle-bare test/all.ts | prettytap",
|
|
545
549
|
"format": "prettier . --write",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// argv (empty = absent): [2] skillsDir, [3] SDK storage JSON (required: the fs deny list fences it), [4] embedding config JSON,
|
|
3
3
|
// [5] imageModel JSON, [6] imageClamps JSON,
|
|
4
4
|
// [7] '1' to enable harness logging (written to `harness.log`, beside assistant.log),
|
|
5
|
-
// [8] llm config JSON (llmDevice/llmGpuLayers/contextSize/kvCacheK/kvCacheV),
|
|
5
|
+
// [8] llm config JSON (llmDevice/llmGpuLayers/contextSize/kvCacheK/kvCacheV/completionModelCap),
|
|
6
6
|
// [9] musicModel JSON, [10] musicClamps JSON, [11] vendored python wheels dir,
|
|
7
7
|
// [12] host-supplied GPU stats JSON.
|
|
8
8
|
import '../dist-lib/lib/hardware/gpu-probe-entry.js'
|
|
@@ -169,7 +169,8 @@ export default async function start(ipc, ready) {
|
|
|
169
169
|
llmGpuLayers: llmConfig.llmGpuLayers,
|
|
170
170
|
contextSize: llmConfig.contextSize,
|
|
171
171
|
kvCacheK: llmConfig.kvCacheK,
|
|
172
|
-
kvCacheV: llmConfig.kvCacheV
|
|
172
|
+
kvCacheV: llmConfig.kvCacheV,
|
|
173
|
+
completionModelCap: llmConfig.completionModelCap
|
|
173
174
|
})
|
|
174
175
|
serveHarness(ipc, harness)
|
|
175
176
|
ready()
|