@dxos/plugin-transcription 0.8.3 → 0.8.4-main.c1de068

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 (124) hide show
  1. package/dist/lib/browser/TranscriptContainer-6WCKCXQ6.mjs +11 -0
  2. package/dist/lib/browser/{chunk-UDCCT32F.mjs → chunk-4FJIYH7T.mjs} +3 -3
  3. package/dist/lib/browser/{chunk-53AXUEIQ.mjs → chunk-5KPYIC3N.mjs} +34 -35
  4. package/dist/lib/browser/chunk-5KPYIC3N.mjs.map +7 -0
  5. package/dist/lib/browser/{chunk-GOF7MJNV.mjs → chunk-5WH45KBY.mjs} +2 -2
  6. package/dist/lib/browser/{chunk-IQ5ZRMHZ.mjs → chunk-FFEPEPCU.mjs} +12 -12
  7. package/dist/lib/browser/chunk-FFEPEPCU.mjs.map +7 -0
  8. package/dist/lib/browser/{chunk-OSISJM2F.mjs → chunk-R7INNNUQ.mjs} +4 -4
  9. package/dist/lib/browser/{chunk-W2KNYJD6.mjs → chunk-U6QBOGTN.mjs} +3 -3
  10. package/dist/lib/browser/{chunk-W2KNYJD6.mjs.map → chunk-U6QBOGTN.mjs.map} +1 -1
  11. package/dist/lib/browser/index.mjs +12 -12
  12. package/dist/lib/browser/index.mjs.map +3 -3
  13. package/dist/lib/browser/{intent-resolver-BGADCHVM.mjs → intent-resolver-3O33MMP5.mjs} +4 -4
  14. package/dist/lib/browser/meta.json +1 -1
  15. package/dist/lib/browser/{react-surface-HMJS5FSS.mjs → react-surface-E5D5AE3F.mjs} +7 -7
  16. package/dist/lib/browser/{transcriber-OYPLZFG5.mjs → transcriber-PXT4QBFY.mjs} +6 -6
  17. package/dist/lib/browser/types/index.mjs +2 -2
  18. package/dist/lib/node-esm/{TranscriptContainer-G75LDEO5.mjs → TranscriptContainer-VBAOM5DG.mjs} +4 -4
  19. package/dist/lib/node-esm/{chunk-PRL64SRU.mjs → chunk-HT3W7LDP.mjs} +12 -12
  20. package/dist/lib/node-esm/chunk-HT3W7LDP.mjs.map +7 -0
  21. package/dist/lib/node-esm/{chunk-MFJPEIVB.mjs → chunk-RHF2ALML.mjs} +3 -3
  22. package/dist/lib/node-esm/{chunk-MFJPEIVB.mjs.map → chunk-RHF2ALML.mjs.map} +1 -1
  23. package/dist/lib/node-esm/{chunk-56QHOX4A.mjs → chunk-TJKAO7VR.mjs} +34 -35
  24. package/dist/lib/node-esm/chunk-TJKAO7VR.mjs.map +7 -0
  25. package/dist/lib/node-esm/{chunk-FH75X4JC.mjs → chunk-U65ZWK3L.mjs} +4 -4
  26. package/dist/lib/node-esm/{chunk-TXMDLLBR.mjs → chunk-XMUCZBP3.mjs} +2 -2
  27. package/dist/lib/node-esm/{chunk-MFJO7EKD.mjs → chunk-Y2B4HWSS.mjs} +3 -3
  28. package/dist/lib/node-esm/index.mjs +12 -12
  29. package/dist/lib/node-esm/index.mjs.map +3 -3
  30. package/dist/lib/node-esm/{intent-resolver-5LVCYSJS.mjs → intent-resolver-YMN5SXNC.mjs} +4 -4
  31. package/dist/lib/node-esm/meta.json +1 -1
  32. package/dist/lib/node-esm/{react-surface-JGQSYGRR.mjs → react-surface-QRDJOHN5.mjs} +7 -7
  33. package/dist/lib/node-esm/{transcriber-TVG2MBBN.mjs → transcriber-YUTEVANE.mjs} +6 -6
  34. package/dist/lib/node-esm/types/index.mjs +2 -2
  35. package/dist/types/src/capabilities/capabilities.d.ts +2 -2
  36. package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
  37. package/dist/types/src/components/Transcript/Transcript.stories.d.ts +1 -1
  38. package/dist/types/src/components/Transcript/Transcript.stories.d.ts.map +1 -1
  39. package/dist/types/src/components/TranscriptContainer.d.ts +4 -3
  40. package/dist/types/src/components/TranscriptContainer.d.ts.map +1 -1
  41. package/dist/types/src/components/index.d.ts +1 -4
  42. package/dist/types/src/components/index.d.ts.map +1 -1
  43. package/dist/types/src/components/stories/FileTranscription.stories.d.ts +1 -1
  44. package/dist/types/src/components/stories/FileTranscription.stories.d.ts.map +1 -1
  45. package/dist/types/src/components/stories/KeyWordRecognition.stories.d.ts +1 -1
  46. package/dist/types/src/components/stories/KeyWordRecognition.stories.d.ts.map +1 -1
  47. package/dist/types/src/components/stories/MicrophoneTranscription.stories.d.ts +1 -1
  48. package/dist/types/src/components/stories/MicrophoneTranscription.stories.d.ts.map +1 -1
  49. package/dist/types/src/hooks/useTranscriber.d.ts +1 -1
  50. package/dist/types/src/segments-normalization/normalization.d.ts +150 -63
  51. package/dist/types/src/segments-normalization/normalization.d.ts.map +1 -1
  52. package/dist/types/src/testing/testing.d.ts +2 -2
  53. package/dist/types/src/testing/testing.d.ts.map +1 -1
  54. package/dist/types/src/transcriber/index.d.ts +1 -1
  55. package/dist/types/src/transcriber/index.d.ts.map +1 -1
  56. package/dist/types/src/transcriber/transcriber.d.ts +1 -1
  57. package/dist/types/src/transcriber/transcriber.d.ts.map +1 -1
  58. package/dist/types/src/translations.d.ts +11 -11
  59. package/dist/types/src/translations.d.ts.map +1 -1
  60. package/dist/types/tsconfig.tsbuildinfo +1 -1
  61. package/package.json +57 -57
  62. package/src/TranscriptionPlugin.tsx +1 -1
  63. package/src/capabilities/capabilities.ts +2 -2
  64. package/src/components/Transcript/Transcript.stories.tsx +2 -2
  65. package/src/components/Transcript/Transcript.tsx +2 -2
  66. package/src/components/Transcript/transcript-extension.ts +2 -2
  67. package/src/components/TranscriptContainer.tsx +8 -3
  68. package/src/components/stories/FileTranscription.stories.tsx +16 -13
  69. package/src/components/stories/KeyWordRecognition.stories.tsx +1 -1
  70. package/src/components/stories/MicrophoneTranscription.stories.tsx +11 -9
  71. package/src/hooks/useTranscriber.ts +5 -5
  72. package/src/model/model.test.ts +8 -8
  73. package/src/segments-normalization/normalization.test.ts +18 -20
  74. package/src/segments-normalization/normalization.ts +19 -10
  75. package/src/testing/testing.ts +10 -10
  76. package/src/transcriber/index.ts +1 -1
  77. package/src/transcriber/transcriber.browser.test.ts +2 -2
  78. package/src/transcriber/transcriber.ts +3 -6
  79. package/src/transcriber/transcription-manager.ts +3 -3
  80. package/src/translations.ts +6 -4
  81. package/dist/lib/browser/TranscriptContainer-H3AZQ4CQ.mjs +0 -11
  82. package/dist/lib/browser/chunk-53AXUEIQ.mjs.map +0 -7
  83. package/dist/lib/browser/chunk-IQ5ZRMHZ.mjs.map +0 -7
  84. package/dist/lib/node/TranscriptContainer-KIG3GMAB.cjs +0 -32
  85. package/dist/lib/node/TranscriptContainer-KIG3GMAB.cjs.map +0 -7
  86. package/dist/lib/node/chunk-3PYT3BDM.cjs +0 -40
  87. package/dist/lib/node/chunk-3PYT3BDM.cjs.map +0 -7
  88. package/dist/lib/node/chunk-6LW5RA3K.cjs +0 -75
  89. package/dist/lib/node/chunk-6LW5RA3K.cjs.map +0 -7
  90. package/dist/lib/node/chunk-AFUZI63A.cjs +0 -42
  91. package/dist/lib/node/chunk-AFUZI63A.cjs.map +0 -7
  92. package/dist/lib/node/chunk-CVUN3UO7.cjs +0 -778
  93. package/dist/lib/node/chunk-CVUN3UO7.cjs.map +0 -7
  94. package/dist/lib/node/chunk-FKDJNJ57.cjs +0 -35
  95. package/dist/lib/node/chunk-FKDJNJ57.cjs.map +0 -7
  96. package/dist/lib/node/chunk-ZFAUMZXE.cjs +0 -518
  97. package/dist/lib/node/chunk-ZFAUMZXE.cjs.map +0 -7
  98. package/dist/lib/node/index.cjs +0 -133
  99. package/dist/lib/node/index.cjs.map +0 -7
  100. package/dist/lib/node/intent-resolver-LL3TTI4H.cjs +0 -45
  101. package/dist/lib/node/intent-resolver-LL3TTI4H.cjs.map +0 -7
  102. package/dist/lib/node/meta.json +0 -1
  103. package/dist/lib/node/react-surface-N25TBBG4.cjs +0 -56
  104. package/dist/lib/node/react-surface-N25TBBG4.cjs.map +0 -7
  105. package/dist/lib/node/transcriber-6J4FVFSZ.cjs +0 -68
  106. package/dist/lib/node/transcriber-6J4FVFSZ.cjs.map +0 -7
  107. package/dist/lib/node/types/index.cjs +0 -36
  108. package/dist/lib/node/types/index.cjs.map +0 -7
  109. package/dist/lib/node-esm/chunk-56QHOX4A.mjs.map +0 -7
  110. package/dist/lib/node-esm/chunk-PRL64SRU.mjs.map +0 -7
  111. /package/dist/lib/browser/{TranscriptContainer-H3AZQ4CQ.mjs.map → TranscriptContainer-6WCKCXQ6.mjs.map} +0 -0
  112. /package/dist/lib/browser/{chunk-UDCCT32F.mjs.map → chunk-4FJIYH7T.mjs.map} +0 -0
  113. /package/dist/lib/browser/{chunk-GOF7MJNV.mjs.map → chunk-5WH45KBY.mjs.map} +0 -0
  114. /package/dist/lib/browser/{chunk-OSISJM2F.mjs.map → chunk-R7INNNUQ.mjs.map} +0 -0
  115. /package/dist/lib/browser/{intent-resolver-BGADCHVM.mjs.map → intent-resolver-3O33MMP5.mjs.map} +0 -0
  116. /package/dist/lib/browser/{react-surface-HMJS5FSS.mjs.map → react-surface-E5D5AE3F.mjs.map} +0 -0
  117. /package/dist/lib/browser/{transcriber-OYPLZFG5.mjs.map → transcriber-PXT4QBFY.mjs.map} +0 -0
  118. /package/dist/lib/node-esm/{TranscriptContainer-G75LDEO5.mjs.map → TranscriptContainer-VBAOM5DG.mjs.map} +0 -0
  119. /package/dist/lib/node-esm/{chunk-FH75X4JC.mjs.map → chunk-U65ZWK3L.mjs.map} +0 -0
  120. /package/dist/lib/node-esm/{chunk-TXMDLLBR.mjs.map → chunk-XMUCZBP3.mjs.map} +0 -0
  121. /package/dist/lib/node-esm/{chunk-MFJO7EKD.mjs.map → chunk-Y2B4HWSS.mjs.map} +0 -0
  122. /package/dist/lib/node-esm/{intent-resolver-5LVCYSJS.mjs.map → intent-resolver-YMN5SXNC.mjs.map} +0 -0
  123. /package/dist/lib/node-esm/{react-surface-JGQSYGRR.mjs.map → react-surface-QRDJOHN5.mjs.map} +0 -0
  124. /package/dist/lib/node-esm/{transcriber-TVG2MBBN.mjs.map → transcriber-YUTEVANE.mjs.map} +0 -0
@@ -9,9 +9,9 @@ declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").obj<Sc
9
9
  nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
10
10
  image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
11
11
  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
12
  id: string;
14
13
  name?: string | undefined;
14
+ description?: string | undefined;
15
15
  status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
16
16
  image?: string | undefined;
17
17
  website?: string | undefined;
@@ -60,22 +60,17 @@ declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").obj<Sc
60
60
  name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
61
61
  role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
62
62
  }>>;
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<{
63
+ blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
64
64
  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<{
65
+ objectId: import("@dxos/keys").ObjectIdClass;
66
+ version: typeof import("effect/Schema").Unknown;
67
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
70
68
  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<{
69
+ url: typeof import("effect/Schema").String;
70
+ name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
71
+ mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
72
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
76
73
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
77
- }>, import("effect/Schema").Struct<{
78
- type: import("effect/Schema").Literal<["image"]>;
79
74
  id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
80
75
  source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
81
76
  type: import("effect/Schema").Literal<["base64"]>;
@@ -85,21 +80,55 @@ declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").obj<Sc
85
80
  type: import("effect/Schema").Literal<["http"]>;
86
81
  url: typeof import("effect/Schema").String;
87
82
  }>>]>>;
88
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
83
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
84
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
85
+ disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
86
+ data: typeof import("effect/Schema").String;
87
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
88
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
89
+ text: typeof import("effect/Schema").String;
90
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
91
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
92
+ reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
93
+ redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
94
+ signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
95
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
89
96
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
90
- }>, import("effect/Schema").Struct<{
91
- type: import("effect/Schema").Literal<["reference"]>;
92
97
  reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
93
98
  [x: string]: any;
94
99
  id: string;
95
100
  }, never>>;
96
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
101
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
102
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
103
+ options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
104
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
105
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
106
+ statusText: typeof import("effect/Schema").String;
107
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
108
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
109
+ text: typeof import("effect/Schema").String;
110
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
111
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
112
+ mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
113
+ text: typeof import("effect/Schema").String;
114
+ disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
115
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
116
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
117
+ toolCallId: typeof import("effect/Schema").String;
118
+ name: typeof import("effect/Schema").String;
119
+ input: typeof import("effect/Schema").Unknown;
120
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolList", {
121
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
122
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
123
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
124
+ toolCallId: typeof import("effect/Schema").String;
125
+ name: typeof import("effect/Schema").String;
126
+ result: typeof import("effect/Schema").Unknown;
127
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
97
128
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
98
- }>, import("effect/Schema").Struct<{
99
- type: import("effect/Schema").Literal<["transcription"]>;
100
129
  started: typeof import("effect/Schema").String;
101
130
  text: typeof import("effect/Schema").String;
102
- }>>>]>>>;
131
+ }>>]>>>;
103
132
  properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
104
133
  }>>, Schema.Struct<{
105
134
  rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
@@ -117,9 +146,9 @@ export declare const NormalizationInput: Schema.Struct<{
117
146
  nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
118
147
  image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
119
148
  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
149
  id: string;
122
150
  name?: string | undefined;
151
+ description?: string | undefined;
123
152
  status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
124
153
  image?: string | undefined;
125
154
  website?: string | undefined;
@@ -168,22 +197,17 @@ export declare const NormalizationInput: Schema.Struct<{
168
197
  name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
169
198
  role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
170
199
  }>>;
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<{
200
+ blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
172
201
  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<{
202
+ objectId: import("@dxos/keys").ObjectIdClass;
203
+ version: typeof import("effect/Schema").Unknown;
204
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
178
205
  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<{
206
+ url: typeof import("effect/Schema").String;
207
+ name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
208
+ mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
209
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
184
210
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
185
- }>, import("effect/Schema").Struct<{
186
- type: import("effect/Schema").Literal<["image"]>;
187
211
  id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
188
212
  source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
189
213
  type: import("effect/Schema").Literal<["base64"]>;
@@ -193,21 +217,55 @@ export declare const NormalizationInput: Schema.Struct<{
193
217
  type: import("effect/Schema").Literal<["http"]>;
194
218
  url: typeof import("effect/Schema").String;
195
219
  }>>]>>;
196
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
220
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
221
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
222
+ disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
223
+ data: typeof import("effect/Schema").String;
224
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
225
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
226
+ text: typeof import("effect/Schema").String;
227
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
228
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
229
+ reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
230
+ redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
231
+ signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
232
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
197
233
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
198
- }>, import("effect/Schema").Struct<{
199
- type: import("effect/Schema").Literal<["reference"]>;
200
234
  reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
201
235
  [x: string]: any;
202
236
  id: string;
203
237
  }, never>>;
204
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
238
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
239
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
240
+ options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
241
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
242
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
243
+ statusText: typeof import("effect/Schema").String;
244
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
245
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
246
+ text: typeof import("effect/Schema").String;
247
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
248
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
249
+ mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
250
+ text: typeof import("effect/Schema").String;
251
+ disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
252
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
253
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
254
+ toolCallId: typeof import("effect/Schema").String;
255
+ name: typeof import("effect/Schema").String;
256
+ input: typeof import("effect/Schema").Unknown;
257
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolList", {
258
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
259
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
260
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
261
+ toolCallId: typeof import("effect/Schema").String;
262
+ name: typeof import("effect/Schema").String;
263
+ result: typeof import("effect/Schema").Unknown;
264
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
205
265
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
206
- }>, import("effect/Schema").Struct<{
207
- type: import("effect/Schema").Literal<["transcription"]>;
208
266
  started: typeof import("effect/Schema").String;
209
267
  text: typeof import("effect/Schema").String;
210
- }>>>]>>>;
268
+ }>>]>>>;
211
269
  properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
212
270
  }>>, Schema.Struct<{
213
271
  rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
@@ -226,9 +284,9 @@ export declare const NormalizationOutput: Schema.Struct<{
226
284
  nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
227
285
  image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
228
286
  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
287
  id: string;
231
288
  name?: string | undefined;
289
+ description?: string | undefined;
232
290
  status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
233
291
  image?: string | undefined;
234
292
  website?: string | undefined;
@@ -277,22 +335,17 @@ export declare const NormalizationOutput: Schema.Struct<{
277
335
  name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
278
336
  role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
279
337
  }>>;
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<{
338
+ blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
281
339
  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<{
340
+ objectId: import("@dxos/keys").ObjectIdClass;
341
+ version: typeof import("effect/Schema").Unknown;
342
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
287
343
  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<{
344
+ url: typeof import("effect/Schema").String;
345
+ name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
346
+ mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
347
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
293
348
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
294
- }>, import("effect/Schema").Struct<{
295
- type: import("effect/Schema").Literal<["image"]>;
296
349
  id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
297
350
  source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
298
351
  type: import("effect/Schema").Literal<["base64"]>;
@@ -302,21 +355,55 @@ export declare const NormalizationOutput: Schema.Struct<{
302
355
  type: import("effect/Schema").Literal<["http"]>;
303
356
  url: typeof import("effect/Schema").String;
304
357
  }>>]>>;
305
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
358
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
359
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
360
+ disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
361
+ data: typeof import("effect/Schema").String;
362
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
363
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
364
+ text: typeof import("effect/Schema").String;
365
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
366
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
367
+ reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
368
+ redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
369
+ signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
370
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
306
371
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
307
- }>, import("effect/Schema").Struct<{
308
- type: import("effect/Schema").Literal<["reference"]>;
309
372
  reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
310
373
  [x: string]: any;
311
374
  id: string;
312
375
  }, never>>;
313
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
376
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
377
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
378
+ options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
379
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
380
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
381
+ statusText: typeof import("effect/Schema").String;
382
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
383
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
384
+ text: typeof import("effect/Schema").String;
385
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
386
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
387
+ mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
388
+ text: typeof import("effect/Schema").String;
389
+ disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
390
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
391
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
392
+ toolCallId: typeof import("effect/Schema").String;
393
+ name: typeof import("effect/Schema").String;
394
+ input: typeof import("effect/Schema").Unknown;
395
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolList", {
396
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
397
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
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
+ result: typeof import("effect/Schema").Unknown;
402
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
314
403
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
315
- }>, import("effect/Schema").Struct<{
316
- type: import("effect/Schema").Literal<["transcription"]>;
317
404
  started: typeof import("effect/Schema").String;
318
405
  text: typeof import("effect/Schema").String;
319
- }>>>]>>>;
406
+ }>>]>>>;
320
407
  properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
321
408
  }>>, Schema.Struct<{
322
409
  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;;;;;;;;;;2BA2Fyie,CAAC;;oBAA8E,CAAC;sBAAgD,CAAC;qBAAkG,CAAC;uBAAiD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAnFt1e,CAAC;AAEF,MAAM,WAAW,kBAAmB,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,kBAAkB,CAAC;CAAG;AAE5F,eAAO,MAAM,kBAAkB;;;;;;;;;;;+BA+Ekie,CAAC;;wBAA8E,CAAC;0BAAgD,CAAC;yBAAkG,CAAC;2BAAiD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA1Er1e,CAAC;AACH,MAAM,WAAW,kBAAmB,SAAQ,MAAM,CAAC,MAA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,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,kBAAkB,CAAC;CAAG;AAE5F,eAAO,MAAM,mBAAmB;;;;;;;;;;;;wBA6Esxd,CAAC;+BAAqD,CAAC;0BAAgD,CAAC;yBAAkG,CAAC;2BAAiD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAzEjje,CAAC;AACH,MAAM,WAAW,mBAAoB,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,mBAAmB,CAAC;CAAG;AAoC9F,eAAO,MAAM,qBAAqB,uFAmChC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { Schema } from 'effect';
2
2
  import { type Queue } from '@dxos/client/echo';
3
- import { type Key, Type } from '@dxos/echo';
3
+ import { Type, type Key } from '@dxos/echo';
4
4
  import { type Space } from '@dxos/react-client/echo';
5
5
  import { DataType } from '@dxos/schema';
6
6
  export declare const TestItem: Type.obj<Schema.Struct<{
@@ -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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IAAI,EAAE,KAAK,GAAG,EAAE,MAAM,YAAY,CAAC;AAMtD,OAAO,EAAY,KAAK,KAAK,EAAE,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"}
@@ -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
  /**
25
25
  * Handles transcription of audio chunks.
@@ -1 +1 @@
1
- {"version":3,"file":"transcriber.d.ts","sourceRoot":"","sources":["../../../../src/transcriber/transcriber.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,OAAO,EAAkB,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEvE,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG7C,OAAO,EAAE,KAAK,aAAa,EAAmB,MAAM,kBAAkB,CAAC;AAuCvE,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,2BAA2B,EAAE,MAAM,CAAC;IAEpC;;;OAGG;IACH,wBAAwB,EAAE,MAAM,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,gBAAgB,CAAC;IACzB,QAAQ,EAAE,aAAa,CAAC;IACxB;;;OAGG;IACH,UAAU,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAChF,CAAC;AAEF;;;;GAIG;AAC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UAAU,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,YAAY,CAAC,UAAU,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7E,CAAC;AAEF;;;;GAIG;AACH,qBAAa,WAAY,SAAQ,QAAQ;IACvC,OAAO,CAAC,YAAY,CAAoB;IACxC,OAAO,CAAC,kBAAkB,CAAK;IAE/B,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAoC;IAEjE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmB;IAC3C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAgB;IAC1C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAkC;IAE9D,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,eAAe,CAAC,CAA2B;gBAEvC,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,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,14 +1,14 @@
1
- declare const _default: {
2
- 'en-US': {
3
- "dxos.org/plugin/transcription": {
4
- 'plugin name': string;
5
- 'transcript companion label': string;
6
- 'delete button': string;
7
- 'bookmark button': string;
8
- 'scroll to end label': string;
9
- 'settings entity extraction label': string;
1
+ import { meta } from './meta';
2
+ export declare const translations: [{
3
+ readonly 'en-US': {
4
+ readonly [meta.id]: {
5
+ readonly 'plugin name': "Transcription";
6
+ readonly 'transcript companion label': "Transcript";
7
+ readonly 'delete button': "Delete";
8
+ readonly 'bookmark button': "Bookmark";
9
+ readonly 'scroll to end label': "Scroll to latest";
10
+ readonly 'settings entity extraction label': "Entity extraction";
10
11
  };
11
12
  };
12
- }[];
13
- export default _default;
13
+ }];
14
14
  //# sourceMappingURL=translations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":";;;;;;;;;;;;AAMA,wBAeE"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;;;UASR;;EAGwB,CAAC"}