@dxos/plugin-transcription 0.9.0 → 0.9.1-staging.ee54ba693a
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/PLUGIN.mdl +25 -5
- package/dist/lib/neutral/{TranscriptionArticle-L6XANBH5.mjs → TranscriptionArticle-FEWCWG4A.mjs} +4 -7
- package/dist/lib/neutral/TranscriptionArticle-FEWCWG4A.mjs.map +7 -0
- package/dist/lib/neutral/TranscriptionPlugin.mjs +29 -6
- package/dist/lib/neutral/TranscriptionPlugin.mjs.map +4 -4
- package/dist/lib/neutral/TranscriptionPlugin.node.mjs +3 -3
- package/dist/lib/neutral/TranscriptionPlugin.node.mjs.map +3 -3
- package/dist/lib/neutral/app-graph-builder-GQRMI22E.mjs +48 -0
- package/dist/lib/neutral/app-graph-builder-GQRMI22E.mjs.map +7 -0
- package/dist/lib/neutral/capabilities/index.mjs +19 -5
- package/dist/lib/neutral/capabilities/index.mjs.map +3 -3
- package/dist/lib/neutral/chunk-5BVHY75B.mjs +54 -0
- package/dist/lib/neutral/chunk-5BVHY75B.mjs.map +7 -0
- package/dist/lib/neutral/chunk-HNXSU7HJ.mjs +8 -0
- package/dist/lib/neutral/{chunk-KXJZEYS7.mjs.map → chunk-HNXSU7HJ.mjs.map} +2 -2
- package/dist/lib/neutral/chunk-KOXLGGSL.mjs +30 -0
- package/dist/lib/neutral/chunk-KOXLGGSL.mjs.map +7 -0
- package/dist/lib/neutral/chunk-MDV7NBFJ.mjs +182 -0
- package/dist/lib/neutral/chunk-MDV7NBFJ.mjs.map +7 -0
- package/dist/lib/neutral/components/index.mjs +114 -258
- package/dist/lib/neutral/components/index.mjs.map +4 -4
- package/dist/lib/neutral/containers/index.mjs +1 -1
- package/dist/lib/neutral/{create-RVR7VC33.mjs → create-HNHGCKZ4.mjs} +2 -2
- package/dist/lib/neutral/enrich-message-DSJU4TXC.mjs +24 -0
- package/dist/lib/neutral/enrich-message-DSJU4TXC.mjs.map +7 -0
- package/dist/lib/neutral/entity-lookup-PCDW7NC4.mjs +25 -0
- package/dist/lib/neutral/entity-lookup-PCDW7NC4.mjs.map +7 -0
- package/dist/lib/neutral/hooks/index.mjs +93 -15
- package/dist/lib/neutral/hooks/index.mjs.map +4 -4
- package/dist/lib/neutral/index.mjs +8 -32
- package/dist/lib/neutral/markdown-extension-CCDXXY7E.mjs +16 -0
- package/dist/lib/neutral/markdown-extension-CCDXXY7E.mjs.map +7 -0
- package/dist/lib/neutral/meta.json +1 -1
- package/dist/lib/neutral/meta.mjs +1 -1
- package/dist/lib/neutral/{open-A5KXKRH4.mjs → open-SNMZXXYO.mjs} +4 -6
- package/dist/lib/neutral/open-SNMZXXYO.mjs.map +7 -0
- package/dist/lib/neutral/operations/index.mjs +1 -1
- package/dist/lib/neutral/pipeline-status-XMWMAUJY.mjs +17 -0
- package/dist/lib/neutral/pipeline-status-XMWMAUJY.mjs.map +7 -0
- package/dist/lib/neutral/plugin.mjs +2 -2
- package/dist/lib/neutral/recording-session-IADO7ATU.mjs +15 -0
- package/dist/lib/neutral/recording-session-IADO7ATU.mjs.map +7 -0
- package/dist/lib/neutral/settings-7KE4MABW.mjs +31 -0
- package/dist/lib/neutral/settings-7KE4MABW.mjs.map +7 -0
- package/dist/lib/neutral/skill-definition-DXNK324V.mjs +15 -0
- package/dist/lib/neutral/skill-definition-DXNK324V.mjs.map +7 -0
- package/dist/lib/neutral/skills/index.mjs +8 -0
- package/dist/lib/neutral/{summarize-5XPPMVTE.mjs → summarize-LBUZTOTH.mjs} +4 -4
- package/dist/lib/neutral/summarize-LBUZTOTH.mjs.map +7 -0
- package/dist/lib/neutral/{text-content-KBB37HSM.mjs → text-content-NOWR642C.mjs} +9 -9
- package/dist/lib/neutral/text-content-NOWR642C.mjs.map +7 -0
- package/dist/lib/neutral/transcriber-6XZHUUHK.mjs +174 -0
- package/dist/lib/neutral/transcriber-6XZHUUHK.mjs.map +7 -0
- package/dist/lib/neutral/transcription-driver-DN6ELQXZ.mjs +207 -0
- package/dist/lib/neutral/transcription-driver-DN6ELQXZ.mjs.map +7 -0
- package/dist/lib/neutral/translations.mjs +8 -1
- package/dist/lib/neutral/translations.mjs.map +3 -3
- package/dist/lib/neutral/types/index.mjs +3 -1
- package/dist/types/dx.config.d.ts +28 -0
- package/dist/types/dx.config.d.ts.map +1 -0
- package/dist/types/src/TranscriptionPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +5 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
- package/dist/types/src/capabilities/entity-lookup.d.ts +10 -0
- package/dist/types/src/capabilities/entity-lookup.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +11 -8
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/markdown-extension.d.ts +5 -0
- package/dist/types/src/capabilities/markdown-extension.d.ts.map +1 -0
- package/dist/types/src/capabilities/pipeline-status.d.ts +9 -0
- package/dist/types/src/capabilities/pipeline-status.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface.d.ts +2 -2
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/recording-session.d.ts +5 -0
- package/dist/types/src/capabilities/recording-session.d.ts.map +1 -0
- package/dist/types/src/capabilities/settings.d.ts +5 -0
- package/dist/types/src/capabilities/settings.d.ts.map +1 -0
- package/dist/types/src/capabilities/skill-definition.d.ts +5 -0
- package/dist/types/src/capabilities/skill-definition.d.ts.map +1 -0
- package/dist/types/src/capabilities/text-content.d.ts +1 -4
- package/dist/types/src/capabilities/transcriber.d.ts +4 -3
- package/dist/types/src/capabilities/transcriber.d.ts.map +1 -1
- package/dist/types/src/capabilities/transcription-driver.d.ts +5 -0
- package/dist/types/src/capabilities/transcription-driver.d.ts.map +1 -0
- package/dist/types/src/components/Mic/Mic.d.ts +12 -0
- package/dist/types/src/components/Mic/Mic.d.ts.map +1 -0
- package/dist/types/src/components/{Oracle/Oracle.stories.d.ts → Mic/Mic.stories.d.ts} +9 -7
- package/dist/types/src/components/Mic/Mic.stories.d.ts.map +1 -0
- package/dist/types/src/components/Mic/index.d.ts +2 -0
- package/dist/types/src/components/Mic/index.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +1 -2
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/containers/TranscriptionArticle/TranscriptionArticle.d.ts.map +1 -1
- package/dist/types/src/containers/TranscriptionArticle/TranscriptionArticle.stories.d.ts +7 -0
- package/dist/types/src/containers/TranscriptionArticle/TranscriptionArticle.stories.d.ts.map +1 -1
- package/dist/types/src/hooks/index.d.ts +0 -5
- package/dist/types/src/hooks/index.d.ts.map +1 -1
- package/dist/types/src/hooks/useTranscriptionRecording.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -3
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +32 -2
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/normalization/message-normalizer.d.ts +2 -2
- package/dist/types/src/normalization/message-normalizer.d.ts.map +1 -1
- package/dist/types/src/normalization/normalization.d.ts +98 -733
- package/dist/types/src/normalization/normalization.d.ts.map +1 -1
- package/dist/types/src/operations/enrich-message.d.ts +9 -0
- package/dist/types/src/operations/enrich-message.d.ts.map +1 -0
- package/dist/types/src/operations/index.d.ts.map +1 -1
- package/dist/types/src/operations/open.d.ts.map +1 -1
- package/dist/types/src/operations/summarize.d.ts.map +1 -1
- package/dist/types/src/skills/index.d.ts +2 -0
- package/dist/types/src/skills/index.d.ts.map +1 -0
- package/dist/types/src/skills/transcription-skill.d.ts +4 -0
- package/dist/types/src/skills/transcription-skill.d.ts.map +1 -0
- package/dist/types/src/stories/Keyword.stories.d.ts +51 -0
- package/dist/types/src/stories/Keyword.stories.d.ts.map +1 -0
- package/dist/types/src/stories/Pipeline.stories.d.ts +60 -0
- package/dist/types/src/stories/Pipeline.stories.d.ts.map +1 -0
- package/dist/types/src/stories/Transcription.stories.d.ts +23 -0
- package/dist/types/src/stories/Transcription.stories.d.ts.map +1 -0
- package/dist/types/src/testing/decorators.d.ts +21 -0
- package/dist/types/src/testing/decorators.d.ts.map +1 -0
- package/dist/types/src/testing/index.d.ts +1 -0
- package/dist/types/src/testing/index.d.ts.map +1 -1
- package/dist/types/src/testing/testing.d.ts +3 -13
- package/dist/types/src/testing/testing.d.ts.map +1 -1
- package/dist/types/src/{transcriber/transcription-manager.d.ts → transcription-manager.d.ts} +6 -5
- package/dist/types/src/transcription-manager.d.ts.map +1 -0
- package/dist/types/src/translations.d.ts +7 -0
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/Settings.d.ts +13 -0
- package/dist/types/src/types/Settings.d.ts.map +1 -0
- package/dist/types/src/types/TranscriptOperation.d.ts +114 -1564
- package/dist/types/src/types/TranscriptOperation.d.ts.map +1 -1
- package/dist/types/src/types/TranscriptionCapabilities.d.ts +52 -11
- package/dist/types/src/types/TranscriptionCapabilities.d.ts.map +1 -1
- package/dist/types/src/types/index.d.ts +1 -0
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/util/index.d.ts +0 -3
- package/dist/types/src/util/index.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dx.config.ts +42 -0
- package/package.json +69 -69
- package/src/TranscriptionPlugin.node.ts +2 -2
- package/src/TranscriptionPlugin.test.ts +2 -2
- package/src/TranscriptionPlugin.tsx +40 -3
- package/src/capabilities/app-graph-builder.tsx +49 -0
- package/src/capabilities/entity-lookup.ts +32 -0
- package/src/capabilities/index.ts +8 -7
- package/src/capabilities/markdown-extension.ts +17 -0
- package/src/capabilities/pipeline-status.ts +23 -0
- package/src/capabilities/recording-session.ts +17 -0
- package/src/capabilities/settings.ts +34 -0
- package/src/capabilities/skill-definition.ts +15 -0
- package/src/capabilities/text-content.ts +10 -7
- package/src/capabilities/transcriber.ts +5 -48
- package/src/capabilities/transcription-driver.tsx +263 -0
- package/src/components/Mic/Mic.stories.tsx +66 -0
- package/src/components/Mic/Mic.tsx +136 -0
- package/src/components/Mic/index.ts +5 -0
- package/src/components/index.ts +1 -2
- package/src/containers/TranscriptionArticle/TranscriptionArticle.stories.tsx +4 -0
- package/src/containers/TranscriptionArticle/TranscriptionArticle.tsx +5 -6
- package/src/hooks/index.ts +0 -5
- package/src/hooks/useTranscriptionRecording.ts +27 -9
- package/src/index.ts +1 -5
- package/src/meta.ts +2 -35
- package/src/normalization/message-normalizer.ts +3 -3
- package/src/normalization/normalization.ts +3 -0
- package/src/operations/enrich-message.ts +27 -0
- package/src/operations/index.ts +1 -0
- package/src/operations/open.ts +2 -2
- package/src/operations/summarize.ts +2 -2
- package/src/skills/index.ts +5 -0
- package/src/skills/transcription-skill.ts +29 -0
- package/src/stories/Keyword.stories.tsx +98 -0
- package/src/stories/Pipeline.stories.tsx +361 -0
- package/src/stories/Transcription.stories.tsx +178 -0
- package/src/testing/decorators.ts +78 -0
- package/src/testing/index.ts +1 -0
- package/src/testing/testing.ts +14 -134
- package/src/{transcriber/transcription-manager.ts → transcription-manager.ts} +13 -12
- package/src/translations.ts +9 -1
- package/src/types/Settings.ts +59 -0
- package/src/types/TranscriptOperation.ts +22 -4
- package/src/types/TranscriptionCapabilities.ts +61 -20
- package/src/types/index.ts +1 -0
- package/src/util/index.ts +0 -3
- package/dist/lib/neutral/TranscriptionArticle-L6XANBH5.mjs.map +0 -7
- package/dist/lib/neutral/blueprint-definition-DA4QFRYJ.mjs +0 -15
- package/dist/lib/neutral/blueprint-definition-DA4QFRYJ.mjs.map +0 -7
- package/dist/lib/neutral/blueprints/index.mjs +0 -8
- package/dist/lib/neutral/chunk-FHNI26QW.mjs +0 -45
- package/dist/lib/neutral/chunk-FHNI26QW.mjs.map +0 -7
- package/dist/lib/neutral/chunk-KAEXRX3Y.mjs +0 -35
- package/dist/lib/neutral/chunk-KAEXRX3Y.mjs.map +0 -7
- package/dist/lib/neutral/chunk-KMT3BMMQ.mjs +0 -124
- package/dist/lib/neutral/chunk-KMT3BMMQ.mjs.map +0 -7
- package/dist/lib/neutral/chunk-KXJZEYS7.mjs +0 -8
- package/dist/lib/neutral/chunk-MLRJWAQH.mjs +0 -179
- package/dist/lib/neutral/chunk-MLRJWAQH.mjs.map +0 -7
- package/dist/lib/neutral/chunk-TO77KAQK.mjs +0 -298
- package/dist/lib/neutral/chunk-TO77KAQK.mjs.map +0 -7
- package/dist/lib/neutral/chunk-TX3NQISZ.mjs +0 -435
- package/dist/lib/neutral/chunk-TX3NQISZ.mjs.map +0 -7
- package/dist/lib/neutral/chunk-ZR4BH4QQ.mjs +0 -30
- package/dist/lib/neutral/chunk-ZR4BH4QQ.mjs.map +0 -7
- package/dist/lib/neutral/open-A5KXKRH4.mjs.map +0 -7
- package/dist/lib/neutral/summarize-5XPPMVTE.mjs.map +0 -7
- package/dist/lib/neutral/text-content-KBB37HSM.mjs.map +0 -7
- package/dist/lib/neutral/transcriber-OGSF3XO5.mjs +0 -59
- package/dist/lib/neutral/transcriber-OGSF3XO5.mjs.map +0 -7
- package/dist/types/src/blueprints/index.d.ts +0 -2
- package/dist/types/src/blueprints/index.d.ts.map +0 -1
- package/dist/types/src/blueprints/transcription-blueprint.d.ts +0 -4
- package/dist/types/src/blueprints/transcription-blueprint.d.ts.map +0 -1
- package/dist/types/src/capabilities/blueprint-definition.d.ts +0 -6
- package/dist/types/src/capabilities/blueprint-definition.d.ts.map +0 -1
- package/dist/types/src/components/Oracle/Oracle.d.ts +0 -24
- package/dist/types/src/components/Oracle/Oracle.d.ts.map +0 -1
- package/dist/types/src/components/Oracle/Oracle.stories.d.ts.map +0 -1
- package/dist/types/src/components/Oracle/index.d.ts +0 -2
- package/dist/types/src/components/Oracle/index.d.ts.map +0 -1
- package/dist/types/src/components/Transcription/Transcription.d.ts +0 -11
- package/dist/types/src/components/Transcription/Transcription.d.ts.map +0 -1
- package/dist/types/src/components/Transcription/Transcription.stories.d.ts +0 -37
- package/dist/types/src/components/Transcription/Transcription.stories.d.ts.map +0 -1
- package/dist/types/src/components/Transcription/index.d.ts +0 -2
- package/dist/types/src/components/Transcription/index.d.ts.map +0 -1
- package/dist/types/src/components/Transcription/transcription-extension.d.ts +0 -15
- package/dist/types/src/components/Transcription/transcription-extension.d.ts.map +0 -1
- package/dist/types/src/enrichment/conversation.test.d.ts +0 -2
- package/dist/types/src/enrichment/conversation.test.d.ts.map +0 -1
- package/dist/types/src/enrichment/operations.d.ts +0 -200
- package/dist/types/src/enrichment/operations.d.ts.map +0 -1
- package/dist/types/src/enrichment/parser.d.ts +0 -26
- package/dist/types/src/enrichment/parser.d.ts.map +0 -1
- package/dist/types/src/enrichment/stream-simulator.d.ts +0 -38
- package/dist/types/src/enrichment/stream-simulator.d.ts.map +0 -1
- package/dist/types/src/hooks/useAudioFile.d.ts +0 -7
- package/dist/types/src/hooks/useAudioFile.d.ts.map +0 -1
- package/dist/types/src/hooks/useAudioTrack.d.ts +0 -5
- package/dist/types/src/hooks/useAudioTrack.d.ts.map +0 -1
- package/dist/types/src/hooks/useFeedModelAdapter.d.ts +0 -12
- package/dist/types/src/hooks/useFeedModelAdapter.d.ts.map +0 -1
- package/dist/types/src/hooks/useTranscriber.d.ts +0 -7
- package/dist/types/src/hooks/useTranscriber.d.ts.map +0 -1
- package/dist/types/src/hooks/useVoiceInput.d.ts +0 -11
- package/dist/types/src/hooks/useVoiceInput.d.ts.map +0 -1
- package/dist/types/src/model/index.d.ts +0 -2
- package/dist/types/src/model/index.d.ts.map +0 -1
- package/dist/types/src/model/model.d.ts +0 -68
- package/dist/types/src/model/model.d.ts.map +0 -1
- package/dist/types/src/model/model.test.d.ts +0 -2
- package/dist/types/src/model/model.test.d.ts.map +0 -1
- package/dist/types/src/stories/FileTranscription.stories.d.ts +0 -20
- package/dist/types/src/stories/FileTranscription.stories.d.ts.map +0 -1
- package/dist/types/src/stories/KeyWordRecognition.stories.d.ts +0 -14
- package/dist/types/src/stories/KeyWordRecognition.stories.d.ts.map +0 -1
- package/dist/types/src/stories/LiveTranscription.stories.d.ts +0 -20
- package/dist/types/src/stories/LiveTranscription.stories.d.ts.map +0 -1
- package/dist/types/src/stories/TranscriptionStory.d.ts +0 -21
- package/dist/types/src/stories/TranscriptionStory.d.ts.map +0 -1
- package/dist/types/src/stories/common.d.ts +0 -248
- package/dist/types/src/stories/common.d.ts.map +0 -1
- package/dist/types/src/transcriber/audio-recorder.d.ts +0 -47
- package/dist/types/src/transcriber/audio-recorder.d.ts.map +0 -1
- package/dist/types/src/transcriber/index.d.ts +0 -5
- package/dist/types/src/transcriber/index.d.ts.map +0 -1
- package/dist/types/src/transcriber/media-stream-recorder.d.ts +0 -30
- package/dist/types/src/transcriber/media-stream-recorder.d.ts.map +0 -1
- package/dist/types/src/transcriber/transcriber.browser.test.d.ts +0 -2
- package/dist/types/src/transcriber/transcriber.browser.test.d.ts.map +0 -1
- package/dist/types/src/transcriber/transcriber.d.ts +0 -105
- package/dist/types/src/transcriber/transcriber.d.ts.map +0 -1
- package/dist/types/src/transcriber/transcriber.test.d.ts +0 -2
- package/dist/types/src/transcriber/transcriber.test.d.ts.map +0 -1
- package/dist/types/src/transcriber/transcription-manager.d.ts.map +0 -1
- package/dist/types/src/util/array.d.ts +0 -2
- package/dist/types/src/util/array.d.ts.map +0 -1
- package/dist/types/src/util/monitor-audio-level.d.ts +0 -6
- package/dist/types/src/util/monitor-audio-level.d.ts.map +0 -1
- package/dist/types/src/util/render-byline.d.ts +0 -4
- package/dist/types/src/util/render-byline.d.ts.map +0 -1
- package/src/blueprints/index.ts +0 -5
- package/src/blueprints/transcription-blueprint.ts +0 -29
- package/src/capabilities/blueprint-definition.ts +0 -19
- package/src/components/Oracle/Oracle.stories.tsx +0 -147
- package/src/components/Oracle/Oracle.tsx +0 -142
- package/src/components/Oracle/index.ts +0 -5
- package/src/components/Transcription/Transcription.stories.tsx +0 -213
- package/src/components/Transcription/Transcription.tsx +0 -55
- package/src/components/Transcription/index.ts +0 -5
- package/src/components/Transcription/transcription-extension.ts +0 -203
- package/src/enrichment/conversation.test.ts +0 -162
- package/src/enrichment/conversation.txt +0 -23
- package/src/enrichment/operations.ts +0 -271
- package/src/enrichment/parser.ts +0 -101
- package/src/enrichment/stream-simulator.ts +0 -125
- package/src/hooks/useAudioFile.ts +0 -88
- package/src/hooks/useAudioTrack.ts +0 -35
- package/src/hooks/useFeedModelAdapter.ts +0 -46
- package/src/hooks/useTranscriber.ts +0 -47
- package/src/hooks/useVoiceInput.ts +0 -66
- package/src/model/index.ts +0 -5
- package/src/model/model.test.ts +0 -175
- package/src/model/model.ts +0 -229
- package/src/stories/FileTranscription.stories.tsx +0 -143
- package/src/stories/KeyWordRecognition.stories.tsx +0 -132
- package/src/stories/LiveTranscription.stories.tsx +0 -153
- package/src/stories/TranscriptionStory.tsx +0 -101
- package/src/stories/common.ts +0 -233
- package/src/transcriber/audio-recorder.ts +0 -56
- package/src/transcriber/index.ts +0 -8
- package/src/transcriber/media-stream-recorder.ts +0 -120
- package/src/transcriber/transcriber.browser.test.ts +0 -230
- package/src/transcriber/transcriber.test.ts +0 -104
- package/src/transcriber/transcriber.ts +0 -303
- package/src/util/array.ts +0 -14
- package/src/util/monitor-audio-level.ts +0 -58
- package/src/util/render-byline.ts +0 -33
- /package/dist/lib/neutral/{create-RVR7VC33.mjs.map → create-HNHGCKZ4.mjs.map} +0 -0
- /package/dist/lib/neutral/{blueprints → skills}/index.mjs.map +0 -0
|
@@ -1,594 +1,76 @@
|
|
|
1
1
|
import * as Schema from 'effect/Schema';
|
|
2
2
|
import { AiService } from '@dxos/ai';
|
|
3
3
|
import { Operation } from '@dxos/compute';
|
|
4
|
-
import { Database
|
|
4
|
+
import { Database } from '@dxos/echo';
|
|
5
|
+
import { Message, type Person, Transcript } from '@dxos/types';
|
|
5
6
|
export declare const Create: Operation.Definition<{
|
|
6
7
|
readonly name?: string | undefined;
|
|
7
8
|
readonly space: import("@dxos/client-protocol").Space;
|
|
8
9
|
}, {
|
|
9
|
-
readonly object:
|
|
10
|
-
readonly started?: string | undefined;
|
|
11
|
-
readonly ended?: string | undefined;
|
|
12
|
-
readonly feed: import("@dxos/echo/internal").Ref<{
|
|
13
|
-
readonly name?: string | undefined;
|
|
14
|
-
readonly kind?: string | undefined;
|
|
15
|
-
readonly namespace?: "data" | "trace" | undefined;
|
|
16
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown>;
|
|
17
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>;
|
|
10
|
+
readonly object: Transcript.Transcript & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>;
|
|
18
11
|
}, never>;
|
|
19
|
-
export declare const MessageWithRangeId: Schema.extend<Schema.Schema<{
|
|
20
|
-
readonly id: string;
|
|
21
|
-
readonly parentMessage?: string | undefined;
|
|
22
|
-
readonly threadId?: string | undefined;
|
|
23
|
-
readonly created: string;
|
|
24
|
-
readonly sender: {
|
|
25
|
-
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
26
|
-
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
27
|
-
readonly fullName?: string | undefined;
|
|
28
|
-
readonly preferredName?: string | undefined;
|
|
29
|
-
readonly nickname?: string | undefined;
|
|
30
|
-
readonly image?: string | undefined;
|
|
31
|
-
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
32
|
-
readonly name?: string | undefined;
|
|
33
|
-
readonly description?: string | undefined;
|
|
34
|
-
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
35
|
-
readonly image?: string | undefined;
|
|
36
|
-
readonly website?: string | undefined;
|
|
37
|
-
} & {
|
|
38
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
39
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
40
|
-
readonly jobTitle?: string | undefined;
|
|
41
|
-
readonly department?: string | undefined;
|
|
42
|
-
readonly notes?: string | undefined;
|
|
43
|
-
readonly emails?: readonly {
|
|
44
|
-
readonly label?: string | undefined;
|
|
45
|
-
readonly value: string;
|
|
46
|
-
}[] | undefined;
|
|
47
|
-
readonly identities?: readonly {
|
|
48
|
-
readonly label?: string | undefined;
|
|
49
|
-
readonly value: string;
|
|
50
|
-
}[] | undefined;
|
|
51
|
-
readonly phoneNumbers?: readonly {
|
|
52
|
-
readonly label?: string | undefined;
|
|
53
|
-
readonly value: string;
|
|
54
|
-
}[] | undefined;
|
|
55
|
-
readonly addresses?: readonly {
|
|
56
|
-
readonly label?: string | undefined;
|
|
57
|
-
readonly value: {
|
|
58
|
-
readonly street?: string | undefined;
|
|
59
|
-
readonly extended?: string | undefined;
|
|
60
|
-
readonly locality?: string | undefined;
|
|
61
|
-
readonly region?: string | undefined;
|
|
62
|
-
readonly postalCode?: string | undefined;
|
|
63
|
-
readonly postOfficeBoxNumber?: string | undefined;
|
|
64
|
-
readonly country?: string | undefined;
|
|
65
|
-
};
|
|
66
|
-
}[] | undefined;
|
|
67
|
-
readonly urls?: readonly {
|
|
68
|
-
readonly label?: string | undefined;
|
|
69
|
-
readonly value: string;
|
|
70
|
-
}[] | undefined;
|
|
71
|
-
readonly birthday?: string | undefined;
|
|
72
|
-
readonly fields?: readonly {
|
|
73
|
-
readonly category?: string | undefined;
|
|
74
|
-
readonly label: string;
|
|
75
|
-
readonly value: string;
|
|
76
|
-
}[] | undefined;
|
|
77
|
-
} & {
|
|
78
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
79
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
80
|
-
readonly identityDid?: string | undefined;
|
|
81
|
-
readonly identityKey?: string | undefined;
|
|
82
|
-
readonly email?: string | undefined;
|
|
83
|
-
readonly name?: string | undefined;
|
|
84
|
-
};
|
|
85
|
-
readonly blocks: readonly ({
|
|
86
|
-
readonly _tag: "anchor";
|
|
87
|
-
readonly pending?: boolean | undefined;
|
|
88
|
-
readonly objectId: string;
|
|
89
|
-
readonly version: unknown;
|
|
90
|
-
} | {
|
|
91
|
-
readonly _tag: "file";
|
|
92
|
-
readonly pending?: boolean | undefined;
|
|
93
|
-
readonly url: string;
|
|
94
|
-
readonly name?: string | undefined;
|
|
95
|
-
readonly mediaType?: string | undefined;
|
|
96
|
-
} | {
|
|
97
|
-
readonly _tag: "image";
|
|
98
|
-
readonly pending?: boolean | undefined;
|
|
99
|
-
readonly id?: string | undefined;
|
|
100
|
-
readonly source?: {
|
|
101
|
-
readonly type: "base64";
|
|
102
|
-
readonly mediaType: string;
|
|
103
|
-
readonly data: string;
|
|
104
|
-
} | {
|
|
105
|
-
readonly type: "http";
|
|
106
|
-
readonly url: string;
|
|
107
|
-
} | undefined;
|
|
108
|
-
} | {
|
|
109
|
-
readonly _tag: "json";
|
|
110
|
-
readonly pending?: boolean | undefined;
|
|
111
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
112
|
-
readonly data: string;
|
|
113
|
-
} | {
|
|
114
|
-
readonly _tag: "proposal";
|
|
115
|
-
readonly pending?: boolean | undefined;
|
|
116
|
-
readonly text: string;
|
|
117
|
-
} | {
|
|
118
|
-
readonly _tag: "reasoning";
|
|
119
|
-
readonly pending?: boolean | undefined;
|
|
120
|
-
readonly reasoningText?: string | undefined;
|
|
121
|
-
readonly redactedText?: string | undefined;
|
|
122
|
-
readonly signature?: string | undefined;
|
|
123
|
-
} | {
|
|
124
|
-
readonly _tag: "reference";
|
|
125
|
-
readonly pending?: boolean | undefined;
|
|
126
|
-
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Obj").Unknown>;
|
|
127
|
-
} | {
|
|
128
|
-
readonly _tag: "select";
|
|
129
|
-
readonly pending?: boolean | undefined;
|
|
130
|
-
readonly options: string[];
|
|
131
|
-
} | {
|
|
132
|
-
readonly _tag: "status";
|
|
133
|
-
readonly pending?: boolean | undefined;
|
|
134
|
-
readonly statusText: string;
|
|
135
|
-
} | {
|
|
136
|
-
readonly _tag: "suggestion";
|
|
137
|
-
readonly pending?: boolean | undefined;
|
|
138
|
-
readonly text: string;
|
|
139
|
-
} | {
|
|
140
|
-
readonly _tag: "stats";
|
|
141
|
-
readonly pending?: boolean | undefined;
|
|
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;
|
|
153
|
-
} | {
|
|
154
|
-
readonly _tag: "text";
|
|
155
|
-
readonly pending?: boolean | undefined;
|
|
156
|
-
readonly mimeType?: string | undefined;
|
|
157
|
-
readonly text: string;
|
|
158
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
159
|
-
} | {
|
|
160
|
-
readonly _tag: "summary";
|
|
161
|
-
readonly pending?: boolean | undefined;
|
|
162
|
-
readonly content: string;
|
|
163
|
-
} | {
|
|
164
|
-
readonly _tag: "toolkit";
|
|
165
|
-
readonly pending?: boolean | undefined;
|
|
166
|
-
} | {
|
|
167
|
-
readonly _tag: "toolCall";
|
|
168
|
-
readonly pending?: boolean | undefined;
|
|
169
|
-
readonly toolCallId: string;
|
|
170
|
-
readonly name: string;
|
|
171
|
-
readonly input: string;
|
|
172
|
-
readonly providerExecuted: boolean;
|
|
173
|
-
readonly operationKey?: string | undefined;
|
|
174
|
-
readonly operationName?: string | undefined;
|
|
175
|
-
readonly operationIcon?: string | undefined;
|
|
176
|
-
} | {
|
|
177
|
-
readonly _tag: "toolResult";
|
|
178
|
-
readonly pending?: boolean | undefined;
|
|
179
|
-
readonly toolCallId: string;
|
|
180
|
-
readonly name: string;
|
|
181
|
-
readonly result?: string | {
|
|
182
|
-
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
183
|
-
readonly content: readonly ({
|
|
184
|
-
readonly _tag: "file";
|
|
185
|
-
readonly pending?: boolean | undefined;
|
|
186
|
-
readonly url: string;
|
|
187
|
-
readonly name?: string | undefined;
|
|
188
|
-
readonly mediaType?: string | undefined;
|
|
189
|
-
} | {
|
|
190
|
-
readonly _tag: "image";
|
|
191
|
-
readonly pending?: boolean | undefined;
|
|
192
|
-
readonly id?: string | undefined;
|
|
193
|
-
readonly source?: {
|
|
194
|
-
readonly type: "base64";
|
|
195
|
-
readonly mediaType: string;
|
|
196
|
-
readonly data: string;
|
|
197
|
-
} | {
|
|
198
|
-
readonly type: "http";
|
|
199
|
-
readonly url: string;
|
|
200
|
-
} | undefined;
|
|
201
|
-
} | {
|
|
202
|
-
readonly _tag: "text";
|
|
203
|
-
readonly pending?: boolean | undefined;
|
|
204
|
-
readonly mimeType?: string | undefined;
|
|
205
|
-
readonly text: string;
|
|
206
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
207
|
-
})[];
|
|
208
|
-
} | undefined;
|
|
209
|
-
readonly error?: string | undefined;
|
|
210
|
-
readonly providerExecuted: boolean;
|
|
211
|
-
} | {
|
|
212
|
-
readonly _tag: "transcript";
|
|
213
|
-
readonly pending?: boolean | undefined;
|
|
214
|
-
readonly started: string;
|
|
215
|
-
readonly text: string;
|
|
216
|
-
})[];
|
|
217
|
-
readonly properties?: {
|
|
218
|
-
readonly [x: string]: any;
|
|
219
|
-
} | undefined;
|
|
220
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>, {
|
|
221
|
-
readonly id: string;
|
|
222
|
-
readonly parentMessage?: string | undefined;
|
|
223
|
-
readonly threadId?: string | undefined;
|
|
224
|
-
readonly created: string;
|
|
225
|
-
readonly sender: {
|
|
226
|
-
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
227
|
-
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
228
|
-
readonly fullName?: string | undefined;
|
|
229
|
-
readonly preferredName?: string | undefined;
|
|
230
|
-
readonly nickname?: string | undefined;
|
|
231
|
-
readonly image?: string | undefined;
|
|
232
|
-
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
233
|
-
readonly name?: string | undefined;
|
|
234
|
-
readonly description?: string | undefined;
|
|
235
|
-
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
236
|
-
readonly image?: string | undefined;
|
|
237
|
-
readonly website?: string | undefined;
|
|
238
|
-
} & {
|
|
239
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
240
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
241
|
-
readonly jobTitle?: string | undefined;
|
|
242
|
-
readonly department?: string | undefined;
|
|
243
|
-
readonly notes?: string | undefined;
|
|
244
|
-
readonly emails?: readonly {
|
|
245
|
-
readonly label?: string | undefined;
|
|
246
|
-
readonly value: string;
|
|
247
|
-
}[] | undefined;
|
|
248
|
-
readonly identities?: readonly {
|
|
249
|
-
readonly label?: string | undefined;
|
|
250
|
-
readonly value: string;
|
|
251
|
-
}[] | undefined;
|
|
252
|
-
readonly phoneNumbers?: readonly {
|
|
253
|
-
readonly label?: string | undefined;
|
|
254
|
-
readonly value: string;
|
|
255
|
-
}[] | undefined;
|
|
256
|
-
readonly addresses?: readonly {
|
|
257
|
-
readonly label?: string | undefined;
|
|
258
|
-
readonly value: {
|
|
259
|
-
readonly street?: string | undefined;
|
|
260
|
-
readonly extended?: string | undefined;
|
|
261
|
-
readonly locality?: string | undefined;
|
|
262
|
-
readonly region?: string | undefined;
|
|
263
|
-
readonly postalCode?: string | undefined;
|
|
264
|
-
readonly postOfficeBoxNumber?: string | undefined;
|
|
265
|
-
readonly country?: string | undefined;
|
|
266
|
-
};
|
|
267
|
-
}[] | undefined;
|
|
268
|
-
readonly urls?: readonly {
|
|
269
|
-
readonly label?: string | undefined;
|
|
270
|
-
readonly value: string;
|
|
271
|
-
}[] | undefined;
|
|
272
|
-
readonly birthday?: string | undefined;
|
|
273
|
-
readonly fields?: readonly {
|
|
274
|
-
readonly category?: string | undefined;
|
|
275
|
-
readonly label: string;
|
|
276
|
-
readonly value: string;
|
|
277
|
-
}[] | undefined;
|
|
278
|
-
} & {
|
|
279
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
280
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
281
|
-
readonly identityDid?: string | undefined;
|
|
282
|
-
readonly identityKey?: string | undefined;
|
|
283
|
-
readonly email?: string | undefined;
|
|
284
|
-
readonly name?: string | undefined;
|
|
285
|
-
};
|
|
286
|
-
readonly blocks: readonly ({
|
|
287
|
-
readonly _tag: "anchor";
|
|
288
|
-
readonly pending?: boolean | undefined;
|
|
289
|
-
readonly objectId: string;
|
|
290
|
-
readonly version: unknown;
|
|
291
|
-
} | {
|
|
292
|
-
readonly _tag: "file";
|
|
293
|
-
readonly pending?: boolean | undefined;
|
|
294
|
-
readonly url: string;
|
|
295
|
-
readonly name?: string | undefined;
|
|
296
|
-
readonly mediaType?: string | undefined;
|
|
297
|
-
} | {
|
|
298
|
-
readonly _tag: "image";
|
|
299
|
-
readonly pending?: boolean | undefined;
|
|
300
|
-
readonly id?: string | undefined;
|
|
301
|
-
readonly source?: {
|
|
302
|
-
readonly type: "base64";
|
|
303
|
-
readonly mediaType: string;
|
|
304
|
-
readonly data: string;
|
|
305
|
-
} | {
|
|
306
|
-
readonly type: "http";
|
|
307
|
-
readonly url: string;
|
|
308
|
-
} | undefined;
|
|
309
|
-
} | {
|
|
310
|
-
readonly _tag: "json";
|
|
311
|
-
readonly pending?: boolean | undefined;
|
|
312
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
313
|
-
readonly data: string;
|
|
314
|
-
} | {
|
|
315
|
-
readonly _tag: "proposal";
|
|
316
|
-
readonly pending?: boolean | undefined;
|
|
317
|
-
readonly text: string;
|
|
318
|
-
} | {
|
|
319
|
-
readonly _tag: "reasoning";
|
|
320
|
-
readonly pending?: boolean | undefined;
|
|
321
|
-
readonly reasoningText?: string | undefined;
|
|
322
|
-
readonly redactedText?: string | undefined;
|
|
323
|
-
readonly signature?: string | undefined;
|
|
324
|
-
} | {
|
|
325
|
-
readonly _tag: "reference";
|
|
326
|
-
readonly pending?: boolean | undefined;
|
|
327
|
-
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Obj").Unknown>;
|
|
328
|
-
} | {
|
|
329
|
-
readonly _tag: "select";
|
|
330
|
-
readonly pending?: boolean | undefined;
|
|
331
|
-
readonly options: string[];
|
|
332
|
-
} | {
|
|
333
|
-
readonly _tag: "status";
|
|
334
|
-
readonly pending?: boolean | undefined;
|
|
335
|
-
readonly statusText: string;
|
|
336
|
-
} | {
|
|
337
|
-
readonly _tag: "suggestion";
|
|
338
|
-
readonly pending?: boolean | undefined;
|
|
339
|
-
readonly text: string;
|
|
340
|
-
} | {
|
|
341
|
-
readonly _tag: "stats";
|
|
342
|
-
readonly pending?: boolean | undefined;
|
|
343
|
-
readonly mimeType?: string | undefined;
|
|
344
|
-
readonly message?: string | undefined;
|
|
345
|
-
readonly model?: string | undefined;
|
|
346
|
-
readonly usage?: {
|
|
347
|
-
readonly inputTokens?: number | undefined;
|
|
348
|
-
readonly outputTokens?: number | undefined;
|
|
349
|
-
readonly totalTokens?: number | undefined;
|
|
350
|
-
} | undefined;
|
|
351
|
-
readonly toolCalls?: number | undefined;
|
|
352
|
-
readonly errors?: number | undefined;
|
|
353
|
-
readonly duration?: number | undefined;
|
|
354
|
-
} | {
|
|
355
|
-
readonly _tag: "text";
|
|
356
|
-
readonly pending?: boolean | undefined;
|
|
357
|
-
readonly mimeType?: string | undefined;
|
|
358
|
-
readonly text: string;
|
|
359
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
360
|
-
} | {
|
|
361
|
-
readonly _tag: "summary";
|
|
362
|
-
readonly pending?: boolean | undefined;
|
|
363
|
-
readonly content: string;
|
|
364
|
-
} | {
|
|
365
|
-
readonly _tag: "toolkit";
|
|
366
|
-
readonly pending?: boolean | undefined;
|
|
367
|
-
} | {
|
|
368
|
-
readonly _tag: "toolCall";
|
|
369
|
-
readonly pending?: boolean | undefined;
|
|
370
|
-
readonly toolCallId: string;
|
|
371
|
-
readonly name: string;
|
|
372
|
-
readonly input: string;
|
|
373
|
-
readonly providerExecuted: boolean;
|
|
374
|
-
readonly operationKey?: string | undefined;
|
|
375
|
-
readonly operationName?: string | undefined;
|
|
376
|
-
readonly operationIcon?: string | undefined;
|
|
377
|
-
} | {
|
|
378
|
-
readonly _tag: "toolResult";
|
|
379
|
-
readonly pending?: boolean | undefined;
|
|
380
|
-
readonly toolCallId: string;
|
|
381
|
-
readonly name: string;
|
|
382
|
-
readonly result?: string | {
|
|
383
|
-
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
384
|
-
readonly content: readonly ({
|
|
385
|
-
readonly _tag: "file";
|
|
386
|
-
readonly pending?: boolean | undefined;
|
|
387
|
-
readonly url: string;
|
|
388
|
-
readonly name?: string | undefined;
|
|
389
|
-
readonly mediaType?: string | undefined;
|
|
390
|
-
} | {
|
|
391
|
-
readonly _tag: "image";
|
|
392
|
-
readonly pending?: boolean | undefined;
|
|
393
|
-
readonly id?: string | undefined;
|
|
394
|
-
readonly source?: {
|
|
395
|
-
readonly type: "base64";
|
|
396
|
-
readonly mediaType: string;
|
|
397
|
-
readonly data: string;
|
|
398
|
-
} | {
|
|
399
|
-
readonly type: "http";
|
|
400
|
-
readonly url: string;
|
|
401
|
-
} | undefined;
|
|
402
|
-
} | {
|
|
403
|
-
readonly _tag: "text";
|
|
404
|
-
readonly pending?: boolean | undefined;
|
|
405
|
-
readonly mimeType?: string | undefined;
|
|
406
|
-
readonly text: string;
|
|
407
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
408
|
-
})[];
|
|
409
|
-
} | undefined;
|
|
410
|
-
readonly error?: string | undefined;
|
|
411
|
-
readonly providerExecuted: boolean;
|
|
412
|
-
} | {
|
|
413
|
-
readonly _tag: "transcript";
|
|
414
|
-
readonly pending?: boolean | undefined;
|
|
415
|
-
readonly started: string;
|
|
416
|
-
readonly text: string;
|
|
417
|
-
})[];
|
|
418
|
-
readonly properties?: {
|
|
419
|
-
readonly [x: string]: any;
|
|
420
|
-
} | undefined;
|
|
421
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>, never>, Schema.Struct<{
|
|
12
|
+
export declare const MessageWithRangeId: Schema.extend<Schema.Schema<Message.Message & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>, Message.Message & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>, never>, Schema.Struct<{
|
|
422
13
|
rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
423
14
|
}>>;
|
|
424
15
|
export type MessageWithRangeIdType = Schema.Schema.Type<typeof MessageWithRangeId>;
|
|
425
16
|
export declare const Open: Operation.Definition<{
|
|
426
|
-
readonly transcript: import("@dxos/echo/internal").Ref<
|
|
427
|
-
readonly started?: string | undefined;
|
|
428
|
-
readonly ended?: string | undefined;
|
|
429
|
-
readonly feed: import("@dxos/echo/internal").Ref<{
|
|
430
|
-
readonly name?: string | undefined;
|
|
431
|
-
readonly kind?: string | undefined;
|
|
432
|
-
readonly namespace?: "data" | "trace" | undefined;
|
|
433
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown>;
|
|
434
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown>;
|
|
17
|
+
readonly transcript: import("@dxos/echo/internal").Ref<Transcript.Transcript & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown>;
|
|
435
18
|
}, {
|
|
436
19
|
readonly content: string;
|
|
437
|
-
},
|
|
20
|
+
}, Database.Service>;
|
|
438
21
|
export declare const Summarize: Operation.Definition<{
|
|
439
22
|
readonly transcript: string;
|
|
440
23
|
readonly notes?: string | undefined;
|
|
441
24
|
}, {
|
|
442
25
|
readonly summary: string;
|
|
443
26
|
}, AiService.AiService>;
|
|
27
|
+
export declare const EnrichMessage: Operation.Definition<{
|
|
28
|
+
readonly message: Message.Message & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>;
|
|
29
|
+
}, {
|
|
30
|
+
readonly message: Message.Message & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>;
|
|
31
|
+
}, AiService.AiService | Database.Service>;
|
|
444
32
|
export declare const SentenceNormalizationInput: Schema.Struct<{
|
|
445
|
-
messages: Schema.Array$<Schema.extend<Schema.Schema<{
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
33
|
+
messages: Schema.Array$<Schema.extend<Schema.Schema<Message.Message & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>, Message.Message & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>, never>, Schema.Struct<{
|
|
34
|
+
rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
35
|
+
}>>>;
|
|
36
|
+
}>;
|
|
37
|
+
export type SentenceNormalizationInputType = Schema.Schema.Type<typeof SentenceNormalizationInput>;
|
|
38
|
+
export declare const SentenceNormalizationOutput: Schema.Struct<{
|
|
39
|
+
sentences: Schema.mutable<Schema.Array$<Schema.mutable<Schema.extend<Schema.Schema<Message.Message & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>, Message.Message & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>, never>, Schema.Struct<{
|
|
40
|
+
rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
41
|
+
}>>>>>;
|
|
42
|
+
}>;
|
|
43
|
+
export declare const SentenceNormalization: Operation.Definition<{
|
|
44
|
+
readonly messages: readonly (Message.Message & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
45
|
+
readonly rangeId?: readonly string[] | undefined;
|
|
46
|
+
})[];
|
|
47
|
+
}, {
|
|
48
|
+
readonly sentences: {
|
|
49
|
+
"~@dxos/echo/Kind": import("@dxos/echo/internal").EntityKind.Object;
|
|
50
|
+
id: string;
|
|
51
|
+
parentMessage?: string | undefined;
|
|
52
|
+
threadId?: string | undefined;
|
|
53
|
+
created: string;
|
|
54
|
+
sender: {
|
|
451
55
|
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
452
|
-
readonly contact?: import("@dxos/echo/internal").Ref<
|
|
453
|
-
readonly fullName?: string | undefined;
|
|
454
|
-
readonly preferredName?: string | undefined;
|
|
455
|
-
readonly nickname?: string | undefined;
|
|
456
|
-
readonly image?: string | undefined;
|
|
457
|
-
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
458
|
-
readonly name?: string | undefined;
|
|
459
|
-
readonly description?: string | undefined;
|
|
460
|
-
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
461
|
-
readonly image?: string | undefined;
|
|
462
|
-
readonly website?: string | undefined;
|
|
463
|
-
} & {
|
|
464
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
465
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
466
|
-
readonly jobTitle?: string | undefined;
|
|
467
|
-
readonly department?: string | undefined;
|
|
468
|
-
readonly notes?: string | undefined;
|
|
469
|
-
readonly emails?: readonly {
|
|
470
|
-
readonly label?: string | undefined;
|
|
471
|
-
readonly value: string;
|
|
472
|
-
}[] | undefined;
|
|
473
|
-
readonly identities?: readonly {
|
|
474
|
-
readonly label?: string | undefined;
|
|
475
|
-
readonly value: string;
|
|
476
|
-
}[] | undefined;
|
|
477
|
-
readonly phoneNumbers?: readonly {
|
|
478
|
-
readonly label?: string | undefined;
|
|
479
|
-
readonly value: string;
|
|
480
|
-
}[] | undefined;
|
|
481
|
-
readonly addresses?: readonly {
|
|
482
|
-
readonly label?: string | undefined;
|
|
483
|
-
readonly value: {
|
|
484
|
-
readonly street?: string | undefined;
|
|
485
|
-
readonly extended?: string | undefined;
|
|
486
|
-
readonly locality?: string | undefined;
|
|
487
|
-
readonly region?: string | undefined;
|
|
488
|
-
readonly postalCode?: string | undefined;
|
|
489
|
-
readonly postOfficeBoxNumber?: string | undefined;
|
|
490
|
-
readonly country?: string | undefined;
|
|
491
|
-
};
|
|
492
|
-
}[] | undefined;
|
|
493
|
-
readonly urls?: readonly {
|
|
494
|
-
readonly label?: string | undefined;
|
|
495
|
-
readonly value: string;
|
|
496
|
-
}[] | undefined;
|
|
497
|
-
readonly birthday?: string | undefined;
|
|
498
|
-
readonly fields?: readonly {
|
|
499
|
-
readonly category?: string | undefined;
|
|
500
|
-
readonly label: string;
|
|
501
|
-
readonly value: string;
|
|
502
|
-
}[] | undefined;
|
|
503
|
-
} & {
|
|
504
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
505
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
56
|
+
readonly contact?: import("@dxos/echo/internal").Ref<Person.Person & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
506
57
|
readonly identityDid?: string | undefined;
|
|
507
58
|
readonly identityKey?: string | undefined;
|
|
508
59
|
readonly email?: string | undefined;
|
|
509
60
|
readonly name?: string | undefined;
|
|
510
61
|
};
|
|
511
|
-
|
|
512
|
-
readonly _tag: "
|
|
513
|
-
readonly pending?: boolean | undefined;
|
|
514
|
-
readonly objectId: string;
|
|
515
|
-
readonly version: unknown;
|
|
516
|
-
} | {
|
|
517
|
-
readonly _tag: "file";
|
|
518
|
-
readonly pending?: boolean | undefined;
|
|
519
|
-
readonly url: string;
|
|
520
|
-
readonly name?: string | undefined;
|
|
521
|
-
readonly mediaType?: string | undefined;
|
|
522
|
-
} | {
|
|
523
|
-
readonly _tag: "image";
|
|
524
|
-
readonly pending?: boolean | undefined;
|
|
525
|
-
readonly id?: string | undefined;
|
|
526
|
-
readonly source?: {
|
|
527
|
-
readonly type: "base64";
|
|
528
|
-
readonly mediaType: string;
|
|
529
|
-
readonly data: string;
|
|
530
|
-
} | {
|
|
531
|
-
readonly type: "http";
|
|
532
|
-
readonly url: string;
|
|
533
|
-
} | undefined;
|
|
534
|
-
} | {
|
|
535
|
-
readonly _tag: "json";
|
|
536
|
-
readonly pending?: boolean | undefined;
|
|
537
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
538
|
-
readonly data: string;
|
|
539
|
-
} | {
|
|
540
|
-
readonly _tag: "proposal";
|
|
62
|
+
blocks: readonly ({
|
|
63
|
+
readonly _tag: "text";
|
|
541
64
|
readonly pending?: boolean | undefined;
|
|
65
|
+
readonly mimeType?: string | undefined;
|
|
542
66
|
readonly text: string;
|
|
67
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
543
68
|
} | {
|
|
544
69
|
readonly _tag: "reasoning";
|
|
545
70
|
readonly pending?: boolean | undefined;
|
|
546
71
|
readonly reasoningText?: string | undefined;
|
|
547
72
|
readonly redactedText?: string | undefined;
|
|
548
73
|
readonly signature?: string | undefined;
|
|
549
|
-
} | {
|
|
550
|
-
readonly _tag: "reference";
|
|
551
|
-
readonly pending?: boolean | undefined;
|
|
552
|
-
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Obj").Unknown>;
|
|
553
|
-
} | {
|
|
554
|
-
readonly _tag: "select";
|
|
555
|
-
readonly pending?: boolean | undefined;
|
|
556
|
-
readonly options: string[];
|
|
557
|
-
} | {
|
|
558
|
-
readonly _tag: "status";
|
|
559
|
-
readonly pending?: boolean | undefined;
|
|
560
|
-
readonly statusText: string;
|
|
561
|
-
} | {
|
|
562
|
-
readonly _tag: "suggestion";
|
|
563
|
-
readonly pending?: boolean | undefined;
|
|
564
|
-
readonly text: string;
|
|
565
|
-
} | {
|
|
566
|
-
readonly _tag: "stats";
|
|
567
|
-
readonly pending?: boolean | undefined;
|
|
568
|
-
readonly mimeType?: string | undefined;
|
|
569
|
-
readonly message?: string | undefined;
|
|
570
|
-
readonly model?: string | undefined;
|
|
571
|
-
readonly usage?: {
|
|
572
|
-
readonly inputTokens?: number | undefined;
|
|
573
|
-
readonly outputTokens?: number | undefined;
|
|
574
|
-
readonly totalTokens?: number | undefined;
|
|
575
|
-
} | undefined;
|
|
576
|
-
readonly toolCalls?: number | undefined;
|
|
577
|
-
readonly errors?: number | undefined;
|
|
578
|
-
readonly duration?: number | undefined;
|
|
579
|
-
} | {
|
|
580
|
-
readonly _tag: "text";
|
|
581
|
-
readonly pending?: boolean | undefined;
|
|
582
|
-
readonly mimeType?: string | undefined;
|
|
583
|
-
readonly text: string;
|
|
584
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
585
|
-
} | {
|
|
586
|
-
readonly _tag: "summary";
|
|
587
|
-
readonly pending?: boolean | undefined;
|
|
588
|
-
readonly content: string;
|
|
589
|
-
} | {
|
|
590
|
-
readonly _tag: "toolkit";
|
|
591
|
-
readonly pending?: boolean | undefined;
|
|
592
74
|
} | {
|
|
593
75
|
readonly _tag: "toolCall";
|
|
594
76
|
readonly pending?: boolean | undefined;
|
|
@@ -599,6 +81,24 @@ export declare const SentenceNormalizationInput: Schema.Struct<{
|
|
|
599
81
|
readonly operationKey?: string | undefined;
|
|
600
82
|
readonly operationName?: string | undefined;
|
|
601
83
|
readonly operationIcon?: string | undefined;
|
|
84
|
+
} | {
|
|
85
|
+
readonly _tag: "image";
|
|
86
|
+
readonly pending?: boolean | undefined;
|
|
87
|
+
readonly id?: string | undefined;
|
|
88
|
+
readonly source?: {
|
|
89
|
+
readonly type: "base64";
|
|
90
|
+
readonly mediaType: string;
|
|
91
|
+
readonly data: string;
|
|
92
|
+
} | {
|
|
93
|
+
readonly type: "http";
|
|
94
|
+
readonly url: string;
|
|
95
|
+
} | undefined;
|
|
96
|
+
} | {
|
|
97
|
+
readonly _tag: "file";
|
|
98
|
+
readonly pending?: boolean | undefined;
|
|
99
|
+
readonly url: string;
|
|
100
|
+
readonly name?: string | undefined;
|
|
101
|
+
readonly mediaType?: string | undefined;
|
|
602
102
|
} | {
|
|
603
103
|
readonly _tag: "toolResult";
|
|
604
104
|
readonly pending?: boolean | undefined;
|
|
@@ -607,11 +107,11 @@ export declare const SentenceNormalizationInput: Schema.Struct<{
|
|
|
607
107
|
readonly result?: string | {
|
|
608
108
|
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
609
109
|
readonly content: readonly ({
|
|
610
|
-
readonly _tag: "
|
|
110
|
+
readonly _tag: "text";
|
|
611
111
|
readonly pending?: boolean | undefined;
|
|
612
|
-
readonly
|
|
613
|
-
readonly
|
|
614
|
-
readonly
|
|
112
|
+
readonly mimeType?: string | undefined;
|
|
113
|
+
readonly text: string;
|
|
114
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
615
115
|
} | {
|
|
616
116
|
readonly _tag: "image";
|
|
617
117
|
readonly pending?: boolean | undefined;
|
|
@@ -625,1041 +125,91 @@ export declare const SentenceNormalizationInput: Schema.Struct<{
|
|
|
625
125
|
readonly url: string;
|
|
626
126
|
} | undefined;
|
|
627
127
|
} | {
|
|
628
|
-
readonly _tag: "
|
|
128
|
+
readonly _tag: "file";
|
|
629
129
|
readonly pending?: boolean | undefined;
|
|
630
|
-
readonly
|
|
631
|
-
readonly
|
|
632
|
-
readonly
|
|
130
|
+
readonly url: string;
|
|
131
|
+
readonly name?: string | undefined;
|
|
132
|
+
readonly mediaType?: string | undefined;
|
|
633
133
|
})[];
|
|
634
134
|
} | undefined;
|
|
635
135
|
readonly error?: string | undefined;
|
|
636
136
|
readonly providerExecuted: boolean;
|
|
137
|
+
} | {
|
|
138
|
+
readonly _tag: "stats";
|
|
139
|
+
readonly pending?: boolean | undefined;
|
|
140
|
+
readonly mimeType?: string | undefined;
|
|
141
|
+
readonly message?: string | undefined;
|
|
142
|
+
readonly model?: string | undefined;
|
|
143
|
+
readonly usage?: {
|
|
144
|
+
readonly inputTokens?: number | undefined;
|
|
145
|
+
readonly outputTokens?: number | undefined;
|
|
146
|
+
readonly totalTokens?: number | undefined;
|
|
147
|
+
} | undefined;
|
|
148
|
+
readonly toolCalls?: number | undefined;
|
|
149
|
+
readonly errors?: number | undefined;
|
|
150
|
+
readonly duration?: number | undefined;
|
|
151
|
+
readonly finishReason?: "content-filter" | "error" | "length" | "other" | "pause" | "stop" | "tool-calls" | "unknown" | undefined;
|
|
152
|
+
} | {
|
|
153
|
+
readonly _tag: "reference";
|
|
154
|
+
readonly pending?: boolean | undefined;
|
|
155
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Obj").Unknown>;
|
|
637
156
|
} | {
|
|
638
157
|
readonly _tag: "transcript";
|
|
639
158
|
readonly pending?: boolean | undefined;
|
|
640
159
|
readonly started: string;
|
|
641
160
|
readonly text: string;
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
readonly
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
readonly
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
readonly nickname?: string | undefined;
|
|
657
|
-
readonly image?: string | undefined;
|
|
658
|
-
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
659
|
-
readonly name?: string | undefined;
|
|
660
|
-
readonly description?: string | undefined;
|
|
661
|
-
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
662
|
-
readonly image?: string | undefined;
|
|
663
|
-
readonly website?: string | undefined;
|
|
664
|
-
} & {
|
|
665
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
666
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
667
|
-
readonly jobTitle?: string | undefined;
|
|
668
|
-
readonly department?: string | undefined;
|
|
669
|
-
readonly notes?: string | undefined;
|
|
670
|
-
readonly emails?: readonly {
|
|
671
|
-
readonly label?: string | undefined;
|
|
672
|
-
readonly value: string;
|
|
673
|
-
}[] | undefined;
|
|
674
|
-
readonly identities?: readonly {
|
|
675
|
-
readonly label?: string | undefined;
|
|
676
|
-
readonly value: string;
|
|
677
|
-
}[] | undefined;
|
|
678
|
-
readonly phoneNumbers?: readonly {
|
|
679
|
-
readonly label?: string | undefined;
|
|
680
|
-
readonly value: string;
|
|
681
|
-
}[] | undefined;
|
|
682
|
-
readonly addresses?: readonly {
|
|
683
|
-
readonly label?: string | undefined;
|
|
684
|
-
readonly value: {
|
|
685
|
-
readonly street?: string | undefined;
|
|
686
|
-
readonly extended?: string | undefined;
|
|
687
|
-
readonly locality?: string | undefined;
|
|
688
|
-
readonly region?: string | undefined;
|
|
689
|
-
readonly postalCode?: string | undefined;
|
|
690
|
-
readonly postOfficeBoxNumber?: string | undefined;
|
|
691
|
-
readonly country?: string | undefined;
|
|
692
|
-
};
|
|
693
|
-
}[] | undefined;
|
|
694
|
-
readonly urls?: readonly {
|
|
695
|
-
readonly label?: string | undefined;
|
|
696
|
-
readonly value: string;
|
|
697
|
-
}[] | undefined;
|
|
698
|
-
readonly birthday?: string | undefined;
|
|
699
|
-
readonly fields?: readonly {
|
|
700
|
-
readonly category?: string | undefined;
|
|
701
|
-
readonly label: string;
|
|
702
|
-
readonly value: string;
|
|
703
|
-
}[] | undefined;
|
|
704
|
-
} & {
|
|
705
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
706
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
707
|
-
readonly identityDid?: string | undefined;
|
|
708
|
-
readonly identityKey?: string | undefined;
|
|
709
|
-
readonly email?: string | undefined;
|
|
710
|
-
readonly name?: string | undefined;
|
|
711
|
-
};
|
|
712
|
-
readonly blocks: readonly ({
|
|
713
|
-
readonly _tag: "anchor";
|
|
161
|
+
readonly corrected?: string | undefined;
|
|
162
|
+
readonly references?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Obj").Unknown>[] | undefined;
|
|
163
|
+
readonly candidates?: {
|
|
164
|
+
readonly text: string;
|
|
165
|
+
readonly kind: "noun" | "proper-noun";
|
|
166
|
+
readonly start: number;
|
|
167
|
+
readonly end: number;
|
|
168
|
+
readonly suggested?: {
|
|
169
|
+
readonly typename: string;
|
|
170
|
+
} | undefined;
|
|
171
|
+
}[] | undefined;
|
|
172
|
+
readonly translation?: string | undefined;
|
|
173
|
+
} | {
|
|
174
|
+
readonly _tag: "status";
|
|
714
175
|
readonly pending?: boolean | undefined;
|
|
715
|
-
readonly
|
|
716
|
-
readonly version: unknown;
|
|
176
|
+
readonly statusText: string;
|
|
717
177
|
} | {
|
|
718
|
-
readonly _tag: "
|
|
178
|
+
readonly _tag: "suggestion";
|
|
719
179
|
readonly pending?: boolean | undefined;
|
|
720
|
-
readonly
|
|
721
|
-
readonly name?: string | undefined;
|
|
722
|
-
readonly mediaType?: string | undefined;
|
|
180
|
+
readonly text: string;
|
|
723
181
|
} | {
|
|
724
|
-
readonly _tag: "
|
|
182
|
+
readonly _tag: "select";
|
|
725
183
|
readonly pending?: boolean | undefined;
|
|
726
|
-
readonly
|
|
727
|
-
readonly source?: {
|
|
728
|
-
readonly type: "base64";
|
|
729
|
-
readonly mediaType: string;
|
|
730
|
-
readonly data: string;
|
|
731
|
-
} | {
|
|
732
|
-
readonly type: "http";
|
|
733
|
-
readonly url: string;
|
|
734
|
-
} | undefined;
|
|
184
|
+
readonly options: string[];
|
|
735
185
|
} | {
|
|
736
|
-
readonly _tag: "
|
|
186
|
+
readonly _tag: "anchor";
|
|
737
187
|
readonly pending?: boolean | undefined;
|
|
738
|
-
readonly
|
|
739
|
-
readonly
|
|
188
|
+
readonly objectId: string;
|
|
189
|
+
readonly version: unknown;
|
|
740
190
|
} | {
|
|
741
191
|
readonly _tag: "proposal";
|
|
742
192
|
readonly pending?: boolean | undefined;
|
|
743
193
|
readonly text: string;
|
|
744
194
|
} | {
|
|
745
|
-
readonly _tag: "
|
|
746
|
-
readonly pending?: boolean | undefined;
|
|
747
|
-
readonly reasoningText?: string | undefined;
|
|
748
|
-
readonly redactedText?: string | undefined;
|
|
749
|
-
readonly signature?: string | undefined;
|
|
750
|
-
} | {
|
|
751
|
-
readonly _tag: "reference";
|
|
752
|
-
readonly pending?: boolean | undefined;
|
|
753
|
-
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Obj").Unknown>;
|
|
754
|
-
} | {
|
|
755
|
-
readonly _tag: "select";
|
|
195
|
+
readonly _tag: "summary";
|
|
756
196
|
readonly pending?: boolean | undefined;
|
|
757
|
-
readonly
|
|
197
|
+
readonly content: string;
|
|
758
198
|
} | {
|
|
759
|
-
readonly _tag: "
|
|
199
|
+
readonly _tag: "toolkit";
|
|
760
200
|
readonly pending?: boolean | undefined;
|
|
761
|
-
readonly statusText: string;
|
|
762
201
|
} | {
|
|
763
|
-
readonly _tag: "
|
|
202
|
+
readonly _tag: "surface";
|
|
764
203
|
readonly pending?: boolean | undefined;
|
|
765
|
-
readonly
|
|
204
|
+
readonly role: string;
|
|
205
|
+
readonly data?: {
|
|
206
|
+
readonly [x: string]: unknown;
|
|
207
|
+
} | undefined;
|
|
766
208
|
} | {
|
|
767
|
-
readonly _tag: "
|
|
768
|
-
readonly pending?: boolean | undefined;
|
|
769
|
-
readonly mimeType?: string | undefined;
|
|
770
|
-
readonly message?: string | undefined;
|
|
771
|
-
readonly model?: string | undefined;
|
|
772
|
-
readonly usage?: {
|
|
773
|
-
readonly inputTokens?: number | undefined;
|
|
774
|
-
readonly outputTokens?: number | undefined;
|
|
775
|
-
readonly totalTokens?: number | undefined;
|
|
776
|
-
} | undefined;
|
|
777
|
-
readonly toolCalls?: number | undefined;
|
|
778
|
-
readonly errors?: number | undefined;
|
|
779
|
-
readonly duration?: number | undefined;
|
|
780
|
-
} | {
|
|
781
|
-
readonly _tag: "text";
|
|
782
|
-
readonly pending?: boolean | undefined;
|
|
783
|
-
readonly mimeType?: string | undefined;
|
|
784
|
-
readonly text: string;
|
|
785
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
786
|
-
} | {
|
|
787
|
-
readonly _tag: "summary";
|
|
788
|
-
readonly pending?: boolean | undefined;
|
|
789
|
-
readonly content: string;
|
|
790
|
-
} | {
|
|
791
|
-
readonly _tag: "toolkit";
|
|
792
|
-
readonly pending?: boolean | undefined;
|
|
793
|
-
} | {
|
|
794
|
-
readonly _tag: "toolCall";
|
|
795
|
-
readonly pending?: boolean | undefined;
|
|
796
|
-
readonly toolCallId: string;
|
|
797
|
-
readonly name: string;
|
|
798
|
-
readonly input: string;
|
|
799
|
-
readonly providerExecuted: boolean;
|
|
800
|
-
readonly operationKey?: string | undefined;
|
|
801
|
-
readonly operationName?: string | undefined;
|
|
802
|
-
readonly operationIcon?: string | undefined;
|
|
803
|
-
} | {
|
|
804
|
-
readonly _tag: "toolResult";
|
|
805
|
-
readonly pending?: boolean | undefined;
|
|
806
|
-
readonly toolCallId: string;
|
|
807
|
-
readonly name: string;
|
|
808
|
-
readonly result?: string | {
|
|
809
|
-
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
810
|
-
readonly content: readonly ({
|
|
811
|
-
readonly _tag: "file";
|
|
812
|
-
readonly pending?: boolean | undefined;
|
|
813
|
-
readonly url: string;
|
|
814
|
-
readonly name?: string | undefined;
|
|
815
|
-
readonly mediaType?: string | undefined;
|
|
816
|
-
} | {
|
|
817
|
-
readonly _tag: "image";
|
|
818
|
-
readonly pending?: boolean | undefined;
|
|
819
|
-
readonly id?: string | undefined;
|
|
820
|
-
readonly source?: {
|
|
821
|
-
readonly type: "base64";
|
|
822
|
-
readonly mediaType: string;
|
|
823
|
-
readonly data: string;
|
|
824
|
-
} | {
|
|
825
|
-
readonly type: "http";
|
|
826
|
-
readonly url: string;
|
|
827
|
-
} | undefined;
|
|
828
|
-
} | {
|
|
829
|
-
readonly _tag: "text";
|
|
830
|
-
readonly pending?: boolean | undefined;
|
|
831
|
-
readonly mimeType?: string | undefined;
|
|
832
|
-
readonly text: string;
|
|
833
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
834
|
-
})[];
|
|
835
|
-
} | undefined;
|
|
836
|
-
readonly error?: string | undefined;
|
|
837
|
-
readonly providerExecuted: boolean;
|
|
838
|
-
} | {
|
|
839
|
-
readonly _tag: "transcript";
|
|
840
|
-
readonly pending?: boolean | undefined;
|
|
841
|
-
readonly started: string;
|
|
842
|
-
readonly text: string;
|
|
843
|
-
})[];
|
|
844
|
-
readonly properties?: {
|
|
845
|
-
readonly [x: string]: any;
|
|
846
|
-
} | undefined;
|
|
847
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>, never>, Schema.Struct<{
|
|
848
|
-
rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
849
|
-
}>>>;
|
|
850
|
-
}>;
|
|
851
|
-
export type SentenceNormalizationInputType = Schema.Schema.Type<typeof SentenceNormalizationInput>;
|
|
852
|
-
export declare const SentenceNormalizationOutput: Schema.Struct<{
|
|
853
|
-
sentences: Schema.mutable<Schema.Array$<Schema.mutable<Schema.extend<Schema.Schema<{
|
|
854
|
-
readonly id: string;
|
|
855
|
-
readonly parentMessage?: string | undefined;
|
|
856
|
-
readonly threadId?: string | undefined;
|
|
857
|
-
readonly created: string;
|
|
858
|
-
readonly sender: {
|
|
859
|
-
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
860
|
-
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
861
|
-
readonly fullName?: string | undefined;
|
|
862
|
-
readonly preferredName?: string | undefined;
|
|
863
|
-
readonly nickname?: string | undefined;
|
|
864
|
-
readonly image?: string | undefined;
|
|
865
|
-
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
866
|
-
readonly name?: string | undefined;
|
|
867
|
-
readonly description?: string | undefined;
|
|
868
|
-
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
869
|
-
readonly image?: string | undefined;
|
|
870
|
-
readonly website?: string | undefined;
|
|
871
|
-
} & {
|
|
872
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
873
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
874
|
-
readonly jobTitle?: string | undefined;
|
|
875
|
-
readonly department?: string | undefined;
|
|
876
|
-
readonly notes?: string | undefined;
|
|
877
|
-
readonly emails?: readonly {
|
|
878
|
-
readonly label?: string | undefined;
|
|
879
|
-
readonly value: string;
|
|
880
|
-
}[] | undefined;
|
|
881
|
-
readonly identities?: readonly {
|
|
882
|
-
readonly label?: string | undefined;
|
|
883
|
-
readonly value: string;
|
|
884
|
-
}[] | undefined;
|
|
885
|
-
readonly phoneNumbers?: readonly {
|
|
886
|
-
readonly label?: string | undefined;
|
|
887
|
-
readonly value: string;
|
|
888
|
-
}[] | undefined;
|
|
889
|
-
readonly addresses?: readonly {
|
|
890
|
-
readonly label?: string | undefined;
|
|
891
|
-
readonly value: {
|
|
892
|
-
readonly street?: string | undefined;
|
|
893
|
-
readonly extended?: string | undefined;
|
|
894
|
-
readonly locality?: string | undefined;
|
|
895
|
-
readonly region?: string | undefined;
|
|
896
|
-
readonly postalCode?: string | undefined;
|
|
897
|
-
readonly postOfficeBoxNumber?: string | undefined;
|
|
898
|
-
readonly country?: string | undefined;
|
|
899
|
-
};
|
|
900
|
-
}[] | undefined;
|
|
901
|
-
readonly urls?: readonly {
|
|
902
|
-
readonly label?: string | undefined;
|
|
903
|
-
readonly value: string;
|
|
904
|
-
}[] | undefined;
|
|
905
|
-
readonly birthday?: string | undefined;
|
|
906
|
-
readonly fields?: readonly {
|
|
907
|
-
readonly category?: string | undefined;
|
|
908
|
-
readonly label: string;
|
|
909
|
-
readonly value: string;
|
|
910
|
-
}[] | undefined;
|
|
911
|
-
} & {
|
|
912
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
913
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
914
|
-
readonly identityDid?: string | undefined;
|
|
915
|
-
readonly identityKey?: string | undefined;
|
|
916
|
-
readonly email?: string | undefined;
|
|
917
|
-
readonly name?: string | undefined;
|
|
918
|
-
};
|
|
919
|
-
readonly blocks: readonly ({
|
|
920
|
-
readonly _tag: "anchor";
|
|
921
|
-
readonly pending?: boolean | undefined;
|
|
922
|
-
readonly objectId: string;
|
|
923
|
-
readonly version: unknown;
|
|
924
|
-
} | {
|
|
925
|
-
readonly _tag: "file";
|
|
926
|
-
readonly pending?: boolean | undefined;
|
|
927
|
-
readonly url: string;
|
|
928
|
-
readonly name?: string | undefined;
|
|
929
|
-
readonly mediaType?: string | undefined;
|
|
930
|
-
} | {
|
|
931
|
-
readonly _tag: "image";
|
|
932
|
-
readonly pending?: boolean | undefined;
|
|
933
|
-
readonly id?: string | undefined;
|
|
934
|
-
readonly source?: {
|
|
935
|
-
readonly type: "base64";
|
|
936
|
-
readonly mediaType: string;
|
|
937
|
-
readonly data: string;
|
|
938
|
-
} | {
|
|
939
|
-
readonly type: "http";
|
|
940
|
-
readonly url: string;
|
|
941
|
-
} | undefined;
|
|
942
|
-
} | {
|
|
943
|
-
readonly _tag: "json";
|
|
944
|
-
readonly pending?: boolean | undefined;
|
|
945
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
946
|
-
readonly data: string;
|
|
947
|
-
} | {
|
|
948
|
-
readonly _tag: "proposal";
|
|
949
|
-
readonly pending?: boolean | undefined;
|
|
950
|
-
readonly text: string;
|
|
951
|
-
} | {
|
|
952
|
-
readonly _tag: "reasoning";
|
|
953
|
-
readonly pending?: boolean | undefined;
|
|
954
|
-
readonly reasoningText?: string | undefined;
|
|
955
|
-
readonly redactedText?: string | undefined;
|
|
956
|
-
readonly signature?: string | undefined;
|
|
957
|
-
} | {
|
|
958
|
-
readonly _tag: "reference";
|
|
959
|
-
readonly pending?: boolean | undefined;
|
|
960
|
-
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Obj").Unknown>;
|
|
961
|
-
} | {
|
|
962
|
-
readonly _tag: "select";
|
|
963
|
-
readonly pending?: boolean | undefined;
|
|
964
|
-
readonly options: string[];
|
|
965
|
-
} | {
|
|
966
|
-
readonly _tag: "status";
|
|
967
|
-
readonly pending?: boolean | undefined;
|
|
968
|
-
readonly statusText: string;
|
|
969
|
-
} | {
|
|
970
|
-
readonly _tag: "suggestion";
|
|
971
|
-
readonly pending?: boolean | undefined;
|
|
972
|
-
readonly text: string;
|
|
973
|
-
} | {
|
|
974
|
-
readonly _tag: "stats";
|
|
975
|
-
readonly pending?: boolean | undefined;
|
|
976
|
-
readonly mimeType?: string | undefined;
|
|
977
|
-
readonly message?: string | undefined;
|
|
978
|
-
readonly model?: string | undefined;
|
|
979
|
-
readonly usage?: {
|
|
980
|
-
readonly inputTokens?: number | undefined;
|
|
981
|
-
readonly outputTokens?: number | undefined;
|
|
982
|
-
readonly totalTokens?: number | undefined;
|
|
983
|
-
} | undefined;
|
|
984
|
-
readonly toolCalls?: number | undefined;
|
|
985
|
-
readonly errors?: number | undefined;
|
|
986
|
-
readonly duration?: number | undefined;
|
|
987
|
-
} | {
|
|
988
|
-
readonly _tag: "text";
|
|
989
|
-
readonly pending?: boolean | undefined;
|
|
990
|
-
readonly mimeType?: string | undefined;
|
|
991
|
-
readonly text: string;
|
|
992
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
993
|
-
} | {
|
|
994
|
-
readonly _tag: "summary";
|
|
995
|
-
readonly pending?: boolean | undefined;
|
|
996
|
-
readonly content: string;
|
|
997
|
-
} | {
|
|
998
|
-
readonly _tag: "toolkit";
|
|
999
|
-
readonly pending?: boolean | undefined;
|
|
1000
|
-
} | {
|
|
1001
|
-
readonly _tag: "toolCall";
|
|
1002
|
-
readonly pending?: boolean | undefined;
|
|
1003
|
-
readonly toolCallId: string;
|
|
1004
|
-
readonly name: string;
|
|
1005
|
-
readonly input: string;
|
|
1006
|
-
readonly providerExecuted: boolean;
|
|
1007
|
-
readonly operationKey?: string | undefined;
|
|
1008
|
-
readonly operationName?: string | undefined;
|
|
1009
|
-
readonly operationIcon?: string | undefined;
|
|
1010
|
-
} | {
|
|
1011
|
-
readonly _tag: "toolResult";
|
|
1012
|
-
readonly pending?: boolean | undefined;
|
|
1013
|
-
readonly toolCallId: string;
|
|
1014
|
-
readonly name: string;
|
|
1015
|
-
readonly result?: string | {
|
|
1016
|
-
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
1017
|
-
readonly content: readonly ({
|
|
1018
|
-
readonly _tag: "file";
|
|
1019
|
-
readonly pending?: boolean | undefined;
|
|
1020
|
-
readonly url: string;
|
|
1021
|
-
readonly name?: string | undefined;
|
|
1022
|
-
readonly mediaType?: string | undefined;
|
|
1023
|
-
} | {
|
|
1024
|
-
readonly _tag: "image";
|
|
1025
|
-
readonly pending?: boolean | undefined;
|
|
1026
|
-
readonly id?: string | undefined;
|
|
1027
|
-
readonly source?: {
|
|
1028
|
-
readonly type: "base64";
|
|
1029
|
-
readonly mediaType: string;
|
|
1030
|
-
readonly data: string;
|
|
1031
|
-
} | {
|
|
1032
|
-
readonly type: "http";
|
|
1033
|
-
readonly url: string;
|
|
1034
|
-
} | undefined;
|
|
1035
|
-
} | {
|
|
1036
|
-
readonly _tag: "text";
|
|
1037
|
-
readonly pending?: boolean | undefined;
|
|
1038
|
-
readonly mimeType?: string | undefined;
|
|
1039
|
-
readonly text: string;
|
|
1040
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1041
|
-
})[];
|
|
1042
|
-
} | undefined;
|
|
1043
|
-
readonly error?: string | undefined;
|
|
1044
|
-
readonly providerExecuted: boolean;
|
|
1045
|
-
} | {
|
|
1046
|
-
readonly _tag: "transcript";
|
|
1047
|
-
readonly pending?: boolean | undefined;
|
|
1048
|
-
readonly started: string;
|
|
1049
|
-
readonly text: string;
|
|
1050
|
-
})[];
|
|
1051
|
-
readonly properties?: {
|
|
1052
|
-
readonly [x: string]: any;
|
|
1053
|
-
} | undefined;
|
|
1054
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>, {
|
|
1055
|
-
readonly id: string;
|
|
1056
|
-
readonly parentMessage?: string | undefined;
|
|
1057
|
-
readonly threadId?: string | undefined;
|
|
1058
|
-
readonly created: string;
|
|
1059
|
-
readonly sender: {
|
|
1060
|
-
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
1061
|
-
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
1062
|
-
readonly fullName?: string | undefined;
|
|
1063
|
-
readonly preferredName?: string | undefined;
|
|
1064
|
-
readonly nickname?: string | undefined;
|
|
1065
|
-
readonly image?: string | undefined;
|
|
1066
|
-
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
1067
|
-
readonly name?: string | undefined;
|
|
1068
|
-
readonly description?: string | undefined;
|
|
1069
|
-
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
1070
|
-
readonly image?: string | undefined;
|
|
1071
|
-
readonly website?: string | undefined;
|
|
1072
|
-
} & {
|
|
1073
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1074
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
1075
|
-
readonly jobTitle?: string | undefined;
|
|
1076
|
-
readonly department?: string | undefined;
|
|
1077
|
-
readonly notes?: string | undefined;
|
|
1078
|
-
readonly emails?: readonly {
|
|
1079
|
-
readonly label?: string | undefined;
|
|
1080
|
-
readonly value: string;
|
|
1081
|
-
}[] | undefined;
|
|
1082
|
-
readonly identities?: readonly {
|
|
1083
|
-
readonly label?: string | undefined;
|
|
1084
|
-
readonly value: string;
|
|
1085
|
-
}[] | undefined;
|
|
1086
|
-
readonly phoneNumbers?: readonly {
|
|
1087
|
-
readonly label?: string | undefined;
|
|
1088
|
-
readonly value: string;
|
|
1089
|
-
}[] | undefined;
|
|
1090
|
-
readonly addresses?: readonly {
|
|
1091
|
-
readonly label?: string | undefined;
|
|
1092
|
-
readonly value: {
|
|
1093
|
-
readonly street?: string | undefined;
|
|
1094
|
-
readonly extended?: string | undefined;
|
|
1095
|
-
readonly locality?: string | undefined;
|
|
1096
|
-
readonly region?: string | undefined;
|
|
1097
|
-
readonly postalCode?: string | undefined;
|
|
1098
|
-
readonly postOfficeBoxNumber?: string | undefined;
|
|
1099
|
-
readonly country?: string | undefined;
|
|
1100
|
-
};
|
|
1101
|
-
}[] | undefined;
|
|
1102
|
-
readonly urls?: readonly {
|
|
1103
|
-
readonly label?: string | undefined;
|
|
1104
|
-
readonly value: string;
|
|
1105
|
-
}[] | undefined;
|
|
1106
|
-
readonly birthday?: string | undefined;
|
|
1107
|
-
readonly fields?: readonly {
|
|
1108
|
-
readonly category?: string | undefined;
|
|
1109
|
-
readonly label: string;
|
|
1110
|
-
readonly value: string;
|
|
1111
|
-
}[] | undefined;
|
|
1112
|
-
} & {
|
|
1113
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1114
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
1115
|
-
readonly identityDid?: string | undefined;
|
|
1116
|
-
readonly identityKey?: string | undefined;
|
|
1117
|
-
readonly email?: string | undefined;
|
|
1118
|
-
readonly name?: string | undefined;
|
|
1119
|
-
};
|
|
1120
|
-
readonly blocks: readonly ({
|
|
1121
|
-
readonly _tag: "anchor";
|
|
1122
|
-
readonly pending?: boolean | undefined;
|
|
1123
|
-
readonly objectId: string;
|
|
1124
|
-
readonly version: unknown;
|
|
1125
|
-
} | {
|
|
1126
|
-
readonly _tag: "file";
|
|
1127
|
-
readonly pending?: boolean | undefined;
|
|
1128
|
-
readonly url: string;
|
|
1129
|
-
readonly name?: string | undefined;
|
|
1130
|
-
readonly mediaType?: string | undefined;
|
|
1131
|
-
} | {
|
|
1132
|
-
readonly _tag: "image";
|
|
1133
|
-
readonly pending?: boolean | undefined;
|
|
1134
|
-
readonly id?: string | undefined;
|
|
1135
|
-
readonly source?: {
|
|
1136
|
-
readonly type: "base64";
|
|
1137
|
-
readonly mediaType: string;
|
|
1138
|
-
readonly data: string;
|
|
1139
|
-
} | {
|
|
1140
|
-
readonly type: "http";
|
|
1141
|
-
readonly url: string;
|
|
1142
|
-
} | undefined;
|
|
1143
|
-
} | {
|
|
1144
|
-
readonly _tag: "json";
|
|
1145
|
-
readonly pending?: boolean | undefined;
|
|
1146
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1147
|
-
readonly data: string;
|
|
1148
|
-
} | {
|
|
1149
|
-
readonly _tag: "proposal";
|
|
1150
|
-
readonly pending?: boolean | undefined;
|
|
1151
|
-
readonly text: string;
|
|
1152
|
-
} | {
|
|
1153
|
-
readonly _tag: "reasoning";
|
|
1154
|
-
readonly pending?: boolean | undefined;
|
|
1155
|
-
readonly reasoningText?: string | undefined;
|
|
1156
|
-
readonly redactedText?: string | undefined;
|
|
1157
|
-
readonly signature?: string | undefined;
|
|
1158
|
-
} | {
|
|
1159
|
-
readonly _tag: "reference";
|
|
1160
|
-
readonly pending?: boolean | undefined;
|
|
1161
|
-
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Obj").Unknown>;
|
|
1162
|
-
} | {
|
|
1163
|
-
readonly _tag: "select";
|
|
1164
|
-
readonly pending?: boolean | undefined;
|
|
1165
|
-
readonly options: string[];
|
|
1166
|
-
} | {
|
|
1167
|
-
readonly _tag: "status";
|
|
1168
|
-
readonly pending?: boolean | undefined;
|
|
1169
|
-
readonly statusText: string;
|
|
1170
|
-
} | {
|
|
1171
|
-
readonly _tag: "suggestion";
|
|
1172
|
-
readonly pending?: boolean | undefined;
|
|
1173
|
-
readonly text: string;
|
|
1174
|
-
} | {
|
|
1175
|
-
readonly _tag: "stats";
|
|
1176
|
-
readonly pending?: boolean | undefined;
|
|
1177
|
-
readonly mimeType?: string | undefined;
|
|
1178
|
-
readonly message?: string | undefined;
|
|
1179
|
-
readonly model?: string | undefined;
|
|
1180
|
-
readonly usage?: {
|
|
1181
|
-
readonly inputTokens?: number | undefined;
|
|
1182
|
-
readonly outputTokens?: number | undefined;
|
|
1183
|
-
readonly totalTokens?: number | undefined;
|
|
1184
|
-
} | undefined;
|
|
1185
|
-
readonly toolCalls?: number | undefined;
|
|
1186
|
-
readonly errors?: number | undefined;
|
|
1187
|
-
readonly duration?: number | undefined;
|
|
1188
|
-
} | {
|
|
1189
|
-
readonly _tag: "text";
|
|
1190
|
-
readonly pending?: boolean | undefined;
|
|
1191
|
-
readonly mimeType?: string | undefined;
|
|
1192
|
-
readonly text: string;
|
|
1193
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1194
|
-
} | {
|
|
1195
|
-
readonly _tag: "summary";
|
|
1196
|
-
readonly pending?: boolean | undefined;
|
|
1197
|
-
readonly content: string;
|
|
1198
|
-
} | {
|
|
1199
|
-
readonly _tag: "toolkit";
|
|
1200
|
-
readonly pending?: boolean | undefined;
|
|
1201
|
-
} | {
|
|
1202
|
-
readonly _tag: "toolCall";
|
|
1203
|
-
readonly pending?: boolean | undefined;
|
|
1204
|
-
readonly toolCallId: string;
|
|
1205
|
-
readonly name: string;
|
|
1206
|
-
readonly input: string;
|
|
1207
|
-
readonly providerExecuted: boolean;
|
|
1208
|
-
readonly operationKey?: string | undefined;
|
|
1209
|
-
readonly operationName?: string | undefined;
|
|
1210
|
-
readonly operationIcon?: string | undefined;
|
|
1211
|
-
} | {
|
|
1212
|
-
readonly _tag: "toolResult";
|
|
1213
|
-
readonly pending?: boolean | undefined;
|
|
1214
|
-
readonly toolCallId: string;
|
|
1215
|
-
readonly name: string;
|
|
1216
|
-
readonly result?: string | {
|
|
1217
|
-
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
1218
|
-
readonly content: readonly ({
|
|
1219
|
-
readonly _tag: "file";
|
|
1220
|
-
readonly pending?: boolean | undefined;
|
|
1221
|
-
readonly url: string;
|
|
1222
|
-
readonly name?: string | undefined;
|
|
1223
|
-
readonly mediaType?: string | undefined;
|
|
1224
|
-
} | {
|
|
1225
|
-
readonly _tag: "image";
|
|
1226
|
-
readonly pending?: boolean | undefined;
|
|
1227
|
-
readonly id?: string | undefined;
|
|
1228
|
-
readonly source?: {
|
|
1229
|
-
readonly type: "base64";
|
|
1230
|
-
readonly mediaType: string;
|
|
1231
|
-
readonly data: string;
|
|
1232
|
-
} | {
|
|
1233
|
-
readonly type: "http";
|
|
1234
|
-
readonly url: string;
|
|
1235
|
-
} | undefined;
|
|
1236
|
-
} | {
|
|
1237
|
-
readonly _tag: "text";
|
|
1238
|
-
readonly pending?: boolean | undefined;
|
|
1239
|
-
readonly mimeType?: string | undefined;
|
|
1240
|
-
readonly text: string;
|
|
1241
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1242
|
-
})[];
|
|
1243
|
-
} | undefined;
|
|
1244
|
-
readonly error?: string | undefined;
|
|
1245
|
-
readonly providerExecuted: boolean;
|
|
1246
|
-
} | {
|
|
1247
|
-
readonly _tag: "transcript";
|
|
1248
|
-
readonly pending?: boolean | undefined;
|
|
1249
|
-
readonly started: string;
|
|
1250
|
-
readonly text: string;
|
|
1251
|
-
})[];
|
|
1252
|
-
readonly properties?: {
|
|
1253
|
-
readonly [x: string]: any;
|
|
1254
|
-
} | undefined;
|
|
1255
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>, never>, Schema.Struct<{
|
|
1256
|
-
rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
1257
|
-
}>>>>>;
|
|
1258
|
-
}>;
|
|
1259
|
-
export declare const SentenceNormalization: Operation.Definition<{
|
|
1260
|
-
readonly messages: readonly ({
|
|
1261
|
-
readonly id: string;
|
|
1262
|
-
readonly parentMessage?: string | undefined;
|
|
1263
|
-
readonly threadId?: string | undefined;
|
|
1264
|
-
readonly created: string;
|
|
1265
|
-
readonly sender: {
|
|
1266
|
-
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
1267
|
-
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
1268
|
-
readonly fullName?: string | undefined;
|
|
1269
|
-
readonly preferredName?: string | undefined;
|
|
1270
|
-
readonly nickname?: string | undefined;
|
|
1271
|
-
readonly image?: string | undefined;
|
|
1272
|
-
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
1273
|
-
readonly name?: string | undefined;
|
|
1274
|
-
readonly description?: string | undefined;
|
|
1275
|
-
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
1276
|
-
readonly image?: string | undefined;
|
|
1277
|
-
readonly website?: string | undefined;
|
|
1278
|
-
} & {
|
|
1279
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1280
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
1281
|
-
readonly jobTitle?: string | undefined;
|
|
1282
|
-
readonly department?: string | undefined;
|
|
1283
|
-
readonly notes?: string | undefined;
|
|
1284
|
-
readonly emails?: readonly {
|
|
1285
|
-
readonly label?: string | undefined;
|
|
1286
|
-
readonly value: string;
|
|
1287
|
-
}[] | undefined;
|
|
1288
|
-
readonly identities?: readonly {
|
|
1289
|
-
readonly label?: string | undefined;
|
|
1290
|
-
readonly value: string;
|
|
1291
|
-
}[] | undefined;
|
|
1292
|
-
readonly phoneNumbers?: readonly {
|
|
1293
|
-
readonly label?: string | undefined;
|
|
1294
|
-
readonly value: string;
|
|
1295
|
-
}[] | undefined;
|
|
1296
|
-
readonly addresses?: readonly {
|
|
1297
|
-
readonly label?: string | undefined;
|
|
1298
|
-
readonly value: {
|
|
1299
|
-
readonly street?: string | undefined;
|
|
1300
|
-
readonly extended?: string | undefined;
|
|
1301
|
-
readonly locality?: string | undefined;
|
|
1302
|
-
readonly region?: string | undefined;
|
|
1303
|
-
readonly postalCode?: string | undefined;
|
|
1304
|
-
readonly postOfficeBoxNumber?: string | undefined;
|
|
1305
|
-
readonly country?: string | undefined;
|
|
1306
|
-
};
|
|
1307
|
-
}[] | undefined;
|
|
1308
|
-
readonly urls?: readonly {
|
|
1309
|
-
readonly label?: string | undefined;
|
|
1310
|
-
readonly value: string;
|
|
1311
|
-
}[] | undefined;
|
|
1312
|
-
readonly birthday?: string | undefined;
|
|
1313
|
-
readonly fields?: readonly {
|
|
1314
|
-
readonly category?: string | undefined;
|
|
1315
|
-
readonly label: string;
|
|
1316
|
-
readonly value: string;
|
|
1317
|
-
}[] | undefined;
|
|
1318
|
-
} & {
|
|
1319
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1320
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
1321
|
-
readonly identityDid?: string | undefined;
|
|
1322
|
-
readonly identityKey?: string | undefined;
|
|
1323
|
-
readonly email?: string | undefined;
|
|
1324
|
-
readonly name?: string | undefined;
|
|
1325
|
-
};
|
|
1326
|
-
readonly blocks: readonly ({
|
|
1327
|
-
readonly _tag: "anchor";
|
|
1328
|
-
readonly pending?: boolean | undefined;
|
|
1329
|
-
readonly objectId: string;
|
|
1330
|
-
readonly version: unknown;
|
|
1331
|
-
} | {
|
|
1332
|
-
readonly _tag: "file";
|
|
1333
|
-
readonly pending?: boolean | undefined;
|
|
1334
|
-
readonly url: string;
|
|
1335
|
-
readonly name?: string | undefined;
|
|
1336
|
-
readonly mediaType?: string | undefined;
|
|
1337
|
-
} | {
|
|
1338
|
-
readonly _tag: "image";
|
|
1339
|
-
readonly pending?: boolean | undefined;
|
|
1340
|
-
readonly id?: string | undefined;
|
|
1341
|
-
readonly source?: {
|
|
1342
|
-
readonly type: "base64";
|
|
1343
|
-
readonly mediaType: string;
|
|
1344
|
-
readonly data: string;
|
|
1345
|
-
} | {
|
|
1346
|
-
readonly type: "http";
|
|
1347
|
-
readonly url: string;
|
|
1348
|
-
} | undefined;
|
|
1349
|
-
} | {
|
|
1350
|
-
readonly _tag: "json";
|
|
1351
|
-
readonly pending?: boolean | undefined;
|
|
1352
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1353
|
-
readonly data: string;
|
|
1354
|
-
} | {
|
|
1355
|
-
readonly _tag: "proposal";
|
|
1356
|
-
readonly pending?: boolean | undefined;
|
|
1357
|
-
readonly text: string;
|
|
1358
|
-
} | {
|
|
1359
|
-
readonly _tag: "reasoning";
|
|
1360
|
-
readonly pending?: boolean | undefined;
|
|
1361
|
-
readonly reasoningText?: string | undefined;
|
|
1362
|
-
readonly redactedText?: string | undefined;
|
|
1363
|
-
readonly signature?: string | undefined;
|
|
1364
|
-
} | {
|
|
1365
|
-
readonly _tag: "reference";
|
|
1366
|
-
readonly pending?: boolean | undefined;
|
|
1367
|
-
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Obj").Unknown>;
|
|
1368
|
-
} | {
|
|
1369
|
-
readonly _tag: "select";
|
|
1370
|
-
readonly pending?: boolean | undefined;
|
|
1371
|
-
readonly options: string[];
|
|
1372
|
-
} | {
|
|
1373
|
-
readonly _tag: "status";
|
|
1374
|
-
readonly pending?: boolean | undefined;
|
|
1375
|
-
readonly statusText: string;
|
|
1376
|
-
} | {
|
|
1377
|
-
readonly _tag: "suggestion";
|
|
1378
|
-
readonly pending?: boolean | undefined;
|
|
1379
|
-
readonly text: string;
|
|
1380
|
-
} | {
|
|
1381
|
-
readonly _tag: "stats";
|
|
1382
|
-
readonly pending?: boolean | undefined;
|
|
1383
|
-
readonly mimeType?: string | undefined;
|
|
1384
|
-
readonly message?: string | undefined;
|
|
1385
|
-
readonly model?: string | undefined;
|
|
1386
|
-
readonly usage?: {
|
|
1387
|
-
readonly inputTokens?: number | undefined;
|
|
1388
|
-
readonly outputTokens?: number | undefined;
|
|
1389
|
-
readonly totalTokens?: number | undefined;
|
|
1390
|
-
} | undefined;
|
|
1391
|
-
readonly toolCalls?: number | undefined;
|
|
1392
|
-
readonly errors?: number | undefined;
|
|
1393
|
-
readonly duration?: number | undefined;
|
|
1394
|
-
} | {
|
|
1395
|
-
readonly _tag: "text";
|
|
1396
|
-
readonly pending?: boolean | undefined;
|
|
1397
|
-
readonly mimeType?: string | undefined;
|
|
1398
|
-
readonly text: string;
|
|
1399
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1400
|
-
} | {
|
|
1401
|
-
readonly _tag: "summary";
|
|
1402
|
-
readonly pending?: boolean | undefined;
|
|
1403
|
-
readonly content: string;
|
|
1404
|
-
} | {
|
|
1405
|
-
readonly _tag: "toolkit";
|
|
1406
|
-
readonly pending?: boolean | undefined;
|
|
1407
|
-
} | {
|
|
1408
|
-
readonly _tag: "toolCall";
|
|
1409
|
-
readonly pending?: boolean | undefined;
|
|
1410
|
-
readonly toolCallId: string;
|
|
1411
|
-
readonly name: string;
|
|
1412
|
-
readonly input: string;
|
|
1413
|
-
readonly providerExecuted: boolean;
|
|
1414
|
-
readonly operationKey?: string | undefined;
|
|
1415
|
-
readonly operationName?: string | undefined;
|
|
1416
|
-
readonly operationIcon?: string | undefined;
|
|
1417
|
-
} | {
|
|
1418
|
-
readonly _tag: "toolResult";
|
|
1419
|
-
readonly pending?: boolean | undefined;
|
|
1420
|
-
readonly toolCallId: string;
|
|
1421
|
-
readonly name: string;
|
|
1422
|
-
readonly result?: string | {
|
|
1423
|
-
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
1424
|
-
readonly content: readonly ({
|
|
1425
|
-
readonly _tag: "file";
|
|
1426
|
-
readonly pending?: boolean | undefined;
|
|
1427
|
-
readonly url: string;
|
|
1428
|
-
readonly name?: string | undefined;
|
|
1429
|
-
readonly mediaType?: string | undefined;
|
|
1430
|
-
} | {
|
|
1431
|
-
readonly _tag: "image";
|
|
1432
|
-
readonly pending?: boolean | undefined;
|
|
1433
|
-
readonly id?: string | undefined;
|
|
1434
|
-
readonly source?: {
|
|
1435
|
-
readonly type: "base64";
|
|
1436
|
-
readonly mediaType: string;
|
|
1437
|
-
readonly data: string;
|
|
1438
|
-
} | {
|
|
1439
|
-
readonly type: "http";
|
|
1440
|
-
readonly url: string;
|
|
1441
|
-
} | undefined;
|
|
1442
|
-
} | {
|
|
1443
|
-
readonly _tag: "text";
|
|
1444
|
-
readonly pending?: boolean | undefined;
|
|
1445
|
-
readonly mimeType?: string | undefined;
|
|
1446
|
-
readonly text: string;
|
|
1447
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1448
|
-
})[];
|
|
1449
|
-
} | undefined;
|
|
1450
|
-
readonly error?: string | undefined;
|
|
1451
|
-
readonly providerExecuted: boolean;
|
|
1452
|
-
} | {
|
|
1453
|
-
readonly _tag: "transcript";
|
|
1454
|
-
readonly pending?: boolean | undefined;
|
|
1455
|
-
readonly started: string;
|
|
1456
|
-
readonly text: string;
|
|
1457
|
-
})[];
|
|
1458
|
-
readonly properties?: {
|
|
1459
|
-
readonly [x: string]: any;
|
|
1460
|
-
} | undefined;
|
|
1461
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
1462
|
-
readonly rangeId?: readonly string[] | undefined;
|
|
1463
|
-
})[];
|
|
1464
|
-
}, {
|
|
1465
|
-
readonly sentences: {
|
|
1466
|
-
"~@dxos/echo/Kind": import("@dxos/echo/internal").EntityKind.Object;
|
|
1467
|
-
id: string;
|
|
1468
|
-
parentMessage?: string | undefined;
|
|
1469
|
-
threadId?: string | undefined;
|
|
1470
|
-
created: string;
|
|
1471
|
-
sender: {
|
|
1472
|
-
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
1473
|
-
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
1474
|
-
readonly fullName?: string | undefined;
|
|
1475
|
-
readonly preferredName?: string | undefined;
|
|
1476
|
-
readonly nickname?: string | undefined;
|
|
1477
|
-
readonly image?: string | undefined;
|
|
1478
|
-
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
1479
|
-
readonly name?: string | undefined;
|
|
1480
|
-
readonly description?: string | undefined;
|
|
1481
|
-
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
1482
|
-
readonly image?: string | undefined;
|
|
1483
|
-
readonly website?: string | undefined;
|
|
1484
|
-
} & {
|
|
1485
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1486
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
1487
|
-
readonly jobTitle?: string | undefined;
|
|
1488
|
-
readonly department?: string | undefined;
|
|
1489
|
-
readonly notes?: string | undefined;
|
|
1490
|
-
readonly emails?: readonly {
|
|
1491
|
-
readonly label?: string | undefined;
|
|
1492
|
-
readonly value: string;
|
|
1493
|
-
}[] | undefined;
|
|
1494
|
-
readonly identities?: readonly {
|
|
1495
|
-
readonly label?: string | undefined;
|
|
1496
|
-
readonly value: string;
|
|
1497
|
-
}[] | undefined;
|
|
1498
|
-
readonly phoneNumbers?: readonly {
|
|
1499
|
-
readonly label?: string | undefined;
|
|
1500
|
-
readonly value: string;
|
|
1501
|
-
}[] | undefined;
|
|
1502
|
-
readonly addresses?: readonly {
|
|
1503
|
-
readonly label?: string | undefined;
|
|
1504
|
-
readonly value: {
|
|
1505
|
-
readonly street?: string | undefined;
|
|
1506
|
-
readonly extended?: string | undefined;
|
|
1507
|
-
readonly locality?: string | undefined;
|
|
1508
|
-
readonly region?: string | undefined;
|
|
1509
|
-
readonly postalCode?: string | undefined;
|
|
1510
|
-
readonly postOfficeBoxNumber?: string | undefined;
|
|
1511
|
-
readonly country?: string | undefined;
|
|
1512
|
-
};
|
|
1513
|
-
}[] | undefined;
|
|
1514
|
-
readonly urls?: readonly {
|
|
1515
|
-
readonly label?: string | undefined;
|
|
1516
|
-
readonly value: string;
|
|
1517
|
-
}[] | undefined;
|
|
1518
|
-
readonly birthday?: string | undefined;
|
|
1519
|
-
readonly fields?: readonly {
|
|
1520
|
-
readonly category?: string | undefined;
|
|
1521
|
-
readonly label: string;
|
|
1522
|
-
readonly value: string;
|
|
1523
|
-
}[] | undefined;
|
|
1524
|
-
} & {
|
|
1525
|
-
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
1526
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
1527
|
-
readonly identityDid?: string | undefined;
|
|
1528
|
-
readonly identityKey?: string | undefined;
|
|
1529
|
-
readonly email?: string | undefined;
|
|
1530
|
-
readonly name?: string | undefined;
|
|
1531
|
-
};
|
|
1532
|
-
blocks: readonly ({
|
|
1533
|
-
readonly _tag: "anchor";
|
|
1534
|
-
readonly pending?: boolean | undefined;
|
|
1535
|
-
readonly objectId: string;
|
|
1536
|
-
readonly version: unknown;
|
|
1537
|
-
} | {
|
|
1538
|
-
readonly _tag: "file";
|
|
1539
|
-
readonly pending?: boolean | undefined;
|
|
1540
|
-
readonly url: string;
|
|
1541
|
-
readonly name?: string | undefined;
|
|
1542
|
-
readonly mediaType?: string | undefined;
|
|
1543
|
-
} | {
|
|
1544
|
-
readonly _tag: "image";
|
|
1545
|
-
readonly pending?: boolean | undefined;
|
|
1546
|
-
readonly id?: string | undefined;
|
|
1547
|
-
readonly source?: {
|
|
1548
|
-
readonly type: "base64";
|
|
1549
|
-
readonly mediaType: string;
|
|
1550
|
-
readonly data: string;
|
|
1551
|
-
} | {
|
|
1552
|
-
readonly type: "http";
|
|
1553
|
-
readonly url: string;
|
|
1554
|
-
} | undefined;
|
|
1555
|
-
} | {
|
|
1556
|
-
readonly _tag: "json";
|
|
209
|
+
readonly _tag: "json";
|
|
1557
210
|
readonly pending?: boolean | undefined;
|
|
1558
211
|
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1559
212
|
readonly data: string;
|
|
1560
|
-
} | {
|
|
1561
|
-
readonly _tag: "proposal";
|
|
1562
|
-
readonly pending?: boolean | undefined;
|
|
1563
|
-
readonly text: string;
|
|
1564
|
-
} | {
|
|
1565
|
-
readonly _tag: "reasoning";
|
|
1566
|
-
readonly pending?: boolean | undefined;
|
|
1567
|
-
readonly reasoningText?: string | undefined;
|
|
1568
|
-
readonly redactedText?: string | undefined;
|
|
1569
|
-
readonly signature?: string | undefined;
|
|
1570
|
-
} | {
|
|
1571
|
-
readonly _tag: "reference";
|
|
1572
|
-
readonly pending?: boolean | undefined;
|
|
1573
|
-
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Obj").Unknown>;
|
|
1574
|
-
} | {
|
|
1575
|
-
readonly _tag: "select";
|
|
1576
|
-
readonly pending?: boolean | undefined;
|
|
1577
|
-
readonly options: string[];
|
|
1578
|
-
} | {
|
|
1579
|
-
readonly _tag: "status";
|
|
1580
|
-
readonly pending?: boolean | undefined;
|
|
1581
|
-
readonly statusText: string;
|
|
1582
|
-
} | {
|
|
1583
|
-
readonly _tag: "suggestion";
|
|
1584
|
-
readonly pending?: boolean | undefined;
|
|
1585
|
-
readonly text: string;
|
|
1586
|
-
} | {
|
|
1587
|
-
readonly _tag: "stats";
|
|
1588
|
-
readonly pending?: boolean | undefined;
|
|
1589
|
-
readonly mimeType?: string | undefined;
|
|
1590
|
-
readonly message?: string | undefined;
|
|
1591
|
-
readonly model?: string | undefined;
|
|
1592
|
-
readonly usage?: {
|
|
1593
|
-
readonly inputTokens?: number | undefined;
|
|
1594
|
-
readonly outputTokens?: number | undefined;
|
|
1595
|
-
readonly totalTokens?: number | undefined;
|
|
1596
|
-
} | undefined;
|
|
1597
|
-
readonly toolCalls?: number | undefined;
|
|
1598
|
-
readonly errors?: number | undefined;
|
|
1599
|
-
readonly duration?: number | undefined;
|
|
1600
|
-
} | {
|
|
1601
|
-
readonly _tag: "text";
|
|
1602
|
-
readonly pending?: boolean | undefined;
|
|
1603
|
-
readonly mimeType?: string | undefined;
|
|
1604
|
-
readonly text: string;
|
|
1605
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1606
|
-
} | {
|
|
1607
|
-
readonly _tag: "summary";
|
|
1608
|
-
readonly pending?: boolean | undefined;
|
|
1609
|
-
readonly content: string;
|
|
1610
|
-
} | {
|
|
1611
|
-
readonly _tag: "toolkit";
|
|
1612
|
-
readonly pending?: boolean | undefined;
|
|
1613
|
-
} | {
|
|
1614
|
-
readonly _tag: "toolCall";
|
|
1615
|
-
readonly pending?: boolean | undefined;
|
|
1616
|
-
readonly toolCallId: string;
|
|
1617
|
-
readonly name: string;
|
|
1618
|
-
readonly input: string;
|
|
1619
|
-
readonly providerExecuted: boolean;
|
|
1620
|
-
readonly operationKey?: string | undefined;
|
|
1621
|
-
readonly operationName?: string | undefined;
|
|
1622
|
-
readonly operationIcon?: string | undefined;
|
|
1623
|
-
} | {
|
|
1624
|
-
readonly _tag: "toolResult";
|
|
1625
|
-
readonly pending?: boolean | undefined;
|
|
1626
|
-
readonly toolCallId: string;
|
|
1627
|
-
readonly name: string;
|
|
1628
|
-
readonly result?: string | {
|
|
1629
|
-
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
1630
|
-
readonly content: readonly ({
|
|
1631
|
-
readonly _tag: "file";
|
|
1632
|
-
readonly pending?: boolean | undefined;
|
|
1633
|
-
readonly url: string;
|
|
1634
|
-
readonly name?: string | undefined;
|
|
1635
|
-
readonly mediaType?: string | undefined;
|
|
1636
|
-
} | {
|
|
1637
|
-
readonly _tag: "image";
|
|
1638
|
-
readonly pending?: boolean | undefined;
|
|
1639
|
-
readonly id?: string | undefined;
|
|
1640
|
-
readonly source?: {
|
|
1641
|
-
readonly type: "base64";
|
|
1642
|
-
readonly mediaType: string;
|
|
1643
|
-
readonly data: string;
|
|
1644
|
-
} | {
|
|
1645
|
-
readonly type: "http";
|
|
1646
|
-
readonly url: string;
|
|
1647
|
-
} | undefined;
|
|
1648
|
-
} | {
|
|
1649
|
-
readonly _tag: "text";
|
|
1650
|
-
readonly pending?: boolean | undefined;
|
|
1651
|
-
readonly mimeType?: string | undefined;
|
|
1652
|
-
readonly text: string;
|
|
1653
|
-
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
1654
|
-
})[];
|
|
1655
|
-
} | undefined;
|
|
1656
|
-
readonly error?: string | undefined;
|
|
1657
|
-
readonly providerExecuted: boolean;
|
|
1658
|
-
} | {
|
|
1659
|
-
readonly _tag: "transcript";
|
|
1660
|
-
readonly pending?: boolean | undefined;
|
|
1661
|
-
readonly started: string;
|
|
1662
|
-
readonly text: string;
|
|
1663
213
|
})[];
|
|
1664
214
|
properties?: {
|
|
1665
215
|
readonly [x: string]: any;
|