@dxos/plugin-transcription 0.8.4-main.66e292d → 0.8.4-main.69d29f4
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/TranscriptContainer-6EHKWVS4.mjs +12 -0
- package/dist/lib/browser/blueprint-definition-FTRNMLJZ.mjs +18 -0
- package/dist/lib/browser/blueprint-definition-FTRNMLJZ.mjs.map +7 -0
- package/dist/lib/browser/blueprints/index.mjs +9 -0
- package/dist/lib/browser/chunk-HOOPZ7EM.mjs +35 -0
- package/dist/lib/browser/chunk-HOOPZ7EM.mjs.map +7 -0
- package/dist/lib/browser/{chunk-C5YV3JZF.mjs → chunk-ICM7JRCO.mjs} +57 -97
- package/dist/lib/browser/chunk-ICM7JRCO.mjs.map +7 -0
- package/dist/lib/browser/chunk-J5LGTIGS.mjs +10 -0
- package/dist/lib/browser/chunk-J5LGTIGS.mjs.map +7 -0
- package/dist/lib/browser/chunk-Q5OC3WVG.mjs +72 -0
- package/dist/lib/browser/chunk-Q5OC3WVG.mjs.map +7 -0
- package/dist/lib/browser/{chunk-O33THH53.mjs → chunk-SYGEFDWO.mjs} +2 -2
- package/dist/lib/browser/{chunk-7GNN7E3U.mjs → chunk-TKFU53OZ.mjs} +17 -23
- package/dist/lib/browser/chunk-TKFU53OZ.mjs.map +7 -0
- package/dist/lib/browser/{blueprint-definition-GZ7NOODS.mjs → chunk-ZZF7ICVM.mjs} +30 -27
- package/dist/lib/browser/chunk-ZZF7ICVM.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +58 -69
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/operation-resolver-ZUWTU7C5.mjs +22 -0
- package/dist/lib/browser/operation-resolver-ZUWTU7C5.mjs.map +7 -0
- package/dist/lib/browser/react-surface-ZXH5267I.mjs +34 -0
- package/dist/lib/browser/react-surface-ZXH5267I.mjs.map +7 -0
- package/dist/lib/browser/{transcriber-6YDM5ZDT.mjs → transcriber-EZZTUCPE.mjs} +17 -13
- package/dist/lib/browser/transcriber-EZZTUCPE.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +8 -4
- package/dist/lib/node-esm/{TranscriptContainer-GM47P6WH.mjs → TranscriptContainer-5YT5W73I.mjs} +5 -4
- package/dist/lib/node-esm/TranscriptContainer-5YT5W73I.mjs.map +7 -0
- package/dist/lib/node-esm/blueprint-definition-IOX35YUX.mjs +19 -0
- package/dist/lib/node-esm/blueprint-definition-IOX35YUX.mjs.map +7 -0
- package/dist/lib/node-esm/blueprints/index.mjs +10 -0
- package/dist/lib/node-esm/blueprints/index.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-4BFY6P2D.mjs +73 -0
- package/dist/lib/node-esm/chunk-4BFY6P2D.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-IKGUNN3Z.mjs → chunk-BX2AB7S7.mjs} +57 -97
- package/dist/lib/node-esm/chunk-BX2AB7S7.mjs.map +7 -0
- package/dist/lib/node-esm/{blueprint-definition-GAHQBYTF.mjs → chunk-CWP22IHV.mjs} +30 -27
- package/dist/lib/node-esm/chunk-CWP22IHV.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-5JN2MHYA.mjs → chunk-EPC27WWV.mjs} +17 -23
- package/dist/lib/node-esm/chunk-EPC27WWV.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-SSYFSLB7.mjs → chunk-GVAVEVZ6.mjs} +2 -2
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +11 -0
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-NVM2QUMX.mjs +37 -0
- package/dist/lib/node-esm/chunk-NVM2QUMX.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +58 -69
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/operation-resolver-Z72B4H2Q.mjs +23 -0
- package/dist/lib/node-esm/operation-resolver-Z72B4H2Q.mjs.map +7 -0
- package/dist/lib/node-esm/{react-surface-EK6K2MMD.mjs → react-surface-6GUBZX2V.mjs} +14 -12
- package/dist/lib/node-esm/react-surface-6GUBZX2V.mjs.map +7 -0
- package/dist/lib/node-esm/{transcriber-CPD3FZ7M.mjs → transcriber-RGW3YYT4.mjs} +17 -13
- package/dist/lib/node-esm/transcriber-RGW3YYT4.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +8 -4
- package/dist/types/src/TranscriptionPlugin.d.ts +2 -1
- package/dist/types/src/TranscriptionPlugin.d.ts.map +1 -1
- package/dist/types/src/blueprints/index.d.ts +2 -0
- package/dist/types/src/blueprints/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/transcription-blueprint.d.ts +21 -0
- package/dist/types/src/blueprints/transcription-blueprint.d.ts.map +1 -0
- package/dist/types/src/capabilities/blueprint-definition/blueprint-definition.d.ts +9 -0
- package/dist/types/src/capabilities/blueprint-definition/blueprint-definition.d.ts.map +1 -0
- package/dist/types/src/capabilities/blueprint-definition/index.d.ts +3 -0
- package/dist/types/src/capabilities/blueprint-definition/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +4 -5
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/operation-handler/index.d.ts +3 -0
- package/dist/types/src/capabilities/operation-handler/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/operation-handler/operation-handler.d.ts +5 -0
- package/dist/types/src/capabilities/operation-handler/operation-handler.d.ts.map +1 -0
- package/dist/types/src/capabilities/operation-resolver/index.d.ts +3 -0
- package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +5 -0
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface/index.d.ts +3 -0
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts +5 -0
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -0
- package/dist/types/src/capabilities/transcriber/index.d.ts +3 -0
- package/dist/types/src/capabilities/transcriber/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/transcriber/transcriber.d.ts +9 -0
- package/dist/types/src/capabilities/transcriber/transcriber.d.ts.map +1 -0
- package/dist/types/src/components/Transcript/Transcript.d.ts +3 -5
- package/dist/types/src/components/Transcript/Transcript.d.ts.map +1 -1
- package/dist/types/src/components/Transcript/Transcript.stories.d.ts +2 -1
- package/dist/types/src/components/Transcript/Transcript.stories.d.ts.map +1 -1
- package/dist/types/src/components/Transcript/deprecated/OldTranscript.d.ts +9 -9
- package/dist/types/src/components/Transcript/deprecated/OldTranscript.d.ts.map +1 -1
- package/dist/types/src/components/TranscriptContainer.d.ts +3 -5
- package/dist/types/src/components/TranscriptContainer.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +1 -1
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/components/stories/FileTranscription.stories.d.ts +3 -3
- package/dist/types/src/components/stories/FileTranscription.stories.d.ts.map +1 -1
- package/dist/types/src/components/stories/MicrophoneTranscription.stories.d.ts +3 -3
- package/dist/types/src/components/stories/MicrophoneTranscription.stories.d.ts.map +1 -1
- package/dist/types/src/components/stories/TranscriptionStory.d.ts.map +1 -1
- package/dist/types/src/functions/open.d.ts.map +1 -1
- package/dist/types/src/hooks/useQueueModelAdapter.d.ts +1 -1
- package/dist/types/src/hooks/useQueueModelAdapter.d.ts.map +1 -1
- package/dist/types/src/hooks/useTranscriber.d.ts +1 -1
- package/dist/types/src/hooks/useTranscriber.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +2 -2
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/segments-normalization/message-normalizer.d.ts +2 -2
- package/dist/types/src/segments-normalization/message-normalizer.d.ts.map +1 -1
- package/dist/types/src/segments-normalization/normalization.d.ts +417 -357
- package/dist/types/src/segments-normalization/normalization.d.ts.map +1 -1
- package/dist/types/src/testing/testing.d.ts +4 -4
- package/dist/types/src/testing/testing.d.ts.map +1 -1
- package/dist/types/src/transcriber/media-stream-recorder.d.ts +2 -2
- package/dist/types/src/transcriber/media-stream-recorder.d.ts.map +1 -1
- package/dist/types/src/transcriber/transcriber.d.ts +2 -2
- package/dist/types/src/transcriber/transcriber.d.ts.map +1 -1
- package/dist/types/src/transcriber/transcription-manager.d.ts +6 -3
- package/dist/types/src/transcriber/transcription-manager.d.ts.map +1 -1
- package/dist/types/src/types/TranscriptAction.d.ts +22 -20
- package/dist/types/src/types/TranscriptAction.d.ts.map +1 -1
- package/dist/types/src/types/capabilities.d.ts +18 -0
- package/dist/types/src/types/capabilities.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +2 -0
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/util/index.d.ts +1 -0
- package/dist/types/src/util/index.d.ts.map +1 -1
- package/dist/types/src/util/render-byline.d.ts +4 -0
- package/dist/types/src/util/render-byline.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +83 -71
- package/src/TranscriptionPlugin.tsx +33 -56
- package/src/blueprints/index.ts +5 -0
- package/src/blueprints/transcription-blueprint.ts +25 -0
- package/src/capabilities/blueprint-definition/blueprint-definition.ts +23 -0
- package/src/capabilities/blueprint-definition/index.ts +7 -0
- package/src/capabilities/index.ts +4 -8
- package/src/capabilities/operation-handler/index.ts +7 -0
- package/src/capabilities/operation-handler/operation-handler.ts +25 -0
- package/src/capabilities/operation-resolver/index.ts +7 -0
- package/src/capabilities/operation-resolver/operation-resolver.ts +25 -0
- package/src/capabilities/react-surface/index.ts +7 -0
- package/src/capabilities/react-surface/react-surface.tsx +27 -0
- package/src/capabilities/transcriber/index.ts +7 -0
- package/src/capabilities/transcriber/transcriber.ts +85 -0
- package/src/components/Transcript/Transcript.stories.tsx +34 -33
- package/src/components/Transcript/Transcript.tsx +8 -35
- package/src/components/Transcript/deprecated/OldTranscript.tsx +2 -2
- package/src/components/TranscriptContainer.tsx +11 -13
- package/src/components/stories/FileTranscription.stories.tsx +19 -24
- package/src/components/stories/KeyWordRecognition.stories.tsx +2 -2
- package/src/components/stories/MicrophoneTranscription.stories.tsx +37 -43
- package/src/components/stories/TranscriptionStory.tsx +1 -4
- package/src/functions/open.ts +4 -3
- package/src/hooks/useQueueModelAdapter.ts +1 -1
- package/src/hooks/useTranscriber.ts +1 -1
- package/src/hooks/useVoiceInput.ts +2 -2
- package/src/index.ts +1 -1
- package/src/meta.ts +2 -2
- package/src/model/model.test.ts +9 -3
- package/src/segments-normalization/message-normalizer.ts +12 -7
- package/src/segments-normalization/normalization.test.ts +0 -5
- package/src/testing/testing.ts +8 -3
- package/src/transcriber/media-stream-recorder.ts +3 -3
- package/src/transcriber/transcriber.browser.test.ts +1 -1
- package/src/transcriber/transcriber.ts +3 -3
- package/src/transcriber/transcription-manager.ts +15 -9
- package/src/types/TranscriptAction.ts +21 -12
- package/src/{capabilities → types}/capabilities.ts +8 -8
- package/src/types/index.ts +2 -0
- package/src/util/index.ts +1 -0
- package/src/util/render-byline.ts +33 -0
- package/dist/lib/browser/TranscriptContainer-OQFBAGSP.mjs +0 -11
- package/dist/lib/browser/blueprint-definition-GZ7NOODS.mjs.map +0 -7
- package/dist/lib/browser/chunk-3MKZ2MNQ.mjs +0 -16
- package/dist/lib/browser/chunk-3MKZ2MNQ.mjs.map +0 -7
- package/dist/lib/browser/chunk-7GNN7E3U.mjs.map +0 -7
- package/dist/lib/browser/chunk-C5YV3JZF.mjs.map +0 -7
- package/dist/lib/browser/chunk-QOSZIUE2.mjs +0 -32
- package/dist/lib/browser/chunk-QOSZIUE2.mjs.map +0 -7
- package/dist/lib/browser/chunk-VBUIO677.mjs +0 -29
- package/dist/lib/browser/chunk-VBUIO677.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-5CGCLOXB.mjs +0 -25
- package/dist/lib/browser/intent-resolver-5CGCLOXB.mjs.map +0 -7
- package/dist/lib/browser/react-surface-OK55WK7J.mjs +0 -32
- package/dist/lib/browser/react-surface-OK55WK7J.mjs.map +0 -7
- package/dist/lib/browser/transcriber-6YDM5ZDT.mjs.map +0 -7
- package/dist/lib/node-esm/blueprint-definition-GAHQBYTF.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-5JN2MHYA.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-IKGUNN3Z.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-SWUVPFKR.mjs +0 -17
- package/dist/lib/node-esm/chunk-SWUVPFKR.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-U4YPUD2F.mjs +0 -33
- package/dist/lib/node-esm/chunk-U4YPUD2F.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-YVNQN2J6.mjs +0 -30
- package/dist/lib/node-esm/chunk-YVNQN2J6.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-4H4CXIAL.mjs +0 -26
- package/dist/lib/node-esm/intent-resolver-4H4CXIAL.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-EK6K2MMD.mjs.map +0 -7
- package/dist/lib/node-esm/transcriber-CPD3FZ7M.mjs.map +0 -7
- package/dist/types/src/capabilities/blueprint-definition.d.ts +0 -5
- package/dist/types/src/capabilities/blueprint-definition.d.ts.map +0 -1
- package/dist/types/src/capabilities/capabilities.d.ts +0 -17
- package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface.d.ts +0 -4
- package/dist/types/src/capabilities/react-surface.d.ts.map +0 -1
- package/dist/types/src/capabilities/transcriber.d.ts +0 -8
- package/dist/types/src/capabilities/transcriber.d.ts.map +0 -1
- package/src/capabilities/blueprint-definition.ts +0 -31
- package/src/capabilities/intent-resolver.ts +0 -19
- package/src/capabilities/react-surface.tsx +0 -22
- package/src/capabilities/transcriber.ts +0 -77
- /package/dist/lib/browser/{TranscriptContainer-OQFBAGSP.mjs.map → TranscriptContainer-6EHKWVS4.mjs.map} +0 -0
- /package/dist/lib/{node-esm/TranscriptContainer-GM47P6WH.mjs.map → browser/blueprints/index.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-O33THH53.mjs.map → chunk-SYGEFDWO.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-SSYFSLB7.mjs.map → chunk-GVAVEVZ6.mjs.map} +0 -0
|
@@ -1,44 +1,46 @@
|
|
|
1
1
|
import * as Schema from 'effect/Schema';
|
|
2
|
-
declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").
|
|
3
|
-
id:
|
|
4
|
-
parentMessage
|
|
5
|
-
created:
|
|
6
|
-
sender:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
2
|
+
declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").Obj<{
|
|
3
|
+
readonly id: string;
|
|
4
|
+
readonly parentMessage?: string | undefined;
|
|
5
|
+
readonly created: string;
|
|
6
|
+
readonly sender: {
|
|
7
|
+
readonly name?: string | undefined;
|
|
8
|
+
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
9
|
+
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
10
|
+
readonly image?: string | undefined;
|
|
11
|
+
readonly fullName?: string | undefined;
|
|
12
|
+
readonly preferredName?: string | undefined;
|
|
13
|
+
readonly nickname?: string | undefined;
|
|
14
|
+
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
15
|
+
readonly description?: string | undefined;
|
|
16
|
+
readonly name?: string | undefined;
|
|
17
|
+
readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
18
|
+
readonly image?: string | undefined;
|
|
19
|
+
readonly website?: string | undefined;
|
|
20
|
+
} & {
|
|
21
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
20
22
|
}> | undefined;
|
|
21
|
-
jobTitle?: string | undefined;
|
|
22
|
-
department?: string | undefined;
|
|
23
|
-
notes?: string | undefined;
|
|
24
|
-
emails?: {
|
|
23
|
+
readonly jobTitle?: string | undefined;
|
|
24
|
+
readonly department?: string | undefined;
|
|
25
|
+
readonly notes?: string | undefined;
|
|
26
|
+
readonly emails?: readonly {
|
|
25
27
|
readonly value: string;
|
|
26
28
|
readonly label?: string | undefined;
|
|
27
29
|
}[] | undefined;
|
|
28
|
-
identities?: {
|
|
30
|
+
readonly identities?: readonly {
|
|
29
31
|
readonly value: string;
|
|
30
32
|
readonly label?: string | undefined;
|
|
31
33
|
}[] | undefined;
|
|
32
|
-
phoneNumbers?: {
|
|
34
|
+
readonly phoneNumbers?: readonly {
|
|
33
35
|
readonly value: string;
|
|
34
36
|
readonly label?: string | undefined;
|
|
35
37
|
}[] | undefined;
|
|
36
|
-
fields?: {
|
|
38
|
+
readonly fields?: readonly {
|
|
37
39
|
readonly value: string;
|
|
38
40
|
readonly label: string;
|
|
39
41
|
readonly category?: string | undefined;
|
|
40
42
|
}[] | undefined;
|
|
41
|
-
addresses?: {
|
|
43
|
+
readonly addresses?: readonly {
|
|
42
44
|
readonly value: {
|
|
43
45
|
readonly street?: string | undefined;
|
|
44
46
|
readonly extended?: string | undefined;
|
|
@@ -50,147 +52,167 @@ declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").obj<Sc
|
|
|
50
52
|
};
|
|
51
53
|
readonly label?: string | undefined;
|
|
52
54
|
}[] | undefined;
|
|
53
|
-
urls?: {
|
|
55
|
+
readonly urls?: readonly {
|
|
54
56
|
readonly value: string;
|
|
55
57
|
readonly label?: string | undefined;
|
|
56
58
|
}[] | undefined;
|
|
57
|
-
birthday?: string | undefined;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
65
|
-
blocks:
|
|
66
|
-
pending
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
pending
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}
|
|
93
|
-
pending
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
59
|
+
readonly birthday?: string | undefined;
|
|
60
|
+
} & {
|
|
61
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
62
|
+
}> | undefined;
|
|
63
|
+
readonly identityDid?: string | undefined;
|
|
64
|
+
readonly identityKey?: string | undefined;
|
|
65
|
+
readonly email?: string | undefined;
|
|
66
|
+
};
|
|
67
|
+
readonly blocks: readonly ({
|
|
68
|
+
readonly pending?: boolean | undefined;
|
|
69
|
+
readonly text: string;
|
|
70
|
+
readonly mimeType?: string | undefined;
|
|
71
|
+
readonly disposition?: string | undefined;
|
|
72
|
+
readonly _tag: "text";
|
|
73
|
+
} | {
|
|
74
|
+
readonly pending?: boolean | undefined;
|
|
75
|
+
readonly _tag: "reasoning";
|
|
76
|
+
readonly reasoningText?: string | undefined;
|
|
77
|
+
readonly redactedText?: string | undefined;
|
|
78
|
+
readonly signature?: string | undefined;
|
|
79
|
+
} | {
|
|
80
|
+
readonly name: string;
|
|
81
|
+
readonly pending?: boolean | undefined;
|
|
82
|
+
readonly _tag: "toolCall";
|
|
83
|
+
readonly toolCallId: string;
|
|
84
|
+
readonly input: string;
|
|
85
|
+
readonly providerExecuted: boolean;
|
|
86
|
+
} | {
|
|
87
|
+
readonly name: string;
|
|
88
|
+
readonly pending?: boolean | undefined;
|
|
89
|
+
readonly _tag: "toolResult";
|
|
90
|
+
readonly toolCallId: string;
|
|
91
|
+
readonly providerExecuted: boolean;
|
|
92
|
+
readonly result?: string | undefined;
|
|
93
|
+
readonly error?: string | undefined;
|
|
94
|
+
} | {
|
|
95
|
+
readonly pending?: boolean | undefined;
|
|
96
|
+
readonly mimeType?: string | undefined;
|
|
97
|
+
readonly _tag: "summary";
|
|
98
|
+
readonly message?: string | undefined;
|
|
99
|
+
readonly model?: string | undefined;
|
|
100
|
+
readonly usage?: {
|
|
101
|
+
readonly inputTokens?: number | undefined;
|
|
102
|
+
readonly outputTokens?: number | undefined;
|
|
103
|
+
readonly totalTokens?: number | undefined;
|
|
104
|
+
} | undefined;
|
|
105
|
+
readonly toolCalls?: number | undefined;
|
|
106
|
+
readonly errors?: number | undefined;
|
|
107
|
+
readonly duration?: number | undefined;
|
|
108
|
+
} | {
|
|
109
|
+
readonly source?: {
|
|
110
|
+
readonly type: "base64";
|
|
111
|
+
readonly mediaType: string;
|
|
112
|
+
readonly data: string;
|
|
113
|
+
} | {
|
|
114
|
+
readonly type: "http";
|
|
115
|
+
readonly url: string;
|
|
116
|
+
} | undefined;
|
|
117
|
+
readonly id?: string | undefined;
|
|
118
|
+
readonly pending?: boolean | undefined;
|
|
119
|
+
readonly _tag: "image";
|
|
120
|
+
} | {
|
|
121
|
+
readonly name?: string | undefined;
|
|
122
|
+
readonly pending?: boolean | undefined;
|
|
123
|
+
readonly _tag: "file";
|
|
124
|
+
readonly mediaType?: string | undefined;
|
|
125
|
+
readonly url: string;
|
|
126
|
+
} | {
|
|
127
|
+
readonly pending?: boolean | undefined;
|
|
128
|
+
readonly _tag: "reference";
|
|
129
|
+
readonly reference: import("@dxos/echo/internal").Ref<any>;
|
|
130
|
+
} | {
|
|
131
|
+
readonly pending?: boolean | undefined;
|
|
132
|
+
readonly text: string;
|
|
133
|
+
readonly _tag: "transcript";
|
|
134
|
+
readonly started: string;
|
|
135
|
+
} | {
|
|
136
|
+
readonly pending?: boolean | undefined;
|
|
137
|
+
readonly _tag: "status";
|
|
138
|
+
readonly statusText: string;
|
|
139
|
+
} | {
|
|
140
|
+
readonly pending?: boolean | undefined;
|
|
141
|
+
readonly text: string;
|
|
142
|
+
readonly _tag: "suggestion";
|
|
143
|
+
} | {
|
|
144
|
+
readonly pending?: boolean | undefined;
|
|
145
|
+
readonly _tag: "select";
|
|
146
|
+
readonly options: string[];
|
|
147
|
+
} | {
|
|
148
|
+
readonly version: unknown;
|
|
149
|
+
readonly pending?: boolean | undefined;
|
|
150
|
+
readonly _tag: "anchor";
|
|
151
|
+
readonly objectId: string;
|
|
152
|
+
} | {
|
|
153
|
+
readonly pending?: boolean | undefined;
|
|
154
|
+
readonly text: string;
|
|
155
|
+
readonly _tag: "proposal";
|
|
156
|
+
} | {
|
|
157
|
+
readonly pending?: boolean | undefined;
|
|
158
|
+
readonly _tag: "toolkit";
|
|
159
|
+
} | {
|
|
160
|
+
readonly pending?: boolean | undefined;
|
|
161
|
+
readonly disposition?: string | undefined;
|
|
162
|
+
readonly _tag: "json";
|
|
163
|
+
readonly data: string;
|
|
164
|
+
})[];
|
|
165
|
+
readonly properties?: {
|
|
166
|
+
readonly [x: string]: any;
|
|
167
|
+
} | undefined;
|
|
168
|
+
}, Schema.Struct.Fields>, Schema.Struct<{
|
|
149
169
|
rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
150
170
|
}>>;
|
|
151
171
|
export interface MessageWithRangeId extends Schema.Schema.Type<typeof MessageWithRangeId> {
|
|
152
172
|
}
|
|
153
173
|
export declare const NormalizationInput: Schema.Struct<{
|
|
154
|
-
messages: Schema.Array$<Schema.extend<import("@dxos/echo/Type").
|
|
155
|
-
id:
|
|
156
|
-
parentMessage
|
|
157
|
-
created:
|
|
158
|
-
sender:
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
174
|
+
messages: Schema.Array$<Schema.extend<import("@dxos/echo/Type").Obj<{
|
|
175
|
+
readonly id: string;
|
|
176
|
+
readonly parentMessage?: string | undefined;
|
|
177
|
+
readonly created: string;
|
|
178
|
+
readonly sender: {
|
|
179
|
+
readonly name?: string | undefined;
|
|
180
|
+
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
181
|
+
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
182
|
+
readonly image?: string | undefined;
|
|
183
|
+
readonly fullName?: string | undefined;
|
|
184
|
+
readonly preferredName?: string | undefined;
|
|
185
|
+
readonly nickname?: string | undefined;
|
|
186
|
+
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
187
|
+
readonly description?: string | undefined;
|
|
188
|
+
readonly name?: string | undefined;
|
|
189
|
+
readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
190
|
+
readonly image?: string | undefined;
|
|
191
|
+
readonly website?: string | undefined;
|
|
192
|
+
} & {
|
|
193
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
172
194
|
}> | undefined;
|
|
173
|
-
jobTitle?: string | undefined;
|
|
174
|
-
department?: string | undefined;
|
|
175
|
-
notes?: string | undefined;
|
|
176
|
-
emails?: {
|
|
195
|
+
readonly jobTitle?: string | undefined;
|
|
196
|
+
readonly department?: string | undefined;
|
|
197
|
+
readonly notes?: string | undefined;
|
|
198
|
+
readonly emails?: readonly {
|
|
177
199
|
readonly value: string;
|
|
178
200
|
readonly label?: string | undefined;
|
|
179
201
|
}[] | undefined;
|
|
180
|
-
identities?: {
|
|
202
|
+
readonly identities?: readonly {
|
|
181
203
|
readonly value: string;
|
|
182
204
|
readonly label?: string | undefined;
|
|
183
205
|
}[] | undefined;
|
|
184
|
-
phoneNumbers?: {
|
|
206
|
+
readonly phoneNumbers?: readonly {
|
|
185
207
|
readonly value: string;
|
|
186
208
|
readonly label?: string | undefined;
|
|
187
209
|
}[] | undefined;
|
|
188
|
-
fields?: {
|
|
210
|
+
readonly fields?: readonly {
|
|
189
211
|
readonly value: string;
|
|
190
212
|
readonly label: string;
|
|
191
213
|
readonly category?: string | undefined;
|
|
192
214
|
}[] | undefined;
|
|
193
|
-
addresses?: {
|
|
215
|
+
readonly addresses?: readonly {
|
|
194
216
|
readonly value: {
|
|
195
217
|
readonly street?: string | undefined;
|
|
196
218
|
readonly extended?: string | undefined;
|
|
@@ -202,148 +224,168 @@ export declare const NormalizationInput: Schema.Struct<{
|
|
|
202
224
|
};
|
|
203
225
|
readonly label?: string | undefined;
|
|
204
226
|
}[] | undefined;
|
|
205
|
-
urls?: {
|
|
227
|
+
readonly urls?: readonly {
|
|
206
228
|
readonly value: string;
|
|
207
229
|
readonly label?: string | undefined;
|
|
208
230
|
}[] | undefined;
|
|
209
|
-
birthday?: string | undefined;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
}
|
|
217
|
-
blocks:
|
|
218
|
-
pending
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
pending
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
}
|
|
245
|
-
pending
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
231
|
+
readonly birthday?: string | undefined;
|
|
232
|
+
} & {
|
|
233
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
234
|
+
}> | undefined;
|
|
235
|
+
readonly identityDid?: string | undefined;
|
|
236
|
+
readonly identityKey?: string | undefined;
|
|
237
|
+
readonly email?: string | undefined;
|
|
238
|
+
};
|
|
239
|
+
readonly blocks: readonly ({
|
|
240
|
+
readonly pending?: boolean | undefined;
|
|
241
|
+
readonly text: string;
|
|
242
|
+
readonly mimeType?: string | undefined;
|
|
243
|
+
readonly disposition?: string | undefined;
|
|
244
|
+
readonly _tag: "text";
|
|
245
|
+
} | {
|
|
246
|
+
readonly pending?: boolean | undefined;
|
|
247
|
+
readonly _tag: "reasoning";
|
|
248
|
+
readonly reasoningText?: string | undefined;
|
|
249
|
+
readonly redactedText?: string | undefined;
|
|
250
|
+
readonly signature?: string | undefined;
|
|
251
|
+
} | {
|
|
252
|
+
readonly name: string;
|
|
253
|
+
readonly pending?: boolean | undefined;
|
|
254
|
+
readonly _tag: "toolCall";
|
|
255
|
+
readonly toolCallId: string;
|
|
256
|
+
readonly input: string;
|
|
257
|
+
readonly providerExecuted: boolean;
|
|
258
|
+
} | {
|
|
259
|
+
readonly name: string;
|
|
260
|
+
readonly pending?: boolean | undefined;
|
|
261
|
+
readonly _tag: "toolResult";
|
|
262
|
+
readonly toolCallId: string;
|
|
263
|
+
readonly providerExecuted: boolean;
|
|
264
|
+
readonly result?: string | undefined;
|
|
265
|
+
readonly error?: string | undefined;
|
|
266
|
+
} | {
|
|
267
|
+
readonly pending?: boolean | undefined;
|
|
268
|
+
readonly mimeType?: string | undefined;
|
|
269
|
+
readonly _tag: "summary";
|
|
270
|
+
readonly message?: string | undefined;
|
|
271
|
+
readonly model?: string | undefined;
|
|
272
|
+
readonly usage?: {
|
|
273
|
+
readonly inputTokens?: number | undefined;
|
|
274
|
+
readonly outputTokens?: number | undefined;
|
|
275
|
+
readonly totalTokens?: number | undefined;
|
|
276
|
+
} | undefined;
|
|
277
|
+
readonly toolCalls?: number | undefined;
|
|
278
|
+
readonly errors?: number | undefined;
|
|
279
|
+
readonly duration?: number | undefined;
|
|
280
|
+
} | {
|
|
281
|
+
readonly source?: {
|
|
282
|
+
readonly type: "base64";
|
|
283
|
+
readonly mediaType: string;
|
|
284
|
+
readonly data: string;
|
|
285
|
+
} | {
|
|
286
|
+
readonly type: "http";
|
|
287
|
+
readonly url: string;
|
|
288
|
+
} | undefined;
|
|
289
|
+
readonly id?: string | undefined;
|
|
290
|
+
readonly pending?: boolean | undefined;
|
|
291
|
+
readonly _tag: "image";
|
|
292
|
+
} | {
|
|
293
|
+
readonly name?: string | undefined;
|
|
294
|
+
readonly pending?: boolean | undefined;
|
|
295
|
+
readonly _tag: "file";
|
|
296
|
+
readonly mediaType?: string | undefined;
|
|
297
|
+
readonly url: string;
|
|
298
|
+
} | {
|
|
299
|
+
readonly pending?: boolean | undefined;
|
|
300
|
+
readonly _tag: "reference";
|
|
301
|
+
readonly reference: import("@dxos/echo/internal").Ref<any>;
|
|
302
|
+
} | {
|
|
303
|
+
readonly pending?: boolean | undefined;
|
|
304
|
+
readonly text: string;
|
|
305
|
+
readonly _tag: "transcript";
|
|
306
|
+
readonly started: string;
|
|
307
|
+
} | {
|
|
308
|
+
readonly pending?: boolean | undefined;
|
|
309
|
+
readonly _tag: "status";
|
|
310
|
+
readonly statusText: string;
|
|
311
|
+
} | {
|
|
312
|
+
readonly pending?: boolean | undefined;
|
|
313
|
+
readonly text: string;
|
|
314
|
+
readonly _tag: "suggestion";
|
|
315
|
+
} | {
|
|
316
|
+
readonly pending?: boolean | undefined;
|
|
317
|
+
readonly _tag: "select";
|
|
318
|
+
readonly options: string[];
|
|
319
|
+
} | {
|
|
320
|
+
readonly version: unknown;
|
|
321
|
+
readonly pending?: boolean | undefined;
|
|
322
|
+
readonly _tag: "anchor";
|
|
323
|
+
readonly objectId: string;
|
|
324
|
+
} | {
|
|
325
|
+
readonly pending?: boolean | undefined;
|
|
326
|
+
readonly text: string;
|
|
327
|
+
readonly _tag: "proposal";
|
|
328
|
+
} | {
|
|
329
|
+
readonly pending?: boolean | undefined;
|
|
330
|
+
readonly _tag: "toolkit";
|
|
331
|
+
} | {
|
|
332
|
+
readonly pending?: boolean | undefined;
|
|
333
|
+
readonly disposition?: string | undefined;
|
|
334
|
+
readonly _tag: "json";
|
|
335
|
+
readonly data: string;
|
|
336
|
+
})[];
|
|
337
|
+
readonly properties?: {
|
|
338
|
+
readonly [x: string]: any;
|
|
339
|
+
} | undefined;
|
|
340
|
+
}, Schema.Struct.Fields>, Schema.Struct<{
|
|
301
341
|
rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
302
342
|
}>>>;
|
|
303
343
|
}>;
|
|
304
344
|
export interface NormalizationInput extends Schema.Schema.Type<typeof NormalizationInput> {
|
|
305
345
|
}
|
|
306
346
|
export declare const NormalizationOutput: Schema.Struct<{
|
|
307
|
-
sentences: Schema.mutable<Schema.Array$<Schema.mutable<Schema.extend<import("@dxos/echo/Type").
|
|
308
|
-
id:
|
|
309
|
-
parentMessage
|
|
310
|
-
created:
|
|
311
|
-
sender:
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
347
|
+
sentences: Schema.mutable<Schema.Array$<Schema.mutable<Schema.extend<import("@dxos/echo/Type").Obj<{
|
|
348
|
+
readonly id: string;
|
|
349
|
+
readonly parentMessage?: string | undefined;
|
|
350
|
+
readonly created: string;
|
|
351
|
+
readonly sender: {
|
|
352
|
+
readonly name?: string | undefined;
|
|
353
|
+
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
354
|
+
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
355
|
+
readonly image?: string | undefined;
|
|
356
|
+
readonly fullName?: string | undefined;
|
|
357
|
+
readonly preferredName?: string | undefined;
|
|
358
|
+
readonly nickname?: string | undefined;
|
|
359
|
+
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
360
|
+
readonly description?: string | undefined;
|
|
361
|
+
readonly name?: string | undefined;
|
|
362
|
+
readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
363
|
+
readonly image?: string | undefined;
|
|
364
|
+
readonly website?: string | undefined;
|
|
365
|
+
} & {
|
|
366
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
325
367
|
}> | undefined;
|
|
326
|
-
jobTitle?: string | undefined;
|
|
327
|
-
department?: string | undefined;
|
|
328
|
-
notes?: string | undefined;
|
|
329
|
-
emails?: {
|
|
368
|
+
readonly jobTitle?: string | undefined;
|
|
369
|
+
readonly department?: string | undefined;
|
|
370
|
+
readonly notes?: string | undefined;
|
|
371
|
+
readonly emails?: readonly {
|
|
330
372
|
readonly value: string;
|
|
331
373
|
readonly label?: string | undefined;
|
|
332
374
|
}[] | undefined;
|
|
333
|
-
identities?: {
|
|
375
|
+
readonly identities?: readonly {
|
|
334
376
|
readonly value: string;
|
|
335
377
|
readonly label?: string | undefined;
|
|
336
378
|
}[] | undefined;
|
|
337
|
-
phoneNumbers?: {
|
|
379
|
+
readonly phoneNumbers?: readonly {
|
|
338
380
|
readonly value: string;
|
|
339
381
|
readonly label?: string | undefined;
|
|
340
382
|
}[] | undefined;
|
|
341
|
-
fields?: {
|
|
383
|
+
readonly fields?: readonly {
|
|
342
384
|
readonly value: string;
|
|
343
385
|
readonly label: string;
|
|
344
386
|
readonly category?: string | undefined;
|
|
345
387
|
}[] | undefined;
|
|
346
|
-
addresses?: {
|
|
388
|
+
readonly addresses?: readonly {
|
|
347
389
|
readonly value: {
|
|
348
390
|
readonly street?: string | undefined;
|
|
349
391
|
readonly extended?: string | undefined;
|
|
@@ -355,102 +397,120 @@ export declare const NormalizationOutput: Schema.Struct<{
|
|
|
355
397
|
};
|
|
356
398
|
readonly label?: string | undefined;
|
|
357
399
|
}[] | undefined;
|
|
358
|
-
urls?: {
|
|
400
|
+
readonly urls?: readonly {
|
|
359
401
|
readonly value: string;
|
|
360
402
|
readonly label?: string | undefined;
|
|
361
403
|
}[] | undefined;
|
|
362
|
-
birthday?: string | undefined;
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
}
|
|
370
|
-
blocks:
|
|
371
|
-
pending
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
pending
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
}
|
|
398
|
-
pending
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
404
|
+
readonly birthday?: string | undefined;
|
|
405
|
+
} & {
|
|
406
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
407
|
+
}> | undefined;
|
|
408
|
+
readonly identityDid?: string | undefined;
|
|
409
|
+
readonly identityKey?: string | undefined;
|
|
410
|
+
readonly email?: string | undefined;
|
|
411
|
+
};
|
|
412
|
+
readonly blocks: readonly ({
|
|
413
|
+
readonly pending?: boolean | undefined;
|
|
414
|
+
readonly text: string;
|
|
415
|
+
readonly mimeType?: string | undefined;
|
|
416
|
+
readonly disposition?: string | undefined;
|
|
417
|
+
readonly _tag: "text";
|
|
418
|
+
} | {
|
|
419
|
+
readonly pending?: boolean | undefined;
|
|
420
|
+
readonly _tag: "reasoning";
|
|
421
|
+
readonly reasoningText?: string | undefined;
|
|
422
|
+
readonly redactedText?: string | undefined;
|
|
423
|
+
readonly signature?: string | undefined;
|
|
424
|
+
} | {
|
|
425
|
+
readonly name: string;
|
|
426
|
+
readonly pending?: boolean | undefined;
|
|
427
|
+
readonly _tag: "toolCall";
|
|
428
|
+
readonly toolCallId: string;
|
|
429
|
+
readonly input: string;
|
|
430
|
+
readonly providerExecuted: boolean;
|
|
431
|
+
} | {
|
|
432
|
+
readonly name: string;
|
|
433
|
+
readonly pending?: boolean | undefined;
|
|
434
|
+
readonly _tag: "toolResult";
|
|
435
|
+
readonly toolCallId: string;
|
|
436
|
+
readonly providerExecuted: boolean;
|
|
437
|
+
readonly result?: string | undefined;
|
|
438
|
+
readonly error?: string | undefined;
|
|
439
|
+
} | {
|
|
440
|
+
readonly pending?: boolean | undefined;
|
|
441
|
+
readonly mimeType?: string | undefined;
|
|
442
|
+
readonly _tag: "summary";
|
|
443
|
+
readonly message?: string | undefined;
|
|
444
|
+
readonly model?: string | undefined;
|
|
445
|
+
readonly usage?: {
|
|
446
|
+
readonly inputTokens?: number | undefined;
|
|
447
|
+
readonly outputTokens?: number | undefined;
|
|
448
|
+
readonly totalTokens?: number | undefined;
|
|
449
|
+
} | undefined;
|
|
450
|
+
readonly toolCalls?: number | undefined;
|
|
451
|
+
readonly errors?: number | undefined;
|
|
452
|
+
readonly duration?: number | undefined;
|
|
453
|
+
} | {
|
|
454
|
+
readonly source?: {
|
|
455
|
+
readonly type: "base64";
|
|
456
|
+
readonly mediaType: string;
|
|
457
|
+
readonly data: string;
|
|
458
|
+
} | {
|
|
459
|
+
readonly type: "http";
|
|
460
|
+
readonly url: string;
|
|
461
|
+
} | undefined;
|
|
462
|
+
readonly id?: string | undefined;
|
|
463
|
+
readonly pending?: boolean | undefined;
|
|
464
|
+
readonly _tag: "image";
|
|
465
|
+
} | {
|
|
466
|
+
readonly name?: string | undefined;
|
|
467
|
+
readonly pending?: boolean | undefined;
|
|
468
|
+
readonly _tag: "file";
|
|
469
|
+
readonly mediaType?: string | undefined;
|
|
470
|
+
readonly url: string;
|
|
471
|
+
} | {
|
|
472
|
+
readonly pending?: boolean | undefined;
|
|
473
|
+
readonly _tag: "reference";
|
|
474
|
+
readonly reference: import("@dxos/echo/internal").Ref<any>;
|
|
475
|
+
} | {
|
|
476
|
+
readonly pending?: boolean | undefined;
|
|
477
|
+
readonly text: string;
|
|
478
|
+
readonly _tag: "transcript";
|
|
479
|
+
readonly started: string;
|
|
480
|
+
} | {
|
|
481
|
+
readonly pending?: boolean | undefined;
|
|
482
|
+
readonly _tag: "status";
|
|
483
|
+
readonly statusText: string;
|
|
484
|
+
} | {
|
|
485
|
+
readonly pending?: boolean | undefined;
|
|
486
|
+
readonly text: string;
|
|
487
|
+
readonly _tag: "suggestion";
|
|
488
|
+
} | {
|
|
489
|
+
readonly pending?: boolean | undefined;
|
|
490
|
+
readonly _tag: "select";
|
|
491
|
+
readonly options: string[];
|
|
492
|
+
} | {
|
|
493
|
+
readonly version: unknown;
|
|
494
|
+
readonly pending?: boolean | undefined;
|
|
495
|
+
readonly _tag: "anchor";
|
|
496
|
+
readonly objectId: string;
|
|
497
|
+
} | {
|
|
498
|
+
readonly pending?: boolean | undefined;
|
|
499
|
+
readonly text: string;
|
|
500
|
+
readonly _tag: "proposal";
|
|
501
|
+
} | {
|
|
502
|
+
readonly pending?: boolean | undefined;
|
|
503
|
+
readonly _tag: "toolkit";
|
|
504
|
+
} | {
|
|
505
|
+
readonly pending?: boolean | undefined;
|
|
506
|
+
readonly disposition?: string | undefined;
|
|
507
|
+
readonly _tag: "json";
|
|
508
|
+
readonly data: string;
|
|
509
|
+
})[];
|
|
510
|
+
readonly properties?: {
|
|
511
|
+
readonly [x: string]: any;
|
|
512
|
+
} | undefined;
|
|
513
|
+
}, Schema.Struct.Fields>, Schema.Struct<{
|
|
454
514
|
rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
455
515
|
}>>>>>;
|
|
456
516
|
}>;
|