@ai-matrx/desktop-protocol 0.5.0 → 0.6.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/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, O as OpName, a as OpParams, b as OpResult, c as OPS, S as StreamMeta, E as EndReason, d as EVENTS, C as ClientType } from './registry-BeY9D7h0.cjs';
5
- export { i as isDesktopProtocolError } from './registry-BeY9D7h0.cjs';
4
+ import { W as Welcome, D as DesktopProtocolError, O as OpName, a as OpParams, b as OpResult, c as OPS, S as StreamMeta, E as EndReason, d as EVENTS, C as ClientType } from './registry-jTmq1CsI.cjs';
5
+ export { i as isDesktopProtocolError } from './registry-jTmq1CsI.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. */
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, O as OpName, a as OpParams, b as OpResult, c as OPS, S as StreamMeta, E as EndReason, d as EVENTS, C as ClientType } from './registry-BeY9D7h0.js';
5
- export { i as isDesktopProtocolError } from './registry-BeY9D7h0.js';
4
+ import { W as Welcome, D as DesktopProtocolError, O as OpName, a as OpParams, b as OpResult, c as OPS, S as StreamMeta, E as EndReason, d as EVENTS, C as ClientType } from './registry-jTmq1CsI.js';
5
+ export { i as isDesktopProtocolError } from './registry-jTmq1CsI.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. */
package/dist/client.js CHANGED
@@ -616,7 +616,11 @@ var SessionControlChangedEvent = z8.strictObject({ controller_client_id: z8.stri
616
616
  import { z as z9 } from "zod";
617
617
  var RelayDeviceStatusEvent = z9.strictObject({
618
618
  online: z9.boolean(),
619
- since_ms: epochMs,
619
+ /**
620
+ * When the device last went online/offline; null = it has never connected (since 1.1 —
621
+ * NULL_SINCE: a 1.0 reader is sent 0, its old meaning).
622
+ */
623
+ since_ms: epochMs.nullable(),
620
624
  app_version: z9.string().max(32).nullable(),
621
625
  protocol_version: ProtocolVersion.nullable()
622
626
  });