@qvac/core 0.6.0 → 0.6.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 +19 -2
- package/dist-lib/lib/assistant.d.ts +1 -0
- package/dist-lib/lib/assistant.js +22 -12
- package/dist-lib/lib/core/chat.js +9 -4
- package/dist-lib/lib/core/collections.d.ts +1 -0
- package/dist-lib/lib/core/collections.js +1 -0
- package/dist-lib/lib/core/contract/chat.d.ts +2 -0
- package/dist-lib/lib/core/contract/chat.js +67 -1
- package/dist-lib/lib/core/contract/chunks.js +5 -0
- package/dist-lib/lib/core/contract/compute.d.ts +1 -1
- package/dist-lib/lib/core/contract/compute.js +2 -1
- package/dist-lib/lib/core/contract/tool-activity.js +5 -0
- package/dist-lib/lib/core/files/index.d.ts +2 -0
- package/dist-lib/lib/core/files/index.js +7 -1
- package/dist-lib/lib/core/files/local-index.d.ts +4 -1
- package/dist-lib/lib/core/files/processing/index.d.ts +3 -0
- package/dist-lib/lib/core/files/processing/index.js +9 -0
- package/dist-lib/lib/core/files/processing/state.d.ts +1 -0
- package/dist-lib/lib/core/files/processing/state.js +5 -0
- package/dist-lib/lib/core/files/rag/index.d.ts +2 -0
- package/dist-lib/lib/core/files/rag/index.js +6 -0
- package/dist-lib/lib/core/files/records/index.d.ts +1 -0
- package/dist-lib/lib/core/files/records/index.js +1 -0
- package/dist-lib/lib/core/files/records/purge.d.ts +4 -0
- package/dist-lib/lib/core/files/records/purge.js +108 -0
- package/dist-lib/lib/core/files/records/reclaim.js +5 -3
- package/dist-lib/lib/core/files/store/blob.d.ts +1 -0
- package/dist-lib/lib/core/files/store/blob.js +29 -0
- package/dist-lib/lib/core/files/store/index.d.ts +1 -0
- package/dist-lib/lib/core/files/store/index.js +6 -1
- package/dist-lib/lib/core/local/files.d.ts +2 -0
- package/dist-lib/lib/core/local/files.js +31 -0
- package/dist-lib/lib/core/sync/index.js +14 -1
- package/dist-lib/lib/core.js +22 -2
- package/dist-lib/lib/credential-pusher.d.ts +8 -3
- package/dist-lib/lib/credential-pusher.js +4 -1
- package/dist-lib/schema/qvac.js +10 -0
- package/dist-lib/spec/mesh/hyperdb/db.json +16 -1
- package/dist-lib/spec/mesh/hyperdb/index.js +71 -2
- package/dist-lib/spec/mesh/hyperdb/messages.js +400 -221
- 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 +117 -2
- package/dist-lib/spec/mesh/hyperschema/index.js +117 -2
- package/dist-lib/spec/mesh/hyperschema/schema.json +65 -1
- package/dist-lib/spec/mesh/hyperschema/types.d.ts +19 -1
- package/package.json +3 -3
- package/tui/boot.mjs +1 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version":
|
|
2
|
+
"version": 8,
|
|
3
3
|
"offset": 0,
|
|
4
4
|
"schema": [
|
|
5
5
|
{
|
|
@@ -229,6 +229,12 @@
|
|
|
229
229
|
"name": "@qvac/recover-device",
|
|
230
230
|
"requestType": "@qvac/recovery-claim",
|
|
231
231
|
"version": 7
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"id": 38,
|
|
235
|
+
"name": "@qvac/purge-chat",
|
|
236
|
+
"requestType": "@qvac/purge-chat-operation",
|
|
237
|
+
"version": 8
|
|
232
238
|
}
|
|
233
239
|
]
|
|
234
240
|
}
|
|
@@ -46,8 +46,9 @@ class Router {
|
|
|
46
46
|
this._handler35 = null
|
|
47
47
|
this._handler36 = null
|
|
48
48
|
this._handler37 = null
|
|
49
|
+
this._handler38 = null
|
|
49
50
|
|
|
50
|
-
this._missing =
|
|
51
|
+
this._missing = 39
|
|
51
52
|
}
|
|
52
53
|
|
|
53
54
|
add (name, handler) {
|
|
@@ -166,6 +167,9 @@ class Router {
|
|
|
166
167
|
case '@qvac/recover-device':
|
|
167
168
|
this._handler37 = handler
|
|
168
169
|
break
|
|
170
|
+
case '@qvac/purge-chat':
|
|
171
|
+
this._handler38 = handler
|
|
172
|
+
break
|
|
169
173
|
default:
|
|
170
174
|
throw DispatchError.NONEXISTENT_ROUTE(name)
|
|
171
175
|
}
|
|
@@ -211,6 +215,7 @@ class Router {
|
|
|
211
215
|
assert(this._handler35 !== null, 'Missing handler for "@qvac/vouched-join"')
|
|
212
216
|
assert(this._handler36 !== null, 'Missing handler for "@qvac/reindex-devices"')
|
|
213
217
|
assert(this._handler37 !== null, 'Missing handler for "@qvac/recover-device"')
|
|
218
|
+
assert(this._handler38 !== null, 'Missing handler for "@qvac/purge-chat"')
|
|
214
219
|
}
|
|
215
220
|
|
|
216
221
|
async dispatch (message, context) {
|
|
@@ -299,6 +304,8 @@ class Router {
|
|
|
299
304
|
return this._handler36(op.value, context)
|
|
300
305
|
case 37:
|
|
301
306
|
return this._handler37(op.value, context)
|
|
307
|
+
case 38:
|
|
308
|
+
return this._handler38(op.value, context)
|
|
302
309
|
default:
|
|
303
310
|
throw DispatchError.HANDLER_NOT_FOUND_BY_ID(op.id)
|
|
304
311
|
}
|
|
@@ -560,6 +567,12 @@ const route37 = {
|
|
|
560
567
|
enc: getEncoding('@qvac/recovery-claim')
|
|
561
568
|
}
|
|
562
569
|
|
|
570
|
+
const route38 = {
|
|
571
|
+
name: '@qvac/purge-chat',
|
|
572
|
+
id: 38,
|
|
573
|
+
enc: getEncoding('@qvac/purge-chat-operation')
|
|
574
|
+
}
|
|
575
|
+
|
|
563
576
|
function getRouteByName (name) {
|
|
564
577
|
switch (name) {
|
|
565
578
|
case '@qvac/append-chunk':
|
|
@@ -638,6 +651,8 @@ function getRouteByName (name) {
|
|
|
638
651
|
return route36
|
|
639
652
|
case '@qvac/recover-device':
|
|
640
653
|
return route37
|
|
654
|
+
case '@qvac/purge-chat':
|
|
655
|
+
return route38
|
|
641
656
|
default:
|
|
642
657
|
throw DispatchError.ROUTE_NOT_FOUND_BY_NAME(name)
|
|
643
658
|
}
|
|
@@ -721,6 +736,8 @@ function getRouteById (id) {
|
|
|
721
736
|
return route36
|
|
722
737
|
case 37:
|
|
723
738
|
return route37
|
|
739
|
+
case 38:
|
|
740
|
+
return route38
|
|
724
741
|
default:
|
|
725
742
|
throw DispatchError.HANDLER_NOT_FOUND_BY_ID(id)
|
|
726
743
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// This file is autogenerated by the hyperschema compiler
|
|
2
|
-
// Schema Version:
|
|
2
|
+
// Schema Version: 11
|
|
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 = 11
|
|
10
10
|
|
|
11
11
|
// eslint-disable-next-line no-unused-vars
|
|
12
12
|
let version = VERSION
|
|
@@ -6637,6 +6637,113 @@ const encoding165 = {
|
|
|
6637
6637
|
}
|
|
6638
6638
|
}
|
|
6639
6639
|
|
|
6640
|
+
// @qvac/purged-chat-v1
|
|
6641
|
+
const encoding166 = {
|
|
6642
|
+
preencode(state, m) {
|
|
6643
|
+
c.string.preencode(state, m.chatId)
|
|
6644
|
+
c.uint.preencode(state, m.at)
|
|
6645
|
+
},
|
|
6646
|
+
encode(state, m) {
|
|
6647
|
+
c.string.encode(state, m.chatId)
|
|
6648
|
+
c.uint.encode(state, m.at)
|
|
6649
|
+
},
|
|
6650
|
+
decode(state) {
|
|
6651
|
+
const r0 = c.string.decode(state)
|
|
6652
|
+
const r1 = c.uint.decode(state)
|
|
6653
|
+
|
|
6654
|
+
return {
|
|
6655
|
+
version: 0,
|
|
6656
|
+
chatId: r0,
|
|
6657
|
+
at: r1
|
|
6658
|
+
}
|
|
6659
|
+
}
|
|
6660
|
+
}
|
|
6661
|
+
|
|
6662
|
+
// @qvac/purged-chat
|
|
6663
|
+
const encoding167 = {
|
|
6664
|
+
preencode(state, m) {
|
|
6665
|
+
const v = m.version ?? 1
|
|
6666
|
+
c.uint.preencode(state, v)
|
|
6667
|
+
switch (v) {
|
|
6668
|
+
case 0:
|
|
6669
|
+
case 1:
|
|
6670
|
+
encoding166.preencode(state, m)
|
|
6671
|
+
break
|
|
6672
|
+
default:
|
|
6673
|
+
throw new Error('Unsupported version')
|
|
6674
|
+
}
|
|
6675
|
+
},
|
|
6676
|
+
encode(state, m) {
|
|
6677
|
+
const v = m.version ?? 1
|
|
6678
|
+
c.uint.encode(state, v)
|
|
6679
|
+
switch (v) {
|
|
6680
|
+
case 0:
|
|
6681
|
+
case 1:
|
|
6682
|
+
encoding166.encode(state, m)
|
|
6683
|
+
break
|
|
6684
|
+
default:
|
|
6685
|
+
throw new Error('Unsupported version')
|
|
6686
|
+
}
|
|
6687
|
+
},
|
|
6688
|
+
decode(state) {
|
|
6689
|
+
const v = c.uint.decode(state)
|
|
6690
|
+
switch (v) {
|
|
6691
|
+
case 0:
|
|
6692
|
+
case 1: {
|
|
6693
|
+
const decoded = encoding166.decode(state)
|
|
6694
|
+
decoded.version = v
|
|
6695
|
+
return decoded
|
|
6696
|
+
}
|
|
6697
|
+
default:
|
|
6698
|
+
throw new Error('Unsupported version')
|
|
6699
|
+
}
|
|
6700
|
+
}
|
|
6701
|
+
}
|
|
6702
|
+
|
|
6703
|
+
// @qvac/purge-chat-operation-v1
|
|
6704
|
+
const encoding168 = encoding166
|
|
6705
|
+
|
|
6706
|
+
// @qvac/purge-chat-operation
|
|
6707
|
+
const encoding169 = {
|
|
6708
|
+
preencode(state, m) {
|
|
6709
|
+
const v = m.version ?? 1
|
|
6710
|
+
c.uint.preencode(state, v)
|
|
6711
|
+
switch (v) {
|
|
6712
|
+
case 0:
|
|
6713
|
+
case 1:
|
|
6714
|
+
encoding168.preencode(state, m)
|
|
6715
|
+
break
|
|
6716
|
+
default:
|
|
6717
|
+
throw new Error('Unsupported version')
|
|
6718
|
+
}
|
|
6719
|
+
},
|
|
6720
|
+
encode(state, m) {
|
|
6721
|
+
const v = m.version ?? 1
|
|
6722
|
+
c.uint.encode(state, v)
|
|
6723
|
+
switch (v) {
|
|
6724
|
+
case 0:
|
|
6725
|
+
case 1:
|
|
6726
|
+
encoding168.encode(state, m)
|
|
6727
|
+
break
|
|
6728
|
+
default:
|
|
6729
|
+
throw new Error('Unsupported version')
|
|
6730
|
+
}
|
|
6731
|
+
},
|
|
6732
|
+
decode(state) {
|
|
6733
|
+
const v = c.uint.decode(state)
|
|
6734
|
+
switch (v) {
|
|
6735
|
+
case 0:
|
|
6736
|
+
case 1: {
|
|
6737
|
+
const decoded = encoding168.decode(state)
|
|
6738
|
+
decoded.version = v
|
|
6739
|
+
return decoded
|
|
6740
|
+
}
|
|
6741
|
+
default:
|
|
6742
|
+
throw new Error('Unsupported version')
|
|
6743
|
+
}
|
|
6744
|
+
}
|
|
6745
|
+
}
|
|
6746
|
+
|
|
6640
6747
|
// @qvac/device-v1.toolCatalog, deferred due to recusive use
|
|
6641
6748
|
const encoding47_18 = c.array(c.frame(encoding112))
|
|
6642
6749
|
// @qvac/report-device-capabilities-operation-v1.toolCatalog, deferred due to recusive use
|
|
@@ -7031,6 +7138,14 @@ function getEncoding(name) {
|
|
|
7031
7138
|
return encoding164
|
|
7032
7139
|
case '@qvac/mesh-founder':
|
|
7033
7140
|
return encoding165
|
|
7141
|
+
case '@qvac/purged-chat-v1':
|
|
7142
|
+
return encoding166
|
|
7143
|
+
case '@qvac/purged-chat':
|
|
7144
|
+
return encoding167
|
|
7145
|
+
case '@qvac/purge-chat-operation-v1':
|
|
7146
|
+
return encoding168
|
|
7147
|
+
case '@qvac/purge-chat-operation':
|
|
7148
|
+
return encoding169
|
|
7034
7149
|
default:
|
|
7035
7150
|
throw new Error('Encoder not found ' + name)
|
|
7036
7151
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// This file is autogenerated by the hyperschema compiler
|
|
2
|
-
// Schema Version:
|
|
2
|
+
// Schema Version: 11
|
|
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 = 11
|
|
10
10
|
|
|
11
11
|
// eslint-disable-next-line no-unused-vars
|
|
12
12
|
let version = VERSION
|
|
@@ -6637,6 +6637,113 @@ const encoding165 = {
|
|
|
6637
6637
|
}
|
|
6638
6638
|
}
|
|
6639
6639
|
|
|
6640
|
+
// @qvac/purged-chat-v1
|
|
6641
|
+
const encoding166 = {
|
|
6642
|
+
preencode(state, m) {
|
|
6643
|
+
c.string.preencode(state, m.chatId)
|
|
6644
|
+
c.uint.preencode(state, m.at)
|
|
6645
|
+
},
|
|
6646
|
+
encode(state, m) {
|
|
6647
|
+
c.string.encode(state, m.chatId)
|
|
6648
|
+
c.uint.encode(state, m.at)
|
|
6649
|
+
},
|
|
6650
|
+
decode(state) {
|
|
6651
|
+
const r0 = c.string.decode(state)
|
|
6652
|
+
const r1 = c.uint.decode(state)
|
|
6653
|
+
|
|
6654
|
+
return {
|
|
6655
|
+
version: 0,
|
|
6656
|
+
chatId: r0,
|
|
6657
|
+
at: r1
|
|
6658
|
+
}
|
|
6659
|
+
}
|
|
6660
|
+
}
|
|
6661
|
+
|
|
6662
|
+
// @qvac/purged-chat
|
|
6663
|
+
const encoding167 = {
|
|
6664
|
+
preencode(state, m) {
|
|
6665
|
+
const v = m.version ?? 1
|
|
6666
|
+
c.uint.preencode(state, v)
|
|
6667
|
+
switch (v) {
|
|
6668
|
+
case 0:
|
|
6669
|
+
case 1:
|
|
6670
|
+
encoding166.preencode(state, m)
|
|
6671
|
+
break
|
|
6672
|
+
default:
|
|
6673
|
+
throw new Error('Unsupported version')
|
|
6674
|
+
}
|
|
6675
|
+
},
|
|
6676
|
+
encode(state, m) {
|
|
6677
|
+
const v = m.version ?? 1
|
|
6678
|
+
c.uint.encode(state, v)
|
|
6679
|
+
switch (v) {
|
|
6680
|
+
case 0:
|
|
6681
|
+
case 1:
|
|
6682
|
+
encoding166.encode(state, m)
|
|
6683
|
+
break
|
|
6684
|
+
default:
|
|
6685
|
+
throw new Error('Unsupported version')
|
|
6686
|
+
}
|
|
6687
|
+
},
|
|
6688
|
+
decode(state) {
|
|
6689
|
+
const v = c.uint.decode(state)
|
|
6690
|
+
switch (v) {
|
|
6691
|
+
case 0:
|
|
6692
|
+
case 1: {
|
|
6693
|
+
const decoded = encoding166.decode(state)
|
|
6694
|
+
decoded.version = v
|
|
6695
|
+
return decoded
|
|
6696
|
+
}
|
|
6697
|
+
default:
|
|
6698
|
+
throw new Error('Unsupported version')
|
|
6699
|
+
}
|
|
6700
|
+
}
|
|
6701
|
+
}
|
|
6702
|
+
|
|
6703
|
+
// @qvac/purge-chat-operation-v1
|
|
6704
|
+
const encoding168 = encoding166
|
|
6705
|
+
|
|
6706
|
+
// @qvac/purge-chat-operation
|
|
6707
|
+
const encoding169 = {
|
|
6708
|
+
preencode(state, m) {
|
|
6709
|
+
const v = m.version ?? 1
|
|
6710
|
+
c.uint.preencode(state, v)
|
|
6711
|
+
switch (v) {
|
|
6712
|
+
case 0:
|
|
6713
|
+
case 1:
|
|
6714
|
+
encoding168.preencode(state, m)
|
|
6715
|
+
break
|
|
6716
|
+
default:
|
|
6717
|
+
throw new Error('Unsupported version')
|
|
6718
|
+
}
|
|
6719
|
+
},
|
|
6720
|
+
encode(state, m) {
|
|
6721
|
+
const v = m.version ?? 1
|
|
6722
|
+
c.uint.encode(state, v)
|
|
6723
|
+
switch (v) {
|
|
6724
|
+
case 0:
|
|
6725
|
+
case 1:
|
|
6726
|
+
encoding168.encode(state, m)
|
|
6727
|
+
break
|
|
6728
|
+
default:
|
|
6729
|
+
throw new Error('Unsupported version')
|
|
6730
|
+
}
|
|
6731
|
+
},
|
|
6732
|
+
decode(state) {
|
|
6733
|
+
const v = c.uint.decode(state)
|
|
6734
|
+
switch (v) {
|
|
6735
|
+
case 0:
|
|
6736
|
+
case 1: {
|
|
6737
|
+
const decoded = encoding168.decode(state)
|
|
6738
|
+
decoded.version = v
|
|
6739
|
+
return decoded
|
|
6740
|
+
}
|
|
6741
|
+
default:
|
|
6742
|
+
throw new Error('Unsupported version')
|
|
6743
|
+
}
|
|
6744
|
+
}
|
|
6745
|
+
}
|
|
6746
|
+
|
|
6640
6747
|
// @qvac/device-v1.toolCatalog, deferred due to recusive use
|
|
6641
6748
|
const encoding47_18 = c.array(c.frame(encoding112))
|
|
6642
6749
|
// @qvac/report-device-capabilities-operation-v1.toolCatalog, deferred due to recusive use
|
|
@@ -7031,6 +7138,14 @@ function getEncoding(name) {
|
|
|
7031
7138
|
return encoding164
|
|
7032
7139
|
case '@qvac/mesh-founder':
|
|
7033
7140
|
return encoding165
|
|
7141
|
+
case '@qvac/purged-chat-v1':
|
|
7142
|
+
return encoding166
|
|
7143
|
+
case '@qvac/purged-chat':
|
|
7144
|
+
return encoding167
|
|
7145
|
+
case '@qvac/purge-chat-operation-v1':
|
|
7146
|
+
return encoding168
|
|
7147
|
+
case '@qvac/purge-chat-operation':
|
|
7148
|
+
return encoding169
|
|
7034
7149
|
default:
|
|
7035
7150
|
throw new Error('Encoder not found ' + name)
|
|
7036
7151
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version":
|
|
2
|
+
"version": 11,
|
|
3
3
|
"schema": [
|
|
4
4
|
{
|
|
5
5
|
"name": "chunk-type",
|
|
@@ -4012,6 +4012,70 @@
|
|
|
4012
4012
|
"version": 1
|
|
4013
4013
|
}
|
|
4014
4014
|
]
|
|
4015
|
+
},
|
|
4016
|
+
{
|
|
4017
|
+
"name": "purged-chat-v1",
|
|
4018
|
+
"namespace": "qvac",
|
|
4019
|
+
"compact": false,
|
|
4020
|
+
"flagsPosition": -1,
|
|
4021
|
+
"fields": [
|
|
4022
|
+
{
|
|
4023
|
+
"name": "chatId",
|
|
4024
|
+
"required": true,
|
|
4025
|
+
"type": "string",
|
|
4026
|
+
"version": 11
|
|
4027
|
+
},
|
|
4028
|
+
{
|
|
4029
|
+
"name": "at",
|
|
4030
|
+
"required": true,
|
|
4031
|
+
"type": "uint",
|
|
4032
|
+
"version": 11
|
|
4033
|
+
}
|
|
4034
|
+
]
|
|
4035
|
+
},
|
|
4036
|
+
{
|
|
4037
|
+
"name": "purged-chat",
|
|
4038
|
+
"namespace": "qvac",
|
|
4039
|
+
"framed": false,
|
|
4040
|
+
"versions": [
|
|
4041
|
+
{
|
|
4042
|
+
"type": "@qvac/purged-chat-v1",
|
|
4043
|
+
"map": null,
|
|
4044
|
+
"version": 1
|
|
4045
|
+
}
|
|
4046
|
+
]
|
|
4047
|
+
},
|
|
4048
|
+
{
|
|
4049
|
+
"name": "purge-chat-operation-v1",
|
|
4050
|
+
"namespace": "qvac",
|
|
4051
|
+
"compact": false,
|
|
4052
|
+
"flagsPosition": -1,
|
|
4053
|
+
"fields": [
|
|
4054
|
+
{
|
|
4055
|
+
"name": "chatId",
|
|
4056
|
+
"required": true,
|
|
4057
|
+
"type": "string",
|
|
4058
|
+
"version": 11
|
|
4059
|
+
},
|
|
4060
|
+
{
|
|
4061
|
+
"name": "at",
|
|
4062
|
+
"required": true,
|
|
4063
|
+
"type": "uint",
|
|
4064
|
+
"version": 11
|
|
4065
|
+
}
|
|
4066
|
+
]
|
|
4067
|
+
},
|
|
4068
|
+
{
|
|
4069
|
+
"name": "purge-chat-operation",
|
|
4070
|
+
"namespace": "qvac",
|
|
4071
|
+
"framed": false,
|
|
4072
|
+
"versions": [
|
|
4073
|
+
{
|
|
4074
|
+
"type": "@qvac/purge-chat-operation-v1",
|
|
4075
|
+
"map": null,
|
|
4076
|
+
"version": 1
|
|
4077
|
+
}
|
|
4078
|
+
]
|
|
4015
4079
|
}
|
|
4016
4080
|
]
|
|
4017
4081
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file is autogenerated by hyperschema-ts
|
|
2
|
-
// Schema version:
|
|
2
|
+
// Schema version: 11
|
|
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"
|
|
@@ -793,6 +793,20 @@ export interface QvacMeshFounderV1 {
|
|
|
793
793
|
|
|
794
794
|
export type QvacMeshFounder = (QvacMeshFounderV1 & { version?: number })
|
|
795
795
|
|
|
796
|
+
export interface QvacPurgedChatV1 {
|
|
797
|
+
chatId: string
|
|
798
|
+
at: number
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
export type QvacPurgedChat = (QvacPurgedChatV1 & { version?: number })
|
|
802
|
+
|
|
803
|
+
export interface QvacPurgeChatOperationV1 {
|
|
804
|
+
chatId: string
|
|
805
|
+
at: number
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
export type QvacPurgeChatOperation = (QvacPurgeChatOperationV1 & { version?: number })
|
|
809
|
+
|
|
796
810
|
export interface SchemaTypes {
|
|
797
811
|
"@qvac/chunk-type": QvacChunkType
|
|
798
812
|
"@qvac/run-state": QvacRunState
|
|
@@ -960,4 +974,8 @@ export interface SchemaTypes {
|
|
|
960
974
|
"@qvac/recovery-claim": QvacRecoveryClaim
|
|
961
975
|
"@qvac/mesh-founder-v1": QvacMeshFounderV1
|
|
962
976
|
"@qvac/mesh-founder": QvacMeshFounder
|
|
977
|
+
"@qvac/purged-chat-v1": QvacPurgedChatV1
|
|
978
|
+
"@qvac/purged-chat": QvacPurgedChat
|
|
979
|
+
"@qvac/purge-chat-operation-v1": QvacPurgeChatOperationV1
|
|
980
|
+
"@qvac/purge-chat-operation": QvacPurgeChatOperation
|
|
963
981
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qvac/core",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Peer-to-peer AI across your devices",
|
|
6
6
|
"exports": {
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
},
|
|
232
232
|
"dependencies": {
|
|
233
233
|
"@qvac/harness": "^0.6.0",
|
|
234
|
-
"@qvac/skills": "^0.1.
|
|
234
|
+
"@qvac/skills": "^0.1.11",
|
|
235
235
|
"asenion": "^0.1.0",
|
|
236
236
|
"autobee": "^2.11.8",
|
|
237
237
|
"b4a": "^1.9.0",
|
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
"bare-media": "^2.10.0",
|
|
250
250
|
"bare-os": "^3.9.1",
|
|
251
251
|
"bare-path": "^3.0.1",
|
|
252
|
-
"bare-pdfium": "^1.5.
|
|
252
|
+
"bare-pdfium": "^1.5.3",
|
|
253
253
|
"bare-pipe": "^4.2.2",
|
|
254
254
|
"bare-process": "^4.5.1",
|
|
255
255
|
"bare-rpc": "^1.3.7",
|
package/tui/boot.mjs
CHANGED
|
@@ -9,10 +9,8 @@ import { Logger, toLoggerOptions } from '../dist-lib/lib/log.js'
|
|
|
9
9
|
import { configureSdkStorage } from '@qvac/harness/sdk-storage'
|
|
10
10
|
import { MODEL_CACHE_PATH_ENV, releaseChannel, resolveStorage } from '@qvac/harness/storage'
|
|
11
11
|
import sidecarRunner from 'bare-supervisor/runner/sidecar'
|
|
12
|
+
import { skillsDir } from '@qvac/skills'
|
|
12
13
|
|
|
13
|
-
const skillsDir = path.dirname(
|
|
14
|
-
path.dirname(new URL(import.meta.resolve('@qvac/skills/skills/weather/SKILL.md')).pathname)
|
|
15
|
-
)
|
|
16
14
|
const harnessEntry = new URL(import.meta.resolve('@qvac/harness/worker/stow-entry.mjs')).pathname
|
|
17
15
|
const sidecarEntry = fileURLToPath(new URL('../worker/stow-entry.mjs', import.meta.url))
|
|
18
16
|
if (!fs.existsSync(sidecarEntry)) {
|