@ai-matrx/desktop-protocol 0.21.59 → 0.21.60

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/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 = 60;
147
+ var PROTOCOL_MINOR = 61;
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_-]+$/);
@@ -3006,6 +3006,7 @@ var ChatAppProject = import_zod30.z.strictObject({
3006
3006
  var ChatTitleSource = import_zod30.z.enum(["app", "app-remembered", "custom-title", "ai-title", "agent-name", "summary", "first-prompt", "last-prompt"]);
3007
3007
  var ChatAppGroup = import_zod30.z.strictObject({ window: ChatPlace, group_id: import_zod30.z.string().max(120), name: import_zod30.z.string().max(200) });
3008
3008
  var ChatParent = import_zod30.z.strictObject({ id: ChatId, how: import_zod30.z.enum(["spawned", "dispatched", "forked"]), title: import_zod30.z.string().max(1e3).nullable() });
3009
+ var ChatTitleSync = import_zod30.z.strictObject({ state: import_zod30.z.enum(["synced", "not_synced", "unsupported"]), note: import_zod30.z.string().max(200) });
3009
3010
  var ChatRow = import_zod30.z.strictObject({
3010
3011
  id: ChatId,
3011
3012
  /** The short id people see (the listing's first 8 characters). */
@@ -3055,7 +3056,9 @@ var ChatRow = import_zod30.z.strictObject({
3055
3056
  /** 1.59: the chat it came from (nesting): an agent's chat that spawned it, dispatched it, or that it was forked from. */
3056
3057
  parent: ChatParent.optional(),
3057
3058
  /** 1.59: earlier sessions of this same chat (the app continued it under new session ids). */
3058
- prior_sessions: import_zod30.z.array(ChatId).max(50).optional()
3059
+ prior_sessions: import_zod30.z.array(ChatId).max(50).optional(),
3060
+ /** 1.61: where the title shows (the title facet's sync state for this chat's app). */
3061
+ title_sync: ChatTitleSync.optional()
3059
3062
  });
3060
3063
  var ChatFamily = import_zod30.z.strictObject({
3061
3064
  id: ChatId,