@ai-matrx/desktop-protocol 0.21.16 → 0.21.17
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 +6 -0
- package/dist/client.cjs +111 -4
- 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 +111 -4
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +153 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +189 -6
- package/dist/index.d.ts +189 -6
- package/dist/index.js +153 -10
- package/dist/index.js.map +1 -1
- package/dist/{models-BpZriuN2.d.cts → models-xHAz1vPQ.d.cts} +293 -1
- package/dist/{models-BpZriuN2.d.ts → models-xHAz1vPQ.d.ts} +293 -1
- package/dist/react.d.cts +156 -0
- package/dist/react.d.ts +156 -0
- package/generated/desktop-protocol.schema.json +583 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { O as OpName } from './models-
|
|
3
|
-
export { B as BEARER_PREFIX, g as CLOSE_RULES, h as CancelMsg, j as ClientToCoreMsg, e as ClientType, k as CloseAction, l as CloseCode, m as CloseCodeValue, C as CloseOutcome, n as CloseRule, o as CoreToClientMsg, p as CreditMsg, D as DesktopProtocolError, d as EVENTS, q as EndMsg, E as EndReason, r as ErrorCode, s as ErrorCodeName, t as ErrorData, u as ErrorMsg, v as ErrorReason, w as ErrorReasonName, x as EventMsg, y as EventName, F as FsPatchEditFailure, H as HelloMsg, L as Limits, z as MlInstallPhase, A as MlInstallProgress, f as MlProgress, G as MlRuntimeState, I as MlServiceState, J as MlServiceStatus, K as MlStatusParams, N as MlStatusResult, P as ModelsInstallParams, Q as ModelsInstallResult, R as ModelsProgressEvent, U as ModelsStatusParams, V as ModelsStatusResult, X as ModelsTranscribeParams, M as ModelsTranscribeResult, Y as NAMED_SCHEMAS, Z as NamedSchemaId, c as OPS, _ as OpDescriptor, a as OpParams, b as OpResult, $ as OpSpec, a0 as PING_TEXT, a1 as PONG_TEXT, a2 as ProtocolErrorBody, a3 as RelayMsg, a4 as RequestMsg, a5 as ResponseMsg, a6 as SERVICES, a7 as SUBPROTOCOL, a8 as ServiceId, a9 as ServiceOpName, aa as ServiceOpSpec, ab as ServiceSpec, S as StreamMeta, ac as StreamMsg, ad as TranscriptSegment, T as TranscriptionModelId, ae as TranscriptionModelInfo, W as Welcome, af as closeRule, i as isDesktopProtocolError, ag as isTerminalClose } from './models-
|
|
2
|
+
import { O as OpName } from './models-xHAz1vPQ.js';
|
|
3
|
+
export { B as BEARER_PREFIX, g as CLOSE_RULES, h as CancelMsg, j as ClientToCoreMsg, e as ClientType, k as CloseAction, l as CloseCode, m as CloseCodeValue, C as CloseOutcome, n as CloseRule, o as CoreToClientMsg, p as CreditMsg, D as DesktopProtocolError, d as EVENTS, q as EndMsg, E as EndReason, r as ErrorCode, s as ErrorCodeName, t as ErrorData, u as ErrorMsg, v as ErrorReason, w as ErrorReasonName, x as EventMsg, y as EventName, F as FsPatchEditFailure, H as HelloMsg, L as Limits, z as MlInstallPhase, A as MlInstallProgress, f as MlProgress, G as MlRuntimeState, I as MlServiceState, J as MlServiceStatus, K as MlStatusParams, N as MlStatusResult, P as ModelsInstallParams, Q as ModelsInstallResult, R as ModelsProgressEvent, U as ModelsStatusParams, V as ModelsStatusResult, X as ModelsTranscribeParams, M as ModelsTranscribeResult, Y as NAMED_SCHEMAS, Z as NamedSchemaId, c as OPS, _ as OpDescriptor, a as OpParams, b as OpResult, $ as OpSpec, a0 as PING_TEXT, a1 as PONG_TEXT, a2 as ProtocolErrorBody, a3 as RelayMsg, a4 as RequestMsg, a5 as ResponseMsg, a6 as SERVICES, a7 as SUBPROTOCOL, a8 as ServiceId, a9 as ServiceOpName, aa as ServiceOpSpec, ab as ServiceSpec, S as StreamMeta, ac as StreamMsg, ad as TranscriptSegment, T as TranscriptionModelId, ae as TranscriptionModelInfo, W as Welcome, af as closeRule, i as isDesktopProtocolError, ag as isTerminalClose } from './models-xHAz1vPQ.js';
|
|
4
4
|
export { BROADCAST_CID, DecodedFrame, FRAME_HEADER_BYTES, FRAME_STRUCT_FORMAT, FRAME_VERSION, FrameChannel, FrameChannelValue, FrameFlag, assertFrameHeader, connectionEndFrame, decodeFrame, encodeFrame, hasFlag, isConnectionEnd, readCid, stampCid } from './frame.js';
|
|
5
5
|
|
|
6
6
|
/** @ai-matrx/desktop-protocol — version and primitive schemas. Schema source: lint-enforced rules in scripts/check-schema-source.mjs. */
|
|
@@ -38,10 +38,15 @@ declare const PROTOCOL_MAJOR: 1;
|
|
|
38
38
|
* the web from this computer (web.fetch/scrape/search/fetch_with_browser, the `tools` service).
|
|
39
39
|
* 1.23 — the signed-in person's own agents and Vault (account.agents.list, account.vault.list,
|
|
40
40
|
* account.vault.copy: one field onto this computer's clipboard, never its value on the wire).
|
|
41
|
+
* 1.24 — the System Settings panes' own facts: sysinfo.hardware (model, chip, serial, the OS's
|
|
42
|
+
* name), audio.levels/set_levels (volumes, Mute) and each device's kind, the displays'
|
|
43
|
+
* rotation and refresh rate, power's energy settings and power.history, the keyboard's
|
|
44
|
+
* repeat, fn key and input sources (input.keyboard_settings/set_keyboard_settings),
|
|
45
|
+
* system.open_settings (the OS's own settings page), Spend's last 7 days.
|
|
41
46
|
*/
|
|
42
|
-
declare const PROTOCOL_MINOR:
|
|
47
|
+
declare const PROTOCOL_MINOR: 24;
|
|
43
48
|
/** This package's version as the wire spells it ("major.minor"): hello, welcome, relay status. */
|
|
44
|
-
declare const PROTOCOL_VERSION: "1.
|
|
49
|
+
declare const PROTOCOL_VERSION: "1.24";
|
|
45
50
|
/** Internal building blocks — deliberately unnamed in $defs (inlined wherever used). */
|
|
46
51
|
declare const u32: z.ZodInt;
|
|
47
52
|
declare const nonNegInt: z.ZodInt;
|
|
@@ -192,6 +197,19 @@ declare const SysinfoGetResult: z.ZodObject<{
|
|
|
192
197
|
}, z.core.$strict>>;
|
|
193
198
|
}, z.core.$strict>;
|
|
194
199
|
type SysinfoGetResult = z.output<typeof SysinfoGetResult>;
|
|
200
|
+
declare const SysinfoHardwareParams: z.ZodObject<{}, z.core.$strict>;
|
|
201
|
+
type SysinfoHardwareParams = z.output<typeof SysinfoHardwareParams>;
|
|
202
|
+
declare const SysinfoHardwareResult: z.ZodObject<{
|
|
203
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
204
|
+
model_detail: z.ZodNullable<z.ZodString>;
|
|
205
|
+
model_identifier: z.ZodNullable<z.ZodString>;
|
|
206
|
+
chip: z.ZodNullable<z.ZodString>;
|
|
207
|
+
serial_number: z.ZodNullable<z.ZodString>;
|
|
208
|
+
os_name: z.ZodNullable<z.ZodString>;
|
|
209
|
+
os_version: z.ZodNullable<z.ZodString>;
|
|
210
|
+
os_build: z.ZodNullable<z.ZodString>;
|
|
211
|
+
}, z.core.$strict>;
|
|
212
|
+
type SysinfoHardwareResult = z.output<typeof SysinfoHardwareResult>;
|
|
195
213
|
|
|
196
214
|
/** @ai-matrx/desktop-protocol — cap fs. Schema source: lint-enforced rules in scripts/check-schema-source.mjs. */
|
|
197
215
|
|
|
@@ -2538,6 +2556,13 @@ declare const SpendStart: z.ZodObject<{
|
|
|
2538
2556
|
alarm: z.ZodNullable<z.ZodString>;
|
|
2539
2557
|
}, z.core.$strict>;
|
|
2540
2558
|
type SpendStart = z.output<typeof SpendStart>;
|
|
2559
|
+
/** (1.24) One day's spend, for Screen Time's bar chart: the local date and its split. */
|
|
2560
|
+
declare const SpendDay: z.ZodObject<{
|
|
2561
|
+
date: z.ZodString;
|
|
2562
|
+
main: z.ZodNumber;
|
|
2563
|
+
helpers: z.ZodNumber;
|
|
2564
|
+
}, z.core.$strict>;
|
|
2565
|
+
type SpendDay = z.output<typeof SpendDay>;
|
|
2541
2566
|
declare const AppsSpendParams: z.ZodObject<{
|
|
2542
2567
|
app_key: z.ZodString;
|
|
2543
2568
|
}, z.core.$strict>;
|
|
@@ -2598,6 +2623,11 @@ declare const AppsSpendResult: z.ZodObject<{
|
|
|
2598
2623
|
}, z.core.$strict>;
|
|
2599
2624
|
}, z.core.$strict>;
|
|
2600
2625
|
}, z.core.$strict>>;
|
|
2626
|
+
days: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2627
|
+
date: z.ZodString;
|
|
2628
|
+
main: z.ZodNumber;
|
|
2629
|
+
helpers: z.ZodNumber;
|
|
2630
|
+
}, z.core.$strict>>>;
|
|
2601
2631
|
chats: z.ZodArray<z.ZodObject<{
|
|
2602
2632
|
id: z.ZodString;
|
|
2603
2633
|
title: z.ZodString;
|
|
@@ -3581,6 +3611,53 @@ type ToolsServiceProgress = z.output<typeof ToolsServiceProgress>;
|
|
|
3581
3611
|
* scripts/check-schema-source.mjs. Added in protocol 1.4.
|
|
3582
3612
|
*/
|
|
3583
3613
|
|
|
3614
|
+
/** (1.24) An OS settings page Matrx 2 can open: the person's own place to change what Matrx 2 only shows. */
|
|
3615
|
+
declare const SystemSettingsPane: z.ZodEnum<{
|
|
3616
|
+
displays: "displays";
|
|
3617
|
+
night_shift: "night_shift";
|
|
3618
|
+
sound: "sound";
|
|
3619
|
+
keyboard: "keyboard";
|
|
3620
|
+
keyboard_shortcuts: "keyboard_shortcuts";
|
|
3621
|
+
text_input: "text_input";
|
|
3622
|
+
dictation: "dictation";
|
|
3623
|
+
energy: "energy";
|
|
3624
|
+
about: "about";
|
|
3625
|
+
storage: "storage";
|
|
3626
|
+
system_report: "system_report";
|
|
3627
|
+
}>;
|
|
3628
|
+
type SystemSettingsPane = z.output<typeof SystemSettingsPane>;
|
|
3629
|
+
declare const SystemOpenSettingsParams: z.ZodObject<{
|
|
3630
|
+
pane: z.ZodEnum<{
|
|
3631
|
+
displays: "displays";
|
|
3632
|
+
night_shift: "night_shift";
|
|
3633
|
+
sound: "sound";
|
|
3634
|
+
keyboard: "keyboard";
|
|
3635
|
+
keyboard_shortcuts: "keyboard_shortcuts";
|
|
3636
|
+
text_input: "text_input";
|
|
3637
|
+
dictation: "dictation";
|
|
3638
|
+
energy: "energy";
|
|
3639
|
+
about: "about";
|
|
3640
|
+
storage: "storage";
|
|
3641
|
+
system_report: "system_report";
|
|
3642
|
+
}>;
|
|
3643
|
+
}, z.core.$strict>;
|
|
3644
|
+
type SystemOpenSettingsParams = z.output<typeof SystemOpenSettingsParams>;
|
|
3645
|
+
declare const SystemOpenSettingsResult: z.ZodObject<{
|
|
3646
|
+
pane: z.ZodEnum<{
|
|
3647
|
+
displays: "displays";
|
|
3648
|
+
night_shift: "night_shift";
|
|
3649
|
+
sound: "sound";
|
|
3650
|
+
keyboard: "keyboard";
|
|
3651
|
+
keyboard_shortcuts: "keyboard_shortcuts";
|
|
3652
|
+
text_input: "text_input";
|
|
3653
|
+
dictation: "dictation";
|
|
3654
|
+
energy: "energy";
|
|
3655
|
+
about: "about";
|
|
3656
|
+
storage: "storage";
|
|
3657
|
+
system_report: "system_report";
|
|
3658
|
+
}>;
|
|
3659
|
+
}, z.core.$strict>;
|
|
3660
|
+
type SystemOpenSettingsResult = z.output<typeof SystemOpenSettingsResult>;
|
|
3584
3661
|
declare const SystemOpenUrlParams: z.ZodObject<{
|
|
3585
3662
|
url: z.ZodString;
|
|
3586
3663
|
}, z.core.$strict>;
|
|
@@ -3624,6 +3701,9 @@ declare const ScreenDisplay: z.ZodObject<{
|
|
|
3624
3701
|
height: z.ZodInt;
|
|
3625
3702
|
scale: z.ZodNumber;
|
|
3626
3703
|
primary: z.ZodBoolean;
|
|
3704
|
+
rotation: z.ZodOptional<z.ZodInt>;
|
|
3705
|
+
refresh_hz: z.ZodOptional<z.ZodNumber>;
|
|
3706
|
+
builtin: z.ZodOptional<z.ZodBoolean>;
|
|
3627
3707
|
}, z.core.$strict>;
|
|
3628
3708
|
type ScreenDisplay = z.output<typeof ScreenDisplay>;
|
|
3629
3709
|
declare const ScreenListResult: z.ZodObject<{
|
|
@@ -3636,6 +3716,9 @@ declare const ScreenListResult: z.ZodObject<{
|
|
|
3636
3716
|
height: z.ZodInt;
|
|
3637
3717
|
scale: z.ZodNumber;
|
|
3638
3718
|
primary: z.ZodBoolean;
|
|
3719
|
+
rotation: z.ZodOptional<z.ZodInt>;
|
|
3720
|
+
refresh_hz: z.ZodOptional<z.ZodNumber>;
|
|
3721
|
+
builtin: z.ZodOptional<z.ZodBoolean>;
|
|
3639
3722
|
}, z.core.$strict>>;
|
|
3640
3723
|
}, z.core.$strict>;
|
|
3641
3724
|
type ScreenListResult = z.output<typeof ScreenListResult>;
|
|
@@ -3833,6 +3916,35 @@ declare const InputKey: z.ZodEnum<{
|
|
|
3833
3916
|
grave: "grave";
|
|
3834
3917
|
}>;
|
|
3835
3918
|
type InputKey = z.output<typeof InputKey>;
|
|
3919
|
+
/**
|
|
3920
|
+
* (1.24) The keyboard's own settings, as System Settings › Keyboard shows them. Times in ms; each
|
|
3921
|
+
* field null where this OS does not say.
|
|
3922
|
+
*/
|
|
3923
|
+
declare const InputKeyboardSettingsParams: z.ZodObject<{}, z.core.$strict>;
|
|
3924
|
+
type InputKeyboardSettingsParams = z.output<typeof InputKeyboardSettingsParams>;
|
|
3925
|
+
declare const InputKeyboardSettingsResult: z.ZodObject<{
|
|
3926
|
+
repeat_off: z.ZodNullable<z.ZodBoolean>;
|
|
3927
|
+
repeat_interval_ms: z.ZodNullable<z.ZodInt>;
|
|
3928
|
+
repeat_delay_ms: z.ZodNullable<z.ZodInt>;
|
|
3929
|
+
fn_key: z.ZodNullable<z.ZodEnum<{
|
|
3930
|
+
dictation: "dictation";
|
|
3931
|
+
nothing: "nothing";
|
|
3932
|
+
input_source: "input_source";
|
|
3933
|
+
emoji: "emoji";
|
|
3934
|
+
}>>;
|
|
3935
|
+
keyboard_navigation: z.ZodNullable<z.ZodBoolean>;
|
|
3936
|
+
input_sources: z.ZodArray<z.ZodString>;
|
|
3937
|
+
applies_after_login: z.ZodBoolean;
|
|
3938
|
+
}, z.core.$strict>;
|
|
3939
|
+
type InputKeyboardSettingsResult = z.output<typeof InputKeyboardSettingsResult>;
|
|
3940
|
+
/** (1.24) Change the key repeat or keyboard navigation; the result is the settings read back. */
|
|
3941
|
+
declare const InputSetKeyboardSettingsParams: z.ZodObject<{
|
|
3942
|
+
repeat_off: z.ZodOptional<z.ZodBoolean>;
|
|
3943
|
+
repeat_interval_ms: z.ZodOptional<z.ZodInt>;
|
|
3944
|
+
repeat_delay_ms: z.ZodOptional<z.ZodInt>;
|
|
3945
|
+
keyboard_navigation: z.ZodOptional<z.ZodBoolean>;
|
|
3946
|
+
}, z.core.$strict>;
|
|
3947
|
+
type InputSetKeyboardSettingsParams = z.output<typeof InputSetKeyboardSettingsParams>;
|
|
3836
3948
|
declare const InputPoint: z.ZodObject<{
|
|
3837
3949
|
x: z.ZodInt;
|
|
3838
3950
|
y: z.ZodInt;
|
|
@@ -4062,8 +4174,44 @@ declare const PowerStatusResult: z.ZodObject<{
|
|
|
4062
4174
|
plugged_in: z.ZodNullable<z.ZodBoolean>;
|
|
4063
4175
|
minutes_left: z.ZodNullable<z.ZodInt>;
|
|
4064
4176
|
awake_until_ms: z.ZodNullable<z.ZodInt>;
|
|
4177
|
+
energy: z.ZodOptional<z.ZodObject<{
|
|
4178
|
+
display_sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
4179
|
+
sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
4180
|
+
disk_sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
4181
|
+
wake_for_network: z.ZodNullable<z.ZodBoolean>;
|
|
4182
|
+
restart_after_power_failure: z.ZodNullable<z.ZodBoolean>;
|
|
4183
|
+
low_power_mode: z.ZodNullable<z.ZodBoolean>;
|
|
4184
|
+
}, z.core.$strict>>;
|
|
4065
4185
|
}, z.core.$strict>;
|
|
4066
4186
|
type PowerStatusResult = z.output<typeof PowerStatusResult>;
|
|
4187
|
+
/** (1.24) The OS's own energy settings, as Battery/Energy shows them. Minutes are null when that
|
|
4188
|
+
* sleep is never; each other field null where the OS does not say. */
|
|
4189
|
+
declare const PowerEnergy: z.ZodObject<{
|
|
4190
|
+
display_sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
4191
|
+
sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
4192
|
+
disk_sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
4193
|
+
wake_for_network: z.ZodNullable<z.ZodBoolean>;
|
|
4194
|
+
restart_after_power_failure: z.ZodNullable<z.ZodBoolean>;
|
|
4195
|
+
low_power_mode: z.ZodNullable<z.ZodBoolean>;
|
|
4196
|
+
}, z.core.$strict>;
|
|
4197
|
+
type PowerEnergy = z.output<typeof PowerEnergy>;
|
|
4198
|
+
/** (1.24) The battery's charge over the last ten days, from the OS's own power log. */
|
|
4199
|
+
declare const PowerHistoryParams: z.ZodObject<{}, z.core.$strict>;
|
|
4200
|
+
type PowerHistoryParams = z.output<typeof PowerHistoryParams>;
|
|
4201
|
+
declare const PowerHistoryPoint: z.ZodObject<{
|
|
4202
|
+
at_ms: z.ZodInt;
|
|
4203
|
+
percent: z.ZodNumber;
|
|
4204
|
+
plugged_in: z.ZodBoolean;
|
|
4205
|
+
}, z.core.$strict>;
|
|
4206
|
+
type PowerHistoryPoint = z.output<typeof PowerHistoryPoint>;
|
|
4207
|
+
declare const PowerHistoryResult: z.ZodObject<{
|
|
4208
|
+
points: z.ZodArray<z.ZodObject<{
|
|
4209
|
+
at_ms: z.ZodInt;
|
|
4210
|
+
percent: z.ZodNumber;
|
|
4211
|
+
plugged_in: z.ZodBoolean;
|
|
4212
|
+
}, z.core.$strict>>;
|
|
4213
|
+
}, z.core.$strict>;
|
|
4214
|
+
type PowerHistoryResult = z.output<typeof PowerHistoryResult>;
|
|
4067
4215
|
declare const PowerPreventSleepParams: z.ZodObject<{
|
|
4068
4216
|
seconds: z.ZodInt;
|
|
4069
4217
|
reason: z.ZodDefault<z.ZodString>;
|
|
@@ -4688,18 +4836,39 @@ declare const AudioDevice: z.ZodObject<{
|
|
|
4688
4836
|
id: z.ZodString;
|
|
4689
4837
|
name: z.ZodString;
|
|
4690
4838
|
default: z.ZodBoolean;
|
|
4839
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
4691
4840
|
}, z.core.$strict>;
|
|
4692
4841
|
type AudioDevice = z.output<typeof AudioDevice>;
|
|
4842
|
+
/** (1.24) The system's own levels, 0–100: what Sound's sliders and Mute show. Null where this OS does not say. */
|
|
4843
|
+
declare const AudioLevelsParams: z.ZodObject<{}, z.core.$strict>;
|
|
4844
|
+
type AudioLevelsParams = z.output<typeof AudioLevelsParams>;
|
|
4845
|
+
declare const AudioLevelsResult: z.ZodObject<{
|
|
4846
|
+
output_volume: z.ZodNullable<z.ZodNumber>;
|
|
4847
|
+
output_muted: z.ZodNullable<z.ZodBoolean>;
|
|
4848
|
+
input_volume: z.ZodNullable<z.ZodNumber>;
|
|
4849
|
+
alert_volume: z.ZodNullable<z.ZodNumber>;
|
|
4850
|
+
}, z.core.$strict>;
|
|
4851
|
+
type AudioLevelsResult = z.output<typeof AudioLevelsResult>;
|
|
4852
|
+
/** (1.24) Change any of the levels; the result is the levels read back after the change. */
|
|
4853
|
+
declare const AudioSetLevelsParams: z.ZodObject<{
|
|
4854
|
+
output_volume: z.ZodOptional<z.ZodNumber>;
|
|
4855
|
+
output_muted: z.ZodOptional<z.ZodBoolean>;
|
|
4856
|
+
input_volume: z.ZodOptional<z.ZodNumber>;
|
|
4857
|
+
alert_volume: z.ZodOptional<z.ZodNumber>;
|
|
4858
|
+
}, z.core.$strict>;
|
|
4859
|
+
type AudioSetLevelsParams = z.output<typeof AudioSetLevelsParams>;
|
|
4693
4860
|
declare const AudioDevicesResult: z.ZodObject<{
|
|
4694
4861
|
inputs: z.ZodArray<z.ZodObject<{
|
|
4695
4862
|
id: z.ZodString;
|
|
4696
4863
|
name: z.ZodString;
|
|
4697
4864
|
default: z.ZodBoolean;
|
|
4865
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
4698
4866
|
}, z.core.$strict>>;
|
|
4699
4867
|
outputs: z.ZodArray<z.ZodObject<{
|
|
4700
4868
|
id: z.ZodString;
|
|
4701
4869
|
name: z.ZodString;
|
|
4702
4870
|
default: z.ZodBoolean;
|
|
4871
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
4703
4872
|
}, z.core.$strict>>;
|
|
4704
4873
|
}, z.core.$strict>;
|
|
4705
4874
|
type AudioDevicesResult = z.output<typeof AudioDevicesResult>;
|
|
@@ -5090,6 +5259,20 @@ declare const FIELDS_SINCE: {
|
|
|
5090
5259
|
readonly cpu_percent: "1.18";
|
|
5091
5260
|
readonly memory_bytes: "1.18";
|
|
5092
5261
|
};
|
|
5262
|
+
readonly AudioDevice: {
|
|
5263
|
+
readonly kind: "1.24";
|
|
5264
|
+
};
|
|
5265
|
+
readonly ScreenDisplay: {
|
|
5266
|
+
readonly rotation: "1.24";
|
|
5267
|
+
readonly refresh_hz: "1.24";
|
|
5268
|
+
readonly builtin: "1.24";
|
|
5269
|
+
};
|
|
5270
|
+
readonly PowerStatusResult: {
|
|
5271
|
+
readonly energy: "1.24";
|
|
5272
|
+
};
|
|
5273
|
+
readonly AppsSpendResult: {
|
|
5274
|
+
readonly days: "1.24";
|
|
5275
|
+
};
|
|
5093
5276
|
};
|
|
5094
5277
|
type FieldsSincePath = keyof typeof FIELDS_SINCE;
|
|
5095
5278
|
/**
|
|
@@ -5144,7 +5327,7 @@ declare function forPeer(op: OpName | null, part: "error", value: unknown, versi
|
|
|
5144
5327
|
declare const VERSIONED_RESULT_OPS: readonly OpName[];
|
|
5145
5328
|
|
|
5146
5329
|
/** SHA-256 of generated/desktop-protocol.schema.json: the contract both sides of a service connection were built from. */
|
|
5147
|
-
declare const CONTRACT_SHA256: "
|
|
5330
|
+
declare const CONTRACT_SHA256: "89943d5297e89b0ae7433b24c3076be1f65ca39a5edc3f338620597b24009226";
|
|
5148
5331
|
|
|
5149
5332
|
/**
|
|
5150
5333
|
* The local tool catalog (SPEC §10): every tool a platform agent calls on a person's computer, the
|
|
@@ -5271,4 +5454,4 @@ declare function buildToolStatus(files: readonly unknown[], opts: {
|
|
|
5271
5454
|
/** The committed text form. Columns: per platform, the three levels (P = programmatic, R = protocol, C = chat). */
|
|
5272
5455
|
declare function renderToolStatusMarkdown(status: ToolStatus): string;
|
|
5273
5456
|
|
|
5274
|
-
export { AbsPath, AccountAgent, AccountAgentsListParams, AccountAgentsListResult, AccountReadState, AccountReset, AccountRowId, AccountUsage, AccountVaultCopyParams, AccountVaultCopyResult, AccountVaultListParams, AccountVaultListResult, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppWindowInfo, AppsAccountsResetsParams, AppsAccountsResetsResult, AppsAccountsUsageParams, AppsAccountsUsageResult, AppsChatsChangedEvent, AppsChatsColdParams, AppsChatsColdResult, AppsChatsListParams, AppsChatsListResult, AppsChatsOpenParams, AppsChatsPlaceParams, AppsChatsPlaceResult, AppsChatsStarParams, AppsChatsStarResult, AppsChatsWatchParams, AppsChatsWatchResult, AppsChatsWatchStateEvent, AppsListParams, AppsListResult, AppsOpenParams, AppsOpenResult, AppsProfilesListParams, AppsProfilesListResult, AppsProfilesRemoveParams, AppsProfilesRemoveResult, AppsProfilesSaveParams, AppsProfilesSaveResult, AppsProjectsCopyParams, AppsProjectsCopyResult, AppsProjectsCreateParams, AppsProjectsCreateResult, AppsProjectsFileManyParams, AppsProjectsFileManyResult, AppsProjectsFileParams, AppsProjectsFileResult, AppsProjectsImportPinsParams, AppsProjectsImportPinsResult, AppsProjectsMoveParams, AppsProjectsMoveResult, AppsProjectsToWindowParams, AppsProjectsToWindowResult, AppsProjectsUnfileParams, AppsProjectsUnfileResult, AppsProjectsUpdateParams, AppsProjectsUpdateResult, AppsSpendParams, AppsSpendResult, AppsSyncRunParams, AppsSyncStatusParams, AppsSyncStatusResult, AppsWindowActionResult, AppsWindowsAddParams, AppsWindowsListParams, AppsWindowsListResult, AppsWindowsOpenParams, AppsWindowsProcessesParams, AppsWindowsProcessesResult, AppsWindowsRefreshUsageParams, AppsWindowsReloadParams, AppsWindowsRestartParams, AppsWindowsSaveNamesParams, AppsWindowsShownParams, AppsWindowsShownResult, AudioDevice, AudioDevicesParams, AudioDevicesResult, AudioPlayParams, AudioPlayResult, AudioRecordParams, AudioRecordResult, CONTRACT_SHA256, type CatalogTool, type CellState, ChatAppProject, ChatFamily, ChatHidden, ChatId, ChatLastUse, ChatPin, ChatPlace, ChatProject, ChatProjectId, ChatRow, ChatRunning, ChatWindow, ClipboardReadParams, ClipboardReadResult, ClipboardWriteParams, ClipboardWriteResult, CodingHistoryBlocked, CodingHistoryFailure, CodingHistoryImportMissingParams, CodingHistoryImportMissingResult, CodingHistoryProgressEvent, CodingHistoryRun, CodingHistoryStep, CodingImportNextParams, CodingPlanMissingParams, CodingServiceCredentials, CodingServiceProgress, ColdChat, ContractHash, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DeviceId, DiagErrorEntry, DiagErrorKind, DiagErrorStatus, DiagErrorsChangedEvent, DiagErrorsListParams, DiagErrorsListResult, DiagErrorsReportParams, DiagErrorsReportResult, DiagProcess, EXCLUDED_TOOLS, ExecCwdEvent, ExecExitedEvent, ExecJobId, ExecJobInfo, ExecJobListParams, ExecJobListResult, ExecJobOutputParams, ExecJobOutputResult, ExecJobStartParams, ExecJobStartResult, ExecJobStopParams, ExecJobStopResult, ExecListParams, ExecListResult, ExecPtyKillParams, ExecPtyKillResult, ExecPtyResizeParams, ExecPtyResizeResult, ExecPtySignalParams, ExecPtySignalResult, ExecPtyStartParams, ExecPtyStartResult, ExecPtyWriteParams, ExecPtyWriteResult, ExecRunParams, ExecRunResult, ExecTitleEvent, FIELDS_SINCE, type FieldsSincePath, FrameHeader, FsChange, FsChangedEvent, FsDeleteParams, FsDeleteResult, FsEncoding, FsEntry, FsKind, FsListParams, FsListResult, FsMkdirParams, FsMkdirResult, FsMoveParams, FsMoveResult, FsPatchEditApplied, FsPatchParams, FsPatchResult, FsReadParams, FsReadResult, FsReadStreamParams, FsReadStreamResult, FsSearchContentParams, FsSearchContentResult, FsSearchPathsParams, FsSearchPathsResult, FsStatParams, FsStatResult, FsWatchEventsParams, FsWatchEventsResult, FsWatchId, FsWatchParams, FsWatchResult, FsWatchStartParams, FsWatchStartResult, FsWatchStopParams, FsWatchStopResult, FsWriteParams, FsWriteResult, GIT_MAX_OUTPUT_CHARS, GitAddParams, GitBranchParams, GitBranchResult, GitCloneParams, GitCommitParams, GitCommitResult, GitDiffParams, GitDiffResult, GitLogCommit, GitLogParams, GitLogResult, GitOutputResult, GitPullParams, GitPushParams, GitStashParams, GitStatusFile, GitStatusParams, GitStatusResult, InputHotkeyParams, InputHotkeyResult, InputKey, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputTypeTextParams, InputTypeTextResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, ProjectMoveChat, ProjectMoveGroup, ProjectMoveSkip, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, RequestId, ResourceId, ResourceInfo, ResourcesActivityParams, ResourcesActivityResult, ResourcesDisk, ResourcesIncident, ResourcesIncidentsParams, ResourcesIncidentsResult, ResourcesJob, ResourcesJobKind, ResourcesPressure, ResourcesProcess, ResourcesSample, ResourcesSnapshotParams, ResourcesSnapshotResult, ResourcesStopJobParams, ResourcesStopJobResult, ResourcesStrain, ResourcesVerdict, SERVICE_MAX_FRAME_BYTES, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, ShownSection, Signal, SpendAccount, SpendChat, SpendHelper, SpendIdle, SpendIdleScope, SpendLive, SpendModel, SpendScopes, SpendSplit, SpendStart, StackErrorsParams, StackErrorsResult, StackEvent, StackLogsParams, StackLogsResult, StackRunResult, StackServer, StackServerActionParams, StackServerActionResult, StackServerName, StackStartParams, StackStateParams, StackStateResult, StackStopParams, StackTone, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenUrlParams, SystemOpenUrlResult, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, ToolsServiceProgress, ToolsWebSearchParams, VERSIONED_RESULT_OPS, VaultFieldSummary, VaultItemKind, VaultItemSummary, WEB_MAX_TEXT_CHARS, WebBrowserFetchParams, WebBrowserFetchResult, WebFetchParams, WebFetchResult, WebHeader, WebScrapePage, WebScrapeParams, WebScrapeResult, WebSearchHit, WebSearchParams, WebSearchQueryResult, WebSearchResult, WindowFocusParams, WindowFocusResult, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, renderToolStatusMarkdown, statusForPeer, u32, versionSubprotocol };
|
|
5457
|
+
export { AbsPath, AccountAgent, AccountAgentsListParams, AccountAgentsListResult, AccountReadState, AccountReset, AccountRowId, AccountUsage, AccountVaultCopyParams, AccountVaultCopyResult, AccountVaultListParams, AccountVaultListResult, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppWindowInfo, AppsAccountsResetsParams, AppsAccountsResetsResult, AppsAccountsUsageParams, AppsAccountsUsageResult, AppsChatsChangedEvent, AppsChatsColdParams, AppsChatsColdResult, AppsChatsListParams, AppsChatsListResult, AppsChatsOpenParams, AppsChatsPlaceParams, AppsChatsPlaceResult, AppsChatsStarParams, AppsChatsStarResult, AppsChatsWatchParams, AppsChatsWatchResult, AppsChatsWatchStateEvent, AppsListParams, AppsListResult, AppsOpenParams, AppsOpenResult, AppsProfilesListParams, AppsProfilesListResult, AppsProfilesRemoveParams, AppsProfilesRemoveResult, AppsProfilesSaveParams, AppsProfilesSaveResult, AppsProjectsCopyParams, AppsProjectsCopyResult, AppsProjectsCreateParams, AppsProjectsCreateResult, AppsProjectsFileManyParams, AppsProjectsFileManyResult, AppsProjectsFileParams, AppsProjectsFileResult, AppsProjectsImportPinsParams, AppsProjectsImportPinsResult, AppsProjectsMoveParams, AppsProjectsMoveResult, AppsProjectsToWindowParams, AppsProjectsToWindowResult, AppsProjectsUnfileParams, AppsProjectsUnfileResult, AppsProjectsUpdateParams, AppsProjectsUpdateResult, AppsSpendParams, AppsSpendResult, AppsSyncRunParams, AppsSyncStatusParams, AppsSyncStatusResult, AppsWindowActionResult, AppsWindowsAddParams, AppsWindowsListParams, AppsWindowsListResult, AppsWindowsOpenParams, AppsWindowsProcessesParams, AppsWindowsProcessesResult, AppsWindowsRefreshUsageParams, AppsWindowsReloadParams, AppsWindowsRestartParams, AppsWindowsSaveNamesParams, AppsWindowsShownParams, AppsWindowsShownResult, AudioDevice, AudioDevicesParams, AudioDevicesResult, AudioLevelsParams, AudioLevelsResult, AudioPlayParams, AudioPlayResult, AudioRecordParams, AudioRecordResult, AudioSetLevelsParams, CONTRACT_SHA256, type CatalogTool, type CellState, ChatAppProject, ChatFamily, ChatHidden, ChatId, ChatLastUse, ChatPin, ChatPlace, ChatProject, ChatProjectId, ChatRow, ChatRunning, ChatWindow, ClipboardReadParams, ClipboardReadResult, ClipboardWriteParams, ClipboardWriteResult, CodingHistoryBlocked, CodingHistoryFailure, CodingHistoryImportMissingParams, CodingHistoryImportMissingResult, CodingHistoryProgressEvent, CodingHistoryRun, CodingHistoryStep, CodingImportNextParams, CodingPlanMissingParams, CodingServiceCredentials, CodingServiceProgress, ColdChat, ContractHash, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DeviceId, DiagErrorEntry, DiagErrorKind, DiagErrorStatus, DiagErrorsChangedEvent, DiagErrorsListParams, DiagErrorsListResult, DiagErrorsReportParams, DiagErrorsReportResult, DiagProcess, EXCLUDED_TOOLS, ExecCwdEvent, ExecExitedEvent, ExecJobId, ExecJobInfo, ExecJobListParams, ExecJobListResult, ExecJobOutputParams, ExecJobOutputResult, ExecJobStartParams, ExecJobStartResult, ExecJobStopParams, ExecJobStopResult, ExecListParams, ExecListResult, ExecPtyKillParams, ExecPtyKillResult, ExecPtyResizeParams, ExecPtyResizeResult, ExecPtySignalParams, ExecPtySignalResult, ExecPtyStartParams, ExecPtyStartResult, ExecPtyWriteParams, ExecPtyWriteResult, ExecRunParams, ExecRunResult, ExecTitleEvent, FIELDS_SINCE, type FieldsSincePath, FrameHeader, FsChange, FsChangedEvent, FsDeleteParams, FsDeleteResult, FsEncoding, FsEntry, FsKind, FsListParams, FsListResult, FsMkdirParams, FsMkdirResult, FsMoveParams, FsMoveResult, FsPatchEditApplied, FsPatchParams, FsPatchResult, FsReadParams, FsReadResult, FsReadStreamParams, FsReadStreamResult, FsSearchContentParams, FsSearchContentResult, FsSearchPathsParams, FsSearchPathsResult, FsStatParams, FsStatResult, FsWatchEventsParams, FsWatchEventsResult, FsWatchId, FsWatchParams, FsWatchResult, FsWatchStartParams, FsWatchStartResult, FsWatchStopParams, FsWatchStopResult, FsWriteParams, FsWriteResult, GIT_MAX_OUTPUT_CHARS, GitAddParams, GitBranchParams, GitBranchResult, GitCloneParams, GitCommitParams, GitCommitResult, GitDiffParams, GitDiffResult, GitLogCommit, GitLogParams, GitLogResult, GitOutputResult, GitPullParams, GitPushParams, GitStashParams, GitStatusFile, GitStatusParams, GitStatusResult, InputHotkeyParams, InputHotkeyResult, InputKey, InputKeyboardSettingsParams, InputKeyboardSettingsResult, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputSetKeyboardSettingsParams, InputTypeTextParams, InputTypeTextResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, PowerEnergy, PowerHistoryParams, PowerHistoryPoint, PowerHistoryResult, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, ProjectMoveChat, ProjectMoveGroup, ProjectMoveSkip, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, RequestId, ResourceId, ResourceInfo, ResourcesActivityParams, ResourcesActivityResult, ResourcesDisk, ResourcesIncident, ResourcesIncidentsParams, ResourcesIncidentsResult, ResourcesJob, ResourcesJobKind, ResourcesPressure, ResourcesProcess, ResourcesSample, ResourcesSnapshotParams, ResourcesSnapshotResult, ResourcesStopJobParams, ResourcesStopJobResult, ResourcesStrain, ResourcesVerdict, SERVICE_MAX_FRAME_BYTES, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, ShownSection, Signal, SpendAccount, SpendChat, SpendDay, SpendHelper, SpendIdle, SpendIdleScope, SpendLive, SpendModel, SpendScopes, SpendSplit, SpendStart, StackErrorsParams, StackErrorsResult, StackEvent, StackLogsParams, StackLogsResult, StackRunResult, StackServer, StackServerActionParams, StackServerActionResult, StackServerName, StackStartParams, StackStateParams, StackStateResult, StackStopParams, StackTone, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SysinfoHardwareParams, SysinfoHardwareResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenSettingsParams, SystemOpenSettingsResult, SystemOpenUrlParams, SystemOpenUrlResult, SystemSettingsPane, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, ToolsServiceProgress, ToolsWebSearchParams, VERSIONED_RESULT_OPS, VaultFieldSummary, VaultItemKind, VaultItemSummary, WEB_MAX_TEXT_CHARS, WebBrowserFetchParams, WebBrowserFetchResult, WebFetchParams, WebFetchResult, WebHeader, WebScrapePage, WebScrapeParams, WebScrapeResult, WebSearchHit, WebSearchParams, WebSearchQueryResult, WebSearchResult, WindowFocusParams, WindowFocusResult, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, renderToolStatusMarkdown, statusForPeer, u32, versionSubprotocol };
|