@qvac/core 0.0.0 → 0.1.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/LICENSE.md +198 -0
- package/NOTICE.md +13 -0
- package/README.md +694 -0
- package/SECURITY.md +6 -0
- package/dist/assistant.bundle +47256 -0
- package/dist/assistant.cjs +18 -0
- package/dist/assistant.d.ts +8 -0
- package/dist/prebuilds-manifest.json +380 -0
- package/dist-lib/client.d.ts +2 -0
- package/dist-lib/client.js +1 -0
- package/dist-lib/index.d.ts +13 -0
- package/dist-lib/index.js +10 -0
- package/dist-lib/lib/agent-icons.d.ts +3 -0
- package/dist-lib/lib/agent-icons.js +1 -0
- package/dist-lib/lib/api/agents.d.ts +5 -0
- package/dist-lib/lib/api/agents.js +38 -0
- package/dist-lib/lib/api/app-config.d.ts +5 -0
- package/dist-lib/lib/api/app-config.js +108 -0
- package/dist-lib/lib/api/approval-rules.d.ts +3 -0
- package/dist-lib/lib/api/approval-rules.js +9 -0
- package/dist-lib/lib/api/attachments.d.ts +8 -0
- package/dist-lib/lib/api/attachments.js +15 -0
- package/dist-lib/lib/api/chat-groups.d.ts +5 -0
- package/dist-lib/lib/api/chat-groups.js +12 -0
- package/dist-lib/lib/api/chat.d.ts +5 -0
- package/dist-lib/lib/api/chat.js +38 -0
- package/dist-lib/lib/api/chunks.d.ts +5 -0
- package/dist-lib/lib/api/chunks.js +61 -0
- package/dist-lib/lib/api/config.d.ts +5 -0
- package/dist-lib/lib/api/config.js +15 -0
- package/dist-lib/lib/api/current-mesh.d.ts +5 -0
- package/dist-lib/lib/api/current-mesh.js +12 -0
- package/dist-lib/lib/api/custom-models.d.ts +5 -0
- package/dist-lib/lib/api/custom-models.js +45 -0
- package/dist-lib/lib/api/devices.d.ts +8 -0
- package/dist-lib/lib/api/devices.js +125 -0
- package/dist-lib/lib/api/diagnostics.d.ts +7 -0
- package/dist-lib/lib/api/diagnostics.js +7 -0
- package/dist-lib/lib/api/effective-ctx-size.d.ts +2 -0
- package/dist-lib/lib/api/effective-ctx-size.js +10 -0
- package/dist-lib/lib/api/execution.d.ts +3 -0
- package/dist-lib/lib/api/execution.js +45 -0
- package/dist-lib/lib/api/files.d.ts +3 -0
- package/dist-lib/lib/api/files.js +48 -0
- package/dist-lib/lib/api/index.d.ts +62 -0
- package/dist-lib/lib/api/index.js +172 -0
- package/dist-lib/lib/api/instrument.d.ts +2 -0
- package/dist-lib/lib/api/instrument.js +86 -0
- package/dist-lib/lib/api/knowledge.d.ts +8 -0
- package/dist-lib/lib/api/knowledge.js +26 -0
- package/dist-lib/lib/api/logs.d.ts +14 -0
- package/dist-lib/lib/api/logs.js +116 -0
- package/dist-lib/lib/api/mesh.d.ts +13 -0
- package/dist-lib/lib/api/mesh.js +25 -0
- package/dist-lib/lib/api/model-download.d.ts +5 -0
- package/dist-lib/lib/api/model-download.js +47 -0
- package/dist-lib/lib/api/network.d.ts +8 -0
- package/dist-lib/lib/api/network.js +6 -0
- package/dist-lib/lib/api/notifications.d.ts +21 -0
- package/dist-lib/lib/api/notifications.js +108 -0
- package/dist-lib/lib/api/rag.d.ts +7 -0
- package/dist-lib/lib/api/rag.js +216 -0
- package/dist-lib/lib/api/sync.d.ts +3 -0
- package/dist-lib/lib/api/sync.js +6 -0
- package/dist-lib/lib/api/tool-activity.d.ts +5 -0
- package/dist-lib/lib/api/tool-activity.js +53 -0
- package/dist-lib/lib/api/tool-configs.d.ts +6 -0
- package/dist-lib/lib/api/tool-configs.js +27 -0
- package/dist-lib/lib/api/watchable.d.ts +12 -0
- package/dist-lib/lib/api/watchable.js +121 -0
- package/dist-lib/lib/assistant-client.d.ts +21 -0
- package/dist-lib/lib/assistant-client.js +52 -0
- package/dist-lib/lib/assistant-tree.d.ts +50 -0
- package/dist-lib/lib/assistant-tree.js +184 -0
- package/dist-lib/lib/assistant.d.ts +425 -0
- package/dist-lib/lib/assistant.js +2706 -0
- package/dist-lib/lib/audio-format.d.ts +4 -0
- package/dist-lib/lib/audio-format.js +4 -0
- package/dist-lib/lib/chat-title.d.ts +5 -0
- package/dist-lib/lib/chat-title.js +58 -0
- package/dist-lib/lib/client.d.ts +25 -0
- package/dist-lib/lib/client.js +53 -0
- package/dist-lib/lib/collabora/convert.d.ts +9 -0
- package/dist-lib/lib/collabora/convert.js +62 -0
- package/dist-lib/lib/collabora/entry.d.ts +1 -0
- package/dist-lib/lib/collabora/entry.js +44 -0
- package/dist-lib/lib/collabora/protocol.d.ts +15 -0
- package/dist-lib/lib/collabora/protocol.js +24 -0
- package/dist-lib/lib/collabora/worker.d.ts +5 -0
- package/dist-lib/lib/collabora/worker.js +111 -0
- package/dist-lib/lib/compaction.d.ts +30 -0
- package/dist-lib/lib/compaction.js +95 -0
- package/dist-lib/lib/constants.d.ts +4 -0
- package/dist-lib/lib/constants.js +4 -0
- package/dist-lib/lib/core/agent.d.ts +15 -0
- package/dist-lib/lib/core/agent.js +149 -0
- package/dist-lib/lib/core/app-build.d.ts +7 -0
- package/dist-lib/lib/core/app-build.js +1 -0
- package/dist-lib/lib/core/approval-rules.d.ts +15 -0
- package/dist-lib/lib/core/approval-rules.js +41 -0
- package/dist-lib/lib/core/async-iterable.d.ts +13 -0
- package/dist-lib/lib/core/async-iterable.js +65 -0
- package/dist-lib/lib/core/attachment-link.d.ts +7 -0
- package/dist-lib/lib/core/attachment-link.js +6 -0
- package/dist-lib/lib/core/audio-attachment.d.ts +1 -0
- package/dist-lib/lib/core/audio-attachment.js +4 -0
- package/dist-lib/lib/core/blind-peers.d.ts +6 -0
- package/dist-lib/lib/core/blind-peers.js +13 -0
- package/dist-lib/lib/core/chat-activity.d.ts +7 -0
- package/dist-lib/lib/core/chat-activity.js +244 -0
- package/dist-lib/lib/core/chat-group.d.ts +14 -0
- package/dist-lib/lib/core/chat-group.js +79 -0
- package/dist-lib/lib/core/chat-search.d.ts +17 -0
- package/dist-lib/lib/core/chat-search.js +199 -0
- package/dist-lib/lib/core/chat.d.ts +37 -0
- package/dist-lib/lib/core/chat.js +196 -0
- package/dist-lib/lib/core/chunk.d.ts +61 -0
- package/dist-lib/lib/core/chunk.js +212 -0
- package/dist-lib/lib/core/contract/activity.d.ts +11 -0
- package/dist-lib/lib/core/contract/activity.js +45 -0
- package/dist-lib/lib/core/contract/agents.d.ts +2 -0
- package/dist-lib/lib/core/contract/agents.js +29 -0
- package/dist-lib/lib/core/contract/approval-rules.d.ts +2 -0
- package/dist-lib/lib/core/contract/approval-rules.js +14 -0
- package/dist-lib/lib/core/contract/attestations.d.ts +2 -0
- package/dist-lib/lib/core/contract/attestations.js +14 -0
- package/dist-lib/lib/core/contract/chat-group.d.ts +2 -0
- package/dist-lib/lib/core/contract/chat-group.js +20 -0
- package/dist-lib/lib/core/contract/chat.d.ts +2 -0
- package/dist-lib/lib/core/contract/chat.js +18 -0
- package/dist-lib/lib/core/contract/chunks.d.ts +2 -0
- package/dist-lib/lib/core/contract/chunks.js +156 -0
- package/dist-lib/lib/core/contract/devices.d.ts +2 -0
- package/dist-lib/lib/core/contract/devices.js +110 -0
- package/dist-lib/lib/core/contract/index.d.ts +2 -0
- package/dist-lib/lib/core/contract/index.js +30 -0
- package/dist-lib/lib/core/contract/indexing.d.ts +4 -0
- package/dist-lib/lib/core/contract/indexing.js +82 -0
- package/dist-lib/lib/core/contract/knowledge.d.ts +2 -0
- package/dist-lib/lib/core/contract/knowledge.js +55 -0
- package/dist-lib/lib/core/contract/members.d.ts +2 -0
- package/dist-lib/lib/core/contract/members.js +96 -0
- package/dist-lib/lib/core/contract/seed-defaults.d.ts +2 -0
- package/dist-lib/lib/core/contract/seed-defaults.js +29 -0
- package/dist-lib/lib/core/contract/tool-activity.d.ts +2 -0
- package/dist-lib/lib/core/contract/tool-activity.js +25 -0
- package/dist-lib/lib/core/contract/tool-configs.d.ts +2 -0
- package/dist-lib/lib/core/contract/tool-configs.js +50 -0
- package/dist-lib/lib/core/contract/types.d.ts +11 -0
- package/dist-lib/lib/core/contract/types.js +1 -0
- package/dist-lib/lib/core/contract/writers.d.ts +2 -0
- package/dist-lib/lib/core/contract/writers.js +112 -0
- package/dist-lib/lib/core/cpu-info-node.d.ts +3 -0
- package/dist-lib/lib/core/cpu-info-node.js +2 -0
- package/dist-lib/lib/core/departures.d.ts +41 -0
- package/dist-lib/lib/core/departures.js +145 -0
- package/dist-lib/lib/core/device-attestation.d.ts +6 -0
- package/dist-lib/lib/core/device-attestation.js +12 -0
- package/dist-lib/lib/core/devices.d.ts +14 -0
- package/dist-lib/lib/core/devices.js +11 -0
- package/dist-lib/lib/core/document-attachment.d.ts +22 -0
- package/dist-lib/lib/core/document-attachment.js +35 -0
- package/dist-lib/lib/core/files/attachments.d.ts +8 -0
- package/dist-lib/lib/core/files/attachments.js +50 -0
- package/dist-lib/lib/core/files/index.d.ts +133 -0
- package/dist-lib/lib/core/files/index.js +585 -0
- package/dist-lib/lib/core/files/knowledge.d.ts +9 -0
- package/dist-lib/lib/core/files/knowledge.js +31 -0
- package/dist-lib/lib/core/files/preview/image.d.ts +4 -0
- package/dist-lib/lib/core/files/preview/image.js +42 -0
- package/dist-lib/lib/core/files/preview/index.d.ts +33 -0
- package/dist-lib/lib/core/files/preview/index.js +161 -0
- package/dist-lib/lib/core/files/processing/claims.d.ts +26 -0
- package/dist-lib/lib/core/files/processing/claims.js +89 -0
- package/dist-lib/lib/core/files/processing/document.d.ts +100 -0
- package/dist-lib/lib/core/files/processing/document.js +101 -0
- package/dist-lib/lib/core/files/processing/index.d.ts +75 -0
- package/dist-lib/lib/core/files/processing/index.js +295 -0
- package/dist-lib/lib/core/files/processing/ownership.d.ts +11 -0
- package/dist-lib/lib/core/files/processing/ownership.js +41 -0
- package/dist-lib/lib/core/files/processing/protocol.d.ts +29 -0
- package/dist-lib/lib/core/files/processing/protocol.js +70 -0
- package/dist-lib/lib/core/files/processing/settle.d.ts +10 -0
- package/dist-lib/lib/core/files/processing/settle.js +75 -0
- package/dist-lib/lib/core/files/processing/source.d.ts +36 -0
- package/dist-lib/lib/core/files/processing/source.js +96 -0
- package/dist-lib/lib/core/files/processing/state.d.ts +64 -0
- package/dist-lib/lib/core/files/processing/state.js +118 -0
- package/dist-lib/lib/core/files/rag/artifact/codec.d.ts +3 -0
- package/dist-lib/lib/core/files/rag/artifact/codec.js +172 -0
- package/dist-lib/lib/core/files/rag/artifact/id.d.ts +10 -0
- package/dist-lib/lib/core/files/rag/artifact/id.js +39 -0
- package/dist-lib/lib/core/files/rag/artifact/types.d.ts +24 -0
- package/dist-lib/lib/core/files/rag/artifact/types.js +41 -0
- package/dist-lib/lib/core/files/rag/build.d.ts +25 -0
- package/dist-lib/lib/core/files/rag/build.js +60 -0
- package/dist-lib/lib/core/files/rag/chunk/chunking.d.ts +12 -0
- package/dist-lib/lib/core/files/rag/chunk/chunking.js +117 -0
- package/dist-lib/lib/core/files/rag/chunk/metadata.d.ts +30 -0
- package/dist-lib/lib/core/files/rag/chunk/metadata.js +89 -0
- package/dist-lib/lib/core/files/rag/chunk/tokenizer.d.ts +7 -0
- package/dist-lib/lib/core/files/rag/chunk/tokenizer.js +18 -0
- package/dist-lib/lib/core/files/rag/document-types.d.ts +11 -0
- package/dist-lib/lib/core/files/rag/document-types.js +94 -0
- package/dist-lib/lib/core/files/rag/extract/csv-text.d.ts +1 -0
- package/dist-lib/lib/core/files/rag/extract/csv-text.js +117 -0
- package/dist-lib/lib/core/files/rag/extract/document-types.d.ts +22 -0
- package/dist-lib/lib/core/files/rag/extract/document-types.js +152 -0
- package/dist-lib/lib/core/files/rag/extract/extract.d.ts +17 -0
- package/dist-lib/lib/core/files/rag/extract/extract.js +81 -0
- package/dist-lib/lib/core/files/rag/extract/html-table-text.d.ts +1 -0
- package/dist-lib/lib/core/files/rag/extract/html-table-text.js +125 -0
- package/dist-lib/lib/core/files/rag/extract/html-text.d.ts +1 -0
- package/dist-lib/lib/core/files/rag/extract/html-text.js +132 -0
- package/dist-lib/lib/core/files/rag/extract/office-collabora.d.ts +2 -0
- package/dist-lib/lib/core/files/rag/extract/office-collabora.js +8 -0
- package/dist-lib/lib/core/files/rag/extract/pdf-platform.d.ts +17 -0
- package/dist-lib/lib/core/files/rag/extract/pdf-platform.js +141 -0
- package/dist-lib/lib/core/files/rag/extract/pdf-text.d.ts +12 -0
- package/dist-lib/lib/core/files/rag/extract/pdf-text.js +43 -0
- package/dist-lib/lib/core/files/rag/extract/rtf-text.d.ts +1 -0
- package/dist-lib/lib/core/files/rag/extract/rtf-text.js +15 -0
- package/dist-lib/lib/core/files/rag/extract/text-decoding.d.ts +1 -0
- package/dist-lib/lib/core/files/rag/extract/text-decoding.js +91 -0
- package/dist-lib/lib/core/files/rag/extract/types.d.ts +36 -0
- package/dist-lib/lib/core/files/rag/extract/types.js +12 -0
- package/dist-lib/lib/core/files/rag/extract/utf.d.ts +2 -0
- package/dist-lib/lib/core/files/rag/extract/utf.js +18 -0
- package/dist-lib/lib/core/files/rag/index.d.ts +54 -0
- package/dist-lib/lib/core/files/rag/index.js +79 -0
- package/dist-lib/lib/core/files/rag/limits.d.ts +2 -0
- package/dist-lib/lib/core/files/rag/limits.js +2 -0
- package/dist-lib/lib/core/files/rag/load.d.ts +28 -0
- package/dist-lib/lib/core/files/rag/load.js +250 -0
- package/dist-lib/lib/core/files/rag/models.d.ts +1 -0
- package/dist-lib/lib/core/files/rag/models.js +1 -0
- package/dist-lib/lib/core/files/rag/policy.d.ts +2 -0
- package/dist-lib/lib/core/files/rag/policy.js +23 -0
- package/dist-lib/lib/core/files/rag/produce.d.ts +21 -0
- package/dist-lib/lib/core/files/rag/produce.js +214 -0
- package/dist-lib/lib/core/files/rag/retrieval/citation-match.d.ts +2 -0
- package/dist-lib/lib/core/files/rag/retrieval/citation-match.js +16 -0
- package/dist-lib/lib/core/files/rag/retrieval/coverage.d.ts +4 -0
- package/dist-lib/lib/core/files/rag/retrieval/coverage.js +48 -0
- package/dist-lib/lib/core/files/rag/retrieval/diversity.d.ts +10 -0
- package/dist-lib/lib/core/files/rag/retrieval/diversity.js +37 -0
- package/dist-lib/lib/core/files/rag/retrieval/floor.d.ts +5 -0
- package/dist-lib/lib/core/files/rag/retrieval/floor.js +21 -0
- package/dist-lib/lib/core/files/rag/retrieval/format.d.ts +6 -0
- package/dist-lib/lib/core/files/rag/retrieval/format.js +21 -0
- package/dist-lib/lib/core/files/rag/retrieval/full-text.d.ts +22 -0
- package/dist-lib/lib/core/files/rag/retrieval/full-text.js +137 -0
- package/dist-lib/lib/core/files/rag/retrieval/knowledge.d.ts +2 -0
- package/dist-lib/lib/core/files/rag/retrieval/knowledge.js +53 -0
- package/dist-lib/lib/core/files/rag/retrieval/notices.d.ts +16 -0
- package/dist-lib/lib/core/files/rag/retrieval/notices.js +27 -0
- package/dist-lib/lib/core/files/rag/retrieval/scoring.d.ts +8 -0
- package/dist-lib/lib/core/files/rag/retrieval/scoring.js +82 -0
- package/dist-lib/lib/core/files/rag/retrieval/search.d.ts +3 -0
- package/dist-lib/lib/core/files/rag/retrieval/search.js +46 -0
- package/dist-lib/lib/core/files/rag/retrieval/selection.d.ts +10 -0
- package/dist-lib/lib/core/files/rag/retrieval/selection.js +63 -0
- package/dist-lib/lib/core/files/rag/retrieval/source-tag-filter.d.ts +6 -0
- package/dist-lib/lib/core/files/rag/retrieval/source-tag-filter.js +79 -0
- package/dist-lib/lib/core/files/rag/retrieval/sources.d.ts +13 -0
- package/dist-lib/lib/core/files/rag/retrieval/sources.js +20 -0
- package/dist-lib/lib/core/files/rag/retrieval/target.d.ts +13 -0
- package/dist-lib/lib/core/files/rag/retrieval/target.js +89 -0
- package/dist-lib/lib/core/files/rag/retrieval/terms.d.ts +8 -0
- package/dist-lib/lib/core/files/rag/retrieval/terms.js +70 -0
- package/dist-lib/lib/core/files/rag/retrieval/types.d.ts +28 -0
- package/dist-lib/lib/core/files/rag/retrieval/types.js +1 -0
- package/dist-lib/lib/core/files/rag/retrieval/web-sources.d.ts +8 -0
- package/dist-lib/lib/core/files/rag/retrieval/web-sources.js +41 -0
- package/dist-lib/lib/core/files/rag/retrieval/whole-document-query.d.ts +1 -0
- package/dist-lib/lib/core/files/rag/retrieval/whole-document-query.js +96 -0
- package/dist-lib/lib/core/files/rag/vector/memory.d.ts +15 -0
- package/dist-lib/lib/core/files/rag/vector/memory.js +135 -0
- package/dist-lib/lib/core/files/rag/vector/types.d.ts +28 -0
- package/dist-lib/lib/core/files/rag/vector/types.js +1 -0
- package/dist-lib/lib/core/files/records/chunks.d.ts +3 -0
- package/dist-lib/lib/core/files/records/chunks.js +12 -0
- package/dist-lib/lib/core/files/records/index.d.ts +10 -0
- package/dist-lib/lib/core/files/records/index.js +8 -0
- package/dist-lib/lib/core/files/records/knowledge.d.ts +22 -0
- package/dist-lib/lib/core/files/records/knowledge.js +105 -0
- package/dist-lib/lib/core/files/records/linkage.d.ts +11 -0
- package/dist-lib/lib/core/files/records/linkage.js +27 -0
- package/dist-lib/lib/core/files/records/output.d.ts +8 -0
- package/dist-lib/lib/core/files/records/output.js +38 -0
- package/dist-lib/lib/core/files/records/reclaim.d.ts +5 -0
- package/dist-lib/lib/core/files/records/reclaim.js +73 -0
- package/dist-lib/lib/core/files/records/routing.d.ts +23 -0
- package/dist-lib/lib/core/files/records/routing.js +62 -0
- package/dist-lib/lib/core/files/records/source.d.ts +16 -0
- package/dist-lib/lib/core/files/records/source.js +70 -0
- package/dist-lib/lib/core/files/records/sweep.d.ts +2 -0
- package/dist-lib/lib/core/files/records/sweep.js +30 -0
- package/dist-lib/lib/core/files/store/blob.d.ts +29 -0
- package/dist-lib/lib/core/files/store/blob.js +98 -0
- package/dist-lib/lib/core/files/store/index.d.ts +36 -0
- package/dist-lib/lib/core/files/store/index.js +89 -0
- package/dist-lib/lib/core/files/store/inline.d.ts +8 -0
- package/dist-lib/lib/core/files/store/inline.js +38 -0
- package/dist-lib/lib/core/files/store/reference.d.ts +27 -0
- package/dist-lib/lib/core/files/store/reference.js +168 -0
- package/dist-lib/lib/core/files/store/server.d.ts +27 -0
- package/dist-lib/lib/core/files/store/server.js +114 -0
- package/dist-lib/lib/core/files/store/sweep.d.ts +2 -0
- package/dist-lib/lib/core/files/store/sweep.js +45 -0
- package/dist-lib/lib/core/files/upload-input.d.ts +27 -0
- package/dist-lib/lib/core/files/upload-input.js +52 -0
- package/dist-lib/lib/core/files/upload.d.ts +32 -0
- package/dist-lib/lib/core/files/upload.js +201 -0
- package/dist-lib/lib/core/fs-drives.d.ts +18 -0
- package/dist-lib/lib/core/fs-drives.js +58 -0
- package/dist-lib/lib/core/gpu-info-node.d.ts +3 -0
- package/dist-lib/lib/core/gpu-info-node.js +2 -0
- package/dist-lib/lib/core/handoff-channel.d.ts +46 -0
- package/dist-lib/lib/core/handoff-channel.js +102 -0
- package/dist-lib/lib/core/health-assistant.d.ts +7 -0
- package/dist-lib/lib/core/health-assistant.js +24 -0
- package/dist-lib/lib/core/helpers/index.d.ts +5 -0
- package/dist-lib/lib/core/helpers/index.js +74 -0
- package/dist-lib/lib/core/hosted-agents.d.ts +36 -0
- package/dist-lib/lib/core/hosted-agents.js +127 -0
- package/dist-lib/lib/core/id.d.ts +1 -0
- package/dist-lib/lib/core/id.js +5 -0
- package/dist-lib/lib/core/identity.d.ts +14 -0
- package/dist-lib/lib/core/identity.js +45 -0
- package/dist-lib/lib/core/image/cache-sweep.d.ts +12 -0
- package/dist-lib/lib/core/image/cache-sweep.js +67 -0
- package/dist-lib/lib/core/image/normalize.d.ts +3 -0
- package/dist-lib/lib/core/image/normalize.js +49 -0
- package/dist-lib/lib/core/image/sniff.d.ts +3 -0
- package/dist-lib/lib/core/image/sniff.js +149 -0
- package/dist-lib/lib/core/invite.d.ts +14 -0
- package/dist-lib/lib/core/invite.js +36 -0
- package/dist-lib/lib/core/local/index.d.ts +71 -0
- package/dist-lib/lib/core/local/index.js +391 -0
- package/dist-lib/lib/core/membership.d.ts +15 -0
- package/dist-lib/lib/core/membership.js +40 -0
- package/dist-lib/lib/core/mesh.d.ts +153 -0
- package/dist-lib/lib/core/mesh.js +509 -0
- package/dist-lib/lib/core/migrations/agent-catalog.d.ts +6 -0
- package/dist-lib/lib/core/migrations/agent-catalog.js +17 -0
- package/dist-lib/lib/core/migrations/index.d.ts +5 -0
- package/dist-lib/lib/core/migrations/index.js +7 -0
- package/dist-lib/lib/core/migrations/membership.d.ts +11 -0
- package/dist-lib/lib/core/migrations/membership.js +26 -0
- package/dist-lib/lib/core/min-version.d.ts +6 -0
- package/dist-lib/lib/core/min-version.js +31 -0
- package/dist-lib/lib/core/next-frame.d.ts +6 -0
- package/dist-lib/lib/core/next-frame.js +27 -0
- package/dist-lib/lib/core/notification.d.ts +6 -0
- package/dist-lib/lib/core/notification.js +162 -0
- package/dist-lib/lib/core/ota-config.d.ts +19 -0
- package/dist-lib/lib/core/ota-config.js +44 -0
- package/dist-lib/lib/core/prompt-history.d.ts +12 -0
- package/dist-lib/lib/core/prompt-history.js +40 -0
- package/dist-lib/lib/core/search-fold.d.ts +1 -0
- package/dist-lib/lib/core/search-fold.js +4 -0
- package/dist-lib/lib/core/secret-handoff.d.ts +17 -0
- package/dist-lib/lib/core/secret-handoff.js +29 -0
- package/dist-lib/lib/core/send.d.ts +18 -0
- package/dist-lib/lib/core/send.js +46 -0
- package/dist-lib/lib/core/skill-overlay-handoff.d.ts +25 -0
- package/dist-lib/lib/core/skill-overlay-handoff.js +50 -0
- package/dist-lib/lib/core/skill-overlay-receiver.d.ts +8 -0
- package/dist-lib/lib/core/skill-overlay-receiver.js +20 -0
- package/dist-lib/lib/core/skill-secrets.d.ts +25 -0
- package/dist-lib/lib/core/skill-secrets.js +79 -0
- package/dist-lib/lib/core/sync/chats.d.ts +3 -0
- package/dist-lib/lib/core/sync/chats.js +5 -0
- package/dist-lib/lib/core/sync/chunks.d.ts +9 -0
- package/dist-lib/lib/core/sync/chunks.js +16 -0
- package/dist-lib/lib/core/sync/devices.d.ts +4 -0
- package/dist-lib/lib/core/sync/devices.js +12 -0
- package/dist-lib/lib/core/sync/files.d.ts +16 -0
- package/dist-lib/lib/core/sync/files.js +109 -0
- package/dist-lib/lib/core/sync/index.d.ts +5 -0
- package/dist-lib/lib/core/sync/index.js +63 -0
- package/dist-lib/lib/core/sync-status.d.ts +17 -0
- package/dist-lib/lib/core/sync-status.js +129 -0
- package/dist-lib/lib/core/system-info.d.ts +24 -0
- package/dist-lib/lib/core/system-info.js +66 -0
- package/dist-lib/lib/core/tool-activity.d.ts +22 -0
- package/dist-lib/lib/core/tool-activity.js +39 -0
- package/dist-lib/lib/core/tool-configs.d.ts +13 -0
- package/dist-lib/lib/core/tool-configs.js +141 -0
- package/dist-lib/lib/core.d.ts +291 -0
- package/dist-lib/lib/core.js +2126 -0
- package/dist-lib/lib/credential-pusher.d.ts +67 -0
- package/dist-lib/lib/credential-pusher.js +290 -0
- package/dist-lib/lib/custom-model-pusher.d.ts +9 -0
- package/dist-lib/lib/custom-model-pusher.js +42 -0
- package/dist-lib/lib/custom-model-source.d.ts +15 -0
- package/dist-lib/lib/custom-model-source.js +46 -0
- package/dist-lib/lib/deadline.d.ts +9 -0
- package/dist-lib/lib/deadline.js +31 -0
- package/dist-lib/lib/diagnostics.d.ts +35 -0
- package/dist-lib/lib/diagnostics.js +14 -0
- package/dist-lib/lib/fetch-node.d.ts +1 -0
- package/dist-lib/lib/fetch-node.js +1 -0
- package/dist-lib/lib/fs-drive-bridge.d.ts +12 -0
- package/dist-lib/lib/fs-drive-bridge.js +186 -0
- package/dist-lib/lib/fs-grant-keys.d.ts +2 -0
- package/dist-lib/lib/fs-grant-keys.js +6 -0
- package/dist-lib/lib/fs-grants.d.ts +10 -0
- package/dist-lib/lib/fs-grants.js +44 -0
- package/dist-lib/lib/image-cache-dir.d.ts +1 -0
- package/dist-lib/lib/image-cache-dir.js +5 -0
- package/dist-lib/lib/integrations/index.d.ts +4 -0
- package/dist-lib/lib/integrations/index.js +3 -0
- package/dist-lib/lib/integrations/mcp-providers.d.ts +12 -0
- package/dist-lib/lib/integrations/mcp-providers.js +22 -0
- package/dist-lib/lib/integrations/oauth-providers.d.ts +14 -0
- package/dist-lib/lib/integrations/oauth-providers.js +116 -0
- package/dist-lib/lib/integrations/setup-routes.d.ts +12 -0
- package/dist-lib/lib/integrations/setup-routes.js +114 -0
- package/dist-lib/lib/knowledge-search.d.ts +7 -0
- package/dist-lib/lib/knowledge-search.js +53 -0
- package/dist-lib/lib/kv-cache-reclaim.d.ts +5 -0
- package/dist-lib/lib/kv-cache-reclaim.js +29 -0
- package/dist-lib/lib/kv-cache.d.ts +18 -0
- package/dist-lib/lib/kv-cache.js +33 -0
- package/dist-lib/lib/legacy-core-domain.d.ts +258 -0
- package/dist-lib/lib/legacy-core-domain.js +1 -0
- package/dist-lib/lib/llm-model-names.d.ts +1 -0
- package/dist-lib/lib/llm-model-names.js +1 -0
- package/dist-lib/lib/log-buffer.d.ts +7 -0
- package/dist-lib/lib/log-buffer.js +16 -0
- package/dist-lib/lib/log-levels.d.ts +7 -0
- package/dist-lib/lib/log-levels.js +1 -0
- package/dist-lib/lib/log.d.ts +60 -0
- package/dist-lib/lib/log.js +149 -0
- package/dist-lib/lib/logger-type.d.ts +13 -0
- package/dist-lib/lib/logger-type.js +1 -0
- package/dist-lib/lib/logger.d.ts +5 -0
- package/dist-lib/lib/logger.js +18 -0
- package/dist-lib/lib/model-catalog-revision.d.ts +9 -0
- package/dist-lib/lib/model-catalog-revision.js +65 -0
- package/dist-lib/lib/model-clamp.d.ts +6 -0
- package/dist-lib/lib/model-clamp.js +20 -0
- package/dist-lib/lib/model-context.d.ts +13 -0
- package/dist-lib/lib/model-context.js +71 -0
- package/dist-lib/lib/model-download-status.d.ts +29 -0
- package/dist-lib/lib/model-download-status.js +56 -0
- package/dist-lib/lib/model-download.d.ts +191 -0
- package/dist-lib/lib/model-download.js +787 -0
- package/dist-lib/lib/oauth/asana.d.ts +35 -0
- package/dist-lib/lib/oauth/asana.js +71 -0
- package/dist-lib/lib/oauth/browser-connect.d.ts +22 -0
- package/dist-lib/lib/oauth/browser-connect.js +83 -0
- package/dist-lib/lib/oauth/client.d.ts +9 -0
- package/dist-lib/lib/oauth/client.js +9 -0
- package/dist-lib/lib/oauth/common.d.ts +38 -0
- package/dist-lib/lib/oauth/common.js +36 -0
- package/dist-lib/lib/oauth/crypto.d.ts +3 -0
- package/dist-lib/lib/oauth/crypto.js +25 -0
- package/dist-lib/lib/oauth/fetch-platform.d.ts +1 -0
- package/dist-lib/lib/oauth/fetch-platform.js +1 -0
- package/dist-lib/lib/oauth/flow-core.d.ts +6 -0
- package/dist-lib/lib/oauth/flow-core.js +37 -0
- package/dist-lib/lib/oauth/flow.d.ts +3 -0
- package/dist-lib/lib/oauth/flow.js +24 -0
- package/dist-lib/lib/oauth/google.d.ts +37 -0
- package/dist-lib/lib/oauth/google.js +77 -0
- package/dist-lib/lib/oauth/host.d.ts +5 -0
- package/dist-lib/lib/oauth/host.js +3 -0
- package/dist-lib/lib/oauth/keys.d.ts +25 -0
- package/dist-lib/lib/oauth/keys.js +93 -0
- package/dist-lib/lib/oauth/loopback.d.ts +3 -0
- package/dist-lib/lib/oauth/loopback.js +119 -0
- package/dist-lib/lib/oauth/loopback.stub.d.ts +3 -0
- package/dist-lib/lib/oauth/loopback.stub.js +6 -0
- package/dist-lib/lib/oauth/notion.d.ts +34 -0
- package/dist-lib/lib/oauth/notion.js +82 -0
- package/dist-lib/lib/oauth/pkce-runtime.d.ts +3 -0
- package/dist-lib/lib/oauth/pkce-runtime.js +5 -0
- package/dist-lib/lib/oauth/pkce.d.ts +8 -0
- package/dist-lib/lib/oauth/pkce.js +6 -0
- package/dist-lib/lib/oauth/providers.d.ts +5 -0
- package/dist-lib/lib/oauth/providers.js +73 -0
- package/dist-lib/lib/oauth/redirect-types.d.ts +19 -0
- package/dist-lib/lib/oauth/redirect-types.js +1 -0
- package/dist-lib/lib/oauth/register.d.ts +3 -0
- package/dist-lib/lib/oauth/register.js +34 -0
- package/dist-lib/lib/oauth/resolve.d.ts +17 -0
- package/dist-lib/lib/oauth/resolve.js +57 -0
- package/dist-lib/lib/oauth/spotify.d.ts +32 -0
- package/dist-lib/lib/oauth/spotify.js +73 -0
- package/dist-lib/lib/oauth/token-exchange-core.d.ts +6 -0
- package/dist-lib/lib/oauth/token-exchange-core.js +97 -0
- package/dist-lib/lib/oauth/token-exchange.d.ts +5 -0
- package/dist-lib/lib/oauth/token-exchange.js +9 -0
- package/dist-lib/lib/oauth/types.d.ts +54 -0
- package/dist-lib/lib/oauth/types.js +1 -0
- package/dist-lib/lib/oauth.client.d.ts +5 -0
- package/dist-lib/lib/oauth.client.js +2 -0
- package/dist-lib/lib/oauth.d.ts +14 -0
- package/dist-lib/lib/oauth.js +12 -0
- package/dist-lib/lib/obsidian-key.d.ts +1 -0
- package/dist-lib/lib/obsidian-key.js +1 -0
- package/dist-lib/lib/race-resource.d.ts +5 -0
- package/dist-lib/lib/race-resource.js +25 -0
- package/dist-lib/lib/reconnecting-watch.d.ts +2 -0
- package/dist-lib/lib/reconnecting-watch.js +78 -0
- package/dist-lib/lib/retry-budget.d.ts +14 -0
- package/dist-lib/lib/retry-budget.js +39 -0
- package/dist-lib/lib/run-notices.d.ts +23 -0
- package/dist-lib/lib/run-notices.js +33 -0
- package/dist-lib/lib/run-transcript.d.ts +35 -0
- package/dist-lib/lib/run-transcript.js +106 -0
- package/dist-lib/lib/skill-readiness.d.ts +2 -0
- package/dist-lib/lib/skill-readiness.js +21 -0
- package/dist-lib/lib/skill-types.d.ts +70 -0
- package/dist-lib/lib/skill-types.js +1 -0
- package/dist-lib/lib/spec-loader.d.ts +14 -0
- package/dist-lib/lib/spec-loader.js +9 -0
- package/dist-lib/lib/suspend-lifecycle.d.ts +17 -0
- package/dist-lib/lib/suspend-lifecycle.js +33 -0
- package/dist-lib/lib/task.d.ts +26 -0
- package/dist-lib/lib/task.js +69 -0
- package/dist-lib/lib/unref.d.ts +3 -0
- package/dist-lib/lib/unref.js +4 -0
- package/dist-lib/lib/wav-duration.d.ts +1 -0
- package/dist-lib/lib/wav-duration.js +53 -0
- package/dist-lib/lib/write-queue.d.ts +22 -0
- package/dist-lib/lib/write-queue.js +39 -0
- package/dist-lib/schema/build.d.ts +1 -0
- package/dist-lib/schema/build.js +120 -0
- package/dist-lib/schema/config.d.ts +4 -0
- package/dist-lib/schema/config.js +7 -0
- package/dist-lib/schema/content.d.ts +20 -0
- package/dist-lib/schema/content.js +122 -0
- package/dist-lib/schema/engine.d.ts +2 -0
- package/dist-lib/schema/engine.js +2013 -0
- package/dist-lib/schema/field-order.d.ts +1 -0
- package/dist-lib/schema/field-order.js +95 -0
- package/dist-lib/schema/local.d.ts +2 -0
- package/dist-lib/schema/local.js +133 -0
- package/dist-lib/schema/qvac.d.ts +22 -0
- package/dist-lib/schema/qvac.js +722 -0
- package/dist-lib/spec/bind.d.ts +2 -0
- package/dist-lib/spec/bind.js +520 -0
- package/dist-lib/spec/calls.d.ts +3 -0
- package/dist-lib/spec/calls.js +129 -0
- package/dist-lib/spec/capabilities.d.ts +263 -0
- package/dist-lib/spec/config/hyperconf/index.d.ts +15 -0
- package/dist-lib/spec/config/hyperconf/index.js +24 -0
- package/dist-lib/spec/config/hyperconf/package.json +3 -0
- package/dist-lib/spec/config/hyperschema/index.js +81 -0
- package/dist-lib/spec/config/hyperschema/schema.json +19 -0
- package/dist-lib/spec/hrpc/hrpc.json +1500 -0
- package/dist-lib/spec/hrpc/index.d.ts +3 -0
- package/dist-lib/spec/hrpc/index.js +1545 -0
- package/dist-lib/spec/hrpc/messages.d.ts +4 -0
- package/dist-lib/spec/hrpc/messages.js +8373 -0
- package/dist-lib/spec/hyperschema/index.d.ts +20 -0
- package/dist-lib/spec/hyperschema/index.js +8373 -0
- package/dist-lib/spec/hyperschema/schema.json +6202 -0
- package/dist-lib/spec/hyperschema/types.d.ts +1545 -0
- package/dist-lib/spec/index.d.ts +36 -0
- package/dist-lib/spec/index.js +6 -0
- package/dist-lib/spec/local/hyperdb/db.json +186 -0
- package/dist-lib/spec/local/hyperdb/index.d.ts +9 -0
- package/dist-lib/spec/local/hyperdb/index.js +855 -0
- package/dist-lib/spec/local/hyperdb/messages.js +2189 -0
- package/dist-lib/spec/local/hyperschema/index.js +1208 -0
- package/dist-lib/spec/local/hyperschema/schema.json +639 -0
- package/dist-lib/spec/local/hyperschema/types.d.ts +159 -0
- package/dist-lib/spec/mesh/hyperdb/db.json +702 -0
- package/dist-lib/spec/mesh/hyperdb/index.d.ts +9 -0
- package/dist-lib/spec/mesh/hyperdb/index.js +2260 -0
- package/dist-lib/spec/mesh/hyperdb/messages.js +7453 -0
- package/dist-lib/spec/mesh/hyperdispatch/dispatch.json +174 -0
- package/dist-lib/spec/mesh/hyperdispatch/index.d.ts +13 -0
- package/dist-lib/spec/mesh/hyperdispatch/index.js +566 -0
- package/dist-lib/spec/mesh/hyperdispatch/messages.js +5713 -0
- package/dist-lib/spec/mesh/hyperschema/index.d.ts +14 -0
- package/dist-lib/spec/mesh/hyperschema/index.js +5713 -0
- package/dist-lib/spec/mesh/hyperschema/schema.json +3142 -0
- package/dist-lib/spec/mesh/hyperschema/types.d.ts +754 -0
- package/ducks.png +0 -0
- package/package.json +332 -1
|
@@ -0,0 +1,1545 @@
|
|
|
1
|
+
// This file is autogenerated by hyperschema-ts
|
|
2
|
+
// Schema version: 5
|
|
3
|
+
// Do not edit manually.
|
|
4
|
+
|
|
5
|
+
export interface AssistantEmpty {
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface AssistantOkResponse {
|
|
9
|
+
ok?: boolean
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface AssistantConfigKey {
|
|
13
|
+
key: string
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface AssistantConfigValue {
|
|
17
|
+
value?: unknown | null
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface AssistantConfigSetRequest {
|
|
21
|
+
key: string
|
|
22
|
+
value: unknown
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface AssistantConfigSetResponse {
|
|
26
|
+
ok?: boolean
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type AssistantAgentReasoning = "inherit" | "enabled" | "disabled"
|
|
30
|
+
|
|
31
|
+
export type AssistantImageModelChoice = "sd2" | "sdxl" | "flux2-klein"
|
|
32
|
+
|
|
33
|
+
export type AssistantAgentIconName = "artificial-intelligence" | "code" | "work" | "calendar" | "home" | "shield" | "bar-chart" | "email" | "auto-stories" | "person" | "heart"
|
|
34
|
+
|
|
35
|
+
export type AssistantToolsAccessScope = "all" | "selected"
|
|
36
|
+
|
|
37
|
+
export type AssistantSkillsAccessScope = "all" | "selected"
|
|
38
|
+
|
|
39
|
+
export type AssistantCapabilityProfile = "tiny" | "low" | "mid" | "high" | "xhigh"
|
|
40
|
+
|
|
41
|
+
export interface AssistantAgent {
|
|
42
|
+
id: string
|
|
43
|
+
name: string
|
|
44
|
+
bio: string
|
|
45
|
+
providerDeviceId: Buffer
|
|
46
|
+
modelName: string
|
|
47
|
+
reasoning: AssistantAgentReasoning
|
|
48
|
+
enabledSkills?: string[] | null
|
|
49
|
+
enabledTools?: string[] | null
|
|
50
|
+
installedSkills?: string[] | null
|
|
51
|
+
isDefault?: boolean
|
|
52
|
+
createdAt: number
|
|
53
|
+
updatedAt: number
|
|
54
|
+
deletedAt?: number
|
|
55
|
+
imageModelChoice?: AssistantImageModelChoice | null
|
|
56
|
+
kvCacheK?: string | null
|
|
57
|
+
kvCacheV?: string | null
|
|
58
|
+
iconName?: AssistantAgentIconName | null
|
|
59
|
+
ctxSize?: number
|
|
60
|
+
orphaned?: boolean
|
|
61
|
+
toolsScope?: AssistantToolsAccessScope | null
|
|
62
|
+
skillsScope?: AssistantSkillsAccessScope | null
|
|
63
|
+
imageSteps?: number
|
|
64
|
+
imageWidth?: number
|
|
65
|
+
imageHeight?: number
|
|
66
|
+
approvalMode?: AssistantApprovalMode | null
|
|
67
|
+
disabledToolsets?: string[] | null
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export interface AssistantAgentList {
|
|
71
|
+
agents?: AssistantAgent[] | null
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface AssistantAgentId {
|
|
75
|
+
id: string
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export interface AssistantCreateAgentRequest {
|
|
79
|
+
name: string
|
|
80
|
+
bio: string
|
|
81
|
+
providerDeviceId: Buffer
|
|
82
|
+
modelName: string
|
|
83
|
+
reasoning?: AssistantAgentReasoning | null
|
|
84
|
+
enabledSkills?: string[] | null
|
|
85
|
+
enabledTools?: string[] | null
|
|
86
|
+
installedSkills?: string[] | null
|
|
87
|
+
imageModelChoice?: AssistantImageModelChoice | null
|
|
88
|
+
kvCacheK?: string | null
|
|
89
|
+
kvCacheV?: string | null
|
|
90
|
+
iconName?: AssistantAgentIconName | null
|
|
91
|
+
ctxSize?: number
|
|
92
|
+
toolsScope?: AssistantToolsAccessScope | null
|
|
93
|
+
skillsScope?: AssistantSkillsAccessScope | null
|
|
94
|
+
imageSteps?: number
|
|
95
|
+
imageWidth?: number
|
|
96
|
+
imageHeight?: number
|
|
97
|
+
approvalMode?: AssistantApprovalMode | null
|
|
98
|
+
disabledToolsets?: string[] | null
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export interface AssistantUpdateAgentRequest {
|
|
102
|
+
id: string
|
|
103
|
+
name?: string | null
|
|
104
|
+
bio?: string | null
|
|
105
|
+
providerDeviceId?: Buffer | null
|
|
106
|
+
modelName?: string | null
|
|
107
|
+
reasoning?: AssistantAgentReasoning | null
|
|
108
|
+
enabledSkills?: string[] | null
|
|
109
|
+
enabledTools?: string[] | null
|
|
110
|
+
installedSkills?: string[] | null
|
|
111
|
+
imageModelChoice?: AssistantImageModelChoice | null
|
|
112
|
+
kvCacheK?: string | null
|
|
113
|
+
kvCacheV?: string | null
|
|
114
|
+
iconName?: AssistantAgentIconName | null
|
|
115
|
+
ctxSize?: number
|
|
116
|
+
toolsScope?: AssistantToolsAccessScope | null
|
|
117
|
+
skillsScope?: AssistantSkillsAccessScope | null
|
|
118
|
+
imageSteps?: number
|
|
119
|
+
imageWidth?: number
|
|
120
|
+
imageHeight?: number
|
|
121
|
+
clearImageSettings?: boolean
|
|
122
|
+
clearCtxSize?: boolean
|
|
123
|
+
approvalMode?: AssistantApprovalMode | null
|
|
124
|
+
disabledToolsets?: string[] | null
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export interface AssistantChat {
|
|
128
|
+
id: string
|
|
129
|
+
agentId: string
|
|
130
|
+
title: string
|
|
131
|
+
createdAt: number
|
|
132
|
+
deletedAt?: number
|
|
133
|
+
ragEnabled?: boolean
|
|
134
|
+
webSearchEnabled?: boolean
|
|
135
|
+
updatedAt?: number
|
|
136
|
+
lastActivityAt?: number
|
|
137
|
+
groupId?: string | null
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export interface AssistantChatList {
|
|
141
|
+
chats?: AssistantChat[] | null
|
|
142
|
+
groups?: AssistantChatGroup[] | null
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export interface AssistantChatId {
|
|
146
|
+
id: string
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export interface AssistantCreateChatRequest {
|
|
150
|
+
agentId: string
|
|
151
|
+
title: string
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export interface AssistantRenameChatRequest {
|
|
155
|
+
id: string
|
|
156
|
+
title: string
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export interface AssistantSetChatFlagRequest {
|
|
160
|
+
id: string
|
|
161
|
+
enabled?: boolean
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export interface AssistantDevice {
|
|
165
|
+
id: Buffer
|
|
166
|
+
name: string
|
|
167
|
+
joinedAt: number
|
|
168
|
+
revoked?: boolean
|
|
169
|
+
installedToolNames?: string[] | null
|
|
170
|
+
installedSkillNames?: string[] | null
|
|
171
|
+
capabilityProfile: AssistantCapabilityProfile
|
|
172
|
+
recommendedModelName: string
|
|
173
|
+
installedModelNames?: string[] | null
|
|
174
|
+
cachedModelNames?: string[] | null
|
|
175
|
+
appVersion?: string | null
|
|
176
|
+
appBuild?: string | null
|
|
177
|
+
appChannel?: AssistantAppChannel | null
|
|
178
|
+
platform?: string | null
|
|
179
|
+
readySkillNames?: string[] | null
|
|
180
|
+
toolCatalog?: AssistantToolReportEntry[] | null
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export interface AssistantDeviceList {
|
|
184
|
+
devices?: AssistantDevice[] | null
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export interface AssistantSaveDeviceCapabilitiesRequest {
|
|
188
|
+
installedToolNames?: string[] | null
|
|
189
|
+
installedSkillNames?: string[] | null
|
|
190
|
+
installedModelNames?: string[] | null
|
|
191
|
+
cachedModelNames?: string[] | null
|
|
192
|
+
readySkillNames?: string[] | null
|
|
193
|
+
toolCatalog?: AssistantToolReportEntry[] | null
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export interface AssistantDeviceId {
|
|
197
|
+
id: Buffer
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export interface AssistantRenameDeviceRequest {
|
|
201
|
+
id: Buffer
|
|
202
|
+
name: string
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export interface AssistantSaveDeviceProfileRequest {
|
|
206
|
+
capabilityProfile: AssistantCapabilityProfile
|
|
207
|
+
recommendedModelName: string
|
|
208
|
+
platform?: string | null
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export type AssistantChunkType = "user-message" | "content" | "thinking" | "tool-call" | "tool-result" | "attachment" | "approval-request" | "run-status" | "run-request" | "sources" | "compaction"
|
|
212
|
+
|
|
213
|
+
export type AssistantRunState = "executing" | "completed" | "failed" | "canceled"
|
|
214
|
+
|
|
215
|
+
export type AssistantApprovalStatus = "pending" | "approved" | "denied"
|
|
216
|
+
|
|
217
|
+
export interface AssistantResourceDescriptor {
|
|
218
|
+
kind: string
|
|
219
|
+
label: string
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export type AssistantProgressPhase = "loading" | "downloading" | "queued" | "generating" | "transcribing" | "compacting"
|
|
223
|
+
|
|
224
|
+
export interface AssistantRunProgress {
|
|
225
|
+
phase: AssistantProgressPhase
|
|
226
|
+
model?: string | null
|
|
227
|
+
percentage?: number
|
|
228
|
+
busyChatId?: string | null
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export interface AssistantChunkContentRunStatusV1 {
|
|
232
|
+
state: AssistantRunState
|
|
233
|
+
model?: string | null
|
|
234
|
+
percentage?: number
|
|
235
|
+
reason?: string | null
|
|
236
|
+
metrics?: unknown | null
|
|
237
|
+
progress?: AssistantRunProgress | null
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export type AssistantChunkContentRunStatus = (AssistantChunkContentRunStatusV1 & { version?: number })
|
|
241
|
+
|
|
242
|
+
export interface AssistantChunkContentApprovalRequestV1 {
|
|
243
|
+
status: AssistantApprovalStatus
|
|
244
|
+
name: string
|
|
245
|
+
arguments: unknown
|
|
246
|
+
resource?: AssistantResourceDescriptor | null
|
|
247
|
+
agentId?: string | null
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export type AssistantChunkContentApprovalRequest = (AssistantChunkContentApprovalRequestV1 & { version?: number })
|
|
251
|
+
|
|
252
|
+
export interface AssistantChunkContentUserMessageV1 {
|
|
253
|
+
text: string
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export type AssistantChunkContentUserMessage = (AssistantChunkContentUserMessageV1 & { version?: number })
|
|
257
|
+
|
|
258
|
+
export interface AssistantChunkContentAssistantV1 {
|
|
259
|
+
text: string
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export type AssistantChunkContentAssistant = (AssistantChunkContentAssistantV1 & { version?: number })
|
|
263
|
+
|
|
264
|
+
export interface AssistantChunkContentThinkingV1 {
|
|
265
|
+
text: string
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
export type AssistantChunkContentThinking = (AssistantChunkContentThinkingV1 & { version?: number })
|
|
269
|
+
|
|
270
|
+
export interface AssistantChunkContentToolCallV1 {
|
|
271
|
+
name: string
|
|
272
|
+
arguments?: unknown | null
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export type AssistantChunkContentToolCall = (AssistantChunkContentToolCallV1 & { version?: number })
|
|
276
|
+
|
|
277
|
+
export interface AssistantChunkContentToolResultV1 {
|
|
278
|
+
name: string
|
|
279
|
+
result?: unknown | null
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
export type AssistantChunkContentToolResult = (AssistantChunkContentToolResultV1 & { version?: number })
|
|
283
|
+
|
|
284
|
+
export interface AssistantChunkContentAttachmentV1 {
|
|
285
|
+
id: string
|
|
286
|
+
fileName: string
|
|
287
|
+
mimeType: string
|
|
288
|
+
byteLength: number
|
|
289
|
+
blobId: string
|
|
290
|
+
createdAt: number
|
|
291
|
+
deletedAt?: number
|
|
292
|
+
url?: string | null
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export type AssistantChunkContentAttachment = (AssistantChunkContentAttachmentV1 & { version?: number })
|
|
296
|
+
|
|
297
|
+
export interface AssistantChunkContentRunRequestV1 {
|
|
298
|
+
agentId: string
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
export type AssistantChunkContentRunRequest = (AssistantChunkContentRunRequestV1 & { version?: number })
|
|
302
|
+
|
|
303
|
+
export interface AssistantRagSource {
|
|
304
|
+
documentId?: string | null
|
|
305
|
+
title: string
|
|
306
|
+
chunkIndex: number
|
|
307
|
+
excerpt: string
|
|
308
|
+
attachmentId?: string | null
|
|
309
|
+
artifactId?: string | null
|
|
310
|
+
score: number
|
|
311
|
+
url?: string | null
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export interface AssistantChunkContentSourcesV1 {
|
|
315
|
+
sources: AssistantRagSource[]
|
|
316
|
+
notice?: string | null
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export type AssistantChunkContentSources = (AssistantChunkContentSourcesV1 & { version?: number })
|
|
320
|
+
|
|
321
|
+
export interface AssistantChunkId {
|
|
322
|
+
id: string
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
export interface AssistantChunkV1 {
|
|
326
|
+
id: string
|
|
327
|
+
chatId: string
|
|
328
|
+
runId?: string | null
|
|
329
|
+
type: AssistantChunkType
|
|
330
|
+
seq: number
|
|
331
|
+
originDeviceId: Buffer
|
|
332
|
+
createdAt: number
|
|
333
|
+
updatedAt?: number
|
|
334
|
+
userMessage?: AssistantChunkContentUserMessage | null
|
|
335
|
+
content?: AssistantChunkContentAssistant | null
|
|
336
|
+
thinking?: AssistantChunkContentThinking | null
|
|
337
|
+
toolCall?: AssistantChunkContentToolCall | null
|
|
338
|
+
toolResult?: AssistantChunkContentToolResult | null
|
|
339
|
+
attachment?: AssistantChunkContentAttachment | null
|
|
340
|
+
approvalRequest?: AssistantChunkContentApprovalRequest | null
|
|
341
|
+
runStatus?: AssistantChunkContentRunStatus | null
|
|
342
|
+
runRequest?: AssistantChunkContentRunRequest | null
|
|
343
|
+
sources?: AssistantChunkContentSources | null
|
|
344
|
+
parentId?: string | null
|
|
345
|
+
effect?: string | null
|
|
346
|
+
intent?: string | null
|
|
347
|
+
display?: unknown | null
|
|
348
|
+
rawCall?: string | null
|
|
349
|
+
compaction?: AssistantChunkContentCompaction | null
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
export type AssistantChunk = (AssistantChunkV1 & { version?: number })
|
|
353
|
+
|
|
354
|
+
export interface AssistantChunkList {
|
|
355
|
+
chunks?: AssistantChunk[] | null
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export interface AssistantAppendChunkRequest {
|
|
359
|
+
chatId: string
|
|
360
|
+
runId?: string | null
|
|
361
|
+
type: AssistantChunkType
|
|
362
|
+
originDeviceId: Buffer
|
|
363
|
+
userMessage?: AssistantChunkContentUserMessage | null
|
|
364
|
+
content?: AssistantChunkContentAssistant | null
|
|
365
|
+
thinking?: AssistantChunkContentThinking | null
|
|
366
|
+
toolCall?: AssistantChunkContentToolCall | null
|
|
367
|
+
toolResult?: AssistantChunkContentToolResult | null
|
|
368
|
+
attachment?: AssistantChunkContentAttachment | null
|
|
369
|
+
approvalRequest?: AssistantChunkContentApprovalRequest | null
|
|
370
|
+
runStatus?: AssistantChunkContentRunStatus | null
|
|
371
|
+
runRequest?: AssistantChunkContentRunRequest | null
|
|
372
|
+
sources?: AssistantChunkContentSources | null
|
|
373
|
+
parentId?: string | null
|
|
374
|
+
effect?: string | null
|
|
375
|
+
intent?: string | null
|
|
376
|
+
display?: unknown | null
|
|
377
|
+
rawCall?: string | null
|
|
378
|
+
compaction?: AssistantChunkContentCompaction | null
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
export interface AssistantUpdateChunkRequest {
|
|
382
|
+
id: string
|
|
383
|
+
runStatus?: AssistantChunkContentRunStatus | null
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
export interface AssistantResolveApprovalRequest {
|
|
387
|
+
id: string
|
|
388
|
+
approved?: boolean
|
|
389
|
+
scope?: AssistantApprovalScope | null
|
|
390
|
+
expiresAt?: number
|
|
391
|
+
agentId?: string | null
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export type AssistantApprovalScope = "once" | "always"
|
|
395
|
+
|
|
396
|
+
export type AssistantApprovalDecision = "allow" | "deny"
|
|
397
|
+
|
|
398
|
+
export interface AssistantApprovalRule {
|
|
399
|
+
id: string
|
|
400
|
+
toolName?: string | null
|
|
401
|
+
resourceKind?: string | null
|
|
402
|
+
resourcePattern?: string | null
|
|
403
|
+
decision: AssistantApprovalDecision
|
|
404
|
+
createdAt: number
|
|
405
|
+
updatedAt: number
|
|
406
|
+
expiresAt?: number
|
|
407
|
+
agentId?: string | null
|
|
408
|
+
effect?: string | null
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
export interface AssistantApprovalRuleList {
|
|
412
|
+
rules?: AssistantApprovalRule[] | null
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export interface AssistantChunksByChatRequest {
|
|
416
|
+
chatId: string
|
|
417
|
+
type?: AssistantChunkType | null
|
|
418
|
+
types?: AssistantChunkType[] | null
|
|
419
|
+
fromSeq?: number
|
|
420
|
+
reverse?: boolean
|
|
421
|
+
limit?: number
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
export interface AssistantUploadAttachmentRequest {
|
|
425
|
+
chatId?: string | null
|
|
426
|
+
runId?: string | null
|
|
427
|
+
originDeviceId?: Buffer | null
|
|
428
|
+
fileName?: string | null
|
|
429
|
+
mimeType?: string | null
|
|
430
|
+
data?: Buffer | null
|
|
431
|
+
raw?: boolean
|
|
432
|
+
fileId?: string | null
|
|
433
|
+
totalBytes?: number
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
export interface AssistantUploadAttachmentResponse {
|
|
437
|
+
bytesWritten: number
|
|
438
|
+
attachment?: AssistantChunkContentAttachment | null
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
export interface AssistantDownloadAttachmentRequest {
|
|
442
|
+
blobId: string
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
export interface AssistantDeleteAttachmentRequest {
|
|
446
|
+
chunkId: string
|
|
447
|
+
at: number
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
export interface AssistantDownloadAttachmentResponse {
|
|
451
|
+
data: Buffer
|
|
452
|
+
bytesRead: number
|
|
453
|
+
byteLength: number
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
export interface AssistantTranscodeImageRequest {
|
|
457
|
+
bytes: Buffer
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
export interface AssistantTranscodeImageResponse {
|
|
461
|
+
bytes?: Buffer | null
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
export interface AssistantKnowledge {
|
|
465
|
+
id: string
|
|
466
|
+
chatId: string
|
|
467
|
+
fileName: string
|
|
468
|
+
mimeType: string
|
|
469
|
+
byteLength: number
|
|
470
|
+
blobId: string
|
|
471
|
+
createdAt: number
|
|
472
|
+
updatedAt: number
|
|
473
|
+
deletedAt?: number
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
export interface AssistantKnowledgeList {
|
|
477
|
+
knowledge?: AssistantKnowledge[] | null
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
export type AssistantRagSearchMode = "injection" | "tool"
|
|
481
|
+
|
|
482
|
+
export interface AssistantRagSearchRequest {
|
|
483
|
+
chatId: string
|
|
484
|
+
query: string
|
|
485
|
+
limit?: number
|
|
486
|
+
mode?: AssistantRagSearchMode | null
|
|
487
|
+
attachmentIds?: string[] | null
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
export interface AssistantVectorHit {
|
|
491
|
+
id: string
|
|
492
|
+
content: string
|
|
493
|
+
metadataJson: string
|
|
494
|
+
score: number
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
export interface AssistantRagSearchResponse {
|
|
498
|
+
enabled?: boolean
|
|
499
|
+
searchedCount: number
|
|
500
|
+
indexEmpty?: boolean
|
|
501
|
+
hasKnowledge?: boolean
|
|
502
|
+
targetDocumentId?: string | null
|
|
503
|
+
errorMessage?: string | null
|
|
504
|
+
availableFiles?: string[] | null
|
|
505
|
+
hits?: AssistantVectorHit[] | null
|
|
506
|
+
pendingReferenced?: boolean
|
|
507
|
+
failedFiles?: string[] | null
|
|
508
|
+
pendingFiles?: string[] | null
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
export interface AssistantUploadKnowledgeRequest {
|
|
512
|
+
chatId?: string | null
|
|
513
|
+
fileName?: string | null
|
|
514
|
+
mimeType?: string | null
|
|
515
|
+
data?: Buffer | null
|
|
516
|
+
fileId?: string | null
|
|
517
|
+
totalBytes?: number
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
export interface AssistantUploadKnowledgeResponse {
|
|
521
|
+
bytesWritten: number
|
|
522
|
+
knowledge?: AssistantKnowledge | null
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
export interface AssistantKnowledgeByChatRequest {
|
|
526
|
+
chatId: string
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
export interface AssistantRemoveKnowledgeRequest {
|
|
530
|
+
knowledgeId: string
|
|
531
|
+
at: number
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
export type AssistantIndexingState = "indexing" | "ready" | "failed"
|
|
535
|
+
|
|
536
|
+
export interface AssistantIndexingStatus {
|
|
537
|
+
id: string
|
|
538
|
+
knowledgeId: string
|
|
539
|
+
chatId: string
|
|
540
|
+
status: AssistantIndexingState
|
|
541
|
+
claimId: string
|
|
542
|
+
claimedBy: Buffer
|
|
543
|
+
at: number
|
|
544
|
+
expiresAt: number
|
|
545
|
+
error?: string | null
|
|
546
|
+
claimLive?: boolean
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
export interface AssistantIndexingStatusList {
|
|
550
|
+
statuses?: AssistantIndexingStatus[] | null
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
export type AssistantIndexingProgressStage = "embedding" | "ready" | "failed"
|
|
554
|
+
|
|
555
|
+
export interface AssistantIndexingProgress {
|
|
556
|
+
knowledgeId: string
|
|
557
|
+
chatId: string
|
|
558
|
+
stage: AssistantIndexingProgressStage
|
|
559
|
+
processedChunks: number
|
|
560
|
+
totalChunks: number
|
|
561
|
+
error?: string | null
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
export interface AssistantIndexingProgressList {
|
|
565
|
+
entries?: AssistantIndexingProgress[] | null
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export interface AssistantRunAgentRequest {
|
|
569
|
+
chatId: string
|
|
570
|
+
agentId: string
|
|
571
|
+
parentRunId?: string | null
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
export interface AssistantStopRunRequest {
|
|
575
|
+
chatId: string
|
|
576
|
+
runId: string
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
export interface AssistantDeviceInfo {
|
|
580
|
+
id: Buffer
|
|
581
|
+
supportsKvCacheDeletion?: boolean
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
export interface AssistantDiagnostics {
|
|
585
|
+
stats: unknown
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
export type AssistantMeshStatusState = "idle" | "joining" | "joined" | "leaving" | "error" | "kicked" | "needs-upgrade"
|
|
589
|
+
|
|
590
|
+
export interface AssistantMeshStatus {
|
|
591
|
+
state: AssistantMeshStatusState
|
|
592
|
+
writable?: boolean
|
|
593
|
+
peerCount: number
|
|
594
|
+
peerDeviceIds?: string[] | null
|
|
595
|
+
meshKey?: Buffer | null
|
|
596
|
+
discoveryKey?: Buffer | null
|
|
597
|
+
kickedPending?: boolean
|
|
598
|
+
error?: string | null
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
export type AssistantNetworkStatusState = "online" | "degraded" | "offline"
|
|
602
|
+
|
|
603
|
+
export interface AssistantNetworkStatus {
|
|
604
|
+
state: AssistantNetworkStatusState
|
|
605
|
+
peerCount: number
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
export type AssistantSyncStatusState = "idle" | "syncing" | "synced"
|
|
609
|
+
|
|
610
|
+
export interface AssistantSyncDevice {
|
|
611
|
+
writerKey: Buffer
|
|
612
|
+
deviceId?: Buffer | null
|
|
613
|
+
applied: number
|
|
614
|
+
known: number
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
export interface AssistantSyncStatus {
|
|
618
|
+
state: AssistantSyncStatusState
|
|
619
|
+
pendingOps: number
|
|
620
|
+
devices?: AssistantSyncDevice[] | null
|
|
621
|
+
pendingUploads: number
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
export interface AssistantMeshInviteResponse {
|
|
625
|
+
invite?: string | null
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
export interface AssistantJoinMeshRequest {
|
|
629
|
+
invite: string
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
export interface AssistantListModelsRequest {
|
|
633
|
+
type?: string | null
|
|
634
|
+
cachedOnly?: boolean
|
|
635
|
+
fullRegistry?: boolean
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
export interface AssistantModelInfo {
|
|
639
|
+
name: string
|
|
640
|
+
type: string
|
|
641
|
+
registryPath: string
|
|
642
|
+
registrySource: string
|
|
643
|
+
isCached?: boolean
|
|
644
|
+
isLoaded?: boolean
|
|
645
|
+
expectedSize: number
|
|
646
|
+
actualSize?: number
|
|
647
|
+
supportsImages?: boolean
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
export interface AssistantModelInfoList {
|
|
651
|
+
models?: AssistantModelInfo[] | null
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
export interface AssistantModelCatalogRevision {
|
|
655
|
+
revision: number
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
export interface AssistantSkillRequest {
|
|
659
|
+
agentId?: string | null
|
|
660
|
+
modelName?: string | null
|
|
661
|
+
refresh?: boolean
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
export interface AssistantSkillResponse {
|
|
665
|
+
skills: unknown
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
export interface AssistantDownloadKnowledgeRequest {
|
|
669
|
+
blobId: string
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
export interface AssistantDownloadKnowledgeResponse {
|
|
673
|
+
data: Buffer
|
|
674
|
+
bytesRead: number
|
|
675
|
+
byteLength: number
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
export interface AssistantDelegationCapabilities {
|
|
679
|
+
chat?: boolean
|
|
680
|
+
transcription?: boolean
|
|
681
|
+
tts?: boolean
|
|
682
|
+
embeddings?: boolean
|
|
683
|
+
knowledge?: boolean
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
export interface AssistantDelegation {
|
|
687
|
+
enabled?: boolean
|
|
688
|
+
targetDeviceId?: string | null
|
|
689
|
+
targetAgentId?: string | null
|
|
690
|
+
capabilities: AssistantDelegationCapabilities
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
export interface AssistantAppConfig {
|
|
694
|
+
activeAgentId?: string | null
|
|
695
|
+
activeChatId?: string | null
|
|
696
|
+
thinkingEnabled?: boolean
|
|
697
|
+
ctxSize?: number
|
|
698
|
+
lastModelName?: string | null
|
|
699
|
+
onboardingCompleted?: boolean
|
|
700
|
+
delegation: AssistantDelegation
|
|
701
|
+
pausedModels?: string[] | null
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
export interface AssistantAppConfigUpdate {
|
|
705
|
+
activeAgentId?: string | null
|
|
706
|
+
activeChatId?: string | null
|
|
707
|
+
thinkingEnabled?: boolean
|
|
708
|
+
ctxSize?: number
|
|
709
|
+
onboardingCompleted?: boolean
|
|
710
|
+
delegation: AssistantDelegation
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
export interface AssistantSetModelPausedRequest {
|
|
714
|
+
name: string
|
|
715
|
+
paused?: boolean
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
export type AssistantModelDownloadPhase = "queued" | "downloading" | "paused" | "error"
|
|
719
|
+
|
|
720
|
+
export interface AssistantModelDownload {
|
|
721
|
+
name: string
|
|
722
|
+
phase: AssistantModelDownloadPhase
|
|
723
|
+
percentage?: number
|
|
724
|
+
error?: string | null
|
|
725
|
+
updatedAt: number
|
|
726
|
+
downloaded?: number
|
|
727
|
+
total?: number
|
|
728
|
+
bytesPerSecond?: number
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
export interface AssistantModelDownloadList {
|
|
732
|
+
downloads?: AssistantModelDownload[] | null
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
export interface AssistantSetModelDownloadStatusRequest {
|
|
736
|
+
name: string
|
|
737
|
+
phase: AssistantModelDownloadPhase
|
|
738
|
+
percentage?: number
|
|
739
|
+
error?: string | null
|
|
740
|
+
downloaded?: number
|
|
741
|
+
total?: number
|
|
742
|
+
bytesPerSecond?: number
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
export interface AssistantClearModelDownloadRequest {
|
|
746
|
+
name: string
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
export type AssistantLogLevel = "debug" | "info" | "warn" | "error"
|
|
750
|
+
|
|
751
|
+
export type AssistantLogOrigin = "core" | "client"
|
|
752
|
+
|
|
753
|
+
export interface AssistantLogLine {
|
|
754
|
+
seq: number
|
|
755
|
+
at: number
|
|
756
|
+
level: AssistantLogLevel
|
|
757
|
+
scope?: string[] | null
|
|
758
|
+
message: string
|
|
759
|
+
origin: AssistantLogOrigin
|
|
760
|
+
originDeviceId?: Buffer | null
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
export interface AssistantLogLineList {
|
|
764
|
+
lines?: AssistantLogLine[] | null
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
export interface AssistantLogsWatchRequest {
|
|
768
|
+
level?: AssistantLogLevel | null
|
|
769
|
+
scope?: string[] | null
|
|
770
|
+
backfill?: number
|
|
771
|
+
origin?: AssistantLogOrigin | null
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
export interface AssistantWriteLogRequest {
|
|
775
|
+
level: AssistantLogLevel
|
|
776
|
+
scope?: string[] | null
|
|
777
|
+
message: string
|
|
778
|
+
at: number
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
export interface AssistantTranscribeRequest {
|
|
782
|
+
audio: Buffer
|
|
783
|
+
model?: string | null
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
export interface AssistantTranscribeResponse {
|
|
787
|
+
text: string
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
export interface AssistantSpeakRequest {
|
|
791
|
+
text: string
|
|
792
|
+
model?: string | null
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
export interface AssistantSpeakResponse {
|
|
796
|
+
audio: Buffer
|
|
797
|
+
sampleRate: number
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
export interface AssistantSkillBinaryRequirement {
|
|
801
|
+
bin: string
|
|
802
|
+
minVersion?: string | null
|
|
803
|
+
command?: string | null
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
export interface AssistantSkillRequirements {
|
|
807
|
+
binaries?: AssistantSkillBinaryRequirement[] | null
|
|
808
|
+
credentials?: string[] | null
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
export interface AssistantSkillInstallStep {
|
|
812
|
+
id: string
|
|
813
|
+
kind: string
|
|
814
|
+
label: string
|
|
815
|
+
formula?: string | null
|
|
816
|
+
command?: string | null
|
|
817
|
+
manual?: boolean
|
|
818
|
+
bins?: string[] | null
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
export interface AssistantSkillSetupField {
|
|
822
|
+
key: string
|
|
823
|
+
label: string
|
|
824
|
+
placeholder?: string | null
|
|
825
|
+
secret?: boolean
|
|
826
|
+
required?: boolean
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
export type AssistantSkillSetupRouteKind = "oauth" | "token" | "install" | "picker" | "instructions"
|
|
830
|
+
|
|
831
|
+
export interface AssistantSkillSetupRoute {
|
|
832
|
+
kind: AssistantSkillSetupRouteKind
|
|
833
|
+
label: string
|
|
834
|
+
provider?: string | null
|
|
835
|
+
credentialKey?: string | null
|
|
836
|
+
description?: string | null
|
|
837
|
+
helpUrl?: string | null
|
|
838
|
+
steps?: string[] | null
|
|
839
|
+
configSteps?: string[] | null
|
|
840
|
+
fields?: AssistantSkillSetupField[] | null
|
|
841
|
+
satisfied?: boolean
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
export interface AssistantSkillSetup {
|
|
845
|
+
summary?: string | null
|
|
846
|
+
routes?: AssistantSkillSetupRoute[] | null
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
export interface AssistantSkill {
|
|
850
|
+
name: string
|
|
851
|
+
description: string
|
|
852
|
+
tools?: string[] | null
|
|
853
|
+
credentials?: string[] | null
|
|
854
|
+
allowList?: string[] | null
|
|
855
|
+
platforms?: string[] | null
|
|
856
|
+
requirements?: AssistantSkillRequirements | null
|
|
857
|
+
install?: AssistantSkillInstallStep[] | null
|
|
858
|
+
setup?: AssistantSkillSetup | null
|
|
859
|
+
status: string
|
|
860
|
+
stub?: boolean
|
|
861
|
+
minCapabilityProfile?: string | null
|
|
862
|
+
emoji?: string | null
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
export interface AssistantSkillCatalogResponse {
|
|
866
|
+
skills: AssistantSkill[]
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
export interface AssistantToolCatalogEntry {
|
|
870
|
+
name: string
|
|
871
|
+
description: string
|
|
872
|
+
skillGated?: boolean
|
|
873
|
+
scopeRequired?: boolean
|
|
874
|
+
toolset?: string | null
|
|
875
|
+
promptChars?: number
|
|
876
|
+
rootsRequired?: boolean
|
|
877
|
+
writeRootsRequired?: boolean
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
export interface AssistantToolCatalogResponse {
|
|
881
|
+
tools: AssistantToolCatalogEntry[]
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
export interface AssistantSpeakStreamFrame {
|
|
885
|
+
text: string
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
export type AssistantApprovalMode = "ask" | "skip-all"
|
|
889
|
+
|
|
890
|
+
export type AssistantAppChannel = "dev" | "staging" | "prod"
|
|
891
|
+
|
|
892
|
+
export type AssistantSearchChatsMatch = "title" | "content"
|
|
893
|
+
|
|
894
|
+
export interface AssistantSearchChatsRequest {
|
|
895
|
+
query: string
|
|
896
|
+
limit?: number
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
export interface AssistantSearchChatsHit {
|
|
900
|
+
chat: AssistantChat
|
|
901
|
+
match: AssistantSearchChatsMatch
|
|
902
|
+
snippet: string
|
|
903
|
+
chunkId: string
|
|
904
|
+
runId: string
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
export interface AssistantSearchChatsResponse {
|
|
908
|
+
hits?: AssistantSearchChatsHit[] | null
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
export type AssistantMediaKind = "audio" | "image" | "video" | "other"
|
|
912
|
+
|
|
913
|
+
export type AssistantAttachmentOrigin = "uploaded" | "generated"
|
|
914
|
+
|
|
915
|
+
export interface AssistantAttachmentsByKindRequest {
|
|
916
|
+
kind: AssistantMediaKind
|
|
917
|
+
fromCreatedAt?: number
|
|
918
|
+
reverse?: boolean
|
|
919
|
+
limit?: number
|
|
920
|
+
origin?: AssistantAttachmentOrigin | null
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
export interface AssistantDeleteModelRequest {
|
|
924
|
+
name: string
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
export interface AssistantDeleteModelResponse {
|
|
928
|
+
name: string
|
|
929
|
+
removed: number
|
|
930
|
+
freedBytes: number
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
export type AssistantKvCacheDeletionStatus = "success" | "failure" | "unsupported"
|
|
934
|
+
|
|
935
|
+
export interface AssistantKvCacheDeletionResponse {
|
|
936
|
+
status: AssistantKvCacheDeletionStatus
|
|
937
|
+
error?: string | null
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
export interface AssistantCustomModel {
|
|
941
|
+
name: string
|
|
942
|
+
src: string
|
|
943
|
+
mmprojSrc?: string | null
|
|
944
|
+
supportsTools?: boolean
|
|
945
|
+
supportsThinking?: boolean
|
|
946
|
+
supportsVision?: boolean
|
|
947
|
+
expectedSize?: number
|
|
948
|
+
createdAt: number
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
export interface AssistantCustomModelList {
|
|
952
|
+
models?: AssistantCustomModel[] | null
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
export interface AssistantAddCustomModelRequest {
|
|
956
|
+
name: string
|
|
957
|
+
src: string
|
|
958
|
+
mmprojSrc?: string | null
|
|
959
|
+
supportsTools?: boolean
|
|
960
|
+
supportsThinking?: boolean
|
|
961
|
+
supportsVision?: boolean
|
|
962
|
+
expectedSize?: number
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
export interface AssistantRemoveCustomModelRequest {
|
|
966
|
+
name: string
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
export interface AssistantToolConfigs {
|
|
970
|
+
agentId: string
|
|
971
|
+
toolName: string
|
|
972
|
+
settings: unknown
|
|
973
|
+
createdAt: number
|
|
974
|
+
updatedAt: number
|
|
975
|
+
deletedAt?: number
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
export interface AssistantToolConfigsList {
|
|
979
|
+
configs?: AssistantToolConfigs[] | null
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
export interface AssistantSetToolConfigsRequest {
|
|
983
|
+
agentId: string
|
|
984
|
+
toolName: string
|
|
985
|
+
settings: unknown
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
export interface AssistantDeleteToolConfigsRequest {
|
|
989
|
+
agentId: string
|
|
990
|
+
toolName: string
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
export interface AssistantListToolConfigsRequest {
|
|
994
|
+
agentId: string
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
export interface AssistantToolActivityEntry {
|
|
998
|
+
id: string
|
|
999
|
+
agentId: string
|
|
1000
|
+
deviceId: string
|
|
1001
|
+
chatId?: string | null
|
|
1002
|
+
runId?: string | null
|
|
1003
|
+
toolName: string
|
|
1004
|
+
arguments?: unknown | null
|
|
1005
|
+
resource?: AssistantResourceDescriptor | null
|
|
1006
|
+
effect?: string | null
|
|
1007
|
+
decision: string
|
|
1008
|
+
at: number
|
|
1009
|
+
seq: number
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
export interface AssistantToolActivityList {
|
|
1013
|
+
activities?: AssistantToolActivityEntry[] | null
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
export interface AssistantListToolActivityRequest {
|
|
1017
|
+
agentId: string
|
|
1018
|
+
limit?: number
|
|
1019
|
+
beforeSeq?: number
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
export interface AssistantRecordToolActivityRequest {
|
|
1023
|
+
agentId: string
|
|
1024
|
+
toolName: string
|
|
1025
|
+
decision: string
|
|
1026
|
+
effect?: string | null
|
|
1027
|
+
arguments?: unknown | null
|
|
1028
|
+
resource?: AssistantResourceDescriptor | null
|
|
1029
|
+
chatId?: string | null
|
|
1030
|
+
runId?: string | null
|
|
1031
|
+
at: number
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
export interface AssistantToolActivityId {
|
|
1035
|
+
id: string
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
export type AssistantChatActivityState = "queued" | "running" | "generating-image" | "generating-audio" | "transcribing-audio" | "awaiting-approval"
|
|
1039
|
+
|
|
1040
|
+
export interface AssistantChatActivity {
|
|
1041
|
+
id: string
|
|
1042
|
+
activityState: AssistantChatActivityState
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
export interface AssistantChatActivityList {
|
|
1046
|
+
activities?: AssistantChatActivity[] | null
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
export interface AssistantChatActivityRequest {
|
|
1050
|
+
chatIds?: string[] | null
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
export interface AssistantToolReportEntry {
|
|
1054
|
+
name: string
|
|
1055
|
+
promptChars: number
|
|
1056
|
+
toolset?: string | null
|
|
1057
|
+
skillGated?: boolean
|
|
1058
|
+
scopeRequired?: boolean
|
|
1059
|
+
rootsRequired?: boolean
|
|
1060
|
+
writeRootsRequired?: boolean
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
export interface AssistantSendMessageRequest {
|
|
1064
|
+
text: string
|
|
1065
|
+
chatId?: string | null
|
|
1066
|
+
agentId?: string | null
|
|
1067
|
+
title?: string | null
|
|
1068
|
+
parentRunId?: string | null
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
export interface AssistantSendMessageResponse {
|
|
1072
|
+
chatId: string
|
|
1073
|
+
chunkId: string
|
|
1074
|
+
runId: string
|
|
1075
|
+
chat?: AssistantChat | null
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
export interface AssistantIdentityPhrase {
|
|
1079
|
+
phrase: string
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
export interface AssistantManagedSkill {
|
|
1083
|
+
name: string
|
|
1084
|
+
origin: string
|
|
1085
|
+
overridesBase?: boolean
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
export interface AssistantManagedSkillsResponse {
|
|
1089
|
+
skills: AssistantManagedSkill[]
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
export interface AssistantSkillNameRequest {
|
|
1093
|
+
name: string
|
|
1094
|
+
agentId?: string | null
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
export interface AssistantSkillFileResponse {
|
|
1098
|
+
found?: boolean
|
|
1099
|
+
content?: string | null
|
|
1100
|
+
origin?: string | null
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
export interface AssistantWriteSkillRequest {
|
|
1104
|
+
name: string
|
|
1105
|
+
content: string
|
|
1106
|
+
agentId?: string | null
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
export interface AssistantCopySkillResponse {
|
|
1110
|
+
copied?: boolean
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
export interface AssistantDeleteSkillResponse {
|
|
1114
|
+
removed?: boolean
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
export interface AssistantChatGroup {
|
|
1118
|
+
id: string
|
|
1119
|
+
name: string
|
|
1120
|
+
createdAt: number
|
|
1121
|
+
updatedAt: number
|
|
1122
|
+
deletedAt?: number
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
export interface AssistantChatGroupList {
|
|
1126
|
+
groups?: AssistantChatGroup[] | null
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
export interface AssistantChatGroupId {
|
|
1130
|
+
id: string
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
export interface AssistantCreateChatGroupRequest {
|
|
1134
|
+
name: string
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
export interface AssistantRenameChatGroupRequest {
|
|
1138
|
+
id: string
|
|
1139
|
+
name: string
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
export interface AssistantSetChatGroupRequest {
|
|
1143
|
+
id: string
|
|
1144
|
+
groupId?: string | null
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
export interface AssistantChunkContentCompactionV1 {
|
|
1148
|
+
summary: string
|
|
1149
|
+
throughId: string
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
export type AssistantChunkContentCompaction = (AssistantChunkContentCompactionV1 & { version?: number })
|
|
1153
|
+
|
|
1154
|
+
export interface AssistantSkillSecretValue {
|
|
1155
|
+
key: string
|
|
1156
|
+
value: string
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
export interface AssistantPushSkillSecretRequest {
|
|
1160
|
+
agentId: string
|
|
1161
|
+
skillName: string
|
|
1162
|
+
values: AssistantSkillSecretValue[]
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
export interface AssistantSkillSecretHandoff {
|
|
1166
|
+
id: number
|
|
1167
|
+
request: AssistantPushSkillSecretRequest
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
export interface AssistantSkillSecretHandoffAck {
|
|
1171
|
+
id: number
|
|
1172
|
+
error?: string | null
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
export interface AssistantListManagedSkillsRequest {
|
|
1176
|
+
agentId?: string | null
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
export interface AssistantSkillOverlayOp {
|
|
1180
|
+
op: string
|
|
1181
|
+
agentId?: string | null
|
|
1182
|
+
name?: string | null
|
|
1183
|
+
content?: string | null
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
export interface AssistantSkillOverlayHandoff {
|
|
1187
|
+
id: number
|
|
1188
|
+
request: AssistantSkillOverlayOp
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
export interface AssistantSkillOverlayHandoffAck {
|
|
1192
|
+
id: number
|
|
1193
|
+
error?: string | null
|
|
1194
|
+
skills?: AssistantManagedSkill[] | null
|
|
1195
|
+
found?: boolean
|
|
1196
|
+
content?: string | null
|
|
1197
|
+
origin?: string | null
|
|
1198
|
+
ok?: boolean
|
|
1199
|
+
copied?: boolean
|
|
1200
|
+
removed?: boolean
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
export type AssistantFileState = "uploading" | "pending" | "running" | "ready" | "failed" | "cancelled" | "not-applicable"
|
|
1204
|
+
|
|
1205
|
+
export type AssistantFileProgressUnit = "bytes" | "chunks"
|
|
1206
|
+
|
|
1207
|
+
export interface AssistantFileProgress {
|
|
1208
|
+
completed: number
|
|
1209
|
+
total?: number
|
|
1210
|
+
unit: AssistantFileProgressUnit
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
export interface AssistantFileProcessorStatus {
|
|
1214
|
+
processorId: string
|
|
1215
|
+
state: AssistantFileState
|
|
1216
|
+
reason?: string | null
|
|
1217
|
+
retryAt?: number
|
|
1218
|
+
claimedBy?: Buffer | null
|
|
1219
|
+
agentId?: string | null
|
|
1220
|
+
expiresAt?: number
|
|
1221
|
+
progress?: AssistantFileProgress | null
|
|
1222
|
+
published?: boolean
|
|
1223
|
+
outputId?: string | null
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
export interface AssistantFileStatus {
|
|
1227
|
+
fileId: string
|
|
1228
|
+
chatId: string
|
|
1229
|
+
fileName: string
|
|
1230
|
+
mimeType: string
|
|
1231
|
+
state: AssistantFileState
|
|
1232
|
+
reason?: string | null
|
|
1233
|
+
uploadProgress?: AssistantFileProgress | null
|
|
1234
|
+
processors: AssistantFileProcessorStatus[]
|
|
1235
|
+
readyForChat?: boolean
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
export interface AssistantFileStatusList {
|
|
1239
|
+
files: AssistantFileStatus[]
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
export interface AssistantCompactChatResponse {
|
|
1243
|
+
compacted?: boolean
|
|
1244
|
+
reason?: string | null
|
|
1245
|
+
foldedTurns?: number
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
export type AssistantNotificationKind = "assistant-reply" | "approval-required" | "run-failed" | "user-message" | "model-downloaded"
|
|
1249
|
+
|
|
1250
|
+
export interface AssistantNotification {
|
|
1251
|
+
chatId?: string
|
|
1252
|
+
agentId?: string
|
|
1253
|
+
chunkId?: string
|
|
1254
|
+
kind: AssistantNotificationKind
|
|
1255
|
+
seq?: number
|
|
1256
|
+
createdAt: number
|
|
1257
|
+
preview?: string | null
|
|
1258
|
+
agentName?: string | null
|
|
1259
|
+
senderDeviceId?: Buffer | null
|
|
1260
|
+
senderMemberId?: Buffer | null
|
|
1261
|
+
senderName?: string | null
|
|
1262
|
+
chatTitle?: string | null
|
|
1263
|
+
notificationId?: string | null
|
|
1264
|
+
modelName?: string | null
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
export interface AssistantNotificationList {
|
|
1268
|
+
notifications?: AssistantNotification[] | null
|
|
1269
|
+
truncated?: boolean
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
export interface AssistantNotificationRequest {
|
|
1273
|
+
limit?: number
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
export interface AssistantNotificationAck {
|
|
1277
|
+
notificationId?: string | null
|
|
1278
|
+
chatId?: string
|
|
1279
|
+
seq?: number
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
export interface AssistantModelTransferStart {
|
|
1283
|
+
name: string
|
|
1284
|
+
transferred?: boolean
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
export interface AssistantModelTransfer {
|
|
1288
|
+
name: string
|
|
1289
|
+
transferId: string
|
|
1290
|
+
downloaded?: boolean
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
export interface AssistantFileReadRequest {
|
|
1294
|
+
chatId: string
|
|
1295
|
+
fileId: string
|
|
1296
|
+
metadataOnly?: boolean
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
export interface AssistantFileReadFrame {
|
|
1300
|
+
metadata?: AssistantChunkContentAttachment | null
|
|
1301
|
+
data?: Buffer | null
|
|
1302
|
+
bytesRead?: number
|
|
1303
|
+
byteLength?: number
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
export interface AssistantFileRequest {
|
|
1307
|
+
chatId: string
|
|
1308
|
+
fileId: string
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
export interface AssistantFilePreviewResponse {
|
|
1312
|
+
outputId?: string | null
|
|
1313
|
+
mimeType?: string | null
|
|
1314
|
+
data?: Buffer | null
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
export interface AssistantFileRetryRequest {
|
|
1318
|
+
chatId: string
|
|
1319
|
+
fileId: string
|
|
1320
|
+
processorId: string
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
export interface SchemaTypes {
|
|
1324
|
+
"@assistant/empty": AssistantEmpty
|
|
1325
|
+
"@assistant/ok-response": AssistantOkResponse
|
|
1326
|
+
"@assistant/config-key": AssistantConfigKey
|
|
1327
|
+
"@assistant/config-value": AssistantConfigValue
|
|
1328
|
+
"@assistant/config-set-request": AssistantConfigSetRequest
|
|
1329
|
+
"@assistant/config-set-response": AssistantConfigSetResponse
|
|
1330
|
+
"@assistant/agent-reasoning": AssistantAgentReasoning
|
|
1331
|
+
"@assistant/image-model-choice": AssistantImageModelChoice
|
|
1332
|
+
"@assistant/agent-icon-name": AssistantAgentIconName
|
|
1333
|
+
"@assistant/tools-access-scope": AssistantToolsAccessScope
|
|
1334
|
+
"@assistant/skills-access-scope": AssistantSkillsAccessScope
|
|
1335
|
+
"@assistant/capability-profile": AssistantCapabilityProfile
|
|
1336
|
+
"@assistant/agent": AssistantAgent
|
|
1337
|
+
"@assistant/agent-list": AssistantAgentList
|
|
1338
|
+
"@assistant/agent-id": AssistantAgentId
|
|
1339
|
+
"@assistant/create-agent-request": AssistantCreateAgentRequest
|
|
1340
|
+
"@assistant/update-agent-request": AssistantUpdateAgentRequest
|
|
1341
|
+
"@assistant/chat": AssistantChat
|
|
1342
|
+
"@assistant/chat-list": AssistantChatList
|
|
1343
|
+
"@assistant/chat-id": AssistantChatId
|
|
1344
|
+
"@assistant/create-chat-request": AssistantCreateChatRequest
|
|
1345
|
+
"@assistant/rename-chat-request": AssistantRenameChatRequest
|
|
1346
|
+
"@assistant/set-chat-flag-request": AssistantSetChatFlagRequest
|
|
1347
|
+
"@assistant/device": AssistantDevice
|
|
1348
|
+
"@assistant/device-list": AssistantDeviceList
|
|
1349
|
+
"@assistant/save-device-capabilities-request": AssistantSaveDeviceCapabilitiesRequest
|
|
1350
|
+
"@assistant/device-id": AssistantDeviceId
|
|
1351
|
+
"@assistant/rename-device-request": AssistantRenameDeviceRequest
|
|
1352
|
+
"@assistant/save-device-profile-request": AssistantSaveDeviceProfileRequest
|
|
1353
|
+
"@assistant/chunk-type": AssistantChunkType
|
|
1354
|
+
"@assistant/run-state": AssistantRunState
|
|
1355
|
+
"@assistant/approval-status": AssistantApprovalStatus
|
|
1356
|
+
"@assistant/resource-descriptor": AssistantResourceDescriptor
|
|
1357
|
+
"@assistant/progress-phase": AssistantProgressPhase
|
|
1358
|
+
"@assistant/run-progress": AssistantRunProgress
|
|
1359
|
+
"@assistant/chunk-content-run-status-v1": AssistantChunkContentRunStatusV1
|
|
1360
|
+
"@assistant/chunk-content-run-status": AssistantChunkContentRunStatus
|
|
1361
|
+
"@assistant/chunk-content-approval-request-v1": AssistantChunkContentApprovalRequestV1
|
|
1362
|
+
"@assistant/chunk-content-approval-request": AssistantChunkContentApprovalRequest
|
|
1363
|
+
"@assistant/chunk-content-user-message-v1": AssistantChunkContentUserMessageV1
|
|
1364
|
+
"@assistant/chunk-content-user-message": AssistantChunkContentUserMessage
|
|
1365
|
+
"@assistant/chunk-content-assistant-v1": AssistantChunkContentAssistantV1
|
|
1366
|
+
"@assistant/chunk-content-assistant": AssistantChunkContentAssistant
|
|
1367
|
+
"@assistant/chunk-content-thinking-v1": AssistantChunkContentThinkingV1
|
|
1368
|
+
"@assistant/chunk-content-thinking": AssistantChunkContentThinking
|
|
1369
|
+
"@assistant/chunk-content-tool-call-v1": AssistantChunkContentToolCallV1
|
|
1370
|
+
"@assistant/chunk-content-tool-call": AssistantChunkContentToolCall
|
|
1371
|
+
"@assistant/chunk-content-tool-result-v1": AssistantChunkContentToolResultV1
|
|
1372
|
+
"@assistant/chunk-content-tool-result": AssistantChunkContentToolResult
|
|
1373
|
+
"@assistant/chunk-content-attachment-v1": AssistantChunkContentAttachmentV1
|
|
1374
|
+
"@assistant/chunk-content-attachment": AssistantChunkContentAttachment
|
|
1375
|
+
"@assistant/chunk-content-run-request-v1": AssistantChunkContentRunRequestV1
|
|
1376
|
+
"@assistant/chunk-content-run-request": AssistantChunkContentRunRequest
|
|
1377
|
+
"@assistant/rag-source": AssistantRagSource
|
|
1378
|
+
"@assistant/chunk-content-sources-v1": AssistantChunkContentSourcesV1
|
|
1379
|
+
"@assistant/chunk-content-sources": AssistantChunkContentSources
|
|
1380
|
+
"@assistant/chunk-id": AssistantChunkId
|
|
1381
|
+
"@assistant/chunk-v1": AssistantChunkV1
|
|
1382
|
+
"@assistant/chunk": AssistantChunk
|
|
1383
|
+
"@assistant/chunk-list": AssistantChunkList
|
|
1384
|
+
"@assistant/append-chunk-request": AssistantAppendChunkRequest
|
|
1385
|
+
"@assistant/update-chunk-request": AssistantUpdateChunkRequest
|
|
1386
|
+
"@assistant/resolve-approval-request": AssistantResolveApprovalRequest
|
|
1387
|
+
"@assistant/approval-scope": AssistantApprovalScope
|
|
1388
|
+
"@assistant/approval-decision": AssistantApprovalDecision
|
|
1389
|
+
"@assistant/approval-rule": AssistantApprovalRule
|
|
1390
|
+
"@assistant/approval-rule-list": AssistantApprovalRuleList
|
|
1391
|
+
"@assistant/chunks-by-chat-request": AssistantChunksByChatRequest
|
|
1392
|
+
"@assistant/upload-attachment-request": AssistantUploadAttachmentRequest
|
|
1393
|
+
"@assistant/upload-attachment-response": AssistantUploadAttachmentResponse
|
|
1394
|
+
"@assistant/download-attachment-request": AssistantDownloadAttachmentRequest
|
|
1395
|
+
"@assistant/delete-attachment-request": AssistantDeleteAttachmentRequest
|
|
1396
|
+
"@assistant/download-attachment-response": AssistantDownloadAttachmentResponse
|
|
1397
|
+
"@assistant/transcode-image-request": AssistantTranscodeImageRequest
|
|
1398
|
+
"@assistant/transcode-image-response": AssistantTranscodeImageResponse
|
|
1399
|
+
"@assistant/knowledge": AssistantKnowledge
|
|
1400
|
+
"@assistant/knowledge-list": AssistantKnowledgeList
|
|
1401
|
+
"@assistant/rag-search-mode": AssistantRagSearchMode
|
|
1402
|
+
"@assistant/rag-search-request": AssistantRagSearchRequest
|
|
1403
|
+
"@assistant/vector-hit": AssistantVectorHit
|
|
1404
|
+
"@assistant/rag-search-response": AssistantRagSearchResponse
|
|
1405
|
+
"@assistant/upload-knowledge-request": AssistantUploadKnowledgeRequest
|
|
1406
|
+
"@assistant/upload-knowledge-response": AssistantUploadKnowledgeResponse
|
|
1407
|
+
"@assistant/knowledge-by-chat-request": AssistantKnowledgeByChatRequest
|
|
1408
|
+
"@assistant/remove-knowledge-request": AssistantRemoveKnowledgeRequest
|
|
1409
|
+
"@assistant/indexing-state": AssistantIndexingState
|
|
1410
|
+
"@assistant/indexing-status": AssistantIndexingStatus
|
|
1411
|
+
"@assistant/indexing-status-list": AssistantIndexingStatusList
|
|
1412
|
+
"@assistant/indexing-progress-stage": AssistantIndexingProgressStage
|
|
1413
|
+
"@assistant/indexing-progress": AssistantIndexingProgress
|
|
1414
|
+
"@assistant/indexing-progress-list": AssistantIndexingProgressList
|
|
1415
|
+
"@assistant/run-agent-request": AssistantRunAgentRequest
|
|
1416
|
+
"@assistant/stop-run-request": AssistantStopRunRequest
|
|
1417
|
+
"@assistant/device-info": AssistantDeviceInfo
|
|
1418
|
+
"@assistant/diagnostics": AssistantDiagnostics
|
|
1419
|
+
"@assistant/mesh-status-state": AssistantMeshStatusState
|
|
1420
|
+
"@assistant/mesh-status": AssistantMeshStatus
|
|
1421
|
+
"@assistant/network-status-state": AssistantNetworkStatusState
|
|
1422
|
+
"@assistant/network-status": AssistantNetworkStatus
|
|
1423
|
+
"@assistant/sync-status-state": AssistantSyncStatusState
|
|
1424
|
+
"@assistant/sync-device": AssistantSyncDevice
|
|
1425
|
+
"@assistant/sync-status": AssistantSyncStatus
|
|
1426
|
+
"@assistant/mesh-invite-response": AssistantMeshInviteResponse
|
|
1427
|
+
"@assistant/join-mesh-request": AssistantJoinMeshRequest
|
|
1428
|
+
"@assistant/list-models-request": AssistantListModelsRequest
|
|
1429
|
+
"@assistant/model-info": AssistantModelInfo
|
|
1430
|
+
"@assistant/model-info-list": AssistantModelInfoList
|
|
1431
|
+
"@assistant/model-catalog-revision": AssistantModelCatalogRevision
|
|
1432
|
+
"@assistant/skill-request": AssistantSkillRequest
|
|
1433
|
+
"@assistant/skill-response": AssistantSkillResponse
|
|
1434
|
+
"@assistant/download-knowledge-request": AssistantDownloadKnowledgeRequest
|
|
1435
|
+
"@assistant/download-knowledge-response": AssistantDownloadKnowledgeResponse
|
|
1436
|
+
"@assistant/delegation-capabilities": AssistantDelegationCapabilities
|
|
1437
|
+
"@assistant/delegation": AssistantDelegation
|
|
1438
|
+
"@assistant/app-config": AssistantAppConfig
|
|
1439
|
+
"@assistant/app-config-update": AssistantAppConfigUpdate
|
|
1440
|
+
"@assistant/set-model-paused-request": AssistantSetModelPausedRequest
|
|
1441
|
+
"@assistant/model-download-phase": AssistantModelDownloadPhase
|
|
1442
|
+
"@assistant/model-download": AssistantModelDownload
|
|
1443
|
+
"@assistant/model-download-list": AssistantModelDownloadList
|
|
1444
|
+
"@assistant/set-model-download-status-request": AssistantSetModelDownloadStatusRequest
|
|
1445
|
+
"@assistant/clear-model-download-request": AssistantClearModelDownloadRequest
|
|
1446
|
+
"@assistant/log-level": AssistantLogLevel
|
|
1447
|
+
"@assistant/log-origin": AssistantLogOrigin
|
|
1448
|
+
"@assistant/log-line": AssistantLogLine
|
|
1449
|
+
"@assistant/log-line-list": AssistantLogLineList
|
|
1450
|
+
"@assistant/logs-watch-request": AssistantLogsWatchRequest
|
|
1451
|
+
"@assistant/write-log-request": AssistantWriteLogRequest
|
|
1452
|
+
"@assistant/transcribe-request": AssistantTranscribeRequest
|
|
1453
|
+
"@assistant/transcribe-response": AssistantTranscribeResponse
|
|
1454
|
+
"@assistant/speak-request": AssistantSpeakRequest
|
|
1455
|
+
"@assistant/speak-response": AssistantSpeakResponse
|
|
1456
|
+
"@assistant/skill-binary-requirement": AssistantSkillBinaryRequirement
|
|
1457
|
+
"@assistant/skill-requirements": AssistantSkillRequirements
|
|
1458
|
+
"@assistant/skill-install-step": AssistantSkillInstallStep
|
|
1459
|
+
"@assistant/skill-setup-field": AssistantSkillSetupField
|
|
1460
|
+
"@assistant/skill-setup-route-kind": AssistantSkillSetupRouteKind
|
|
1461
|
+
"@assistant/skill-setup-route": AssistantSkillSetupRoute
|
|
1462
|
+
"@assistant/skill-setup": AssistantSkillSetup
|
|
1463
|
+
"@assistant/skill": AssistantSkill
|
|
1464
|
+
"@assistant/skill-catalog-response": AssistantSkillCatalogResponse
|
|
1465
|
+
"@assistant/tool-catalog-entry": AssistantToolCatalogEntry
|
|
1466
|
+
"@assistant/tool-catalog-response": AssistantToolCatalogResponse
|
|
1467
|
+
"@assistant/speak-stream-frame": AssistantSpeakStreamFrame
|
|
1468
|
+
"@assistant/approval-mode": AssistantApprovalMode
|
|
1469
|
+
"@assistant/app-channel": AssistantAppChannel
|
|
1470
|
+
"@assistant/search-chats-match": AssistantSearchChatsMatch
|
|
1471
|
+
"@assistant/search-chats-request": AssistantSearchChatsRequest
|
|
1472
|
+
"@assistant/search-chats-hit": AssistantSearchChatsHit
|
|
1473
|
+
"@assistant/search-chats-response": AssistantSearchChatsResponse
|
|
1474
|
+
"@assistant/media-kind": AssistantMediaKind
|
|
1475
|
+
"@assistant/attachment-origin": AssistantAttachmentOrigin
|
|
1476
|
+
"@assistant/attachments-by-kind-request": AssistantAttachmentsByKindRequest
|
|
1477
|
+
"@assistant/delete-model-request": AssistantDeleteModelRequest
|
|
1478
|
+
"@assistant/delete-model-response": AssistantDeleteModelResponse
|
|
1479
|
+
"@assistant/kv-cache-deletion-status": AssistantKvCacheDeletionStatus
|
|
1480
|
+
"@assistant/kv-cache-deletion-response": AssistantKvCacheDeletionResponse
|
|
1481
|
+
"@assistant/custom-model": AssistantCustomModel
|
|
1482
|
+
"@assistant/custom-model-list": AssistantCustomModelList
|
|
1483
|
+
"@assistant/add-custom-model-request": AssistantAddCustomModelRequest
|
|
1484
|
+
"@assistant/remove-custom-model-request": AssistantRemoveCustomModelRequest
|
|
1485
|
+
"@assistant/tool-configs": AssistantToolConfigs
|
|
1486
|
+
"@assistant/tool-configs-list": AssistantToolConfigsList
|
|
1487
|
+
"@assistant/set-tool-configs-request": AssistantSetToolConfigsRequest
|
|
1488
|
+
"@assistant/delete-tool-configs-request": AssistantDeleteToolConfigsRequest
|
|
1489
|
+
"@assistant/list-tool-configs-request": AssistantListToolConfigsRequest
|
|
1490
|
+
"@assistant/tool-activity-entry": AssistantToolActivityEntry
|
|
1491
|
+
"@assistant/tool-activity-list": AssistantToolActivityList
|
|
1492
|
+
"@assistant/list-tool-activity-request": AssistantListToolActivityRequest
|
|
1493
|
+
"@assistant/record-tool-activity-request": AssistantRecordToolActivityRequest
|
|
1494
|
+
"@assistant/tool-activity-id": AssistantToolActivityId
|
|
1495
|
+
"@assistant/chat-activity-state": AssistantChatActivityState
|
|
1496
|
+
"@assistant/chat-activity": AssistantChatActivity
|
|
1497
|
+
"@assistant/chat-activity-list": AssistantChatActivityList
|
|
1498
|
+
"@assistant/chat-activity-request": AssistantChatActivityRequest
|
|
1499
|
+
"@assistant/tool-report-entry": AssistantToolReportEntry
|
|
1500
|
+
"@assistant/send-message-request": AssistantSendMessageRequest
|
|
1501
|
+
"@assistant/send-message-response": AssistantSendMessageResponse
|
|
1502
|
+
"@assistant/identity-phrase": AssistantIdentityPhrase
|
|
1503
|
+
"@assistant/managed-skill": AssistantManagedSkill
|
|
1504
|
+
"@assistant/managed-skills-response": AssistantManagedSkillsResponse
|
|
1505
|
+
"@assistant/skill-name-request": AssistantSkillNameRequest
|
|
1506
|
+
"@assistant/skill-file-response": AssistantSkillFileResponse
|
|
1507
|
+
"@assistant/write-skill-request": AssistantWriteSkillRequest
|
|
1508
|
+
"@assistant/copy-skill-response": AssistantCopySkillResponse
|
|
1509
|
+
"@assistant/delete-skill-response": AssistantDeleteSkillResponse
|
|
1510
|
+
"@assistant/chat-group": AssistantChatGroup
|
|
1511
|
+
"@assistant/chat-group-list": AssistantChatGroupList
|
|
1512
|
+
"@assistant/chat-group-id": AssistantChatGroupId
|
|
1513
|
+
"@assistant/create-chat-group-request": AssistantCreateChatGroupRequest
|
|
1514
|
+
"@assistant/rename-chat-group-request": AssistantRenameChatGroupRequest
|
|
1515
|
+
"@assistant/set-chat-group-request": AssistantSetChatGroupRequest
|
|
1516
|
+
"@assistant/chunk-content-compaction-v1": AssistantChunkContentCompactionV1
|
|
1517
|
+
"@assistant/chunk-content-compaction": AssistantChunkContentCompaction
|
|
1518
|
+
"@assistant/skill-secret-value": AssistantSkillSecretValue
|
|
1519
|
+
"@assistant/push-skill-secret-request": AssistantPushSkillSecretRequest
|
|
1520
|
+
"@assistant/skill-secret-handoff": AssistantSkillSecretHandoff
|
|
1521
|
+
"@assistant/skill-secret-handoff-ack": AssistantSkillSecretHandoffAck
|
|
1522
|
+
"@assistant/list-managed-skills-request": AssistantListManagedSkillsRequest
|
|
1523
|
+
"@assistant/skill-overlay-op": AssistantSkillOverlayOp
|
|
1524
|
+
"@assistant/skill-overlay-handoff": AssistantSkillOverlayHandoff
|
|
1525
|
+
"@assistant/skill-overlay-handoff-ack": AssistantSkillOverlayHandoffAck
|
|
1526
|
+
"@assistant/file-state": AssistantFileState
|
|
1527
|
+
"@assistant/file-progress-unit": AssistantFileProgressUnit
|
|
1528
|
+
"@assistant/file-progress": AssistantFileProgress
|
|
1529
|
+
"@assistant/file-processor-status": AssistantFileProcessorStatus
|
|
1530
|
+
"@assistant/file-status": AssistantFileStatus
|
|
1531
|
+
"@assistant/file-status-list": AssistantFileStatusList
|
|
1532
|
+
"@assistant/compact-chat-response": AssistantCompactChatResponse
|
|
1533
|
+
"@assistant/notification-kind": AssistantNotificationKind
|
|
1534
|
+
"@assistant/notification": AssistantNotification
|
|
1535
|
+
"@assistant/notification-list": AssistantNotificationList
|
|
1536
|
+
"@assistant/notification-request": AssistantNotificationRequest
|
|
1537
|
+
"@assistant/notification-ack": AssistantNotificationAck
|
|
1538
|
+
"@assistant/model-transfer-start": AssistantModelTransferStart
|
|
1539
|
+
"@assistant/model-transfer": AssistantModelTransfer
|
|
1540
|
+
"@assistant/file-read-request": AssistantFileReadRequest
|
|
1541
|
+
"@assistant/file-read-frame": AssistantFileReadFrame
|
|
1542
|
+
"@assistant/file-request": AssistantFileRequest
|
|
1543
|
+
"@assistant/file-preview-response": AssistantFilePreviewResponse
|
|
1544
|
+
"@assistant/file-retry-request": AssistantFileRetryRequest
|
|
1545
|
+
}
|