@ai-matrx/desktop-protocol 0.17.9 → 0.17.10
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 +7 -0
- package/dist/client.cjs +11 -2
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +11 -2
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +13 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +33 -5
- package/dist/index.d.ts +33 -5
- package/dist/index.js +13 -4
- package/dist/index.js.map +1 -1
- package/dist/{models-G1-Bsz-k.d.cts → models-BcBSKFeq.d.cts} +45 -0
- package/dist/{models-G1-Bsz-k.d.ts → models-BcBSKFeq.d.ts} +45 -0
- package/dist/react.d.cts +21 -0
- package/dist/react.d.ts +21 -0
- package/generated/desktop-protocol.schema.json +19 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.17.10
|
|
4
|
+
### (protocol 1.14)
|
|
5
|
+
|
|
6
|
+
- **One title rule.** `ChatRow` gains optional `original_title` (the chat's own title by the rule in `@ai-matrx/coding-sessions/sessions`), `title_source` (where it came from) and `title_override` (the person's rename inside Matrx, applied once by the row builder); `title` stays what to show. Stripped for peers below 1.14 (guard: versioning.test.ts "chat titles 1.14").
|
|
7
|
+
|
|
8
|
+
Consumer action: none for older peers; a row builder sets all three.
|
|
9
|
+
|
|
3
10
|
## 0.17.9
|
|
4
11
|
### (protocol 1.13)
|
|
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 =
|
|
146
|
+
var PROTOCOL_MINOR = 14;
|
|
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_-]+$/);
|
|
@@ -1512,7 +1512,16 @@ var ChatRow = import_zod24.z.strictObject({
|
|
|
1512
1512
|
/** 1.13: the app's own project the chat is grouped under in the app (Codex), read only; absent = none or not an app that groups. */
|
|
1513
1513
|
app_project: ChatAppProject.optional(),
|
|
1514
1514
|
/** 1.13: tokens the conversation has used, when the app records it (Codex); absent when not recorded; prices are not on disk. */
|
|
1515
|
-
tokens: nonNegInt.optional()
|
|
1515
|
+
tokens: nonNegInt.optional(),
|
|
1516
|
+
/**
|
|
1517
|
+
* 1.14: the chat's own title before the person's rename (the one title rule, `@ai-matrx/coding-sessions/sessions`);
|
|
1518
|
+
* `title` is what to show (`title_override` when set, else this).
|
|
1519
|
+
*/
|
|
1520
|
+
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(),
|
|
1523
|
+
/** 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()
|
|
1516
1525
|
});
|
|
1517
1526
|
var ChatFamily = import_zod24.z.strictObject({
|
|
1518
1527
|
id: ChatId,
|