@dxos/plugin-thread 0.8.4-main.bc674ce → 0.8.4-main.c351d160a8
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/CallDebugPanel-BO3SLD4E.mjs +182 -0
- package/dist/lib/browser/CallDebugPanel-BO3SLD4E.mjs.map +7 -0
- package/dist/lib/browser/CallSidebar-KSOBZJGD.mjs +36 -0
- package/dist/lib/browser/CallSidebar-KSOBZJGD.mjs.map +7 -0
- package/dist/lib/browser/ChannelContainer-EQZXMQMV.mjs +17 -0
- package/dist/lib/browser/ChannelContainer-EQZXMQMV.mjs.map +7 -0
- package/dist/lib/browser/ChatContainer-VPCJ2AMF.mjs +18 -0
- package/dist/lib/browser/ChatContainer-VPCJ2AMF.mjs.map +7 -0
- package/dist/lib/browser/ThreadCompanion-7GTSEJQT.mjs +209 -0
- package/dist/lib/browser/ThreadCompanion-7GTSEJQT.mjs.map +7 -0
- package/dist/lib/browser/ThreadSettings-VL3HBE62.mjs +20 -0
- package/dist/lib/browser/ThreadSettings-VL3HBE62.mjs.map +7 -0
- package/dist/lib/browser/{app-graph-builder-7C2QW32W.mjs → app-graph-builder-ECTCB36F.mjs} +25 -24
- package/dist/lib/browser/app-graph-builder-ECTCB36F.mjs.map +7 -0
- package/dist/lib/browser/blueprint-definition-UJ4QH3LV.mjs +17 -0
- package/dist/lib/browser/blueprint-definition-UJ4QH3LV.mjs.map +7 -0
- package/dist/lib/browser/blueprints/index.mjs +3 -3
- package/dist/lib/browser/{call-manager-4P536YNX.mjs → call-manager-3P6D7IH7.mjs} +5 -4
- package/dist/lib/browser/call-manager-3P6D7IH7.mjs.map +7 -0
- package/dist/lib/browser/chunk-2M2HV5K4.mjs +35 -0
- package/dist/lib/browser/chunk-2M2HV5K4.mjs.map +7 -0
- package/dist/lib/browser/chunk-7GONB2BI.mjs +219 -0
- package/dist/lib/browser/chunk-7GONB2BI.mjs.map +7 -0
- package/dist/lib/browser/chunk-D7PVIURR.mjs +1094 -0
- package/dist/lib/browser/chunk-D7PVIURR.mjs.map +7 -0
- package/dist/lib/browser/{chunk-2FIHSX35.mjs → chunk-FGEVENLN.mjs} +34 -47
- package/dist/lib/browser/chunk-FGEVENLN.mjs.map +7 -0
- package/dist/lib/browser/{chunk-DLO2G3DM.mjs → chunk-HDLDMR54.mjs} +2 -2
- package/dist/lib/browser/chunk-HDLDMR54.mjs.map +7 -0
- package/dist/lib/browser/{chunk-ZFLSTQSE.mjs → chunk-J75MXJZN.mjs} +26 -27
- package/dist/lib/browser/chunk-J75MXJZN.mjs.map +7 -0
- package/dist/lib/browser/chunk-JMH6UT5J.mjs +127 -0
- package/dist/lib/browser/chunk-JMH6UT5J.mjs.map +7 -0
- package/dist/lib/browser/{markdown-QMJLRR6R.mjs → chunk-PV5GYINX.mjs} +3 -78
- package/dist/lib/browser/chunk-PV5GYINX.mjs.map +7 -0
- package/dist/lib/browser/chunk-QVJO3VJ4.mjs +20 -0
- package/dist/lib/browser/chunk-QVJO3VJ4.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +64 -83
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/markdown-J6H6EIZE.mjs +83 -0
- package/dist/lib/browser/markdown-J6H6EIZE.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{operation-resolver-T63EP5TY.mjs → operation-resolver-3JHO5DFX.mjs} +22 -29
- package/dist/lib/browser/operation-resolver-3JHO5DFX.mjs.map +7 -0
- package/dist/lib/browser/{react-root-56MJI77R.mjs → react-root-AM3J34AK.mjs} +8 -6
- package/dist/lib/browser/react-root-AM3J34AK.mjs.map +7 -0
- package/dist/lib/browser/{react-surface-DMBHQOXJ.mjs → react-surface-VNGEEVYP.mjs} +40 -35
- package/dist/lib/browser/react-surface-VNGEEVYP.mjs.map +7 -0
- package/dist/lib/browser/{settings-WZMJMML3.mjs → settings-HYNYTOSX.mjs} +8 -5
- package/dist/lib/browser/settings-HYNYTOSX.mjs.map +7 -0
- package/dist/lib/browser/{state-SJR2GL5G.mjs → state-NQZQCDFD.mjs} +3 -2
- package/dist/lib/browser/types/index.mjs +2 -1
- package/dist/lib/node-esm/CallDebugPanel-7OIL5FVT.mjs +183 -0
- package/dist/lib/node-esm/CallDebugPanel-7OIL5FVT.mjs.map +7 -0
- package/dist/lib/node-esm/CallSidebar-Y2I3UBBA.mjs +37 -0
- package/dist/lib/node-esm/CallSidebar-Y2I3UBBA.mjs.map +7 -0
- package/dist/lib/node-esm/ChannelContainer-WB5YYZKU.mjs +18 -0
- package/dist/lib/node-esm/ChannelContainer-WB5YYZKU.mjs.map +7 -0
- package/dist/lib/node-esm/ChatContainer-CP6PNF53.mjs +19 -0
- package/dist/lib/node-esm/ChatContainer-CP6PNF53.mjs.map +7 -0
- package/dist/lib/node-esm/ThreadCompanion-5MM3XACT.mjs +210 -0
- package/dist/lib/node-esm/ThreadCompanion-5MM3XACT.mjs.map +7 -0
- package/dist/lib/node-esm/ThreadSettings-TCZMYH3J.mjs +21 -0
- package/dist/lib/node-esm/ThreadSettings-TCZMYH3J.mjs.map +7 -0
- package/dist/lib/node-esm/{app-graph-builder-JCSVFRVY.mjs → app-graph-builder-HSX4GHGQ.mjs} +25 -24
- package/dist/lib/node-esm/app-graph-builder-HSX4GHGQ.mjs.map +7 -0
- package/dist/lib/node-esm/{blueprint-definition-MZZXXL37.mjs → blueprint-definition-SABUBK23.mjs} +6 -6
- package/dist/lib/node-esm/blueprint-definition-SABUBK23.mjs.map +7 -0
- package/dist/lib/node-esm/blueprints/index.mjs +3 -3
- package/dist/lib/node-esm/{call-manager-FMLRR5S5.mjs → call-manager-ENAYC5L3.mjs} +5 -4
- package/dist/lib/node-esm/call-manager-ENAYC5L3.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-35G7Q243.mjs +1095 -0
- package/dist/lib/node-esm/chunk-35G7Q243.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-4BOUHFEC.mjs +128 -0
- package/dist/lib/node-esm/chunk-4BOUHFEC.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-A3SWGVF3.mjs +37 -0
- package/dist/lib/node-esm/chunk-A3SWGVF3.mjs.map +7 -0
- package/dist/lib/node-esm/{markdown-L6LLQLIN.mjs → chunk-B7POKKGL.mjs} +3 -78
- package/dist/lib/node-esm/chunk-B7POKKGL.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-CSIDVJEC.mjs +220 -0
- package/dist/lib/node-esm/chunk-CSIDVJEC.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-WMWUXWAS.mjs → chunk-HGIUKAXD.mjs} +34 -47
- package/dist/lib/node-esm/chunk-HGIUKAXD.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-N2T5KLKB.mjs +22 -0
- package/dist/lib/node-esm/chunk-N2T5KLKB.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-AQHPP6ZX.mjs → chunk-NDSI2G7B.mjs} +26 -26
- package/dist/lib/node-esm/chunk-NDSI2G7B.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-KRBZBJRI.mjs → chunk-YN2Y7GPW.mjs} +2 -2
- package/dist/lib/node-esm/chunk-YN2Y7GPW.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +64 -83
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/markdown-P2WSGZJB.mjs +84 -0
- package/dist/lib/node-esm/markdown-P2WSGZJB.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{operation-resolver-G6GZPBRP.mjs → operation-resolver-I3RCYCC4.mjs} +22 -29
- package/dist/lib/node-esm/operation-resolver-I3RCYCC4.mjs.map +7 -0
- package/dist/lib/node-esm/{react-root-V4W4X5GL.mjs → react-root-TFDOAH6Z.mjs} +8 -6
- package/dist/lib/node-esm/react-root-TFDOAH6Z.mjs.map +7 -0
- package/dist/lib/node-esm/{react-surface-ELDSTUA3.mjs → react-surface-3C7PBXXD.mjs} +40 -35
- package/dist/lib/node-esm/react-surface-3C7PBXXD.mjs.map +7 -0
- package/dist/lib/node-esm/{settings-37CO3SNR.mjs → settings-FV2O6HDY.mjs} +8 -5
- package/dist/lib/node-esm/settings-FV2O6HDY.mjs.map +7 -0
- package/dist/lib/node-esm/{state-5R3TZJQE.mjs → state-IODNXJEB.mjs} +3 -2
- package/dist/lib/{browser/state-SJR2GL5G.mjs.map → node-esm/state-IODNXJEB.mjs.map} +1 -1
- package/dist/lib/node-esm/types/index.mjs +2 -1
- package/dist/types/src/ThreadPlugin.d.ts.map +1 -1
- package/dist/types/src/blueprints/index.d.ts +1 -1
- package/dist/types/src/blueprints/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/thread-blueprint.d.ts +3 -20
- package/dist/types/src/blueprints/thread-blueprint.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +1 -1
- package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/blueprint-definition/blueprint-definition.d.ts +3 -6
- package/dist/types/src/capabilities/blueprint-definition/blueprint-definition.d.ts.map +1 -1
- package/dist/types/src/capabilities/blueprint-definition/index.d.ts +1 -1
- package/dist/types/src/capabilities/blueprint-definition/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/call-manager/call-manager.d.ts +1 -1
- package/dist/types/src/capabilities/call-manager/call-manager.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +0 -1
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/markdown/markdown.d.ts +1 -1
- package/dist/types/src/capabilities/markdown/markdown.d.ts.map +1 -1
- package/dist/types/src/capabilities/operation-resolver/index.d.ts +1 -1
- package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +2 -2
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-root/react-root.d.ts +1 -1
- package/dist/types/src/capabilities/react-root/react-root.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface/index.d.ts +1 -1
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts +2 -2
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/settings/index.d.ts +1 -1
- package/dist/types/src/capabilities/settings/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/settings/settings.d.ts +3 -2
- package/dist/types/src/capabilities/settings/settings.d.ts.map +1 -1
- package/dist/types/src/capabilities/state/state.d.ts +1 -1
- 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/{Comments.stories.d.ts → CommentsPanel/CommentsPanel.stories.d.ts} +4 -2
- package/dist/types/src/components/CommentsPanel/CommentsPanel.stories.d.ts.map +1 -0
- package/dist/types/src/components/{CommentsThreadContainer.d.ts → CommentsPanel/CommentsThread.d.ts} +3 -3
- 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/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/ResponsiveGrid/ResponsiveGrid.stories.d.ts +2 -0
- package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.stories.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/{ResponsiveContainer.stories.d.ts → ResponsivePanel.stories.d.ts} +5 -3
- 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/index.d.ts +2 -9
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/{components → containers/CallDebugPanel}/CallDebugPanel.d.ts +1 -1
- package/dist/types/src/containers/CallDebugPanel/CallDebugPanel.d.ts.map +1 -0
- package/dist/types/src/containers/CallDebugPanel/index.d.ts +3 -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 +3 -0
- package/dist/types/src/containers/CallSidebar/index.d.ts.map +1 -0
- package/dist/types/src/{components → containers/ChannelContainer}/ChannelContainer.d.ts +3 -4
- package/dist/types/src/containers/ChannelContainer/ChannelContainer.d.ts.map +1 -0
- package/dist/types/src/{components → containers/ChannelContainer}/ChannelContainer.stories.d.ts +4 -2
- package/dist/types/src/containers/ChannelContainer/ChannelContainer.stories.d.ts.map +1 -0
- package/dist/types/src/containers/ChannelContainer/index.d.ts +3 -0
- package/dist/types/src/containers/ChannelContainer/index.d.ts.map +1 -0
- package/dist/types/src/{components → containers/ChatContainer}/ChatContainer.d.ts +4 -5
- package/dist/types/src/containers/ChatContainer/ChatContainer.d.ts.map +1 -0
- package/dist/types/src/{components/Chat.stories.d.ts → containers/ChatContainer/ChatContainer.stories.d.ts} +4 -2
- 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 +6 -0
- package/dist/types/src/containers/ThreadCompanion/ThreadCompanion.d.ts.map +1 -0
- package/dist/types/src/containers/ThreadCompanion/index.d.ts +3 -0
- package/dist/types/src/containers/ThreadCompanion/index.d.ts.map +1 -0
- package/dist/types/src/{components → containers/ThreadSettings}/ThreadSettings.d.ts +1 -1
- package/dist/types/src/containers/ThreadSettings/ThreadSettings.d.ts.map +1 -0
- package/dist/types/src/containers/ThreadSettings/index.d.ts +3 -0
- package/dist/types/src/containers/ThreadSettings/index.d.ts.map +1 -0
- package/dist/types/src/containers/index.d.ts +8 -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/functions/create-proposals.d.ts +8 -1
- package/dist/types/src/functions/create-proposals.d.ts.map +1 -1
- package/dist/types/src/functions/index.d.ts +13 -1
- package/dist/types/src/functions/index.d.ts.map +1 -1
- package/dist/types/src/hooks/analytics.d.ts.map +1 -1
- package/dist/types/src/{components/testing.d.ts → testing/data.d.ts} +1 -1
- package/dist/types/src/testing/data.d.ts.map +1 -0
- package/dist/types/src/testing/stories.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +2 -0
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/Channel.d.ts +25 -9
- package/dist/types/src/types/Channel.d.ts.map +1 -1
- package/dist/types/src/types/types.d.ts +182 -105
- package/dist/types/src/types/types.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +67 -65
- package/src/ThreadPlugin.tsx +33 -49
- package/src/blueprints/index.ts +1 -1
- package/src/blueprints/thread-blueprint.ts +14 -6
- package/src/calls-service.stories.tsx +2 -2
- package/src/capabilities/app-graph-builder/app-graph-builder.ts +20 -18
- package/src/capabilities/blueprint-definition/blueprint-definition.ts +6 -12
- package/src/capabilities/call-manager/call-manager.ts +2 -2
- package/src/capabilities/index.ts +0 -1
- package/src/capabilities/markdown/markdown.ts +11 -13
- package/src/capabilities/operation-resolver/operation-resolver.ts +13 -21
- package/src/capabilities/react-root/react-root.tsx +2 -2
- package/src/capabilities/react-surface/react-surface.tsx +28 -24
- package/src/capabilities/settings/settings.ts +3 -2
- package/src/components/Call/Call.tsx +1 -1
- package/src/components/Call/Toolbar.tsx +6 -7
- package/src/components/{Comments.stories.tsx → CommentsPanel/CommentsPanel.stories.tsx} +12 -12
- package/src/components/{CommentsContainer.tsx → CommentsPanel/CommentsPanel.tsx} +14 -13
- package/src/components/{CommentsThreadContainer.tsx → CommentsPanel/CommentsThread.tsx} +12 -13
- package/src/components/CommentsPanel/index.ts +6 -0
- package/src/components/Lobby/Lobby.tsx +4 -4
- package/src/components/Media/VideoObject.stories.tsx +6 -6
- package/src/components/Media/VideoObject.tsx +1 -1
- package/src/components/{MessageContainer.tsx → MessagePanel/MessagePanel.tsx} +16 -16
- package/src/components/MessagePanel/index.ts +5 -0
- package/src/components/Participant/Participant.tsx +1 -1
- package/src/components/ResponsiveGrid/ResponsiveGrid.stories.tsx +4 -4
- package/src/components/ResponsiveGrid/ResponsiveGrid.tsx +8 -8
- package/src/components/ResponsiveGrid/ResponsiveGridItem.tsx +5 -5
- package/src/components/ResponsiveGrid/{ResponsiveContainer.stories.tsx → ResponsivePanel.stories.tsx} +7 -7
- package/src/components/ResponsiveGrid/{ResponsiveContainer.tsx → ResponsivePanel.tsx} +5 -5
- package/src/components/ResponsiveGrid/index.ts +1 -1
- package/src/components/index.ts +2 -10
- package/src/{components → containers/CallDebugPanel}/CallDebugPanel.tsx +4 -4
- package/src/containers/CallDebugPanel/index.ts +7 -0
- package/src/{components → containers/CallSidebar}/CallSidebar.tsx +4 -7
- package/src/containers/CallSidebar/index.ts +7 -0
- package/src/{components → containers/ChannelContainer}/ChannelContainer.stories.tsx +11 -13
- package/src/{components → containers/ChannelContainer}/ChannelContainer.tsx +58 -43
- package/src/containers/ChannelContainer/index.ts +7 -0
- package/src/{components/Chat.stories.tsx → containers/ChatContainer/ChatContainer.stories.tsx} +20 -18
- package/src/{components → containers/ChatContainer}/ChatContainer.tsx +27 -37
- package/src/containers/ChatContainer/index.ts +8 -0
- package/src/{components → containers/ThreadCompanion}/ThreadCompanion.tsx +50 -44
- package/src/containers/ThreadCompanion/index.ts +7 -0
- package/src/{components → containers/ThreadSettings}/ThreadSettings.tsx +5 -4
- package/src/containers/ThreadSettings/index.ts +7 -0
- package/src/containers/index.ts +12 -0
- package/src/{components/command-extension.ts → extensions/command.ts} +1 -1
- package/src/extensions/index.ts +1 -0
- package/src/functions/create-proposals.ts +10 -10
- package/src/functions/index.ts +5 -1
- package/src/hooks/analytics.ts +2 -1
- package/src/meta.ts +2 -2
- package/src/testing/stories.ts +2 -1
- package/src/translations.ts +1 -0
- package/src/types/Channel.ts +10 -4
- package/src/types/capabilities.ts +5 -5
- package/src/types/types.ts +18 -18
- package/dist/lib/browser/app-graph-builder-7C2QW32W.mjs.map +0 -7
- package/dist/lib/browser/blueprint-definition-UQ63QKQG.mjs +0 -17
- package/dist/lib/browser/blueprint-definition-UQ63QKQG.mjs.map +0 -7
- package/dist/lib/browser/call-manager-4P536YNX.mjs.map +0 -7
- package/dist/lib/browser/chunk-2FIHSX35.mjs.map +0 -7
- package/dist/lib/browser/chunk-DLO2G3DM.mjs.map +0 -7
- package/dist/lib/browser/chunk-YSHXWAL3.mjs +0 -1815
- package/dist/lib/browser/chunk-YSHXWAL3.mjs.map +0 -7
- package/dist/lib/browser/chunk-ZFLSTQSE.mjs.map +0 -7
- package/dist/lib/browser/markdown-QMJLRR6R.mjs.map +0 -7
- package/dist/lib/browser/operation-resolver-T63EP5TY.mjs.map +0 -7
- package/dist/lib/browser/react-root-56MJI77R.mjs.map +0 -7
- package/dist/lib/browser/react-surface-DMBHQOXJ.mjs.map +0 -7
- package/dist/lib/browser/repair-6OZ75AUU.mjs +0 -38
- package/dist/lib/browser/repair-6OZ75AUU.mjs.map +0 -7
- package/dist/lib/browser/settings-WZMJMML3.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-JCSVFRVY.mjs.map +0 -7
- package/dist/lib/node-esm/blueprint-definition-MZZXXL37.mjs.map +0 -7
- package/dist/lib/node-esm/call-manager-FMLRR5S5.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-7XQLXMX7.mjs +0 -1816
- package/dist/lib/node-esm/chunk-7XQLXMX7.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-AQHPP6ZX.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-KRBZBJRI.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-WMWUXWAS.mjs.map +0 -7
- package/dist/lib/node-esm/markdown-L6LLQLIN.mjs.map +0 -7
- package/dist/lib/node-esm/operation-resolver-G6GZPBRP.mjs.map +0 -7
- package/dist/lib/node-esm/react-root-V4W4X5GL.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-ELDSTUA3.mjs.map +0 -7
- package/dist/lib/node-esm/repair-6777EPOM.mjs +0 -39
- package/dist/lib/node-esm/repair-6777EPOM.mjs.map +0 -7
- package/dist/lib/node-esm/settings-37CO3SNR.mjs.map +0 -7
- package/dist/types/src/capabilities/repair/index.d.ts +0 -3
- package/dist/types/src/capabilities/repair/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/repair/repair.d.ts +0 -6
- package/dist/types/src/capabilities/repair/repair.d.ts.map +0 -1
- 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.map +0 -1
- package/dist/types/src/components/ChannelContainer.stories.d.ts.map +0 -1
- package/dist/types/src/components/Chat.stories.d.ts.map +0 -1
- package/dist/types/src/components/ChatContainer.d.ts.map +0 -1
- 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.map +0 -1
- package/dist/types/src/components/MessageContainer.d.ts +0 -15
- 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.map +0 -1
- package/dist/types/src/components/ThreadCompanion.d.ts +0 -5
- package/dist/types/src/components/ThreadCompanion.d.ts.map +0 -1
- 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.map +0 -1
- package/src/capabilities/repair/index.ts +0 -7
- package/src/capabilities/repair/repair.ts +0 -51
- /package/dist/lib/{node-esm/state-5R3TZJQE.mjs.map → browser/state-NQZQCDFD.mjs.map} +0 -0
- /package/src/{components/testing.ts → testing/data.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Schema from 'effect/Schema';
|
|
2
2
|
import { Capability } from '@dxos/app-framework';
|
|
3
|
-
import { Key,
|
|
3
|
+
import { Key, Obj } from '@dxos/echo';
|
|
4
4
|
import { AnchoredTo, Thread } from '@dxos/types';
|
|
5
5
|
/**
|
|
6
6
|
* Operations for the Thread plugin.
|
|
@@ -9,16 +9,16 @@ import { AnchoredTo, Thread } from '@dxos/types';
|
|
|
9
9
|
export declare namespace ThreadOperation {
|
|
10
10
|
const OnCreateSpace: Omit<{
|
|
11
11
|
readonly meta: {
|
|
12
|
-
readonly key: `${string}
|
|
12
|
+
readonly key: `${string}.on-create-space`;
|
|
13
13
|
readonly name: "On Create Space";
|
|
14
14
|
};
|
|
15
15
|
readonly services: readonly [typeof Capability.Service];
|
|
16
16
|
readonly schema: {
|
|
17
17
|
readonly input: Schema.Struct<{
|
|
18
18
|
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
19
|
-
rootCollection: Type.Obj<{
|
|
19
|
+
rootCollection: import("@dxos/echo/Type").Obj<{
|
|
20
20
|
readonly name?: string | undefined;
|
|
21
|
-
readonly objects: readonly import("@dxos/echo/internal").Ref<
|
|
21
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>[];
|
|
22
22
|
}, Schema.Struct.Fields>;
|
|
23
23
|
isDefault: Schema.optional<typeof Schema.Boolean>;
|
|
24
24
|
}>;
|
|
@@ -29,7 +29,7 @@ export declare namespace ThreadOperation {
|
|
|
29
29
|
};
|
|
30
30
|
const CreateChannel: Omit<{
|
|
31
31
|
readonly meta: {
|
|
32
|
-
readonly key: `${string}
|
|
32
|
+
readonly key: `${string}.create-channel`;
|
|
33
33
|
readonly name: "Create Channel";
|
|
34
34
|
};
|
|
35
35
|
readonly services: readonly [typeof Capability.Service];
|
|
@@ -46,7 +46,7 @@ export declare namespace ThreadOperation {
|
|
|
46
46
|
name: Schema.optional<typeof Schema.String>;
|
|
47
47
|
}>;
|
|
48
48
|
readonly output: Schema.Struct<{
|
|
49
|
-
object: Type.Obj<{
|
|
49
|
+
object: import("@dxos/echo/Type").Obj<{
|
|
50
50
|
readonly name?: string | undefined;
|
|
51
51
|
readonly defaultThread: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
52
52
|
readonly name?: string | undefined;
|
|
@@ -146,7 +146,7 @@ export declare namespace ThreadOperation {
|
|
|
146
146
|
} | {
|
|
147
147
|
readonly pending?: boolean | undefined;
|
|
148
148
|
readonly mimeType?: string | undefined;
|
|
149
|
-
readonly _tag: "
|
|
149
|
+
readonly _tag: "stats";
|
|
150
150
|
readonly message?: string | undefined;
|
|
151
151
|
readonly model?: string | undefined;
|
|
152
152
|
readonly usage?: {
|
|
@@ -166,7 +166,7 @@ export declare namespace ThreadOperation {
|
|
|
166
166
|
readonly type: "http";
|
|
167
167
|
readonly url: string;
|
|
168
168
|
} | undefined;
|
|
169
|
-
readonly id
|
|
169
|
+
readonly id?: string | undefined;
|
|
170
170
|
readonly pending?: boolean | undefined;
|
|
171
171
|
readonly _tag: "image";
|
|
172
172
|
} | {
|
|
@@ -178,7 +178,7 @@ export declare namespace ThreadOperation {
|
|
|
178
178
|
} | {
|
|
179
179
|
readonly pending?: boolean | undefined;
|
|
180
180
|
readonly _tag: "reference";
|
|
181
|
-
readonly reference: import("@dxos/echo/internal").Ref<
|
|
181
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
182
182
|
} | {
|
|
183
183
|
readonly pending?: boolean | undefined;
|
|
184
184
|
readonly text: string;
|
|
@@ -205,6 +205,10 @@ export declare namespace ThreadOperation {
|
|
|
205
205
|
readonly pending?: boolean | undefined;
|
|
206
206
|
readonly text: string;
|
|
207
207
|
readonly _tag: "proposal";
|
|
208
|
+
} | {
|
|
209
|
+
readonly pending?: boolean | undefined;
|
|
210
|
+
readonly _tag: "summary";
|
|
211
|
+
readonly content: string;
|
|
208
212
|
} | {
|
|
209
213
|
readonly pending?: boolean | undefined;
|
|
210
214
|
readonly _tag: "toolkit";
|
|
@@ -317,7 +321,7 @@ export declare namespace ThreadOperation {
|
|
|
317
321
|
} | {
|
|
318
322
|
readonly pending?: boolean | undefined;
|
|
319
323
|
readonly mimeType?: string | undefined;
|
|
320
|
-
readonly _tag: "
|
|
324
|
+
readonly _tag: "stats";
|
|
321
325
|
readonly message?: string | undefined;
|
|
322
326
|
readonly model?: string | undefined;
|
|
323
327
|
readonly usage?: {
|
|
@@ -337,7 +341,7 @@ export declare namespace ThreadOperation {
|
|
|
337
341
|
readonly type: "http";
|
|
338
342
|
readonly url: string;
|
|
339
343
|
} | undefined;
|
|
340
|
-
readonly id
|
|
344
|
+
readonly id?: string | undefined;
|
|
341
345
|
readonly pending?: boolean | undefined;
|
|
342
346
|
readonly _tag: "image";
|
|
343
347
|
} | {
|
|
@@ -349,7 +353,7 @@ export declare namespace ThreadOperation {
|
|
|
349
353
|
} | {
|
|
350
354
|
readonly pending?: boolean | undefined;
|
|
351
355
|
readonly _tag: "reference";
|
|
352
|
-
readonly reference: import("@dxos/echo/internal").Ref<
|
|
356
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
353
357
|
} | {
|
|
354
358
|
readonly pending?: boolean | undefined;
|
|
355
359
|
readonly text: string;
|
|
@@ -376,6 +380,10 @@ export declare namespace ThreadOperation {
|
|
|
376
380
|
readonly pending?: boolean | undefined;
|
|
377
381
|
readonly text: string;
|
|
378
382
|
readonly _tag: "proposal";
|
|
383
|
+
} | {
|
|
384
|
+
readonly pending?: boolean | undefined;
|
|
385
|
+
readonly _tag: "summary";
|
|
386
|
+
readonly content: string;
|
|
379
387
|
} | {
|
|
380
388
|
readonly pending?: boolean | undefined;
|
|
381
389
|
readonly _tag: "toolkit";
|
|
@@ -398,13 +406,13 @@ export declare namespace ThreadOperation {
|
|
|
398
406
|
};
|
|
399
407
|
const CreateChannelThread: Omit<{
|
|
400
408
|
readonly meta: {
|
|
401
|
-
readonly key: `${string}
|
|
409
|
+
readonly key: `${string}.create-channel-thread`;
|
|
402
410
|
readonly name: "Create Channel Thread";
|
|
403
411
|
};
|
|
404
412
|
readonly services: readonly [typeof Capability.Service];
|
|
405
413
|
readonly schema: {
|
|
406
414
|
readonly input: Schema.Struct<{
|
|
407
|
-
channel: Type.Obj<{
|
|
415
|
+
channel: import("@dxos/echo/Type").Obj<{
|
|
408
416
|
readonly name?: string | undefined;
|
|
409
417
|
readonly defaultThread: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
410
418
|
readonly name?: string | undefined;
|
|
@@ -504,7 +512,7 @@ export declare namespace ThreadOperation {
|
|
|
504
512
|
} | {
|
|
505
513
|
readonly pending?: boolean | undefined;
|
|
506
514
|
readonly mimeType?: string | undefined;
|
|
507
|
-
readonly _tag: "
|
|
515
|
+
readonly _tag: "stats";
|
|
508
516
|
readonly message?: string | undefined;
|
|
509
517
|
readonly model?: string | undefined;
|
|
510
518
|
readonly usage?: {
|
|
@@ -524,7 +532,7 @@ export declare namespace ThreadOperation {
|
|
|
524
532
|
readonly type: "http";
|
|
525
533
|
readonly url: string;
|
|
526
534
|
} | undefined;
|
|
527
|
-
readonly id
|
|
535
|
+
readonly id?: string | undefined;
|
|
528
536
|
readonly pending?: boolean | undefined;
|
|
529
537
|
readonly _tag: "image";
|
|
530
538
|
} | {
|
|
@@ -536,7 +544,7 @@ export declare namespace ThreadOperation {
|
|
|
536
544
|
} | {
|
|
537
545
|
readonly pending?: boolean | undefined;
|
|
538
546
|
readonly _tag: "reference";
|
|
539
|
-
readonly reference: import("@dxos/echo/internal").Ref<
|
|
547
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
540
548
|
} | {
|
|
541
549
|
readonly pending?: boolean | undefined;
|
|
542
550
|
readonly text: string;
|
|
@@ -563,6 +571,10 @@ export declare namespace ThreadOperation {
|
|
|
563
571
|
readonly pending?: boolean | undefined;
|
|
564
572
|
readonly text: string;
|
|
565
573
|
readonly _tag: "proposal";
|
|
574
|
+
} | {
|
|
575
|
+
readonly pending?: boolean | undefined;
|
|
576
|
+
readonly _tag: "summary";
|
|
577
|
+
readonly content: string;
|
|
566
578
|
} | {
|
|
567
579
|
readonly pending?: boolean | undefined;
|
|
568
580
|
readonly _tag: "toolkit";
|
|
@@ -675,7 +687,7 @@ export declare namespace ThreadOperation {
|
|
|
675
687
|
} | {
|
|
676
688
|
readonly pending?: boolean | undefined;
|
|
677
689
|
readonly mimeType?: string | undefined;
|
|
678
|
-
readonly _tag: "
|
|
690
|
+
readonly _tag: "stats";
|
|
679
691
|
readonly message?: string | undefined;
|
|
680
692
|
readonly model?: string | undefined;
|
|
681
693
|
readonly usage?: {
|
|
@@ -695,7 +707,7 @@ export declare namespace ThreadOperation {
|
|
|
695
707
|
readonly type: "http";
|
|
696
708
|
readonly url: string;
|
|
697
709
|
} | undefined;
|
|
698
|
-
readonly id
|
|
710
|
+
readonly id?: string | undefined;
|
|
699
711
|
readonly pending?: boolean | undefined;
|
|
700
712
|
readonly _tag: "image";
|
|
701
713
|
} | {
|
|
@@ -707,7 +719,7 @@ export declare namespace ThreadOperation {
|
|
|
707
719
|
} | {
|
|
708
720
|
readonly pending?: boolean | undefined;
|
|
709
721
|
readonly _tag: "reference";
|
|
710
|
-
readonly reference: import("@dxos/echo/internal").Ref<
|
|
722
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
711
723
|
} | {
|
|
712
724
|
readonly pending?: boolean | undefined;
|
|
713
725
|
readonly text: string;
|
|
@@ -734,6 +746,10 @@ export declare namespace ThreadOperation {
|
|
|
734
746
|
readonly pending?: boolean | undefined;
|
|
735
747
|
readonly text: string;
|
|
736
748
|
readonly _tag: "proposal";
|
|
749
|
+
} | {
|
|
750
|
+
readonly pending?: boolean | undefined;
|
|
751
|
+
readonly _tag: "summary";
|
|
752
|
+
readonly content: string;
|
|
737
753
|
} | {
|
|
738
754
|
readonly pending?: boolean | undefined;
|
|
739
755
|
readonly _tag: "toolkit";
|
|
@@ -751,7 +767,7 @@ export declare namespace ThreadOperation {
|
|
|
751
767
|
}, Schema.Struct.Fields>;
|
|
752
768
|
}>;
|
|
753
769
|
readonly output: Schema.Struct<{
|
|
754
|
-
object: Type.Obj<{
|
|
770
|
+
object: import("@dxos/echo/Type").Obj<{
|
|
755
771
|
readonly name?: string | undefined;
|
|
756
772
|
readonly status?: "active" | "staged" | "resolved" | undefined;
|
|
757
773
|
readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
@@ -849,7 +865,7 @@ export declare namespace ThreadOperation {
|
|
|
849
865
|
} | {
|
|
850
866
|
readonly pending?: boolean | undefined;
|
|
851
867
|
readonly mimeType?: string | undefined;
|
|
852
|
-
readonly _tag: "
|
|
868
|
+
readonly _tag: "stats";
|
|
853
869
|
readonly message?: string | undefined;
|
|
854
870
|
readonly model?: string | undefined;
|
|
855
871
|
readonly usage?: {
|
|
@@ -869,7 +885,7 @@ export declare namespace ThreadOperation {
|
|
|
869
885
|
readonly type: "http";
|
|
870
886
|
readonly url: string;
|
|
871
887
|
} | undefined;
|
|
872
|
-
readonly id
|
|
888
|
+
readonly id?: string | undefined;
|
|
873
889
|
readonly pending?: boolean | undefined;
|
|
874
890
|
readonly _tag: "image";
|
|
875
891
|
} | {
|
|
@@ -881,7 +897,7 @@ export declare namespace ThreadOperation {
|
|
|
881
897
|
} | {
|
|
882
898
|
readonly pending?: boolean | undefined;
|
|
883
899
|
readonly _tag: "reference";
|
|
884
|
-
readonly reference: import("@dxos/echo/internal").Ref<
|
|
900
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
885
901
|
} | {
|
|
886
902
|
readonly pending?: boolean | undefined;
|
|
887
903
|
readonly text: string;
|
|
@@ -908,6 +924,10 @@ export declare namespace ThreadOperation {
|
|
|
908
924
|
readonly pending?: boolean | undefined;
|
|
909
925
|
readonly text: string;
|
|
910
926
|
readonly _tag: "proposal";
|
|
927
|
+
} | {
|
|
928
|
+
readonly pending?: boolean | undefined;
|
|
929
|
+
readonly _tag: "summary";
|
|
930
|
+
readonly content: string;
|
|
911
931
|
} | {
|
|
912
932
|
readonly pending?: boolean | undefined;
|
|
913
933
|
readonly _tag: "toolkit";
|
|
@@ -929,7 +949,7 @@ export declare namespace ThreadOperation {
|
|
|
929
949
|
};
|
|
930
950
|
const Create: Omit<{
|
|
931
951
|
readonly meta: {
|
|
932
|
-
readonly key: `${string}
|
|
952
|
+
readonly key: `${string}.create`;
|
|
933
953
|
readonly name: "Create Thread";
|
|
934
954
|
};
|
|
935
955
|
readonly services: readonly [typeof Capability.Service];
|
|
@@ -937,11 +957,7 @@ export declare namespace ThreadOperation {
|
|
|
937
957
|
readonly input: Schema.Struct<{
|
|
938
958
|
name: Schema.optional<typeof Schema.String>;
|
|
939
959
|
anchor: Schema.optional<typeof Schema.String>;
|
|
940
|
-
subject:
|
|
941
|
-
id: string;
|
|
942
|
-
} & import("@dxos/echo/internal").AnyProperties, never> & {
|
|
943
|
-
readonly "~@dxos/echo/SchemaKind": import("@dxos/echo/internal").EntityKind.Object;
|
|
944
|
-
} & import("@dxos/echo/internal").TypeMeta;
|
|
960
|
+
subject: import("@dxos/echo/Type").Obj<Obj.Unknown, Schema.Struct.Fields>;
|
|
945
961
|
}>;
|
|
946
962
|
readonly output: typeof Schema.Void;
|
|
947
963
|
};
|
|
@@ -949,7 +965,7 @@ export declare namespace ThreadOperation {
|
|
|
949
965
|
readonly executionMode: "sync" | "async";
|
|
950
966
|
};
|
|
951
967
|
const DeleteOutput: Schema.SchemaClass<{
|
|
952
|
-
readonly anchor?: (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation> &
|
|
968
|
+
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> & {
|
|
953
969
|
readonly id: string;
|
|
954
970
|
readonly anchor?: string | undefined;
|
|
955
971
|
}) | undefined;
|
|
@@ -1051,7 +1067,7 @@ export declare namespace ThreadOperation {
|
|
|
1051
1067
|
} | {
|
|
1052
1068
|
readonly pending?: boolean | undefined;
|
|
1053
1069
|
readonly mimeType?: string | undefined;
|
|
1054
|
-
readonly _tag: "
|
|
1070
|
+
readonly _tag: "stats";
|
|
1055
1071
|
readonly message?: string | undefined;
|
|
1056
1072
|
readonly model?: string | undefined;
|
|
1057
1073
|
readonly usage?: {
|
|
@@ -1071,7 +1087,7 @@ export declare namespace ThreadOperation {
|
|
|
1071
1087
|
readonly type: "http";
|
|
1072
1088
|
readonly url: string;
|
|
1073
1089
|
} | undefined;
|
|
1074
|
-
readonly id
|
|
1090
|
+
readonly id?: string | undefined;
|
|
1075
1091
|
readonly pending?: boolean | undefined;
|
|
1076
1092
|
readonly _tag: "image";
|
|
1077
1093
|
} | {
|
|
@@ -1083,7 +1099,7 @@ export declare namespace ThreadOperation {
|
|
|
1083
1099
|
} | {
|
|
1084
1100
|
readonly pending?: boolean | undefined;
|
|
1085
1101
|
readonly _tag: "reference";
|
|
1086
|
-
readonly reference: import("@dxos/echo/internal").Ref<
|
|
1102
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
1087
1103
|
} | {
|
|
1088
1104
|
readonly pending?: boolean | undefined;
|
|
1089
1105
|
readonly text: string;
|
|
@@ -1110,6 +1126,10 @@ export declare namespace ThreadOperation {
|
|
|
1110
1126
|
readonly pending?: boolean | undefined;
|
|
1111
1127
|
readonly text: string;
|
|
1112
1128
|
readonly _tag: "proposal";
|
|
1129
|
+
} | {
|
|
1130
|
+
readonly pending?: boolean | undefined;
|
|
1131
|
+
readonly _tag: "summary";
|
|
1132
|
+
readonly content: string;
|
|
1113
1133
|
} | {
|
|
1114
1134
|
readonly pending?: boolean | undefined;
|
|
1115
1135
|
readonly _tag: "toolkit";
|
|
@@ -1230,7 +1250,7 @@ export declare namespace ThreadOperation {
|
|
|
1230
1250
|
} | {
|
|
1231
1251
|
readonly pending?: boolean | undefined;
|
|
1232
1252
|
readonly mimeType?: string | undefined;
|
|
1233
|
-
readonly _tag: "
|
|
1253
|
+
readonly _tag: "stats";
|
|
1234
1254
|
readonly message?: string | undefined;
|
|
1235
1255
|
readonly model?: string | undefined;
|
|
1236
1256
|
readonly usage?: {
|
|
@@ -1250,7 +1270,7 @@ export declare namespace ThreadOperation {
|
|
|
1250
1270
|
readonly type: "http";
|
|
1251
1271
|
readonly url: string;
|
|
1252
1272
|
} | undefined;
|
|
1253
|
-
readonly id
|
|
1273
|
+
readonly id?: string | undefined;
|
|
1254
1274
|
readonly pending?: boolean | undefined;
|
|
1255
1275
|
readonly _tag: "image";
|
|
1256
1276
|
} | {
|
|
@@ -1262,7 +1282,7 @@ export declare namespace ThreadOperation {
|
|
|
1262
1282
|
} | {
|
|
1263
1283
|
readonly pending?: boolean | undefined;
|
|
1264
1284
|
readonly _tag: "reference";
|
|
1265
|
-
readonly reference: import("@dxos/echo/internal").Ref<
|
|
1285
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
1266
1286
|
} | {
|
|
1267
1287
|
readonly pending?: boolean | undefined;
|
|
1268
1288
|
readonly text: string;
|
|
@@ -1289,6 +1309,10 @@ export declare namespace ThreadOperation {
|
|
|
1289
1309
|
readonly pending?: boolean | undefined;
|
|
1290
1310
|
readonly text: string;
|
|
1291
1311
|
readonly _tag: "proposal";
|
|
1312
|
+
} | {
|
|
1313
|
+
readonly pending?: boolean | undefined;
|
|
1314
|
+
readonly _tag: "summary";
|
|
1315
|
+
readonly content: string;
|
|
1292
1316
|
} | {
|
|
1293
1317
|
readonly pending?: boolean | undefined;
|
|
1294
1318
|
readonly _tag: "toolkit";
|
|
@@ -1307,22 +1331,18 @@ export declare namespace ThreadOperation {
|
|
|
1307
1331
|
type DeleteOutput = Schema.Schema.Type<typeof DeleteOutput>;
|
|
1308
1332
|
const Delete: Omit<{
|
|
1309
1333
|
readonly meta: {
|
|
1310
|
-
readonly key: `${string}
|
|
1334
|
+
readonly key: `${string}.delete`;
|
|
1311
1335
|
readonly name: "Delete Thread";
|
|
1312
1336
|
};
|
|
1313
1337
|
readonly services: readonly [typeof Capability.Service];
|
|
1314
1338
|
readonly schema: {
|
|
1315
1339
|
readonly input: Schema.Struct<{
|
|
1316
|
-
anchor: Type.Relation<{
|
|
1340
|
+
anchor: import("@dxos/echo/Type").Relation<{
|
|
1317
1341
|
readonly id: string;
|
|
1318
1342
|
readonly anchor?: string | undefined;
|
|
1319
|
-
},
|
|
1320
|
-
subject:
|
|
1321
|
-
|
|
1322
|
-
} & import("@dxos/echo/internal").AnyProperties, never> & {
|
|
1323
|
-
readonly "~@dxos/echo/SchemaKind": import("@dxos/echo/internal").EntityKind.Object;
|
|
1324
|
-
} & import("@dxos/echo/internal").TypeMeta;
|
|
1325
|
-
thread: Schema.optional<Type.Obj<{
|
|
1343
|
+
}, 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, Schema.Struct.Fields>;
|
|
1344
|
+
subject: import("@dxos/echo/Type").Obj<Obj.Unknown, Schema.Struct.Fields>;
|
|
1345
|
+
thread: Schema.optional<import("@dxos/echo/Type").Obj<{
|
|
1326
1346
|
readonly name?: string | undefined;
|
|
1327
1347
|
readonly status?: "active" | "staged" | "resolved" | undefined;
|
|
1328
1348
|
readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
@@ -1420,7 +1440,7 @@ export declare namespace ThreadOperation {
|
|
|
1420
1440
|
} | {
|
|
1421
1441
|
readonly pending?: boolean | undefined;
|
|
1422
1442
|
readonly mimeType?: string | undefined;
|
|
1423
|
-
readonly _tag: "
|
|
1443
|
+
readonly _tag: "stats";
|
|
1424
1444
|
readonly message?: string | undefined;
|
|
1425
1445
|
readonly model?: string | undefined;
|
|
1426
1446
|
readonly usage?: {
|
|
@@ -1440,7 +1460,7 @@ export declare namespace ThreadOperation {
|
|
|
1440
1460
|
readonly type: "http";
|
|
1441
1461
|
readonly url: string;
|
|
1442
1462
|
} | undefined;
|
|
1443
|
-
readonly id
|
|
1463
|
+
readonly id?: string | undefined;
|
|
1444
1464
|
readonly pending?: boolean | undefined;
|
|
1445
1465
|
readonly _tag: "image";
|
|
1446
1466
|
} | {
|
|
@@ -1452,7 +1472,7 @@ export declare namespace ThreadOperation {
|
|
|
1452
1472
|
} | {
|
|
1453
1473
|
readonly pending?: boolean | undefined;
|
|
1454
1474
|
readonly _tag: "reference";
|
|
1455
|
-
readonly reference: import("@dxos/echo/internal").Ref<
|
|
1475
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
1456
1476
|
} | {
|
|
1457
1477
|
readonly pending?: boolean | undefined;
|
|
1458
1478
|
readonly text: string;
|
|
@@ -1479,6 +1499,10 @@ export declare namespace ThreadOperation {
|
|
|
1479
1499
|
readonly pending?: boolean | undefined;
|
|
1480
1500
|
readonly text: string;
|
|
1481
1501
|
readonly _tag: "proposal";
|
|
1502
|
+
} | {
|
|
1503
|
+
readonly pending?: boolean | undefined;
|
|
1504
|
+
readonly _tag: "summary";
|
|
1505
|
+
readonly content: string;
|
|
1482
1506
|
} | {
|
|
1483
1507
|
readonly pending?: boolean | undefined;
|
|
1484
1508
|
readonly _tag: "toolkit";
|
|
@@ -1495,7 +1519,7 @@ export declare namespace ThreadOperation {
|
|
|
1495
1519
|
}, Schema.Struct.Fields>>;
|
|
1496
1520
|
}>;
|
|
1497
1521
|
readonly output: Schema.SchemaClass<{
|
|
1498
|
-
readonly anchor?: (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Relation> &
|
|
1522
|
+
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> & {
|
|
1499
1523
|
readonly id: string;
|
|
1500
1524
|
readonly anchor?: string | undefined;
|
|
1501
1525
|
}) | undefined;
|
|
@@ -1597,7 +1621,7 @@ export declare namespace ThreadOperation {
|
|
|
1597
1621
|
} | {
|
|
1598
1622
|
readonly pending?: boolean | undefined;
|
|
1599
1623
|
readonly mimeType?: string | undefined;
|
|
1600
|
-
readonly _tag: "
|
|
1624
|
+
readonly _tag: "stats";
|
|
1601
1625
|
readonly message?: string | undefined;
|
|
1602
1626
|
readonly model?: string | undefined;
|
|
1603
1627
|
readonly usage?: {
|
|
@@ -1617,7 +1641,7 @@ export declare namespace ThreadOperation {
|
|
|
1617
1641
|
readonly type: "http";
|
|
1618
1642
|
readonly url: string;
|
|
1619
1643
|
} | undefined;
|
|
1620
|
-
readonly id
|
|
1644
|
+
readonly id?: string | undefined;
|
|
1621
1645
|
readonly pending?: boolean | undefined;
|
|
1622
1646
|
readonly _tag: "image";
|
|
1623
1647
|
} | {
|
|
@@ -1629,7 +1653,7 @@ export declare namespace ThreadOperation {
|
|
|
1629
1653
|
} | {
|
|
1630
1654
|
readonly pending?: boolean | undefined;
|
|
1631
1655
|
readonly _tag: "reference";
|
|
1632
|
-
readonly reference: import("@dxos/echo/internal").Ref<
|
|
1656
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
1633
1657
|
} | {
|
|
1634
1658
|
readonly pending?: boolean | undefined;
|
|
1635
1659
|
readonly text: string;
|
|
@@ -1656,6 +1680,10 @@ export declare namespace ThreadOperation {
|
|
|
1656
1680
|
readonly pending?: boolean | undefined;
|
|
1657
1681
|
readonly text: string;
|
|
1658
1682
|
readonly _tag: "proposal";
|
|
1683
|
+
} | {
|
|
1684
|
+
readonly pending?: boolean | undefined;
|
|
1685
|
+
readonly _tag: "summary";
|
|
1686
|
+
readonly content: string;
|
|
1659
1687
|
} | {
|
|
1660
1688
|
readonly pending?: boolean | undefined;
|
|
1661
1689
|
readonly _tag: "toolkit";
|
|
@@ -1776,7 +1804,7 @@ export declare namespace ThreadOperation {
|
|
|
1776
1804
|
} | {
|
|
1777
1805
|
readonly pending?: boolean | undefined;
|
|
1778
1806
|
readonly mimeType?: string | undefined;
|
|
1779
|
-
readonly _tag: "
|
|
1807
|
+
readonly _tag: "stats";
|
|
1780
1808
|
readonly message?: string | undefined;
|
|
1781
1809
|
readonly model?: string | undefined;
|
|
1782
1810
|
readonly usage?: {
|
|
@@ -1796,7 +1824,7 @@ export declare namespace ThreadOperation {
|
|
|
1796
1824
|
readonly type: "http";
|
|
1797
1825
|
readonly url: string;
|
|
1798
1826
|
} | undefined;
|
|
1799
|
-
readonly id
|
|
1827
|
+
readonly id?: string | undefined;
|
|
1800
1828
|
readonly pending?: boolean | undefined;
|
|
1801
1829
|
readonly _tag: "image";
|
|
1802
1830
|
} | {
|
|
@@ -1808,7 +1836,7 @@ export declare namespace ThreadOperation {
|
|
|
1808
1836
|
} | {
|
|
1809
1837
|
readonly pending?: boolean | undefined;
|
|
1810
1838
|
readonly _tag: "reference";
|
|
1811
|
-
readonly reference: import("@dxos/echo/internal").Ref<
|
|
1839
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
1812
1840
|
} | {
|
|
1813
1841
|
readonly pending?: boolean | undefined;
|
|
1814
1842
|
readonly text: string;
|
|
@@ -1835,6 +1863,10 @@ export declare namespace ThreadOperation {
|
|
|
1835
1863
|
readonly pending?: boolean | undefined;
|
|
1836
1864
|
readonly text: string;
|
|
1837
1865
|
readonly _tag: "proposal";
|
|
1866
|
+
} | {
|
|
1867
|
+
readonly pending?: boolean | undefined;
|
|
1868
|
+
readonly _tag: "summary";
|
|
1869
|
+
readonly content: string;
|
|
1838
1870
|
} | {
|
|
1839
1871
|
readonly pending?: boolean | undefined;
|
|
1840
1872
|
readonly _tag: "toolkit";
|
|
@@ -1856,7 +1888,7 @@ export declare namespace ThreadOperation {
|
|
|
1856
1888
|
};
|
|
1857
1889
|
const Select: Omit<{
|
|
1858
1890
|
readonly meta: {
|
|
1859
|
-
readonly key: `${string}
|
|
1891
|
+
readonly key: `${string}.select`;
|
|
1860
1892
|
readonly name: "Select Thread";
|
|
1861
1893
|
};
|
|
1862
1894
|
readonly services: readonly [typeof Capability.Service];
|
|
@@ -1871,13 +1903,13 @@ export declare namespace ThreadOperation {
|
|
|
1871
1903
|
};
|
|
1872
1904
|
const ToggleResolved: Omit<{
|
|
1873
1905
|
readonly meta: {
|
|
1874
|
-
readonly key: `${string}
|
|
1906
|
+
readonly key: `${string}.toggle-resolved`;
|
|
1875
1907
|
readonly name: "Toggle Resolved";
|
|
1876
1908
|
};
|
|
1877
1909
|
readonly services: readonly [typeof Capability.Service];
|
|
1878
1910
|
readonly schema: {
|
|
1879
1911
|
readonly input: Schema.Struct<{
|
|
1880
|
-
thread: Type.Obj<{
|
|
1912
|
+
thread: import("@dxos/echo/Type").Obj<{
|
|
1881
1913
|
readonly name?: string | undefined;
|
|
1882
1914
|
readonly status?: "active" | "staged" | "resolved" | undefined;
|
|
1883
1915
|
readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
@@ -1975,7 +2007,7 @@ export declare namespace ThreadOperation {
|
|
|
1975
2007
|
} | {
|
|
1976
2008
|
readonly pending?: boolean | undefined;
|
|
1977
2009
|
readonly mimeType?: string | undefined;
|
|
1978
|
-
readonly _tag: "
|
|
2010
|
+
readonly _tag: "stats";
|
|
1979
2011
|
readonly message?: string | undefined;
|
|
1980
2012
|
readonly model?: string | undefined;
|
|
1981
2013
|
readonly usage?: {
|
|
@@ -1995,7 +2027,7 @@ export declare namespace ThreadOperation {
|
|
|
1995
2027
|
readonly type: "http";
|
|
1996
2028
|
readonly url: string;
|
|
1997
2029
|
} | undefined;
|
|
1998
|
-
readonly id
|
|
2030
|
+
readonly id?: string | undefined;
|
|
1999
2031
|
readonly pending?: boolean | undefined;
|
|
2000
2032
|
readonly _tag: "image";
|
|
2001
2033
|
} | {
|
|
@@ -2007,7 +2039,7 @@ export declare namespace ThreadOperation {
|
|
|
2007
2039
|
} | {
|
|
2008
2040
|
readonly pending?: boolean | undefined;
|
|
2009
2041
|
readonly _tag: "reference";
|
|
2010
|
-
readonly reference: import("@dxos/echo/internal").Ref<
|
|
2042
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
2011
2043
|
} | {
|
|
2012
2044
|
readonly pending?: boolean | undefined;
|
|
2013
2045
|
readonly text: string;
|
|
@@ -2034,6 +2066,10 @@ export declare namespace ThreadOperation {
|
|
|
2034
2066
|
readonly pending?: boolean | undefined;
|
|
2035
2067
|
readonly text: string;
|
|
2036
2068
|
readonly _tag: "proposal";
|
|
2069
|
+
} | {
|
|
2070
|
+
readonly pending?: boolean | undefined;
|
|
2071
|
+
readonly _tag: "summary";
|
|
2072
|
+
readonly content: string;
|
|
2037
2073
|
} | {
|
|
2038
2074
|
readonly pending?: boolean | undefined;
|
|
2039
2075
|
readonly _tag: "toolkit";
|
|
@@ -2056,24 +2092,20 @@ export declare namespace ThreadOperation {
|
|
|
2056
2092
|
};
|
|
2057
2093
|
const AddMessage: Omit<{
|
|
2058
2094
|
readonly meta: {
|
|
2059
|
-
readonly key: `${string}
|
|
2095
|
+
readonly key: `${string}.add-message`;
|
|
2060
2096
|
readonly name: "Add Message";
|
|
2061
2097
|
};
|
|
2062
2098
|
readonly services: readonly [typeof Capability.Service];
|
|
2063
2099
|
readonly schema: {
|
|
2064
2100
|
readonly input: Schema.Struct<{
|
|
2065
|
-
subject:
|
|
2066
|
-
|
|
2067
|
-
} & import("@dxos/echo/internal").AnyProperties, never> & {
|
|
2068
|
-
readonly "~@dxos/echo/SchemaKind": import("@dxos/echo/internal").EntityKind.Object;
|
|
2069
|
-
} & import("@dxos/echo/internal").TypeMeta;
|
|
2070
|
-
anchor: Type.Relation<{
|
|
2101
|
+
subject: import("@dxos/echo/Type").Obj<Obj.Unknown, Schema.Struct.Fields>;
|
|
2102
|
+
anchor: import("@dxos/echo/Type").Relation<{
|
|
2071
2103
|
readonly id: string;
|
|
2072
2104
|
readonly anchor?: string | undefined;
|
|
2073
|
-
},
|
|
2105
|
+
}, 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, Schema.Struct.Fields>;
|
|
2074
2106
|
sender: Schema.Struct<{
|
|
2075
2107
|
role: Schema.optional<Schema.Literal<["user", "assistant", "tool"]>>;
|
|
2076
|
-
contact: Schema.optional<import("@dxos/echo/
|
|
2108
|
+
contact: Schema.optional<import("@dxos/echo/Ref").RefSchema<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
2077
2109
|
readonly image?: string | undefined;
|
|
2078
2110
|
readonly fullName?: string | undefined;
|
|
2079
2111
|
readonly preferredName?: string | undefined;
|
|
@@ -2147,7 +2179,12 @@ export declare namespace ThreadOperation {
|
|
|
2147
2179
|
readonly sender: {
|
|
2148
2180
|
readonly name?: string | undefined;
|
|
2149
2181
|
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
2150
|
-
readonly contact
|
|
2182
|
+
readonly contact
|
|
2183
|
+
/**
|
|
2184
|
+
* Operations for the Thread plugin.
|
|
2185
|
+
* Note: Complex ECHO types are typed as Schema.Any to avoid serialization issues.
|
|
2186
|
+
*/
|
|
2187
|
+
?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
2151
2188
|
readonly image?: string | undefined;
|
|
2152
2189
|
readonly fullName?: string | undefined;
|
|
2153
2190
|
readonly preferredName?: string | undefined;
|
|
@@ -2235,7 +2272,7 @@ export declare namespace ThreadOperation {
|
|
|
2235
2272
|
} | {
|
|
2236
2273
|
readonly pending?: boolean | undefined;
|
|
2237
2274
|
readonly mimeType?: string | undefined;
|
|
2238
|
-
readonly _tag: "
|
|
2275
|
+
readonly _tag: "stats";
|
|
2239
2276
|
readonly message?: string | undefined;
|
|
2240
2277
|
readonly model?: string | undefined;
|
|
2241
2278
|
readonly usage?: {
|
|
@@ -2267,7 +2304,7 @@ export declare namespace ThreadOperation {
|
|
|
2267
2304
|
} | {
|
|
2268
2305
|
readonly pending?: boolean | undefined;
|
|
2269
2306
|
readonly _tag: "reference";
|
|
2270
|
-
readonly reference: import("@dxos/echo/internal").Ref<
|
|
2307
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
2271
2308
|
} | {
|
|
2272
2309
|
readonly pending?: boolean | undefined;
|
|
2273
2310
|
readonly text: string;
|
|
@@ -2294,6 +2331,10 @@ export declare namespace ThreadOperation {
|
|
|
2294
2331
|
readonly pending?: boolean | undefined;
|
|
2295
2332
|
readonly text: string;
|
|
2296
2333
|
readonly _tag: "proposal";
|
|
2334
|
+
} | {
|
|
2335
|
+
readonly pending?: boolean | undefined;
|
|
2336
|
+
readonly _tag: "summary";
|
|
2337
|
+
readonly content: string;
|
|
2297
2338
|
} | {
|
|
2298
2339
|
readonly pending?: boolean | undefined;
|
|
2299
2340
|
readonly _tag: "toolkit";
|
|
@@ -2316,7 +2357,12 @@ export declare namespace ThreadOperation {
|
|
|
2316
2357
|
sender: {
|
|
2317
2358
|
readonly name?: string | undefined;
|
|
2318
2359
|
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
2319
|
-
readonly contact
|
|
2360
|
+
readonly contact
|
|
2361
|
+
/**
|
|
2362
|
+
* Operations for the Thread plugin.
|
|
2363
|
+
* Note: Complex ECHO types are typed as Schema.Any to avoid serialization issues.
|
|
2364
|
+
*/
|
|
2365
|
+
?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
2320
2366
|
readonly image?: string | undefined;
|
|
2321
2367
|
readonly fullName?: string | undefined;
|
|
2322
2368
|
readonly preferredName?: string | undefined;
|
|
@@ -2404,7 +2450,7 @@ export declare namespace ThreadOperation {
|
|
|
2404
2450
|
} | {
|
|
2405
2451
|
readonly pending?: boolean | undefined;
|
|
2406
2452
|
readonly mimeType?: string | undefined;
|
|
2407
|
-
readonly _tag: "
|
|
2453
|
+
readonly _tag: "stats";
|
|
2408
2454
|
readonly message?: string | undefined;
|
|
2409
2455
|
readonly model?: string | undefined;
|
|
2410
2456
|
readonly usage?: {
|
|
@@ -2436,7 +2482,7 @@ export declare namespace ThreadOperation {
|
|
|
2436
2482
|
} | {
|
|
2437
2483
|
readonly pending?: boolean | undefined;
|
|
2438
2484
|
readonly _tag: "reference";
|
|
2439
|
-
readonly reference: import("@dxos/echo/internal").Ref<
|
|
2485
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
2440
2486
|
} | {
|
|
2441
2487
|
readonly pending?: boolean | undefined;
|
|
2442
2488
|
readonly text: string;
|
|
@@ -2463,6 +2509,10 @@ export declare namespace ThreadOperation {
|
|
|
2463
2509
|
readonly pending?: boolean | undefined;
|
|
2464
2510
|
readonly text: string;
|
|
2465
2511
|
readonly _tag: "proposal";
|
|
2512
|
+
} | {
|
|
2513
|
+
readonly pending?: boolean | undefined;
|
|
2514
|
+
readonly _tag: "summary";
|
|
2515
|
+
readonly content: string;
|
|
2466
2516
|
} | {
|
|
2467
2517
|
readonly pending?: boolean | undefined;
|
|
2468
2518
|
readonly _tag: "toolkit";
|
|
@@ -2481,21 +2531,17 @@ export declare namespace ThreadOperation {
|
|
|
2481
2531
|
type DeleteMessageOutput = Schema.Schema.Type<typeof DeleteMessageOutput>;
|
|
2482
2532
|
const DeleteMessage: Omit<{
|
|
2483
2533
|
readonly meta: {
|
|
2484
|
-
readonly key: `${string}
|
|
2534
|
+
readonly key: `${string}.delete-message`;
|
|
2485
2535
|
readonly name: "Delete Message";
|
|
2486
2536
|
};
|
|
2487
2537
|
readonly services: readonly [typeof Capability.Service];
|
|
2488
2538
|
readonly schema: {
|
|
2489
2539
|
readonly input: Schema.Struct<{
|
|
2490
|
-
anchor: Type.Relation<{
|
|
2540
|
+
anchor: import("@dxos/echo/Type").Relation<{
|
|
2491
2541
|
readonly id: string;
|
|
2492
2542
|
readonly anchor?: string | undefined;
|
|
2493
|
-
},
|
|
2494
|
-
subject:
|
|
2495
|
-
id: string;
|
|
2496
|
-
} & import("@dxos/echo/internal").AnyProperties, never> & {
|
|
2497
|
-
readonly "~@dxos/echo/SchemaKind": import("@dxos/echo/internal").EntityKind.Object;
|
|
2498
|
-
} & import("@dxos/echo/internal").TypeMeta;
|
|
2543
|
+
}, 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, Schema.Struct.Fields>;
|
|
2544
|
+
subject: import("@dxos/echo/Type").Obj<Obj.Unknown, Schema.Struct.Fields>;
|
|
2499
2545
|
messageId: typeof Schema.String;
|
|
2500
2546
|
}>;
|
|
2501
2547
|
readonly output: Schema.SchemaClass<{
|
|
@@ -2506,7 +2552,12 @@ export declare namespace ThreadOperation {
|
|
|
2506
2552
|
readonly sender: {
|
|
2507
2553
|
readonly name?: string | undefined;
|
|
2508
2554
|
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
2509
|
-
readonly contact
|
|
2555
|
+
readonly contact
|
|
2556
|
+
/**
|
|
2557
|
+
* Operations for the Thread plugin.
|
|
2558
|
+
* Note: Complex ECHO types are typed as Schema.Any to avoid serialization issues.
|
|
2559
|
+
*/
|
|
2560
|
+
?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
2510
2561
|
readonly image?: string | undefined;
|
|
2511
2562
|
readonly fullName?: string | undefined;
|
|
2512
2563
|
readonly preferredName?: string | undefined;
|
|
@@ -2594,7 +2645,7 @@ export declare namespace ThreadOperation {
|
|
|
2594
2645
|
} | {
|
|
2595
2646
|
readonly pending?: boolean | undefined;
|
|
2596
2647
|
readonly mimeType?: string | undefined;
|
|
2597
|
-
readonly _tag: "
|
|
2648
|
+
readonly _tag: "stats";
|
|
2598
2649
|
readonly message?: string | undefined;
|
|
2599
2650
|
readonly model?: string | undefined;
|
|
2600
2651
|
readonly usage?: {
|
|
@@ -2626,7 +2677,7 @@ export declare namespace ThreadOperation {
|
|
|
2626
2677
|
} | {
|
|
2627
2678
|
readonly pending?: boolean | undefined;
|
|
2628
2679
|
readonly _tag: "reference";
|
|
2629
|
-
readonly reference: import("@dxos/echo/internal").Ref<
|
|
2680
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
2630
2681
|
} | {
|
|
2631
2682
|
readonly pending?: boolean | undefined;
|
|
2632
2683
|
readonly text: string;
|
|
@@ -2653,6 +2704,10 @@ export declare namespace ThreadOperation {
|
|
|
2653
2704
|
readonly pending?: boolean | undefined;
|
|
2654
2705
|
readonly text: string;
|
|
2655
2706
|
readonly _tag: "proposal";
|
|
2707
|
+
} | {
|
|
2708
|
+
readonly pending?: boolean | undefined;
|
|
2709
|
+
readonly _tag: "summary";
|
|
2710
|
+
readonly content: string;
|
|
2656
2711
|
} | {
|
|
2657
2712
|
readonly pending?: boolean | undefined;
|
|
2658
2713
|
readonly _tag: "toolkit";
|
|
@@ -2675,7 +2730,12 @@ export declare namespace ThreadOperation {
|
|
|
2675
2730
|
sender: {
|
|
2676
2731
|
readonly name?: string | undefined;
|
|
2677
2732
|
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
2678
|
-
readonly contact
|
|
2733
|
+
readonly contact
|
|
2734
|
+
/**
|
|
2735
|
+
* Operations for the Thread plugin.
|
|
2736
|
+
* Note: Complex ECHO types are typed as Schema.Any to avoid serialization issues.
|
|
2737
|
+
*/
|
|
2738
|
+
?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
2679
2739
|
readonly image?: string | undefined;
|
|
2680
2740
|
readonly fullName?: string | undefined;
|
|
2681
2741
|
readonly preferredName?: string | undefined;
|
|
@@ -2763,7 +2823,7 @@ export declare namespace ThreadOperation {
|
|
|
2763
2823
|
} | {
|
|
2764
2824
|
readonly pending?: boolean | undefined;
|
|
2765
2825
|
readonly mimeType?: string | undefined;
|
|
2766
|
-
readonly _tag: "
|
|
2826
|
+
readonly _tag: "stats";
|
|
2767
2827
|
readonly message?: string | undefined;
|
|
2768
2828
|
readonly model?: string | undefined;
|
|
2769
2829
|
readonly usage?: {
|
|
@@ -2795,7 +2855,7 @@ export declare namespace ThreadOperation {
|
|
|
2795
2855
|
} | {
|
|
2796
2856
|
readonly pending?: boolean | undefined;
|
|
2797
2857
|
readonly _tag: "reference";
|
|
2798
|
-
readonly reference: import("@dxos/echo/internal").Ref<
|
|
2858
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
2799
2859
|
} | {
|
|
2800
2860
|
readonly pending?: boolean | undefined;
|
|
2801
2861
|
readonly text: string;
|
|
@@ -2822,6 +2882,10 @@ export declare namespace ThreadOperation {
|
|
|
2822
2882
|
readonly pending?: boolean | undefined;
|
|
2823
2883
|
readonly text: string;
|
|
2824
2884
|
readonly _tag: "proposal";
|
|
2885
|
+
} | {
|
|
2886
|
+
readonly pending?: boolean | undefined;
|
|
2887
|
+
readonly _tag: "summary";
|
|
2888
|
+
readonly content: string;
|
|
2825
2889
|
} | {
|
|
2826
2890
|
readonly pending?: boolean | undefined;
|
|
2827
2891
|
readonly _tag: "toolkit";
|
|
@@ -2846,13 +2910,13 @@ export declare namespace ThreadOperation {
|
|
|
2846
2910
|
*/
|
|
2847
2911
|
const Restore: Omit<{
|
|
2848
2912
|
readonly meta: {
|
|
2849
|
-
readonly key: `${string}
|
|
2913
|
+
readonly key: `${string}.restore`;
|
|
2850
2914
|
readonly name: "Restore Thread";
|
|
2851
2915
|
};
|
|
2852
2916
|
readonly services: readonly [typeof Capability.Service];
|
|
2853
2917
|
readonly schema: {
|
|
2854
2918
|
readonly input: Schema.Struct<{
|
|
2855
|
-
thread: Type.Obj<{
|
|
2919
|
+
thread: import("@dxos/echo/Type").Obj<{
|
|
2856
2920
|
readonly name?: string | undefined;
|
|
2857
2921
|
readonly status?: "active" | "staged" | "resolved" | undefined;
|
|
2858
2922
|
readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
@@ -2950,7 +3014,7 @@ export declare namespace ThreadOperation {
|
|
|
2950
3014
|
} | {
|
|
2951
3015
|
readonly pending?: boolean | undefined;
|
|
2952
3016
|
readonly mimeType?: string | undefined;
|
|
2953
|
-
readonly _tag: "
|
|
3017
|
+
readonly _tag: "stats";
|
|
2954
3018
|
readonly message?: string | undefined;
|
|
2955
3019
|
readonly model?: string | undefined;
|
|
2956
3020
|
readonly usage?: {
|
|
@@ -2970,7 +3034,7 @@ export declare namespace ThreadOperation {
|
|
|
2970
3034
|
readonly type: "http";
|
|
2971
3035
|
readonly url: string;
|
|
2972
3036
|
} | undefined;
|
|
2973
|
-
readonly id
|
|
3037
|
+
readonly id?: string | undefined;
|
|
2974
3038
|
readonly pending?: boolean | undefined;
|
|
2975
3039
|
readonly _tag: "image";
|
|
2976
3040
|
} | {
|
|
@@ -2982,7 +3046,7 @@ export declare namespace ThreadOperation {
|
|
|
2982
3046
|
} | {
|
|
2983
3047
|
readonly pending?: boolean | undefined;
|
|
2984
3048
|
readonly _tag: "reference";
|
|
2985
|
-
readonly reference: import("@dxos/echo/internal").Ref<
|
|
3049
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
2986
3050
|
} | {
|
|
2987
3051
|
readonly pending?: boolean | undefined;
|
|
2988
3052
|
readonly text: string;
|
|
@@ -3009,6 +3073,10 @@ export declare namespace ThreadOperation {
|
|
|
3009
3073
|
readonly pending?: boolean | undefined;
|
|
3010
3074
|
readonly text: string;
|
|
3011
3075
|
readonly _tag: "proposal";
|
|
3076
|
+
} | {
|
|
3077
|
+
readonly pending?: boolean | undefined;
|
|
3078
|
+
readonly _tag: "summary";
|
|
3079
|
+
readonly content: string;
|
|
3012
3080
|
} | {
|
|
3013
3081
|
readonly pending?: boolean | undefined;
|
|
3014
3082
|
readonly _tag: "toolkit";
|
|
@@ -3023,10 +3091,10 @@ export declare namespace ThreadOperation {
|
|
|
3023
3091
|
} | undefined;
|
|
3024
3092
|
}>[];
|
|
3025
3093
|
}, Schema.Struct.Fields>;
|
|
3026
|
-
anchor: Type.Relation<{
|
|
3094
|
+
anchor: import("@dxos/echo/Type").Relation<{
|
|
3027
3095
|
readonly id: string;
|
|
3028
3096
|
readonly anchor?: string | undefined;
|
|
3029
|
-
},
|
|
3097
|
+
}, 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, Schema.Struct.Fields>;
|
|
3030
3098
|
}>;
|
|
3031
3099
|
readonly output: typeof Schema.Void;
|
|
3032
3100
|
};
|
|
@@ -3038,24 +3106,29 @@ export declare namespace ThreadOperation {
|
|
|
3038
3106
|
*/
|
|
3039
3107
|
const RestoreMessage: Omit<{
|
|
3040
3108
|
readonly meta: {
|
|
3041
|
-
readonly key: `${string}
|
|
3109
|
+
readonly key: `${string}.restore-message`;
|
|
3042
3110
|
readonly name: "Restore Message";
|
|
3043
3111
|
};
|
|
3044
3112
|
readonly services: readonly [typeof Capability.Service];
|
|
3045
3113
|
readonly schema: {
|
|
3046
3114
|
readonly input: Schema.Struct<{
|
|
3047
|
-
anchor: Type.Relation<{
|
|
3115
|
+
anchor: import("@dxos/echo/Type").Relation<{
|
|
3048
3116
|
readonly id: string;
|
|
3049
3117
|
readonly anchor?: string | undefined;
|
|
3050
|
-
},
|
|
3051
|
-
message: Type.Obj<{
|
|
3118
|
+
}, 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, Schema.Struct.Fields>;
|
|
3119
|
+
message: import("@dxos/echo/Type").Obj<{
|
|
3052
3120
|
readonly id: string;
|
|
3053
3121
|
readonly parentMessage?: string | undefined;
|
|
3054
3122
|
readonly created: string;
|
|
3055
3123
|
readonly sender: {
|
|
3056
3124
|
readonly name?: string | undefined;
|
|
3057
3125
|
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
3058
|
-
readonly contact
|
|
3126
|
+
readonly contact
|
|
3127
|
+
/**
|
|
3128
|
+
* Operations for the Thread plugin.
|
|
3129
|
+
* Note: Complex ECHO types are typed as Schema.Any to avoid serialization issues.
|
|
3130
|
+
*/
|
|
3131
|
+
?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
3059
3132
|
readonly image?: string | undefined;
|
|
3060
3133
|
readonly fullName?: string | undefined;
|
|
3061
3134
|
readonly preferredName?: string | undefined;
|
|
@@ -3143,7 +3216,7 @@ export declare namespace ThreadOperation {
|
|
|
3143
3216
|
} | {
|
|
3144
3217
|
readonly pending?: boolean | undefined;
|
|
3145
3218
|
readonly mimeType?: string | undefined;
|
|
3146
|
-
readonly _tag: "
|
|
3219
|
+
readonly _tag: "stats";
|
|
3147
3220
|
readonly message?: string | undefined;
|
|
3148
3221
|
readonly model?: string | undefined;
|
|
3149
3222
|
readonly usage?: {
|
|
@@ -3175,7 +3248,7 @@ export declare namespace ThreadOperation {
|
|
|
3175
3248
|
} | {
|
|
3176
3249
|
readonly pending?: boolean | undefined;
|
|
3177
3250
|
readonly _tag: "reference";
|
|
3178
|
-
readonly reference: import("@dxos/echo/internal").Ref<
|
|
3251
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
3179
3252
|
} | {
|
|
3180
3253
|
readonly pending?: boolean | undefined;
|
|
3181
3254
|
readonly text: string;
|
|
@@ -3202,6 +3275,10 @@ export declare namespace ThreadOperation {
|
|
|
3202
3275
|
readonly pending?: boolean | undefined;
|
|
3203
3276
|
readonly text: string;
|
|
3204
3277
|
readonly _tag: "proposal";
|
|
3278
|
+
} | {
|
|
3279
|
+
readonly pending?: boolean | undefined;
|
|
3280
|
+
readonly _tag: "summary";
|
|
3281
|
+
readonly content: string;
|
|
3205
3282
|
} | {
|
|
3206
3283
|
readonly pending?: boolean | undefined;
|
|
3207
3284
|
readonly _tag: "toolkit";
|