@qvac/harness 0.3.0 → 0.3.1
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 +213 -0
- package/dist/harness.bundle +13 -11
- package/dist-lib/index.d.ts +1 -1
- package/dist-lib/lib/capabilities/completion.d.ts +3 -0
- package/dist-lib/lib/capabilities/completion.js +17 -5
- package/dist-lib/lib/helpers/tool-call-markup.js +15 -7
- package/dist-lib/lib/no-redirect-fetch-impl.d.ts +3 -2
- package/dist-lib/lib/no-redirect-fetch-impl.js +4 -1
- package/dist-lib/lib/tools/exec/adapters/adapter.d.ts +2 -0
- package/dist-lib/lib/tools/exec/adapters/python/distributions.d.ts +1 -0
- package/dist-lib/lib/tools/exec/adapters/python/distributions.js +4 -0
- package/dist-lib/lib/tools/exec/adapters/python/guarded-fetch.d.ts +67 -0
- package/dist-lib/lib/tools/exec/adapters/python/guarded-fetch.js +196 -0
- package/dist-lib/lib/tools/exec/adapters/python/loader.js +2 -1
- package/dist-lib/lib/tools/exec/adapters/python/module-distributions.d.ts +1 -0
- package/dist-lib/lib/tools/exec/adapters/python/module-distributions.js +52 -0
- package/dist-lib/lib/tools/exec/adapters/python/net-shim.d.ts +2 -0
- package/dist-lib/lib/tools/exec/adapters/python/net-shim.js +148 -0
- package/dist-lib/lib/tools/exec/adapters/python/output-policy.js +13 -1
- package/dist-lib/lib/tools/exec/adapters/python/pyodide.d.ts +1 -0
- package/dist-lib/lib/tools/exec/adapters/python/pyodide.js +1 -0
- package/dist-lib/lib/tools/exec/adapters/python/python-adapter.d.ts +9 -3
- package/dist-lib/lib/tools/exec/adapters/python/python-adapter.js +130 -20
- package/dist-lib/lib/tools/exec/adapters/python/run-session.d.ts +3 -0
- package/dist-lib/lib/tools/exec/adapters/python/run-session.js +25 -8
- package/dist-lib/lib/tools/exec/adapters/python/wheels.d.ts +6 -0
- package/dist-lib/lib/tools/exec/adapters/python/wheels.js +17 -3
- package/dist-lib/lib/tools/exec/adapters/shell/shell-adapter.js +7 -1
- package/dist-lib/lib/tools/exec/shell-guidance.d.ts +10 -0
- package/dist-lib/lib/tools/exec/shell-guidance.js +123 -0
- package/dist-lib/lib/tools/exec/video-tools.d.ts +5 -0
- package/dist-lib/lib/tools/exec/video-tools.js +40 -0
- package/dist-lib/lib/tools/exec.d.ts +2 -1
- package/dist-lib/lib/tools/exec.js +59 -32
- package/dist-lib/lib/tools/http-request/truncate-response.d.ts +1 -0
- package/dist-lib/lib/tools/http-request/truncate-response.js +1 -1
- package/dist-lib/lib/tools/http-request.js +4 -1
- package/dist-lib/lib/tools/operations/builders.d.ts +1 -1
- package/dist-lib/lib/tools/operations/builders.js +9 -0
- package/dist-lib/lib/tools/operations/compile.js +41 -18
- package/dist-lib/lib/tools/operations/decoders.d.ts +6 -0
- package/dist-lib/lib/tools/operations/decoders.js +82 -0
- package/dist-lib/lib/tools/operations/manifest.d.ts +16 -2
- package/dist-lib/lib/tools/operations/manifest.js +6 -1
- package/dist-lib/lib/tools/skill.d.ts +3 -0
- package/dist-lib/lib/tools/skill.js +38 -5
- package/dist-lib/lib/tools/skills/manifest-parse.js +43 -1
- package/dist-lib/lib/tools/skills/manifest.d.ts +13 -0
- package/dist-lib/schema/harness.js +20 -1
- package/dist-lib/spec/hrpc/messages.js +93 -5
- package/dist-lib/spec/hyperschema/index.js +93 -5
- package/dist-lib/spec/hyperschema/schema.json +66 -1
- package/dist-lib/spec/hyperschema/types.d.ts +18 -1
- package/package.json +30 -2
- package/wheels/manifest.json +15 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file is autogenerated by hyperschema-ts
|
|
2
|
-
// Schema version:
|
|
2
|
+
// Schema version: 13
|
|
3
3
|
// Do not edit manually.
|
|
4
4
|
|
|
5
5
|
export interface HarnessEmpty {
|
|
@@ -514,6 +514,21 @@ export interface HarnessSkillOauthConfig {
|
|
|
514
514
|
registrationEndpoint?: string | null
|
|
515
515
|
port?: number
|
|
516
516
|
sharedIosSession?: boolean
|
|
517
|
+
verify?: HarnessSkillOauthVerify | null
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
export interface HarnessSkillOauthVerifyRule {
|
|
521
|
+
error: string
|
|
522
|
+
status?: number[] | null
|
|
523
|
+
field?: string | null
|
|
524
|
+
notEqual?: string | null
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
export interface HarnessSkillOauthVerify {
|
|
528
|
+
url: string
|
|
529
|
+
method?: string | null
|
|
530
|
+
body?: string | null
|
|
531
|
+
reject?: HarnessSkillOauthVerifyRule[] | null
|
|
517
532
|
}
|
|
518
533
|
|
|
519
534
|
export interface SchemaTypes {
|
|
@@ -600,4 +615,6 @@ export interface SchemaTypes {
|
|
|
600
615
|
"@harness/detect-language-response": HarnessDetectLanguageResponse
|
|
601
616
|
"@harness/skill-oauth-param": HarnessSkillOauthParam
|
|
602
617
|
"@harness/skill-oauth-config": HarnessSkillOauthConfig
|
|
618
|
+
"@harness/skill-oauth-verify-rule": HarnessSkillOauthVerifyRule
|
|
619
|
+
"@harness/skill-oauth-verify": HarnessSkillOauthVerify
|
|
603
620
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qvac/harness",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
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": {
|
|
@@ -212,6 +212,14 @@
|
|
|
212
212
|
"types": "./dist-lib/lib/tools/exec/adapters/python/create-effect.d.ts",
|
|
213
213
|
"default": "./dist-lib/lib/tools/exec/adapters/python/create-effect.js"
|
|
214
214
|
},
|
|
215
|
+
"./lib/tools/exec/adapters/python/distributions.ts": {
|
|
216
|
+
"types": "./dist-lib/lib/tools/exec/adapters/python/distributions.d.ts",
|
|
217
|
+
"default": "./dist-lib/lib/tools/exec/adapters/python/distributions.js"
|
|
218
|
+
},
|
|
219
|
+
"./lib/tools/exec/adapters/python/guarded-fetch.ts": {
|
|
220
|
+
"types": "./dist-lib/lib/tools/exec/adapters/python/guarded-fetch.d.ts",
|
|
221
|
+
"default": "./dist-lib/lib/tools/exec/adapters/python/guarded-fetch.js"
|
|
222
|
+
},
|
|
215
223
|
"./lib/tools/exec/adapters/python/loader.ts": {
|
|
216
224
|
"types": "./dist-lib/lib/tools/exec/adapters/python/loader.d.ts",
|
|
217
225
|
"default": "./dist-lib/lib/tools/exec/adapters/python/loader.js"
|
|
@@ -220,6 +228,14 @@
|
|
|
220
228
|
"types": "./dist-lib/lib/tools/exec/adapters/python/memfs.d.ts",
|
|
221
229
|
"default": "./dist-lib/lib/tools/exec/adapters/python/memfs.js"
|
|
222
230
|
},
|
|
231
|
+
"./lib/tools/exec/adapters/python/module-distributions.ts": {
|
|
232
|
+
"types": "./dist-lib/lib/tools/exec/adapters/python/module-distributions.d.ts",
|
|
233
|
+
"default": "./dist-lib/lib/tools/exec/adapters/python/module-distributions.js"
|
|
234
|
+
},
|
|
235
|
+
"./lib/tools/exec/adapters/python/net-shim.ts": {
|
|
236
|
+
"types": "./dist-lib/lib/tools/exec/adapters/python/net-shim.d.ts",
|
|
237
|
+
"default": "./dist-lib/lib/tools/exec/adapters/python/net-shim.js"
|
|
238
|
+
},
|
|
223
239
|
"./lib/tools/exec/adapters/python/output-policy.ts": {
|
|
224
240
|
"types": "./dist-lib/lib/tools/exec/adapters/python/output-policy.d.ts",
|
|
225
241
|
"default": "./dist-lib/lib/tools/exec/adapters/python/output-policy.js"
|
|
@@ -328,6 +344,14 @@
|
|
|
328
344
|
"types": "./dist-lib/lib/tools/exec/shell-argv.d.ts",
|
|
329
345
|
"default": "./dist-lib/lib/tools/exec/shell-argv.js"
|
|
330
346
|
},
|
|
347
|
+
"./lib/tools/exec/shell-guidance.ts": {
|
|
348
|
+
"types": "./dist-lib/lib/tools/exec/shell-guidance.d.ts",
|
|
349
|
+
"default": "./dist-lib/lib/tools/exec/shell-guidance.js"
|
|
350
|
+
},
|
|
351
|
+
"./lib/tools/exec/video-tools.ts": {
|
|
352
|
+
"types": "./dist-lib/lib/tools/exec/video-tools.d.ts",
|
|
353
|
+
"default": "./dist-lib/lib/tools/exec/video-tools.js"
|
|
354
|
+
},
|
|
331
355
|
"./lib/tools/file-glob.ts": {
|
|
332
356
|
"types": "./dist-lib/lib/tools/file-glob.d.ts",
|
|
333
357
|
"default": "./dist-lib/lib/tools/file-glob.js"
|
|
@@ -412,6 +436,10 @@
|
|
|
412
436
|
"types": "./dist-lib/lib/tools/operations/compile.d.ts",
|
|
413
437
|
"default": "./dist-lib/lib/tools/operations/compile.js"
|
|
414
438
|
},
|
|
439
|
+
"./lib/tools/operations/decoders.ts": {
|
|
440
|
+
"types": "./dist-lib/lib/tools/operations/decoders.d.ts",
|
|
441
|
+
"default": "./dist-lib/lib/tools/operations/decoders.js"
|
|
442
|
+
},
|
|
415
443
|
"./lib/tools/operations/gmail-message.ts": {
|
|
416
444
|
"types": "./dist-lib/lib/tools/operations/gmail-message.d.ts",
|
|
417
445
|
"default": "./dist-lib/lib/tools/operations/gmail-message.js"
|
|
@@ -661,7 +689,7 @@
|
|
|
661
689
|
"@qvac/inference": "0.19.0",
|
|
662
690
|
"@qvac/langdetect-text": "0.1.2",
|
|
663
691
|
"@qvac/sdk": "0.19.0",
|
|
664
|
-
"@qvac/skills": "
|
|
692
|
+
"@qvac/skills": "0.1.7",
|
|
665
693
|
"asenion": "^0.1.0",
|
|
666
694
|
"b4a": "^1.8.1",
|
|
667
695
|
"bare-abort-controller": "^1.1.2",
|
package/wheels/manifest.json
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
"packages": {
|
|
4
4
|
"fpdf2": {
|
|
5
5
|
"version": "2.8.8",
|
|
6
|
+
"imports": [
|
|
7
|
+
"fpdf"
|
|
8
|
+
],
|
|
6
9
|
"pypi": [
|
|
7
10
|
"defusedxml-0.7.1-py2.py3-none-any.whl",
|
|
8
11
|
"fpdf2-2.8.8-py3-none-any.whl"
|
|
@@ -14,6 +17,9 @@
|
|
|
14
17
|
},
|
|
15
18
|
"pypdf": {
|
|
16
19
|
"version": "6.15.0",
|
|
20
|
+
"imports": [
|
|
21
|
+
"pypdf"
|
|
22
|
+
],
|
|
17
23
|
"pypi": [
|
|
18
24
|
"pypdf-6.15.0-py3-none-any.whl"
|
|
19
25
|
],
|
|
@@ -21,6 +27,9 @@
|
|
|
21
27
|
},
|
|
22
28
|
"openpyxl": {
|
|
23
29
|
"version": "3.1.5",
|
|
30
|
+
"imports": [
|
|
31
|
+
"openpyxl"
|
|
32
|
+
],
|
|
24
33
|
"pypi": [
|
|
25
34
|
"et_xmlfile-2.0.0-py3-none-any.whl",
|
|
26
35
|
"openpyxl-3.1.5-py2.py3-none-any.whl"
|
|
@@ -29,6 +38,9 @@
|
|
|
29
38
|
},
|
|
30
39
|
"python-docx": {
|
|
31
40
|
"version": "1.2.0",
|
|
41
|
+
"imports": [
|
|
42
|
+
"docx"
|
|
43
|
+
],
|
|
32
44
|
"pypi": [
|
|
33
45
|
"python_docx-1.2.0-py3-none-any.whl"
|
|
34
46
|
],
|
|
@@ -39,6 +51,9 @@
|
|
|
39
51
|
},
|
|
40
52
|
"python-pptx": {
|
|
41
53
|
"version": "1.0.2",
|
|
54
|
+
"imports": [
|
|
55
|
+
"pptx"
|
|
56
|
+
],
|
|
42
57
|
"pypi": [
|
|
43
58
|
"xlsxwriter-3.2.9-py3-none-any.whl",
|
|
44
59
|
"python_pptx-1.0.2-py3-none-any.whl"
|