@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/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-DbIm7Isi.cjs';
5
- export { i as isDesktopProtocolError } from './models-DbIm7Isi.cjs';
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 CANCELLED. */
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 recognised). */
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-DbIm7Isi.js';
5
- export { i as isDesktopProtocolError } from './models-DbIm7Isi.js';
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 CANCELLED. */
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 recognised). */
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. */