@qvac/core 1.0.0-rc.3 → 1.0.0-rc.5

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 (58) hide show
  1. package/CHANGELOG.md +106 -36
  2. package/dist-lib/index.d.ts +2 -1
  3. package/dist-lib/lib/api/approval-rules.d.ts +1 -1
  4. package/dist-lib/lib/api/approval-rules.js +5 -1
  5. package/dist-lib/lib/api/config.d.ts +6 -2
  6. package/dist-lib/lib/api/config.js +9 -5
  7. package/dist-lib/lib/api/index.d.ts +12 -2
  8. package/dist-lib/lib/api/index.js +6 -1
  9. package/dist-lib/lib/api/rag.js +5 -5
  10. package/dist-lib/lib/assistant/model-round.js +2 -2
  11. package/dist-lib/lib/assistant.d.ts +1 -0
  12. package/dist-lib/lib/assistant.js +16 -7
  13. package/dist-lib/lib/core/agent-copies.js +7 -1
  14. package/dist-lib/lib/core/agent.js +1 -0
  15. package/dist-lib/lib/core/approval-rules.d.ts +5 -1
  16. package/dist-lib/lib/core/approval-rules.js +16 -1
  17. package/dist-lib/lib/core/chunk.js +4 -3
  18. package/dist-lib/lib/core/config-value.d.ts +1 -0
  19. package/dist-lib/lib/core/config-value.js +1 -0
  20. package/dist-lib/lib/core/contract/workspace.js +2 -2
  21. package/dist-lib/lib/core/deleted-agent-runs.d.ts +7 -0
  22. package/dist-lib/lib/core/deleted-agent-runs.js +46 -0
  23. package/dist-lib/lib/core/files/index.d.ts +1 -1
  24. package/dist-lib/lib/core/files/index.js +4 -2
  25. package/dist-lib/lib/core/local/index.d.ts +6 -0
  26. package/dist-lib/lib/core/local/index.js +14 -0
  27. package/dist-lib/lib/core/mesh.d.ts +1 -1
  28. package/dist-lib/lib/core/mesh.js +3 -1
  29. package/dist-lib/lib/core/skill-secrets.d.ts +3 -2
  30. package/dist-lib/lib/core/skill-secrets.js +4 -1
  31. package/dist-lib/lib/core/sync/index.js +13 -1
  32. package/dist-lib/lib/core/vault-managed-skills.d.ts +18 -0
  33. package/dist-lib/lib/core/vault-managed-skills.js +105 -0
  34. package/dist-lib/lib/core.d.ts +8 -1
  35. package/dist-lib/lib/core.js +63 -6
  36. package/dist-lib/lib/errors.d.ts +8 -0
  37. package/dist-lib/lib/errors.js +8 -0
  38. package/dist-lib/lib/mesh-scoped-engine.js +1 -0
  39. package/dist-lib/schema/config.d.ts +1 -1
  40. package/dist-lib/schema/config.js +1 -1
  41. package/dist-lib/schema/engine.js +33 -1
  42. package/dist-lib/schema/qvac.js +4 -2
  43. package/dist-lib/spec/bind.js +12 -0
  44. package/dist-lib/spec/calls.js +4 -0
  45. package/dist-lib/spec/capabilities.d.ts +8 -0
  46. package/dist-lib/spec/config/hyperconf/index.js +1 -1
  47. package/dist-lib/spec/hrpc/hrpc.json +52 -0
  48. package/dist-lib/spec/hrpc/index.js +51 -3
  49. package/dist-lib/spec/hrpc/messages.js +1013 -954
  50. package/dist-lib/spec/hyperschema/index.js +1013 -954
  51. package/dist-lib/spec/hyperschema/schema.json +40 -0
  52. package/dist-lib/spec/hyperschema/types.d.ts +12 -0
  53. package/dist-lib/spec/mesh/hyperdb/messages.js +539 -501
  54. package/dist-lib/spec/mesh/hyperdispatch/messages.js +319 -300
  55. package/dist-lib/spec/mesh/hyperschema/index.js +319 -300
  56. package/dist-lib/spec/mesh/hyperschema/schema.json +188 -178
  57. package/dist-lib/spec/mesh/hyperschema/types.d.ts +3 -1
  58. package/package.json +12 -12
@@ -1,5 +1,5 @@
1
1
  // This file is autogenerated by hyperschema-ts
2
- // Schema version: 18
2
+ // Schema version: 19
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" | "context" | "model-request" | "round-reset" | "agent-switch"
@@ -266,6 +266,7 @@ export interface QvacAgentV1 {
266
266
  disabledToolsets?: string[] | null
267
267
  lenderDeviceId?: Buffer | null
268
268
  sharedIn?: Buffer | null
269
+ chatRetention?: string | null
269
270
  }
270
271
 
271
272
  export type QvacAgent = (QvacAgentV1 & { version?: number })
@@ -400,6 +401,7 @@ export interface QvacApprovalRuleV1 {
400
401
  agentId?: string | null
401
402
  effect?: string | null
402
403
  memberId?: Buffer | null
404
+ chatId?: string | null
403
405
  }
404
406
 
405
407
  export type QvacApprovalRule = (QvacApprovalRuleV1 & { version?: number })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qvac/core",
3
- "version": "1.0.0-rc.3",
3
+ "version": "1.0.0-rc.5",
4
4
  "type": "module",
5
5
  "description": "Peer-to-peer AI across your devices",
6
6
  "engines": {
@@ -157,6 +157,7 @@
157
157
  "models-by-task": "bare examples/models-by-task.mjs",
158
158
  "models-watch": "bare examples/models-watch.mjs",
159
159
  "error-codes": "bare examples/error-codes.mjs",
160
+ "vault-skill-secrets": "bare examples/vault-skill-secrets.mjs",
160
161
  "model-downloads-held": "bare examples/model-downloads-held.mjs",
161
162
  "blind-peering": "bare examples/blind-peering.mjs",
162
163
  "agent-folders": "bare examples/agent-folders.mjs",
@@ -245,7 +246,7 @@
245
246
  },
246
247
  "dependencies": {
247
248
  "@qvac/error": "^0.2.0",
248
- "@qvac/harness": "1.0.0-rc.12",
249
+ "@qvac/harness": "1.0.0-rc.16",
249
250
  "@qvac/logging": "^0.2.0",
250
251
  "@qvac/skills": "^0.1.19",
251
252
  "asenion": "^0.1.0",
@@ -282,7 +283,7 @@
282
283
  "blind-peer": "^3.10.2",
283
284
  "blind-peering": "2.9.5",
284
285
  "compact-encoding": "^3.4.0",
285
- "corestore": "^7.12.6",
286
+ "corestore": "^7.16.1",
286
287
  "hrpc": "^4.3.0",
287
288
  "hyperblobs": "^2.12.1",
288
289
  "hyperconf": "^1.0.3",
@@ -317,13 +318,13 @@
317
318
  "devDependencies": {
318
319
  "@qvac/core-previous": "npm:@qvac/core@0.10.3",
319
320
  "@qvac/asr-ggml": "0.4.2",
320
- "@qvac/audiogen-ggml": "^0.8.0",
321
- "@qvac/diffusion-cpp": "^0.30.0",
322
- "@qvac/embed-llamacpp": "0.48.2",
321
+ "@qvac/audiogen-ggml": "^0.9.0",
322
+ "@qvac/diffusion-cpp": "^0.31.0",
323
+ "@qvac/embed-llamacpp": "^0.53.0",
323
324
  "@qvac/langdetect-text": "^0.1.2",
324
- "@qvac/llm-llamacpp": "^0.61.1",
325
- "@qvac/ocr-ggml": "^0.29.1",
326
- "@qvac/tts-ggml": "^0.13.0",
325
+ "@qvac/llm-llamacpp": "^0.65.0",
326
+ "@qvac/ocr-ggml": "^0.31.0",
327
+ "@qvac/tts-ggml": "^0.14.0",
327
328
  "@types/node": "^26.4.0",
328
329
  "bare-bundle": "^1.10.0",
329
330
  "bare-module-lexer": "^1.6.3",
@@ -357,13 +358,11 @@
357
358
  "homepage": "https://github.com/tetherto/qvac-core",
358
359
  "patchedDependencies": {
359
360
  "pyodide@314.0.2": "patches/pyodide@314.0.2.patch",
360
- "localwatch@1.4.3": "patches/localwatch@1.4.3.patch",
361
361
  "bare-stow@0.1.5": "patches/bare-stow@0.1.5.patch",
362
362
  "blind-peering@2.9.5": "patches/blind-peering@2.9.5.patch",
363
363
  "hyperdb@6.11.0": "patches/hyperdb@6.11.0.patch",
364
- "corestore@7.12.6": "patches/corestore@7.12.6.patch",
365
364
  "hyperschema@1.26.2": "patches/hyperschema@1.26.2.patch",
366
- "hyperbee2@2.21.2": "patches/hyperbee2@2.21.2.patch"
365
+ "corestore@7.16.1": "patches/corestore@7.16.1.patch"
367
366
  },
368
367
  "overrides": {
369
368
  "bare-sidecar": "0.5.7",
@@ -377,6 +376,7 @@
377
376
  "hyperdb": "^6.11.0",
378
377
  "hypercore": "^11.39.5",
379
378
  "hyperbee2": "^2.21.2",
379
+ "localwatch": "^1.4.4",
380
380
  "tar": "^7.5.22",
381
381
  "bare-tls": "^3.1.13"
382
382
  },