@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 the hrpc compiler
|
|
2
|
+
/* eslint-disable camelcase */
|
|
3
|
+
/* eslint-disable space-before-function-paren */
|
|
4
|
+
|
|
5
|
+
import { c, RPC, RPCStream, RPCRequestStream } from 'hrpc/runtime'
|
|
6
|
+
import { getEncoding } from './messages.js'
|
|
7
|
+
|
|
8
|
+
const methods = new Map([
|
|
9
|
+
['@assistant/config-get', 0],
|
|
10
|
+
[0, '@assistant/config-get'],
|
|
11
|
+
['@assistant/config-set', 1],
|
|
12
|
+
[1, '@assistant/config-set'],
|
|
13
|
+
['@assistant/config-watch', 2],
|
|
14
|
+
[2, '@assistant/config-watch'],
|
|
15
|
+
['@assistant/create-agent', 3],
|
|
16
|
+
[3, '@assistant/create-agent'],
|
|
17
|
+
['@assistant/list-agents', 4],
|
|
18
|
+
[4, '@assistant/list-agents'],
|
|
19
|
+
['@assistant/get-agent', 5],
|
|
20
|
+
[5, '@assistant/get-agent'],
|
|
21
|
+
['@assistant/update-agent', 6],
|
|
22
|
+
[6, '@assistant/update-agent'],
|
|
23
|
+
['@assistant/delete-agent', 7],
|
|
24
|
+
[7, '@assistant/delete-agent'],
|
|
25
|
+
['@assistant/agents-watch', 8],
|
|
26
|
+
[8, '@assistant/agents-watch'],
|
|
27
|
+
['@assistant/create-chat', 9],
|
|
28
|
+
[9, '@assistant/create-chat'],
|
|
29
|
+
['@assistant/list-chats', 10],
|
|
30
|
+
[10, '@assistant/list-chats'],
|
|
31
|
+
['@assistant/get-chat', 11],
|
|
32
|
+
[11, '@assistant/get-chat'],
|
|
33
|
+
['@assistant/rename-chat', 12],
|
|
34
|
+
[12, '@assistant/rename-chat'],
|
|
35
|
+
['@assistant/set-chat-rag-enabled', 13],
|
|
36
|
+
[13, '@assistant/set-chat-rag-enabled'],
|
|
37
|
+
['@assistant/set-chat-web-search-enabled', 14],
|
|
38
|
+
[14, '@assistant/set-chat-web-search-enabled'],
|
|
39
|
+
['@assistant/delete-chat', 15],
|
|
40
|
+
[15, '@assistant/delete-chat'],
|
|
41
|
+
['@assistant/chats-watch', 16],
|
|
42
|
+
[16, '@assistant/chats-watch'],
|
|
43
|
+
['@assistant/create-chat-group', 17],
|
|
44
|
+
[17, '@assistant/create-chat-group'],
|
|
45
|
+
['@assistant/list-chat-groups', 18],
|
|
46
|
+
[18, '@assistant/list-chat-groups'],
|
|
47
|
+
['@assistant/rename-chat-group', 19],
|
|
48
|
+
[19, '@assistant/rename-chat-group'],
|
|
49
|
+
['@assistant/delete-chat-group', 20],
|
|
50
|
+
[20, '@assistant/delete-chat-group'],
|
|
51
|
+
['@assistant/set-chat-group', 21],
|
|
52
|
+
[21, '@assistant/set-chat-group'],
|
|
53
|
+
['@assistant/list-chat-activity', 22],
|
|
54
|
+
[22, '@assistant/list-chat-activity'],
|
|
55
|
+
['@assistant/chat-activity-watch', 23],
|
|
56
|
+
[23, '@assistant/chat-activity-watch'],
|
|
57
|
+
['@assistant/list-devices', 24],
|
|
58
|
+
[24, '@assistant/list-devices'],
|
|
59
|
+
['@assistant/devices-watch', 25],
|
|
60
|
+
[25, '@assistant/devices-watch'],
|
|
61
|
+
['@assistant/save-device-capabilities', 26],
|
|
62
|
+
[26, '@assistant/save-device-capabilities'],
|
|
63
|
+
['@assistant/model-downloads-watch', 27],
|
|
64
|
+
[27, '@assistant/model-downloads-watch'],
|
|
65
|
+
['@assistant/set-model-download-status', 28],
|
|
66
|
+
[28, '@assistant/set-model-download-status'],
|
|
67
|
+
['@assistant/clear-model-download', 29],
|
|
68
|
+
[29, '@assistant/clear-model-download'],
|
|
69
|
+
['@assistant/custom-models-watch', 30],
|
|
70
|
+
[30, '@assistant/custom-models-watch'],
|
|
71
|
+
['@assistant/add-custom-model', 31],
|
|
72
|
+
[31, '@assistant/add-custom-model'],
|
|
73
|
+
['@assistant/remove-custom-model', 32],
|
|
74
|
+
[32, '@assistant/remove-custom-model'],
|
|
75
|
+
['@assistant/remove-device', 33],
|
|
76
|
+
[33, '@assistant/remove-device'],
|
|
77
|
+
['@assistant/rename-device', 34],
|
|
78
|
+
[34, '@assistant/rename-device'],
|
|
79
|
+
['@assistant/save-device-profile', 35],
|
|
80
|
+
[35, '@assistant/save-device-profile'],
|
|
81
|
+
['@assistant/append-chunk', 36],
|
|
82
|
+
[36, '@assistant/append-chunk'],
|
|
83
|
+
['@assistant/update-chunk', 37],
|
|
84
|
+
[37, '@assistant/update-chunk'],
|
|
85
|
+
['@assistant/resolve-approval', 38],
|
|
86
|
+
[38, '@assistant/resolve-approval'],
|
|
87
|
+
['@assistant/list-chunks', 39],
|
|
88
|
+
[39, '@assistant/list-chunks'],
|
|
89
|
+
['@assistant/chunks-watch', 40],
|
|
90
|
+
[40, '@assistant/chunks-watch'],
|
|
91
|
+
['@assistant/upload-attachment', 41],
|
|
92
|
+
[41, '@assistant/upload-attachment'],
|
|
93
|
+
['@assistant/download-attachment', 42],
|
|
94
|
+
[42, '@assistant/download-attachment'],
|
|
95
|
+
['@assistant/delete-attachment', 43],
|
|
96
|
+
[43, '@assistant/delete-attachment'],
|
|
97
|
+
['@assistant/upload-knowledge', 44],
|
|
98
|
+
[44, '@assistant/upload-knowledge'],
|
|
99
|
+
['@assistant/list-knowledge', 45],
|
|
100
|
+
[45, '@assistant/list-knowledge'],
|
|
101
|
+
['@assistant/knowledge-watch', 46],
|
|
102
|
+
[46, '@assistant/knowledge-watch'],
|
|
103
|
+
['@assistant/remove-knowledge', 47],
|
|
104
|
+
[47, '@assistant/remove-knowledge'],
|
|
105
|
+
['@assistant/rag-search', 48],
|
|
106
|
+
[48, '@assistant/rag-search'],
|
|
107
|
+
['@assistant/run-agent', 49],
|
|
108
|
+
[49, '@assistant/run-agent'],
|
|
109
|
+
['@assistant/send-message', 50],
|
|
110
|
+
[50, '@assistant/send-message'],
|
|
111
|
+
['@assistant/stop-run', 51],
|
|
112
|
+
[51, '@assistant/stop-run'],
|
|
113
|
+
['@assistant/mesh-status-watch', 52],
|
|
114
|
+
[52, '@assistant/mesh-status-watch'],
|
|
115
|
+
['@assistant/network-watch', 53],
|
|
116
|
+
[53, '@assistant/network-watch'],
|
|
117
|
+
['@assistant/device-info', 54],
|
|
118
|
+
[54, '@assistant/device-info'],
|
|
119
|
+
['@assistant/store-identity-phrase', 55],
|
|
120
|
+
[55, '@assistant/store-identity-phrase'],
|
|
121
|
+
['@assistant/leave-mesh', 56],
|
|
122
|
+
[56, '@assistant/leave-mesh'],
|
|
123
|
+
['@assistant/acknowledge-kicked', 57],
|
|
124
|
+
[57, '@assistant/acknowledge-kicked'],
|
|
125
|
+
['@assistant/join-mesh', 58],
|
|
126
|
+
[58, '@assistant/join-mesh'],
|
|
127
|
+
['@assistant/cancel-mesh-join', 59],
|
|
128
|
+
[59, '@assistant/cancel-mesh-join'],
|
|
129
|
+
['@assistant/suspend', 60],
|
|
130
|
+
[60, '@assistant/suspend'],
|
|
131
|
+
['@assistant/resume', 61],
|
|
132
|
+
[61, '@assistant/resume'],
|
|
133
|
+
['@assistant/mesh-invite', 62],
|
|
134
|
+
[62, '@assistant/mesh-invite'],
|
|
135
|
+
['@assistant/list-approval-rules', 63],
|
|
136
|
+
[63, '@assistant/list-approval-rules'],
|
|
137
|
+
['@assistant/diagnostics', 64],
|
|
138
|
+
[64, '@assistant/diagnostics'],
|
|
139
|
+
['@assistant/diagnostics-watch', 65],
|
|
140
|
+
[65, '@assistant/diagnostics-watch'],
|
|
141
|
+
['@assistant/run-requests-watch', 66],
|
|
142
|
+
[66, '@assistant/run-requests-watch'],
|
|
143
|
+
['@assistant/list-models', 67],
|
|
144
|
+
[67, '@assistant/list-models'],
|
|
145
|
+
['@assistant/delete-model', 68],
|
|
146
|
+
[68, '@assistant/delete-model'],
|
|
147
|
+
['@assistant/model-catalog-watch', 69],
|
|
148
|
+
[69, '@assistant/model-catalog-watch'],
|
|
149
|
+
['@assistant/skills', 70],
|
|
150
|
+
[70, '@assistant/skills'],
|
|
151
|
+
['@assistant/download-knowledge', 71],
|
|
152
|
+
[71, '@assistant/download-knowledge'],
|
|
153
|
+
['@assistant/get-config', 72],
|
|
154
|
+
[72, '@assistant/get-config'],
|
|
155
|
+
['@assistant/set-config', 73],
|
|
156
|
+
[73, '@assistant/set-config'],
|
|
157
|
+
['@assistant/set-model-paused', 74],
|
|
158
|
+
[74, '@assistant/set-model-paused'],
|
|
159
|
+
['@assistant/retry-model-download', 75],
|
|
160
|
+
[75, '@assistant/retry-model-download'],
|
|
161
|
+
['@assistant/config-watch-typed', 76],
|
|
162
|
+
[76, '@assistant/config-watch-typed'],
|
|
163
|
+
['@assistant/logs-watch', 77],
|
|
164
|
+
[77, '@assistant/logs-watch'],
|
|
165
|
+
['@assistant/write-log', 78],
|
|
166
|
+
[78, '@assistant/write-log'],
|
|
167
|
+
['@assistant/list-indexing', 79],
|
|
168
|
+
[79, '@assistant/list-indexing'],
|
|
169
|
+
['@assistant/transcribe', 80],
|
|
170
|
+
[80, '@assistant/transcribe'],
|
|
171
|
+
['@assistant/speak', 81],
|
|
172
|
+
[81, '@assistant/speak'],
|
|
173
|
+
['@assistant/skill-catalog', 82],
|
|
174
|
+
[82, '@assistant/skill-catalog'],
|
|
175
|
+
['@assistant/tools', 83],
|
|
176
|
+
[83, '@assistant/tools'],
|
|
177
|
+
['@assistant/speak-stream', 84],
|
|
178
|
+
[84, '@assistant/speak-stream'],
|
|
179
|
+
['@assistant/indexing-progress-watch', 85],
|
|
180
|
+
[85, '@assistant/indexing-progress-watch'],
|
|
181
|
+
['@assistant/indexing-watch', 86],
|
|
182
|
+
[86, '@assistant/indexing-watch'],
|
|
183
|
+
['@assistant/transcode-image', 87],
|
|
184
|
+
[87, '@assistant/transcode-image'],
|
|
185
|
+
['@assistant/sync-status-watch', 88],
|
|
186
|
+
[88, '@assistant/sync-status-watch'],
|
|
187
|
+
['@assistant/set-tool-configs', 89],
|
|
188
|
+
[89, '@assistant/set-tool-configs'],
|
|
189
|
+
['@assistant/delete-tool-configs', 90],
|
|
190
|
+
[90, '@assistant/delete-tool-configs'],
|
|
191
|
+
['@assistant/list-tool-configs', 91],
|
|
192
|
+
[91, '@assistant/list-tool-configs'],
|
|
193
|
+
['@assistant/tool-configs-watch', 92],
|
|
194
|
+
[92, '@assistant/tool-configs-watch'],
|
|
195
|
+
['@assistant/list-attachments-by-kind', 93],
|
|
196
|
+
[93, '@assistant/list-attachments-by-kind'],
|
|
197
|
+
['@assistant/search-chats', 94],
|
|
198
|
+
[94, '@assistant/search-chats'],
|
|
199
|
+
['@assistant/list-tool-activity', 95],
|
|
200
|
+
[95, '@assistant/list-tool-activity'],
|
|
201
|
+
['@assistant/tool-activity-watch', 96],
|
|
202
|
+
[96, '@assistant/tool-activity-watch'],
|
|
203
|
+
['@assistant/record-tool-activity', 97],
|
|
204
|
+
[97, '@assistant/record-tool-activity'],
|
|
205
|
+
['@assistant/clear-kv-cache', 98],
|
|
206
|
+
[98, '@assistant/clear-kv-cache'],
|
|
207
|
+
['@assistant/list-managed-skills', 99],
|
|
208
|
+
[99, '@assistant/list-managed-skills'],
|
|
209
|
+
['@assistant/read-skill-file', 100],
|
|
210
|
+
[100, '@assistant/read-skill-file'],
|
|
211
|
+
['@assistant/write-skill-file', 101],
|
|
212
|
+
[101, '@assistant/write-skill-file'],
|
|
213
|
+
['@assistant/copy-skill-for-edit', 102],
|
|
214
|
+
[102, '@assistant/copy-skill-for-edit'],
|
|
215
|
+
['@assistant/delete-overlay-skill', 103],
|
|
216
|
+
[103, '@assistant/delete-overlay-skill'],
|
|
217
|
+
['@assistant/push-skill-secret', 104],
|
|
218
|
+
[104, '@assistant/push-skill-secret'],
|
|
219
|
+
['@assistant/file-status-watch', 105],
|
|
220
|
+
[105, '@assistant/file-status-watch'],
|
|
221
|
+
['@assistant/compact-chat', 106],
|
|
222
|
+
[106, '@assistant/compact-chat'],
|
|
223
|
+
['@assistant/notifications-watch', 107],
|
|
224
|
+
[107, '@assistant/notifications-watch'],
|
|
225
|
+
['@assistant/ack-notification', 108],
|
|
226
|
+
[108, '@assistant/ack-notification'],
|
|
227
|
+
['@assistant/begin-model-transfer', 109],
|
|
228
|
+
[109, '@assistant/begin-model-transfer'],
|
|
229
|
+
['@assistant/complete-model-transfer', 110],
|
|
230
|
+
[110, '@assistant/complete-model-transfer'],
|
|
231
|
+
['@assistant/delete-chat-kv-cache', 111],
|
|
232
|
+
[111, '@assistant/delete-chat-kv-cache'],
|
|
233
|
+
['@assistant/file-read', 112],
|
|
234
|
+
[112, '@assistant/file-read'],
|
|
235
|
+
['@assistant/file-preview', 113],
|
|
236
|
+
[113, '@assistant/file-preview'],
|
|
237
|
+
['@assistant/file-retry', 114],
|
|
238
|
+
[114, '@assistant/file-retry']
|
|
239
|
+
])
|
|
240
|
+
|
|
241
|
+
class HRPC {
|
|
242
|
+
constructor(stream) {
|
|
243
|
+
this._stream = stream
|
|
244
|
+
this._handlers = []
|
|
245
|
+
this._requestEncodings = new Map([
|
|
246
|
+
['@assistant/config-get', getEncoding('@assistant/config-key')],
|
|
247
|
+
['@assistant/config-set', getEncoding('@assistant/config-set-request')],
|
|
248
|
+
['@assistant/config-watch', getEncoding('@assistant/config-key')],
|
|
249
|
+
['@assistant/create-agent', getEncoding('@assistant/create-agent-request')],
|
|
250
|
+
['@assistant/list-agents', getEncoding('@assistant/empty')],
|
|
251
|
+
['@assistant/get-agent', getEncoding('@assistant/agent-id')],
|
|
252
|
+
['@assistant/update-agent', getEncoding('@assistant/update-agent-request')],
|
|
253
|
+
['@assistant/delete-agent', getEncoding('@assistant/agent-id')],
|
|
254
|
+
['@assistant/agents-watch', getEncoding('@assistant/empty')],
|
|
255
|
+
['@assistant/create-chat', getEncoding('@assistant/create-chat-request')],
|
|
256
|
+
['@assistant/list-chats', getEncoding('@assistant/empty')],
|
|
257
|
+
['@assistant/get-chat', getEncoding('@assistant/chat-id')],
|
|
258
|
+
['@assistant/rename-chat', getEncoding('@assistant/rename-chat-request')],
|
|
259
|
+
['@assistant/set-chat-rag-enabled', getEncoding('@assistant/set-chat-flag-request')],
|
|
260
|
+
['@assistant/set-chat-web-search-enabled', getEncoding('@assistant/set-chat-flag-request')],
|
|
261
|
+
['@assistant/delete-chat', getEncoding('@assistant/chat-id')],
|
|
262
|
+
['@assistant/chats-watch', getEncoding('@assistant/empty')],
|
|
263
|
+
['@assistant/create-chat-group', getEncoding('@assistant/create-chat-group-request')],
|
|
264
|
+
['@assistant/list-chat-groups', getEncoding('@assistant/empty')],
|
|
265
|
+
['@assistant/rename-chat-group', getEncoding('@assistant/rename-chat-group-request')],
|
|
266
|
+
['@assistant/delete-chat-group', getEncoding('@assistant/chat-group-id')],
|
|
267
|
+
['@assistant/set-chat-group', getEncoding('@assistant/set-chat-group-request')],
|
|
268
|
+
['@assistant/list-chat-activity', getEncoding('@assistant/chat-activity-request')],
|
|
269
|
+
['@assistant/chat-activity-watch', getEncoding('@assistant/chat-activity-request')],
|
|
270
|
+
['@assistant/list-devices', getEncoding('@assistant/empty')],
|
|
271
|
+
['@assistant/devices-watch', getEncoding('@assistant/empty')],
|
|
272
|
+
['@assistant/save-device-capabilities', getEncoding('@assistant/save-device-capabilities-request')],
|
|
273
|
+
['@assistant/model-downloads-watch', getEncoding('@assistant/empty')],
|
|
274
|
+
['@assistant/set-model-download-status', getEncoding('@assistant/set-model-download-status-request')],
|
|
275
|
+
['@assistant/clear-model-download', getEncoding('@assistant/clear-model-download-request')],
|
|
276
|
+
['@assistant/custom-models-watch', getEncoding('@assistant/empty')],
|
|
277
|
+
['@assistant/add-custom-model', getEncoding('@assistant/add-custom-model-request')],
|
|
278
|
+
['@assistant/remove-custom-model', getEncoding('@assistant/remove-custom-model-request')],
|
|
279
|
+
['@assistant/remove-device', getEncoding('@assistant/device-id')],
|
|
280
|
+
['@assistant/rename-device', getEncoding('@assistant/rename-device-request')],
|
|
281
|
+
['@assistant/save-device-profile', getEncoding('@assistant/save-device-profile-request')],
|
|
282
|
+
['@assistant/append-chunk', getEncoding('@assistant/append-chunk-request')],
|
|
283
|
+
['@assistant/update-chunk', getEncoding('@assistant/update-chunk-request')],
|
|
284
|
+
['@assistant/resolve-approval', getEncoding('@assistant/resolve-approval-request')],
|
|
285
|
+
['@assistant/list-chunks', getEncoding('@assistant/chunks-by-chat-request')],
|
|
286
|
+
['@assistant/chunks-watch', getEncoding('@assistant/chunks-by-chat-request')],
|
|
287
|
+
['@assistant/upload-attachment', getEncoding('@assistant/upload-attachment-request')],
|
|
288
|
+
['@assistant/download-attachment', getEncoding('@assistant/download-attachment-request')],
|
|
289
|
+
['@assistant/delete-attachment', getEncoding('@assistant/delete-attachment-request')],
|
|
290
|
+
['@assistant/upload-knowledge', getEncoding('@assistant/upload-knowledge-request')],
|
|
291
|
+
['@assistant/list-knowledge', getEncoding('@assistant/knowledge-by-chat-request')],
|
|
292
|
+
['@assistant/knowledge-watch', getEncoding('@assistant/knowledge-by-chat-request')],
|
|
293
|
+
['@assistant/remove-knowledge', getEncoding('@assistant/remove-knowledge-request')],
|
|
294
|
+
['@assistant/rag-search', getEncoding('@assistant/rag-search-request')],
|
|
295
|
+
['@assistant/run-agent', getEncoding('@assistant/run-agent-request')],
|
|
296
|
+
['@assistant/send-message', getEncoding('@assistant/send-message-request')],
|
|
297
|
+
['@assistant/stop-run', getEncoding('@assistant/stop-run-request')],
|
|
298
|
+
['@assistant/mesh-status-watch', getEncoding('@assistant/empty')],
|
|
299
|
+
['@assistant/network-watch', getEncoding('@assistant/empty')],
|
|
300
|
+
['@assistant/device-info', getEncoding('@assistant/empty')],
|
|
301
|
+
['@assistant/store-identity-phrase', getEncoding('@assistant/identity-phrase')],
|
|
302
|
+
['@assistant/leave-mesh', getEncoding('@assistant/empty')],
|
|
303
|
+
['@assistant/acknowledge-kicked', getEncoding('@assistant/empty')],
|
|
304
|
+
['@assistant/join-mesh', getEncoding('@assistant/join-mesh-request')],
|
|
305
|
+
['@assistant/cancel-mesh-join', getEncoding('@assistant/empty')],
|
|
306
|
+
['@assistant/suspend', getEncoding('@assistant/empty')],
|
|
307
|
+
['@assistant/resume', getEncoding('@assistant/empty')],
|
|
308
|
+
['@assistant/mesh-invite', getEncoding('@assistant/empty')],
|
|
309
|
+
['@assistant/list-approval-rules', getEncoding('@assistant/empty')],
|
|
310
|
+
['@assistant/diagnostics', getEncoding('@assistant/empty')],
|
|
311
|
+
['@assistant/diagnostics-watch', getEncoding('@assistant/empty')],
|
|
312
|
+
['@assistant/run-requests-watch', getEncoding('@assistant/empty')],
|
|
313
|
+
['@assistant/list-models', getEncoding('@assistant/list-models-request')],
|
|
314
|
+
['@assistant/delete-model', getEncoding('@assistant/delete-model-request')],
|
|
315
|
+
['@assistant/model-catalog-watch', getEncoding('@assistant/empty')],
|
|
316
|
+
['@assistant/skills', getEncoding('@assistant/skill-request')],
|
|
317
|
+
['@assistant/download-knowledge', getEncoding('@assistant/download-knowledge-request')],
|
|
318
|
+
['@assistant/get-config', getEncoding('@assistant/empty')],
|
|
319
|
+
['@assistant/set-config', getEncoding('@assistant/app-config-update')],
|
|
320
|
+
['@assistant/set-model-paused', getEncoding('@assistant/set-model-paused-request')],
|
|
321
|
+
['@assistant/retry-model-download', getEncoding('@assistant/clear-model-download-request')],
|
|
322
|
+
['@assistant/config-watch-typed', getEncoding('@assistant/empty')],
|
|
323
|
+
['@assistant/logs-watch', getEncoding('@assistant/logs-watch-request')],
|
|
324
|
+
['@assistant/write-log', getEncoding('@assistant/write-log-request')],
|
|
325
|
+
['@assistant/list-indexing', getEncoding('@assistant/knowledge-by-chat-request')],
|
|
326
|
+
['@assistant/transcribe', getEncoding('@assistant/transcribe-request')],
|
|
327
|
+
['@assistant/speak', getEncoding('@assistant/speak-request')],
|
|
328
|
+
['@assistant/skill-catalog', getEncoding('@assistant/skill-request')],
|
|
329
|
+
['@assistant/tools', getEncoding('@assistant/empty')],
|
|
330
|
+
['@assistant/speak-stream', getEncoding('@assistant/speak-stream-frame')],
|
|
331
|
+
['@assistant/indexing-progress-watch', getEncoding('@assistant/knowledge-by-chat-request')],
|
|
332
|
+
['@assistant/indexing-watch', getEncoding('@assistant/knowledge-by-chat-request')],
|
|
333
|
+
['@assistant/transcode-image', getEncoding('@assistant/transcode-image-request')],
|
|
334
|
+
['@assistant/sync-status-watch', getEncoding('@assistant/empty')],
|
|
335
|
+
['@assistant/set-tool-configs', getEncoding('@assistant/set-tool-configs-request')],
|
|
336
|
+
['@assistant/delete-tool-configs', getEncoding('@assistant/delete-tool-configs-request')],
|
|
337
|
+
['@assistant/list-tool-configs', getEncoding('@assistant/list-tool-configs-request')],
|
|
338
|
+
['@assistant/tool-configs-watch', getEncoding('@assistant/list-tool-configs-request')],
|
|
339
|
+
['@assistant/list-attachments-by-kind', getEncoding('@assistant/attachments-by-kind-request')],
|
|
340
|
+
['@assistant/search-chats', getEncoding('@assistant/search-chats-request')],
|
|
341
|
+
['@assistant/list-tool-activity', getEncoding('@assistant/list-tool-activity-request')],
|
|
342
|
+
['@assistant/tool-activity-watch', getEncoding('@assistant/list-tool-activity-request')],
|
|
343
|
+
['@assistant/record-tool-activity', getEncoding('@assistant/record-tool-activity-request')],
|
|
344
|
+
['@assistant/clear-kv-cache', getEncoding('@assistant/empty')],
|
|
345
|
+
['@assistant/list-managed-skills', getEncoding('@assistant/list-managed-skills-request')],
|
|
346
|
+
['@assistant/read-skill-file', getEncoding('@assistant/skill-name-request')],
|
|
347
|
+
['@assistant/write-skill-file', getEncoding('@assistant/write-skill-request')],
|
|
348
|
+
['@assistant/copy-skill-for-edit', getEncoding('@assistant/skill-name-request')],
|
|
349
|
+
['@assistant/delete-overlay-skill', getEncoding('@assistant/skill-name-request')],
|
|
350
|
+
['@assistant/push-skill-secret', getEncoding('@assistant/push-skill-secret-request')],
|
|
351
|
+
['@assistant/file-status-watch', getEncoding('@assistant/knowledge-by-chat-request')],
|
|
352
|
+
['@assistant/compact-chat', getEncoding('@assistant/chat-id')],
|
|
353
|
+
['@assistant/notifications-watch', getEncoding('@assistant/notification-request')],
|
|
354
|
+
['@assistant/ack-notification', getEncoding('@assistant/notification-ack')],
|
|
355
|
+
['@assistant/begin-model-transfer', getEncoding('@assistant/model-transfer-start')],
|
|
356
|
+
['@assistant/complete-model-transfer', getEncoding('@assistant/model-transfer')],
|
|
357
|
+
['@assistant/delete-chat-kv-cache', getEncoding('@assistant/chat-id')],
|
|
358
|
+
['@assistant/file-read', getEncoding('@assistant/file-read-request')],
|
|
359
|
+
['@assistant/file-preview', getEncoding('@assistant/file-request')],
|
|
360
|
+
['@assistant/file-retry', getEncoding('@assistant/file-retry-request')]
|
|
361
|
+
])
|
|
362
|
+
this._responseEncodings = new Map([
|
|
363
|
+
['@assistant/config-get', getEncoding('@assistant/config-value')],
|
|
364
|
+
['@assistant/config-set', getEncoding('@assistant/config-set-response')],
|
|
365
|
+
['@assistant/config-watch', getEncoding('@assistant/config-value')],
|
|
366
|
+
['@assistant/create-agent', getEncoding('@assistant/agent')],
|
|
367
|
+
['@assistant/list-agents', getEncoding('@assistant/agent-list')],
|
|
368
|
+
['@assistant/get-agent', getEncoding('@assistant/agent')],
|
|
369
|
+
['@assistant/update-agent', getEncoding('@assistant/agent')],
|
|
370
|
+
['@assistant/delete-agent', getEncoding('@assistant/agent')],
|
|
371
|
+
['@assistant/agents-watch', getEncoding('@assistant/agent-list')],
|
|
372
|
+
['@assistant/create-chat', getEncoding('@assistant/chat')],
|
|
373
|
+
['@assistant/list-chats', getEncoding('@assistant/chat-list')],
|
|
374
|
+
['@assistant/get-chat', getEncoding('@assistant/chat')],
|
|
375
|
+
['@assistant/rename-chat', getEncoding('@assistant/chat')],
|
|
376
|
+
['@assistant/set-chat-rag-enabled', getEncoding('@assistant/chat')],
|
|
377
|
+
['@assistant/set-chat-web-search-enabled', getEncoding('@assistant/chat')],
|
|
378
|
+
['@assistant/delete-chat', getEncoding('@assistant/chat')],
|
|
379
|
+
['@assistant/chats-watch', getEncoding('@assistant/chat-list')],
|
|
380
|
+
['@assistant/create-chat-group', getEncoding('@assistant/chat-group')],
|
|
381
|
+
['@assistant/list-chat-groups', getEncoding('@assistant/chat-group-list')],
|
|
382
|
+
['@assistant/rename-chat-group', getEncoding('@assistant/chat-group')],
|
|
383
|
+
['@assistant/delete-chat-group', getEncoding('@assistant/chat-group')],
|
|
384
|
+
['@assistant/set-chat-group', getEncoding('@assistant/chat')],
|
|
385
|
+
['@assistant/list-chat-activity', getEncoding('@assistant/chat-activity-list')],
|
|
386
|
+
['@assistant/chat-activity-watch', getEncoding('@assistant/chat-activity-list')],
|
|
387
|
+
['@assistant/list-devices', getEncoding('@assistant/device-list')],
|
|
388
|
+
['@assistant/devices-watch', getEncoding('@assistant/device-list')],
|
|
389
|
+
['@assistant/save-device-capabilities', getEncoding('@assistant/ok-response')],
|
|
390
|
+
['@assistant/model-downloads-watch', getEncoding('@assistant/model-download-list')],
|
|
391
|
+
['@assistant/set-model-download-status', getEncoding('@assistant/ok-response')],
|
|
392
|
+
['@assistant/clear-model-download', getEncoding('@assistant/ok-response')],
|
|
393
|
+
['@assistant/custom-models-watch', getEncoding('@assistant/custom-model-list')],
|
|
394
|
+
['@assistant/add-custom-model', getEncoding('@assistant/ok-response')],
|
|
395
|
+
['@assistant/remove-custom-model', getEncoding('@assistant/ok-response')],
|
|
396
|
+
['@assistant/remove-device', getEncoding('@assistant/ok-response')],
|
|
397
|
+
['@assistant/rename-device', getEncoding('@assistant/device')],
|
|
398
|
+
['@assistant/save-device-profile', getEncoding('@assistant/device')],
|
|
399
|
+
['@assistant/append-chunk', getEncoding('@assistant/chunk-id')],
|
|
400
|
+
['@assistant/update-chunk', getEncoding('@assistant/ok-response')],
|
|
401
|
+
['@assistant/resolve-approval', getEncoding('@assistant/ok-response')],
|
|
402
|
+
['@assistant/list-chunks', getEncoding('@assistant/chunk-list')],
|
|
403
|
+
['@assistant/chunks-watch', getEncoding('@assistant/chunk-list')],
|
|
404
|
+
['@assistant/upload-attachment', getEncoding('@assistant/upload-attachment-response')],
|
|
405
|
+
['@assistant/download-attachment', getEncoding('@assistant/download-attachment-response')],
|
|
406
|
+
['@assistant/delete-attachment', getEncoding('@assistant/chunk')],
|
|
407
|
+
['@assistant/upload-knowledge', getEncoding('@assistant/upload-knowledge-response')],
|
|
408
|
+
['@assistant/list-knowledge', getEncoding('@assistant/knowledge-list')],
|
|
409
|
+
['@assistant/knowledge-watch', getEncoding('@assistant/knowledge-list')],
|
|
410
|
+
['@assistant/remove-knowledge', getEncoding('@assistant/knowledge')],
|
|
411
|
+
['@assistant/rag-search', getEncoding('@assistant/rag-search-response')],
|
|
412
|
+
['@assistant/run-agent', getEncoding('@assistant/ok-response')],
|
|
413
|
+
['@assistant/send-message', getEncoding('@assistant/send-message-response')],
|
|
414
|
+
['@assistant/stop-run', getEncoding('@assistant/ok-response')],
|
|
415
|
+
['@assistant/mesh-status-watch', getEncoding('@assistant/mesh-status')],
|
|
416
|
+
['@assistant/network-watch', getEncoding('@assistant/network-status')],
|
|
417
|
+
['@assistant/device-info', getEncoding('@assistant/device-info')],
|
|
418
|
+
['@assistant/store-identity-phrase', getEncoding('@assistant/ok-response')],
|
|
419
|
+
['@assistant/leave-mesh', getEncoding('@assistant/ok-response')],
|
|
420
|
+
['@assistant/acknowledge-kicked', getEncoding('@assistant/ok-response')],
|
|
421
|
+
['@assistant/join-mesh', getEncoding('@assistant/ok-response')],
|
|
422
|
+
['@assistant/cancel-mesh-join', getEncoding('@assistant/ok-response')],
|
|
423
|
+
['@assistant/suspend', getEncoding('@assistant/ok-response')],
|
|
424
|
+
['@assistant/resume', getEncoding('@assistant/ok-response')],
|
|
425
|
+
['@assistant/mesh-invite', getEncoding('@assistant/mesh-invite-response')],
|
|
426
|
+
['@assistant/list-approval-rules', getEncoding('@assistant/approval-rule-list')],
|
|
427
|
+
['@assistant/diagnostics', getEncoding('@assistant/diagnostics')],
|
|
428
|
+
['@assistant/diagnostics-watch', getEncoding('@assistant/diagnostics')],
|
|
429
|
+
['@assistant/run-requests-watch', getEncoding('@assistant/chunk-list')],
|
|
430
|
+
['@assistant/list-models', getEncoding('@assistant/model-info-list')],
|
|
431
|
+
['@assistant/delete-model', getEncoding('@assistant/delete-model-response')],
|
|
432
|
+
['@assistant/model-catalog-watch', getEncoding('@assistant/model-catalog-revision')],
|
|
433
|
+
['@assistant/skills', getEncoding('@assistant/skill-response')],
|
|
434
|
+
['@assistant/download-knowledge', getEncoding('@assistant/download-knowledge-response')],
|
|
435
|
+
['@assistant/get-config', getEncoding('@assistant/app-config')],
|
|
436
|
+
['@assistant/set-config', getEncoding('@assistant/app-config')],
|
|
437
|
+
['@assistant/set-model-paused', getEncoding('@assistant/app-config')],
|
|
438
|
+
['@assistant/retry-model-download', getEncoding('@assistant/ok-response')],
|
|
439
|
+
['@assistant/config-watch-typed', getEncoding('@assistant/app-config')],
|
|
440
|
+
['@assistant/logs-watch', getEncoding('@assistant/log-line-list')],
|
|
441
|
+
['@assistant/write-log', getEncoding('@assistant/ok-response')],
|
|
442
|
+
['@assistant/list-indexing', getEncoding('@assistant/indexing-status-list')],
|
|
443
|
+
['@assistant/transcribe', getEncoding('@assistant/transcribe-response')],
|
|
444
|
+
['@assistant/speak', getEncoding('@assistant/speak-response')],
|
|
445
|
+
['@assistant/skill-catalog', getEncoding('@assistant/skill-catalog-response')],
|
|
446
|
+
['@assistant/tools', getEncoding('@assistant/tool-catalog-response')],
|
|
447
|
+
['@assistant/speak-stream', getEncoding('@assistant/speak-response')],
|
|
448
|
+
['@assistant/indexing-progress-watch', getEncoding('@assistant/indexing-progress-list')],
|
|
449
|
+
['@assistant/indexing-watch', getEncoding('@assistant/indexing-status-list')],
|
|
450
|
+
['@assistant/transcode-image', getEncoding('@assistant/transcode-image-response')],
|
|
451
|
+
['@assistant/sync-status-watch', getEncoding('@assistant/sync-status')],
|
|
452
|
+
['@assistant/set-tool-configs', getEncoding('@assistant/tool-configs')],
|
|
453
|
+
['@assistant/delete-tool-configs', getEncoding('@assistant/tool-configs')],
|
|
454
|
+
['@assistant/list-tool-configs', getEncoding('@assistant/tool-configs-list')],
|
|
455
|
+
['@assistant/tool-configs-watch', getEncoding('@assistant/tool-configs-list')],
|
|
456
|
+
['@assistant/list-attachments-by-kind', getEncoding('@assistant/chunk-list')],
|
|
457
|
+
['@assistant/search-chats', getEncoding('@assistant/search-chats-response')],
|
|
458
|
+
['@assistant/list-tool-activity', getEncoding('@assistant/tool-activity-list')],
|
|
459
|
+
['@assistant/tool-activity-watch', getEncoding('@assistant/tool-activity-list')],
|
|
460
|
+
['@assistant/record-tool-activity', getEncoding('@assistant/tool-activity-id')],
|
|
461
|
+
['@assistant/clear-kv-cache', getEncoding('@assistant/kv-cache-deletion-response')],
|
|
462
|
+
['@assistant/list-managed-skills', getEncoding('@assistant/managed-skills-response')],
|
|
463
|
+
['@assistant/read-skill-file', getEncoding('@assistant/skill-file-response')],
|
|
464
|
+
['@assistant/write-skill-file', getEncoding('@assistant/ok-response')],
|
|
465
|
+
['@assistant/copy-skill-for-edit', getEncoding('@assistant/copy-skill-response')],
|
|
466
|
+
['@assistant/delete-overlay-skill', getEncoding('@assistant/delete-skill-response')],
|
|
467
|
+
['@assistant/push-skill-secret', getEncoding('@assistant/ok-response')],
|
|
468
|
+
['@assistant/file-status-watch', getEncoding('@assistant/file-status-list')],
|
|
469
|
+
['@assistant/compact-chat', getEncoding('@assistant/compact-chat-response')],
|
|
470
|
+
['@assistant/notifications-watch', getEncoding('@assistant/notification-list')],
|
|
471
|
+
['@assistant/ack-notification', getEncoding('@assistant/ok-response')],
|
|
472
|
+
['@assistant/begin-model-transfer', getEncoding('@assistant/model-transfer')],
|
|
473
|
+
['@assistant/complete-model-transfer', getEncoding('@assistant/ok-response')],
|
|
474
|
+
['@assistant/delete-chat-kv-cache', getEncoding('@assistant/kv-cache-deletion-response')],
|
|
475
|
+
['@assistant/file-read', getEncoding('@assistant/file-read-frame')],
|
|
476
|
+
['@assistant/file-preview', getEncoding('@assistant/file-preview-response')],
|
|
477
|
+
['@assistant/file-retry', getEncoding('@assistant/ok-response')]
|
|
478
|
+
])
|
|
479
|
+
this._rpc = new RPC(stream, async (req) => {
|
|
480
|
+
const command = methods.get(req.command)
|
|
481
|
+
const responseEncoding = this._responseEncodings.get(command)
|
|
482
|
+
const requestEncoding = this._requestEncodings.get(command)
|
|
483
|
+
if (this._requestIsSend(command)) {
|
|
484
|
+
const request = req.data && req.data.byteLength > 0 ? c.decode(requestEncoding, req.data) : null
|
|
485
|
+
await this._handlers[command](request)
|
|
486
|
+
return
|
|
487
|
+
}
|
|
488
|
+
if (!this._requestIsStream(command) && !this._responseIsStream(command)) {
|
|
489
|
+
const request = req.data && req.data.byteLength > 0 ? c.decode(requestEncoding, req.data) : null
|
|
490
|
+
const response = await this._handlers[command](request)
|
|
491
|
+
req.reply(c.encode(responseEncoding, response))
|
|
492
|
+
}
|
|
493
|
+
if (!this._requestIsStream(command) && this._responseIsStream(command)) {
|
|
494
|
+
const request = req.data && req.data.byteLength > 0 ? c.decode(requestEncoding, req.data) : null
|
|
495
|
+
const responseStream = new RPCStream(
|
|
496
|
+
null,
|
|
497
|
+
null,
|
|
498
|
+
req.createResponseStream(),
|
|
499
|
+
responseEncoding
|
|
500
|
+
)
|
|
501
|
+
responseStream.data = request
|
|
502
|
+
await this._handlers[command](responseStream)
|
|
503
|
+
}
|
|
504
|
+
if (this._requestIsStream(command) && !this._responseIsStream(command)) {
|
|
505
|
+
const requestStream = new RPCRequestStream(
|
|
506
|
+
req,
|
|
507
|
+
responseEncoding,
|
|
508
|
+
req.createRequestStream(),
|
|
509
|
+
requestEncoding
|
|
510
|
+
)
|
|
511
|
+
const response = await this._handlers[command](requestStream)
|
|
512
|
+
req.reply(c.encode(responseEncoding, response))
|
|
513
|
+
}
|
|
514
|
+
if (this._requestIsStream(command) && this._responseIsStream(command)) {
|
|
515
|
+
const requestStream = new RPCRequestStream(
|
|
516
|
+
req,
|
|
517
|
+
responseEncoding,
|
|
518
|
+
req.createRequestStream(),
|
|
519
|
+
requestEncoding,
|
|
520
|
+
req.createResponseStream(),
|
|
521
|
+
responseEncoding
|
|
522
|
+
)
|
|
523
|
+
await this._handlers[command](requestStream)
|
|
524
|
+
}
|
|
525
|
+
})
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
async _call(name, args) {
|
|
529
|
+
const requestEncoding = this._requestEncodings.get(name)
|
|
530
|
+
const responseEncoding = this._responseEncodings.get(name)
|
|
531
|
+
const request = this._rpc.request(methods.get(name))
|
|
532
|
+
const encoded = c.encode(requestEncoding, args)
|
|
533
|
+
request.send(encoded)
|
|
534
|
+
return c.decode(responseEncoding, await request.reply())
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
_callSync(name, args) {
|
|
538
|
+
const requestEncoding = this._requestEncodings.get(name)
|
|
539
|
+
const responseEncoding = this._responseEncodings.get(name)
|
|
540
|
+
if (this._requestIsSend(name)) {
|
|
541
|
+
const encoded = c.encode(requestEncoding, args)
|
|
542
|
+
const request = this._rpc.event(methods.get(name))
|
|
543
|
+
request.send(encoded)
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
const request = this._rpc.request(methods.get(name))
|
|
547
|
+
|
|
548
|
+
if (!this._requestIsStream(name) && this._responseIsStream(name)) {
|
|
549
|
+
const encoded = c.encode(requestEncoding, args)
|
|
550
|
+
request.send(encoded)
|
|
551
|
+
return new RPCStream(request.createResponseStream(), responseEncoding)
|
|
552
|
+
}
|
|
553
|
+
if (this._requestIsStream(name) && !this._responseIsStream(name)) {
|
|
554
|
+
return new RPCRequestStream(
|
|
555
|
+
request,
|
|
556
|
+
responseEncoding,
|
|
557
|
+
null,
|
|
558
|
+
null,
|
|
559
|
+
request.createRequestStream(),
|
|
560
|
+
requestEncoding
|
|
561
|
+
)
|
|
562
|
+
}
|
|
563
|
+
if (this._requestIsStream(name) && this._responseIsStream(name)) {
|
|
564
|
+
return new RPCRequestStream(
|
|
565
|
+
request,
|
|
566
|
+
responseEncoding,
|
|
567
|
+
request.createResponseStream(),
|
|
568
|
+
responseEncoding,
|
|
569
|
+
request.createRequestStream(),
|
|
570
|
+
requestEncoding
|
|
571
|
+
)
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
async configGet(args) {
|
|
576
|
+
return this._call('@assistant/config-get', args)
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
async configSet(args) {
|
|
580
|
+
return this._call('@assistant/config-set', args)
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
configWatch(args) {
|
|
584
|
+
return this._callSync('@assistant/config-watch', args)
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
async createAgent(args) {
|
|
588
|
+
return this._call('@assistant/create-agent', args)
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
async listAgents(args) {
|
|
592
|
+
return this._call('@assistant/list-agents', args)
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
async getAgent(args) {
|
|
596
|
+
return this._call('@assistant/get-agent', args)
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
async updateAgent(args) {
|
|
600
|
+
return this._call('@assistant/update-agent', args)
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
async deleteAgent(args) {
|
|
604
|
+
return this._call('@assistant/delete-agent', args)
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
agentsWatch(args) {
|
|
608
|
+
return this._callSync('@assistant/agents-watch', args)
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
async createChat(args) {
|
|
612
|
+
return this._call('@assistant/create-chat', args)
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
async listChats(args) {
|
|
616
|
+
return this._call('@assistant/list-chats', args)
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
async getChat(args) {
|
|
620
|
+
return this._call('@assistant/get-chat', args)
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
async renameChat(args) {
|
|
624
|
+
return this._call('@assistant/rename-chat', args)
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
async setChatRagEnabled(args) {
|
|
628
|
+
return this._call('@assistant/set-chat-rag-enabled', args)
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
async setChatWebSearchEnabled(args) {
|
|
632
|
+
return this._call('@assistant/set-chat-web-search-enabled', args)
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
async deleteChat(args) {
|
|
636
|
+
return this._call('@assistant/delete-chat', args)
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
chatsWatch(args) {
|
|
640
|
+
return this._callSync('@assistant/chats-watch', args)
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
async createChatGroup(args) {
|
|
644
|
+
return this._call('@assistant/create-chat-group', args)
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
async listChatGroups(args) {
|
|
648
|
+
return this._call('@assistant/list-chat-groups', args)
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
async renameChatGroup(args) {
|
|
652
|
+
return this._call('@assistant/rename-chat-group', args)
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
async deleteChatGroup(args) {
|
|
656
|
+
return this._call('@assistant/delete-chat-group', args)
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
async setChatGroup(args) {
|
|
660
|
+
return this._call('@assistant/set-chat-group', args)
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
async listChatActivity(args) {
|
|
664
|
+
return this._call('@assistant/list-chat-activity', args)
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
chatActivityWatch(args) {
|
|
668
|
+
return this._callSync('@assistant/chat-activity-watch', args)
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
async listDevices(args) {
|
|
672
|
+
return this._call('@assistant/list-devices', args)
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
devicesWatch(args) {
|
|
676
|
+
return this._callSync('@assistant/devices-watch', args)
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
async saveDeviceCapabilities(args) {
|
|
680
|
+
return this._call('@assistant/save-device-capabilities', args)
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
modelDownloadsWatch(args) {
|
|
684
|
+
return this._callSync('@assistant/model-downloads-watch', args)
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
async setModelDownloadStatus(args) {
|
|
688
|
+
return this._call('@assistant/set-model-download-status', args)
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
async clearModelDownload(args) {
|
|
692
|
+
return this._call('@assistant/clear-model-download', args)
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
customModelsWatch(args) {
|
|
696
|
+
return this._callSync('@assistant/custom-models-watch', args)
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
async addCustomModel(args) {
|
|
700
|
+
return this._call('@assistant/add-custom-model', args)
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
async removeCustomModel(args) {
|
|
704
|
+
return this._call('@assistant/remove-custom-model', args)
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
async removeDevice(args) {
|
|
708
|
+
return this._call('@assistant/remove-device', args)
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
async renameDevice(args) {
|
|
712
|
+
return this._call('@assistant/rename-device', args)
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
async saveDeviceProfile(args) {
|
|
716
|
+
return this._call('@assistant/save-device-profile', args)
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
async appendChunk(args) {
|
|
720
|
+
return this._call('@assistant/append-chunk', args)
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
async updateChunk(args) {
|
|
724
|
+
return this._call('@assistant/update-chunk', args)
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
async resolveApproval(args) {
|
|
728
|
+
return this._call('@assistant/resolve-approval', args)
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
async listChunks(args) {
|
|
732
|
+
return this._call('@assistant/list-chunks', args)
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
chunksWatch(args) {
|
|
736
|
+
return this._callSync('@assistant/chunks-watch', args)
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
uploadAttachment(args) {
|
|
740
|
+
return this._callSync('@assistant/upload-attachment', args)
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
downloadAttachment(args) {
|
|
744
|
+
return this._callSync('@assistant/download-attachment', args)
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
async deleteAttachment(args) {
|
|
748
|
+
return this._call('@assistant/delete-attachment', args)
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
uploadKnowledge(args) {
|
|
752
|
+
return this._callSync('@assistant/upload-knowledge', args)
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
async listKnowledge(args) {
|
|
756
|
+
return this._call('@assistant/list-knowledge', args)
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
knowledgeWatch(args) {
|
|
760
|
+
return this._callSync('@assistant/knowledge-watch', args)
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
async removeKnowledge(args) {
|
|
764
|
+
return this._call('@assistant/remove-knowledge', args)
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
async ragSearch(args) {
|
|
768
|
+
return this._call('@assistant/rag-search', args)
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
async runAgent(args) {
|
|
772
|
+
return this._call('@assistant/run-agent', args)
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
async sendMessage(args) {
|
|
776
|
+
return this._call('@assistant/send-message', args)
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
async stopRun(args) {
|
|
780
|
+
return this._call('@assistant/stop-run', args)
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
meshStatusWatch(args) {
|
|
784
|
+
return this._callSync('@assistant/mesh-status-watch', args)
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
networkWatch(args) {
|
|
788
|
+
return this._callSync('@assistant/network-watch', args)
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
async deviceInfo(args) {
|
|
792
|
+
return this._call('@assistant/device-info', args)
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
async storeIdentityPhrase(args) {
|
|
796
|
+
return this._call('@assistant/store-identity-phrase', args)
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
async leaveMesh(args) {
|
|
800
|
+
return this._call('@assistant/leave-mesh', args)
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
async acknowledgeKicked(args) {
|
|
804
|
+
return this._call('@assistant/acknowledge-kicked', args)
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
async joinMesh(args) {
|
|
808
|
+
return this._call('@assistant/join-mesh', args)
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
async cancelMeshJoin(args) {
|
|
812
|
+
return this._call('@assistant/cancel-mesh-join', args)
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
async suspend(args) {
|
|
816
|
+
return this._call('@assistant/suspend', args)
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
async resume(args) {
|
|
820
|
+
return this._call('@assistant/resume', args)
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
async meshInvite(args) {
|
|
824
|
+
return this._call('@assistant/mesh-invite', args)
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
async listApprovalRules(args) {
|
|
828
|
+
return this._call('@assistant/list-approval-rules', args)
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
async diagnostics(args) {
|
|
832
|
+
return this._call('@assistant/diagnostics', args)
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
diagnosticsWatch(args) {
|
|
836
|
+
return this._callSync('@assistant/diagnostics-watch', args)
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
runRequestsWatch(args) {
|
|
840
|
+
return this._callSync('@assistant/run-requests-watch', args)
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
async listModels(args) {
|
|
844
|
+
return this._call('@assistant/list-models', args)
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
async deleteModel(args) {
|
|
848
|
+
return this._call('@assistant/delete-model', args)
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
modelCatalogWatch(args) {
|
|
852
|
+
return this._callSync('@assistant/model-catalog-watch', args)
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
async skills(args) {
|
|
856
|
+
return this._call('@assistant/skills', args)
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
downloadKnowledge(args) {
|
|
860
|
+
return this._callSync('@assistant/download-knowledge', args)
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
async getConfig(args) {
|
|
864
|
+
return this._call('@assistant/get-config', args)
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
async setConfig(args) {
|
|
868
|
+
return this._call('@assistant/set-config', args)
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
async setModelPaused(args) {
|
|
872
|
+
return this._call('@assistant/set-model-paused', args)
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
async retryModelDownload(args) {
|
|
876
|
+
return this._call('@assistant/retry-model-download', args)
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
configWatchTyped(args) {
|
|
880
|
+
return this._callSync('@assistant/config-watch-typed', args)
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
logsWatch(args) {
|
|
884
|
+
return this._callSync('@assistant/logs-watch', args)
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
async writeLog(args) {
|
|
888
|
+
return this._call('@assistant/write-log', args)
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
async listIndexing(args) {
|
|
892
|
+
return this._call('@assistant/list-indexing', args)
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
async transcribe(args) {
|
|
896
|
+
return this._call('@assistant/transcribe', args)
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
async speak(args) {
|
|
900
|
+
return this._call('@assistant/speak', args)
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
async skillCatalog(args) {
|
|
904
|
+
return this._call('@assistant/skill-catalog', args)
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
async tools(args) {
|
|
908
|
+
return this._call('@assistant/tools', args)
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
speakStream(args) {
|
|
912
|
+
return this._callSync('@assistant/speak-stream', args)
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
indexingProgressWatch(args) {
|
|
916
|
+
return this._callSync('@assistant/indexing-progress-watch', args)
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
indexingWatch(args) {
|
|
920
|
+
return this._callSync('@assistant/indexing-watch', args)
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
async transcodeImage(args) {
|
|
924
|
+
return this._call('@assistant/transcode-image', args)
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
syncStatusWatch(args) {
|
|
928
|
+
return this._callSync('@assistant/sync-status-watch', args)
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
async setToolConfigs(args) {
|
|
932
|
+
return this._call('@assistant/set-tool-configs', args)
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
async deleteToolConfigs(args) {
|
|
936
|
+
return this._call('@assistant/delete-tool-configs', args)
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
async listToolConfigs(args) {
|
|
940
|
+
return this._call('@assistant/list-tool-configs', args)
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
toolConfigsWatch(args) {
|
|
944
|
+
return this._callSync('@assistant/tool-configs-watch', args)
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
async listAttachmentsByKind(args) {
|
|
948
|
+
return this._call('@assistant/list-attachments-by-kind', args)
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
async searchChats(args) {
|
|
952
|
+
return this._call('@assistant/search-chats', args)
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
async listToolActivity(args) {
|
|
956
|
+
return this._call('@assistant/list-tool-activity', args)
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
toolActivityWatch(args) {
|
|
960
|
+
return this._callSync('@assistant/tool-activity-watch', args)
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
async recordToolActivity(args) {
|
|
964
|
+
return this._call('@assistant/record-tool-activity', args)
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
async clearKvCache(args) {
|
|
968
|
+
return this._call('@assistant/clear-kv-cache', args)
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
async listManagedSkills(args) {
|
|
972
|
+
return this._call('@assistant/list-managed-skills', args)
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
async readSkillFile(args) {
|
|
976
|
+
return this._call('@assistant/read-skill-file', args)
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
async writeSkillFile(args) {
|
|
980
|
+
return this._call('@assistant/write-skill-file', args)
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
async copySkillForEdit(args) {
|
|
984
|
+
return this._call('@assistant/copy-skill-for-edit', args)
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
async deleteOverlaySkill(args) {
|
|
988
|
+
return this._call('@assistant/delete-overlay-skill', args)
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
async pushSkillSecret(args) {
|
|
992
|
+
return this._call('@assistant/push-skill-secret', args)
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
fileStatusWatch(args) {
|
|
996
|
+
return this._callSync('@assistant/file-status-watch', args)
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
async compactChat(args) {
|
|
1000
|
+
return this._call('@assistant/compact-chat', args)
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
notificationsWatch(args) {
|
|
1004
|
+
return this._callSync('@assistant/notifications-watch', args)
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
async ackNotification(args) {
|
|
1008
|
+
return this._call('@assistant/ack-notification', args)
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
async beginModelTransfer(args) {
|
|
1012
|
+
return this._call('@assistant/begin-model-transfer', args)
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
async completeModelTransfer(args) {
|
|
1016
|
+
return this._call('@assistant/complete-model-transfer', args)
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
async deleteChatKvCache(args) {
|
|
1020
|
+
return this._call('@assistant/delete-chat-kv-cache', args)
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
fileRead(args) {
|
|
1024
|
+
return this._callSync('@assistant/file-read', args)
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
async filePreview(args) {
|
|
1028
|
+
return this._call('@assistant/file-preview', args)
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
async fileRetry(args) {
|
|
1032
|
+
return this._call('@assistant/file-retry', args)
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
onConfigGet(responseFn) {
|
|
1036
|
+
this._handlers['@assistant/config-get'] = responseFn
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
onConfigSet(responseFn) {
|
|
1040
|
+
this._handlers['@assistant/config-set'] = responseFn
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
onConfigWatch(responseFn) {
|
|
1044
|
+
this._handlers['@assistant/config-watch'] = responseFn
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
onCreateAgent(responseFn) {
|
|
1048
|
+
this._handlers['@assistant/create-agent'] = responseFn
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
onListAgents(responseFn) {
|
|
1052
|
+
this._handlers['@assistant/list-agents'] = responseFn
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
onGetAgent(responseFn) {
|
|
1056
|
+
this._handlers['@assistant/get-agent'] = responseFn
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
onUpdateAgent(responseFn) {
|
|
1060
|
+
this._handlers['@assistant/update-agent'] = responseFn
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
onDeleteAgent(responseFn) {
|
|
1064
|
+
this._handlers['@assistant/delete-agent'] = responseFn
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
onAgentsWatch(responseFn) {
|
|
1068
|
+
this._handlers['@assistant/agents-watch'] = responseFn
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
onCreateChat(responseFn) {
|
|
1072
|
+
this._handlers['@assistant/create-chat'] = responseFn
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
onListChats(responseFn) {
|
|
1076
|
+
this._handlers['@assistant/list-chats'] = responseFn
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
onGetChat(responseFn) {
|
|
1080
|
+
this._handlers['@assistant/get-chat'] = responseFn
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
onRenameChat(responseFn) {
|
|
1084
|
+
this._handlers['@assistant/rename-chat'] = responseFn
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
onSetChatRagEnabled(responseFn) {
|
|
1088
|
+
this._handlers['@assistant/set-chat-rag-enabled'] = responseFn
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
onSetChatWebSearchEnabled(responseFn) {
|
|
1092
|
+
this._handlers['@assistant/set-chat-web-search-enabled'] = responseFn
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
onDeleteChat(responseFn) {
|
|
1096
|
+
this._handlers['@assistant/delete-chat'] = responseFn
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
onChatsWatch(responseFn) {
|
|
1100
|
+
this._handlers['@assistant/chats-watch'] = responseFn
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
onCreateChatGroup(responseFn) {
|
|
1104
|
+
this._handlers['@assistant/create-chat-group'] = responseFn
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
onListChatGroups(responseFn) {
|
|
1108
|
+
this._handlers['@assistant/list-chat-groups'] = responseFn
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
onRenameChatGroup(responseFn) {
|
|
1112
|
+
this._handlers['@assistant/rename-chat-group'] = responseFn
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
onDeleteChatGroup(responseFn) {
|
|
1116
|
+
this._handlers['@assistant/delete-chat-group'] = responseFn
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
onSetChatGroup(responseFn) {
|
|
1120
|
+
this._handlers['@assistant/set-chat-group'] = responseFn
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
onListChatActivity(responseFn) {
|
|
1124
|
+
this._handlers['@assistant/list-chat-activity'] = responseFn
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
onChatActivityWatch(responseFn) {
|
|
1128
|
+
this._handlers['@assistant/chat-activity-watch'] = responseFn
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
onListDevices(responseFn) {
|
|
1132
|
+
this._handlers['@assistant/list-devices'] = responseFn
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
onDevicesWatch(responseFn) {
|
|
1136
|
+
this._handlers['@assistant/devices-watch'] = responseFn
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
onSaveDeviceCapabilities(responseFn) {
|
|
1140
|
+
this._handlers['@assistant/save-device-capabilities'] = responseFn
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
onModelDownloadsWatch(responseFn) {
|
|
1144
|
+
this._handlers['@assistant/model-downloads-watch'] = responseFn
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
onSetModelDownloadStatus(responseFn) {
|
|
1148
|
+
this._handlers['@assistant/set-model-download-status'] = responseFn
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
onClearModelDownload(responseFn) {
|
|
1152
|
+
this._handlers['@assistant/clear-model-download'] = responseFn
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
onCustomModelsWatch(responseFn) {
|
|
1156
|
+
this._handlers['@assistant/custom-models-watch'] = responseFn
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
onAddCustomModel(responseFn) {
|
|
1160
|
+
this._handlers['@assistant/add-custom-model'] = responseFn
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
onRemoveCustomModel(responseFn) {
|
|
1164
|
+
this._handlers['@assistant/remove-custom-model'] = responseFn
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
onRemoveDevice(responseFn) {
|
|
1168
|
+
this._handlers['@assistant/remove-device'] = responseFn
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
onRenameDevice(responseFn) {
|
|
1172
|
+
this._handlers['@assistant/rename-device'] = responseFn
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
onSaveDeviceProfile(responseFn) {
|
|
1176
|
+
this._handlers['@assistant/save-device-profile'] = responseFn
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
onAppendChunk(responseFn) {
|
|
1180
|
+
this._handlers['@assistant/append-chunk'] = responseFn
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
onUpdateChunk(responseFn) {
|
|
1184
|
+
this._handlers['@assistant/update-chunk'] = responseFn
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
onResolveApproval(responseFn) {
|
|
1188
|
+
this._handlers['@assistant/resolve-approval'] = responseFn
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
onListChunks(responseFn) {
|
|
1192
|
+
this._handlers['@assistant/list-chunks'] = responseFn
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
onChunksWatch(responseFn) {
|
|
1196
|
+
this._handlers['@assistant/chunks-watch'] = responseFn
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
onUploadAttachment(responseFn) {
|
|
1200
|
+
this._handlers['@assistant/upload-attachment'] = responseFn
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
onDownloadAttachment(responseFn) {
|
|
1204
|
+
this._handlers['@assistant/download-attachment'] = responseFn
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
onDeleteAttachment(responseFn) {
|
|
1208
|
+
this._handlers['@assistant/delete-attachment'] = responseFn
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
onUploadKnowledge(responseFn) {
|
|
1212
|
+
this._handlers['@assistant/upload-knowledge'] = responseFn
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
onListKnowledge(responseFn) {
|
|
1216
|
+
this._handlers['@assistant/list-knowledge'] = responseFn
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
onKnowledgeWatch(responseFn) {
|
|
1220
|
+
this._handlers['@assistant/knowledge-watch'] = responseFn
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
onRemoveKnowledge(responseFn) {
|
|
1224
|
+
this._handlers['@assistant/remove-knowledge'] = responseFn
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
onRagSearch(responseFn) {
|
|
1228
|
+
this._handlers['@assistant/rag-search'] = responseFn
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
onRunAgent(responseFn) {
|
|
1232
|
+
this._handlers['@assistant/run-agent'] = responseFn
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
onSendMessage(responseFn) {
|
|
1236
|
+
this._handlers['@assistant/send-message'] = responseFn
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
onStopRun(responseFn) {
|
|
1240
|
+
this._handlers['@assistant/stop-run'] = responseFn
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
onMeshStatusWatch(responseFn) {
|
|
1244
|
+
this._handlers['@assistant/mesh-status-watch'] = responseFn
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
onNetworkWatch(responseFn) {
|
|
1248
|
+
this._handlers['@assistant/network-watch'] = responseFn
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
onDeviceInfo(responseFn) {
|
|
1252
|
+
this._handlers['@assistant/device-info'] = responseFn
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
onStoreIdentityPhrase(responseFn) {
|
|
1256
|
+
this._handlers['@assistant/store-identity-phrase'] = responseFn
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
onLeaveMesh(responseFn) {
|
|
1260
|
+
this._handlers['@assistant/leave-mesh'] = responseFn
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
onAcknowledgeKicked(responseFn) {
|
|
1264
|
+
this._handlers['@assistant/acknowledge-kicked'] = responseFn
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
onJoinMesh(responseFn) {
|
|
1268
|
+
this._handlers['@assistant/join-mesh'] = responseFn
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
onCancelMeshJoin(responseFn) {
|
|
1272
|
+
this._handlers['@assistant/cancel-mesh-join'] = responseFn
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
onSuspend(responseFn) {
|
|
1276
|
+
this._handlers['@assistant/suspend'] = responseFn
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
onResume(responseFn) {
|
|
1280
|
+
this._handlers['@assistant/resume'] = responseFn
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
onMeshInvite(responseFn) {
|
|
1284
|
+
this._handlers['@assistant/mesh-invite'] = responseFn
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
onListApprovalRules(responseFn) {
|
|
1288
|
+
this._handlers['@assistant/list-approval-rules'] = responseFn
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
onDiagnostics(responseFn) {
|
|
1292
|
+
this._handlers['@assistant/diagnostics'] = responseFn
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
onDiagnosticsWatch(responseFn) {
|
|
1296
|
+
this._handlers['@assistant/diagnostics-watch'] = responseFn
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
onRunRequestsWatch(responseFn) {
|
|
1300
|
+
this._handlers['@assistant/run-requests-watch'] = responseFn
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
onListModels(responseFn) {
|
|
1304
|
+
this._handlers['@assistant/list-models'] = responseFn
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
onDeleteModel(responseFn) {
|
|
1308
|
+
this._handlers['@assistant/delete-model'] = responseFn
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
onModelCatalogWatch(responseFn) {
|
|
1312
|
+
this._handlers['@assistant/model-catalog-watch'] = responseFn
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
onSkills(responseFn) {
|
|
1316
|
+
this._handlers['@assistant/skills'] = responseFn
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
onDownloadKnowledge(responseFn) {
|
|
1320
|
+
this._handlers['@assistant/download-knowledge'] = responseFn
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
onGetConfig(responseFn) {
|
|
1324
|
+
this._handlers['@assistant/get-config'] = responseFn
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
onSetConfig(responseFn) {
|
|
1328
|
+
this._handlers['@assistant/set-config'] = responseFn
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
onSetModelPaused(responseFn) {
|
|
1332
|
+
this._handlers['@assistant/set-model-paused'] = responseFn
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
onRetryModelDownload(responseFn) {
|
|
1336
|
+
this._handlers['@assistant/retry-model-download'] = responseFn
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
onConfigWatchTyped(responseFn) {
|
|
1340
|
+
this._handlers['@assistant/config-watch-typed'] = responseFn
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
onLogsWatch(responseFn) {
|
|
1344
|
+
this._handlers['@assistant/logs-watch'] = responseFn
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
onWriteLog(responseFn) {
|
|
1348
|
+
this._handlers['@assistant/write-log'] = responseFn
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
onListIndexing(responseFn) {
|
|
1352
|
+
this._handlers['@assistant/list-indexing'] = responseFn
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
onTranscribe(responseFn) {
|
|
1356
|
+
this._handlers['@assistant/transcribe'] = responseFn
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
onSpeak(responseFn) {
|
|
1360
|
+
this._handlers['@assistant/speak'] = responseFn
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
onSkillCatalog(responseFn) {
|
|
1364
|
+
this._handlers['@assistant/skill-catalog'] = responseFn
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
onTools(responseFn) {
|
|
1368
|
+
this._handlers['@assistant/tools'] = responseFn
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
onSpeakStream(responseFn) {
|
|
1372
|
+
this._handlers['@assistant/speak-stream'] = responseFn
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
onIndexingProgressWatch(responseFn) {
|
|
1376
|
+
this._handlers['@assistant/indexing-progress-watch'] = responseFn
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
onIndexingWatch(responseFn) {
|
|
1380
|
+
this._handlers['@assistant/indexing-watch'] = responseFn
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
onTranscodeImage(responseFn) {
|
|
1384
|
+
this._handlers['@assistant/transcode-image'] = responseFn
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
onSyncStatusWatch(responseFn) {
|
|
1388
|
+
this._handlers['@assistant/sync-status-watch'] = responseFn
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
onSetToolConfigs(responseFn) {
|
|
1392
|
+
this._handlers['@assistant/set-tool-configs'] = responseFn
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
onDeleteToolConfigs(responseFn) {
|
|
1396
|
+
this._handlers['@assistant/delete-tool-configs'] = responseFn
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
onListToolConfigs(responseFn) {
|
|
1400
|
+
this._handlers['@assistant/list-tool-configs'] = responseFn
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
onToolConfigsWatch(responseFn) {
|
|
1404
|
+
this._handlers['@assistant/tool-configs-watch'] = responseFn
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
onListAttachmentsByKind(responseFn) {
|
|
1408
|
+
this._handlers['@assistant/list-attachments-by-kind'] = responseFn
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
onSearchChats(responseFn) {
|
|
1412
|
+
this._handlers['@assistant/search-chats'] = responseFn
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
onListToolActivity(responseFn) {
|
|
1416
|
+
this._handlers['@assistant/list-tool-activity'] = responseFn
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
onToolActivityWatch(responseFn) {
|
|
1420
|
+
this._handlers['@assistant/tool-activity-watch'] = responseFn
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
onRecordToolActivity(responseFn) {
|
|
1424
|
+
this._handlers['@assistant/record-tool-activity'] = responseFn
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
onClearKvCache(responseFn) {
|
|
1428
|
+
this._handlers['@assistant/clear-kv-cache'] = responseFn
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
onListManagedSkills(responseFn) {
|
|
1432
|
+
this._handlers['@assistant/list-managed-skills'] = responseFn
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
onReadSkillFile(responseFn) {
|
|
1436
|
+
this._handlers['@assistant/read-skill-file'] = responseFn
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
onWriteSkillFile(responseFn) {
|
|
1440
|
+
this._handlers['@assistant/write-skill-file'] = responseFn
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
onCopySkillForEdit(responseFn) {
|
|
1444
|
+
this._handlers['@assistant/copy-skill-for-edit'] = responseFn
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1447
|
+
onDeleteOverlaySkill(responseFn) {
|
|
1448
|
+
this._handlers['@assistant/delete-overlay-skill'] = responseFn
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
onPushSkillSecret(responseFn) {
|
|
1452
|
+
this._handlers['@assistant/push-skill-secret'] = responseFn
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
onFileStatusWatch(responseFn) {
|
|
1456
|
+
this._handlers['@assistant/file-status-watch'] = responseFn
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
onCompactChat(responseFn) {
|
|
1460
|
+
this._handlers['@assistant/compact-chat'] = responseFn
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
onNotificationsWatch(responseFn) {
|
|
1464
|
+
this._handlers['@assistant/notifications-watch'] = responseFn
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
onAckNotification(responseFn) {
|
|
1468
|
+
this._handlers['@assistant/ack-notification'] = responseFn
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1471
|
+
onBeginModelTransfer(responseFn) {
|
|
1472
|
+
this._handlers['@assistant/begin-model-transfer'] = responseFn
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
onCompleteModelTransfer(responseFn) {
|
|
1476
|
+
this._handlers['@assistant/complete-model-transfer'] = responseFn
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1479
|
+
onDeleteChatKvCache(responseFn) {
|
|
1480
|
+
this._handlers['@assistant/delete-chat-kv-cache'] = responseFn
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
onFileRead(responseFn) {
|
|
1484
|
+
this._handlers['@assistant/file-read'] = responseFn
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
onFilePreview(responseFn) {
|
|
1488
|
+
this._handlers['@assistant/file-preview'] = responseFn
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
onFileRetry(responseFn) {
|
|
1492
|
+
this._handlers['@assistant/file-retry'] = responseFn
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
_requestIsStream(command) {
|
|
1496
|
+
return [
|
|
1497
|
+
'@assistant/upload-attachment',
|
|
1498
|
+
'@assistant/upload-knowledge',
|
|
1499
|
+
'@assistant/speak-stream'
|
|
1500
|
+
].includes(command)
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
_responseIsStream(command) {
|
|
1504
|
+
return [
|
|
1505
|
+
'@assistant/config-watch',
|
|
1506
|
+
'@assistant/agents-watch',
|
|
1507
|
+
'@assistant/chats-watch',
|
|
1508
|
+
'@assistant/chat-activity-watch',
|
|
1509
|
+
'@assistant/devices-watch',
|
|
1510
|
+
'@assistant/model-downloads-watch',
|
|
1511
|
+
'@assistant/custom-models-watch',
|
|
1512
|
+
'@assistant/chunks-watch',
|
|
1513
|
+
'@assistant/upload-attachment',
|
|
1514
|
+
'@assistant/download-attachment',
|
|
1515
|
+
'@assistant/upload-knowledge',
|
|
1516
|
+
'@assistant/knowledge-watch',
|
|
1517
|
+
'@assistant/mesh-status-watch',
|
|
1518
|
+
'@assistant/network-watch',
|
|
1519
|
+
'@assistant/diagnostics-watch',
|
|
1520
|
+
'@assistant/run-requests-watch',
|
|
1521
|
+
'@assistant/model-catalog-watch',
|
|
1522
|
+
'@assistant/download-knowledge',
|
|
1523
|
+
'@assistant/config-watch-typed',
|
|
1524
|
+
'@assistant/logs-watch',
|
|
1525
|
+
'@assistant/speak-stream',
|
|
1526
|
+
'@assistant/indexing-progress-watch',
|
|
1527
|
+
'@assistant/indexing-watch',
|
|
1528
|
+
'@assistant/sync-status-watch',
|
|
1529
|
+
'@assistant/tool-configs-watch',
|
|
1530
|
+
'@assistant/tool-activity-watch',
|
|
1531
|
+
'@assistant/file-status-watch',
|
|
1532
|
+
'@assistant/notifications-watch',
|
|
1533
|
+
'@assistant/file-read'
|
|
1534
|
+
].includes(command)
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
// prettier-ignore-start
|
|
1538
|
+
_requestIsSend(command) {
|
|
1539
|
+
return [
|
|
1540
|
+
// prettier-ignore
|
|
1541
|
+
].includes(command)
|
|
1542
|
+
}
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
export default HRPC
|