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