@ai-matrx/desktop-protocol 0.21.64 → 0.21.66
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 +14 -3
- package/dist/{chunk-server-B5W6NL7W.js → chunk-server-33UKFIXH.js} +138 -22
- package/dist/chunk-server-33UKFIXH.js.map +1 -0
- package/dist/client.cjs +111 -21
- 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 +138 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +182 -7
- package/dist/index.d.ts +182 -7
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-B13QkIMu.d.cts → models-C0Jgv2ev.d.cts} +148 -2
- package/dist/{models-B13QkIMu.d.ts → models-C0Jgv2ev.d.ts} +148 -2
- package/dist/react.d.cts +64 -1
- package/dist/react.d.ts +64 -1
- package/generated/desktop-protocol.schema.json +256 -5
- package/package.json +4 -4
- package/dist/chunk-server-B5W6NL7W.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## 0.21.66
|
|
4
4
|
|
|
5
|
+
- **Protocol 1.67 — Matrx Local's local_mac_apps and local_windows_ps contracts, carried whole (2026-10-21).** Every parameter and result field those two dispatchers had now has a home: `mail.send` `bcc`; `mail.accounts` `mailboxes`; `messages.list` `contact` / `unread_only` (+ `read`, `service`, `chat_name`); `messages.chats` `last_message`; `contacts.search` without a `query` (the first `limit`); `calendar.list` `calendars` (+ `url`); `reminders.list` `lists` (+ `priority`, `completed_at_ms`); `photos.search` `media_type` (+ `media_type`, `duration_s`); `photos.get` `thumbnail_size` (+ `thumbnail_png_base64`); `location.get` `altitude_m`, `vertical_accuracy_m`, `speed_mps`, `course_deg`; `windows.services` `status`; `windows.service_control` `pause` / `resume`; `windows.event_log` `source`; `windows.features` `installed_only`. Optional; result fields stripped for a 1.66 peer by `forPeer`. Consumer action: Matrx 2's core serves them (matrx-desktop test/unit/legacy-contract-parity.test.ts).
|
|
6
|
+
- **Protocol 1.66 — matrx-local's window and audio contracts on Matrx 2 (2026-10-21).** `window.list` takes `app` (owning app name substring, local_window's app_filter); `window.minimize` takes `mode` minimize / maximize / restore (local_window's window_action) and echoes it; `audio.record` takes `channels` and `sample_rate` and reports both; `audio.play` takes `device_id` (an output from audio.devices). Optional fields only, in FIELDS_SINCE; an older core refuses the new params as INVALID_PARAMS. Consumer action: none.
|
|
5
7
|
- **Protocol 1.65 — "Continued from <account>" is a transcript item (2026-10-21).** `CodingTranscriptItem` gains `continued` (`id`, `from`, `text`, `at`): the line across a coding chat where it moved from another account (@ai-matrx/coding-sessions emits it where it used to emit an info `notice`). `forPeer` sends a 1.64 peer's `coding.history` / `coding.transcript.read` each as that `notice`, so its strict union never refuses the whole transcript. Consumer action: draw it as a divider at its place (the coding-sessions screen does).
|
|
6
8
|
- **Protocol 1.64 — agent versions in Matrx 2 (2026-10-21).** New ops `account.agents.versions` (an agent's saved versions: number, age, note; the current version), `account.agents.version_diff` (one version and the current one as agent-definition records for `@ai-matrx/agents/versions/react` AgentDiffViewer) and `account.agents.restore_version` (`agx_promote_version`). New ops only; an older peer never sees them. Consumer action: none.
|
|
7
9
|
- **Protocol 1.63 — a chat's instance, and what an instance record lacks (2026-10-21).** `ChatRow.home` (`ChatPlace`): the instance whose folder holds the chat, read only (Claude: the side window holding its newest record copy, else main; Codex: the home whose database holds it). `AppInstance.missing` (`InstanceGap[]`: account / email / version): what the record still lacks after Matrx filled what it remembered (Matrx 2 ledger D10). Optional; stripped for a 1.62 peer by `forPeer`. Consumer action: none.
|
|
@@ -11,8 +13,17 @@
|
|
|
11
13
|
|
|
12
14
|
## 0.21.64
|
|
13
15
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
17
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
18
|
+
Diff: `git diff 920791a7ff 8d4dfed0d7 -- apps/shared/desktop-protocol/src`
|
|
19
|
+
|
|
20
|
+
Changed shipped source files (6):
|
|
21
|
+
- `apps/shared/desktop-protocol/src/contract.ts`
|
|
22
|
+
- `apps/shared/desktop-protocol/src/schema/account.ts`
|
|
23
|
+
- `apps/shared/desktop-protocol/src/schema/coding-sessions.ts`
|
|
24
|
+
- `apps/shared/desktop-protocol/src/schema/primitives.ts`
|
|
25
|
+
- `apps/shared/desktop-protocol/src/schema/registry.ts`
|
|
26
|
+
- `apps/shared/desktop-protocol/src/versioning.ts`
|
|
16
27
|
|
|
17
28
|
## 0.21.62
|
|
18
29
|
|
|
@@ -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 = 67;
|
|
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_-]+$/);
|
|
@@ -2512,6 +2512,8 @@ var WindowInfo = z24.strictObject({
|
|
|
2512
2512
|
var WindowListParams = z24.strictObject({
|
|
2513
2513
|
/** Case-insensitive substring of the window title. */
|
|
2514
2514
|
title: z24.string().min(1).max(256).optional(),
|
|
2515
|
+
/** (1.66) Case-insensitive substring of the owning application's name (matrx-local's app_filter). */
|
|
2516
|
+
app: z24.string().min(1).max(256).optional(),
|
|
2515
2517
|
limit: z24.int().min(1).max(500).default(100)
|
|
2516
2518
|
});
|
|
2517
2519
|
var WindowListResult = z24.strictObject({
|
|
@@ -2531,8 +2533,17 @@ var WindowMoveParams = z24.strictObject({
|
|
|
2531
2533
|
height: z24.int().min(50).max(16384).optional()
|
|
2532
2534
|
});
|
|
2533
2535
|
var WindowMoveResult = z24.strictObject({ window: WindowInfo });
|
|
2534
|
-
var
|
|
2535
|
-
var
|
|
2536
|
+
var WindowState = z24.enum(["minimize", "maximize", "restore"]);
|
|
2537
|
+
var WindowMinimizeParams = z24.strictObject({
|
|
2538
|
+
id: nonNegInt,
|
|
2539
|
+
/** (1.66) minimize (the default), maximize (fill its display), or restore (bring a minimized or maximized window back). */
|
|
2540
|
+
mode: WindowState.optional()
|
|
2541
|
+
});
|
|
2542
|
+
var WindowMinimizeResult = z24.strictObject({
|
|
2543
|
+
id: nonNegInt,
|
|
2544
|
+
/** (1.66) What was done. */
|
|
2545
|
+
mode: WindowState.optional()
|
|
2546
|
+
});
|
|
2536
2547
|
|
|
2537
2548
|
// src/schema/input.ts
|
|
2538
2549
|
import { z as z25 } from "zod";
|
|
@@ -3044,16 +3055,27 @@ var AudioRecordParams = z30.strictObject({
|
|
|
3044
3055
|
/** The microphone (from audio.devices); the default input when absent. */
|
|
3045
3056
|
device_id: z30.string().min(1).max(256).optional(),
|
|
3046
3057
|
/** Where the WAV file goes; a new file in the temp folder when absent. */
|
|
3047
|
-
path: AbsPath.optional()
|
|
3058
|
+
path: AbsPath.optional(),
|
|
3059
|
+
/** (1.66) 1 (mono, the default) or 2 (stereo). */
|
|
3060
|
+
channels: z30.int().min(1).max(2).optional(),
|
|
3061
|
+
/** (1.66) Samples per second; the device's own rate when absent. */
|
|
3062
|
+
sample_rate: z30.int().min(8e3).max(192e3).optional()
|
|
3048
3063
|
});
|
|
3049
3064
|
var AudioRecordResult = z30.strictObject({
|
|
3050
3065
|
path: AbsPath,
|
|
3051
3066
|
seconds: z30.number().min(0),
|
|
3052
3067
|
bytes: nonNegInt,
|
|
3053
3068
|
/** Loudest sample, 0–1: 0 means the device gave silence. */
|
|
3054
|
-
peak: z30.number().min(0).max(1)
|
|
3069
|
+
peak: z30.number().min(0).max(1),
|
|
3070
|
+
/** (1.66) The file's channels and sample rate, as written. */
|
|
3071
|
+
channels: z30.int().min(1).max(8).optional(),
|
|
3072
|
+
sample_rate: z30.int().min(1).max(768e3).optional()
|
|
3073
|
+
});
|
|
3074
|
+
var AudioPlayParams = z30.strictObject({
|
|
3075
|
+
path: AbsPath,
|
|
3076
|
+
/** (1.66) The speaker or output (its id from audio.devices' outputs); the system's output when absent. */
|
|
3077
|
+
device_id: z30.string().min(1).max(256).optional()
|
|
3055
3078
|
});
|
|
3056
|
-
var AudioPlayParams = z30.strictObject({ path: AbsPath });
|
|
3057
3079
|
var AudioPlayResult = z30.strictObject({ path: AbsPath, seconds: z30.number().min(0) });
|
|
3058
3080
|
var AudioLevelsParams = z30.strictObject({});
|
|
3059
3081
|
var AudioLevelsResult = z30.strictObject({
|
|
@@ -3935,7 +3957,13 @@ var AutomationScriptResult = z37.strictObject({
|
|
|
3935
3957
|
elapsed_ms: nonNegInt
|
|
3936
3958
|
});
|
|
3937
3959
|
var MailAccountsParams = z37.strictObject({});
|
|
3938
|
-
var MailAccount = z37.strictObject({
|
|
3960
|
+
var MailAccount = z37.strictObject({
|
|
3961
|
+
name: z37.string(),
|
|
3962
|
+
emails: z37.array(z37.string()),
|
|
3963
|
+
enabled: z37.boolean(),
|
|
3964
|
+
/** (1.67) The account's mailboxes by name (Matrx Local's email_accounts listed them). */
|
|
3965
|
+
mailboxes: z37.array(z37.string()).optional()
|
|
3966
|
+
});
|
|
3939
3967
|
var MailAccountsResult = z37.strictObject({ accounts: z37.array(MailAccount) });
|
|
3940
3968
|
var MailListParams = z37.strictObject({
|
|
3941
3969
|
/** The account's name in Mail; absent: every account. */
|
|
@@ -3960,6 +3988,8 @@ var MailListResult = z37.strictObject({ messages: z37.array(MailMessage) });
|
|
|
3960
3988
|
var MailSendParams = z37.strictObject({
|
|
3961
3989
|
to: z37.array(z37.string().min(3).max(320)).min(1).max(50),
|
|
3962
3990
|
cc: z37.array(z37.string().min(3).max(320)).max(50).default([]),
|
|
3991
|
+
/** (1.67) Blind copies (Matrx Local's send_email bcc). */
|
|
3992
|
+
bcc: z37.array(z37.string().min(3).max(320)).max(50).optional(),
|
|
3963
3993
|
subject: z37.string().max(998),
|
|
3964
3994
|
body: Text,
|
|
3965
3995
|
/** The sending account's address; absent: Mail's default. */
|
|
@@ -4038,13 +4068,19 @@ var MessagesChat = z37.strictObject({
|
|
|
4038
4068
|
name: z37.string().nullable(),
|
|
4039
4069
|
participants: z37.array(z37.string()),
|
|
4040
4070
|
last_message_at_ms: epochMs.nullable(),
|
|
4041
|
-
service: z37.string().nullable()
|
|
4071
|
+
service: z37.string().nullable(),
|
|
4072
|
+
/** (1.67) The newest message's text (Matrx Local's list_conversations preview); absent when it has none. */
|
|
4073
|
+
last_message: z37.string().optional()
|
|
4042
4074
|
});
|
|
4043
4075
|
var MessagesChatsResult = z37.strictObject({ chats: z37.array(MessagesChat) });
|
|
4044
4076
|
var MessagesListParams = z37.strictObject({
|
|
4045
4077
|
/** One chat (messages.chats' chat_id); absent: the newest across all. */
|
|
4046
4078
|
chat_id: z37.string().min(1).max(512).optional(),
|
|
4047
|
-
limit: z37.int().min(1).max(500).default(50)
|
|
4079
|
+
limit: z37.int().min(1).max(500).default(50),
|
|
4080
|
+
/** (1.67) Only messages with this handle or chat name in them (partial: a phone, an email, a name). */
|
|
4081
|
+
contact: z37.string().min(1).max(320).optional(),
|
|
4082
|
+
/** (1.67) Only messages not yet read. */
|
|
4083
|
+
unread_only: z37.boolean().optional()
|
|
4048
4084
|
});
|
|
4049
4085
|
var MessagesMessage = z37.strictObject({
|
|
4050
4086
|
id: z37.string(),
|
|
@@ -4053,7 +4089,13 @@ var MessagesMessage = z37.strictObject({
|
|
|
4053
4089
|
from_me: z37.boolean(),
|
|
4054
4090
|
/** The other person's handle (phone or email); null for the person's own messages. */
|
|
4055
4091
|
sender: z37.string().nullable(),
|
|
4056
|
-
sent_at_ms: epochMs.nullable()
|
|
4092
|
+
sent_at_ms: epochMs.nullable(),
|
|
4093
|
+
/** (1.67) Whether it has been read. */
|
|
4094
|
+
read: z37.boolean().optional(),
|
|
4095
|
+
/** (1.67) iMessage, SMS or RCS, as the Messages database says. */
|
|
4096
|
+
service: z37.string().optional(),
|
|
4097
|
+
/** (1.67) The chat's name (group chats); absent for a one-to-one chat. */
|
|
4098
|
+
chat_name: z37.string().optional()
|
|
4057
4099
|
});
|
|
4058
4100
|
var MessagesListResult = z37.strictObject({ messages: z37.array(MessagesMessage) });
|
|
4059
4101
|
var MessagesSendParams = z37.strictObject({
|
|
@@ -4068,8 +4110,8 @@ var MessagesSendParams = z37.strictObject({
|
|
|
4068
4110
|
});
|
|
4069
4111
|
var MessagesSendResult = z37.strictObject({ sent: z37.boolean() });
|
|
4070
4112
|
var ContactsSearchParams = z37.strictObject({
|
|
4071
|
-
/** Matched against names, organizations, emails and phone numbers. */
|
|
4072
|
-
query: z37.string().min(1).max(256),
|
|
4113
|
+
/** Matched against names, organizations, emails and phone numbers; absent (1.67): the first `limit` contacts. */
|
|
4114
|
+
query: z37.string().min(1).max(256).optional(),
|
|
4073
4115
|
limit: z37.int().min(1).max(200).default(25)
|
|
4074
4116
|
});
|
|
4075
4117
|
var ContactLabeled = z37.strictObject({ label: z37.string().nullable(), value: z37.string() });
|
|
@@ -4099,6 +4141,8 @@ var CalendarListParams = z37.strictObject({
|
|
|
4099
4141
|
to_ms: epochMs,
|
|
4100
4142
|
/** One calendar's name; absent: every calendar. */
|
|
4101
4143
|
calendar: z37.string().min(1).max(256).optional(),
|
|
4144
|
+
/** (1.67) Several calendars by name (Matrx Local's calendar_names); with `calendar`, both count. */
|
|
4145
|
+
calendars: z37.array(z37.string().min(1).max(256)).min(1).max(100).optional(),
|
|
4102
4146
|
limit: z37.int().min(1).max(500).default(100)
|
|
4103
4147
|
});
|
|
4104
4148
|
var CalendarEvent = z37.strictObject({
|
|
@@ -4109,7 +4153,9 @@ var CalendarEvent = z37.strictObject({
|
|
|
4109
4153
|
all_day: z37.boolean(),
|
|
4110
4154
|
calendar: z37.string(),
|
|
4111
4155
|
location: z37.string().nullable(),
|
|
4112
|
-
notes: z37.string().nullable()
|
|
4156
|
+
notes: z37.string().nullable(),
|
|
4157
|
+
/** (1.67) The event's link; absent when it has none. */
|
|
4158
|
+
url: z37.string().optional()
|
|
4113
4159
|
});
|
|
4114
4160
|
var CalendarListResult = z37.strictObject({ events: z37.array(CalendarEvent) });
|
|
4115
4161
|
var CalendarCreateParams = z37.strictObject({
|
|
@@ -4126,6 +4172,8 @@ var CalendarCreateResult = z37.strictObject({ id: z37.string(), calendar: z37.st
|
|
|
4126
4172
|
var RemindersListParams = z37.strictObject({
|
|
4127
4173
|
/** One list's name; absent: every list. */
|
|
4128
4174
|
list: z37.string().min(1).max(256).optional(),
|
|
4175
|
+
/** (1.67) Several lists by name (Matrx Local's list_names); with `list`, both count. */
|
|
4176
|
+
lists: z37.array(z37.string().min(1).max(256)).min(1).max(100).optional(),
|
|
4129
4177
|
include_completed: z37.boolean().default(false),
|
|
4130
4178
|
limit: z37.int().min(1).max(500).default(100)
|
|
4131
4179
|
});
|
|
@@ -4135,7 +4183,11 @@ var Reminder = z37.strictObject({
|
|
|
4135
4183
|
list: z37.string(),
|
|
4136
4184
|
due_ms: epochMs.nullable(),
|
|
4137
4185
|
completed: z37.boolean(),
|
|
4138
|
-
notes: z37.string().nullable()
|
|
4186
|
+
notes: z37.string().nullable(),
|
|
4187
|
+
/** (1.67) 0 none, 1 high … 9 low (EventKit's scale). */
|
|
4188
|
+
priority: z37.int().min(0).max(9).optional(),
|
|
4189
|
+
/** (1.67) When it was completed; absent while open. */
|
|
4190
|
+
completed_at_ms: epochMs.optional()
|
|
4139
4191
|
});
|
|
4140
4192
|
var RemindersListResult = z37.strictObject({ reminders: z37.array(Reminder) });
|
|
4141
4193
|
var RemindersCreateParams = z37.strictObject({
|
|
@@ -4151,6 +4203,8 @@ var PhotosSearchParams = z37.strictObject({
|
|
|
4151
4203
|
from_ms: epochMs.optional(),
|
|
4152
4204
|
to_ms: epochMs.optional(),
|
|
4153
4205
|
favorites_only: z37.boolean().default(false),
|
|
4206
|
+
/** (1.67) image, video or all (Matrx Local's media_type); absent: all. */
|
|
4207
|
+
media_type: z37.enum(["image", "video", "all"]).optional(),
|
|
4154
4208
|
limit: z37.int().min(1).max(200).default(25)
|
|
4155
4209
|
});
|
|
4156
4210
|
var Photo = z37.strictObject({
|
|
@@ -4160,15 +4214,26 @@ var Photo = z37.strictObject({
|
|
|
4160
4214
|
width: nonNegInt.nullable(),
|
|
4161
4215
|
height: nonNegInt.nullable(),
|
|
4162
4216
|
favorite: z37.boolean(),
|
|
4163
|
-
title: z37.string().nullable()
|
|
4217
|
+
title: z37.string().nullable(),
|
|
4218
|
+
/** (1.67) What the asset is. */
|
|
4219
|
+
media_type: z37.enum(["image", "video", "audio", "unknown"]).optional(),
|
|
4220
|
+
/** (1.67) A video's length in seconds; absent for a still. */
|
|
4221
|
+
duration_s: z37.number().min(0).optional()
|
|
4164
4222
|
});
|
|
4165
4223
|
var PhotosSearchResult = z37.strictObject({ photos: z37.array(Photo) });
|
|
4166
4224
|
var PhotosGetParams = z37.strictObject({
|
|
4167
4225
|
id: z37.string().min(1).max(256),
|
|
4168
4226
|
/** Copy the original into a folder Matrx 2 owns and answer its path (then fs_read or desktop_documents reads it). */
|
|
4169
|
-
export: z37.boolean().default(false)
|
|
4227
|
+
export: z37.boolean().default(false),
|
|
4228
|
+
/** (1.67) Also answer a PNG thumbnail no larger than this many pixels a side (Matrx Local's get_photo thumbnail). */
|
|
4229
|
+
thumbnail_size: z37.int().min(64).max(2048).optional()
|
|
4230
|
+
});
|
|
4231
|
+
var PhotosGetResult = z37.strictObject({
|
|
4232
|
+
photo: Photo,
|
|
4233
|
+
path: z37.string().nullable(),
|
|
4234
|
+
/** (1.67) The thumbnail as base64 PNG, when thumbnail_size asked for one; absent when it could not be drawn. */
|
|
4235
|
+
thumbnail_png_base64: z37.string().optional()
|
|
4170
4236
|
});
|
|
4171
|
-
var PhotosGetResult = z37.strictObject({ photo: Photo, path: z37.string().nullable() });
|
|
4172
4237
|
var LocationGetParams = z37.strictObject({ timeout_s: z37.int().min(1).max(60).default(15) });
|
|
4173
4238
|
var LocationGetResult = z37.strictObject({
|
|
4174
4239
|
latitude: z37.number().min(-90).max(90),
|
|
@@ -4177,7 +4242,12 @@ var LocationGetResult = z37.strictObject({
|
|
|
4177
4242
|
accuracy_m: z37.number().min(0).nullable(),
|
|
4178
4243
|
at_ms: epochMs,
|
|
4179
4244
|
/** Who answered: the OS's own location service. */
|
|
4180
|
-
source: z37.enum(["corelocation", "windows", "geoclue"])
|
|
4245
|
+
source: z37.enum(["corelocation", "windows", "geoclue"]),
|
|
4246
|
+
/** (1.67) Metres above sea level, its accuracy, speed (m/s) and course (degrees); absent where the OS does not say. */
|
|
4247
|
+
altitude_m: z37.number().optional(),
|
|
4248
|
+
vertical_accuracy_m: z37.number().min(0).optional(),
|
|
4249
|
+
speed_mps: z37.number().min(0).optional(),
|
|
4250
|
+
course_deg: z37.number().min(0).max(360).optional()
|
|
4181
4251
|
});
|
|
4182
4252
|
|
|
4183
4253
|
// src/schema/windows.ts
|
|
@@ -4209,6 +4279,8 @@ var WindowsRegistryWriteResult = z38.strictObject({ key: z38.string(), name: z38
|
|
|
4209
4279
|
var WindowsServicesParams = z38.strictObject({
|
|
4210
4280
|
/** Matched against the service's name and display name. */
|
|
4211
4281
|
filter: z38.string().min(1).max(256).optional(),
|
|
4282
|
+
/** (1.67) Only services in this state (Matrx Local's service_list status). */
|
|
4283
|
+
status: z38.enum(["running", "stopped", "paused"]).optional(),
|
|
4212
4284
|
limit: z38.int().min(1).max(1e3).default(200)
|
|
4213
4285
|
});
|
|
4214
4286
|
var WindowsService = z38.strictObject({
|
|
@@ -4222,7 +4294,8 @@ var WindowsService = z38.strictObject({
|
|
|
4222
4294
|
var WindowsServicesResult = z38.strictObject({ services: z38.array(WindowsService) });
|
|
4223
4295
|
var WindowsServiceControlParams = z38.strictObject({
|
|
4224
4296
|
name: z38.string().min(1).max(256),
|
|
4225
|
-
|
|
4297
|
+
/** pause and resume since 1.67 (Matrx Local's service_control). */
|
|
4298
|
+
action: z38.enum(["start", "stop", "restart", "pause", "resume"])
|
|
4226
4299
|
});
|
|
4227
4300
|
var WindowsServiceControlResult = z38.strictObject({ name: z38.string(), status: z38.string() });
|
|
4228
4301
|
var WindowsEventLogParams = z38.strictObject({
|
|
@@ -4230,6 +4303,8 @@ var WindowsEventLogParams = z38.strictObject({
|
|
|
4230
4303
|
/** Only these levels; absent: all. */
|
|
4231
4304
|
levels: z38.array(z38.enum(["critical", "error", "warning", "information", "verbose"])).max(5).optional(),
|
|
4232
4305
|
since_ms: epochMs.optional(),
|
|
4306
|
+
/** (1.67) Only events whose source (provider) name contains this. */
|
|
4307
|
+
source: z38.string().min(1).max(256).optional(),
|
|
4233
4308
|
limit: z38.int().min(1).max(500).default(50)
|
|
4234
4309
|
});
|
|
4235
4310
|
var WindowsEvent = z38.strictObject({
|
|
@@ -4240,7 +4315,11 @@ var WindowsEvent = z38.strictObject({
|
|
|
4240
4315
|
message: z38.string()
|
|
4241
4316
|
});
|
|
4242
4317
|
var WindowsEventLogResult = z38.strictObject({ log: z38.string(), events: z38.array(WindowsEvent) });
|
|
4243
|
-
var WindowsFeaturesParams = z38.strictObject({
|
|
4318
|
+
var WindowsFeaturesParams = z38.strictObject({
|
|
4319
|
+
filter: z38.string().min(1).max(256).optional(),
|
|
4320
|
+
/** (1.67) Only features that are on (Matrx Local's windows_features installed_only). */
|
|
4321
|
+
installed_only: z38.boolean().optional()
|
|
4322
|
+
});
|
|
4244
4323
|
var WindowsFeature = z38.strictObject({ name: z38.string(), state: z38.string() });
|
|
4245
4324
|
var WindowsFeaturesResult = z38.strictObject({ features: z38.array(WindowsFeature) });
|
|
4246
4325
|
|
|
@@ -5106,6 +5185,7 @@ var NAMED_SCHEMAS = {
|
|
|
5106
5185
|
WindowMoveResult,
|
|
5107
5186
|
WindowMinimizeParams,
|
|
5108
5187
|
WindowMinimizeResult,
|
|
5188
|
+
WindowState,
|
|
5109
5189
|
InputKey,
|
|
5110
5190
|
InputKeyboardSettingsParams,
|
|
5111
5191
|
InputKeyboardSettingsResult,
|
|
@@ -5625,6 +5705,12 @@ var FIELDS_SINCE = {
|
|
|
5625
5705
|
ResourcesDisk: { name: "1.17" },
|
|
5626
5706
|
StackServer: { cpu_percent: "1.18", memory_bytes: "1.18" },
|
|
5627
5707
|
AudioDevice: { kind: "1.24" },
|
|
5708
|
+
AudioRecordParams: { channels: "1.66", sample_rate: "1.66" },
|
|
5709
|
+
AudioRecordResult: { channels: "1.66", sample_rate: "1.66" },
|
|
5710
|
+
AudioPlayParams: { device_id: "1.66" },
|
|
5711
|
+
WindowListParams: { app: "1.66" },
|
|
5712
|
+
WindowMinimizeParams: { mode: "1.66" },
|
|
5713
|
+
WindowMinimizeResult: { mode: "1.66" },
|
|
5628
5714
|
ScreenDisplay: { rotation: "1.24", refresh_hz: "1.24", builtin: "1.24" },
|
|
5629
5715
|
PowerStatusResult: { energy: "1.24" },
|
|
5630
5716
|
AppsSpendResult: { days: "1.24" },
|
|
@@ -5641,6 +5727,24 @@ var FIELDS_SINCE = {
|
|
|
5641
5727
|
SysinfoGetResult: { requirements: "1.41" },
|
|
5642
5728
|
"SysinfoGetResult.permissions[]": { detail: "1.41" },
|
|
5643
5729
|
MessagesSendParams: { service: "1.42" },
|
|
5730
|
+
// 1.67: Matrx Local's local_mac_apps and local_windows_ps contracts, carried whole.
|
|
5731
|
+
MailAccount: { mailboxes: "1.67" },
|
|
5732
|
+
MailSendParams: { bcc: "1.67" },
|
|
5733
|
+
MessagesChat: { last_message: "1.67" },
|
|
5734
|
+
MessagesListParams: { contact: "1.67", unread_only: "1.67" },
|
|
5735
|
+
MessagesMessage: { read: "1.67", service: "1.67", chat_name: "1.67" },
|
|
5736
|
+
CalendarListParams: { calendars: "1.67" },
|
|
5737
|
+
CalendarEvent: { url: "1.67" },
|
|
5738
|
+
RemindersListParams: { lists: "1.67" },
|
|
5739
|
+
Reminder: { priority: "1.67", completed_at_ms: "1.67" },
|
|
5740
|
+
PhotosSearchParams: { media_type: "1.67" },
|
|
5741
|
+
Photo: { media_type: "1.67", duration_s: "1.67" },
|
|
5742
|
+
PhotosGetParams: { thumbnail_size: "1.67" },
|
|
5743
|
+
PhotosGetResult: { thumbnail_png_base64: "1.67" },
|
|
5744
|
+
LocationGetResult: { altitude_m: "1.67", vertical_accuracy_m: "1.67", speed_mps: "1.67", course_deg: "1.67" },
|
|
5745
|
+
WindowsServicesParams: { status: "1.67" },
|
|
5746
|
+
WindowsEventLogParams: { source: "1.67" },
|
|
5747
|
+
WindowsFeaturesParams: { installed_only: "1.67" },
|
|
5644
5748
|
SysinfoHardwareResult: { graphics: "1.45" },
|
|
5645
5749
|
DownloadRow: { error: "1.46" },
|
|
5646
5750
|
CopyRestart: { reopened: "1.60" }
|
|
@@ -5725,7 +5829,10 @@ var RESULT_PATH = /* @__PURE__ */ new Map([
|
|
|
5725
5829
|
["web.fetch_with_browser", "WebBrowserFetchResult"],
|
|
5726
5830
|
["sysinfo.get", "SysinfoGetResult"],
|
|
5727
5831
|
["sysinfo.hardware", "SysinfoHardwareResult"],
|
|
5728
|
-
["apps.projects.to_window", "AppsProjectsToWindowResult"]
|
|
5832
|
+
["apps.projects.to_window", "AppsProjectsToWindowResult"],
|
|
5833
|
+
// 1.67: Matrx Local's local_mac_apps result fields.
|
|
5834
|
+
["photos.get", "PhotosGetResult"],
|
|
5835
|
+
["location.get", "LocationGetResult"]
|
|
5729
5836
|
]);
|
|
5730
5837
|
var NESTED_RESULTS = /* @__PURE__ */ new Map([
|
|
5731
5838
|
["apps.chats.list", [["chats", "ChatRow"]]],
|
|
@@ -5749,6 +5856,14 @@ var NESTED_RESULTS = /* @__PURE__ */ new Map([
|
|
|
5749
5856
|
// 1.63: what an instance record still lacks.
|
|
5750
5857
|
["apps.instances.list", [["instances", "AppInstance"]]],
|
|
5751
5858
|
["apps.windows.set_remote_control", [["remote_control", "WindowRemoteControl"]]],
|
|
5859
|
+
// 1.67: Matrx Local's local_mac_apps result fields.
|
|
5860
|
+
["mail.accounts", [["accounts", "MailAccount"]]],
|
|
5861
|
+
["messages.chats", [["chats", "MessagesChat"]]],
|
|
5862
|
+
["messages.list", [["messages", "MessagesMessage"]]],
|
|
5863
|
+
["calendar.list", [["events", "CalendarEvent"]]],
|
|
5864
|
+
["reminders.list", [["reminders", "Reminder"]]],
|
|
5865
|
+
["photos.search", [["photos", "Photo"]]],
|
|
5866
|
+
["photos.get", [["photo", "Photo"]]],
|
|
5752
5867
|
["coding.providers", [["providers", "CodingProviderStatus"]]],
|
|
5753
5868
|
// 1.57: the account a coding record belongs to.
|
|
5754
5869
|
["coding.sessions.list", [["sessions", "CodingSessionRecord"], ["recent", "CodingRecentRow"]]],
|
|
@@ -6378,6 +6493,7 @@ export {
|
|
|
6378
6493
|
WindowFocusResult,
|
|
6379
6494
|
WindowMoveParams,
|
|
6380
6495
|
WindowMoveResult,
|
|
6496
|
+
WindowState,
|
|
6381
6497
|
WindowMinimizeParams,
|
|
6382
6498
|
WindowMinimizeResult,
|
|
6383
6499
|
InputKey,
|
|
@@ -6758,4 +6874,4 @@ export {
|
|
|
6758
6874
|
closeRule,
|
|
6759
6875
|
isTerminalClose
|
|
6760
6876
|
};
|
|
6761
|
-
//# sourceMappingURL=chunk-server-
|
|
6877
|
+
//# sourceMappingURL=chunk-server-33UKFIXH.js.map
|