@qvac/core 0.6.4 → 1.0.0-rc.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.
Files changed (51) hide show
  1. package/dist-lib/lib/api/host-run-log.d.ts +43 -0
  2. package/dist-lib/lib/api/host-run-log.js +97 -0
  3. package/dist-lib/lib/api/index.d.ts +3 -0
  4. package/dist-lib/lib/api/index.js +9 -0
  5. package/dist-lib/lib/api/instrument.js +33 -2
  6. package/dist-lib/lib/assistant/harness.d.ts +4 -1
  7. package/dist-lib/lib/assistant/history.d.ts +7 -2
  8. package/dist-lib/lib/assistant/history.js +34 -3
  9. package/dist-lib/lib/assistant/host-run-log.d.ts +3 -0
  10. package/dist-lib/lib/assistant/host-run-log.js +48 -0
  11. package/dist-lib/lib/assistant.d.ts +2 -0
  12. package/dist-lib/lib/assistant.js +817 -412
  13. package/dist-lib/lib/core/async-iterable.js +1 -1
  14. package/dist-lib/lib/core/chat-activity.d.ts +1 -1
  15. package/dist-lib/lib/core/chat-activity.js +16 -1
  16. package/dist-lib/lib/core/chat-search.js +11 -4
  17. package/dist-lib/lib/core/chunk.d.ts +3 -3
  18. package/dist-lib/lib/core/chunk.js +6 -2
  19. package/dist-lib/lib/core/harness-loan.js +4 -0
  20. package/dist-lib/lib/core/host-run-log-store.d.ts +114 -0
  21. package/dist-lib/lib/core/host-run-log-store.js +976 -0
  22. package/dist-lib/lib/core/prompt-history.js +3 -1
  23. package/dist-lib/lib/core/transcript-visibility.d.ts +19 -0
  24. package/dist-lib/lib/core/transcript-visibility.js +47 -0
  25. package/dist-lib/lib/core.d.ts +2 -0
  26. package/dist-lib/lib/core.js +36 -0
  27. package/dist-lib/lib/custom-model-pusher.js +9 -5
  28. package/dist-lib/lib/mesh-scoped-engine.js +5 -0
  29. package/dist-lib/lib/run-transcript.d.ts +10 -3
  30. package/dist-lib/lib/run-transcript.js +23 -5
  31. package/dist-lib/lib/task.js +6 -1
  32. package/dist-lib/schema/content.d.ts +1 -0
  33. package/dist-lib/schema/content.js +15 -3
  34. package/dist-lib/schema/engine.js +90 -3
  35. package/dist-lib/schema/indexes.js +10 -1
  36. package/dist-lib/schema/qvac.js +10 -2
  37. package/dist-lib/spec/bind.js +15 -0
  38. package/dist-lib/spec/calls.js +5 -0
  39. package/dist-lib/spec/capabilities.d.ts +10 -0
  40. package/dist-lib/spec/hrpc/hrpc.json +164 -99
  41. package/dist-lib/spec/hrpc/index.js +260 -200
  42. package/dist-lib/spec/hrpc/messages.js +1202 -898
  43. package/dist-lib/spec/hyperschema/index.js +1202 -898
  44. package/dist-lib/spec/hyperschema/schema.json +265 -0
  45. package/dist-lib/spec/hyperschema/types.d.ts +65 -3
  46. package/dist-lib/spec/mesh/hyperdb/messages.js +385 -241
  47. package/dist-lib/spec/mesh/hyperdispatch/messages.js +138 -12
  48. package/dist-lib/spec/mesh/hyperschema/index.js +138 -12
  49. package/dist-lib/spec/mesh/hyperschema/schema.json +79 -1
  50. package/dist-lib/spec/mesh/hyperschema/types.d.ts +19 -3
  51. package/package.json +3 -2
@@ -1,10 +1,10 @@
1
1
  // This file is autogenerated by hyperschema-ts
2
- // Schema version: 12
2
+ // Schema version: 13
3
3
  // Do not edit manually.
4
4
 
5
- export type QvacChunkType = "user-message" | "content" | "thinking" | "tool-call" | "tool-result" | "attachment" | "approval-request" | "run-status" | "run-request" | "sources" | "compaction"
5
+ export type QvacChunkType = "user-message" | "content" | "thinking" | "tool-call" | "tool-result" | "attachment" | "approval-request" | "run-status" | "run-request" | "sources" | "compaction" | "round-reset"
6
6
 
7
- export type QvacRunState = "executing" | "completed" | "failed" | "canceled"
7
+ export type QvacRunState = "executing" | "completed" | "failed" | "canceled" | "paused" | "recovery-required"
8
8
 
9
9
  export type QvacApprovalStatus = "pending" | "approved" | "denied"
10
10
 
@@ -140,6 +140,10 @@ export interface QvacChunkV1 {
140
140
  capability?: string | null
141
141
  capabilityArgs?: unknown | null
142
142
  enhance?: QvacEnhanceMode | null
143
+ round?: number
144
+ callId?: string | null
145
+ resumed?: boolean
146
+ roundReset?: QvacChunkContentRoundReset | null
143
147
  }
144
148
 
145
149
  export type QvacChunk = (QvacChunkV1 & { version?: number })
@@ -179,6 +183,10 @@ export interface QvacAppendChunkOperationV1 {
179
183
  capability?: string | null
180
184
  capabilityArgs?: unknown | null
181
185
  enhance?: QvacEnhanceMode | null
186
+ round?: number
187
+ callId?: string | null
188
+ resumed?: boolean
189
+ roundReset?: QvacChunkContentRoundReset | null
182
190
  }
183
191
 
184
192
  export type QvacAppendChunkOperation = (QvacAppendChunkOperationV1 & { version?: number })
@@ -808,6 +816,12 @@ export interface QvacPurgeChatOperationV1 {
808
816
 
809
817
  export type QvacPurgeChatOperation = (QvacPurgeChatOperationV1 & { version?: number })
810
818
 
819
+ export interface QvacChunkContentRoundResetV1 {
820
+ replacedTypes?: QvacChunkType[] | null
821
+ }
822
+
823
+ export type QvacChunkContentRoundReset = (QvacChunkContentRoundResetV1 & { version?: number })
824
+
811
825
  export interface SchemaTypes {
812
826
  "@qvac/chunk-type": QvacChunkType
813
827
  "@qvac/run-state": QvacRunState
@@ -979,4 +993,6 @@ export interface SchemaTypes {
979
993
  "@qvac/purged-chat": QvacPurgedChat
980
994
  "@qvac/purge-chat-operation-v1": QvacPurgeChatOperationV1
981
995
  "@qvac/purge-chat-operation": QvacPurgeChatOperation
996
+ "@qvac/chunk-content-round-reset-v1": QvacChunkContentRoundResetV1
997
+ "@qvac/chunk-content-round-reset": QvacChunkContentRoundReset
982
998
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qvac/core",
3
- "version": "0.6.4",
3
+ "version": "1.0.0-rc.0",
4
4
  "type": "module",
5
5
  "description": "Peer-to-peer AI across your devices",
6
6
  "engines": {
@@ -237,7 +237,7 @@
237
237
  }
238
238
  },
239
239
  "dependencies": {
240
- "@qvac/harness": "^0.7.1",
240
+ "@qvac/harness": "1.0.0-rc.0",
241
241
  "@qvac/skills": "^0.1.11",
242
242
  "asenion": "^0.1.0",
243
243
  "autobee": "^2.11.8",
@@ -274,6 +274,7 @@
274
274
  "compact-encoding": "^3.4.0",
275
275
  "corestore": "^7.12.6",
276
276
  "hrpc": "^4.3.0",
277
+ "hyperbee2": "^2.18.0",
277
278
  "hyperblobs": "^2.12.1",
278
279
  "hyperconf": "^1.0.3",
279
280
  "hypercore-blob-server": "^1.12.0",