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