@ai-matrx/desktop-protocol 0.21.68 → 0.21.69
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 +10 -1
- package/dist/{chunk-server-AHS5QIQV.js → chunk-server-TH6RJ5S5.js} +13 -5
- package/dist/chunk-server-TH6RJ5S5.js.map +1 -0
- package/dist/client.cjs +10 -3
- 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 +1 -1
- package/dist/index.cjs +13 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -5
- package/dist/index.d.ts +14 -5
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-C0Jgv2ev.d.cts → models-BaCCJM1M.d.cts} +4 -0
- package/dist/{models-C0Jgv2ev.d.ts → models-BaCCJM1M.d.ts} +4 -0
- package/dist/react.d.cts +2 -0
- package/dist/react.d.ts +2 -0
- package/generated/desktop-protocol.schema.json +13 -1
- package/package.json +2 -2
- package/dist/chunk-server-AHS5QIQV.js.map +0 -1
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 =
|
|
147
|
+
var PROTOCOL_MINOR = 68;
|
|
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_-]+$/);
|
|
@@ -1525,7 +1525,13 @@ var AccountAgentsVersionDiffResult = import_zod14.z.strictObject({
|
|
|
1525
1525
|
current: import_zod14.z.record(import_zod14.z.string().max(200), import_zod14.z.unknown()).nullable()
|
|
1526
1526
|
});
|
|
1527
1527
|
var AccountAgentsRestoreVersionParams = import_zod14.z.strictObject({ agent_id: AccountRowId, version_number: import_zod14.z.int().min(1) });
|
|
1528
|
-
var AccountAgentsRestoreVersionResult = import_zod14.z.strictObject({
|
|
1528
|
+
var AccountAgentsRestoreVersionResult = import_zod14.z.strictObject({
|
|
1529
|
+
restored_version: import_zod14.z.int().min(1),
|
|
1530
|
+
/** (1.68) The version row the restore saved ("Restored from v<N>"), now the agent's current version. */
|
|
1531
|
+
new_version: import_zod14.z.int().min(1).optional(),
|
|
1532
|
+
/** (1.68) True when the agent already matched the restored version: nothing was saved. */
|
|
1533
|
+
unchanged: import_zod14.z.boolean().optional()
|
|
1534
|
+
});
|
|
1529
1535
|
var VaultItemKind = import_zod14.z.enum(["login", "passkey", "key", "other"]);
|
|
1530
1536
|
var VaultFieldSummary = import_zod14.z.strictObject({
|
|
1531
1537
|
key: import_zod14.z.string().min(1).max(120),
|
|
@@ -4910,7 +4916,8 @@ var RESULT_PATH = /* @__PURE__ */ new Map([
|
|
|
4910
4916
|
["apps.projects.to_window", "AppsProjectsToWindowResult"],
|
|
4911
4917
|
// 1.67: Matrx Local's local_mac_apps result fields.
|
|
4912
4918
|
["photos.get", "PhotosGetResult"],
|
|
4913
|
-
["location.get", "LocationGetResult"]
|
|
4919
|
+
["location.get", "LocationGetResult"],
|
|
4920
|
+
["account.agents.restore_version", "AccountAgentsRestoreVersionResult"]
|
|
4914
4921
|
]);
|
|
4915
4922
|
var NESTED_RESULTS = /* @__PURE__ */ new Map([
|
|
4916
4923
|
["apps.chats.list", [["chats", "ChatRow"]]],
|