@qvac/harness 1.0.0-rc.16 → 1.0.0-rc.18
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 +139 -2
- package/dist-lib/index.d.ts +6 -2
- package/dist-lib/index.js +17 -3
- package/dist-lib/lib/capabilities/completion-engine/actors/executing.d.ts +2 -1
- package/dist-lib/lib/capabilities/completion-engine/actors/executing.js +28 -3
- package/dist-lib/lib/capabilities/completion-engine/actors/execution-plan.js +1 -0
- 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/preparing.js +6 -3
- package/dist-lib/lib/capabilities/completion-engine/actors/run-prepare.js +1 -1
- package/dist-lib/lib/capabilities/completion-engine/actors/skill-step.js +2 -2
- 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/loop.d.ts +2 -1
- package/dist-lib/lib/capabilities/completion-engine/operations.js +28 -9
- package/dist-lib/lib/capabilities/completion-engine/ports.js +3 -2
- package/dist-lib/lib/capabilities/completion-engine/prepare-step.d.ts +3 -1
- package/dist-lib/lib/capabilities/completion-engine/session.d.ts +1 -0
- package/dist-lib/lib/capabilities/completion-engine/session.js +1 -0
- package/dist-lib/lib/capabilities/completion-engine/tool-execution.js +2 -1
- package/dist-lib/lib/capabilities/completion-engine/turns.js +5 -2
- package/dist-lib/lib/capabilities/enhance.js +3 -3
- package/dist-lib/lib/capabilities/sdk-tool.d.ts +1 -1
- package/dist-lib/lib/capabilities/sdk-tool.js +3 -2
- package/dist-lib/lib/capabilities/skill-entry.d.ts +9 -1
- package/dist-lib/lib/capabilities/skill-entry.js +11 -7
- package/dist-lib/lib/capabilities/tool-turns.d.ts +5 -0
- package/dist-lib/lib/capabilities/tool-turns.js +24 -27
- package/dist-lib/lib/client/index.js +3 -2
- package/dist-lib/lib/connect.d.ts +2 -0
- package/dist-lib/lib/connect.js +33 -3
- package/dist-lib/lib/contract/completion.d.ts +14 -0
- package/dist-lib/lib/contract/exec.d.ts +1 -0
- package/dist-lib/lib/contract/ocr.d.ts +4 -0
- package/dist-lib/lib/contract/run.d.ts +8 -0
- package/dist-lib/lib/contract-types.d.ts +4 -1
- package/dist-lib/lib/errors.d.ts +4 -0
- package/dist-lib/lib/errors.js +5 -1
- 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 +16 -1
- 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/machine/completion/actions/completion.js +34 -5
- package/dist-lib/lib/machine/completion/actions/tools.js +4 -1
- package/dist-lib/lib/machine/completion/rules.d.ts +2 -0
- package/dist-lib/lib/machine/completion/rules.js +7 -0
- package/dist-lib/lib/machine/completion/types.d.ts +6 -0
- package/dist-lib/lib/machine/index.d.ts +2 -1
- package/dist-lib/lib/machine/index.js +2 -1
- package/dist-lib/lib/no-redirect-fetch-impl.d.ts +1 -1
- package/dist-lib/lib/no-redirect-fetch-impl.js +13 -7
- package/dist-lib/lib/office/engine/xlsx/sheet.js +10 -4
- package/dist-lib/lib/plugins/registry.d.ts +3 -0
- package/dist-lib/lib/plugins/registry.js +15 -1
- 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/run-log/request-codec.js +2 -2
- package/dist-lib/lib/serve.js +38 -1
- package/dist-lib/lib/sidecar/index.d.ts +1 -1
- package/dist-lib/lib/sidecar/index.js +5 -6
- package/dist-lib/lib/skills-host/index.js +13 -8
- package/dist-lib/lib/spawn.d.ts +2 -0
- package/dist-lib/lib/spawn.js +5 -3
- 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/exec.js +2 -1
- package/dist-lib/lib/tools/fs/document-text.js +3 -26
- package/dist-lib/lib/tools/http-request/request.d.ts +2 -2
- package/dist-lib/lib/tools/http-request/request.js +1 -1
- package/dist-lib/lib/tools/http-request.d.ts +1 -0
- package/dist-lib/lib/tools/http-request.js +54 -3
- 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.js +20 -12
- package/dist-lib/lib/tools/pdf/pages.d.ts +12 -0
- package/dist-lib/lib/tools/pdf/pages.js +28 -0
- package/dist-lib/lib/tools/pdf.js +24 -9
- package/dist-lib/lib/tools/skills/bundled-dir.d.ts +5 -1
- package/dist-lib/lib/tools/skills/bundled-dir.js +23 -20
- package/dist-lib/lib/tools/skills/catalog.d.ts +1 -1
- package/dist-lib/lib/tools/skills/catalog.js +1 -1
- 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/scope-key.d.ts +1 -0
- package/dist-lib/lib/tools/skills/scope-key.js +4 -0
- package/dist-lib/lib/tools/web-fetch.js +41 -130
- package/dist-lib/plugins/knowledge/index.js +3 -3
- package/dist-lib/plugins/mcp/call.js +5 -1
- package/dist-lib/plugins/mcp/protocol.d.ts +6 -1
- package/dist-lib/plugins/mcp/protocol.js +2 -2
- package/dist-lib/plugins/ocr/reading-order.js +151 -4
- 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 +1 -0
- package/dist-lib/plugins/python/index.js +1 -0
- package/dist-lib/plugins/python/language.js +9 -8
- package/dist-lib/plugins/python/python-adapter.d.ts +4 -0
- package/dist-lib/plugins/python/python-adapter.js +26 -0
- 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/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/weather/lookup.js +1 -0
- package/dist-lib/schema/harness.js +17 -0
- 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 +32 -0
- package/dist-lib/spec/hyperschema/index.js +32 -0
- package/dist-lib/spec/hyperschema/schema.json +40 -0
- package/dist-lib/spec/hyperschema/types.d.ts +12 -0
- package/package.json +18 -9
|
@@ -924,6 +924,18 @@ export function registerHarnessTypes(ns) {
|
|
|
924
924
|
{ name: 'pending', type: 'uint' }
|
|
925
925
|
]
|
|
926
926
|
});
|
|
927
|
+
ns.register({
|
|
928
|
+
name: 'ocr-read-request',
|
|
929
|
+
fields: [
|
|
930
|
+
{ name: 'width', type: 'uint', required: true },
|
|
931
|
+
{ name: 'height', type: 'uint', required: true },
|
|
932
|
+
{ name: 'data', type: 'buffer', required: true }
|
|
933
|
+
]
|
|
934
|
+
});
|
|
935
|
+
ns.register({
|
|
936
|
+
name: 'ocr-read-response',
|
|
937
|
+
fields: [{ name: 'text', type: 'string', required: true }]
|
|
938
|
+
});
|
|
927
939
|
}
|
|
928
940
|
export function registerHarnessApi(api) {
|
|
929
941
|
api.register({
|
|
@@ -1126,4 +1138,9 @@ export function registerHarnessApi(api) {
|
|
|
1126
1138
|
request: { name: '@harness/empty', stream: false },
|
|
1127
1139
|
response: { name: '@harness/knowledge-status-response', stream: false }
|
|
1128
1140
|
});
|
|
1141
|
+
api.register({
|
|
1142
|
+
name: 'ocr-read',
|
|
1143
|
+
request: { name: '@harness/ocr-read-request', stream: false },
|
|
1144
|
+
response: { name: '@harness/ocr-read-response', stream: false }
|
|
1145
|
+
});
|
|
1129
1146
|
}
|
package/dist-lib/spec/bind.js
CHANGED
package/dist-lib/spec/calls.js
CHANGED
|
@@ -50,5 +50,6 @@ export function harnessClient(rpc) {
|
|
|
50
50
|
knowledgeRemove: (input) => rpc.knowledgeRemove(input),
|
|
51
51
|
knowledgeSearch: (input) => rpc.knowledgeSearch(input),
|
|
52
52
|
knowledgeStatus: (input) => rpc.knowledgeStatus(input),
|
|
53
|
+
ocrRead: (input) => rpc.ocrRead(input),
|
|
53
54
|
};
|
|
54
55
|
}
|
|
@@ -520,6 +520,19 @@
|
|
|
520
520
|
"stream": false
|
|
521
521
|
},
|
|
522
522
|
"version": 1
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"id": 40,
|
|
526
|
+
"name": "@harness/ocr-read",
|
|
527
|
+
"request": {
|
|
528
|
+
"name": "@harness/ocr-read-request",
|
|
529
|
+
"stream": false
|
|
530
|
+
},
|
|
531
|
+
"response": {
|
|
532
|
+
"name": "@harness/ocr-read-response",
|
|
533
|
+
"stream": false
|
|
534
|
+
},
|
|
535
|
+
"version": 1
|
|
523
536
|
}
|
|
524
537
|
]
|
|
525
538
|
}
|
|
@@ -85,7 +85,9 @@ const methods = new Map([
|
|
|
85
85
|
['@harness/knowledge-search', 38],
|
|
86
86
|
[38, '@harness/knowledge-search'],
|
|
87
87
|
['@harness/knowledge-status', 39],
|
|
88
|
-
[39, '@harness/knowledge-status']
|
|
88
|
+
[39, '@harness/knowledge-status'],
|
|
89
|
+
['@harness/ocr-read', 40],
|
|
90
|
+
[40, '@harness/ocr-read']
|
|
89
91
|
])
|
|
90
92
|
|
|
91
93
|
class HRPC {
|
|
@@ -132,7 +134,8 @@ class HRPC {
|
|
|
132
134
|
['@harness/knowledge-upsert', getEncoding('@harness/knowledge-upsert-request')],
|
|
133
135
|
['@harness/knowledge-remove', getEncoding('@harness/knowledge-remove-request')],
|
|
134
136
|
['@harness/knowledge-search', getEncoding('@harness/knowledge-search-request')],
|
|
135
|
-
['@harness/knowledge-status', getEncoding('@harness/empty')]
|
|
137
|
+
['@harness/knowledge-status', getEncoding('@harness/empty')],
|
|
138
|
+
['@harness/ocr-read', getEncoding('@harness/ocr-read-request')]
|
|
136
139
|
])
|
|
137
140
|
this._responseEncodings = new Map([
|
|
138
141
|
['@harness/completion', getEncoding('@harness/completion-event')],
|
|
@@ -174,7 +177,8 @@ class HRPC {
|
|
|
174
177
|
['@harness/knowledge-upsert', getEncoding('@harness/knowledge-upsert-response')],
|
|
175
178
|
['@harness/knowledge-remove', getEncoding('@harness/knowledge-remove-response')],
|
|
176
179
|
['@harness/knowledge-search', getEncoding('@harness/knowledge-search-response')],
|
|
177
|
-
['@harness/knowledge-status', getEncoding('@harness/knowledge-status-response')]
|
|
180
|
+
['@harness/knowledge-status', getEncoding('@harness/knowledge-status-response')],
|
|
181
|
+
['@harness/ocr-read', getEncoding('@harness/ocr-read-response')]
|
|
178
182
|
])
|
|
179
183
|
this._rpc = new RPC(stream, async (req) => {
|
|
180
184
|
const command = methods.get(req.command)
|
|
@@ -432,6 +436,10 @@ class HRPC {
|
|
|
432
436
|
return this._call('@harness/knowledge-status', args)
|
|
433
437
|
}
|
|
434
438
|
|
|
439
|
+
async ocrRead(args) {
|
|
440
|
+
return this._call('@harness/ocr-read', args)
|
|
441
|
+
}
|
|
442
|
+
|
|
435
443
|
onCompletion(responseFn) {
|
|
436
444
|
this._handlers['@harness/completion'] = responseFn
|
|
437
445
|
}
|
|
@@ -592,6 +600,10 @@ class HRPC {
|
|
|
592
600
|
this._handlers['@harness/knowledge-status'] = responseFn
|
|
593
601
|
}
|
|
594
602
|
|
|
603
|
+
onOcrRead(responseFn) {
|
|
604
|
+
this._handlers['@harness/ocr-read'] = responseFn
|
|
605
|
+
}
|
|
606
|
+
|
|
595
607
|
_requestIsStream(command) {
|
|
596
608
|
return [
|
|
597
609
|
'@harness/completion',
|
|
@@ -4224,6 +4224,34 @@ const encoding108 = {
|
|
|
4224
4224
|
}
|
|
4225
4225
|
}
|
|
4226
4226
|
|
|
4227
|
+
// @harness/ocr-read-request
|
|
4228
|
+
const encoding109 = {
|
|
4229
|
+
preencode(state, m) {
|
|
4230
|
+
c.uint.preencode(state, m.width)
|
|
4231
|
+
c.uint.preencode(state, m.height)
|
|
4232
|
+
c.buffer.preencode(state, m.data)
|
|
4233
|
+
},
|
|
4234
|
+
encode(state, m) {
|
|
4235
|
+
c.uint.encode(state, m.width)
|
|
4236
|
+
c.uint.encode(state, m.height)
|
|
4237
|
+
c.buffer.encode(state, m.data)
|
|
4238
|
+
},
|
|
4239
|
+
decode(state) {
|
|
4240
|
+
const r0 = c.uint.decode(state)
|
|
4241
|
+
const r1 = c.uint.decode(state)
|
|
4242
|
+
const r2 = c.buffer.decode(state)
|
|
4243
|
+
|
|
4244
|
+
return {
|
|
4245
|
+
width: r0,
|
|
4246
|
+
height: r1,
|
|
4247
|
+
data: r2
|
|
4248
|
+
}
|
|
4249
|
+
}
|
|
4250
|
+
}
|
|
4251
|
+
|
|
4252
|
+
// @harness/ocr-read-response
|
|
4253
|
+
const encoding110 = encoding44
|
|
4254
|
+
|
|
4227
4255
|
// @harness/agent-knobs.handoffs, deferred due to recusive use
|
|
4228
4256
|
const encoding4_18 = c.array(c.frame(encoding95))
|
|
4229
4257
|
// @harness/completion-frame.grantedDrives, deferred due to recusive use
|
|
@@ -4510,6 +4538,10 @@ function getEncoding(name) {
|
|
|
4510
4538
|
return encoding107
|
|
4511
4539
|
case '@harness/knowledge-status-response':
|
|
4512
4540
|
return encoding108
|
|
4541
|
+
case '@harness/ocr-read-request':
|
|
4542
|
+
return encoding109
|
|
4543
|
+
case '@harness/ocr-read-response':
|
|
4544
|
+
return encoding110
|
|
4513
4545
|
default:
|
|
4514
4546
|
throw new Error('Encoder not found ' + name)
|
|
4515
4547
|
}
|
|
@@ -4224,6 +4224,34 @@ const encoding108 = {
|
|
|
4224
4224
|
}
|
|
4225
4225
|
}
|
|
4226
4226
|
|
|
4227
|
+
// @harness/ocr-read-request
|
|
4228
|
+
const encoding109 = {
|
|
4229
|
+
preencode(state, m) {
|
|
4230
|
+
c.uint.preencode(state, m.width)
|
|
4231
|
+
c.uint.preencode(state, m.height)
|
|
4232
|
+
c.buffer.preencode(state, m.data)
|
|
4233
|
+
},
|
|
4234
|
+
encode(state, m) {
|
|
4235
|
+
c.uint.encode(state, m.width)
|
|
4236
|
+
c.uint.encode(state, m.height)
|
|
4237
|
+
c.buffer.encode(state, m.data)
|
|
4238
|
+
},
|
|
4239
|
+
decode(state) {
|
|
4240
|
+
const r0 = c.uint.decode(state)
|
|
4241
|
+
const r1 = c.uint.decode(state)
|
|
4242
|
+
const r2 = c.buffer.decode(state)
|
|
4243
|
+
|
|
4244
|
+
return {
|
|
4245
|
+
width: r0,
|
|
4246
|
+
height: r1,
|
|
4247
|
+
data: r2
|
|
4248
|
+
}
|
|
4249
|
+
}
|
|
4250
|
+
}
|
|
4251
|
+
|
|
4252
|
+
// @harness/ocr-read-response
|
|
4253
|
+
const encoding110 = encoding44
|
|
4254
|
+
|
|
4227
4255
|
// @harness/agent-knobs.handoffs, deferred due to recusive use
|
|
4228
4256
|
const encoding4_18 = c.array(c.frame(encoding95))
|
|
4229
4257
|
// @harness/completion-frame.grantedDrives, deferred due to recusive use
|
|
@@ -4510,6 +4538,10 @@ function getEncoding(name) {
|
|
|
4510
4538
|
return encoding107
|
|
4511
4539
|
case '@harness/knowledge-status-response':
|
|
4512
4540
|
return encoding108
|
|
4541
|
+
case '@harness/ocr-read-request':
|
|
4542
|
+
return encoding109
|
|
4543
|
+
case '@harness/ocr-read-response':
|
|
4544
|
+
return encoding110
|
|
4513
4545
|
default:
|
|
4514
4546
|
throw new Error('Encoder not found ' + name)
|
|
4515
4547
|
}
|
|
@@ -3437,6 +3437,46 @@
|
|
|
3437
3437
|
"version": 23
|
|
3438
3438
|
}
|
|
3439
3439
|
]
|
|
3440
|
+
},
|
|
3441
|
+
{
|
|
3442
|
+
"name": "ocr-read-request",
|
|
3443
|
+
"namespace": "harness",
|
|
3444
|
+
"compact": false,
|
|
3445
|
+
"flagsPosition": -1,
|
|
3446
|
+
"fields": [
|
|
3447
|
+
{
|
|
3448
|
+
"name": "width",
|
|
3449
|
+
"required": true,
|
|
3450
|
+
"type": "uint",
|
|
3451
|
+
"version": 23
|
|
3452
|
+
},
|
|
3453
|
+
{
|
|
3454
|
+
"name": "height",
|
|
3455
|
+
"required": true,
|
|
3456
|
+
"type": "uint",
|
|
3457
|
+
"version": 23
|
|
3458
|
+
},
|
|
3459
|
+
{
|
|
3460
|
+
"name": "data",
|
|
3461
|
+
"required": true,
|
|
3462
|
+
"type": "buffer",
|
|
3463
|
+
"version": 23
|
|
3464
|
+
}
|
|
3465
|
+
]
|
|
3466
|
+
},
|
|
3467
|
+
{
|
|
3468
|
+
"name": "ocr-read-response",
|
|
3469
|
+
"namespace": "harness",
|
|
3470
|
+
"compact": false,
|
|
3471
|
+
"flagsPosition": -1,
|
|
3472
|
+
"fields": [
|
|
3473
|
+
{
|
|
3474
|
+
"name": "text",
|
|
3475
|
+
"required": true,
|
|
3476
|
+
"type": "string",
|
|
3477
|
+
"version": 23
|
|
3478
|
+
}
|
|
3479
|
+
]
|
|
3440
3480
|
}
|
|
3441
3481
|
]
|
|
3442
3482
|
}
|
|
@@ -708,6 +708,16 @@ export interface HarnessKnowledgeStatusResponse {
|
|
|
708
708
|
pending?: number
|
|
709
709
|
}
|
|
710
710
|
|
|
711
|
+
export interface HarnessOcrReadRequest {
|
|
712
|
+
width: number
|
|
713
|
+
height: number
|
|
714
|
+
data: Buffer
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
export interface HarnessOcrReadResponse {
|
|
718
|
+
text: string
|
|
719
|
+
}
|
|
720
|
+
|
|
711
721
|
export interface SchemaTypes {
|
|
712
722
|
"@harness/empty": HarnessEmpty
|
|
713
723
|
"@harness/ok-response": HarnessOkResponse
|
|
@@ -818,4 +828,6 @@ export interface SchemaTypes {
|
|
|
818
828
|
"@harness/knowledge-search-response": HarnessKnowledgeSearchResponse
|
|
819
829
|
"@harness/knowledge-artifact-status": HarnessKnowledgeArtifactStatus
|
|
820
830
|
"@harness/knowledge-status-response": HarnessKnowledgeStatusResponse
|
|
831
|
+
"@harness/ocr-read-request": HarnessOcrReadRequest
|
|
832
|
+
"@harness/ocr-read-response": HarnessOcrReadResponse
|
|
821
833
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qvac/harness",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
|
-
"bare": ">=1.
|
|
6
|
+
"bare": ">=1.33.4",
|
|
7
7
|
"node": "^22.21.0 || >=24.9.0"
|
|
8
8
|
},
|
|
9
9
|
"description": "An AI harness implementing generate(context) via @qvac/sdk. Knows nothing about workbench, hyperdb, or chunks — just inference in, events out.",
|
|
@@ -24,6 +24,10 @@
|
|
|
24
24
|
"types": "./dist-lib/lib/office/index.d.ts",
|
|
25
25
|
"default": "./dist-lib/lib/office/index.js"
|
|
26
26
|
},
|
|
27
|
+
"./pdf-pages": {
|
|
28
|
+
"types": "./dist-lib/lib/tools/pdf/pages.d.ts",
|
|
29
|
+
"default": "./dist-lib/lib/tools/pdf/pages.js"
|
|
30
|
+
},
|
|
27
31
|
"./plugins/python": {
|
|
28
32
|
"types": "./dist-lib/plugins/python/index.d.ts",
|
|
29
33
|
"default": "./dist-lib/plugins/python/index.js"
|
|
@@ -452,7 +456,10 @@
|
|
|
452
456
|
"test:node": "QVAC_NO_SKILL_BIN_PROBE=1 node scripts/test-node.mjs",
|
|
453
457
|
"machine:graph": "bun scripts/generate-completion-graph.ts",
|
|
454
458
|
"format": "prettier . --write",
|
|
455
|
-
"lint": "
|
|
459
|
+
"lint": "npm run lint:format && npm run lint:js && npm run typecheck",
|
|
460
|
+
"lint:format": "prettier . --check",
|
|
461
|
+
"lint:js": "lunte && node scripts/docs-audit.cjs",
|
|
462
|
+
"typecheck": "tsc --noEmit",
|
|
456
463
|
"build:bundle": "node scripts/build-bundle.mjs",
|
|
457
464
|
"skill-eval": "bare bench/skill-eval/run.ts",
|
|
458
465
|
"skill-eval:baseline": "bare bench/skill-eval/baseline.ts",
|
|
@@ -523,6 +530,7 @@
|
|
|
523
530
|
"default": "./dist-lib/plugins/speech/audio-transcode-node.js"
|
|
524
531
|
},
|
|
525
532
|
"#pyodide-worker-entry": "./dist-lib/plugins/python/worker/entry.js",
|
|
533
|
+
"#pyodide-worker-preload": "./dist-lib/plugins/python/worker/preload.js",
|
|
526
534
|
"#pyodide-interrupt-deadline": "./dist-lib/plugins/python/worker/interrupt-deadline.js",
|
|
527
535
|
"#pyodide-wheels": "./wheels/manifest.json",
|
|
528
536
|
"#qvac-sandbox": {
|
|
@@ -581,7 +589,6 @@
|
|
|
581
589
|
"@qvac/error": "^0.1.1",
|
|
582
590
|
"@qvac/inference": "^0.23.0",
|
|
583
591
|
"@qvac/logging": "0.1.1",
|
|
584
|
-
"@qvac/skills": "^0.1.20",
|
|
585
592
|
"@xmldom/xmldom": "^0.9.12",
|
|
586
593
|
"asenion": "^0.1.0",
|
|
587
594
|
"b4a": "^1.9.0",
|
|
@@ -594,7 +601,7 @@
|
|
|
594
601
|
"bare-fetch": "^3.0.1",
|
|
595
602
|
"bare-file-logger": "^1.2.1",
|
|
596
603
|
"bare-fs": "^4.7.2",
|
|
597
|
-
"bare-gpu-info": "^0.1.
|
|
604
|
+
"bare-gpu-info": "^0.1.3",
|
|
598
605
|
"bare-http1": "4.5.9",
|
|
599
606
|
"bare-https": "^3.0.0",
|
|
600
607
|
"bare-module": "~7.1.0",
|
|
@@ -610,7 +617,7 @@
|
|
|
610
617
|
"bare-supervisor": "^0.1.1",
|
|
611
618
|
"bare-tls": "^3.1.13",
|
|
612
619
|
"bare-tty": "^5.1.2",
|
|
613
|
-
"bare-url": "^2.
|
|
620
|
+
"bare-url": "^2.5.6",
|
|
614
621
|
"bare-worker": "4.5.0",
|
|
615
622
|
"bare-zlib": "^1.4.1",
|
|
616
623
|
"compact-encoding": "^3.4.0",
|
|
@@ -643,7 +650,7 @@
|
|
|
643
650
|
"@qvac/sdk": "^0.23.0",
|
|
644
651
|
"@qvac/translation-nmtcpp": "^0.23.0",
|
|
645
652
|
"@qvac/tts-ggml": "^0.14.0",
|
|
646
|
-
"@qvac/turbovec-ggml": "^0.3.
|
|
653
|
+
"@qvac/turbovec-ggml": "^0.3.1",
|
|
647
654
|
"bare-ffmpeg": "^1.2.3",
|
|
648
655
|
"bare-image-resample": "^1.0.2",
|
|
649
656
|
"bare-media": "^2.10.0",
|
|
@@ -737,9 +744,10 @@
|
|
|
737
744
|
"@qvac/llm-llamacpp": "^0.65.0",
|
|
738
745
|
"@qvac/ocr-ggml": "^0.31.0",
|
|
739
746
|
"@qvac/sdk": "^0.23.0",
|
|
747
|
+
"@qvac/skills": "^0.1.20",
|
|
740
748
|
"@qvac/translation-nmtcpp": "^0.23.0",
|
|
741
749
|
"@qvac/tts-ggml": "^0.14.0",
|
|
742
|
-
"@qvac/turbovec-ggml": "^0.3.
|
|
750
|
+
"@qvac/turbovec-ggml": "^0.3.1",
|
|
743
751
|
"bare-bundle": "^1.10.0",
|
|
744
752
|
"bare-ffmpeg": "^1.2.3",
|
|
745
753
|
"bare-image-resample": "^1.0.2",
|
|
@@ -797,7 +805,8 @@
|
|
|
797
805
|
"tar": "^7.5.22",
|
|
798
806
|
"autobee": "^2.6.0",
|
|
799
807
|
"bare-http1": "4.5.9",
|
|
800
|
-
"localwatch": "^1.4.4"
|
|
808
|
+
"localwatch": "^1.4.4",
|
|
809
|
+
"bare-gpu-info": "^0.1.3"
|
|
801
810
|
},
|
|
802
811
|
"publishConfig": {
|
|
803
812
|
"access": "public"
|