@qvac/core 1.0.0-rc.8 → 1.0.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.
Files changed (226) hide show
  1. package/CHANGELOG.md +243 -3
  2. package/README.md +1 -0
  3. package/dist-lib/lib/api/attachments.d.ts +1 -1
  4. package/dist-lib/lib/api/attachments.js +11 -0
  5. package/dist-lib/lib/api/chunks.d.ts +4 -2
  6. package/dist-lib/lib/api/chunks.js +6 -3
  7. package/dist-lib/lib/api/devices.js +6 -18
  8. package/dist-lib/lib/api/execution.d.ts +6 -2
  9. package/dist-lib/lib/api/execution.js +29 -3
  10. package/dist-lib/lib/api/host-run-log.d.ts +7 -1
  11. package/dist-lib/lib/api/host-run-log.js +3 -1
  12. package/dist-lib/lib/api/index.d.ts +3 -1
  13. package/dist-lib/lib/api/index.js +17 -6
  14. package/dist-lib/lib/api/members.js +13 -29
  15. package/dist-lib/lib/api/mesh.d.ts +2 -1
  16. package/dist-lib/lib/api/projects.d.ts +1 -1
  17. package/dist-lib/lib/api/projects.js +9 -5
  18. package/dist-lib/lib/api/rag-label.d.ts +4 -0
  19. package/dist-lib/lib/api/rag-label.js +21 -0
  20. package/dist-lib/lib/api/rag-lexical.d.ts +22 -0
  21. package/dist-lib/lib/api/rag-lexical.js +1058 -0
  22. package/dist-lib/lib/api/rag-manifest.d.ts +13 -0
  23. package/dist-lib/lib/api/rag-manifest.js +46 -0
  24. package/dist-lib/lib/api/rag-outline.d.ts +36 -0
  25. package/dist-lib/lib/api/rag-outline.js +426 -0
  26. package/dist-lib/lib/api/rag-plugin.d.ts +20 -0
  27. package/dist-lib/lib/api/rag-plugin.js +70 -0
  28. package/dist-lib/lib/api/rag-synthesis.d.ts +7 -0
  29. package/dist-lib/lib/api/rag-synthesis.js +102 -0
  30. package/dist-lib/lib/api/rag-targets.d.ts +23 -0
  31. package/dist-lib/lib/api/rag-targets.js +215 -0
  32. package/dist-lib/lib/api/rag-window.d.ts +5 -0
  33. package/dist-lib/lib/api/rag-window.js +46 -0
  34. package/dist-lib/lib/api/rag.d.ts +3 -2
  35. package/dist-lib/lib/api/rag.js +421 -181
  36. package/dist-lib/lib/api/served.js +8 -14
  37. package/dist-lib/lib/api/workspace.d.ts +8 -1
  38. package/dist-lib/lib/api/workspace.js +27 -13
  39. package/dist-lib/lib/assistant/harness.d.ts +9 -1
  40. package/dist-lib/lib/assistant/history.d.ts +11 -2
  41. package/dist-lib/lib/assistant/history.js +74 -4
  42. package/dist-lib/lib/assistant/media-round.d.ts +61 -0
  43. package/dist-lib/lib/assistant/media-round.js +111 -0
  44. package/dist-lib/lib/assistant/message.d.ts +7 -0
  45. package/dist-lib/lib/assistant/model-round.d.ts +12 -0
  46. package/dist-lib/lib/assistant/model-round.js +130 -17
  47. package/dist-lib/lib/assistant/pdf-pages.d.ts +16 -1
  48. package/dist-lib/lib/assistant/pdf-pages.js +67 -3
  49. package/dist-lib/lib/assistant/round-host.d.ts +22 -0
  50. package/dist-lib/lib/assistant/round-host.js +142 -8
  51. package/dist-lib/lib/assistant/upload.d.ts +12 -0
  52. package/dist-lib/lib/assistant/upload.js +36 -0
  53. package/dist-lib/lib/assistant-client.d.ts +1 -0
  54. package/dist-lib/lib/assistant-client.js +40 -19
  55. package/dist-lib/lib/assistant-tree.d.ts +2 -0
  56. package/dist-lib/lib/assistant-tree.js +41 -1
  57. package/dist-lib/lib/assistant.d.ts +15 -0
  58. package/dist-lib/lib/assistant.js +474 -89
  59. package/dist-lib/lib/client.d.ts +1 -0
  60. package/dist-lib/lib/client.js +4 -1
  61. package/dist-lib/lib/compaction.js +2 -2
  62. package/dist-lib/lib/core/agent.js +12 -45
  63. package/dist-lib/lib/core/approval-rules.js +1 -8
  64. package/dist-lib/lib/core/archived-mesh.d.ts +2 -1
  65. package/dist-lib/lib/core/archived-mesh.js +12 -8
  66. package/dist-lib/lib/core/chat-copy.d.ts +18 -3
  67. package/dist-lib/lib/core/chat-copy.js +74 -25
  68. package/dist-lib/lib/core/chat-fork.js +15 -6
  69. package/dist-lib/lib/core/chat-group.js +16 -24
  70. package/dist-lib/lib/core/chat-move.d.ts +9 -0
  71. package/dist-lib/lib/core/chat-move.js +94 -3
  72. package/dist-lib/lib/core/chat-order.js +12 -18
  73. package/dist-lib/lib/core/chat.js +38 -31
  74. package/dist-lib/lib/core/chunk.d.ts +2 -2
  75. package/dist-lib/lib/core/chunk.js +18 -25
  76. package/dist-lib/lib/core/collections.d.ts +2 -0
  77. package/dist-lib/lib/core/collections.js +2 -0
  78. package/dist-lib/lib/core/contract/activity.d.ts +4 -0
  79. package/dist-lib/lib/core/contract/activity.js +34 -4
  80. package/dist-lib/lib/core/contract/chat-group.d.ts +1 -0
  81. package/dist-lib/lib/core/contract/chat-group.js +21 -1
  82. package/dist-lib/lib/core/contract/chat.d.ts +9 -0
  83. package/dist-lib/lib/core/contract/chat.js +127 -5
  84. package/dist-lib/lib/core/contract/chunks.d.ts +1 -0
  85. package/dist-lib/lib/core/contract/chunks.js +37 -6
  86. package/dist-lib/lib/core/contract/features.d.ts +21 -0
  87. package/dist-lib/lib/core/contract/features.js +22 -0
  88. package/dist-lib/lib/core/contract/index.js +2 -0
  89. package/dist-lib/lib/core/contract/indexing.js +4 -2
  90. package/dist-lib/lib/core/contract/knowledge.js +5 -4
  91. package/dist-lib/lib/core/contract/members.js +16 -10
  92. package/dist-lib/lib/core/contract/mesh-kind.d.ts +1 -0
  93. package/dist-lib/lib/core/contract/mesh-kind.js +3 -1
  94. package/dist-lib/lib/core/contract/projects.d.ts +5 -0
  95. package/dist-lib/lib/core/contract/projects.js +13 -5
  96. package/dist-lib/lib/core/contract/roles.js +32 -4
  97. package/dist-lib/lib/core/contract/run-requests.d.ts +1 -0
  98. package/dist-lib/lib/core/contract/run-requests.js +35 -2
  99. package/dist-lib/lib/core/contract/seed-defaults.js +2 -2
  100. package/dist-lib/lib/core/contract/tool-configs.js +3 -2
  101. package/dist-lib/lib/core/contract/workspace.d.ts +2 -0
  102. package/dist-lib/lib/core/contract/workspace.js +40 -7
  103. package/dist-lib/lib/core/contract/writers.js +2 -2
  104. package/dist-lib/lib/core/departures.d.ts +3 -1
  105. package/dist-lib/lib/core/departures.js +3 -0
  106. package/dist-lib/lib/core/devices.js +1 -8
  107. package/dist-lib/lib/core/files/attachments.d.ts +2 -0
  108. package/dist-lib/lib/core/files/attachments.js +19 -1
  109. package/dist-lib/lib/core/files/index.d.ts +20 -4
  110. package/dist-lib/lib/core/files/index.js +132 -21
  111. package/dist-lib/lib/core/files/processing/document.d.ts +4 -0
  112. package/dist-lib/lib/core/files/processing/document.js +7 -0
  113. package/dist-lib/lib/core/files/processing/index.d.ts +13 -0
  114. package/dist-lib/lib/core/files/processing/index.js +144 -12
  115. package/dist-lib/lib/core/files/processing/protocol.js +13 -34
  116. package/dist-lib/lib/core/files/processing/state.d.ts +2 -0
  117. package/dist-lib/lib/core/files/rag/build.d.ts +19 -2
  118. package/dist-lib/lib/core/files/rag/build.js +123 -19
  119. package/dist-lib/lib/core/files/rag/failure.js +2 -1
  120. package/dist-lib/lib/core/files/rag/index.d.ts +11 -3
  121. package/dist-lib/lib/core/files/rag/index.js +13 -1
  122. package/dist-lib/lib/core/files/rag/load.d.ts +6 -3
  123. package/dist-lib/lib/core/files/rag/load.js +27 -6
  124. package/dist-lib/lib/core/files/rag/plugin-index.d.ts +32 -0
  125. package/dist-lib/lib/core/files/rag/plugin-index.js +127 -0
  126. package/dist-lib/lib/core/files/rag/produce.d.ts +5 -3
  127. package/dist-lib/lib/core/files/rag/produce.js +104 -16
  128. package/dist-lib/lib/core/files/rag/retrieval/full-text.d.ts +3 -1
  129. package/dist-lib/lib/core/files/rag/retrieval/full-text.js +62 -13
  130. package/dist-lib/lib/core/files/rag/text-cache.d.ts +28 -0
  131. package/dist-lib/lib/core/files/rag/text-cache.js +141 -0
  132. package/dist-lib/lib/core/files/records/knowledge.d.ts +1 -3
  133. package/dist-lib/lib/core/files/records/knowledge.js +7 -40
  134. package/dist-lib/lib/core/files/records/reclaim.js +5 -10
  135. package/dist-lib/lib/core/files/upload.js +68 -41
  136. package/dist-lib/lib/core/fs-drives.js +14 -26
  137. package/dist-lib/lib/core/invite.d.ts +1 -0
  138. package/dist-lib/lib/core/invite.js +4 -2
  139. package/dist-lib/lib/core/local/files.d.ts +1 -1
  140. package/dist-lib/lib/core/local/files.js +5 -5
  141. package/dist-lib/lib/core/local/index.d.ts +13 -6
  142. package/dist-lib/lib/core/local/index.js +103 -69
  143. package/dist-lib/lib/core/local/run-logs.d.ts +1 -1
  144. package/dist-lib/lib/core/local/run-logs.js +5 -5
  145. package/dist-lib/lib/core/mesh-processor.d.ts +19 -0
  146. package/dist-lib/lib/core/mesh-processor.js +87 -0
  147. package/dist-lib/lib/core/mesh.d.ts +48 -5
  148. package/dist-lib/lib/core/mesh.js +318 -129
  149. package/dist-lib/lib/core/migrations/agent-catalog.js +2 -8
  150. package/dist-lib/lib/core/migrations/agent-tools-scope.js +5 -11
  151. package/dist-lib/lib/core/migrations/workspace-from-0-21/index.d.ts +88 -0
  152. package/dist-lib/lib/core/migrations/workspace-from-0-21/index.js +731 -0
  153. package/dist-lib/lib/core/migrations/writer-links.d.ts +2 -0
  154. package/dist-lib/lib/core/migrations/writer-links.js +32 -0
  155. package/dist-lib/lib/core/project-keys.d.ts +6 -0
  156. package/dist-lib/lib/core/project-keys.js +11 -0
  157. package/dist-lib/lib/core/public-mesh.d.ts +3 -0
  158. package/dist-lib/lib/core/public-mesh.js +10 -8
  159. package/dist-lib/lib/core/run-requests.d.ts +3 -0
  160. package/dist-lib/lib/core/run-requests.js +21 -1
  161. package/dist-lib/lib/core/skill-availability.d.ts +33 -0
  162. package/dist-lib/lib/core/skill-availability.js +67 -0
  163. package/dist-lib/lib/core/sync/background.d.ts +0 -1
  164. package/dist-lib/lib/core/sync/background.js +2 -1
  165. package/dist-lib/lib/core/sync/changed.d.ts +4 -2
  166. package/dist-lib/lib/core/sync/changed.js +1 -1
  167. package/dist-lib/lib/core/sync/index.js +52 -10
  168. package/dist-lib/lib/core/sync/view-updates.d.ts +18 -12
  169. package/dist-lib/lib/core/sync/view-updates.js +82 -91
  170. package/dist-lib/lib/core/sync-status.js +97 -41
  171. package/dist-lib/lib/core/tool-activity.js +6 -12
  172. package/dist-lib/lib/core/tool-configs.js +17 -29
  173. package/dist-lib/lib/core/upgrade-summary.d.ts +19 -0
  174. package/dist-lib/lib/core/upgrade-summary.js +67 -0
  175. package/dist-lib/lib/core/view-read.d.ts +4 -0
  176. package/dist-lib/lib/core/view-read.js +23 -0
  177. package/dist-lib/lib/core/workspace-upgrade.d.ts +7 -0
  178. package/dist-lib/lib/core/workspace-upgrade.js +27 -16
  179. package/dist-lib/lib/core.d.ts +39 -42
  180. package/dist-lib/lib/core.js +661 -639
  181. package/dist-lib/lib/errors.d.ts +20 -0
  182. package/dist-lib/lib/errors.js +20 -0
  183. package/dist-lib/lib/llm-model-names.d.ts +1 -1
  184. package/dist-lib/lib/llm-model-names.js +1 -1
  185. package/dist-lib/lib/mesh-scoped-engine.js +4 -0
  186. package/dist-lib/lib/model-context.js +1 -2
  187. package/dist-lib/lib/probe-rounds.d.ts +7 -2
  188. package/dist-lib/lib/probe-rounds.js +6 -1
  189. package/dist-lib/lib/run-transcript.d.ts +4 -1
  190. package/dist-lib/lib/run-transcript.js +15 -6
  191. package/dist-lib/schema/engine.js +83 -6
  192. package/dist-lib/schema/indexes.d.ts +3 -0
  193. package/dist-lib/schema/indexes.js +5 -0
  194. package/dist-lib/schema/local.js +11 -2
  195. package/dist-lib/schema/qvac.js +49 -5
  196. package/dist-lib/spec/bind.js +34 -0
  197. package/dist-lib/spec/calls.js +5 -0
  198. package/dist-lib/spec/capabilities.d.ts +17 -0
  199. package/dist-lib/spec/hrpc/hrpc.json +65 -0
  200. package/dist-lib/spec/hrpc/index.js +68 -5
  201. package/dist-lib/spec/hrpc/messages.js +260 -23
  202. package/dist-lib/spec/hyperschema/index.js +260 -23
  203. package/dist-lib/spec/hyperschema/schema.json +181 -0
  204. package/dist-lib/spec/hyperschema/types.d.ts +48 -0
  205. package/dist-lib/spec/local/hyperdb/messages.js +270 -224
  206. package/dist-lib/spec/local/hyperschema/index.js +73 -38
  207. package/dist-lib/spec/local/hyperschema/schema.json +31 -0
  208. package/dist-lib/spec/local/hyperschema/types.d.ts +8 -0
  209. package/dist-lib/spec/mesh/hyperdb/db.json +39 -2
  210. package/dist-lib/spec/mesh/hyperdb/index.js +120 -3
  211. package/dist-lib/spec/mesh/hyperdb/messages.js +1328 -838
  212. package/dist-lib/spec/mesh/hyperdispatch/dispatch.json +30 -0
  213. package/dist-lib/spec/mesh/hyperdispatch/index.js +86 -1
  214. package/dist-lib/spec/mesh/hyperdispatch/messages.js +682 -287
  215. package/dist-lib/spec/mesh/hyperschema/index.js +682 -287
  216. package/dist-lib/spec/mesh/hyperschema/schema.json +201 -0
  217. package/dist-lib/spec/mesh/hyperschema/types.d.ts +52 -0
  218. package/package.json +75 -70
  219. package/tui/README.md +2 -1
  220. package/tui/app.mjs +28 -7
  221. package/tui/boot.mjs +5 -1
  222. package/tui/lib/attachment-files.mjs +82 -0
  223. package/tui/lib/reopen-meshes.mjs +15 -0
  224. package/tui/main.mjs +4 -43
  225. package/worker/assistant-sidecar.mjs +10 -3
  226. package/worker/stow-entry.mjs +3 -52
@@ -847,6 +847,17 @@
847
847
  "name": "runTakenAt",
848
848
  "type": "uint",
849
849
  "version": 19
850
+ },
851
+ {
852
+ "name": "runMovedFrom",
853
+ "type": "fixed32",
854
+ "version": 19
855
+ },
856
+ {
857
+ "name": "unavailableSkills",
858
+ "array": true,
859
+ "type": "string",
860
+ "version": 19
850
861
  }
851
862
  ]
852
863
  },
@@ -1094,6 +1105,12 @@
1094
1105
  "name": "runnerDeviceId",
1095
1106
  "type": "fixed32",
1096
1107
  "version": 19
1108
+ },
1109
+ {
1110
+ "name": "unavailableSkills",
1111
+ "array": true,
1112
+ "type": "string",
1113
+ "version": 19
1097
1114
  }
1098
1115
  ]
1099
1116
  },
@@ -2332,6 +2349,12 @@
2332
2349
  "array": true,
2333
2350
  "type": "@qvac/invite-public-head",
2334
2351
  "version": 19
2352
+ },
2353
+ {
2354
+ "name": "inviterHeads",
2355
+ "array": true,
2356
+ "type": "@qvac/autobee-head",
2357
+ "version": 19
2335
2358
  }
2336
2359
  ]
2337
2360
  },
@@ -3265,6 +3288,11 @@
3265
3288
  "name": "revoked",
3266
3289
  "type": "bool",
3267
3290
  "version": 5
3291
+ },
3292
+ {
3293
+ "name": "linked",
3294
+ "type": "bool",
3295
+ "version": 19
3268
3296
  }
3269
3297
  ]
3270
3298
  },
@@ -4979,6 +5007,33 @@
4979
5007
  }
4980
5008
  ]
4981
5009
  },
5010
+ {
5011
+ "name": "reindex-writers-operation-v1",
5012
+ "namespace": "qvac",
5013
+ "compact": false,
5014
+ "flagsPosition": -1,
5015
+ "fields": [
5016
+ {
5017
+ "name": "writerKeys",
5018
+ "required": true,
5019
+ "array": true,
5020
+ "type": "fixed32",
5021
+ "version": 19
5022
+ }
5023
+ ]
5024
+ },
5025
+ {
5026
+ "name": "reindex-writers-operation",
5027
+ "namespace": "qvac",
5028
+ "framed": false,
5029
+ "versions": [
5030
+ {
5031
+ "type": "@qvac/reindex-writers-operation-v1",
5032
+ "map": null,
5033
+ "version": 1
5034
+ }
5035
+ ]
5036
+ },
4982
5037
  {
4983
5038
  "name": "mesh-rules-v1",
4984
5039
  "namespace": "qvac",
@@ -5102,6 +5157,12 @@
5102
5157
  "array": true,
5103
5158
  "type": "fixed32",
5104
5159
  "version": 19
5160
+ },
5161
+ {
5162
+ "name": "upgradeWriterKeys",
5163
+ "array": true,
5164
+ "type": "fixed32",
5165
+ "version": 19
5105
5166
  }
5106
5167
  ]
5107
5168
  },
@@ -6284,6 +6345,146 @@
6284
6345
  "version": 1
6285
6346
  }
6286
6347
  ]
6348
+ },
6349
+ {
6350
+ "name": "patch-chat-operation-v1",
6351
+ "namespace": "qvac",
6352
+ "compact": false,
6353
+ "flagsPosition": 1,
6354
+ "fields": [
6355
+ {
6356
+ "name": "chat",
6357
+ "required": true,
6358
+ "type": "@qvac/chat",
6359
+ "version": 19
6360
+ },
6361
+ {
6362
+ "name": "fields",
6363
+ "array": true,
6364
+ "type": "string",
6365
+ "version": 19
6366
+ }
6367
+ ]
6368
+ },
6369
+ {
6370
+ "name": "patch-chat-operation",
6371
+ "namespace": "qvac",
6372
+ "framed": false,
6373
+ "versions": [
6374
+ {
6375
+ "type": "@qvac/patch-chat-operation-v1",
6376
+ "map": null,
6377
+ "version": 1
6378
+ }
6379
+ ]
6380
+ },
6381
+ {
6382
+ "name": "patch-chat-group-operation-v1",
6383
+ "namespace": "qvac",
6384
+ "compact": false,
6385
+ "flagsPosition": 1,
6386
+ "fields": [
6387
+ {
6388
+ "name": "group",
6389
+ "required": true,
6390
+ "type": "@qvac/chat-group",
6391
+ "version": 19
6392
+ },
6393
+ {
6394
+ "name": "fields",
6395
+ "array": true,
6396
+ "type": "string",
6397
+ "version": 19
6398
+ }
6399
+ ]
6400
+ },
6401
+ {
6402
+ "name": "patch-chat-group-operation",
6403
+ "namespace": "qvac",
6404
+ "framed": false,
6405
+ "versions": [
6406
+ {
6407
+ "type": "@qvac/patch-chat-group-operation-v1",
6408
+ "map": null,
6409
+ "version": 1
6410
+ }
6411
+ ]
6412
+ },
6413
+ {
6414
+ "name": "moved-out-chat-v1",
6415
+ "namespace": "qvac",
6416
+ "compact": false,
6417
+ "flagsPosition": -1,
6418
+ "fields": [
6419
+ {
6420
+ "name": "chatId",
6421
+ "required": true,
6422
+ "type": "string",
6423
+ "version": 19
6424
+ }
6425
+ ]
6426
+ },
6427
+ {
6428
+ "name": "moved-out-chat",
6429
+ "namespace": "qvac",
6430
+ "framed": false,
6431
+ "versions": [
6432
+ {
6433
+ "type": "@qvac/moved-out-chat-v1",
6434
+ "map": null,
6435
+ "version": 1
6436
+ }
6437
+ ]
6438
+ },
6439
+ {
6440
+ "name": "remove-chat-copy-operation-v1",
6441
+ "namespace": "qvac",
6442
+ "compact": false,
6443
+ "flagsPosition": 2,
6444
+ "fields": [
6445
+ {
6446
+ "name": "chatId",
6447
+ "required": true,
6448
+ "type": "string",
6449
+ "version": 19
6450
+ },
6451
+ {
6452
+ "name": "updatedAt",
6453
+ "required": true,
6454
+ "type": "uint",
6455
+ "version": 19
6456
+ },
6457
+ {
6458
+ "name": "chunkIds",
6459
+ "array": true,
6460
+ "type": "string",
6461
+ "version": 19
6462
+ },
6463
+ {
6464
+ "name": "knowledgeIds",
6465
+ "array": true,
6466
+ "type": "string",
6467
+ "version": 19
6468
+ },
6469
+ {
6470
+ "name": "toolActivityIds",
6471
+ "array": true,
6472
+ "type": "string",
6473
+ "version": 19
6474
+ }
6475
+ ]
6476
+ },
6477
+ {
6478
+ "name": "remove-chat-copy-operation",
6479
+ "namespace": "qvac",
6480
+ "framed": false,
6481
+ "versions": [
6482
+ {
6483
+ "type": "@qvac/remove-chat-copy-operation-v1",
6484
+ "map": null,
6485
+ "version": 1
6486
+ }
6487
+ ]
6287
6488
  }
6288
6489
  ]
6289
6490
  }
@@ -155,6 +155,8 @@ export interface QvacChunkV1 {
155
155
  runnerDeviceId?: Buffer | null
156
156
  runTakenBy?: Buffer | null
157
157
  runTakenAt?: number
158
+ runMovedFrom?: Buffer | null
159
+ unavailableSkills?: string[] | null
158
160
  }
159
161
 
160
162
  export type QvacChunk = (QvacChunkV1 & { version?: number })
@@ -205,6 +207,7 @@ export interface QvacAppendChunkOperationV1 {
205
207
  roundReset?: QvacChunkContentRoundReset | null
206
208
  agentSwitch?: QvacChunkContentAgentSwitch | null
207
209
  runnerDeviceId?: Buffer | null
210
+ unavailableSkills?: string[] | null
208
211
  }
209
212
 
210
213
  export type QvacAppendChunkOperation = (QvacAppendChunkOperationV1 & { version?: number })
@@ -439,6 +442,7 @@ export interface QvacMeshInviteV1 {
439
442
  workspace?: boolean
440
443
  workspaceName?: string | null
441
444
  publicHeads?: QvacInvitePublicHead[] | null
445
+ inviterHeads?: QvacAutobeeHead[] | null
442
446
  }
443
447
 
444
448
  export type QvacMeshInvite = (QvacMeshInviteV1 & { version?: number })
@@ -619,6 +623,7 @@ export interface QvacWriterActivityV1 {
619
623
  clock: number
620
624
  deviceId: Buffer
621
625
  revoked?: boolean
626
+ linked?: boolean
622
627
  }
623
628
 
624
629
  export type QvacWriterActivity = (QvacWriterActivityV1 & { version?: number })
@@ -985,6 +990,12 @@ export interface QvacIndexingStatusV2 {
985
990
  error?: string | null
986
991
  }
987
992
 
993
+ export interface QvacReindexWritersOperationV1 {
994
+ writerKeys: Buffer[]
995
+ }
996
+
997
+ export type QvacReindexWritersOperation = (QvacReindexWritersOperationV1 & { version?: number })
998
+
988
999
  export interface QvacMeshRulesV1 {
989
1000
  id: string
990
1001
  rules: number
@@ -1011,6 +1022,7 @@ export interface QvacWorkspaceV1 {
1011
1022
  icon?: string | null
1012
1023
  updatedAt: number
1013
1024
  upgradeMemberIds?: Buffer[] | null
1025
+ upgradeWriterKeys?: Buffer[] | null
1014
1026
  }
1015
1027
 
1016
1028
  export type QvacWorkspace = (QvacWorkspaceV1 & { version?: number })
@@ -1262,6 +1274,36 @@ export interface QvacProjectDeviceSealV1 {
1262
1274
 
1263
1275
  export type QvacProjectDeviceSeal = (QvacProjectDeviceSealV1 & { version?: number })
1264
1276
 
1277
+ export interface QvacPatchChatOperationV1 {
1278
+ chat: QvacChat
1279
+ fields?: string[] | null
1280
+ }
1281
+
1282
+ export type QvacPatchChatOperation = (QvacPatchChatOperationV1 & { version?: number })
1283
+
1284
+ export interface QvacPatchChatGroupOperationV1 {
1285
+ group: QvacChatGroup
1286
+ fields?: string[] | null
1287
+ }
1288
+
1289
+ export type QvacPatchChatGroupOperation = (QvacPatchChatGroupOperationV1 & { version?: number })
1290
+
1291
+ export interface QvacMovedOutChatV1 {
1292
+ chatId: string
1293
+ }
1294
+
1295
+ export type QvacMovedOutChat = (QvacMovedOutChatV1 & { version?: number })
1296
+
1297
+ export interface QvacRemoveChatCopyOperationV1 {
1298
+ chatId: string
1299
+ updatedAt: number
1300
+ chunkIds?: string[] | null
1301
+ knowledgeIds?: string[] | null
1302
+ toolActivityIds?: string[] | null
1303
+ }
1304
+
1305
+ export type QvacRemoveChatCopyOperation = (QvacRemoveChatCopyOperationV1 & { version?: number })
1306
+
1265
1307
  export interface SchemaTypes {
1266
1308
  "@qvac/chunk-type": QvacChunkType
1267
1309
  "@qvac/run-state": QvacRunState
@@ -1459,6 +1501,8 @@ export interface SchemaTypes {
1459
1501
  "@qvac/invite-public-head": QvacInvitePublicHead
1460
1502
  "@qvac/knowledge-v2": QvacKnowledgeV2
1461
1503
  "@qvac/indexing-status-v2": QvacIndexingStatusV2
1504
+ "@qvac/reindex-writers-operation-v1": QvacReindexWritersOperationV1
1505
+ "@qvac/reindex-writers-operation": QvacReindexWritersOperation
1462
1506
  "@qvac/mesh-rules-v1": QvacMeshRulesV1
1463
1507
  "@qvac/mesh-rules": QvacMeshRules
1464
1508
  "@qvac/raise-mesh-rules-operation-v1": QvacRaiseMeshRulesOperationV1
@@ -1527,4 +1571,12 @@ export interface SchemaTypes {
1527
1571
  "@qvac/project-member-seal": QvacProjectMemberSeal
1528
1572
  "@qvac/project-device-seal-v1": QvacProjectDeviceSealV1
1529
1573
  "@qvac/project-device-seal": QvacProjectDeviceSeal
1574
+ "@qvac/patch-chat-operation-v1": QvacPatchChatOperationV1
1575
+ "@qvac/patch-chat-operation": QvacPatchChatOperation
1576
+ "@qvac/patch-chat-group-operation-v1": QvacPatchChatGroupOperationV1
1577
+ "@qvac/patch-chat-group-operation": QvacPatchChatGroupOperation
1578
+ "@qvac/moved-out-chat-v1": QvacMovedOutChatV1
1579
+ "@qvac/moved-out-chat": QvacMovedOutChat
1580
+ "@qvac/remove-chat-copy-operation-v1": QvacRemoveChatCopyOperationV1
1581
+ "@qvac/remove-chat-copy-operation": QvacRemoveChatCopyOperation
1530
1582
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@qvac/core",
3
- "version": "1.0.0-rc.8",
3
+ "version": "1.0.1",
4
4
  "upgrade": "pear://56h5xtm7xjjpkbj1ubbuffcjastpxri11n6wr6zy8ikzmyq7ctey",
5
5
  "type": "module",
6
6
  "description": "Peer-to-peer AI across your devices",
7
7
  "engines": {
8
- "bare": ">=1.34.0"
8
+ "bare": ">=1.35.0"
9
9
  },
10
10
  "exports": {
11
11
  ".": {
@@ -166,6 +166,7 @@
166
166
  "vault-skill-secrets": "bare examples/vault-skill-secrets.mjs",
167
167
  "model-downloads-held": "bare examples/model-downloads-held.mjs",
168
168
  "blind-peering": "bare examples/blind-peering.mjs",
169
+ "run-continue-here": "bare examples/run-continue-here.mjs",
169
170
  "agent-folders": "bare examples/agent-folders.mjs",
170
171
  "chunks-delta-watch": "bare examples/chunks-delta-watch.mjs",
171
172
  "mesh-pair-and-migrate": "bare examples/mesh-pair-and-migrate.mjs",
@@ -177,14 +178,17 @@
177
178
  "chat-read-marker": "bare examples/chat-read-marker.mjs",
178
179
  "chat-move": "bare examples/chat-move.mjs",
179
180
  "chat-fork": "bare examples/chat-fork.mjs",
181
+ "chat-skill-availability": "bare examples/chat-skill-availability.mjs",
180
182
  "custom-models": "bare examples/custom-models.mjs",
181
183
  "mesh-recover-account": "bare examples/mesh-recover-account.mjs",
182
184
  "mesh-user-names": "bare examples/mesh-user-names.mjs",
183
185
  "test": "npm run test:bare && npm run bench:rag:test && npm run bench:chat-speed:test",
184
- "test:bare": "QVAC_NO_SKILL_BIN_PROBE=1 QVAC_TEST=1 brittle-jobs -j ${BRITTLE_JOBS:-2} --timeout ${BRITTLE_TIMEOUT:-180000} 'test/*.ts' 'test/{api,app,basic,host,rag}/**/*.ts' 'test/tui/**/!(helpers).ts'",
186
+ "test:bare": "QVAC_NO_SKILL_BIN_PROBE=1 QVAC_TEST=1 node scripts/test-shard.mjs -j ${BRITTLE_JOBS:-2} --timeout ${BRITTLE_TIMEOUT:-180000} 'test/*.ts' 'test/{api,app,basic,host,rag}/**/*.ts' 'test/tui/**/!(helpers).ts'",
185
187
  "test:model": "QVAC_TEST_MODELS=1 npm run test:bare",
186
188
  "test:model-lane": "QVAC_NO_SKILL_BIN_PROBE=1 QVAC_TEST=1 brittle-jobs -j 1 --timeout 7200000 'test/model/*.ts'",
187
189
  "test:scale": "QVAC_NO_SKILL_BIN_PROBE=1 QVAC_TEST=1 QVAC_SCALE_REPORT=${QVAC_SCALE_REPORT:-scale-report.txt} brittle-jobs -j 1 --timeout ${BRITTLE_TIMEOUT:-600000} --idle-timeout ${BRITTLE_IDLE_TIMEOUT:-300000} 'test/scale/*.ts'",
190
+ "test:e2e": "QVAC_NO_SKILL_BIN_PROBE=1 QVAC_TEST=1 bare test/e2e/index.ts",
191
+ "test:e2e:upgrade": "QVAC_NO_SKILL_BIN_PROBE=1 QVAC_TEST=1 bare test/e2e/upgrade.ts",
188
192
  "format": "prettier . --write",
189
193
  "lint": "prettier . --check && lunte && tsc --noEmit",
190
194
  "build:bundle": "node scripts/build-bundle.mjs",
@@ -254,83 +258,86 @@
254
258
  },
255
259
  "dependencies": {
256
260
  "@qvac/error": "^0.2.0",
257
- "@qvac/harness": "1.0.0-rc.18",
261
+ "@qvac/harness": "^1.0.0",
258
262
  "@qvac/logging": "^0.2.0",
259
- "@qvac/skills": "^0.3.0",
263
+ "@qvac/skills": "^0.5.0",
260
264
  "asenion": "^0.1.0",
261
- "autobee": "^2.12.1",
265
+ "autobee": "^2.13.6",
262
266
  "b4a": "^1.9.0",
263
267
  "bare-abort-controller": "^1.1.2",
264
- "bare-buffer": "^3.6.1",
265
- "bare-cpu-info": "^0.1.0",
266
- "bare-crypto": "^1.15.3",
267
- "bare-events": "^2.9.1",
268
- "bare-fetch": "^3.0.1",
269
- "bare-ffmpeg": "^1.5.0",
270
- "bare-file-logger": "^1.2.1",
271
- "bare-fs": "^4.7.2",
272
- "bare-gpu-info": "^0.1.0",
273
- "bare-http1": "4.6.1",
274
- "bare-media": "^2.10.0",
275
- "bare-module": "~7.4.0",
276
- "bare-os": "^3.9.1",
277
- "bare-path": "^3.0.1",
268
+ "bare-buffer": "^3.7.1",
269
+ "bare-cpu-info": "^0.1.1",
270
+ "bare-crypto": "^1.15.4",
271
+ "bare-events": "^2.9.2",
272
+ "bare-fetch": "^3.4.1",
273
+ "bare-ffmpeg": "^1.7.1",
274
+ "bare-file-logger": "^1.2.3",
275
+ "bare-fs": "^4.8.4",
276
+ "bare-gpu-info": "^0.1.3",
277
+ "bare-http1": "4.6.3",
278
+ "bare-media": "^2.12.0",
279
+ "bare-module": "~7.5.0",
280
+ "bare-os": "^3.9.4",
281
+ "bare-path": "^3.1.2",
278
282
  "bare-pdfium": "^1.8.0",
279
- "bare-pipe": "^4.2.2",
283
+ "bare-pipe": "^4.4.0",
280
284
  "bare-process": "^4.5.1",
281
- "bare-rpc": "^1.3.7",
285
+ "bare-rpc": "^1.5.0",
282
286
  "bare-semver": "^1.1.0",
283
- "bare-storage": "^1.1.0",
284
- "bare-stow": "^0.1.4",
285
- "bare-stream": "^2.13.3",
286
- "bare-subprocess": "^6.1.0",
287
- "bare-supervisor": "^0.1.1",
288
- "bare-system-logger": "^1.0.3",
289
- "bare-thread": "~1.2.7",
287
+ "bare-storage": "^1.1.1",
288
+ "bare-stow": "^0.3.5",
289
+ "bare-stow-host": "^0.2.0",
290
+ "bare-stow-runtime": "^0.1.1",
291
+ "bare-stream": "^2.13.4",
292
+ "bare-subprocess": "^6.2.2",
293
+ "bare-supervisor": "^0.1.2",
294
+ "bare-system-logger": "^1.0.6",
295
+ "bare-thread": "~1.4.0",
290
296
  "bare-tui": "^0.3.0",
291
297
  "bare-tui-updater": "^0.0.1",
292
- "bare-url": "^2.4.5",
293
- "bare-worker": "^4.5.0",
294
- "blind-peer": "^3.10.2",
295
- "blind-peering": "2.9.5",
296
- "compact-encoding": "^3.4.0",
298
+ "bare-url": "^2.5.6",
299
+ "bare-worker": "^4.5.3",
300
+ "blind-peer": "^3.18.1",
301
+ "blind-peering": "2.13.1",
302
+ "compact-encoding": "^3.7.0",
297
303
  "corestore": "^7.16.1",
298
304
  "fs-native-lock": "^1.2.0",
299
- "hrpc": "^4.3.0",
300
- "hyperblobs": "^2.12.1",
305
+ "hrpc": "^4.3.1",
306
+ "hyperblobs": "^2.13.0",
301
307
  "hyperconf": "^1.0.3",
302
308
  "hypercore-blob-server": "^1.15.1",
303
309
  "hypercore-crypto": "^3.7.0",
304
310
  "hypercore-id-encoding": "^1.3.0",
305
311
  "hypercore-storage": "^3.4.0",
306
- "hyperdb": "^6.11.0",
312
+ "hyperdb": "^6.11.1",
307
313
  "hyperdispatch": "^1.6.0",
308
- "hyperdrive": "^13.3.3",
314
+ "hyperdrive": "^13.3.4",
309
315
  "hyperschema": "1.26.2",
310
316
  "hyperschema-ts": "^0.1.1",
311
- "hyperswarm": "^4.17.0",
317
+ "hyperswarm": "^4.17.2",
312
318
  "keet-identity-key": "^3.2.0",
313
- "paparam": "^1.13.0",
319
+ "paparam": "^1.15.0",
314
320
  "pear-runtime-updater": "^3.4.0",
315
- "process-top": "^1.7.1",
316
- "protomux": "^3.11.0",
321
+ "process-top": "^1.8.0",
322
+ "protomux": "^3.13.1",
317
323
  "protomux-wakeup": "^2.9.0",
318
- "rache": "^1.0.0",
324
+ "qvac-charts": "^0.2.0",
325
+ "rache": "^1.0.1",
319
326
  "rag-extract": "^0.2.2",
320
327
  "ready-guard": "^1.0.0",
321
328
  "ready-resource": "^1.2.0",
322
- "rocksdb-native": "^3.17.4",
329
+ "rocksdb-native": "^3.19.3",
323
330
  "safety-catch": "^1.0.3",
324
331
  "scope-lock": "^1.2.4",
325
- "sodium-universal": "^5.0.0",
326
- "streamx": "^2.28.0",
332
+ "sodium-universal": "^5.0.1",
333
+ "streamx": "^2.28.1",
327
334
  "suspendify": "^1.7.2",
328
335
  "which-runtime": "^1.4.0",
329
336
  "z32": "^1.1.0",
330
337
  "zod": "^4.3.6"
331
338
  },
332
339
  "optionalDependencies": {
333
- "@qvac/asr-ggml": "0.4.2",
340
+ "@qvac/asr-ggml": "^0.11.1",
334
341
  "@qvac/audiogen-ggml": "^0.9.0",
335
342
  "@qvac/decoder-audio": "^0.8.1",
336
343
  "@qvac/diffusion-cpp": "^0.31.0",
@@ -341,22 +348,23 @@
341
348
  "@qvac/translation-nmtcpp": "^0.23.0",
342
349
  "@qvac/tts-ggml": "^0.14.0",
343
350
  "@qvac/turbovec-ggml": "^0.3.1",
344
- "bare-image-resample": "^1.0.2",
351
+ "bare-image-resample": "^1.1.0",
345
352
  "pyodide": "314.0.2"
346
353
  },
347
354
  "devDependencies": {
348
355
  "@qvac/core-previous": "npm:@qvac/core@0.10.3",
349
356
  "@types/node": "^26.4.0",
350
357
  "bare-build": "^1.0.4",
351
- "bare-bundle": "^1.10.0",
352
- "bare-module-lexer": "^1.6.3",
353
- "bare-pack": "^2.2.1",
354
- "bare-runtime": "1.34.0",
355
- "bare-sidecar": "0.5.7",
356
- "brittle": "^4.0.2",
357
- "brittle-jobs": "0.2.1",
358
- "holepunch-types": "^0.2.2",
359
- "hyperdht": "^6.32.0",
358
+ "bare-bundle": "^1.11.0",
359
+ "bare-module-lexer": "^1.7.0",
360
+ "bare-pack": "^3.0.2",
361
+ "bare-runtime": "1.36.0",
362
+ "bare-sidecar": "0.5.15",
363
+ "brittle": "^4.5.0",
364
+ "brittle-jobs": "0.2.2",
365
+ "holepunch-types": "^0.2.3",
366
+ "hyperdht": "^6.36.0",
367
+ "hypermininet": "^1.5.0",
360
368
  "hyperschema-regen": "^3.0.1",
361
369
  "lunte": "^1.8.6",
362
370
  "lunte-plugin-qvac": "^0.2.0",
@@ -380,27 +388,24 @@
380
388
  "homepage": "https://github.com/tetherto/qvac-core",
381
389
  "patchedDependencies": {
382
390
  "pyodide@314.0.2": "patches/pyodide@314.0.2.patch",
383
- "bare-stow@0.1.5": "patches/bare-stow@0.1.5.patch",
384
- "blind-peering@2.9.5": "patches/blind-peering@2.9.5.patch",
385
- "hyperdb@6.11.0": "patches/hyperdb@6.11.0.patch",
391
+ "hyperdb@6.11.1": "patches/hyperdb@6.11.1.patch",
386
392
  "hyperschema@1.26.2": "patches/hyperschema@1.26.2.patch",
387
393
  "corestore@7.16.1": "patches/corestore@7.16.1.patch"
388
394
  },
389
395
  "overrides": {
390
- "bare-sidecar": "0.5.7",
391
- "bare-module-traverse": "~2.5.8",
392
- "bare-thread": "~1.2.7",
393
- "@qvac/asr-ggml": "0.4.2",
394
- "bare-runtime": "1.34.0",
395
- "bare-http1": "4.6.1",
396
+ "bare-sidecar": "0.5.15",
397
+ "bare-module-traverse": "~2.7.4",
398
+ "bare-thread": "~1.4.0",
399
+ "bare-runtime": "1.36.0",
400
+ "bare-http1": "4.6.3",
396
401
  "lodash": "4.18.1",
397
402
  "hyperschema": "1.26.2",
398
- "hyperdb": "^6.11.0",
399
- "hypercore": "^11.39.5",
400
- "hyperbee2": "^2.21.2",
403
+ "hyperdb": "^6.11.1",
404
+ "hypercore": "^11.40.4",
405
+ "hyperbee2": "^2.22.0",
401
406
  "localwatch": "^1.4.4",
402
407
  "tar": "^7.5.22",
403
- "bare-tls": "^3.1.13"
408
+ "bare-tls": "^3.2.0"
404
409
  },
405
410
  "publishConfig": {
406
411
  "access": "public"
package/tui/README.md CHANGED
@@ -87,7 +87,8 @@ root, and only the first duck running holds the updater.
87
87
  stages them together to the `duck` namespace with
88
88
  [pear-ci](https://docs.pears.com/pear/reference/ci-and-release/pear-ci-action/),
89
89
  which keeps `ci/snapshot.json` on `main` in step with the drive, so it runs only
90
- once the workflow and that file are on `main`. A dry run prints the drive's key
90
+ once the workflow and that file are on `main`. Every publish runs it after npm
91
+ takes the package, staging that version. A dry run prints the drive's key
91
92
  after `starting stage for key`: that `pear://` link is the `upgrade` to commit,
92
93
  and `pear seed` on it must be running before a real stage.
93
94