@dxos/plugin-thread 0.8.4-main.422d1c7879 → 0.8.4-main.4668b7de9b
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 +102 -5
- package/PLUGIN.mdl +271 -0
- package/README.md +1 -1
- package/dist/lib/neutral/ChannelArticle-UJHPOUWA.mjs +28 -0
- package/dist/lib/neutral/ChannelArticle-UJHPOUWA.mjs.map +7 -0
- package/dist/lib/neutral/ChannelChat-LZEDFJVD.mjs +10 -0
- package/dist/lib/neutral/CommentsCompanion-FOUIGCEK.mjs +208 -0
- package/dist/lib/neutral/CommentsCompanion-FOUIGCEK.mjs.map +7 -0
- package/dist/lib/neutral/ThreadContainer-QWB6WRMI.mjs +61 -0
- package/dist/lib/neutral/ThreadContainer-QWB6WRMI.mjs.map +7 -0
- package/dist/lib/neutral/ThreadPlugin.mjs +109 -0
- package/dist/lib/neutral/ThreadPlugin.mjs.map +7 -0
- package/dist/lib/neutral/ThreadPlugin.node.mjs +40 -0
- package/dist/lib/neutral/ThreadPlugin.node.mjs.map +7 -0
- package/dist/lib/neutral/ThreadPlugin.workerd.mjs +24 -0
- package/dist/lib/neutral/ThreadPlugin.workerd.mjs.map +7 -0
- package/dist/lib/neutral/ThreadSettings-5MKTDK3A.mjs +15 -0
- package/dist/lib/neutral/ThreadSettings-5MKTDK3A.mjs.map +7 -0
- package/dist/lib/{browser/add-message-VPPFFLFL.mjs → neutral/add-message-RDIABSIX.mjs} +48 -23
- package/dist/lib/neutral/add-message-RDIABSIX.mjs.map +7 -0
- package/dist/lib/neutral/agent-runner-RB7N5HLD.mjs +244 -0
- package/dist/lib/neutral/agent-runner-RB7N5HLD.mjs.map +7 -0
- package/dist/lib/neutral/app-graph-builder-PDLRFYSI.mjs +120 -0
- package/dist/lib/neutral/app-graph-builder-PDLRFYSI.mjs.map +7 -0
- package/dist/lib/neutral/append-channel-message-TBBQUVMH.mjs +40 -0
- package/dist/lib/neutral/append-channel-message-TBBQUVMH.mjs.map +7 -0
- package/dist/lib/neutral/blueprint-definition-S3EBOH4R.mjs +15 -0
- package/dist/lib/neutral/blueprint-definition-S3EBOH4R.mjs.map +7 -0
- package/dist/lib/neutral/blueprints/index.mjs +8 -0
- package/dist/lib/neutral/capabilities/index.mjs +27 -0
- package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
- package/dist/lib/neutral/chunk-35GUWXBB.mjs +48 -0
- package/dist/lib/neutral/chunk-35GUWXBB.mjs.map +7 -0
- package/dist/lib/{browser/blueprints/index.mjs → neutral/chunk-5T5LPLBN.mjs} +5 -6
- package/dist/lib/neutral/chunk-5T5LPLBN.mjs.map +7 -0
- package/dist/lib/neutral/chunk-BHEZLLXG.mjs +55 -0
- package/dist/lib/neutral/chunk-BHEZLLXG.mjs.map +7 -0
- package/dist/lib/neutral/chunk-HQZWTDJC.mjs +164 -0
- package/dist/lib/neutral/chunk-HQZWTDJC.mjs.map +7 -0
- package/dist/lib/neutral/chunk-IQBZZAMX.mjs +335 -0
- package/dist/lib/neutral/chunk-IQBZZAMX.mjs.map +7 -0
- package/dist/lib/neutral/chunk-JJETHBAZ.mjs +8 -0
- package/dist/lib/neutral/chunk-JJETHBAZ.mjs.map +7 -0
- package/dist/lib/neutral/chunk-JLY4NVTA.mjs +38 -0
- package/dist/lib/neutral/chunk-JLY4NVTA.mjs.map +7 -0
- package/dist/lib/neutral/chunk-QFDT33VT.mjs +69 -0
- package/dist/lib/neutral/chunk-QFDT33VT.mjs.map +7 -0
- package/dist/lib/neutral/components/index.mjs +541 -0
- package/dist/lib/neutral/components/index.mjs.map +7 -0
- package/dist/lib/neutral/containers/index.mjs +15 -0
- package/dist/lib/neutral/containers/index.mjs.map +7 -0
- package/dist/lib/{browser/create-UGT7V733.mjs → neutral/create-VXM6HJMN.mjs} +20 -14
- package/dist/lib/neutral/create-VXM6HJMN.mjs.map +7 -0
- package/dist/lib/neutral/create-channel-FSJOMRHF.mjs +19 -0
- package/dist/lib/neutral/create-channel-FSJOMRHF.mjs.map +7 -0
- package/dist/lib/neutral/create-object-D5XEG7MQ.mjs +28 -0
- package/dist/lib/neutral/create-object-D5XEG7MQ.mjs.map +7 -0
- package/dist/lib/{browser/create-proposals-CMK7S7VS.mjs → neutral/create-proposals-ILYIYJEN.mjs} +5 -6
- package/dist/lib/neutral/create-proposals-ILYIYJEN.mjs.map +7 -0
- package/dist/lib/{browser/delete-FSFVU6ZA.mjs → neutral/delete-6KZERY6K.mjs} +9 -11
- package/dist/lib/neutral/delete-6KZERY6K.mjs.map +7 -0
- package/dist/lib/{browser/delete-message-XL5M5J33.mjs → neutral/delete-message-PATSHW36.mjs} +9 -19
- package/dist/lib/neutral/delete-message-PATSHW36.mjs.map +7 -0
- package/dist/lib/neutral/hooks/index.mjs +10 -0
- package/dist/lib/neutral/index.mjs +32 -0
- package/dist/lib/neutral/index.mjs.map +7 -0
- package/dist/lib/neutral/markdown-5UHAAC5Z.mjs +83 -0
- package/dist/lib/neutral/markdown-5UHAAC5Z.mjs.map +7 -0
- package/dist/lib/neutral/meta.json +1 -0
- package/dist/lib/neutral/meta.mjs +10 -0
- package/dist/lib/neutral/meta.mjs.map +7 -0
- package/dist/lib/neutral/on-create-space-6NLTBGGD.mjs +23 -0
- package/dist/lib/neutral/on-create-space-6NLTBGGD.mjs.map +7 -0
- package/dist/lib/neutral/operation-handler-RU6K2S4L.mjs +13 -0
- package/dist/lib/neutral/operation-handler-RU6K2S4L.mjs.map +7 -0
- package/dist/lib/neutral/operations/index.mjs +8 -0
- package/dist/lib/neutral/operations/index.mjs.map +7 -0
- package/dist/lib/neutral/plugin.mjs +16 -0
- package/dist/lib/neutral/plugin.mjs.map +7 -0
- package/dist/lib/neutral/react-surface-TUMXARMI.mjs +76 -0
- package/dist/lib/neutral/react-surface-TUMXARMI.mjs.map +7 -0
- package/dist/lib/neutral/respond-to-thread-ROQA3B6U.mjs +32 -0
- package/dist/lib/neutral/respond-to-thread-ROQA3B6U.mjs.map +7 -0
- package/dist/lib/{browser/restore-2ZGMKUSD.mjs → neutral/restore-SP4HADCE.mjs} +6 -7
- package/dist/lib/neutral/restore-SP4HADCE.mjs.map +7 -0
- package/dist/lib/{browser/restore-message-OYEGWPII.mjs → neutral/restore-message-TVIC66VL.mjs} +8 -17
- package/dist/lib/neutral/restore-message-TVIC66VL.mjs.map +7 -0
- package/dist/lib/{browser/select-VG2XLULE.mjs → neutral/select-DLHPEKEA.mjs} +7 -9
- package/dist/lib/neutral/select-DLHPEKEA.mjs.map +7 -0
- package/dist/lib/neutral/set-agent-config-7GEYCG7Y.mjs +20 -0
- package/dist/lib/neutral/set-agent-config-7GEYCG7Y.mjs.map +7 -0
- package/dist/lib/neutral/settings-HK4EB6TF.mjs +30 -0
- package/dist/lib/neutral/settings-HK4EB6TF.mjs.map +7 -0
- package/dist/lib/neutral/state-UU7VEAKV.mjs +22 -0
- package/dist/lib/neutral/state-UU7VEAKV.mjs.map +7 -0
- package/dist/lib/neutral/testing/index.mjs +58 -0
- package/dist/lib/neutral/testing/index.mjs.map +7 -0
- package/dist/lib/{browser/toggle-resolved-MM6YC5BU.mjs → neutral/toggle-resolved-GMAD3SZ2.mjs} +8 -17
- package/dist/lib/neutral/toggle-resolved-GMAD3SZ2.mjs.map +7 -0
- package/dist/lib/neutral/translations.mjs +91 -0
- package/dist/lib/neutral/translations.mjs.map +7 -0
- package/dist/lib/neutral/types/index.mjs +16 -0
- package/dist/lib/neutral/types/index.mjs.map +7 -0
- package/dist/lib/neutral/undo-mappings-HOKL2L3M.mjs +54 -0
- package/dist/lib/neutral/undo-mappings-HOKL2L3M.mjs.map +7 -0
- package/dist/types/src/ThreadPlugin.d.ts +1 -0
- package/dist/types/src/ThreadPlugin.d.ts.map +1 -1
- package/dist/types/src/ThreadPlugin.node.d.ts +4 -0
- package/dist/types/src/ThreadPlugin.node.d.ts.map +1 -0
- package/dist/types/src/ThreadPlugin.test.d.ts +2 -0
- package/dist/types/src/ThreadPlugin.test.d.ts.map +1 -0
- package/dist/types/src/ThreadPlugin.workerd.d.ts +4 -0
- package/dist/types/src/ThreadPlugin.workerd.d.ts.map +1 -0
- package/dist/types/src/blueprints/thread-blueprint.d.ts +2 -2
- package/dist/types/src/blueprints/thread-blueprint.d.ts.map +1 -1
- package/dist/types/src/capabilities/agent-runner.d.ts +22 -0
- package/dist/types/src/capabilities/agent-runner.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/blueprint-definition.d.ts +2 -2
- package/dist/types/src/capabilities/blueprint-definition.d.ts.map +1 -1
- package/dist/types/src/capabilities/create-object.d.ts +11 -0
- package/dist/types/src/capabilities/create-object.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +10 -8
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/markdown.d.ts.map +1 -1
- package/dist/types/src/capabilities/operation-handler.d.ts +1 -1
- package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/settings.d.ts.map +1 -1
- package/dist/types/src/capabilities/state.d.ts.map +1 -1
- package/dist/types/src/capabilities/undo-mappings.d.ts.map +1 -1
- package/dist/types/src/components/Chat/Chat.d.ts +51 -0
- package/dist/types/src/components/Chat/Chat.d.ts.map +1 -0
- package/dist/types/src/components/Chat/index.d.ts +2 -0
- package/dist/types/src/components/Chat/index.d.ts.map +1 -0
- package/dist/types/src/components/CommentsPanel/CommentsPanel.d.ts.map +1 -1
- package/dist/types/src/components/CommentsPanel/CommentsPanel.stories.d.ts +70 -70
- package/dist/types/src/components/CommentsPanel/CommentsPanel.stories.d.ts.map +1 -1
- package/dist/types/src/components/CommentsPanel/CommentsThread.d.ts.map +1 -1
- package/dist/types/src/components/MessagePanel/MessagePanel.d.ts.map +1 -1
- package/dist/types/src/components/ThreadSettings/ThreadSettings.d.ts.map +1 -1
- package/dist/types/src/components/ThreadSettings/ThreadSettings.stories.d.ts +70 -70
- package/dist/types/src/components/ThreadSettings/ThreadSettings.stories.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +1 -1
- package/dist/types/src/containers/ChannelArticle/ChannelArticle.d.ts +13 -0
- package/dist/types/src/containers/ChannelArticle/ChannelArticle.d.ts.map +1 -0
- package/dist/types/src/containers/ChannelArticle/ChannelArticle.stories.d.ts +162 -0
- package/dist/types/src/containers/ChannelArticle/ChannelArticle.stories.d.ts.map +1 -0
- package/dist/types/src/containers/ChannelArticle/index.d.ts +2 -0
- package/dist/types/src/containers/{CallDebugPanel → ChannelArticle}/index.d.ts.map +1 -1
- package/dist/types/src/containers/ChannelChat/ChannelChat.d.ts +20 -0
- package/dist/types/src/containers/ChannelChat/ChannelChat.d.ts.map +1 -0
- package/dist/types/src/containers/ChannelChat/index.d.ts +4 -0
- package/dist/types/src/containers/ChannelChat/index.d.ts.map +1 -0
- package/dist/types/src/containers/CommentsCompanion/CommentsCompanion.d.ts +11 -0
- package/dist/types/src/containers/CommentsCompanion/CommentsCompanion.d.ts.map +1 -0
- package/dist/types/src/containers/CommentsCompanion/CommentsCompanion.stories.d.ts +198 -0
- package/dist/types/src/containers/CommentsCompanion/CommentsCompanion.stories.d.ts.map +1 -0
- package/dist/types/src/containers/CommentsCompanion/index.d.ts +2 -0
- package/dist/types/src/containers/CommentsCompanion/index.d.ts.map +1 -0
- package/dist/types/src/containers/ThreadContainer/ThreadContainer.d.ts +20 -0
- package/dist/types/src/containers/ThreadContainer/ThreadContainer.d.ts.map +1 -0
- package/dist/types/src/containers/{ChatContainer/ChatContainer.stories.d.ts → ThreadContainer/ThreadContainer.stories.d.ts} +71 -71
- package/dist/types/src/containers/ThreadContainer/ThreadContainer.stories.d.ts.map +1 -0
- package/dist/types/src/containers/ThreadContainer/index.d.ts +4 -0
- package/dist/types/src/containers/ThreadContainer/index.d.ts.map +1 -0
- package/dist/types/src/containers/index.d.ts +4 -5
- package/dist/types/src/containers/index.d.ts.map +1 -1
- package/dist/types/src/extensions/threads.d.ts +3 -3
- package/dist/types/src/extensions/threads.d.ts.map +1 -1
- package/dist/types/src/hooks/analytics.d.ts.map +1 -1
- package/dist/types/src/hooks/index.d.ts +0 -4
- package/dist/types/src/hooks/index.d.ts.map +1 -1
- package/dist/types/src/hooks/useStatus.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +2 -3
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +1 -1
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/operations/add-message.d.ts +3 -3
- package/dist/types/src/operations/add-message.d.ts.map +1 -1
- package/dist/types/src/operations/append-channel-message.d.ts +5 -0
- package/dist/types/src/operations/append-channel-message.d.ts.map +1 -0
- package/dist/types/src/operations/create-channel.d.ts +3 -3
- package/dist/types/src/operations/create-channel.d.ts.map +1 -1
- package/dist/types/src/operations/create-proposals.d.ts +3 -3
- package/dist/types/src/operations/create-proposals.d.ts.map +1 -1
- package/dist/types/src/operations/create.d.ts +3 -3
- package/dist/types/src/operations/create.d.ts.map +1 -1
- package/dist/types/src/operations/delete-message.d.ts +3 -3
- package/dist/types/src/operations/delete-message.d.ts.map +1 -1
- package/dist/types/src/operations/delete.d.ts +3 -3
- package/dist/types/src/operations/delete.d.ts.map +1 -1
- package/dist/types/src/operations/index.d.ts +1 -2
- package/dist/types/src/operations/index.d.ts.map +1 -1
- package/dist/types/src/operations/on-create-space.d.ts +3 -3
- package/dist/types/src/operations/on-create-space.d.ts.map +1 -1
- package/dist/types/src/operations/respond-to-thread.d.ts +5 -0
- package/dist/types/src/operations/respond-to-thread.d.ts.map +1 -0
- package/dist/types/src/operations/restore-message.d.ts +3 -3
- package/dist/types/src/operations/restore-message.d.ts.map +1 -1
- package/dist/types/src/operations/restore.d.ts +3 -3
- package/dist/types/src/operations/restore.d.ts.map +1 -1
- package/dist/types/src/operations/select.d.ts +3 -3
- package/dist/types/src/operations/select.d.ts.map +1 -1
- package/dist/types/src/operations/set-agent-config.d.ts +5 -0
- package/dist/types/src/operations/set-agent-config.d.ts.map +1 -0
- package/dist/types/src/operations/toggle-resolved.d.ts +3 -3
- package/dist/types/src/operations/toggle-resolved.d.ts.map +1 -1
- package/dist/types/src/plugin.d.ts +4 -0
- package/dist/types/src/plugin.d.ts.map +1 -0
- package/dist/types/src/should-trigger-agent.d.ts +22 -0
- package/dist/types/src/should-trigger-agent.d.ts.map +1 -0
- package/dist/types/src/should-trigger-agent.test.d.ts +2 -0
- package/dist/types/src/should-trigger-agent.test.d.ts.map +1 -0
- package/dist/types/src/testing/data.d.ts.map +1 -1
- package/dist/types/src/testing/index.d.ts +1 -1
- package/dist/types/src/testing/index.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +70 -70
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/AgentIdentity.d.ts +27 -0
- package/dist/types/src/types/AgentIdentity.d.ts.map +1 -0
- package/dist/types/src/types/ThreadCapabilities.d.ts +34 -0
- package/dist/types/src/types/ThreadCapabilities.d.ts.map +1 -0
- package/dist/types/src/{operations/definitions.d.ts → types/ThreadOperation.d.ts} +1882 -1941
- package/dist/types/src/types/ThreadOperation.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +4 -2
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/types.d.ts +1 -1
- package/dist/types/src/types/types.d.ts.map +1 -1
- package/dist/types/src/util.d.ts +6 -3
- package/dist/types/src/util.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +127 -90
- package/src/ThreadPlugin.node.ts +39 -0
- package/src/ThreadPlugin.test.ts +37 -0
- package/src/ThreadPlugin.tsx +35 -65
- package/src/ThreadPlugin.workerd.ts +20 -0
- package/src/blueprints/thread-blueprint.ts +3 -4
- package/src/capabilities/agent-runner.ts +291 -0
- package/src/capabilities/app-graph-builder.ts +24 -74
- package/src/capabilities/blueprint-definition.ts +2 -0
- package/src/capabilities/create-object.ts +30 -0
- package/src/capabilities/index.ts +4 -3
- package/src/capabilities/markdown.ts +6 -2
- package/src/capabilities/operation-handler.ts +1 -1
- package/src/capabilities/react-surface.tsx +11 -27
- package/src/capabilities/settings.ts +1 -3
- package/src/capabilities/undo-mappings.ts +1 -1
- package/src/components/Chat/Chat.tsx +259 -0
- package/src/components/Chat/index.ts +5 -0
- package/src/components/CommentsPanel/CommentsPanel.stories.tsx +8 -7
- package/src/components/CommentsPanel/CommentsPanel.tsx +5 -5
- package/src/components/CommentsPanel/CommentsThread.tsx +16 -12
- package/src/components/MessagePanel/MessagePanel.tsx +8 -9
- package/src/components/ThreadSettings/ThreadSettings.stories.tsx +2 -1
- package/src/components/ThreadSettings/ThreadSettings.tsx +0 -1
- package/src/components/index.ts +1 -1
- package/src/containers/ChannelArticle/ChannelArticle.stories.tsx +105 -0
- package/src/containers/ChannelArticle/ChannelArticle.tsx +42 -0
- package/src/containers/ChannelArticle/index.ts +5 -0
- package/src/containers/ChannelChat/ChannelChat.tsx +75 -0
- package/src/containers/ChannelChat/index.ts +8 -0
- package/src/containers/CommentsCompanion/CommentsCompanion.stories.tsx +355 -0
- package/src/containers/{ThreadCompanion/ThreadCompanion.tsx → CommentsCompanion/CommentsCompanion.tsx} +33 -34
- package/src/containers/CommentsCompanion/index.ts +5 -0
- package/src/containers/{ChatContainer/ChatContainer.stories.tsx → ThreadContainer/ThreadContainer.stories.tsx} +10 -11
- package/src/containers/ThreadContainer/ThreadContainer.tsx +75 -0
- package/src/containers/ThreadContainer/index.ts +8 -0
- package/src/containers/index.ts +4 -5
- package/src/extensions/command.ts +1 -1
- package/src/extensions/threads.ts +13 -13
- package/src/hooks/analytics.ts +1 -1
- package/src/hooks/index.ts +0 -5
- package/src/index.ts +4 -4
- package/src/meta.ts +34 -8
- package/src/operations/add-message.ts +22 -9
- package/src/operations/append-channel-message.ts +37 -0
- package/src/operations/create-channel.ts +4 -4
- package/src/operations/create-proposals.ts +3 -3
- package/src/operations/create.ts +21 -6
- package/src/operations/delete-message.ts +6 -6
- package/src/operations/delete.ts +5 -5
- package/src/operations/index.ts +4 -4
- package/src/operations/on-create-space.ts +4 -4
- package/src/operations/respond-to-thread.ts +32 -0
- package/src/operations/restore-message.ts +5 -5
- package/src/operations/restore.ts +4 -4
- package/src/operations/select.ts +3 -3
- package/src/operations/set-agent-config.ts +24 -0
- package/src/operations/toggle-resolved.ts +5 -5
- package/src/plugin.ts +11 -0
- package/src/should-trigger-agent.test.ts +72 -0
- package/src/should-trigger-agent.ts +50 -0
- package/src/testing/index.ts +1 -1
- package/src/translations.ts +2 -1
- package/src/types/AgentIdentity.ts +35 -0
- package/src/types/ThreadCapabilities.ts +46 -0
- package/src/types/ThreadOperation.ts +225 -0
- package/src/types/index.ts +5 -2
- package/src/types/types.ts +0 -2
- package/src/util.ts +36 -4
- package/src/vite-env.d.ts +10 -0
- package/dist/lib/browser/add-message-VPPFFLFL.mjs.map +0 -7
- package/dist/lib/browser/blueprints/index.mjs.map +0 -7
- package/dist/lib/browser/chunk-MESW3R4Q.mjs +0 -61
- package/dist/lib/browser/chunk-MESW3R4Q.mjs.map +0 -7
- package/dist/lib/browser/chunk-VPM44Z35.mjs +0 -259
- package/dist/lib/browser/chunk-VPM44Z35.mjs.map +0 -7
- package/dist/lib/browser/create-UGT7V733.mjs.map +0 -7
- package/dist/lib/browser/create-channel-EF67LCS6.mjs +0 -21
- package/dist/lib/browser/create-channel-EF67LCS6.mjs.map +0 -7
- package/dist/lib/browser/create-channel-thread-CCZTSWQ6.mjs +0 -28
- package/dist/lib/browser/create-channel-thread-CCZTSWQ6.mjs.map +0 -7
- package/dist/lib/browser/create-proposals-CMK7S7VS.mjs.map +0 -7
- package/dist/lib/browser/delete-FSFVU6ZA.mjs.map +0 -7
- package/dist/lib/browser/delete-message-XL5M5J33.mjs.map +0 -7
- package/dist/lib/browser/index.mjs +0 -2334
- package/dist/lib/browser/index.mjs.map +0 -7
- package/dist/lib/browser/meta.json +0 -1
- package/dist/lib/browser/on-create-space-VYS2JGVT.mjs +0 -25
- package/dist/lib/browser/on-create-space-VYS2JGVT.mjs.map +0 -7
- package/dist/lib/browser/operations/index.mjs +0 -14
- package/dist/lib/browser/operations/index.mjs.map +0 -7
- package/dist/lib/browser/restore-2ZGMKUSD.mjs.map +0 -7
- package/dist/lib/browser/restore-message-OYEGWPII.mjs.map +0 -7
- package/dist/lib/browser/select-VG2XLULE.mjs.map +0 -7
- package/dist/lib/browser/toggle-resolved-MM6YC5BU.mjs.map +0 -7
- package/dist/lib/browser/types/index.mjs +0 -12
- package/dist/lib/node-esm/add-message-XWKHLNS6.mjs +0 -98
- package/dist/lib/node-esm/add-message-XWKHLNS6.mjs.map +0 -7
- package/dist/lib/node-esm/blueprints/index.mjs +0 -38
- package/dist/lib/node-esm/blueprints/index.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +0 -11
- package/dist/lib/node-esm/chunk-JTHXNWKJ.mjs +0 -260
- package/dist/lib/node-esm/chunk-JTHXNWKJ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-SDRAQNSQ.mjs +0 -62
- package/dist/lib/node-esm/chunk-SDRAQNSQ.mjs.map +0 -7
- package/dist/lib/node-esm/create-XAYNDVU2.mjs +0 -56
- package/dist/lib/node-esm/create-XAYNDVU2.mjs.map +0 -7
- package/dist/lib/node-esm/create-channel-UYWUNB3L.mjs +0 -22
- package/dist/lib/node-esm/create-channel-UYWUNB3L.mjs.map +0 -7
- package/dist/lib/node-esm/create-channel-thread-UQF2SBHS.mjs +0 -29
- package/dist/lib/node-esm/create-channel-thread-UQF2SBHS.mjs.map +0 -7
- package/dist/lib/node-esm/create-proposals-5FJNURKH.mjs +0 -58
- package/dist/lib/node-esm/create-proposals-5FJNURKH.mjs.map +0 -7
- package/dist/lib/node-esm/delete-WRODXR3E.mjs +0 -60
- package/dist/lib/node-esm/delete-WRODXR3E.mjs.map +0 -7
- package/dist/lib/node-esm/delete-message-TAHCYTW2.mjs +0 -65
- package/dist/lib/node-esm/delete-message-TAHCYTW2.mjs.map +0 -7
- package/dist/lib/node-esm/index.mjs +0 -2335
- package/dist/lib/node-esm/index.mjs.map +0 -7
- package/dist/lib/node-esm/meta.json +0 -1
- package/dist/lib/node-esm/on-create-space-XDY2YXPV.mjs +0 -26
- package/dist/lib/node-esm/on-create-space-XDY2YXPV.mjs.map +0 -7
- package/dist/lib/node-esm/operations/index.mjs +0 -15
- package/dist/lib/node-esm/operations/index.mjs.map +0 -7
- package/dist/lib/node-esm/restore-T3QA7TSL.mjs +0 -34
- package/dist/lib/node-esm/restore-T3QA7TSL.mjs.map +0 -7
- package/dist/lib/node-esm/restore-message-WFTEVBEV.mjs +0 -43
- package/dist/lib/node-esm/restore-message-WFTEVBEV.mjs.map +0 -7
- package/dist/lib/node-esm/select-Q4UDWJJF.mjs +0 -27
- package/dist/lib/node-esm/select-Q4UDWJJF.mjs.map +0 -7
- package/dist/lib/node-esm/toggle-resolved-33XTAK2H.mjs +0 -46
- package/dist/lib/node-esm/toggle-resolved-33XTAK2H.mjs.map +0 -7
- package/dist/lib/node-esm/types/index.mjs +0 -13
- package/dist/types/src/calls/call-manager.d.ts +0 -87
- package/dist/types/src/calls/call-manager.d.ts.map +0 -1
- package/dist/types/src/calls/call-swarm-synchronizer.d.ts +0 -66
- package/dist/types/src/calls/call-swarm-synchronizer.d.ts.map +0 -1
- package/dist/types/src/calls/index.d.ts +0 -7
- package/dist/types/src/calls/index.d.ts.map +0 -1
- package/dist/types/src/calls/media-manager.d.ts +0 -60
- package/dist/types/src/calls/media-manager.d.ts.map +0 -1
- package/dist/types/src/calls/speaking-monitor.d.ts +0 -24
- package/dist/types/src/calls/speaking-monitor.d.ts.map +0 -1
- package/dist/types/src/calls/types.d.ts +0 -45
- package/dist/types/src/calls/types.d.ts.map +0 -1
- package/dist/types/src/calls/util/audio.d.ts +0 -6
- package/dist/types/src/calls/util/audio.d.ts.map +0 -1
- package/dist/types/src/calls/util/calls-service.d.ts +0 -77
- package/dist/types/src/calls/util/calls-service.d.ts.map +0 -1
- package/dist/types/src/calls/util/history-cache.d.ts +0 -11
- package/dist/types/src/calls/util/history-cache.d.ts.map +0 -1
- package/dist/types/src/calls/util/index.d.ts +0 -5
- package/dist/types/src/calls/util/index.d.ts.map +0 -1
- package/dist/types/src/calls/util/media.d.ts +0 -6
- package/dist/types/src/calls/util/media.d.ts.map +0 -1
- package/dist/types/src/calls/util/stub-media-streams.d.ts +0 -18
- package/dist/types/src/calls/util/stub-media-streams.d.ts.map +0 -1
- package/dist/types/src/calls/util/task-scheduling.d.ts +0 -17
- package/dist/types/src/calls/util/task-scheduling.d.ts.map +0 -1
- package/dist/types/src/calls-service.stories.d.ts +0 -23
- package/dist/types/src/calls-service.stories.d.ts.map +0 -1
- package/dist/types/src/capabilities/call-manager.d.ts +0 -6
- package/dist/types/src/capabilities/call-manager.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-root.d.ts +0 -9
- package/dist/types/src/capabilities/react-root.d.ts.map +0 -1
- package/dist/types/src/components/Call/Call.d.ts +0 -17
- package/dist/types/src/components/Call/Call.d.ts.map +0 -1
- package/dist/types/src/components/Call/Toolbar.d.ts +0 -16
- package/dist/types/src/components/Call/Toolbar.d.ts.map +0 -1
- package/dist/types/src/components/Call/index.d.ts +0 -3
- package/dist/types/src/components/Call/index.d.ts.map +0 -1
- package/dist/types/src/components/Lobby/Lobby.d.ts +0 -15
- package/dist/types/src/components/Lobby/Lobby.d.ts.map +0 -1
- package/dist/types/src/components/Lobby/index.d.ts +0 -2
- package/dist/types/src/components/Lobby/index.d.ts.map +0 -1
- package/dist/types/src/components/Media/AudioStream.d.ts +0 -6
- package/dist/types/src/components/Media/AudioStream.d.ts.map +0 -1
- package/dist/types/src/components/Media/VideoObject.d.ts +0 -15
- package/dist/types/src/components/Media/VideoObject.d.ts.map +0 -1
- package/dist/types/src/components/Media/VideoObject.stories.d.ts +0 -22
- package/dist/types/src/components/Media/VideoObject.stories.d.ts.map +0 -1
- package/dist/types/src/components/Media/index.d.ts +0 -3
- package/dist/types/src/components/Media/index.d.ts.map +0 -1
- package/dist/types/src/components/Participant/Participant.d.ts +0 -6
- package/dist/types/src/components/Participant/Participant.d.ts.map +0 -1
- package/dist/types/src/components/Participant/ParticipantGrid.d.ts +0 -11
- package/dist/types/src/components/Participant/ParticipantGrid.d.ts.map +0 -1
- package/dist/types/src/components/Participant/index.d.ts +0 -3
- package/dist/types/src/components/Participant/index.d.ts.map +0 -1
- package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.d.ts +0 -32
- package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.d.ts.map +0 -1
- package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.stories.d.ts +0 -178
- package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.stories.d.ts.map +0 -1
- package/dist/types/src/components/ResponsiveGrid/ResponsiveGridItem.d.ts +0 -21
- package/dist/types/src/components/ResponsiveGrid/ResponsiveGridItem.d.ts.map +0 -1
- package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.d.ts +0 -12
- package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.d.ts.map +0 -1
- package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.stories.d.ts +0 -164
- package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.stories.d.ts.map +0 -1
- package/dist/types/src/components/ResponsiveGrid/index.d.ts +0 -4
- package/dist/types/src/components/ResponsiveGrid/index.d.ts.map +0 -1
- package/dist/types/src/containers/CallDebugPanel/CallDebugPanel.d.ts +0 -15
- package/dist/types/src/containers/CallDebugPanel/CallDebugPanel.d.ts.map +0 -1
- package/dist/types/src/containers/CallDebugPanel/index.d.ts +0 -2
- package/dist/types/src/containers/CallSidebar/CallSidebar.d.ts +0 -3
- package/dist/types/src/containers/CallSidebar/CallSidebar.d.ts.map +0 -1
- package/dist/types/src/containers/CallSidebar/index.d.ts +0 -2
- package/dist/types/src/containers/CallSidebar/index.d.ts.map +0 -1
- package/dist/types/src/containers/ChannelContainer/ChannelContainer.d.ts +0 -12
- package/dist/types/src/containers/ChannelContainer/ChannelContainer.d.ts.map +0 -1
- package/dist/types/src/containers/ChannelContainer/ChannelContainer.stories.d.ts +0 -162
- package/dist/types/src/containers/ChannelContainer/ChannelContainer.stories.d.ts.map +0 -1
- package/dist/types/src/containers/ChannelContainer/index.d.ts +0 -2
- package/dist/types/src/containers/ChannelContainer/index.d.ts.map +0 -1
- package/dist/types/src/containers/ChatContainer/ChatContainer.d.ts +0 -16
- package/dist/types/src/containers/ChatContainer/ChatContainer.d.ts.map +0 -1
- package/dist/types/src/containers/ChatContainer/ChatContainer.stories.d.ts.map +0 -1
- package/dist/types/src/containers/ChatContainer/index.d.ts +0 -4
- package/dist/types/src/containers/ChatContainer/index.d.ts.map +0 -1
- package/dist/types/src/containers/ThreadCompanion/ThreadCompanion.d.ts +0 -8
- package/dist/types/src/containers/ThreadCompanion/ThreadCompanion.d.ts.map +0 -1
- package/dist/types/src/containers/ThreadCompanion/index.d.ts +0 -2
- package/dist/types/src/containers/ThreadCompanion/index.d.ts.map +0 -1
- package/dist/types/src/hooks/useBlackCanvasStreamTrack.d.ts +0 -2
- package/dist/types/src/hooks/useBlackCanvasStreamTrack.d.ts.map +0 -1
- package/dist/types/src/hooks/useDebugMode.d.ts +0 -2
- package/dist/types/src/hooks/useDebugMode.d.ts.map +0 -1
- package/dist/types/src/hooks/useInaudibleAudioStreamTrack.d.ts +0 -2
- package/dist/types/src/hooks/useInaudibleAudioStreamTrack.d.ts.map +0 -1
- package/dist/types/src/hooks/useVideoStreamTrack.d.ts +0 -3
- package/dist/types/src/hooks/useVideoStreamTrack.d.ts.map +0 -1
- package/dist/types/src/operations/create-channel-thread.d.ts +0 -5
- package/dist/types/src/operations/create-channel-thread.d.ts.map +0 -1
- package/dist/types/src/operations/definitions.d.ts.map +0 -1
- package/dist/types/src/testing/stories.d.ts +0 -3
- package/dist/types/src/testing/stories.d.ts.map +0 -1
- package/dist/types/src/types/Channel.d.ts +0 -715
- package/dist/types/src/types/Channel.d.ts.map +0 -1
- package/dist/types/src/types/capabilities.d.ts +0 -24
- package/dist/types/src/types/capabilities.d.ts.map +0 -1
- package/src/calls/call-manager.ts +0 -270
- package/src/calls/call-swarm-synchronizer.ts +0 -350
- package/src/calls/index.ts +0 -10
- package/src/calls/media-manager.ts +0 -378
- package/src/calls/speaking-monitor.ts +0 -85
- package/src/calls/types.ts +0 -74
- package/src/calls/util/audio.ts +0 -58
- package/src/calls/util/calls-service.ts +0 -580
- package/src/calls/util/history-cache.ts +0 -27
- package/src/calls/util/index.ts +0 -8
- package/src/calls/util/media.ts +0 -52
- package/src/calls/util/stub-media-streams.ts +0 -127
- package/src/calls/util/task-scheduling.ts +0 -92
- package/src/calls-service.stories.tsx +0 -230
- package/src/capabilities/call-manager.ts +0 -27
- package/src/capabilities/react-root.tsx +0 -20
- package/src/components/Call/Call.tsx +0 -93
- package/src/components/Call/Toolbar.tsx +0 -199
- package/src/components/Call/index.ts +0 -6
- package/src/components/Lobby/Lobby.tsx +0 -122
- package/src/components/Lobby/index.ts +0 -5
- package/src/components/Media/AudioStream.tsx +0 -67
- package/src/components/Media/VideoObject.stories.tsx +0 -59
- package/src/components/Media/VideoObject.tsx +0 -58
- package/src/components/Media/index.ts +0 -6
- package/src/components/Participant/Participant.tsx +0 -77
- package/src/components/Participant/ParticipantGrid.tsx +0 -88
- package/src/components/Participant/index.ts +0 -6
- package/src/components/ResponsiveGrid/ResponsiveGrid.stories.tsx +0 -157
- package/src/components/ResponsiveGrid/ResponsiveGrid.tsx +0 -341
- package/src/components/ResponsiveGrid/ResponsiveGridItem.tsx +0 -134
- package/src/components/ResponsiveGrid/ResponsivePanel.stories.tsx +0 -53
- package/src/components/ResponsiveGrid/ResponsivePanel.tsx +0 -31
- package/src/components/ResponsiveGrid/index.ts +0 -7
- package/src/containers/CallDebugPanel/CallDebugPanel.tsx +0 -173
- package/src/containers/CallDebugPanel/index.ts +0 -5
- package/src/containers/CallSidebar/CallSidebar.tsx +0 -18
- package/src/containers/CallSidebar/index.ts +0 -5
- package/src/containers/ChannelContainer/ChannelContainer.stories.tsx +0 -61
- package/src/containers/ChannelContainer/ChannelContainer.tsx +0 -223
- package/src/containers/ChannelContainer/index.ts +0 -5
- package/src/containers/ChatContainer/ChatContainer.tsx +0 -131
- package/src/containers/ChatContainer/index.ts +0 -8
- package/src/containers/ThreadCompanion/index.ts +0 -5
- package/src/hooks/useBlackCanvasStreamTrack.tsx +0 -27
- package/src/hooks/useDebugMode.ts +0 -25
- package/src/hooks/useInaudibleAudioStreamTrack.tsx +0 -27
- package/src/hooks/useVideoStreamTrack.tsx +0 -36
- package/src/operations/create-channel-thread.ts +0 -26
- package/src/operations/definitions.ts +0 -177
- package/src/testing/stories.ts +0 -51
- package/src/types/Channel.ts +0 -37
- package/src/types/capabilities.ts +0 -36
- package/src/typings/peermetrics-webrtc-stats.d.ts +0 -46
- package/src/typings.d.ts +0 -8
- /package/dist/lib/{browser/chunk-J5LGTIGS.mjs.map → neutral/ChannelChat-LZEDFJVD.mjs.map} +0 -0
- /package/dist/lib/{browser/types → neutral/blueprints}/index.mjs.map +0 -0
- /package/dist/lib/{browser → neutral}/chunk-J5LGTIGS.mjs +0 -0
- /package/dist/lib/{node-esm/chunk-HSLMI22Q.mjs.map → neutral/chunk-J5LGTIGS.mjs.map} +0 -0
- /package/dist/lib/{node-esm/types → neutral/hooks}/index.mjs.map +0 -0
|
@@ -1,965 +1,147 @@
|
|
|
1
1
|
import * as Schema from 'effect/Schema';
|
|
2
2
|
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
import { Operation } from '@dxos/compute';
|
|
3
4
|
import { Database, Key, Obj } from '@dxos/echo';
|
|
4
|
-
import { Operation } from '@dxos/operation';
|
|
5
5
|
export declare const OnCreateSpace: Operation.Definition<{
|
|
6
6
|
readonly space: import("@dxos/client-protocol").Space;
|
|
7
|
-
readonly rootCollection:
|
|
7
|
+
readonly rootCollection: {
|
|
8
8
|
readonly name?: string | undefined;
|
|
9
|
-
readonly objects: readonly import("@dxos/echo/internal").Ref<
|
|
10
|
-
}
|
|
11
|
-
readonly isDefault?: boolean | undefined;
|
|
12
|
-
}, void, Capability.Service>;
|
|
13
|
-
export declare const CreateChannel: Operation.Definition<{
|
|
14
|
-
readonly
|
|
15
|
-
readonly
|
|
16
|
-
}, {
|
|
17
|
-
readonly object:
|
|
18
|
-
readonly name?: string | undefined;
|
|
19
|
-
readonly
|
|
20
|
-
readonly name?: string | undefined;
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
readonly threadId?: string | undefined;
|
|
26
|
-
readonly created: string;
|
|
27
|
-
readonly sender: {
|
|
28
|
-
readonly name?: string | undefined;
|
|
29
|
-
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
30
|
-
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
31
|
-
readonly image?: string | undefined;
|
|
32
|
-
readonly fullName?: string | undefined;
|
|
33
|
-
readonly preferredName?: string | undefined;
|
|
34
|
-
readonly nickname?: string | undefined;
|
|
35
|
-
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
36
|
-
readonly description?: string | undefined;
|
|
37
|
-
readonly name?: string | undefined;
|
|
38
|
-
readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
39
|
-
readonly image?: string | undefined;
|
|
40
|
-
readonly website?: string | undefined;
|
|
41
|
-
} & {
|
|
42
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
43
|
-
}> | undefined;
|
|
44
|
-
readonly jobTitle?: string | undefined;
|
|
45
|
-
readonly department?: string | undefined;
|
|
46
|
-
readonly notes?: string | undefined;
|
|
47
|
-
readonly emails?: readonly {
|
|
48
|
-
readonly value: string;
|
|
49
|
-
readonly label?: string | undefined;
|
|
50
|
-
}[] | undefined;
|
|
51
|
-
readonly identities?: readonly {
|
|
52
|
-
readonly value: string;
|
|
53
|
-
readonly label?: string | undefined;
|
|
54
|
-
}[] | undefined;
|
|
55
|
-
readonly phoneNumbers?: readonly {
|
|
56
|
-
readonly value: string;
|
|
57
|
-
readonly label?: string | undefined;
|
|
58
|
-
}[] | undefined;
|
|
59
|
-
readonly fields?: readonly {
|
|
60
|
-
readonly value: string;
|
|
61
|
-
readonly label: string;
|
|
62
|
-
readonly category?: string | undefined;
|
|
63
|
-
}[] | undefined;
|
|
64
|
-
readonly addresses?: readonly {
|
|
65
|
-
readonly value: {
|
|
66
|
-
readonly street?: string | undefined;
|
|
67
|
-
readonly extended?: string | undefined;
|
|
68
|
-
readonly locality?: string | undefined;
|
|
69
|
-
readonly region?: string | undefined;
|
|
70
|
-
readonly postalCode?: string | undefined;
|
|
71
|
-
readonly postOfficeBoxNumber?: string | undefined;
|
|
72
|
-
readonly country?: string | undefined;
|
|
73
|
-
};
|
|
74
|
-
readonly label?: string | undefined;
|
|
75
|
-
}[] | undefined;
|
|
76
|
-
readonly urls?: readonly {
|
|
77
|
-
readonly value: string;
|
|
78
|
-
readonly label?: string | undefined;
|
|
79
|
-
}[] | undefined;
|
|
80
|
-
readonly birthday?: string | undefined;
|
|
81
|
-
} & {
|
|
82
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
83
|
-
}> | undefined;
|
|
84
|
-
readonly identityDid?: string | undefined;
|
|
85
|
-
readonly identityKey?: string | undefined;
|
|
86
|
-
readonly email?: string | undefined;
|
|
87
|
-
};
|
|
88
|
-
readonly blocks: readonly ({
|
|
89
|
-
readonly pending?: boolean | undefined;
|
|
90
|
-
readonly text: string;
|
|
91
|
-
readonly mimeType?: string | undefined;
|
|
92
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
93
|
-
readonly _tag: "text";
|
|
94
|
-
} | {
|
|
95
|
-
readonly pending?: boolean | undefined;
|
|
96
|
-
readonly _tag: "reasoning";
|
|
97
|
-
readonly reasoningText?: string | undefined;
|
|
98
|
-
readonly redactedText?: string | undefined;
|
|
99
|
-
readonly signature?: string | undefined;
|
|
100
|
-
} | {
|
|
101
|
-
readonly name: string;
|
|
102
|
-
readonly pending?: boolean | undefined;
|
|
103
|
-
readonly _tag: "toolCall";
|
|
104
|
-
readonly toolCallId: string;
|
|
105
|
-
readonly input: string;
|
|
106
|
-
readonly providerExecuted: boolean;
|
|
107
|
-
} | {
|
|
108
|
-
readonly name: string;
|
|
109
|
-
readonly pending?: boolean | undefined;
|
|
110
|
-
readonly _tag: "toolResult";
|
|
111
|
-
readonly toolCallId: string;
|
|
112
|
-
readonly providerExecuted: boolean;
|
|
113
|
-
readonly result?: string | undefined;
|
|
114
|
-
readonly error?: string | undefined;
|
|
115
|
-
} | {
|
|
116
|
-
readonly pending?: boolean | undefined;
|
|
117
|
-
readonly mimeType?: string | undefined;
|
|
118
|
-
readonly _tag: "stats";
|
|
119
|
-
readonly message?: string | undefined;
|
|
120
|
-
readonly model?: string | undefined;
|
|
121
|
-
readonly usage?: {
|
|
122
|
-
readonly inputTokens?: number | undefined;
|
|
123
|
-
readonly outputTokens?: number | undefined;
|
|
124
|
-
readonly totalTokens?: number | undefined;
|
|
125
|
-
} | undefined;
|
|
126
|
-
readonly toolCalls?: number | undefined;
|
|
127
|
-
readonly errors?: number | undefined;
|
|
128
|
-
readonly duration?: number | undefined;
|
|
129
|
-
} | {
|
|
130
|
-
readonly source?: {
|
|
131
|
-
readonly type: "base64";
|
|
132
|
-
readonly mediaType: string;
|
|
133
|
-
readonly data: string;
|
|
134
|
-
} | {
|
|
135
|
-
readonly type: "http";
|
|
136
|
-
readonly url: string;
|
|
137
|
-
} | undefined;
|
|
138
|
-
readonly id?: string | undefined;
|
|
139
|
-
readonly pending?: boolean | undefined;
|
|
140
|
-
readonly _tag: "image";
|
|
141
|
-
} | {
|
|
142
|
-
readonly name?: string | undefined;
|
|
143
|
-
readonly pending?: boolean | undefined;
|
|
144
|
-
readonly _tag: "file";
|
|
145
|
-
readonly mediaType?: string | undefined;
|
|
146
|
-
readonly url: string;
|
|
147
|
-
} | {
|
|
148
|
-
readonly pending?: boolean | undefined;
|
|
149
|
-
readonly _tag: "reference";
|
|
150
|
-
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
151
|
-
} | {
|
|
152
|
-
readonly pending?: boolean | undefined;
|
|
153
|
-
readonly text: string;
|
|
154
|
-
readonly _tag: "transcript";
|
|
155
|
-
readonly started: string;
|
|
156
|
-
} | {
|
|
157
|
-
readonly pending?: boolean | undefined;
|
|
158
|
-
readonly _tag: "status";
|
|
159
|
-
readonly statusText: string;
|
|
160
|
-
} | {
|
|
161
|
-
readonly pending?: boolean | undefined;
|
|
162
|
-
readonly text: string;
|
|
163
|
-
readonly _tag: "suggestion";
|
|
164
|
-
} | {
|
|
165
|
-
readonly pending?: boolean | undefined;
|
|
166
|
-
readonly _tag: "select";
|
|
167
|
-
readonly options: string[];
|
|
168
|
-
} | {
|
|
169
|
-
readonly version: unknown;
|
|
170
|
-
readonly pending?: boolean | undefined;
|
|
171
|
-
readonly _tag: "anchor";
|
|
172
|
-
readonly objectId: string;
|
|
173
|
-
} | {
|
|
174
|
-
readonly pending?: boolean | undefined;
|
|
175
|
-
readonly text: string;
|
|
176
|
-
readonly _tag: "proposal";
|
|
177
|
-
} | {
|
|
178
|
-
readonly pending?: boolean | undefined;
|
|
179
|
-
readonly _tag: "summary";
|
|
180
|
-
readonly content: string;
|
|
181
|
-
} | {
|
|
182
|
-
readonly pending?: boolean | undefined;
|
|
183
|
-
readonly _tag: "toolkit";
|
|
184
|
-
} | {
|
|
185
|
-
readonly pending?: boolean | undefined;
|
|
186
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
187
|
-
readonly _tag: "json";
|
|
188
|
-
readonly data: string;
|
|
189
|
-
})[];
|
|
190
|
-
readonly properties?: {
|
|
191
|
-
readonly [x: string]: any;
|
|
192
|
-
} | undefined;
|
|
193
|
-
}>[];
|
|
194
|
-
}>;
|
|
195
|
-
readonly threads: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
196
|
-
readonly name?: string | undefined;
|
|
197
|
-
readonly status?: "active" | "staged" | "resolved" | undefined;
|
|
198
|
-
readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
199
|
-
readonly id: string;
|
|
200
|
-
readonly parentMessage?: string | undefined;
|
|
201
|
-
readonly threadId?: string | undefined;
|
|
202
|
-
readonly created: string;
|
|
203
|
-
readonly sender: {
|
|
204
|
-
readonly name?: string | undefined;
|
|
205
|
-
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
206
|
-
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
207
|
-
readonly image?: string | undefined;
|
|
208
|
-
readonly fullName?: string | undefined;
|
|
209
|
-
readonly preferredName?: string | undefined;
|
|
210
|
-
readonly nickname?: string | undefined;
|
|
211
|
-
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
212
|
-
readonly description?: string | undefined;
|
|
213
|
-
readonly name?: string | undefined;
|
|
214
|
-
readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
215
|
-
readonly image?: string | undefined;
|
|
216
|
-
readonly website?: string | undefined;
|
|
217
|
-
} & {
|
|
218
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
219
|
-
}> | undefined;
|
|
220
|
-
readonly jobTitle?: string | undefined;
|
|
221
|
-
readonly department?: string | undefined;
|
|
222
|
-
readonly notes?: string | undefined;
|
|
223
|
-
readonly emails?: readonly {
|
|
224
|
-
readonly value: string;
|
|
225
|
-
readonly label?: string | undefined;
|
|
226
|
-
}[] | undefined;
|
|
227
|
-
readonly identities?: readonly {
|
|
228
|
-
readonly value: string;
|
|
229
|
-
readonly label?: string | undefined;
|
|
230
|
-
}[] | undefined;
|
|
231
|
-
readonly phoneNumbers?: readonly {
|
|
232
|
-
readonly value: string;
|
|
233
|
-
readonly label?: string | undefined;
|
|
234
|
-
}[] | undefined;
|
|
235
|
-
readonly fields?: readonly {
|
|
236
|
-
readonly value: string;
|
|
237
|
-
readonly label: string;
|
|
238
|
-
readonly category?: string | undefined;
|
|
239
|
-
}[] | undefined;
|
|
240
|
-
readonly addresses?: readonly {
|
|
241
|
-
readonly value: {
|
|
242
|
-
readonly street?: string | undefined;
|
|
243
|
-
readonly extended?: string | undefined;
|
|
244
|
-
readonly locality?: string | undefined;
|
|
245
|
-
readonly region?: string | undefined;
|
|
246
|
-
readonly postalCode?: string | undefined;
|
|
247
|
-
readonly postOfficeBoxNumber?: string | undefined;
|
|
248
|
-
readonly country?: string | undefined;
|
|
249
|
-
};
|
|
250
|
-
readonly label?: string | undefined;
|
|
251
|
-
}[] | undefined;
|
|
252
|
-
readonly urls?: readonly {
|
|
253
|
-
readonly value: string;
|
|
254
|
-
readonly label?: string | undefined;
|
|
255
|
-
}[] | undefined;
|
|
256
|
-
readonly birthday?: string | undefined;
|
|
257
|
-
} & {
|
|
258
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
259
|
-
}> | undefined;
|
|
260
|
-
readonly identityDid?: string | undefined;
|
|
261
|
-
readonly identityKey?: string | undefined;
|
|
262
|
-
readonly email?: string | undefined;
|
|
263
|
-
};
|
|
264
|
-
readonly blocks: readonly ({
|
|
265
|
-
readonly pending?: boolean | undefined;
|
|
266
|
-
readonly text: string;
|
|
267
|
-
readonly mimeType?: string | undefined;
|
|
268
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
269
|
-
readonly _tag: "text";
|
|
270
|
-
} | {
|
|
271
|
-
readonly pending?: boolean | undefined;
|
|
272
|
-
readonly _tag: "reasoning";
|
|
273
|
-
readonly reasoningText?: string | undefined;
|
|
274
|
-
readonly redactedText?: string | undefined;
|
|
275
|
-
readonly signature?: string | undefined;
|
|
276
|
-
} | {
|
|
277
|
-
readonly name: string;
|
|
278
|
-
readonly pending?: boolean | undefined;
|
|
279
|
-
readonly _tag: "toolCall";
|
|
280
|
-
readonly toolCallId: string;
|
|
281
|
-
readonly input: string;
|
|
282
|
-
readonly providerExecuted: boolean;
|
|
283
|
-
} | {
|
|
284
|
-
readonly name: string;
|
|
285
|
-
readonly pending?: boolean | undefined;
|
|
286
|
-
readonly _tag: "toolResult";
|
|
287
|
-
readonly toolCallId: string;
|
|
288
|
-
readonly providerExecuted: boolean;
|
|
289
|
-
readonly result?: string | undefined;
|
|
290
|
-
readonly error?: string | undefined;
|
|
291
|
-
} | {
|
|
292
|
-
readonly pending?: boolean | undefined;
|
|
293
|
-
readonly mimeType?: string | undefined;
|
|
294
|
-
readonly _tag: "stats";
|
|
295
|
-
readonly message?: string | undefined;
|
|
296
|
-
readonly model?: string | undefined;
|
|
297
|
-
readonly usage?: {
|
|
298
|
-
readonly inputTokens?: number | undefined;
|
|
299
|
-
readonly outputTokens?: number | undefined;
|
|
300
|
-
readonly totalTokens?: number | undefined;
|
|
301
|
-
} | undefined;
|
|
302
|
-
readonly toolCalls?: number | undefined;
|
|
303
|
-
readonly errors?: number | undefined;
|
|
304
|
-
readonly duration?: number | undefined;
|
|
305
|
-
} | {
|
|
306
|
-
readonly source?: {
|
|
307
|
-
readonly type: "base64";
|
|
308
|
-
readonly mediaType: string;
|
|
309
|
-
readonly data: string;
|
|
310
|
-
} | {
|
|
311
|
-
readonly type: "http";
|
|
312
|
-
readonly url: string;
|
|
313
|
-
} | undefined;
|
|
314
|
-
readonly id?: string | undefined;
|
|
315
|
-
readonly pending?: boolean | undefined;
|
|
316
|
-
readonly _tag: "image";
|
|
317
|
-
} | {
|
|
318
|
-
readonly name?: string | undefined;
|
|
319
|
-
readonly pending?: boolean | undefined;
|
|
320
|
-
readonly _tag: "file";
|
|
321
|
-
readonly mediaType?: string | undefined;
|
|
322
|
-
readonly url: string;
|
|
323
|
-
} | {
|
|
324
|
-
readonly pending?: boolean | undefined;
|
|
325
|
-
readonly _tag: "reference";
|
|
326
|
-
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
327
|
-
} | {
|
|
328
|
-
readonly pending?: boolean | undefined;
|
|
329
|
-
readonly text: string;
|
|
330
|
-
readonly _tag: "transcript";
|
|
331
|
-
readonly started: string;
|
|
332
|
-
} | {
|
|
333
|
-
readonly pending?: boolean | undefined;
|
|
334
|
-
readonly _tag: "status";
|
|
335
|
-
readonly statusText: string;
|
|
336
|
-
} | {
|
|
337
|
-
readonly pending?: boolean | undefined;
|
|
338
|
-
readonly text: string;
|
|
339
|
-
readonly _tag: "suggestion";
|
|
340
|
-
} | {
|
|
341
|
-
readonly pending?: boolean | undefined;
|
|
342
|
-
readonly _tag: "select";
|
|
343
|
-
readonly options: string[];
|
|
344
|
-
} | {
|
|
345
|
-
readonly version: unknown;
|
|
346
|
-
readonly pending?: boolean | undefined;
|
|
347
|
-
readonly _tag: "anchor";
|
|
348
|
-
readonly objectId: string;
|
|
349
|
-
} | {
|
|
350
|
-
readonly pending?: boolean | undefined;
|
|
351
|
-
readonly text: string;
|
|
352
|
-
readonly _tag: "proposal";
|
|
353
|
-
} | {
|
|
354
|
-
readonly pending?: boolean | undefined;
|
|
355
|
-
readonly _tag: "summary";
|
|
356
|
-
readonly content: string;
|
|
357
|
-
} | {
|
|
358
|
-
readonly pending?: boolean | undefined;
|
|
359
|
-
readonly _tag: "toolkit";
|
|
360
|
-
} | {
|
|
361
|
-
readonly pending?: boolean | undefined;
|
|
362
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
363
|
-
readonly _tag: "json";
|
|
364
|
-
readonly data: string;
|
|
365
|
-
})[];
|
|
366
|
-
readonly properties?: {
|
|
367
|
-
readonly [x: string]: any;
|
|
368
|
-
} | undefined;
|
|
369
|
-
}>[];
|
|
370
|
-
}>[];
|
|
371
|
-
};
|
|
372
|
-
}, Capability.Service>;
|
|
373
|
-
export declare const CreateChannelThread: Operation.Definition<{
|
|
374
|
-
readonly channel: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
375
|
-
readonly name?: string | undefined;
|
|
376
|
-
readonly defaultThread: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
377
|
-
readonly name?: string | undefined;
|
|
378
|
-
readonly status?: "active" | "staged" | "resolved" | undefined;
|
|
379
|
-
readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
380
|
-
readonly id: string;
|
|
381
|
-
readonly parentMessage?: string | undefined;
|
|
382
|
-
readonly threadId?: string | undefined;
|
|
383
|
-
readonly created: string;
|
|
384
|
-
readonly sender: {
|
|
385
|
-
readonly name?: string | undefined;
|
|
386
|
-
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
387
|
-
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
388
|
-
readonly image?: string | undefined;
|
|
389
|
-
readonly fullName?: string | undefined;
|
|
390
|
-
readonly preferredName?: string | undefined;
|
|
391
|
-
readonly nickname?: string | undefined;
|
|
392
|
-
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
393
|
-
readonly description?: string | undefined;
|
|
394
|
-
readonly name?: string | undefined;
|
|
395
|
-
readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
396
|
-
readonly image?: string | undefined;
|
|
397
|
-
readonly website?: string | undefined;
|
|
398
|
-
} & {
|
|
399
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
400
|
-
}> | undefined;
|
|
401
|
-
readonly jobTitle?: string | undefined;
|
|
402
|
-
readonly department?: string | undefined;
|
|
403
|
-
readonly notes?: string | undefined;
|
|
404
|
-
readonly emails?: readonly {
|
|
405
|
-
readonly value: string;
|
|
406
|
-
readonly label?: string | undefined;
|
|
407
|
-
}[] | undefined;
|
|
408
|
-
readonly identities?: readonly {
|
|
409
|
-
readonly value: string;
|
|
410
|
-
readonly label?: string | undefined;
|
|
411
|
-
}[] | undefined;
|
|
412
|
-
readonly phoneNumbers?: readonly {
|
|
413
|
-
readonly value: string;
|
|
414
|
-
readonly label?: string | undefined;
|
|
415
|
-
}[] | undefined;
|
|
416
|
-
readonly fields?: readonly {
|
|
417
|
-
readonly value: string;
|
|
418
|
-
readonly label: string;
|
|
419
|
-
readonly category?: string | undefined;
|
|
420
|
-
}[] | undefined;
|
|
421
|
-
readonly addresses?: readonly {
|
|
422
|
-
readonly value: {
|
|
423
|
-
readonly street?: string | undefined;
|
|
424
|
-
readonly extended?: string | undefined;
|
|
425
|
-
readonly locality?: string | undefined;
|
|
426
|
-
readonly region?: string | undefined;
|
|
427
|
-
readonly postalCode?: string | undefined;
|
|
428
|
-
readonly postOfficeBoxNumber?: string | undefined;
|
|
429
|
-
readonly country?: string | undefined;
|
|
430
|
-
};
|
|
431
|
-
readonly label?: string | undefined;
|
|
432
|
-
}[] | undefined;
|
|
433
|
-
readonly urls?: readonly {
|
|
434
|
-
readonly value: string;
|
|
435
|
-
readonly label?: string | undefined;
|
|
436
|
-
}[] | undefined;
|
|
437
|
-
readonly birthday?: string | undefined;
|
|
438
|
-
} & {
|
|
439
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
440
|
-
}> | undefined;
|
|
441
|
-
readonly identityDid?: string | undefined;
|
|
442
|
-
readonly identityKey?: string | undefined;
|
|
443
|
-
readonly email?: string | undefined;
|
|
444
|
-
};
|
|
445
|
-
readonly blocks: readonly ({
|
|
446
|
-
readonly pending?: boolean | undefined;
|
|
447
|
-
readonly text: string;
|
|
448
|
-
readonly mimeType?: string | undefined;
|
|
449
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
450
|
-
readonly _tag: "text";
|
|
451
|
-
} | {
|
|
452
|
-
readonly pending?: boolean | undefined;
|
|
453
|
-
readonly _tag: "reasoning";
|
|
454
|
-
readonly reasoningText?: string | undefined;
|
|
455
|
-
readonly redactedText?: string | undefined;
|
|
456
|
-
readonly signature?: string | undefined;
|
|
457
|
-
} | {
|
|
458
|
-
readonly name: string;
|
|
459
|
-
readonly pending?: boolean | undefined;
|
|
460
|
-
readonly _tag: "toolCall";
|
|
461
|
-
readonly toolCallId: string;
|
|
462
|
-
readonly input: string;
|
|
463
|
-
readonly providerExecuted: boolean;
|
|
464
|
-
} | {
|
|
465
|
-
readonly name: string;
|
|
466
|
-
readonly pending?: boolean | undefined;
|
|
467
|
-
readonly _tag: "toolResult";
|
|
468
|
-
readonly toolCallId: string;
|
|
469
|
-
readonly providerExecuted: boolean;
|
|
470
|
-
readonly result?: string | undefined;
|
|
471
|
-
readonly error?: string | undefined;
|
|
472
|
-
} | {
|
|
473
|
-
readonly pending?: boolean | undefined;
|
|
474
|
-
readonly mimeType?: string | undefined;
|
|
475
|
-
readonly _tag: "stats";
|
|
476
|
-
readonly message?: string | undefined;
|
|
477
|
-
readonly model?: string | undefined;
|
|
478
|
-
readonly usage?: {
|
|
479
|
-
readonly inputTokens?: number | undefined;
|
|
480
|
-
readonly outputTokens?: number | undefined;
|
|
481
|
-
readonly totalTokens?: number | undefined;
|
|
482
|
-
} | undefined;
|
|
483
|
-
readonly toolCalls?: number | undefined;
|
|
484
|
-
readonly errors?: number | undefined;
|
|
485
|
-
readonly duration?: number | undefined;
|
|
486
|
-
} | {
|
|
487
|
-
readonly source?: {
|
|
488
|
-
readonly type: "base64";
|
|
489
|
-
readonly mediaType: string;
|
|
490
|
-
readonly data: string;
|
|
491
|
-
} | {
|
|
492
|
-
readonly type: "http";
|
|
493
|
-
readonly url: string;
|
|
494
|
-
} | undefined;
|
|
495
|
-
readonly id?: string | undefined;
|
|
496
|
-
readonly pending?: boolean | undefined;
|
|
497
|
-
readonly _tag: "image";
|
|
498
|
-
} | {
|
|
499
|
-
readonly name?: string | undefined;
|
|
500
|
-
readonly pending?: boolean | undefined;
|
|
501
|
-
readonly _tag: "file";
|
|
502
|
-
readonly mediaType?: string | undefined;
|
|
503
|
-
readonly url: string;
|
|
504
|
-
} | {
|
|
505
|
-
readonly pending?: boolean | undefined;
|
|
506
|
-
readonly _tag: "reference";
|
|
507
|
-
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
508
|
-
} | {
|
|
509
|
-
readonly pending?: boolean | undefined;
|
|
510
|
-
readonly text: string;
|
|
511
|
-
readonly _tag: "transcript";
|
|
512
|
-
readonly started: string;
|
|
513
|
-
} | {
|
|
514
|
-
readonly pending?: boolean | undefined;
|
|
515
|
-
readonly _tag: "status";
|
|
516
|
-
readonly statusText: string;
|
|
517
|
-
} | {
|
|
518
|
-
readonly pending?: boolean | undefined;
|
|
519
|
-
readonly text: string;
|
|
520
|
-
readonly _tag: "suggestion";
|
|
521
|
-
} | {
|
|
522
|
-
readonly pending?: boolean | undefined;
|
|
523
|
-
readonly _tag: "select";
|
|
524
|
-
readonly options: string[];
|
|
525
|
-
} | {
|
|
526
|
-
readonly version: unknown;
|
|
527
|
-
readonly pending?: boolean | undefined;
|
|
528
|
-
readonly _tag: "anchor";
|
|
529
|
-
readonly objectId: string;
|
|
530
|
-
} | {
|
|
531
|
-
readonly pending?: boolean | undefined;
|
|
532
|
-
readonly text: string;
|
|
533
|
-
readonly _tag: "proposal";
|
|
534
|
-
} | {
|
|
535
|
-
readonly pending?: boolean | undefined;
|
|
536
|
-
readonly _tag: "summary";
|
|
537
|
-
readonly content: string;
|
|
538
|
-
} | {
|
|
539
|
-
readonly pending?: boolean | undefined;
|
|
540
|
-
readonly _tag: "toolkit";
|
|
541
|
-
} | {
|
|
542
|
-
readonly pending?: boolean | undefined;
|
|
543
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
544
|
-
readonly _tag: "json";
|
|
545
|
-
readonly data: string;
|
|
546
|
-
})[];
|
|
547
|
-
readonly properties?: {
|
|
548
|
-
readonly [x: string]: any;
|
|
549
|
-
} | undefined;
|
|
550
|
-
}>[];
|
|
551
|
-
}>;
|
|
552
|
-
readonly threads: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
553
|
-
readonly name?: string | undefined;
|
|
554
|
-
readonly status?: "active" | "staged" | "resolved" | undefined;
|
|
555
|
-
readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
556
|
-
readonly id: string;
|
|
557
|
-
readonly parentMessage?: string | undefined;
|
|
558
|
-
readonly threadId?: string | undefined;
|
|
559
|
-
readonly created: string;
|
|
560
|
-
readonly sender: {
|
|
561
|
-
readonly name?: string | undefined;
|
|
562
|
-
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
563
|
-
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
564
|
-
readonly image?: string | undefined;
|
|
565
|
-
readonly fullName?: string | undefined;
|
|
566
|
-
readonly preferredName?: string | undefined;
|
|
567
|
-
readonly nickname?: string | undefined;
|
|
568
|
-
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
569
|
-
readonly description?: string | undefined;
|
|
570
|
-
readonly name?: string | undefined;
|
|
571
|
-
readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
572
|
-
readonly image?: string | undefined;
|
|
573
|
-
readonly website?: string | undefined;
|
|
574
|
-
} & {
|
|
575
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
576
|
-
}> | undefined;
|
|
577
|
-
readonly jobTitle?: string | undefined;
|
|
578
|
-
readonly department?: string | undefined;
|
|
579
|
-
readonly notes?: string | undefined;
|
|
580
|
-
readonly emails?: readonly {
|
|
581
|
-
readonly value: string;
|
|
582
|
-
readonly label?: string | undefined;
|
|
583
|
-
}[] | undefined;
|
|
584
|
-
readonly identities?: readonly {
|
|
585
|
-
readonly value: string;
|
|
586
|
-
readonly label?: string | undefined;
|
|
587
|
-
}[] | undefined;
|
|
588
|
-
readonly phoneNumbers?: readonly {
|
|
589
|
-
readonly value: string;
|
|
590
|
-
readonly label?: string | undefined;
|
|
591
|
-
}[] | undefined;
|
|
592
|
-
readonly fields?: readonly {
|
|
593
|
-
readonly value: string;
|
|
594
|
-
readonly label: string;
|
|
595
|
-
readonly category?: string | undefined;
|
|
596
|
-
}[] | undefined;
|
|
597
|
-
readonly addresses?: readonly {
|
|
598
|
-
readonly value: {
|
|
599
|
-
readonly street?: string | undefined;
|
|
600
|
-
readonly extended?: string | undefined;
|
|
601
|
-
readonly locality?: string | undefined;
|
|
602
|
-
readonly region?: string | undefined;
|
|
603
|
-
readonly postalCode?: string | undefined;
|
|
604
|
-
readonly postOfficeBoxNumber?: string | undefined;
|
|
605
|
-
readonly country?: string | undefined;
|
|
606
|
-
};
|
|
607
|
-
readonly label?: string | undefined;
|
|
608
|
-
}[] | undefined;
|
|
609
|
-
readonly urls?: readonly {
|
|
610
|
-
readonly value: string;
|
|
611
|
-
readonly label?: string | undefined;
|
|
612
|
-
}[] | undefined;
|
|
613
|
-
readonly birthday?: string | undefined;
|
|
614
|
-
} & {
|
|
615
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
616
|
-
}> | undefined;
|
|
617
|
-
readonly identityDid?: string | undefined;
|
|
618
|
-
readonly identityKey?: string | undefined;
|
|
619
|
-
readonly email?: string | undefined;
|
|
620
|
-
};
|
|
621
|
-
readonly blocks: readonly ({
|
|
622
|
-
readonly pending?: boolean | undefined;
|
|
623
|
-
readonly text: string;
|
|
624
|
-
readonly mimeType?: string | undefined;
|
|
625
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
626
|
-
readonly _tag: "text";
|
|
627
|
-
} | {
|
|
628
|
-
readonly pending?: boolean | undefined;
|
|
629
|
-
readonly _tag: "reasoning";
|
|
630
|
-
readonly reasoningText?: string | undefined;
|
|
631
|
-
readonly redactedText?: string | undefined;
|
|
632
|
-
readonly signature?: string | undefined;
|
|
633
|
-
} | {
|
|
634
|
-
readonly name: string;
|
|
635
|
-
readonly pending?: boolean | undefined;
|
|
636
|
-
readonly _tag: "toolCall";
|
|
637
|
-
readonly toolCallId: string;
|
|
638
|
-
readonly input: string;
|
|
639
|
-
readonly providerExecuted: boolean;
|
|
640
|
-
} | {
|
|
641
|
-
readonly name: string;
|
|
642
|
-
readonly pending?: boolean | undefined;
|
|
643
|
-
readonly _tag: "toolResult";
|
|
644
|
-
readonly toolCallId: string;
|
|
645
|
-
readonly providerExecuted: boolean;
|
|
646
|
-
readonly result?: string | undefined;
|
|
647
|
-
readonly error?: string | undefined;
|
|
648
|
-
} | {
|
|
649
|
-
readonly pending?: boolean | undefined;
|
|
650
|
-
readonly mimeType?: string | undefined;
|
|
651
|
-
readonly _tag: "stats";
|
|
652
|
-
readonly message?: string | undefined;
|
|
653
|
-
readonly model?: string | undefined;
|
|
654
|
-
readonly usage?: {
|
|
655
|
-
readonly inputTokens?: number | undefined;
|
|
656
|
-
readonly outputTokens?: number | undefined;
|
|
657
|
-
readonly totalTokens?: number | undefined;
|
|
658
|
-
} | undefined;
|
|
659
|
-
readonly toolCalls?: number | undefined;
|
|
660
|
-
readonly errors?: number | undefined;
|
|
661
|
-
readonly duration?: number | undefined;
|
|
662
|
-
} | {
|
|
663
|
-
readonly source?: {
|
|
664
|
-
readonly type: "base64";
|
|
665
|
-
readonly mediaType: string;
|
|
666
|
-
readonly data: string;
|
|
667
|
-
} | {
|
|
668
|
-
readonly type: "http";
|
|
669
|
-
readonly url: string;
|
|
670
|
-
} | undefined;
|
|
671
|
-
readonly id?: string | undefined;
|
|
672
|
-
readonly pending?: boolean | undefined;
|
|
673
|
-
readonly _tag: "image";
|
|
674
|
-
} | {
|
|
675
|
-
readonly name?: string | undefined;
|
|
676
|
-
readonly pending?: boolean | undefined;
|
|
677
|
-
readonly _tag: "file";
|
|
678
|
-
readonly mediaType?: string | undefined;
|
|
679
|
-
readonly url: string;
|
|
680
|
-
} | {
|
|
681
|
-
readonly pending?: boolean | undefined;
|
|
682
|
-
readonly _tag: "reference";
|
|
683
|
-
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
684
|
-
} | {
|
|
685
|
-
readonly pending?: boolean | undefined;
|
|
686
|
-
readonly text: string;
|
|
687
|
-
readonly _tag: "transcript";
|
|
688
|
-
readonly started: string;
|
|
689
|
-
} | {
|
|
690
|
-
readonly pending?: boolean | undefined;
|
|
691
|
-
readonly _tag: "status";
|
|
692
|
-
readonly statusText: string;
|
|
693
|
-
} | {
|
|
694
|
-
readonly pending?: boolean | undefined;
|
|
695
|
-
readonly text: string;
|
|
696
|
-
readonly _tag: "suggestion";
|
|
697
|
-
} | {
|
|
698
|
-
readonly pending?: boolean | undefined;
|
|
699
|
-
readonly _tag: "select";
|
|
700
|
-
readonly options: string[];
|
|
701
|
-
} | {
|
|
702
|
-
readonly version: unknown;
|
|
703
|
-
readonly pending?: boolean | undefined;
|
|
704
|
-
readonly _tag: "anchor";
|
|
705
|
-
readonly objectId: string;
|
|
706
|
-
} | {
|
|
707
|
-
readonly pending?: boolean | undefined;
|
|
708
|
-
readonly text: string;
|
|
709
|
-
readonly _tag: "proposal";
|
|
710
|
-
} | {
|
|
711
|
-
readonly pending?: boolean | undefined;
|
|
712
|
-
readonly _tag: "summary";
|
|
713
|
-
readonly content: string;
|
|
714
|
-
} | {
|
|
715
|
-
readonly pending?: boolean | undefined;
|
|
716
|
-
readonly _tag: "toolkit";
|
|
717
|
-
} | {
|
|
718
|
-
readonly pending?: boolean | undefined;
|
|
719
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
720
|
-
readonly _tag: "json";
|
|
721
|
-
readonly data: string;
|
|
722
|
-
})[];
|
|
723
|
-
readonly properties?: {
|
|
724
|
-
readonly [x: string]: any;
|
|
725
|
-
} | undefined;
|
|
726
|
-
}>[];
|
|
727
|
-
}>[];
|
|
728
|
-
};
|
|
729
|
-
}, {
|
|
730
|
-
readonly object: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
731
|
-
readonly name?: string | undefined;
|
|
732
|
-
readonly status?: "active" | "staged" | "resolved" | undefined;
|
|
733
|
-
readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
734
|
-
readonly id: string;
|
|
735
|
-
readonly parentMessage?: string | undefined;
|
|
736
|
-
readonly threadId?: string | undefined;
|
|
737
|
-
readonly created: string;
|
|
738
|
-
readonly sender: {
|
|
739
|
-
readonly name?: string | undefined;
|
|
740
|
-
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
741
|
-
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
742
|
-
readonly image?: string | undefined;
|
|
743
|
-
readonly fullName?: string | undefined;
|
|
744
|
-
readonly preferredName?: string | undefined;
|
|
745
|
-
readonly nickname?: string | undefined;
|
|
746
|
-
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
747
|
-
readonly description?: string | undefined;
|
|
748
|
-
readonly name?: string | undefined;
|
|
749
|
-
readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
750
|
-
readonly image?: string | undefined;
|
|
751
|
-
readonly website?: string | undefined;
|
|
752
|
-
} & {
|
|
753
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
754
|
-
}> | undefined;
|
|
755
|
-
readonly jobTitle?: string | undefined;
|
|
756
|
-
readonly department?: string | undefined;
|
|
757
|
-
readonly notes?: string | undefined;
|
|
758
|
-
readonly emails?: readonly {
|
|
759
|
-
readonly value: string;
|
|
760
|
-
readonly label?: string | undefined;
|
|
761
|
-
}[] | undefined;
|
|
762
|
-
readonly identities?: readonly {
|
|
763
|
-
readonly value: string;
|
|
764
|
-
readonly label?: string | undefined;
|
|
765
|
-
}[] | undefined;
|
|
766
|
-
readonly phoneNumbers?: readonly {
|
|
767
|
-
readonly value: string;
|
|
768
|
-
readonly label?: string | undefined;
|
|
769
|
-
}[] | undefined;
|
|
770
|
-
readonly fields?: readonly {
|
|
771
|
-
readonly value: string;
|
|
772
|
-
readonly label: string;
|
|
773
|
-
readonly category?: string | undefined;
|
|
774
|
-
}[] | undefined;
|
|
775
|
-
readonly addresses?: readonly {
|
|
776
|
-
readonly value: {
|
|
777
|
-
readonly street?: string | undefined;
|
|
778
|
-
readonly extended?: string | undefined;
|
|
779
|
-
readonly locality?: string | undefined;
|
|
780
|
-
readonly region?: string | undefined;
|
|
781
|
-
readonly postalCode?: string | undefined;
|
|
782
|
-
readonly postOfficeBoxNumber?: string | undefined;
|
|
783
|
-
readonly country?: string | undefined;
|
|
784
|
-
};
|
|
785
|
-
readonly label?: string | undefined;
|
|
786
|
-
}[] | undefined;
|
|
787
|
-
readonly urls?: readonly {
|
|
788
|
-
readonly value: string;
|
|
789
|
-
readonly label?: string | undefined;
|
|
790
|
-
}[] | undefined;
|
|
791
|
-
readonly birthday?: string | undefined;
|
|
792
|
-
} & {
|
|
793
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
794
|
-
}> | undefined;
|
|
795
|
-
readonly identityDid?: string | undefined;
|
|
796
|
-
readonly identityKey?: string | undefined;
|
|
797
|
-
readonly email?: string | undefined;
|
|
798
|
-
};
|
|
799
|
-
readonly blocks: readonly ({
|
|
800
|
-
readonly pending?: boolean | undefined;
|
|
801
|
-
readonly text: string;
|
|
802
|
-
readonly mimeType?: string | undefined;
|
|
803
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
804
|
-
readonly _tag: "text";
|
|
805
|
-
} | {
|
|
806
|
-
readonly pending?: boolean | undefined;
|
|
807
|
-
readonly _tag: "reasoning";
|
|
808
|
-
readonly reasoningText?: string | undefined;
|
|
809
|
-
readonly redactedText?: string | undefined;
|
|
810
|
-
readonly signature?: string | undefined;
|
|
811
|
-
} | {
|
|
812
|
-
readonly name: string;
|
|
813
|
-
readonly pending?: boolean | undefined;
|
|
814
|
-
readonly _tag: "toolCall";
|
|
815
|
-
readonly toolCallId: string;
|
|
816
|
-
readonly input: string;
|
|
817
|
-
readonly providerExecuted: boolean;
|
|
818
|
-
} | {
|
|
819
|
-
readonly name: string;
|
|
820
|
-
readonly pending?: boolean | undefined;
|
|
821
|
-
readonly _tag: "toolResult";
|
|
822
|
-
readonly toolCallId: string;
|
|
823
|
-
readonly providerExecuted: boolean;
|
|
824
|
-
readonly result?: string | undefined;
|
|
825
|
-
readonly error?: string | undefined;
|
|
826
|
-
} | {
|
|
827
|
-
readonly pending?: boolean | undefined;
|
|
828
|
-
readonly mimeType?: string | undefined;
|
|
829
|
-
readonly _tag: "stats";
|
|
830
|
-
readonly message?: string | undefined;
|
|
831
|
-
readonly model?: string | undefined;
|
|
832
|
-
readonly usage?: {
|
|
833
|
-
readonly inputTokens?: number | undefined;
|
|
834
|
-
readonly outputTokens?: number | undefined;
|
|
835
|
-
readonly totalTokens?: number | undefined;
|
|
836
|
-
} | undefined;
|
|
837
|
-
readonly toolCalls?: number | undefined;
|
|
838
|
-
readonly errors?: number | undefined;
|
|
839
|
-
readonly duration?: number | undefined;
|
|
840
|
-
} | {
|
|
841
|
-
readonly source?: {
|
|
842
|
-
readonly type: "base64";
|
|
843
|
-
readonly mediaType: string;
|
|
844
|
-
readonly data: string;
|
|
845
|
-
} | {
|
|
846
|
-
readonly type: "http";
|
|
847
|
-
readonly url: string;
|
|
848
|
-
} | undefined;
|
|
849
|
-
readonly id?: string | undefined;
|
|
850
|
-
readonly pending?: boolean | undefined;
|
|
851
|
-
readonly _tag: "image";
|
|
852
|
-
} | {
|
|
853
|
-
readonly name?: string | undefined;
|
|
854
|
-
readonly pending?: boolean | undefined;
|
|
855
|
-
readonly _tag: "file";
|
|
856
|
-
readonly mediaType?: string | undefined;
|
|
857
|
-
readonly url: string;
|
|
858
|
-
} | {
|
|
859
|
-
readonly pending?: boolean | undefined;
|
|
860
|
-
readonly _tag: "reference";
|
|
861
|
-
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
862
|
-
} | {
|
|
863
|
-
readonly pending?: boolean | undefined;
|
|
864
|
-
readonly text: string;
|
|
865
|
-
readonly _tag: "transcript";
|
|
866
|
-
readonly started: string;
|
|
867
|
-
} | {
|
|
868
|
-
readonly pending?: boolean | undefined;
|
|
869
|
-
readonly _tag: "status";
|
|
870
|
-
readonly statusText: string;
|
|
871
|
-
} | {
|
|
872
|
-
readonly pending?: boolean | undefined;
|
|
873
|
-
readonly text: string;
|
|
874
|
-
readonly _tag: "suggestion";
|
|
875
|
-
} | {
|
|
876
|
-
readonly pending?: boolean | undefined;
|
|
877
|
-
readonly _tag: "select";
|
|
878
|
-
readonly options: string[];
|
|
879
|
-
} | {
|
|
880
|
-
readonly version: unknown;
|
|
881
|
-
readonly pending?: boolean | undefined;
|
|
882
|
-
readonly _tag: "anchor";
|
|
883
|
-
readonly objectId: string;
|
|
884
|
-
} | {
|
|
885
|
-
readonly pending?: boolean | undefined;
|
|
886
|
-
readonly text: string;
|
|
887
|
-
readonly _tag: "proposal";
|
|
888
|
-
} | {
|
|
889
|
-
readonly pending?: boolean | undefined;
|
|
890
|
-
readonly _tag: "summary";
|
|
891
|
-
readonly content: string;
|
|
892
|
-
} | {
|
|
893
|
-
readonly pending?: boolean | undefined;
|
|
894
|
-
readonly _tag: "toolkit";
|
|
895
|
-
} | {
|
|
896
|
-
readonly pending?: boolean | undefined;
|
|
897
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
898
|
-
readonly _tag: "json";
|
|
899
|
-
readonly data: string;
|
|
900
|
-
})[];
|
|
901
|
-
readonly properties?: {
|
|
902
|
-
readonly [x: string]: any;
|
|
903
|
-
} | undefined;
|
|
904
|
-
}>[];
|
|
905
|
-
};
|
|
9
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<Obj.Unknown>[];
|
|
10
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>;
|
|
11
|
+
readonly isDefault?: boolean | undefined;
|
|
12
|
+
}, void, Capability.Service>;
|
|
13
|
+
export declare const CreateChannel: Operation.Definition<{
|
|
14
|
+
readonly spaceId: Key.SpaceId;
|
|
15
|
+
readonly name?: string | undefined;
|
|
16
|
+
}, {
|
|
17
|
+
readonly object: {
|
|
18
|
+
readonly name?: string | undefined;
|
|
19
|
+
readonly feed: import("@dxos/echo/internal").Ref<{
|
|
20
|
+
readonly name?: string | undefined;
|
|
21
|
+
readonly kind?: string | undefined;
|
|
22
|
+
readonly namespace?: "data" | "trace" | undefined;
|
|
23
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
24
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>;
|
|
906
25
|
}, Capability.Service>;
|
|
26
|
+
export declare const AppendChannelMessage: Operation.Definition<{
|
|
27
|
+
readonly channel: {
|
|
28
|
+
readonly name?: string | undefined;
|
|
29
|
+
readonly feed: import("@dxos/echo/internal").Ref<{
|
|
30
|
+
readonly name?: string | undefined;
|
|
31
|
+
readonly kind?: string | undefined;
|
|
32
|
+
readonly namespace?: "data" | "trace" | undefined;
|
|
33
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
34
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>;
|
|
35
|
+
readonly sender: {
|
|
36
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
37
|
+
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
38
|
+
readonly fullName?: string | undefined;
|
|
39
|
+
readonly preferredName?: string | undefined;
|
|
40
|
+
readonly nickname?: string | undefined;
|
|
41
|
+
readonly image?: string | undefined;
|
|
42
|
+
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
43
|
+
readonly name?: string | undefined;
|
|
44
|
+
readonly description?: string | undefined;
|
|
45
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
46
|
+
readonly image?: string | undefined;
|
|
47
|
+
readonly website?: string | undefined;
|
|
48
|
+
} & {
|
|
49
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
50
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
51
|
+
readonly jobTitle?: string | undefined;
|
|
52
|
+
readonly department?: string | undefined;
|
|
53
|
+
readonly notes?: string | undefined;
|
|
54
|
+
readonly emails?: readonly {
|
|
55
|
+
readonly label?: string | undefined;
|
|
56
|
+
readonly value: string;
|
|
57
|
+
}[] | undefined;
|
|
58
|
+
readonly identities?: readonly {
|
|
59
|
+
readonly label?: string | undefined;
|
|
60
|
+
readonly value: string;
|
|
61
|
+
}[] | undefined;
|
|
62
|
+
readonly phoneNumbers?: readonly {
|
|
63
|
+
readonly label?: string | undefined;
|
|
64
|
+
readonly value: string;
|
|
65
|
+
}[] | undefined;
|
|
66
|
+
readonly addresses?: readonly {
|
|
67
|
+
readonly label?: string | undefined;
|
|
68
|
+
readonly value: {
|
|
69
|
+
readonly street?: string | undefined;
|
|
70
|
+
readonly extended?: string | undefined;
|
|
71
|
+
readonly locality?: string | undefined;
|
|
72
|
+
readonly region?: string | undefined;
|
|
73
|
+
readonly postalCode?: string | undefined;
|
|
74
|
+
readonly postOfficeBoxNumber?: string | undefined;
|
|
75
|
+
readonly country?: string | undefined;
|
|
76
|
+
};
|
|
77
|
+
}[] | undefined;
|
|
78
|
+
readonly urls?: readonly {
|
|
79
|
+
readonly label?: string | undefined;
|
|
80
|
+
readonly value: string;
|
|
81
|
+
}[] | undefined;
|
|
82
|
+
readonly birthday?: string | undefined;
|
|
83
|
+
readonly fields?: readonly {
|
|
84
|
+
readonly category?: string | undefined;
|
|
85
|
+
readonly label: string;
|
|
86
|
+
readonly value: string;
|
|
87
|
+
}[] | undefined;
|
|
88
|
+
} & {
|
|
89
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
90
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
91
|
+
readonly identityDid?: string | undefined;
|
|
92
|
+
readonly identityKey?: string | undefined;
|
|
93
|
+
readonly email?: string | undefined;
|
|
94
|
+
readonly name?: string | undefined;
|
|
95
|
+
};
|
|
96
|
+
readonly text: string;
|
|
97
|
+
}, void, Capability.Service>;
|
|
907
98
|
export declare const Create: Operation.Definition<{
|
|
908
99
|
readonly name?: string | undefined;
|
|
909
100
|
readonly anchor?: string | undefined;
|
|
910
|
-
readonly subject:
|
|
101
|
+
readonly subject: Obj.Unknown;
|
|
911
102
|
}, void, Capability.Service>;
|
|
912
103
|
export declare const DeleteOutput: Schema.SchemaClass<{
|
|
913
|
-
readonly
|
|
914
|
-
readonly id: string;
|
|
915
|
-
readonly anchor?: string | undefined;
|
|
916
|
-
}) | undefined;
|
|
917
|
-
readonly thread?: (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
104
|
+
readonly thread?: ({
|
|
918
105
|
readonly name?: string | undefined;
|
|
919
|
-
readonly status?: "active" | "
|
|
920
|
-
readonly messages: readonly import("@dxos/echo/internal").Ref<
|
|
106
|
+
readonly status?: "active" | "resolved" | "staged" | undefined;
|
|
107
|
+
readonly messages: readonly import("@dxos/echo/internal").Ref<{
|
|
921
108
|
readonly id: string;
|
|
922
109
|
readonly parentMessage?: string | undefined;
|
|
923
110
|
readonly threadId?: string | undefined;
|
|
924
111
|
readonly created: string;
|
|
925
112
|
readonly sender: {
|
|
926
|
-
readonly
|
|
927
|
-
readonly
|
|
928
|
-
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
929
|
-
readonly image?: string | undefined;
|
|
113
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
114
|
+
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
930
115
|
readonly fullName?: string | undefined;
|
|
931
116
|
readonly preferredName?: string | undefined;
|
|
932
117
|
readonly nickname?: string | undefined;
|
|
933
|
-
readonly
|
|
934
|
-
|
|
118
|
+
readonly image?: string | undefined;
|
|
119
|
+
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
935
120
|
readonly name?: string | undefined;
|
|
936
|
-
readonly
|
|
121
|
+
readonly description?: string | undefined;
|
|
122
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
937
123
|
readonly image?: string | undefined;
|
|
938
124
|
readonly website?: string | undefined;
|
|
939
125
|
} & {
|
|
940
126
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
941
|
-
}> | undefined;
|
|
127
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
942
128
|
readonly jobTitle?: string | undefined;
|
|
943
129
|
readonly department?: string | undefined;
|
|
944
130
|
readonly notes?: string | undefined;
|
|
945
131
|
readonly emails?: readonly {
|
|
946
|
-
readonly value: string;
|
|
947
132
|
readonly label?: string | undefined;
|
|
133
|
+
readonly value: string;
|
|
948
134
|
}[] | undefined;
|
|
949
135
|
readonly identities?: readonly {
|
|
950
|
-
readonly value: string;
|
|
951
136
|
readonly label?: string | undefined;
|
|
137
|
+
readonly value: string;
|
|
952
138
|
}[] | undefined;
|
|
953
139
|
readonly phoneNumbers?: readonly {
|
|
954
|
-
readonly value: string;
|
|
955
140
|
readonly label?: string | undefined;
|
|
956
|
-
}[] | undefined;
|
|
957
|
-
readonly fields?: readonly {
|
|
958
141
|
readonly value: string;
|
|
959
|
-
readonly label: string;
|
|
960
|
-
readonly category?: string | undefined;
|
|
961
142
|
}[] | undefined;
|
|
962
143
|
readonly addresses?: readonly {
|
|
144
|
+
readonly label?: string | undefined;
|
|
963
145
|
readonly value: {
|
|
964
146
|
readonly street?: string | undefined;
|
|
965
147
|
readonly extended?: string | undefined;
|
|
@@ -969,62 +151,40 @@ export declare const DeleteOutput: Schema.SchemaClass<{
|
|
|
969
151
|
readonly postOfficeBoxNumber?: string | undefined;
|
|
970
152
|
readonly country?: string | undefined;
|
|
971
153
|
};
|
|
972
|
-
readonly label?: string | undefined;
|
|
973
154
|
}[] | undefined;
|
|
974
155
|
readonly urls?: readonly {
|
|
975
|
-
readonly value: string;
|
|
976
156
|
readonly label?: string | undefined;
|
|
157
|
+
readonly value: string;
|
|
977
158
|
}[] | undefined;
|
|
978
159
|
readonly birthday?: string | undefined;
|
|
160
|
+
readonly fields?: readonly {
|
|
161
|
+
readonly category?: string | undefined;
|
|
162
|
+
readonly label: string;
|
|
163
|
+
readonly value: string;
|
|
164
|
+
}[] | undefined;
|
|
979
165
|
} & {
|
|
980
166
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
981
|
-
}> | undefined;
|
|
167
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
982
168
|
readonly identityDid?: string | undefined;
|
|
983
169
|
readonly identityKey?: string | undefined;
|
|
984
170
|
readonly email?: string | undefined;
|
|
171
|
+
readonly name?: string | undefined;
|
|
985
172
|
};
|
|
986
173
|
readonly blocks: readonly ({
|
|
174
|
+
readonly _tag: "anchor";
|
|
987
175
|
readonly pending?: boolean | undefined;
|
|
988
|
-
readonly
|
|
989
|
-
readonly
|
|
990
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
991
|
-
readonly _tag: "text";
|
|
992
|
-
} | {
|
|
993
|
-
readonly pending?: boolean | undefined;
|
|
994
|
-
readonly _tag: "reasoning";
|
|
995
|
-
readonly reasoningText?: string | undefined;
|
|
996
|
-
readonly redactedText?: string | undefined;
|
|
997
|
-
readonly signature?: string | undefined;
|
|
998
|
-
} | {
|
|
999
|
-
readonly name: string;
|
|
1000
|
-
readonly pending?: boolean | undefined;
|
|
1001
|
-
readonly _tag: "toolCall";
|
|
1002
|
-
readonly toolCallId: string;
|
|
1003
|
-
readonly input: string;
|
|
1004
|
-
readonly providerExecuted: boolean;
|
|
176
|
+
readonly objectId: string;
|
|
177
|
+
readonly version: unknown;
|
|
1005
178
|
} | {
|
|
1006
|
-
readonly
|
|
179
|
+
readonly _tag: "file";
|
|
1007
180
|
readonly pending?: boolean | undefined;
|
|
1008
|
-
readonly
|
|
1009
|
-
readonly
|
|
1010
|
-
readonly
|
|
1011
|
-
readonly result?: string | undefined;
|
|
1012
|
-
readonly error?: string | undefined;
|
|
181
|
+
readonly url: string;
|
|
182
|
+
readonly name?: string | undefined;
|
|
183
|
+
readonly mediaType?: string | undefined;
|
|
1013
184
|
} | {
|
|
185
|
+
readonly _tag: "image";
|
|
1014
186
|
readonly pending?: boolean | undefined;
|
|
1015
|
-
readonly
|
|
1016
|
-
readonly _tag: "stats";
|
|
1017
|
-
readonly message?: string | undefined;
|
|
1018
|
-
readonly model?: string | undefined;
|
|
1019
|
-
readonly usage?: {
|
|
1020
|
-
readonly inputTokens?: number | undefined;
|
|
1021
|
-
readonly outputTokens?: number | undefined;
|
|
1022
|
-
readonly totalTokens?: number | undefined;
|
|
1023
|
-
} | undefined;
|
|
1024
|
-
readonly toolCalls?: number | undefined;
|
|
1025
|
-
readonly errors?: number | undefined;
|
|
1026
|
-
readonly duration?: number | undefined;
|
|
1027
|
-
} | {
|
|
187
|
+
readonly id?: string | undefined;
|
|
1028
188
|
readonly source?: {
|
|
1029
189
|
readonly type: "base64";
|
|
1030
190
|
readonly mediaType: string;
|
|
@@ -1033,117 +193,174 @@ export declare const DeleteOutput: Schema.SchemaClass<{
|
|
|
1033
193
|
readonly type: "http";
|
|
1034
194
|
readonly url: string;
|
|
1035
195
|
} | undefined;
|
|
1036
|
-
|
|
196
|
+
} | {
|
|
197
|
+
readonly _tag: "json";
|
|
1037
198
|
readonly pending?: boolean | undefined;
|
|
1038
|
-
readonly
|
|
199
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
200
|
+
readonly data: string;
|
|
1039
201
|
} | {
|
|
1040
|
-
readonly
|
|
202
|
+
readonly _tag: "proposal";
|
|
1041
203
|
readonly pending?: boolean | undefined;
|
|
1042
|
-
readonly
|
|
1043
|
-
readonly mediaType?: string | undefined;
|
|
1044
|
-
readonly url: string;
|
|
204
|
+
readonly text: string;
|
|
1045
205
|
} | {
|
|
206
|
+
readonly _tag: "reasoning";
|
|
1046
207
|
readonly pending?: boolean | undefined;
|
|
1047
|
-
readonly
|
|
1048
|
-
readonly
|
|
208
|
+
readonly reasoningText?: string | undefined;
|
|
209
|
+
readonly redactedText?: string | undefined;
|
|
210
|
+
readonly signature?: string | undefined;
|
|
1049
211
|
} | {
|
|
212
|
+
readonly _tag: "reference";
|
|
1050
213
|
readonly pending?: boolean | undefined;
|
|
1051
|
-
readonly
|
|
1052
|
-
readonly _tag: "transcript";
|
|
1053
|
-
readonly started: string;
|
|
214
|
+
readonly reference: import("@dxos/echo/internal").Ref<Obj.Unknown>;
|
|
1054
215
|
} | {
|
|
216
|
+
readonly _tag: "select";
|
|
1055
217
|
readonly pending?: boolean | undefined;
|
|
218
|
+
readonly options: string[];
|
|
219
|
+
} | {
|
|
1056
220
|
readonly _tag: "status";
|
|
221
|
+
readonly pending?: boolean | undefined;
|
|
1057
222
|
readonly statusText: string;
|
|
1058
223
|
} | {
|
|
1059
|
-
readonly pending?: boolean | undefined;
|
|
1060
|
-
readonly text: string;
|
|
1061
224
|
readonly _tag: "suggestion";
|
|
1062
|
-
} | {
|
|
1063
225
|
readonly pending?: boolean | undefined;
|
|
1064
|
-
readonly
|
|
1065
|
-
readonly options: string[];
|
|
226
|
+
readonly text: string;
|
|
1066
227
|
} | {
|
|
1067
|
-
readonly
|
|
228
|
+
readonly _tag: "stats";
|
|
1068
229
|
readonly pending?: boolean | undefined;
|
|
1069
|
-
readonly
|
|
1070
|
-
readonly
|
|
230
|
+
readonly mimeType?: string | undefined;
|
|
231
|
+
readonly message?: string | undefined;
|
|
232
|
+
readonly model?: string | undefined;
|
|
233
|
+
readonly usage?: {
|
|
234
|
+
readonly inputTokens?: number | undefined;
|
|
235
|
+
readonly outputTokens?: number | undefined;
|
|
236
|
+
readonly totalTokens?: number | undefined;
|
|
237
|
+
} | undefined;
|
|
238
|
+
readonly toolCalls?: number | undefined;
|
|
239
|
+
readonly errors?: number | undefined;
|
|
240
|
+
readonly duration?: number | undefined;
|
|
1071
241
|
} | {
|
|
242
|
+
readonly _tag: "text";
|
|
1072
243
|
readonly pending?: boolean | undefined;
|
|
244
|
+
readonly mimeType?: string | undefined;
|
|
1073
245
|
readonly text: string;
|
|
1074
|
-
readonly
|
|
246
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1075
247
|
} | {
|
|
1076
|
-
readonly pending?: boolean | undefined;
|
|
1077
248
|
readonly _tag: "summary";
|
|
249
|
+
readonly pending?: boolean | undefined;
|
|
1078
250
|
readonly content: string;
|
|
1079
251
|
} | {
|
|
1080
|
-
readonly pending?: boolean | undefined;
|
|
1081
252
|
readonly _tag: "toolkit";
|
|
253
|
+
readonly pending?: boolean | undefined;
|
|
1082
254
|
} | {
|
|
255
|
+
readonly _tag: "toolCall";
|
|
1083
256
|
readonly pending?: boolean | undefined;
|
|
1084
|
-
readonly
|
|
1085
|
-
readonly
|
|
1086
|
-
readonly
|
|
257
|
+
readonly toolCallId: string;
|
|
258
|
+
readonly name: string;
|
|
259
|
+
readonly input: string;
|
|
260
|
+
readonly providerExecuted: boolean;
|
|
261
|
+
readonly operationKey?: string | undefined;
|
|
262
|
+
readonly operationName?: string | undefined;
|
|
263
|
+
readonly operationIcon?: string | undefined;
|
|
264
|
+
} | {
|
|
265
|
+
readonly _tag: "toolResult";
|
|
266
|
+
readonly pending?: boolean | undefined;
|
|
267
|
+
readonly toolCallId: string;
|
|
268
|
+
readonly name: string;
|
|
269
|
+
readonly result?: string | {
|
|
270
|
+
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
271
|
+
readonly content: readonly ({
|
|
272
|
+
readonly _tag: "file";
|
|
273
|
+
readonly pending?: boolean | undefined;
|
|
274
|
+
readonly url: string;
|
|
275
|
+
readonly name?: string | undefined;
|
|
276
|
+
readonly mediaType?: string | undefined;
|
|
277
|
+
} | {
|
|
278
|
+
readonly _tag: "image";
|
|
279
|
+
readonly pending?: boolean | undefined;
|
|
280
|
+
readonly id?: string | undefined;
|
|
281
|
+
readonly source?: {
|
|
282
|
+
readonly type: "base64";
|
|
283
|
+
readonly mediaType: string;
|
|
284
|
+
readonly data: string;
|
|
285
|
+
} | {
|
|
286
|
+
readonly type: "http";
|
|
287
|
+
readonly url: string;
|
|
288
|
+
} | undefined;
|
|
289
|
+
} | {
|
|
290
|
+
readonly _tag: "text";
|
|
291
|
+
readonly pending?: boolean | undefined;
|
|
292
|
+
readonly mimeType?: string | undefined;
|
|
293
|
+
readonly text: string;
|
|
294
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
295
|
+
})[];
|
|
296
|
+
} | undefined;
|
|
297
|
+
readonly error?: string | undefined;
|
|
298
|
+
readonly providerExecuted: boolean;
|
|
299
|
+
} | {
|
|
300
|
+
readonly _tag: "transcript";
|
|
301
|
+
readonly pending?: boolean | undefined;
|
|
302
|
+
readonly started: string;
|
|
303
|
+
readonly text: string;
|
|
1087
304
|
})[];
|
|
1088
305
|
readonly properties?: {
|
|
1089
306
|
readonly [x: string]: any;
|
|
1090
307
|
} | undefined;
|
|
1091
|
-
}>[];
|
|
1092
|
-
|
|
308
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>[];
|
|
309
|
+
readonly agent?: {
|
|
310
|
+
readonly enabled: boolean;
|
|
311
|
+
readonly mode: "auto" | "mention";
|
|
312
|
+
} | undefined;
|
|
313
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>) | undefined;
|
|
314
|
+
readonly anchor?: (import("@dxos/echo/Relation").Endpoints<Obj.Unknown & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>, Obj.Unknown & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>> & {
|
|
315
|
+
readonly id: string;
|
|
316
|
+
readonly anchor?: string | undefined;
|
|
317
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation>) | undefined;
|
|
1093
318
|
}, {
|
|
1094
|
-
readonly anchor?: {
|
|
1095
|
-
id: string;
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
name?: string | undefined | undefined;
|
|
1103
|
-
status?: "active" | "staged" | "resolved" | undefined | undefined;
|
|
1104
|
-
messages: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
319
|
+
readonly anchor?: (import("@dxos/echo/Relation").Endpoints<Obj.Unknown & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>, Obj.Unknown & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>> & {
|
|
320
|
+
readonly id: string;
|
|
321
|
+
readonly anchor?: string | undefined;
|
|
322
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation>) | undefined;
|
|
323
|
+
readonly thread?: ({
|
|
324
|
+
readonly name?: string | undefined;
|
|
325
|
+
readonly status?: "active" | "resolved" | "staged" | undefined;
|
|
326
|
+
readonly messages: readonly import("@dxos/echo/internal").Ref<{
|
|
1105
327
|
readonly id: string;
|
|
1106
328
|
readonly parentMessage?: string | undefined;
|
|
1107
329
|
readonly threadId?: string | undefined;
|
|
1108
330
|
readonly created: string;
|
|
1109
331
|
readonly sender: {
|
|
1110
|
-
readonly
|
|
1111
|
-
readonly
|
|
1112
|
-
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
1113
|
-
readonly image?: string | undefined;
|
|
332
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
333
|
+
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
1114
334
|
readonly fullName?: string | undefined;
|
|
1115
335
|
readonly preferredName?: string | undefined;
|
|
1116
336
|
readonly nickname?: string | undefined;
|
|
1117
|
-
readonly
|
|
1118
|
-
|
|
337
|
+
readonly image?: string | undefined;
|
|
338
|
+
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
1119
339
|
readonly name?: string | undefined;
|
|
1120
|
-
readonly
|
|
340
|
+
readonly description?: string | undefined;
|
|
341
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
1121
342
|
readonly image?: string | undefined;
|
|
1122
343
|
readonly website?: string | undefined;
|
|
1123
344
|
} & {
|
|
1124
345
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1125
|
-
}> | undefined;
|
|
346
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
1126
347
|
readonly jobTitle?: string | undefined;
|
|
1127
348
|
readonly department?: string | undefined;
|
|
1128
349
|
readonly notes?: string | undefined;
|
|
1129
350
|
readonly emails?: readonly {
|
|
1130
|
-
readonly value: string;
|
|
1131
351
|
readonly label?: string | undefined;
|
|
352
|
+
readonly value: string;
|
|
1132
353
|
}[] | undefined;
|
|
1133
354
|
readonly identities?: readonly {
|
|
1134
|
-
readonly value: string;
|
|
1135
355
|
readonly label?: string | undefined;
|
|
356
|
+
readonly value: string;
|
|
1136
357
|
}[] | undefined;
|
|
1137
358
|
readonly phoneNumbers?: readonly {
|
|
1138
|
-
readonly value: string;
|
|
1139
359
|
readonly label?: string | undefined;
|
|
1140
|
-
}[] | undefined;
|
|
1141
|
-
readonly fields?: readonly {
|
|
1142
360
|
readonly value: string;
|
|
1143
|
-
readonly label: string;
|
|
1144
|
-
readonly category?: string | undefined;
|
|
1145
361
|
}[] | undefined;
|
|
1146
362
|
readonly addresses?: readonly {
|
|
363
|
+
readonly label?: string | undefined;
|
|
1147
364
|
readonly value: {
|
|
1148
365
|
readonly street?: string | undefined;
|
|
1149
366
|
readonly extended?: string | undefined;
|
|
@@ -1153,62 +370,40 @@ export declare const DeleteOutput: Schema.SchemaClass<{
|
|
|
1153
370
|
readonly postOfficeBoxNumber?: string | undefined;
|
|
1154
371
|
readonly country?: string | undefined;
|
|
1155
372
|
};
|
|
1156
|
-
readonly label?: string | undefined;
|
|
1157
373
|
}[] | undefined;
|
|
1158
374
|
readonly urls?: readonly {
|
|
1159
|
-
readonly value: string;
|
|
1160
375
|
readonly label?: string | undefined;
|
|
376
|
+
readonly value: string;
|
|
1161
377
|
}[] | undefined;
|
|
1162
378
|
readonly birthday?: string | undefined;
|
|
379
|
+
readonly fields?: readonly {
|
|
380
|
+
readonly category?: string | undefined;
|
|
381
|
+
readonly label: string;
|
|
382
|
+
readonly value: string;
|
|
383
|
+
}[] | undefined;
|
|
1163
384
|
} & {
|
|
1164
385
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1165
|
-
}> | undefined;
|
|
386
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
1166
387
|
readonly identityDid?: string | undefined;
|
|
1167
388
|
readonly identityKey?: string | undefined;
|
|
1168
389
|
readonly email?: string | undefined;
|
|
390
|
+
readonly name?: string | undefined;
|
|
1169
391
|
};
|
|
1170
392
|
readonly blocks: readonly ({
|
|
393
|
+
readonly _tag: "anchor";
|
|
1171
394
|
readonly pending?: boolean | undefined;
|
|
1172
|
-
readonly
|
|
1173
|
-
readonly
|
|
1174
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
1175
|
-
readonly _tag: "text";
|
|
1176
|
-
} | {
|
|
1177
|
-
readonly pending?: boolean | undefined;
|
|
1178
|
-
readonly _tag: "reasoning";
|
|
1179
|
-
readonly reasoningText?: string | undefined;
|
|
1180
|
-
readonly redactedText?: string | undefined;
|
|
1181
|
-
readonly signature?: string | undefined;
|
|
1182
|
-
} | {
|
|
1183
|
-
readonly name: string;
|
|
1184
|
-
readonly pending?: boolean | undefined;
|
|
1185
|
-
readonly _tag: "toolCall";
|
|
1186
|
-
readonly toolCallId: string;
|
|
1187
|
-
readonly input: string;
|
|
1188
|
-
readonly providerExecuted: boolean;
|
|
395
|
+
readonly objectId: string;
|
|
396
|
+
readonly version: unknown;
|
|
1189
397
|
} | {
|
|
1190
|
-
readonly
|
|
398
|
+
readonly _tag: "file";
|
|
1191
399
|
readonly pending?: boolean | undefined;
|
|
1192
|
-
readonly
|
|
1193
|
-
readonly
|
|
1194
|
-
readonly
|
|
1195
|
-
readonly result?: string | undefined;
|
|
1196
|
-
readonly error?: string | undefined;
|
|
400
|
+
readonly url: string;
|
|
401
|
+
readonly name?: string | undefined;
|
|
402
|
+
readonly mediaType?: string | undefined;
|
|
1197
403
|
} | {
|
|
404
|
+
readonly _tag: "image";
|
|
1198
405
|
readonly pending?: boolean | undefined;
|
|
1199
|
-
readonly
|
|
1200
|
-
readonly _tag: "stats";
|
|
1201
|
-
readonly message?: string | undefined;
|
|
1202
|
-
readonly model?: string | undefined;
|
|
1203
|
-
readonly usage?: {
|
|
1204
|
-
readonly inputTokens?: number | undefined;
|
|
1205
|
-
readonly outputTokens?: number | undefined;
|
|
1206
|
-
readonly totalTokens?: number | undefined;
|
|
1207
|
-
} | undefined;
|
|
1208
|
-
readonly toolCalls?: number | undefined;
|
|
1209
|
-
readonly errors?: number | undefined;
|
|
1210
|
-
readonly duration?: number | undefined;
|
|
1211
|
-
} | {
|
|
406
|
+
readonly id?: string | undefined;
|
|
1212
407
|
readonly source?: {
|
|
1213
408
|
readonly type: "base64";
|
|
1214
409
|
readonly mediaType: string;
|
|
@@ -1217,117 +412,173 @@ export declare const DeleteOutput: Schema.SchemaClass<{
|
|
|
1217
412
|
readonly type: "http";
|
|
1218
413
|
readonly url: string;
|
|
1219
414
|
} | undefined;
|
|
1220
|
-
|
|
415
|
+
} | {
|
|
416
|
+
readonly _tag: "json";
|
|
1221
417
|
readonly pending?: boolean | undefined;
|
|
1222
|
-
readonly
|
|
418
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
419
|
+
readonly data: string;
|
|
1223
420
|
} | {
|
|
1224
|
-
readonly
|
|
421
|
+
readonly _tag: "proposal";
|
|
1225
422
|
readonly pending?: boolean | undefined;
|
|
1226
|
-
readonly
|
|
1227
|
-
readonly mediaType?: string | undefined;
|
|
1228
|
-
readonly url: string;
|
|
423
|
+
readonly text: string;
|
|
1229
424
|
} | {
|
|
425
|
+
readonly _tag: "reasoning";
|
|
1230
426
|
readonly pending?: boolean | undefined;
|
|
1231
|
-
readonly
|
|
1232
|
-
readonly
|
|
427
|
+
readonly reasoningText?: string | undefined;
|
|
428
|
+
readonly redactedText?: string | undefined;
|
|
429
|
+
readonly signature?: string | undefined;
|
|
1233
430
|
} | {
|
|
431
|
+
readonly _tag: "reference";
|
|
1234
432
|
readonly pending?: boolean | undefined;
|
|
1235
|
-
readonly
|
|
1236
|
-
readonly _tag: "transcript";
|
|
1237
|
-
readonly started: string;
|
|
433
|
+
readonly reference: import("@dxos/echo/internal").Ref<Obj.Unknown>;
|
|
1238
434
|
} | {
|
|
435
|
+
readonly _tag: "select";
|
|
1239
436
|
readonly pending?: boolean | undefined;
|
|
437
|
+
readonly options: string[];
|
|
438
|
+
} | {
|
|
1240
439
|
readonly _tag: "status";
|
|
440
|
+
readonly pending?: boolean | undefined;
|
|
1241
441
|
readonly statusText: string;
|
|
1242
442
|
} | {
|
|
1243
|
-
readonly pending?: boolean | undefined;
|
|
1244
|
-
readonly text: string;
|
|
1245
443
|
readonly _tag: "suggestion";
|
|
1246
|
-
} | {
|
|
1247
444
|
readonly pending?: boolean | undefined;
|
|
1248
|
-
readonly
|
|
1249
|
-
readonly options: string[];
|
|
445
|
+
readonly text: string;
|
|
1250
446
|
} | {
|
|
1251
|
-
readonly
|
|
447
|
+
readonly _tag: "stats";
|
|
1252
448
|
readonly pending?: boolean | undefined;
|
|
1253
|
-
readonly
|
|
1254
|
-
readonly
|
|
449
|
+
readonly mimeType?: string | undefined;
|
|
450
|
+
readonly message?: string | undefined;
|
|
451
|
+
readonly model?: string | undefined;
|
|
452
|
+
readonly usage?: {
|
|
453
|
+
readonly inputTokens?: number | undefined;
|
|
454
|
+
readonly outputTokens?: number | undefined;
|
|
455
|
+
readonly totalTokens?: number | undefined;
|
|
456
|
+
} | undefined;
|
|
457
|
+
readonly toolCalls?: number | undefined;
|
|
458
|
+
readonly errors?: number | undefined;
|
|
459
|
+
readonly duration?: number | undefined;
|
|
1255
460
|
} | {
|
|
461
|
+
readonly _tag: "text";
|
|
1256
462
|
readonly pending?: boolean | undefined;
|
|
463
|
+
readonly mimeType?: string | undefined;
|
|
1257
464
|
readonly text: string;
|
|
1258
|
-
readonly
|
|
465
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1259
466
|
} | {
|
|
1260
|
-
readonly pending?: boolean | undefined;
|
|
1261
467
|
readonly _tag: "summary";
|
|
468
|
+
readonly pending?: boolean | undefined;
|
|
1262
469
|
readonly content: string;
|
|
1263
470
|
} | {
|
|
1264
|
-
readonly pending?: boolean | undefined;
|
|
1265
471
|
readonly _tag: "toolkit";
|
|
472
|
+
readonly pending?: boolean | undefined;
|
|
1266
473
|
} | {
|
|
474
|
+
readonly _tag: "toolCall";
|
|
1267
475
|
readonly pending?: boolean | undefined;
|
|
1268
|
-
readonly
|
|
1269
|
-
readonly
|
|
1270
|
-
readonly
|
|
476
|
+
readonly toolCallId: string;
|
|
477
|
+
readonly name: string;
|
|
478
|
+
readonly input: string;
|
|
479
|
+
readonly providerExecuted: boolean;
|
|
480
|
+
readonly operationKey?: string | undefined;
|
|
481
|
+
readonly operationName?: string | undefined;
|
|
482
|
+
readonly operationIcon?: string | undefined;
|
|
483
|
+
} | {
|
|
484
|
+
readonly _tag: "toolResult";
|
|
485
|
+
readonly pending?: boolean | undefined;
|
|
486
|
+
readonly toolCallId: string;
|
|
487
|
+
readonly name: string;
|
|
488
|
+
readonly result?: string | {
|
|
489
|
+
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
490
|
+
readonly content: readonly ({
|
|
491
|
+
readonly _tag: "file";
|
|
492
|
+
readonly pending?: boolean | undefined;
|
|
493
|
+
readonly url: string;
|
|
494
|
+
readonly name?: string | undefined;
|
|
495
|
+
readonly mediaType?: string | undefined;
|
|
496
|
+
} | {
|
|
497
|
+
readonly _tag: "image";
|
|
498
|
+
readonly pending?: boolean | undefined;
|
|
499
|
+
readonly id?: string | undefined;
|
|
500
|
+
readonly source?: {
|
|
501
|
+
readonly type: "base64";
|
|
502
|
+
readonly mediaType: string;
|
|
503
|
+
readonly data: string;
|
|
504
|
+
} | {
|
|
505
|
+
readonly type: "http";
|
|
506
|
+
readonly url: string;
|
|
507
|
+
} | undefined;
|
|
508
|
+
} | {
|
|
509
|
+
readonly _tag: "text";
|
|
510
|
+
readonly pending?: boolean | undefined;
|
|
511
|
+
readonly mimeType?: string | undefined;
|
|
512
|
+
readonly text: string;
|
|
513
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
514
|
+
})[];
|
|
515
|
+
} | undefined;
|
|
516
|
+
readonly error?: string | undefined;
|
|
517
|
+
readonly providerExecuted: boolean;
|
|
518
|
+
} | {
|
|
519
|
+
readonly _tag: "transcript";
|
|
520
|
+
readonly pending?: boolean | undefined;
|
|
521
|
+
readonly started: string;
|
|
522
|
+
readonly text: string;
|
|
1271
523
|
})[];
|
|
1272
524
|
readonly properties?: {
|
|
1273
525
|
readonly [x: string]: any;
|
|
1274
526
|
} | undefined;
|
|
1275
|
-
}>[];
|
|
1276
|
-
|
|
527
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>[];
|
|
528
|
+
readonly agent?: {
|
|
529
|
+
readonly enabled: boolean;
|
|
530
|
+
readonly mode: "auto" | "mention";
|
|
531
|
+
} | undefined;
|
|
532
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>) | undefined;
|
|
1277
533
|
}, never>;
|
|
1278
534
|
export type DeleteOutput = Schema.Schema.Type<typeof DeleteOutput>;
|
|
1279
535
|
export declare const Delete: Operation.Definition<{
|
|
1280
|
-
readonly anchor: import("@dxos/echo/
|
|
536
|
+
readonly anchor: import("@dxos/echo/Relation").Endpoints<Obj.Unknown & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>, Obj.Unknown & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>> & {
|
|
1281
537
|
readonly id: string;
|
|
1282
538
|
readonly anchor?: string | undefined;
|
|
1283
|
-
}
|
|
1284
|
-
readonly subject:
|
|
1285
|
-
readonly thread?: (
|
|
539
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation>;
|
|
540
|
+
readonly subject: Obj.Unknown;
|
|
541
|
+
readonly thread?: ({
|
|
1286
542
|
readonly name?: string | undefined;
|
|
1287
|
-
readonly status?: "active" | "
|
|
1288
|
-
readonly messages: readonly import("@dxos/echo/internal").Ref<
|
|
543
|
+
readonly status?: "active" | "resolved" | "staged" | undefined;
|
|
544
|
+
readonly messages: readonly import("@dxos/echo/internal").Ref<{
|
|
1289
545
|
readonly id: string;
|
|
1290
546
|
readonly parentMessage?: string | undefined;
|
|
1291
547
|
readonly threadId?: string | undefined;
|
|
1292
548
|
readonly created: string;
|
|
1293
549
|
readonly sender: {
|
|
1294
|
-
readonly
|
|
1295
|
-
readonly
|
|
1296
|
-
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
1297
|
-
readonly image?: string | undefined;
|
|
550
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
551
|
+
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
1298
552
|
readonly fullName?: string | undefined;
|
|
1299
553
|
readonly preferredName?: string | undefined;
|
|
1300
554
|
readonly nickname?: string | undefined;
|
|
1301
|
-
readonly
|
|
1302
|
-
|
|
555
|
+
readonly image?: string | undefined;
|
|
556
|
+
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
1303
557
|
readonly name?: string | undefined;
|
|
1304
|
-
readonly
|
|
558
|
+
readonly description?: string | undefined;
|
|
559
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
1305
560
|
readonly image?: string | undefined;
|
|
1306
561
|
readonly website?: string | undefined;
|
|
1307
562
|
} & {
|
|
1308
563
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1309
|
-
}> | undefined;
|
|
564
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
1310
565
|
readonly jobTitle?: string | undefined;
|
|
1311
566
|
readonly department?: string | undefined;
|
|
1312
567
|
readonly notes?: string | undefined;
|
|
1313
568
|
readonly emails?: readonly {
|
|
1314
|
-
readonly value: string;
|
|
1315
569
|
readonly label?: string | undefined;
|
|
570
|
+
readonly value: string;
|
|
1316
571
|
}[] | undefined;
|
|
1317
572
|
readonly identities?: readonly {
|
|
1318
|
-
readonly value: string;
|
|
1319
573
|
readonly label?: string | undefined;
|
|
574
|
+
readonly value: string;
|
|
1320
575
|
}[] | undefined;
|
|
1321
576
|
readonly phoneNumbers?: readonly {
|
|
1322
|
-
readonly value: string;
|
|
1323
577
|
readonly label?: string | undefined;
|
|
1324
|
-
}[] | undefined;
|
|
1325
|
-
readonly fields?: readonly {
|
|
1326
578
|
readonly value: string;
|
|
1327
|
-
readonly label: string;
|
|
1328
|
-
readonly category?: string | undefined;
|
|
1329
579
|
}[] | undefined;
|
|
1330
580
|
readonly addresses?: readonly {
|
|
581
|
+
readonly label?: string | undefined;
|
|
1331
582
|
readonly value: {
|
|
1332
583
|
readonly street?: string | undefined;
|
|
1333
584
|
readonly extended?: string | undefined;
|
|
@@ -1337,62 +588,40 @@ export declare const Delete: Operation.Definition<{
|
|
|
1337
588
|
readonly postOfficeBoxNumber?: string | undefined;
|
|
1338
589
|
readonly country?: string | undefined;
|
|
1339
590
|
};
|
|
1340
|
-
readonly label?: string | undefined;
|
|
1341
591
|
}[] | undefined;
|
|
1342
592
|
readonly urls?: readonly {
|
|
1343
|
-
readonly value: string;
|
|
1344
593
|
readonly label?: string | undefined;
|
|
594
|
+
readonly value: string;
|
|
1345
595
|
}[] | undefined;
|
|
1346
596
|
readonly birthday?: string | undefined;
|
|
597
|
+
readonly fields?: readonly {
|
|
598
|
+
readonly category?: string | undefined;
|
|
599
|
+
readonly label: string;
|
|
600
|
+
readonly value: string;
|
|
601
|
+
}[] | undefined;
|
|
1347
602
|
} & {
|
|
1348
603
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1349
|
-
}> | undefined;
|
|
604
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
1350
605
|
readonly identityDid?: string | undefined;
|
|
1351
606
|
readonly identityKey?: string | undefined;
|
|
1352
607
|
readonly email?: string | undefined;
|
|
608
|
+
readonly name?: string | undefined;
|
|
1353
609
|
};
|
|
1354
610
|
readonly blocks: readonly ({
|
|
611
|
+
readonly _tag: "anchor";
|
|
1355
612
|
readonly pending?: boolean | undefined;
|
|
1356
|
-
readonly
|
|
1357
|
-
readonly
|
|
1358
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
1359
|
-
readonly _tag: "text";
|
|
1360
|
-
} | {
|
|
1361
|
-
readonly pending?: boolean | undefined;
|
|
1362
|
-
readonly _tag: "reasoning";
|
|
1363
|
-
readonly reasoningText?: string | undefined;
|
|
1364
|
-
readonly redactedText?: string | undefined;
|
|
1365
|
-
readonly signature?: string | undefined;
|
|
1366
|
-
} | {
|
|
1367
|
-
readonly name: string;
|
|
1368
|
-
readonly pending?: boolean | undefined;
|
|
1369
|
-
readonly _tag: "toolCall";
|
|
1370
|
-
readonly toolCallId: string;
|
|
1371
|
-
readonly input: string;
|
|
1372
|
-
readonly providerExecuted: boolean;
|
|
613
|
+
readonly objectId: string;
|
|
614
|
+
readonly version: unknown;
|
|
1373
615
|
} | {
|
|
1374
|
-
readonly
|
|
616
|
+
readonly _tag: "file";
|
|
1375
617
|
readonly pending?: boolean | undefined;
|
|
1376
|
-
readonly
|
|
1377
|
-
readonly
|
|
1378
|
-
readonly
|
|
1379
|
-
readonly result?: string | undefined;
|
|
1380
|
-
readonly error?: string | undefined;
|
|
618
|
+
readonly url: string;
|
|
619
|
+
readonly name?: string | undefined;
|
|
620
|
+
readonly mediaType?: string | undefined;
|
|
1381
621
|
} | {
|
|
622
|
+
readonly _tag: "image";
|
|
1382
623
|
readonly pending?: boolean | undefined;
|
|
1383
|
-
readonly
|
|
1384
|
-
readonly _tag: "stats";
|
|
1385
|
-
readonly message?: string | undefined;
|
|
1386
|
-
readonly model?: string | undefined;
|
|
1387
|
-
readonly usage?: {
|
|
1388
|
-
readonly inputTokens?: number | undefined;
|
|
1389
|
-
readonly outputTokens?: number | undefined;
|
|
1390
|
-
readonly totalTokens?: number | undefined;
|
|
1391
|
-
} | undefined;
|
|
1392
|
-
readonly toolCalls?: number | undefined;
|
|
1393
|
-
readonly errors?: number | undefined;
|
|
1394
|
-
readonly duration?: number | undefined;
|
|
1395
|
-
} | {
|
|
624
|
+
readonly id?: string | undefined;
|
|
1396
625
|
readonly source?: {
|
|
1397
626
|
readonly type: "base64";
|
|
1398
627
|
readonly mediaType: string;
|
|
@@ -1401,114 +630,166 @@ export declare const Delete: Operation.Definition<{
|
|
|
1401
630
|
readonly type: "http";
|
|
1402
631
|
readonly url: string;
|
|
1403
632
|
} | undefined;
|
|
1404
|
-
|
|
633
|
+
} | {
|
|
634
|
+
readonly _tag: "json";
|
|
1405
635
|
readonly pending?: boolean | undefined;
|
|
1406
|
-
readonly
|
|
636
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
637
|
+
readonly data: string;
|
|
1407
638
|
} | {
|
|
1408
|
-
readonly
|
|
639
|
+
readonly _tag: "proposal";
|
|
1409
640
|
readonly pending?: boolean | undefined;
|
|
1410
|
-
readonly
|
|
1411
|
-
readonly mediaType?: string | undefined;
|
|
1412
|
-
readonly url: string;
|
|
641
|
+
readonly text: string;
|
|
1413
642
|
} | {
|
|
643
|
+
readonly _tag: "reasoning";
|
|
1414
644
|
readonly pending?: boolean | undefined;
|
|
1415
|
-
readonly
|
|
1416
|
-
readonly
|
|
645
|
+
readonly reasoningText?: string | undefined;
|
|
646
|
+
readonly redactedText?: string | undefined;
|
|
647
|
+
readonly signature?: string | undefined;
|
|
1417
648
|
} | {
|
|
649
|
+
readonly _tag: "reference";
|
|
1418
650
|
readonly pending?: boolean | undefined;
|
|
1419
|
-
readonly
|
|
1420
|
-
readonly _tag: "transcript";
|
|
1421
|
-
readonly started: string;
|
|
651
|
+
readonly reference: import("@dxos/echo/internal").Ref<Obj.Unknown>;
|
|
1422
652
|
} | {
|
|
653
|
+
readonly _tag: "select";
|
|
1423
654
|
readonly pending?: boolean | undefined;
|
|
655
|
+
readonly options: string[];
|
|
656
|
+
} | {
|
|
1424
657
|
readonly _tag: "status";
|
|
658
|
+
readonly pending?: boolean | undefined;
|
|
1425
659
|
readonly statusText: string;
|
|
1426
660
|
} | {
|
|
661
|
+
readonly _tag: "suggestion";
|
|
1427
662
|
readonly pending?: boolean | undefined;
|
|
1428
663
|
readonly text: string;
|
|
1429
|
-
readonly _tag: "suggestion";
|
|
1430
664
|
} | {
|
|
665
|
+
readonly _tag: "stats";
|
|
1431
666
|
readonly pending?: boolean | undefined;
|
|
1432
|
-
readonly
|
|
1433
|
-
readonly
|
|
667
|
+
readonly mimeType?: string | undefined;
|
|
668
|
+
readonly message?: string | undefined;
|
|
669
|
+
readonly model?: string | undefined;
|
|
670
|
+
readonly usage?: {
|
|
671
|
+
readonly inputTokens?: number | undefined;
|
|
672
|
+
readonly outputTokens?: number | undefined;
|
|
673
|
+
readonly totalTokens?: number | undefined;
|
|
674
|
+
} | undefined;
|
|
675
|
+
readonly toolCalls?: number | undefined;
|
|
676
|
+
readonly errors?: number | undefined;
|
|
677
|
+
readonly duration?: number | undefined;
|
|
1434
678
|
} | {
|
|
1435
|
-
readonly
|
|
679
|
+
readonly _tag: "text";
|
|
1436
680
|
readonly pending?: boolean | undefined;
|
|
1437
|
-
readonly
|
|
1438
|
-
readonly
|
|
681
|
+
readonly mimeType?: string | undefined;
|
|
682
|
+
readonly text: string;
|
|
683
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1439
684
|
} | {
|
|
685
|
+
readonly _tag: "summary";
|
|
686
|
+
readonly pending?: boolean | undefined;
|
|
687
|
+
readonly content: string;
|
|
688
|
+
} | {
|
|
689
|
+
readonly _tag: "toolkit";
|
|
1440
690
|
readonly pending?: boolean | undefined;
|
|
1441
|
-
readonly text: string;
|
|
1442
|
-
readonly _tag: "proposal";
|
|
1443
691
|
} | {
|
|
692
|
+
readonly _tag: "toolCall";
|
|
1444
693
|
readonly pending?: boolean | undefined;
|
|
1445
|
-
readonly
|
|
1446
|
-
readonly
|
|
694
|
+
readonly toolCallId: string;
|
|
695
|
+
readonly name: string;
|
|
696
|
+
readonly input: string;
|
|
697
|
+
readonly providerExecuted: boolean;
|
|
698
|
+
readonly operationKey?: string | undefined;
|
|
699
|
+
readonly operationName?: string | undefined;
|
|
700
|
+
readonly operationIcon?: string | undefined;
|
|
1447
701
|
} | {
|
|
702
|
+
readonly _tag: "toolResult";
|
|
1448
703
|
readonly pending?: boolean | undefined;
|
|
1449
|
-
readonly
|
|
704
|
+
readonly toolCallId: string;
|
|
705
|
+
readonly name: string;
|
|
706
|
+
readonly result?: string | {
|
|
707
|
+
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
708
|
+
readonly content: readonly ({
|
|
709
|
+
readonly _tag: "file";
|
|
710
|
+
readonly pending?: boolean | undefined;
|
|
711
|
+
readonly url: string;
|
|
712
|
+
readonly name?: string | undefined;
|
|
713
|
+
readonly mediaType?: string | undefined;
|
|
714
|
+
} | {
|
|
715
|
+
readonly _tag: "image";
|
|
716
|
+
readonly pending?: boolean | undefined;
|
|
717
|
+
readonly id?: string | undefined;
|
|
718
|
+
readonly source?: {
|
|
719
|
+
readonly type: "base64";
|
|
720
|
+
readonly mediaType: string;
|
|
721
|
+
readonly data: string;
|
|
722
|
+
} | {
|
|
723
|
+
readonly type: "http";
|
|
724
|
+
readonly url: string;
|
|
725
|
+
} | undefined;
|
|
726
|
+
} | {
|
|
727
|
+
readonly _tag: "text";
|
|
728
|
+
readonly pending?: boolean | undefined;
|
|
729
|
+
readonly mimeType?: string | undefined;
|
|
730
|
+
readonly text: string;
|
|
731
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
732
|
+
})[];
|
|
733
|
+
} | undefined;
|
|
734
|
+
readonly error?: string | undefined;
|
|
735
|
+
readonly providerExecuted: boolean;
|
|
1450
736
|
} | {
|
|
737
|
+
readonly _tag: "transcript";
|
|
1451
738
|
readonly pending?: boolean | undefined;
|
|
1452
|
-
readonly
|
|
1453
|
-
readonly
|
|
1454
|
-
readonly data: string;
|
|
739
|
+
readonly started: string;
|
|
740
|
+
readonly text: string;
|
|
1455
741
|
})[];
|
|
1456
742
|
readonly properties?: {
|
|
1457
743
|
readonly [x: string]: any;
|
|
1458
744
|
} | undefined;
|
|
1459
|
-
}>[];
|
|
1460
|
-
|
|
745
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>[];
|
|
746
|
+
readonly agent?: {
|
|
747
|
+
readonly enabled: boolean;
|
|
748
|
+
readonly mode: "auto" | "mention";
|
|
749
|
+
} | undefined;
|
|
750
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>) | undefined;
|
|
1461
751
|
}, {
|
|
1462
|
-
readonly
|
|
1463
|
-
readonly id: string;
|
|
1464
|
-
readonly anchor?: string | undefined;
|
|
1465
|
-
}) | undefined;
|
|
1466
|
-
readonly thread?: (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
752
|
+
readonly thread?: ({
|
|
1467
753
|
readonly name?: string | undefined;
|
|
1468
|
-
readonly status?: "active" | "
|
|
1469
|
-
readonly messages: readonly import("@dxos/echo/internal").Ref<
|
|
754
|
+
readonly status?: "active" | "resolved" | "staged" | undefined;
|
|
755
|
+
readonly messages: readonly import("@dxos/echo/internal").Ref<{
|
|
1470
756
|
readonly id: string;
|
|
1471
757
|
readonly parentMessage?: string | undefined;
|
|
1472
758
|
readonly threadId?: string | undefined;
|
|
1473
759
|
readonly created: string;
|
|
1474
760
|
readonly sender: {
|
|
1475
|
-
readonly
|
|
1476
|
-
readonly
|
|
1477
|
-
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
1478
|
-
readonly image?: string | undefined;
|
|
761
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
762
|
+
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
1479
763
|
readonly fullName?: string | undefined;
|
|
1480
764
|
readonly preferredName?: string | undefined;
|
|
1481
765
|
readonly nickname?: string | undefined;
|
|
1482
|
-
readonly
|
|
1483
|
-
|
|
766
|
+
readonly image?: string | undefined;
|
|
767
|
+
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
1484
768
|
readonly name?: string | undefined;
|
|
1485
|
-
readonly
|
|
769
|
+
readonly description?: string | undefined;
|
|
770
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
1486
771
|
readonly image?: string | undefined;
|
|
1487
772
|
readonly website?: string | undefined;
|
|
1488
773
|
} & {
|
|
1489
774
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1490
|
-
}> | undefined;
|
|
775
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
1491
776
|
readonly jobTitle?: string | undefined;
|
|
1492
777
|
readonly department?: string | undefined;
|
|
1493
778
|
readonly notes?: string | undefined;
|
|
1494
779
|
readonly emails?: readonly {
|
|
1495
|
-
readonly value: string;
|
|
1496
780
|
readonly label?: string | undefined;
|
|
781
|
+
readonly value: string;
|
|
1497
782
|
}[] | undefined;
|
|
1498
783
|
readonly identities?: readonly {
|
|
1499
|
-
readonly value: string;
|
|
1500
784
|
readonly label?: string | undefined;
|
|
785
|
+
readonly value: string;
|
|
1501
786
|
}[] | undefined;
|
|
1502
787
|
readonly phoneNumbers?: readonly {
|
|
1503
|
-
readonly value: string;
|
|
1504
788
|
readonly label?: string | undefined;
|
|
1505
|
-
}[] | undefined;
|
|
1506
|
-
readonly fields?: readonly {
|
|
1507
789
|
readonly value: string;
|
|
1508
|
-
readonly label: string;
|
|
1509
|
-
readonly category?: string | undefined;
|
|
1510
790
|
}[] | undefined;
|
|
1511
791
|
readonly addresses?: readonly {
|
|
792
|
+
readonly label?: string | undefined;
|
|
1512
793
|
readonly value: {
|
|
1513
794
|
readonly street?: string | undefined;
|
|
1514
795
|
readonly extended?: string | undefined;
|
|
@@ -1518,62 +799,40 @@ export declare const Delete: Operation.Definition<{
|
|
|
1518
799
|
readonly postOfficeBoxNumber?: string | undefined;
|
|
1519
800
|
readonly country?: string | undefined;
|
|
1520
801
|
};
|
|
1521
|
-
readonly label?: string | undefined;
|
|
1522
802
|
}[] | undefined;
|
|
1523
803
|
readonly urls?: readonly {
|
|
1524
|
-
readonly value: string;
|
|
1525
804
|
readonly label?: string | undefined;
|
|
805
|
+
readonly value: string;
|
|
1526
806
|
}[] | undefined;
|
|
1527
807
|
readonly birthday?: string | undefined;
|
|
808
|
+
readonly fields?: readonly {
|
|
809
|
+
readonly category?: string | undefined;
|
|
810
|
+
readonly label: string;
|
|
811
|
+
readonly value: string;
|
|
812
|
+
}[] | undefined;
|
|
1528
813
|
} & {
|
|
1529
814
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1530
|
-
}> | undefined;
|
|
815
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
1531
816
|
readonly identityDid?: string | undefined;
|
|
1532
817
|
readonly identityKey?: string | undefined;
|
|
1533
818
|
readonly email?: string | undefined;
|
|
819
|
+
readonly name?: string | undefined;
|
|
1534
820
|
};
|
|
1535
821
|
readonly blocks: readonly ({
|
|
822
|
+
readonly _tag: "anchor";
|
|
1536
823
|
readonly pending?: boolean | undefined;
|
|
1537
|
-
readonly
|
|
1538
|
-
readonly
|
|
1539
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
1540
|
-
readonly _tag: "text";
|
|
1541
|
-
} | {
|
|
1542
|
-
readonly pending?: boolean | undefined;
|
|
1543
|
-
readonly _tag: "reasoning";
|
|
1544
|
-
readonly reasoningText?: string | undefined;
|
|
1545
|
-
readonly redactedText?: string | undefined;
|
|
1546
|
-
readonly signature?: string | undefined;
|
|
1547
|
-
} | {
|
|
1548
|
-
readonly name: string;
|
|
1549
|
-
readonly pending?: boolean | undefined;
|
|
1550
|
-
readonly _tag: "toolCall";
|
|
1551
|
-
readonly toolCallId: string;
|
|
1552
|
-
readonly input: string;
|
|
1553
|
-
readonly providerExecuted: boolean;
|
|
824
|
+
readonly objectId: string;
|
|
825
|
+
readonly version: unknown;
|
|
1554
826
|
} | {
|
|
1555
|
-
readonly
|
|
827
|
+
readonly _tag: "file";
|
|
1556
828
|
readonly pending?: boolean | undefined;
|
|
1557
|
-
readonly
|
|
1558
|
-
readonly
|
|
1559
|
-
readonly
|
|
1560
|
-
readonly result?: string | undefined;
|
|
1561
|
-
readonly error?: string | undefined;
|
|
829
|
+
readonly url: string;
|
|
830
|
+
readonly name?: string | undefined;
|
|
831
|
+
readonly mediaType?: string | undefined;
|
|
1562
832
|
} | {
|
|
833
|
+
readonly _tag: "image";
|
|
1563
834
|
readonly pending?: boolean | undefined;
|
|
1564
|
-
readonly
|
|
1565
|
-
readonly _tag: "stats";
|
|
1566
|
-
readonly message?: string | undefined;
|
|
1567
|
-
readonly model?: string | undefined;
|
|
1568
|
-
readonly usage?: {
|
|
1569
|
-
readonly inputTokens?: number | undefined;
|
|
1570
|
-
readonly outputTokens?: number | undefined;
|
|
1571
|
-
readonly totalTokens?: number | undefined;
|
|
1572
|
-
} | undefined;
|
|
1573
|
-
readonly toolCalls?: number | undefined;
|
|
1574
|
-
readonly errors?: number | undefined;
|
|
1575
|
-
readonly duration?: number | undefined;
|
|
1576
|
-
} | {
|
|
835
|
+
readonly id?: string | undefined;
|
|
1577
836
|
readonly source?: {
|
|
1578
837
|
readonly type: "base64";
|
|
1579
838
|
readonly mediaType: string;
|
|
@@ -1582,114 +841,174 @@ export declare const Delete: Operation.Definition<{
|
|
|
1582
841
|
readonly type: "http";
|
|
1583
842
|
readonly url: string;
|
|
1584
843
|
} | undefined;
|
|
1585
|
-
|
|
844
|
+
} | {
|
|
845
|
+
readonly _tag: "json";
|
|
1586
846
|
readonly pending?: boolean | undefined;
|
|
1587
|
-
readonly
|
|
847
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
848
|
+
readonly data: string;
|
|
1588
849
|
} | {
|
|
1589
|
-
readonly
|
|
850
|
+
readonly _tag: "proposal";
|
|
1590
851
|
readonly pending?: boolean | undefined;
|
|
1591
|
-
readonly
|
|
1592
|
-
readonly mediaType?: string | undefined;
|
|
1593
|
-
readonly url: string;
|
|
852
|
+
readonly text: string;
|
|
1594
853
|
} | {
|
|
854
|
+
readonly _tag: "reasoning";
|
|
1595
855
|
readonly pending?: boolean | undefined;
|
|
1596
|
-
readonly
|
|
1597
|
-
readonly
|
|
856
|
+
readonly reasoningText?: string | undefined;
|
|
857
|
+
readonly redactedText?: string | undefined;
|
|
858
|
+
readonly signature?: string | undefined;
|
|
1598
859
|
} | {
|
|
860
|
+
readonly _tag: "reference";
|
|
1599
861
|
readonly pending?: boolean | undefined;
|
|
1600
|
-
readonly
|
|
1601
|
-
readonly _tag: "transcript";
|
|
1602
|
-
readonly started: string;
|
|
862
|
+
readonly reference: import("@dxos/echo/internal").Ref<Obj.Unknown>;
|
|
1603
863
|
} | {
|
|
864
|
+
readonly _tag: "select";
|
|
1604
865
|
readonly pending?: boolean | undefined;
|
|
866
|
+
readonly options: string[];
|
|
867
|
+
} | {
|
|
1605
868
|
readonly _tag: "status";
|
|
869
|
+
readonly pending?: boolean | undefined;
|
|
1606
870
|
readonly statusText: string;
|
|
1607
871
|
} | {
|
|
1608
|
-
readonly pending?: boolean | undefined;
|
|
1609
|
-
readonly text: string;
|
|
1610
872
|
readonly _tag: "suggestion";
|
|
1611
|
-
} | {
|
|
1612
873
|
readonly pending?: boolean | undefined;
|
|
1613
|
-
readonly
|
|
1614
|
-
readonly options: string[];
|
|
874
|
+
readonly text: string;
|
|
1615
875
|
} | {
|
|
1616
|
-
readonly
|
|
876
|
+
readonly _tag: "stats";
|
|
1617
877
|
readonly pending?: boolean | undefined;
|
|
1618
|
-
readonly
|
|
1619
|
-
readonly
|
|
878
|
+
readonly mimeType?: string | undefined;
|
|
879
|
+
readonly message?: string | undefined;
|
|
880
|
+
readonly model?: string | undefined;
|
|
881
|
+
readonly usage?: {
|
|
882
|
+
readonly inputTokens?: number | undefined;
|
|
883
|
+
readonly outputTokens?: number | undefined;
|
|
884
|
+
readonly totalTokens?: number | undefined;
|
|
885
|
+
} | undefined;
|
|
886
|
+
readonly toolCalls?: number | undefined;
|
|
887
|
+
readonly errors?: number | undefined;
|
|
888
|
+
readonly duration?: number | undefined;
|
|
1620
889
|
} | {
|
|
890
|
+
readonly _tag: "text";
|
|
1621
891
|
readonly pending?: boolean | undefined;
|
|
892
|
+
readonly mimeType?: string | undefined;
|
|
1622
893
|
readonly text: string;
|
|
1623
|
-
readonly
|
|
894
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1624
895
|
} | {
|
|
1625
|
-
readonly pending?: boolean | undefined;
|
|
1626
896
|
readonly _tag: "summary";
|
|
897
|
+
readonly pending?: boolean | undefined;
|
|
1627
898
|
readonly content: string;
|
|
1628
899
|
} | {
|
|
1629
|
-
readonly pending?: boolean | undefined;
|
|
1630
900
|
readonly _tag: "toolkit";
|
|
901
|
+
readonly pending?: boolean | undefined;
|
|
1631
902
|
} | {
|
|
903
|
+
readonly _tag: "toolCall";
|
|
1632
904
|
readonly pending?: boolean | undefined;
|
|
1633
|
-
readonly
|
|
1634
|
-
readonly
|
|
1635
|
-
readonly
|
|
905
|
+
readonly toolCallId: string;
|
|
906
|
+
readonly name: string;
|
|
907
|
+
readonly input: string;
|
|
908
|
+
readonly providerExecuted: boolean;
|
|
909
|
+
readonly operationKey?: string | undefined;
|
|
910
|
+
readonly operationName?: string | undefined;
|
|
911
|
+
readonly operationIcon?: string | undefined;
|
|
912
|
+
} | {
|
|
913
|
+
readonly _tag: "toolResult";
|
|
914
|
+
readonly pending?: boolean | undefined;
|
|
915
|
+
readonly toolCallId: string;
|
|
916
|
+
readonly name: string;
|
|
917
|
+
readonly result?: string | {
|
|
918
|
+
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
919
|
+
readonly content: readonly ({
|
|
920
|
+
readonly _tag: "file";
|
|
921
|
+
readonly pending?: boolean | undefined;
|
|
922
|
+
readonly url: string;
|
|
923
|
+
readonly name?: string | undefined;
|
|
924
|
+
readonly mediaType?: string | undefined;
|
|
925
|
+
} | {
|
|
926
|
+
readonly _tag: "image";
|
|
927
|
+
readonly pending?: boolean | undefined;
|
|
928
|
+
readonly id?: string | undefined;
|
|
929
|
+
readonly source?: {
|
|
930
|
+
readonly type: "base64";
|
|
931
|
+
readonly mediaType: string;
|
|
932
|
+
readonly data: string;
|
|
933
|
+
} | {
|
|
934
|
+
readonly type: "http";
|
|
935
|
+
readonly url: string;
|
|
936
|
+
} | undefined;
|
|
937
|
+
} | {
|
|
938
|
+
readonly _tag: "text";
|
|
939
|
+
readonly pending?: boolean | undefined;
|
|
940
|
+
readonly mimeType?: string | undefined;
|
|
941
|
+
readonly text: string;
|
|
942
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
943
|
+
})[];
|
|
944
|
+
} | undefined;
|
|
945
|
+
readonly error?: string | undefined;
|
|
946
|
+
readonly providerExecuted: boolean;
|
|
947
|
+
} | {
|
|
948
|
+
readonly _tag: "transcript";
|
|
949
|
+
readonly pending?: boolean | undefined;
|
|
950
|
+
readonly started: string;
|
|
951
|
+
readonly text: string;
|
|
1636
952
|
})[];
|
|
1637
953
|
readonly properties?: {
|
|
1638
954
|
readonly [x: string]: any;
|
|
1639
955
|
} | undefined;
|
|
1640
|
-
}>[];
|
|
1641
|
-
|
|
956
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>[];
|
|
957
|
+
readonly agent?: {
|
|
958
|
+
readonly enabled: boolean;
|
|
959
|
+
readonly mode: "auto" | "mention";
|
|
960
|
+
} | undefined;
|
|
961
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>) | undefined;
|
|
962
|
+
readonly anchor?: (import("@dxos/echo/Relation").Endpoints<Obj.Unknown & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>, Obj.Unknown & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>> & {
|
|
963
|
+
readonly id: string;
|
|
964
|
+
readonly anchor?: string | undefined;
|
|
965
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation>) | undefined;
|
|
1642
966
|
}, Capability.Service>;
|
|
1643
967
|
export declare const Select: Operation.Definition<{
|
|
1644
968
|
readonly current: string;
|
|
1645
969
|
}, void, Capability.Service>;
|
|
1646
970
|
export declare const ToggleResolved: Operation.Definition<{
|
|
1647
|
-
readonly thread:
|
|
971
|
+
readonly thread: {
|
|
1648
972
|
readonly name?: string | undefined;
|
|
1649
|
-
readonly status?: "active" | "
|
|
1650
|
-
readonly messages: readonly import("@dxos/echo/internal").Ref<
|
|
973
|
+
readonly status?: "active" | "resolved" | "staged" | undefined;
|
|
974
|
+
readonly messages: readonly import("@dxos/echo/internal").Ref<{
|
|
1651
975
|
readonly id: string;
|
|
1652
976
|
readonly parentMessage?: string | undefined;
|
|
1653
977
|
readonly threadId?: string | undefined;
|
|
1654
978
|
readonly created: string;
|
|
1655
979
|
readonly sender: {
|
|
1656
|
-
readonly
|
|
1657
|
-
readonly
|
|
1658
|
-
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
1659
|
-
readonly image?: string | undefined;
|
|
980
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
981
|
+
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
1660
982
|
readonly fullName?: string | undefined;
|
|
1661
983
|
readonly preferredName?: string | undefined;
|
|
1662
984
|
readonly nickname?: string | undefined;
|
|
1663
|
-
readonly
|
|
1664
|
-
|
|
985
|
+
readonly image?: string | undefined;
|
|
986
|
+
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
1665
987
|
readonly name?: string | undefined;
|
|
1666
|
-
readonly
|
|
988
|
+
readonly description?: string | undefined;
|
|
989
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
1667
990
|
readonly image?: string | undefined;
|
|
1668
991
|
readonly website?: string | undefined;
|
|
1669
992
|
} & {
|
|
1670
993
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1671
|
-
}> | undefined;
|
|
994
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
1672
995
|
readonly jobTitle?: string | undefined;
|
|
1673
996
|
readonly department?: string | undefined;
|
|
1674
997
|
readonly notes?: string | undefined;
|
|
1675
998
|
readonly emails?: readonly {
|
|
1676
|
-
readonly value: string;
|
|
1677
999
|
readonly label?: string | undefined;
|
|
1000
|
+
readonly value: string;
|
|
1678
1001
|
}[] | undefined;
|
|
1679
1002
|
readonly identities?: readonly {
|
|
1680
|
-
readonly value: string;
|
|
1681
1003
|
readonly label?: string | undefined;
|
|
1004
|
+
readonly value: string;
|
|
1682
1005
|
}[] | undefined;
|
|
1683
1006
|
readonly phoneNumbers?: readonly {
|
|
1684
|
-
readonly value: string;
|
|
1685
1007
|
readonly label?: string | undefined;
|
|
1686
|
-
}[] | undefined;
|
|
1687
|
-
readonly fields?: readonly {
|
|
1688
1008
|
readonly value: string;
|
|
1689
|
-
readonly label: string;
|
|
1690
|
-
readonly category?: string | undefined;
|
|
1691
1009
|
}[] | undefined;
|
|
1692
1010
|
readonly addresses?: readonly {
|
|
1011
|
+
readonly label?: string | undefined;
|
|
1693
1012
|
readonly value: {
|
|
1694
1013
|
readonly street?: string | undefined;
|
|
1695
1014
|
readonly extended?: string | undefined;
|
|
@@ -1699,62 +1018,40 @@ export declare const ToggleResolved: Operation.Definition<{
|
|
|
1699
1018
|
readonly postOfficeBoxNumber?: string | undefined;
|
|
1700
1019
|
readonly country?: string | undefined;
|
|
1701
1020
|
};
|
|
1702
|
-
readonly label?: string | undefined;
|
|
1703
1021
|
}[] | undefined;
|
|
1704
1022
|
readonly urls?: readonly {
|
|
1705
|
-
readonly value: string;
|
|
1706
1023
|
readonly label?: string | undefined;
|
|
1024
|
+
readonly value: string;
|
|
1707
1025
|
}[] | undefined;
|
|
1708
1026
|
readonly birthday?: string | undefined;
|
|
1027
|
+
readonly fields?: readonly {
|
|
1028
|
+
readonly category?: string | undefined;
|
|
1029
|
+
readonly label: string;
|
|
1030
|
+
readonly value: string;
|
|
1031
|
+
}[] | undefined;
|
|
1709
1032
|
} & {
|
|
1710
1033
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1711
|
-
}> | undefined;
|
|
1034
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
1712
1035
|
readonly identityDid?: string | undefined;
|
|
1713
1036
|
readonly identityKey?: string | undefined;
|
|
1714
1037
|
readonly email?: string | undefined;
|
|
1038
|
+
readonly name?: string | undefined;
|
|
1715
1039
|
};
|
|
1716
1040
|
readonly blocks: readonly ({
|
|
1041
|
+
readonly _tag: "anchor";
|
|
1717
1042
|
readonly pending?: boolean | undefined;
|
|
1718
|
-
readonly
|
|
1719
|
-
readonly
|
|
1720
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
1721
|
-
readonly _tag: "text";
|
|
1722
|
-
} | {
|
|
1723
|
-
readonly pending?: boolean | undefined;
|
|
1724
|
-
readonly _tag: "reasoning";
|
|
1725
|
-
readonly reasoningText?: string | undefined;
|
|
1726
|
-
readonly redactedText?: string | undefined;
|
|
1727
|
-
readonly signature?: string | undefined;
|
|
1728
|
-
} | {
|
|
1729
|
-
readonly name: string;
|
|
1730
|
-
readonly pending?: boolean | undefined;
|
|
1731
|
-
readonly _tag: "toolCall";
|
|
1732
|
-
readonly toolCallId: string;
|
|
1733
|
-
readonly input: string;
|
|
1734
|
-
readonly providerExecuted: boolean;
|
|
1043
|
+
readonly objectId: string;
|
|
1044
|
+
readonly version: unknown;
|
|
1735
1045
|
} | {
|
|
1736
|
-
readonly
|
|
1046
|
+
readonly _tag: "file";
|
|
1737
1047
|
readonly pending?: boolean | undefined;
|
|
1738
|
-
readonly
|
|
1739
|
-
readonly
|
|
1740
|
-
readonly
|
|
1741
|
-
readonly result?: string | undefined;
|
|
1742
|
-
readonly error?: string | undefined;
|
|
1048
|
+
readonly url: string;
|
|
1049
|
+
readonly name?: string | undefined;
|
|
1050
|
+
readonly mediaType?: string | undefined;
|
|
1743
1051
|
} | {
|
|
1052
|
+
readonly _tag: "image";
|
|
1744
1053
|
readonly pending?: boolean | undefined;
|
|
1745
|
-
readonly
|
|
1746
|
-
readonly _tag: "stats";
|
|
1747
|
-
readonly message?: string | undefined;
|
|
1748
|
-
readonly model?: string | undefined;
|
|
1749
|
-
readonly usage?: {
|
|
1750
|
-
readonly inputTokens?: number | undefined;
|
|
1751
|
-
readonly outputTokens?: number | undefined;
|
|
1752
|
-
readonly totalTokens?: number | undefined;
|
|
1753
|
-
} | undefined;
|
|
1754
|
-
readonly toolCalls?: number | undefined;
|
|
1755
|
-
readonly errors?: number | undefined;
|
|
1756
|
-
readonly duration?: number | undefined;
|
|
1757
|
-
} | {
|
|
1054
|
+
readonly id?: string | undefined;
|
|
1758
1055
|
readonly source?: {
|
|
1759
1056
|
readonly type: "base64";
|
|
1760
1057
|
readonly mediaType: string;
|
|
@@ -1763,110 +1060,164 @@ export declare const ToggleResolved: Operation.Definition<{
|
|
|
1763
1060
|
readonly type: "http";
|
|
1764
1061
|
readonly url: string;
|
|
1765
1062
|
} | undefined;
|
|
1766
|
-
|
|
1063
|
+
} | {
|
|
1064
|
+
readonly _tag: "json";
|
|
1767
1065
|
readonly pending?: boolean | undefined;
|
|
1768
|
-
readonly
|
|
1066
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1067
|
+
readonly data: string;
|
|
1769
1068
|
} | {
|
|
1770
|
-
readonly
|
|
1069
|
+
readonly _tag: "proposal";
|
|
1771
1070
|
readonly pending?: boolean | undefined;
|
|
1772
|
-
readonly
|
|
1773
|
-
readonly mediaType?: string | undefined;
|
|
1774
|
-
readonly url: string;
|
|
1071
|
+
readonly text: string;
|
|
1775
1072
|
} | {
|
|
1073
|
+
readonly _tag: "reasoning";
|
|
1776
1074
|
readonly pending?: boolean | undefined;
|
|
1777
|
-
readonly
|
|
1778
|
-
readonly
|
|
1075
|
+
readonly reasoningText?: string | undefined;
|
|
1076
|
+
readonly redactedText?: string | undefined;
|
|
1077
|
+
readonly signature?: string | undefined;
|
|
1779
1078
|
} | {
|
|
1079
|
+
readonly _tag: "reference";
|
|
1780
1080
|
readonly pending?: boolean | undefined;
|
|
1781
|
-
readonly
|
|
1782
|
-
readonly _tag: "transcript";
|
|
1783
|
-
readonly started: string;
|
|
1081
|
+
readonly reference: import("@dxos/echo/internal").Ref<Obj.Unknown>;
|
|
1784
1082
|
} | {
|
|
1083
|
+
readonly _tag: "select";
|
|
1785
1084
|
readonly pending?: boolean | undefined;
|
|
1085
|
+
readonly options: string[];
|
|
1086
|
+
} | {
|
|
1786
1087
|
readonly _tag: "status";
|
|
1088
|
+
readonly pending?: boolean | undefined;
|
|
1787
1089
|
readonly statusText: string;
|
|
1788
1090
|
} | {
|
|
1789
|
-
readonly pending?: boolean | undefined;
|
|
1790
|
-
readonly text: string;
|
|
1791
1091
|
readonly _tag: "suggestion";
|
|
1792
|
-
} | {
|
|
1793
1092
|
readonly pending?: boolean | undefined;
|
|
1794
|
-
readonly
|
|
1795
|
-
readonly options: string[];
|
|
1093
|
+
readonly text: string;
|
|
1796
1094
|
} | {
|
|
1797
|
-
readonly
|
|
1095
|
+
readonly _tag: "stats";
|
|
1798
1096
|
readonly pending?: boolean | undefined;
|
|
1799
|
-
readonly
|
|
1800
|
-
readonly
|
|
1097
|
+
readonly mimeType?: string | undefined;
|
|
1098
|
+
readonly message?: string | undefined;
|
|
1099
|
+
readonly model?: string | undefined;
|
|
1100
|
+
readonly usage?: {
|
|
1101
|
+
readonly inputTokens?: number | undefined;
|
|
1102
|
+
readonly outputTokens?: number | undefined;
|
|
1103
|
+
readonly totalTokens?: number | undefined;
|
|
1104
|
+
} | undefined;
|
|
1105
|
+
readonly toolCalls?: number | undefined;
|
|
1106
|
+
readonly errors?: number | undefined;
|
|
1107
|
+
readonly duration?: number | undefined;
|
|
1801
1108
|
} | {
|
|
1109
|
+
readonly _tag: "text";
|
|
1802
1110
|
readonly pending?: boolean | undefined;
|
|
1111
|
+
readonly mimeType?: string | undefined;
|
|
1803
1112
|
readonly text: string;
|
|
1804
|
-
readonly
|
|
1113
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1805
1114
|
} | {
|
|
1806
|
-
readonly pending?: boolean | undefined;
|
|
1807
1115
|
readonly _tag: "summary";
|
|
1116
|
+
readonly pending?: boolean | undefined;
|
|
1808
1117
|
readonly content: string;
|
|
1809
1118
|
} | {
|
|
1810
|
-
readonly pending?: boolean | undefined;
|
|
1811
1119
|
readonly _tag: "toolkit";
|
|
1120
|
+
readonly pending?: boolean | undefined;
|
|
1812
1121
|
} | {
|
|
1122
|
+
readonly _tag: "toolCall";
|
|
1813
1123
|
readonly pending?: boolean | undefined;
|
|
1814
|
-
readonly
|
|
1815
|
-
readonly
|
|
1816
|
-
readonly
|
|
1124
|
+
readonly toolCallId: string;
|
|
1125
|
+
readonly name: string;
|
|
1126
|
+
readonly input: string;
|
|
1127
|
+
readonly providerExecuted: boolean;
|
|
1128
|
+
readonly operationKey?: string | undefined;
|
|
1129
|
+
readonly operationName?: string | undefined;
|
|
1130
|
+
readonly operationIcon?: string | undefined;
|
|
1131
|
+
} | {
|
|
1132
|
+
readonly _tag: "toolResult";
|
|
1133
|
+
readonly pending?: boolean | undefined;
|
|
1134
|
+
readonly toolCallId: string;
|
|
1135
|
+
readonly name: string;
|
|
1136
|
+
readonly result?: string | {
|
|
1137
|
+
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
1138
|
+
readonly content: readonly ({
|
|
1139
|
+
readonly _tag: "file";
|
|
1140
|
+
readonly pending?: boolean | undefined;
|
|
1141
|
+
readonly url: string;
|
|
1142
|
+
readonly name?: string | undefined;
|
|
1143
|
+
readonly mediaType?: string | undefined;
|
|
1144
|
+
} | {
|
|
1145
|
+
readonly _tag: "image";
|
|
1146
|
+
readonly pending?: boolean | undefined;
|
|
1147
|
+
readonly id?: string | undefined;
|
|
1148
|
+
readonly source?: {
|
|
1149
|
+
readonly type: "base64";
|
|
1150
|
+
readonly mediaType: string;
|
|
1151
|
+
readonly data: string;
|
|
1152
|
+
} | {
|
|
1153
|
+
readonly type: "http";
|
|
1154
|
+
readonly url: string;
|
|
1155
|
+
} | undefined;
|
|
1156
|
+
} | {
|
|
1157
|
+
readonly _tag: "text";
|
|
1158
|
+
readonly pending?: boolean | undefined;
|
|
1159
|
+
readonly mimeType?: string | undefined;
|
|
1160
|
+
readonly text: string;
|
|
1161
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1162
|
+
})[];
|
|
1163
|
+
} | undefined;
|
|
1164
|
+
readonly error?: string | undefined;
|
|
1165
|
+
readonly providerExecuted: boolean;
|
|
1166
|
+
} | {
|
|
1167
|
+
readonly _tag: "transcript";
|
|
1168
|
+
readonly pending?: boolean | undefined;
|
|
1169
|
+
readonly started: string;
|
|
1170
|
+
readonly text: string;
|
|
1817
1171
|
})[];
|
|
1818
1172
|
readonly properties?: {
|
|
1819
1173
|
readonly [x: string]: any;
|
|
1820
1174
|
} | undefined;
|
|
1821
|
-
}>[];
|
|
1822
|
-
|
|
1175
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>[];
|
|
1176
|
+
readonly agent?: {
|
|
1177
|
+
readonly enabled: boolean;
|
|
1178
|
+
readonly mode: "auto" | "mention";
|
|
1179
|
+
} | undefined;
|
|
1180
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>;
|
|
1823
1181
|
}, void, Capability.Service>;
|
|
1824
1182
|
export declare const AddMessage: Operation.Definition<{
|
|
1825
|
-
readonly
|
|
1826
|
-
readonly anchor: import("@dxos/echo/
|
|
1183
|
+
readonly subject: Obj.Unknown;
|
|
1184
|
+
readonly anchor: import("@dxos/echo/Relation").Endpoints<Obj.Unknown & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>, Obj.Unknown & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>> & {
|
|
1827
1185
|
readonly id: string;
|
|
1828
1186
|
readonly anchor?: string | undefined;
|
|
1829
|
-
}
|
|
1830
|
-
readonly subject: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown;
|
|
1187
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation>;
|
|
1831
1188
|
readonly sender: {
|
|
1832
|
-
readonly
|
|
1833
|
-
readonly
|
|
1834
|
-
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
1835
|
-
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
1836
|
-
readonly image?: string | undefined;
|
|
1189
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
1190
|
+
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
1837
1191
|
readonly fullName?: string | undefined;
|
|
1838
1192
|
readonly preferredName?: string | undefined;
|
|
1839
1193
|
readonly nickname?: string | undefined;
|
|
1840
|
-
readonly
|
|
1841
|
-
|
|
1194
|
+
readonly image?: string | undefined;
|
|
1195
|
+
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
1842
1196
|
readonly name?: string | undefined;
|
|
1843
|
-
readonly
|
|
1197
|
+
readonly description?: string | undefined;
|
|
1198
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
1844
1199
|
readonly image?: string | undefined;
|
|
1845
1200
|
readonly website?: string | undefined;
|
|
1846
1201
|
} & {
|
|
1847
1202
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1848
|
-
}> | undefined;
|
|
1203
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
1849
1204
|
readonly jobTitle?: string | undefined;
|
|
1850
1205
|
readonly department?: string | undefined;
|
|
1851
1206
|
readonly notes?: string | undefined;
|
|
1852
1207
|
readonly emails?: readonly {
|
|
1853
|
-
readonly value: string;
|
|
1854
1208
|
readonly label?: string | undefined;
|
|
1209
|
+
readonly value: string;
|
|
1855
1210
|
}[] | undefined;
|
|
1856
1211
|
readonly identities?: readonly {
|
|
1857
|
-
readonly value: string;
|
|
1858
1212
|
readonly label?: string | undefined;
|
|
1213
|
+
readonly value: string;
|
|
1859
1214
|
}[] | undefined;
|
|
1860
1215
|
readonly phoneNumbers?: readonly {
|
|
1861
|
-
readonly value: string;
|
|
1862
1216
|
readonly label?: string | undefined;
|
|
1863
|
-
}[] | undefined;
|
|
1864
|
-
readonly fields?: readonly {
|
|
1865
1217
|
readonly value: string;
|
|
1866
|
-
readonly label: string;
|
|
1867
|
-
readonly category?: string | undefined;
|
|
1868
1218
|
}[] | undefined;
|
|
1869
1219
|
readonly addresses?: readonly {
|
|
1220
|
+
readonly label?: string | undefined;
|
|
1870
1221
|
readonly value: {
|
|
1871
1222
|
readonly street?: string | undefined;
|
|
1872
1223
|
readonly extended?: string | undefined;
|
|
@@ -1876,64 +1227,270 @@ export declare const AddMessage: Operation.Definition<{
|
|
|
1876
1227
|
readonly postOfficeBoxNumber?: string | undefined;
|
|
1877
1228
|
readonly country?: string | undefined;
|
|
1878
1229
|
};
|
|
1879
|
-
readonly label?: string | undefined;
|
|
1880
1230
|
}[] | undefined;
|
|
1881
1231
|
readonly urls?: readonly {
|
|
1882
|
-
readonly value: string;
|
|
1883
1232
|
readonly label?: string | undefined;
|
|
1233
|
+
readonly value: string;
|
|
1884
1234
|
}[] | undefined;
|
|
1885
1235
|
readonly birthday?: string | undefined;
|
|
1236
|
+
readonly fields?: readonly {
|
|
1237
|
+
readonly category?: string | undefined;
|
|
1238
|
+
readonly label: string;
|
|
1239
|
+
readonly value: string;
|
|
1240
|
+
}[] | undefined;
|
|
1886
1241
|
} & {
|
|
1887
1242
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1888
|
-
}> | undefined;
|
|
1243
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
1889
1244
|
readonly identityDid?: string | undefined;
|
|
1890
1245
|
readonly identityKey?: string | undefined;
|
|
1246
|
+
readonly email?: string | undefined;
|
|
1247
|
+
readonly name?: string | undefined;
|
|
1891
1248
|
};
|
|
1249
|
+
readonly text: string;
|
|
1892
1250
|
}, void, Capability.Service>;
|
|
1893
1251
|
export declare const DeleteMessageOutput: Schema.SchemaClass<{
|
|
1894
|
-
readonly message?: (
|
|
1252
|
+
readonly message?: ({
|
|
1253
|
+
readonly id: string;
|
|
1254
|
+
readonly parentMessage?: string | undefined;
|
|
1255
|
+
readonly threadId?: string | undefined;
|
|
1256
|
+
readonly created: string;
|
|
1257
|
+
readonly sender: {
|
|
1258
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
1259
|
+
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
1260
|
+
readonly fullName?: string | undefined;
|
|
1261
|
+
readonly preferredName?: string | undefined;
|
|
1262
|
+
readonly nickname?: string | undefined;
|
|
1263
|
+
readonly image?: string | undefined;
|
|
1264
|
+
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
1265
|
+
readonly name?: string | undefined;
|
|
1266
|
+
readonly description?: string | undefined;
|
|
1267
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
1268
|
+
readonly image?: string | undefined;
|
|
1269
|
+
readonly website?: string | undefined;
|
|
1270
|
+
} & {
|
|
1271
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1272
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
1273
|
+
readonly jobTitle?: string | undefined;
|
|
1274
|
+
readonly department?: string | undefined;
|
|
1275
|
+
readonly notes?: string | undefined;
|
|
1276
|
+
readonly emails?: readonly {
|
|
1277
|
+
readonly label?: string | undefined;
|
|
1278
|
+
readonly value: string;
|
|
1279
|
+
}[] | undefined;
|
|
1280
|
+
readonly identities?: readonly {
|
|
1281
|
+
readonly label?: string | undefined;
|
|
1282
|
+
readonly value: string;
|
|
1283
|
+
}[] | undefined;
|
|
1284
|
+
readonly phoneNumbers?: readonly {
|
|
1285
|
+
readonly label?: string | undefined;
|
|
1286
|
+
readonly value: string;
|
|
1287
|
+
}[] | undefined;
|
|
1288
|
+
readonly addresses?: readonly {
|
|
1289
|
+
readonly label?: string | undefined;
|
|
1290
|
+
readonly value: {
|
|
1291
|
+
readonly street?: string | undefined;
|
|
1292
|
+
readonly extended?: string | undefined;
|
|
1293
|
+
readonly locality?: string | undefined;
|
|
1294
|
+
readonly region?: string | undefined;
|
|
1295
|
+
readonly postalCode?: string | undefined;
|
|
1296
|
+
readonly postOfficeBoxNumber?: string | undefined;
|
|
1297
|
+
readonly country?: string | undefined;
|
|
1298
|
+
};
|
|
1299
|
+
}[] | undefined;
|
|
1300
|
+
readonly urls?: readonly {
|
|
1301
|
+
readonly label?: string | undefined;
|
|
1302
|
+
readonly value: string;
|
|
1303
|
+
}[] | undefined;
|
|
1304
|
+
readonly birthday?: string | undefined;
|
|
1305
|
+
readonly fields?: readonly {
|
|
1306
|
+
readonly category?: string | undefined;
|
|
1307
|
+
readonly label: string;
|
|
1308
|
+
readonly value: string;
|
|
1309
|
+
}[] | undefined;
|
|
1310
|
+
} & {
|
|
1311
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1312
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
1313
|
+
readonly identityDid?: string | undefined;
|
|
1314
|
+
readonly identityKey?: string | undefined;
|
|
1315
|
+
readonly email?: string | undefined;
|
|
1316
|
+
readonly name?: string | undefined;
|
|
1317
|
+
};
|
|
1318
|
+
readonly blocks: readonly ({
|
|
1319
|
+
readonly _tag: "anchor";
|
|
1320
|
+
readonly pending?: boolean | undefined;
|
|
1321
|
+
readonly objectId: string;
|
|
1322
|
+
readonly version: unknown;
|
|
1323
|
+
} | {
|
|
1324
|
+
readonly _tag: "file";
|
|
1325
|
+
readonly pending?: boolean | undefined;
|
|
1326
|
+
readonly url: string;
|
|
1327
|
+
readonly name?: string | undefined;
|
|
1328
|
+
readonly mediaType?: string | undefined;
|
|
1329
|
+
} | {
|
|
1330
|
+
readonly _tag: "image";
|
|
1331
|
+
readonly pending?: boolean | undefined;
|
|
1332
|
+
readonly id?: string | undefined;
|
|
1333
|
+
readonly source?: {
|
|
1334
|
+
readonly type: "base64";
|
|
1335
|
+
readonly mediaType: string;
|
|
1336
|
+
readonly data: string;
|
|
1337
|
+
} | {
|
|
1338
|
+
readonly type: "http";
|
|
1339
|
+
readonly url: string;
|
|
1340
|
+
} | undefined;
|
|
1341
|
+
} | {
|
|
1342
|
+
readonly _tag: "json";
|
|
1343
|
+
readonly pending?: boolean | undefined;
|
|
1344
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1345
|
+
readonly data: string;
|
|
1346
|
+
} | {
|
|
1347
|
+
readonly _tag: "proposal";
|
|
1348
|
+
readonly pending?: boolean | undefined;
|
|
1349
|
+
readonly text: string;
|
|
1350
|
+
} | {
|
|
1351
|
+
readonly _tag: "reasoning";
|
|
1352
|
+
readonly pending?: boolean | undefined;
|
|
1353
|
+
readonly reasoningText?: string | undefined;
|
|
1354
|
+
readonly redactedText?: string | undefined;
|
|
1355
|
+
readonly signature?: string | undefined;
|
|
1356
|
+
} | {
|
|
1357
|
+
readonly _tag: "reference";
|
|
1358
|
+
readonly pending?: boolean | undefined;
|
|
1359
|
+
readonly reference: import("@dxos/echo/internal").Ref<Obj.Unknown>;
|
|
1360
|
+
} | {
|
|
1361
|
+
readonly _tag: "select";
|
|
1362
|
+
readonly pending?: boolean | undefined;
|
|
1363
|
+
readonly options: string[];
|
|
1364
|
+
} | {
|
|
1365
|
+
readonly _tag: "status";
|
|
1366
|
+
readonly pending?: boolean | undefined;
|
|
1367
|
+
readonly statusText: string;
|
|
1368
|
+
} | {
|
|
1369
|
+
readonly _tag: "suggestion";
|
|
1370
|
+
readonly pending?: boolean | undefined;
|
|
1371
|
+
readonly text: string;
|
|
1372
|
+
} | {
|
|
1373
|
+
readonly _tag: "stats";
|
|
1374
|
+
readonly pending?: boolean | undefined;
|
|
1375
|
+
readonly mimeType?: string | undefined;
|
|
1376
|
+
readonly message?: string | undefined;
|
|
1377
|
+
readonly model?: string | undefined;
|
|
1378
|
+
readonly usage?: {
|
|
1379
|
+
readonly inputTokens?: number | undefined;
|
|
1380
|
+
readonly outputTokens?: number | undefined;
|
|
1381
|
+
readonly totalTokens?: number | undefined;
|
|
1382
|
+
} | undefined;
|
|
1383
|
+
readonly toolCalls?: number | undefined;
|
|
1384
|
+
readonly errors?: number | undefined;
|
|
1385
|
+
readonly duration?: number | undefined;
|
|
1386
|
+
} | {
|
|
1387
|
+
readonly _tag: "text";
|
|
1388
|
+
readonly pending?: boolean | undefined;
|
|
1389
|
+
readonly mimeType?: string | undefined;
|
|
1390
|
+
readonly text: string;
|
|
1391
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1392
|
+
} | {
|
|
1393
|
+
readonly _tag: "summary";
|
|
1394
|
+
readonly pending?: boolean | undefined;
|
|
1395
|
+
readonly content: string;
|
|
1396
|
+
} | {
|
|
1397
|
+
readonly _tag: "toolkit";
|
|
1398
|
+
readonly pending?: boolean | undefined;
|
|
1399
|
+
} | {
|
|
1400
|
+
readonly _tag: "toolCall";
|
|
1401
|
+
readonly pending?: boolean | undefined;
|
|
1402
|
+
readonly toolCallId: string;
|
|
1403
|
+
readonly name: string;
|
|
1404
|
+
readonly input: string;
|
|
1405
|
+
readonly providerExecuted: boolean;
|
|
1406
|
+
readonly operationKey?: string | undefined;
|
|
1407
|
+
readonly operationName?: string | undefined;
|
|
1408
|
+
readonly operationIcon?: string | undefined;
|
|
1409
|
+
} | {
|
|
1410
|
+
readonly _tag: "toolResult";
|
|
1411
|
+
readonly pending?: boolean | undefined;
|
|
1412
|
+
readonly toolCallId: string;
|
|
1413
|
+
readonly name: string;
|
|
1414
|
+
readonly result?: string | {
|
|
1415
|
+
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
1416
|
+
readonly content: readonly ({
|
|
1417
|
+
readonly _tag: "file";
|
|
1418
|
+
readonly pending?: boolean | undefined;
|
|
1419
|
+
readonly url: string;
|
|
1420
|
+
readonly name?: string | undefined;
|
|
1421
|
+
readonly mediaType?: string | undefined;
|
|
1422
|
+
} | {
|
|
1423
|
+
readonly _tag: "image";
|
|
1424
|
+
readonly pending?: boolean | undefined;
|
|
1425
|
+
readonly id?: string | undefined;
|
|
1426
|
+
readonly source?: {
|
|
1427
|
+
readonly type: "base64";
|
|
1428
|
+
readonly mediaType: string;
|
|
1429
|
+
readonly data: string;
|
|
1430
|
+
} | {
|
|
1431
|
+
readonly type: "http";
|
|
1432
|
+
readonly url: string;
|
|
1433
|
+
} | undefined;
|
|
1434
|
+
} | {
|
|
1435
|
+
readonly _tag: "text";
|
|
1436
|
+
readonly pending?: boolean | undefined;
|
|
1437
|
+
readonly mimeType?: string | undefined;
|
|
1438
|
+
readonly text: string;
|
|
1439
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1440
|
+
})[];
|
|
1441
|
+
} | undefined;
|
|
1442
|
+
readonly error?: string | undefined;
|
|
1443
|
+
readonly providerExecuted: boolean;
|
|
1444
|
+
} | {
|
|
1445
|
+
readonly _tag: "transcript";
|
|
1446
|
+
readonly pending?: boolean | undefined;
|
|
1447
|
+
readonly started: string;
|
|
1448
|
+
readonly text: string;
|
|
1449
|
+
})[];
|
|
1450
|
+
readonly properties?: {
|
|
1451
|
+
readonly [x: string]: any;
|
|
1452
|
+
} | undefined;
|
|
1453
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>) | undefined;
|
|
1454
|
+
readonly messageIndex?: number | undefined;
|
|
1455
|
+
}, {
|
|
1456
|
+
readonly message?: ({
|
|
1895
1457
|
readonly id: string;
|
|
1896
1458
|
readonly parentMessage?: string | undefined;
|
|
1897
1459
|
readonly threadId?: string | undefined;
|
|
1898
1460
|
readonly created: string;
|
|
1899
1461
|
readonly sender: {
|
|
1900
|
-
readonly
|
|
1901
|
-
readonly
|
|
1902
|
-
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
1903
|
-
readonly image?: string | undefined;
|
|
1462
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
1463
|
+
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
1904
1464
|
readonly fullName?: string | undefined;
|
|
1905
1465
|
readonly preferredName?: string | undefined;
|
|
1906
1466
|
readonly nickname?: string | undefined;
|
|
1907
|
-
readonly
|
|
1908
|
-
|
|
1467
|
+
readonly image?: string | undefined;
|
|
1468
|
+
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
1909
1469
|
readonly name?: string | undefined;
|
|
1910
|
-
readonly
|
|
1470
|
+
readonly description?: string | undefined;
|
|
1471
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
1911
1472
|
readonly image?: string | undefined;
|
|
1912
1473
|
readonly website?: string | undefined;
|
|
1913
1474
|
} & {
|
|
1914
1475
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1915
|
-
}> | undefined;
|
|
1476
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
1916
1477
|
readonly jobTitle?: string | undefined;
|
|
1917
1478
|
readonly department?: string | undefined;
|
|
1918
1479
|
readonly notes?: string | undefined;
|
|
1919
1480
|
readonly emails?: readonly {
|
|
1920
|
-
readonly value: string;
|
|
1921
1481
|
readonly label?: string | undefined;
|
|
1482
|
+
readonly value: string;
|
|
1922
1483
|
}[] | undefined;
|
|
1923
1484
|
readonly identities?: readonly {
|
|
1924
|
-
readonly value: string;
|
|
1925
1485
|
readonly label?: string | undefined;
|
|
1486
|
+
readonly value: string;
|
|
1926
1487
|
}[] | undefined;
|
|
1927
1488
|
readonly phoneNumbers?: readonly {
|
|
1928
|
-
readonly value: string;
|
|
1929
1489
|
readonly label?: string | undefined;
|
|
1930
|
-
}[] | undefined;
|
|
1931
|
-
readonly fields?: readonly {
|
|
1932
1490
|
readonly value: string;
|
|
1933
|
-
readonly label: string;
|
|
1934
|
-
readonly category?: string | undefined;
|
|
1935
1491
|
}[] | undefined;
|
|
1936
1492
|
readonly addresses?: readonly {
|
|
1493
|
+
readonly label?: string | undefined;
|
|
1937
1494
|
readonly value: {
|
|
1938
1495
|
readonly street?: string | undefined;
|
|
1939
1496
|
readonly extended?: string | undefined;
|
|
@@ -1943,51 +1500,83 @@ export declare const DeleteMessageOutput: Schema.SchemaClass<{
|
|
|
1943
1500
|
readonly postOfficeBoxNumber?: string | undefined;
|
|
1944
1501
|
readonly country?: string | undefined;
|
|
1945
1502
|
};
|
|
1946
|
-
readonly label?: string | undefined;
|
|
1947
1503
|
}[] | undefined;
|
|
1948
1504
|
readonly urls?: readonly {
|
|
1949
|
-
readonly value: string;
|
|
1950
1505
|
readonly label?: string | undefined;
|
|
1506
|
+
readonly value: string;
|
|
1951
1507
|
}[] | undefined;
|
|
1952
1508
|
readonly birthday?: string | undefined;
|
|
1509
|
+
readonly fields?: readonly {
|
|
1510
|
+
readonly category?: string | undefined;
|
|
1511
|
+
readonly label: string;
|
|
1512
|
+
readonly value: string;
|
|
1513
|
+
}[] | undefined;
|
|
1953
1514
|
} & {
|
|
1954
1515
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1955
|
-
}> | undefined;
|
|
1516
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
1956
1517
|
readonly identityDid?: string | undefined;
|
|
1957
1518
|
readonly identityKey?: string | undefined;
|
|
1958
1519
|
readonly email?: string | undefined;
|
|
1520
|
+
readonly name?: string | undefined;
|
|
1959
1521
|
};
|
|
1960
1522
|
readonly blocks: readonly ({
|
|
1523
|
+
readonly _tag: "anchor";
|
|
1961
1524
|
readonly pending?: boolean | undefined;
|
|
1962
|
-
readonly
|
|
1963
|
-
readonly
|
|
1964
|
-
|
|
1965
|
-
readonly _tag: "
|
|
1525
|
+
readonly objectId: string;
|
|
1526
|
+
readonly version: unknown;
|
|
1527
|
+
} | {
|
|
1528
|
+
readonly _tag: "file";
|
|
1529
|
+
readonly pending?: boolean | undefined;
|
|
1530
|
+
readonly url: string;
|
|
1531
|
+
readonly name?: string | undefined;
|
|
1532
|
+
readonly mediaType?: string | undefined;
|
|
1533
|
+
} | {
|
|
1534
|
+
readonly _tag: "image";
|
|
1535
|
+
readonly pending?: boolean | undefined;
|
|
1536
|
+
readonly id?: string | undefined;
|
|
1537
|
+
readonly source?: {
|
|
1538
|
+
readonly type: "base64";
|
|
1539
|
+
readonly mediaType: string;
|
|
1540
|
+
readonly data: string;
|
|
1541
|
+
} | {
|
|
1542
|
+
readonly type: "http";
|
|
1543
|
+
readonly url: string;
|
|
1544
|
+
} | undefined;
|
|
1545
|
+
} | {
|
|
1546
|
+
readonly _tag: "json";
|
|
1547
|
+
readonly pending?: boolean | undefined;
|
|
1548
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1549
|
+
readonly data: string;
|
|
1966
1550
|
} | {
|
|
1551
|
+
readonly _tag: "proposal";
|
|
1967
1552
|
readonly pending?: boolean | undefined;
|
|
1553
|
+
readonly text: string;
|
|
1554
|
+
} | {
|
|
1968
1555
|
readonly _tag: "reasoning";
|
|
1556
|
+
readonly pending?: boolean | undefined;
|
|
1969
1557
|
readonly reasoningText?: string | undefined;
|
|
1970
1558
|
readonly redactedText?: string | undefined;
|
|
1971
1559
|
readonly signature?: string | undefined;
|
|
1972
1560
|
} | {
|
|
1973
|
-
readonly
|
|
1561
|
+
readonly _tag: "reference";
|
|
1974
1562
|
readonly pending?: boolean | undefined;
|
|
1975
|
-
readonly
|
|
1976
|
-
readonly toolCallId: string;
|
|
1977
|
-
readonly input: string;
|
|
1978
|
-
readonly providerExecuted: boolean;
|
|
1563
|
+
readonly reference: import("@dxos/echo/internal").Ref<Obj.Unknown>;
|
|
1979
1564
|
} | {
|
|
1980
|
-
readonly
|
|
1565
|
+
readonly _tag: "select";
|
|
1981
1566
|
readonly pending?: boolean | undefined;
|
|
1982
|
-
readonly
|
|
1983
|
-
readonly toolCallId: string;
|
|
1984
|
-
readonly providerExecuted: boolean;
|
|
1985
|
-
readonly result?: string | undefined;
|
|
1986
|
-
readonly error?: string | undefined;
|
|
1567
|
+
readonly options: string[];
|
|
1987
1568
|
} | {
|
|
1569
|
+
readonly _tag: "status";
|
|
1988
1570
|
readonly pending?: boolean | undefined;
|
|
1989
|
-
readonly
|
|
1571
|
+
readonly statusText: string;
|
|
1572
|
+
} | {
|
|
1573
|
+
readonly _tag: "suggestion";
|
|
1574
|
+
readonly pending?: boolean | undefined;
|
|
1575
|
+
readonly text: string;
|
|
1576
|
+
} | {
|
|
1990
1577
|
readonly _tag: "stats";
|
|
1578
|
+
readonly pending?: boolean | undefined;
|
|
1579
|
+
readonly mimeType?: string | undefined;
|
|
1991
1580
|
readonly message?: string | undefined;
|
|
1992
1581
|
readonly model?: string | undefined;
|
|
1993
1582
|
readonly usage?: {
|
|
@@ -1999,6 +1588,165 @@ export declare const DeleteMessageOutput: Schema.SchemaClass<{
|
|
|
1999
1588
|
readonly errors?: number | undefined;
|
|
2000
1589
|
readonly duration?: number | undefined;
|
|
2001
1590
|
} | {
|
|
1591
|
+
readonly _tag: "text";
|
|
1592
|
+
readonly pending?: boolean | undefined;
|
|
1593
|
+
readonly mimeType?: string | undefined;
|
|
1594
|
+
readonly text: string;
|
|
1595
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1596
|
+
} | {
|
|
1597
|
+
readonly _tag: "summary";
|
|
1598
|
+
readonly pending?: boolean | undefined;
|
|
1599
|
+
readonly content: string;
|
|
1600
|
+
} | {
|
|
1601
|
+
readonly _tag: "toolkit";
|
|
1602
|
+
readonly pending?: boolean | undefined;
|
|
1603
|
+
} | {
|
|
1604
|
+
readonly _tag: "toolCall";
|
|
1605
|
+
readonly pending?: boolean | undefined;
|
|
1606
|
+
readonly toolCallId: string;
|
|
1607
|
+
readonly name: string;
|
|
1608
|
+
readonly input: string;
|
|
1609
|
+
readonly providerExecuted: boolean;
|
|
1610
|
+
readonly operationKey?: string | undefined;
|
|
1611
|
+
readonly operationName?: string | undefined;
|
|
1612
|
+
readonly operationIcon?: string | undefined;
|
|
1613
|
+
} | {
|
|
1614
|
+
readonly _tag: "toolResult";
|
|
1615
|
+
readonly pending?: boolean | undefined;
|
|
1616
|
+
readonly toolCallId: string;
|
|
1617
|
+
readonly name: string;
|
|
1618
|
+
readonly result?: string | {
|
|
1619
|
+
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
1620
|
+
readonly content: readonly ({
|
|
1621
|
+
readonly _tag: "file";
|
|
1622
|
+
readonly pending?: boolean | undefined;
|
|
1623
|
+
readonly url: string;
|
|
1624
|
+
readonly name?: string | undefined;
|
|
1625
|
+
readonly mediaType?: string | undefined;
|
|
1626
|
+
} | {
|
|
1627
|
+
readonly _tag: "image";
|
|
1628
|
+
readonly pending?: boolean | undefined;
|
|
1629
|
+
readonly id?: string | undefined;
|
|
1630
|
+
readonly source?: {
|
|
1631
|
+
readonly type: "base64";
|
|
1632
|
+
readonly mediaType: string;
|
|
1633
|
+
readonly data: string;
|
|
1634
|
+
} | {
|
|
1635
|
+
readonly type: "http";
|
|
1636
|
+
readonly url: string;
|
|
1637
|
+
} | undefined;
|
|
1638
|
+
} | {
|
|
1639
|
+
readonly _tag: "text";
|
|
1640
|
+
readonly pending?: boolean | undefined;
|
|
1641
|
+
readonly mimeType?: string | undefined;
|
|
1642
|
+
readonly text: string;
|
|
1643
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1644
|
+
})[];
|
|
1645
|
+
} | undefined;
|
|
1646
|
+
readonly error?: string | undefined;
|
|
1647
|
+
readonly providerExecuted: boolean;
|
|
1648
|
+
} | {
|
|
1649
|
+
readonly _tag: "transcript";
|
|
1650
|
+
readonly pending?: boolean | undefined;
|
|
1651
|
+
readonly started: string;
|
|
1652
|
+
readonly text: string;
|
|
1653
|
+
})[];
|
|
1654
|
+
readonly properties?: {
|
|
1655
|
+
readonly [x: string]: any;
|
|
1656
|
+
} | undefined;
|
|
1657
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>) | undefined;
|
|
1658
|
+
readonly messageIndex?: number | undefined;
|
|
1659
|
+
}, never>;
|
|
1660
|
+
export type DeleteMessageOutput = Schema.Schema.Type<typeof DeleteMessageOutput>;
|
|
1661
|
+
export declare const DeleteMessage: Operation.Definition<{
|
|
1662
|
+
readonly anchor: import("@dxos/echo/Relation").Endpoints<Obj.Unknown & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>, Obj.Unknown & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>> & {
|
|
1663
|
+
readonly id: string;
|
|
1664
|
+
readonly anchor?: string | undefined;
|
|
1665
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation>;
|
|
1666
|
+
readonly subject: Obj.Unknown;
|
|
1667
|
+
readonly messageId: string;
|
|
1668
|
+
}, {
|
|
1669
|
+
readonly message?: ({
|
|
1670
|
+
readonly id: string;
|
|
1671
|
+
readonly parentMessage?: string | undefined;
|
|
1672
|
+
readonly threadId?: string | undefined;
|
|
1673
|
+
readonly created: string;
|
|
1674
|
+
readonly sender: {
|
|
1675
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
1676
|
+
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
1677
|
+
readonly fullName?: string | undefined;
|
|
1678
|
+
readonly preferredName?: string | undefined;
|
|
1679
|
+
readonly nickname?: string | undefined;
|
|
1680
|
+
readonly image?: string | undefined;
|
|
1681
|
+
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
1682
|
+
readonly name?: string | undefined;
|
|
1683
|
+
readonly description?: string | undefined;
|
|
1684
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
1685
|
+
readonly image?: string | undefined;
|
|
1686
|
+
readonly website?: string | undefined;
|
|
1687
|
+
} & {
|
|
1688
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1689
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
1690
|
+
readonly jobTitle?: string | undefined;
|
|
1691
|
+
readonly department?: string | undefined;
|
|
1692
|
+
readonly notes?: string | undefined;
|
|
1693
|
+
readonly emails?: readonly {
|
|
1694
|
+
readonly label?: string | undefined;
|
|
1695
|
+
readonly value: string;
|
|
1696
|
+
}[] | undefined;
|
|
1697
|
+
readonly identities?: readonly {
|
|
1698
|
+
readonly label?: string | undefined;
|
|
1699
|
+
readonly value: string;
|
|
1700
|
+
}[] | undefined;
|
|
1701
|
+
readonly phoneNumbers?: readonly {
|
|
1702
|
+
readonly label?: string | undefined;
|
|
1703
|
+
readonly value: string;
|
|
1704
|
+
}[] | undefined;
|
|
1705
|
+
readonly addresses?: readonly {
|
|
1706
|
+
readonly label?: string | undefined;
|
|
1707
|
+
readonly value: {
|
|
1708
|
+
readonly street?: string | undefined;
|
|
1709
|
+
readonly extended?: string | undefined;
|
|
1710
|
+
readonly locality?: string | undefined;
|
|
1711
|
+
readonly region?: string | undefined;
|
|
1712
|
+
readonly postalCode?: string | undefined;
|
|
1713
|
+
readonly postOfficeBoxNumber?: string | undefined;
|
|
1714
|
+
readonly country?: string | undefined;
|
|
1715
|
+
};
|
|
1716
|
+
}[] | undefined;
|
|
1717
|
+
readonly urls?: readonly {
|
|
1718
|
+
readonly label?: string | undefined;
|
|
1719
|
+
readonly value: string;
|
|
1720
|
+
}[] | undefined;
|
|
1721
|
+
readonly birthday?: string | undefined;
|
|
1722
|
+
readonly fields?: readonly {
|
|
1723
|
+
readonly category?: string | undefined;
|
|
1724
|
+
readonly label: string;
|
|
1725
|
+
readonly value: string;
|
|
1726
|
+
}[] | undefined;
|
|
1727
|
+
} & {
|
|
1728
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1729
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
1730
|
+
readonly identityDid?: string | undefined;
|
|
1731
|
+
readonly identityKey?: string | undefined;
|
|
1732
|
+
readonly email?: string | undefined;
|
|
1733
|
+
readonly name?: string | undefined;
|
|
1734
|
+
};
|
|
1735
|
+
readonly blocks: readonly ({
|
|
1736
|
+
readonly _tag: "anchor";
|
|
1737
|
+
readonly pending?: boolean | undefined;
|
|
1738
|
+
readonly objectId: string;
|
|
1739
|
+
readonly version: unknown;
|
|
1740
|
+
} | {
|
|
1741
|
+
readonly _tag: "file";
|
|
1742
|
+
readonly pending?: boolean | undefined;
|
|
1743
|
+
readonly url: string;
|
|
1744
|
+
readonly name?: string | undefined;
|
|
1745
|
+
readonly mediaType?: string | undefined;
|
|
1746
|
+
} | {
|
|
1747
|
+
readonly _tag: "image";
|
|
1748
|
+
readonly pending?: boolean | undefined;
|
|
1749
|
+
readonly id?: string | undefined;
|
|
2002
1750
|
readonly source?: {
|
|
2003
1751
|
readonly type: "base64";
|
|
2004
1752
|
readonly mediaType: string;
|
|
@@ -2007,107 +1755,386 @@ export declare const DeleteMessageOutput: Schema.SchemaClass<{
|
|
|
2007
1755
|
readonly type: "http";
|
|
2008
1756
|
readonly url: string;
|
|
2009
1757
|
} | undefined;
|
|
2010
|
-
|
|
1758
|
+
} | {
|
|
1759
|
+
readonly _tag: "json";
|
|
2011
1760
|
readonly pending?: boolean | undefined;
|
|
2012
|
-
readonly
|
|
1761
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1762
|
+
readonly data: string;
|
|
2013
1763
|
} | {
|
|
2014
|
-
readonly
|
|
1764
|
+
readonly _tag: "proposal";
|
|
2015
1765
|
readonly pending?: boolean | undefined;
|
|
2016
|
-
readonly
|
|
2017
|
-
|
|
2018
|
-
readonly
|
|
1766
|
+
readonly text: string;
|
|
1767
|
+
} | {
|
|
1768
|
+
readonly _tag: "reasoning";
|
|
1769
|
+
readonly pending?: boolean | undefined;
|
|
1770
|
+
readonly reasoningText?: string | undefined;
|
|
1771
|
+
readonly redactedText?: string | undefined;
|
|
1772
|
+
readonly signature?: string | undefined;
|
|
2019
1773
|
} | {
|
|
2020
|
-
readonly pending?: boolean | undefined;
|
|
2021
1774
|
readonly _tag: "reference";
|
|
2022
|
-
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
2023
|
-
} | {
|
|
2024
1775
|
readonly pending?: boolean | undefined;
|
|
2025
|
-
readonly
|
|
2026
|
-
readonly _tag: "transcript";
|
|
2027
|
-
readonly started: string;
|
|
1776
|
+
readonly reference: import("@dxos/echo/internal").Ref<Obj.Unknown>;
|
|
2028
1777
|
} | {
|
|
1778
|
+
readonly _tag: "select";
|
|
2029
1779
|
readonly pending?: boolean | undefined;
|
|
1780
|
+
readonly options: string[];
|
|
1781
|
+
} | {
|
|
2030
1782
|
readonly _tag: "status";
|
|
1783
|
+
readonly pending?: boolean | undefined;
|
|
2031
1784
|
readonly statusText: string;
|
|
2032
1785
|
} | {
|
|
2033
|
-
readonly pending?: boolean | undefined;
|
|
2034
|
-
readonly text: string;
|
|
2035
1786
|
readonly _tag: "suggestion";
|
|
2036
|
-
} | {
|
|
2037
1787
|
readonly pending?: boolean | undefined;
|
|
2038
|
-
readonly
|
|
2039
|
-
readonly options: string[];
|
|
1788
|
+
readonly text: string;
|
|
2040
1789
|
} | {
|
|
2041
|
-
readonly
|
|
1790
|
+
readonly _tag: "stats";
|
|
2042
1791
|
readonly pending?: boolean | undefined;
|
|
2043
|
-
readonly
|
|
2044
|
-
readonly
|
|
1792
|
+
readonly mimeType?: string | undefined;
|
|
1793
|
+
readonly message?: string | undefined;
|
|
1794
|
+
readonly model?: string | undefined;
|
|
1795
|
+
readonly usage?: {
|
|
1796
|
+
readonly inputTokens?: number | undefined;
|
|
1797
|
+
readonly outputTokens?: number | undefined;
|
|
1798
|
+
readonly totalTokens?: number | undefined;
|
|
1799
|
+
} | undefined;
|
|
1800
|
+
readonly toolCalls?: number | undefined;
|
|
1801
|
+
readonly errors?: number | undefined;
|
|
1802
|
+
readonly duration?: number | undefined;
|
|
2045
1803
|
} | {
|
|
1804
|
+
readonly _tag: "text";
|
|
2046
1805
|
readonly pending?: boolean | undefined;
|
|
1806
|
+
readonly mimeType?: string | undefined;
|
|
2047
1807
|
readonly text: string;
|
|
2048
|
-
readonly
|
|
1808
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
2049
1809
|
} | {
|
|
2050
|
-
readonly pending?: boolean | undefined;
|
|
2051
1810
|
readonly _tag: "summary";
|
|
1811
|
+
readonly pending?: boolean | undefined;
|
|
2052
1812
|
readonly content: string;
|
|
2053
1813
|
} | {
|
|
2054
|
-
readonly pending?: boolean | undefined;
|
|
2055
1814
|
readonly _tag: "toolkit";
|
|
1815
|
+
readonly pending?: boolean | undefined;
|
|
2056
1816
|
} | {
|
|
1817
|
+
readonly _tag: "toolCall";
|
|
2057
1818
|
readonly pending?: boolean | undefined;
|
|
2058
|
-
readonly
|
|
2059
|
-
readonly
|
|
2060
|
-
readonly
|
|
1819
|
+
readonly toolCallId: string;
|
|
1820
|
+
readonly name: string;
|
|
1821
|
+
readonly input: string;
|
|
1822
|
+
readonly providerExecuted: boolean;
|
|
1823
|
+
readonly operationKey?: string | undefined;
|
|
1824
|
+
readonly operationName?: string | undefined;
|
|
1825
|
+
readonly operationIcon?: string | undefined;
|
|
1826
|
+
} | {
|
|
1827
|
+
readonly _tag: "toolResult";
|
|
1828
|
+
readonly pending?: boolean | undefined;
|
|
1829
|
+
readonly toolCallId: string;
|
|
1830
|
+
readonly name: string;
|
|
1831
|
+
readonly result?: string | {
|
|
1832
|
+
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
1833
|
+
readonly content: readonly ({
|
|
1834
|
+
readonly _tag: "file";
|
|
1835
|
+
readonly pending?: boolean | undefined;
|
|
1836
|
+
readonly url: string;
|
|
1837
|
+
readonly name?: string | undefined;
|
|
1838
|
+
readonly mediaType?: string | undefined;
|
|
1839
|
+
} | {
|
|
1840
|
+
readonly _tag: "image";
|
|
1841
|
+
readonly pending?: boolean | undefined;
|
|
1842
|
+
readonly id?: string | undefined;
|
|
1843
|
+
readonly source?: {
|
|
1844
|
+
readonly type: "base64";
|
|
1845
|
+
readonly mediaType: string;
|
|
1846
|
+
readonly data: string;
|
|
1847
|
+
} | {
|
|
1848
|
+
readonly type: "http";
|
|
1849
|
+
readonly url: string;
|
|
1850
|
+
} | undefined;
|
|
1851
|
+
} | {
|
|
1852
|
+
readonly _tag: "text";
|
|
1853
|
+
readonly pending?: boolean | undefined;
|
|
1854
|
+
readonly mimeType?: string | undefined;
|
|
1855
|
+
readonly text: string;
|
|
1856
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1857
|
+
})[];
|
|
1858
|
+
} | undefined;
|
|
1859
|
+
readonly error?: string | undefined;
|
|
1860
|
+
readonly providerExecuted: boolean;
|
|
1861
|
+
} | {
|
|
1862
|
+
readonly _tag: "transcript";
|
|
1863
|
+
readonly pending?: boolean | undefined;
|
|
1864
|
+
readonly started: string;
|
|
1865
|
+
readonly text: string;
|
|
2061
1866
|
})[];
|
|
2062
1867
|
readonly properties?: {
|
|
2063
1868
|
readonly [x: string]: any;
|
|
2064
1869
|
} | undefined;
|
|
2065
|
-
}) | undefined;
|
|
1870
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>) | undefined;
|
|
2066
1871
|
readonly messageIndex?: number | undefined;
|
|
2067
|
-
},
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
readonly
|
|
2077
|
-
|
|
1872
|
+
}, Capability.Service>;
|
|
1873
|
+
/**
|
|
1874
|
+
* Restore a deleted thread (inverse of Delete).
|
|
1875
|
+
*/
|
|
1876
|
+
export declare const Restore: Operation.Definition<{
|
|
1877
|
+
readonly thread: {
|
|
1878
|
+
readonly name?: string | undefined;
|
|
1879
|
+
readonly status?: "active" | "resolved" | "staged" | undefined;
|
|
1880
|
+
readonly messages: readonly import("@dxos/echo/internal").Ref<{
|
|
1881
|
+
readonly id: string;
|
|
1882
|
+
readonly parentMessage?: string | undefined;
|
|
1883
|
+
readonly threadId?: string | undefined;
|
|
1884
|
+
readonly created: string;
|
|
1885
|
+
readonly sender: {
|
|
1886
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
1887
|
+
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
1888
|
+
readonly fullName?: string | undefined;
|
|
1889
|
+
readonly preferredName?: string | undefined;
|
|
1890
|
+
readonly nickname?: string | undefined;
|
|
1891
|
+
readonly image?: string | undefined;
|
|
1892
|
+
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
1893
|
+
readonly name?: string | undefined;
|
|
1894
|
+
readonly description?: string | undefined;
|
|
1895
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
1896
|
+
readonly image?: string | undefined;
|
|
1897
|
+
readonly website?: string | undefined;
|
|
1898
|
+
} & {
|
|
1899
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1900
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
1901
|
+
readonly jobTitle?: string | undefined;
|
|
1902
|
+
readonly department?: string | undefined;
|
|
1903
|
+
readonly notes?: string | undefined;
|
|
1904
|
+
readonly emails?: readonly {
|
|
1905
|
+
readonly label?: string | undefined;
|
|
1906
|
+
readonly value: string;
|
|
1907
|
+
}[] | undefined;
|
|
1908
|
+
readonly identities?: readonly {
|
|
1909
|
+
readonly label?: string | undefined;
|
|
1910
|
+
readonly value: string;
|
|
1911
|
+
}[] | undefined;
|
|
1912
|
+
readonly phoneNumbers?: readonly {
|
|
1913
|
+
readonly label?: string | undefined;
|
|
1914
|
+
readonly value: string;
|
|
1915
|
+
}[] | undefined;
|
|
1916
|
+
readonly addresses?: readonly {
|
|
1917
|
+
readonly label?: string | undefined;
|
|
1918
|
+
readonly value: {
|
|
1919
|
+
readonly street?: string | undefined;
|
|
1920
|
+
readonly extended?: string | undefined;
|
|
1921
|
+
readonly locality?: string | undefined;
|
|
1922
|
+
readonly region?: string | undefined;
|
|
1923
|
+
readonly postalCode?: string | undefined;
|
|
1924
|
+
readonly postOfficeBoxNumber?: string | undefined;
|
|
1925
|
+
readonly country?: string | undefined;
|
|
1926
|
+
};
|
|
1927
|
+
}[] | undefined;
|
|
1928
|
+
readonly urls?: readonly {
|
|
1929
|
+
readonly label?: string | undefined;
|
|
1930
|
+
readonly value: string;
|
|
1931
|
+
}[] | undefined;
|
|
1932
|
+
readonly birthday?: string | undefined;
|
|
1933
|
+
readonly fields?: readonly {
|
|
1934
|
+
readonly category?: string | undefined;
|
|
1935
|
+
readonly label: string;
|
|
1936
|
+
readonly value: string;
|
|
1937
|
+
}[] | undefined;
|
|
1938
|
+
} & {
|
|
1939
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1940
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
1941
|
+
readonly identityDid?: string | undefined;
|
|
1942
|
+
readonly identityKey?: string | undefined;
|
|
1943
|
+
readonly email?: string | undefined;
|
|
1944
|
+
readonly name?: string | undefined;
|
|
1945
|
+
};
|
|
1946
|
+
readonly blocks: readonly ({
|
|
1947
|
+
readonly _tag: "anchor";
|
|
1948
|
+
readonly pending?: boolean | undefined;
|
|
1949
|
+
readonly objectId: string;
|
|
1950
|
+
readonly version: unknown;
|
|
1951
|
+
} | {
|
|
1952
|
+
readonly _tag: "file";
|
|
1953
|
+
readonly pending?: boolean | undefined;
|
|
1954
|
+
readonly url: string;
|
|
1955
|
+
readonly name?: string | undefined;
|
|
1956
|
+
readonly mediaType?: string | undefined;
|
|
1957
|
+
} | {
|
|
1958
|
+
readonly _tag: "image";
|
|
1959
|
+
readonly pending?: boolean | undefined;
|
|
1960
|
+
readonly id?: string | undefined;
|
|
1961
|
+
readonly source?: {
|
|
1962
|
+
readonly type: "base64";
|
|
1963
|
+
readonly mediaType: string;
|
|
1964
|
+
readonly data: string;
|
|
1965
|
+
} | {
|
|
1966
|
+
readonly type: "http";
|
|
1967
|
+
readonly url: string;
|
|
1968
|
+
} | undefined;
|
|
1969
|
+
} | {
|
|
1970
|
+
readonly _tag: "json";
|
|
1971
|
+
readonly pending?: boolean | undefined;
|
|
1972
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1973
|
+
readonly data: string;
|
|
1974
|
+
} | {
|
|
1975
|
+
readonly _tag: "proposal";
|
|
1976
|
+
readonly pending?: boolean | undefined;
|
|
1977
|
+
readonly text: string;
|
|
1978
|
+
} | {
|
|
1979
|
+
readonly _tag: "reasoning";
|
|
1980
|
+
readonly pending?: boolean | undefined;
|
|
1981
|
+
readonly reasoningText?: string | undefined;
|
|
1982
|
+
readonly redactedText?: string | undefined;
|
|
1983
|
+
readonly signature?: string | undefined;
|
|
1984
|
+
} | {
|
|
1985
|
+
readonly _tag: "reference";
|
|
1986
|
+
readonly pending?: boolean | undefined;
|
|
1987
|
+
readonly reference: import("@dxos/echo/internal").Ref<Obj.Unknown>;
|
|
1988
|
+
} | {
|
|
1989
|
+
readonly _tag: "select";
|
|
1990
|
+
readonly pending?: boolean | undefined;
|
|
1991
|
+
readonly options: string[];
|
|
1992
|
+
} | {
|
|
1993
|
+
readonly _tag: "status";
|
|
1994
|
+
readonly pending?: boolean | undefined;
|
|
1995
|
+
readonly statusText: string;
|
|
1996
|
+
} | {
|
|
1997
|
+
readonly _tag: "suggestion";
|
|
1998
|
+
readonly pending?: boolean | undefined;
|
|
1999
|
+
readonly text: string;
|
|
2000
|
+
} | {
|
|
2001
|
+
readonly _tag: "stats";
|
|
2002
|
+
readonly pending?: boolean | undefined;
|
|
2003
|
+
readonly mimeType?: string | undefined;
|
|
2004
|
+
readonly message?: string | undefined;
|
|
2005
|
+
readonly model?: string | undefined;
|
|
2006
|
+
readonly usage?: {
|
|
2007
|
+
readonly inputTokens?: number | undefined;
|
|
2008
|
+
readonly outputTokens?: number | undefined;
|
|
2009
|
+
readonly totalTokens?: number | undefined;
|
|
2010
|
+
} | undefined;
|
|
2011
|
+
readonly toolCalls?: number | undefined;
|
|
2012
|
+
readonly errors?: number | undefined;
|
|
2013
|
+
readonly duration?: number | undefined;
|
|
2014
|
+
} | {
|
|
2015
|
+
readonly _tag: "text";
|
|
2016
|
+
readonly pending?: boolean | undefined;
|
|
2017
|
+
readonly mimeType?: string | undefined;
|
|
2018
|
+
readonly text: string;
|
|
2019
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
2020
|
+
} | {
|
|
2021
|
+
readonly _tag: "summary";
|
|
2022
|
+
readonly pending?: boolean | undefined;
|
|
2023
|
+
readonly content: string;
|
|
2024
|
+
} | {
|
|
2025
|
+
readonly _tag: "toolkit";
|
|
2026
|
+
readonly pending?: boolean | undefined;
|
|
2027
|
+
} | {
|
|
2028
|
+
readonly _tag: "toolCall";
|
|
2029
|
+
readonly pending?: boolean | undefined;
|
|
2030
|
+
readonly toolCallId: string;
|
|
2031
|
+
readonly name: string;
|
|
2032
|
+
readonly input: string;
|
|
2033
|
+
readonly providerExecuted: boolean;
|
|
2034
|
+
readonly operationKey?: string | undefined;
|
|
2035
|
+
readonly operationName?: string | undefined;
|
|
2036
|
+
readonly operationIcon?: string | undefined;
|
|
2037
|
+
} | {
|
|
2038
|
+
readonly _tag: "toolResult";
|
|
2039
|
+
readonly pending?: boolean | undefined;
|
|
2040
|
+
readonly toolCallId: string;
|
|
2041
|
+
readonly name: string;
|
|
2042
|
+
readonly result?: string | {
|
|
2043
|
+
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
2044
|
+
readonly content: readonly ({
|
|
2045
|
+
readonly _tag: "file";
|
|
2046
|
+
readonly pending?: boolean | undefined;
|
|
2047
|
+
readonly url: string;
|
|
2048
|
+
readonly name?: string | undefined;
|
|
2049
|
+
readonly mediaType?: string | undefined;
|
|
2050
|
+
} | {
|
|
2051
|
+
readonly _tag: "image";
|
|
2052
|
+
readonly pending?: boolean | undefined;
|
|
2053
|
+
readonly id?: string | undefined;
|
|
2054
|
+
readonly source?: {
|
|
2055
|
+
readonly type: "base64";
|
|
2056
|
+
readonly mediaType: string;
|
|
2057
|
+
readonly data: string;
|
|
2058
|
+
} | {
|
|
2059
|
+
readonly type: "http";
|
|
2060
|
+
readonly url: string;
|
|
2061
|
+
} | undefined;
|
|
2062
|
+
} | {
|
|
2063
|
+
readonly _tag: "text";
|
|
2064
|
+
readonly pending?: boolean | undefined;
|
|
2065
|
+
readonly mimeType?: string | undefined;
|
|
2066
|
+
readonly text: string;
|
|
2067
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
2068
|
+
})[];
|
|
2069
|
+
} | undefined;
|
|
2070
|
+
readonly error?: string | undefined;
|
|
2071
|
+
readonly providerExecuted: boolean;
|
|
2072
|
+
} | {
|
|
2073
|
+
readonly _tag: "transcript";
|
|
2074
|
+
readonly pending?: boolean | undefined;
|
|
2075
|
+
readonly started: string;
|
|
2076
|
+
readonly text: string;
|
|
2077
|
+
})[];
|
|
2078
|
+
readonly properties?: {
|
|
2079
|
+
readonly [x: string]: any;
|
|
2080
|
+
} | undefined;
|
|
2081
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>[];
|
|
2082
|
+
readonly agent?: {
|
|
2083
|
+
readonly enabled: boolean;
|
|
2084
|
+
readonly mode: "auto" | "mention";
|
|
2085
|
+
} | undefined;
|
|
2086
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>;
|
|
2087
|
+
readonly anchor: import("@dxos/echo/Relation").Endpoints<Obj.Unknown & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>, Obj.Unknown & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>> & {
|
|
2088
|
+
readonly id: string;
|
|
2089
|
+
readonly anchor?: string | undefined;
|
|
2090
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation>;
|
|
2091
|
+
}, void, Capability.Service>;
|
|
2092
|
+
/**
|
|
2093
|
+
* Restore a deleted message (inverse of DeleteMessage).
|
|
2094
|
+
*/
|
|
2095
|
+
export declare const RestoreMessage: Operation.Definition<{
|
|
2096
|
+
readonly anchor: import("@dxos/echo/Relation").Endpoints<Obj.Unknown & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>, Obj.Unknown & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>> & {
|
|
2097
|
+
readonly id: string;
|
|
2098
|
+
readonly anchor?: string | undefined;
|
|
2099
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation>;
|
|
2100
|
+
readonly message: {
|
|
2101
|
+
readonly id: string;
|
|
2102
|
+
readonly parentMessage?: string | undefined;
|
|
2103
|
+
readonly threadId?: string | undefined;
|
|
2104
|
+
readonly created: string;
|
|
2105
|
+
readonly sender: {
|
|
2106
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
2107
|
+
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
2078
2108
|
readonly fullName?: string | undefined;
|
|
2079
2109
|
readonly preferredName?: string | undefined;
|
|
2080
2110
|
readonly nickname?: string | undefined;
|
|
2081
|
-
readonly
|
|
2082
|
-
|
|
2111
|
+
readonly image?: string | undefined;
|
|
2112
|
+
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
2083
2113
|
readonly name?: string | undefined;
|
|
2084
|
-
readonly
|
|
2114
|
+
readonly description?: string | undefined;
|
|
2115
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
2085
2116
|
readonly image?: string | undefined;
|
|
2086
2117
|
readonly website?: string | undefined;
|
|
2087
2118
|
} & {
|
|
2088
2119
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
2089
|
-
}> | undefined;
|
|
2120
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
2090
2121
|
readonly jobTitle?: string | undefined;
|
|
2091
2122
|
readonly department?: string | undefined;
|
|
2092
2123
|
readonly notes?: string | undefined;
|
|
2093
2124
|
readonly emails?: readonly {
|
|
2094
|
-
readonly value: string;
|
|
2095
2125
|
readonly label?: string | undefined;
|
|
2126
|
+
readonly value: string;
|
|
2096
2127
|
}[] | undefined;
|
|
2097
2128
|
readonly identities?: readonly {
|
|
2098
|
-
readonly value: string;
|
|
2099
2129
|
readonly label?: string | undefined;
|
|
2130
|
+
readonly value: string;
|
|
2100
2131
|
}[] | undefined;
|
|
2101
2132
|
readonly phoneNumbers?: readonly {
|
|
2102
|
-
readonly value: string;
|
|
2103
2133
|
readonly label?: string | undefined;
|
|
2104
|
-
}[] | undefined;
|
|
2105
|
-
readonly fields?: readonly {
|
|
2106
2134
|
readonly value: string;
|
|
2107
|
-
readonly label: string;
|
|
2108
|
-
readonly category?: string | undefined;
|
|
2109
2135
|
}[] | undefined;
|
|
2110
2136
|
readonly addresses?: readonly {
|
|
2137
|
+
readonly label?: string | undefined;
|
|
2111
2138
|
readonly value: {
|
|
2112
2139
|
readonly street?: string | undefined;
|
|
2113
2140
|
readonly extended?: string | undefined;
|
|
@@ -2117,62 +2144,40 @@ export declare const DeleteMessageOutput: Schema.SchemaClass<{
|
|
|
2117
2144
|
readonly postOfficeBoxNumber?: string | undefined;
|
|
2118
2145
|
readonly country?: string | undefined;
|
|
2119
2146
|
};
|
|
2120
|
-
readonly label?: string | undefined;
|
|
2121
2147
|
}[] | undefined;
|
|
2122
2148
|
readonly urls?: readonly {
|
|
2123
|
-
readonly value: string;
|
|
2124
2149
|
readonly label?: string | undefined;
|
|
2150
|
+
readonly value: string;
|
|
2125
2151
|
}[] | undefined;
|
|
2126
2152
|
readonly birthday?: string | undefined;
|
|
2153
|
+
readonly fields?: readonly {
|
|
2154
|
+
readonly category?: string | undefined;
|
|
2155
|
+
readonly label: string;
|
|
2156
|
+
readonly value: string;
|
|
2157
|
+
}[] | undefined;
|
|
2127
2158
|
} & {
|
|
2128
2159
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
2129
|
-
}> | undefined;
|
|
2160
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
2130
2161
|
readonly identityDid?: string | undefined;
|
|
2131
2162
|
readonly identityKey?: string | undefined;
|
|
2132
2163
|
readonly email?: string | undefined;
|
|
2164
|
+
readonly name?: string | undefined;
|
|
2133
2165
|
};
|
|
2134
|
-
blocks: ({
|
|
2135
|
-
readonly
|
|
2136
|
-
readonly text: string;
|
|
2137
|
-
readonly mimeType?: string | undefined;
|
|
2138
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
2139
|
-
readonly _tag: "text";
|
|
2140
|
-
} | {
|
|
2141
|
-
readonly pending?: boolean | undefined;
|
|
2142
|
-
readonly _tag: "reasoning";
|
|
2143
|
-
readonly reasoningText?: string | undefined;
|
|
2144
|
-
readonly redactedText?: string | undefined;
|
|
2145
|
-
readonly signature?: string | undefined;
|
|
2146
|
-
} | {
|
|
2147
|
-
readonly name: string;
|
|
2166
|
+
readonly blocks: readonly ({
|
|
2167
|
+
readonly _tag: "anchor";
|
|
2148
2168
|
readonly pending?: boolean | undefined;
|
|
2149
|
-
readonly
|
|
2150
|
-
readonly
|
|
2151
|
-
readonly input: string;
|
|
2152
|
-
readonly providerExecuted: boolean;
|
|
2169
|
+
readonly objectId: string;
|
|
2170
|
+
readonly version: unknown;
|
|
2153
2171
|
} | {
|
|
2154
|
-
readonly
|
|
2172
|
+
readonly _tag: "file";
|
|
2155
2173
|
readonly pending?: boolean | undefined;
|
|
2156
|
-
readonly
|
|
2157
|
-
readonly
|
|
2158
|
-
readonly
|
|
2159
|
-
readonly result?: string | undefined;
|
|
2160
|
-
readonly error?: string | undefined;
|
|
2174
|
+
readonly url: string;
|
|
2175
|
+
readonly name?: string | undefined;
|
|
2176
|
+
readonly mediaType?: string | undefined;
|
|
2161
2177
|
} | {
|
|
2178
|
+
readonly _tag: "image";
|
|
2162
2179
|
readonly pending?: boolean | undefined;
|
|
2163
|
-
readonly
|
|
2164
|
-
readonly _tag: "stats";
|
|
2165
|
-
readonly message?: string | undefined;
|
|
2166
|
-
readonly model?: string | undefined;
|
|
2167
|
-
readonly usage?: {
|
|
2168
|
-
readonly inputTokens?: number | undefined;
|
|
2169
|
-
readonly outputTokens?: number | undefined;
|
|
2170
|
-
readonly totalTokens?: number | undefined;
|
|
2171
|
-
} | undefined;
|
|
2172
|
-
readonly toolCalls?: number | undefined;
|
|
2173
|
-
readonly errors?: number | undefined;
|
|
2174
|
-
readonly duration?: number | undefined;
|
|
2175
|
-
} | {
|
|
2180
|
+
readonly id?: string | undefined;
|
|
2176
2181
|
readonly source?: {
|
|
2177
2182
|
readonly type: "base64";
|
|
2178
2183
|
readonly mediaType: string;
|
|
@@ -2181,170 +2186,41 @@ export declare const DeleteMessageOutput: Schema.SchemaClass<{
|
|
|
2181
2186
|
readonly type: "http";
|
|
2182
2187
|
readonly url: string;
|
|
2183
2188
|
} | undefined;
|
|
2184
|
-
readonly id?: string | undefined;
|
|
2185
|
-
readonly pending?: boolean | undefined;
|
|
2186
|
-
readonly _tag: "image";
|
|
2187
|
-
} | {
|
|
2188
|
-
readonly name?: string | undefined;
|
|
2189
|
-
readonly pending?: boolean | undefined;
|
|
2190
|
-
readonly _tag: "file";
|
|
2191
|
-
readonly mediaType?: string | undefined;
|
|
2192
|
-
readonly url: string;
|
|
2193
2189
|
} | {
|
|
2190
|
+
readonly _tag: "json";
|
|
2194
2191
|
readonly pending?: boolean | undefined;
|
|
2195
|
-
readonly
|
|
2196
|
-
readonly
|
|
2192
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
2193
|
+
readonly data: string;
|
|
2197
2194
|
} | {
|
|
2195
|
+
readonly _tag: "proposal";
|
|
2198
2196
|
readonly pending?: boolean | undefined;
|
|
2199
2197
|
readonly text: string;
|
|
2200
|
-
readonly _tag: "transcript";
|
|
2201
|
-
readonly started: string;
|
|
2202
2198
|
} | {
|
|
2199
|
+
readonly _tag: "reasoning";
|
|
2203
2200
|
readonly pending?: boolean | undefined;
|
|
2204
|
-
readonly
|
|
2205
|
-
readonly
|
|
2201
|
+
readonly reasoningText?: string | undefined;
|
|
2202
|
+
readonly redactedText?: string | undefined;
|
|
2203
|
+
readonly signature?: string | undefined;
|
|
2206
2204
|
} | {
|
|
2205
|
+
readonly _tag: "reference";
|
|
2207
2206
|
readonly pending?: boolean | undefined;
|
|
2208
|
-
readonly
|
|
2209
|
-
readonly _tag: "suggestion";
|
|
2207
|
+
readonly reference: import("@dxos/echo/internal").Ref<Obj.Unknown>;
|
|
2210
2208
|
} | {
|
|
2211
|
-
readonly pending?: boolean | undefined;
|
|
2212
2209
|
readonly _tag: "select";
|
|
2213
|
-
readonly options: string[];
|
|
2214
|
-
} | {
|
|
2215
|
-
readonly version: unknown;
|
|
2216
|
-
readonly pending?: boolean | undefined;
|
|
2217
|
-
readonly _tag: "anchor";
|
|
2218
|
-
readonly objectId: string;
|
|
2219
|
-
} | {
|
|
2220
2210
|
readonly pending?: boolean | undefined;
|
|
2221
|
-
readonly
|
|
2222
|
-
readonly _tag: "proposal";
|
|
2223
|
-
} | {
|
|
2224
|
-
readonly pending?: boolean | undefined;
|
|
2225
|
-
readonly _tag: "summary";
|
|
2226
|
-
readonly content: string;
|
|
2211
|
+
readonly options: string[];
|
|
2227
2212
|
} | {
|
|
2213
|
+
readonly _tag: "status";
|
|
2228
2214
|
readonly pending?: boolean | undefined;
|
|
2229
|
-
readonly
|
|
2215
|
+
readonly statusText: string;
|
|
2230
2216
|
} | {
|
|
2231
|
-
readonly
|
|
2232
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
2233
|
-
readonly _tag: "json";
|
|
2234
|
-
readonly data: string;
|
|
2235
|
-
})[];
|
|
2236
|
-
properties?: {
|
|
2237
|
-
readonly [x: string]: any;
|
|
2238
|
-
} | undefined | undefined;
|
|
2239
|
-
} | undefined;
|
|
2240
|
-
readonly messageIndex?: number | undefined;
|
|
2241
|
-
}, never>;
|
|
2242
|
-
export type DeleteMessageOutput = Schema.Schema.Type<typeof DeleteMessageOutput>;
|
|
2243
|
-
export declare const DeleteMessage: Operation.Definition<{
|
|
2244
|
-
readonly anchor: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation> & import("@dxos/echo/Relation").Endpoints<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown, import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> & {
|
|
2245
|
-
readonly id: string;
|
|
2246
|
-
readonly anchor?: string | undefined;
|
|
2247
|
-
};
|
|
2248
|
-
readonly subject: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown;
|
|
2249
|
-
readonly messageId: string;
|
|
2250
|
-
}, {
|
|
2251
|
-
readonly message?: (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
2252
|
-
readonly id: string;
|
|
2253
|
-
readonly parentMessage?: string | undefined;
|
|
2254
|
-
readonly threadId?: string | undefined;
|
|
2255
|
-
readonly created: string;
|
|
2256
|
-
readonly sender: {
|
|
2257
|
-
readonly name?: string | undefined;
|
|
2258
|
-
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
2259
|
-
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
2260
|
-
readonly image?: string | undefined;
|
|
2261
|
-
readonly fullName?: string | undefined;
|
|
2262
|
-
readonly preferredName?: string | undefined;
|
|
2263
|
-
readonly nickname?: string | undefined;
|
|
2264
|
-
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
2265
|
-
readonly description?: string | undefined;
|
|
2266
|
-
readonly name?: string | undefined;
|
|
2267
|
-
readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
2268
|
-
readonly image?: string | undefined;
|
|
2269
|
-
readonly website?: string | undefined;
|
|
2270
|
-
} & {
|
|
2271
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
2272
|
-
}> | undefined;
|
|
2273
|
-
readonly jobTitle?: string | undefined;
|
|
2274
|
-
readonly department?: string | undefined;
|
|
2275
|
-
readonly notes?: string | undefined;
|
|
2276
|
-
readonly emails?: readonly {
|
|
2277
|
-
readonly value: string;
|
|
2278
|
-
readonly label?: string | undefined;
|
|
2279
|
-
}[] | undefined;
|
|
2280
|
-
readonly identities?: readonly {
|
|
2281
|
-
readonly value: string;
|
|
2282
|
-
readonly label?: string | undefined;
|
|
2283
|
-
}[] | undefined;
|
|
2284
|
-
readonly phoneNumbers?: readonly {
|
|
2285
|
-
readonly value: string;
|
|
2286
|
-
readonly label?: string | undefined;
|
|
2287
|
-
}[] | undefined;
|
|
2288
|
-
readonly fields?: readonly {
|
|
2289
|
-
readonly value: string;
|
|
2290
|
-
readonly label: string;
|
|
2291
|
-
readonly category?: string | undefined;
|
|
2292
|
-
}[] | undefined;
|
|
2293
|
-
readonly addresses?: readonly {
|
|
2294
|
-
readonly value: {
|
|
2295
|
-
readonly street?: string | undefined;
|
|
2296
|
-
readonly extended?: string | undefined;
|
|
2297
|
-
readonly locality?: string | undefined;
|
|
2298
|
-
readonly region?: string | undefined;
|
|
2299
|
-
readonly postalCode?: string | undefined;
|
|
2300
|
-
readonly postOfficeBoxNumber?: string | undefined;
|
|
2301
|
-
readonly country?: string | undefined;
|
|
2302
|
-
};
|
|
2303
|
-
readonly label?: string | undefined;
|
|
2304
|
-
}[] | undefined;
|
|
2305
|
-
readonly urls?: readonly {
|
|
2306
|
-
readonly value: string;
|
|
2307
|
-
readonly label?: string | undefined;
|
|
2308
|
-
}[] | undefined;
|
|
2309
|
-
readonly birthday?: string | undefined;
|
|
2310
|
-
} & {
|
|
2311
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
2312
|
-
}> | undefined;
|
|
2313
|
-
readonly identityDid?: string | undefined;
|
|
2314
|
-
readonly identityKey?: string | undefined;
|
|
2315
|
-
readonly email?: string | undefined;
|
|
2316
|
-
};
|
|
2317
|
-
readonly blocks: readonly ({
|
|
2217
|
+
readonly _tag: "suggestion";
|
|
2318
2218
|
readonly pending?: boolean | undefined;
|
|
2319
2219
|
readonly text: string;
|
|
2320
|
-
readonly mimeType?: string | undefined;
|
|
2321
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
2322
|
-
readonly _tag: "text";
|
|
2323
|
-
} | {
|
|
2324
|
-
readonly pending?: boolean | undefined;
|
|
2325
|
-
readonly _tag: "reasoning";
|
|
2326
|
-
readonly reasoningText?: string | undefined;
|
|
2327
|
-
readonly redactedText?: string | undefined;
|
|
2328
|
-
readonly signature?: string | undefined;
|
|
2329
|
-
} | {
|
|
2330
|
-
readonly name: string;
|
|
2331
|
-
readonly pending?: boolean | undefined;
|
|
2332
|
-
readonly _tag: "toolCall";
|
|
2333
|
-
readonly toolCallId: string;
|
|
2334
|
-
readonly input: string;
|
|
2335
|
-
readonly providerExecuted: boolean;
|
|
2336
|
-
} | {
|
|
2337
|
-
readonly name: string;
|
|
2338
|
-
readonly pending?: boolean | undefined;
|
|
2339
|
-
readonly _tag: "toolResult";
|
|
2340
|
-
readonly toolCallId: string;
|
|
2341
|
-
readonly providerExecuted: boolean;
|
|
2342
|
-
readonly result?: string | undefined;
|
|
2343
|
-
readonly error?: string | undefined;
|
|
2344
2220
|
} | {
|
|
2221
|
+
readonly _tag: "stats";
|
|
2345
2222
|
readonly pending?: boolean | undefined;
|
|
2346
2223
|
readonly mimeType?: string | undefined;
|
|
2347
|
-
readonly _tag: "stats";
|
|
2348
2224
|
readonly message?: string | undefined;
|
|
2349
2225
|
readonly model?: string | undefined;
|
|
2350
2226
|
readonly usage?: {
|
|
@@ -2356,126 +2232,117 @@ export declare const DeleteMessage: Operation.Definition<{
|
|
|
2356
2232
|
readonly errors?: number | undefined;
|
|
2357
2233
|
readonly duration?: number | undefined;
|
|
2358
2234
|
} | {
|
|
2359
|
-
readonly
|
|
2360
|
-
readonly type: "base64";
|
|
2361
|
-
readonly mediaType: string;
|
|
2362
|
-
readonly data: string;
|
|
2363
|
-
} | {
|
|
2364
|
-
readonly type: "http";
|
|
2365
|
-
readonly url: string;
|
|
2366
|
-
} | undefined;
|
|
2367
|
-
readonly id?: string | undefined;
|
|
2368
|
-
readonly pending?: boolean | undefined;
|
|
2369
|
-
readonly _tag: "image";
|
|
2370
|
-
} | {
|
|
2371
|
-
readonly name?: string | undefined;
|
|
2372
|
-
readonly pending?: boolean | undefined;
|
|
2373
|
-
readonly _tag: "file";
|
|
2374
|
-
readonly mediaType?: string | undefined;
|
|
2375
|
-
readonly url: string;
|
|
2376
|
-
} | {
|
|
2377
|
-
readonly pending?: boolean | undefined;
|
|
2378
|
-
readonly _tag: "reference";
|
|
2379
|
-
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
2380
|
-
} | {
|
|
2381
|
-
readonly pending?: boolean | undefined;
|
|
2382
|
-
readonly text: string;
|
|
2383
|
-
readonly _tag: "transcript";
|
|
2384
|
-
readonly started: string;
|
|
2385
|
-
} | {
|
|
2386
|
-
readonly pending?: boolean | undefined;
|
|
2387
|
-
readonly _tag: "status";
|
|
2388
|
-
readonly statusText: string;
|
|
2389
|
-
} | {
|
|
2390
|
-
readonly pending?: boolean | undefined;
|
|
2391
|
-
readonly text: string;
|
|
2392
|
-
readonly _tag: "suggestion";
|
|
2393
|
-
} | {
|
|
2235
|
+
readonly _tag: "text";
|
|
2394
2236
|
readonly pending?: boolean | undefined;
|
|
2395
|
-
readonly
|
|
2396
|
-
readonly
|
|
2237
|
+
readonly mimeType?: string | undefined;
|
|
2238
|
+
readonly text: string;
|
|
2239
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
2397
2240
|
} | {
|
|
2398
|
-
readonly
|
|
2241
|
+
readonly _tag: "summary";
|
|
2399
2242
|
readonly pending?: boolean | undefined;
|
|
2400
|
-
readonly
|
|
2401
|
-
readonly objectId: string;
|
|
2243
|
+
readonly content: string;
|
|
2402
2244
|
} | {
|
|
2245
|
+
readonly _tag: "toolkit";
|
|
2403
2246
|
readonly pending?: boolean | undefined;
|
|
2404
|
-
readonly text: string;
|
|
2405
|
-
readonly _tag: "proposal";
|
|
2406
2247
|
} | {
|
|
2248
|
+
readonly _tag: "toolCall";
|
|
2407
2249
|
readonly pending?: boolean | undefined;
|
|
2408
|
-
readonly
|
|
2409
|
-
readonly
|
|
2250
|
+
readonly toolCallId: string;
|
|
2251
|
+
readonly name: string;
|
|
2252
|
+
readonly input: string;
|
|
2253
|
+
readonly providerExecuted: boolean;
|
|
2254
|
+
readonly operationKey?: string | undefined;
|
|
2255
|
+
readonly operationName?: string | undefined;
|
|
2256
|
+
readonly operationIcon?: string | undefined;
|
|
2410
2257
|
} | {
|
|
2258
|
+
readonly _tag: "toolResult";
|
|
2411
2259
|
readonly pending?: boolean | undefined;
|
|
2412
|
-
readonly
|
|
2260
|
+
readonly toolCallId: string;
|
|
2261
|
+
readonly name: string;
|
|
2262
|
+
readonly result?: string | {
|
|
2263
|
+
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
2264
|
+
readonly content: readonly ({
|
|
2265
|
+
readonly _tag: "file";
|
|
2266
|
+
readonly pending?: boolean | undefined;
|
|
2267
|
+
readonly url: string;
|
|
2268
|
+
readonly name?: string | undefined;
|
|
2269
|
+
readonly mediaType?: string | undefined;
|
|
2270
|
+
} | {
|
|
2271
|
+
readonly _tag: "image";
|
|
2272
|
+
readonly pending?: boolean | undefined;
|
|
2273
|
+
readonly id?: string | undefined;
|
|
2274
|
+
readonly source?: {
|
|
2275
|
+
readonly type: "base64";
|
|
2276
|
+
readonly mediaType: string;
|
|
2277
|
+
readonly data: string;
|
|
2278
|
+
} | {
|
|
2279
|
+
readonly type: "http";
|
|
2280
|
+
readonly url: string;
|
|
2281
|
+
} | undefined;
|
|
2282
|
+
} | {
|
|
2283
|
+
readonly _tag: "text";
|
|
2284
|
+
readonly pending?: boolean | undefined;
|
|
2285
|
+
readonly mimeType?: string | undefined;
|
|
2286
|
+
readonly text: string;
|
|
2287
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
2288
|
+
})[];
|
|
2289
|
+
} | undefined;
|
|
2290
|
+
readonly error?: string | undefined;
|
|
2291
|
+
readonly providerExecuted: boolean;
|
|
2413
2292
|
} | {
|
|
2293
|
+
readonly _tag: "transcript";
|
|
2414
2294
|
readonly pending?: boolean | undefined;
|
|
2415
|
-
readonly
|
|
2416
|
-
readonly
|
|
2417
|
-
readonly data: string;
|
|
2295
|
+
readonly started: string;
|
|
2296
|
+
readonly text: string;
|
|
2418
2297
|
})[];
|
|
2419
2298
|
readonly properties?: {
|
|
2420
2299
|
readonly [x: string]: any;
|
|
2421
2300
|
} | undefined;
|
|
2422
|
-
}
|
|
2423
|
-
readonly messageIndex
|
|
2424
|
-
}, Capability.Service>;
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
*/
|
|
2428
|
-
export declare const Restore: Operation.Definition<{
|
|
2429
|
-
readonly anchor: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation> & import("@dxos/echo/Relation").Endpoints<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown, import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> & {
|
|
2430
|
-
readonly id: string;
|
|
2431
|
-
readonly anchor?: string | undefined;
|
|
2432
|
-
};
|
|
2433
|
-
readonly thread: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
2301
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>;
|
|
2302
|
+
readonly messageIndex: number;
|
|
2303
|
+
}, void, Capability.Service>;
|
|
2304
|
+
export declare const RespondToThread: Operation.Definition<{
|
|
2305
|
+
readonly thread: import("@dxos/echo/internal").Ref<{
|
|
2434
2306
|
readonly name?: string | undefined;
|
|
2435
|
-
readonly status?: "active" | "
|
|
2436
|
-
readonly messages: readonly import("@dxos/echo/internal").Ref<
|
|
2307
|
+
readonly status?: "active" | "resolved" | "staged" | undefined;
|
|
2308
|
+
readonly messages: readonly import("@dxos/echo/internal").Ref<{
|
|
2437
2309
|
readonly id: string;
|
|
2438
2310
|
readonly parentMessage?: string | undefined;
|
|
2439
2311
|
readonly threadId?: string | undefined;
|
|
2440
2312
|
readonly created: string;
|
|
2441
2313
|
readonly sender: {
|
|
2442
|
-
readonly
|
|
2443
|
-
readonly
|
|
2444
|
-
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
2445
|
-
readonly image?: string | undefined;
|
|
2314
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
2315
|
+
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
2446
2316
|
readonly fullName?: string | undefined;
|
|
2447
2317
|
readonly preferredName?: string | undefined;
|
|
2448
2318
|
readonly nickname?: string | undefined;
|
|
2449
|
-
readonly
|
|
2450
|
-
|
|
2319
|
+
readonly image?: string | undefined;
|
|
2320
|
+
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
2451
2321
|
readonly name?: string | undefined;
|
|
2452
|
-
readonly
|
|
2322
|
+
readonly description?: string | undefined;
|
|
2323
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
2453
2324
|
readonly image?: string | undefined;
|
|
2454
2325
|
readonly website?: string | undefined;
|
|
2455
2326
|
} & {
|
|
2456
2327
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
2457
|
-
}> | undefined;
|
|
2328
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
2458
2329
|
readonly jobTitle?: string | undefined;
|
|
2459
2330
|
readonly department?: string | undefined;
|
|
2460
2331
|
readonly notes?: string | undefined;
|
|
2461
2332
|
readonly emails?: readonly {
|
|
2462
|
-
readonly value: string;
|
|
2463
2333
|
readonly label?: string | undefined;
|
|
2334
|
+
readonly value: string;
|
|
2464
2335
|
}[] | undefined;
|
|
2465
2336
|
readonly identities?: readonly {
|
|
2466
|
-
readonly value: string;
|
|
2467
2337
|
readonly label?: string | undefined;
|
|
2338
|
+
readonly value: string;
|
|
2468
2339
|
}[] | undefined;
|
|
2469
2340
|
readonly phoneNumbers?: readonly {
|
|
2470
|
-
readonly value: string;
|
|
2471
2341
|
readonly label?: string | undefined;
|
|
2472
|
-
}[] | undefined;
|
|
2473
|
-
readonly fields?: readonly {
|
|
2474
2342
|
readonly value: string;
|
|
2475
|
-
readonly label: string;
|
|
2476
|
-
readonly category?: string | undefined;
|
|
2477
2343
|
}[] | undefined;
|
|
2478
2344
|
readonly addresses?: readonly {
|
|
2345
|
+
readonly label?: string | undefined;
|
|
2479
2346
|
readonly value: {
|
|
2480
2347
|
readonly street?: string | undefined;
|
|
2481
2348
|
readonly extended?: string | undefined;
|
|
@@ -2485,51 +2352,83 @@ export declare const Restore: Operation.Definition<{
|
|
|
2485
2352
|
readonly postOfficeBoxNumber?: string | undefined;
|
|
2486
2353
|
readonly country?: string | undefined;
|
|
2487
2354
|
};
|
|
2488
|
-
readonly label?: string | undefined;
|
|
2489
2355
|
}[] | undefined;
|
|
2490
2356
|
readonly urls?: readonly {
|
|
2491
|
-
readonly value: string;
|
|
2492
2357
|
readonly label?: string | undefined;
|
|
2358
|
+
readonly value: string;
|
|
2493
2359
|
}[] | undefined;
|
|
2494
2360
|
readonly birthday?: string | undefined;
|
|
2361
|
+
readonly fields?: readonly {
|
|
2362
|
+
readonly category?: string | undefined;
|
|
2363
|
+
readonly label: string;
|
|
2364
|
+
readonly value: string;
|
|
2365
|
+
}[] | undefined;
|
|
2495
2366
|
} & {
|
|
2496
2367
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
2497
|
-
}> | undefined;
|
|
2368
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
2498
2369
|
readonly identityDid?: string | undefined;
|
|
2499
2370
|
readonly identityKey?: string | undefined;
|
|
2500
2371
|
readonly email?: string | undefined;
|
|
2372
|
+
readonly name?: string | undefined;
|
|
2501
2373
|
};
|
|
2502
2374
|
readonly blocks: readonly ({
|
|
2375
|
+
readonly _tag: "anchor";
|
|
2503
2376
|
readonly pending?: boolean | undefined;
|
|
2504
|
-
readonly
|
|
2505
|
-
readonly
|
|
2506
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
2507
|
-
readonly _tag: "text";
|
|
2377
|
+
readonly objectId: string;
|
|
2378
|
+
readonly version: unknown;
|
|
2508
2379
|
} | {
|
|
2380
|
+
readonly _tag: "file";
|
|
2381
|
+
readonly pending?: boolean | undefined;
|
|
2382
|
+
readonly url: string;
|
|
2383
|
+
readonly name?: string | undefined;
|
|
2384
|
+
readonly mediaType?: string | undefined;
|
|
2385
|
+
} | {
|
|
2386
|
+
readonly _tag: "image";
|
|
2387
|
+
readonly pending?: boolean | undefined;
|
|
2388
|
+
readonly id?: string | undefined;
|
|
2389
|
+
readonly source?: {
|
|
2390
|
+
readonly type: "base64";
|
|
2391
|
+
readonly mediaType: string;
|
|
2392
|
+
readonly data: string;
|
|
2393
|
+
} | {
|
|
2394
|
+
readonly type: "http";
|
|
2395
|
+
readonly url: string;
|
|
2396
|
+
} | undefined;
|
|
2397
|
+
} | {
|
|
2398
|
+
readonly _tag: "json";
|
|
2399
|
+
readonly pending?: boolean | undefined;
|
|
2400
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
2401
|
+
readonly data: string;
|
|
2402
|
+
} | {
|
|
2403
|
+
readonly _tag: "proposal";
|
|
2509
2404
|
readonly pending?: boolean | undefined;
|
|
2405
|
+
readonly text: string;
|
|
2406
|
+
} | {
|
|
2510
2407
|
readonly _tag: "reasoning";
|
|
2408
|
+
readonly pending?: boolean | undefined;
|
|
2511
2409
|
readonly reasoningText?: string | undefined;
|
|
2512
2410
|
readonly redactedText?: string | undefined;
|
|
2513
2411
|
readonly signature?: string | undefined;
|
|
2514
2412
|
} | {
|
|
2515
|
-
readonly
|
|
2413
|
+
readonly _tag: "reference";
|
|
2516
2414
|
readonly pending?: boolean | undefined;
|
|
2517
|
-
readonly
|
|
2518
|
-
readonly toolCallId: string;
|
|
2519
|
-
readonly input: string;
|
|
2520
|
-
readonly providerExecuted: boolean;
|
|
2415
|
+
readonly reference: import("@dxos/echo/internal").Ref<Obj.Unknown>;
|
|
2521
2416
|
} | {
|
|
2522
|
-
readonly
|
|
2417
|
+
readonly _tag: "select";
|
|
2523
2418
|
readonly pending?: boolean | undefined;
|
|
2524
|
-
readonly
|
|
2525
|
-
|
|
2526
|
-
readonly
|
|
2527
|
-
readonly
|
|
2528
|
-
readonly
|
|
2419
|
+
readonly options: string[];
|
|
2420
|
+
} | {
|
|
2421
|
+
readonly _tag: "status";
|
|
2422
|
+
readonly pending?: boolean | undefined;
|
|
2423
|
+
readonly statusText: string;
|
|
2529
2424
|
} | {
|
|
2425
|
+
readonly _tag: "suggestion";
|
|
2530
2426
|
readonly pending?: boolean | undefined;
|
|
2531
|
-
readonly
|
|
2427
|
+
readonly text: string;
|
|
2428
|
+
} | {
|
|
2532
2429
|
readonly _tag: "stats";
|
|
2430
|
+
readonly pending?: boolean | undefined;
|
|
2431
|
+
readonly mimeType?: string | undefined;
|
|
2533
2432
|
readonly message?: string | undefined;
|
|
2534
2433
|
readonly model?: string | undefined;
|
|
2535
2434
|
readonly usage?: {
|
|
@@ -2541,6 +2440,165 @@ export declare const Restore: Operation.Definition<{
|
|
|
2541
2440
|
readonly errors?: number | undefined;
|
|
2542
2441
|
readonly duration?: number | undefined;
|
|
2543
2442
|
} | {
|
|
2443
|
+
readonly _tag: "text";
|
|
2444
|
+
readonly pending?: boolean | undefined;
|
|
2445
|
+
readonly mimeType?: string | undefined;
|
|
2446
|
+
readonly text: string;
|
|
2447
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
2448
|
+
} | {
|
|
2449
|
+
readonly _tag: "summary";
|
|
2450
|
+
readonly pending?: boolean | undefined;
|
|
2451
|
+
readonly content: string;
|
|
2452
|
+
} | {
|
|
2453
|
+
readonly _tag: "toolkit";
|
|
2454
|
+
readonly pending?: boolean | undefined;
|
|
2455
|
+
} | {
|
|
2456
|
+
readonly _tag: "toolCall";
|
|
2457
|
+
readonly pending?: boolean | undefined;
|
|
2458
|
+
readonly toolCallId: string;
|
|
2459
|
+
readonly name: string;
|
|
2460
|
+
readonly input: string;
|
|
2461
|
+
readonly providerExecuted: boolean;
|
|
2462
|
+
readonly operationKey?: string | undefined;
|
|
2463
|
+
readonly operationName?: string | undefined;
|
|
2464
|
+
readonly operationIcon?: string | undefined;
|
|
2465
|
+
} | {
|
|
2466
|
+
readonly _tag: "toolResult";
|
|
2467
|
+
readonly pending?: boolean | undefined;
|
|
2468
|
+
readonly toolCallId: string;
|
|
2469
|
+
readonly name: string;
|
|
2470
|
+
readonly result?: string | {
|
|
2471
|
+
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
2472
|
+
readonly content: readonly ({
|
|
2473
|
+
readonly _tag: "file";
|
|
2474
|
+
readonly pending?: boolean | undefined;
|
|
2475
|
+
readonly url: string;
|
|
2476
|
+
readonly name?: string | undefined;
|
|
2477
|
+
readonly mediaType?: string | undefined;
|
|
2478
|
+
} | {
|
|
2479
|
+
readonly _tag: "image";
|
|
2480
|
+
readonly pending?: boolean | undefined;
|
|
2481
|
+
readonly id?: string | undefined;
|
|
2482
|
+
readonly source?: {
|
|
2483
|
+
readonly type: "base64";
|
|
2484
|
+
readonly mediaType: string;
|
|
2485
|
+
readonly data: string;
|
|
2486
|
+
} | {
|
|
2487
|
+
readonly type: "http";
|
|
2488
|
+
readonly url: string;
|
|
2489
|
+
} | undefined;
|
|
2490
|
+
} | {
|
|
2491
|
+
readonly _tag: "text";
|
|
2492
|
+
readonly pending?: boolean | undefined;
|
|
2493
|
+
readonly mimeType?: string | undefined;
|
|
2494
|
+
readonly text: string;
|
|
2495
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
2496
|
+
})[];
|
|
2497
|
+
} | undefined;
|
|
2498
|
+
readonly error?: string | undefined;
|
|
2499
|
+
readonly providerExecuted: boolean;
|
|
2500
|
+
} | {
|
|
2501
|
+
readonly _tag: "transcript";
|
|
2502
|
+
readonly pending?: boolean | undefined;
|
|
2503
|
+
readonly started: string;
|
|
2504
|
+
readonly text: string;
|
|
2505
|
+
})[];
|
|
2506
|
+
readonly properties?: {
|
|
2507
|
+
readonly [x: string]: any;
|
|
2508
|
+
} | undefined;
|
|
2509
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>[];
|
|
2510
|
+
readonly agent?: {
|
|
2511
|
+
readonly enabled: boolean;
|
|
2512
|
+
readonly mode: "auto" | "mention";
|
|
2513
|
+
} | undefined;
|
|
2514
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
2515
|
+
readonly subject: import("@dxos/echo/internal").Ref<Obj.Unknown>;
|
|
2516
|
+
}, void, Capability.Service>;
|
|
2517
|
+
export declare const SetAgentConfig: Operation.Definition<{
|
|
2518
|
+
readonly thread: import("@dxos/echo/internal").Ref<{
|
|
2519
|
+
readonly name?: string | undefined;
|
|
2520
|
+
readonly status?: "active" | "resolved" | "staged" | undefined;
|
|
2521
|
+
readonly messages: readonly import("@dxos/echo/internal").Ref<{
|
|
2522
|
+
readonly id: string;
|
|
2523
|
+
readonly parentMessage?: string | undefined;
|
|
2524
|
+
readonly threadId?: string | undefined;
|
|
2525
|
+
readonly created: string;
|
|
2526
|
+
readonly sender: {
|
|
2527
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
2528
|
+
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
2529
|
+
readonly fullName?: string | undefined;
|
|
2530
|
+
readonly preferredName?: string | undefined;
|
|
2531
|
+
readonly nickname?: string | undefined;
|
|
2532
|
+
readonly image?: string | undefined;
|
|
2533
|
+
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
2534
|
+
readonly name?: string | undefined;
|
|
2535
|
+
readonly description?: string | undefined;
|
|
2536
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
2537
|
+
readonly image?: string | undefined;
|
|
2538
|
+
readonly website?: string | undefined;
|
|
2539
|
+
} & {
|
|
2540
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
2541
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
2542
|
+
readonly jobTitle?: string | undefined;
|
|
2543
|
+
readonly department?: string | undefined;
|
|
2544
|
+
readonly notes?: string | undefined;
|
|
2545
|
+
readonly emails?: readonly {
|
|
2546
|
+
readonly label?: string | undefined;
|
|
2547
|
+
readonly value: string;
|
|
2548
|
+
}[] | undefined;
|
|
2549
|
+
readonly identities?: readonly {
|
|
2550
|
+
readonly label?: string | undefined;
|
|
2551
|
+
readonly value: string;
|
|
2552
|
+
}[] | undefined;
|
|
2553
|
+
readonly phoneNumbers?: readonly {
|
|
2554
|
+
readonly label?: string | undefined;
|
|
2555
|
+
readonly value: string;
|
|
2556
|
+
}[] | undefined;
|
|
2557
|
+
readonly addresses?: readonly {
|
|
2558
|
+
readonly label?: string | undefined;
|
|
2559
|
+
readonly value: {
|
|
2560
|
+
readonly street?: string | undefined;
|
|
2561
|
+
readonly extended?: string | undefined;
|
|
2562
|
+
readonly locality?: string | undefined;
|
|
2563
|
+
readonly region?: string | undefined;
|
|
2564
|
+
readonly postalCode?: string | undefined;
|
|
2565
|
+
readonly postOfficeBoxNumber?: string | undefined;
|
|
2566
|
+
readonly country?: string | undefined;
|
|
2567
|
+
};
|
|
2568
|
+
}[] | undefined;
|
|
2569
|
+
readonly urls?: readonly {
|
|
2570
|
+
readonly label?: string | undefined;
|
|
2571
|
+
readonly value: string;
|
|
2572
|
+
}[] | undefined;
|
|
2573
|
+
readonly birthday?: string | undefined;
|
|
2574
|
+
readonly fields?: readonly {
|
|
2575
|
+
readonly category?: string | undefined;
|
|
2576
|
+
readonly label: string;
|
|
2577
|
+
readonly value: string;
|
|
2578
|
+
}[] | undefined;
|
|
2579
|
+
} & {
|
|
2580
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
2581
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
2582
|
+
readonly identityDid?: string | undefined;
|
|
2583
|
+
readonly identityKey?: string | undefined;
|
|
2584
|
+
readonly email?: string | undefined;
|
|
2585
|
+
readonly name?: string | undefined;
|
|
2586
|
+
};
|
|
2587
|
+
readonly blocks: readonly ({
|
|
2588
|
+
readonly _tag: "anchor";
|
|
2589
|
+
readonly pending?: boolean | undefined;
|
|
2590
|
+
readonly objectId: string;
|
|
2591
|
+
readonly version: unknown;
|
|
2592
|
+
} | {
|
|
2593
|
+
readonly _tag: "file";
|
|
2594
|
+
readonly pending?: boolean | undefined;
|
|
2595
|
+
readonly url: string;
|
|
2596
|
+
readonly name?: string | undefined;
|
|
2597
|
+
readonly mediaType?: string | undefined;
|
|
2598
|
+
} | {
|
|
2599
|
+
readonly _tag: "image";
|
|
2600
|
+
readonly pending?: boolean | undefined;
|
|
2601
|
+
readonly id?: string | undefined;
|
|
2544
2602
|
readonly source?: {
|
|
2545
2603
|
readonly type: "base64";
|
|
2546
2604
|
readonly mediaType: string;
|
|
@@ -2549,256 +2607,139 @@ export declare const Restore: Operation.Definition<{
|
|
|
2549
2607
|
readonly type: "http";
|
|
2550
2608
|
readonly url: string;
|
|
2551
2609
|
} | undefined;
|
|
2552
|
-
|
|
2610
|
+
} | {
|
|
2611
|
+
readonly _tag: "json";
|
|
2553
2612
|
readonly pending?: boolean | undefined;
|
|
2554
|
-
readonly
|
|
2613
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
2614
|
+
readonly data: string;
|
|
2555
2615
|
} | {
|
|
2556
|
-
readonly
|
|
2616
|
+
readonly _tag: "proposal";
|
|
2557
2617
|
readonly pending?: boolean | undefined;
|
|
2558
|
-
readonly
|
|
2559
|
-
readonly mediaType?: string | undefined;
|
|
2560
|
-
readonly url: string;
|
|
2618
|
+
readonly text: string;
|
|
2561
2619
|
} | {
|
|
2620
|
+
readonly _tag: "reasoning";
|
|
2562
2621
|
readonly pending?: boolean | undefined;
|
|
2563
|
-
readonly
|
|
2564
|
-
readonly
|
|
2622
|
+
readonly reasoningText?: string | undefined;
|
|
2623
|
+
readonly redactedText?: string | undefined;
|
|
2624
|
+
readonly signature?: string | undefined;
|
|
2565
2625
|
} | {
|
|
2626
|
+
readonly _tag: "reference";
|
|
2566
2627
|
readonly pending?: boolean | undefined;
|
|
2567
|
-
readonly
|
|
2568
|
-
readonly _tag: "transcript";
|
|
2569
|
-
readonly started: string;
|
|
2628
|
+
readonly reference: import("@dxos/echo/internal").Ref<Obj.Unknown>;
|
|
2570
2629
|
} | {
|
|
2630
|
+
readonly _tag: "select";
|
|
2571
2631
|
readonly pending?: boolean | undefined;
|
|
2632
|
+
readonly options: string[];
|
|
2633
|
+
} | {
|
|
2572
2634
|
readonly _tag: "status";
|
|
2635
|
+
readonly pending?: boolean | undefined;
|
|
2573
2636
|
readonly statusText: string;
|
|
2574
2637
|
} | {
|
|
2575
|
-
readonly pending?: boolean | undefined;
|
|
2576
|
-
readonly text: string;
|
|
2577
2638
|
readonly _tag: "suggestion";
|
|
2578
|
-
} | {
|
|
2579
2639
|
readonly pending?: boolean | undefined;
|
|
2580
|
-
readonly
|
|
2581
|
-
readonly options: string[];
|
|
2640
|
+
readonly text: string;
|
|
2582
2641
|
} | {
|
|
2583
|
-
readonly
|
|
2642
|
+
readonly _tag: "stats";
|
|
2584
2643
|
readonly pending?: boolean | undefined;
|
|
2585
|
-
readonly
|
|
2586
|
-
readonly
|
|
2644
|
+
readonly mimeType?: string | undefined;
|
|
2645
|
+
readonly message?: string | undefined;
|
|
2646
|
+
readonly model?: string | undefined;
|
|
2647
|
+
readonly usage?: {
|
|
2648
|
+
readonly inputTokens?: number | undefined;
|
|
2649
|
+
readonly outputTokens?: number | undefined;
|
|
2650
|
+
readonly totalTokens?: number | undefined;
|
|
2651
|
+
} | undefined;
|
|
2652
|
+
readonly toolCalls?: number | undefined;
|
|
2653
|
+
readonly errors?: number | undefined;
|
|
2654
|
+
readonly duration?: number | undefined;
|
|
2587
2655
|
} | {
|
|
2656
|
+
readonly _tag: "text";
|
|
2588
2657
|
readonly pending?: boolean | undefined;
|
|
2658
|
+
readonly mimeType?: string | undefined;
|
|
2589
2659
|
readonly text: string;
|
|
2590
|
-
readonly
|
|
2660
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
2591
2661
|
} | {
|
|
2592
|
-
readonly pending?: boolean | undefined;
|
|
2593
2662
|
readonly _tag: "summary";
|
|
2663
|
+
readonly pending?: boolean | undefined;
|
|
2594
2664
|
readonly content: string;
|
|
2595
2665
|
} | {
|
|
2596
|
-
readonly pending?: boolean | undefined;
|
|
2597
2666
|
readonly _tag: "toolkit";
|
|
2667
|
+
readonly pending?: boolean | undefined;
|
|
2598
2668
|
} | {
|
|
2669
|
+
readonly _tag: "toolCall";
|
|
2599
2670
|
readonly pending?: boolean | undefined;
|
|
2600
|
-
readonly
|
|
2601
|
-
readonly
|
|
2602
|
-
readonly
|
|
2671
|
+
readonly toolCallId: string;
|
|
2672
|
+
readonly name: string;
|
|
2673
|
+
readonly input: string;
|
|
2674
|
+
readonly providerExecuted: boolean;
|
|
2675
|
+
readonly operationKey?: string | undefined;
|
|
2676
|
+
readonly operationName?: string | undefined;
|
|
2677
|
+
readonly operationIcon?: string | undefined;
|
|
2678
|
+
} | {
|
|
2679
|
+
readonly _tag: "toolResult";
|
|
2680
|
+
readonly pending?: boolean | undefined;
|
|
2681
|
+
readonly toolCallId: string;
|
|
2682
|
+
readonly name: string;
|
|
2683
|
+
readonly result?: string | {
|
|
2684
|
+
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
2685
|
+
readonly content: readonly ({
|
|
2686
|
+
readonly _tag: "file";
|
|
2687
|
+
readonly pending?: boolean | undefined;
|
|
2688
|
+
readonly url: string;
|
|
2689
|
+
readonly name?: string | undefined;
|
|
2690
|
+
readonly mediaType?: string | undefined;
|
|
2691
|
+
} | {
|
|
2692
|
+
readonly _tag: "image";
|
|
2693
|
+
readonly pending?: boolean | undefined;
|
|
2694
|
+
readonly id?: string | undefined;
|
|
2695
|
+
readonly source?: {
|
|
2696
|
+
readonly type: "base64";
|
|
2697
|
+
readonly mediaType: string;
|
|
2698
|
+
readonly data: string;
|
|
2699
|
+
} | {
|
|
2700
|
+
readonly type: "http";
|
|
2701
|
+
readonly url: string;
|
|
2702
|
+
} | undefined;
|
|
2703
|
+
} | {
|
|
2704
|
+
readonly _tag: "text";
|
|
2705
|
+
readonly pending?: boolean | undefined;
|
|
2706
|
+
readonly mimeType?: string | undefined;
|
|
2707
|
+
readonly text: string;
|
|
2708
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
2709
|
+
})[];
|
|
2710
|
+
} | undefined;
|
|
2711
|
+
readonly error?: string | undefined;
|
|
2712
|
+
readonly providerExecuted: boolean;
|
|
2713
|
+
} | {
|
|
2714
|
+
readonly _tag: "transcript";
|
|
2715
|
+
readonly pending?: boolean | undefined;
|
|
2716
|
+
readonly started: string;
|
|
2717
|
+
readonly text: string;
|
|
2603
2718
|
})[];
|
|
2604
2719
|
readonly properties?: {
|
|
2605
2720
|
readonly [x: string]: any;
|
|
2606
2721
|
} | undefined;
|
|
2607
|
-
}>[];
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
* Restore a deleted message (inverse of DeleteMessage).
|
|
2612
|
-
*/
|
|
2613
|
-
export declare const RestoreMessage: Operation.Definition<{
|
|
2614
|
-
readonly message: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
2615
|
-
readonly id: string;
|
|
2616
|
-
readonly parentMessage?: string | undefined;
|
|
2617
|
-
readonly threadId?: string | undefined;
|
|
2618
|
-
readonly created: string;
|
|
2619
|
-
readonly sender: {
|
|
2620
|
-
readonly name?: string | undefined;
|
|
2621
|
-
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
2622
|
-
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
2623
|
-
readonly image?: string | undefined;
|
|
2624
|
-
readonly fullName?: string | undefined;
|
|
2625
|
-
readonly preferredName?: string | undefined;
|
|
2626
|
-
readonly nickname?: string | undefined;
|
|
2627
|
-
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
2628
|
-
readonly description?: string | undefined;
|
|
2629
|
-
readonly name?: string | undefined;
|
|
2630
|
-
readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
2631
|
-
readonly image?: string | undefined;
|
|
2632
|
-
readonly website?: string | undefined;
|
|
2633
|
-
} & {
|
|
2634
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
2635
|
-
}> | undefined;
|
|
2636
|
-
readonly jobTitle?: string | undefined;
|
|
2637
|
-
readonly department?: string | undefined;
|
|
2638
|
-
readonly notes?: string | undefined;
|
|
2639
|
-
readonly emails?: readonly {
|
|
2640
|
-
readonly value: string;
|
|
2641
|
-
readonly label?: string | undefined;
|
|
2642
|
-
}[] | undefined;
|
|
2643
|
-
readonly identities?: readonly {
|
|
2644
|
-
readonly value: string;
|
|
2645
|
-
readonly label?: string | undefined;
|
|
2646
|
-
}[] | undefined;
|
|
2647
|
-
readonly phoneNumbers?: readonly {
|
|
2648
|
-
readonly value: string;
|
|
2649
|
-
readonly label?: string | undefined;
|
|
2650
|
-
}[] | undefined;
|
|
2651
|
-
readonly fields?: readonly {
|
|
2652
|
-
readonly value: string;
|
|
2653
|
-
readonly label: string;
|
|
2654
|
-
readonly category?: string | undefined;
|
|
2655
|
-
}[] | undefined;
|
|
2656
|
-
readonly addresses?: readonly {
|
|
2657
|
-
readonly value: {
|
|
2658
|
-
readonly street?: string | undefined;
|
|
2659
|
-
readonly extended?: string | undefined;
|
|
2660
|
-
readonly locality?: string | undefined;
|
|
2661
|
-
readonly region?: string | undefined;
|
|
2662
|
-
readonly postalCode?: string | undefined;
|
|
2663
|
-
readonly postOfficeBoxNumber?: string | undefined;
|
|
2664
|
-
readonly country?: string | undefined;
|
|
2665
|
-
};
|
|
2666
|
-
readonly label?: string | undefined;
|
|
2667
|
-
}[] | undefined;
|
|
2668
|
-
readonly urls?: readonly {
|
|
2669
|
-
readonly value: string;
|
|
2670
|
-
readonly label?: string | undefined;
|
|
2671
|
-
}[] | undefined;
|
|
2672
|
-
readonly birthday?: string | undefined;
|
|
2673
|
-
} & {
|
|
2674
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
2675
|
-
}> | undefined;
|
|
2676
|
-
readonly identityDid?: string | undefined;
|
|
2677
|
-
readonly identityKey?: string | undefined;
|
|
2678
|
-
readonly email?: string | undefined;
|
|
2679
|
-
};
|
|
2680
|
-
readonly blocks: readonly ({
|
|
2681
|
-
readonly pending?: boolean | undefined;
|
|
2682
|
-
readonly text: string;
|
|
2683
|
-
readonly mimeType?: string | undefined;
|
|
2684
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
2685
|
-
readonly _tag: "text";
|
|
2686
|
-
} | {
|
|
2687
|
-
readonly pending?: boolean | undefined;
|
|
2688
|
-
readonly _tag: "reasoning";
|
|
2689
|
-
readonly reasoningText?: string | undefined;
|
|
2690
|
-
readonly redactedText?: string | undefined;
|
|
2691
|
-
readonly signature?: string | undefined;
|
|
2692
|
-
} | {
|
|
2693
|
-
readonly name: string;
|
|
2694
|
-
readonly pending?: boolean | undefined;
|
|
2695
|
-
readonly _tag: "toolCall";
|
|
2696
|
-
readonly toolCallId: string;
|
|
2697
|
-
readonly input: string;
|
|
2698
|
-
readonly providerExecuted: boolean;
|
|
2699
|
-
} | {
|
|
2700
|
-
readonly name: string;
|
|
2701
|
-
readonly pending?: boolean | undefined;
|
|
2702
|
-
readonly _tag: "toolResult";
|
|
2703
|
-
readonly toolCallId: string;
|
|
2704
|
-
readonly providerExecuted: boolean;
|
|
2705
|
-
readonly result?: string | undefined;
|
|
2706
|
-
readonly error?: string | undefined;
|
|
2707
|
-
} | {
|
|
2708
|
-
readonly pending?: boolean | undefined;
|
|
2709
|
-
readonly mimeType?: string | undefined;
|
|
2710
|
-
readonly _tag: "stats";
|
|
2711
|
-
readonly message?: string | undefined;
|
|
2712
|
-
readonly model?: string | undefined;
|
|
2713
|
-
readonly usage?: {
|
|
2714
|
-
readonly inputTokens?: number | undefined;
|
|
2715
|
-
readonly outputTokens?: number | undefined;
|
|
2716
|
-
readonly totalTokens?: number | undefined;
|
|
2717
|
-
} | undefined;
|
|
2718
|
-
readonly toolCalls?: number | undefined;
|
|
2719
|
-
readonly errors?: number | undefined;
|
|
2720
|
-
readonly duration?: number | undefined;
|
|
2721
|
-
} | {
|
|
2722
|
-
readonly source?: {
|
|
2723
|
-
readonly type: "base64";
|
|
2724
|
-
readonly mediaType: string;
|
|
2725
|
-
readonly data: string;
|
|
2726
|
-
} | {
|
|
2727
|
-
readonly type: "http";
|
|
2728
|
-
readonly url: string;
|
|
2729
|
-
} | undefined;
|
|
2730
|
-
readonly id?: string | undefined;
|
|
2731
|
-
readonly pending?: boolean | undefined;
|
|
2732
|
-
readonly _tag: "image";
|
|
2733
|
-
} | {
|
|
2734
|
-
readonly name?: string | undefined;
|
|
2735
|
-
readonly pending?: boolean | undefined;
|
|
2736
|
-
readonly _tag: "file";
|
|
2737
|
-
readonly mediaType?: string | undefined;
|
|
2738
|
-
readonly url: string;
|
|
2739
|
-
} | {
|
|
2740
|
-
readonly pending?: boolean | undefined;
|
|
2741
|
-
readonly _tag: "reference";
|
|
2742
|
-
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
2743
|
-
} | {
|
|
2744
|
-
readonly pending?: boolean | undefined;
|
|
2745
|
-
readonly text: string;
|
|
2746
|
-
readonly _tag: "transcript";
|
|
2747
|
-
readonly started: string;
|
|
2748
|
-
} | {
|
|
2749
|
-
readonly pending?: boolean | undefined;
|
|
2750
|
-
readonly _tag: "status";
|
|
2751
|
-
readonly statusText: string;
|
|
2752
|
-
} | {
|
|
2753
|
-
readonly pending?: boolean | undefined;
|
|
2754
|
-
readonly text: string;
|
|
2755
|
-
readonly _tag: "suggestion";
|
|
2756
|
-
} | {
|
|
2757
|
-
readonly pending?: boolean | undefined;
|
|
2758
|
-
readonly _tag: "select";
|
|
2759
|
-
readonly options: string[];
|
|
2760
|
-
} | {
|
|
2761
|
-
readonly version: unknown;
|
|
2762
|
-
readonly pending?: boolean | undefined;
|
|
2763
|
-
readonly _tag: "anchor";
|
|
2764
|
-
readonly objectId: string;
|
|
2765
|
-
} | {
|
|
2766
|
-
readonly pending?: boolean | undefined;
|
|
2767
|
-
readonly text: string;
|
|
2768
|
-
readonly _tag: "proposal";
|
|
2769
|
-
} | {
|
|
2770
|
-
readonly pending?: boolean | undefined;
|
|
2771
|
-
readonly _tag: "summary";
|
|
2772
|
-
readonly content: string;
|
|
2773
|
-
} | {
|
|
2774
|
-
readonly pending?: boolean | undefined;
|
|
2775
|
-
readonly _tag: "toolkit";
|
|
2776
|
-
} | {
|
|
2777
|
-
readonly pending?: boolean | undefined;
|
|
2778
|
-
readonly disposition?: "user" | "synthetic" | "cot" | "version-pin" | undefined;
|
|
2779
|
-
readonly _tag: "json";
|
|
2780
|
-
readonly data: string;
|
|
2781
|
-
})[];
|
|
2782
|
-
readonly properties?: {
|
|
2783
|
-
readonly [x: string]: any;
|
|
2722
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>[];
|
|
2723
|
+
readonly agent?: {
|
|
2724
|
+
readonly enabled: boolean;
|
|
2725
|
+
readonly mode: "auto" | "mention";
|
|
2784
2726
|
} | undefined;
|
|
2785
|
-
}
|
|
2786
|
-
readonly
|
|
2787
|
-
readonly
|
|
2788
|
-
readonly
|
|
2789
|
-
};
|
|
2790
|
-
|
|
2791
|
-
}, void, Capability.Service>;
|
|
2727
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
2728
|
+
readonly config?: {
|
|
2729
|
+
readonly enabled: boolean;
|
|
2730
|
+
readonly mode: "auto" | "mention";
|
|
2731
|
+
} | undefined;
|
|
2732
|
+
}, void, Database.Service>;
|
|
2792
2733
|
export declare const CreateProposals: Operation.Definition<{
|
|
2793
|
-
readonly doc: import("@dxos/echo/internal").Ref<
|
|
2794
|
-
readonly description?: string | undefined;
|
|
2734
|
+
readonly doc: import("@dxos/echo/internal").Ref<{
|
|
2795
2735
|
readonly name?: string | undefined;
|
|
2736
|
+
readonly description?: string | undefined;
|
|
2796
2737
|
readonly fallbackName?: string | undefined;
|
|
2797
|
-
readonly content: import("@dxos/echo/internal").Ref<
|
|
2738
|
+
readonly content: import("@dxos/echo/internal").Ref<{
|
|
2798
2739
|
readonly name?: string | undefined;
|
|
2799
2740
|
readonly content: string;
|
|
2800
|
-
}>;
|
|
2801
|
-
}>;
|
|
2741
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
2742
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
2802
2743
|
readonly diffs: readonly string[];
|
|
2803
2744
|
}, void, Database.Service>;
|
|
2804
|
-
//# sourceMappingURL=
|
|
2745
|
+
//# sourceMappingURL=ThreadOperation.d.ts.map
|