@ai-matrx/desktop-protocol 0.21.67 → 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,7 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.21.69
4
+
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`.
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
+
3
17
  ## 0.21.67
4
18
 
19
+ SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
20
+ so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
21
+ Diff: `git diff c483bfa702 8cbdd93fc9 -- apps/shared/desktop-protocol/src`
22
+
23
+ Changed shipped source files (1):
24
+ - `apps/shared/desktop-protocol/src/schema/audio.ts`
25
+
26
+ ## 0.21.66
27
+
5
28
  - **Protocol 1.67 — Matrx Local's local_mac_apps and local_windows_ps contracts, carried whole (2026-10-21).** Every parameter and result field those two dispatchers had now has a home: `mail.send` `bcc`; `mail.accounts` `mailboxes`; `messages.list` `contact` / `unread_only` (+ `read`, `service`, `chat_name`); `messages.chats` `last_message`; `contacts.search` without a `query` (the first `limit`); `calendar.list` `calendars` (+ `url`); `reminders.list` `lists` (+ `priority`, `completed_at_ms`); `photos.search` `media_type` (+ `media_type`, `duration_s`); `photos.get` `thumbnail_size` (+ `thumbnail_png_base64`); `location.get` `altitude_m`, `vertical_accuracy_m`, `speed_mps`, `course_deg`; `windows.services` `status`; `windows.service_control` `pause` / `resume`; `windows.event_log` `source`; `windows.features` `installed_only`. Optional; result fields stripped for a 1.66 peer by `forPeer`. Consumer action: Matrx 2's core serves them (matrx-desktop test/unit/legacy-contract-parity.test.ts).
6
29
  - **Protocol 1.66 — matrx-local's window and audio contracts on Matrx 2 (2026-10-21).** `window.list` takes `app` (owning app name substring, local_window's app_filter); `window.minimize` takes `mode` minimize / maximize / restore (local_window's window_action) and echoes it; `audio.record` takes `channels` and `sample_rate` and reports both; `audio.play` takes `device_id` (an output from audio.devices). Optional fields only, in FIELDS_SINCE; an older core refuses the new params as INVALID_PARAMS. Consumer action: none.
7
30
  - **Protocol 1.65 — "Continued from <account>" is a transcript item (2026-10-21).** `CodingTranscriptItem` gains `continued` (`id`, `from`, `text`, `at`): the line across a coding chat where it moved from another account (@ai-matrx/coding-sessions emits it where it used to emit an info `notice`). `forPeer` sends a 1.64 peer's `coding.history` / `coding.transcript.read` each as that `notice`, so its strict union never refuses the whole transcript. Consumer action: draw it as a divider at its place (the coding-sessions screen does).
@@ -11,6 +34,16 @@
11
34
  - **Protocol 1.61 — where a chat's title shows (2026-10-20).** `ChatRow.title_sync` (`ChatTitleSync`: `state` synced / not_synced / unsupported, and a `note`): the title facet's sync state for the chat's app, so a screen can say honestly whether the app shows the person's name. Optional; stripped for a 1.60 peer by `forPeer`. Consumer action: none.
12
35
  - **Shared code ships once per side (2026-10-18).** Built `splitting: false`, the root, `/frame` and `/client` each carried their own copy of 44 shared modules. ESM now builds them in one split pass (`chunk-server-*.js`, no banner); `/react` builds alone, stamped. CJS unsplit; declarations per group. ESM JS 610,843 -> 398,722 bytes; root + `/client` together 597 KB -> 390 KB; `/frame` stays zod-free (6 KB); every entry's export names identical (ESM and CJS). Guard: `../scripts/check-ships-once.mjs`, run in `build`. Consumer action: none.
13
36
 
37
+ ## 0.21.65
38
+
39
+ - **Protocol 1.66 — matrx-local's window and audio contracts on Matrx 2 (2026-10-21).** `window.list` takes `app` (owning app name substring, local_window's app_filter); `window.minimize` takes `mode` minimize / maximize / restore (local_window's window_action) and echoes it; `audio.record` takes `channels` and `sample_rate` and reports both; `audio.play` takes `device_id` (an output from audio.devices). Optional fields only, in FIELDS_SINCE; an older core refuses the new params as INVALID_PARAMS. Consumer action: none.
40
+ - **Protocol 1.65 — "Continued from <account>" is a transcript item (2026-10-21).** `CodingTranscriptItem` gains `continued` (`id`, `from`, `text`, `at`): the line across a coding chat where it moved from another account (@ai-matrx/coding-sessions emits it where it used to emit an info `notice`). `forPeer` sends a 1.64 peer's `coding.history` / `coding.transcript.read` each as that `notice`, so its strict union never refuses the whole transcript. Consumer action: draw it as a divider at its place (the coding-sessions screen does).
41
+ - **Protocol 1.64 — agent versions in Matrx 2 (2026-10-21).** New ops `account.agents.versions` (an agent's saved versions: number, age, note; the current version), `account.agents.version_diff` (one version and the current one as agent-definition records for `@ai-matrx/agents/versions/react` AgentDiffViewer) and `account.agents.restore_version` (`agx_promote_version`). New ops only; an older peer never sees them. Consumer action: none.
42
+ - **Protocol 1.63 — a chat's instance, and what an instance record lacks (2026-10-21).** `ChatRow.home` (`ChatPlace`): the instance whose folder holds the chat, read only (Claude: the side window holding its newest record copy, else main; Codex: the home whose database holds it). `AppInstance.missing` (`InstanceGap[]`: account / email / version): what the record still lacks after Matrx filled what it remembered (Matrx 2 ledger D10). Optional; stripped for a 1.62 peer by `forPeer`. Consumer action: none.
43
+ - **Protocol 1.62 — moves as records (2026-10-20).** `ChatRow.moved` (`ChatMove[]`, newest first: `kind` move / copy, `from`, `to`, `at_ms`, `back_at_ms`): every Move and Copy of a chat between instances as Matrx recorded it, so a screen reads where a chat went and whether it came back from the record, never from a project named "From X". Optional; stripped for a 1.61 peer by `forPeer`. Consumer action: none.
44
+ - **Protocol 1.61 — where a chat's title shows (2026-10-20).** `ChatRow.title_sync` (`ChatTitleSync`: `state` synced / not_synced / unsupported, and a `note`): the title facet's sync state for the chat's app, so a screen can say honestly whether the app shows the person's name. Optional; stripped for a 1.60 peer by `forPeer`. Consumer action: none.
45
+ - **Shared code ships once per side (2026-10-18).** Built `splitting: false`, the root, `/frame` and `/client` each carried their own copy of 44 shared modules. ESM now builds them in one split pass (`chunk-server-*.js`, no banner); `/react` builds alone, stamped. CJS unsplit; declarations per group. ESM JS 610,843 -> 398,722 bytes; root + `/client` together 597 KB -> 390 KB; `/frame` stays zod-free (6 KB); every entry's export names identical (ESM and CJS). Guard: `../scripts/check-ships-once.mjs`, run in `build`. Consumer action: none.
46
+
14
47
  ## 0.21.64
15
48
 
16
49
  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