@ai-matrx/desktop-protocol 0.21.53 → 0.21.56
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 +20 -1
- package/dist/client.cjs +24 -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 +24 -3
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +36 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +193 -6
- package/dist/index.d.ts +193 -6
- package/dist/index.js +36 -6
- package/dist/index.js.map +1 -1
- package/dist/{models-qM7u4hzm.d.cts → models-DbIm7Isi.d.cts} +286 -0
- package/dist/{models-qM7u4hzm.d.ts → models-DbIm7Isi.d.ts} +286 -0
- package/dist/react.d.cts +117 -0
- package/dist/react.d.ts +117 -0
- package/generated/desktop-protocol.schema.json +189 -45
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.21.
|
|
3
|
+
## 0.21.56
|
|
4
4
|
|
|
5
5
|
UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
|
|
6
6
|
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/desktop-protocol/src`.
|
|
7
7
|
|
|
8
|
+
## 0.21.55
|
|
9
|
+
|
|
10
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
11
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
12
|
+
Diff: `git diff 37251414aa 04ca2e385c -- apps/shared/desktop-protocol/src`
|
|
13
|
+
|
|
14
|
+
Changed shipped source files (1):
|
|
15
|
+
- `apps/shared/desktop-protocol/src/contract.ts`
|
|
16
|
+
|
|
17
|
+
## 0.21.53
|
|
18
|
+
|
|
19
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
20
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
21
|
+
Diff: `git diff cbd00cd23d 37251414aa -- apps/shared/desktop-protocol/src`
|
|
22
|
+
|
|
23
|
+
Changed shipped source files (2):
|
|
24
|
+
- `apps/shared/desktop-protocol/src/schema/models.ts`
|
|
25
|
+
- `apps/shared/desktop-protocol/src/schema/primitives.ts`
|
|
26
|
+
|
|
8
27
|
## 0.21.52
|
|
9
28
|
### Unreleased
|
|
10
29
|
### Protocol 1.57 — the account a coding record belongs to, and each sign-in's usage
|
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 = 60;
|
|
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_-]+$/);
|
|
@@ -3004,6 +3004,8 @@ var ChatAppProject = import_zod30.z.strictObject({
|
|
|
3004
3004
|
name: import_zod30.z.string().max(200)
|
|
3005
3005
|
});
|
|
3006
3006
|
var ChatTitleSource = import_zod30.z.enum(["app", "app-remembered", "custom-title", "ai-title", "agent-name", "summary", "first-prompt", "last-prompt"]);
|
|
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
|
+
var ChatParent = import_zod30.z.strictObject({ id: ChatId, how: import_zod30.z.enum(["spawned", "dispatched", "forked"]), title: import_zod30.z.string().max(1e3).nullable() });
|
|
3007
3009
|
var ChatRow = import_zod30.z.strictObject({
|
|
3008
3010
|
id: ChatId,
|
|
3009
3011
|
/** The short id people see (the listing's first 8 characters). */
|
|
@@ -3045,7 +3047,15 @@ var ChatRow = import_zod30.z.strictObject({
|
|
|
3045
3047
|
/** 1.14: the person's rename inside Matrx (Coding Sessions), applied once by the row builder; absent = none. */
|
|
3046
3048
|
title_override: import_zod30.z.string().min(1).max(300).optional(),
|
|
3047
3049
|
/** 1.15: the app itself archived it (hidden_in says where and why, in words for people; this is the typed fact). */
|
|
3048
|
-
archived: import_zod30.z.boolean().optional()
|
|
3050
|
+
archived: import_zod30.z.boolean().optional(),
|
|
3051
|
+
/** 1.59: the coding session Matrx itself drives this chat in (the one chat, whether it runs in the app or in Matrx); absent = none. */
|
|
3052
|
+
session_id: import_zod30.z.string().max(80).optional(),
|
|
3053
|
+
/** 1.59: the app's own groups it is filed in, per instance, as the app keeps them (never merged into the person's projects). */
|
|
3054
|
+
app_groups: import_zod30.z.array(ChatAppGroup).max(200).optional(),
|
|
3055
|
+
/** 1.59: the chat it came from (nesting): an agent's chat that spawned it, dispatched it, or that it was forked from. */
|
|
3056
|
+
parent: ChatParent.optional(),
|
|
3057
|
+
/** 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()
|
|
3049
3059
|
});
|
|
3050
3060
|
var ChatFamily = import_zod30.z.strictObject({
|
|
3051
3061
|
id: ChatId,
|
|
@@ -3551,6 +3561,15 @@ var CopiedChat = import_zod31.z.strictObject({
|
|
|
3551
3561
|
state: import_zod31.z.enum(["verified", "queued", "failed"]),
|
|
3552
3562
|
reason: import_zod31.z.string().max(400).nullable()
|
|
3553
3563
|
});
|
|
3564
|
+
var CopyReopened = import_zod31.z.strictObject({ window: ChatPlace, ok: import_zod31.z.boolean(), reason: import_zod31.z.string().max(400).nullable() });
|
|
3565
|
+
var CopyRestart = import_zod31.z.strictObject({
|
|
3566
|
+
asked: import_zod31.z.enum(["queued", "restart_verify"]),
|
|
3567
|
+
done: import_zod31.z.enum(["queued", "restart_verify"]),
|
|
3568
|
+
windows: import_zod31.z.array(ChatPlace).max(2),
|
|
3569
|
+
reason: import_zod31.z.string().max(400).nullable(),
|
|
3570
|
+
/** 1.60: each closed window's reopen outcome (absent from a 1.59 core, and when no window was closed): `ok: false` is a window that did not come back. */
|
|
3571
|
+
reopened: import_zod31.z.array(CopyReopened).max(2).optional()
|
|
3572
|
+
});
|
|
3554
3573
|
var AppsChatsCopyToAccountResult = import_zod31.z.strictObject({
|
|
3555
3574
|
message: import_zod31.z.string().max(400),
|
|
3556
3575
|
origin: ChatPlace,
|
|
@@ -3566,7 +3585,7 @@ var AppsChatsCopyToAccountResult = import_zod31.z.strictObject({
|
|
|
3566
3585
|
queued: import_zod31.z.number().int().nonnegative(),
|
|
3567
3586
|
failed: import_zod31.z.number().int().nonnegative(),
|
|
3568
3587
|
/** What the restart choice did: "restart_verify" closed and reopened `windows`; a fall back to "queued" says why. */
|
|
3569
|
-
restart:
|
|
3588
|
+
restart: CopyRestart
|
|
3570
3589
|
});
|
|
3571
3590
|
|
|
3572
3591
|
// src/schema/apps-instances.ts
|
|
@@ -4775,6 +4794,8 @@ var NESTED_RESULTS = /* @__PURE__ */ new Map([
|
|
|
4775
4794
|
["sysinfo.get", [["permissions", "SysinfoGetResult.permissions[]"]]],
|
|
4776
4795
|
["models.downloads.list", [["downloads", "DownloadRow"]]],
|
|
4777
4796
|
["apps.projects.to_window", [["group", "ProjectMoveGroup"]]],
|
|
4797
|
+
// 1.60: each closed window's reopen outcome in a restart_verify copy.
|
|
4798
|
+
["apps.chats.copy_to_account", [["restart", "CopyRestart"]]],
|
|
4778
4799
|
["apps.windows.list", [["windows", "AppWindowInfo"]]],
|
|
4779
4800
|
["apps.windows.set_remote_control", [["remote_control", "WindowRemoteControl"]]],
|
|
4780
4801
|
["coding.providers", [["providers", "CodingProviderStatus"]]],
|