@ai-matrx/desktop-protocol 0.21.68 → 0.21.69

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,10 +1,19 @@
1
1
  # Changelog
2
2
 
3
- ## 0.21.68
3
+ ## 0.21.69
4
4
 
5
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
6
  Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/desktop-protocol/src`.
7
7
 
8
+ ## 0.21.68
9
+
10
+ SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
11
+ so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
12
+ Diff: `git diff 8cbdd93fc9 a8b863ca17 -- apps/shared/desktop-protocol/src`
13
+
14
+ Changed shipped source files (1):
15
+ - `apps/shared/desktop-protocol/src/client/client.ts`
16
+
8
17
  ## 0.21.67
9
18
 
10
19
  SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
@@ -6,7 +6,7 @@ import {
6
6
  import { z } from "zod";
7
7
  import { UUID_SHAPE_PATTERN } from "@ai-matrx/kit/uuid";
8
8
  var PROTOCOL_MAJOR = 1;
9
- var PROTOCOL_MINOR = 67;
9
+ var PROTOCOL_MINOR = 68;
10
10
  var PROTOCOL_VERSION = `${PROTOCOL_MAJOR}.${PROTOCOL_MINOR}`;
11
11
  var ProtocolVersion = z.string().regex(/^[1-9][0-9]{0,2}\.[0-9]{1,3}$/);
12
12
  var RequestId = z.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/);
@@ -1031,7 +1031,13 @@ var AccountAgentsVersionDiffResult = z11.strictObject({
1031
1031
  current: z11.record(z11.string().max(200), z11.unknown()).nullable()
1032
1032
  });
1033
1033
  var AccountAgentsRestoreVersionParams = z11.strictObject({ agent_id: AccountRowId, version_number: z11.int().min(1) });
1034
- var AccountAgentsRestoreVersionResult = z11.strictObject({ restored_version: z11.int().min(1) });
1034
+ var AccountAgentsRestoreVersionResult = z11.strictObject({
1035
+ restored_version: z11.int().min(1),
1036
+ /** (1.68) The version row the restore saved ("Restored from v<N>"), now the agent's current version. */
1037
+ new_version: z11.int().min(1).optional(),
1038
+ /** (1.68) True when the agent already matched the restored version: nothing was saved. */
1039
+ unchanged: z11.boolean().optional()
1040
+ });
1035
1041
  var VaultItemKind = z11.enum(["login", "passkey", "key", "other"]);
1036
1042
  var VaultFieldSummary = z11.strictObject({
1037
1043
  key: z11.string().min(1).max(120),
@@ -5747,7 +5753,8 @@ var FIELDS_SINCE = {
5747
5753
  WindowsFeaturesParams: { installed_only: "1.67" },
5748
5754
  SysinfoHardwareResult: { graphics: "1.45" },
5749
5755
  DownloadRow: { error: "1.46" },
5750
- CopyRestart: { reopened: "1.60" }
5756
+ CopyRestart: { reopened: "1.60" },
5757
+ AccountAgentsRestoreVersionResult: { new_version: "1.68", unchanged: "1.68" }
5751
5758
  };
5752
5759
  var NULL_SINCE = {
5753
5760
  "RelayDeviceStatusEvent.since_ms": { since: "1.1", olderPeersGet: 0 }
@@ -5832,7 +5839,8 @@ var RESULT_PATH = /* @__PURE__ */ new Map([
5832
5839
  ["apps.projects.to_window", "AppsProjectsToWindowResult"],
5833
5840
  // 1.67: Matrx Local's local_mac_apps result fields.
5834
5841
  ["photos.get", "PhotosGetResult"],
5835
- ["location.get", "LocationGetResult"]
5842
+ ["location.get", "LocationGetResult"],
5843
+ ["account.agents.restore_version", "AccountAgentsRestoreVersionResult"]
5836
5844
  ]);
5837
5845
  var NESTED_RESULTS = /* @__PURE__ */ new Map([
5838
5846
  ["apps.chats.list", [["chats", "ChatRow"]]],
@@ -6874,4 +6882,4 @@ export {
6874
6882
  closeRule,
6875
6883
  isTerminalClose
6876
6884
  };
6877
- //# sourceMappingURL=chunk-server-AHS5QIQV.js.map
6885
+ //# sourceMappingURL=chunk-server-TH6RJ5S5.js.map