@qvac/core 0.11.1 → 0.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +69 -1
- package/README.md +19 -16
- package/dist-lib/lib/api/chunks.js +4 -2
- package/dist-lib/lib/api/rag.js +7 -5
- package/dist-lib/lib/assistant/history.d.ts +1 -0
- package/dist-lib/lib/assistant/history.js +0 -16
- package/dist-lib/lib/assistant-tree.d.ts +2 -0
- package/dist-lib/lib/assistant-tree.js +4 -2
- package/dist-lib/lib/assistant.d.ts +5 -1
- package/dist-lib/lib/assistant.js +63 -20
- package/dist-lib/lib/compaction.d.ts +2 -1
- package/dist-lib/lib/compaction.js +14 -4
- package/dist-lib/lib/constants.d.ts +3 -0
- package/dist-lib/lib/constants.js +3 -0
- package/dist-lib/lib/core/chat-activity.js +12 -15
- package/dist-lib/lib/core/chunk.d.ts +9 -1
- package/dist-lib/lib/core/chunk.js +42 -8
- package/dist-lib/lib/core/files/attachments.js +3 -3
- package/dist-lib/lib/core/files/index.js +2 -1
- package/dist-lib/lib/core/files/processing/index.d.ts +1 -0
- package/dist-lib/lib/core/files/processing/index.js +8 -0
- package/dist-lib/lib/core/files/processing/settle.d.ts +1 -0
- package/dist-lib/lib/core/files/processing/settle.js +20 -13
- package/dist-lib/lib/core/hosted-agents.d.ts +3 -0
- package/dist-lib/lib/core/hosted-agents.js +19 -0
- package/dist-lib/lib/core/notification.js +16 -13
- package/dist-lib/lib/core.d.ts +6 -0
- package/dist-lib/lib/core.js +5 -0
- package/dist-lib/lib/credential-pusher.d.ts +11 -7
- package/dist-lib/lib/credential-pusher.js +40 -8
- package/dist-lib/lib/integrations/setup-routes.js +7 -5
- package/dist-lib/lib/kv-cache-retention.d.ts +34 -0
- package/dist-lib/lib/kv-cache-retention.js +98 -0
- package/dist-lib/schema/content.js +2 -1
- package/dist-lib/schema/qvac.js +4 -2
- package/dist-lib/spec/hrpc/messages.js +4 -10
- package/dist-lib/spec/hyperschema/index.js +4 -10
- package/dist-lib/spec/hyperschema/schema.json +2 -1
- package/dist-lib/spec/hyperschema/types.d.ts +1 -1
- package/dist-lib/spec/mesh/hyperdb/messages.js +34 -14
- package/dist-lib/spec/mesh/hyperdispatch/messages.js +18 -8
- package/dist-lib/spec/mesh/hyperschema/index.js +18 -8
- package/dist-lib/spec/mesh/hyperschema/schema.json +11 -1
- package/dist-lib/spec/mesh/hyperschema/types.d.ts +3 -1
- package/package.json +5 -2
- package/tui/app.mjs +743 -266
- package/tui/boot.mjs +2 -2
- package/tui/lib/connect-sheet.mjs +350 -0
- package/tui/lib/setup.mjs +59 -25
- package/tui/lib/skill-connect.mjs +145 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version":
|
|
2
|
+
"version": 18,
|
|
3
3
|
"schema": [
|
|
4
4
|
{
|
|
5
5
|
"name": "chunk-type",
|
|
@@ -748,6 +748,11 @@
|
|
|
748
748
|
"name": "sourceId",
|
|
749
749
|
"type": "string",
|
|
750
750
|
"version": 16
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"name": "falsyResult",
|
|
754
|
+
"type": "string",
|
|
755
|
+
"version": 18
|
|
751
756
|
}
|
|
752
757
|
]
|
|
753
758
|
},
|
|
@@ -945,6 +950,11 @@
|
|
|
945
950
|
"name": "sourceId",
|
|
946
951
|
"type": "string",
|
|
947
952
|
"version": 16
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
"name": "falsyResult",
|
|
956
|
+
"type": "string",
|
|
957
|
+
"version": 18
|
|
948
958
|
}
|
|
949
959
|
]
|
|
950
960
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file is autogenerated by hyperschema-ts
|
|
2
|
-
// Schema version:
|
|
2
|
+
// Schema version: 18
|
|
3
3
|
// Do not edit manually.
|
|
4
4
|
|
|
5
5
|
export type QvacChunkType = "user-message" | "content" | "thinking" | "tool-call" | "tool-result" | "attachment" | "approval-request" | "run-status" | "run-request" | "sources" | "compaction"
|
|
@@ -141,6 +141,7 @@ export interface QvacChunkV1 {
|
|
|
141
141
|
capabilityArgs?: unknown | null
|
|
142
142
|
enhance?: QvacEnhanceMode | null
|
|
143
143
|
sourceId?: string | null
|
|
144
|
+
falsyResult?: string | null
|
|
144
145
|
}
|
|
145
146
|
|
|
146
147
|
export type QvacChunk = (QvacChunkV1 & { version?: number })
|
|
@@ -181,6 +182,7 @@ export interface QvacAppendChunkOperationV1 {
|
|
|
181
182
|
capabilityArgs?: unknown | null
|
|
182
183
|
enhance?: QvacEnhanceMode | null
|
|
183
184
|
sourceId?: string | null
|
|
185
|
+
falsyResult?: string | null
|
|
184
186
|
}
|
|
185
187
|
|
|
186
188
|
export type QvacAppendChunkOperation = (QvacAppendChunkOperationV1 & { version?: number })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qvac/core",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Peer-to-peer AI across your devices",
|
|
6
6
|
"engines": {
|
|
@@ -139,6 +139,9 @@
|
|
|
139
139
|
"scripts": {
|
|
140
140
|
"build:splash": "node tui/build-splash.mjs",
|
|
141
141
|
"build:schema": "bare schema/build.ts",
|
|
142
|
+
"bench:chat-speed": "QVAC_TEST_MODELS=1 QVAC_TEST=1 QVAC_NO_SKILL_BIN_PROBE=1 bare bench/chat-speed/bench.ts",
|
|
143
|
+
"bench:chat-speed:report": "node --experimental-strip-types bench/chat-speed/report.ts",
|
|
144
|
+
"bench:chat-speed:test": "node --experimental-strip-types bench/chat-speed/test/metrics.ts && node --experimental-strip-types bench/chat-speed/test/report.ts",
|
|
142
145
|
"bench:rag": "node --experimental-strip-types bench/rag/cli.ts",
|
|
143
146
|
"bench:rag:database": "node --experimental-strip-types bench/rag/database/cli.ts",
|
|
144
147
|
"bench:rag:pilot": "node --experimental-strip-types bench/rag/pilot.ts",
|
|
@@ -172,7 +175,7 @@
|
|
|
172
175
|
"custom-models": "bare examples/custom-models.mjs",
|
|
173
176
|
"mesh-recover-account": "bare examples/mesh-recover-account.mjs",
|
|
174
177
|
"mesh-user-names": "bare examples/mesh-user-names.mjs",
|
|
175
|
-
"test": "npm run test:bare && npm run bench:rag:test",
|
|
178
|
+
"test": "npm run test:bare && npm run bench:rag:test && npm run bench:chat-speed:test",
|
|
176
179
|
"test:bare": "QVAC_NO_SKILL_BIN_PROBE=1 QVAC_TEST=1 brittle-jobs -j 2 --timeout 180000 'test/*.ts' 'test/{api,app,basic,host,rag}/**/*.ts' 'test/tui/**/!(helpers).ts'",
|
|
177
180
|
"test:model": "QVAC_TEST_MODELS=1 npm run test:bare",
|
|
178
181
|
"format": "prettier . --write",
|