@dxos/plugin-transcription 0.8.4-main.9be5663bfe → 0.8.4-main.abd8ff62ef
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/browser/blueprints/index.mjs +1 -1
- package/dist/lib/browser/blueprints/index.mjs.map +3 -3
- package/dist/lib/browser/{chunk-5LWSJZTZ.mjs → chunk-3L623EVL.mjs} +2 -2
- package/dist/lib/browser/chunk-3L623EVL.mjs.map +7 -0
- package/dist/lib/browser/{chunk-HOOPZ7EM.mjs → chunk-KAEXRX3Y.mjs} +1 -1
- package/dist/lib/browser/{chunk-RIUSFL62.mjs → chunk-L4HW35L6.mjs} +4 -5
- package/dist/lib/browser/chunk-L4HW35L6.mjs.map +7 -0
- package/dist/lib/browser/chunk-MLRJWAQH.mjs +179 -0
- package/dist/lib/browser/chunk-MLRJWAQH.mjs.map +7 -0
- package/dist/lib/browser/chunk-NQQK7UZQ.mjs +244 -0
- package/dist/lib/browser/chunk-NQQK7UZQ.mjs.map +7 -0
- package/dist/lib/browser/components/index.mjs +207 -0
- package/dist/lib/browser/components/index.mjs.map +7 -0
- package/dist/lib/browser/{create-IZPB7VZW.mjs → create-ULR5DPJZ.mjs} +6 -4
- package/dist/lib/browser/create-ULR5DPJZ.mjs.map +7 -0
- package/dist/lib/browser/hooks/index.mjs +17 -0
- package/dist/lib/browser/hooks/index.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +93 -831
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/open-SFMPLZVW.mjs +27 -0
- package/dist/lib/browser/open-SFMPLZVW.mjs.map +7 -0
- package/dist/lib/browser/operations/index.mjs +3 -3
- package/dist/lib/browser/operations/index.mjs.map +3 -3
- package/dist/lib/browser/{summarize-5MZENAU5.mjs → summarize-BDFX4APN.mjs} +15 -8
- package/dist/lib/browser/summarize-BDFX4APN.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +1 -1
- 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-3GSFEN4L.mjs → chunk-7UIZWCD4.mjs} +4 -5
- package/dist/lib/node-esm/chunk-7UIZWCD4.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-C3AE2NYJ.mjs +181 -0
- package/dist/lib/node-esm/chunk-C3AE2NYJ.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-X74WYCCE.mjs → chunk-KO3IOD2O.mjs} +2 -2
- package/dist/lib/node-esm/chunk-KO3IOD2O.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-MQK4R6GT.mjs +245 -0
- package/dist/lib/node-esm/chunk-MQK4R6GT.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-NVM2QUMX.mjs → chunk-O533NBMK.mjs} +1 -1
- package/dist/lib/node-esm/components/index.mjs +208 -0
- package/dist/lib/node-esm/components/index.mjs.map +7 -0
- package/dist/lib/node-esm/{create-TQDGXQBL.mjs → create-A5QHNWRF.mjs} +6 -4
- package/dist/lib/node-esm/create-A5QHNWRF.mjs.map +7 -0
- package/dist/lib/node-esm/hooks/index.mjs +18 -0
- package/dist/lib/node-esm/hooks/index.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +93 -831
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/open-OI24QNTO.mjs +28 -0
- package/dist/lib/node-esm/open-OI24QNTO.mjs.map +7 -0
- package/dist/lib/node-esm/operations/index.mjs +3 -3
- package/dist/lib/node-esm/operations/index.mjs.map +3 -3
- package/dist/lib/node-esm/{summarize-RVOSRHEC.mjs → summarize-3UNN24I2.mjs} +15 -8
- package/dist/lib/node-esm/summarize-3UNN24I2.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +1 -1
- package/dist/types/src/TranscriptionPlugin.d.ts +1 -0
- package/dist/types/src/TranscriptionPlugin.d.ts.map +1 -1
- package/dist/types/src/TranscriptionPlugin.node.d.ts +4 -0
- package/dist/types/src/TranscriptionPlugin.node.d.ts.map +1 -0
- package/dist/types/src/TranscriptionPlugin.test.d.ts +2 -0
- package/dist/types/src/TranscriptionPlugin.test.d.ts.map +1 -0
- package/dist/types/src/blueprints/transcription-blueprint.d.ts +2 -2
- package/dist/types/src/blueprints/transcription-blueprint.d.ts.map +1 -1
- package/dist/types/src/capabilities/blueprint-definition.d.ts +2 -2
- package/dist/types/src/capabilities/blueprint-definition.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +2 -2
- package/dist/types/src/capabilities/index.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-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/transcriber.d.ts.map +1 -1
- package/dist/types/src/components/Transcription/Transcription.d.ts +1 -1
- package/dist/types/src/components/Transcription/Transcription.stories.d.ts +7 -7
- package/dist/types/src/components/Transcription/Transcription.stories.d.ts.map +1 -1
- package/dist/types/src/components/Transcription/transcription-extension.d.ts.map +1 -1
- package/dist/types/src/containers/TranscriptionContainer/TranscriptionContainer.d.ts.map +1 -1
- package/dist/types/src/hooks/useAudioFile.d.ts.map +1 -1
- package/dist/types/src/hooks/useAudioTrack.d.ts.map +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/hooks/useVoiceInput.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +3 -3
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/model/model.d.ts +2 -2
- package/dist/types/src/model/model.d.ts.map +1 -1
- package/dist/types/src/{segments-normalization → normalization}/index.d.ts +1 -1
- package/dist/types/src/normalization/index.d.ts.map +1 -0
- package/dist/types/src/normalization/message-normalizer.d.ts.map +1 -0
- package/dist/types/src/{segments-normalization → normalization}/normalization.d.ts +155 -153
- package/dist/types/src/normalization/normalization.d.ts.map +1 -0
- package/dist/types/src/normalization/normalization.test.d.ts.map +1 -0
- package/dist/types/src/normalization/utils.d.ts.map +1 -0
- 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 +394 -382
- package/dist/types/src/operations/definitions.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/open.d.ts +1 -1
- package/dist/types/src/operations/open.d.ts.map +1 -1
- package/dist/types/src/operations/summarize.d.ts +1 -1
- package/dist/types/src/operations/summarize.d.ts.map +1 -1
- package/dist/types/src/{components/stories → stories}/FileTranscription.stories.d.ts +3 -3
- package/dist/types/src/stories/FileTranscription.stories.d.ts.map +1 -0
- package/dist/types/src/stories/KeyWordRecognition.stories.d.ts.map +1 -0
- package/dist/types/src/{components/stories → stories}/MicrophoneTranscription.stories.d.ts +1 -1
- package/dist/types/src/stories/MicrophoneTranscription.stories.d.ts.map +1 -0
- package/dist/types/src/stories/TranscriptionStory.d.ts +23 -0
- package/dist/types/src/stories/TranscriptionStory.d.ts.map +1 -0
- package/dist/types/src/stories/useIsSpeaking.d.ts.map +1 -0
- package/dist/types/src/testing/testing.d.ts.map +1 -1
- package/dist/types/src/transcriber/index.d.ts +1 -1
- package/dist/types/src/transcriber/index.d.ts.map +1 -1
- package/dist/types/src/transcriber/media-stream-recorder.d.ts.map +1 -1
- package/dist/types/src/transcriber/transcriber.d.ts +57 -2
- package/dist/types/src/transcriber/transcriber.d.ts.map +1 -1
- package/dist/types/src/transcriber/transcriber.test.d.ts +2 -0
- package/dist/types/src/transcriber/transcriber.test.d.ts.map +1 -0
- package/dist/types/src/transcriber/transcription-manager.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +7 -8
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/capabilities.d.ts +2 -1
- package/dist/types/src/types/capabilities.d.ts.map +1 -1
- package/dist/types/src/types/{types.d.ts → defs.d.ts} +1 -1
- package/dist/types/src/types/defs.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +1 -1
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/util/array.d.ts.map +1 -1
- package/dist/types/src/util/get-time-str.d.ts.map +1 -1
- package/dist/types/src/util/monitor-audio-level.d.ts.map +1 -1
- package/dist/types/src/util/render-byline.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +76 -67
- package/src/TranscriptionPlugin.node.ts +48 -0
- package/src/TranscriptionPlugin.test.ts +31 -0
- package/src/TranscriptionPlugin.tsx +7 -3
- package/src/blueprints/transcription-blueprint.ts +2 -3
- package/src/capabilities/blueprint-definition.ts +2 -0
- package/src/capabilities/index.ts +2 -1
- package/src/capabilities/operation-handler.ts +1 -1
- package/src/capabilities/react-surface.tsx +4 -2
- package/src/capabilities/transcriber.ts +2 -0
- package/src/components/Transcription/Transcription.stories.tsx +3 -5
- package/src/containers/TranscriptionContainer/TranscriptionContainer.tsx +4 -2
- package/src/hooks/useTranscriber.ts +3 -1
- package/src/index.ts +9 -4
- package/src/model/model.test.ts +3 -3
- package/src/model/model.ts +3 -3
- package/src/{segments-normalization → normalization}/message-normalizer.ts +1 -5
- package/src/{segments-normalization → normalization}/normalization.ts +5 -5
- package/src/operations/create.ts +4 -2
- package/src/operations/definitions.ts +3 -4
- package/src/operations/index.ts +1 -1
- package/src/operations/open.ts +5 -8
- package/src/operations/summarize.ts +11 -7
- package/src/{components/stories → stories}/FileTranscription.stories.tsx +24 -5
- package/src/{components/stories → stories}/KeyWordRecognition.stories.tsx +30 -28
- package/src/{components/stories → stories}/MicrophoneTranscription.stories.tsx +3 -3
- package/src/stories/TranscriptionStory.tsx +93 -0
- package/src/transcriber/index.ts +1 -1
- package/src/transcriber/transcriber.test.ts +104 -0
- package/src/transcriber/transcriber.ts +92 -51
- package/src/types/capabilities.ts +6 -1
- package/src/types/index.ts +1 -1
- package/dist/lib/browser/chunk-5LWSJZTZ.mjs.map +0 -7
- package/dist/lib/browser/chunk-RIUSFL62.mjs.map +0 -7
- package/dist/lib/browser/create-IZPB7VZW.mjs.map +0 -7
- package/dist/lib/browser/open-SN5O5I6X.mjs +0 -29
- package/dist/lib/browser/open-SN5O5I6X.mjs.map +0 -7
- package/dist/lib/browser/summarize-5MZENAU5.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-3GSFEN4L.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-X74WYCCE.mjs.map +0 -7
- package/dist/lib/node-esm/create-TQDGXQBL.mjs.map +0 -7
- package/dist/lib/node-esm/open-4GAAWWKJ.mjs +0 -30
- package/dist/lib/node-esm/open-4GAAWWKJ.mjs.map +0 -7
- package/dist/lib/node-esm/summarize-RVOSRHEC.mjs.map +0 -7
- package/dist/types/src/components/stories/FileTranscription.stories.d.ts.map +0 -1
- package/dist/types/src/components/stories/KeyWordRecognition.stories.d.ts.map +0 -1
- package/dist/types/src/components/stories/MicrophoneTranscription.stories.d.ts.map +0 -1
- package/dist/types/src/components/stories/TranscriptionStory.d.ts +0 -12
- package/dist/types/src/components/stories/TranscriptionStory.d.ts.map +0 -1
- package/dist/types/src/components/stories/useIsSpeaking.d.ts.map +0 -1
- package/dist/types/src/segments-normalization/index.d.ts.map +0 -1
- package/dist/types/src/segments-normalization/message-normalizer.d.ts.map +0 -1
- package/dist/types/src/segments-normalization/normalization.d.ts.map +0 -1
- package/dist/types/src/segments-normalization/normalization.test.d.ts.map +0 -1
- package/dist/types/src/segments-normalization/utils.d.ts.map +0 -1
- package/dist/types/src/types/types.d.ts.map +0 -1
- package/src/components/stories/TranscriptionStory.tsx +0 -43
- package/dist/lib/browser/{chunk-HOOPZ7EM.mjs.map → chunk-KAEXRX3Y.mjs.map} +0 -0
- package/dist/lib/node-esm/{chunk-NVM2QUMX.mjs.map → chunk-O533NBMK.mjs.map} +0 -0
- package/dist/types/src/{segments-normalization → normalization}/message-normalizer.d.ts +0 -0
- package/dist/types/src/{segments-normalization → normalization}/normalization.test.d.ts +0 -0
- package/dist/types/src/{segments-normalization → normalization}/utils.d.ts +0 -0
- package/dist/types/src/{components/stories → stories}/KeyWordRecognition.stories.d.ts +0 -0
- package/dist/types/src/{components/stories → stories}/useIsSpeaking.d.ts +0 -0
- package/src/{segments-normalization → normalization}/index.ts +1 -1
- /package/src/{segments-normalization → normalization}/normalization.test.ts +0 -0
- /package/src/{segments-normalization → normalization}/utils.ts +0 -0
- /package/src/{components/stories → stories}/useIsSpeaking.tsx +0 -0
- /package/src/types/{types.ts → defs.ts} +0 -0
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as Schema from 'effect/Schema';
|
|
2
2
|
import { AiService } from '@dxos/ai';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { Operation } from '@dxos/operation';
|
|
3
|
+
import { Operation } from '@dxos/compute';
|
|
4
|
+
import { Database, Feed } from '@dxos/echo';
|
|
6
5
|
export declare const Create: Operation.Definition<{
|
|
7
6
|
readonly name?: string | undefined;
|
|
8
7
|
readonly space: import("@dxos/client-protocol").Space;
|
|
@@ -10,25 +9,29 @@ export declare const Create: Operation.Definition<{
|
|
|
10
9
|
readonly object: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
11
10
|
readonly started?: string | undefined;
|
|
12
11
|
readonly ended?: string | undefined;
|
|
13
|
-
readonly
|
|
12
|
+
readonly feed: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
13
|
+
readonly name?: string | undefined;
|
|
14
|
+
readonly kind?: string | undefined;
|
|
15
|
+
readonly namespace?: "data" | "trace" | undefined;
|
|
16
|
+
}>;
|
|
14
17
|
};
|
|
15
18
|
}, never>;
|
|
16
19
|
export declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").Obj<{
|
|
17
20
|
readonly id: string;
|
|
18
21
|
readonly parentMessage?: string | undefined;
|
|
22
|
+
readonly threadId?: string | undefined;
|
|
19
23
|
readonly created: string;
|
|
20
24
|
readonly sender: {
|
|
21
|
-
readonly
|
|
22
|
-
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
25
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
23
26
|
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
24
|
-
readonly image?: string | undefined;
|
|
25
27
|
readonly fullName?: string | undefined;
|
|
26
28
|
readonly preferredName?: string | undefined;
|
|
27
29
|
readonly nickname?: string | undefined;
|
|
30
|
+
readonly image?: string | undefined;
|
|
28
31
|
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
29
|
-
readonly description?: string | undefined;
|
|
30
32
|
readonly name?: string | undefined;
|
|
31
|
-
readonly
|
|
33
|
+
readonly description?: string | undefined;
|
|
34
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
32
35
|
readonly image?: string | undefined;
|
|
33
36
|
readonly website?: string | undefined;
|
|
34
37
|
} & {
|
|
@@ -38,23 +41,19 @@ export declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type")
|
|
|
38
41
|
readonly department?: string | undefined;
|
|
39
42
|
readonly notes?: string | undefined;
|
|
40
43
|
readonly emails?: readonly {
|
|
41
|
-
readonly value: string;
|
|
42
44
|
readonly label?: string | undefined;
|
|
45
|
+
readonly value: string;
|
|
43
46
|
}[] | undefined;
|
|
44
47
|
readonly identities?: readonly {
|
|
45
|
-
readonly value: string;
|
|
46
48
|
readonly label?: string | undefined;
|
|
49
|
+
readonly value: string;
|
|
47
50
|
}[] | undefined;
|
|
48
51
|
readonly phoneNumbers?: readonly {
|
|
49
|
-
readonly value: string;
|
|
50
52
|
readonly label?: string | undefined;
|
|
51
|
-
}[] | undefined;
|
|
52
|
-
readonly fields?: readonly {
|
|
53
53
|
readonly value: string;
|
|
54
|
-
readonly label: string;
|
|
55
|
-
readonly category?: string | undefined;
|
|
56
54
|
}[] | undefined;
|
|
57
55
|
readonly addresses?: readonly {
|
|
56
|
+
readonly label?: string | undefined;
|
|
58
57
|
readonly value: {
|
|
59
58
|
readonly street?: string | undefined;
|
|
60
59
|
readonly extended?: string | undefined;
|
|
@@ -64,62 +63,40 @@ export declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type")
|
|
|
64
63
|
readonly postOfficeBoxNumber?: string | undefined;
|
|
65
64
|
readonly country?: string | undefined;
|
|
66
65
|
};
|
|
67
|
-
readonly label?: string | undefined;
|
|
68
66
|
}[] | undefined;
|
|
69
67
|
readonly urls?: readonly {
|
|
70
|
-
readonly value: string;
|
|
71
68
|
readonly label?: string | undefined;
|
|
69
|
+
readonly value: string;
|
|
72
70
|
}[] | undefined;
|
|
73
71
|
readonly birthday?: string | undefined;
|
|
72
|
+
readonly fields?: readonly {
|
|
73
|
+
readonly category?: string | undefined;
|
|
74
|
+
readonly label: string;
|
|
75
|
+
readonly value: string;
|
|
76
|
+
}[] | undefined;
|
|
74
77
|
} & {
|
|
75
78
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
76
79
|
}> | undefined;
|
|
77
80
|
readonly identityDid?: string | undefined;
|
|
78
81
|
readonly identityKey?: string | undefined;
|
|
79
82
|
readonly email?: string | undefined;
|
|
83
|
+
readonly name?: string | undefined;
|
|
80
84
|
};
|
|
81
85
|
readonly blocks: readonly ({
|
|
86
|
+
readonly _tag: "anchor";
|
|
82
87
|
readonly pending?: boolean | undefined;
|
|
83
|
-
readonly
|
|
84
|
-
readonly
|
|
85
|
-
readonly disposition?: string | undefined;
|
|
86
|
-
readonly _tag: "text";
|
|
87
|
-
} | {
|
|
88
|
-
readonly pending?: boolean | undefined;
|
|
89
|
-
readonly _tag: "reasoning";
|
|
90
|
-
readonly reasoningText?: string | undefined;
|
|
91
|
-
readonly redactedText?: string | undefined;
|
|
92
|
-
readonly signature?: string | undefined;
|
|
93
|
-
} | {
|
|
94
|
-
readonly name: string;
|
|
95
|
-
readonly pending?: boolean | undefined;
|
|
96
|
-
readonly _tag: "toolCall";
|
|
97
|
-
readonly toolCallId: string;
|
|
98
|
-
readonly input: string;
|
|
99
|
-
readonly providerExecuted: boolean;
|
|
88
|
+
readonly objectId: string;
|
|
89
|
+
readonly version: unknown;
|
|
100
90
|
} | {
|
|
101
|
-
readonly
|
|
91
|
+
readonly _tag: "file";
|
|
102
92
|
readonly pending?: boolean | undefined;
|
|
103
|
-
readonly
|
|
104
|
-
readonly
|
|
105
|
-
readonly
|
|
106
|
-
readonly result?: string | undefined;
|
|
107
|
-
readonly error?: string | undefined;
|
|
93
|
+
readonly url: string;
|
|
94
|
+
readonly name?: string | undefined;
|
|
95
|
+
readonly mediaType?: string | undefined;
|
|
108
96
|
} | {
|
|
97
|
+
readonly _tag: "image";
|
|
109
98
|
readonly pending?: boolean | undefined;
|
|
110
|
-
readonly
|
|
111
|
-
readonly _tag: "stats";
|
|
112
|
-
readonly message?: string | undefined;
|
|
113
|
-
readonly model?: string | undefined;
|
|
114
|
-
readonly usage?: {
|
|
115
|
-
readonly inputTokens?: number | undefined;
|
|
116
|
-
readonly outputTokens?: number | undefined;
|
|
117
|
-
readonly totalTokens?: number | undefined;
|
|
118
|
-
} | undefined;
|
|
119
|
-
readonly toolCalls?: number | undefined;
|
|
120
|
-
readonly errors?: number | undefined;
|
|
121
|
-
readonly duration?: number | undefined;
|
|
122
|
-
} | {
|
|
99
|
+
readonly id?: string | undefined;
|
|
123
100
|
readonly source?: {
|
|
124
101
|
readonly type: "base64";
|
|
125
102
|
readonly mediaType: string;
|
|
@@ -128,57 +105,84 @@ export declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type")
|
|
|
128
105
|
readonly type: "http";
|
|
129
106
|
readonly url: string;
|
|
130
107
|
} | undefined;
|
|
131
|
-
|
|
108
|
+
} | {
|
|
109
|
+
readonly _tag: "json";
|
|
132
110
|
readonly pending?: boolean | undefined;
|
|
133
|
-
readonly
|
|
111
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
112
|
+
readonly data: string;
|
|
134
113
|
} | {
|
|
135
|
-
readonly
|
|
114
|
+
readonly _tag: "proposal";
|
|
136
115
|
readonly pending?: boolean | undefined;
|
|
137
|
-
readonly
|
|
138
|
-
readonly mediaType?: string | undefined;
|
|
139
|
-
readonly url: string;
|
|
116
|
+
readonly text: string;
|
|
140
117
|
} | {
|
|
118
|
+
readonly _tag: "reasoning";
|
|
141
119
|
readonly pending?: boolean | undefined;
|
|
120
|
+
readonly reasoningText?: string | undefined;
|
|
121
|
+
readonly redactedText?: string | undefined;
|
|
122
|
+
readonly signature?: string | undefined;
|
|
123
|
+
} | {
|
|
142
124
|
readonly _tag: "reference";
|
|
125
|
+
readonly pending?: boolean | undefined;
|
|
143
126
|
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown>;
|
|
144
127
|
} | {
|
|
128
|
+
readonly _tag: "select";
|
|
145
129
|
readonly pending?: boolean | undefined;
|
|
146
|
-
readonly
|
|
147
|
-
readonly _tag: "transcript";
|
|
148
|
-
readonly started: string;
|
|
130
|
+
readonly options: string[];
|
|
149
131
|
} | {
|
|
150
|
-
readonly pending?: boolean | undefined;
|
|
151
132
|
readonly _tag: "status";
|
|
133
|
+
readonly pending?: boolean | undefined;
|
|
152
134
|
readonly statusText: string;
|
|
153
135
|
} | {
|
|
154
|
-
readonly pending?: boolean | undefined;
|
|
155
|
-
readonly text: string;
|
|
156
136
|
readonly _tag: "suggestion";
|
|
157
|
-
} | {
|
|
158
137
|
readonly pending?: boolean | undefined;
|
|
159
|
-
readonly
|
|
160
|
-
readonly options: string[];
|
|
138
|
+
readonly text: string;
|
|
161
139
|
} | {
|
|
162
|
-
readonly
|
|
140
|
+
readonly _tag: "stats";
|
|
163
141
|
readonly pending?: boolean | undefined;
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
142
|
+
readonly mimeType?: string | undefined;
|
|
143
|
+
readonly message?: string | undefined;
|
|
144
|
+
readonly model?: string | undefined;
|
|
145
|
+
readonly usage?: {
|
|
146
|
+
readonly inputTokens?: number | undefined;
|
|
147
|
+
readonly outputTokens?: number | undefined;
|
|
148
|
+
readonly totalTokens?: number | undefined;
|
|
149
|
+
} | undefined;
|
|
150
|
+
readonly toolCalls?: number | undefined;
|
|
151
|
+
readonly errors?: number | undefined;
|
|
152
|
+
readonly duration?: number | undefined;
|
|
166
153
|
} | {
|
|
154
|
+
readonly _tag: "text";
|
|
167
155
|
readonly pending?: boolean | undefined;
|
|
156
|
+
readonly mimeType?: string | undefined;
|
|
168
157
|
readonly text: string;
|
|
169
|
-
readonly
|
|
158
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
170
159
|
} | {
|
|
171
|
-
readonly pending?: boolean | undefined;
|
|
172
160
|
readonly _tag: "summary";
|
|
161
|
+
readonly pending?: boolean | undefined;
|
|
173
162
|
readonly content: string;
|
|
174
163
|
} | {
|
|
175
|
-
readonly pending?: boolean | undefined;
|
|
176
164
|
readonly _tag: "toolkit";
|
|
165
|
+
readonly pending?: boolean | undefined;
|
|
177
166
|
} | {
|
|
167
|
+
readonly _tag: "toolCall";
|
|
178
168
|
readonly pending?: boolean | undefined;
|
|
179
|
-
readonly
|
|
180
|
-
readonly
|
|
181
|
-
readonly
|
|
169
|
+
readonly toolCallId: string;
|
|
170
|
+
readonly name: string;
|
|
171
|
+
readonly input: string;
|
|
172
|
+
readonly providerExecuted: boolean;
|
|
173
|
+
} | {
|
|
174
|
+
readonly _tag: "toolResult";
|
|
175
|
+
readonly pending?: boolean | undefined;
|
|
176
|
+
readonly toolCallId: string;
|
|
177
|
+
readonly name: string;
|
|
178
|
+
readonly result?: string | undefined;
|
|
179
|
+
readonly error?: string | undefined;
|
|
180
|
+
readonly providerExecuted: boolean;
|
|
181
|
+
} | {
|
|
182
|
+
readonly _tag: "transcript";
|
|
183
|
+
readonly pending?: boolean | undefined;
|
|
184
|
+
readonly started: string;
|
|
185
|
+
readonly text: string;
|
|
182
186
|
})[];
|
|
183
187
|
readonly properties?: {
|
|
184
188
|
readonly [x: string]: any;
|
|
@@ -191,11 +195,15 @@ export declare const Open: Operation.Definition<{
|
|
|
191
195
|
readonly transcript: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
192
196
|
readonly started?: string | undefined;
|
|
193
197
|
readonly ended?: string | undefined;
|
|
194
|
-
readonly
|
|
198
|
+
readonly feed: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
199
|
+
readonly name?: string | undefined;
|
|
200
|
+
readonly kind?: string | undefined;
|
|
201
|
+
readonly namespace?: "data" | "trace" | undefined;
|
|
202
|
+
}>;
|
|
195
203
|
}>;
|
|
196
204
|
}, {
|
|
197
205
|
readonly content: string;
|
|
198
|
-
},
|
|
206
|
+
}, Feed.FeedService | Database.Service>;
|
|
199
207
|
export declare const Summarize: Operation.Definition<{
|
|
200
208
|
readonly transcript: string;
|
|
201
209
|
readonly notes?: string | undefined;
|
|
@@ -206,19 +214,19 @@ export declare const SentenceNormalizationInput: Schema.Struct<{
|
|
|
206
214
|
messages: Schema.Array$<Schema.extend<import("@dxos/echo/Type").Obj<{
|
|
207
215
|
readonly id: string;
|
|
208
216
|
readonly parentMessage?: string | undefined;
|
|
217
|
+
readonly threadId?: string | undefined;
|
|
209
218
|
readonly created: string;
|
|
210
219
|
readonly sender: {
|
|
211
|
-
readonly
|
|
212
|
-
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
220
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
213
221
|
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
214
|
-
readonly image?: string | undefined;
|
|
215
222
|
readonly fullName?: string | undefined;
|
|
216
223
|
readonly preferredName?: string | undefined;
|
|
217
224
|
readonly nickname?: string | undefined;
|
|
225
|
+
readonly image?: string | undefined;
|
|
218
226
|
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
219
|
-
readonly description?: string | undefined;
|
|
220
227
|
readonly name?: string | undefined;
|
|
221
|
-
readonly
|
|
228
|
+
readonly description?: string | undefined;
|
|
229
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
222
230
|
readonly image?: string | undefined;
|
|
223
231
|
readonly website?: string | undefined;
|
|
224
232
|
} & {
|
|
@@ -228,23 +236,19 @@ export declare const SentenceNormalizationInput: Schema.Struct<{
|
|
|
228
236
|
readonly department?: string | undefined;
|
|
229
237
|
readonly notes?: string | undefined;
|
|
230
238
|
readonly emails?: readonly {
|
|
231
|
-
readonly value: string;
|
|
232
239
|
readonly label?: string | undefined;
|
|
240
|
+
readonly value: string;
|
|
233
241
|
}[] | undefined;
|
|
234
242
|
readonly identities?: readonly {
|
|
235
|
-
readonly value: string;
|
|
236
243
|
readonly label?: string | undefined;
|
|
244
|
+
readonly value: string;
|
|
237
245
|
}[] | undefined;
|
|
238
246
|
readonly phoneNumbers?: readonly {
|
|
239
|
-
readonly value: string;
|
|
240
247
|
readonly label?: string | undefined;
|
|
241
|
-
}[] | undefined;
|
|
242
|
-
readonly fields?: readonly {
|
|
243
248
|
readonly value: string;
|
|
244
|
-
readonly label: string;
|
|
245
|
-
readonly category?: string | undefined;
|
|
246
249
|
}[] | undefined;
|
|
247
250
|
readonly addresses?: readonly {
|
|
251
|
+
readonly label?: string | undefined;
|
|
248
252
|
readonly value: {
|
|
249
253
|
readonly street?: string | undefined;
|
|
250
254
|
readonly extended?: string | undefined;
|
|
@@ -254,51 +258,83 @@ export declare const SentenceNormalizationInput: Schema.Struct<{
|
|
|
254
258
|
readonly postOfficeBoxNumber?: string | undefined;
|
|
255
259
|
readonly country?: string | undefined;
|
|
256
260
|
};
|
|
257
|
-
readonly label?: string | undefined;
|
|
258
261
|
}[] | undefined;
|
|
259
262
|
readonly urls?: readonly {
|
|
260
|
-
readonly value: string;
|
|
261
263
|
readonly label?: string | undefined;
|
|
264
|
+
readonly value: string;
|
|
262
265
|
}[] | undefined;
|
|
263
266
|
readonly birthday?: string | undefined;
|
|
267
|
+
readonly fields?: readonly {
|
|
268
|
+
readonly category?: string | undefined;
|
|
269
|
+
readonly label: string;
|
|
270
|
+
readonly value: string;
|
|
271
|
+
}[] | undefined;
|
|
264
272
|
} & {
|
|
265
273
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
266
274
|
}> | undefined;
|
|
267
275
|
readonly identityDid?: string | undefined;
|
|
268
276
|
readonly identityKey?: string | undefined;
|
|
269
277
|
readonly email?: string | undefined;
|
|
278
|
+
readonly name?: string | undefined;
|
|
270
279
|
};
|
|
271
280
|
readonly blocks: readonly ({
|
|
281
|
+
readonly _tag: "anchor";
|
|
272
282
|
readonly pending?: boolean | undefined;
|
|
273
|
-
readonly
|
|
274
|
-
readonly
|
|
275
|
-
|
|
276
|
-
readonly _tag: "
|
|
283
|
+
readonly objectId: string;
|
|
284
|
+
readonly version: unknown;
|
|
285
|
+
} | {
|
|
286
|
+
readonly _tag: "file";
|
|
287
|
+
readonly pending?: boolean | undefined;
|
|
288
|
+
readonly url: string;
|
|
289
|
+
readonly name?: string | undefined;
|
|
290
|
+
readonly mediaType?: string | undefined;
|
|
291
|
+
} | {
|
|
292
|
+
readonly _tag: "image";
|
|
293
|
+
readonly pending?: boolean | undefined;
|
|
294
|
+
readonly id?: string | undefined;
|
|
295
|
+
readonly source?: {
|
|
296
|
+
readonly type: "base64";
|
|
297
|
+
readonly mediaType: string;
|
|
298
|
+
readonly data: string;
|
|
299
|
+
} | {
|
|
300
|
+
readonly type: "http";
|
|
301
|
+
readonly url: string;
|
|
302
|
+
} | undefined;
|
|
303
|
+
} | {
|
|
304
|
+
readonly _tag: "json";
|
|
305
|
+
readonly pending?: boolean | undefined;
|
|
306
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
307
|
+
readonly data: string;
|
|
277
308
|
} | {
|
|
309
|
+
readonly _tag: "proposal";
|
|
278
310
|
readonly pending?: boolean | undefined;
|
|
311
|
+
readonly text: string;
|
|
312
|
+
} | {
|
|
279
313
|
readonly _tag: "reasoning";
|
|
314
|
+
readonly pending?: boolean | undefined;
|
|
280
315
|
readonly reasoningText?: string | undefined;
|
|
281
316
|
readonly redactedText?: string | undefined;
|
|
282
317
|
readonly signature?: string | undefined;
|
|
283
318
|
} | {
|
|
284
|
-
readonly
|
|
319
|
+
readonly _tag: "reference";
|
|
285
320
|
readonly pending?: boolean | undefined;
|
|
286
|
-
readonly
|
|
287
|
-
readonly toolCallId: string;
|
|
288
|
-
readonly input: string;
|
|
289
|
-
readonly providerExecuted: boolean;
|
|
321
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown>;
|
|
290
322
|
} | {
|
|
291
|
-
readonly
|
|
323
|
+
readonly _tag: "select";
|
|
292
324
|
readonly pending?: boolean | undefined;
|
|
293
|
-
readonly
|
|
294
|
-
readonly toolCallId: string;
|
|
295
|
-
readonly providerExecuted: boolean;
|
|
296
|
-
readonly result?: string | undefined;
|
|
297
|
-
readonly error?: string | undefined;
|
|
325
|
+
readonly options: string[];
|
|
298
326
|
} | {
|
|
327
|
+
readonly _tag: "status";
|
|
299
328
|
readonly pending?: boolean | undefined;
|
|
300
|
-
readonly
|
|
329
|
+
readonly statusText: string;
|
|
330
|
+
} | {
|
|
331
|
+
readonly _tag: "suggestion";
|
|
332
|
+
readonly pending?: boolean | undefined;
|
|
333
|
+
readonly text: string;
|
|
334
|
+
} | {
|
|
301
335
|
readonly _tag: "stats";
|
|
336
|
+
readonly pending?: boolean | undefined;
|
|
337
|
+
readonly mimeType?: string | undefined;
|
|
302
338
|
readonly message?: string | undefined;
|
|
303
339
|
readonly model?: string | undefined;
|
|
304
340
|
readonly usage?: {
|
|
@@ -310,65 +346,38 @@ export declare const SentenceNormalizationInput: Schema.Struct<{
|
|
|
310
346
|
readonly errors?: number | undefined;
|
|
311
347
|
readonly duration?: number | undefined;
|
|
312
348
|
} | {
|
|
313
|
-
readonly
|
|
314
|
-
readonly type: "base64";
|
|
315
|
-
readonly mediaType: string;
|
|
316
|
-
readonly data: string;
|
|
317
|
-
} | {
|
|
318
|
-
readonly type: "http";
|
|
319
|
-
readonly url: string;
|
|
320
|
-
} | undefined;
|
|
321
|
-
readonly id?: string | undefined;
|
|
349
|
+
readonly _tag: "text";
|
|
322
350
|
readonly pending?: boolean | undefined;
|
|
323
|
-
readonly
|
|
351
|
+
readonly mimeType?: string | undefined;
|
|
352
|
+
readonly text: string;
|
|
353
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
324
354
|
} | {
|
|
325
|
-
readonly
|
|
355
|
+
readonly _tag: "summary";
|
|
326
356
|
readonly pending?: boolean | undefined;
|
|
327
|
-
readonly
|
|
328
|
-
readonly mediaType?: string | undefined;
|
|
329
|
-
readonly url: string;
|
|
357
|
+
readonly content: string;
|
|
330
358
|
} | {
|
|
359
|
+
readonly _tag: "toolkit";
|
|
331
360
|
readonly pending?: boolean | undefined;
|
|
332
|
-
readonly _tag: "reference";
|
|
333
|
-
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown>;
|
|
334
361
|
} | {
|
|
362
|
+
readonly _tag: "toolCall";
|
|
335
363
|
readonly pending?: boolean | undefined;
|
|
336
|
-
readonly
|
|
337
|
-
readonly
|
|
338
|
-
readonly
|
|
364
|
+
readonly toolCallId: string;
|
|
365
|
+
readonly name: string;
|
|
366
|
+
readonly input: string;
|
|
367
|
+
readonly providerExecuted: boolean;
|
|
339
368
|
} | {
|
|
369
|
+
readonly _tag: "toolResult";
|
|
340
370
|
readonly pending?: boolean | undefined;
|
|
341
|
-
readonly
|
|
342
|
-
readonly
|
|
343
|
-
|
|
344
|
-
readonly
|
|
345
|
-
readonly
|
|
346
|
-
readonly _tag: "suggestion";
|
|
347
|
-
} | {
|
|
348
|
-
readonly pending?: boolean | undefined;
|
|
349
|
-
readonly _tag: "select";
|
|
350
|
-
readonly options: string[];
|
|
351
|
-
} | {
|
|
352
|
-
readonly version: unknown;
|
|
353
|
-
readonly pending?: boolean | undefined;
|
|
354
|
-
readonly _tag: "anchor";
|
|
355
|
-
readonly objectId: string;
|
|
371
|
+
readonly toolCallId: string;
|
|
372
|
+
readonly name: string;
|
|
373
|
+
readonly result?: string | undefined;
|
|
374
|
+
readonly error?: string | undefined;
|
|
375
|
+
readonly providerExecuted: boolean;
|
|
356
376
|
} | {
|
|
377
|
+
readonly _tag: "transcript";
|
|
357
378
|
readonly pending?: boolean | undefined;
|
|
379
|
+
readonly started: string;
|
|
358
380
|
readonly text: string;
|
|
359
|
-
readonly _tag: "proposal";
|
|
360
|
-
} | {
|
|
361
|
-
readonly pending?: boolean | undefined;
|
|
362
|
-
readonly _tag: "summary";
|
|
363
|
-
readonly content: string;
|
|
364
|
-
} | {
|
|
365
|
-
readonly pending?: boolean | undefined;
|
|
366
|
-
readonly _tag: "toolkit";
|
|
367
|
-
} | {
|
|
368
|
-
readonly pending?: boolean | undefined;
|
|
369
|
-
readonly disposition?: string | undefined;
|
|
370
|
-
readonly _tag: "json";
|
|
371
|
-
readonly data: string;
|
|
372
381
|
})[];
|
|
373
382
|
readonly properties?: {
|
|
374
383
|
readonly [x: string]: any;
|
|
@@ -382,19 +391,19 @@ export declare const SentenceNormalizationOutput: Schema.Struct<{
|
|
|
382
391
|
sentences: Schema.mutable<Schema.Array$<Schema.mutable<Schema.extend<import("@dxos/echo/Type").Obj<{
|
|
383
392
|
readonly id: string;
|
|
384
393
|
readonly parentMessage?: string | undefined;
|
|
394
|
+
readonly threadId?: string | undefined;
|
|
385
395
|
readonly created: string;
|
|
386
396
|
readonly sender: {
|
|
387
|
-
readonly
|
|
388
|
-
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
397
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
389
398
|
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
390
|
-
readonly image?: string | undefined;
|
|
391
399
|
readonly fullName?: string | undefined;
|
|
392
400
|
readonly preferredName?: string | undefined;
|
|
393
401
|
readonly nickname?: string | undefined;
|
|
402
|
+
readonly image?: string | undefined;
|
|
394
403
|
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
395
|
-
readonly description?: string | undefined;
|
|
396
404
|
readonly name?: string | undefined;
|
|
397
|
-
readonly
|
|
405
|
+
readonly description?: string | undefined;
|
|
406
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
398
407
|
readonly image?: string | undefined;
|
|
399
408
|
readonly website?: string | undefined;
|
|
400
409
|
} & {
|
|
@@ -404,23 +413,19 @@ export declare const SentenceNormalizationOutput: Schema.Struct<{
|
|
|
404
413
|
readonly department?: string | undefined;
|
|
405
414
|
readonly notes?: string | undefined;
|
|
406
415
|
readonly emails?: readonly {
|
|
407
|
-
readonly value: string;
|
|
408
416
|
readonly label?: string | undefined;
|
|
417
|
+
readonly value: string;
|
|
409
418
|
}[] | undefined;
|
|
410
419
|
readonly identities?: readonly {
|
|
411
|
-
readonly value: string;
|
|
412
420
|
readonly label?: string | undefined;
|
|
421
|
+
readonly value: string;
|
|
413
422
|
}[] | undefined;
|
|
414
423
|
readonly phoneNumbers?: readonly {
|
|
415
|
-
readonly value: string;
|
|
416
424
|
readonly label?: string | undefined;
|
|
417
|
-
}[] | undefined;
|
|
418
|
-
readonly fields?: readonly {
|
|
419
425
|
readonly value: string;
|
|
420
|
-
readonly label: string;
|
|
421
|
-
readonly category?: string | undefined;
|
|
422
426
|
}[] | undefined;
|
|
423
427
|
readonly addresses?: readonly {
|
|
428
|
+
readonly label?: string | undefined;
|
|
424
429
|
readonly value: {
|
|
425
430
|
readonly street?: string | undefined;
|
|
426
431
|
readonly extended?: string | undefined;
|
|
@@ -430,62 +435,40 @@ export declare const SentenceNormalizationOutput: Schema.Struct<{
|
|
|
430
435
|
readonly postOfficeBoxNumber?: string | undefined;
|
|
431
436
|
readonly country?: string | undefined;
|
|
432
437
|
};
|
|
433
|
-
readonly label?: string | undefined;
|
|
434
438
|
}[] | undefined;
|
|
435
439
|
readonly urls?: readonly {
|
|
436
|
-
readonly value: string;
|
|
437
440
|
readonly label?: string | undefined;
|
|
441
|
+
readonly value: string;
|
|
438
442
|
}[] | undefined;
|
|
439
443
|
readonly birthday?: string | undefined;
|
|
444
|
+
readonly fields?: readonly {
|
|
445
|
+
readonly category?: string | undefined;
|
|
446
|
+
readonly label: string;
|
|
447
|
+
readonly value: string;
|
|
448
|
+
}[] | undefined;
|
|
440
449
|
} & {
|
|
441
450
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
442
451
|
}> | undefined;
|
|
443
452
|
readonly identityDid?: string | undefined;
|
|
444
453
|
readonly identityKey?: string | undefined;
|
|
445
454
|
readonly email?: string | undefined;
|
|
455
|
+
readonly name?: string | undefined;
|
|
446
456
|
};
|
|
447
457
|
readonly blocks: readonly ({
|
|
458
|
+
readonly _tag: "anchor";
|
|
448
459
|
readonly pending?: boolean | undefined;
|
|
449
|
-
readonly
|
|
450
|
-
readonly
|
|
451
|
-
readonly disposition?: string | undefined;
|
|
452
|
-
readonly _tag: "text";
|
|
453
|
-
} | {
|
|
454
|
-
readonly pending?: boolean | undefined;
|
|
455
|
-
readonly _tag: "reasoning";
|
|
456
|
-
readonly reasoningText?: string | undefined;
|
|
457
|
-
readonly redactedText?: string | undefined;
|
|
458
|
-
readonly signature?: string | undefined;
|
|
459
|
-
} | {
|
|
460
|
-
readonly name: string;
|
|
461
|
-
readonly pending?: boolean | undefined;
|
|
462
|
-
readonly _tag: "toolCall";
|
|
463
|
-
readonly toolCallId: string;
|
|
464
|
-
readonly input: string;
|
|
465
|
-
readonly providerExecuted: boolean;
|
|
460
|
+
readonly objectId: string;
|
|
461
|
+
readonly version: unknown;
|
|
466
462
|
} | {
|
|
467
|
-
readonly
|
|
463
|
+
readonly _tag: "file";
|
|
468
464
|
readonly pending?: boolean | undefined;
|
|
469
|
-
readonly
|
|
470
|
-
readonly
|
|
471
|
-
readonly
|
|
472
|
-
readonly result?: string | undefined;
|
|
473
|
-
readonly error?: string | undefined;
|
|
465
|
+
readonly url: string;
|
|
466
|
+
readonly name?: string | undefined;
|
|
467
|
+
readonly mediaType?: string | undefined;
|
|
474
468
|
} | {
|
|
469
|
+
readonly _tag: "image";
|
|
475
470
|
readonly pending?: boolean | undefined;
|
|
476
|
-
readonly
|
|
477
|
-
readonly _tag: "stats";
|
|
478
|
-
readonly message?: string | undefined;
|
|
479
|
-
readonly model?: string | undefined;
|
|
480
|
-
readonly usage?: {
|
|
481
|
-
readonly inputTokens?: number | undefined;
|
|
482
|
-
readonly outputTokens?: number | undefined;
|
|
483
|
-
readonly totalTokens?: number | undefined;
|
|
484
|
-
} | undefined;
|
|
485
|
-
readonly toolCalls?: number | undefined;
|
|
486
|
-
readonly errors?: number | undefined;
|
|
487
|
-
readonly duration?: number | undefined;
|
|
488
|
-
} | {
|
|
471
|
+
readonly id?: string | undefined;
|
|
489
472
|
readonly source?: {
|
|
490
473
|
readonly type: "base64";
|
|
491
474
|
readonly mediaType: string;
|
|
@@ -494,57 +477,84 @@ export declare const SentenceNormalizationOutput: Schema.Struct<{
|
|
|
494
477
|
readonly type: "http";
|
|
495
478
|
readonly url: string;
|
|
496
479
|
} | undefined;
|
|
497
|
-
|
|
480
|
+
} | {
|
|
481
|
+
readonly _tag: "json";
|
|
498
482
|
readonly pending?: boolean | undefined;
|
|
499
|
-
readonly
|
|
483
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
484
|
+
readonly data: string;
|
|
500
485
|
} | {
|
|
501
|
-
readonly
|
|
486
|
+
readonly _tag: "proposal";
|
|
502
487
|
readonly pending?: boolean | undefined;
|
|
503
|
-
readonly
|
|
504
|
-
readonly mediaType?: string | undefined;
|
|
505
|
-
readonly url: string;
|
|
488
|
+
readonly text: string;
|
|
506
489
|
} | {
|
|
490
|
+
readonly _tag: "reasoning";
|
|
507
491
|
readonly pending?: boolean | undefined;
|
|
492
|
+
readonly reasoningText?: string | undefined;
|
|
493
|
+
readonly redactedText?: string | undefined;
|
|
494
|
+
readonly signature?: string | undefined;
|
|
495
|
+
} | {
|
|
508
496
|
readonly _tag: "reference";
|
|
497
|
+
readonly pending?: boolean | undefined;
|
|
509
498
|
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown>;
|
|
510
499
|
} | {
|
|
500
|
+
readonly _tag: "select";
|
|
511
501
|
readonly pending?: boolean | undefined;
|
|
512
|
-
readonly
|
|
513
|
-
readonly _tag: "transcript";
|
|
514
|
-
readonly started: string;
|
|
502
|
+
readonly options: string[];
|
|
515
503
|
} | {
|
|
516
|
-
readonly pending?: boolean | undefined;
|
|
517
504
|
readonly _tag: "status";
|
|
505
|
+
readonly pending?: boolean | undefined;
|
|
518
506
|
readonly statusText: string;
|
|
519
507
|
} | {
|
|
520
|
-
readonly pending?: boolean | undefined;
|
|
521
|
-
readonly text: string;
|
|
522
508
|
readonly _tag: "suggestion";
|
|
523
|
-
} | {
|
|
524
509
|
readonly pending?: boolean | undefined;
|
|
525
|
-
readonly
|
|
526
|
-
readonly options: string[];
|
|
510
|
+
readonly text: string;
|
|
527
511
|
} | {
|
|
528
|
-
readonly
|
|
512
|
+
readonly _tag: "stats";
|
|
529
513
|
readonly pending?: boolean | undefined;
|
|
530
|
-
readonly
|
|
531
|
-
readonly
|
|
514
|
+
readonly mimeType?: string | undefined;
|
|
515
|
+
readonly message?: string | undefined;
|
|
516
|
+
readonly model?: string | undefined;
|
|
517
|
+
readonly usage?: {
|
|
518
|
+
readonly inputTokens?: number | undefined;
|
|
519
|
+
readonly outputTokens?: number | undefined;
|
|
520
|
+
readonly totalTokens?: number | undefined;
|
|
521
|
+
} | undefined;
|
|
522
|
+
readonly toolCalls?: number | undefined;
|
|
523
|
+
readonly errors?: number | undefined;
|
|
524
|
+
readonly duration?: number | undefined;
|
|
532
525
|
} | {
|
|
526
|
+
readonly _tag: "text";
|
|
533
527
|
readonly pending?: boolean | undefined;
|
|
528
|
+
readonly mimeType?: string | undefined;
|
|
534
529
|
readonly text: string;
|
|
535
|
-
readonly
|
|
530
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
536
531
|
} | {
|
|
537
|
-
readonly pending?: boolean | undefined;
|
|
538
532
|
readonly _tag: "summary";
|
|
533
|
+
readonly pending?: boolean | undefined;
|
|
539
534
|
readonly content: string;
|
|
540
535
|
} | {
|
|
541
|
-
readonly pending?: boolean | undefined;
|
|
542
536
|
readonly _tag: "toolkit";
|
|
537
|
+
readonly pending?: boolean | undefined;
|
|
543
538
|
} | {
|
|
539
|
+
readonly _tag: "toolCall";
|
|
544
540
|
readonly pending?: boolean | undefined;
|
|
545
|
-
readonly
|
|
546
|
-
readonly
|
|
547
|
-
readonly
|
|
541
|
+
readonly toolCallId: string;
|
|
542
|
+
readonly name: string;
|
|
543
|
+
readonly input: string;
|
|
544
|
+
readonly providerExecuted: boolean;
|
|
545
|
+
} | {
|
|
546
|
+
readonly _tag: "toolResult";
|
|
547
|
+
readonly pending?: boolean | undefined;
|
|
548
|
+
readonly toolCallId: string;
|
|
549
|
+
readonly name: string;
|
|
550
|
+
readonly result?: string | undefined;
|
|
551
|
+
readonly error?: string | undefined;
|
|
552
|
+
readonly providerExecuted: boolean;
|
|
553
|
+
} | {
|
|
554
|
+
readonly _tag: "transcript";
|
|
555
|
+
readonly pending?: boolean | undefined;
|
|
556
|
+
readonly started: string;
|
|
557
|
+
readonly text: string;
|
|
548
558
|
})[];
|
|
549
559
|
readonly properties?: {
|
|
550
560
|
readonly [x: string]: any;
|
|
@@ -557,19 +567,19 @@ export declare const SentenceNormalization: Operation.Definition<{
|
|
|
557
567
|
readonly messages: readonly (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
558
568
|
readonly id: string;
|
|
559
569
|
readonly parentMessage?: string | undefined;
|
|
570
|
+
readonly threadId?: string | undefined;
|
|
560
571
|
readonly created: string;
|
|
561
572
|
readonly sender: {
|
|
562
|
-
readonly
|
|
563
|
-
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
573
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
564
574
|
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
565
|
-
readonly image?: string | undefined;
|
|
566
575
|
readonly fullName?: string | undefined;
|
|
567
576
|
readonly preferredName?: string | undefined;
|
|
568
577
|
readonly nickname?: string | undefined;
|
|
578
|
+
readonly image?: string | undefined;
|
|
569
579
|
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
570
|
-
readonly description?: string | undefined;
|
|
571
580
|
readonly name?: string | undefined;
|
|
572
|
-
readonly
|
|
581
|
+
readonly description?: string | undefined;
|
|
582
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
573
583
|
readonly image?: string | undefined;
|
|
574
584
|
readonly website?: string | undefined;
|
|
575
585
|
} & {
|
|
@@ -579,23 +589,19 @@ export declare const SentenceNormalization: Operation.Definition<{
|
|
|
579
589
|
readonly department?: string | undefined;
|
|
580
590
|
readonly notes?: string | undefined;
|
|
581
591
|
readonly emails?: readonly {
|
|
582
|
-
readonly value: string;
|
|
583
592
|
readonly label?: string | undefined;
|
|
593
|
+
readonly value: string;
|
|
584
594
|
}[] | undefined;
|
|
585
595
|
readonly identities?: readonly {
|
|
586
|
-
readonly value: string;
|
|
587
596
|
readonly label?: string | undefined;
|
|
597
|
+
readonly value: string;
|
|
588
598
|
}[] | undefined;
|
|
589
599
|
readonly phoneNumbers?: readonly {
|
|
590
|
-
readonly value: string;
|
|
591
600
|
readonly label?: string | undefined;
|
|
592
|
-
}[] | undefined;
|
|
593
|
-
readonly fields?: readonly {
|
|
594
601
|
readonly value: string;
|
|
595
|
-
readonly label: string;
|
|
596
|
-
readonly category?: string | undefined;
|
|
597
602
|
}[] | undefined;
|
|
598
603
|
readonly addresses?: readonly {
|
|
604
|
+
readonly label?: string | undefined;
|
|
599
605
|
readonly value: {
|
|
600
606
|
readonly street?: string | undefined;
|
|
601
607
|
readonly extended?: string | undefined;
|
|
@@ -605,62 +611,40 @@ export declare const SentenceNormalization: Operation.Definition<{
|
|
|
605
611
|
readonly postOfficeBoxNumber?: string | undefined;
|
|
606
612
|
readonly country?: string | undefined;
|
|
607
613
|
};
|
|
608
|
-
readonly label?: string | undefined;
|
|
609
614
|
}[] | undefined;
|
|
610
615
|
readonly urls?: readonly {
|
|
611
|
-
readonly value: string;
|
|
612
616
|
readonly label?: string | undefined;
|
|
617
|
+
readonly value: string;
|
|
613
618
|
}[] | undefined;
|
|
614
619
|
readonly birthday?: string | undefined;
|
|
620
|
+
readonly fields?: readonly {
|
|
621
|
+
readonly category?: string | undefined;
|
|
622
|
+
readonly label: string;
|
|
623
|
+
readonly value: string;
|
|
624
|
+
}[] | undefined;
|
|
615
625
|
} & {
|
|
616
626
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
617
627
|
}> | undefined;
|
|
618
628
|
readonly identityDid?: string | undefined;
|
|
619
629
|
readonly identityKey?: string | undefined;
|
|
620
630
|
readonly email?: string | undefined;
|
|
631
|
+
readonly name?: string | undefined;
|
|
621
632
|
};
|
|
622
633
|
readonly blocks: readonly ({
|
|
634
|
+
readonly _tag: "anchor";
|
|
623
635
|
readonly pending?: boolean | undefined;
|
|
624
|
-
readonly
|
|
625
|
-
readonly
|
|
626
|
-
readonly disposition?: string | undefined;
|
|
627
|
-
readonly _tag: "text";
|
|
628
|
-
} | {
|
|
629
|
-
readonly pending?: boolean | undefined;
|
|
630
|
-
readonly _tag: "reasoning";
|
|
631
|
-
readonly reasoningText?: string | undefined;
|
|
632
|
-
readonly redactedText?: string | undefined;
|
|
633
|
-
readonly signature?: string | undefined;
|
|
634
|
-
} | {
|
|
635
|
-
readonly name: string;
|
|
636
|
-
readonly pending?: boolean | undefined;
|
|
637
|
-
readonly _tag: "toolCall";
|
|
638
|
-
readonly toolCallId: string;
|
|
639
|
-
readonly input: string;
|
|
640
|
-
readonly providerExecuted: boolean;
|
|
636
|
+
readonly objectId: string;
|
|
637
|
+
readonly version: unknown;
|
|
641
638
|
} | {
|
|
642
|
-
readonly
|
|
639
|
+
readonly _tag: "file";
|
|
643
640
|
readonly pending?: boolean | undefined;
|
|
644
|
-
readonly
|
|
645
|
-
readonly
|
|
646
|
-
readonly
|
|
647
|
-
readonly result?: string | undefined;
|
|
648
|
-
readonly error?: string | undefined;
|
|
641
|
+
readonly url: string;
|
|
642
|
+
readonly name?: string | undefined;
|
|
643
|
+
readonly mediaType?: string | undefined;
|
|
649
644
|
} | {
|
|
645
|
+
readonly _tag: "image";
|
|
650
646
|
readonly pending?: boolean | undefined;
|
|
651
|
-
readonly
|
|
652
|
-
readonly _tag: "stats";
|
|
653
|
-
readonly message?: string | undefined;
|
|
654
|
-
readonly model?: string | undefined;
|
|
655
|
-
readonly usage?: {
|
|
656
|
-
readonly inputTokens?: number | undefined;
|
|
657
|
-
readonly outputTokens?: number | undefined;
|
|
658
|
-
readonly totalTokens?: number | undefined;
|
|
659
|
-
} | undefined;
|
|
660
|
-
readonly toolCalls?: number | undefined;
|
|
661
|
-
readonly errors?: number | undefined;
|
|
662
|
-
readonly duration?: number | undefined;
|
|
663
|
-
} | {
|
|
647
|
+
readonly id?: string | undefined;
|
|
664
648
|
readonly source?: {
|
|
665
649
|
readonly type: "base64";
|
|
666
650
|
readonly mediaType: string;
|
|
@@ -669,57 +653,84 @@ export declare const SentenceNormalization: Operation.Definition<{
|
|
|
669
653
|
readonly type: "http";
|
|
670
654
|
readonly url: string;
|
|
671
655
|
} | undefined;
|
|
672
|
-
|
|
656
|
+
} | {
|
|
657
|
+
readonly _tag: "json";
|
|
673
658
|
readonly pending?: boolean | undefined;
|
|
674
|
-
readonly
|
|
659
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
660
|
+
readonly data: string;
|
|
675
661
|
} | {
|
|
676
|
-
readonly
|
|
662
|
+
readonly _tag: "proposal";
|
|
677
663
|
readonly pending?: boolean | undefined;
|
|
678
|
-
readonly
|
|
679
|
-
readonly mediaType?: string | undefined;
|
|
680
|
-
readonly url: string;
|
|
664
|
+
readonly text: string;
|
|
681
665
|
} | {
|
|
666
|
+
readonly _tag: "reasoning";
|
|
682
667
|
readonly pending?: boolean | undefined;
|
|
668
|
+
readonly reasoningText?: string | undefined;
|
|
669
|
+
readonly redactedText?: string | undefined;
|
|
670
|
+
readonly signature?: string | undefined;
|
|
671
|
+
} | {
|
|
683
672
|
readonly _tag: "reference";
|
|
673
|
+
readonly pending?: boolean | undefined;
|
|
684
674
|
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown>;
|
|
685
675
|
} | {
|
|
676
|
+
readonly _tag: "select";
|
|
686
677
|
readonly pending?: boolean | undefined;
|
|
687
|
-
readonly
|
|
688
|
-
readonly _tag: "transcript";
|
|
689
|
-
readonly started: string;
|
|
678
|
+
readonly options: string[];
|
|
690
679
|
} | {
|
|
691
|
-
readonly pending?: boolean | undefined;
|
|
692
680
|
readonly _tag: "status";
|
|
681
|
+
readonly pending?: boolean | undefined;
|
|
693
682
|
readonly statusText: string;
|
|
694
683
|
} | {
|
|
695
|
-
readonly pending?: boolean | undefined;
|
|
696
|
-
readonly text: string;
|
|
697
684
|
readonly _tag: "suggestion";
|
|
698
|
-
} | {
|
|
699
685
|
readonly pending?: boolean | undefined;
|
|
700
|
-
readonly
|
|
701
|
-
readonly options: string[];
|
|
686
|
+
readonly text: string;
|
|
702
687
|
} | {
|
|
703
|
-
readonly
|
|
688
|
+
readonly _tag: "stats";
|
|
704
689
|
readonly pending?: boolean | undefined;
|
|
705
|
-
readonly
|
|
706
|
-
readonly
|
|
690
|
+
readonly mimeType?: string | undefined;
|
|
691
|
+
readonly message?: string | undefined;
|
|
692
|
+
readonly model?: string | undefined;
|
|
693
|
+
readonly usage?: {
|
|
694
|
+
readonly inputTokens?: number | undefined;
|
|
695
|
+
readonly outputTokens?: number | undefined;
|
|
696
|
+
readonly totalTokens?: number | undefined;
|
|
697
|
+
} | undefined;
|
|
698
|
+
readonly toolCalls?: number | undefined;
|
|
699
|
+
readonly errors?: number | undefined;
|
|
700
|
+
readonly duration?: number | undefined;
|
|
707
701
|
} | {
|
|
702
|
+
readonly _tag: "text";
|
|
708
703
|
readonly pending?: boolean | undefined;
|
|
704
|
+
readonly mimeType?: string | undefined;
|
|
709
705
|
readonly text: string;
|
|
710
|
-
readonly
|
|
706
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
711
707
|
} | {
|
|
712
|
-
readonly pending?: boolean | undefined;
|
|
713
708
|
readonly _tag: "summary";
|
|
709
|
+
readonly pending?: boolean | undefined;
|
|
714
710
|
readonly content: string;
|
|
715
711
|
} | {
|
|
716
|
-
readonly pending?: boolean | undefined;
|
|
717
712
|
readonly _tag: "toolkit";
|
|
713
|
+
readonly pending?: boolean | undefined;
|
|
718
714
|
} | {
|
|
715
|
+
readonly _tag: "toolCall";
|
|
719
716
|
readonly pending?: boolean | undefined;
|
|
720
|
-
readonly
|
|
721
|
-
readonly
|
|
722
|
-
readonly
|
|
717
|
+
readonly toolCallId: string;
|
|
718
|
+
readonly name: string;
|
|
719
|
+
readonly input: string;
|
|
720
|
+
readonly providerExecuted: boolean;
|
|
721
|
+
} | {
|
|
722
|
+
readonly _tag: "toolResult";
|
|
723
|
+
readonly pending?: boolean | undefined;
|
|
724
|
+
readonly toolCallId: string;
|
|
725
|
+
readonly name: string;
|
|
726
|
+
readonly result?: string | undefined;
|
|
727
|
+
readonly error?: string | undefined;
|
|
728
|
+
readonly providerExecuted: boolean;
|
|
729
|
+
} | {
|
|
730
|
+
readonly _tag: "transcript";
|
|
731
|
+
readonly pending?: boolean | undefined;
|
|
732
|
+
readonly started: string;
|
|
733
|
+
readonly text: string;
|
|
723
734
|
})[];
|
|
724
735
|
readonly properties?: {
|
|
725
736
|
readonly [x: string]: any;
|
|
@@ -729,22 +740,22 @@ export declare const SentenceNormalization: Operation.Definition<{
|
|
|
729
740
|
})[];
|
|
730
741
|
}, {
|
|
731
742
|
readonly sentences: {
|
|
732
|
-
id: import("@dxos/keys").ObjectId;
|
|
733
743
|
"~@dxos/echo/Kind": import("@dxos/echo/internal").EntityKind.Object;
|
|
734
|
-
|
|
744
|
+
id: import("@dxos/keys").ObjectId;
|
|
745
|
+
parentMessage?: string | undefined;
|
|
746
|
+
threadId?: string | undefined;
|
|
735
747
|
created: string;
|
|
736
748
|
sender: {
|
|
737
|
-
readonly
|
|
738
|
-
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
749
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
739
750
|
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
740
|
-
readonly image?: string | undefined;
|
|
741
751
|
readonly fullName?: string | undefined;
|
|
742
752
|
readonly preferredName?: string | undefined;
|
|
743
753
|
readonly nickname?: string | undefined;
|
|
754
|
+
readonly image?: string | undefined;
|
|
744
755
|
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
745
|
-
readonly description?: string | undefined;
|
|
746
756
|
readonly name?: string | undefined;
|
|
747
|
-
readonly
|
|
757
|
+
readonly description?: string | undefined;
|
|
758
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
748
759
|
readonly image?: string | undefined;
|
|
749
760
|
readonly website?: string | undefined;
|
|
750
761
|
} & {
|
|
@@ -754,23 +765,19 @@ export declare const SentenceNormalization: Operation.Definition<{
|
|
|
754
765
|
readonly department?: string | undefined;
|
|
755
766
|
readonly notes?: string | undefined;
|
|
756
767
|
readonly emails?: readonly {
|
|
757
|
-
readonly value: string;
|
|
758
768
|
readonly label?: string | undefined;
|
|
769
|
+
readonly value: string;
|
|
759
770
|
}[] | undefined;
|
|
760
771
|
readonly identities?: readonly {
|
|
761
|
-
readonly value: string;
|
|
762
772
|
readonly label?: string | undefined;
|
|
773
|
+
readonly value: string;
|
|
763
774
|
}[] | undefined;
|
|
764
775
|
readonly phoneNumbers?: readonly {
|
|
765
|
-
readonly value: string;
|
|
766
776
|
readonly label?: string | undefined;
|
|
767
|
-
}[] | undefined;
|
|
768
|
-
readonly fields?: readonly {
|
|
769
777
|
readonly value: string;
|
|
770
|
-
readonly label: string;
|
|
771
|
-
readonly category?: string | undefined;
|
|
772
778
|
}[] | undefined;
|
|
773
779
|
readonly addresses?: readonly {
|
|
780
|
+
readonly label?: string | undefined;
|
|
774
781
|
readonly value: {
|
|
775
782
|
readonly street?: string | undefined;
|
|
776
783
|
readonly extended?: string | undefined;
|
|
@@ -780,62 +787,40 @@ export declare const SentenceNormalization: Operation.Definition<{
|
|
|
780
787
|
readonly postOfficeBoxNumber?: string | undefined;
|
|
781
788
|
readonly country?: string | undefined;
|
|
782
789
|
};
|
|
783
|
-
readonly label?: string | undefined;
|
|
784
790
|
}[] | undefined;
|
|
785
791
|
readonly urls?: readonly {
|
|
786
|
-
readonly value: string;
|
|
787
792
|
readonly label?: string | undefined;
|
|
793
|
+
readonly value: string;
|
|
788
794
|
}[] | undefined;
|
|
789
795
|
readonly birthday?: string | undefined;
|
|
796
|
+
readonly fields?: readonly {
|
|
797
|
+
readonly category?: string | undefined;
|
|
798
|
+
readonly label: string;
|
|
799
|
+
readonly value: string;
|
|
800
|
+
}[] | undefined;
|
|
790
801
|
} & {
|
|
791
802
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
792
803
|
}> | undefined;
|
|
793
804
|
readonly identityDid?: string | undefined;
|
|
794
805
|
readonly identityKey?: string | undefined;
|
|
795
806
|
readonly email?: string | undefined;
|
|
807
|
+
readonly name?: string | undefined;
|
|
796
808
|
};
|
|
797
809
|
blocks: readonly ({
|
|
810
|
+
readonly _tag: "anchor";
|
|
798
811
|
readonly pending?: boolean | undefined;
|
|
799
|
-
readonly
|
|
800
|
-
readonly
|
|
801
|
-
readonly disposition?: string | undefined;
|
|
802
|
-
readonly _tag: "text";
|
|
803
|
-
} | {
|
|
804
|
-
readonly pending?: boolean | undefined;
|
|
805
|
-
readonly _tag: "reasoning";
|
|
806
|
-
readonly reasoningText?: string | undefined;
|
|
807
|
-
readonly redactedText?: string | undefined;
|
|
808
|
-
readonly signature?: string | undefined;
|
|
809
|
-
} | {
|
|
810
|
-
readonly name: string;
|
|
811
|
-
readonly pending?: boolean | undefined;
|
|
812
|
-
readonly _tag: "toolCall";
|
|
813
|
-
readonly toolCallId: string;
|
|
814
|
-
readonly input: string;
|
|
815
|
-
readonly providerExecuted: boolean;
|
|
812
|
+
readonly objectId: string;
|
|
813
|
+
readonly version: unknown;
|
|
816
814
|
} | {
|
|
817
|
-
readonly
|
|
815
|
+
readonly _tag: "file";
|
|
818
816
|
readonly pending?: boolean | undefined;
|
|
819
|
-
readonly
|
|
820
|
-
readonly
|
|
821
|
-
readonly
|
|
822
|
-
readonly result?: string | undefined;
|
|
823
|
-
readonly error?: string | undefined;
|
|
817
|
+
readonly url: string;
|
|
818
|
+
readonly name?: string | undefined;
|
|
819
|
+
readonly mediaType?: string | undefined;
|
|
824
820
|
} | {
|
|
821
|
+
readonly _tag: "image";
|
|
825
822
|
readonly pending?: boolean | undefined;
|
|
826
|
-
readonly
|
|
827
|
-
readonly _tag: "stats";
|
|
828
|
-
readonly message?: string | undefined;
|
|
829
|
-
readonly model?: string | undefined;
|
|
830
|
-
readonly usage?: {
|
|
831
|
-
readonly inputTokens?: number | undefined;
|
|
832
|
-
readonly outputTokens?: number | undefined;
|
|
833
|
-
readonly totalTokens?: number | undefined;
|
|
834
|
-
} | undefined;
|
|
835
|
-
readonly toolCalls?: number | undefined;
|
|
836
|
-
readonly errors?: number | undefined;
|
|
837
|
-
readonly duration?: number | undefined;
|
|
838
|
-
} | {
|
|
823
|
+
readonly id?: string | undefined;
|
|
839
824
|
readonly source?: {
|
|
840
825
|
readonly type: "base64";
|
|
841
826
|
readonly mediaType: string;
|
|
@@ -844,61 +829,88 @@ export declare const SentenceNormalization: Operation.Definition<{
|
|
|
844
829
|
readonly type: "http";
|
|
845
830
|
readonly url: string;
|
|
846
831
|
} | undefined;
|
|
847
|
-
|
|
832
|
+
} | {
|
|
833
|
+
readonly _tag: "json";
|
|
848
834
|
readonly pending?: boolean | undefined;
|
|
849
|
-
readonly
|
|
835
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
836
|
+
readonly data: string;
|
|
850
837
|
} | {
|
|
851
|
-
readonly
|
|
838
|
+
readonly _tag: "proposal";
|
|
852
839
|
readonly pending?: boolean | undefined;
|
|
853
|
-
readonly
|
|
854
|
-
readonly mediaType?: string | undefined;
|
|
855
|
-
readonly url: string;
|
|
840
|
+
readonly text: string;
|
|
856
841
|
} | {
|
|
842
|
+
readonly _tag: "reasoning";
|
|
857
843
|
readonly pending?: boolean | undefined;
|
|
844
|
+
readonly reasoningText?: string | undefined;
|
|
845
|
+
readonly redactedText?: string | undefined;
|
|
846
|
+
readonly signature?: string | undefined;
|
|
847
|
+
} | {
|
|
858
848
|
readonly _tag: "reference";
|
|
849
|
+
readonly pending?: boolean | undefined;
|
|
859
850
|
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown>;
|
|
860
851
|
} | {
|
|
852
|
+
readonly _tag: "select";
|
|
861
853
|
readonly pending?: boolean | undefined;
|
|
862
|
-
readonly
|
|
863
|
-
readonly _tag: "transcript";
|
|
864
|
-
readonly started: string;
|
|
854
|
+
readonly options: string[];
|
|
865
855
|
} | {
|
|
866
|
-
readonly pending?: boolean | undefined;
|
|
867
856
|
readonly _tag: "status";
|
|
857
|
+
readonly pending?: boolean | undefined;
|
|
868
858
|
readonly statusText: string;
|
|
869
859
|
} | {
|
|
870
|
-
readonly pending?: boolean | undefined;
|
|
871
|
-
readonly text: string;
|
|
872
860
|
readonly _tag: "suggestion";
|
|
873
|
-
} | {
|
|
874
861
|
readonly pending?: boolean | undefined;
|
|
875
|
-
readonly
|
|
876
|
-
readonly options: string[];
|
|
862
|
+
readonly text: string;
|
|
877
863
|
} | {
|
|
878
|
-
readonly
|
|
864
|
+
readonly _tag: "stats";
|
|
879
865
|
readonly pending?: boolean | undefined;
|
|
880
|
-
readonly
|
|
881
|
-
readonly
|
|
866
|
+
readonly mimeType?: string | undefined;
|
|
867
|
+
readonly message?: string | undefined;
|
|
868
|
+
readonly model?: string | undefined;
|
|
869
|
+
readonly usage?: {
|
|
870
|
+
readonly inputTokens?: number | undefined;
|
|
871
|
+
readonly outputTokens?: number | undefined;
|
|
872
|
+
readonly totalTokens?: number | undefined;
|
|
873
|
+
} | undefined;
|
|
874
|
+
readonly toolCalls?: number | undefined;
|
|
875
|
+
readonly errors?: number | undefined;
|
|
876
|
+
readonly duration?: number | undefined;
|
|
882
877
|
} | {
|
|
878
|
+
readonly _tag: "text";
|
|
883
879
|
readonly pending?: boolean | undefined;
|
|
880
|
+
readonly mimeType?: string | undefined;
|
|
884
881
|
readonly text: string;
|
|
885
|
-
readonly
|
|
882
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
886
883
|
} | {
|
|
887
|
-
readonly pending?: boolean | undefined;
|
|
888
884
|
readonly _tag: "summary";
|
|
885
|
+
readonly pending?: boolean | undefined;
|
|
889
886
|
readonly content: string;
|
|
890
887
|
} | {
|
|
891
|
-
readonly pending?: boolean | undefined;
|
|
892
888
|
readonly _tag: "toolkit";
|
|
889
|
+
readonly pending?: boolean | undefined;
|
|
893
890
|
} | {
|
|
891
|
+
readonly _tag: "toolCall";
|
|
894
892
|
readonly pending?: boolean | undefined;
|
|
895
|
-
readonly
|
|
896
|
-
readonly
|
|
897
|
-
readonly
|
|
893
|
+
readonly toolCallId: string;
|
|
894
|
+
readonly name: string;
|
|
895
|
+
readonly input: string;
|
|
896
|
+
readonly providerExecuted: boolean;
|
|
897
|
+
} | {
|
|
898
|
+
readonly _tag: "toolResult";
|
|
899
|
+
readonly pending?: boolean | undefined;
|
|
900
|
+
readonly toolCallId: string;
|
|
901
|
+
readonly name: string;
|
|
902
|
+
readonly result?: string | undefined;
|
|
903
|
+
readonly error?: string | undefined;
|
|
904
|
+
readonly providerExecuted: boolean;
|
|
905
|
+
} | {
|
|
906
|
+
readonly _tag: "transcript";
|
|
907
|
+
readonly pending?: boolean | undefined;
|
|
908
|
+
readonly started: string;
|
|
909
|
+
readonly text: string;
|
|
898
910
|
})[];
|
|
899
911
|
properties?: {
|
|
900
912
|
readonly [x: string]: any;
|
|
901
|
-
} | undefined
|
|
913
|
+
} | undefined;
|
|
902
914
|
rangeId?: readonly string[] | undefined;
|
|
903
915
|
}[];
|
|
904
916
|
}, never>;
|