@qvac/core 0.3.3 → 0.4.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/README.md +19 -17
- package/dist-lib/lib/abort-controller-node.d.ts +4 -0
- package/dist-lib/lib/abort-controller-node.js +1 -0
- package/dist-lib/lib/api/agents.d.ts +3 -3
- package/dist-lib/lib/api/agents.js +31 -20
- package/dist-lib/lib/api/approval-rules.d.ts +2 -2
- package/dist-lib/lib/api/approval-rules.js +2 -2
- package/dist-lib/lib/api/attachments.d.ts +2 -2
- package/dist-lib/lib/api/attachments.js +14 -25
- package/dist-lib/lib/api/chat-groups.d.ts +2 -2
- package/dist-lib/lib/api/chat-groups.js +9 -9
- package/dist-lib/lib/api/chat.d.ts +4 -2
- package/dist-lib/lib/api/chat.js +18 -18
- package/dist-lib/lib/api/chunks.d.ts +2 -2
- package/dist-lib/lib/api/chunks.js +27 -36
- package/dist-lib/lib/api/current-mesh.d.ts +7 -15
- package/dist-lib/lib/api/current-mesh.js +7 -22
- package/dist-lib/lib/api/devices.d.ts +4 -3
- package/dist-lib/lib/api/devices.js +18 -18
- package/dist-lib/lib/api/execution.d.ts +2 -2
- package/dist-lib/lib/api/execution.js +6 -6
- package/dist-lib/lib/api/files.d.ts +2 -2
- package/dist-lib/lib/api/files.js +4 -4
- package/dist-lib/lib/api/index.d.ts +12 -11
- package/dist-lib/lib/api/index.js +15 -13
- package/dist-lib/lib/api/inference-calls.d.ts +1 -1
- package/dist-lib/lib/api/inference-calls.js +2 -2
- package/dist-lib/lib/api/knowledge.d.ts +2 -2
- package/dist-lib/lib/api/knowledge.js +22 -11
- package/dist-lib/lib/api/local-files.d.ts +3 -0
- package/dist-lib/lib/api/local-files.js +23 -0
- package/dist-lib/lib/api/members.d.ts +6 -2
- package/dist-lib/lib/api/members.js +24 -17
- package/dist-lib/lib/api/mesh.d.ts +4 -5
- package/dist-lib/lib/api/mesh.js +7 -9
- package/dist-lib/lib/api/notifications.d.ts +2 -13
- package/dist-lib/lib/api/notifications.js +20 -52
- package/dist-lib/lib/api/rag.d.ts +2 -2
- package/dist-lib/lib/api/rag.js +4 -4
- package/dist-lib/lib/api/range.d.ts +11 -0
- package/dist-lib/lib/api/range.js +10 -0
- package/dist-lib/lib/api/sync.d.ts +2 -2
- package/dist-lib/lib/api/sync.js +3 -3
- package/dist-lib/lib/api/tool-activity.d.ts +2 -2
- package/dist-lib/lib/api/tool-activity.js +11 -10
- package/dist-lib/lib/api/tool-configs.d.ts +2 -2
- package/dist-lib/lib/api/tool-configs.js +6 -7
- package/dist-lib/lib/api/upload-frames.d.ts +9 -0
- package/dist-lib/lib/api/upload-frames.js +17 -0
- package/dist-lib/lib/api/watchable.d.ts +1 -6
- package/dist-lib/lib/api/watchable.js +4 -13
- package/dist-lib/lib/assistant/history.d.ts +3 -3
- package/dist-lib/lib/assistant-client.js +3 -2
- package/dist-lib/lib/assistant-tree.js +1 -1
- package/dist-lib/lib/assistant.d.ts +16 -14
- package/dist-lib/lib/assistant.js +166 -137
- package/dist-lib/lib/collabora/convert.js +1 -1
- package/dist-lib/lib/core/agent.d.ts +5 -7
- package/dist-lib/lib/core/agent.js +26 -6
- package/dist-lib/lib/core/archived-mesh.js +1 -0
- package/dist-lib/lib/core/chat-order.d.ts +20 -0
- package/dist-lib/lib/core/chat-order.js +96 -0
- package/dist-lib/lib/core/chat.d.ts +0 -5
- package/dist-lib/lib/core/chat.js +1 -3
- package/dist-lib/lib/core/chunk.d.ts +7 -14
- package/dist-lib/lib/core/chunk.js +17 -35
- package/dist-lib/lib/core/contract/agents.js +8 -0
- package/dist-lib/lib/core/contract/compute.d.ts +1 -1
- package/dist-lib/lib/core/contract/compute.js +1 -0
- package/dist-lib/lib/core/contract/joined-meshes.js +4 -3
- package/dist-lib/lib/core/contract/members.js +4 -3
- package/dist-lib/lib/core/contract/writers.js +5 -4
- package/dist-lib/lib/core/departures.js +5 -4
- package/dist-lib/lib/core/device-invites.js +2 -1
- package/dist-lib/lib/core/files/attachments.d.ts +8 -1
- package/dist-lib/lib/core/files/index.d.ts +4 -4
- package/dist-lib/lib/core/files/index.js +18 -8
- package/dist-lib/lib/core/files/local-index.d.ts +16 -0
- package/dist-lib/lib/core/files/local-index.js +38 -0
- package/dist-lib/lib/core/files/processing/document.js +2 -1
- package/dist-lib/lib/core/files/processing/ownership.js +6 -3
- package/dist-lib/lib/core/files/records/chunks.js +1 -0
- package/dist-lib/lib/core/files/records/reclaim.js +1 -0
- package/dist-lib/lib/core/files/records/routing.js +2 -1
- package/dist-lib/lib/core/files/store/blob.d.ts +1 -1
- package/dist-lib/lib/core/files/store/blob.js +6 -3
- package/dist-lib/lib/core/files/store/index.d.ts +1 -1
- package/dist-lib/lib/core/files/store/reference.js +4 -3
- package/dist-lib/lib/core/files/store/server.d.ts +8 -4
- package/dist-lib/lib/core/files/store/server.js +16 -12
- package/dist-lib/lib/core/files/store/sweep.js +2 -1
- package/dist-lib/lib/core/files/upload.d.ts +1 -1
- package/dist-lib/lib/core/hosted-agents.js +1 -1
- package/dist-lib/lib/core/image/cache-sweep.d.ts +1 -0
- package/dist-lib/lib/core/image/cache-sweep.js +7 -3
- package/dist-lib/lib/core/local/files.d.ts +24 -0
- package/dist-lib/lib/core/local/files.js +154 -0
- package/dist-lib/lib/core/local/index.d.ts +21 -5
- package/dist-lib/lib/core/local/index.js +75 -45
- package/dist-lib/lib/core/membership.d.ts +4 -1
- package/dist-lib/lib/core/membership.js +17 -2
- package/dist-lib/lib/core/mesh.d.ts +5 -0
- package/dist-lib/lib/core/mesh.js +11 -5
- package/dist-lib/lib/core/migrations/agent-indexes.d.ts +2 -0
- package/dist-lib/lib/core/migrations/agent-indexes.js +30 -0
- package/dist-lib/lib/core/migrations/file-index.d.ts +2 -0
- package/dist-lib/lib/core/migrations/file-index.js +27 -0
- package/dist-lib/lib/core/migrations/index.js +3 -1
- package/dist-lib/lib/core/notification.js +5 -5
- package/dist-lib/lib/core/range.d.ts +18 -0
- package/dist-lib/lib/core/range.js +17 -0
- package/dist-lib/lib/core/sync/index.js +39 -32
- package/dist-lib/lib/core/sync-status.js +3 -2
- package/dist-lib/lib/core/tool-activity.d.ts +2 -5
- package/dist-lib/lib/core/tool-activity.js +4 -7
- package/dist-lib/lib/core.d.ts +48 -29
- package/dist-lib/lib/core.js +465 -359
- package/dist-lib/lib/knowledge-search.d.ts +2 -2
- package/dist-lib/lib/kv-cache.js +1 -1
- package/dist-lib/lib/log.js +2 -3
- package/dist-lib/lib/mesh-scoped-engine.d.ts +8 -1
- package/dist-lib/lib/mesh-scoped-engine.js +62 -15
- package/dist-lib/lib/model-download.d.ts +14 -5
- package/dist-lib/lib/model-download.js +25 -17
- package/dist-lib/lib/oauth/token-exchange-core.js +1 -1
- package/dist-lib/lib/run-transcript.d.ts +2 -2
- package/dist-lib/lib/run-transcript.js +3 -2
- package/dist-lib/lib/task.d.ts +1 -0
- package/dist-lib/lib/task.js +3 -2
- package/dist-lib/schema/build.js +4 -10
- package/dist-lib/schema/engine.js +261 -91
- package/dist-lib/schema/helpers.d.ts +4 -0
- package/dist-lib/schema/helpers.js +20 -0
- package/dist-lib/schema/local.d.ts +1 -1
- package/dist-lib/schema/local.js +70 -2
- package/dist-lib/schema/qvac.js +30 -0
- package/dist-lib/spec/bind.js +20 -3
- package/dist-lib/spec/calls.js +19 -15
- package/dist-lib/spec/capabilities.d.ts +42 -34
- package/dist-lib/spec/hrpc/hrpc.json +82 -30
- package/dist-lib/spec/hrpc/index.js +106 -57
- package/dist-lib/spec/hrpc/messages.js +5420 -5019
- package/dist-lib/spec/hyperschema/index.js +5424 -5023
- package/dist-lib/spec/hyperschema/schema.json +3202 -2666
- package/dist-lib/spec/hyperschema/types.d.ts +455 -319
- package/dist-lib/spec/local/hyperdb/db.json +119 -1
- package/dist-lib/spec/local/hyperdb/index.js +414 -2
- package/dist-lib/spec/local/hyperdb/messages.js +505 -124
- package/dist-lib/spec/local/hyperschema/index.js +203 -5
- package/dist-lib/spec/local/hyperschema/schema.json +136 -1
- package/dist-lib/spec/local/hyperschema/types.d.ts +32 -1
- package/dist-lib/spec/mesh/hyperdb/db.json +55 -3
- package/dist-lib/spec/mesh/hyperdb/index.js +119 -3
- package/dist-lib/spec/mesh/hyperdb/messages.js +244 -172
- package/dist-lib/spec/mesh/hyperdispatch/dispatch.json +7 -1
- package/dist-lib/spec/mesh/hyperdispatch/index.js +18 -1
- package/dist-lib/spec/mesh/hyperdispatch/messages.js +74 -2
- package/dist-lib/spec/mesh/hyperschema/index.js +74 -2
- package/dist-lib/spec/mesh/hyperschema/schema.json +27 -1
- package/dist-lib/spec/mesh/hyperschema/types.d.ts +9 -1
- package/package.json +10 -6
- package/tui/app.mjs +376 -151
- package/tui/boot.mjs +2 -1
- package/tui/lib/busy-words.mjs +2 -1
- package/tui/lib/knowledge-command.mjs +11 -10
- package/tui/lib/knowledge-import.mjs +7 -5
- package/tui/lib/render.mjs +4 -3
- package/tui/lib/usage.mjs +2 -1
- package/tui/main.mjs +2 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version":
|
|
2
|
+
"version": 6,
|
|
3
3
|
"offset": 0,
|
|
4
4
|
"schema": [
|
|
5
5
|
{
|
|
@@ -187,6 +187,12 @@
|
|
|
187
187
|
"name": "@qvac/remove-member",
|
|
188
188
|
"requestType": "@qvac/remove-member-operation",
|
|
189
189
|
"version": 5
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"id": 31,
|
|
193
|
+
"name": "@qvac/reindex-agents",
|
|
194
|
+
"requestType": "@qvac/reindex-agents-operation",
|
|
195
|
+
"version": 6
|
|
190
196
|
}
|
|
191
197
|
]
|
|
192
198
|
}
|
|
@@ -39,8 +39,9 @@ class Router {
|
|
|
39
39
|
this._handler28 = null
|
|
40
40
|
this._handler29 = null
|
|
41
41
|
this._handler30 = null
|
|
42
|
+
this._handler31 = null
|
|
42
43
|
|
|
43
|
-
this._missing =
|
|
44
|
+
this._missing = 32
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
add (name, handler) {
|
|
@@ -138,6 +139,9 @@ class Router {
|
|
|
138
139
|
case '@qvac/remove-member':
|
|
139
140
|
this._handler30 = handler
|
|
140
141
|
break
|
|
142
|
+
case '@qvac/reindex-agents':
|
|
143
|
+
this._handler31 = handler
|
|
144
|
+
break
|
|
141
145
|
default:
|
|
142
146
|
throw DispatchError.NONEXISTENT_ROUTE(name)
|
|
143
147
|
}
|
|
@@ -176,6 +180,7 @@ class Router {
|
|
|
176
180
|
assert(this._handler28 !== null, 'Missing handler for "@qvac/join-member"')
|
|
177
181
|
assert(this._handler29 !== null, 'Missing handler for "@qvac/put-joined-mesh"')
|
|
178
182
|
assert(this._handler30 !== null, 'Missing handler for "@qvac/remove-member"')
|
|
183
|
+
assert(this._handler31 !== null, 'Missing handler for "@qvac/reindex-agents"')
|
|
179
184
|
}
|
|
180
185
|
|
|
181
186
|
async dispatch (message, context) {
|
|
@@ -250,6 +255,8 @@ class Router {
|
|
|
250
255
|
return this._handler29(op.value, context)
|
|
251
256
|
case 30:
|
|
252
257
|
return this._handler30(op.value, context)
|
|
258
|
+
case 31:
|
|
259
|
+
return this._handler31(op.value, context)
|
|
253
260
|
default:
|
|
254
261
|
throw DispatchError.HANDLER_NOT_FOUND_BY_ID(op.id)
|
|
255
262
|
}
|
|
@@ -469,6 +476,12 @@ const route30 = {
|
|
|
469
476
|
enc: getEncoding('@qvac/remove-member-operation')
|
|
470
477
|
}
|
|
471
478
|
|
|
479
|
+
const route31 = {
|
|
480
|
+
name: '@qvac/reindex-agents',
|
|
481
|
+
id: 31,
|
|
482
|
+
enc: getEncoding('@qvac/reindex-agents-operation')
|
|
483
|
+
}
|
|
484
|
+
|
|
472
485
|
function getRouteByName (name) {
|
|
473
486
|
switch (name) {
|
|
474
487
|
case '@qvac/append-chunk':
|
|
@@ -533,6 +546,8 @@ function getRouteByName (name) {
|
|
|
533
546
|
return route29
|
|
534
547
|
case '@qvac/remove-member':
|
|
535
548
|
return route30
|
|
549
|
+
case '@qvac/reindex-agents':
|
|
550
|
+
return route31
|
|
536
551
|
default:
|
|
537
552
|
throw DispatchError.ROUTE_NOT_FOUND_BY_NAME(name)
|
|
538
553
|
}
|
|
@@ -602,6 +617,8 @@ function getRouteById (id) {
|
|
|
602
617
|
return route29
|
|
603
618
|
case 30:
|
|
604
619
|
return route30
|
|
620
|
+
case 31:
|
|
621
|
+
return route31
|
|
605
622
|
default:
|
|
606
623
|
throw DispatchError.HANDLER_NOT_FOUND_BY_ID(id)
|
|
607
624
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// This file is autogenerated by the hyperschema compiler
|
|
2
|
-
// Schema Version:
|
|
2
|
+
// Schema Version: 9
|
|
3
3
|
/* eslint-disable camelcase */
|
|
4
4
|
/* eslint-disable quotes */
|
|
5
5
|
/* eslint-disable space-before-function-paren */
|
|
6
6
|
|
|
7
7
|
import { c } from 'hyperschema/runtime'
|
|
8
8
|
|
|
9
|
-
const VERSION =
|
|
9
|
+
const VERSION = 9
|
|
10
10
|
|
|
11
11
|
// eslint-disable-next-line no-unused-vars
|
|
12
12
|
let version = VERSION
|
|
@@ -5597,6 +5597,74 @@ const encoding138 = {
|
|
|
5597
5597
|
}
|
|
5598
5598
|
}
|
|
5599
5599
|
|
|
5600
|
+
// @qvac/reindex-agents-operation-v1.agentIds
|
|
5601
|
+
const encoding139_0 = encoding43_6
|
|
5602
|
+
|
|
5603
|
+
// @qvac/reindex-agents-operation-v1
|
|
5604
|
+
const encoding139 = {
|
|
5605
|
+
preencode(state, m) {
|
|
5606
|
+
state.end++ // max flag is 1 so always one byte
|
|
5607
|
+
|
|
5608
|
+
if (version >= 9 && m.agentIds) encoding139_0.preencode(state, m.agentIds)
|
|
5609
|
+
},
|
|
5610
|
+
encode(state, m) {
|
|
5611
|
+
const flags = (version >= 9 && m.agentIds) ? 1 : 0
|
|
5612
|
+
|
|
5613
|
+
c.uint.encode(state, flags)
|
|
5614
|
+
|
|
5615
|
+
if (version >= 9 && m.agentIds) encoding139_0.encode(state, m.agentIds)
|
|
5616
|
+
},
|
|
5617
|
+
decode(state) {
|
|
5618
|
+
const flags = c.uint.decode(state)
|
|
5619
|
+
|
|
5620
|
+
return {
|
|
5621
|
+
version: 0,
|
|
5622
|
+
agentIds: (version >= 9 && (flags & 1) !== 0) ? encoding139_0.decode(state) : null
|
|
5623
|
+
}
|
|
5624
|
+
}
|
|
5625
|
+
}
|
|
5626
|
+
|
|
5627
|
+
// @qvac/reindex-agents-operation
|
|
5628
|
+
const encoding140 = {
|
|
5629
|
+
preencode(state, m) {
|
|
5630
|
+
const v = m.version ?? 1
|
|
5631
|
+
c.uint.preencode(state, v)
|
|
5632
|
+
switch (v) {
|
|
5633
|
+
case 0:
|
|
5634
|
+
case 1:
|
|
5635
|
+
encoding139.preencode(state, m)
|
|
5636
|
+
break
|
|
5637
|
+
default:
|
|
5638
|
+
throw new Error('Unsupported version')
|
|
5639
|
+
}
|
|
5640
|
+
},
|
|
5641
|
+
encode(state, m) {
|
|
5642
|
+
const v = m.version ?? 1
|
|
5643
|
+
c.uint.encode(state, v)
|
|
5644
|
+
switch (v) {
|
|
5645
|
+
case 0:
|
|
5646
|
+
case 1:
|
|
5647
|
+
encoding139.encode(state, m)
|
|
5648
|
+
break
|
|
5649
|
+
default:
|
|
5650
|
+
throw new Error('Unsupported version')
|
|
5651
|
+
}
|
|
5652
|
+
},
|
|
5653
|
+
decode(state) {
|
|
5654
|
+
const v = c.uint.decode(state)
|
|
5655
|
+
switch (v) {
|
|
5656
|
+
case 0:
|
|
5657
|
+
case 1: {
|
|
5658
|
+
const decoded = encoding139.decode(state)
|
|
5659
|
+
decoded.version = v
|
|
5660
|
+
return decoded
|
|
5661
|
+
}
|
|
5662
|
+
default:
|
|
5663
|
+
throw new Error('Unsupported version')
|
|
5664
|
+
}
|
|
5665
|
+
}
|
|
5666
|
+
}
|
|
5667
|
+
|
|
5600
5668
|
// @qvac/device-v1.toolCatalog, deferred due to recusive use
|
|
5601
5669
|
const encoding47_18 = c.array(c.frame(encoding112))
|
|
5602
5670
|
// @qvac/report-device-capabilities-operation-v1.toolCatalog, deferred due to recusive use
|
|
@@ -5935,6 +6003,10 @@ function getEncoding(name) {
|
|
|
5935
6003
|
return encoding137
|
|
5936
6004
|
case '@qvac/put-joined-mesh-operation':
|
|
5937
6005
|
return encoding138
|
|
6006
|
+
case '@qvac/reindex-agents-operation-v1':
|
|
6007
|
+
return encoding139
|
|
6008
|
+
case '@qvac/reindex-agents-operation':
|
|
6009
|
+
return encoding140
|
|
5938
6010
|
default:
|
|
5939
6011
|
throw new Error('Encoder not found ' + name)
|
|
5940
6012
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// This file is autogenerated by the hyperschema compiler
|
|
2
|
-
// Schema Version:
|
|
2
|
+
// Schema Version: 9
|
|
3
3
|
/* eslint-disable camelcase */
|
|
4
4
|
/* eslint-disable quotes */
|
|
5
5
|
/* eslint-disable space-before-function-paren */
|
|
6
6
|
|
|
7
7
|
import { c } from 'hyperschema/runtime'
|
|
8
8
|
|
|
9
|
-
const VERSION =
|
|
9
|
+
const VERSION = 9
|
|
10
10
|
|
|
11
11
|
// eslint-disable-next-line no-unused-vars
|
|
12
12
|
let version = VERSION
|
|
@@ -5597,6 +5597,74 @@ const encoding138 = {
|
|
|
5597
5597
|
}
|
|
5598
5598
|
}
|
|
5599
5599
|
|
|
5600
|
+
// @qvac/reindex-agents-operation-v1.agentIds
|
|
5601
|
+
const encoding139_0 = encoding43_6
|
|
5602
|
+
|
|
5603
|
+
// @qvac/reindex-agents-operation-v1
|
|
5604
|
+
const encoding139 = {
|
|
5605
|
+
preencode(state, m) {
|
|
5606
|
+
state.end++ // max flag is 1 so always one byte
|
|
5607
|
+
|
|
5608
|
+
if (version >= 9 && m.agentIds) encoding139_0.preencode(state, m.agentIds)
|
|
5609
|
+
},
|
|
5610
|
+
encode(state, m) {
|
|
5611
|
+
const flags = (version >= 9 && m.agentIds) ? 1 : 0
|
|
5612
|
+
|
|
5613
|
+
c.uint.encode(state, flags)
|
|
5614
|
+
|
|
5615
|
+
if (version >= 9 && m.agentIds) encoding139_0.encode(state, m.agentIds)
|
|
5616
|
+
},
|
|
5617
|
+
decode(state) {
|
|
5618
|
+
const flags = c.uint.decode(state)
|
|
5619
|
+
|
|
5620
|
+
return {
|
|
5621
|
+
version: 0,
|
|
5622
|
+
agentIds: (version >= 9 && (flags & 1) !== 0) ? encoding139_0.decode(state) : null
|
|
5623
|
+
}
|
|
5624
|
+
}
|
|
5625
|
+
}
|
|
5626
|
+
|
|
5627
|
+
// @qvac/reindex-agents-operation
|
|
5628
|
+
const encoding140 = {
|
|
5629
|
+
preencode(state, m) {
|
|
5630
|
+
const v = m.version ?? 1
|
|
5631
|
+
c.uint.preencode(state, v)
|
|
5632
|
+
switch (v) {
|
|
5633
|
+
case 0:
|
|
5634
|
+
case 1:
|
|
5635
|
+
encoding139.preencode(state, m)
|
|
5636
|
+
break
|
|
5637
|
+
default:
|
|
5638
|
+
throw new Error('Unsupported version')
|
|
5639
|
+
}
|
|
5640
|
+
},
|
|
5641
|
+
encode(state, m) {
|
|
5642
|
+
const v = m.version ?? 1
|
|
5643
|
+
c.uint.encode(state, v)
|
|
5644
|
+
switch (v) {
|
|
5645
|
+
case 0:
|
|
5646
|
+
case 1:
|
|
5647
|
+
encoding139.encode(state, m)
|
|
5648
|
+
break
|
|
5649
|
+
default:
|
|
5650
|
+
throw new Error('Unsupported version')
|
|
5651
|
+
}
|
|
5652
|
+
},
|
|
5653
|
+
decode(state) {
|
|
5654
|
+
const v = c.uint.decode(state)
|
|
5655
|
+
switch (v) {
|
|
5656
|
+
case 0:
|
|
5657
|
+
case 1: {
|
|
5658
|
+
const decoded = encoding139.decode(state)
|
|
5659
|
+
decoded.version = v
|
|
5660
|
+
return decoded
|
|
5661
|
+
}
|
|
5662
|
+
default:
|
|
5663
|
+
throw new Error('Unsupported version')
|
|
5664
|
+
}
|
|
5665
|
+
}
|
|
5666
|
+
}
|
|
5667
|
+
|
|
5600
5668
|
// @qvac/device-v1.toolCatalog, deferred due to recusive use
|
|
5601
5669
|
const encoding47_18 = c.array(c.frame(encoding112))
|
|
5602
5670
|
// @qvac/report-device-capabilities-operation-v1.toolCatalog, deferred due to recusive use
|
|
@@ -5935,6 +6003,10 @@ function getEncoding(name) {
|
|
|
5935
6003
|
return encoding137
|
|
5936
6004
|
case '@qvac/put-joined-mesh-operation':
|
|
5937
6005
|
return encoding138
|
|
6006
|
+
case '@qvac/reindex-agents-operation-v1':
|
|
6007
|
+
return encoding139
|
|
6008
|
+
case '@qvac/reindex-agents-operation':
|
|
6009
|
+
return encoding140
|
|
5938
6010
|
default:
|
|
5939
6011
|
throw new Error('Encoder not found ' + name)
|
|
5940
6012
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version":
|
|
2
|
+
"version": 9,
|
|
3
3
|
"schema": [
|
|
4
4
|
{
|
|
5
5
|
"name": "chunk-type",
|
|
@@ -3434,6 +3434,32 @@
|
|
|
3434
3434
|
"version": 1
|
|
3435
3435
|
}
|
|
3436
3436
|
]
|
|
3437
|
+
},
|
|
3438
|
+
{
|
|
3439
|
+
"name": "reindex-agents-operation-v1",
|
|
3440
|
+
"namespace": "qvac",
|
|
3441
|
+
"compact": false,
|
|
3442
|
+
"flagsPosition": 0,
|
|
3443
|
+
"fields": [
|
|
3444
|
+
{
|
|
3445
|
+
"name": "agentIds",
|
|
3446
|
+
"array": true,
|
|
3447
|
+
"type": "string",
|
|
3448
|
+
"version": 9
|
|
3449
|
+
}
|
|
3450
|
+
]
|
|
3451
|
+
},
|
|
3452
|
+
{
|
|
3453
|
+
"name": "reindex-agents-operation",
|
|
3454
|
+
"namespace": "qvac",
|
|
3455
|
+
"framed": false,
|
|
3456
|
+
"versions": [
|
|
3457
|
+
{
|
|
3458
|
+
"type": "@qvac/reindex-agents-operation-v1",
|
|
3459
|
+
"map": null,
|
|
3460
|
+
"version": 1
|
|
3461
|
+
}
|
|
3462
|
+
]
|
|
3437
3463
|
}
|
|
3438
3464
|
]
|
|
3439
3465
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file is autogenerated by hyperschema-ts
|
|
2
|
-
// Schema version:
|
|
2
|
+
// Schema version: 9
|
|
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"
|
|
@@ -670,6 +670,12 @@ export interface QvacPutJoinedMeshOperationV1 {
|
|
|
670
670
|
|
|
671
671
|
export type QvacPutJoinedMeshOperation = (QvacPutJoinedMeshOperationV1 & { version?: number })
|
|
672
672
|
|
|
673
|
+
export interface QvacReindexAgentsOperationV1 {
|
|
674
|
+
agentIds?: string[] | null
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
export type QvacReindexAgentsOperation = (QvacReindexAgentsOperationV1 & { version?: number })
|
|
678
|
+
|
|
673
679
|
export interface SchemaTypes {
|
|
674
680
|
"@qvac/chunk-type": QvacChunkType
|
|
675
681
|
"@qvac/run-state": QvacRunState
|
|
@@ -810,4 +816,6 @@ export interface SchemaTypes {
|
|
|
810
816
|
"@qvac/joined-mesh": QvacJoinedMesh
|
|
811
817
|
"@qvac/put-joined-mesh-operation-v1": QvacPutJoinedMeshOperationV1
|
|
812
818
|
"@qvac/put-joined-mesh-operation": QvacPutJoinedMeshOperation
|
|
819
|
+
"@qvac/reindex-agents-operation-v1": QvacReindexAgentsOperationV1
|
|
820
|
+
"@qvac/reindex-agents-operation": QvacReindexAgentsOperation
|
|
813
821
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qvac/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Peer-to-peer AI across your devices",
|
|
6
6
|
"exports": {
|
|
@@ -207,6 +207,10 @@
|
|
|
207
207
|
"bare": "bare-fetch",
|
|
208
208
|
"default": "./dist-lib/lib/fetch-node.js"
|
|
209
209
|
},
|
|
210
|
+
"#abort-controller": {
|
|
211
|
+
"bare": "bare-abort-controller",
|
|
212
|
+
"default": "./dist-lib/lib/abort-controller-node.js"
|
|
213
|
+
},
|
|
210
214
|
"#oauth-loopback": {
|
|
211
215
|
"bare": "./dist-lib/lib/oauth/loopback.stub.js",
|
|
212
216
|
"default": "./dist-lib/lib/oauth/loopback.js"
|
|
@@ -224,8 +228,8 @@
|
|
|
224
228
|
"@qvac/harness": "^0.3.3",
|
|
225
229
|
"@qvac/skills": "^0.1.9",
|
|
226
230
|
"asenion": "^0.1.0",
|
|
227
|
-
"autobee": "^2.
|
|
228
|
-
"b4a": "^1.
|
|
231
|
+
"autobee": "^2.11.4",
|
|
232
|
+
"b4a": "^1.9.0",
|
|
229
233
|
"bare-abort-controller": "^1.1.2",
|
|
230
234
|
"bare-buffer": "^3.6.1",
|
|
231
235
|
"bare-channel": "^5.2.4",
|
|
@@ -255,7 +259,7 @@
|
|
|
255
259
|
"blind-peer": "^3.10.2",
|
|
256
260
|
"blind-peering": "^2.7.0",
|
|
257
261
|
"compact-encoding": "^3.4.0",
|
|
258
|
-
"corestore": "^7.
|
|
262
|
+
"corestore": "^7.12.6",
|
|
259
263
|
"hrpc": "^4.3.0",
|
|
260
264
|
"hyperblobs": "^2.12.1",
|
|
261
265
|
"hyperconf": "^1.0.3",
|
|
@@ -288,7 +292,7 @@
|
|
|
288
292
|
"zod": "^4.3.6"
|
|
289
293
|
},
|
|
290
294
|
"devDependencies": {
|
|
291
|
-
"@types/
|
|
295
|
+
"@types/node": "^26.4.0",
|
|
292
296
|
"bare-bundle": "^1.10.0",
|
|
293
297
|
"bare-module-lexer": "^1.6.3",
|
|
294
298
|
"bare-pack": "^2.2.1",
|
|
@@ -335,7 +339,7 @@
|
|
|
335
339
|
"lodash": "4.18.1",
|
|
336
340
|
"hyperschema": "1.26.2",
|
|
337
341
|
"hyperdb": "^6.8.0",
|
|
338
|
-
"hypercore": "^11.
|
|
342
|
+
"hypercore": "^11.37.0",
|
|
339
343
|
"tar": "^7.5.22"
|
|
340
344
|
},
|
|
341
345
|
"publishConfig": {
|