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