@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/CHANGELOG.md CHANGED
@@ -1,9 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.21.38
4
+ ### Unreleased
5
+
6
+ - Protocol 1.46 (additive): `DownloadRow.error` (optional) — a failed model download stays in
7
+ models.downloads.list with why it stopped. Stripped for 1.45 peers.
8
+
3
9
  ## 0.21.37
4
10
 
5
- UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
6
- Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/desktop-protocol/src`.
11
+ SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
12
+ so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
13
+ Diff: `git diff 6776a9a814 aa17cdaf9c -- apps/shared/desktop-protocol/src`
14
+
15
+ Changed shipped source files (6):
16
+ - `apps/shared/desktop-protocol/src/contract.ts`
17
+ - `apps/shared/desktop-protocol/src/schema/models.ts`
18
+ - `apps/shared/desktop-protocol/src/schema/primitives.ts`
19
+ - `apps/shared/desktop-protocol/src/schema/registry.ts`
20
+ - `apps/shared/desktop-protocol/src/schema/sysinfo.ts`
21
+ - `apps/shared/desktop-protocol/src/versioning.ts`
7
22
 
8
23
  ## 0.21.36
9
24
  ### Unreleased
package/dist/client.cjs CHANGED
@@ -144,7 +144,7 @@ var import_zod2 = require("zod");
144
144
  var import_zod = require("zod");
145
145
  var import_uuid = require("@ai-matrx/kit/uuid");
146
146
  var PROTOCOL_MAJOR = 1;
147
- var PROTOCOL_MINOR = 45;
147
+ var PROTOCOL_MINOR = 46;
148
148
  var PROTOCOL_VERSION = `${PROTOCOL_MAJOR}.${PROTOCOL_MINOR}`;
149
149
  var ProtocolVersion = import_zod.z.string().regex(/^[1-9][0-9]{0,2}\.[0-9]{1,3}$/);
150
150
  var RequestId = import_zod.z.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/);
@@ -916,7 +916,9 @@ var DownloadRow = import_zod9.z.strictObject({
916
916
  /** Unix ms; null when stopped. */
917
917
  started_at: nonNegInt.nullable(),
918
918
  /** The folder it downloads into (Show in Finder). */
919
- path: import_zod9.z.string().max(1024).nullable()
919
+ path: import_zod9.z.string().max(1024).nullable(),
920
+ /** (1.46) Why it stopped, when it failed (one human line); absent otherwise. */
921
+ error: import_zod9.z.string().max(300).optional()
920
922
  });
921
923
  var ModelsDownloadsListParams = import_zod9.z.strictObject({});
922
924
  var ModelsDownloadsListResult = import_zod9.z.strictObject({ downloads: import_zod9.z.array(DownloadRow).max(64) });
@@ -4470,6 +4472,7 @@ var NESTED_RESULTS = /* @__PURE__ */ new Map([
4470
4472
  ["account.agents.list", [["agents", "AccountAgent"]]],
4471
4473
  ["web.scrape", [["pages", "WebScrapePage"]]],
4472
4474
  ["sysinfo.get", [["permissions", "SysinfoGetResult.permissions[]"]]],
4475
+ ["models.downloads.list", [["downloads", "DownloadRow"]]],
4473
4476
  ["apps.projects.to_window", [["group", "ProjectMoveGroup"]]]
4474
4477
  ]);
4475
4478
  var WINDOW_RESULTS = /* @__PURE__ */ new Map([