@qvac/core 0.2.1 → 0.3.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 (278) hide show
  1. package/.claude/skills/compaction/SKILL.md +15 -6
  2. package/.claude/skills/js-house-style/SKILL.md +1 -0
  3. package/.claude/skills/pr-create/SKILL.md +66 -3
  4. package/.claude/skills/pr-review/SKILL.md +252 -40
  5. package/.claude/skills/release/SKILL.md +122 -0
  6. package/CLAUDE.md +8 -5
  7. package/README.md +3 -1
  8. package/dist-lib/client.js +1 -1
  9. package/dist-lib/index.js +8 -8
  10. package/dist-lib/lib/api/agents.d.ts +1 -1
  11. package/dist-lib/lib/api/agents.js +10 -10
  12. package/dist-lib/lib/api/app-config.js +1 -1
  13. package/dist-lib/lib/api/approval-rules.js +9 -5
  14. package/dist-lib/lib/api/attachments.js +25 -3
  15. package/dist-lib/lib/api/chat-groups.d.ts +1 -1
  16. package/dist-lib/lib/api/chat-groups.js +5 -4
  17. package/dist-lib/lib/api/chat.js +10 -10
  18. package/dist-lib/lib/api/chunks.d.ts +1 -1
  19. package/dist-lib/lib/api/chunks.js +11 -21
  20. package/dist-lib/lib/api/config.js +1 -1
  21. package/dist-lib/lib/api/current-mesh.d.ts +16 -1
  22. package/dist-lib/lib/api/current-mesh.js +18 -0
  23. package/dist-lib/lib/api/custom-models.js +2 -2
  24. package/dist-lib/lib/api/devices.d.ts +1 -1
  25. package/dist-lib/lib/api/devices.js +12 -9
  26. package/dist-lib/lib/api/diagnostics.js +1 -1
  27. package/dist-lib/lib/api/effective-ctx-size.js +1 -1
  28. package/dist-lib/lib/api/execution.js +4 -4
  29. package/dist-lib/lib/api/files.js +2 -2
  30. package/dist-lib/lib/api/index.d.ts +1 -0
  31. package/dist-lib/lib/api/index.js +34 -34
  32. package/dist-lib/lib/api/instrument.js +1 -1
  33. package/dist-lib/lib/api/knowledge.js +13 -9
  34. package/dist-lib/lib/api/logs.js +1 -1
  35. package/dist-lib/lib/api/members.d.ts +4 -1
  36. package/dist-lib/lib/api/members.js +87 -18
  37. package/dist-lib/lib/api/mesh.d.ts +13 -3
  38. package/dist-lib/lib/api/mesh.js +25 -2
  39. package/dist-lib/lib/api/model-download.js +1 -1
  40. package/dist-lib/lib/api/network.js +1 -1
  41. package/dist-lib/lib/api/notifications.js +3 -3
  42. package/dist-lib/lib/api/rag.js +7 -7
  43. package/dist-lib/lib/api/sync.d.ts +1 -1
  44. package/dist-lib/lib/api/sync.js +3 -2
  45. package/dist-lib/lib/api/tool-activity.js +5 -5
  46. package/dist-lib/lib/api/tool-configs.js +5 -5
  47. package/dist-lib/lib/api/watchable.d.ts +6 -1
  48. package/dist-lib/lib/api/watchable.js +14 -3
  49. package/dist-lib/lib/assistant/fetch-body.d.ts +5 -0
  50. package/dist-lib/lib/assistant/fetch-body.js +36 -0
  51. package/dist-lib/lib/assistant/harness.d.ts +225 -0
  52. package/dist-lib/lib/assistant/harness.js +154 -0
  53. package/dist-lib/lib/assistant/history.d.ts +31 -0
  54. package/dist-lib/lib/assistant/history.js +226 -0
  55. package/dist-lib/lib/assistant/message.d.ts +45 -0
  56. package/dist-lib/lib/assistant/message.js +47 -0
  57. package/dist-lib/lib/assistant/skill-encode.d.ts +21 -0
  58. package/dist-lib/lib/assistant/skill-encode.js +71 -0
  59. package/dist-lib/lib/assistant-client.js +2 -2
  60. package/dist-lib/lib/assistant-tree.js +10 -4
  61. package/dist-lib/lib/assistant.d.ts +28 -292
  62. package/dist-lib/lib/assistant.js +284 -716
  63. package/dist-lib/lib/audio-format.js +2 -2
  64. package/dist-lib/lib/client.js +2 -2
  65. package/dist-lib/lib/collabora/convert.js +1 -1
  66. package/dist-lib/lib/collabora/entry.js +1 -1
  67. package/dist-lib/lib/collabora/worker.js +1 -1
  68. package/dist-lib/lib/compaction.d.ts +1 -2
  69. package/dist-lib/lib/compaction.js +8 -6
  70. package/dist-lib/lib/constants.js +1 -1
  71. package/dist-lib/lib/core/account-recovery.d.ts +19 -0
  72. package/dist-lib/lib/core/account-recovery.js +50 -0
  73. package/dist-lib/lib/core/agent.js +8 -4
  74. package/dist-lib/lib/core/app-build.d.ts +1 -1
  75. package/dist-lib/lib/core/approval-rules.d.ts +1 -0
  76. package/dist-lib/lib/core/approval-rules.js +3 -1
  77. package/dist-lib/lib/core/archived-mesh.d.ts +25 -0
  78. package/dist-lib/lib/core/archived-mesh.js +162 -0
  79. package/dist-lib/lib/core/chat-activity.js +1 -1
  80. package/dist-lib/lib/core/chat-group.d.ts +1 -0
  81. package/dist-lib/lib/core/chat-group.js +24 -4
  82. package/dist-lib/lib/core/chat-search.js +2 -2
  83. package/dist-lib/lib/core/chat.js +5 -5
  84. package/dist-lib/lib/core/chunk.d.ts +2 -1
  85. package/dist-lib/lib/core/chunk.js +31 -4
  86. package/dist-lib/lib/core/contract/agents.js +1 -1
  87. package/dist-lib/lib/core/contract/approval-rules.js +6 -4
  88. package/dist-lib/lib/core/contract/attestations.js +1 -1
  89. package/dist-lib/lib/core/contract/chat-group.js +1 -1
  90. package/dist-lib/lib/core/contract/chat.js +1 -1
  91. package/dist-lib/lib/core/contract/chunks.js +2 -2
  92. package/dist-lib/lib/core/contract/compute.d.ts +11 -0
  93. package/dist-lib/lib/core/contract/compute.js +45 -0
  94. package/dist-lib/lib/core/contract/devices.js +19 -5
  95. package/dist-lib/lib/core/contract/index.d.ts +3 -1
  96. package/dist-lib/lib/core/contract/index.js +19 -16
  97. package/dist-lib/lib/core/contract/indexing.js +2 -2
  98. package/dist-lib/lib/core/contract/joined-meshes.js +1 -1
  99. package/dist-lib/lib/core/contract/knowledge.js +2 -2
  100. package/dist-lib/lib/core/contract/members.js +2 -2
  101. package/dist-lib/lib/core/contract/seal.d.ts +2 -0
  102. package/dist-lib/lib/core/contract/seal.js +8 -0
  103. package/dist-lib/lib/core/contract/seed-defaults.js +1 -1
  104. package/dist-lib/lib/core/contract/tool-activity.js +1 -1
  105. package/dist-lib/lib/core/contract/tool-configs.js +3 -3
  106. package/dist-lib/lib/core/contract/writers.js +66 -42
  107. package/dist-lib/lib/core/departures.js +1 -1
  108. package/dist-lib/lib/core/device-invites.js +1 -1
  109. package/dist-lib/lib/core/document-attachment.js +2 -2
  110. package/dist-lib/lib/core/files/attachments.js +3 -3
  111. package/dist-lib/lib/core/files/index.d.ts +2 -2
  112. package/dist-lib/lib/core/files/index.js +19 -19
  113. package/dist-lib/lib/core/files/knowledge.js +3 -3
  114. package/dist-lib/lib/core/files/preview/image.js +1 -1
  115. package/dist-lib/lib/core/files/preview/index.js +6 -6
  116. package/dist-lib/lib/core/files/processing/claims.js +1 -1
  117. package/dist-lib/lib/core/files/processing/document.js +5 -5
  118. package/dist-lib/lib/core/files/processing/index.js +8 -8
  119. package/dist-lib/lib/core/files/processing/ownership.js +1 -1
  120. package/dist-lib/lib/core/files/processing/protocol.js +3 -3
  121. package/dist-lib/lib/core/files/processing/source.js +1 -1
  122. package/dist-lib/lib/core/files/rag/artifact/codec.js +1 -1
  123. package/dist-lib/lib/core/files/rag/artifact/id.js +1 -1
  124. package/dist-lib/lib/core/files/rag/artifact/types.d.ts +4 -4
  125. package/dist-lib/lib/core/files/rag/build.js +2 -2
  126. package/dist-lib/lib/core/files/rag/chunk/chunking.js +2 -2
  127. package/dist-lib/lib/core/files/rag/document-types.d.ts +3 -3
  128. package/dist-lib/lib/core/files/rag/extract/document-types.d.ts +9 -9
  129. package/dist-lib/lib/core/files/rag/extract/extract.js +7 -7
  130. package/dist-lib/lib/core/files/rag/extract/html-text.js +1 -1
  131. package/dist-lib/lib/core/files/rag/extract/office-collabora.js +2 -2
  132. package/dist-lib/lib/core/files/rag/extract/pdf-platform.js +1 -1
  133. package/dist-lib/lib/core/files/rag/extract/pdf-text.js +1 -1
  134. package/dist-lib/lib/core/files/rag/extract/text-decoding.js +1 -1
  135. package/dist-lib/lib/core/files/rag/extract/types.d.ts +2 -2
  136. package/dist-lib/lib/core/files/rag/index.js +22 -22
  137. package/dist-lib/lib/core/files/rag/load.js +5 -5
  138. package/dist-lib/lib/core/files/rag/policy.js +2 -2
  139. package/dist-lib/lib/core/files/rag/produce.js +5 -5
  140. package/dist-lib/lib/core/files/rag/retrieval/coverage.js +2 -2
  141. package/dist-lib/lib/core/files/rag/retrieval/diversity.js +1 -1
  142. package/dist-lib/lib/core/files/rag/retrieval/floor.js +2 -2
  143. package/dist-lib/lib/core/files/rag/retrieval/format.js +1 -1
  144. package/dist-lib/lib/core/files/rag/retrieval/full-text.js +18 -11
  145. package/dist-lib/lib/core/files/rag/retrieval/knowledge.js +5 -5
  146. package/dist-lib/lib/core/files/rag/retrieval/scoring.js +2 -2
  147. package/dist-lib/lib/core/files/rag/retrieval/search.js +4 -4
  148. package/dist-lib/lib/core/files/rag/retrieval/selection.js +2 -2
  149. package/dist-lib/lib/core/files/rag/retrieval/sources.js +2 -2
  150. package/dist-lib/lib/core/files/rag/retrieval/terms.js +1 -1
  151. package/dist-lib/lib/core/files/rag/retrieval/web-sources.js +1 -1
  152. package/dist-lib/lib/core/files/records/chunks.js +1 -1
  153. package/dist-lib/lib/core/files/records/index.js +8 -8
  154. package/dist-lib/lib/core/files/records/knowledge.js +2 -2
  155. package/dist-lib/lib/core/files/records/output.js +1 -1
  156. package/dist-lib/lib/core/files/records/reclaim.js +5 -5
  157. package/dist-lib/lib/core/files/records/routing.js +7 -7
  158. package/dist-lib/lib/core/files/store/blob.js +2 -2
  159. package/dist-lib/lib/core/files/store/index.js +7 -7
  160. package/dist-lib/lib/core/files/store/reference.js +2 -2
  161. package/dist-lib/lib/core/files/store/server.js +1 -1
  162. package/dist-lib/lib/core/files/store/sweep.js +1 -1
  163. package/dist-lib/lib/core/files/upload-input.js +2 -2
  164. package/dist-lib/lib/core/files/upload.d.ts +1 -1
  165. package/dist-lib/lib/core/files/upload.js +6 -6
  166. package/dist-lib/lib/core/harness-loan.d.ts +29 -0
  167. package/dist-lib/lib/core/harness-loan.js +187 -0
  168. package/dist-lib/lib/core/helpers/index.d.ts +2 -1
  169. package/dist-lib/lib/core/helpers/index.js +4 -4
  170. package/dist-lib/lib/core/hosted-agents.js +2 -2
  171. package/dist-lib/lib/core/identity.d.ts +2 -0
  172. package/dist-lib/lib/core/identity.js +4 -2
  173. package/dist-lib/lib/core/invite.d.ts +1 -0
  174. package/dist-lib/lib/core/invite.js +4 -2
  175. package/dist-lib/lib/core/local/index.d.ts +12 -3
  176. package/dist-lib/lib/core/local/index.js +81 -16
  177. package/dist-lib/lib/core/membership.d.ts +3 -0
  178. package/dist-lib/lib/core/membership.js +15 -1
  179. package/dist-lib/lib/core/mesh-seed-handoff.js +1 -1
  180. package/dist-lib/lib/core/mesh.d.ts +9 -3
  181. package/dist-lib/lib/core/mesh.js +41 -26
  182. package/dist-lib/lib/core/migrations/agent-catalog.js +1 -1
  183. package/dist-lib/lib/core/migrations/index.js +5 -3
  184. package/dist-lib/lib/core/migrations/membership.js +2 -2
  185. package/dist-lib/lib/core/migrations/seal.d.ts +3 -0
  186. package/dist-lib/lib/core/migrations/seal.js +30 -0
  187. package/dist-lib/lib/core/next-frame.js +1 -1
  188. package/dist-lib/lib/core/notification.js +1 -1
  189. package/dist-lib/lib/core/ota-config.js +1 -1
  190. package/dist-lib/lib/core/secret-handoff.js +1 -1
  191. package/dist-lib/lib/core/send.js +3 -3
  192. package/dist-lib/lib/core/skill-overlay-handoff.js +1 -1
  193. package/dist-lib/lib/core/skill-overlay-receiver.js +2 -2
  194. package/dist-lib/lib/core/skill-secrets.js +3 -3
  195. package/dist-lib/lib/core/sync/devices.js +1 -1
  196. package/dist-lib/lib/core/sync/index.js +8 -5
  197. package/dist-lib/lib/core/sync-status.js +1 -1
  198. package/dist-lib/lib/core/system-info.js +1 -1
  199. package/dist-lib/lib/core/tool-activity.js +2 -2
  200. package/dist-lib/lib/core/tool-configs.js +2 -2
  201. package/dist-lib/lib/core.d.ts +42 -3
  202. package/dist-lib/lib/core.js +543 -100
  203. package/dist-lib/lib/credential-pusher.js +4 -4
  204. package/dist-lib/lib/deadline.js +1 -1
  205. package/dist-lib/lib/fs-drive-bridge.js +5 -3
  206. package/dist-lib/lib/integrations/index.js +3 -3
  207. package/dist-lib/lib/integrations/oauth-providers.js +1 -1
  208. package/dist-lib/lib/integrations/setup-routes.d.ts +5 -5
  209. package/dist-lib/lib/integrations/setup-routes.js +3 -3
  210. package/dist-lib/lib/knowledge-search.js +1 -1
  211. package/dist-lib/lib/log.js +3 -3
  212. package/dist-lib/lib/mesh-scoped-engine.d.ts +3 -0
  213. package/dist-lib/lib/mesh-scoped-engine.js +101 -0
  214. package/dist-lib/lib/model-context.d.ts +2 -2
  215. package/dist-lib/lib/model-context.js +1 -1
  216. package/dist-lib/lib/model-download.d.ts +2 -0
  217. package/dist-lib/lib/model-download.js +26 -11
  218. package/dist-lib/lib/oauth/asana.js +3 -3
  219. package/dist-lib/lib/oauth/browser-connect.js +1 -1
  220. package/dist-lib/lib/oauth/client.js +2 -2
  221. package/dist-lib/lib/oauth/common.d.ts +1 -1
  222. package/dist-lib/lib/oauth/common.js +1 -1
  223. package/dist-lib/lib/oauth/flow-core.js +3 -3
  224. package/dist-lib/lib/oauth/flow.js +2 -2
  225. package/dist-lib/lib/oauth/google.js +4 -4
  226. package/dist-lib/lib/oauth/host.js +3 -3
  227. package/dist-lib/lib/oauth/keys.js +1 -0
  228. package/dist-lib/lib/oauth/loopback.js +1 -1
  229. package/dist-lib/lib/oauth/notion.js +3 -3
  230. package/dist-lib/lib/oauth/providers.js +1 -1
  231. package/dist-lib/lib/oauth/resolve.js +1 -1
  232. package/dist-lib/lib/oauth/spotify.js +4 -3
  233. package/dist-lib/lib/oauth/token-exchange.js +1 -1
  234. package/dist-lib/lib/oauth/verify.d.ts +8 -0
  235. package/dist-lib/lib/oauth/verify.js +58 -0
  236. package/dist-lib/lib/oauth.client.js +2 -2
  237. package/dist-lib/lib/oauth.d.ts +1 -0
  238. package/dist-lib/lib/oauth.js +13 -12
  239. package/dist-lib/lib/run-notices.d.ts +7 -7
  240. package/dist-lib/lib/run-transcript.js +1 -1
  241. package/dist-lib/schema/build.js +12 -6
  242. package/dist-lib/schema/content.d.ts +11 -11
  243. package/dist-lib/schema/engine.js +193 -30
  244. package/dist-lib/schema/field-order.js +2 -2
  245. package/dist-lib/schema/local.js +18 -4
  246. package/dist-lib/schema/qvac.d.ts +3 -0
  247. package/dist-lib/schema/qvac.js +22 -6
  248. package/dist-lib/spec/bind.js +41 -0
  249. package/dist-lib/spec/calls.js +12 -0
  250. package/dist-lib/spec/capabilities.d.ts +36 -12
  251. package/dist-lib/spec/hrpc/hrpc.json +161 -5
  252. package/dist-lib/spec/hrpc/index.js +154 -9
  253. package/dist-lib/spec/hrpc/messages.js +549 -129
  254. package/dist-lib/spec/hyperschema/index.js +549 -129
  255. package/dist-lib/spec/hyperschema/schema.json +370 -40
  256. package/dist-lib/spec/hyperschema/types.d.ts +85 -1
  257. package/dist-lib/spec/local/hyperdb/db.json +15 -0
  258. package/dist-lib/spec/local/hyperdb/index.js +70 -1
  259. package/dist-lib/spec/local/hyperdb/messages.js +300 -117
  260. package/dist-lib/spec/local/hyperschema/index.js +97 -4
  261. package/dist-lib/spec/local/hyperschema/schema.json +58 -1
  262. package/dist-lib/spec/local/hyperschema/types.d.ts +14 -0
  263. package/dist-lib/spec/mesh/hyperdb/messages.js +393 -288
  264. package/dist-lib/spec/mesh/hyperdispatch/dispatch.json +6 -0
  265. package/dist-lib/spec/mesh/hyperdispatch/index.js +18 -1
  266. package/dist-lib/spec/mesh/hyperdispatch/messages.js +176 -85
  267. package/dist-lib/spec/mesh/hyperschema/index.js +176 -85
  268. package/dist-lib/spec/mesh/hyperschema/schema.json +71 -21
  269. package/dist-lib/spec/mesh/hyperschema/types.d.ts +14 -1
  270. package/package.json +14 -8
  271. package/tui/README.md +7 -0
  272. package/tui/app.mjs +633 -55
  273. package/tui/lib/busy-words.mjs +57 -5
  274. package/tui/lib/export.mjs +1 -0
  275. package/tui/lib/render.mjs +25 -2
  276. package/tui/lib/selection.mjs +16 -0
  277. package/tui/lib/usage.mjs +54 -0
  278. package/tui/main.mjs +5 -2
@@ -0,0 +1,47 @@
1
+ export const IMAGE_ONLY_USER_PROMPT = 'The user sent one or more images without any accompanying text. Describe what the images show and respond to anything notable in them.';
2
+ export const DOCUMENT_ONLY_USER_PROMPT = 'The user sent one or more documents without any accompanying text. Summarize the attached documents.';
3
+ export const IMAGE_AND_DOCUMENT_USER_PROMPT = 'The user sent one or more images together with one or more documents, and no accompanying text. Describe what the images show and summarize the attached documents.';
4
+ export function backfillDocumentOnlyTurn(messages) {
5
+ const last = messages.findLast((turn) => turn.role === 'user');
6
+ if (!last || last.content.trim())
7
+ return;
8
+ last.content = last.attachments?.length
9
+ ? IMAGE_AND_DOCUMENT_USER_PROMPT
10
+ : DOCUMENT_ONLY_USER_PROMPT;
11
+ }
12
+ export function backfillImageOnlyTurns(messages) {
13
+ for (const turn of messages) {
14
+ if (turn.role !== 'user' || turn.content.trim())
15
+ continue;
16
+ if (turn.attachments?.length)
17
+ turn.content = IMAGE_ONLY_USER_PROMPT;
18
+ }
19
+ }
20
+ export function unreadableImagesNotice(fileNames) {
21
+ const plural = fileNames.length > 1;
22
+ return (`[Attached image${plural ? 's' : ''}: ${fileNames.join(', ')} — could not be read, so ` +
23
+ `${plural ? 'they are' : 'it is'} not visible to you. Tell the user the upload failed and ` +
24
+ `ask for a re-upload; never describe or recreate ${plural ? 'them' : 'it'}]`);
25
+ }
26
+ export function annotateUnreadableImages(unreadable) {
27
+ for (const [turn, names] of unreadable) {
28
+ const notice = unreadableImagesNotice(names);
29
+ turn.content = turn.content ? `${turn.content}\n${notice}` : notice;
30
+ }
31
+ }
32
+ export function unheardAudioNotice(label, reason, opts = {}) {
33
+ const retry = opts.retryable === false ? '' : ', and ask them to try again';
34
+ return (`${label} could not be transcribed (${reason}). Tell the user the audio was not ` +
35
+ `transcribed and why${retry}; never invent what it might contain.`);
36
+ }
37
+ export function silentAudioNotice(fileName) {
38
+ return (`Attached audio "${fileName}" was transcribed and contained no detectable speech. ` +
39
+ 'Tell the user; never invent what it might contain.');
40
+ }
41
+ export function audioTranscriptBlock(fileName, transcript) {
42
+ return [
43
+ `The audio file "${fileName}" has already been transcribed on-device. You cannot open the file itself — use the transcript below as its full content and answer from it.`,
44
+ 'Transcript:',
45
+ transcript
46
+ ].join('\n');
47
+ }
@@ -0,0 +1,21 @@
1
+ import type { InstallStep, SkillRequires, SkillSetup } from '@qvac/harness';
2
+ import type { AssistantSkill } from '../../spec/hyperschema/types.d.ts';
3
+ export interface Skill {
4
+ name: string;
5
+ description: string;
6
+ status: string;
7
+ tools: string[];
8
+ credentials: string[];
9
+ allowList: string[];
10
+ platform: string[];
11
+ requires?: SkillRequires;
12
+ install?: InstallStep[];
13
+ setup?: SkillSetup;
14
+ stub?: boolean;
15
+ minCapabilityProfile?: string;
16
+ emoji?: string;
17
+ }
18
+ export declare function toEngineSkill(skill: Skill): AssistantSkill;
19
+ export declare function toEngineSkillRequirements(requires: SkillRequires): NonNullable<AssistantSkill['requirements']>;
20
+ export declare function toEngineInstallStep(step: InstallStep): NonNullable<AssistantSkill['install']>[number];
21
+ export declare function toEngineSkillSetup(setup: SkillSetup): NonNullable<AssistantSkill['setup']>;
@@ -0,0 +1,71 @@
1
+ import { readSetup as normalizeSkillSetup } from '@qvac/harness/lib/tools/skills/manifest-parse.ts';
2
+ export function toEngineSkill(skill) {
3
+ const setup = normalizeSkillSetup(skill.setup);
4
+ return {
5
+ name: skill.name,
6
+ description: skill.description,
7
+ tools: [...skill.tools],
8
+ credentials: [...skill.credentials],
9
+ allowList: [...skill.allowList],
10
+ platforms: [...skill.platform],
11
+ status: skill.status,
12
+ ...(skill.requires ? { requirements: toEngineSkillRequirements(skill.requires) } : {}),
13
+ ...(skill.install ? { install: skill.install.map(toEngineInstallStep) } : {}),
14
+ ...(setup ? { setup: toEngineSkillSetup(setup) } : {}),
15
+ ...(skill.stub !== undefined ? { stub: skill.stub } : {}),
16
+ ...(skill.minCapabilityProfile ? { minCapabilityProfile: skill.minCapabilityProfile } : {}),
17
+ ...(skill.emoji ? { emoji: skill.emoji } : {})
18
+ };
19
+ }
20
+ export function toEngineSkillRequirements(requires) {
21
+ return {
22
+ binaries: (requires.bins ?? []).map((bin) => ({
23
+ bin,
24
+ minVersion: requires.binMinVersions?.[bin]?.min,
25
+ command: requires.binMinVersions?.[bin]?.command
26
+ })),
27
+ credentials: [...(requires.credentials ?? [])]
28
+ };
29
+ }
30
+ export function toEngineInstallStep(step) {
31
+ return {
32
+ id: step.id,
33
+ kind: step.kind,
34
+ label: step.label,
35
+ ...(step.formula ? { formula: step.formula } : {}),
36
+ ...(step.command ? { command: step.command } : {}),
37
+ ...(step.manual !== undefined ? { manual: step.manual } : {}),
38
+ ...(step.bins ? { bins: [...step.bins] } : {})
39
+ };
40
+ }
41
+ export function toEngineSkillSetup(setup) {
42
+ return {
43
+ ...(setup.summary ? { summary: setup.summary } : {}),
44
+ ...(setup.routes
45
+ ? {
46
+ routes: setup.routes.map((route) => ({
47
+ kind: route.kind,
48
+ label: route.label,
49
+ ...(route.provider ? { provider: route.provider } : {}),
50
+ ...(route.credentialKey ? { credentialKey: route.credentialKey } : {}),
51
+ ...(route.description ? { description: route.description } : {}),
52
+ ...(route.helpUrl ? { helpUrl: route.helpUrl } : {}),
53
+ ...(route.steps ? { steps: [...route.steps] } : {}),
54
+ ...(route.configSteps ? { configSteps: [...route.configSteps] } : {}),
55
+ ...(route.fields
56
+ ? {
57
+ fields: route.fields.map((field) => ({
58
+ key: field.key,
59
+ label: field.label,
60
+ ...(field.placeholder ? { placeholder: field.placeholder } : {}),
61
+ ...(field.secret !== undefined ? { secret: field.secret } : {}),
62
+ ...(field.required !== undefined ? { required: field.required } : {})
63
+ }))
64
+ }
65
+ : {}),
66
+ ...(route.satisfied !== undefined ? { satisfied: route.satisfied } : {})
67
+ }))
68
+ }
69
+ : {})
70
+ };
71
+ }
@@ -1,4 +1,4 @@
1
- import { Client } from "./client.js";
1
+ import { Client } from './client.js';
2
2
  import { duplexPair } from '@qvac/harness/transport';
3
3
  export class AssistantClient extends Client {
4
4
  _inline;
@@ -27,7 +27,7 @@ export class AssistantClient extends Client {
27
27
  }
28
28
  : async () => {
29
29
  const [serverStream, clientStream] = duplexPair();
30
- const { Core } = await import("./core.js");
30
+ const { Core } = await import('./core.js');
31
31
  inline.core = new Core(() => serverStream, {
32
32
  logger: engineOptions.logger ?? null,
33
33
  storagePath,
@@ -1,7 +1,8 @@
1
1
  import Supervisor, {} from 'bare-supervisor';
2
- import { harnessClearKvCache, harnessDeleteModel, harnessListModels, harnessSkillCatalog, harnessSkillManagement, harnessSpeak, harnessSpeakStream, harnessTools, harnessTranscribe, QvacAssistant } from "./assistant.js";
3
- import { Client } from "./client.js";
4
- import { startCustomModelPusher } from "./custom-model-pusher.js";
2
+ import { harnessClearKvCache, harnessDeleteModel, harnessListModels, harnessSkillCatalog, harnessSkillManagement, harnessSpeak, harnessSpeakStream, harnessTools, harnessTranscribe, QvacAssistant } from './assistant.js';
3
+ import { Client } from './client.js';
4
+ import { startCustomModelPusher } from './custom-model-pusher.js';
5
+ import { serveHarness } from '@qvac/harness';
5
6
  import { duplexPair } from '@qvac/harness/transport';
6
7
  export function assistantTree(opts) {
7
8
  const { core, harness, logger = null, imageCacheDir, imageCacheMaxBytes, imageCacheMaxAgeMs, embedder, extractors, onHarness, platform, preloadCurrentAgentModel } = opts;
@@ -29,6 +30,7 @@ export function assistantTree(opts) {
29
30
  let offSpeakStream = null;
30
31
  let offModelCatalogWatch = null;
31
32
  let offCustomModels = null;
33
+ let offLoanableHarness = null;
32
34
  sup.add('engine', {
33
35
  start: async () => {
34
36
  const [server, client] = duplexPair();
@@ -61,7 +63,8 @@ export function assistantTree(opts) {
61
63
  imageCacheMaxAgeMs,
62
64
  ...(platform ? { platform } : {}),
63
65
  ...(preloadCurrentAgentModel !== undefined ? { preloadCurrentAgentModel } : {}),
64
- ...(core.fsDrives ? { drives: core.fsDrives } : {})
66
+ ...(core.fsDrives ? { drives: core.fsDrives } : {}),
67
+ borrowHarness: (deviceId) => core.borrowHarness(deviceId)
65
68
  });
66
69
  offDiagnostics = core.registerDiagnostics(() => assistant.diagnosticsSlice());
67
70
  offListModels = core.registerListModels(harnessListModels(harness));
@@ -71,6 +74,7 @@ export function assistantTree(opts) {
71
74
  offCompactChat = core.registerCompactChat((chatId) => assistant.compactChat(chatId));
72
75
  offModelCatalogWatch = core.registerModelCatalogWatch(() => assistant.modelCatalogWatch());
73
76
  offCustomModels = startCustomModelPusher(harness, core.local, logger);
77
+ offLoanableHarness = core.registerLoanableHarness((stream) => serveHarness(stream, harness));
74
78
  offRetryModelDownload = core.registerRetryModelDownload((name) => assistant.retryModelDownload(name));
75
79
  offSkills = core.registerSkills((agentId, modelName, options) => assistant.skills(agentId, modelName, options));
76
80
  const transcribe = harnessTranscribe(harness);
@@ -126,6 +130,8 @@ export function assistantTree(opts) {
126
130
  offModelCatalogWatch = null;
127
131
  await offCustomModels?.();
128
132
  offCustomModels = null;
133
+ offLoanableHarness?.();
134
+ offLoanableHarness = null;
129
135
  offRetryModelDownload?.();
130
136
  offRetryModelDownload = null;
131
137
  offSkills?.();
@@ -1,290 +1,18 @@
1
- import { type AbortSignal } from 'bare-abort-controller';
2
- import type { ApprovalCall, InstallStep, MemoryBudget, ModelCategory, SkillRequires, SkillSetup } from '@qvac/harness';
3
- import type { ManagedSkill, SkillFileContent } from '@qvac/harness/lib/tools/skills/overlay-crud.ts';
4
- import type { SkillManagementHooks } from './core.ts';
5
- import type { DriveOpFn, GrantedDrive } from '@qvac/harness/lib/tools/fs/remote.ts';
1
+ import type { ModelCategory } from '@qvac/harness';
2
+ import type { Duplex } from 'streamx';
6
3
  import ReadyResource from 'ready-resource';
7
- import type { AssistantAgent, AssistantCapabilityProfile, AssistantChunk, AssistantChunkContentAttachment, AssistantDeleteModelRequest, AssistantDeleteModelResponse, AssistantKvCacheDeletionResponse, AssistantListModelsRequest, AssistantModelCatalogRevision, AssistantModelInfoList, AssistantSkillCatalogResponse, AssistantSpeakRequest, AssistantSpeakResponse, AssistantToolCatalogResponse, AssistantTranscribeRequest, AssistantTranscribeResponse } from '../spec/hyperschema/types.d.ts';
4
+ import type { AssistantKvCacheDeletionResponse, AssistantModelCatalogRevision } from '../spec/hyperschema/types.d.ts';
8
5
  import type { Capabilities } from './api/index.ts';
9
- import { type DocumentAttachment } from './core/document-attachment.ts';
10
6
  import type { DriveHost } from './core/fs-drives.ts';
11
- import { type DiagnosticsSlice, type HarnessDiagnostics } from './diagnostics.ts';
7
+ import { type DiagnosticsSlice } from './diagnostics.ts';
12
8
  import type { Logger } from './log.ts';
13
- import { type DownloadArgs, type DownloadEventStream } from './model-download.ts';
14
- interface ChatMessage {
15
- role: 'user' | 'assistant' | 'tool';
16
- content: string;
17
- attachments?: {
18
- path: string;
19
- }[];
20
- images?: AttachmentRef[];
21
- audioAttachments?: AttachmentRef[];
22
- documents?: DocumentAttachment[];
23
- }
24
- export declare const IMAGE_ONLY_USER_PROMPT = "The user sent one or more images without any accompanying text. Describe what the images show and respond to anything notable in them.";
25
- export declare const DOCUMENT_ONLY_USER_PROMPT = "The user sent one or more documents without any accompanying text. Summarize the attached documents.";
26
- export declare const IMAGE_AND_DOCUMENT_USER_PROMPT = "The user sent one or more images together with one or more documents, and no accompanying text. Describe what the images show and summarize the attached documents.";
27
- export declare function unreadableImagesNotice(fileNames: readonly string[]): string;
28
- export declare function annotateUnreadableImages(unreadable: ReadonlyMap<ChatMessage, string[]>): void;
29
- export declare function unheardAudioNotice(label: string, reason: string, opts?: {
30
- retryable?: boolean;
31
- }): string;
32
- interface AttachmentRef {
33
- id: string;
34
- fileName: string;
35
- mimeType: string;
36
- blobId: string;
37
- url?: string | null;
38
- }
39
- interface AttachInput {
40
- fileName: string;
41
- mimeType: string;
42
- bytes: Uint8Array;
43
- raw?: boolean;
44
- }
45
- interface AttachmentMeta {
46
- id: string;
47
- fileName: string;
48
- mimeType: string;
49
- byteLength: number;
50
- }
51
- interface FetchedAttachment extends AttachmentMeta {
52
- bytes: Uint8Array;
53
- }
54
- interface HarnessEvent {
55
- type: string;
56
- text?: string;
57
- message?: string;
58
- [key: string]: unknown;
59
- }
60
- export interface HarnessInfo {
61
- toolNames: string[];
62
- skills: string[];
63
- supportsImages: boolean;
64
- }
65
- export type ModelType = string;
66
- export interface ModelInfo {
67
- name: string;
68
- type: ModelType;
69
- registryPath: string;
70
- registrySource: string;
71
- isCached: boolean;
72
- isLoaded: boolean;
73
- supportsImages?: boolean;
74
- expectedSize: number;
75
- actualSize?: number;
76
- }
77
- export interface ListModelsOptions {
78
- type?: ModelType;
79
- cachedOnly?: boolean;
80
- fullRegistry?: boolean;
81
- }
82
- export interface DeleteModelSummary {
83
- name: string;
84
- removed: number;
85
- freedBytes: number;
86
- }
87
- export interface ToolCatalogEntry {
88
- name: string;
89
- description: string;
90
- skillGated: boolean;
91
- scopeRequired: boolean;
92
- toolset?: string | null;
93
- rootsRequired?: boolean;
94
- writeRootsRequired?: boolean;
95
- promptChars?: number;
96
- }
97
- export interface Harness {
98
- completion(context: {
99
- model: string;
100
- agent: AssistantAgent;
101
- messages: ChatMessage[];
102
- cacheKey?: string;
103
- thinkingDefault?: string;
104
- toolConfigs?: Record<string, Record<string, unknown>>;
105
- grantedDirs?: string[];
106
- grantedDrives?: GrantedDrive[];
107
- driveOp?: DriveOpFn;
108
- grantedWriteDirs?: string[];
109
- generationParams?: {
110
- temp?: number;
111
- top_p?: number;
112
- top_k?: number;
113
- presence_penalty?: number;
114
- repeat_penalty?: number;
115
- frequency_penalty?: number;
116
- reasoning_budget: 0 | -1;
117
- };
118
- responseFormat?: {
119
- type: 'text';
120
- } | {
121
- type: 'json_object';
122
- } | {
123
- type: 'json_schema';
124
- json_schema: {
125
- name: string;
126
- description?: string;
127
- schema: Record<string, unknown>;
128
- strict?: boolean;
129
- };
130
- };
131
- approve?: (call: ApprovalCall) => Promise<boolean>;
132
- attach?: (input: AttachInput) => Promise<AssistantChunkContentAttachment>;
133
- fetchAttachment?: (query: {
134
- attachmentId?: string;
135
- signal?: AbortSignal;
136
- meta?: boolean;
137
- }) => Promise<FetchedAttachment | AttachmentMeta | null>;
138
- ragSearch?: (input: {
139
- query: string;
140
- limit?: number;
141
- }) => Promise<{
142
- enabled: boolean;
143
- indexEmpty: boolean;
144
- hasKnowledge: boolean;
145
- pendingReferenced?: boolean;
146
- errorMessage?: string | null;
147
- hits: ReadonlyArray<{
148
- content: string;
149
- metadataJson?: string | null;
150
- score: number;
151
- }>;
152
- }>;
153
- progress?: (update: {
154
- percentage: number;
155
- } | null) => void;
156
- signal?: AbortSignal;
157
- }): AsyncIterable<HarnessEvent>;
158
- describe?(): Promise<HarnessInfo | null> | HarnessInfo;
159
- embed?(context: {
160
- model: string;
161
- texts: string[];
162
- signal?: AbortSignal;
163
- }): Promise<number[][]>;
164
- list?(options?: ListModelsOptions): Promise<ReadonlyArray<ModelInfo>>;
165
- warmModel?(context: {
166
- model: string;
167
- agent?: AssistantAgent;
168
- signal?: AbortSignal;
169
- }): Promise<void>;
170
- deleteModel?(name: string): Promise<DeleteModelSummary>;
171
- clearKvCache?(): Promise<AssistantKvCacheDeletionResponse>;
172
- deleteKvCache?(kvCacheKey: string): Promise<AssistantKvCacheDeletionResponse>;
173
- infraModels?(profile: string): Promise<ReadonlyArray<{
174
- name: string;
175
- addon: string;
176
- }>>;
177
- capability?(): Promise<{
178
- capabilityProfile: AssistantCapabilityProfile;
179
- recommendedModelName: string;
180
- memoryBudget?: MemoryBudget;
181
- }>;
182
- download?(args: DownloadArgs): DownloadEventStream;
183
- transcribe?(context: {
184
- model: string;
185
- audio: Buffer;
186
- signal?: AbortSignal;
187
- }): Promise<string>;
188
- speak?(context: {
189
- model: string;
190
- text: string;
191
- signal?: AbortSignal;
192
- }): Promise<{
193
- audio: Buffer;
194
- sampleRate: number;
195
- }>;
196
- speakStream?(context: {
197
- model: string;
198
- text: AsyncIterable<string>;
199
- signal?: AbortSignal;
200
- }): AsyncIterable<{
201
- audio: Buffer;
202
- sampleRate: number;
203
- }>;
204
- setCredentials?(entries: ReadonlyArray<{
205
- key: string;
206
- token?: string | null;
207
- expiresAt?: number | null;
208
- agentId?: string | null;
209
- }>): void | Promise<void>;
210
- setCustomModels?(entries: ReadonlyArray<{
211
- name: string;
212
- src: string;
213
- projectionSrc?: string;
214
- }>): void | Promise<void>;
215
- on?(event: 'model' | 'status', listener: (...args: never[]) => void): unknown;
216
- off?(event: 'model' | 'status', listener: (...args: never[]) => void): unknown;
217
- presuspend?(): Promise<void> | void;
218
- suspend?(): Promise<void> | void;
219
- wakeup?(): Promise<void> | void;
220
- resume?(): Promise<void> | void;
221
- skills?(agentId?: string | null, modelName?: string | null, options?: {
222
- readonly refresh?: boolean;
223
- readonly skipCredentialProbe?: boolean;
224
- }): Promise<ReadonlyArray<Skill>>;
225
- tools?(): Promise<ReadonlyArray<ToolCatalogEntry>>;
226
- listManagedSkills?(): Promise<ReadonlyArray<ManagedSkill>>;
227
- readSkillFile?(name: string): Promise<SkillFileContent | null>;
228
- writeSkillFile?(name: string, content: string): Promise<{
229
- ok: boolean;
230
- }>;
231
- copyBaseForEdit?(name: string): Promise<{
232
- copied: boolean;
233
- }>;
234
- deleteOverlaySkill?(name: string): Promise<{
235
- removed: boolean;
236
- }>;
237
- diagnostics?(): HarnessDiagnostics;
238
- fetchDiagnostics?(): Promise<HarnessDiagnostics | null>;
239
- toolNames?: string[];
240
- skillNames?: string[];
241
- supportsImages?: boolean;
242
- supportsImagesFor?(model: string): boolean;
243
- }
244
- export declare function harnessListModels(harness: Pick<Harness, 'list'>): (options: AssistantListModelsRequest) => Promise<AssistantModelInfoList>;
245
- export declare function harnessDeleteModel(harness: Pick<Harness, 'deleteModel'>): (options: AssistantDeleteModelRequest) => Promise<AssistantDeleteModelResponse>;
246
- export declare function harnessClearKvCache(harness: Pick<Harness, 'clearKvCache'>): () => Promise<AssistantKvCacheDeletionResponse>;
247
- export declare function harnessTranscribe(harness: Pick<Harness, 'transcribe'>): (request: AssistantTranscribeRequest) => Promise<AssistantTranscribeResponse>;
248
- export declare function harnessSpeak(harness: Pick<Harness, 'speak'>): (request: AssistantSpeakRequest) => Promise<AssistantSpeakResponse>;
249
- export declare function harnessSkillCatalog(harness: Pick<Harness, 'skills'>, syncCredentials?: () => Promise<void> | undefined): (agentId?: string | null, modelName?: string | null, options?: {
250
- readonly refresh?: boolean;
251
- readonly skipCredentialProbe?: boolean;
252
- }) => Promise<AssistantSkillCatalogResponse>;
253
- export declare function harnessSkillManagement(harness: Pick<Harness, 'listManagedSkills' | 'readSkillFile' | 'writeSkillFile' | 'copyBaseForEdit' | 'deleteOverlaySkill'>): SkillManagementHooks;
254
- export declare function harnessTools(harness: Pick<Harness, 'tools'>): () => Promise<AssistantToolCatalogResponse>;
255
- export declare function harnessSpeakStream(harness: Pick<Harness, 'speakStream'>): (text: AsyncIterable<string>) => AsyncIterable<AssistantSpeakResponse>;
256
- export interface Skill {
257
- name: string;
258
- description: string;
259
- status: string;
260
- tools: string[];
261
- credentials: string[];
262
- allowList: string[];
263
- platform: string[];
264
- requires?: SkillRequires;
265
- install?: InstallStep[];
266
- setup?: SkillSetup;
267
- stub?: boolean;
268
- minCapabilityProfile?: string;
269
- emoji?: string;
270
- }
271
- export interface StaleToolRuns {
272
- runIds: Set<string>;
273
- questionChunkIds: Set<string>;
274
- }
275
- export declare function listHistoryChunks(engine: Pick<Capabilities, 'listChunks'>, chatId: string): Promise<AssistantChunk[]>;
276
- export interface CompactOptions {
277
- readonly signal?: AbortSignal;
278
- readonly onFold?: () => Promise<void> | void;
279
- }
280
- export type CompactionTrigger = 'before-run' | 'turn-filled-window' | 'overflow';
281
- export interface CompactResult {
282
- readonly compacted: boolean;
283
- readonly foldedTurns?: number;
284
- readonly reason?: string;
285
- }
286
- export declare function historyFromChunks(chunks: ReadonlyArray<AssistantChunk>, stale?: Partial<StaleToolRuns>): ChatMessage[];
287
- export declare function staleToolRunIds(historyChunks: ReadonlyArray<AssistantChunk>, approvalChunks: ReadonlyArray<AssistantChunk>, currentRunId: string): StaleToolRuns;
9
+ import { type DeleteModelSummary, type Harness, type ListModelsOptions, type ModelInfo, type ToolCatalogEntry } from './assistant/harness.ts';
10
+ import type { Skill } from './assistant/skill-encode.ts';
11
+ import { type CompactOptions, type CompactResult } from './assistant/history.ts';
12
+ export { harnessClearKvCache, harnessDeleteModel, harnessListModels, harnessSkillCatalog, harnessSkillManagement, harnessSpeak, harnessSpeakStream, harnessTools, harnessTranscribe, type DeleteModelSummary, type Harness, type HarnessInfo, type ListModelsOptions, type ModelInfo, type ModelType, type ToolCatalogEntry } from './assistant/harness.ts';
13
+ export { type Skill } from './assistant/skill-encode.ts';
14
+ export { annotateUnreadableImages, unheardAudioNotice, unreadableImagesNotice, DOCUMENT_ONLY_USER_PROMPT, IMAGE_AND_DOCUMENT_USER_PROMPT, IMAGE_ONLY_USER_PROMPT } from './assistant/message.ts';
15
+ export { historyFromChunks, listHistoryChunks, staleToolRunIds, type CompactOptions, type CompactResult, type CompactionTrigger, type StaleToolRuns } from './assistant/history.ts';
288
16
  export interface AssistantOptions {
289
17
  logger?: Logger | null;
290
18
  imageCacheDir?: string;
@@ -294,11 +22,14 @@ export interface AssistantOptions {
294
22
  platform?: string;
295
23
  preloadCurrentAgentModel?: boolean;
296
24
  drives?: DriveHost;
25
+ borrowHarness?: (deviceId: string) => Duplex;
297
26
  blobReadTimeoutMs?: number;
298
27
  }
299
28
  export declare class QvacAssistant extends ReadyResource {
300
29
  private readonly _engine;
301
30
  private readonly _harness;
31
+ private readonly _borrowHarness;
32
+ private readonly _borrowed;
302
33
  private readonly _log;
303
34
  private readonly _imageCacheDir;
304
35
  private readonly _imageCacheMaxBytes?;
@@ -327,13 +58,14 @@ export declare class QvacAssistant extends ReadyResource {
327
58
  private _harnessDiagnostics;
328
59
  private _harnessDeath;
329
60
  private _refreshingDiagnostics;
330
- private _requests;
331
- private _retry;
332
- private _retryMs;
61
+ private _meshList;
62
+ private _advertisedOn;
333
63
  private _chatList;
334
64
  private _agentList;
335
65
  private readonly _chatListWatch;
336
66
  private readonly _agentWatch;
67
+ private readonly _meshListWatch;
68
+ private readonly _runConsumers;
337
69
  private readonly _runs;
338
70
  private readonly _seen;
339
71
  private readonly _lifecycle;
@@ -344,7 +76,7 @@ export declare class QvacAssistant extends ReadyResource {
344
76
  private readonly _modelCatalog;
345
77
  private readonly _onHarnessStatus;
346
78
  private readonly _onModelCatalogEvent;
347
- constructor(engine: Capabilities, harness: Harness, { logger, imageCacheDir, imageCacheMaxBytes, imageCacheMaxAgeMs, downloadRetryMs, platform, preloadCurrentAgentModel, drives, blobReadTimeoutMs }?: AssistantOptions);
79
+ constructor(engine: Capabilities, harness: Harness, { logger, imageCacheDir, imageCacheMaxBytes, imageCacheMaxAgeMs, downloadRetryMs, platform, preloadCurrentAgentModel, drives, borrowHarness, blobReadTimeoutMs }?: AssistantOptions);
348
80
  _open(): Promise<void>;
349
81
  private _triggerModelWarm;
350
82
  private _warmCurrentAgentModel;
@@ -379,16 +111,21 @@ export declare class QvacAssistant extends ReadyResource {
379
111
  }): Promise<ReadonlyArray<Skill>>;
380
112
  private _recordSkillReadiness;
381
113
  tools(): Promise<ReadonlyArray<ToolCatalogEntry>>;
382
- private _startConsume;
383
- private _rearmingWatch;
114
+ private _supervisedWatch;
384
115
  private _watchChatList;
385
116
  private _watchAgents;
386
117
  private _reclaimAgentChatCaches;
387
118
  private _reconcileCompaction;
388
119
  deleteChatKvCache(chatId: string): Promise<AssistantKvCacheDeletionResponse>;
389
120
  private _deleteChatKvCache;
390
- private _rearmConsume;
391
- private _consume;
121
+ private _watchMeshList;
122
+ private _syncRunConsumers;
123
+ private _followSelectedMesh;
124
+ private _meshRunConsumer;
125
+ private _stopMeshIntake;
126
+ private _pruneSeen;
127
+ private _lenderFor;
128
+ private _harnessFor;
392
129
  private _dispatch;
393
130
  private _citeWebSources;
394
131
  private _searchKnowledge;
@@ -422,4 +159,3 @@ export declare class QvacAssistant extends ReadyResource {
422
159
  private _modelHolder;
423
160
  private _watchModelProgress;
424
161
  }
425
- export {};