@qvac/core 0.4.1 → 0.6.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.
- package/CHANGELOG.md +262 -1
- package/README.md +1 -1
- package/dist-lib/lib/api/agents.js +3 -2
- package/dist-lib/lib/api/app-config.d.ts +1 -1
- package/dist-lib/lib/api/app-config.js +54 -15
- package/dist-lib/lib/api/attachments.d.ts +6 -5
- package/dist-lib/lib/api/attachments.js +4 -2
- package/dist-lib/lib/api/chat.d.ts +7 -3
- package/dist-lib/lib/api/chat.js +4 -4
- package/dist-lib/lib/api/chunks.js +3 -3
- package/dist-lib/lib/api/config.js +2 -2
- package/dist-lib/lib/api/current-mesh.d.ts +3 -4
- package/dist-lib/lib/api/current-mesh.js +9 -4
- package/dist-lib/lib/api/custom-models.d.ts +8 -1
- package/dist-lib/lib/api/custom-models.js +53 -16
- package/dist-lib/lib/api/devices.d.ts +14 -5
- package/dist-lib/lib/api/devices.js +14 -9
- package/dist-lib/lib/api/diagnostics.d.ts +1 -0
- package/dist-lib/lib/api/diagnostics.js +1 -1
- package/dist-lib/lib/api/effective-ctx-size.d.ts +6 -1
- package/dist-lib/lib/api/effective-ctx-size.js +5 -3
- package/dist-lib/lib/api/execution.js +9 -2
- package/dist-lib/lib/api/files.js +2 -1
- package/dist-lib/lib/api/index.d.ts +7 -1
- package/dist-lib/lib/api/index.js +101 -101
- package/dist-lib/lib/api/instrument.js +29 -20
- package/dist-lib/lib/api/knowledge.d.ts +6 -5
- package/dist-lib/lib/api/knowledge.js +8 -6
- package/dist-lib/lib/api/local-files.js +1 -1
- package/dist-lib/lib/api/logs.js +6 -3
- package/dist-lib/lib/api/members.js +22 -13
- package/dist-lib/lib/api/mesh.d.ts +7 -2
- package/dist-lib/lib/api/mesh.js +10 -5
- package/dist-lib/lib/api/model-download.js +1 -1
- package/dist-lib/lib/api/network.d.ts +1 -0
- package/dist-lib/lib/api/network.js +1 -1
- package/dist-lib/lib/api/notifications.js +23 -13
- package/dist-lib/lib/api/rag.d.ts +6 -1
- package/dist-lib/lib/api/rag.js +20 -11
- package/dist-lib/lib/api/range.d.ts +2 -2
- package/dist-lib/lib/api/sync.js +1 -1
- package/dist-lib/lib/api/tool-activity.js +7 -3
- package/dist-lib/lib/api/tool-configs.js +2 -4
- package/dist-lib/lib/api/upload-frames.d.ts +7 -8
- package/dist-lib/lib/api/upload-frames.js +2 -1
- package/dist-lib/lib/api/watchable.d.ts +6 -1
- package/dist-lib/lib/api/watchable.js +23 -14
- package/dist-lib/lib/assistant/fetch-body.js +4 -2
- package/dist-lib/lib/assistant/harness.d.ts +72 -24
- package/dist-lib/lib/assistant/harness.js +53 -15
- package/dist-lib/lib/assistant/history.d.ts +9 -7
- package/dist-lib/lib/assistant/history.js +77 -42
- package/dist-lib/lib/assistant/message.d.ts +5 -3
- package/dist-lib/lib/assistant/message.js +4 -2
- package/dist-lib/lib/assistant/skill-encode.d.ts +3 -1
- package/dist-lib/lib/assistant/skill-encode.js +52 -62
- package/dist-lib/lib/assistant-client.js +7 -4
- package/dist-lib/lib/assistant-tree.js +36 -11
- package/dist-lib/lib/assistant.d.ts +37 -12
- package/dist-lib/lib/assistant.js +977 -373
- package/dist-lib/lib/audio-format.d.ts +1 -1
- package/dist-lib/lib/audio-format.js +1 -1
- package/dist-lib/lib/chat-title.js +9 -4
- package/dist-lib/lib/client.js +3 -2
- package/dist-lib/lib/collabora/convert.d.ts +2 -2
- package/dist-lib/lib/collabora/convert.js +6 -3
- package/dist-lib/lib/collabora/entry.js +9 -5
- package/dist-lib/lib/collabora/protocol.d.ts +2 -2
- package/dist-lib/lib/collabora/protocol.js +14 -7
- package/dist-lib/lib/collabora/worker.js +14 -7
- package/dist-lib/lib/compaction.d.ts +5 -6
- package/dist-lib/lib/compaction.js +14 -7
- package/dist-lib/lib/constants.d.ts +2 -0
- package/dist-lib/lib/constants.js +4 -0
- package/dist-lib/lib/core/account-recovery.d.ts +4 -3
- package/dist-lib/lib/core/account-recovery.js +7 -4
- package/dist-lib/lib/core/agent.d.ts +0 -1
- package/dist-lib/lib/core/agent.js +18 -16
- package/dist-lib/lib/core/approval-rules.d.ts +7 -6
- package/dist-lib/lib/core/approval-rules.js +12 -6
- package/dist-lib/lib/core/archived-mesh.d.ts +7 -5
- package/dist-lib/lib/core/archived-mesh.js +25 -22
- package/dist-lib/lib/core/async-iterable.js +10 -5
- package/dist-lib/lib/core/attachment-link.d.ts +2 -2
- package/dist-lib/lib/core/audio-attachment.js +1 -1
- package/dist-lib/lib/core/blind-peers.d.ts +2 -2
- package/dist-lib/lib/core/chat-activity.d.ts +2 -2
- package/dist-lib/lib/core/chat-activity.js +42 -21
- package/dist-lib/lib/core/chat-group.d.ts +8 -6
- package/dist-lib/lib/core/chat-group.js +17 -10
- package/dist-lib/lib/core/chat-order.d.ts +11 -9
- package/dist-lib/lib/core/chat-order.js +1 -3
- package/dist-lib/lib/core/chat-search.d.ts +4 -4
- package/dist-lib/lib/core/chat-search.js +38 -24
- package/dist-lib/lib/core/chat.d.ts +20 -14
- package/dist-lib/lib/core/chat.js +42 -28
- package/dist-lib/lib/core/chunk.d.ts +20 -24
- package/dist-lib/lib/core/chunk.js +34 -22
- package/dist-lib/lib/core/collections.d.ts +69 -0
- package/dist-lib/lib/core/collections.js +69 -0
- package/dist-lib/lib/core/contract/activity.d.ts +8 -2
- package/dist-lib/lib/core/contract/activity.js +39 -11
- package/dist-lib/lib/core/contract/agents.js +3 -2
- package/dist-lib/lib/core/contract/approval-rules.js +1 -1
- package/dist-lib/lib/core/contract/attestations.js +1 -1
- package/dist-lib/lib/core/contract/chat-group.js +1 -1
- package/dist-lib/lib/core/contract/chat.js +1 -1
- package/dist-lib/lib/core/contract/chunks.js +16 -9
- package/dist-lib/lib/core/contract/compute.js +2 -1
- package/dist-lib/lib/core/contract/devices.js +10 -6
- package/dist-lib/lib/core/contract/grant-order.d.ts +5 -0
- package/dist-lib/lib/core/contract/grant-order.js +20 -0
- package/dist-lib/lib/core/contract/index.d.ts +1 -1
- package/dist-lib/lib/core/contract/index.js +27 -2
- package/dist-lib/lib/core/contract/indexing.js +3 -3
- package/dist-lib/lib/core/contract/invites.d.ts +16 -0
- package/dist-lib/lib/core/contract/invites.js +256 -0
- package/dist-lib/lib/core/contract/joined-meshes.js +22 -22
- package/dist-lib/lib/core/contract/knowledge.js +5 -5
- package/dist-lib/lib/core/contract/members.d.ts +15 -0
- package/dist-lib/lib/core/contract/members.js +116 -31
- package/dist-lib/lib/core/contract/mesh-kind.d.ts +6 -0
- package/dist-lib/lib/core/contract/mesh-kind.js +49 -0
- package/dist-lib/lib/core/contract/seal.js +1 -1
- package/dist-lib/lib/core/contract/seed-defaults.js +1 -3
- package/dist-lib/lib/core/contract/tool-activity.js +5 -5
- package/dist-lib/lib/core/contract/tool-configs.js +1 -2
- package/dist-lib/lib/core/contract/writers.d.ts +13 -0
- package/dist-lib/lib/core/contract/writers.js +181 -24
- package/dist-lib/lib/core/departures.js +16 -8
- package/dist-lib/lib/core/device-attestation.d.ts +5 -0
- package/dist-lib/lib/core/device-attestation.js +24 -0
- package/dist-lib/lib/core/device-invites.d.ts +2 -0
- package/dist-lib/lib/core/device-invites.js +29 -7
- package/dist-lib/lib/core/devices.d.ts +2 -1
- package/dist-lib/lib/core/devices.js +52 -2
- package/dist-lib/lib/core/document-attachment.d.ts +20 -11
- package/dist-lib/lib/core/document-attachment.js +10 -5
- package/dist-lib/lib/core/files/attachments.d.ts +2 -5
- package/dist-lib/lib/core/files/attachments.js +6 -3
- package/dist-lib/lib/core/files/index.d.ts +44 -52
- package/dist-lib/lib/core/files/index.js +142 -93
- package/dist-lib/lib/core/files/knowledge.d.ts +2 -5
- package/dist-lib/lib/core/files/local-index.js +9 -5
- package/dist-lib/lib/core/files/preview/image.d.ts +0 -1
- package/dist-lib/lib/core/files/preview/image.js +9 -6
- package/dist-lib/lib/core/files/preview/index.d.ts +8 -11
- package/dist-lib/lib/core/files/preview/index.js +20 -15
- package/dist-lib/lib/core/files/processing/claims.d.ts +6 -5
- package/dist-lib/lib/core/files/processing/claims.js +16 -8
- package/dist-lib/lib/core/files/processing/document.d.ts +21 -50
- package/dist-lib/lib/core/files/processing/index.d.ts +18 -13
- package/dist-lib/lib/core/files/processing/index.js +65 -37
- package/dist-lib/lib/core/files/processing/ownership.d.ts +8 -1
- package/dist-lib/lib/core/files/processing/ownership.js +1 -1
- package/dist-lib/lib/core/files/processing/protocol.d.ts +19 -19
- package/dist-lib/lib/core/files/processing/protocol.js +5 -5
- package/dist-lib/lib/core/files/processing/settle.d.ts +10 -7
- package/dist-lib/lib/core/files/processing/settle.js +22 -11
- package/dist-lib/lib/core/files/processing/source.js +14 -8
- package/dist-lib/lib/core/files/processing/state.d.ts +13 -11
- package/dist-lib/lib/core/files/processing/state.js +19 -12
- package/dist-lib/lib/core/files/rag/build.d.ts +2 -2
- package/dist-lib/lib/core/files/rag/build.js +2 -1
- package/dist-lib/lib/core/files/rag/document-types.d.ts +4 -6
- package/dist-lib/lib/core/files/rag/index.d.ts +10 -13
- package/dist-lib/lib/core/files/rag/index.js +3 -2
- package/dist-lib/lib/core/files/rag/load.d.ts +10 -9
- package/dist-lib/lib/core/files/rag/load.js +26 -13
- package/dist-lib/lib/core/files/rag/policy.js +2 -1
- package/dist-lib/lib/core/files/rag/produce.js +33 -19
- package/dist-lib/lib/core/files/rag/retrieval/full-text.d.ts +5 -3
- package/dist-lib/lib/core/files/rag/retrieval/full-text.js +30 -10
- package/dist-lib/lib/core/files/records/chunks.js +4 -2
- package/dist-lib/lib/core/files/records/knowledge.d.ts +10 -11
- package/dist-lib/lib/core/files/records/knowledge.js +9 -8
- package/dist-lib/lib/core/files/records/linkage.js +6 -3
- package/dist-lib/lib/core/files/records/output.d.ts +5 -4
- package/dist-lib/lib/core/files/records/output.js +8 -4
- package/dist-lib/lib/core/files/records/reclaim.js +41 -25
- package/dist-lib/lib/core/files/records/routing.d.ts +4 -6
- package/dist-lib/lib/core/files/records/routing.js +15 -8
- package/dist-lib/lib/core/files/records/source.d.ts +5 -4
- package/dist-lib/lib/core/files/records/source.js +20 -14
- package/dist-lib/lib/core/files/records/sweep.js +1 -3
- package/dist-lib/lib/core/files/store/blob.d.ts +10 -10
- package/dist-lib/lib/core/files/store/blob.js +25 -19
- package/dist-lib/lib/core/files/store/index.d.ts +1 -6
- package/dist-lib/lib/core/files/store/index.js +4 -4
- package/dist-lib/lib/core/files/store/inline.d.ts +2 -2
- package/dist-lib/lib/core/files/store/inline.js +6 -3
- package/dist-lib/lib/core/files/store/reference.d.ts +6 -9
- package/dist-lib/lib/core/files/store/reference.js +25 -17
- package/dist-lib/lib/core/files/store/server.d.ts +7 -6
- package/dist-lib/lib/core/files/store/server.js +22 -11
- package/dist-lib/lib/core/files/store/sweep.js +13 -7
- package/dist-lib/lib/core/files/upload-input.d.ts +4 -12
- package/dist-lib/lib/core/files/upload-input.js +10 -5
- package/dist-lib/lib/core/files/upload.d.ts +27 -24
- package/dist-lib/lib/core/files/upload.js +74 -51
- package/dist-lib/lib/core/fs-drives.js +4 -2
- package/dist-lib/lib/core/grant-expiry.d.ts +11 -0
- package/dist-lib/lib/core/grant-expiry.js +66 -0
- package/dist-lib/lib/core/handoff-channel.d.ts +2 -1
- package/dist-lib/lib/core/handoff-channel.js +36 -15
- package/dist-lib/lib/core/harness-loan.js +35 -17
- package/dist-lib/lib/core/helpers/index.d.ts +2 -1
- package/dist-lib/lib/core/helpers/index.js +11 -6
- package/dist-lib/lib/core/hosted-agents.js +19 -12
- package/dist-lib/lib/core/id.js +1 -1
- package/dist-lib/lib/core/identity.d.ts +1 -0
- package/dist-lib/lib/core/identity.js +11 -3
- package/dist-lib/lib/core/image/cache-sweep.d.ts +12 -10
- package/dist-lib/lib/core/image/cache-sweep.js +11 -6
- package/dist-lib/lib/core/image/normalize.d.ts +6 -0
- package/dist-lib/lib/core/image/normalize.js +12 -2
- package/dist-lib/lib/core/image/sniff.js +42 -21
- package/dist-lib/lib/core/inference-calls-receiver.js +7 -4
- package/dist-lib/lib/core/invite-grants.d.ts +20 -0
- package/dist-lib/lib/core/invite-grants.js +46 -0
- package/dist-lib/lib/core/invite.d.ts +3 -0
- package/dist-lib/lib/core/invite.js +6 -3
- package/dist-lib/lib/core/local/files.js +20 -19
- package/dist-lib/lib/core/local/index.d.ts +70 -45
- package/dist-lib/lib/core/local/index.js +157 -126
- package/dist-lib/lib/core/membership.d.ts +15 -2
- package/dist-lib/lib/core/membership.js +95 -20
- package/dist-lib/lib/core/mesh-seed-handoff.d.ts +12 -4
- package/dist-lib/lib/core/mesh-seed-handoff.js +23 -5
- package/dist-lib/lib/core/mesh.d.ts +57 -30
- package/dist-lib/lib/core/mesh.js +232 -78
- package/dist-lib/lib/core/migrations/agent-catalog.js +3 -2
- package/dist-lib/lib/core/migrations/agent-indexes.js +3 -3
- package/dist-lib/lib/core/migrations/device-indexes.d.ts +2 -0
- package/dist-lib/lib/core/migrations/device-indexes.js +7 -0
- package/dist-lib/lib/core/migrations/file-index.js +7 -4
- package/dist-lib/lib/core/migrations/index.d.ts +4 -3
- package/dist-lib/lib/core/migrations/index.js +3 -1
- package/dist-lib/lib/core/migrations/membership.js +9 -4
- package/dist-lib/lib/core/migrations/seal.js +3 -2
- package/dist-lib/lib/core/min-version.js +4 -2
- package/dist-lib/lib/core/next-frame.d.ts +5 -4
- package/dist-lib/lib/core/next-frame.js +6 -3
- package/dist-lib/lib/core/notification.d.ts +5 -1
- package/dist-lib/lib/core/notification.js +89 -77
- package/dist-lib/lib/core/ota-config.js +2 -1
- package/dist-lib/lib/core/pdf/rasterize.d.ts +18 -0
- package/dist-lib/lib/core/pdf/rasterize.js +57 -0
- package/dist-lib/lib/core/prompt-history.js +4 -2
- package/dist-lib/lib/core/range.d.ts +4 -4
- package/dist-lib/lib/core/range.js +12 -6
- package/dist-lib/lib/core/rank.d.ts +5 -4
- package/dist-lib/lib/core/rank.js +2 -1
- package/dist-lib/lib/core/send.d.ts +8 -5
- package/dist-lib/lib/core/send.js +9 -3
- package/dist-lib/lib/core/skill-overlay-receiver.js +7 -4
- package/dist-lib/lib/core/skill-secrets.js +16 -9
- package/dist-lib/lib/core/sync/chunks.js +2 -1
- package/dist-lib/lib/core/sync/devices.js +3 -1
- package/dist-lib/lib/core/sync/files.d.ts +2 -4
- package/dist-lib/lib/core/sync/files.js +28 -20
- package/dist-lib/lib/core/sync/index.d.ts +2 -5
- package/dist-lib/lib/core/sync/index.js +33 -17
- package/dist-lib/lib/core/sync-status.js +10 -7
- package/dist-lib/lib/core/system-info.js +4 -2
- package/dist-lib/lib/core/tool-activity.d.ts +4 -3
- package/dist-lib/lib/core/tool-activity.js +1 -1
- package/dist-lib/lib/core/tool-configs.js +12 -7
- package/dist-lib/lib/core.d.ts +107 -45
- package/dist-lib/lib/core.js +1765 -595
- package/dist-lib/lib/credential-pusher.d.ts +12 -17
- package/dist-lib/lib/credential-pusher.js +61 -42
- package/dist-lib/lib/custom-model-pusher.d.ts +7 -3
- package/dist-lib/lib/custom-model-pusher.js +15 -7
- package/dist-lib/lib/custom-model-task.d.ts +1 -0
- package/dist-lib/lib/custom-model-task.js +12 -0
- package/dist-lib/lib/deadline.js +4 -2
- package/dist-lib/lib/diagnostics.d.ts +1 -5
- package/dist-lib/lib/frame-readable.d.ts +3 -0
- package/dist-lib/lib/frame-readable.js +3 -0
- package/dist-lib/lib/fs-drive-bridge.js +24 -14
- package/dist-lib/lib/fs-grants.js +13 -8
- package/dist-lib/lib/guards.d.ts +3 -0
- package/dist-lib/lib/guards.js +9 -0
- package/dist-lib/lib/inference-calls.d.ts +28 -23
- package/dist-lib/lib/inference-calls.js +25 -13
- package/dist-lib/lib/integrations/mcp-providers.d.ts +2 -2
- package/dist-lib/lib/integrations/setup-routes.d.ts +2 -2
- package/dist-lib/lib/knowledge-search.d.ts +6 -5
- package/dist-lib/lib/knowledge-search.js +26 -18
- package/dist-lib/lib/kv-cache-reclaim.js +4 -2
- package/dist-lib/lib/kv-cache.js +8 -4
- package/dist-lib/lib/legacy-core-domain.d.ts +42 -42
- package/dist-lib/lib/log-buffer.js +2 -1
- package/dist-lib/lib/log.js +25 -15
- package/dist-lib/lib/mesh-scoped-engine.js +14 -4
- package/dist-lib/lib/model-catalog-revision.js +6 -3
- package/dist-lib/lib/model-clamp.js +6 -3
- package/dist-lib/lib/model-context.d.ts +8 -3
- package/dist-lib/lib/model-context.js +13 -5
- package/dist-lib/lib/model-download-status.js +4 -2
- package/dist-lib/lib/model-download.d.ts +12 -4
- package/dist-lib/lib/model-download.js +200 -103
- package/dist-lib/lib/model-idle-pusher.d.ts +10 -0
- package/dist-lib/lib/model-idle-pusher.js +41 -0
- package/dist-lib/lib/oauth/browser-connect.d.ts +10 -8
- package/dist-lib/lib/oauth/browser-connect.js +33 -20
- package/dist-lib/lib/oauth/client.d.ts +2 -2
- package/dist-lib/lib/oauth/flow-core.js +23 -9
- package/dist-lib/lib/oauth/flow.d.ts +1 -3
- package/dist-lib/lib/oauth/flow.js +9 -5
- package/dist-lib/lib/oauth/keys.d.ts +4 -4
- package/dist-lib/lib/oauth/keys.js +18 -12
- package/dist-lib/lib/oauth/loopback.d.ts +2 -2
- package/dist-lib/lib/oauth/loopback.js +147 -107
- package/dist-lib/lib/oauth/loopback.stub.d.ts +2 -2
- package/dist-lib/lib/oauth/loopback.stub.js +1 -1
- package/dist-lib/lib/oauth/pkce.d.ts +4 -2
- package/dist-lib/lib/oauth/pkce.js +10 -0
- package/dist-lib/lib/oauth/providers.js +5 -5
- package/dist-lib/lib/oauth/redirect-types.d.ts +12 -7
- package/dist-lib/lib/oauth/register.js +3 -2
- package/dist-lib/lib/oauth/registry.d.ts +2 -2
- package/dist-lib/lib/oauth/registry.js +2 -1
- package/dist-lib/lib/oauth/resolve.d.ts +30 -10
- package/dist-lib/lib/oauth/resolve.js +12 -6
- package/dist-lib/lib/oauth/token-exchange-core.d.ts +12 -4
- package/dist-lib/lib/oauth/token-exchange-core.js +1 -1
- package/dist-lib/lib/oauth/types.d.ts +12 -12
- package/dist-lib/lib/oauth.d.ts +4 -5
- package/dist-lib/lib/oauth.js +2 -3
- package/dist-lib/lib/reconnecting-watch.d.ts +1 -1
- package/dist-lib/lib/reconnecting-watch.js +6 -6
- package/dist-lib/lib/retry-budget.js +6 -3
- package/dist-lib/lib/run-notices.d.ts +2 -0
- package/dist-lib/lib/run-notices.js +7 -3
- package/dist-lib/lib/run-transcript.d.ts +2 -4
- package/dist-lib/lib/run-transcript.js +4 -2
- package/dist-lib/lib/skill-readiness.d.ts +1 -0
- package/dist-lib/lib/skill-readiness.js +17 -2
- package/dist-lib/lib/skill-types.d.ts +16 -16
- package/dist-lib/lib/suspend-lifecycle.d.ts +4 -4
- package/dist-lib/lib/suspend-lifecycle.js +10 -5
- package/dist-lib/lib/task.d.ts +5 -1
- package/dist-lib/lib/task.js +29 -12
- package/dist-lib/lib/unref.d.ts +3 -2
- package/dist-lib/lib/unref.js +2 -1
- package/dist-lib/lib/wav-duration.js +10 -5
- package/dist-lib/lib/write-queue.d.ts +5 -4
- package/dist-lib/lib/write-queue.js +2 -1
- package/dist-lib/schema/build.js +16 -8
- package/dist-lib/schema/config.d.ts +3 -4
- package/dist-lib/schema/config.js +1 -1
- package/dist-lib/schema/content.d.ts +18 -2
- package/dist-lib/schema/content.js +4 -1
- package/dist-lib/schema/engine.d.ts +3 -2
- package/dist-lib/schema/engine.js +192 -12
- package/dist-lib/schema/field-order.js +22 -11
- package/dist-lib/schema/indexes.d.ts +22 -0
- package/dist-lib/schema/{helpers.js → indexes.js} +19 -57
- package/dist-lib/schema/local.d.ts +3 -2
- package/dist-lib/schema/local.js +9 -3
- package/dist-lib/schema/media-kind.d.ts +8 -0
- package/dist-lib/schema/media-kind.js +52 -0
- package/dist-lib/schema/qvac.d.ts +12 -9
- package/dist-lib/schema/qvac.js +132 -7
- package/dist-lib/spec/bind.js +21 -0
- package/dist-lib/spec/calls.js +7 -0
- package/dist-lib/spec/capabilities.d.ts +18 -4
- package/dist-lib/spec/config/hyperconf/index.js +1 -1
- package/dist-lib/spec/hrpc/hrpc.json +93 -2
- package/dist-lib/spec/hrpc/index.js +89 -5
- package/dist-lib/spec/hrpc/messages.js +1568 -941
- package/dist-lib/spec/hyperschema/index.js +1568 -941
- package/dist-lib/spec/hyperschema/schema.json +531 -1
- package/dist-lib/spec/hyperschema/types.d.ts +145 -1
- package/dist-lib/spec/local/hyperdb/index.js +1 -1
- package/dist-lib/spec/local/hyperdb/messages.js +92 -20
- package/dist-lib/spec/local/hyperschema/index.js +47 -11
- package/dist-lib/spec/local/hyperschema/schema.json +32 -1
- package/dist-lib/spec/local/hyperschema/types.d.ts +7 -1
- package/dist-lib/spec/mesh/hyperdb/db.json +131 -3
- package/dist-lib/spec/mesh/hyperdb/index.js +548 -5
- package/dist-lib/spec/mesh/hyperdb/messages.js +2444 -893
- package/dist-lib/spec/mesh/hyperdispatch/dispatch.json +37 -1
- package/dist-lib/spec/mesh/hyperdispatch/index.js +104 -2
- package/dist-lib/spec/mesh/hyperdispatch/messages.js +1035 -11
- package/dist-lib/spec/mesh/hyperschema/index.js +1035 -11
- package/dist-lib/spec/mesh/hyperschema/schema.json +553 -1
- package/dist-lib/spec/mesh/hyperschema/types.d.ts +143 -1
- package/package.json +11 -5
- package/tui/app.mjs +2624 -986
- package/tui/boot.mjs +17 -46
- package/tui/index.mjs +10 -5
- package/tui/lib/boot-timing.mjs +8 -8
- package/tui/lib/busy-words.mjs +21 -22
- package/tui/lib/export.mjs +100 -32
- package/tui/lib/knowledge-command.mjs +64 -19
- package/tui/lib/knowledge-import.mjs +52 -18
- package/tui/lib/render.mjs +65 -33
- package/tui/lib/save-file.mjs +30 -13
- package/tui/lib/select.mjs +23 -5
- package/tui/lib/selection.mjs +6 -4
- package/tui/lib/setup.mjs +11 -19
- package/tui/lib/sidebar.mjs +23 -13
- package/tui/lib/splash.mjs +6 -7
- package/tui/lib/upload-frames.mjs +1 -2
- package/tui/lib/usage.mjs +13 -9
- package/tui/lib/wrap.mjs +35 -6
- package/tui/main.mjs +54 -78
- package/worker/assistant-sidecar.mjs +5 -10
- package/worker/stow-entry.mjs +7 -4
- package/dist-lib/lib/custom-model-source.d.ts +0 -15
- package/dist-lib/lib/custom-model-source.js +0 -46
- package/dist-lib/lib/oauth/common.d.ts +0 -38
- package/dist-lib/lib/oauth/common.js +0 -34
- package/dist-lib/schema/helpers.d.ts +0 -32
|
@@ -6,25 +6,30 @@ export function createAssistantSuspendLifecycle(supervisor, options = {}) {
|
|
|
6
6
|
wakeupLinger,
|
|
7
7
|
pollLinger,
|
|
8
8
|
presuspend: async () => {
|
|
9
|
-
if (!supervisor.opened)
|
|
9
|
+
if (!supervisor.opened) {
|
|
10
10
|
await supervisor.ready();
|
|
11
|
+
}
|
|
11
12
|
await supervisor.presuspend();
|
|
12
13
|
},
|
|
13
14
|
suspend: async () => {
|
|
14
|
-
if (!supervisor.opened)
|
|
15
|
+
if (!supervisor.opened) {
|
|
15
16
|
await supervisor.ready();
|
|
17
|
+
}
|
|
16
18
|
await supervisor.suspend();
|
|
17
|
-
if (!lifecycle.interrupted)
|
|
19
|
+
if (!lifecycle.interrupted) {
|
|
18
20
|
onSuspended();
|
|
21
|
+
}
|
|
19
22
|
},
|
|
20
23
|
wakeup: async () => {
|
|
21
|
-
if (!supervisor.opened)
|
|
24
|
+
if (!supervisor.opened) {
|
|
22
25
|
await supervisor.ready();
|
|
26
|
+
}
|
|
23
27
|
await supervisor.wakeup();
|
|
24
28
|
},
|
|
25
29
|
resume: async () => {
|
|
26
|
-
if (!supervisor.opened)
|
|
30
|
+
if (!supervisor.opened) {
|
|
27
31
|
await supervisor.ready();
|
|
32
|
+
}
|
|
28
33
|
await supervisor.resume();
|
|
29
34
|
}
|
|
30
35
|
});
|
package/dist-lib/lib/task.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Capabilities } from '../spec/capabilities.d.ts';
|
|
2
|
-
import type { AssistantChunk, AssistantChunkContentAttachment, AssistantRagSource, AssistantRunState } from '../spec/hyperschema/types.d.ts';
|
|
2
|
+
import type { AssistantChunk, AssistantChunkContentAttachment, AssistantEnhanceMode, AssistantRagSource, AssistantRunState } from '../spec/hyperschema/types.d.ts';
|
|
3
3
|
export type TaskEngine = Pick<Capabilities, 'chunksWatch' | 'sendMessage'>;
|
|
4
4
|
export interface TaskRequest {
|
|
5
5
|
readonly agentId: string;
|
|
@@ -7,6 +7,9 @@ export interface TaskRequest {
|
|
|
7
7
|
readonly prompt: string;
|
|
8
8
|
readonly chatId?: string;
|
|
9
9
|
readonly skill?: string;
|
|
10
|
+
readonly capability?: string;
|
|
11
|
+
readonly capabilityArgs?: unknown;
|
|
12
|
+
readonly enhance?: AssistantEnhanceMode;
|
|
10
13
|
}
|
|
11
14
|
export interface TaskToolCall {
|
|
12
15
|
readonly name: string;
|
|
@@ -22,6 +25,7 @@ export interface TaskResult {
|
|
|
22
25
|
readonly attachments: ReadonlyArray<AssistantChunkContentAttachment>;
|
|
23
26
|
readonly sources: ReadonlyArray<AssistantRagSource>;
|
|
24
27
|
readonly reason: string | null;
|
|
28
|
+
readonly metrics: unknown;
|
|
25
29
|
readonly chunks: ReadonlyArray<AssistantChunk>;
|
|
26
30
|
}
|
|
27
31
|
export declare function runTask(engine: TaskEngine, request: TaskRequest): Promise<TaskResult>;
|
package/dist-lib/lib/task.js
CHANGED
|
@@ -8,25 +8,30 @@ export async function runTask(engine, request) {
|
|
|
8
8
|
agentId,
|
|
9
9
|
meshId,
|
|
10
10
|
chatId: request.chatId ?? null,
|
|
11
|
-
title: request.chatId ? null : title(prompt)
|
|
11
|
+
title: request.chatId ? null : title(prompt),
|
|
12
|
+
capability: request.capability ?? null,
|
|
13
|
+
capabilityArgs: request.capabilityArgs ?? null,
|
|
14
|
+
enhance: request.enhance ?? null
|
|
12
15
|
});
|
|
13
16
|
for await (const frame of engine.chunksWatch({ chatId, meshId })) {
|
|
14
17
|
const chunks = frame.chunks ?? [];
|
|
15
18
|
const state = terminalState(chunks, runId);
|
|
16
|
-
if (state)
|
|
17
|
-
return collect(chatId, runId, state
|
|
19
|
+
if (state) {
|
|
20
|
+
return collect(chunks, { chatId, runId, state });
|
|
21
|
+
}
|
|
18
22
|
}
|
|
19
23
|
throw new Error(`chunk stream ended before the run settled: ${chatId}`);
|
|
20
24
|
}
|
|
21
25
|
function terminalState(chunks, runId) {
|
|
22
26
|
for (const chunk of chunks) {
|
|
23
27
|
const state = chunk.runId === runId ? chunk.runStatus?.state : undefined;
|
|
24
|
-
if (state && TERMINAL_STATES.has(state))
|
|
28
|
+
if (state && TERMINAL_STATES.has(state)) {
|
|
25
29
|
return state;
|
|
30
|
+
}
|
|
26
31
|
}
|
|
27
32
|
return null;
|
|
28
33
|
}
|
|
29
|
-
function collect(chatId, runId, state
|
|
34
|
+
function collect(all, { chatId, runId, state }) {
|
|
30
35
|
const chunks = all.filter((chunk) => chunk.runId === runId);
|
|
31
36
|
const text = [];
|
|
32
37
|
const thinking = [];
|
|
@@ -34,22 +39,33 @@ function collect(chatId, runId, state, all) {
|
|
|
34
39
|
const attachments = [];
|
|
35
40
|
const sources = [];
|
|
36
41
|
let reason = null;
|
|
42
|
+
let metrics = null;
|
|
37
43
|
for (const chunk of chunks) {
|
|
38
44
|
const call = chunk.toolCall;
|
|
39
|
-
if (chunk.type === 'tool-result')
|
|
45
|
+
if (chunk.type === 'tool-result') {
|
|
40
46
|
text.length = 0;
|
|
41
|
-
|
|
47
|
+
}
|
|
48
|
+
if (chunk.content) {
|
|
42
49
|
text.push(chunk.content.text);
|
|
43
|
-
|
|
50
|
+
}
|
|
51
|
+
if (chunk.thinking) {
|
|
44
52
|
thinking.push(chunk.thinking.text);
|
|
45
|
-
|
|
53
|
+
}
|
|
54
|
+
if (call) {
|
|
46
55
|
toolCalls.push({ name: call.name, arguments: call.arguments });
|
|
47
|
-
|
|
56
|
+
}
|
|
57
|
+
if (chunk.attachment && !chunk.attachment.deletedAt) {
|
|
48
58
|
attachments.push(chunk.attachment);
|
|
49
|
-
|
|
59
|
+
}
|
|
60
|
+
if (chunk.sources) {
|
|
50
61
|
sources.push(...chunk.sources.sources);
|
|
51
|
-
|
|
62
|
+
}
|
|
63
|
+
if (chunk.runStatus?.reason) {
|
|
52
64
|
reason = chunk.runStatus.reason;
|
|
65
|
+
}
|
|
66
|
+
if (chunk.runStatus?.metrics) {
|
|
67
|
+
metrics = chunk.runStatus.metrics;
|
|
68
|
+
}
|
|
53
69
|
}
|
|
54
70
|
return {
|
|
55
71
|
chatId,
|
|
@@ -61,6 +77,7 @@ function collect(chatId, runId, state, all) {
|
|
|
61
77
|
attachments,
|
|
62
78
|
sources,
|
|
63
79
|
reason,
|
|
80
|
+
metrics,
|
|
64
81
|
chunks
|
|
65
82
|
};
|
|
66
83
|
}
|
package/dist-lib/lib/unref.d.ts
CHANGED
package/dist-lib/lib/unref.js
CHANGED
|
@@ -4,8 +4,9 @@ const RIFF_HEADER_BYTES = 12;
|
|
|
4
4
|
const CHUNK_HEADER_BYTES = 8;
|
|
5
5
|
function ascii(bytes, start, end) {
|
|
6
6
|
let out = '';
|
|
7
|
-
for (let i = start; i < end; i++)
|
|
7
|
+
for (let i = start; i < end; i++) {
|
|
8
8
|
out += String.fromCharCode(bytes[i] ?? 0);
|
|
9
|
+
}
|
|
9
10
|
return out;
|
|
10
11
|
}
|
|
11
12
|
function readWavHeader(head) {
|
|
@@ -37,16 +38,20 @@ function readWavHeader(head) {
|
|
|
37
38
|
}
|
|
38
39
|
export function wavDurationSeconds(head, totalBytes) {
|
|
39
40
|
const header = readWavHeader(head);
|
|
40
|
-
if (!header)
|
|
41
|
+
if (!header) {
|
|
41
42
|
return null;
|
|
42
|
-
|
|
43
|
+
}
|
|
44
|
+
if (header.format !== WAV_FORMAT_PCM && header.format !== WAV_FORMAT_IEEE_FLOAT) {
|
|
43
45
|
return null;
|
|
46
|
+
}
|
|
44
47
|
const frameBytes = header.channels * (header.bitsPerSample / 8);
|
|
45
|
-
if (!(frameBytes > 0) || !(header.sampleRate > 0))
|
|
48
|
+
if (!(frameBytes > 0) || !(header.sampleRate > 0)) {
|
|
46
49
|
return null;
|
|
50
|
+
}
|
|
47
51
|
const available = totalBytes - header.dataStart;
|
|
48
|
-
if (!(available > 0))
|
|
52
|
+
if (!(available > 0)) {
|
|
49
53
|
return null;
|
|
54
|
+
}
|
|
50
55
|
const dataBytes = header.dataSize > 0 && header.dataSize <= available ? header.dataSize : available;
|
|
51
56
|
const seconds = dataBytes / (header.sampleRate * frameBytes);
|
|
52
57
|
return Number.isFinite(seconds) && seconds > 0 ? seconds : null;
|
|
@@ -7,16 +7,17 @@ export interface WriteQueueOptions {
|
|
|
7
7
|
afterMs: number;
|
|
8
8
|
}) => void;
|
|
9
9
|
}
|
|
10
|
+
export interface PendingScope {
|
|
11
|
+
readonly scope: string;
|
|
12
|
+
readonly waiting: number;
|
|
13
|
+
}
|
|
10
14
|
export declare class WriteQueue {
|
|
11
15
|
private readonly _scopes;
|
|
12
16
|
private readonly _slowMs;
|
|
13
17
|
private readonly _onSlow;
|
|
14
18
|
constructor({ slowMs, onSlow }?: WriteQueueOptions);
|
|
15
19
|
run<T>(name: string, write: string, task: () => Promise<T>): Promise<T>;
|
|
16
|
-
pending(): Array<
|
|
17
|
-
scope: string;
|
|
18
|
-
waiting: number;
|
|
19
|
-
}>;
|
|
20
|
+
pending(): Array<PendingScope>;
|
|
20
21
|
private _enter;
|
|
21
22
|
private _leave;
|
|
22
23
|
}
|
package/dist-lib/schema/build.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import fs from 'bare-fs';
|
|
2
2
|
import path from 'bare-path';
|
|
3
3
|
import { fileURLToPath } from 'bare-url';
|
|
4
|
+
import { spawnSync } from 'bare-subprocess';
|
|
4
5
|
import regen from 'hyperschema-regen';
|
|
5
6
|
import HRPCBuilder from 'hrpc';
|
|
6
7
|
import Hyperconf from 'hyperconf/builder';
|
|
@@ -47,10 +48,12 @@ const HAND_WRITTEN = [
|
|
|
47
48
|
'spec/hyperschema/index.d.ts',
|
|
48
49
|
'spec/mesh/hyperschema/index.d.ts'
|
|
49
50
|
];
|
|
50
|
-
const
|
|
51
|
+
const rewound = rewindSpec(ROOT, BASELINE_DIRS, {
|
|
51
52
|
carries: 'spec/mesh/hyperdb/db.json',
|
|
52
53
|
keep: HAND_WRITTEN
|
|
53
54
|
});
|
|
55
|
+
const describe = spawnSync('git', ['describe', '--tags'], { cwd: ROOT }).stdout?.toString().trim();
|
|
56
|
+
const baselines = rewound.filter((tag) => tag !== describe);
|
|
54
57
|
fs.writeFileSync(path.join(SCHEMA_DIR, 'schema.json'), JSON.stringify({ version: 0, schema: [] }, null, 2));
|
|
55
58
|
const schema = Hyperschema.from(SCHEMA_DIR);
|
|
56
59
|
registerEngineTypes(schema.namespace('assistant'));
|
|
@@ -65,7 +68,8 @@ const callSites = {
|
|
|
65
68
|
optionalRequests: new Set([
|
|
66
69
|
'@assistant/empty',
|
|
67
70
|
'@assistant/create-room-request',
|
|
68
|
-
'@assistant/local-files-request'
|
|
71
|
+
'@assistant/local-files-request',
|
|
72
|
+
'@assistant/create-mesh-request'
|
|
69
73
|
])
|
|
70
74
|
};
|
|
71
75
|
writeClient(builder, path.join(SPEC_DIR, 'calls.js'), callSites);
|
|
@@ -75,14 +79,14 @@ registerLocalTypes(localSchema.namespace('local'));
|
|
|
75
79
|
Hyperschema.toDisk(localSchema, { esm: true });
|
|
76
80
|
HyperschemaTS.toDisk(localSchema);
|
|
77
81
|
const db = HyperDB.from(LOCAL_SCHEMA_DIR, LOCAL_DB_DIR);
|
|
78
|
-
registerLocalCollections(db.namespace('local'), path.join(dir, '
|
|
82
|
+
registerLocalCollections(db.namespace('local'), path.join(dir, 'indexes.js'));
|
|
79
83
|
HyperDB.toDisk(db, { esm: true });
|
|
80
84
|
const meshSchema = Hyperschema.from(MESH_SCHEMA_DIR);
|
|
81
85
|
registerQvacTypes(meshSchema.namespace('qvac'));
|
|
82
86
|
Hyperschema.toDisk(meshSchema, { esm: true });
|
|
83
87
|
HyperschemaTS.toDisk(meshSchema);
|
|
84
88
|
const meshDb = HyperDB.from(MESH_SCHEMA_DIR, MESH_DB_DIR);
|
|
85
|
-
registerQvacCollections(meshDb.namespace('qvac'), path.join(dir, '
|
|
89
|
+
registerQvacCollections(meshDb.namespace('qvac'), path.join(dir, 'indexes.js'));
|
|
86
90
|
HyperDB.toDisk(meshDb, { esm: true });
|
|
87
91
|
const dispatch = Hyperdispatch.from(MESH_SCHEMA_DIR, MESH_DISPATCH_DIR);
|
|
88
92
|
registerQvacDispatch(dispatch.namespace('qvac'));
|
|
@@ -95,18 +99,21 @@ config.setProduction('@conf/config', { minSupportedVersion: VENDORED_MIN_SUPPORT
|
|
|
95
99
|
Hyperconf.toDisk(config);
|
|
96
100
|
fs.writeFileSync(path.join(CONFIG_CONF_DIR, 'package.json'), `${JSON.stringify({ type: 'commonjs' }, null, 2)}\n`);
|
|
97
101
|
writeConfigTypes(path.join(CONFIG_CONF_DIR, 'index.d.ts'));
|
|
98
|
-
for (const file of [MESH_DISPATCH_JSON, MESH_DB_JSON, LOCAL_DB_JSON])
|
|
102
|
+
for (const file of [MESH_DISPATCH_JSON, MESH_DB_JSON, LOCAL_DB_JSON]) {
|
|
99
103
|
assertUniqueIds(file);
|
|
104
|
+
}
|
|
100
105
|
try {
|
|
101
106
|
for (const tag of baselines) {
|
|
102
107
|
regen.validate(MESH_DB_JSON, LOCAL_DB_JSON, MESH_DISPATCH_JSON, { tag });
|
|
103
108
|
}
|
|
104
|
-
if (baselines.length > 0)
|
|
109
|
+
if (baselines.length > 0) {
|
|
105
110
|
assertFieldOrder(ROOT, MESH_SCHEMA_JSON, baselines);
|
|
111
|
+
}
|
|
106
112
|
}
|
|
107
113
|
finally {
|
|
108
|
-
if (
|
|
114
|
+
if (rewound.length > 0) {
|
|
109
115
|
unstageSpec(ROOT, BASELINE_DIRS);
|
|
116
|
+
}
|
|
110
117
|
}
|
|
111
118
|
console.log('assistant schema + hrpc + bind + client + local + mesh hyperdb generated under spec/');
|
|
112
119
|
function assertUniqueIds(file) {
|
|
@@ -114,8 +121,9 @@ function assertUniqueIds(file) {
|
|
|
114
121
|
const byId = new Map();
|
|
115
122
|
for (const { id, name } of schema) {
|
|
116
123
|
const clash = byId.get(id);
|
|
117
|
-
if (clash)
|
|
124
|
+
if (clash) {
|
|
118
125
|
throw new Error(`${path.basename(file)}: id ${id} is on both ${clash} and ${name}`);
|
|
126
|
+
}
|
|
119
127
|
byId.set(id, name);
|
|
120
128
|
}
|
|
121
129
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export declare const VENDORED_MIN_SUPPORTED_VERSION = ">=0.18.0";
|
|
1
|
+
import type { Registry } from './content.ts';
|
|
2
|
+
export declare function registerConfigTypes(ns: Registry): void;
|
|
3
|
+
export declare const VENDORED_MIN_SUPPORTED_VERSION = ">=0.19.0";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const CHUNK_TYPES: string[];
|
|
2
2
|
export declare const RUN_STATES: string[];
|
|
3
3
|
export declare const APPROVAL_STATUSES: string[];
|
|
4
|
+
export declare const ENHANCE_MODES: string[];
|
|
4
5
|
export declare const CHUNK_PAYLOAD_FIELDS: {
|
|
5
6
|
readonly 'user-message': 'userMessage';
|
|
6
7
|
readonly content: 'content';
|
|
@@ -16,5 +17,20 @@ export declare const CHUNK_PAYLOAD_FIELDS: {
|
|
|
16
17
|
};
|
|
17
18
|
export type ChunkType = keyof typeof CHUNK_PAYLOAD_FIELDS;
|
|
18
19
|
export type ChunkPayloadField = (typeof CHUNK_PAYLOAD_FIELDS)[ChunkType];
|
|
19
|
-
export
|
|
20
|
-
|
|
20
|
+
export interface Registry {
|
|
21
|
+
register(definition: object): void;
|
|
22
|
+
}
|
|
23
|
+
export interface CollectionRegistry {
|
|
24
|
+
require(helpersPath: string): void;
|
|
25
|
+
readonly collections: Registry;
|
|
26
|
+
readonly indexes: Registry;
|
|
27
|
+
}
|
|
28
|
+
export interface Field {
|
|
29
|
+
readonly name: string;
|
|
30
|
+
readonly type: string;
|
|
31
|
+
readonly required?: boolean;
|
|
32
|
+
readonly array?: boolean;
|
|
33
|
+
readonly useDefault?: boolean;
|
|
34
|
+
}
|
|
35
|
+
export declare function versionedRegistrar(ns: Registry, namespace: string): (name: string, fields: ReadonlyArray<Field>) => void;
|
|
36
|
+
export declare function registerContentTypes(ns: Registry, namespace: string): void;
|
|
@@ -13,6 +13,7 @@ export const CHUNK_TYPES = [
|
|
|
13
13
|
];
|
|
14
14
|
export const RUN_STATES = ['executing', 'completed', 'failed', 'canceled'];
|
|
15
15
|
export const APPROVAL_STATUSES = ['pending', 'approved', 'denied'];
|
|
16
|
+
export const ENHANCE_MODES = ['never', 'auto'];
|
|
16
17
|
export const CHUNK_PAYLOAD_FIELDS = {
|
|
17
18
|
'user-message': 'userMessage',
|
|
18
19
|
content: 'content',
|
|
@@ -42,6 +43,7 @@ export function registerContentTypes(ns, namespace) {
|
|
|
42
43
|
ns.register({ name: 'chunk-type', enum: CHUNK_TYPES, strings: true });
|
|
43
44
|
ns.register({ name: 'run-state', enum: RUN_STATES, strings: true });
|
|
44
45
|
ns.register({ name: 'approval-status', enum: APPROVAL_STATUSES, strings: true });
|
|
46
|
+
ns.register({ name: 'enhance-mode', enum: ENHANCE_MODES, strings: true });
|
|
45
47
|
ns.register({
|
|
46
48
|
name: 'resource-descriptor',
|
|
47
49
|
fields: [
|
|
@@ -98,8 +100,9 @@ export function registerContentTypes(ns, namespace) {
|
|
|
98
100
|
{ name: 'createdAt', type: 'uint', required: true },
|
|
99
101
|
{ name: 'deletedAt', type: 'uint' }
|
|
100
102
|
];
|
|
101
|
-
if (namespace === 'assistant')
|
|
103
|
+
if (namespace === 'assistant') {
|
|
102
104
|
attachment.push({ name: 'url', type: 'string' });
|
|
105
|
+
}
|
|
103
106
|
versioned('chunk-content-attachment', attachment);
|
|
104
107
|
versioned('chunk-content-run-request', [{ name: 'agentId', type: 'string', required: true }]);
|
|
105
108
|
versioned('chunk-content-compaction', [
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function
|
|
1
|
+
import { type Registry } from './content.ts';
|
|
2
|
+
export declare function registerEngineTypes(ns: Registry): void;
|
|
3
|
+
export declare function registerEngineApi(api: Registry): void;
|