@ai-matrx/desktop-protocol 0.21.28 → 0.21.30

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/realtime';
2
2
  export { RECONNECT_ALARM_ATTEMPTS } from '@ai-matrx/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-NgxBS190.cjs';
5
- export { i as isDesktopProtocolError } from './models-NgxBS190.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-CzKyJhDP.cjs';
5
+ export { i as isDesktopProtocolError } from './models-CzKyJhDP.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. */
@@ -95,6 +95,11 @@ interface DesktopClientOptions {
95
95
  protocols?: () => string[] | Promise<string[]>;
96
96
  clientType: ClientType;
97
97
  clientVersion: string;
98
+ /**
99
+ * What this client is, in a person's words ("iPhone", "Safari on Mac"), sent once per connection
100
+ * to a 1.38+ core (session.identify) so the runs it starts read "Started from iPhone".
101
+ */
102
+ clientLabel?: string;
98
103
  /** Default: this package's PROTOCOL_MAJOR.PROTOCOL_MINOR. */
99
104
  protocolVersion?: string;
100
105
  /** Default: `globalThis.WebSocket`. */
package/dist/client.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { BackoffOptions } from '@ai-matrx/realtime';
2
2
  export { RECONNECT_ALARM_ATTEMPTS } from '@ai-matrx/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-NgxBS190.js';
5
- export { i as isDesktopProtocolError } from './models-NgxBS190.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-CzKyJhDP.js';
5
+ export { i as isDesktopProtocolError } from './models-CzKyJhDP.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. */
@@ -95,6 +95,11 @@ interface DesktopClientOptions {
95
95
  protocols?: () => string[] | Promise<string[]>;
96
96
  clientType: ClientType;
97
97
  clientVersion: string;
98
+ /**
99
+ * What this client is, in a person's words ("iPhone", "Safari on Mac"), sent once per connection
100
+ * to a 1.38+ core (session.identify) so the runs it starts read "Started from iPhone".
101
+ */
102
+ clientLabel?: string;
98
103
  /** Default: this package's PROTOCOL_MAJOR.PROTOCOL_MINOR. */
99
104
  protocolVersion?: string;
100
105
  /** Default: `globalThis.WebSocket`. */