@ai-matrx/desktop-protocol 0.17.10 → 0.17.11

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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.17.11
4
+ ### (protocol 1.15)
5
+
6
+ - `ChatRow.archived` (optional): the app itself archived the chat — the typed fact behind the `hidden_in` words. `ChatRow.title_source` is now the closed set `ChatTitleSource`. Stripped for peers below 1.15 (guard: versioning.test.ts "chat archived 1.15").
7
+
8
+ Consumer action: none for older peers.
9
+
3
10
  ## 0.17.10
4
11
  ### (protocol 1.14)
5
12
 
package/dist/client.cjs CHANGED
@@ -143,7 +143,7 @@ var import_zod2 = require("zod");
143
143
  // src/schema/primitives.ts
144
144
  var import_zod = require("zod");
145
145
  var PROTOCOL_MAJOR = 1;
146
- var PROTOCOL_MINOR = 14;
146
+ var PROTOCOL_MINOR = 15;
147
147
  var PROTOCOL_VERSION = `${PROTOCOL_MAJOR}.${PROTOCOL_MINOR}`;
148
148
  var ProtocolVersion = import_zod.z.string().regex(/^[1-9][0-9]{0,2}\.[0-9]{1,3}$/);
149
149
  var RequestId = import_zod.z.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/);
@@ -1482,6 +1482,7 @@ var ChatAppProject = import_zod24.z.strictObject({
1482
1482
  id: import_zod24.z.string().min(1).max(200),
1483
1483
  name: import_zod24.z.string().max(200)
1484
1484
  });
1485
+ var ChatTitleSource = import_zod24.z.enum(["app", "app-remembered", "custom-title", "ai-title", "agent-name", "summary", "first-prompt", "last-prompt"]);
1485
1486
  var ChatRow = import_zod24.z.strictObject({
1486
1487
  id: ChatId,
1487
1488
  /** The short id people see (the listing's first 8 characters). */
@@ -1518,10 +1519,12 @@ var ChatRow = import_zod24.z.strictObject({
1518
1519
  * `title` is what to show (`title_override` when set, else this).
1519
1520
  */
1520
1521
  original_title: import_zod24.z.string().max(1e3).optional(),
1521
- /** 1.14: where `original_title` came from (app record, remembered, custom-title, ai-title, agent-name, summary, first-prompt, last-prompt). */
1522
- title_source: import_zod24.z.string().min(1).max(40).optional(),
1522
+ /** 1.14: where `original_title` came from (the one rule's sources, strongest first; 1.15: a closed set). */
1523
+ title_source: ChatTitleSource.optional(),
1523
1524
  /** 1.14: the person's rename inside Matrx (Coding Sessions), applied once by the row builder; absent = none. */
1524
- title_override: import_zod24.z.string().min(1).max(300).optional()
1525
+ title_override: import_zod24.z.string().min(1).max(300).optional(),
1526
+ /** 1.15: the app itself archived it (hidden_in says where and why, in words for people; this is the typed fact). */
1527
+ archived: import_zod24.z.boolean().optional()
1525
1528
  });
1526
1529
  var ChatFamily = import_zod24.z.strictObject({
1527
1530
  id: ChatId,