@ai-matrx/desktop-protocol 0.21.37 → 0.21.38

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-B7jYxupg.cjs';
5
- export { i as isDesktopProtocolError } from './models-B7jYxupg.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-zxDeNnGE.cjs';
5
+ export { i as isDesktopProtocolError } from './models-zxDeNnGE.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, 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-B7jYxupg.js';
5
- export { i as isDesktopProtocolError } from './models-B7jYxupg.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-zxDeNnGE.js';
5
+ export { i as isDesktopProtocolError } from './models-zxDeNnGE.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
@@ -112,7 +112,7 @@ import { z as z2 } from "zod";
112
112
  import { z } from "zod";
113
113
  import { UUID_SHAPE_PATTERN } from "@ai-matrx/kit/uuid";
114
114
  var PROTOCOL_MAJOR = 1;
115
- var PROTOCOL_MINOR = 45;
115
+ var PROTOCOL_MINOR = 46;
116
116
  var PROTOCOL_VERSION = `${PROTOCOL_MAJOR}.${PROTOCOL_MINOR}`;
117
117
  var ProtocolVersion = z.string().regex(/^[1-9][0-9]{0,2}\.[0-9]{1,3}$/);
118
118
  var RequestId = z.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/);
@@ -884,7 +884,9 @@ var DownloadRow = z9.strictObject({
884
884
  /** Unix ms; null when stopped. */
885
885
  started_at: nonNegInt.nullable(),
886
886
  /** The folder it downloads into (Show in Finder). */
887
- path: z9.string().max(1024).nullable()
887
+ path: z9.string().max(1024).nullable(),
888
+ /** (1.46) Why it stopped, when it failed (one human line); absent otherwise. */
889
+ error: z9.string().max(300).optional()
888
890
  });
889
891
  var ModelsDownloadsListParams = z9.strictObject({});
890
892
  var ModelsDownloadsListResult = z9.strictObject({ downloads: z9.array(DownloadRow).max(64) });
@@ -4438,6 +4440,7 @@ var NESTED_RESULTS = /* @__PURE__ */ new Map([
4438
4440
  ["account.agents.list", [["agents", "AccountAgent"]]],
4439
4441
  ["web.scrape", [["pages", "WebScrapePage"]]],
4440
4442
  ["sysinfo.get", [["permissions", "SysinfoGetResult.permissions[]"]]],
4443
+ ["models.downloads.list", [["downloads", "DownloadRow"]]],
4441
4444
  ["apps.projects.to_window", [["group", "ProjectMoveGroup"]]]
4442
4445
  ]);
4443
4446
  var WINDOW_RESULTS = /* @__PURE__ */ new Map([