@ai-matrx/desktop-protocol 0.21.58 → 0.21.60
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 +25 -1
- package/dist/{chunk-server-NHN5VCLI.js → chunk-server-SQA64KFX.js} +16 -11
- package/dist/chunk-server-SQA64KFX.js.map +1 -0
- package/dist/client.cjs +12 -9
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +4 -4
- package/dist/client.d.ts +4 -4
- package/dist/client.js +1 -1
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +16 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +91 -10
- package/dist/index.d.ts +91 -10
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-DbIm7Isi.d.cts → models-0lF6-r6a.d.cts} +129 -1
- package/dist/{models-DbIm7Isi.d.ts → models-0lF6-r6a.d.ts} +129 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +57 -1
- package/dist/react.d.ts +57 -1
- package/dist/react.js.map +1 -1
- package/generated/desktop-protocol.schema.json +28 -2
- package/package.json +2 -2
- package/dist/chunk-server-NHN5VCLI.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,13 +2,37 @@
|
|
|
2
2
|
|
|
3
3
|
### Unreleased
|
|
4
4
|
|
|
5
|
+
- **Protocol 1.61 — where a chat's title shows (2026-10-20).** `ChatRow.title_sync` (`ChatTitleSync`: `state` synced / not_synced / unsupported, and a `note`): the title facet's sync state for the chat's app, so a screen can say honestly whether the app shows the person's name. Optional; stripped for a 1.60 peer by `forPeer`. Consumer action: none.
|
|
5
6
|
- **Shared code ships once per side (2026-10-18).** Built `splitting: false`, the root, `/frame` and `/client` each carried their own copy of 44 shared modules. ESM now builds them in one split pass (`chunk-server-*.js`, no banner); `/react` builds alone, stamped. CJS unsplit; declarations per group. ESM JS 610,843 -> 398,722 bytes; root + `/client` together 597 KB -> 390 KB; `/frame` stays zod-free (6 KB); every entry's export names identical (ESM and CJS). Guard: `../scripts/check-ships-once.mjs`, run in `build`. Consumer action: none.
|
|
6
7
|
|
|
7
|
-
## 0.21.
|
|
8
|
+
## 0.21.60
|
|
8
9
|
|
|
9
10
|
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.
|
|
10
11
|
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/desktop-protocol/src`.
|
|
11
12
|
|
|
13
|
+
## 0.21.59
|
|
14
|
+
|
|
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 cf6ad886bb 1c52fd1b8c -- apps/shared/desktop-protocol/src`
|
|
18
|
+
|
|
19
|
+
Changed shipped source files (10):
|
|
20
|
+
- `apps/shared/desktop-protocol/src/client/transcribe.ts`
|
|
21
|
+
- `apps/shared/desktop-protocol/src/client/types.ts`
|
|
22
|
+
- `apps/shared/desktop-protocol/src/react.ts`
|
|
23
|
+
- `apps/shared/desktop-protocol/src/schema/account.ts`
|
|
24
|
+
- `apps/shared/desktop-protocol/src/schema/apps-accounts.ts`
|
|
25
|
+
- `apps/shared/desktop-protocol/src/schema/coding-sessions.ts`
|
|
26
|
+
- `apps/shared/desktop-protocol/src/schema/fs.ts`
|
|
27
|
+
- `apps/shared/desktop-protocol/src/schema/models.ts`
|
|
28
|
+
- `apps/shared/desktop-protocol/src/schema/schedule.ts`
|
|
29
|
+
- `apps/shared/desktop-protocol/src/schema/stack.ts`
|
|
30
|
+
|
|
31
|
+
## 0.21.58
|
|
32
|
+
|
|
33
|
+
Automatic changed-only republish (docs/metadata drift since the last published version; verified: `git diff 95a286343b cf6ad886bb -- apps/shared/desktop-protocol/src`
|
|
34
|
+
has no shipped-source changes outside tests, fixtures and docs). No consumer action required.
|
|
35
|
+
|
|
12
36
|
## 0.21.57
|
|
13
37
|
|
|
14
38
|
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import { UUID_SHAPE_PATTERN } from "@ai-matrx/kit/uuid";
|
|
8
8
|
var PROTOCOL_MAJOR = 1;
|
|
9
|
-
var PROTOCOL_MINOR =
|
|
9
|
+
var PROTOCOL_MINOR = 61;
|
|
10
10
|
var PROTOCOL_VERSION = `${PROTOCOL_MAJOR}.${PROTOCOL_MINOR}`;
|
|
11
11
|
var ProtocolVersion = z.string().regex(/^[1-9][0-9]{0,2}\.[0-9]{1,3}$/);
|
|
12
12
|
var RequestId = z.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/);
|
|
@@ -376,7 +376,7 @@ var FsListParams = z6.strictObject({
|
|
|
376
376
|
// glob on name
|
|
377
377
|
limit: z6.int().min(1).max(5e3).default(1e3),
|
|
378
378
|
page_token: z6.string().max(256).optional(),
|
|
379
|
-
// Desktop additions; their defaults ARE the daemon's
|
|
379
|
+
// Desktop additions; their defaults ARE the daemon's behavior: dotfiles listed, siblings in
|
|
380
380
|
// binary (byte) order of name, depth-first.
|
|
381
381
|
show_hidden: z6.boolean().default(true),
|
|
382
382
|
sort: z6.enum(["name", "mtime", "size", "kind"]).default("name")
|
|
@@ -750,7 +750,7 @@ var MlProgress = z10.strictObject({
|
|
|
750
750
|
/** 0–1 when known (transcribe: audio covered so far; install: bytes so far). */
|
|
751
751
|
fraction: z10.number().min(0).max(1).nullable(),
|
|
752
752
|
install: MlInstallProgress.nullable(),
|
|
753
|
-
/** The segment just transcribed (transcribe only): text appears as it is
|
|
753
|
+
/** The segment just transcribed (transcribe only): text appears as it is recognized. */
|
|
754
754
|
segment: TranscriptSegment.nullable()
|
|
755
755
|
});
|
|
756
756
|
var TextModelId = ModelKey;
|
|
@@ -918,7 +918,7 @@ var AccountAgent = z11.strictObject({
|
|
|
918
918
|
// 1.39: the catalogue's own row (agx_get_list_full, read whole through @ai-matrx/agents/catalog).
|
|
919
919
|
/** The agent's tags (the library's search and its inspector). */
|
|
920
920
|
tags: z11.array(z11.string().max(120)).max(50).optional(),
|
|
921
|
-
/** The model it runs (a model
|
|
921
|
+
/** The model it runs (a model catalog id); absent when it names none. */
|
|
922
922
|
model_id: AccountRowId.optional(),
|
|
923
923
|
/** The person's access: owner, admin, editor, viewer or system (the database's own words); absent when unknown. */
|
|
924
924
|
access_level: z11.string().min(1).max(40).optional(),
|
|
@@ -954,7 +954,7 @@ var AccountAgentDetail = z11.strictObject({
|
|
|
954
954
|
custom_tool_count: z11.int().min(0),
|
|
955
955
|
skill_count: z11.int().min(0),
|
|
956
956
|
connection_count: z11.int().min(0),
|
|
957
|
-
/** The model's display name when the
|
|
957
|
+
/** The model's display name when the catalog knows it. */
|
|
958
958
|
model_name: z11.string().max(200).nullable()
|
|
959
959
|
});
|
|
960
960
|
var AccountAgentsGetParams = z11.strictObject({ agent_id: AccountRowId });
|
|
@@ -1190,6 +1190,7 @@ var ChatAppProject = z13.strictObject({
|
|
|
1190
1190
|
var ChatTitleSource = z13.enum(["app", "app-remembered", "custom-title", "ai-title", "agent-name", "summary", "first-prompt", "last-prompt"]);
|
|
1191
1191
|
var ChatAppGroup = z13.strictObject({ window: ChatPlace, group_id: z13.string().max(120), name: z13.string().max(200) });
|
|
1192
1192
|
var ChatParent = z13.strictObject({ id: ChatId, how: z13.enum(["spawned", "dispatched", "forked"]), title: z13.string().max(1e3).nullable() });
|
|
1193
|
+
var ChatTitleSync = z13.strictObject({ state: z13.enum(["synced", "not_synced", "unsupported"]), note: z13.string().max(200) });
|
|
1193
1194
|
var ChatRow = z13.strictObject({
|
|
1194
1195
|
id: ChatId,
|
|
1195
1196
|
/** The short id people see (the listing's first 8 characters). */
|
|
@@ -1239,7 +1240,9 @@ var ChatRow = z13.strictObject({
|
|
|
1239
1240
|
/** 1.59: the chat it came from (nesting): an agent's chat that spawned it, dispatched it, or that it was forked from. */
|
|
1240
1241
|
parent: ChatParent.optional(),
|
|
1241
1242
|
/** 1.59: earlier sessions of this same chat (the app continued it under new session ids). */
|
|
1242
|
-
prior_sessions: z13.array(ChatId).max(50).optional()
|
|
1243
|
+
prior_sessions: z13.array(ChatId).max(50).optional(),
|
|
1244
|
+
/** 1.61: where the title shows (the title facet's sync state for this chat's app). */
|
|
1245
|
+
title_sync: ChatTitleSync.optional()
|
|
1243
1246
|
});
|
|
1244
1247
|
var ChatFamily = z13.strictObject({
|
|
1245
1248
|
id: ChatId,
|
|
@@ -2953,7 +2956,7 @@ var StackLogsParams = z29.strictObject({
|
|
|
2953
2956
|
wait_ms: z29.int().min(0).max(25e3).default(0)
|
|
2954
2957
|
});
|
|
2955
2958
|
var StackLogsResult = z29.strictObject({
|
|
2956
|
-
/** Complete lines,
|
|
2959
|
+
/** Complete lines, color codes removed. */
|
|
2957
2960
|
lines: z29.array(z29.string().max(65536)).max(2e5),
|
|
2958
2961
|
/** Where these lines end: pass it back as `offset` to follow. */
|
|
2959
2962
|
offset: nonNegInt,
|
|
@@ -4200,7 +4203,7 @@ var ScheduleCreateParams = z39.strictObject({
|
|
|
4200
4203
|
/** The op's params, exactly as the op takes them; checked when the task is created. */
|
|
4201
4204
|
params: z39.record(z39.string(), z39.unknown()).default({}),
|
|
4202
4205
|
interval_s: z39.int().min(10).max(2592e3),
|
|
4203
|
-
/** Stop after this many runs; absent: until
|
|
4206
|
+
/** Stop after this many runs; absent: until canceled. */
|
|
4204
4207
|
max_runs: z39.int().min(1).max(1e5).optional(),
|
|
4205
4208
|
/** Run once now, before the first interval. */
|
|
4206
4209
|
run_now: z39.boolean().default(false)
|
|
@@ -4224,7 +4227,7 @@ var ScheduledTask = z39.strictObject({
|
|
|
4224
4227
|
runs: nonNegInt,
|
|
4225
4228
|
created_at_ms: epochMs,
|
|
4226
4229
|
next_run_at_ms: epochMs.nullable(),
|
|
4227
|
-
/** active, done (ran max_runs),
|
|
4230
|
+
/** active, done (ran max_runs), canceled. */
|
|
4228
4231
|
state: z39.enum(["active", "done", "cancelled"]),
|
|
4229
4232
|
/** The newest runs, newest first (at most 10). */
|
|
4230
4233
|
recent: z39.array(ScheduleRun)
|
|
@@ -4728,6 +4731,7 @@ var SERVICES = {
|
|
|
4728
4731
|
var NAMED_SCHEMAS = {
|
|
4729
4732
|
ChatAppGroup,
|
|
4730
4733
|
ChatParent,
|
|
4734
|
+
ChatTitleSync,
|
|
4731
4735
|
AppsWindowsSetAccountParams,
|
|
4732
4736
|
AppsWindowsForgetParams,
|
|
4733
4737
|
ProbeFact,
|
|
@@ -5553,7 +5557,7 @@ var FIELDS_SINCE = {
|
|
|
5553
5557
|
AppsChatsListResult: { updating: "1.9", live: "1.9", families: "1.10" },
|
|
5554
5558
|
AppsAccountsUsageResult: { problem: "1.12" },
|
|
5555
5559
|
AppsAccountsResetsResult: { problem: "1.12" },
|
|
5556
|
-
ChatRow: { app_project: "1.13", tokens: "1.13", original_title: "1.14", title_source: "1.14", title_override: "1.14", archived: "1.15", session_id: "1.59", app_groups: "1.59", parent: "1.59", prior_sessions: "1.59" },
|
|
5560
|
+
ChatRow: { app_project: "1.13", tokens: "1.13", original_title: "1.14", title_source: "1.14", title_override: "1.14", archived: "1.15", session_id: "1.59", app_groups: "1.59", parent: "1.59", prior_sessions: "1.59", title_sync: "1.61" },
|
|
5557
5561
|
AccountUsage: { plan: "1.13", credits: "1.13", five_hour_resets_by_ms: "1.25" },
|
|
5558
5562
|
ResourcesDisk: { name: "1.17" },
|
|
5559
5563
|
StackServer: { cpu_percent: "1.18", memory_bytes: "1.18" },
|
|
@@ -6043,6 +6047,7 @@ export {
|
|
|
6043
6047
|
ChatAppProject,
|
|
6044
6048
|
ChatAppGroup,
|
|
6045
6049
|
ChatParent,
|
|
6050
|
+
ChatTitleSync,
|
|
6046
6051
|
ChatRow,
|
|
6047
6052
|
ChatFamily,
|
|
6048
6053
|
AppsChatsListParams,
|
|
@@ -6666,4 +6671,4 @@ export {
|
|
|
6666
6671
|
closeRule,
|
|
6667
6672
|
isTerminalClose
|
|
6668
6673
|
};
|
|
6669
|
-
//# sourceMappingURL=chunk-server-
|
|
6674
|
+
//# sourceMappingURL=chunk-server-SQA64KFX.js.map
|