@ai-matrx/desktop-protocol 0.21.27 → 0.21.28

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.28
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/desktop-protocol/v0.21.27..npm/desktop-protocol/v0.21.28 -- apps/shared/desktop-protocol`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.21.27
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 = 32;
147
+ var PROTOCOL_MINOR = 33;
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_-]+$/);
@@ -2498,6 +2498,12 @@ var TitleMismatch = import_zod30.z.strictObject({
2498
2498
  windows: import_zod30.z.array(ChatPlace).max(200),
2499
2499
  differs_in: import_zod30.z.array(TitleCopies).max(200)
2500
2500
  });
2501
+ var StaleTitleWindow = import_zod30.z.strictObject({
2502
+ window: ChatPlace,
2503
+ /** First and latest time (ms) it was seen writing an old name back. */
2504
+ since_ms: nonNegInt,
2505
+ last_ms: nonNegInt
2506
+ });
2501
2507
  var AppsChatsTitlesCheckParams = import_zod30.z.strictObject({ app_key: AppKey });
2502
2508
  var AppsChatsTitlesCheckResult = import_zod30.z.strictObject({
2503
2509
  app_key: AppKey,
@@ -2506,7 +2512,9 @@ var AppsChatsTitlesCheckResult = import_zod30.z.strictObject({
2506
2512
  /** Chats with a different name in some window (or in Matrx). */
2507
2513
  chats_with_a_different_name: nonNegInt,
2508
2514
  copies_to_write: nonNegInt,
2509
- chats: import_zod30.z.array(TitleMismatch).max(5e3)
2515
+ chats: import_zod30.z.array(TitleMismatch).max(5e3),
2516
+ /** Windows that keep writing old names back (each is fixed every pass; reloading it, Cmd+R, stops it). Since 1.33. */
2517
+ stale_windows: import_zod30.z.array(StaleTitleWindow).max(200).optional()
2510
2518
  });
2511
2519
  var AppsChatsTitlesPushParams = import_zod30.z.strictObject({ app_key: AppKey, chat_id: ChatId.optional(), dry_run: import_zod30.z.boolean().optional() });
2512
2520
  var AppsChatsTitlesPushResult = import_zod30.z.strictObject({