@dxos/plugin-transcription 0.8.4-main.f9ba587 → 0.8.4-main.fd6878d

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.
Files changed (99) hide show
  1. package/dist/lib/browser/{TranscriptContainer-E5NBJPAY.mjs → TranscriptContainer-FH7VAWYA.mjs} +3 -3
  2. package/dist/lib/browser/{chunk-F2WY3YTD.mjs → chunk-BJWYA2BU.mjs} +420 -402
  3. package/dist/lib/browser/chunk-BJWYA2BU.mjs.map +7 -0
  4. package/dist/lib/browser/{chunk-VDKDOZRR.mjs → chunk-KJIQQHJB.mjs} +38 -27
  5. package/dist/lib/browser/chunk-KJIQQHJB.mjs.map +7 -0
  6. package/dist/lib/browser/{chunk-R7INNNUQ.mjs → chunk-KWOOVS5G.mjs} +1 -1
  7. package/dist/lib/browser/{chunk-R7INNNUQ.mjs.map → chunk-KWOOVS5G.mjs.map} +2 -2
  8. package/dist/lib/browser/{chunk-U6QBOGTN.mjs → chunk-SREIAQSP.mjs} +1 -1
  9. package/dist/lib/browser/{chunk-U6QBOGTN.mjs.map → chunk-SREIAQSP.mjs.map} +1 -1
  10. package/dist/lib/browser/{chunk-EQBICGOD.mjs → chunk-UKUSJTQW.mjs} +2 -2
  11. package/dist/lib/browser/index.mjs +5 -5
  12. package/dist/lib/browser/{intent-resolver-3O33MMP5.mjs → intent-resolver-AOVQ7JI4.mjs} +2 -2
  13. package/dist/lib/{node-esm/intent-resolver-YMN5SXNC.mjs.map → browser/intent-resolver-AOVQ7JI4.mjs.map} +2 -2
  14. package/dist/lib/browser/meta.json +1 -1
  15. package/dist/lib/browser/{react-surface-FJTMNF3K.mjs → react-surface-4MEJMKYQ.mjs} +5 -5
  16. package/dist/lib/browser/{transcriber-YVOTUBKQ.mjs → transcriber-V77CN7XX.mjs} +4 -4
  17. package/dist/lib/browser/transcriber-V77CN7XX.mjs.map +7 -0
  18. package/dist/lib/browser/types/index.mjs +1 -1
  19. package/dist/lib/node-esm/{TranscriptContainer-UOS7JG72.mjs → TranscriptContainer-GEUOOYHX.mjs} +3 -3
  20. package/dist/lib/node-esm/{chunk-HSCG4XPR.mjs → chunk-A33GNR44.mjs} +38 -27
  21. package/dist/lib/node-esm/chunk-A33GNR44.mjs.map +7 -0
  22. package/dist/lib/node-esm/{chunk-U65ZWK3L.mjs → chunk-IKQMDRY6.mjs} +1 -1
  23. package/dist/lib/node-esm/{chunk-U65ZWK3L.mjs.map → chunk-IKQMDRY6.mjs.map} +2 -2
  24. package/dist/lib/node-esm/{chunk-DN522SAP.mjs → chunk-PHP7MCAY.mjs} +2 -2
  25. package/dist/lib/node-esm/{chunk-RHF2ALML.mjs → chunk-TM2ASOZA.mjs} +1 -1
  26. package/dist/lib/node-esm/{chunk-RHF2ALML.mjs.map → chunk-TM2ASOZA.mjs.map} +1 -1
  27. package/dist/lib/node-esm/{chunk-Q3JKLPTW.mjs → chunk-Y7PCJ34K.mjs} +420 -402
  28. package/dist/lib/node-esm/chunk-Y7PCJ34K.mjs.map +7 -0
  29. package/dist/lib/node-esm/index.mjs +5 -5
  30. package/dist/lib/node-esm/{intent-resolver-YMN5SXNC.mjs → intent-resolver-P4XPIKQF.mjs} +2 -2
  31. package/dist/lib/{browser/intent-resolver-3O33MMP5.mjs.map → node-esm/intent-resolver-P4XPIKQF.mjs.map} +2 -2
  32. package/dist/lib/node-esm/meta.json +1 -1
  33. package/dist/lib/node-esm/{react-surface-57TSIDR2.mjs → react-surface-EZUPNHUC.mjs} +5 -5
  34. package/dist/lib/node-esm/{transcriber-GPBV52ZR.mjs → transcriber-3SX3DNLV.mjs} +4 -4
  35. package/dist/lib/node-esm/transcriber-3SX3DNLV.mjs.map +7 -0
  36. package/dist/lib/node-esm/types/index.mjs +1 -1
  37. package/dist/types/src/capabilities/capabilities.d.ts +1 -1
  38. package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
  39. package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
  40. package/dist/types/src/capabilities/transcriber.d.ts.map +1 -1
  41. package/dist/types/src/components/Transcript/Transcript.d.ts.map +1 -1
  42. package/dist/types/src/components/Transcript/Transcript.stories.d.ts.map +1 -1
  43. package/dist/types/src/components/TranscriptContainer.d.ts +1 -1
  44. package/dist/types/src/components/TranscriptContainer.d.ts.map +1 -1
  45. package/dist/types/src/components/index.d.ts +1 -1
  46. package/dist/types/src/components/index.d.ts.map +1 -1
  47. package/dist/types/src/components/stories/FileTranscription.stories.d.ts.map +1 -1
  48. package/dist/types/src/components/stories/KeyWordRecognition.stories.d.ts +1 -1
  49. package/dist/types/src/components/stories/KeyWordRecognition.stories.d.ts.map +1 -1
  50. package/dist/types/src/components/stories/MicrophoneTranscription.stories.d.ts.map +1 -1
  51. package/dist/types/src/hooks/useVoiceInput.d.ts.map +1 -1
  52. package/dist/types/src/segments-normalization/normalization.d.ts +159 -66
  53. package/dist/types/src/segments-normalization/normalization.d.ts.map +1 -1
  54. package/dist/types/src/testing/testing.d.ts +1 -1
  55. package/dist/types/src/testing/testing.d.ts.map +1 -1
  56. package/dist/types/src/transcriber/index.d.ts +1 -1
  57. package/dist/types/src/transcriber/index.d.ts.map +1 -1
  58. package/dist/types/src/transcriber/media-stream-recorder.d.ts +1 -1
  59. package/dist/types/src/transcriber/media-stream-recorder.d.ts.map +1 -1
  60. package/dist/types/src/transcriber/transcriber.d.ts +1 -1
  61. package/dist/types/src/transcriber/transcriber.d.ts.map +1 -1
  62. package/dist/types/src/types/types.d.ts.map +1 -1
  63. package/dist/types/tsconfig.tsbuildinfo +1 -1
  64. package/package.json +55 -53
  65. package/src/capabilities/capabilities.ts +3 -3
  66. package/src/capabilities/intent-resolver.ts +2 -2
  67. package/src/capabilities/transcriber.ts +3 -2
  68. package/src/components/Transcript/Transcript.stories.tsx +3 -2
  69. package/src/components/Transcript/Transcript.tsx +5 -4
  70. package/src/components/Transcript/deprecated/OldTranscript.tsx +2 -2
  71. package/src/components/Transcript/transcript-extension.ts +2 -2
  72. package/src/components/TranscriptContainer.tsx +4 -3
  73. package/src/components/stories/FileTranscription.stories.tsx +22 -18
  74. package/src/components/stories/KeyWordRecognition.stories.tsx +1 -1
  75. package/src/components/stories/MicrophoneTranscription.stories.tsx +17 -14
  76. package/src/hooks/useVoiceInput.ts +3 -2
  77. package/src/model/model.test.ts +9 -9
  78. package/src/segments-normalization/message-normalizer.ts +1 -1
  79. package/src/segments-normalization/normalization.test.ts +19 -21
  80. package/src/segments-normalization/normalization.ts +54 -45
  81. package/src/testing/testing.ts +11 -11
  82. package/src/transcriber/index.ts +1 -1
  83. package/src/transcriber/media-stream-recorder.ts +1 -1
  84. package/src/transcriber/transcriber.browser.test.ts +4 -3
  85. package/src/transcriber/transcriber.ts +5 -7
  86. package/src/transcriber/transcription-manager.ts +3 -3
  87. package/src/types/types.ts +2 -1
  88. package/dist/lib/browser/chunk-F2WY3YTD.mjs.map +0 -7
  89. package/dist/lib/browser/chunk-VDKDOZRR.mjs.map +0 -7
  90. package/dist/lib/browser/transcriber-YVOTUBKQ.mjs.map +0 -7
  91. package/dist/lib/node-esm/chunk-HSCG4XPR.mjs.map +0 -7
  92. package/dist/lib/node-esm/chunk-Q3JKLPTW.mjs.map +0 -7
  93. package/dist/lib/node-esm/transcriber-GPBV52ZR.mjs.map +0 -7
  94. /package/dist/lib/browser/{TranscriptContainer-E5NBJPAY.mjs.map → TranscriptContainer-FH7VAWYA.mjs.map} +0 -0
  95. /package/dist/lib/browser/{chunk-EQBICGOD.mjs.map → chunk-UKUSJTQW.mjs.map} +0 -0
  96. /package/dist/lib/browser/{react-surface-FJTMNF3K.mjs.map → react-surface-4MEJMKYQ.mjs.map} +0 -0
  97. /package/dist/lib/node-esm/{TranscriptContainer-UOS7JG72.mjs.map → TranscriptContainer-GEUOOYHX.mjs.map} +0 -0
  98. /package/dist/lib/node-esm/{chunk-DN522SAP.mjs.map → chunk-PHP7MCAY.mjs.map} +0 -0
  99. /package/dist/lib/node-esm/{react-surface-57TSIDR2.mjs.map → react-surface-EZUPNHUC.mjs.map} +0 -0
@@ -1,6 +1,7 @@
1
1
  import { Schema } from 'effect';
2
2
  declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").obj<Schema.Struct<{
3
3
  id: import("@dxos/keys").ObjectIdClass;
4
+ parentMessage: import("effect/Schema").optional<import("@dxos/keys").ObjectIdClass>;
4
5
  created: import("effect/Schema").SchemaClass<string, string, never>;
5
6
  sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
6
7
  contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
@@ -9,9 +10,9 @@ declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").obj<Sc
9
10
  nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
10
11
  image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
11
12
  organization: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
12
- description?: string | undefined;
13
13
  id: string;
14
14
  name?: string | undefined;
15
+ description?: string | undefined;
15
16
  status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
16
17
  image?: string | undefined;
17
18
  website?: string | undefined;
@@ -47,7 +48,7 @@ declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").obj<Sc
47
48
  label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
48
49
  value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
49
50
  }>>>>;
50
- birthday: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").SchemaClass<string, string, never>>>;
51
+ birthday: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
51
52
  fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
52
53
  category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
53
54
  label: typeof import("effect/Schema").String;
@@ -60,22 +61,17 @@ declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").obj<Sc
60
61
  name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
61
62
  role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
62
63
  }>>;
63
- blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
64
+ blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
64
65
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
65
- }>, import("effect/Schema").Struct<{
66
- type: import("effect/Schema").Literal<["text"]>;
67
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
68
- text: typeof import("effect/Schema").String;
69
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
66
+ objectId: import("@dxos/keys").ObjectIdClass;
67
+ version: typeof import("effect/Schema").Unknown;
68
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
70
69
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
71
- }>, import("effect/Schema").Struct<{
72
- type: import("effect/Schema").Literal<["json"]>;
73
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
74
- data: typeof import("effect/Schema").String;
75
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
70
+ url: typeof import("effect/Schema").String;
71
+ name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
72
+ mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
73
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
76
74
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
77
- }>, import("effect/Schema").Struct<{
78
- type: import("effect/Schema").Literal<["image"]>;
79
75
  id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
80
76
  source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
81
77
  type: import("effect/Schema").Literal<["base64"]>;
@@ -85,21 +81,56 @@ declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").obj<Sc
85
81
  type: import("effect/Schema").Literal<["http"]>;
86
82
  url: typeof import("effect/Schema").String;
87
83
  }>>]>>;
88
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
84
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
85
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
86
+ disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
87
+ data: typeof import("effect/Schema").String;
88
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
89
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
90
+ text: typeof import("effect/Schema").String;
91
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
92
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
93
+ reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
94
+ redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
95
+ signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
96
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
89
97
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
90
- }>, import("effect/Schema").Struct<{
91
- type: import("effect/Schema").Literal<["reference"]>;
92
98
  reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
93
99
  [x: string]: any;
94
100
  id: string;
95
101
  }, never>>;
96
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
102
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
103
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
104
+ options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
105
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
106
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
107
+ statusText: typeof import("effect/Schema").String;
108
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
109
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
110
+ text: typeof import("effect/Schema").String;
111
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
112
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
113
+ mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
114
+ text: typeof import("effect/Schema").String;
115
+ disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
116
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolkit", {
117
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
118
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
119
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
120
+ toolCallId: typeof import("effect/Schema").String;
121
+ name: typeof import("effect/Schema").String;
122
+ input: typeof import("effect/Schema").Unknown;
123
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
124
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
125
+ toolCallId: typeof import("effect/Schema").String;
126
+ name: typeof import("effect/Schema").String;
127
+ result: typeof import("effect/Schema").Unknown;
128
+ error: import("effect/Schema").optional<typeof import("effect/Schema").String>;
129
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
97
130
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
98
- }>, import("effect/Schema").Struct<{
99
- type: import("effect/Schema").Literal<["transcription"]>;
100
131
  started: typeof import("effect/Schema").String;
101
132
  text: typeof import("effect/Schema").String;
102
- }>>>]>>>;
133
+ }>>]>>>;
103
134
  properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
104
135
  }>>, Schema.Struct<{
105
136
  rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
@@ -109,6 +140,7 @@ export interface MessageWithRangeId extends Schema.Schema.Type<typeof MessageWit
109
140
  export declare const NormalizationInput: Schema.Struct<{
110
141
  messages: Schema.Array$<Schema.extend<import("@dxos/echo/Type").obj<Schema.Struct<{
111
142
  id: import("@dxos/keys").ObjectIdClass;
143
+ parentMessage: import("effect/Schema").optional<import("@dxos/keys").ObjectIdClass>;
112
144
  created: import("effect/Schema").SchemaClass<string, string, never>;
113
145
  sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
114
146
  contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
@@ -117,9 +149,9 @@ export declare const NormalizationInput: Schema.Struct<{
117
149
  nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
118
150
  image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
119
151
  organization: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
120
- description?: string | undefined;
121
152
  id: string;
122
153
  name?: string | undefined;
154
+ description?: string | undefined;
123
155
  status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
124
156
  image?: string | undefined;
125
157
  website?: string | undefined;
@@ -155,7 +187,7 @@ export declare const NormalizationInput: Schema.Struct<{
155
187
  label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
156
188
  value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
157
189
  }>>>>;
158
- birthday: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").SchemaClass<string, string, never>>>;
190
+ birthday: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
159
191
  fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
160
192
  category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
161
193
  label: typeof import("effect/Schema").String;
@@ -168,22 +200,17 @@ export declare const NormalizationInput: Schema.Struct<{
168
200
  name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
169
201
  role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
170
202
  }>>;
171
- blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
203
+ blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
172
204
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
173
- }>, import("effect/Schema").Struct<{
174
- type: import("effect/Schema").Literal<["text"]>;
175
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
176
- text: typeof import("effect/Schema").String;
177
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
205
+ objectId: import("@dxos/keys").ObjectIdClass;
206
+ version: typeof import("effect/Schema").Unknown;
207
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
178
208
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
179
- }>, import("effect/Schema").Struct<{
180
- type: import("effect/Schema").Literal<["json"]>;
181
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
182
- data: typeof import("effect/Schema").String;
183
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
209
+ url: typeof import("effect/Schema").String;
210
+ name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
211
+ mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
212
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
184
213
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
185
- }>, import("effect/Schema").Struct<{
186
- type: import("effect/Schema").Literal<["image"]>;
187
214
  id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
188
215
  source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
189
216
  type: import("effect/Schema").Literal<["base64"]>;
@@ -193,21 +220,56 @@ export declare const NormalizationInput: Schema.Struct<{
193
220
  type: import("effect/Schema").Literal<["http"]>;
194
221
  url: typeof import("effect/Schema").String;
195
222
  }>>]>>;
196
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
223
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
224
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
225
+ disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
226
+ data: typeof import("effect/Schema").String;
227
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
228
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
229
+ text: typeof import("effect/Schema").String;
230
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
231
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
232
+ reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
233
+ redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
234
+ signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
235
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
197
236
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
198
- }>, import("effect/Schema").Struct<{
199
- type: import("effect/Schema").Literal<["reference"]>;
200
237
  reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
201
238
  [x: string]: any;
202
239
  id: string;
203
240
  }, never>>;
204
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
241
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
242
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
243
+ options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
244
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
245
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
246
+ statusText: typeof import("effect/Schema").String;
247
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
248
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
249
+ text: typeof import("effect/Schema").String;
250
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
251
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
252
+ mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
253
+ text: typeof import("effect/Schema").String;
254
+ disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
255
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolkit", {
256
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
257
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
258
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
259
+ toolCallId: typeof import("effect/Schema").String;
260
+ name: typeof import("effect/Schema").String;
261
+ input: typeof import("effect/Schema").Unknown;
262
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
263
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
264
+ toolCallId: typeof import("effect/Schema").String;
265
+ name: typeof import("effect/Schema").String;
266
+ result: typeof import("effect/Schema").Unknown;
267
+ error: import("effect/Schema").optional<typeof import("effect/Schema").String>;
268
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
205
269
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
206
- }>, import("effect/Schema").Struct<{
207
- type: import("effect/Schema").Literal<["transcription"]>;
208
270
  started: typeof import("effect/Schema").String;
209
271
  text: typeof import("effect/Schema").String;
210
- }>>>]>>>;
272
+ }>>]>>>;
211
273
  properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
212
274
  }>>, Schema.Struct<{
213
275
  rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
@@ -218,6 +280,7 @@ export interface NormalizationInput extends Schema.Schema.Type<typeof Normalizat
218
280
  export declare const NormalizationOutput: Schema.Struct<{
219
281
  sentences: Schema.mutable<Schema.Array$<Schema.mutable<Schema.extend<import("@dxos/echo/Type").obj<Schema.Struct<{
220
282
  id: import("@dxos/keys").ObjectIdClass;
283
+ parentMessage: import("effect/Schema").optional<import("@dxos/keys").ObjectIdClass>;
221
284
  created: import("effect/Schema").SchemaClass<string, string, never>;
222
285
  sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
223
286
  contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
@@ -226,9 +289,9 @@ export declare const NormalizationOutput: Schema.Struct<{
226
289
  nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
227
290
  image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
228
291
  organization: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
229
- description?: string | undefined;
230
292
  id: string;
231
293
  name?: string | undefined;
294
+ description?: string | undefined;
232
295
  status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
233
296
  image?: string | undefined;
234
297
  website?: string | undefined;
@@ -264,7 +327,7 @@ export declare const NormalizationOutput: Schema.Struct<{
264
327
  label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
265
328
  value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
266
329
  }>>>>;
267
- birthday: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").SchemaClass<string, string, never>>>;
330
+ birthday: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
268
331
  fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
269
332
  category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
270
333
  label: typeof import("effect/Schema").String;
@@ -277,22 +340,17 @@ export declare const NormalizationOutput: Schema.Struct<{
277
340
  name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
278
341
  role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
279
342
  }>>;
280
- blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
343
+ blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
281
344
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
282
- }>, import("effect/Schema").Struct<{
283
- type: import("effect/Schema").Literal<["text"]>;
284
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
285
- text: typeof import("effect/Schema").String;
286
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
345
+ objectId: import("@dxos/keys").ObjectIdClass;
346
+ version: typeof import("effect/Schema").Unknown;
347
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
287
348
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
288
- }>, import("effect/Schema").Struct<{
289
- type: import("effect/Schema").Literal<["json"]>;
290
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
291
- data: typeof import("effect/Schema").String;
292
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
349
+ url: typeof import("effect/Schema").String;
350
+ name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
351
+ mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
352
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
293
353
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
294
- }>, import("effect/Schema").Struct<{
295
- type: import("effect/Schema").Literal<["image"]>;
296
354
  id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
297
355
  source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
298
356
  type: import("effect/Schema").Literal<["base64"]>;
@@ -302,21 +360,56 @@ export declare const NormalizationOutput: Schema.Struct<{
302
360
  type: import("effect/Schema").Literal<["http"]>;
303
361
  url: typeof import("effect/Schema").String;
304
362
  }>>]>>;
305
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
363
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
364
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
365
+ disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
366
+ data: typeof import("effect/Schema").String;
367
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
368
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
369
+ text: typeof import("effect/Schema").String;
370
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
371
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
372
+ reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
373
+ redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
374
+ signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
375
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
306
376
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
307
- }>, import("effect/Schema").Struct<{
308
- type: import("effect/Schema").Literal<["reference"]>;
309
377
  reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
310
378
  [x: string]: any;
311
379
  id: string;
312
380
  }, never>>;
313
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
381
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
382
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
383
+ options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
384
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
385
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
386
+ statusText: typeof import("effect/Schema").String;
387
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
388
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
389
+ text: typeof import("effect/Schema").String;
390
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
391
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
392
+ mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
393
+ text: typeof import("effect/Schema").String;
394
+ disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
395
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolkit", {
396
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
397
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
398
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
399
+ toolCallId: typeof import("effect/Schema").String;
400
+ name: typeof import("effect/Schema").String;
401
+ input: typeof import("effect/Schema").Unknown;
402
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
403
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
404
+ toolCallId: typeof import("effect/Schema").String;
405
+ name: typeof import("effect/Schema").String;
406
+ result: typeof import("effect/Schema").Unknown;
407
+ error: import("effect/Schema").optional<typeof import("effect/Schema").String>;
408
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
314
409
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
315
- }>, import("effect/Schema").Struct<{
316
- type: import("effect/Schema").Literal<["transcription"]>;
317
410
  started: typeof import("effect/Schema").String;
318
411
  text: typeof import("effect/Schema").String;
319
- }>>>]>>>;
412
+ }>>]>>>;
320
413
  properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
321
414
  }>>, Schema.Struct<{
322
415
  rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
@@ -1 +1 @@
1
- {"version":3,"file":"normalization.d.ts","sourceRoot":"","sources":["../../../../src/segments-normalization/normalization.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAUhC,QAAA,MAAM,kBAAkB;;;;;;;;;;2BA4F08d,CAAC;;oBAA8E,CAAC;sBAAgD,CAAC;qBAAkG,CAAC;uBAAiD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GApFvve,CAAC;AAEF,MAAM,WAAW,kBAAmB,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,kBAAkB,CAAC;CAAG;AAE5F,eAAO,MAAM,kBAAkB;;;;;;;;;;;+BAgFm8d,CAAC;;wBAA8E,CAAC;0BAAgD,CAAC;yBAAkG,CAAC;2BAAiD,CAAC;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAhFr9d,CAAC;AACH,MAAM,WAAW,kBAAmB,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,kBAAkB,CAAC;CAAG;AAE5F,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;wBA6E0rd,CAAC;+BAAqD,CAAC;0BAAgD,CAAC;yBAAkG,CAAC;2BAAiD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAzEr9d,CAAC;AACH,MAAM,WAAW,mBAAoB,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,mBAAmB,CAAC;CAAG;AAE9F,eAAO,MAAM,qBAAqB,uFAmChC,CAAC"}
@@ -24,7 +24,7 @@ export declare class MessageBuilder extends AbstractMessageBuilder {
24
24
  start: Date;
25
25
  constructor(_space?: Space | undefined);
26
26
  createMessage(numSegments?: number): Promise<DataType.Message>;
27
- createBlock(): DataType.MessageBlock.Transcription;
27
+ createBlock(): DataType.MessageBlock.Transcript;
28
28
  next(): Date;
29
29
  }
30
30
  type UseTestTranscriptionQueue = (space: Space | undefined, queueId?: Key.ObjectId, running?: boolean, interval?: number) => Queue<DataType.Message> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../src/testing/testing.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAOhC,OAAO,EAAU,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAEvD,OAAO,EAAE,KAAK,GAAG,EAAY,IAAI,EAAE,MAAM,YAAY,CAAC;AAMtD,OAAO,EAAY,KAAK,KAAK,EAAE,MAA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,KAAK,KAAK,EAAY,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAIxC,eAAO,MAAM,QAAQ;;;GAcpB,CAAC;AAGF,uBAAe,sBAAsB;IACnC,QAAQ,CAAC,aAAa,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC;CACxE;AAED;;GAEG;AACH,qBAAa,cAAe,SAAQ,sBAAsB;IAW5C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC;IAVpC,MAAM,CAAC,QAAQ,CAAC,SAAS,iBAAwB;IAEjD,KAAK;;;;QAID;IAEJ,KAAK,OAAgD;gBAExB,MAAM,CAAC,EAAE,KAAK,YAAA;IAI5B,aAAa,CAAC,WAAW,SAAI,GAAG,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC;IAQxE,WAAW,IAAI,QAAQ,CAAC,YAAY,CAAC,UAAU;IAkB/C,IAAI,IAAI,IAAI;CAIb;AAgDD,KAAK,yBAAyB,GAAG,CAC/B,KAAK,EAAE,KAAK,GAAG,SAAS,EACxB,OAAO,CAAC,EAAE,GAAG,CAAC,QAAQ,EACtB,OAAO,CAAC,EAAE,OAAO,EACjB,QAAQ,CAAC,EAAE,MAAM,KACd,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC;AAEzC;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,yBAyBvC,CAAC;AAEF;;GAEG;AAEH,eAAO,MAAM,6CAA6C,EAAE,yBAoC3D,CAAC"}
@@ -1,4 +1,4 @@
1
- export * from './audio-recorder';
1
+ export type * from './audio-recorder';
2
2
  export * from './media-stream-recorder';
3
3
  export * from './transcriber';
4
4
  export * from './transcription-manager';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/transcriber/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/transcriber/index.ts"],"names":[],"mappings":"AAIA,mBAAmB,kBAAkB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type WavConfig, type AudioChunk, type AudioRecorder } from './audio-recorder';
1
+ import { type AudioChunk, type AudioRecorder, type WavConfig } from './audio-recorder';
2
2
  export type MediaStreamRecorderParams = {
3
3
  mediaStreamTrack: MediaStreamTrack;
4
4
  config: {
@@ -1 +1 @@
1
- {"version":3,"file":"media-stream-recorder.d.ts","sourceRoot":"","sources":["../../../../src/transcriber/media-stream-recorder.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,UAAU,EAAE,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AASvF,MAAM,MAAM,yBAAyB,GAAG;IACtC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH,CAAC;AAEF;;;;GAIG;AACH,qBACa,mBAAoB,YAAW,aAAa;IACvD,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAmB;IACrD;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAsC;IAC9D,OAAO,CAAC,cAAc,CAAC,CAA6B;IACpD,OAAO,CAAC,OAAO,CAAC,CAAyB;IACzC,OAAO,CAAC,QAAQ,CAAC,CAA8B;gBAEnC,EAAE,gBAAgB,EAAE,MAAM,EAAE,EAAE,yBAAyB;IAKnE,IAAI,SAAS,IAAI,SAAS,CAOzB;IAED,IAAI,gBAAgB,qBAEnB;IAED,UAAU,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,GAAG,IAAI;IAIhD,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAkBtB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;YAQb,gBAAgB;CA2B/B"}
1
+ {"version":3,"file":"media-stream-recorder.d.ts","sourceRoot":"","sources":["../../../../src/transcriber/media-stream-recorder.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AASvF,MAAM,MAAM,yBAAyB,GAAG;IACtC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH,CAAC;AAEF;;;;GAIG;AACH,qBACa,mBAAoB,YAAW,aAAa;IACvD,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAmB;IACrD;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAsC;IAC9D,OAAO,CAAC,cAAc,CAAC,CAA6B;IACpD,OAAO,CAAC,OAAO,CAAC,CAAyB;IACzC,OAAO,CAAC,QAAQ,CAAC,CAA8B;gBAEnC,EAAE,gBAAgB,EAAE,MAAM,EAAE,EAAE,yBAAyB;IAKnE,IAAI,SAAS,IAAI,SAAS,CAOzB;IAED,IAAI,gBAAgB,qBAEnB;IAED,UAAU,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,GAAG,IAAI;IAIhD,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAkBtB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;YAQb,gBAAgB;CA2B/B"}
@@ -19,7 +19,7 @@ export type TranscriberParams = {
19
19
  * Callback to handle the transcribed segments, after all segment transformers are applied.
20
20
  * @param segments - The transcribed segments.
21
21
  */
22
- onSegments: (segments: DataType.MessageBlock.Transcription[]) => Promise<void>;
22
+ onSegments: (segments: DataType.MessageBlock.Transcript[]) => Promise<void>;
23
23
  };
24
24
  /**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AE,iBAAiB;cAOtC,KAAK,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;cAQlC,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAOhD,oBAAoB,IAAI,IAAI;IAS5B,mBAAmB,IAAI,IAAI;IAU3B,OAAO,CAAC,eAAe;YAgBT,WAAW;IAoBzB,OAAO,CAAC,cAAc;YAOR,iBAAiB;YAejB,mBAAmB;IA+BjC,OAAO,CAAC,cAAc;CAkCvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAElD,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAK1C;;GAEG;AAEH,eAAO,MAAM,iBAAiB,2CAA2C,CAAC;AAE1E,yBAAiB,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;IAGnC,MAAM,OAAO,MAAO,SAAQ,WAQ1B;KAAG;;CACN"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAIlD,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAI1C;;GAEG;AAEH,eAAO,MAAM,iBAAiB,2CAA2C,CAAC;AAE1E,yBAAiB,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;IAGnC,MAAM,OAAO,MAAO,SAAQ,WAQ1B;KAAG;;CACN"}