@tx5dr/contracts 1.7.12 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +7 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/schema/__tests__/android-operator-audio.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/android-operator-audio.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/android-operator-audio.schema.test.js +27 -0
- package/dist/schema/__tests__/android-operator-audio.schema.test.js.map +1 -0
- package/dist/schema/__tests__/assisted-queue.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/assisted-queue.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/assisted-queue.schema.test.js +114 -0
- package/dist/schema/__tests__/assisted-queue.schema.test.js.map +1 -0
- package/dist/schema/__tests__/audio-sidecar.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/audio-sidecar.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/audio-sidecar.schema.test.js +42 -0
- package/dist/schema/__tests__/audio-sidecar.schema.test.js.map +1 -0
- package/dist/schema/__tests__/audio.schema.test.js +92 -1
- package/dist/schema/__tests__/audio.schema.test.js.map +1 -1
- package/dist/schema/__tests__/diagnostics.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/diagnostics.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/diagnostics.schema.test.js +31 -0
- package/dist/schema/__tests__/diagnostics.schema.test.js.map +1 -0
- package/dist/schema/__tests__/logbook-health.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/logbook-health.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/logbook-health.schema.test.js +104 -0
- package/dist/schema/__tests__/logbook-health.schema.test.js.map +1 -0
- package/dist/schema/__tests__/meter.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/meter.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/meter.schema.test.js +27 -0
- package/dist/schema/__tests__/meter.schema.test.js.map +1 -0
- package/dist/schema/__tests__/observability.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/observability.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/observability.schema.test.js +12 -0
- package/dist/schema/__tests__/observability.schema.test.js.map +1 -0
- package/dist/schema/__tests__/operator-context-report.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/operator-context-report.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/operator-context-report.schema.test.js +70 -0
- package/dist/schema/__tests__/operator-context-report.schema.test.js.map +1 -0
- package/dist/schema/__tests__/operator.schema.test.js +9 -3
- package/dist/schema/__tests__/operator.schema.test.js.map +1 -1
- package/dist/schema/__tests__/plugin-market.schema.test.js +149 -3
- package/dist/schema/__tests__/plugin-market.schema.test.js.map +1 -1
- package/dist/schema/__tests__/qso.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/qso.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/qso.schema.test.js +70 -0
- package/dist/schema/__tests__/qso.schema.test.js.map +1 -0
- package/dist/schema/__tests__/radio-power-support.test.js +15 -0
- package/dist/schema/__tests__/radio-power-support.test.js.map +1 -1
- package/dist/schema/__tests__/radio-profile.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/radio-profile.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/radio-profile.schema.test.js +36 -0
- package/dist/schema/__tests__/radio-profile.schema.test.js.map +1 -0
- package/dist/schema/__tests__/radio.schema.test.js +92 -1
- package/dist/schema/__tests__/radio.schema.test.js.map +1 -1
- package/dist/schema/__tests__/realtime-settings.schema.test.js +2 -1
- package/dist/schema/__tests__/realtime-settings.schema.test.js.map +1 -1
- package/dist/schema/__tests__/remote-access.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/remote-access.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/remote-access.schema.test.js +18 -0
- package/dist/schema/__tests__/remote-access.schema.test.js.map +1 -0
- package/dist/schema/__tests__/spectrum.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/spectrum.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/spectrum.schema.test.js +107 -0
- package/dist/schema/__tests__/spectrum.schema.test.js.map +1 -0
- package/dist/schema/__tests__/strategy-transmission.schema.test.d.ts +2 -0
- package/dist/schema/__tests__/strategy-transmission.schema.test.d.ts.map +1 -0
- package/dist/schema/__tests__/strategy-transmission.schema.test.js +95 -0
- package/dist/schema/__tests__/strategy-transmission.schema.test.js.map +1 -0
- package/dist/schema/android-operator-audio.schema.d.ts +174 -0
- package/dist/schema/android-operator-audio.schema.d.ts.map +1 -0
- package/dist/schema/android-operator-audio.schema.js +38 -0
- package/dist/schema/android-operator-audio.schema.js.map +1 -0
- package/dist/schema/api-response.schema.d.ts +503 -44
- package/dist/schema/api-response.schema.d.ts.map +1 -1
- package/dist/schema/api-response.schema.js +9 -0
- package/dist/schema/api-response.schema.js.map +1 -1
- package/dist/schema/audio-sidecar.schema.d.ts +75 -0
- package/dist/schema/audio-sidecar.schema.d.ts.map +1 -1
- package/dist/schema/audio-sidecar.schema.js +32 -0
- package/dist/schema/audio-sidecar.schema.js.map +1 -1
- package/dist/schema/audio.schema.d.ts +4749 -3
- package/dist/schema/audio.schema.d.ts.map +1 -1
- package/dist/schema/audio.schema.js +101 -2
- package/dist/schema/audio.schema.js.map +1 -1
- package/dist/schema/auth.schema.d.ts +173 -14
- package/dist/schema/auth.schema.d.ts.map +1 -1
- package/dist/schema/auth.schema.js +65 -1
- package/dist/schema/auth.schema.js.map +1 -1
- package/dist/schema/cpu-profile.schema.d.ts +2 -2
- package/dist/schema/cw-decoder.schema.d.ts +74 -74
- package/dist/schema/cw-keyer.schema.d.ts +20 -14
- package/dist/schema/cw-keyer.schema.d.ts.map +1 -1
- package/dist/schema/cw-keyer.schema.js +3 -0
- package/dist/schema/cw-keyer.schema.js.map +1 -1
- package/dist/schema/desktop-https.schema.d.ts +6 -6
- package/dist/schema/device-ui.schema.d.ts +16 -16
- package/dist/schema/diagnostics.schema.d.ts +163 -0
- package/dist/schema/diagnostics.schema.d.ts.map +1 -0
- package/dist/schema/diagnostics.schema.js +46 -0
- package/dist/schema/diagnostics.schema.js.map +1 -0
- package/dist/schema/ft8.schema.d.ts +12 -2
- package/dist/schema/ft8.schema.d.ts.map +1 -1
- package/dist/schema/ft8.schema.js +8 -0
- package/dist/schema/ft8.schema.js.map +1 -1
- package/dist/schema/image-radio.schema.d.ts +2597 -0
- package/dist/schema/image-radio.schema.d.ts.map +1 -0
- package/dist/schema/image-radio.schema.js +283 -0
- package/dist/schema/image-radio.schema.js.map +1 -0
- package/dist/schema/logbook.schema.d.ts +2128 -18
- package/dist/schema/logbook.schema.d.ts.map +1 -1
- package/dist/schema/logbook.schema.js +159 -1
- package/dist/schema/logbook.schema.js.map +1 -1
- package/dist/schema/mode.schema.d.ts +4 -6
- package/dist/schema/mode.schema.d.ts.map +1 -1
- package/dist/schema/mode.schema.js +18 -6
- package/dist/schema/mode.schema.js.map +1 -1
- package/dist/schema/observability.schema.d.ts +66 -0
- package/dist/schema/observability.schema.d.ts.map +1 -0
- package/dist/schema/observability.schema.js +20 -0
- package/dist/schema/observability.schema.js.map +1 -0
- package/dist/schema/openwebrx.schema.d.ts +2 -2
- package/dist/schema/operator.schema.d.ts +2682 -6
- package/dist/schema/operator.schema.d.ts.map +1 -1
- package/dist/schema/operator.schema.js +10 -20
- package/dist/schema/operator.schema.js.map +1 -1
- package/dist/schema/plugin.schema.d.ts +1977 -492
- package/dist/schema/plugin.schema.d.ts.map +1 -1
- package/dist/schema/plugin.schema.js +165 -14
- package/dist/schema/plugin.schema.js.map +1 -1
- package/dist/schema/process-monitor.schema.d.ts +132 -132
- package/dist/schema/pskreporter.schema.d.ts +1 -3
- package/dist/schema/pskreporter.schema.d.ts.map +1 -1
- package/dist/schema/pskreporter.schema.js +1 -3
- package/dist/schema/pskreporter.schema.js.map +1 -1
- package/dist/schema/qso.schema.d.ts +246 -1
- package/dist/schema/qso.schema.d.ts.map +1 -1
- package/dist/schema/qso.schema.js +68 -0
- package/dist/schema/qso.schema.js.map +1 -1
- package/dist/schema/radio-capability.schema.d.ts +31 -40
- package/dist/schema/radio-capability.schema.d.ts.map +1 -1
- package/dist/schema/radio-capability.schema.js +8 -15
- package/dist/schema/radio-capability.schema.js.map +1 -1
- package/dist/schema/radio-power-support.d.ts.map +1 -1
- package/dist/schema/radio-power-support.js +3 -0
- package/dist/schema/radio-power-support.js.map +1 -1
- package/dist/schema/radio-power.schema.d.ts +102 -13
- package/dist/schema/radio-power.schema.d.ts.map +1 -1
- package/dist/schema/radio-power.schema.js +15 -8
- package/dist/schema/radio-power.schema.js.map +1 -1
- package/dist/schema/radio-profile.schema.d.ts +1491 -97
- package/dist/schema/radio-profile.schema.d.ts.map +1 -1
- package/dist/schema/radio-profile.schema.js +7 -0
- package/dist/schema/radio-profile.schema.js.map +1 -1
- package/dist/schema/radio.schema.d.ts +442 -48
- package/dist/schema/radio.schema.d.ts.map +1 -1
- package/dist/schema/radio.schema.js +75 -7
- package/dist/schema/radio.schema.js.map +1 -1
- package/dist/schema/realtime.schema.d.ts +60 -52
- package/dist/schema/realtime.schema.d.ts.map +1 -1
- package/dist/schema/realtime.schema.js +9 -1
- package/dist/schema/realtime.schema.js.map +1 -1
- package/dist/schema/rigctld.schema.d.ts +6 -6
- package/dist/schema/slot-info.schema.d.ts +28 -9
- package/dist/schema/slot-info.schema.d.ts.map +1 -1
- package/dist/schema/slot-info.schema.js +17 -10
- package/dist/schema/slot-info.schema.js.map +1 -1
- package/dist/schema/spectrum-config.schema.d.ts +638 -0
- package/dist/schema/spectrum-config.schema.d.ts.map +1 -0
- package/dist/schema/spectrum-config.schema.js +129 -0
- package/dist/schema/spectrum-config.schema.js.map +1 -0
- package/dist/schema/spectrum.schema.d.ts +1323 -30
- package/dist/schema/spectrum.schema.d.ts.map +1 -1
- package/dist/schema/spectrum.schema.js +72 -0
- package/dist/schema/spectrum.schema.js.map +1 -1
- package/dist/schema/station-info.schema.d.ts +5 -0
- package/dist/schema/station-info.schema.d.ts.map +1 -1
- package/dist/schema/station-info.schema.js +5 -0
- package/dist/schema/station-info.schema.js.map +1 -1
- package/dist/schema/system.schema.d.ts +56 -6
- package/dist/schema/system.schema.d.ts.map +1 -1
- package/dist/schema/system.schema.js +22 -0
- package/dist/schema/system.schema.js.map +1 -1
- package/dist/schema/transmission.schema.d.ts +8 -7
- package/dist/schema/transmission.schema.d.ts.map +1 -1
- package/dist/schema/transmission.schema.js +2 -7
- package/dist/schema/transmission.schema.js.map +1 -1
- package/dist/schema/tx-audio-input.schema.d.ts +8 -0
- package/dist/schema/tx-audio-input.schema.d.ts.map +1 -0
- package/dist/schema/tx-audio-input.schema.js +19 -0
- package/dist/schema/tx-audio-input.schema.js.map +1 -0
- package/dist/schema/voice-keyer.schema.d.ts +16 -16
- package/dist/schema/voice.schema.d.ts +1 -1
- package/dist/schema/voice.schema.d.ts.map +1 -1
- package/dist/schema/voice.schema.js +1 -1
- package/dist/schema/voice.schema.js.map +1 -1
- package/dist/schema/websocket.schema.d.ts +35811 -7829
- package/dist/schema/websocket.schema.d.ts.map +1 -1
- package/dist/schema/websocket.schema.js +453 -9
- package/dist/schema/websocket.schema.js.map +1 -1
- package/package.json +6 -1
- package/src/index.ts +7 -0
- package/src/schema/__tests__/android-operator-audio.schema.test.ts +31 -0
- package/src/schema/__tests__/assisted-queue.schema.test.ts +122 -0
- package/src/schema/__tests__/audio-sidecar.schema.test.ts +48 -0
- package/src/schema/__tests__/audio.schema.test.ts +102 -0
- package/src/schema/__tests__/diagnostics.schema.test.ts +32 -0
- package/src/schema/__tests__/logbook-health.schema.test.ts +117 -0
- package/src/schema/__tests__/meter.schema.test.ts +28 -0
- package/src/schema/__tests__/observability.schema.test.ts +15 -0
- package/src/schema/__tests__/operator-context-report.schema.test.ts +77 -0
- package/src/schema/__tests__/operator.schema.test.ts +11 -3
- package/src/schema/__tests__/plugin-market.schema.test.ts +165 -2
- package/src/schema/__tests__/qso.schema.test.ts +91 -0
- package/src/schema/__tests__/radio-power-support.test.ts +17 -0
- package/src/schema/__tests__/radio-profile.schema.test.ts +44 -0
- package/src/schema/__tests__/radio.schema.test.ts +108 -1
- package/src/schema/__tests__/realtime-settings.schema.test.ts +2 -1
- package/src/schema/__tests__/remote-access.schema.test.ts +22 -0
- package/src/schema/__tests__/spectrum.schema.test.ts +119 -0
- package/src/schema/__tests__/strategy-transmission.schema.test.ts +106 -0
- package/src/schema/android-operator-audio.schema.ts +49 -0
- package/src/schema/api-response.schema.ts +11 -0
- package/src/schema/audio-sidecar.schema.ts +35 -0
- package/src/schema/audio.schema.ts +115 -2
- package/src/schema/auth.schema.ts +79 -1
- package/src/schema/cw-keyer.schema.ts +5 -0
- package/src/schema/diagnostics.schema.ts +55 -0
- package/src/schema/ft8.schema.ts +8 -0
- package/src/schema/image-radio.schema.ts +342 -0
- package/src/schema/logbook.schema.ts +205 -1
- package/src/schema/mode.schema.ts +18 -6
- package/src/schema/observability.schema.ts +26 -0
- package/src/schema/operator.schema.ts +11 -20
- package/src/schema/plugin.schema.ts +186 -15
- package/src/schema/pskreporter.schema.ts +1 -3
- package/src/schema/qso.schema.ts +78 -0
- package/src/schema/radio-capability.schema.ts +8 -15
- package/src/schema/radio-power-support.ts +3 -0
- package/src/schema/radio-power.schema.ts +15 -8
- package/src/schema/radio-profile.schema.ts +7 -0
- package/src/schema/radio.schema.ts +90 -7
- package/src/schema/realtime.schema.ts +9 -1
- package/src/schema/slot-info.schema.ts +18 -11
- package/src/schema/spectrum-config.schema.ts +156 -0
- package/src/schema/spectrum.schema.ts +89 -0
- package/src/schema/station-info.schema.ts +5 -0
- package/src/schema/system.schema.ts +29 -0
- package/src/schema/transmission.schema.ts +2 -7
- package/src/schema/tx-audio-input.schema.ts +22 -0
- package/src/schema/voice.schema.ts +1 -1
- package/src/schema/websocket.schema.ts +601 -13
- package/test/image-radio-schema.test.ts +107 -0
- package/test/plugin-slot-schema.test.ts +31 -0
- package/test/radio-capability-schema.test.ts +44 -0
- package/CLAUDE.md +0 -41
|
@@ -24,9 +24,9 @@ export declare const CWDecoderConfigSchema: z.ZodObject<{
|
|
|
24
24
|
commitStability: z.ZodDefault<z.ZodNumber>;
|
|
25
25
|
maxPendingAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
backend: "deepcw-onnx";
|
|
27
28
|
mode: "streaming";
|
|
28
29
|
enabled: boolean;
|
|
29
|
-
backend: "deepcw-onnx";
|
|
30
30
|
runtimeBackend: "cpu" | "cuda" | "coreml" | "directml" | "wasm" | "webgpu";
|
|
31
31
|
modelSize: "small" | "tiny";
|
|
32
32
|
language: string;
|
|
@@ -40,9 +40,9 @@ export declare const CWDecoderConfigSchema: z.ZodObject<{
|
|
|
40
40
|
commitStability: number;
|
|
41
41
|
maxPendingAgeMs: number;
|
|
42
42
|
}, {
|
|
43
|
+
backend?: "deepcw-onnx" | undefined;
|
|
43
44
|
mode?: "streaming" | undefined;
|
|
44
45
|
enabled?: boolean | undefined;
|
|
45
|
-
backend?: "deepcw-onnx" | undefined;
|
|
46
46
|
runtimeBackend?: "cpu" | "cuda" | "coreml" | "directml" | "wasm" | "webgpu" | undefined;
|
|
47
47
|
modelSize?: "small" | "tiny" | undefined;
|
|
48
48
|
language?: string | undefined;
|
|
@@ -149,9 +149,9 @@ export declare const CWDecoderStatusSchema: z.ZodObject<{
|
|
|
149
149
|
commitStability: z.ZodDefault<z.ZodNumber>;
|
|
150
150
|
maxPendingAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
|
+
backend: "deepcw-onnx";
|
|
152
153
|
mode: "streaming";
|
|
153
154
|
enabled: boolean;
|
|
154
|
-
backend: "deepcw-onnx";
|
|
155
155
|
runtimeBackend: "cpu" | "cuda" | "coreml" | "directml" | "wasm" | "webgpu";
|
|
156
156
|
modelSize: "small" | "tiny";
|
|
157
157
|
language: string;
|
|
@@ -165,9 +165,9 @@ export declare const CWDecoderStatusSchema: z.ZodObject<{
|
|
|
165
165
|
commitStability: number;
|
|
166
166
|
maxPendingAgeMs: number;
|
|
167
167
|
}, {
|
|
168
|
+
backend?: "deepcw-onnx" | undefined;
|
|
168
169
|
mode?: "streaming" | undefined;
|
|
169
170
|
enabled?: boolean | undefined;
|
|
170
|
-
backend?: "deepcw-onnx" | undefined;
|
|
171
171
|
runtimeBackend?: "cpu" | "cuda" | "coreml" | "directml" | "wasm" | "webgpu" | undefined;
|
|
172
172
|
modelSize?: "small" | "tiny" | undefined;
|
|
173
173
|
language?: string | undefined;
|
|
@@ -246,9 +246,9 @@ export declare const CWDecoderStatusSchema: z.ZodObject<{
|
|
|
246
246
|
}, "strip", z.ZodTypeAny, {
|
|
247
247
|
active: boolean;
|
|
248
248
|
config: {
|
|
249
|
+
backend: "deepcw-onnx";
|
|
249
250
|
mode: "streaming";
|
|
250
251
|
enabled: boolean;
|
|
251
|
-
backend: "deepcw-onnx";
|
|
252
252
|
runtimeBackend: "cpu" | "cuda" | "coreml" | "directml" | "wasm" | "webgpu";
|
|
253
253
|
modelSize: "small" | "tiny";
|
|
254
254
|
language: string;
|
|
@@ -266,7 +266,6 @@ export declare const CWDecoderStatusSchema: z.ZodObject<{
|
|
|
266
266
|
enabled: boolean;
|
|
267
267
|
updatedAt: number;
|
|
268
268
|
muted: boolean;
|
|
269
|
-
lastError?: string | null | undefined;
|
|
270
269
|
backend?: {
|
|
271
270
|
id: "deepcw-onnx";
|
|
272
271
|
name: string;
|
|
@@ -285,17 +284,18 @@ export declare const CWDecoderStatusSchema: z.ZodObject<{
|
|
|
285
284
|
model?: string | undefined;
|
|
286
285
|
attributionName?: string | undefined;
|
|
287
286
|
} | undefined;
|
|
288
|
-
|
|
287
|
+
lastError?: string | null | undefined;
|
|
289
288
|
running?: boolean | undefined;
|
|
289
|
+
lastDecodeAt?: number | undefined;
|
|
290
290
|
backendId?: "deepcw-onnx" | undefined;
|
|
291
291
|
pendingText?: string | undefined;
|
|
292
292
|
committedText?: string | undefined;
|
|
293
293
|
queuedSamples?: number | undefined;
|
|
294
294
|
}, {
|
|
295
295
|
config: {
|
|
296
|
+
backend?: "deepcw-onnx" | undefined;
|
|
296
297
|
mode?: "streaming" | undefined;
|
|
297
298
|
enabled?: boolean | undefined;
|
|
298
|
-
backend?: "deepcw-onnx" | undefined;
|
|
299
299
|
runtimeBackend?: "cpu" | "cuda" | "coreml" | "directml" | "wasm" | "webgpu" | undefined;
|
|
300
300
|
modelSize?: "small" | "tiny" | undefined;
|
|
301
301
|
language?: string | undefined;
|
|
@@ -313,7 +313,6 @@ export declare const CWDecoderStatusSchema: z.ZodObject<{
|
|
|
313
313
|
enabled: boolean;
|
|
314
314
|
updatedAt: number;
|
|
315
315
|
active?: boolean | undefined;
|
|
316
|
-
lastError?: string | null | undefined;
|
|
317
316
|
backend?: {
|
|
318
317
|
id: "deepcw-onnx";
|
|
319
318
|
name: string;
|
|
@@ -332,9 +331,10 @@ export declare const CWDecoderStatusSchema: z.ZodObject<{
|
|
|
332
331
|
modes?: "streaming"[] | undefined;
|
|
333
332
|
attributionName?: string | undefined;
|
|
334
333
|
} | undefined;
|
|
334
|
+
lastError?: string | null | undefined;
|
|
335
|
+
running?: boolean | undefined;
|
|
335
336
|
muted?: boolean | undefined;
|
|
336
337
|
lastDecodeAt?: number | undefined;
|
|
337
|
-
running?: boolean | undefined;
|
|
338
338
|
backendId?: "deepcw-onnx" | undefined;
|
|
339
339
|
pendingText?: string | undefined;
|
|
340
340
|
committedText?: string | undefined;
|
|
@@ -549,9 +549,9 @@ export declare const CWDecoderStatusEventSchema: z.ZodObject<{
|
|
|
549
549
|
commitStability: z.ZodDefault<z.ZodNumber>;
|
|
550
550
|
maxPendingAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
551
551
|
}, "strip", z.ZodTypeAny, {
|
|
552
|
+
backend: "deepcw-onnx";
|
|
552
553
|
mode: "streaming";
|
|
553
554
|
enabled: boolean;
|
|
554
|
-
backend: "deepcw-onnx";
|
|
555
555
|
runtimeBackend: "cpu" | "cuda" | "coreml" | "directml" | "wasm" | "webgpu";
|
|
556
556
|
modelSize: "small" | "tiny";
|
|
557
557
|
language: string;
|
|
@@ -565,9 +565,9 @@ export declare const CWDecoderStatusEventSchema: z.ZodObject<{
|
|
|
565
565
|
commitStability: number;
|
|
566
566
|
maxPendingAgeMs: number;
|
|
567
567
|
}, {
|
|
568
|
+
backend?: "deepcw-onnx" | undefined;
|
|
568
569
|
mode?: "streaming" | undefined;
|
|
569
570
|
enabled?: boolean | undefined;
|
|
570
|
-
backend?: "deepcw-onnx" | undefined;
|
|
571
571
|
runtimeBackend?: "cpu" | "cuda" | "coreml" | "directml" | "wasm" | "webgpu" | undefined;
|
|
572
572
|
modelSize?: "small" | "tiny" | undefined;
|
|
573
573
|
language?: string | undefined;
|
|
@@ -646,9 +646,9 @@ export declare const CWDecoderStatusEventSchema: z.ZodObject<{
|
|
|
646
646
|
}, "strip", z.ZodTypeAny, {
|
|
647
647
|
active: boolean;
|
|
648
648
|
config: {
|
|
649
|
+
backend: "deepcw-onnx";
|
|
649
650
|
mode: "streaming";
|
|
650
651
|
enabled: boolean;
|
|
651
|
-
backend: "deepcw-onnx";
|
|
652
652
|
runtimeBackend: "cpu" | "cuda" | "coreml" | "directml" | "wasm" | "webgpu";
|
|
653
653
|
modelSize: "small" | "tiny";
|
|
654
654
|
language: string;
|
|
@@ -666,7 +666,6 @@ export declare const CWDecoderStatusEventSchema: z.ZodObject<{
|
|
|
666
666
|
enabled: boolean;
|
|
667
667
|
updatedAt: number;
|
|
668
668
|
muted: boolean;
|
|
669
|
-
lastError?: string | null | undefined;
|
|
670
669
|
backend?: {
|
|
671
670
|
id: "deepcw-onnx";
|
|
672
671
|
name: string;
|
|
@@ -685,17 +684,18 @@ export declare const CWDecoderStatusEventSchema: z.ZodObject<{
|
|
|
685
684
|
model?: string | undefined;
|
|
686
685
|
attributionName?: string | undefined;
|
|
687
686
|
} | undefined;
|
|
688
|
-
|
|
687
|
+
lastError?: string | null | undefined;
|
|
689
688
|
running?: boolean | undefined;
|
|
689
|
+
lastDecodeAt?: number | undefined;
|
|
690
690
|
backendId?: "deepcw-onnx" | undefined;
|
|
691
691
|
pendingText?: string | undefined;
|
|
692
692
|
committedText?: string | undefined;
|
|
693
693
|
queuedSamples?: number | undefined;
|
|
694
694
|
}, {
|
|
695
695
|
config: {
|
|
696
|
+
backend?: "deepcw-onnx" | undefined;
|
|
696
697
|
mode?: "streaming" | undefined;
|
|
697
698
|
enabled?: boolean | undefined;
|
|
698
|
-
backend?: "deepcw-onnx" | undefined;
|
|
699
699
|
runtimeBackend?: "cpu" | "cuda" | "coreml" | "directml" | "wasm" | "webgpu" | undefined;
|
|
700
700
|
modelSize?: "small" | "tiny" | undefined;
|
|
701
701
|
language?: string | undefined;
|
|
@@ -713,7 +713,6 @@ export declare const CWDecoderStatusEventSchema: z.ZodObject<{
|
|
|
713
713
|
enabled: boolean;
|
|
714
714
|
updatedAt: number;
|
|
715
715
|
active?: boolean | undefined;
|
|
716
|
-
lastError?: string | null | undefined;
|
|
717
716
|
backend?: {
|
|
718
717
|
id: "deepcw-onnx";
|
|
719
718
|
name: string;
|
|
@@ -732,9 +731,10 @@ export declare const CWDecoderStatusEventSchema: z.ZodObject<{
|
|
|
732
731
|
modes?: "streaming"[] | undefined;
|
|
733
732
|
attributionName?: string | undefined;
|
|
734
733
|
} | undefined;
|
|
734
|
+
lastError?: string | null | undefined;
|
|
735
|
+
running?: boolean | undefined;
|
|
735
736
|
muted?: boolean | undefined;
|
|
736
737
|
lastDecodeAt?: number | undefined;
|
|
737
|
-
running?: boolean | undefined;
|
|
738
738
|
backendId?: "deepcw-onnx" | undefined;
|
|
739
739
|
pendingText?: string | undefined;
|
|
740
740
|
committedText?: string | undefined;
|
|
@@ -744,9 +744,9 @@ export declare const CWDecoderStatusEventSchema: z.ZodObject<{
|
|
|
744
744
|
status: {
|
|
745
745
|
active: boolean;
|
|
746
746
|
config: {
|
|
747
|
+
backend: "deepcw-onnx";
|
|
747
748
|
mode: "streaming";
|
|
748
749
|
enabled: boolean;
|
|
749
|
-
backend: "deepcw-onnx";
|
|
750
750
|
runtimeBackend: "cpu" | "cuda" | "coreml" | "directml" | "wasm" | "webgpu";
|
|
751
751
|
modelSize: "small" | "tiny";
|
|
752
752
|
language: string;
|
|
@@ -764,7 +764,6 @@ export declare const CWDecoderStatusEventSchema: z.ZodObject<{
|
|
|
764
764
|
enabled: boolean;
|
|
765
765
|
updatedAt: number;
|
|
766
766
|
muted: boolean;
|
|
767
|
-
lastError?: string | null | undefined;
|
|
768
767
|
backend?: {
|
|
769
768
|
id: "deepcw-onnx";
|
|
770
769
|
name: string;
|
|
@@ -783,8 +782,9 @@ export declare const CWDecoderStatusEventSchema: z.ZodObject<{
|
|
|
783
782
|
model?: string | undefined;
|
|
784
783
|
attributionName?: string | undefined;
|
|
785
784
|
} | undefined;
|
|
786
|
-
|
|
785
|
+
lastError?: string | null | undefined;
|
|
787
786
|
running?: boolean | undefined;
|
|
787
|
+
lastDecodeAt?: number | undefined;
|
|
788
788
|
backendId?: "deepcw-onnx" | undefined;
|
|
789
789
|
pendingText?: string | undefined;
|
|
790
790
|
committedText?: string | undefined;
|
|
@@ -794,9 +794,9 @@ export declare const CWDecoderStatusEventSchema: z.ZodObject<{
|
|
|
794
794
|
}, {
|
|
795
795
|
status: {
|
|
796
796
|
config: {
|
|
797
|
+
backend?: "deepcw-onnx" | undefined;
|
|
797
798
|
mode?: "streaming" | undefined;
|
|
798
799
|
enabled?: boolean | undefined;
|
|
799
|
-
backend?: "deepcw-onnx" | undefined;
|
|
800
800
|
runtimeBackend?: "cpu" | "cuda" | "coreml" | "directml" | "wasm" | "webgpu" | undefined;
|
|
801
801
|
modelSize?: "small" | "tiny" | undefined;
|
|
802
802
|
language?: string | undefined;
|
|
@@ -814,7 +814,6 @@ export declare const CWDecoderStatusEventSchema: z.ZodObject<{
|
|
|
814
814
|
enabled: boolean;
|
|
815
815
|
updatedAt: number;
|
|
816
816
|
active?: boolean | undefined;
|
|
817
|
-
lastError?: string | null | undefined;
|
|
818
817
|
backend?: {
|
|
819
818
|
id: "deepcw-onnx";
|
|
820
819
|
name: string;
|
|
@@ -833,9 +832,10 @@ export declare const CWDecoderStatusEventSchema: z.ZodObject<{
|
|
|
833
832
|
modes?: "streaming"[] | undefined;
|
|
834
833
|
attributionName?: string | undefined;
|
|
835
834
|
} | undefined;
|
|
835
|
+
lastError?: string | null | undefined;
|
|
836
|
+
running?: boolean | undefined;
|
|
836
837
|
muted?: boolean | undefined;
|
|
837
838
|
lastDecodeAt?: number | undefined;
|
|
838
|
-
running?: boolean | undefined;
|
|
839
839
|
backendId?: "deepcw-onnx" | undefined;
|
|
840
840
|
pendingText?: string | undefined;
|
|
841
841
|
committedText?: string | undefined;
|
|
@@ -992,12 +992,12 @@ export declare const CWDecoderTranscriptResetEventSchema: z.ZodObject<{
|
|
|
992
992
|
sessionId: z.ZodString;
|
|
993
993
|
timestamp: z.ZodNumber;
|
|
994
994
|
}, "strip", z.ZodTypeAny, {
|
|
995
|
-
timestamp: number;
|
|
996
995
|
kind: "transcript_reset";
|
|
996
|
+
timestamp: number;
|
|
997
997
|
sessionId: string;
|
|
998
998
|
}, {
|
|
999
|
-
timestamp: number;
|
|
1000
999
|
kind: "transcript_reset";
|
|
1000
|
+
timestamp: number;
|
|
1001
1001
|
sessionId: string;
|
|
1002
1002
|
}>;
|
|
1003
1003
|
export declare const CWDecoderTranscriptPendingEventSchema: z.ZodObject<{
|
|
@@ -1076,8 +1076,8 @@ export declare const CWDecoderTranscriptPendingEventSchema: z.ZodObject<{
|
|
|
1076
1076
|
}>>;
|
|
1077
1077
|
timestamp: z.ZodNumber;
|
|
1078
1078
|
}, "strip", z.ZodTypeAny, {
|
|
1079
|
-
timestamp: number;
|
|
1080
1079
|
kind: "transcript_pending";
|
|
1080
|
+
timestamp: number;
|
|
1081
1081
|
pending: {
|
|
1082
1082
|
version: number;
|
|
1083
1083
|
updatedAt: number;
|
|
@@ -1099,8 +1099,8 @@ export declare const CWDecoderTranscriptPendingEventSchema: z.ZodObject<{
|
|
|
1099
1099
|
}[] | undefined;
|
|
1100
1100
|
} | null;
|
|
1101
1101
|
}, {
|
|
1102
|
-
timestamp: number;
|
|
1103
1102
|
kind: "transcript_pending";
|
|
1103
|
+
timestamp: number;
|
|
1104
1104
|
pending: {
|
|
1105
1105
|
version: number;
|
|
1106
1106
|
updatedAt: number;
|
|
@@ -1213,8 +1213,8 @@ export declare const CWDecoderTranscriptCommitEventSchema: z.ZodObject<{
|
|
|
1213
1213
|
}>;
|
|
1214
1214
|
timestamp: z.ZodNumber;
|
|
1215
1215
|
}, "strip", z.ZodTypeAny, {
|
|
1216
|
-
timestamp: number;
|
|
1217
1216
|
kind: "transcript_commit";
|
|
1217
|
+
timestamp: number;
|
|
1218
1218
|
segment: {
|
|
1219
1219
|
id: string;
|
|
1220
1220
|
updatedAt: number;
|
|
@@ -1241,8 +1241,8 @@ export declare const CWDecoderTranscriptCommitEventSchema: z.ZodObject<{
|
|
|
1241
1241
|
endedAt?: number | null | undefined;
|
|
1242
1242
|
};
|
|
1243
1243
|
}, {
|
|
1244
|
-
timestamp: number;
|
|
1245
1244
|
kind: "transcript_commit";
|
|
1245
|
+
timestamp: number;
|
|
1246
1246
|
segment: {
|
|
1247
1247
|
id: string;
|
|
1248
1248
|
updatedAt: number;
|
|
@@ -1275,13 +1275,13 @@ export declare const CWDecoderPendingEventSchema: z.ZodObject<{
|
|
|
1275
1275
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1276
1276
|
timestamp: z.ZodNumber;
|
|
1277
1277
|
}, "strip", z.ZodTypeAny, {
|
|
1278
|
-
timestamp: number;
|
|
1279
1278
|
kind: "pending";
|
|
1279
|
+
timestamp: number;
|
|
1280
1280
|
text: string;
|
|
1281
1281
|
confidence?: number | undefined;
|
|
1282
1282
|
}, {
|
|
1283
|
-
timestamp: number;
|
|
1284
1283
|
kind: "pending";
|
|
1284
|
+
timestamp: number;
|
|
1285
1285
|
text: string;
|
|
1286
1286
|
confidence?: number | undefined;
|
|
1287
1287
|
}>;
|
|
@@ -1444,13 +1444,13 @@ export declare const CWDecoderPartialEventSchema: z.ZodObject<{
|
|
|
1444
1444
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1445
1445
|
timestamp: z.ZodNumber;
|
|
1446
1446
|
}, "strip", z.ZodTypeAny, {
|
|
1447
|
-
timestamp: number;
|
|
1448
1447
|
kind: "partial";
|
|
1448
|
+
timestamp: number;
|
|
1449
1449
|
text: string;
|
|
1450
1450
|
confidence?: number | undefined;
|
|
1451
1451
|
}, {
|
|
1452
|
-
timestamp: number;
|
|
1453
1452
|
kind: "partial";
|
|
1453
|
+
timestamp: number;
|
|
1454
1454
|
text: string;
|
|
1455
1455
|
confidence?: number | undefined;
|
|
1456
1456
|
}>;
|
|
@@ -1462,14 +1462,14 @@ export declare const CWDecoderErrorEventSchema: z.ZodObject<{
|
|
|
1462
1462
|
timestamp: z.ZodNumber;
|
|
1463
1463
|
}, "strip", z.ZodTypeAny, {
|
|
1464
1464
|
message: string;
|
|
1465
|
-
timestamp: number;
|
|
1466
1465
|
kind: "error";
|
|
1466
|
+
timestamp: number;
|
|
1467
1467
|
code?: string | undefined;
|
|
1468
1468
|
recoverable?: boolean | undefined;
|
|
1469
1469
|
}, {
|
|
1470
1470
|
message: string;
|
|
1471
|
-
timestamp: number;
|
|
1472
1471
|
kind: "error";
|
|
1472
|
+
timestamp: number;
|
|
1473
1473
|
code?: string | undefined;
|
|
1474
1474
|
recoverable?: boolean | undefined;
|
|
1475
1475
|
}>;
|
|
@@ -1482,17 +1482,17 @@ export declare const CWDecoderModelLoadEventSchema: z.ZodObject<{
|
|
|
1482
1482
|
message: z.ZodOptional<z.ZodString>;
|
|
1483
1483
|
timestamp: z.ZodNumber;
|
|
1484
1484
|
}, "strip", z.ZodTypeAny, {
|
|
1485
|
-
timestamp: number;
|
|
1486
|
-
kind: "model_load";
|
|
1487
1485
|
backend: "deepcw-onnx";
|
|
1486
|
+
kind: "model_load";
|
|
1487
|
+
timestamp: number;
|
|
1488
1488
|
message?: string | undefined;
|
|
1489
1489
|
modelSize?: "small" | "tiny" | undefined;
|
|
1490
1490
|
language?: string | undefined;
|
|
1491
1491
|
progress?: number | undefined;
|
|
1492
1492
|
}, {
|
|
1493
|
-
timestamp: number;
|
|
1494
|
-
kind: "model_load";
|
|
1495
1493
|
backend: "deepcw-onnx";
|
|
1494
|
+
kind: "model_load";
|
|
1495
|
+
timestamp: number;
|
|
1496
1496
|
message?: string | undefined;
|
|
1497
1497
|
modelSize?: "small" | "tiny" | undefined;
|
|
1498
1498
|
language?: string | undefined;
|
|
@@ -1505,14 +1505,14 @@ export declare const CWDecoderAudioBufferEventSchema: z.ZodObject<{
|
|
|
1505
1505
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1506
1506
|
timestamp: z.ZodNumber;
|
|
1507
1507
|
}, "strip", z.ZodTypeAny, {
|
|
1508
|
-
timestamp: number;
|
|
1509
1508
|
kind: "audio_buffer";
|
|
1509
|
+
timestamp: number;
|
|
1510
1510
|
queuedSamples: number;
|
|
1511
1511
|
sampleRate?: number | undefined;
|
|
1512
1512
|
durationMs?: number | undefined;
|
|
1513
1513
|
}, {
|
|
1514
|
-
timestamp: number;
|
|
1515
1514
|
kind: "audio_buffer";
|
|
1515
|
+
timestamp: number;
|
|
1516
1516
|
queuedSamples: number;
|
|
1517
1517
|
sampleRate?: number | undefined;
|
|
1518
1518
|
durationMs?: number | undefined;
|
|
@@ -1539,9 +1539,9 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
1539
1539
|
commitStability: z.ZodDefault<z.ZodNumber>;
|
|
1540
1540
|
maxPendingAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
1541
1541
|
}, "strip", z.ZodTypeAny, {
|
|
1542
|
+
backend: "deepcw-onnx";
|
|
1542
1543
|
mode: "streaming";
|
|
1543
1544
|
enabled: boolean;
|
|
1544
|
-
backend: "deepcw-onnx";
|
|
1545
1545
|
runtimeBackend: "cpu" | "cuda" | "coreml" | "directml" | "wasm" | "webgpu";
|
|
1546
1546
|
modelSize: "small" | "tiny";
|
|
1547
1547
|
language: string;
|
|
@@ -1555,9 +1555,9 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
1555
1555
|
commitStability: number;
|
|
1556
1556
|
maxPendingAgeMs: number;
|
|
1557
1557
|
}, {
|
|
1558
|
+
backend?: "deepcw-onnx" | undefined;
|
|
1558
1559
|
mode?: "streaming" | undefined;
|
|
1559
1560
|
enabled?: boolean | undefined;
|
|
1560
|
-
backend?: "deepcw-onnx" | undefined;
|
|
1561
1561
|
runtimeBackend?: "cpu" | "cuda" | "coreml" | "directml" | "wasm" | "webgpu" | undefined;
|
|
1562
1562
|
modelSize?: "small" | "tiny" | undefined;
|
|
1563
1563
|
language?: string | undefined;
|
|
@@ -1636,9 +1636,9 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
1636
1636
|
}, "strip", z.ZodTypeAny, {
|
|
1637
1637
|
active: boolean;
|
|
1638
1638
|
config: {
|
|
1639
|
+
backend: "deepcw-onnx";
|
|
1639
1640
|
mode: "streaming";
|
|
1640
1641
|
enabled: boolean;
|
|
1641
|
-
backend: "deepcw-onnx";
|
|
1642
1642
|
runtimeBackend: "cpu" | "cuda" | "coreml" | "directml" | "wasm" | "webgpu";
|
|
1643
1643
|
modelSize: "small" | "tiny";
|
|
1644
1644
|
language: string;
|
|
@@ -1656,7 +1656,6 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
1656
1656
|
enabled: boolean;
|
|
1657
1657
|
updatedAt: number;
|
|
1658
1658
|
muted: boolean;
|
|
1659
|
-
lastError?: string | null | undefined;
|
|
1660
1659
|
backend?: {
|
|
1661
1660
|
id: "deepcw-onnx";
|
|
1662
1661
|
name: string;
|
|
@@ -1675,17 +1674,18 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
1675
1674
|
model?: string | undefined;
|
|
1676
1675
|
attributionName?: string | undefined;
|
|
1677
1676
|
} | undefined;
|
|
1678
|
-
|
|
1677
|
+
lastError?: string | null | undefined;
|
|
1679
1678
|
running?: boolean | undefined;
|
|
1679
|
+
lastDecodeAt?: number | undefined;
|
|
1680
1680
|
backendId?: "deepcw-onnx" | undefined;
|
|
1681
1681
|
pendingText?: string | undefined;
|
|
1682
1682
|
committedText?: string | undefined;
|
|
1683
1683
|
queuedSamples?: number | undefined;
|
|
1684
1684
|
}, {
|
|
1685
1685
|
config: {
|
|
1686
|
+
backend?: "deepcw-onnx" | undefined;
|
|
1686
1687
|
mode?: "streaming" | undefined;
|
|
1687
1688
|
enabled?: boolean | undefined;
|
|
1688
|
-
backend?: "deepcw-onnx" | undefined;
|
|
1689
1689
|
runtimeBackend?: "cpu" | "cuda" | "coreml" | "directml" | "wasm" | "webgpu" | undefined;
|
|
1690
1690
|
modelSize?: "small" | "tiny" | undefined;
|
|
1691
1691
|
language?: string | undefined;
|
|
@@ -1703,7 +1703,6 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
1703
1703
|
enabled: boolean;
|
|
1704
1704
|
updatedAt: number;
|
|
1705
1705
|
active?: boolean | undefined;
|
|
1706
|
-
lastError?: string | null | undefined;
|
|
1707
1706
|
backend?: {
|
|
1708
1707
|
id: "deepcw-onnx";
|
|
1709
1708
|
name: string;
|
|
@@ -1722,9 +1721,10 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
1722
1721
|
modes?: "streaming"[] | undefined;
|
|
1723
1722
|
attributionName?: string | undefined;
|
|
1724
1723
|
} | undefined;
|
|
1724
|
+
lastError?: string | null | undefined;
|
|
1725
|
+
running?: boolean | undefined;
|
|
1725
1726
|
muted?: boolean | undefined;
|
|
1726
1727
|
lastDecodeAt?: number | undefined;
|
|
1727
|
-
running?: boolean | undefined;
|
|
1728
1728
|
backendId?: "deepcw-onnx" | undefined;
|
|
1729
1729
|
pendingText?: string | undefined;
|
|
1730
1730
|
committedText?: string | undefined;
|
|
@@ -1734,9 +1734,9 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
1734
1734
|
status: {
|
|
1735
1735
|
active: boolean;
|
|
1736
1736
|
config: {
|
|
1737
|
+
backend: "deepcw-onnx";
|
|
1737
1738
|
mode: "streaming";
|
|
1738
1739
|
enabled: boolean;
|
|
1739
|
-
backend: "deepcw-onnx";
|
|
1740
1740
|
runtimeBackend: "cpu" | "cuda" | "coreml" | "directml" | "wasm" | "webgpu";
|
|
1741
1741
|
modelSize: "small" | "tiny";
|
|
1742
1742
|
language: string;
|
|
@@ -1754,7 +1754,6 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
1754
1754
|
enabled: boolean;
|
|
1755
1755
|
updatedAt: number;
|
|
1756
1756
|
muted: boolean;
|
|
1757
|
-
lastError?: string | null | undefined;
|
|
1758
1757
|
backend?: {
|
|
1759
1758
|
id: "deepcw-onnx";
|
|
1760
1759
|
name: string;
|
|
@@ -1773,8 +1772,9 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
1773
1772
|
model?: string | undefined;
|
|
1774
1773
|
attributionName?: string | undefined;
|
|
1775
1774
|
} | undefined;
|
|
1776
|
-
|
|
1775
|
+
lastError?: string | null | undefined;
|
|
1777
1776
|
running?: boolean | undefined;
|
|
1777
|
+
lastDecodeAt?: number | undefined;
|
|
1778
1778
|
backendId?: "deepcw-onnx" | undefined;
|
|
1779
1779
|
pendingText?: string | undefined;
|
|
1780
1780
|
committedText?: string | undefined;
|
|
@@ -1784,9 +1784,9 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
1784
1784
|
}, {
|
|
1785
1785
|
status: {
|
|
1786
1786
|
config: {
|
|
1787
|
+
backend?: "deepcw-onnx" | undefined;
|
|
1787
1788
|
mode?: "streaming" | undefined;
|
|
1788
1789
|
enabled?: boolean | undefined;
|
|
1789
|
-
backend?: "deepcw-onnx" | undefined;
|
|
1790
1790
|
runtimeBackend?: "cpu" | "cuda" | "coreml" | "directml" | "wasm" | "webgpu" | undefined;
|
|
1791
1791
|
modelSize?: "small" | "tiny" | undefined;
|
|
1792
1792
|
language?: string | undefined;
|
|
@@ -1804,7 +1804,6 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
1804
1804
|
enabled: boolean;
|
|
1805
1805
|
updatedAt: number;
|
|
1806
1806
|
active?: boolean | undefined;
|
|
1807
|
-
lastError?: string | null | undefined;
|
|
1808
1807
|
backend?: {
|
|
1809
1808
|
id: "deepcw-onnx";
|
|
1810
1809
|
name: string;
|
|
@@ -1823,9 +1822,10 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
1823
1822
|
modes?: "streaming"[] | undefined;
|
|
1824
1823
|
attributionName?: string | undefined;
|
|
1825
1824
|
} | undefined;
|
|
1825
|
+
lastError?: string | null | undefined;
|
|
1826
|
+
running?: boolean | undefined;
|
|
1826
1827
|
muted?: boolean | undefined;
|
|
1827
1828
|
lastDecodeAt?: number | undefined;
|
|
1828
|
-
running?: boolean | undefined;
|
|
1829
1829
|
backendId?: "deepcw-onnx" | undefined;
|
|
1830
1830
|
pendingText?: string | undefined;
|
|
1831
1831
|
committedText?: string | undefined;
|
|
@@ -1980,12 +1980,12 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
1980
1980
|
sessionId: z.ZodString;
|
|
1981
1981
|
timestamp: z.ZodNumber;
|
|
1982
1982
|
}, "strip", z.ZodTypeAny, {
|
|
1983
|
-
timestamp: number;
|
|
1984
1983
|
kind: "transcript_reset";
|
|
1984
|
+
timestamp: number;
|
|
1985
1985
|
sessionId: string;
|
|
1986
1986
|
}, {
|
|
1987
|
-
timestamp: number;
|
|
1988
1987
|
kind: "transcript_reset";
|
|
1988
|
+
timestamp: number;
|
|
1989
1989
|
sessionId: string;
|
|
1990
1990
|
}>, z.ZodObject<{
|
|
1991
1991
|
kind: z.ZodLiteral<"transcript_pending">;
|
|
@@ -2063,8 +2063,8 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
2063
2063
|
}>>;
|
|
2064
2064
|
timestamp: z.ZodNumber;
|
|
2065
2065
|
}, "strip", z.ZodTypeAny, {
|
|
2066
|
-
timestamp: number;
|
|
2067
2066
|
kind: "transcript_pending";
|
|
2067
|
+
timestamp: number;
|
|
2068
2068
|
pending: {
|
|
2069
2069
|
version: number;
|
|
2070
2070
|
updatedAt: number;
|
|
@@ -2086,8 +2086,8 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
2086
2086
|
}[] | undefined;
|
|
2087
2087
|
} | null;
|
|
2088
2088
|
}, {
|
|
2089
|
-
timestamp: number;
|
|
2090
2089
|
kind: "transcript_pending";
|
|
2090
|
+
timestamp: number;
|
|
2091
2091
|
pending: {
|
|
2092
2092
|
version: number;
|
|
2093
2093
|
updatedAt: number;
|
|
@@ -2199,8 +2199,8 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
2199
2199
|
}>;
|
|
2200
2200
|
timestamp: z.ZodNumber;
|
|
2201
2201
|
}, "strip", z.ZodTypeAny, {
|
|
2202
|
-
timestamp: number;
|
|
2203
2202
|
kind: "transcript_commit";
|
|
2203
|
+
timestamp: number;
|
|
2204
2204
|
segment: {
|
|
2205
2205
|
id: string;
|
|
2206
2206
|
updatedAt: number;
|
|
@@ -2227,8 +2227,8 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
2227
2227
|
endedAt?: number | null | undefined;
|
|
2228
2228
|
};
|
|
2229
2229
|
}, {
|
|
2230
|
-
timestamp: number;
|
|
2231
2230
|
kind: "transcript_commit";
|
|
2231
|
+
timestamp: number;
|
|
2232
2232
|
segment: {
|
|
2233
2233
|
id: string;
|
|
2234
2234
|
updatedAt: number;
|
|
@@ -2260,13 +2260,13 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
2260
2260
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
2261
2261
|
timestamp: z.ZodNumber;
|
|
2262
2262
|
}, "strip", z.ZodTypeAny, {
|
|
2263
|
-
timestamp: number;
|
|
2264
2263
|
kind: "pending";
|
|
2264
|
+
timestamp: number;
|
|
2265
2265
|
text: string;
|
|
2266
2266
|
confidence?: number | undefined;
|
|
2267
2267
|
}, {
|
|
2268
|
-
timestamp: number;
|
|
2269
2268
|
kind: "pending";
|
|
2269
|
+
timestamp: number;
|
|
2270
2270
|
text: string;
|
|
2271
2271
|
confidence?: number | undefined;
|
|
2272
2272
|
}>, z.ZodObject<{
|
|
@@ -2427,13 +2427,13 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
2427
2427
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
2428
2428
|
timestamp: z.ZodNumber;
|
|
2429
2429
|
}, "strip", z.ZodTypeAny, {
|
|
2430
|
-
timestamp: number;
|
|
2431
2430
|
kind: "partial";
|
|
2431
|
+
timestamp: number;
|
|
2432
2432
|
text: string;
|
|
2433
2433
|
confidence?: number | undefined;
|
|
2434
2434
|
}, {
|
|
2435
|
-
timestamp: number;
|
|
2436
2435
|
kind: "partial";
|
|
2436
|
+
timestamp: number;
|
|
2437
2437
|
text: string;
|
|
2438
2438
|
confidence?: number | undefined;
|
|
2439
2439
|
}>, z.ZodObject<{
|
|
@@ -2444,14 +2444,14 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
2444
2444
|
timestamp: z.ZodNumber;
|
|
2445
2445
|
}, "strip", z.ZodTypeAny, {
|
|
2446
2446
|
message: string;
|
|
2447
|
-
timestamp: number;
|
|
2448
2447
|
kind: "error";
|
|
2448
|
+
timestamp: number;
|
|
2449
2449
|
code?: string | undefined;
|
|
2450
2450
|
recoverable?: boolean | undefined;
|
|
2451
2451
|
}, {
|
|
2452
2452
|
message: string;
|
|
2453
|
-
timestamp: number;
|
|
2454
2453
|
kind: "error";
|
|
2454
|
+
timestamp: number;
|
|
2455
2455
|
code?: string | undefined;
|
|
2456
2456
|
recoverable?: boolean | undefined;
|
|
2457
2457
|
}>, z.ZodObject<{
|
|
@@ -2463,17 +2463,17 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
2463
2463
|
message: z.ZodOptional<z.ZodString>;
|
|
2464
2464
|
timestamp: z.ZodNumber;
|
|
2465
2465
|
}, "strip", z.ZodTypeAny, {
|
|
2466
|
-
timestamp: number;
|
|
2467
|
-
kind: "model_load";
|
|
2468
2466
|
backend: "deepcw-onnx";
|
|
2467
|
+
kind: "model_load";
|
|
2468
|
+
timestamp: number;
|
|
2469
2469
|
message?: string | undefined;
|
|
2470
2470
|
modelSize?: "small" | "tiny" | undefined;
|
|
2471
2471
|
language?: string | undefined;
|
|
2472
2472
|
progress?: number | undefined;
|
|
2473
2473
|
}, {
|
|
2474
|
-
timestamp: number;
|
|
2475
|
-
kind: "model_load";
|
|
2476
2474
|
backend: "deepcw-onnx";
|
|
2475
|
+
kind: "model_load";
|
|
2476
|
+
timestamp: number;
|
|
2477
2477
|
message?: string | undefined;
|
|
2478
2478
|
modelSize?: "small" | "tiny" | undefined;
|
|
2479
2479
|
language?: string | undefined;
|
|
@@ -2485,14 +2485,14 @@ export declare const CWDecoderEventSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
2485
2485
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
2486
2486
|
timestamp: z.ZodNumber;
|
|
2487
2487
|
}, "strip", z.ZodTypeAny, {
|
|
2488
|
-
timestamp: number;
|
|
2489
2488
|
kind: "audio_buffer";
|
|
2489
|
+
timestamp: number;
|
|
2490
2490
|
queuedSamples: number;
|
|
2491
2491
|
sampleRate?: number | undefined;
|
|
2492
2492
|
durationMs?: number | undefined;
|
|
2493
2493
|
}, {
|
|
2494
|
-
timestamp: number;
|
|
2495
2494
|
kind: "audio_buffer";
|
|
2495
|
+
timestamp: number;
|
|
2496
2496
|
queuedSamples: number;
|
|
2497
2497
|
sampleRate?: number | undefined;
|
|
2498
2498
|
durationMs?: number | undefined;
|