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