@ai-matrx/desktop-protocol 0.21.20 → 0.21.21

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,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.21.21
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/desktop-protocol/v0.21.20..npm/desktop-protocol/v0.21.21 -- apps/shared/desktop-protocol`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.21.20
4
10
 
5
11
  Automatic changed-only republish (docs/metadata drift since the last tag — see
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 = 26;
147
+ var PROTOCOL_MINOR = 27;
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_-]+$/);
@@ -2458,7 +2458,12 @@ var AppsWindowsUpdateStateResult = import_zod30.z.strictObject({
2458
2458
  /** When the update became pending (the download's time), when known. */
2459
2459
  since_ms: epochMs.nullable(),
2460
2460
  /** Windows open when the update became pending (or last seen open) that are closed now. */
2461
- closed: import_zod30.z.array(ChatPlace).max(200)
2461
+ closed: import_zod30.z.array(ChatPlace).max(200),
2462
+ /**
2463
+ * Since 1.27: the windows in `closed` that the update itself quit (the app's log records a quit for
2464
+ * the update within a minute of when each was last seen running). Absent: not known.
2465
+ */
2466
+ closed_by_update: import_zod30.z.array(ChatPlace).max(200).optional()
2462
2467
  });
2463
2468
  var AppsWindowsReopenParams = import_zod30.z.strictObject({ app_key: AppKey, windows: import_zod30.z.array(ChatPlace).min(1).max(200) });
2464
2469
  var AppsWindowsReopenResult = import_zod30.z.strictObject({ message: import_zod30.z.string().max(400), opened: import_zod30.z.array(ChatPlace).max(200) });