@dxos/plugin-thread 0.8.4-main.f9ba587 → 0.8.4-main.fcc0d83b33
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-OC4QB4I2.mjs +89 -0
- package/dist/lib/browser/add-message-OC4QB4I2.mjs.map +7 -0
- package/dist/lib/browser/blueprints/index.mjs +37 -0
- package/dist/lib/browser/blueprints/index.mjs.map +7 -0
- package/dist/lib/browser/chunk-J5LGTIGS.mjs +10 -0
- package/dist/lib/browser/chunk-J67QAUIW.mjs +61 -0
- package/dist/lib/browser/chunk-J67QAUIW.mjs.map +7 -0
- package/dist/lib/browser/chunk-KCMJ7H7F.mjs +259 -0
- package/dist/lib/browser/chunk-KCMJ7H7F.mjs.map +7 -0
- package/dist/lib/browser/create-IUWQEW74.mjs +55 -0
- package/dist/lib/browser/create-IUWQEW74.mjs.map +7 -0
- package/dist/lib/browser/create-channel-CBC5WEFG.mjs +21 -0
- package/dist/lib/browser/create-channel-CBC5WEFG.mjs.map +7 -0
- package/dist/lib/browser/create-channel-thread-JJ5LQ3OZ.mjs +28 -0
- package/dist/lib/browser/create-channel-thread-JJ5LQ3OZ.mjs.map +7 -0
- package/dist/lib/browser/create-proposals-RHLVRJZ4.mjs +57 -0
- package/dist/lib/browser/create-proposals-RHLVRJZ4.mjs.map +7 -0
- package/dist/lib/browser/delete-PVIEGTTY.mjs +59 -0
- package/dist/lib/browser/delete-PVIEGTTY.mjs.map +7 -0
- package/dist/lib/browser/delete-message-TLVRPLJF.mjs +56 -0
- package/dist/lib/browser/delete-message-TLVRPLJF.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +1875 -241
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/on-create-space-KRTKYRFU.mjs +25 -0
- package/dist/lib/browser/on-create-space-KRTKYRFU.mjs.map +7 -0
- package/dist/lib/browser/operations/index.mjs +14 -0
- package/dist/lib/browser/operations/index.mjs.map +7 -0
- package/dist/lib/browser/restore-AVE55SJF.mjs +33 -0
- package/dist/lib/browser/restore-AVE55SJF.mjs.map +7 -0
- package/dist/lib/browser/restore-message-F57RMGDJ.mjs +34 -0
- package/dist/lib/browser/restore-message-F57RMGDJ.mjs.map +7 -0
- package/dist/lib/browser/select-BJDZJI64.mjs +26 -0
- package/dist/lib/browser/select-BJDZJI64.mjs.map +7 -0
- package/dist/lib/browser/toggle-resolved-HQE5P7BV.mjs +37 -0
- package/dist/lib/browser/toggle-resolved-HQE5P7BV.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 +8 -12
- package/dist/lib/node-esm/add-message-HJXNAILW.mjs +90 -0
- package/dist/lib/node-esm/add-message-HJXNAILW.mjs.map +7 -0
- package/dist/lib/node-esm/blueprints/index.mjs +38 -0
- package/dist/lib/node-esm/blueprints/index.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-2Q6V7NGK.mjs +62 -0
- package/dist/lib/node-esm/chunk-2Q6V7NGK.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-4KRVIOPC.mjs +260 -0
- package/dist/lib/node-esm/chunk-4KRVIOPC.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +11 -0
- package/dist/lib/node-esm/create-NALJT67D.mjs +56 -0
- package/dist/lib/node-esm/create-NALJT67D.mjs.map +7 -0
- package/dist/lib/node-esm/create-channel-CS2EAYJF.mjs +22 -0
- package/dist/lib/node-esm/create-channel-CS2EAYJF.mjs.map +7 -0
- package/dist/lib/node-esm/create-channel-thread-KZZFZDTU.mjs +29 -0
- package/dist/lib/node-esm/create-channel-thread-KZZFZDTU.mjs.map +7 -0
- package/dist/lib/node-esm/create-proposals-AFAYZQBI.mjs +58 -0
- package/dist/lib/node-esm/create-proposals-AFAYZQBI.mjs.map +7 -0
- package/dist/lib/node-esm/delete-HQJVZY7Q.mjs +60 -0
- package/dist/lib/node-esm/delete-HQJVZY7Q.mjs.map +7 -0
- package/dist/lib/node-esm/delete-message-VVPEYLV4.mjs +57 -0
- package/dist/lib/node-esm/delete-message-VVPEYLV4.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +1875 -241
- 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-2UX7Z5EQ.mjs +26 -0
- package/dist/lib/node-esm/on-create-space-2UX7Z5EQ.mjs.map +7 -0
- package/dist/lib/node-esm/operations/index.mjs +15 -0
- package/dist/lib/node-esm/operations/index.mjs.map +7 -0
- package/dist/lib/node-esm/restore-FMIWJR5T.mjs +34 -0
- package/dist/lib/node-esm/restore-FMIWJR5T.mjs.map +7 -0
- package/dist/lib/node-esm/restore-message-3L7AMQMG.mjs +35 -0
- package/dist/lib/node-esm/restore-message-3L7AMQMG.mjs.map +7 -0
- package/dist/lib/node-esm/select-VCAFISBK.mjs +27 -0
- package/dist/lib/node-esm/select-VCAFISBK.mjs.map +7 -0
- package/dist/lib/node-esm/toggle-resolved-JDZZ257P.mjs +38 -0
- package/dist/lib/node-esm/toggle-resolved-JDZZ257P.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 +8 -12
- package/dist/types/src/ThreadPlugin.d.ts +2 -1
- package/dist/types/src/ThreadPlugin.d.ts.map +1 -1
- package/dist/types/src/blueprints/index.d.ts +2 -0
- package/dist/types/src/blueprints/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/thread-blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/thread-blueprint.d.ts.map +1 -0
- package/dist/types/src/calls/call-manager.d.ts +40 -30
- package/dist/types/src/calls/call-manager.d.ts.map +1 -1
- package/dist/types/src/calls/call-swarm-synchronizer.d.ts +2 -2
- package/dist/types/src/calls/call-swarm-synchronizer.d.ts.map +1 -1
- package/dist/types/src/calls/media-manager.d.ts +2 -2
- 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 +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 +7 -5
- 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 +2 -2
- package/dist/types/src/calls/util/task-scheduling.d.ts.map +1 -1
- package/dist/types/src/calls-service.stories.d.ts +10 -9
- package/dist/types/src/calls-service.stories.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +4 -2
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/blueprint-definition.d.ts +5 -0
- package/dist/types/src/capabilities/blueprint-definition.d.ts.map +1 -0
- package/dist/types/src/capabilities/call-manager.d.ts +3 -2
- package/dist/types/src/capabilities/call-manager.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +13 -13
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/markdown.d.ts +3 -2
- package/dist/types/src/capabilities/markdown.d.ts.map +1 -1
- package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
- package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-root.d.ts +4 -2
- package/dist/types/src/capabilities/react-root.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts +3 -2
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/settings.d.ts +5 -2
- package/dist/types/src/capabilities/settings.d.ts.map +1 -1
- package/dist/types/src/capabilities/state.d.ts +5 -5
- package/dist/types/src/capabilities/state.d.ts.map +1 -1
- package/dist/types/src/capabilities/undo-mappings.d.ts +5 -0
- package/dist/types/src/capabilities/undo-mappings.d.ts.map +1 -0
- 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 +6 -6
- package/dist/types/src/components/Call/Toolbar.d.ts.map +1 -1
- package/dist/types/src/components/CommentsPanel/CommentsPanel.d.ts +13 -0
- package/dist/types/src/components/CommentsPanel/CommentsPanel.d.ts.map +1 -0
- package/dist/types/src/components/CommentsPanel/CommentsPanel.stories.d.ts +160 -0
- package/dist/types/src/components/CommentsPanel/CommentsPanel.stories.d.ts.map +1 -0
- package/dist/types/src/components/CommentsPanel/CommentsThread.d.ts +14 -0
- package/dist/types/src/components/CommentsPanel/CommentsThread.d.ts.map +1 -0
- package/dist/types/src/components/CommentsPanel/index.d.ts +3 -0
- package/dist/types/src/components/CommentsPanel/index.d.ts.map +1 -0
- 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 +3 -3
- package/dist/types/src/components/Media/VideoObject.d.ts.map +1 -1
- package/dist/types/src/components/Media/VideoObject.stories.d.ts +18 -4
- package/dist/types/src/components/Media/VideoObject.stories.d.ts.map +1 -1
- package/dist/types/src/components/MessagePanel/MessagePanel.d.ts +15 -0
- package/dist/types/src/components/MessagePanel/MessagePanel.d.ts.map +1 -0
- package/dist/types/src/components/MessagePanel/index.d.ts +2 -0
- package/dist/types/src/components/MessagePanel/index.d.ts.map +1 -0
- package/dist/types/src/components/Participant/Participant.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 +160 -5
- 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/{ResponsiveContainer.d.ts → ResponsivePanel.d.ts} +4 -4
- package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.d.ts.map +1 -0
- package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.stories.d.ts +164 -0
- package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.stories.d.ts.map +1 -0
- package/dist/types/src/components/ResponsiveGrid/index.d.ts +1 -1
- package/dist/types/src/components/ResponsiveGrid/index.d.ts.map +1 -1
- package/dist/types/src/components/ThreadSettings/ThreadSettings.d.ts +6 -0
- package/dist/types/src/components/ThreadSettings/ThreadSettings.d.ts.map +1 -0
- package/dist/types/src/components/ThreadSettings/ThreadSettings.stories.d.ts +161 -0
- package/dist/types/src/components/ThreadSettings/ThreadSettings.stories.d.ts.map +1 -0
- package/dist/types/src/components/ThreadSettings/index.d.ts +2 -0
- package/dist/types/src/components/ThreadSettings/index.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +4 -9
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/containers/CallDebugPanel/CallDebugPanel.d.ts +15 -0
- package/dist/types/src/containers/CallDebugPanel/CallDebugPanel.d.ts.map +1 -0
- package/dist/types/src/containers/CallDebugPanel/index.d.ts +2 -0
- package/dist/types/src/containers/CallDebugPanel/index.d.ts.map +1 -0
- package/dist/types/src/{components → containers/CallSidebar}/CallSidebar.d.ts +0 -1
- package/dist/types/src/containers/CallSidebar/CallSidebar.d.ts.map +1 -0
- package/dist/types/src/containers/CallSidebar/index.d.ts +2 -0
- package/dist/types/src/containers/CallSidebar/index.d.ts.map +1 -0
- package/dist/types/src/containers/ChannelContainer/ChannelContainer.d.ts +12 -0
- package/dist/types/src/containers/ChannelContainer/ChannelContainer.d.ts.map +1 -0
- package/dist/types/src/containers/ChannelContainer/ChannelContainer.stories.d.ts +162 -0
- package/dist/types/src/containers/ChannelContainer/ChannelContainer.stories.d.ts.map +1 -0
- package/dist/types/src/containers/ChannelContainer/index.d.ts +2 -0
- package/dist/types/src/containers/ChannelContainer/index.d.ts.map +1 -0
- package/dist/types/src/containers/ChatContainer/ChatContainer.d.ts +16 -0
- package/dist/types/src/containers/ChatContainer/ChatContainer.d.ts.map +1 -0
- package/dist/types/src/containers/ChatContainer/ChatContainer.stories.d.ts +162 -0
- package/dist/types/src/containers/ChatContainer/ChatContainer.stories.d.ts.map +1 -0
- package/dist/types/src/containers/ChatContainer/index.d.ts +4 -0
- package/dist/types/src/containers/ChatContainer/index.d.ts.map +1 -0
- package/dist/types/src/containers/ThreadCompanion/ThreadCompanion.d.ts +8 -0
- package/dist/types/src/containers/ThreadCompanion/ThreadCompanion.d.ts.map +1 -0
- package/dist/types/src/containers/ThreadCompanion/index.d.ts +2 -0
- package/dist/types/src/containers/ThreadCompanion/index.d.ts.map +1 -0
- package/dist/types/src/containers/index.d.ts +7 -0
- package/dist/types/src/containers/index.d.ts.map +1 -0
- package/dist/types/src/{components/command-extension.d.ts → extensions/command.d.ts} +1 -1
- package/dist/types/src/extensions/command.d.ts.map +1 -0
- package/dist/types/src/extensions/index.d.ts +1 -0
- package/dist/types/src/extensions/index.d.ts.map +1 -1
- package/dist/types/src/extensions/threads.d.ts +9 -4
- package/dist/types/src/extensions/threads.d.ts.map +1 -1
- package/dist/types/src/hooks/analytics.d.ts +2 -3
- package/dist/types/src/hooks/analytics.d.ts.map +1 -1
- package/dist/types/src/hooks/index.d.ts +2 -1
- package/dist/types/src/hooks/index.d.ts.map +1 -1
- package/dist/types/src/hooks/useBlackCanvasStreamTrack.d.ts +2 -0
- package/dist/types/src/hooks/useBlackCanvasStreamTrack.d.ts.map +1 -0
- package/dist/types/src/hooks/useStatus.d.ts.map +1 -1
- package/dist/types/src/hooks/useVideoStreamTrack.d.ts +1 -1
- package/dist/types/src/hooks/useVideoStreamTrack.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +3 -4
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/operations/add-message.d.ts +5 -0
- package/dist/types/src/operations/add-message.d.ts.map +1 -0
- package/dist/types/src/operations/create-channel-thread.d.ts +5 -0
- package/dist/types/src/operations/create-channel-thread.d.ts.map +1 -0
- package/dist/types/src/operations/create-channel.d.ts +5 -0
- package/dist/types/src/operations/create-channel.d.ts.map +1 -0
- package/dist/types/src/operations/create-proposals.d.ts +5 -0
- package/dist/types/src/operations/create-proposals.d.ts.map +1 -0
- package/dist/types/src/operations/create.d.ts +5 -0
- package/dist/types/src/operations/create.d.ts.map +1 -0
- package/dist/types/src/operations/definitions.d.ts +2804 -0
- package/dist/types/src/operations/definitions.d.ts.map +1 -0
- package/dist/types/src/operations/delete-message.d.ts +5 -0
- package/dist/types/src/operations/delete-message.d.ts.map +1 -0
- package/dist/types/src/operations/delete.d.ts +5 -0
- package/dist/types/src/operations/delete.d.ts.map +1 -0
- package/dist/types/src/operations/index.d.ts +4 -0
- package/dist/types/src/operations/index.d.ts.map +1 -0
- package/dist/types/src/operations/on-create-space.d.ts +5 -0
- package/dist/types/src/operations/on-create-space.d.ts.map +1 -0
- package/dist/types/src/operations/restore-message.d.ts +5 -0
- package/dist/types/src/operations/restore-message.d.ts.map +1 -0
- package/dist/types/src/operations/restore.d.ts +5 -0
- package/dist/types/src/operations/restore.d.ts.map +1 -0
- package/dist/types/src/operations/select.d.ts +5 -0
- package/dist/types/src/operations/select.d.ts.map +1 -0
- package/dist/types/src/operations/toggle-resolved.d.ts +5 -0
- package/dist/types/src/operations/toggle-resolved.d.ts.map +1 -0
- package/dist/types/src/testing/data.d.ts +5 -0
- package/dist/types/src/testing/data.d.ts.map +1 -0
- 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 +142 -70
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/Channel.d.ts +715 -0
- package/dist/types/src/types/Channel.d.ts.map +1 -0
- package/dist/types/src/types/Settings.d.ts +5 -0
- package/dist/types/src/types/Settings.d.ts.map +1 -0
- package/dist/types/src/types/capabilities.d.ts +24 -0
- package/dist/types/src/types/capabilities.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +2 -1
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/types.d.ts +4 -326
- package/dist/types/src/types/types.d.ts.map +1 -1
- package/dist/types/src/util.d.ts +17 -2
- package/dist/types/src/util.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +113 -74
- package/src/ThreadPlugin.tsx +109 -149
- package/src/blueprints/index.ts +5 -0
- package/src/blueprints/thread-blueprint.ts +36 -0
- package/src/calls/call-manager.ts +78 -54
- package/src/calls/call-swarm-synchronizer.ts +3 -3
- package/src/calls/media-manager.ts +67 -38
- package/src/calls/types.ts +8 -4
- package/src/calls/util/calls-service.ts +67 -15
- package/src/calls/util/stub-media-streams.ts +66 -7
- package/src/calls/util/task-scheduling.ts +4 -4
- package/src/calls-service.stories.tsx +82 -68
- package/src/capabilities/app-graph-builder.ts +175 -162
- package/src/capabilities/blueprint-definition.ts +17 -0
- package/src/capabilities/call-manager.ts +19 -11
- package/src/capabilities/index.ts +15 -11
- package/src/capabilities/markdown.ts +55 -37
- package/src/capabilities/operation-handler.ts +16 -0
- package/src/capabilities/react-root.tsx +12 -9
- package/src/capabilities/react-surface.tsx +80 -77
- package/src/capabilities/settings.ts +28 -12
- package/src/capabilities/state.ts +14 -17
- package/src/capabilities/undo-mappings.ts +46 -0
- package/src/components/Call/Call.tsx +17 -12
- package/src/components/Call/Toolbar.tsx +62 -45
- package/src/components/CommentsPanel/CommentsPanel.stories.tsx +95 -0
- package/src/components/CommentsPanel/CommentsPanel.tsx +71 -0
- package/src/components/{CommentsThreadContainer.tsx → CommentsPanel/CommentsThread.tsx} +66 -61
- package/src/components/CommentsPanel/index.ts +6 -0
- package/src/components/Lobby/Lobby.tsx +21 -17
- package/src/components/Media/AudioStream.tsx +2 -2
- package/src/components/Media/VideoObject.stories.tsx +37 -30
- package/src/components/Media/VideoObject.tsx +1 -1
- package/src/components/MessagePanel/MessagePanel.tsx +222 -0
- package/src/components/MessagePanel/index.ts +5 -0
- package/src/components/Participant/Participant.tsx +35 -15
- package/src/components/Participant/ParticipantGrid.tsx +1 -1
- package/src/components/ResponsiveGrid/ResponsiveGrid.stories.tsx +51 -49
- package/src/components/ResponsiveGrid/ResponsiveGrid.tsx +6 -6
- package/src/components/ResponsiveGrid/ResponsiveGridItem.tsx +14 -11
- package/src/components/ResponsiveGrid/{ResponsiveContainer.stories.tsx → ResponsivePanel.stories.tsx} +12 -12
- package/src/components/ResponsiveGrid/{ResponsiveContainer.tsx → ResponsivePanel.tsx} +5 -5
- package/src/components/ResponsiveGrid/index.ts +1 -1
- package/src/components/ThreadSettings/ThreadSettings.stories.tsx +32 -0
- package/src/components/ThreadSettings/ThreadSettings.tsx +20 -0
- package/src/components/ThreadSettings/index.ts +5 -0
- package/src/components/index.ts +5 -12
- package/src/containers/CallDebugPanel/CallDebugPanel.tsx +173 -0
- package/src/containers/CallDebugPanel/index.ts +5 -0
- package/src/containers/CallSidebar/CallSidebar.tsx +18 -0
- package/src/containers/CallSidebar/index.ts +5 -0
- package/src/containers/ChannelContainer/ChannelContainer.stories.tsx +93 -0
- package/src/{components → containers/ChannelContainer}/ChannelContainer.tsx +97 -74
- package/src/containers/ChannelContainer/index.ts +5 -0
- package/src/containers/ChatContainer/ChatContainer.stories.tsx +87 -0
- package/src/containers/ChatContainer/ChatContainer.tsx +126 -0
- package/src/containers/ChatContainer/index.ts +8 -0
- package/src/containers/ThreadCompanion/ThreadCompanion.tsx +217 -0
- package/src/containers/ThreadCompanion/index.ts +5 -0
- package/src/containers/index.ts +11 -0
- package/src/{components/command-extension.ts → extensions/command.ts} +7 -4
- package/src/extensions/index.ts +1 -0
- package/src/extensions/threads.ts +89 -44
- package/src/hooks/analytics.ts +22 -21
- package/src/hooks/index.ts +3 -1
- package/src/hooks/useBlackCanvasStreamTrack.tsx +27 -0
- package/src/hooks/useDebugMode.ts +1 -1
- package/src/hooks/useVideoStreamTrack.tsx +6 -3
- package/src/index.ts +1 -1
- package/src/meta.ts +11 -7
- package/src/operations/add-message.ts +81 -0
- package/src/operations/create-channel-thread.ts +26 -0
- package/src/operations/create-channel.ts +20 -0
- package/src/operations/create-proposals.ts +49 -0
- package/src/operations/create.ts +48 -0
- package/src/operations/definitions.ts +177 -0
- package/src/operations/delete-message.ts +53 -0
- package/src/operations/delete.ts +63 -0
- package/src/operations/index.ts +22 -0
- package/src/operations/on-create-space.ts +27 -0
- package/src/operations/restore-message.ts +38 -0
- package/src/operations/restore.ts +38 -0
- package/src/operations/select.ts +24 -0
- package/src/operations/toggle-resolved.ts +41 -0
- package/src/testing/data.ts +49 -0
- package/src/testing/index.ts +1 -1
- package/src/translations.ts +74 -71
- package/src/types/Channel.ts +37 -0
- package/src/types/Settings.ts +10 -0
- package/src/types/capabilities.ts +36 -0
- package/src/types/index.ts +2 -1
- package/src/types/types.ts +5 -91
- package/src/typings/peermetrics-webrtc-stats.d.ts +17 -1
- package/src/typings.d.ts +8 -0
- package/src/util.ts +2 -2
- package/dist/lib/browser/ChannelContainer-5YH4FTBL.mjs +0 -16
- package/dist/lib/browser/ChatContainer-2UYQ23KO.mjs +0 -15
- package/dist/lib/browser/app-graph-builder-Q5V3KXE3.mjs +0 -171
- package/dist/lib/browser/app-graph-builder-Q5V3KXE3.mjs.map +0 -7
- package/dist/lib/browser/call-manager-NIPDYUVD.mjs +0 -24
- package/dist/lib/browser/call-manager-NIPDYUVD.mjs.map +0 -7
- package/dist/lib/browser/chunk-5ZVJ4GAS.mjs +0 -21
- package/dist/lib/browser/chunk-5ZVJ4GAS.mjs.map +0 -7
- package/dist/lib/browser/chunk-6NSMBO3B.mjs +0 -56
- package/dist/lib/browser/chunk-6NSMBO3B.mjs.map +0 -7
- package/dist/lib/browser/chunk-ERWASUQK.mjs +0 -149
- package/dist/lib/browser/chunk-ERWASUQK.mjs.map +0 -7
- package/dist/lib/browser/chunk-EV4JWI7L.mjs +0 -17
- package/dist/lib/browser/chunk-EV4JWI7L.mjs.map +0 -7
- package/dist/lib/browser/chunk-GERVMFQW.mjs +0 -31
- package/dist/lib/browser/chunk-GERVMFQW.mjs.map +0 -7
- package/dist/lib/browser/chunk-JVIKVYTI.mjs +0 -128
- package/dist/lib/browser/chunk-JVIKVYTI.mjs.map +0 -7
- package/dist/lib/browser/chunk-LCJD3NOB.mjs +0 -984
- package/dist/lib/browser/chunk-LCJD3NOB.mjs.map +0 -7
- package/dist/lib/browser/chunk-LGSDKXPF.mjs +0 -18
- package/dist/lib/browser/chunk-LGSDKXPF.mjs.map +0 -7
- package/dist/lib/browser/chunk-NCSFNWBZ.mjs +0 -479
- package/dist/lib/browser/chunk-NCSFNWBZ.mjs.map +0 -7
- package/dist/lib/browser/chunk-YD57K2SL.mjs +0 -367
- package/dist/lib/browser/chunk-YD57K2SL.mjs.map +0 -7
- package/dist/lib/browser/chunk-ZE7KWN36.mjs +0 -1669
- package/dist/lib/browser/chunk-ZE7KWN36.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-MWE6XLPY.mjs +0 -353
- package/dist/lib/browser/intent-resolver-MWE6XLPY.mjs.map +0 -7
- package/dist/lib/browser/markdown-ZO34G7RM.mjs +0 -169
- package/dist/lib/browser/markdown-ZO34G7RM.mjs.map +0 -7
- package/dist/lib/browser/react-root-YNDNPODD.mjs +0 -28
- package/dist/lib/browser/react-root-YNDNPODD.mjs.map +0 -7
- package/dist/lib/browser/react-surface-2AXRNTCA.mjs +0 -109
- package/dist/lib/browser/react-surface-2AXRNTCA.mjs.map +0 -7
- package/dist/lib/browser/settings-XZGPZNAU.mjs +0 -22
- package/dist/lib/browser/settings-XZGPZNAU.mjs.map +0 -7
- package/dist/lib/browser/state-H6CYONWE.mjs +0 -34
- package/dist/lib/browser/state-H6CYONWE.mjs.map +0 -7
- package/dist/lib/node-esm/ChannelContainer-O2LZKMRM.mjs +0 -17
- package/dist/lib/node-esm/ChannelContainer-O2LZKMRM.mjs.map +0 -7
- package/dist/lib/node-esm/ChatContainer-6N35MP5J.mjs +0 -16
- package/dist/lib/node-esm/ChatContainer-6N35MP5J.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-GAKBZNU3.mjs +0 -172
- package/dist/lib/node-esm/app-graph-builder-GAKBZNU3.mjs.map +0 -7
- package/dist/lib/node-esm/call-manager-D6O5ZJJ4.mjs +0 -25
- package/dist/lib/node-esm/call-manager-D6O5ZJJ4.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-25ABSYP2.mjs +0 -150
- package/dist/lib/node-esm/chunk-25ABSYP2.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-3X3YKRM2.mjs +0 -129
- package/dist/lib/node-esm/chunk-3X3YKRM2.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-57XR3LEF.mjs +0 -33
- package/dist/lib/node-esm/chunk-57XR3LEF.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-5UQ4KKDE.mjs +0 -985
- package/dist/lib/node-esm/chunk-5UQ4KKDE.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-75RJ5DJI.mjs +0 -19
- package/dist/lib/node-esm/chunk-75RJ5DJI.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-A6QLTZCY.mjs +0 -480
- package/dist/lib/node-esm/chunk-A6QLTZCY.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-GRLRWTRU.mjs +0 -19
- package/dist/lib/node-esm/chunk-GRLRWTRU.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-IHDNQLLR.mjs +0 -1670
- package/dist/lib/node-esm/chunk-IHDNQLLR.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-OU5BYIDO.mjs +0 -58
- package/dist/lib/node-esm/chunk-OU5BYIDO.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-RGTWAVEE.mjs +0 -368
- package/dist/lib/node-esm/chunk-RGTWAVEE.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-X62X3VOK.mjs +0 -23
- package/dist/lib/node-esm/chunk-X62X3VOK.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-B6PNTMPY.mjs +0 -354
- package/dist/lib/node-esm/intent-resolver-B6PNTMPY.mjs.map +0 -7
- package/dist/lib/node-esm/markdown-ZJUFV2TA.mjs +0 -170
- package/dist/lib/node-esm/markdown-ZJUFV2TA.mjs.map +0 -7
- package/dist/lib/node-esm/react-root-ZUVVTKWG.mjs +0 -29
- package/dist/lib/node-esm/react-root-ZUVVTKWG.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-OMEZTOU6.mjs +0 -110
- package/dist/lib/node-esm/react-surface-OMEZTOU6.mjs.map +0 -7
- package/dist/lib/node-esm/settings-XECBSD6Q.mjs +0 -23
- package/dist/lib/node-esm/settings-XECBSD6Q.mjs.map +0 -7
- package/dist/lib/node-esm/state-D7WNDT3N.mjs +0 -35
- package/dist/lib/node-esm/state-D7WNDT3N.mjs.map +0 -7
- package/dist/types/src/capabilities/capabilities.d.ts +0 -27
- package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
- package/dist/types/src/components/CallDebugPanel.d.ts +0 -8
- package/dist/types/src/components/CallDebugPanel.d.ts.map +0 -1
- package/dist/types/src/components/CallSidebar.d.ts.map +0 -1
- package/dist/types/src/components/ChannelContainer.d.ts +0 -14
- package/dist/types/src/components/ChannelContainer.d.ts.map +0 -1
- package/dist/types/src/components/ChannelContainer.stories.d.ts +0 -10
- package/dist/types/src/components/ChannelContainer.stories.d.ts.map +0 -1
- package/dist/types/src/components/Chat.stories.d.ts +0 -7
- package/dist/types/src/components/Chat.stories.d.ts.map +0 -1
- package/dist/types/src/components/ChatContainer.d.ts +0 -17
- package/dist/types/src/components/ChatContainer.d.ts.map +0 -1
- package/dist/types/src/components/Comments.stories.d.ts +0 -6
- package/dist/types/src/components/Comments.stories.d.ts.map +0 -1
- package/dist/types/src/components/CommentsContainer.d.ts +0 -13
- package/dist/types/src/components/CommentsContainer.d.ts.map +0 -1
- package/dist/types/src/components/CommentsThreadContainer.d.ts +0 -14
- package/dist/types/src/components/CommentsThreadContainer.d.ts.map +0 -1
- package/dist/types/src/components/MessageContainer.d.ts +0 -11
- package/dist/types/src/components/MessageContainer.d.ts.map +0 -1
- package/dist/types/src/components/ResponsiveGrid/ResponsiveContainer.d.ts.map +0 -1
- package/dist/types/src/components/ResponsiveGrid/ResponsiveContainer.stories.d.ts +0 -10
- package/dist/types/src/components/ResponsiveGrid/ResponsiveContainer.stories.d.ts.map +0 -1
- package/dist/types/src/components/ThreadComplementary.d.ts +0 -5
- package/dist/types/src/components/ThreadComplementary.d.ts.map +0 -1
- package/dist/types/src/components/ThreadSettings.d.ts +0 -6
- package/dist/types/src/components/ThreadSettings.d.ts.map +0 -1
- package/dist/types/src/components/command-extension.d.ts.map +0 -1
- package/dist/types/src/components/testing.d.ts +0 -4
- package/dist/types/src/components/testing.d.ts.map +0 -1
- package/dist/types/src/testing/stories.d.ts +0 -2
- package/dist/types/src/testing/stories.d.ts.map +0 -1
- package/dist/types/src/types/schema.d.ts +0 -133
- package/dist/types/src/types/schema.d.ts.map +0 -1
- package/src/capabilities/capabilities.ts +0 -33
- package/src/capabilities/intent-resolver.ts +0 -296
- package/src/components/CallDebugPanel.tsx +0 -115
- package/src/components/CallSidebar.tsx +0 -17
- package/src/components/ChannelContainer.stories.tsx +0 -58
- package/src/components/Chat.stories.tsx +0 -88
- package/src/components/ChatContainer.tsx +0 -141
- package/src/components/Comments.stories.tsx +0 -92
- package/src/components/CommentsContainer.tsx +0 -71
- package/src/components/MessageContainer.tsx +0 -151
- package/src/components/ThreadComplementary.tsx +0 -151
- package/src/components/ThreadSettings.tsx +0 -17
- package/src/components/testing.ts +0 -29
- package/src/testing/stories.ts +0 -54
- package/src/types/schema.ts +0 -33
- /package/dist/lib/browser/{ChannelContainer-5YH4FTBL.mjs.map → chunk-J5LGTIGS.mjs.map} +0 -0
- /package/dist/lib/{browser/ChatContainer-2UYQ23KO.mjs.map → node-esm/chunk-HSLMI22Q.mjs.map} +0 -0
|
@@ -0,0 +1,715 @@
|
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
|
+
import { Obj, Type } from '@dxos/echo';
|
|
3
|
+
export declare const Channel: Type.Obj<{
|
|
4
|
+
readonly name?: string | undefined;
|
|
5
|
+
readonly defaultThread: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
6
|
+
readonly name?: string | undefined;
|
|
7
|
+
readonly status?: "active" | "resolved" | "staged" | undefined;
|
|
8
|
+
readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
9
|
+
readonly id: string;
|
|
10
|
+
readonly parentMessage?: string | undefined;
|
|
11
|
+
readonly threadId?: string | undefined;
|
|
12
|
+
readonly created: string;
|
|
13
|
+
readonly sender: {
|
|
14
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
15
|
+
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
16
|
+
readonly fullName?: string | undefined;
|
|
17
|
+
readonly preferredName?: string | undefined;
|
|
18
|
+
readonly nickname?: string | undefined;
|
|
19
|
+
readonly image?: string | undefined;
|
|
20
|
+
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
21
|
+
readonly name?: string | undefined;
|
|
22
|
+
readonly description?: string | undefined;
|
|
23
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
24
|
+
readonly image?: string | undefined;
|
|
25
|
+
readonly website?: string | undefined;
|
|
26
|
+
} & {
|
|
27
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
28
|
+
}> | undefined;
|
|
29
|
+
readonly jobTitle?: string | undefined;
|
|
30
|
+
readonly department?: string | undefined;
|
|
31
|
+
readonly notes?: string | undefined;
|
|
32
|
+
readonly emails?: readonly {
|
|
33
|
+
readonly label?: string | undefined;
|
|
34
|
+
readonly value: string;
|
|
35
|
+
}[] | undefined;
|
|
36
|
+
readonly identities?: readonly {
|
|
37
|
+
readonly label?: string | undefined;
|
|
38
|
+
readonly value: string;
|
|
39
|
+
}[] | undefined;
|
|
40
|
+
readonly phoneNumbers?: readonly {
|
|
41
|
+
readonly label?: string | undefined;
|
|
42
|
+
readonly value: string;
|
|
43
|
+
}[] | undefined;
|
|
44
|
+
readonly addresses?: readonly {
|
|
45
|
+
readonly label?: string | undefined;
|
|
46
|
+
readonly value: {
|
|
47
|
+
readonly street?: string | undefined;
|
|
48
|
+
readonly extended?: string | undefined;
|
|
49
|
+
readonly locality?: string | undefined;
|
|
50
|
+
readonly region?: string | undefined;
|
|
51
|
+
readonly postalCode?: string | undefined;
|
|
52
|
+
readonly postOfficeBoxNumber?: string | undefined;
|
|
53
|
+
readonly country?: string | undefined;
|
|
54
|
+
};
|
|
55
|
+
}[] | undefined;
|
|
56
|
+
readonly urls?: readonly {
|
|
57
|
+
readonly label?: string | undefined;
|
|
58
|
+
readonly value: string;
|
|
59
|
+
}[] | undefined;
|
|
60
|
+
readonly birthday?: string | undefined;
|
|
61
|
+
readonly fields?: readonly {
|
|
62
|
+
readonly category?: string | undefined;
|
|
63
|
+
readonly label: string;
|
|
64
|
+
readonly value: string;
|
|
65
|
+
}[] | undefined;
|
|
66
|
+
} & {
|
|
67
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
68
|
+
}> | undefined;
|
|
69
|
+
readonly identityDid?: string | undefined;
|
|
70
|
+
readonly identityKey?: string | undefined;
|
|
71
|
+
readonly email?: string | undefined;
|
|
72
|
+
readonly name?: string | undefined;
|
|
73
|
+
};
|
|
74
|
+
readonly blocks: readonly ({
|
|
75
|
+
readonly _tag: "text";
|
|
76
|
+
readonly pending?: boolean | undefined;
|
|
77
|
+
readonly mimeType?: string | undefined;
|
|
78
|
+
readonly text: string;
|
|
79
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
80
|
+
} | {
|
|
81
|
+
readonly _tag: "reasoning";
|
|
82
|
+
readonly pending?: boolean | undefined;
|
|
83
|
+
readonly reasoningText?: string | undefined;
|
|
84
|
+
readonly redactedText?: string | undefined;
|
|
85
|
+
readonly signature?: string | undefined;
|
|
86
|
+
} | {
|
|
87
|
+
readonly _tag: "toolCall";
|
|
88
|
+
readonly pending?: boolean | undefined;
|
|
89
|
+
readonly toolCallId: string;
|
|
90
|
+
readonly name: string;
|
|
91
|
+
readonly input: string;
|
|
92
|
+
readonly providerExecuted: boolean;
|
|
93
|
+
} | {
|
|
94
|
+
readonly _tag: "toolResult";
|
|
95
|
+
readonly pending?: boolean | undefined;
|
|
96
|
+
readonly toolCallId: string;
|
|
97
|
+
readonly name: string;
|
|
98
|
+
readonly result?: string | undefined;
|
|
99
|
+
readonly error?: string | undefined;
|
|
100
|
+
readonly providerExecuted: boolean;
|
|
101
|
+
} | {
|
|
102
|
+
readonly _tag: "stats";
|
|
103
|
+
readonly pending?: boolean | undefined;
|
|
104
|
+
readonly mimeType?: string | undefined;
|
|
105
|
+
readonly message?: string | undefined;
|
|
106
|
+
readonly model?: string | undefined;
|
|
107
|
+
readonly usage?: {
|
|
108
|
+
readonly inputTokens?: number | undefined;
|
|
109
|
+
readonly outputTokens?: number | undefined;
|
|
110
|
+
readonly totalTokens?: number | undefined;
|
|
111
|
+
} | undefined;
|
|
112
|
+
readonly toolCalls?: number | undefined;
|
|
113
|
+
readonly errors?: number | undefined;
|
|
114
|
+
readonly duration?: number | undefined;
|
|
115
|
+
} | {
|
|
116
|
+
readonly _tag: "image";
|
|
117
|
+
readonly pending?: boolean | undefined;
|
|
118
|
+
readonly id?: string | undefined;
|
|
119
|
+
readonly source?: {
|
|
120
|
+
readonly type: "base64";
|
|
121
|
+
readonly mediaType: string;
|
|
122
|
+
readonly data: string;
|
|
123
|
+
} | {
|
|
124
|
+
readonly type: "http";
|
|
125
|
+
readonly url: string;
|
|
126
|
+
} | undefined;
|
|
127
|
+
} | {
|
|
128
|
+
readonly _tag: "file";
|
|
129
|
+
readonly pending?: boolean | undefined;
|
|
130
|
+
readonly url: string;
|
|
131
|
+
readonly name?: string | undefined;
|
|
132
|
+
readonly mediaType?: string | undefined;
|
|
133
|
+
} | {
|
|
134
|
+
readonly _tag: "reference";
|
|
135
|
+
readonly pending?: boolean | undefined;
|
|
136
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
137
|
+
} | {
|
|
138
|
+
readonly _tag: "transcript";
|
|
139
|
+
readonly pending?: boolean | undefined;
|
|
140
|
+
readonly started: string;
|
|
141
|
+
readonly text: string;
|
|
142
|
+
} | {
|
|
143
|
+
readonly _tag: "status";
|
|
144
|
+
readonly pending?: boolean | undefined;
|
|
145
|
+
readonly statusText: string;
|
|
146
|
+
} | {
|
|
147
|
+
readonly _tag: "suggestion";
|
|
148
|
+
readonly pending?: boolean | undefined;
|
|
149
|
+
readonly text: string;
|
|
150
|
+
} | {
|
|
151
|
+
readonly _tag: "select";
|
|
152
|
+
readonly pending?: boolean | undefined;
|
|
153
|
+
readonly options: string[];
|
|
154
|
+
} | {
|
|
155
|
+
readonly _tag: "anchor";
|
|
156
|
+
readonly pending?: boolean | undefined;
|
|
157
|
+
readonly objectId: string;
|
|
158
|
+
readonly version: unknown;
|
|
159
|
+
} | {
|
|
160
|
+
readonly _tag: "proposal";
|
|
161
|
+
readonly pending?: boolean | undefined;
|
|
162
|
+
readonly text: string;
|
|
163
|
+
} | {
|
|
164
|
+
readonly _tag: "summary";
|
|
165
|
+
readonly pending?: boolean | undefined;
|
|
166
|
+
readonly content: string;
|
|
167
|
+
} | {
|
|
168
|
+
readonly _tag: "toolkit";
|
|
169
|
+
readonly pending?: boolean | undefined;
|
|
170
|
+
} | {
|
|
171
|
+
readonly _tag: "json";
|
|
172
|
+
readonly pending?: boolean | undefined;
|
|
173
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
174
|
+
readonly data: string;
|
|
175
|
+
})[];
|
|
176
|
+
readonly properties?: {
|
|
177
|
+
readonly [x: string]: any;
|
|
178
|
+
} | undefined;
|
|
179
|
+
}>[];
|
|
180
|
+
}>;
|
|
181
|
+
readonly threads: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
182
|
+
readonly name?: string | undefined;
|
|
183
|
+
readonly status?: "active" | "resolved" | "staged" | undefined;
|
|
184
|
+
readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
185
|
+
readonly id: string;
|
|
186
|
+
readonly parentMessage?: string | undefined;
|
|
187
|
+
readonly threadId?: string | undefined;
|
|
188
|
+
readonly created: string;
|
|
189
|
+
readonly sender: {
|
|
190
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
191
|
+
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
192
|
+
readonly fullName?: string | undefined;
|
|
193
|
+
readonly preferredName?: string | undefined;
|
|
194
|
+
readonly nickname?: string | undefined;
|
|
195
|
+
readonly image?: string | undefined;
|
|
196
|
+
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
197
|
+
readonly name?: string | undefined;
|
|
198
|
+
readonly description?: string | undefined;
|
|
199
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
200
|
+
readonly image?: string | undefined;
|
|
201
|
+
readonly website?: string | undefined;
|
|
202
|
+
} & {
|
|
203
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
204
|
+
}> | undefined;
|
|
205
|
+
readonly jobTitle?: string | undefined;
|
|
206
|
+
readonly department?: string | undefined;
|
|
207
|
+
readonly notes?: string | undefined;
|
|
208
|
+
readonly emails?: readonly {
|
|
209
|
+
readonly label?: string | undefined;
|
|
210
|
+
readonly value: string;
|
|
211
|
+
}[] | undefined;
|
|
212
|
+
readonly identities?: readonly {
|
|
213
|
+
readonly label?: string | undefined;
|
|
214
|
+
readonly value: string;
|
|
215
|
+
}[] | undefined;
|
|
216
|
+
readonly phoneNumbers?: readonly {
|
|
217
|
+
readonly label?: string | undefined;
|
|
218
|
+
readonly value: string;
|
|
219
|
+
}[] | undefined;
|
|
220
|
+
readonly addresses?: readonly {
|
|
221
|
+
readonly label?: string | undefined;
|
|
222
|
+
readonly value: {
|
|
223
|
+
readonly street?: string | undefined;
|
|
224
|
+
readonly extended?: string | undefined;
|
|
225
|
+
readonly locality?: string | undefined;
|
|
226
|
+
readonly region?: string | undefined;
|
|
227
|
+
readonly postalCode?: string | undefined;
|
|
228
|
+
readonly postOfficeBoxNumber?: string | undefined;
|
|
229
|
+
readonly country?: string | undefined;
|
|
230
|
+
};
|
|
231
|
+
}[] | undefined;
|
|
232
|
+
readonly urls?: readonly {
|
|
233
|
+
readonly label?: string | undefined;
|
|
234
|
+
readonly value: string;
|
|
235
|
+
}[] | undefined;
|
|
236
|
+
readonly birthday?: string | undefined;
|
|
237
|
+
readonly fields?: readonly {
|
|
238
|
+
readonly category?: string | undefined;
|
|
239
|
+
readonly label: string;
|
|
240
|
+
readonly value: string;
|
|
241
|
+
}[] | undefined;
|
|
242
|
+
} & {
|
|
243
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
244
|
+
}> | undefined;
|
|
245
|
+
readonly identityDid?: string | undefined;
|
|
246
|
+
readonly identityKey?: string | undefined;
|
|
247
|
+
readonly email?: string | undefined;
|
|
248
|
+
readonly name?: string | undefined;
|
|
249
|
+
};
|
|
250
|
+
readonly blocks: readonly ({
|
|
251
|
+
readonly _tag: "text";
|
|
252
|
+
readonly pending?: boolean | undefined;
|
|
253
|
+
readonly mimeType?: string | undefined;
|
|
254
|
+
readonly text: string;
|
|
255
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
256
|
+
} | {
|
|
257
|
+
readonly _tag: "reasoning";
|
|
258
|
+
readonly pending?: boolean | undefined;
|
|
259
|
+
readonly reasoningText?: string | undefined;
|
|
260
|
+
readonly redactedText?: string | undefined;
|
|
261
|
+
readonly signature?: string | undefined;
|
|
262
|
+
} | {
|
|
263
|
+
readonly _tag: "toolCall";
|
|
264
|
+
readonly pending?: boolean | undefined;
|
|
265
|
+
readonly toolCallId: string;
|
|
266
|
+
readonly name: string;
|
|
267
|
+
readonly input: string;
|
|
268
|
+
readonly providerExecuted: boolean;
|
|
269
|
+
} | {
|
|
270
|
+
readonly _tag: "toolResult";
|
|
271
|
+
readonly pending?: boolean | undefined;
|
|
272
|
+
readonly toolCallId: string;
|
|
273
|
+
readonly name: string;
|
|
274
|
+
readonly result?: string | undefined;
|
|
275
|
+
readonly error?: string | undefined;
|
|
276
|
+
readonly providerExecuted: boolean;
|
|
277
|
+
} | {
|
|
278
|
+
readonly _tag: "stats";
|
|
279
|
+
readonly pending?: boolean | undefined;
|
|
280
|
+
readonly mimeType?: string | undefined;
|
|
281
|
+
readonly message?: string | undefined;
|
|
282
|
+
readonly model?: string | undefined;
|
|
283
|
+
readonly usage?: {
|
|
284
|
+
readonly inputTokens?: number | undefined;
|
|
285
|
+
readonly outputTokens?: number | undefined;
|
|
286
|
+
readonly totalTokens?: number | undefined;
|
|
287
|
+
} | undefined;
|
|
288
|
+
readonly toolCalls?: number | undefined;
|
|
289
|
+
readonly errors?: number | undefined;
|
|
290
|
+
readonly duration?: number | undefined;
|
|
291
|
+
} | {
|
|
292
|
+
readonly _tag: "image";
|
|
293
|
+
readonly pending?: boolean | undefined;
|
|
294
|
+
readonly id?: string | undefined;
|
|
295
|
+
readonly source?: {
|
|
296
|
+
readonly type: "base64";
|
|
297
|
+
readonly mediaType: string;
|
|
298
|
+
readonly data: string;
|
|
299
|
+
} | {
|
|
300
|
+
readonly type: "http";
|
|
301
|
+
readonly url: string;
|
|
302
|
+
} | undefined;
|
|
303
|
+
} | {
|
|
304
|
+
readonly _tag: "file";
|
|
305
|
+
readonly pending?: boolean | undefined;
|
|
306
|
+
readonly url: string;
|
|
307
|
+
readonly name?: string | undefined;
|
|
308
|
+
readonly mediaType?: string | undefined;
|
|
309
|
+
} | {
|
|
310
|
+
readonly _tag: "reference";
|
|
311
|
+
readonly pending?: boolean | undefined;
|
|
312
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
313
|
+
} | {
|
|
314
|
+
readonly _tag: "transcript";
|
|
315
|
+
readonly pending?: boolean | undefined;
|
|
316
|
+
readonly started: string;
|
|
317
|
+
readonly text: string;
|
|
318
|
+
} | {
|
|
319
|
+
readonly _tag: "status";
|
|
320
|
+
readonly pending?: boolean | undefined;
|
|
321
|
+
readonly statusText: string;
|
|
322
|
+
} | {
|
|
323
|
+
readonly _tag: "suggestion";
|
|
324
|
+
readonly pending?: boolean | undefined;
|
|
325
|
+
readonly text: string;
|
|
326
|
+
} | {
|
|
327
|
+
readonly _tag: "select";
|
|
328
|
+
readonly pending?: boolean | undefined;
|
|
329
|
+
readonly options: string[];
|
|
330
|
+
} | {
|
|
331
|
+
readonly _tag: "anchor";
|
|
332
|
+
readonly pending?: boolean | undefined;
|
|
333
|
+
readonly objectId: string;
|
|
334
|
+
readonly version: unknown;
|
|
335
|
+
} | {
|
|
336
|
+
readonly _tag: "proposal";
|
|
337
|
+
readonly pending?: boolean | undefined;
|
|
338
|
+
readonly text: string;
|
|
339
|
+
} | {
|
|
340
|
+
readonly _tag: "summary";
|
|
341
|
+
readonly pending?: boolean | undefined;
|
|
342
|
+
readonly content: string;
|
|
343
|
+
} | {
|
|
344
|
+
readonly _tag: "toolkit";
|
|
345
|
+
readonly pending?: boolean | undefined;
|
|
346
|
+
} | {
|
|
347
|
+
readonly _tag: "json";
|
|
348
|
+
readonly pending?: boolean | undefined;
|
|
349
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
350
|
+
readonly data: string;
|
|
351
|
+
})[];
|
|
352
|
+
readonly properties?: {
|
|
353
|
+
readonly [x: string]: any;
|
|
354
|
+
} | undefined;
|
|
355
|
+
}>[];
|
|
356
|
+
}>[];
|
|
357
|
+
}, Schema.Struct.Fields>;
|
|
358
|
+
export interface Channel extends Schema.Schema.Type<typeof Channel> {
|
|
359
|
+
}
|
|
360
|
+
export declare const make: (props?: Pick<Obj.MakeProps<typeof Channel>, 'name'>) => Obj.OfShape<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
361
|
+
readonly name?: string | undefined;
|
|
362
|
+
readonly defaultThread: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
363
|
+
readonly name?: string | undefined;
|
|
364
|
+
readonly status?: "active" | "resolved" | "staged" | undefined;
|
|
365
|
+
readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
366
|
+
readonly id: string;
|
|
367
|
+
readonly parentMessage?: string | undefined;
|
|
368
|
+
readonly threadId?: string | undefined;
|
|
369
|
+
readonly created: string;
|
|
370
|
+
readonly sender: {
|
|
371
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
372
|
+
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
373
|
+
readonly fullName?: string | undefined;
|
|
374
|
+
readonly preferredName?: string | undefined;
|
|
375
|
+
readonly nickname?: string | undefined;
|
|
376
|
+
readonly image?: string | undefined;
|
|
377
|
+
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
378
|
+
readonly name?: string | undefined;
|
|
379
|
+
readonly description?: string | undefined;
|
|
380
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
381
|
+
readonly image?: string | undefined;
|
|
382
|
+
readonly website?: string | undefined;
|
|
383
|
+
} & {
|
|
384
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
385
|
+
}> | undefined;
|
|
386
|
+
readonly jobTitle?: string | undefined;
|
|
387
|
+
readonly department?: string | undefined;
|
|
388
|
+
readonly notes?: string | undefined;
|
|
389
|
+
readonly emails?: readonly {
|
|
390
|
+
readonly label?: string | undefined;
|
|
391
|
+
readonly value: string;
|
|
392
|
+
}[] | undefined;
|
|
393
|
+
readonly identities?: readonly {
|
|
394
|
+
readonly label?: string | undefined;
|
|
395
|
+
readonly value: string;
|
|
396
|
+
}[] | undefined;
|
|
397
|
+
readonly phoneNumbers?: readonly {
|
|
398
|
+
readonly label?: string | undefined;
|
|
399
|
+
readonly value: string;
|
|
400
|
+
}[] | undefined;
|
|
401
|
+
readonly addresses?: readonly {
|
|
402
|
+
readonly label?: string | undefined;
|
|
403
|
+
readonly value: {
|
|
404
|
+
readonly street?: string | undefined;
|
|
405
|
+
readonly extended?: string | undefined;
|
|
406
|
+
readonly locality?: string | undefined;
|
|
407
|
+
readonly region?: string | undefined;
|
|
408
|
+
readonly postalCode?: string | undefined;
|
|
409
|
+
readonly postOfficeBoxNumber?: string | undefined;
|
|
410
|
+
readonly country?: string | undefined;
|
|
411
|
+
};
|
|
412
|
+
}[] | undefined;
|
|
413
|
+
readonly urls?: readonly {
|
|
414
|
+
readonly label?: string | undefined;
|
|
415
|
+
readonly value: string;
|
|
416
|
+
}[] | undefined;
|
|
417
|
+
readonly birthday?: string | undefined;
|
|
418
|
+
readonly fields?: readonly {
|
|
419
|
+
readonly category?: string | undefined;
|
|
420
|
+
readonly label: string;
|
|
421
|
+
readonly value: string;
|
|
422
|
+
}[] | undefined;
|
|
423
|
+
} & {
|
|
424
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
425
|
+
}> | undefined;
|
|
426
|
+
readonly identityDid?: string | undefined;
|
|
427
|
+
readonly identityKey?: string | undefined;
|
|
428
|
+
readonly email?: string | undefined;
|
|
429
|
+
readonly name?: string | undefined;
|
|
430
|
+
};
|
|
431
|
+
readonly blocks: readonly ({
|
|
432
|
+
readonly _tag: "text";
|
|
433
|
+
readonly pending?: boolean | undefined;
|
|
434
|
+
readonly mimeType?: string | undefined;
|
|
435
|
+
readonly text: string;
|
|
436
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
437
|
+
} | {
|
|
438
|
+
readonly _tag: "reasoning";
|
|
439
|
+
readonly pending?: boolean | undefined;
|
|
440
|
+
readonly reasoningText?: string | undefined;
|
|
441
|
+
readonly redactedText?: string | undefined;
|
|
442
|
+
readonly signature?: string | undefined;
|
|
443
|
+
} | {
|
|
444
|
+
readonly _tag: "toolCall";
|
|
445
|
+
readonly pending?: boolean | undefined;
|
|
446
|
+
readonly toolCallId: string;
|
|
447
|
+
readonly name: string;
|
|
448
|
+
readonly input: string;
|
|
449
|
+
readonly providerExecuted: boolean;
|
|
450
|
+
} | {
|
|
451
|
+
readonly _tag: "toolResult";
|
|
452
|
+
readonly pending?: boolean | undefined;
|
|
453
|
+
readonly toolCallId: string;
|
|
454
|
+
readonly name: string;
|
|
455
|
+
readonly result?: string | undefined;
|
|
456
|
+
readonly error?: string | undefined;
|
|
457
|
+
readonly providerExecuted: boolean;
|
|
458
|
+
} | {
|
|
459
|
+
readonly _tag: "stats";
|
|
460
|
+
readonly pending?: boolean | undefined;
|
|
461
|
+
readonly mimeType?: string | undefined;
|
|
462
|
+
readonly message?: string | undefined;
|
|
463
|
+
readonly model?: string | undefined;
|
|
464
|
+
readonly usage?: {
|
|
465
|
+
readonly inputTokens?: number | undefined;
|
|
466
|
+
readonly outputTokens?: number | undefined;
|
|
467
|
+
readonly totalTokens?: number | undefined;
|
|
468
|
+
} | undefined;
|
|
469
|
+
readonly toolCalls?: number | undefined;
|
|
470
|
+
readonly errors?: number | undefined;
|
|
471
|
+
readonly duration?: number | undefined;
|
|
472
|
+
} | {
|
|
473
|
+
readonly _tag: "image";
|
|
474
|
+
readonly pending?: boolean | undefined;
|
|
475
|
+
readonly id?: string | undefined;
|
|
476
|
+
readonly source?: {
|
|
477
|
+
readonly type: "base64";
|
|
478
|
+
readonly mediaType: string;
|
|
479
|
+
readonly data: string;
|
|
480
|
+
} | {
|
|
481
|
+
readonly type: "http";
|
|
482
|
+
readonly url: string;
|
|
483
|
+
} | undefined;
|
|
484
|
+
} | {
|
|
485
|
+
readonly _tag: "file";
|
|
486
|
+
readonly pending?: boolean | undefined;
|
|
487
|
+
readonly url: string;
|
|
488
|
+
readonly name?: string | undefined;
|
|
489
|
+
readonly mediaType?: string | undefined;
|
|
490
|
+
} | {
|
|
491
|
+
readonly _tag: "reference";
|
|
492
|
+
readonly pending?: boolean | undefined;
|
|
493
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
494
|
+
} | {
|
|
495
|
+
readonly _tag: "transcript";
|
|
496
|
+
readonly pending?: boolean | undefined;
|
|
497
|
+
readonly started: string;
|
|
498
|
+
readonly text: string;
|
|
499
|
+
} | {
|
|
500
|
+
readonly _tag: "status";
|
|
501
|
+
readonly pending?: boolean | undefined;
|
|
502
|
+
readonly statusText: string;
|
|
503
|
+
} | {
|
|
504
|
+
readonly _tag: "suggestion";
|
|
505
|
+
readonly pending?: boolean | undefined;
|
|
506
|
+
readonly text: string;
|
|
507
|
+
} | {
|
|
508
|
+
readonly _tag: "select";
|
|
509
|
+
readonly pending?: boolean | undefined;
|
|
510
|
+
readonly options: string[];
|
|
511
|
+
} | {
|
|
512
|
+
readonly _tag: "anchor";
|
|
513
|
+
readonly pending?: boolean | undefined;
|
|
514
|
+
readonly objectId: string;
|
|
515
|
+
readonly version: unknown;
|
|
516
|
+
} | {
|
|
517
|
+
readonly _tag: "proposal";
|
|
518
|
+
readonly pending?: boolean | undefined;
|
|
519
|
+
readonly text: string;
|
|
520
|
+
} | {
|
|
521
|
+
readonly _tag: "summary";
|
|
522
|
+
readonly pending?: boolean | undefined;
|
|
523
|
+
readonly content: string;
|
|
524
|
+
} | {
|
|
525
|
+
readonly _tag: "toolkit";
|
|
526
|
+
readonly pending?: boolean | undefined;
|
|
527
|
+
} | {
|
|
528
|
+
readonly _tag: "json";
|
|
529
|
+
readonly pending?: boolean | undefined;
|
|
530
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
531
|
+
readonly data: string;
|
|
532
|
+
})[];
|
|
533
|
+
readonly properties?: {
|
|
534
|
+
readonly [x: string]: any;
|
|
535
|
+
} | undefined;
|
|
536
|
+
}>[];
|
|
537
|
+
}>;
|
|
538
|
+
readonly threads: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
539
|
+
readonly name?: string | undefined;
|
|
540
|
+
readonly status?: "active" | "resolved" | "staged" | undefined;
|
|
541
|
+
readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
542
|
+
readonly id: string;
|
|
543
|
+
readonly parentMessage?: string | undefined;
|
|
544
|
+
readonly threadId?: string | undefined;
|
|
545
|
+
readonly created: string;
|
|
546
|
+
readonly sender: {
|
|
547
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
548
|
+
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
549
|
+
readonly fullName?: string | undefined;
|
|
550
|
+
readonly preferredName?: string | undefined;
|
|
551
|
+
readonly nickname?: string | undefined;
|
|
552
|
+
readonly image?: string | undefined;
|
|
553
|
+
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
554
|
+
readonly name?: string | undefined;
|
|
555
|
+
readonly description?: string | undefined;
|
|
556
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
557
|
+
readonly image?: string | undefined;
|
|
558
|
+
readonly website?: string | undefined;
|
|
559
|
+
} & {
|
|
560
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
561
|
+
}> | undefined;
|
|
562
|
+
readonly jobTitle?: string | undefined;
|
|
563
|
+
readonly department?: string | undefined;
|
|
564
|
+
readonly notes?: string | undefined;
|
|
565
|
+
readonly emails?: readonly {
|
|
566
|
+
readonly label?: string | undefined;
|
|
567
|
+
readonly value: string;
|
|
568
|
+
}[] | undefined;
|
|
569
|
+
readonly identities?: readonly {
|
|
570
|
+
readonly label?: string | undefined;
|
|
571
|
+
readonly value: string;
|
|
572
|
+
}[] | undefined;
|
|
573
|
+
readonly phoneNumbers?: readonly {
|
|
574
|
+
readonly label?: string | undefined;
|
|
575
|
+
readonly value: string;
|
|
576
|
+
}[] | undefined;
|
|
577
|
+
readonly addresses?: readonly {
|
|
578
|
+
readonly label?: string | undefined;
|
|
579
|
+
readonly value: {
|
|
580
|
+
readonly street?: string | undefined;
|
|
581
|
+
readonly extended?: string | undefined;
|
|
582
|
+
readonly locality?: string | undefined;
|
|
583
|
+
readonly region?: string | undefined;
|
|
584
|
+
readonly postalCode?: string | undefined;
|
|
585
|
+
readonly postOfficeBoxNumber?: string | undefined;
|
|
586
|
+
readonly country?: string | undefined;
|
|
587
|
+
};
|
|
588
|
+
}[] | undefined;
|
|
589
|
+
readonly urls?: readonly {
|
|
590
|
+
readonly label?: string | undefined;
|
|
591
|
+
readonly value: string;
|
|
592
|
+
}[] | undefined;
|
|
593
|
+
readonly birthday?: string | undefined;
|
|
594
|
+
readonly fields?: readonly {
|
|
595
|
+
readonly category?: string | undefined;
|
|
596
|
+
readonly label: string;
|
|
597
|
+
readonly value: string;
|
|
598
|
+
}[] | undefined;
|
|
599
|
+
} & {
|
|
600
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
601
|
+
}> | undefined;
|
|
602
|
+
readonly identityDid?: string | undefined;
|
|
603
|
+
readonly identityKey?: string | undefined;
|
|
604
|
+
readonly email?: string | undefined;
|
|
605
|
+
readonly name?: string | undefined;
|
|
606
|
+
};
|
|
607
|
+
readonly blocks: readonly ({
|
|
608
|
+
readonly _tag: "text";
|
|
609
|
+
readonly pending?: boolean | undefined;
|
|
610
|
+
readonly mimeType?: string | undefined;
|
|
611
|
+
readonly text: string;
|
|
612
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
613
|
+
} | {
|
|
614
|
+
readonly _tag: "reasoning";
|
|
615
|
+
readonly pending?: boolean | undefined;
|
|
616
|
+
readonly reasoningText?: string | undefined;
|
|
617
|
+
readonly redactedText?: string | undefined;
|
|
618
|
+
readonly signature?: string | undefined;
|
|
619
|
+
} | {
|
|
620
|
+
readonly _tag: "toolCall";
|
|
621
|
+
readonly pending?: boolean | undefined;
|
|
622
|
+
readonly toolCallId: string;
|
|
623
|
+
readonly name: string;
|
|
624
|
+
readonly input: string;
|
|
625
|
+
readonly providerExecuted: boolean;
|
|
626
|
+
} | {
|
|
627
|
+
readonly _tag: "toolResult";
|
|
628
|
+
readonly pending?: boolean | undefined;
|
|
629
|
+
readonly toolCallId: string;
|
|
630
|
+
readonly name: string;
|
|
631
|
+
readonly result?: string | undefined;
|
|
632
|
+
readonly error?: string | undefined;
|
|
633
|
+
readonly providerExecuted: boolean;
|
|
634
|
+
} | {
|
|
635
|
+
readonly _tag: "stats";
|
|
636
|
+
readonly pending?: boolean | undefined;
|
|
637
|
+
readonly mimeType?: string | undefined;
|
|
638
|
+
readonly message?: string | undefined;
|
|
639
|
+
readonly model?: string | undefined;
|
|
640
|
+
readonly usage?: {
|
|
641
|
+
readonly inputTokens?: number | undefined;
|
|
642
|
+
readonly outputTokens?: number | undefined;
|
|
643
|
+
readonly totalTokens?: number | undefined;
|
|
644
|
+
} | undefined;
|
|
645
|
+
readonly toolCalls?: number | undefined;
|
|
646
|
+
readonly errors?: number | undefined;
|
|
647
|
+
readonly duration?: number | undefined;
|
|
648
|
+
} | {
|
|
649
|
+
readonly _tag: "image";
|
|
650
|
+
readonly pending?: boolean | undefined;
|
|
651
|
+
readonly id?: string | undefined;
|
|
652
|
+
readonly source?: {
|
|
653
|
+
readonly type: "base64";
|
|
654
|
+
readonly mediaType: string;
|
|
655
|
+
readonly data: string;
|
|
656
|
+
} | {
|
|
657
|
+
readonly type: "http";
|
|
658
|
+
readonly url: string;
|
|
659
|
+
} | undefined;
|
|
660
|
+
} | {
|
|
661
|
+
readonly _tag: "file";
|
|
662
|
+
readonly pending?: boolean | undefined;
|
|
663
|
+
readonly url: string;
|
|
664
|
+
readonly name?: string | undefined;
|
|
665
|
+
readonly mediaType?: string | undefined;
|
|
666
|
+
} | {
|
|
667
|
+
readonly _tag: "reference";
|
|
668
|
+
readonly pending?: boolean | undefined;
|
|
669
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
670
|
+
} | {
|
|
671
|
+
readonly _tag: "transcript";
|
|
672
|
+
readonly pending?: boolean | undefined;
|
|
673
|
+
readonly started: string;
|
|
674
|
+
readonly text: string;
|
|
675
|
+
} | {
|
|
676
|
+
readonly _tag: "status";
|
|
677
|
+
readonly pending?: boolean | undefined;
|
|
678
|
+
readonly statusText: string;
|
|
679
|
+
} | {
|
|
680
|
+
readonly _tag: "suggestion";
|
|
681
|
+
readonly pending?: boolean | undefined;
|
|
682
|
+
readonly text: string;
|
|
683
|
+
} | {
|
|
684
|
+
readonly _tag: "select";
|
|
685
|
+
readonly pending?: boolean | undefined;
|
|
686
|
+
readonly options: string[];
|
|
687
|
+
} | {
|
|
688
|
+
readonly _tag: "anchor";
|
|
689
|
+
readonly pending?: boolean | undefined;
|
|
690
|
+
readonly objectId: string;
|
|
691
|
+
readonly version: unknown;
|
|
692
|
+
} | {
|
|
693
|
+
readonly _tag: "proposal";
|
|
694
|
+
readonly pending?: boolean | undefined;
|
|
695
|
+
readonly text: string;
|
|
696
|
+
} | {
|
|
697
|
+
readonly _tag: "summary";
|
|
698
|
+
readonly pending?: boolean | undefined;
|
|
699
|
+
readonly content: string;
|
|
700
|
+
} | {
|
|
701
|
+
readonly _tag: "toolkit";
|
|
702
|
+
readonly pending?: boolean | undefined;
|
|
703
|
+
} | {
|
|
704
|
+
readonly _tag: "json";
|
|
705
|
+
readonly pending?: boolean | undefined;
|
|
706
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
707
|
+
readonly data: string;
|
|
708
|
+
})[];
|
|
709
|
+
readonly properties?: {
|
|
710
|
+
readonly [x: string]: any;
|
|
711
|
+
} | undefined;
|
|
712
|
+
}>[];
|
|
713
|
+
}>[];
|
|
714
|
+
}>;
|
|
715
|
+
//# sourceMappingURL=Channel.d.ts.map
|