@ai-matrx/desktop-protocol 0.21.47 → 0.21.48
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 +19 -2
- package/dist/client.cjs +12 -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 +12 -3
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +14 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +23 -5
- package/dist/index.d.ts +23 -5
- package/dist/index.js +14 -4
- package/dist/index.js.map +1 -1
- package/dist/{models-Di-SL_jw.d.cts → models-78R7DKfg.d.cts} +15 -0
- package/dist/{models-Di-SL_jw.d.ts → models-78R7DKfg.d.ts} +15 -0
- package/dist/react.d.cts +5 -0
- package/dist/react.d.ts +5 -0
- package/generated/desktop-protocol.schema.json +32 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -886,7 +886,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
886
886
|
var import_zod = require("zod");
|
|
887
887
|
var import_uuid = require("@ai-matrx/kit/uuid");
|
|
888
888
|
var PROTOCOL_MAJOR = 1;
|
|
889
|
-
var PROTOCOL_MINOR =
|
|
889
|
+
var PROTOCOL_MINOR = 53;
|
|
890
890
|
var PROTOCOL_VERSION = `${PROTOCOL_MAJOR}.${PROTOCOL_MINOR}`;
|
|
891
891
|
var ProtocolVersion = import_zod.z.string().regex(/^[1-9][0-9]{0,2}\.[0-9]{1,3}$/);
|
|
892
892
|
var RequestId = import_zod.z.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/);
|
|
@@ -4252,7 +4252,15 @@ var CodingProviderStatus = import_zod34.z.strictObject({
|
|
|
4252
4252
|
efforts: import_zod34.z.array(import_zod34.z.string().max(40)).max(20),
|
|
4253
4253
|
defaultModel: import_zod34.z.strictObject({ id: import_zod34.z.string().max(200), source: import_zod34.z.enum(["settings", "driver"]) }).nullable(),
|
|
4254
4254
|
defaultEffort: import_zod34.z.string().max(40).nullable(),
|
|
4255
|
-
binary: CodingProviderBinary.nullable()
|
|
4255
|
+
binary: CodingProviderBinary.nullable(),
|
|
4256
|
+
/**
|
|
4257
|
+
* (1.53) The person's other accounts for this app on the computer (Matrx 2's Accounts) that a run
|
|
4258
|
+
* can use, as the computer's engine lists them; New session offers them beside the default sign-in.
|
|
4259
|
+
* Absent: only the default sign-in (or a computer older than 1.53).
|
|
4260
|
+
*/
|
|
4261
|
+
accounts: import_zod34.z.array(import_zod34.z.strictObject({ id: import_zod34.z.string().min(1).max(64), label: import_zod34.z.string().max(200) })).max(100).optional(),
|
|
4262
|
+
/** (1.53) The computer tried to list `accounts` and could not: a short sentence the form shows with a retry. */
|
|
4263
|
+
accountsProblem: ShortText.optional()
|
|
4256
4264
|
});
|
|
4257
4265
|
var CodingChatPreference = import_zod34.z.strictObject({
|
|
4258
4266
|
title: import_zod34.z.string().max(500).nullable(),
|
|
@@ -6366,6 +6374,7 @@ var FIELDS_SINCE = {
|
|
|
6366
6374
|
WindowInfo: { app: "1.7", pid: "1.7" },
|
|
6367
6375
|
AppWindowInfo: { remote_control: "1.50" },
|
|
6368
6376
|
WindowRemoteControl: { problem: "1.52" },
|
|
6377
|
+
CodingProviderStatus: { accounts: "1.53", accountsProblem: "1.53" },
|
|
6369
6378
|
AppsInstancesListParams: { fresh: "1.51" },
|
|
6370
6379
|
AppsInstancesListResult: { as_of_ms: "1.51", refreshing: "1.51" },
|
|
6371
6380
|
AppsAccountsListParams: { fresh: "1.51" },
|
|
@@ -6501,7 +6510,8 @@ var NESTED_RESULTS = /* @__PURE__ */ new Map([
|
|
|
6501
6510
|
["models.downloads.list", [["downloads", "DownloadRow"]]],
|
|
6502
6511
|
["apps.projects.to_window", [["group", "ProjectMoveGroup"]]],
|
|
6503
6512
|
["apps.windows.list", [["windows", "AppWindowInfo"]]],
|
|
6504
|
-
["apps.windows.set_remote_control", [["remote_control", "WindowRemoteControl"]]]
|
|
6513
|
+
["apps.windows.set_remote_control", [["remote_control", "WindowRemoteControl"]]],
|
|
6514
|
+
["coding.providers", [["providers", "CodingProviderStatus"]]]
|
|
6505
6515
|
]);
|
|
6506
6516
|
function stripNested(value, nested, version) {
|
|
6507
6517
|
if (value === null || typeof value !== "object" || Array.isArray(value)) return value;
|
|
@@ -6581,7 +6591,7 @@ function forPeer(op, part, value, version) {
|
|
|
6581
6591
|
var VERSIONED_RESULT_OPS = [.../* @__PURE__ */ new Set([...RESULT_PATH.keys(), ...WINDOW_RESULTS.keys(), ...NESTED_RESULTS.keys()])];
|
|
6582
6592
|
|
|
6583
6593
|
// src/contract.ts
|
|
6584
|
-
var CONTRACT_SHA256 = "
|
|
6594
|
+
var CONTRACT_SHA256 = "3a1cc0cf335111a353238b9673b5764e7f3657f2c216f05f0895886f5c0d1db8";
|
|
6585
6595
|
|
|
6586
6596
|
// src/close-policy.ts
|
|
6587
6597
|
var CLOSE_RULES = {
|