@ai-matrx/desktop-protocol 0.21.15 → 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 +12 -0
- package/dist/client.cjs +787 -604
- 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 +787 -604
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +997 -754
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +345 -6
- package/dist/index.d.ts +345 -6
- package/dist/index.js +997 -754
- package/dist/index.js.map +1 -1
- package/dist/{models-BFxuhPGw.d.cts → models-xHAz1vPQ.d.cts} +498 -1
- package/dist/{models-BFxuhPGw.d.ts → models-xHAz1vPQ.d.ts} +498 -1
- package/dist/react.d.cts +236 -0
- package/dist/react.d.ts +236 -0
- package/generated/desktop-protocol.schema.json +952 -19
- package/package.json +2 -2
|
@@ -687,7 +687,7 @@ type OpSpec = {
|
|
|
687
687
|
readonly params: z.ZodType;
|
|
688
688
|
readonly result: z.ZodType;
|
|
689
689
|
readonly kind: "unary" | "stream" | "resource";
|
|
690
|
-
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22";
|
|
690
|
+
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24";
|
|
691
691
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
692
692
|
};
|
|
693
693
|
declare const OPS: {
|
|
@@ -761,6 +761,22 @@ declare const OPS: {
|
|
|
761
761
|
readonly since: "1.0";
|
|
762
762
|
readonly errors: readonly ["INTERNAL"];
|
|
763
763
|
};
|
|
764
|
+
readonly "sysinfo.hardware": {
|
|
765
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
766
|
+
readonly result: z.ZodObject<{
|
|
767
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
768
|
+
model_detail: z.ZodNullable<z.ZodString>;
|
|
769
|
+
model_identifier: z.ZodNullable<z.ZodString>;
|
|
770
|
+
chip: z.ZodNullable<z.ZodString>;
|
|
771
|
+
serial_number: z.ZodNullable<z.ZodString>;
|
|
772
|
+
os_name: z.ZodNullable<z.ZodString>;
|
|
773
|
+
os_version: z.ZodNullable<z.ZodString>;
|
|
774
|
+
os_build: z.ZodNullable<z.ZodString>;
|
|
775
|
+
}, z.core.$strict>;
|
|
776
|
+
readonly kind: "unary";
|
|
777
|
+
readonly since: "1.24";
|
|
778
|
+
readonly errors: readonly ["INTERNAL"];
|
|
779
|
+
};
|
|
764
780
|
readonly "fs.list": {
|
|
765
781
|
readonly params: z.ZodObject<{
|
|
766
782
|
path: z.ZodString;
|
|
@@ -2479,6 +2495,11 @@ declare const OPS: {
|
|
|
2479
2495
|
}, z.core.$strict>;
|
|
2480
2496
|
}, z.core.$strict>;
|
|
2481
2497
|
}, z.core.$strict>>;
|
|
2498
|
+
days: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2499
|
+
date: z.ZodString;
|
|
2500
|
+
main: z.ZodNumber;
|
|
2501
|
+
helpers: z.ZodNumber;
|
|
2502
|
+
}, z.core.$strict>>>;
|
|
2482
2503
|
chats: z.ZodArray<z.ZodObject<{
|
|
2483
2504
|
id: z.ZodString;
|
|
2484
2505
|
title: z.ZodString;
|
|
@@ -2805,6 +2826,41 @@ declare const OPS: {
|
|
|
2805
2826
|
readonly since: "1.4";
|
|
2806
2827
|
readonly errors: readonly ["INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2807
2828
|
};
|
|
2829
|
+
readonly "system.open_settings": {
|
|
2830
|
+
readonly params: z.ZodObject<{
|
|
2831
|
+
pane: z.ZodEnum<{
|
|
2832
|
+
displays: "displays";
|
|
2833
|
+
night_shift: "night_shift";
|
|
2834
|
+
sound: "sound";
|
|
2835
|
+
keyboard: "keyboard";
|
|
2836
|
+
keyboard_shortcuts: "keyboard_shortcuts";
|
|
2837
|
+
text_input: "text_input";
|
|
2838
|
+
dictation: "dictation";
|
|
2839
|
+
energy: "energy";
|
|
2840
|
+
about: "about";
|
|
2841
|
+
storage: "storage";
|
|
2842
|
+
system_report: "system_report";
|
|
2843
|
+
}>;
|
|
2844
|
+
}, z.core.$strict>;
|
|
2845
|
+
readonly result: z.ZodObject<{
|
|
2846
|
+
pane: z.ZodEnum<{
|
|
2847
|
+
displays: "displays";
|
|
2848
|
+
night_shift: "night_shift";
|
|
2849
|
+
sound: "sound";
|
|
2850
|
+
keyboard: "keyboard";
|
|
2851
|
+
keyboard_shortcuts: "keyboard_shortcuts";
|
|
2852
|
+
text_input: "text_input";
|
|
2853
|
+
dictation: "dictation";
|
|
2854
|
+
energy: "energy";
|
|
2855
|
+
about: "about";
|
|
2856
|
+
storage: "storage";
|
|
2857
|
+
system_report: "system_report";
|
|
2858
|
+
}>;
|
|
2859
|
+
}, z.core.$strict>;
|
|
2860
|
+
readonly kind: "unary";
|
|
2861
|
+
readonly since: "1.24";
|
|
2862
|
+
readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2863
|
+
};
|
|
2808
2864
|
readonly "system.open_path": {
|
|
2809
2865
|
readonly params: z.ZodObject<{
|
|
2810
2866
|
path: z.ZodString;
|
|
@@ -2842,6 +2898,9 @@ declare const OPS: {
|
|
|
2842
2898
|
height: z.ZodInt;
|
|
2843
2899
|
scale: z.ZodNumber;
|
|
2844
2900
|
primary: z.ZodBoolean;
|
|
2901
|
+
rotation: z.ZodOptional<z.ZodInt>;
|
|
2902
|
+
refresh_hz: z.ZodOptional<z.ZodNumber>;
|
|
2903
|
+
builtin: z.ZodOptional<z.ZodBoolean>;
|
|
2845
2904
|
}, z.core.$strict>>;
|
|
2846
2905
|
}, z.core.$strict>;
|
|
2847
2906
|
readonly kind: "unary";
|
|
@@ -2962,6 +3021,51 @@ declare const OPS: {
|
|
|
2962
3021
|
readonly since: "1.4";
|
|
2963
3022
|
readonly errors: readonly ["PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2964
3023
|
};
|
|
3024
|
+
readonly "input.keyboard_settings": {
|
|
3025
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3026
|
+
readonly result: z.ZodObject<{
|
|
3027
|
+
repeat_off: z.ZodNullable<z.ZodBoolean>;
|
|
3028
|
+
repeat_interval_ms: z.ZodNullable<z.ZodInt>;
|
|
3029
|
+
repeat_delay_ms: z.ZodNullable<z.ZodInt>;
|
|
3030
|
+
fn_key: z.ZodNullable<z.ZodEnum<{
|
|
3031
|
+
dictation: "dictation";
|
|
3032
|
+
nothing: "nothing";
|
|
3033
|
+
input_source: "input_source";
|
|
3034
|
+
emoji: "emoji";
|
|
3035
|
+
}>>;
|
|
3036
|
+
keyboard_navigation: z.ZodNullable<z.ZodBoolean>;
|
|
3037
|
+
input_sources: z.ZodArray<z.ZodString>;
|
|
3038
|
+
applies_after_login: z.ZodBoolean;
|
|
3039
|
+
}, z.core.$strict>;
|
|
3040
|
+
readonly kind: "unary";
|
|
3041
|
+
readonly since: "1.24";
|
|
3042
|
+
readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3043
|
+
};
|
|
3044
|
+
readonly "input.set_keyboard_settings": {
|
|
3045
|
+
readonly params: z.ZodObject<{
|
|
3046
|
+
repeat_off: z.ZodOptional<z.ZodBoolean>;
|
|
3047
|
+
repeat_interval_ms: z.ZodOptional<z.ZodInt>;
|
|
3048
|
+
repeat_delay_ms: z.ZodOptional<z.ZodInt>;
|
|
3049
|
+
keyboard_navigation: z.ZodOptional<z.ZodBoolean>;
|
|
3050
|
+
}, z.core.$strict>;
|
|
3051
|
+
readonly result: z.ZodObject<{
|
|
3052
|
+
repeat_off: z.ZodNullable<z.ZodBoolean>;
|
|
3053
|
+
repeat_interval_ms: z.ZodNullable<z.ZodInt>;
|
|
3054
|
+
repeat_delay_ms: z.ZodNullable<z.ZodInt>;
|
|
3055
|
+
fn_key: z.ZodNullable<z.ZodEnum<{
|
|
3056
|
+
dictation: "dictation";
|
|
3057
|
+
nothing: "nothing";
|
|
3058
|
+
input_source: "input_source";
|
|
3059
|
+
emoji: "emoji";
|
|
3060
|
+
}>>;
|
|
3061
|
+
keyboard_navigation: z.ZodNullable<z.ZodBoolean>;
|
|
3062
|
+
input_sources: z.ZodArray<z.ZodString>;
|
|
3063
|
+
applies_after_login: z.ZodBoolean;
|
|
3064
|
+
}, z.core.$strict>;
|
|
3065
|
+
readonly kind: "unary";
|
|
3066
|
+
readonly since: "1.24";
|
|
3067
|
+
readonly errors: readonly ["INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3068
|
+
};
|
|
2965
3069
|
readonly "input.hotkey": {
|
|
2966
3070
|
readonly params: z.ZodObject<{
|
|
2967
3071
|
keys: z.ZodArray<z.ZodEnum<{
|
|
@@ -3182,11 +3286,32 @@ declare const OPS: {
|
|
|
3182
3286
|
plugged_in: z.ZodNullable<z.ZodBoolean>;
|
|
3183
3287
|
minutes_left: z.ZodNullable<z.ZodInt>;
|
|
3184
3288
|
awake_until_ms: z.ZodNullable<z.ZodInt>;
|
|
3289
|
+
energy: z.ZodOptional<z.ZodObject<{
|
|
3290
|
+
display_sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
3291
|
+
sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
3292
|
+
disk_sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
3293
|
+
wake_for_network: z.ZodNullable<z.ZodBoolean>;
|
|
3294
|
+
restart_after_power_failure: z.ZodNullable<z.ZodBoolean>;
|
|
3295
|
+
low_power_mode: z.ZodNullable<z.ZodBoolean>;
|
|
3296
|
+
}, z.core.$strict>>;
|
|
3185
3297
|
}, z.core.$strict>;
|
|
3186
3298
|
readonly kind: "unary";
|
|
3187
3299
|
readonly since: "1.4";
|
|
3188
3300
|
readonly errors: readonly ["INTERNAL"];
|
|
3189
3301
|
};
|
|
3302
|
+
readonly "power.history": {
|
|
3303
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3304
|
+
readonly result: z.ZodObject<{
|
|
3305
|
+
points: z.ZodArray<z.ZodObject<{
|
|
3306
|
+
at_ms: z.ZodInt;
|
|
3307
|
+
percent: z.ZodNumber;
|
|
3308
|
+
plugged_in: z.ZodBoolean;
|
|
3309
|
+
}, z.core.$strict>>;
|
|
3310
|
+
}, z.core.$strict>;
|
|
3311
|
+
readonly kind: "unary";
|
|
3312
|
+
readonly since: "1.24";
|
|
3313
|
+
readonly errors: readonly ["INTERNAL"];
|
|
3314
|
+
};
|
|
3190
3315
|
readonly "power.prevent_sleep": {
|
|
3191
3316
|
readonly params: z.ZodObject<{
|
|
3192
3317
|
seconds: z.ZodInt;
|
|
@@ -3372,17 +3497,48 @@ declare const OPS: {
|
|
|
3372
3497
|
id: z.ZodString;
|
|
3373
3498
|
name: z.ZodString;
|
|
3374
3499
|
default: z.ZodBoolean;
|
|
3500
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
3375
3501
|
}, z.core.$strict>>;
|
|
3376
3502
|
outputs: z.ZodArray<z.ZodObject<{
|
|
3377
3503
|
id: z.ZodString;
|
|
3378
3504
|
name: z.ZodString;
|
|
3379
3505
|
default: z.ZodBoolean;
|
|
3506
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
3380
3507
|
}, z.core.$strict>>;
|
|
3381
3508
|
}, z.core.$strict>;
|
|
3382
3509
|
readonly kind: "unary";
|
|
3383
3510
|
readonly since: "1.6";
|
|
3384
3511
|
readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3385
3512
|
};
|
|
3513
|
+
readonly "audio.levels": {
|
|
3514
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3515
|
+
readonly result: z.ZodObject<{
|
|
3516
|
+
output_volume: z.ZodNullable<z.ZodNumber>;
|
|
3517
|
+
output_muted: z.ZodNullable<z.ZodBoolean>;
|
|
3518
|
+
input_volume: z.ZodNullable<z.ZodNumber>;
|
|
3519
|
+
alert_volume: z.ZodNullable<z.ZodNumber>;
|
|
3520
|
+
}, z.core.$strict>;
|
|
3521
|
+
readonly kind: "unary";
|
|
3522
|
+
readonly since: "1.24";
|
|
3523
|
+
readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3524
|
+
};
|
|
3525
|
+
readonly "audio.set_levels": {
|
|
3526
|
+
readonly params: z.ZodObject<{
|
|
3527
|
+
output_volume: z.ZodOptional<z.ZodNumber>;
|
|
3528
|
+
output_muted: z.ZodOptional<z.ZodBoolean>;
|
|
3529
|
+
input_volume: z.ZodOptional<z.ZodNumber>;
|
|
3530
|
+
alert_volume: z.ZodOptional<z.ZodNumber>;
|
|
3531
|
+
}, z.core.$strict>;
|
|
3532
|
+
readonly result: z.ZodObject<{
|
|
3533
|
+
output_volume: z.ZodNullable<z.ZodNumber>;
|
|
3534
|
+
output_muted: z.ZodNullable<z.ZodBoolean>;
|
|
3535
|
+
input_volume: z.ZodNullable<z.ZodNumber>;
|
|
3536
|
+
alert_volume: z.ZodNullable<z.ZodNumber>;
|
|
3537
|
+
}, z.core.$strict>;
|
|
3538
|
+
readonly kind: "unary";
|
|
3539
|
+
readonly since: "1.24";
|
|
3540
|
+
readonly errors: readonly ["INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3541
|
+
};
|
|
3386
3542
|
readonly "audio.record": {
|
|
3387
3543
|
readonly params: z.ZodObject<{
|
|
3388
3544
|
seconds: z.ZodNumber;
|
|
@@ -3949,6 +4105,86 @@ declare const OPS: {
|
|
|
3949
4105
|
readonly since: "1.22";
|
|
3950
4106
|
readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
|
|
3951
4107
|
};
|
|
4108
|
+
readonly "account.agents.list": {
|
|
4109
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
4110
|
+
readonly result: z.ZodObject<{
|
|
4111
|
+
state: z.ZodEnum<{
|
|
4112
|
+
ok: "ok";
|
|
4113
|
+
signed_out: "signed_out";
|
|
4114
|
+
unavailable: "unavailable";
|
|
4115
|
+
}>;
|
|
4116
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
4117
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
4118
|
+
id: z.ZodString;
|
|
4119
|
+
name: z.ZodString;
|
|
4120
|
+
description: z.ZodString;
|
|
4121
|
+
category: z.ZodString;
|
|
4122
|
+
agent_type: z.ZodString;
|
|
4123
|
+
is_favorite: z.ZodBoolean;
|
|
4124
|
+
is_owner: z.ZodBoolean;
|
|
4125
|
+
shared_by: z.ZodNullable<z.ZodString>;
|
|
4126
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
4127
|
+
updated_at_ms: z.ZodInt;
|
|
4128
|
+
}, z.core.$strict>>;
|
|
4129
|
+
}, z.core.$strict>;
|
|
4130
|
+
readonly kind: "unary";
|
|
4131
|
+
readonly since: "1.23";
|
|
4132
|
+
readonly errors: readonly ["INTERNAL"];
|
|
4133
|
+
};
|
|
4134
|
+
readonly "account.vault.list": {
|
|
4135
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
4136
|
+
readonly result: z.ZodObject<{
|
|
4137
|
+
state: z.ZodEnum<{
|
|
4138
|
+
ok: "ok";
|
|
4139
|
+
signed_out: "signed_out";
|
|
4140
|
+
unavailable: "unavailable";
|
|
4141
|
+
}>;
|
|
4142
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
4143
|
+
items: z.ZodArray<z.ZodObject<{
|
|
4144
|
+
id: z.ZodString;
|
|
4145
|
+
name: z.ZodString;
|
|
4146
|
+
kind: z.ZodEnum<{
|
|
4147
|
+
login: "login";
|
|
4148
|
+
passkey: "passkey";
|
|
4149
|
+
key: "key";
|
|
4150
|
+
other: "other";
|
|
4151
|
+
}>;
|
|
4152
|
+
definition: z.ZodString;
|
|
4153
|
+
username: z.ZodNullable<z.ZodString>;
|
|
4154
|
+
urls: z.ZodArray<z.ZodString>;
|
|
4155
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
4156
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
4157
|
+
key: z.ZodString;
|
|
4158
|
+
handling: z.ZodEnum<{
|
|
4159
|
+
visible: "visible";
|
|
4160
|
+
revealable: "revealable";
|
|
4161
|
+
sealed: "sealed";
|
|
4162
|
+
}>;
|
|
4163
|
+
hint: z.ZodString;
|
|
4164
|
+
}, z.core.$strict>>;
|
|
4165
|
+
shared: z.ZodBoolean;
|
|
4166
|
+
status: z.ZodString;
|
|
4167
|
+
created_at_ms: z.ZodInt;
|
|
4168
|
+
updated_at_ms: z.ZodInt;
|
|
4169
|
+
}, z.core.$strict>>;
|
|
4170
|
+
}, z.core.$strict>;
|
|
4171
|
+
readonly kind: "unary";
|
|
4172
|
+
readonly since: "1.23";
|
|
4173
|
+
readonly errors: readonly ["INTERNAL"];
|
|
4174
|
+
};
|
|
4175
|
+
readonly "account.vault.copy": {
|
|
4176
|
+
readonly params: z.ZodObject<{
|
|
4177
|
+
item_id: z.ZodString;
|
|
4178
|
+
field_key: z.ZodString;
|
|
4179
|
+
}, z.core.$strict>;
|
|
4180
|
+
readonly result: z.ZodObject<{
|
|
4181
|
+
copied: z.ZodBoolean;
|
|
4182
|
+
clears_at_ms: z.ZodInt;
|
|
4183
|
+
}, z.core.$strict>;
|
|
4184
|
+
readonly kind: "unary";
|
|
4185
|
+
readonly since: "1.23";
|
|
4186
|
+
readonly errors: readonly ["AUTH_REQUIRED", "AUTH_FORBIDDEN", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
|
|
4187
|
+
};
|
|
3952
4188
|
};
|
|
3953
4189
|
type OpName = keyof typeof OPS;
|
|
3954
4190
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
|
@@ -4967,6 +5203,17 @@ declare const NAMED_SCHEMAS: {
|
|
|
4967
5203
|
settings_url: z.ZodNullable<z.ZodString>;
|
|
4968
5204
|
}, z.core.$strict>>;
|
|
4969
5205
|
}, z.core.$strict>;
|
|
5206
|
+
readonly SysinfoHardwareParams: z.ZodObject<{}, z.core.$strict>;
|
|
5207
|
+
readonly SysinfoHardwareResult: z.ZodObject<{
|
|
5208
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
5209
|
+
model_detail: z.ZodNullable<z.ZodString>;
|
|
5210
|
+
model_identifier: z.ZodNullable<z.ZodString>;
|
|
5211
|
+
chip: z.ZodNullable<z.ZodString>;
|
|
5212
|
+
serial_number: z.ZodNullable<z.ZodString>;
|
|
5213
|
+
os_name: z.ZodNullable<z.ZodString>;
|
|
5214
|
+
os_version: z.ZodNullable<z.ZodString>;
|
|
5215
|
+
os_build: z.ZodNullable<z.ZodString>;
|
|
5216
|
+
}, z.core.$strict>;
|
|
4970
5217
|
readonly FsKind: z.ZodEnum<{
|
|
4971
5218
|
file: "file";
|
|
4972
5219
|
dir: "dir";
|
|
@@ -6341,6 +6588,49 @@ declare const NAMED_SCHEMAS: {
|
|
|
6341
6588
|
path: z.ZodString;
|
|
6342
6589
|
revealed: z.ZodBoolean;
|
|
6343
6590
|
}, z.core.$strict>;
|
|
6591
|
+
readonly SystemSettingsPane: z.ZodEnum<{
|
|
6592
|
+
displays: "displays";
|
|
6593
|
+
night_shift: "night_shift";
|
|
6594
|
+
sound: "sound";
|
|
6595
|
+
keyboard: "keyboard";
|
|
6596
|
+
keyboard_shortcuts: "keyboard_shortcuts";
|
|
6597
|
+
text_input: "text_input";
|
|
6598
|
+
dictation: "dictation";
|
|
6599
|
+
energy: "energy";
|
|
6600
|
+
about: "about";
|
|
6601
|
+
storage: "storage";
|
|
6602
|
+
system_report: "system_report";
|
|
6603
|
+
}>;
|
|
6604
|
+
readonly SystemOpenSettingsParams: z.ZodObject<{
|
|
6605
|
+
pane: z.ZodEnum<{
|
|
6606
|
+
displays: "displays";
|
|
6607
|
+
night_shift: "night_shift";
|
|
6608
|
+
sound: "sound";
|
|
6609
|
+
keyboard: "keyboard";
|
|
6610
|
+
keyboard_shortcuts: "keyboard_shortcuts";
|
|
6611
|
+
text_input: "text_input";
|
|
6612
|
+
dictation: "dictation";
|
|
6613
|
+
energy: "energy";
|
|
6614
|
+
about: "about";
|
|
6615
|
+
storage: "storage";
|
|
6616
|
+
system_report: "system_report";
|
|
6617
|
+
}>;
|
|
6618
|
+
}, z.core.$strict>;
|
|
6619
|
+
readonly SystemOpenSettingsResult: z.ZodObject<{
|
|
6620
|
+
pane: z.ZodEnum<{
|
|
6621
|
+
displays: "displays";
|
|
6622
|
+
night_shift: "night_shift";
|
|
6623
|
+
sound: "sound";
|
|
6624
|
+
keyboard: "keyboard";
|
|
6625
|
+
keyboard_shortcuts: "keyboard_shortcuts";
|
|
6626
|
+
text_input: "text_input";
|
|
6627
|
+
dictation: "dictation";
|
|
6628
|
+
energy: "energy";
|
|
6629
|
+
about: "about";
|
|
6630
|
+
storage: "storage";
|
|
6631
|
+
system_report: "system_report";
|
|
6632
|
+
}>;
|
|
6633
|
+
}, z.core.$strict>;
|
|
6344
6634
|
readonly SystemNotifyParams: z.ZodObject<{
|
|
6345
6635
|
title: z.ZodString;
|
|
6346
6636
|
body: z.ZodDefault<z.ZodString>;
|
|
@@ -6357,6 +6647,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
6357
6647
|
height: z.ZodInt;
|
|
6358
6648
|
scale: z.ZodNumber;
|
|
6359
6649
|
primary: z.ZodBoolean;
|
|
6650
|
+
rotation: z.ZodOptional<z.ZodInt>;
|
|
6651
|
+
refresh_hz: z.ZodOptional<z.ZodNumber>;
|
|
6652
|
+
builtin: z.ZodOptional<z.ZodBoolean>;
|
|
6360
6653
|
}, z.core.$strict>;
|
|
6361
6654
|
readonly ScreenListParams: z.ZodObject<{}, z.core.$strict>;
|
|
6362
6655
|
readonly ScreenListResult: z.ZodObject<{
|
|
@@ -6369,6 +6662,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
6369
6662
|
height: z.ZodInt;
|
|
6370
6663
|
scale: z.ZodNumber;
|
|
6371
6664
|
primary: z.ZodBoolean;
|
|
6665
|
+
rotation: z.ZodOptional<z.ZodInt>;
|
|
6666
|
+
refresh_hz: z.ZodOptional<z.ZodNumber>;
|
|
6667
|
+
builtin: z.ZodOptional<z.ZodBoolean>;
|
|
6372
6668
|
}, z.core.$strict>>;
|
|
6373
6669
|
}, z.core.$strict>;
|
|
6374
6670
|
readonly ScreenCaptureParams: z.ZodObject<{
|
|
@@ -6539,6 +6835,27 @@ declare const NAMED_SCHEMAS: {
|
|
|
6539
6835
|
backslash: "backslash";
|
|
6540
6836
|
grave: "grave";
|
|
6541
6837
|
}>;
|
|
6838
|
+
readonly InputKeyboardSettingsParams: z.ZodObject<{}, z.core.$strict>;
|
|
6839
|
+
readonly InputKeyboardSettingsResult: z.ZodObject<{
|
|
6840
|
+
repeat_off: z.ZodNullable<z.ZodBoolean>;
|
|
6841
|
+
repeat_interval_ms: z.ZodNullable<z.ZodInt>;
|
|
6842
|
+
repeat_delay_ms: z.ZodNullable<z.ZodInt>;
|
|
6843
|
+
fn_key: z.ZodNullable<z.ZodEnum<{
|
|
6844
|
+
dictation: "dictation";
|
|
6845
|
+
nothing: "nothing";
|
|
6846
|
+
input_source: "input_source";
|
|
6847
|
+
emoji: "emoji";
|
|
6848
|
+
}>>;
|
|
6849
|
+
keyboard_navigation: z.ZodNullable<z.ZodBoolean>;
|
|
6850
|
+
input_sources: z.ZodArray<z.ZodString>;
|
|
6851
|
+
applies_after_login: z.ZodBoolean;
|
|
6852
|
+
}, z.core.$strict>;
|
|
6853
|
+
readonly InputSetKeyboardSettingsParams: z.ZodObject<{
|
|
6854
|
+
repeat_off: z.ZodOptional<z.ZodBoolean>;
|
|
6855
|
+
repeat_interval_ms: z.ZodOptional<z.ZodInt>;
|
|
6856
|
+
repeat_delay_ms: z.ZodOptional<z.ZodInt>;
|
|
6857
|
+
keyboard_navigation: z.ZodOptional<z.ZodBoolean>;
|
|
6858
|
+
}, z.core.$strict>;
|
|
6542
6859
|
readonly InputPoint: z.ZodObject<{
|
|
6543
6860
|
x: z.ZodInt;
|
|
6544
6861
|
y: z.ZodInt;
|
|
@@ -6753,6 +7070,14 @@ declare const NAMED_SCHEMAS: {
|
|
|
6753
7070
|
plugged_in: z.ZodNullable<z.ZodBoolean>;
|
|
6754
7071
|
minutes_left: z.ZodNullable<z.ZodInt>;
|
|
6755
7072
|
awake_until_ms: z.ZodNullable<z.ZodInt>;
|
|
7073
|
+
energy: z.ZodOptional<z.ZodObject<{
|
|
7074
|
+
display_sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
7075
|
+
sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
7076
|
+
disk_sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
7077
|
+
wake_for_network: z.ZodNullable<z.ZodBoolean>;
|
|
7078
|
+
restart_after_power_failure: z.ZodNullable<z.ZodBoolean>;
|
|
7079
|
+
low_power_mode: z.ZodNullable<z.ZodBoolean>;
|
|
7080
|
+
}, z.core.$strict>>;
|
|
6756
7081
|
}, z.core.$strict>;
|
|
6757
7082
|
readonly PowerPreventSleepParams: z.ZodObject<{
|
|
6758
7083
|
seconds: z.ZodInt;
|
|
@@ -6761,6 +7086,27 @@ declare const NAMED_SCHEMAS: {
|
|
|
6761
7086
|
readonly PowerPreventSleepResult: z.ZodObject<{
|
|
6762
7087
|
awake_until_ms: z.ZodNullable<z.ZodInt>;
|
|
6763
7088
|
}, z.core.$strict>;
|
|
7089
|
+
readonly PowerEnergy: z.ZodObject<{
|
|
7090
|
+
display_sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
7091
|
+
sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
7092
|
+
disk_sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
7093
|
+
wake_for_network: z.ZodNullable<z.ZodBoolean>;
|
|
7094
|
+
restart_after_power_failure: z.ZodNullable<z.ZodBoolean>;
|
|
7095
|
+
low_power_mode: z.ZodNullable<z.ZodBoolean>;
|
|
7096
|
+
}, z.core.$strict>;
|
|
7097
|
+
readonly PowerHistoryParams: z.ZodObject<{}, z.core.$strict>;
|
|
7098
|
+
readonly PowerHistoryPoint: z.ZodObject<{
|
|
7099
|
+
at_ms: z.ZodInt;
|
|
7100
|
+
percent: z.ZodNumber;
|
|
7101
|
+
plugged_in: z.ZodBoolean;
|
|
7102
|
+
}, z.core.$strict>;
|
|
7103
|
+
readonly PowerHistoryResult: z.ZodObject<{
|
|
7104
|
+
points: z.ZodArray<z.ZodObject<{
|
|
7105
|
+
at_ms: z.ZodInt;
|
|
7106
|
+
percent: z.ZodNumber;
|
|
7107
|
+
plugged_in: z.ZodBoolean;
|
|
7108
|
+
}, z.core.$strict>>;
|
|
7109
|
+
}, z.core.$strict>;
|
|
6764
7110
|
readonly ResourcesDisk: z.ZodObject<{
|
|
6765
7111
|
mount: z.ZodString;
|
|
6766
7112
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -7022,6 +7368,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
7022
7368
|
id: z.ZodString;
|
|
7023
7369
|
name: z.ZodString;
|
|
7024
7370
|
default: z.ZodBoolean;
|
|
7371
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
7025
7372
|
}, z.core.$strict>;
|
|
7026
7373
|
readonly AudioDevicesParams: z.ZodObject<{}, z.core.$strict>;
|
|
7027
7374
|
readonly AudioDevicesResult: z.ZodObject<{
|
|
@@ -7029,11 +7376,13 @@ declare const NAMED_SCHEMAS: {
|
|
|
7029
7376
|
id: z.ZodString;
|
|
7030
7377
|
name: z.ZodString;
|
|
7031
7378
|
default: z.ZodBoolean;
|
|
7379
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
7032
7380
|
}, z.core.$strict>>;
|
|
7033
7381
|
outputs: z.ZodArray<z.ZodObject<{
|
|
7034
7382
|
id: z.ZodString;
|
|
7035
7383
|
name: z.ZodString;
|
|
7036
7384
|
default: z.ZodBoolean;
|
|
7385
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
7037
7386
|
}, z.core.$strict>>;
|
|
7038
7387
|
}, z.core.$strict>;
|
|
7039
7388
|
readonly AudioRecordParams: z.ZodObject<{
|
|
@@ -7054,6 +7403,19 @@ declare const NAMED_SCHEMAS: {
|
|
|
7054
7403
|
path: z.ZodString;
|
|
7055
7404
|
seconds: z.ZodNumber;
|
|
7056
7405
|
}, z.core.$strict>;
|
|
7406
|
+
readonly AudioLevelsParams: z.ZodObject<{}, z.core.$strict>;
|
|
7407
|
+
readonly AudioLevelsResult: z.ZodObject<{
|
|
7408
|
+
output_volume: z.ZodNullable<z.ZodNumber>;
|
|
7409
|
+
output_muted: z.ZodNullable<z.ZodBoolean>;
|
|
7410
|
+
input_volume: z.ZodNullable<z.ZodNumber>;
|
|
7411
|
+
alert_volume: z.ZodNullable<z.ZodNumber>;
|
|
7412
|
+
}, z.core.$strict>;
|
|
7413
|
+
readonly AudioSetLevelsParams: z.ZodObject<{
|
|
7414
|
+
output_volume: z.ZodOptional<z.ZodNumber>;
|
|
7415
|
+
output_muted: z.ZodOptional<z.ZodBoolean>;
|
|
7416
|
+
input_volume: z.ZodOptional<z.ZodNumber>;
|
|
7417
|
+
alert_volume: z.ZodOptional<z.ZodNumber>;
|
|
7418
|
+
}, z.core.$strict>;
|
|
7057
7419
|
readonly StackServerName: z.ZodString;
|
|
7058
7420
|
readonly StackTone: z.ZodEnum<{
|
|
7059
7421
|
good: "good";
|
|
@@ -8723,6 +9085,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
8723
9085
|
latest: z.ZodArray<z.ZodInt>;
|
|
8724
9086
|
alarm: z.ZodNullable<z.ZodString>;
|
|
8725
9087
|
}, z.core.$strict>;
|
|
9088
|
+
readonly SpendDay: z.ZodObject<{
|
|
9089
|
+
date: z.ZodString;
|
|
9090
|
+
main: z.ZodNumber;
|
|
9091
|
+
helpers: z.ZodNumber;
|
|
9092
|
+
}, z.core.$strict>;
|
|
8726
9093
|
readonly AppsSpendParams: z.ZodObject<{
|
|
8727
9094
|
app_key: z.ZodString;
|
|
8728
9095
|
}, z.core.$strict>;
|
|
@@ -8782,6 +9149,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
8782
9149
|
}, z.core.$strict>;
|
|
8783
9150
|
}, z.core.$strict>;
|
|
8784
9151
|
}, z.core.$strict>>;
|
|
9152
|
+
days: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9153
|
+
date: z.ZodString;
|
|
9154
|
+
main: z.ZodNumber;
|
|
9155
|
+
helpers: z.ZodNumber;
|
|
9156
|
+
}, z.core.$strict>>>;
|
|
8785
9157
|
chats: z.ZodArray<z.ZodObject<{
|
|
8786
9158
|
id: z.ZodString;
|
|
8787
9159
|
title: z.ZodString;
|
|
@@ -9103,6 +9475,131 @@ declare const NAMED_SCHEMAS: {
|
|
|
9103
9475
|
done: z.ZodInt;
|
|
9104
9476
|
total: z.ZodInt;
|
|
9105
9477
|
}, z.core.$strict>;
|
|
9478
|
+
readonly AccountRowId: z.ZodString;
|
|
9479
|
+
readonly AccountReadState: z.ZodEnum<{
|
|
9480
|
+
ok: "ok";
|
|
9481
|
+
signed_out: "signed_out";
|
|
9482
|
+
unavailable: "unavailable";
|
|
9483
|
+
}>;
|
|
9484
|
+
readonly AccountAgent: z.ZodObject<{
|
|
9485
|
+
id: z.ZodString;
|
|
9486
|
+
name: z.ZodString;
|
|
9487
|
+
description: z.ZodString;
|
|
9488
|
+
category: z.ZodString;
|
|
9489
|
+
agent_type: z.ZodString;
|
|
9490
|
+
is_favorite: z.ZodBoolean;
|
|
9491
|
+
is_owner: z.ZodBoolean;
|
|
9492
|
+
shared_by: z.ZodNullable<z.ZodString>;
|
|
9493
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
9494
|
+
updated_at_ms: z.ZodInt;
|
|
9495
|
+
}, z.core.$strict>;
|
|
9496
|
+
readonly AccountAgentsListParams: z.ZodObject<{}, z.core.$strict>;
|
|
9497
|
+
readonly AccountAgentsListResult: z.ZodObject<{
|
|
9498
|
+
state: z.ZodEnum<{
|
|
9499
|
+
ok: "ok";
|
|
9500
|
+
signed_out: "signed_out";
|
|
9501
|
+
unavailable: "unavailable";
|
|
9502
|
+
}>;
|
|
9503
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
9504
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
9505
|
+
id: z.ZodString;
|
|
9506
|
+
name: z.ZodString;
|
|
9507
|
+
description: z.ZodString;
|
|
9508
|
+
category: z.ZodString;
|
|
9509
|
+
agent_type: z.ZodString;
|
|
9510
|
+
is_favorite: z.ZodBoolean;
|
|
9511
|
+
is_owner: z.ZodBoolean;
|
|
9512
|
+
shared_by: z.ZodNullable<z.ZodString>;
|
|
9513
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
9514
|
+
updated_at_ms: z.ZodInt;
|
|
9515
|
+
}, z.core.$strict>>;
|
|
9516
|
+
}, z.core.$strict>;
|
|
9517
|
+
readonly VaultItemKind: z.ZodEnum<{
|
|
9518
|
+
login: "login";
|
|
9519
|
+
passkey: "passkey";
|
|
9520
|
+
key: "key";
|
|
9521
|
+
other: "other";
|
|
9522
|
+
}>;
|
|
9523
|
+
readonly VaultFieldSummary: z.ZodObject<{
|
|
9524
|
+
key: z.ZodString;
|
|
9525
|
+
handling: z.ZodEnum<{
|
|
9526
|
+
visible: "visible";
|
|
9527
|
+
revealable: "revealable";
|
|
9528
|
+
sealed: "sealed";
|
|
9529
|
+
}>;
|
|
9530
|
+
hint: z.ZodString;
|
|
9531
|
+
}, z.core.$strict>;
|
|
9532
|
+
readonly VaultItemSummary: z.ZodObject<{
|
|
9533
|
+
id: z.ZodString;
|
|
9534
|
+
name: z.ZodString;
|
|
9535
|
+
kind: z.ZodEnum<{
|
|
9536
|
+
login: "login";
|
|
9537
|
+
passkey: "passkey";
|
|
9538
|
+
key: "key";
|
|
9539
|
+
other: "other";
|
|
9540
|
+
}>;
|
|
9541
|
+
definition: z.ZodString;
|
|
9542
|
+
username: z.ZodNullable<z.ZodString>;
|
|
9543
|
+
urls: z.ZodArray<z.ZodString>;
|
|
9544
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
9545
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
9546
|
+
key: z.ZodString;
|
|
9547
|
+
handling: z.ZodEnum<{
|
|
9548
|
+
visible: "visible";
|
|
9549
|
+
revealable: "revealable";
|
|
9550
|
+
sealed: "sealed";
|
|
9551
|
+
}>;
|
|
9552
|
+
hint: z.ZodString;
|
|
9553
|
+
}, z.core.$strict>>;
|
|
9554
|
+
shared: z.ZodBoolean;
|
|
9555
|
+
status: z.ZodString;
|
|
9556
|
+
created_at_ms: z.ZodInt;
|
|
9557
|
+
updated_at_ms: z.ZodInt;
|
|
9558
|
+
}, z.core.$strict>;
|
|
9559
|
+
readonly AccountVaultListParams: z.ZodObject<{}, z.core.$strict>;
|
|
9560
|
+
readonly AccountVaultListResult: z.ZodObject<{
|
|
9561
|
+
state: z.ZodEnum<{
|
|
9562
|
+
ok: "ok";
|
|
9563
|
+
signed_out: "signed_out";
|
|
9564
|
+
unavailable: "unavailable";
|
|
9565
|
+
}>;
|
|
9566
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
9567
|
+
items: z.ZodArray<z.ZodObject<{
|
|
9568
|
+
id: z.ZodString;
|
|
9569
|
+
name: z.ZodString;
|
|
9570
|
+
kind: z.ZodEnum<{
|
|
9571
|
+
login: "login";
|
|
9572
|
+
passkey: "passkey";
|
|
9573
|
+
key: "key";
|
|
9574
|
+
other: "other";
|
|
9575
|
+
}>;
|
|
9576
|
+
definition: z.ZodString;
|
|
9577
|
+
username: z.ZodNullable<z.ZodString>;
|
|
9578
|
+
urls: z.ZodArray<z.ZodString>;
|
|
9579
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
9580
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
9581
|
+
key: z.ZodString;
|
|
9582
|
+
handling: z.ZodEnum<{
|
|
9583
|
+
visible: "visible";
|
|
9584
|
+
revealable: "revealable";
|
|
9585
|
+
sealed: "sealed";
|
|
9586
|
+
}>;
|
|
9587
|
+
hint: z.ZodString;
|
|
9588
|
+
}, z.core.$strict>>;
|
|
9589
|
+
shared: z.ZodBoolean;
|
|
9590
|
+
status: z.ZodString;
|
|
9591
|
+
created_at_ms: z.ZodInt;
|
|
9592
|
+
updated_at_ms: z.ZodInt;
|
|
9593
|
+
}, z.core.$strict>>;
|
|
9594
|
+
}, z.core.$strict>;
|
|
9595
|
+
readonly AccountVaultCopyParams: z.ZodObject<{
|
|
9596
|
+
item_id: z.ZodString;
|
|
9597
|
+
field_key: z.ZodString;
|
|
9598
|
+
}, z.core.$strict>;
|
|
9599
|
+
readonly AccountVaultCopyResult: z.ZodObject<{
|
|
9600
|
+
copied: z.ZodBoolean;
|
|
9601
|
+
clears_at_ms: z.ZodInt;
|
|
9602
|
+
}, z.core.$strict>;
|
|
9106
9603
|
};
|
|
9107
9604
|
type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
|
|
9108
9605
|
|