@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/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.21.48
|
|
4
|
+
### Unreleased
|
|
5
|
+
### Protocol 1.53 — one coding account list
|
|
6
|
+
|
|
7
|
+
- `CodingProviderStatus` gains optional `accounts` (`{id, label}[]`: the person's saved accounts for
|
|
8
|
+
that app a run can use, as the computer's engine lists them) and `accountsProblem` (why they could not
|
|
9
|
+
be listed). `forPeer` never sends either to a 1.52 peer (`coding.providers` is wired into it).
|
|
10
|
+
Consumer action: read the accounts from `coding.providers`; stop building a second list from
|
|
11
|
+
`apps.profiles.list`.
|
|
12
|
+
|
|
3
13
|
## 0.21.47
|
|
4
14
|
|
|
5
|
-
|
|
6
|
-
|
|
15
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
16
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
17
|
+
Diff: `git diff 2532b004cb e6d46f8a90 -- apps/shared/desktop-protocol/src`
|
|
18
|
+
|
|
19
|
+
Changed shipped source files (4):
|
|
20
|
+
- `apps/shared/desktop-protocol/src/contract.ts`
|
|
21
|
+
- `apps/shared/desktop-protocol/src/schema/apps-accounts.ts`
|
|
22
|
+
- `apps/shared/desktop-protocol/src/schema/primitives.ts`
|
|
23
|
+
- `apps/shared/desktop-protocol/src/versioning.ts`
|
|
7
24
|
|
|
8
25
|
## 0.21.46
|
|
9
26
|
### Unreleased
|
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 = 53;
|
|
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_-]+$/);
|
|
@@ -2568,7 +2568,15 @@ var CodingProviderStatus = import_zod28.z.strictObject({
|
|
|
2568
2568
|
efforts: import_zod28.z.array(import_zod28.z.string().max(40)).max(20),
|
|
2569
2569
|
defaultModel: import_zod28.z.strictObject({ id: import_zod28.z.string().max(200), source: import_zod28.z.enum(["settings", "driver"]) }).nullable(),
|
|
2570
2570
|
defaultEffort: import_zod28.z.string().max(40).nullable(),
|
|
2571
|
-
binary: CodingProviderBinary.nullable()
|
|
2571
|
+
binary: CodingProviderBinary.nullable(),
|
|
2572
|
+
/**
|
|
2573
|
+
* (1.53) The person's other accounts for this app on the computer (Matrx 2's Accounts) that a run
|
|
2574
|
+
* can use, as the computer's engine lists them; New session offers them beside the default sign-in.
|
|
2575
|
+
* Absent: only the default sign-in (or a computer older than 1.53).
|
|
2576
|
+
*/
|
|
2577
|
+
accounts: import_zod28.z.array(import_zod28.z.strictObject({ id: import_zod28.z.string().min(1).max(64), label: import_zod28.z.string().max(200) })).max(100).optional(),
|
|
2578
|
+
/** (1.53) The computer tried to list `accounts` and could not: a short sentence the form shows with a retry. */
|
|
2579
|
+
accountsProblem: ShortText.optional()
|
|
2572
2580
|
});
|
|
2573
2581
|
var CodingChatPreference = import_zod28.z.strictObject({
|
|
2574
2582
|
title: import_zod28.z.string().max(500).nullable(),
|
|
@@ -4634,7 +4642,8 @@ var NESTED_RESULTS = /* @__PURE__ */ new Map([
|
|
|
4634
4642
|
["models.downloads.list", [["downloads", "DownloadRow"]]],
|
|
4635
4643
|
["apps.projects.to_window", [["group", "ProjectMoveGroup"]]],
|
|
4636
4644
|
["apps.windows.list", [["windows", "AppWindowInfo"]]],
|
|
4637
|
-
["apps.windows.set_remote_control", [["remote_control", "WindowRemoteControl"]]]
|
|
4645
|
+
["apps.windows.set_remote_control", [["remote_control", "WindowRemoteControl"]]],
|
|
4646
|
+
["coding.providers", [["providers", "CodingProviderStatus"]]]
|
|
4638
4647
|
]);
|
|
4639
4648
|
var WINDOW_RESULTS = /* @__PURE__ */ new Map([
|
|
4640
4649
|
["window.list", "windows"],
|