@ai-matrx/desktop-protocol 0.21.57 → 0.21.59
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/CHANGELOG.md +19 -1
- package/dist/chunk-server-4RNDE5ZL.js +6669 -0
- package/dist/chunk-server-4RNDE5ZL.js.map +1 -0
- package/dist/chunk-server-OVLU5III.js +144 -0
- package/dist/chunk-server-OVLU5III.js.map +1 -0
- package/dist/client.cjs +7 -7
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +4 -4
- package/dist/client.d.ts +4 -4
- package/dist/client.js +24 -4783
- package/dist/client.js.map +1 -1
- package/dist/frame.js +16 -121
- package/dist/frame.js.map +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +819 -5895
- package/dist/index.js.map +1 -1
- package/dist/{models-DbIm7Isi.d.cts → models-pTklrHwM.d.cts} +1 -1
- package/dist/{models-DbIm7Isi.d.ts → models-pTklrHwM.d.ts} +1 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.js.map +1 -1
- package/package.json +3 -3
package/dist/client.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BackoffOptions } from '@ai-matrx/data/realtime';
|
|
2
2
|
export { RECONNECT_ALARM_ATTEMPTS } from '@ai-matrx/data/realtime';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { W as Welcome, D as DesktopProtocolError, C as CloseOutcome, O as OpName, a as OpParams, b as OpResult, c as OPS, S as StreamMeta, E as EndReason, d as EVENTS, e as ClientType, M as ModelsTranscribeResult, T as TranscriptionModelId, f as MlProgress } from './models-
|
|
5
|
-
export { i as isDesktopProtocolError } from './models-
|
|
4
|
+
import { W as Welcome, D as DesktopProtocolError, C as CloseOutcome, O as OpName, a as OpParams, b as OpResult, c as OPS, S as StreamMeta, E as EndReason, d as EVENTS, e as ClientType, M as ModelsTranscribeResult, T as TranscriptionModelId, f as MlProgress } from './models-pTklrHwM.cjs';
|
|
5
|
+
export { i as isDesktopProtocolError } from './models-pTklrHwM.cjs';
|
|
6
6
|
import { FrameHeader } from './frame.cjs';
|
|
7
7
|
|
|
8
8
|
/** The subset of the WHATWG WebSocket the client uses — browser, React Native, `ws` and Workers all fit. */
|
|
@@ -167,7 +167,7 @@ interface DesktopStream<N extends StreamOpName> {
|
|
|
167
167
|
}
|
|
168
168
|
interface DesktopClient {
|
|
169
169
|
connect(): void;
|
|
170
|
-
/** Close for good (no reconnect). Pending work rejects with
|
|
170
|
+
/** Close for good (no reconnect). Pending work rejects with CANCELED. */
|
|
171
171
|
close(): void;
|
|
172
172
|
getState(): DesktopClientState;
|
|
173
173
|
/** useSyncExternalStore-shaped. */
|
|
@@ -227,7 +227,7 @@ interface DesktopTranscriberOptions {
|
|
|
227
227
|
language?: string;
|
|
228
228
|
/** Per call (first use installs the runtime and a model): default 15 minutes. */
|
|
229
229
|
timeoutMs?: number;
|
|
230
|
-
/** Progress for each call (install steps, then each segment as it is
|
|
230
|
+
/** Progress for each call (install steps, then each segment as it is recognized). */
|
|
231
231
|
onProgress?: (progress: MlProgress) => void;
|
|
232
232
|
}
|
|
233
233
|
/** What a transcription returns: the shape `@ai-matrx/browser-audio`'s TranscriptionTransport expects. */
|
package/dist/client.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BackoffOptions } from '@ai-matrx/data/realtime';
|
|
2
2
|
export { RECONNECT_ALARM_ATTEMPTS } from '@ai-matrx/data/realtime';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { W as Welcome, D as DesktopProtocolError, C as CloseOutcome, O as OpName, a as OpParams, b as OpResult, c as OPS, S as StreamMeta, E as EndReason, d as EVENTS, e as ClientType, M as ModelsTranscribeResult, T as TranscriptionModelId, f as MlProgress } from './models-
|
|
5
|
-
export { i as isDesktopProtocolError } from './models-
|
|
4
|
+
import { W as Welcome, D as DesktopProtocolError, C as CloseOutcome, O as OpName, a as OpParams, b as OpResult, c as OPS, S as StreamMeta, E as EndReason, d as EVENTS, e as ClientType, M as ModelsTranscribeResult, T as TranscriptionModelId, f as MlProgress } from './models-pTklrHwM.js';
|
|
5
|
+
export { i as isDesktopProtocolError } from './models-pTklrHwM.js';
|
|
6
6
|
import { FrameHeader } from './frame.js';
|
|
7
7
|
|
|
8
8
|
/** The subset of the WHATWG WebSocket the client uses — browser, React Native, `ws` and Workers all fit. */
|
|
@@ -167,7 +167,7 @@ interface DesktopStream<N extends StreamOpName> {
|
|
|
167
167
|
}
|
|
168
168
|
interface DesktopClient {
|
|
169
169
|
connect(): void;
|
|
170
|
-
/** Close for good (no reconnect). Pending work rejects with
|
|
170
|
+
/** Close for good (no reconnect). Pending work rejects with CANCELED. */
|
|
171
171
|
close(): void;
|
|
172
172
|
getState(): DesktopClientState;
|
|
173
173
|
/** useSyncExternalStore-shaped. */
|
|
@@ -227,7 +227,7 @@ interface DesktopTranscriberOptions {
|
|
|
227
227
|
language?: string;
|
|
228
228
|
/** Per call (first use installs the runtime and a model): default 15 minutes. */
|
|
229
229
|
timeoutMs?: number;
|
|
230
|
-
/** Progress for each call (install steps, then each segment as it is
|
|
230
|
+
/** Progress for each call (install steps, then each segment as it is recognized). */
|
|
231
231
|
onProgress?: (progress: MlProgress) => void;
|
|
232
232
|
}
|
|
233
233
|
/** What a transcription returns: the shape `@ai-matrx/browser-audio`'s TranscriptionTransport expects. */
|