@qvac/core 1.0.0-rc.0 → 1.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +852 -1
- package/README.md +40 -81
- package/dist-lib/index.d.ts +0 -1
- package/dist-lib/index.js +0 -1
- package/dist-lib/lib/api/agent-folders.d.ts +22 -0
- package/dist-lib/lib/api/agent-folders.js +115 -0
- package/dist-lib/lib/api/agents.d.ts +19 -2
- package/dist-lib/lib/api/agents.js +121 -24
- package/dist-lib/lib/api/app-config.d.ts +4 -1
- package/dist-lib/lib/api/app-config.js +17 -6
- package/dist-lib/lib/api/attachments.js +3 -2
- package/dist-lib/lib/api/chat-move.d.ts +4 -0
- package/dist-lib/lib/api/chat-move.js +7 -0
- package/dist-lib/lib/api/chat.d.ts +13 -2
- package/dist-lib/lib/api/chat.js +114 -9
- package/dist-lib/lib/api/chunk-delta.d.ts +7 -0
- package/dist-lib/lib/api/chunk-delta.js +33 -0
- package/dist-lib/lib/api/chunks.d.ts +17 -2
- package/dist-lib/lib/api/chunks.js +64 -13
- package/dist-lib/lib/api/config.d.ts +2 -1
- package/dist-lib/lib/api/config.js +3 -2
- package/dist-lib/lib/api/current-mesh.d.ts +13 -5
- package/dist-lib/lib/api/current-mesh.js +15 -11
- package/dist-lib/lib/api/custom-models.d.ts +7 -1
- package/dist-lib/lib/api/custom-models.js +10 -8
- package/dist-lib/lib/api/device-routes.d.ts +9 -0
- package/dist-lib/lib/api/device-routes.js +123 -0
- package/dist-lib/lib/api/devices.d.ts +3 -2
- package/dist-lib/lib/api/devices.js +20 -10
- package/dist-lib/lib/api/diagnostics.d.ts +2 -1
- package/dist-lib/lib/api/diagnostics.js +2 -2
- package/dist-lib/lib/api/execution.d.ts +12 -1
- package/dist-lib/lib/api/execution.js +44 -14
- package/dist-lib/lib/api/host-run-log.d.ts +2 -41
- package/dist-lib/lib/api/host-run-log.js +35 -83
- package/dist-lib/lib/api/index.d.ts +28 -6
- package/dist-lib/lib/api/index.js +101 -33
- package/dist-lib/lib/api/instrument.d.ts +2 -2
- package/dist-lib/lib/api/instrument.js +12 -44
- package/dist-lib/lib/api/knowledge.d.ts +4 -1
- package/dist-lib/lib/api/knowledge.js +25 -7
- package/dist-lib/lib/api/local-files.d.ts +5 -1
- package/dist-lib/lib/api/local-files.js +9 -5
- package/dist-lib/lib/api/logs.js +3 -3
- package/dist-lib/lib/api/members.d.ts +10 -1
- package/dist-lib/lib/api/members.js +64 -17
- package/dist-lib/lib/api/mesh.d.ts +12 -2
- package/dist-lib/lib/api/mesh.js +10 -6
- package/dist-lib/lib/api/model-download.d.ts +2 -1
- package/dist-lib/lib/api/model-download.js +2 -2
- package/dist-lib/lib/api/network.d.ts +10 -2
- package/dist-lib/lib/api/network.js +8 -2
- package/dist-lib/lib/api/notifications.d.ts +3 -1
- package/dist-lib/lib/api/notifications.js +6 -5
- package/dist-lib/lib/api/projects.d.ts +20 -0
- package/dist-lib/lib/api/projects.js +165 -0
- package/dist-lib/lib/api/rag.d.ts +0 -1
- package/dist-lib/lib/api/rag.js +47 -23
- package/dist-lib/lib/api/served.d.ts +17 -0
- package/dist-lib/lib/api/served.js +47 -0
- package/dist-lib/lib/api/sync.d.ts +2 -1
- package/dist-lib/lib/api/sync.js +2 -2
- package/dist-lib/lib/api/tool-activity.d.ts +2 -1
- package/dist-lib/lib/api/tool-activity.js +4 -3
- package/dist-lib/lib/api/tool-configs.d.ts +2 -1
- package/dist-lib/lib/api/tool-configs.js +6 -9
- package/dist-lib/lib/api/upload-frames.d.ts +0 -1
- package/dist-lib/lib/api/upload-frames.js +0 -1
- package/dist-lib/lib/api/watchable.d.ts +3 -2
- package/dist-lib/lib/api/watchable.js +2 -3
- package/dist-lib/lib/api/workspace.d.ts +5 -0
- package/dist-lib/lib/api/workspace.js +48 -0
- package/dist-lib/lib/assistant/fake-models.d.ts +20 -0
- package/dist-lib/lib/assistant/fake-models.js +112 -0
- package/dist-lib/lib/assistant/harness.d.ts +29 -29
- package/dist-lib/lib/assistant/harness.js +34 -6
- package/dist-lib/lib/assistant/history.d.ts +30 -17
- package/dist-lib/lib/assistant/history.js +168 -82
- package/dist-lib/lib/assistant/host-run-log.d.ts +6 -1
- package/dist-lib/lib/assistant/host-run-log.js +24 -36
- package/dist-lib/lib/assistant/message.d.ts +21 -0
- package/dist-lib/lib/assistant/message.js +43 -0
- package/dist-lib/lib/assistant/model-round.d.ts +95 -0
- package/dist-lib/lib/assistant/model-round.js +591 -0
- package/dist-lib/lib/assistant/pdf-budget.d.ts +3 -0
- package/dist-lib/lib/assistant/pdf-budget.js +13 -0
- package/dist-lib/lib/assistant/round-host.d.ts +42 -0
- package/dist-lib/lib/assistant/round-host.js +239 -0
- package/dist-lib/lib/assistant/skill-encode.d.ts +2 -1
- package/dist-lib/lib/assistant/skill-encode.js +2 -1
- package/dist-lib/lib/assistant/video-budget.d.ts +13 -0
- package/dist-lib/lib/assistant/video-budget.js +29 -0
- package/dist-lib/lib/assistant-client.d.ts +2 -0
- package/dist-lib/lib/assistant-client.js +4 -3
- package/dist-lib/lib/assistant-tree.d.ts +8 -3
- package/dist-lib/lib/assistant-tree.js +58 -18
- package/dist-lib/lib/assistant.d.ts +76 -20
- package/dist-lib/lib/assistant.js +1659 -1070
- package/dist-lib/lib/audio-format.js +1 -1
- package/dist-lib/lib/chat-suggestion.d.ts +3 -0
- package/dist-lib/lib/chat-suggestion.js +47 -0
- package/dist-lib/lib/client.d.ts +2 -2
- package/dist-lib/lib/constants.d.ts +7 -0
- package/dist-lib/lib/constants.js +7 -0
- package/dist-lib/lib/core/agent-copies.d.ts +9 -0
- package/dist-lib/lib/core/agent-copies.js +40 -0
- package/dist-lib/lib/core/agent-hosting.d.ts +25 -0
- package/dist-lib/lib/core/agent-hosting.js +71 -0
- package/dist-lib/lib/core/agent.d.ts +9 -1
- package/dist-lib/lib/core/agent.js +45 -19
- package/dist-lib/lib/core/archived-mesh.d.ts +11 -6
- package/dist-lib/lib/core/archived-mesh.js +77 -58
- package/dist-lib/lib/core/async-iterable.js +1 -1
- package/dist-lib/lib/core/blind-peers.d.ts +1 -0
- package/dist-lib/lib/core/blind-peers.js +1 -0
- package/dist-lib/lib/core/chat-activity.d.ts +1 -1
- package/dist-lib/lib/core/chat-activity.js +36 -22
- package/dist-lib/lib/core/chat-copy.d.ts +42 -0
- package/dist-lib/lib/core/chat-copy.js +395 -0
- package/dist-lib/lib/core/chat-fork.d.ts +16 -0
- package/dist-lib/lib/core/chat-fork.js +245 -0
- package/dist-lib/lib/core/chat-group.js +8 -7
- package/dist-lib/lib/core/chat-move.d.ts +71 -0
- package/dist-lib/lib/core/chat-move.js +567 -0
- package/dist-lib/lib/core/chat-order.d.ts +2 -1
- package/dist-lib/lib/core/chat-order.js +19 -4
- package/dist-lib/lib/core/chat-project.d.ts +2 -0
- package/dist-lib/lib/core/chat-project.js +15 -0
- package/dist-lib/lib/core/chat-read.d.ts +4 -0
- package/dist-lib/lib/core/chat-read.js +49 -0
- package/dist-lib/lib/core/chat-search.js +14 -12
- package/dist-lib/lib/core/chat.d.ts +34 -4
- package/dist-lib/lib/core/chat.js +122 -39
- package/dist-lib/lib/core/chunk.d.ts +21 -4
- package/dist-lib/lib/core/chunk.js +138 -23
- package/dist-lib/lib/core/collections.d.ts +28 -0
- package/dist-lib/lib/core/collections.js +28 -0
- package/dist-lib/lib/core/contract/agent-join.d.ts +10 -0
- package/dist-lib/lib/core/contract/agent-join.js +108 -0
- package/dist-lib/lib/core/contract/agents.d.ts +5 -0
- package/dist-lib/lib/core/contract/agents.js +141 -3
- package/dist-lib/lib/core/contract/chat.d.ts +1 -0
- package/dist-lib/lib/core/contract/chat.js +42 -3
- package/dist-lib/lib/core/contract/chunks.d.ts +7 -0
- package/dist-lib/lib/core/contract/chunks.js +112 -35
- package/dist-lib/lib/core/contract/index.d.ts +2 -3
- package/dist-lib/lib/core/contract/index.js +35 -11
- package/dist-lib/lib/core/contract/indexing.d.ts +1 -0
- package/dist-lib/lib/core/contract/indexing.js +51 -7
- package/dist-lib/lib/core/contract/invites.d.ts +3 -14
- package/dist-lib/lib/core/contract/invites.js +18 -9
- package/dist-lib/lib/core/contract/joined-meshes.js +2 -1
- package/dist-lib/lib/core/contract/knowledge.d.ts +1 -0
- package/dist-lib/lib/core/contract/knowledge.js +57 -6
- package/dist-lib/lib/core/contract/members.d.ts +3 -1
- package/dist-lib/lib/core/contract/members.js +34 -4
- package/dist-lib/lib/core/contract/mesh-kind.d.ts +3 -3
- package/dist-lib/lib/core/contract/mesh-kind.js +20 -16
- package/dist-lib/lib/core/contract/mesh-name.d.ts +3 -0
- package/dist-lib/lib/core/contract/mesh-name.js +31 -0
- package/dist-lib/lib/core/contract/mesh-rules.d.ts +8 -0
- package/dist-lib/lib/core/contract/mesh-rules.js +31 -0
- package/dist-lib/lib/core/contract/mesh-seeds.d.ts +2 -0
- package/dist-lib/lib/core/contract/mesh-seeds.js +26 -0
- package/dist-lib/lib/core/contract/model-requests.d.ts +26 -0
- package/dist-lib/lib/core/contract/model-requests.js +279 -0
- package/dist-lib/lib/core/contract/oldest-version.d.ts +9 -0
- package/dist-lib/lib/core/contract/oldest-version.js +20 -0
- package/dist-lib/lib/core/contract/open-join.d.ts +2 -0
- package/dist-lib/lib/core/contract/open-join.js +77 -0
- package/dist-lib/lib/core/contract/project-device-keys.d.ts +7 -0
- package/dist-lib/lib/core/contract/project-device-keys.js +29 -0
- package/dist-lib/lib/core/contract/project-host-keys.d.ts +7 -0
- package/dist-lib/lib/core/contract/project-host-keys.js +40 -0
- package/dist-lib/lib/core/contract/project-order.d.ts +2 -0
- package/dist-lib/lib/core/contract/project-order.js +25 -0
- package/dist-lib/lib/core/contract/projects.d.ts +21 -0
- package/dist-lib/lib/core/contract/projects.js +328 -0
- package/dist-lib/lib/core/contract/public-mesh.d.ts +3 -0
- package/dist-lib/lib/core/contract/public-mesh.js +31 -0
- package/dist-lib/lib/core/contract/public-seeds.d.ts +9 -0
- package/dist-lib/lib/core/contract/public-seeds.js +43 -0
- package/dist-lib/lib/core/contract/roles.d.ts +10 -0
- package/dist-lib/lib/core/contract/roles.js +120 -0
- package/dist-lib/lib/core/contract/run-requests.d.ts +10 -0
- package/dist-lib/lib/core/contract/run-requests.js +75 -0
- package/dist-lib/lib/core/contract/seed-defaults.d.ts +3 -1
- package/dist-lib/lib/core/contract/seed-defaults.js +17 -4
- package/dist-lib/lib/core/contract/skill-secrets.d.ts +3 -0
- package/dist-lib/lib/core/contract/skill-secrets.js +32 -0
- package/dist-lib/lib/core/contract/tool-activity.js +12 -1
- package/dist-lib/lib/core/contract/tool-configs.js +2 -1
- package/dist-lib/lib/core/contract/types.d.ts +2 -2
- package/dist-lib/lib/core/contract/workspace.d.ts +31 -0
- package/dist-lib/lib/core/contract/workspace.js +317 -0
- package/dist-lib/lib/core/contract/writers.js +82 -12
- package/dist-lib/lib/core/departures.d.ts +16 -5
- package/dist-lib/lib/core/departures.js +79 -6
- package/dist-lib/lib/core/device-control.d.ts +21 -0
- package/dist-lib/lib/core/device-control.js +91 -0
- package/dist-lib/lib/core/device-seal.d.ts +4 -0
- package/dist-lib/lib/core/device-seal.js +22 -0
- package/dist-lib/lib/core/devices.js +1 -1
- package/dist-lib/lib/core/document-attachment.d.ts +7 -0
- package/dist-lib/lib/core/document-attachment.js +9 -0
- package/dist-lib/lib/core/files/attachments.js +5 -4
- package/dist-lib/lib/core/files/index.d.ts +21 -11
- package/dist-lib/lib/core/files/index.js +114 -28
- package/dist-lib/lib/core/files/knowledge.d.ts +10 -1
- package/dist-lib/lib/core/files/knowledge.js +77 -5
- package/dist-lib/lib/core/files/preview/index.js +6 -2
- package/dist-lib/lib/core/files/processing/claims.d.ts +7 -0
- package/dist-lib/lib/core/files/processing/claims.js +33 -7
- package/dist-lib/lib/core/files/processing/document.d.ts +8 -0
- package/dist-lib/lib/core/files/processing/document.js +26 -2
- package/dist-lib/lib/core/files/processing/index.d.ts +7 -2
- package/dist-lib/lib/core/files/processing/index.js +91 -71
- package/dist-lib/lib/core/files/processing/protocol.d.ts +7 -1
- package/dist-lib/lib/core/files/processing/protocol.js +14 -3
- package/dist-lib/lib/core/files/processing/source.d.ts +3 -0
- package/dist-lib/lib/core/files/processing/source.js +9 -4
- package/dist-lib/lib/core/files/processing/state.d.ts +4 -1
- package/dist-lib/lib/core/files/processing/state.js +2 -1
- package/dist-lib/lib/core/files/rag/build.d.ts +4 -1
- package/dist-lib/lib/core/files/rag/build.js +18 -7
- package/dist-lib/lib/core/files/rag/failure.d.ts +20 -0
- package/dist-lib/lib/core/files/rag/failure.js +57 -0
- package/dist-lib/lib/core/files/rag/index.d.ts +12 -1
- package/dist-lib/lib/core/files/rag/index.js +29 -7
- package/dist-lib/lib/core/files/rag/joined-index.d.ts +6 -0
- package/dist-lib/lib/core/files/rag/joined-index.js +35 -0
- package/dist-lib/lib/core/files/rag/limits.d.ts +1 -0
- package/dist-lib/lib/core/files/rag/limits.js +1 -0
- package/dist-lib/lib/core/files/rag/load.js +6 -3
- package/dist-lib/lib/core/files/rag/policy.d.ts +10 -1
- package/dist-lib/lib/core/files/rag/policy.js +23 -2
- package/dist-lib/lib/core/files/rag/produce.d.ts +1 -1
- package/dist-lib/lib/core/files/rag/produce.js +30 -18
- package/dist-lib/lib/core/files/rag/retrieval/full-text.js +1 -1
- package/dist-lib/lib/core/files/rag/similarity.d.ts +2 -2
- package/dist-lib/lib/core/files/rag/similarity.js +2 -3
- package/dist-lib/lib/core/files/records/chunks.js +22 -1
- package/dist-lib/lib/core/files/records/index.d.ts +1 -1
- package/dist-lib/lib/core/files/records/index.js +1 -1
- package/dist-lib/lib/core/files/records/knowledge.d.ts +11 -1
- package/dist-lib/lib/core/files/records/knowledge.js +40 -3
- package/dist-lib/lib/core/files/records/purge.js +13 -8
- package/dist-lib/lib/core/files/records/reclaim.js +20 -48
- package/dist-lib/lib/core/files/records/routing.d.ts +1 -1
- package/dist-lib/lib/core/files/records/routing.js +6 -2
- package/dist-lib/lib/core/files/records/source.js +3 -5
- package/dist-lib/lib/core/files/records/sweep.d.ts +3 -0
- package/dist-lib/lib/core/files/records/sweep.js +9 -3
- package/dist-lib/lib/core/files/store/blob.d.ts +2 -0
- package/dist-lib/lib/core/files/store/blob.js +2 -2
- package/dist-lib/lib/core/files/store/index.d.ts +3 -1
- package/dist-lib/lib/core/files/store/index.js +4 -1
- package/dist-lib/lib/core/files/store/reference.d.ts +3 -0
- package/dist-lib/lib/core/files/store/reference.js +12 -2
- package/dist-lib/lib/core/files/store/sweep.js +3 -1
- package/dist-lib/lib/core/files/upload.d.ts +5 -1
- package/dist-lib/lib/core/files/upload.js +53 -14
- package/dist-lib/lib/core/fs-drives.d.ts +6 -3
- package/dist-lib/lib/core/fs-drives.js +30 -18
- package/dist-lib/lib/core/id.d.ts +1 -0
- package/dist-lib/lib/core/id.js +3 -0
- package/dist-lib/lib/core/identity.d.ts +3 -1
- package/dist-lib/lib/core/identity.js +25 -4
- package/dist-lib/lib/core/invite.d.ts +4 -0
- package/dist-lib/lib/core/invite.js +19 -6
- package/dist-lib/lib/core/local/files.d.ts +2 -1
- package/dist-lib/lib/core/local/files.js +5 -7
- package/dist-lib/lib/core/local/index.d.ts +76 -6
- package/dist-lib/lib/core/local/index.js +209 -19
- package/dist-lib/lib/core/local/run-logs.d.ts +38 -0
- package/dist-lib/lib/core/local/run-logs.js +132 -0
- package/dist-lib/lib/core/member-key.d.ts +7 -0
- package/dist-lib/lib/core/member-key.js +24 -0
- package/dist-lib/lib/core/membership.d.ts +3 -14
- package/dist-lib/lib/core/membership.js +3 -96
- package/dist-lib/lib/core/mesh.d.ts +94 -28
- package/dist-lib/lib/core/mesh.js +527 -144
- package/dist-lib/lib/core/migrations/agent-tools-scope.d.ts +2 -0
- package/dist-lib/lib/core/migrations/agent-tools-scope.js +24 -0
- package/dist-lib/lib/core/migrations/file-index.js +2 -4
- package/dist-lib/lib/core/migrations/index.js +6 -2
- package/dist-lib/lib/core/model-requests.d.ts +13 -0
- package/dist-lib/lib/core/model-requests.js +65 -0
- package/dist-lib/lib/core/next-frame.js +2 -1
- package/dist-lib/lib/core/notification.js +4 -2
- package/dist-lib/lib/core/pdf/rasterize.d.ts +2 -2
- package/dist-lib/lib/core/pdf/rasterize.js +5 -6
- package/dist-lib/lib/core/peer-duplex.d.ts +34 -0
- package/dist-lib/lib/core/{harness-loan.js → peer-duplex.js} +47 -40
- package/dist-lib/lib/core/project-keys.d.ts +13 -0
- package/dist-lib/lib/core/project-keys.js +56 -0
- package/dist-lib/lib/core/prompt-history.js +4 -4
- package/dist-lib/lib/core/protocol-pairing.d.ts +11 -0
- package/dist-lib/lib/core/protocol-pairing.js +22 -0
- package/dist-lib/lib/core/public-mesh.d.ts +26 -0
- package/dist-lib/lib/core/public-mesh.js +88 -0
- package/dist-lib/lib/core/purge.d.ts +3 -0
- package/dist-lib/lib/core/purge.js +7 -0
- package/dist-lib/lib/core/run-driver.d.ts +17 -0
- package/dist-lib/lib/core/run-driver.js +20 -0
- package/dist-lib/lib/core/run-requests.d.ts +11 -0
- package/dist-lib/lib/core/run-requests.js +59 -0
- package/dist-lib/lib/core/send.d.ts +2 -0
- package/dist-lib/lib/core/send.js +17 -4
- package/dist-lib/lib/core/senders.d.ts +18 -0
- package/dist-lib/lib/core/senders.js +52 -0
- package/dist-lib/lib/core/shared-agents.d.ts +39 -0
- package/dist-lib/lib/core/shared-agents.js +255 -0
- package/dist-lib/lib/core/skill-secrets.d.ts +10 -16
- package/dist-lib/lib/core/skill-secrets.js +90 -72
- package/dist-lib/lib/core/sync/background.d.ts +47 -0
- package/dist-lib/lib/core/sync/background.js +162 -0
- package/dist-lib/lib/core/sync/changed.d.ts +20 -0
- package/dist-lib/lib/core/sync/changed.js +7 -0
- package/dist-lib/lib/core/sync/devices.js +1 -1
- package/dist-lib/lib/core/sync/files.d.ts +1 -0
- package/dist-lib/lib/core/sync/files.js +50 -72
- package/dist-lib/lib/core/sync/index.d.ts +1 -1
- package/dist-lib/lib/core/sync/index.js +154 -81
- package/dist-lib/lib/core/sync/view-updates.d.ts +33 -0
- package/dist-lib/lib/core/sync/view-updates.js +133 -0
- package/dist-lib/lib/core/system-info.d.ts +2 -2
- package/dist-lib/lib/core/system-info.js +10 -11
- package/dist-lib/lib/core/tool-configs.d.ts +5 -3
- package/dist-lib/lib/core/tool-configs.js +11 -11
- package/dist-lib/lib/core/transcript-visibility.d.ts +5 -5
- package/dist-lib/lib/core/transcript-visibility.js +27 -31
- package/dist-lib/lib/core/upgrade-agents.d.ts +11 -0
- package/dist-lib/lib/core/upgrade-agents.js +78 -0
- package/dist-lib/lib/core/video/attachment.d.ts +1 -0
- package/dist-lib/lib/core/video/attachment.js +7 -0
- package/dist-lib/lib/core/video/digest.d.ts +16 -0
- package/dist-lib/lib/core/video/digest.js +57 -0
- package/dist-lib/lib/core/video/frames.d.ts +32 -0
- package/dist-lib/lib/core/video/frames.js +224 -0
- package/dist-lib/lib/core/workspace-upgrade.d.ts +22 -0
- package/dist-lib/lib/core/workspace-upgrade.js +50 -0
- package/dist-lib/lib/core.d.ts +249 -79
- package/dist-lib/lib/core.js +3369 -1460
- package/dist-lib/lib/credential-pusher.d.ts +6 -0
- package/dist-lib/lib/credential-pusher.js +77 -60
- package/dist-lib/lib/custom-model-pusher.d.ts +2 -4
- package/dist-lib/lib/custom-model-task.d.ts +2 -1
- package/dist-lib/lib/custom-model-task.js +2 -2
- package/dist-lib/lib/diagnostics.d.ts +7 -0
- package/dist-lib/lib/diagnostics.js +22 -0
- package/dist-lib/lib/doctor/checks.d.ts +15 -0
- package/dist-lib/lib/doctor/checks.js +272 -0
- package/dist-lib/lib/doctor/redact.d.ts +4 -0
- package/dist-lib/lib/doctor/redact.js +31 -0
- package/dist-lib/lib/doctor/render.d.ts +8 -0
- package/dist-lib/lib/doctor/render.js +83 -0
- package/dist-lib/lib/doctor/tree.d.ts +5 -0
- package/dist-lib/lib/doctor/tree.js +167 -0
- package/dist-lib/lib/downloads-allowed-pusher.d.ts +8 -0
- package/dist-lib/lib/downloads-allowed-pusher.js +37 -0
- package/dist-lib/lib/errors.d.ts +790 -0
- package/dist-lib/lib/errors.js +724 -0
- package/dist-lib/lib/fs-drive-bridge.d.ts +1 -1
- package/dist-lib/lib/fs-drive-bridge.js +4 -1
- package/dist-lib/lib/guards.d.ts +1 -0
- package/dist-lib/lib/guards.js +4 -0
- package/dist-lib/lib/inference-calls.d.ts +1 -2
- package/dist-lib/lib/inference-calls.js +2 -10
- package/dist-lib/lib/knowledge-search.js +13 -18
- package/dist-lib/lib/kv-cache-reclaim.d.ts +2 -1
- package/dist-lib/lib/kv-cache-reclaim.js +30 -0
- package/dist-lib/lib/log.d.ts +7 -6
- package/dist-lib/lib/log.js +14 -7
- package/dist-lib/lib/logger-type.d.ts +2 -5
- package/dist-lib/lib/mesh-scoped-engine.js +42 -2
- package/dist-lib/lib/model-download-status.d.ts +3 -3
- package/dist-lib/lib/model-download.d.ts +11 -12
- package/dist-lib/lib/model-download.js +63 -22
- package/dist-lib/lib/model-idle-pusher.d.ts +2 -4
- package/dist-lib/lib/model-memory-cap.d.ts +27 -0
- package/dist-lib/lib/model-memory-cap.js +69 -0
- package/dist-lib/lib/models-watch.d.ts +1 -1
- package/dist-lib/lib/models-watch.js +4 -4
- package/dist-lib/lib/oauth/browser-connect.js +3 -2
- package/dist-lib/lib/oauth/flow-core.js +5 -3
- package/dist-lib/lib/oauth/flow.js +1 -1
- package/dist-lib/lib/oauth/loopback.d.ts +1 -0
- package/dist-lib/lib/oauth/loopback.js +57 -12
- package/dist-lib/lib/oauth/providers.js +4 -2
- package/dist-lib/lib/oauth/redirect-types.d.ts +1 -0
- package/dist-lib/lib/oauth/register.js +35 -19
- package/dist-lib/lib/oauth/request.d.ts +10 -0
- package/dist-lib/lib/oauth/request.js +22 -0
- package/dist-lib/lib/oauth/token-exchange-core.js +31 -33
- package/dist-lib/lib/oauth/types.d.ts +3 -0
- package/dist-lib/lib/oauth.d.ts +2 -1
- package/dist-lib/lib/oauth.js +1 -0
- package/dist-lib/lib/persistent-dir.d.ts +1 -0
- package/dist-lib/lib/persistent-dir.js +9 -0
- package/dist-lib/lib/probe-rounds.d.ts +3 -0
- package/dist-lib/lib/probe-rounds.js +5 -0
- package/dist-lib/lib/run-input.d.ts +14 -0
- package/dist-lib/lib/run-input.js +33 -0
- package/dist-lib/lib/run-notices.d.ts +3 -0
- package/dist-lib/lib/run-notices.js +8 -2
- package/dist-lib/lib/run-replay.d.ts +32 -0
- package/dist-lib/lib/run-replay.js +121 -0
- package/dist-lib/lib/run-transcript.d.ts +11 -12
- package/dist-lib/lib/run-transcript.js +16 -18
- package/dist-lib/lib/suspend-lifecycle.js +15 -5
- package/dist-lib/lib/task.js +6 -4
- package/dist-lib/lib/test-env.d.ts +1 -0
- package/dist-lib/lib/test-env.js +4 -0
- package/dist-lib/schema/build.js +3 -1
- package/dist-lib/schema/config.d.ts +1 -1
- package/dist-lib/schema/config.js +1 -1
- package/dist-lib/schema/content.d.ts +5 -1
- package/dist-lib/schema/content.js +58 -11
- package/dist-lib/schema/engine.d.ts +1 -0
- package/dist-lib/schema/engine.js +709 -116
- package/dist-lib/schema/field-order.js +2 -1
- package/dist-lib/schema/indexes.d.ts +3 -0
- package/dist-lib/schema/indexes.js +30 -3
- package/dist-lib/schema/local.js +72 -4
- package/dist-lib/schema/qvac.d.ts +4 -1
- package/dist-lib/schema/qvac.js +364 -12
- package/dist-lib/spec/bind.js +209 -48
- package/dist-lib/spec/calls.js +45 -5
- package/dist-lib/spec/capabilities.d.ts +98 -18
- package/dist-lib/spec/config/hyperconf/index.js +1 -1
- package/dist-lib/spec/hrpc/hrpc.json +726 -206
- package/dist-lib/spec/hrpc/index.js +832 -345
- package/dist-lib/spec/hrpc/messages.js +6906 -4832
- package/dist-lib/spec/hyperschema/index.js +6906 -4832
- package/dist-lib/spec/hyperschema/schema.json +4744 -3139
- package/dist-lib/spec/hyperschema/types.d.ts +461 -61
- package/dist-lib/spec/local/hyperdb/db.json +95 -1
- package/dist-lib/spec/local/hyperdb/index.js +459 -2
- package/dist-lib/spec/local/hyperdb/messages.js +1506 -484
- package/dist-lib/spec/local/hyperschema/index.js +542 -13
- package/dist-lib/spec/local/hyperschema/schema.json +319 -1
- package/dist-lib/spec/local/hyperschema/types.d.ts +78 -2
- package/dist-lib/spec/mesh/hyperdb/db.json +371 -5
- package/dist-lib/spec/mesh/hyperdb/index.js +1564 -5
- package/dist-lib/spec/mesh/hyperdb/messages.js +6023 -1246
- package/dist-lib/spec/mesh/hyperdispatch/dispatch.json +187 -1
- package/dist-lib/spec/mesh/hyperdispatch/index.js +528 -1
- package/dist-lib/spec/mesh/hyperdispatch/messages.js +3449 -217
- package/dist-lib/spec/mesh/hyperschema/index.js +3449 -217
- package/dist-lib/spec/mesh/hyperschema/schema.json +1865 -19
- package/dist-lib/spec/mesh/hyperschema/types.d.ts +470 -6
- package/package.json +50 -35
- package/worker/assistant-sidecar.mjs +15 -2
- package/worker/stow-entry.mjs +2 -0
- package/dist-lib/lib/core/contract/compute.d.ts +0 -11
- package/dist-lib/lib/core/contract/compute.js +0 -48
- package/dist-lib/lib/core/device-invites.d.ts +0 -11
- package/dist-lib/lib/core/device-invites.js +0 -63
- package/dist-lib/lib/core/grant-expiry.d.ts +0 -11
- package/dist-lib/lib/core/grant-expiry.js +0 -66
- package/dist-lib/lib/core/handoff-channel.d.ts +0 -47
- package/dist-lib/lib/core/handoff-channel.js +0 -123
- package/dist-lib/lib/core/harness-loan.d.ts +0 -29
- package/dist-lib/lib/core/host-run-log-store.d.ts +0 -114
- package/dist-lib/lib/core/host-run-log-store.js +0 -976
- package/dist-lib/lib/core/hosted-agents.d.ts +0 -38
- package/dist-lib/lib/core/hosted-agents.js +0 -140
- package/dist-lib/lib/core/inference-calls-handoff.d.ts +0 -20
- package/dist-lib/lib/core/inference-calls-handoff.js +0 -37
- package/dist-lib/lib/core/inference-calls-receiver.d.ts +0 -14
- package/dist-lib/lib/core/inference-calls-receiver.js +0 -42
- package/dist-lib/lib/core/mesh-seed-handoff.d.ts +0 -25
- package/dist-lib/lib/core/mesh-seed-handoff.js +0 -52
- package/dist-lib/lib/core/secret-handoff.d.ts +0 -17
- package/dist-lib/lib/core/secret-handoff.js +0 -29
- package/dist-lib/lib/core/skill-overlay-handoff.d.ts +0 -25
- package/dist-lib/lib/core/skill-overlay-handoff.js +0 -50
- package/dist-lib/lib/core/skill-overlay-receiver.d.ts +0 -8
- package/dist-lib/lib/core/skill-overlay-receiver.js +0 -23
- package/dist-lib/lib/image-cache-dir.d.ts +0 -1
- package/dist-lib/lib/image-cache-dir.js +0 -5
- package/dist-lib/lib/log-levels.d.ts +0 -7
- package/dist-lib/lib/log-levels.js +0 -1
- package/dist-lib/lib/logger.d.ts +0 -5
- package/dist-lib/lib/logger.js +0 -18
- package/dist-lib/lib/oauth/loopback.stub.d.ts +0 -3
- package/dist-lib/lib/oauth/loopback.stub.js +0 -6
- package/tui/README.md +0 -142
- package/tui/app.mjs +0 -6939
- package/tui/boot.mjs +0 -111
- package/tui/index.mjs +0 -53
- package/tui/lib/boot-timing.mjs +0 -41
- package/tui/lib/busy-words.mjs +0 -116
- package/tui/lib/export.mjs +0 -194
- package/tui/lib/knowledge-command.mjs +0 -190
- package/tui/lib/knowledge-import.mjs +0 -171
- package/tui/lib/render.mjs +0 -196
- package/tui/lib/save-file.mjs +0 -88
- package/tui/lib/select.mjs +0 -81
- package/tui/lib/selection.mjs +0 -18
- package/tui/lib/setup.mjs +0 -101
- package/tui/lib/sidebar.mjs +0 -63
- package/tui/lib/splash-art.mjs +0 -107
- package/tui/lib/splash.mjs +0 -18
- package/tui/lib/upload-frames.mjs +0 -9
- package/tui/lib/usage.mjs +0 -59
- package/tui/lib/wrap.mjs +0 -143
- package/tui/main.mjs +0 -264
|
@@ -32,294 +32,374 @@ const methods = new Map([
|
|
|
32
32
|
[11, '@assistant/get-chat'],
|
|
33
33
|
['@assistant/rename-chat', 12],
|
|
34
34
|
[12, '@assistant/rename-chat'],
|
|
35
|
-
['@assistant/set-chat-
|
|
36
|
-
[13, '@assistant/set-chat-
|
|
37
|
-
['@assistant/set-chat-
|
|
38
|
-
[14, '@assistant/set-chat-
|
|
39
|
-
['@assistant/
|
|
40
|
-
[15, '@assistant/
|
|
41
|
-
['@assistant/
|
|
42
|
-
[16, '@assistant/
|
|
43
|
-
['@assistant/
|
|
44
|
-
[17, '@assistant/
|
|
45
|
-
['@assistant/
|
|
46
|
-
[18, '@assistant/
|
|
47
|
-
['@assistant/
|
|
48
|
-
[19, '@assistant/
|
|
49
|
-
['@assistant/
|
|
50
|
-
[20, '@assistant/
|
|
51
|
-
['@assistant/
|
|
52
|
-
[21, '@assistant/
|
|
53
|
-
['@assistant/
|
|
54
|
-
[22, '@assistant/
|
|
55
|
-
['@assistant/chat-activity
|
|
56
|
-
[23, '@assistant/chat-activity
|
|
57
|
-
['@assistant/
|
|
58
|
-
[24, '@assistant/
|
|
59
|
-
['@assistant/devices
|
|
60
|
-
[25, '@assistant/devices
|
|
61
|
-
['@assistant/
|
|
62
|
-
[26, '@assistant/
|
|
63
|
-
['@assistant/
|
|
64
|
-
[27, '@assistant/
|
|
65
|
-
['@assistant/
|
|
66
|
-
[28, '@assistant/
|
|
67
|
-
['@assistant/
|
|
68
|
-
[29, '@assistant/
|
|
69
|
-
['@assistant/
|
|
70
|
-
[30, '@assistant/
|
|
71
|
-
['@assistant/
|
|
72
|
-
[31, '@assistant/
|
|
73
|
-
['@assistant/
|
|
74
|
-
[32, '@assistant/
|
|
75
|
-
['@assistant/remove-
|
|
76
|
-
[33, '@assistant/remove-
|
|
77
|
-
['@assistant/
|
|
78
|
-
[34, '@assistant/
|
|
79
|
-
['@assistant/
|
|
80
|
-
[35, '@assistant/
|
|
81
|
-
['@assistant/
|
|
82
|
-
[36, '@assistant/
|
|
83
|
-
['@assistant/
|
|
84
|
-
[37, '@assistant/
|
|
85
|
-
['@assistant/
|
|
86
|
-
[38, '@assistant/
|
|
87
|
-
['@assistant/
|
|
88
|
-
[39, '@assistant/
|
|
89
|
-
['@assistant/chunks
|
|
90
|
-
[40, '@assistant/chunks
|
|
91
|
-
['@assistant/
|
|
92
|
-
[41, '@assistant/
|
|
93
|
-
['@assistant/
|
|
94
|
-
[42, '@assistant/
|
|
95
|
-
['@assistant/
|
|
96
|
-
[43, '@assistant/
|
|
97
|
-
['@assistant/
|
|
98
|
-
[44, '@assistant/
|
|
99
|
-
['@assistant/
|
|
100
|
-
[45, '@assistant/
|
|
101
|
-
['@assistant/knowledge
|
|
102
|
-
[46, '@assistant/knowledge
|
|
103
|
-
['@assistant/
|
|
104
|
-
[47, '@assistant/
|
|
105
|
-
['@assistant/
|
|
106
|
-
[48, '@assistant/
|
|
107
|
-
['@assistant/
|
|
108
|
-
[49, '@assistant/
|
|
109
|
-
['@assistant/
|
|
110
|
-
[50, '@assistant/
|
|
111
|
-
['@assistant/
|
|
112
|
-
[51, '@assistant/
|
|
113
|
-
['@assistant/
|
|
114
|
-
[52, '@assistant/
|
|
115
|
-
['@assistant/
|
|
116
|
-
[53, '@assistant/
|
|
117
|
-
['@assistant/
|
|
118
|
-
[54, '@assistant/
|
|
119
|
-
['@assistant/
|
|
120
|
-
[55, '@assistant/
|
|
121
|
-
['@assistant/
|
|
122
|
-
[56, '@assistant/
|
|
123
|
-
['@assistant/mesh
|
|
124
|
-
[57, '@assistant/mesh
|
|
125
|
-
['@assistant/
|
|
126
|
-
[58, '@assistant/
|
|
127
|
-
['@assistant/
|
|
128
|
-
[59, '@assistant/
|
|
129
|
-
['@assistant/
|
|
130
|
-
[60, '@assistant/
|
|
131
|
-
['@assistant/
|
|
132
|
-
[61, '@assistant/
|
|
133
|
-
['@assistant/
|
|
134
|
-
[62, '@assistant/
|
|
135
|
-
['@assistant/
|
|
136
|
-
[63, '@assistant/
|
|
137
|
-
['@assistant/
|
|
138
|
-
[64, '@assistant/
|
|
139
|
-
['@assistant/
|
|
140
|
-
[65, '@assistant/
|
|
141
|
-
['@assistant/
|
|
142
|
-
[66, '@assistant/
|
|
143
|
-
['@assistant/
|
|
144
|
-
[67, '@assistant/
|
|
145
|
-
['@assistant/list-
|
|
146
|
-
[68, '@assistant/list-
|
|
147
|
-
['@assistant/
|
|
148
|
-
[69, '@assistant/
|
|
149
|
-
['@assistant/
|
|
150
|
-
[70, '@assistant/
|
|
151
|
-
['@assistant/
|
|
152
|
-
[71, '@assistant/
|
|
153
|
-
['@assistant/
|
|
154
|
-
[72, '@assistant/
|
|
155
|
-
['@assistant/
|
|
156
|
-
[73, '@assistant/
|
|
157
|
-
['@assistant/
|
|
158
|
-
[74, '@assistant/
|
|
159
|
-
['@assistant/
|
|
160
|
-
[75, '@assistant/
|
|
161
|
-
['@assistant/download
|
|
162
|
-
[76, '@assistant/download
|
|
163
|
-
['@assistant/
|
|
164
|
-
[77, '@assistant/
|
|
165
|
-
['@assistant/
|
|
166
|
-
[78, '@assistant/
|
|
167
|
-
['@assistant/
|
|
168
|
-
[79, '@assistant/
|
|
169
|
-
['@assistant/
|
|
170
|
-
[80, '@assistant/
|
|
171
|
-
['@assistant/
|
|
172
|
-
[81, '@assistant/
|
|
173
|
-
['@assistant/
|
|
174
|
-
[82, '@assistant/
|
|
175
|
-
['@assistant/
|
|
176
|
-
[83, '@assistant/
|
|
177
|
-
['@assistant/
|
|
178
|
-
[84, '@assistant/
|
|
179
|
-
['@assistant/
|
|
180
|
-
[85, '@assistant/
|
|
181
|
-
['@assistant/
|
|
182
|
-
[86, '@assistant/
|
|
183
|
-
['@assistant/
|
|
184
|
-
[87, '@assistant/
|
|
185
|
-
['@assistant/
|
|
186
|
-
[88, '@assistant/
|
|
187
|
-
['@assistant/
|
|
188
|
-
[89, '@assistant/
|
|
189
|
-
['@assistant/
|
|
190
|
-
[90, '@assistant/
|
|
191
|
-
['@assistant/
|
|
192
|
-
[91, '@assistant/
|
|
193
|
-
['@assistant/
|
|
194
|
-
[92, '@assistant/
|
|
195
|
-
['@assistant/
|
|
196
|
-
[93, '@assistant/
|
|
197
|
-
['@assistant/
|
|
198
|
-
[94, '@assistant/
|
|
199
|
-
['@assistant/
|
|
200
|
-
[95, '@assistant/
|
|
201
|
-
['@assistant/list-tool-
|
|
202
|
-
[96, '@assistant/list-tool-
|
|
203
|
-
['@assistant/tool-
|
|
204
|
-
[97, '@assistant/tool-
|
|
205
|
-
['@assistant/
|
|
206
|
-
[98, '@assistant/
|
|
207
|
-
['@assistant/
|
|
208
|
-
[99, '@assistant/
|
|
209
|
-
['@assistant/list-
|
|
210
|
-
[100, '@assistant/list-
|
|
211
|
-
['@assistant/
|
|
212
|
-
[101, '@assistant/
|
|
213
|
-
['@assistant/
|
|
214
|
-
[102, '@assistant/
|
|
215
|
-
['@assistant/
|
|
216
|
-
[103, '@assistant/
|
|
217
|
-
['@assistant/
|
|
218
|
-
[104, '@assistant/
|
|
219
|
-
['@assistant/
|
|
220
|
-
[105, '@assistant/
|
|
221
|
-
['@assistant/
|
|
222
|
-
[106, '@assistant/
|
|
223
|
-
['@assistant/
|
|
224
|
-
[107, '@assistant/
|
|
225
|
-
['@assistant/
|
|
226
|
-
[108, '@assistant/
|
|
227
|
-
['@assistant/
|
|
228
|
-
[109, '@assistant/
|
|
229
|
-
['@assistant/
|
|
230
|
-
[110, '@assistant/
|
|
231
|
-
['@assistant/
|
|
232
|
-
[111, '@assistant/
|
|
233
|
-
['@assistant/
|
|
234
|
-
[112, '@assistant/
|
|
235
|
-
['@assistant/
|
|
236
|
-
[113, '@assistant/
|
|
237
|
-
['@assistant/
|
|
238
|
-
[114, '@assistant/
|
|
239
|
-
['@assistant/
|
|
240
|
-
[115, '@assistant/
|
|
241
|
-
['@assistant/
|
|
242
|
-
[116, '@assistant/
|
|
243
|
-
['@assistant/
|
|
244
|
-
[117, '@assistant/
|
|
245
|
-
['@assistant/
|
|
246
|
-
[118, '@assistant/
|
|
247
|
-
['@assistant/
|
|
248
|
-
[119, '@assistant/
|
|
249
|
-
['@assistant/
|
|
250
|
-
[120, '@assistant/
|
|
251
|
-
['@assistant/
|
|
252
|
-
[121, '@assistant/
|
|
253
|
-
['@assistant/
|
|
254
|
-
[122, '@assistant/
|
|
255
|
-
['@assistant/
|
|
256
|
-
[123, '@assistant/
|
|
257
|
-
['@assistant/
|
|
258
|
-
[124, '@assistant/
|
|
259
|
-
['@assistant/
|
|
260
|
-
[125, '@assistant/
|
|
261
|
-
['@assistant/
|
|
262
|
-
[126, '@assistant/
|
|
263
|
-
['@assistant/
|
|
264
|
-
[127, '@assistant/
|
|
265
|
-
['@assistant/
|
|
266
|
-
[128, '@assistant/
|
|
267
|
-
['@assistant/
|
|
268
|
-
[129, '@assistant/
|
|
269
|
-
['@assistant/
|
|
270
|
-
[130, '@assistant/
|
|
271
|
-
['@assistant/
|
|
272
|
-
[131, '@assistant/
|
|
273
|
-
['@assistant/
|
|
274
|
-
[132, '@assistant/
|
|
275
|
-
['@assistant/
|
|
276
|
-
[133, '@assistant/
|
|
277
|
-
['@assistant/
|
|
278
|
-
[134, '@assistant/
|
|
279
|
-
['@assistant/
|
|
280
|
-
[135, '@assistant/
|
|
281
|
-
['@assistant/
|
|
282
|
-
[136, '@assistant/
|
|
283
|
-
['@assistant/
|
|
284
|
-
[137, '@assistant/
|
|
285
|
-
['@assistant/
|
|
286
|
-
[138, '@assistant/
|
|
287
|
-
['@assistant/
|
|
288
|
-
[139, '@assistant/
|
|
289
|
-
['@assistant/
|
|
290
|
-
[140, '@assistant/
|
|
291
|
-
['@assistant/
|
|
292
|
-
[141, '@assistant/
|
|
293
|
-
['@assistant/
|
|
294
|
-
[142, '@assistant/
|
|
295
|
-
['@assistant/
|
|
296
|
-
[143, '@assistant/
|
|
297
|
-
['@assistant/
|
|
298
|
-
[144, '@assistant/
|
|
299
|
-
['@assistant/
|
|
300
|
-
[145, '@assistant/
|
|
301
|
-
['@assistant/
|
|
302
|
-
[146, '@assistant/
|
|
303
|
-
['@assistant/
|
|
304
|
-
[147, '@assistant/
|
|
305
|
-
['@assistant/
|
|
306
|
-
[148, '@assistant/
|
|
307
|
-
['@assistant/preview-
|
|
308
|
-
[149, '@assistant/preview-
|
|
309
|
-
['@assistant/
|
|
310
|
-
[150, '@assistant/
|
|
311
|
-
['@assistant/
|
|
312
|
-
[151, '@assistant/
|
|
313
|
-
['@assistant/
|
|
314
|
-
[152, '@assistant/
|
|
315
|
-
['@assistant/
|
|
316
|
-
[153, '@assistant/
|
|
317
|
-
['@assistant/
|
|
318
|
-
[154, '@assistant/
|
|
319
|
-
['@assistant/
|
|
320
|
-
[155, '@assistant/
|
|
321
|
-
['@assistant/
|
|
322
|
-
[156, '@assistant/
|
|
35
|
+
['@assistant/set-chat-suggestion', 13],
|
|
36
|
+
[13, '@assistant/set-chat-suggestion'],
|
|
37
|
+
['@assistant/set-chat-rag-enabled', 14],
|
|
38
|
+
[14, '@assistant/set-chat-rag-enabled'],
|
|
39
|
+
['@assistant/set-chat-web-search-enabled', 15],
|
|
40
|
+
[15, '@assistant/set-chat-web-search-enabled'],
|
|
41
|
+
['@assistant/delete-chat', 16],
|
|
42
|
+
[16, '@assistant/delete-chat'],
|
|
43
|
+
['@assistant/chats-watch', 17],
|
|
44
|
+
[17, '@assistant/chats-watch'],
|
|
45
|
+
['@assistant/create-chat-group', 18],
|
|
46
|
+
[18, '@assistant/create-chat-group'],
|
|
47
|
+
['@assistant/list-chat-groups', 19],
|
|
48
|
+
[19, '@assistant/list-chat-groups'],
|
|
49
|
+
['@assistant/rename-chat-group', 20],
|
|
50
|
+
[20, '@assistant/rename-chat-group'],
|
|
51
|
+
['@assistant/delete-chat-group', 21],
|
|
52
|
+
[21, '@assistant/delete-chat-group'],
|
|
53
|
+
['@assistant/set-chat-group', 22],
|
|
54
|
+
[22, '@assistant/set-chat-group'],
|
|
55
|
+
['@assistant/list-chat-activity', 23],
|
|
56
|
+
[23, '@assistant/list-chat-activity'],
|
|
57
|
+
['@assistant/chat-activity-watch', 24],
|
|
58
|
+
[24, '@assistant/chat-activity-watch'],
|
|
59
|
+
['@assistant/list-devices', 25],
|
|
60
|
+
[25, '@assistant/list-devices'],
|
|
61
|
+
['@assistant/devices-watch', 26],
|
|
62
|
+
[26, '@assistant/devices-watch'],
|
|
63
|
+
['@assistant/save-device-capabilities', 27],
|
|
64
|
+
[27, '@assistant/save-device-capabilities'],
|
|
65
|
+
['@assistant/model-downloads-watch', 28],
|
|
66
|
+
[28, '@assistant/model-downloads-watch'],
|
|
67
|
+
['@assistant/set-model-download-status', 29],
|
|
68
|
+
[29, '@assistant/set-model-download-status'],
|
|
69
|
+
['@assistant/clear-model-download', 30],
|
|
70
|
+
[30, '@assistant/clear-model-download'],
|
|
71
|
+
['@assistant/custom-models-watch', 31],
|
|
72
|
+
[31, '@assistant/custom-models-watch'],
|
|
73
|
+
['@assistant/add-custom-model', 32],
|
|
74
|
+
[32, '@assistant/add-custom-model'],
|
|
75
|
+
['@assistant/remove-custom-model', 33],
|
|
76
|
+
[33, '@assistant/remove-custom-model'],
|
|
77
|
+
['@assistant/remove-device', 34],
|
|
78
|
+
[34, '@assistant/remove-device'],
|
|
79
|
+
['@assistant/rename-device', 35],
|
|
80
|
+
[35, '@assistant/rename-device'],
|
|
81
|
+
['@assistant/save-device-profile', 36],
|
|
82
|
+
[36, '@assistant/save-device-profile'],
|
|
83
|
+
['@assistant/append-chunk', 37],
|
|
84
|
+
[37, '@assistant/append-chunk'],
|
|
85
|
+
['@assistant/update-chunk', 38],
|
|
86
|
+
[38, '@assistant/update-chunk'],
|
|
87
|
+
['@assistant/resolve-approval', 39],
|
|
88
|
+
[39, '@assistant/resolve-approval'],
|
|
89
|
+
['@assistant/list-chunks', 40],
|
|
90
|
+
[40, '@assistant/list-chunks'],
|
|
91
|
+
['@assistant/chunks-watch', 41],
|
|
92
|
+
[41, '@assistant/chunks-watch'],
|
|
93
|
+
['@assistant/upload-attachment', 42],
|
|
94
|
+
[42, '@assistant/upload-attachment'],
|
|
95
|
+
['@assistant/download-attachment', 43],
|
|
96
|
+
[43, '@assistant/download-attachment'],
|
|
97
|
+
['@assistant/delete-attachment', 44],
|
|
98
|
+
[44, '@assistant/delete-attachment'],
|
|
99
|
+
['@assistant/upload-knowledge', 45],
|
|
100
|
+
[45, '@assistant/upload-knowledge'],
|
|
101
|
+
['@assistant/list-knowledge', 46],
|
|
102
|
+
[46, '@assistant/list-knowledge'],
|
|
103
|
+
['@assistant/knowledge-watch', 47],
|
|
104
|
+
[47, '@assistant/knowledge-watch'],
|
|
105
|
+
['@assistant/remove-knowledge', 48],
|
|
106
|
+
[48, '@assistant/remove-knowledge'],
|
|
107
|
+
['@assistant/rag-search', 49],
|
|
108
|
+
[49, '@assistant/rag-search'],
|
|
109
|
+
['@assistant/run-agent', 50],
|
|
110
|
+
[50, '@assistant/run-agent'],
|
|
111
|
+
['@assistant/send-message', 51],
|
|
112
|
+
[51, '@assistant/send-message'],
|
|
113
|
+
['@assistant/stop-run', 52],
|
|
114
|
+
[52, '@assistant/stop-run'],
|
|
115
|
+
['@assistant/mesh-status-watch', 53],
|
|
116
|
+
[53, '@assistant/mesh-status-watch'],
|
|
117
|
+
['@assistant/network-watch', 54],
|
|
118
|
+
[54, '@assistant/network-watch'],
|
|
119
|
+
['@assistant/device-info', 55],
|
|
120
|
+
[55, '@assistant/device-info'],
|
|
121
|
+
['@assistant/store-identity-phrase', 56],
|
|
122
|
+
[56, '@assistant/store-identity-phrase'],
|
|
123
|
+
['@assistant/leave-mesh', 57],
|
|
124
|
+
[57, '@assistant/leave-mesh'],
|
|
125
|
+
['@assistant/acknowledge-kicked', 58],
|
|
126
|
+
[58, '@assistant/acknowledge-kicked'],
|
|
127
|
+
['@assistant/join-mesh', 59],
|
|
128
|
+
[59, '@assistant/join-mesh'],
|
|
129
|
+
['@assistant/cancel-mesh-join', 60],
|
|
130
|
+
[60, '@assistant/cancel-mesh-join'],
|
|
131
|
+
['@assistant/suspend', 61],
|
|
132
|
+
[61, '@assistant/suspend'],
|
|
133
|
+
['@assistant/resume', 62],
|
|
134
|
+
[62, '@assistant/resume'],
|
|
135
|
+
['@assistant/mesh-invite', 63],
|
|
136
|
+
[63, '@assistant/mesh-invite'],
|
|
137
|
+
['@assistant/list-approval-rules', 64],
|
|
138
|
+
[64, '@assistant/list-approval-rules'],
|
|
139
|
+
['@assistant/diagnostics', 65],
|
|
140
|
+
[65, '@assistant/diagnostics'],
|
|
141
|
+
['@assistant/diagnostics-watch', 66],
|
|
142
|
+
[66, '@assistant/diagnostics-watch'],
|
|
143
|
+
['@assistant/run-requests-watch', 67],
|
|
144
|
+
[67, '@assistant/run-requests-watch'],
|
|
145
|
+
['@assistant/list-models', 68],
|
|
146
|
+
[68, '@assistant/list-models'],
|
|
147
|
+
['@assistant/delete-model', 69],
|
|
148
|
+
[69, '@assistant/delete-model'],
|
|
149
|
+
['@assistant/model-catalog-watch', 70],
|
|
150
|
+
[70, '@assistant/model-catalog-watch'],
|
|
151
|
+
['@assistant/skills', 71],
|
|
152
|
+
[71, '@assistant/skills'],
|
|
153
|
+
['@assistant/download-knowledge', 72],
|
|
154
|
+
[72, '@assistant/download-knowledge'],
|
|
155
|
+
['@assistant/get-config', 73],
|
|
156
|
+
[73, '@assistant/get-config'],
|
|
157
|
+
['@assistant/set-config', 74],
|
|
158
|
+
[74, '@assistant/set-config'],
|
|
159
|
+
['@assistant/set-model-paused', 75],
|
|
160
|
+
[75, '@assistant/set-model-paused'],
|
|
161
|
+
['@assistant/retry-model-download', 76],
|
|
162
|
+
[76, '@assistant/retry-model-download'],
|
|
163
|
+
['@assistant/config-watch-typed', 77],
|
|
164
|
+
[77, '@assistant/config-watch-typed'],
|
|
165
|
+
['@assistant/logs-watch', 78],
|
|
166
|
+
[78, '@assistant/logs-watch'],
|
|
167
|
+
['@assistant/write-log', 79],
|
|
168
|
+
[79, '@assistant/write-log'],
|
|
169
|
+
['@assistant/list-indexing', 80],
|
|
170
|
+
[80, '@assistant/list-indexing'],
|
|
171
|
+
['@assistant/transcribe', 81],
|
|
172
|
+
[81, '@assistant/transcribe'],
|
|
173
|
+
['@assistant/speak', 82],
|
|
174
|
+
[82, '@assistant/speak'],
|
|
175
|
+
['@assistant/skill-catalog', 83],
|
|
176
|
+
[83, '@assistant/skill-catalog'],
|
|
177
|
+
['@assistant/tools', 84],
|
|
178
|
+
[84, '@assistant/tools'],
|
|
179
|
+
['@assistant/speak-stream', 85],
|
|
180
|
+
[85, '@assistant/speak-stream'],
|
|
181
|
+
['@assistant/indexing-progress-watch', 86],
|
|
182
|
+
[86, '@assistant/indexing-progress-watch'],
|
|
183
|
+
['@assistant/indexing-watch', 87],
|
|
184
|
+
[87, '@assistant/indexing-watch'],
|
|
185
|
+
['@assistant/transcode-image', 88],
|
|
186
|
+
[88, '@assistant/transcode-image'],
|
|
187
|
+
['@assistant/sync-status-watch', 89],
|
|
188
|
+
[89, '@assistant/sync-status-watch'],
|
|
189
|
+
['@assistant/set-tool-configs', 90],
|
|
190
|
+
[90, '@assistant/set-tool-configs'],
|
|
191
|
+
['@assistant/delete-tool-configs', 91],
|
|
192
|
+
[91, '@assistant/delete-tool-configs'],
|
|
193
|
+
['@assistant/list-tool-configs', 92],
|
|
194
|
+
[92, '@assistant/list-tool-configs'],
|
|
195
|
+
['@assistant/tool-configs-watch', 93],
|
|
196
|
+
[93, '@assistant/tool-configs-watch'],
|
|
197
|
+
['@assistant/list-attachments-by-kind', 94],
|
|
198
|
+
[94, '@assistant/list-attachments-by-kind'],
|
|
199
|
+
['@assistant/search-chats', 95],
|
|
200
|
+
[95, '@assistant/search-chats'],
|
|
201
|
+
['@assistant/list-tool-activity', 96],
|
|
202
|
+
[96, '@assistant/list-tool-activity'],
|
|
203
|
+
['@assistant/tool-activity-watch', 97],
|
|
204
|
+
[97, '@assistant/tool-activity-watch'],
|
|
205
|
+
['@assistant/record-tool-activity', 98],
|
|
206
|
+
[98, '@assistant/record-tool-activity'],
|
|
207
|
+
['@assistant/clear-kv-cache', 99],
|
|
208
|
+
[99, '@assistant/clear-kv-cache'],
|
|
209
|
+
['@assistant/list-managed-skills', 100],
|
|
210
|
+
[100, '@assistant/list-managed-skills'],
|
|
211
|
+
['@assistant/read-skill-file', 101],
|
|
212
|
+
[101, '@assistant/read-skill-file'],
|
|
213
|
+
['@assistant/write-skill-file', 102],
|
|
214
|
+
[102, '@assistant/write-skill-file'],
|
|
215
|
+
['@assistant/copy-skill-for-edit', 103],
|
|
216
|
+
[103, '@assistant/copy-skill-for-edit'],
|
|
217
|
+
['@assistant/delete-overlay-skill', 104],
|
|
218
|
+
[104, '@assistant/delete-overlay-skill'],
|
|
219
|
+
['@assistant/push-skill-secret', 105],
|
|
220
|
+
[105, '@assistant/push-skill-secret'],
|
|
221
|
+
['@assistant/file-status-watch', 106],
|
|
222
|
+
[106, '@assistant/file-status-watch'],
|
|
223
|
+
['@assistant/compact-chat', 107],
|
|
224
|
+
[107, '@assistant/compact-chat'],
|
|
225
|
+
['@assistant/notifications-watch', 108],
|
|
226
|
+
[108, '@assistant/notifications-watch'],
|
|
227
|
+
['@assistant/ack-notification', 109],
|
|
228
|
+
[109, '@assistant/ack-notification'],
|
|
229
|
+
['@assistant/begin-model-transfer', 110],
|
|
230
|
+
[110, '@assistant/begin-model-transfer'],
|
|
231
|
+
['@assistant/complete-model-transfer', 111],
|
|
232
|
+
[111, '@assistant/complete-model-transfer'],
|
|
233
|
+
['@assistant/delete-chat-kv-cache', 112],
|
|
234
|
+
[112, '@assistant/delete-chat-kv-cache'],
|
|
235
|
+
['@assistant/file-read', 113],
|
|
236
|
+
[113, '@assistant/file-read'],
|
|
237
|
+
['@assistant/file-preview', 114],
|
|
238
|
+
[114, '@assistant/file-preview'],
|
|
239
|
+
['@assistant/file-retry', 115],
|
|
240
|
+
[115, '@assistant/file-retry'],
|
|
241
|
+
['@assistant/move-chat', 116],
|
|
242
|
+
[116, '@assistant/move-chat'],
|
|
243
|
+
['@assistant/move-chat-group', 117],
|
|
244
|
+
[117, '@assistant/move-chat-group'],
|
|
245
|
+
['@assistant/list-members', 118],
|
|
246
|
+
[118, '@assistant/list-members'],
|
|
247
|
+
['@assistant/list-meshes', 119],
|
|
248
|
+
[119, '@assistant/list-meshes'],
|
|
249
|
+
['@assistant/meshes-watch', 120],
|
|
250
|
+
[120, '@assistant/meshes-watch'],
|
|
251
|
+
['@assistant/account', 121],
|
|
252
|
+
[121, '@assistant/account'],
|
|
253
|
+
['@assistant/account-watch', 122],
|
|
254
|
+
[122, '@assistant/account-watch'],
|
|
255
|
+
['@assistant/open-mesh', 123],
|
|
256
|
+
[123, '@assistant/open-mesh'],
|
|
257
|
+
['@assistant/close-mesh', 124],
|
|
258
|
+
[124, '@assistant/close-mesh'],
|
|
259
|
+
['@assistant/set-mesh-label', 125],
|
|
260
|
+
[125, '@assistant/set-mesh-label'],
|
|
261
|
+
['@assistant/create-room', 126],
|
|
262
|
+
[126, '@assistant/create-room'],
|
|
263
|
+
['@assistant/sort-chat-groups-by-name', 127],
|
|
264
|
+
[127, '@assistant/sort-chat-groups-by-name'],
|
|
265
|
+
['@assistant/members-watch', 128],
|
|
266
|
+
[128, '@assistant/members-watch'],
|
|
267
|
+
['@assistant/update-member', 129],
|
|
268
|
+
[129, '@assistant/update-member'],
|
|
269
|
+
['@assistant/remove-member', 130],
|
|
270
|
+
[130, '@assistant/remove-member'],
|
|
271
|
+
['@assistant/archived-mesh-contents', 131],
|
|
272
|
+
[131, '@assistant/archived-mesh-contents'],
|
|
273
|
+
['@assistant/migrate-archived-mesh', 132],
|
|
274
|
+
[132, '@assistant/migrate-archived-mesh'],
|
|
275
|
+
['@assistant/list-archived-meshes', 133],
|
|
276
|
+
[133, '@assistant/list-archived-meshes'],
|
|
277
|
+
['@assistant/account-recoverable', 134],
|
|
278
|
+
[134, '@assistant/account-recoverable'],
|
|
279
|
+
['@assistant/recovery-publish', 135],
|
|
280
|
+
[135, '@assistant/recovery-publish'],
|
|
281
|
+
['@assistant/recover-account', 136],
|
|
282
|
+
[136, '@assistant/recover-account'],
|
|
283
|
+
['@assistant/display-name', 137],
|
|
284
|
+
[137, '@assistant/display-name'],
|
|
285
|
+
['@assistant/set-display-name', 138],
|
|
286
|
+
[138, '@assistant/set-display-name'],
|
|
287
|
+
['@assistant/inference-calls', 139],
|
|
288
|
+
[139, '@assistant/inference-calls'],
|
|
289
|
+
['@assistant/list-local-files', 140],
|
|
290
|
+
[140, '@assistant/list-local-files'],
|
|
291
|
+
['@assistant/get-default-agent', 141],
|
|
292
|
+
[141, '@assistant/get-default-agent'],
|
|
293
|
+
['@assistant/get-device', 142],
|
|
294
|
+
[142, '@assistant/get-device'],
|
|
295
|
+
['@assistant/detect-language', 143],
|
|
296
|
+
[143, '@assistant/detect-language'],
|
|
297
|
+
['@assistant/create-mesh', 144],
|
|
298
|
+
[144, '@assistant/create-mesh'],
|
|
299
|
+
['@assistant/preview-mesh-invite', 145],
|
|
300
|
+
[145, '@assistant/preview-mesh-invite'],
|
|
301
|
+
['@assistant/load-model', 146],
|
|
302
|
+
[146, '@assistant/load-model'],
|
|
303
|
+
['@assistant/unload-model', 147],
|
|
304
|
+
[147, '@assistant/unload-model'],
|
|
305
|
+
['@assistant/set-model-released', 148],
|
|
306
|
+
[148, '@assistant/set-model-released'],
|
|
307
|
+
['@assistant/preview-custom-model', 149],
|
|
308
|
+
[149, '@assistant/preview-custom-model'],
|
|
309
|
+
['@assistant/model-users', 150],
|
|
310
|
+
[150, '@assistant/model-users'],
|
|
311
|
+
['@assistant/mark-chat-read', 151],
|
|
312
|
+
[151, '@assistant/mark-chat-read'],
|
|
313
|
+
['@assistant/models-watch', 152],
|
|
314
|
+
[152, '@assistant/models-watch'],
|
|
315
|
+
['@assistant/set-mesh-name', 153],
|
|
316
|
+
[153, '@assistant/set-mesh-name'],
|
|
317
|
+
['@assistant/set-chat-agent', 154],
|
|
318
|
+
[154, '@assistant/set-chat-agent'],
|
|
319
|
+
['@assistant/move-chat-to-mesh', 155],
|
|
320
|
+
[155, '@assistant/move-chat-to-mesh'],
|
|
321
|
+
['@assistant/chat-move-watch', 156],
|
|
322
|
+
[156, '@assistant/chat-move-watch'],
|
|
323
|
+
['@assistant/chunks-delta-watch', 157],
|
|
324
|
+
[157, '@assistant/chunks-delta-watch'],
|
|
325
|
+
['@assistant/set-auto-download-models', 158],
|
|
326
|
+
[158, '@assistant/set-auto-download-models'],
|
|
327
|
+
['@assistant/fork-chat', 159],
|
|
328
|
+
[159, '@assistant/fork-chat'],
|
|
329
|
+
['@assistant/set-blind-peering', 160],
|
|
330
|
+
[160, '@assistant/set-blind-peering'],
|
|
331
|
+
['@assistant/blind-peering-watch', 161],
|
|
332
|
+
[161, '@assistant/blind-peering-watch'],
|
|
333
|
+
['@assistant/list-agent-folders', 162],
|
|
334
|
+
[162, '@assistant/list-agent-folders'],
|
|
335
|
+
['@assistant/add-agent-folder', 163],
|
|
336
|
+
[163, '@assistant/add-agent-folder'],
|
|
337
|
+
['@assistant/remove-agent-folder', 164],
|
|
338
|
+
[164, '@assistant/remove-agent-folder'],
|
|
339
|
+
['@assistant/create-workspace', 165],
|
|
340
|
+
[165, '@assistant/create-workspace'],
|
|
341
|
+
['@assistant/get-workspace', 166],
|
|
342
|
+
[166, '@assistant/get-workspace'],
|
|
343
|
+
['@assistant/workspace-watch', 167],
|
|
344
|
+
[167, '@assistant/workspace-watch'],
|
|
345
|
+
['@assistant/update-workspace', 168],
|
|
346
|
+
[168, '@assistant/update-workspace'],
|
|
347
|
+
['@assistant/set-member-role', 169],
|
|
348
|
+
[169, '@assistant/set-member-role'],
|
|
349
|
+
['@assistant/create-project', 170],
|
|
350
|
+
[170, '@assistant/create-project'],
|
|
351
|
+
['@assistant/list-projects', 171],
|
|
352
|
+
[171, '@assistant/list-projects'],
|
|
353
|
+
['@assistant/projects-watch', 172],
|
|
354
|
+
[172, '@assistant/projects-watch'],
|
|
355
|
+
['@assistant/update-project', 173],
|
|
356
|
+
[173, '@assistant/update-project'],
|
|
357
|
+
['@assistant/add-project-member', 174],
|
|
358
|
+
[174, '@assistant/add-project-member'],
|
|
359
|
+
['@assistant/remove-project-member', 175],
|
|
360
|
+
[175, '@assistant/remove-project-member'],
|
|
361
|
+
['@assistant/set-chat-project', 176],
|
|
362
|
+
[176, '@assistant/set-chat-project'],
|
|
363
|
+
['@assistant/leave-workspace', 177],
|
|
364
|
+
[177, '@assistant/leave-workspace'],
|
|
365
|
+
['@assistant/list-knowledge-base', 178],
|
|
366
|
+
[178, '@assistant/list-knowledge-base'],
|
|
367
|
+
['@assistant/knowledge-base-watch', 179],
|
|
368
|
+
[179, '@assistant/knowledge-base-watch'],
|
|
369
|
+
['@assistant/file-knowledge', 180],
|
|
370
|
+
[180, '@assistant/file-knowledge'],
|
|
371
|
+
['@assistant/set-project-order', 181],
|
|
372
|
+
[181, '@assistant/set-project-order'],
|
|
373
|
+
['@assistant/delete-project', 182],
|
|
374
|
+
[182, '@assistant/delete-project'],
|
|
375
|
+
['@assistant/set-knowledge-cap', 183],
|
|
376
|
+
[183, '@assistant/set-knowledge-cap'],
|
|
377
|
+
['@assistant/get-knowledge', 184],
|
|
378
|
+
[184, '@assistant/get-knowledge'],
|
|
379
|
+
['@assistant/set-chat-knowledge-source', 185],
|
|
380
|
+
[185, '@assistant/set-chat-knowledge-source'],
|
|
381
|
+
['@assistant/take-model-request', 186],
|
|
382
|
+
[186, '@assistant/take-model-request'],
|
|
383
|
+
['@assistant/settle-model-request', 187],
|
|
384
|
+
[187, '@assistant/settle-model-request'],
|
|
385
|
+
['@assistant/cancel-model-request', 188],
|
|
386
|
+
[188, '@assistant/cancel-model-request'],
|
|
387
|
+
['@assistant/reopen-model-request', 189],
|
|
388
|
+
[189, '@assistant/reopen-model-request'],
|
|
389
|
+
['@assistant/model-requests-watch', 190],
|
|
390
|
+
[190, '@assistant/model-requests-watch'],
|
|
391
|
+
['@assistant/share-agent', 191],
|
|
392
|
+
[191, '@assistant/share-agent'],
|
|
393
|
+
['@assistant/unshare-agent', 192],
|
|
394
|
+
[192, '@assistant/unshare-agent'],
|
|
395
|
+
['@assistant/host-run-log-begin', 193],
|
|
396
|
+
[193, '@assistant/host-run-log-begin'],
|
|
397
|
+
['@assistant/host-run-log-append', 194],
|
|
398
|
+
[194, '@assistant/host-run-log-append'],
|
|
399
|
+
['@assistant/host-run-log-release', 195],
|
|
400
|
+
[195, '@assistant/host-run-log-release'],
|
|
401
|
+
['@assistant/take-run-request', 196],
|
|
402
|
+
[196, '@assistant/take-run-request']
|
|
323
403
|
])
|
|
324
404
|
|
|
325
405
|
class HRPC {
|
|
@@ -334,12 +414,13 @@ class HRPC {
|
|
|
334
414
|
['@assistant/list-agents', getEncoding('@assistant/list-agents-request')],
|
|
335
415
|
['@assistant/get-agent', getEncoding('@assistant/agent-id')],
|
|
336
416
|
['@assistant/update-agent', getEncoding('@assistant/update-agent-request')],
|
|
337
|
-
['@assistant/delete-agent', getEncoding('@assistant/agent-
|
|
417
|
+
['@assistant/delete-agent', getEncoding('@assistant/delete-agent-request')],
|
|
338
418
|
['@assistant/agents-watch', getEncoding('@assistant/list-agents-request')],
|
|
339
419
|
['@assistant/create-chat', getEncoding('@assistant/create-chat-request')],
|
|
340
420
|
['@assistant/list-chats', getEncoding('@assistant/list-chats-request')],
|
|
341
421
|
['@assistant/get-chat', getEncoding('@assistant/chat-id')],
|
|
342
422
|
['@assistant/rename-chat', getEncoding('@assistant/rename-chat-request')],
|
|
423
|
+
['@assistant/set-chat-suggestion', getEncoding('@assistant/set-chat-suggestion-request')],
|
|
343
424
|
['@assistant/set-chat-rag-enabled', getEncoding('@assistant/set-chat-flag-request')],
|
|
344
425
|
['@assistant/set-chat-web-search-enabled', getEncoding('@assistant/set-chat-flag-request')],
|
|
345
426
|
['@assistant/delete-chat', getEncoding('@assistant/chat-id')],
|
|
@@ -354,10 +435,10 @@ class HRPC {
|
|
|
354
435
|
['@assistant/list-devices', getEncoding('@assistant/mesh-scope')],
|
|
355
436
|
['@assistant/devices-watch', getEncoding('@assistant/mesh-scope')],
|
|
356
437
|
['@assistant/save-device-capabilities', getEncoding('@assistant/save-device-capabilities-request')],
|
|
357
|
-
['@assistant/model-downloads-watch', getEncoding('@assistant/
|
|
438
|
+
['@assistant/model-downloads-watch', getEncoding('@assistant/device-scope')],
|
|
358
439
|
['@assistant/set-model-download-status', getEncoding('@assistant/set-model-download-status-request')],
|
|
359
440
|
['@assistant/clear-model-download', getEncoding('@assistant/clear-model-download-request')],
|
|
360
|
-
['@assistant/custom-models-watch', getEncoding('@assistant/
|
|
441
|
+
['@assistant/custom-models-watch', getEncoding('@assistant/device-scope')],
|
|
361
442
|
['@assistant/add-custom-model', getEncoding('@assistant/add-custom-model-request')],
|
|
362
443
|
['@assistant/remove-custom-model', getEncoding('@assistant/remove-custom-model-request')],
|
|
363
444
|
['@assistant/remove-device', getEncoding('@assistant/device-id')],
|
|
@@ -379,11 +460,6 @@ class HRPC {
|
|
|
379
460
|
['@assistant/run-agent', getEncoding('@assistant/run-agent-request')],
|
|
380
461
|
['@assistant/send-message', getEncoding('@assistant/send-message-request')],
|
|
381
462
|
['@assistant/stop-run', getEncoding('@assistant/stop-run-request')],
|
|
382
|
-
['@assistant/host-run-log-begin', getEncoding('@assistant/host-run-log-begin-request')],
|
|
383
|
-
['@assistant/host-run-log-append', getEncoding('@assistant/host-run-log-append-request')],
|
|
384
|
-
['@assistant/host-run-log-release', getEncoding('@assistant/host-run-log-release-request')],
|
|
385
|
-
['@assistant/host-run-log-share', getEncoding('@assistant/host-run-log-share-request')],
|
|
386
|
-
['@assistant/host-run-log-unshare', getEncoding('@assistant/host-run-log-share-request')],
|
|
387
463
|
['@assistant/mesh-status-watch', getEncoding('@assistant/empty')],
|
|
388
464
|
['@assistant/network-watch', getEncoding('@assistant/empty')],
|
|
389
465
|
['@assistant/device-info', getEncoding('@assistant/empty')],
|
|
@@ -401,7 +477,7 @@ class HRPC {
|
|
|
401
477
|
['@assistant/run-requests-watch', getEncoding('@assistant/mesh-scope')],
|
|
402
478
|
['@assistant/list-models', getEncoding('@assistant/list-models-request')],
|
|
403
479
|
['@assistant/delete-model', getEncoding('@assistant/delete-model-request')],
|
|
404
|
-
['@assistant/model-catalog-watch', getEncoding('@assistant/
|
|
480
|
+
['@assistant/model-catalog-watch', getEncoding('@assistant/device-scope')],
|
|
405
481
|
['@assistant/skills', getEncoding('@assistant/skill-request')],
|
|
406
482
|
['@assistant/download-knowledge', getEncoding('@assistant/download-knowledge-request')],
|
|
407
483
|
['@assistant/get-config', getEncoding('@assistant/empty')],
|
|
@@ -483,7 +559,51 @@ class HRPC {
|
|
|
483
559
|
['@assistant/preview-custom-model', getEncoding('@assistant/preview-custom-model-request')],
|
|
484
560
|
['@assistant/model-users', getEncoding('@assistant/model-users-request')],
|
|
485
561
|
['@assistant/mark-chat-read', getEncoding('@assistant/chat-id')],
|
|
486
|
-
['@assistant/models-watch', getEncoding('@assistant/list-models-request')]
|
|
562
|
+
['@assistant/models-watch', getEncoding('@assistant/list-models-request')],
|
|
563
|
+
['@assistant/set-mesh-name', getEncoding('@assistant/mesh-name-request')],
|
|
564
|
+
['@assistant/set-chat-agent', getEncoding('@assistant/set-chat-agent-request')],
|
|
565
|
+
['@assistant/move-chat-to-mesh', getEncoding('@assistant/move-chat-to-mesh-request')],
|
|
566
|
+
['@assistant/chat-move-watch', getEncoding('@assistant/chat-id')],
|
|
567
|
+
['@assistant/chunks-delta-watch', getEncoding('@assistant/chunks-by-chat-request')],
|
|
568
|
+
['@assistant/set-auto-download-models', getEncoding('@assistant/set-auto-download-models-request')],
|
|
569
|
+
['@assistant/fork-chat', getEncoding('@assistant/fork-chat-request')],
|
|
570
|
+
['@assistant/set-blind-peering', getEncoding('@assistant/blind-peering')],
|
|
571
|
+
['@assistant/blind-peering-watch', getEncoding('@assistant/empty')],
|
|
572
|
+
['@assistant/list-agent-folders', getEncoding('@assistant/agent-folders-request')],
|
|
573
|
+
['@assistant/add-agent-folder', getEncoding('@assistant/add-agent-folder-request')],
|
|
574
|
+
['@assistant/remove-agent-folder', getEncoding('@assistant/remove-agent-folder-request')],
|
|
575
|
+
['@assistant/create-workspace', getEncoding('@assistant/create-workspace-request')],
|
|
576
|
+
['@assistant/get-workspace', getEncoding('@assistant/mesh-scope')],
|
|
577
|
+
['@assistant/workspace-watch', getEncoding('@assistant/mesh-scope')],
|
|
578
|
+
['@assistant/update-workspace', getEncoding('@assistant/update-workspace-request')],
|
|
579
|
+
['@assistant/set-member-role', getEncoding('@assistant/set-member-role-request')],
|
|
580
|
+
['@assistant/create-project', getEncoding('@assistant/create-project-request')],
|
|
581
|
+
['@assistant/list-projects', getEncoding('@assistant/mesh-scope')],
|
|
582
|
+
['@assistant/projects-watch', getEncoding('@assistant/mesh-scope')],
|
|
583
|
+
['@assistant/update-project', getEncoding('@assistant/update-project-request')],
|
|
584
|
+
['@assistant/add-project-member', getEncoding('@assistant/project-member-request')],
|
|
585
|
+
['@assistant/remove-project-member', getEncoding('@assistant/project-member-request')],
|
|
586
|
+
['@assistant/set-chat-project', getEncoding('@assistant/set-chat-project-request')],
|
|
587
|
+
['@assistant/leave-workspace', getEncoding('@assistant/mesh-scope')],
|
|
588
|
+
['@assistant/list-knowledge-base', getEncoding('@assistant/mesh-scope')],
|
|
589
|
+
['@assistant/knowledge-base-watch', getEncoding('@assistant/mesh-scope')],
|
|
590
|
+
['@assistant/file-knowledge', getEncoding('@assistant/file-knowledge-request')],
|
|
591
|
+
['@assistant/set-project-order', getEncoding('@assistant/project-order-request')],
|
|
592
|
+
['@assistant/delete-project', getEncoding('@assistant/delete-project-request')],
|
|
593
|
+
['@assistant/set-knowledge-cap', getEncoding('@assistant/knowledge-cap-request')],
|
|
594
|
+
['@assistant/get-knowledge', getEncoding('@assistant/knowledge-request')],
|
|
595
|
+
['@assistant/set-chat-knowledge-source', getEncoding('@assistant/set-chat-knowledge-source-request')],
|
|
596
|
+
['@assistant/take-model-request', getEncoding('@assistant/model-request-request')],
|
|
597
|
+
['@assistant/settle-model-request', getEncoding('@assistant/settle-model-request-request')],
|
|
598
|
+
['@assistant/cancel-model-request', getEncoding('@assistant/model-request-request')],
|
|
599
|
+
['@assistant/reopen-model-request', getEncoding('@assistant/model-request-request')],
|
|
600
|
+
['@assistant/model-requests-watch', getEncoding('@assistant/mesh-scope')],
|
|
601
|
+
['@assistant/share-agent', getEncoding('@assistant/agent-id')],
|
|
602
|
+
['@assistant/unshare-agent', getEncoding('@assistant/agent-id')],
|
|
603
|
+
['@assistant/host-run-log-begin', getEncoding('@assistant/host-run-log-begin-request')],
|
|
604
|
+
['@assistant/host-run-log-append', getEncoding('@assistant/host-run-log-append-request')],
|
|
605
|
+
['@assistant/host-run-log-release', getEncoding('@assistant/host-run-log-release-request')],
|
|
606
|
+
['@assistant/take-run-request', getEncoding('@assistant/run-request-request')]
|
|
487
607
|
])
|
|
488
608
|
this._responseEncodings = new Map([
|
|
489
609
|
['@assistant/config-get', getEncoding('@assistant/config-value')],
|
|
@@ -499,6 +619,7 @@ class HRPC {
|
|
|
499
619
|
['@assistant/list-chats', getEncoding('@assistant/chat-list')],
|
|
500
620
|
['@assistant/get-chat', getEncoding('@assistant/chat')],
|
|
501
621
|
['@assistant/rename-chat', getEncoding('@assistant/chat')],
|
|
622
|
+
['@assistant/set-chat-suggestion', getEncoding('@assistant/chat')],
|
|
502
623
|
['@assistant/set-chat-rag-enabled', getEncoding('@assistant/chat')],
|
|
503
624
|
['@assistant/set-chat-web-search-enabled', getEncoding('@assistant/chat')],
|
|
504
625
|
['@assistant/delete-chat', getEncoding('@assistant/chat')],
|
|
@@ -538,11 +659,6 @@ class HRPC {
|
|
|
538
659
|
['@assistant/run-agent', getEncoding('@assistant/ok-response')],
|
|
539
660
|
['@assistant/send-message', getEncoding('@assistant/send-message-response')],
|
|
540
661
|
['@assistant/stop-run', getEncoding('@assistant/ok-response')],
|
|
541
|
-
['@assistant/host-run-log-begin', getEncoding('@assistant/host-run-log-begin-response')],
|
|
542
|
-
['@assistant/host-run-log-append', getEncoding('@assistant/ok-response')],
|
|
543
|
-
['@assistant/host-run-log-release', getEncoding('@assistant/ok-response')],
|
|
544
|
-
['@assistant/host-run-log-share', getEncoding('@assistant/host-run-log-share-response')],
|
|
545
|
-
['@assistant/host-run-log-unshare', getEncoding('@assistant/ok-response')],
|
|
546
662
|
['@assistant/mesh-status-watch', getEncoding('@assistant/mesh-status')],
|
|
547
663
|
['@assistant/network-watch', getEncoding('@assistant/network-status')],
|
|
548
664
|
['@assistant/device-info', getEncoding('@assistant/device-info')],
|
|
@@ -642,7 +758,51 @@ class HRPC {
|
|
|
642
758
|
['@assistant/preview-custom-model', getEncoding('@assistant/custom-model-preview')],
|
|
643
759
|
['@assistant/model-users', getEncoding('@assistant/model-users')],
|
|
644
760
|
['@assistant/mark-chat-read', getEncoding('@assistant/chat')],
|
|
645
|
-
['@assistant/models-watch', getEncoding('@assistant/model-info-list')]
|
|
761
|
+
['@assistant/models-watch', getEncoding('@assistant/model-info-list')],
|
|
762
|
+
['@assistant/set-mesh-name', getEncoding('@assistant/ok-response')],
|
|
763
|
+
['@assistant/set-chat-agent', getEncoding('@assistant/chat')],
|
|
764
|
+
['@assistant/move-chat-to-mesh', getEncoding('@assistant/chat-move')],
|
|
765
|
+
['@assistant/chat-move-watch', getEncoding('@assistant/chat-move')],
|
|
766
|
+
['@assistant/chunks-delta-watch', getEncoding('@assistant/chunk-delta')],
|
|
767
|
+
['@assistant/set-auto-download-models', getEncoding('@assistant/app-config')],
|
|
768
|
+
['@assistant/fork-chat', getEncoding('@assistant/chat')],
|
|
769
|
+
['@assistant/set-blind-peering', getEncoding('@assistant/blind-peering')],
|
|
770
|
+
['@assistant/blind-peering-watch', getEncoding('@assistant/blind-peering')],
|
|
771
|
+
['@assistant/list-agent-folders', getEncoding('@assistant/agent-folders')],
|
|
772
|
+
['@assistant/add-agent-folder', getEncoding('@assistant/agent-folders')],
|
|
773
|
+
['@assistant/remove-agent-folder', getEncoding('@assistant/agent-folders')],
|
|
774
|
+
['@assistant/create-workspace', getEncoding('@assistant/workspace')],
|
|
775
|
+
['@assistant/get-workspace', getEncoding('@assistant/workspace')],
|
|
776
|
+
['@assistant/workspace-watch', getEncoding('@assistant/workspace')],
|
|
777
|
+
['@assistant/update-workspace', getEncoding('@assistant/workspace')],
|
|
778
|
+
['@assistant/set-member-role', getEncoding('@assistant/member')],
|
|
779
|
+
['@assistant/create-project', getEncoding('@assistant/project')],
|
|
780
|
+
['@assistant/list-projects', getEncoding('@assistant/project-list')],
|
|
781
|
+
['@assistant/projects-watch', getEncoding('@assistant/project-list')],
|
|
782
|
+
['@assistant/update-project', getEncoding('@assistant/project')],
|
|
783
|
+
['@assistant/add-project-member', getEncoding('@assistant/project')],
|
|
784
|
+
['@assistant/remove-project-member', getEncoding('@assistant/project')],
|
|
785
|
+
['@assistant/set-chat-project', getEncoding('@assistant/chat')],
|
|
786
|
+
['@assistant/leave-workspace', getEncoding('@assistant/ok-response')],
|
|
787
|
+
['@assistant/list-knowledge-base', getEncoding('@assistant/knowledge-base-list')],
|
|
788
|
+
['@assistant/knowledge-base-watch', getEncoding('@assistant/knowledge-base-list')],
|
|
789
|
+
['@assistant/file-knowledge', getEncoding('@assistant/knowledge')],
|
|
790
|
+
['@assistant/set-project-order', getEncoding('@assistant/ok-response')],
|
|
791
|
+
['@assistant/delete-project', getEncoding('@assistant/ok-response')],
|
|
792
|
+
['@assistant/set-knowledge-cap', getEncoding('@assistant/ok-response')],
|
|
793
|
+
['@assistant/get-knowledge', getEncoding('@assistant/knowledge')],
|
|
794
|
+
['@assistant/set-chat-knowledge-source', getEncoding('@assistant/chat')],
|
|
795
|
+
['@assistant/take-model-request', getEncoding('@assistant/chunk')],
|
|
796
|
+
['@assistant/settle-model-request', getEncoding('@assistant/ok-response')],
|
|
797
|
+
['@assistant/cancel-model-request', getEncoding('@assistant/ok-response')],
|
|
798
|
+
['@assistant/reopen-model-request', getEncoding('@assistant/ok-response')],
|
|
799
|
+
['@assistant/model-requests-watch', getEncoding('@assistant/chunk-list')],
|
|
800
|
+
['@assistant/share-agent', getEncoding('@assistant/agent')],
|
|
801
|
+
['@assistant/unshare-agent', getEncoding('@assistant/ok-response')],
|
|
802
|
+
['@assistant/host-run-log-begin', getEncoding('@assistant/host-run-log-begin-response')],
|
|
803
|
+
['@assistant/host-run-log-append', getEncoding('@assistant/ok-response')],
|
|
804
|
+
['@assistant/host-run-log-release', getEncoding('@assistant/ok-response')],
|
|
805
|
+
['@assistant/take-run-request', getEncoding('@assistant/chunk')]
|
|
646
806
|
])
|
|
647
807
|
this._rpc = new RPC(stream, async (req) => {
|
|
648
808
|
const command = methods.get(req.command)
|
|
@@ -792,6 +952,10 @@ class HRPC {
|
|
|
792
952
|
return this._call('@assistant/rename-chat', args)
|
|
793
953
|
}
|
|
794
954
|
|
|
955
|
+
async setChatSuggestion(args) {
|
|
956
|
+
return this._call('@assistant/set-chat-suggestion', args)
|
|
957
|
+
}
|
|
958
|
+
|
|
795
959
|
async setChatRagEnabled(args) {
|
|
796
960
|
return this._call('@assistant/set-chat-rag-enabled', args)
|
|
797
961
|
}
|
|
@@ -948,26 +1112,6 @@ class HRPC {
|
|
|
948
1112
|
return this._call('@assistant/stop-run', args)
|
|
949
1113
|
}
|
|
950
1114
|
|
|
951
|
-
async hostRunLogBegin(args) {
|
|
952
|
-
return this._call('@assistant/host-run-log-begin', args)
|
|
953
|
-
}
|
|
954
|
-
|
|
955
|
-
async hostRunLogAppend(args) {
|
|
956
|
-
return this._call('@assistant/host-run-log-append', args)
|
|
957
|
-
}
|
|
958
|
-
|
|
959
|
-
async hostRunLogRelease(args) {
|
|
960
|
-
return this._call('@assistant/host-run-log-release', args)
|
|
961
|
-
}
|
|
962
|
-
|
|
963
|
-
async hostRunLogShare(args) {
|
|
964
|
-
return this._call('@assistant/host-run-log-share', args)
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
async hostRunLogUnshare(args) {
|
|
968
|
-
return this._call('@assistant/host-run-log-unshare', args)
|
|
969
|
-
}
|
|
970
|
-
|
|
971
1115
|
meshStatusWatch(args) {
|
|
972
1116
|
return this._callSync('@assistant/mesh-status-watch', args)
|
|
973
1117
|
}
|
|
@@ -1368,6 +1512,182 @@ class HRPC {
|
|
|
1368
1512
|
return this._callSync('@assistant/models-watch', args)
|
|
1369
1513
|
}
|
|
1370
1514
|
|
|
1515
|
+
async setMeshName(args) {
|
|
1516
|
+
return this._call('@assistant/set-mesh-name', args)
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
async setChatAgent(args) {
|
|
1520
|
+
return this._call('@assistant/set-chat-agent', args)
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
async moveChatToMesh(args) {
|
|
1524
|
+
return this._call('@assistant/move-chat-to-mesh', args)
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
chatMoveWatch(args) {
|
|
1528
|
+
return this._callSync('@assistant/chat-move-watch', args)
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
chunksDeltaWatch(args) {
|
|
1532
|
+
return this._callSync('@assistant/chunks-delta-watch', args)
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
async setAutoDownloadModels(args) {
|
|
1536
|
+
return this._call('@assistant/set-auto-download-models', args)
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
async forkChat(args) {
|
|
1540
|
+
return this._call('@assistant/fork-chat', args)
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
async setBlindPeering(args) {
|
|
1544
|
+
return this._call('@assistant/set-blind-peering', args)
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1547
|
+
blindPeeringWatch(args) {
|
|
1548
|
+
return this._callSync('@assistant/blind-peering-watch', args)
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
async listAgentFolders(args) {
|
|
1552
|
+
return this._call('@assistant/list-agent-folders', args)
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
async addAgentFolder(args) {
|
|
1556
|
+
return this._call('@assistant/add-agent-folder', args)
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
async removeAgentFolder(args) {
|
|
1560
|
+
return this._call('@assistant/remove-agent-folder', args)
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
async createWorkspace(args) {
|
|
1564
|
+
return this._call('@assistant/create-workspace', args)
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
async getWorkspace(args) {
|
|
1568
|
+
return this._call('@assistant/get-workspace', args)
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
workspaceWatch(args) {
|
|
1572
|
+
return this._callSync('@assistant/workspace-watch', args)
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
async updateWorkspace(args) {
|
|
1576
|
+
return this._call('@assistant/update-workspace', args)
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
async setMemberRole(args) {
|
|
1580
|
+
return this._call('@assistant/set-member-role', args)
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
async createProject(args) {
|
|
1584
|
+
return this._call('@assistant/create-project', args)
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
async listProjects(args) {
|
|
1588
|
+
return this._call('@assistant/list-projects', args)
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
projectsWatch(args) {
|
|
1592
|
+
return this._callSync('@assistant/projects-watch', args)
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
async updateProject(args) {
|
|
1596
|
+
return this._call('@assistant/update-project', args)
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1599
|
+
async addProjectMember(args) {
|
|
1600
|
+
return this._call('@assistant/add-project-member', args)
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
async removeProjectMember(args) {
|
|
1604
|
+
return this._call('@assistant/remove-project-member', args)
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1607
|
+
async setChatProject(args) {
|
|
1608
|
+
return this._call('@assistant/set-chat-project', args)
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
async leaveWorkspace(args) {
|
|
1612
|
+
return this._call('@assistant/leave-workspace', args)
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1615
|
+
async listKnowledgeBase(args) {
|
|
1616
|
+
return this._call('@assistant/list-knowledge-base', args)
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
knowledgeBaseWatch(args) {
|
|
1620
|
+
return this._callSync('@assistant/knowledge-base-watch', args)
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
async fileKnowledge(args) {
|
|
1624
|
+
return this._call('@assistant/file-knowledge', args)
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
async setProjectOrder(args) {
|
|
1628
|
+
return this._call('@assistant/set-project-order', args)
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
async deleteProject(args) {
|
|
1632
|
+
return this._call('@assistant/delete-project', args)
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
async setKnowledgeCap(args) {
|
|
1636
|
+
return this._call('@assistant/set-knowledge-cap', args)
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
async getKnowledge(args) {
|
|
1640
|
+
return this._call('@assistant/get-knowledge', args)
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
async setChatKnowledgeSource(args) {
|
|
1644
|
+
return this._call('@assistant/set-chat-knowledge-source', args)
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
async takeModelRequest(args) {
|
|
1648
|
+
return this._call('@assistant/take-model-request', args)
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
async settleModelRequest(args) {
|
|
1652
|
+
return this._call('@assistant/settle-model-request', args)
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
async cancelModelRequest(args) {
|
|
1656
|
+
return this._call('@assistant/cancel-model-request', args)
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1659
|
+
async reopenModelRequest(args) {
|
|
1660
|
+
return this._call('@assistant/reopen-model-request', args)
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
modelRequestsWatch(args) {
|
|
1664
|
+
return this._callSync('@assistant/model-requests-watch', args)
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
async shareAgent(args) {
|
|
1668
|
+
return this._call('@assistant/share-agent', args)
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
async unshareAgent(args) {
|
|
1672
|
+
return this._call('@assistant/unshare-agent', args)
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
async hostRunLogBegin(args) {
|
|
1676
|
+
return this._call('@assistant/host-run-log-begin', args)
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
async hostRunLogAppend(args) {
|
|
1680
|
+
return this._call('@assistant/host-run-log-append', args)
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1683
|
+
async hostRunLogRelease(args) {
|
|
1684
|
+
return this._call('@assistant/host-run-log-release', args)
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
async takeRunRequest(args) {
|
|
1688
|
+
return this._call('@assistant/take-run-request', args)
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1371
1691
|
onConfigGet(responseFn) {
|
|
1372
1692
|
this._handlers['@assistant/config-get'] = responseFn
|
|
1373
1693
|
}
|
|
@@ -1420,6 +1740,10 @@ class HRPC {
|
|
|
1420
1740
|
this._handlers['@assistant/rename-chat'] = responseFn
|
|
1421
1741
|
}
|
|
1422
1742
|
|
|
1743
|
+
onSetChatSuggestion(responseFn) {
|
|
1744
|
+
this._handlers['@assistant/set-chat-suggestion'] = responseFn
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1423
1747
|
onSetChatRagEnabled(responseFn) {
|
|
1424
1748
|
this._handlers['@assistant/set-chat-rag-enabled'] = responseFn
|
|
1425
1749
|
}
|
|
@@ -1576,26 +1900,6 @@ class HRPC {
|
|
|
1576
1900
|
this._handlers['@assistant/stop-run'] = responseFn
|
|
1577
1901
|
}
|
|
1578
1902
|
|
|
1579
|
-
onHostRunLogBegin(responseFn) {
|
|
1580
|
-
this._handlers['@assistant/host-run-log-begin'] = responseFn
|
|
1581
|
-
}
|
|
1582
|
-
|
|
1583
|
-
onHostRunLogAppend(responseFn) {
|
|
1584
|
-
this._handlers['@assistant/host-run-log-append'] = responseFn
|
|
1585
|
-
}
|
|
1586
|
-
|
|
1587
|
-
onHostRunLogRelease(responseFn) {
|
|
1588
|
-
this._handlers['@assistant/host-run-log-release'] = responseFn
|
|
1589
|
-
}
|
|
1590
|
-
|
|
1591
|
-
onHostRunLogShare(responseFn) {
|
|
1592
|
-
this._handlers['@assistant/host-run-log-share'] = responseFn
|
|
1593
|
-
}
|
|
1594
|
-
|
|
1595
|
-
onHostRunLogUnshare(responseFn) {
|
|
1596
|
-
this._handlers['@assistant/host-run-log-unshare'] = responseFn
|
|
1597
|
-
}
|
|
1598
|
-
|
|
1599
1903
|
onMeshStatusWatch(responseFn) {
|
|
1600
1904
|
this._handlers['@assistant/mesh-status-watch'] = responseFn
|
|
1601
1905
|
}
|
|
@@ -1996,6 +2300,182 @@ class HRPC {
|
|
|
1996
2300
|
this._handlers['@assistant/models-watch'] = responseFn
|
|
1997
2301
|
}
|
|
1998
2302
|
|
|
2303
|
+
onSetMeshName(responseFn) {
|
|
2304
|
+
this._handlers['@assistant/set-mesh-name'] = responseFn
|
|
2305
|
+
}
|
|
2306
|
+
|
|
2307
|
+
onSetChatAgent(responseFn) {
|
|
2308
|
+
this._handlers['@assistant/set-chat-agent'] = responseFn
|
|
2309
|
+
}
|
|
2310
|
+
|
|
2311
|
+
onMoveChatToMesh(responseFn) {
|
|
2312
|
+
this._handlers['@assistant/move-chat-to-mesh'] = responseFn
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2315
|
+
onChatMoveWatch(responseFn) {
|
|
2316
|
+
this._handlers['@assistant/chat-move-watch'] = responseFn
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2319
|
+
onChunksDeltaWatch(responseFn) {
|
|
2320
|
+
this._handlers['@assistant/chunks-delta-watch'] = responseFn
|
|
2321
|
+
}
|
|
2322
|
+
|
|
2323
|
+
onSetAutoDownloadModels(responseFn) {
|
|
2324
|
+
this._handlers['@assistant/set-auto-download-models'] = responseFn
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
onForkChat(responseFn) {
|
|
2328
|
+
this._handlers['@assistant/fork-chat'] = responseFn
|
|
2329
|
+
}
|
|
2330
|
+
|
|
2331
|
+
onSetBlindPeering(responseFn) {
|
|
2332
|
+
this._handlers['@assistant/set-blind-peering'] = responseFn
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2335
|
+
onBlindPeeringWatch(responseFn) {
|
|
2336
|
+
this._handlers['@assistant/blind-peering-watch'] = responseFn
|
|
2337
|
+
}
|
|
2338
|
+
|
|
2339
|
+
onListAgentFolders(responseFn) {
|
|
2340
|
+
this._handlers['@assistant/list-agent-folders'] = responseFn
|
|
2341
|
+
}
|
|
2342
|
+
|
|
2343
|
+
onAddAgentFolder(responseFn) {
|
|
2344
|
+
this._handlers['@assistant/add-agent-folder'] = responseFn
|
|
2345
|
+
}
|
|
2346
|
+
|
|
2347
|
+
onRemoveAgentFolder(responseFn) {
|
|
2348
|
+
this._handlers['@assistant/remove-agent-folder'] = responseFn
|
|
2349
|
+
}
|
|
2350
|
+
|
|
2351
|
+
onCreateWorkspace(responseFn) {
|
|
2352
|
+
this._handlers['@assistant/create-workspace'] = responseFn
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2355
|
+
onGetWorkspace(responseFn) {
|
|
2356
|
+
this._handlers['@assistant/get-workspace'] = responseFn
|
|
2357
|
+
}
|
|
2358
|
+
|
|
2359
|
+
onWorkspaceWatch(responseFn) {
|
|
2360
|
+
this._handlers['@assistant/workspace-watch'] = responseFn
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
onUpdateWorkspace(responseFn) {
|
|
2364
|
+
this._handlers['@assistant/update-workspace'] = responseFn
|
|
2365
|
+
}
|
|
2366
|
+
|
|
2367
|
+
onSetMemberRole(responseFn) {
|
|
2368
|
+
this._handlers['@assistant/set-member-role'] = responseFn
|
|
2369
|
+
}
|
|
2370
|
+
|
|
2371
|
+
onCreateProject(responseFn) {
|
|
2372
|
+
this._handlers['@assistant/create-project'] = responseFn
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
onListProjects(responseFn) {
|
|
2376
|
+
this._handlers['@assistant/list-projects'] = responseFn
|
|
2377
|
+
}
|
|
2378
|
+
|
|
2379
|
+
onProjectsWatch(responseFn) {
|
|
2380
|
+
this._handlers['@assistant/projects-watch'] = responseFn
|
|
2381
|
+
}
|
|
2382
|
+
|
|
2383
|
+
onUpdateProject(responseFn) {
|
|
2384
|
+
this._handlers['@assistant/update-project'] = responseFn
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2387
|
+
onAddProjectMember(responseFn) {
|
|
2388
|
+
this._handlers['@assistant/add-project-member'] = responseFn
|
|
2389
|
+
}
|
|
2390
|
+
|
|
2391
|
+
onRemoveProjectMember(responseFn) {
|
|
2392
|
+
this._handlers['@assistant/remove-project-member'] = responseFn
|
|
2393
|
+
}
|
|
2394
|
+
|
|
2395
|
+
onSetChatProject(responseFn) {
|
|
2396
|
+
this._handlers['@assistant/set-chat-project'] = responseFn
|
|
2397
|
+
}
|
|
2398
|
+
|
|
2399
|
+
onLeaveWorkspace(responseFn) {
|
|
2400
|
+
this._handlers['@assistant/leave-workspace'] = responseFn
|
|
2401
|
+
}
|
|
2402
|
+
|
|
2403
|
+
onListKnowledgeBase(responseFn) {
|
|
2404
|
+
this._handlers['@assistant/list-knowledge-base'] = responseFn
|
|
2405
|
+
}
|
|
2406
|
+
|
|
2407
|
+
onKnowledgeBaseWatch(responseFn) {
|
|
2408
|
+
this._handlers['@assistant/knowledge-base-watch'] = responseFn
|
|
2409
|
+
}
|
|
2410
|
+
|
|
2411
|
+
onFileKnowledge(responseFn) {
|
|
2412
|
+
this._handlers['@assistant/file-knowledge'] = responseFn
|
|
2413
|
+
}
|
|
2414
|
+
|
|
2415
|
+
onSetProjectOrder(responseFn) {
|
|
2416
|
+
this._handlers['@assistant/set-project-order'] = responseFn
|
|
2417
|
+
}
|
|
2418
|
+
|
|
2419
|
+
onDeleteProject(responseFn) {
|
|
2420
|
+
this._handlers['@assistant/delete-project'] = responseFn
|
|
2421
|
+
}
|
|
2422
|
+
|
|
2423
|
+
onSetKnowledgeCap(responseFn) {
|
|
2424
|
+
this._handlers['@assistant/set-knowledge-cap'] = responseFn
|
|
2425
|
+
}
|
|
2426
|
+
|
|
2427
|
+
onGetKnowledge(responseFn) {
|
|
2428
|
+
this._handlers['@assistant/get-knowledge'] = responseFn
|
|
2429
|
+
}
|
|
2430
|
+
|
|
2431
|
+
onSetChatKnowledgeSource(responseFn) {
|
|
2432
|
+
this._handlers['@assistant/set-chat-knowledge-source'] = responseFn
|
|
2433
|
+
}
|
|
2434
|
+
|
|
2435
|
+
onTakeModelRequest(responseFn) {
|
|
2436
|
+
this._handlers['@assistant/take-model-request'] = responseFn
|
|
2437
|
+
}
|
|
2438
|
+
|
|
2439
|
+
onSettleModelRequest(responseFn) {
|
|
2440
|
+
this._handlers['@assistant/settle-model-request'] = responseFn
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2443
|
+
onCancelModelRequest(responseFn) {
|
|
2444
|
+
this._handlers['@assistant/cancel-model-request'] = responseFn
|
|
2445
|
+
}
|
|
2446
|
+
|
|
2447
|
+
onReopenModelRequest(responseFn) {
|
|
2448
|
+
this._handlers['@assistant/reopen-model-request'] = responseFn
|
|
2449
|
+
}
|
|
2450
|
+
|
|
2451
|
+
onModelRequestsWatch(responseFn) {
|
|
2452
|
+
this._handlers['@assistant/model-requests-watch'] = responseFn
|
|
2453
|
+
}
|
|
2454
|
+
|
|
2455
|
+
onShareAgent(responseFn) {
|
|
2456
|
+
this._handlers['@assistant/share-agent'] = responseFn
|
|
2457
|
+
}
|
|
2458
|
+
|
|
2459
|
+
onUnshareAgent(responseFn) {
|
|
2460
|
+
this._handlers['@assistant/unshare-agent'] = responseFn
|
|
2461
|
+
}
|
|
2462
|
+
|
|
2463
|
+
onHostRunLogBegin(responseFn) {
|
|
2464
|
+
this._handlers['@assistant/host-run-log-begin'] = responseFn
|
|
2465
|
+
}
|
|
2466
|
+
|
|
2467
|
+
onHostRunLogAppend(responseFn) {
|
|
2468
|
+
this._handlers['@assistant/host-run-log-append'] = responseFn
|
|
2469
|
+
}
|
|
2470
|
+
|
|
2471
|
+
onHostRunLogRelease(responseFn) {
|
|
2472
|
+
this._handlers['@assistant/host-run-log-release'] = responseFn
|
|
2473
|
+
}
|
|
2474
|
+
|
|
2475
|
+
onTakeRunRequest(responseFn) {
|
|
2476
|
+
this._handlers['@assistant/take-run-request'] = responseFn
|
|
2477
|
+
}
|
|
2478
|
+
|
|
1999
2479
|
_requestIsStream(command) {
|
|
2000
2480
|
return [
|
|
2001
2481
|
'@assistant/upload-attachment',
|
|
@@ -2038,7 +2518,14 @@ class HRPC {
|
|
|
2038
2518
|
'@assistant/meshes-watch',
|
|
2039
2519
|
'@assistant/account-watch',
|
|
2040
2520
|
'@assistant/members-watch',
|
|
2041
|
-
'@assistant/models-watch'
|
|
2521
|
+
'@assistant/models-watch',
|
|
2522
|
+
'@assistant/chat-move-watch',
|
|
2523
|
+
'@assistant/chunks-delta-watch',
|
|
2524
|
+
'@assistant/blind-peering-watch',
|
|
2525
|
+
'@assistant/workspace-watch',
|
|
2526
|
+
'@assistant/projects-watch',
|
|
2527
|
+
'@assistant/knowledge-base-watch',
|
|
2528
|
+
'@assistant/model-requests-watch'
|
|
2042
2529
|
].includes(command)
|
|
2043
2530
|
}
|
|
2044
2531
|
|