@ai-matrx/desktop-protocol 0.21.16 → 0.21.18

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/dist/react.d.ts CHANGED
@@ -221,6 +221,22 @@ declare const OPS: {
221
221
  readonly since: "1.0";
222
222
  readonly errors: readonly ["INTERNAL"];
223
223
  };
224
+ readonly "sysinfo.hardware": {
225
+ readonly params: z.ZodObject<{}, z.core.$strict>;
226
+ readonly result: z.ZodObject<{
227
+ model_name: z.ZodNullable<z.ZodString>;
228
+ model_detail: z.ZodNullable<z.ZodString>;
229
+ model_identifier: z.ZodNullable<z.ZodString>;
230
+ chip: z.ZodNullable<z.ZodString>;
231
+ serial_number: z.ZodNullable<z.ZodString>;
232
+ os_name: z.ZodNullable<z.ZodString>;
233
+ os_version: z.ZodNullable<z.ZodString>;
234
+ os_build: z.ZodNullable<z.ZodString>;
235
+ }, z.core.$strict>;
236
+ readonly kind: "unary";
237
+ readonly since: "1.24";
238
+ readonly errors: readonly ["INTERNAL"];
239
+ };
224
240
  readonly "fs.list": {
225
241
  readonly params: z.ZodObject<{
226
242
  path: z.ZodString;
@@ -1939,6 +1955,11 @@ declare const OPS: {
1939
1955
  }, z.core.$strict>;
1940
1956
  }, z.core.$strict>;
1941
1957
  }, z.core.$strict>>;
1958
+ days: z.ZodOptional<z.ZodArray<z.ZodObject<{
1959
+ date: z.ZodString;
1960
+ main: z.ZodNumber;
1961
+ helpers: z.ZodNumber;
1962
+ }, z.core.$strict>>>;
1942
1963
  chats: z.ZodArray<z.ZodObject<{
1943
1964
  id: z.ZodString;
1944
1965
  title: z.ZodString;
@@ -2265,6 +2286,41 @@ declare const OPS: {
2265
2286
  readonly since: "1.4";
2266
2287
  readonly errors: readonly ["INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2267
2288
  };
2289
+ readonly "system.open_settings": {
2290
+ readonly params: z.ZodObject<{
2291
+ pane: z.ZodEnum<{
2292
+ displays: "displays";
2293
+ night_shift: "night_shift";
2294
+ sound: "sound";
2295
+ keyboard: "keyboard";
2296
+ keyboard_shortcuts: "keyboard_shortcuts";
2297
+ text_input: "text_input";
2298
+ dictation: "dictation";
2299
+ energy: "energy";
2300
+ about: "about";
2301
+ storage: "storage";
2302
+ system_report: "system_report";
2303
+ }>;
2304
+ }, z.core.$strict>;
2305
+ readonly result: z.ZodObject<{
2306
+ pane: z.ZodEnum<{
2307
+ displays: "displays";
2308
+ night_shift: "night_shift";
2309
+ sound: "sound";
2310
+ keyboard: "keyboard";
2311
+ keyboard_shortcuts: "keyboard_shortcuts";
2312
+ text_input: "text_input";
2313
+ dictation: "dictation";
2314
+ energy: "energy";
2315
+ about: "about";
2316
+ storage: "storage";
2317
+ system_report: "system_report";
2318
+ }>;
2319
+ }, z.core.$strict>;
2320
+ readonly kind: "unary";
2321
+ readonly since: "1.24";
2322
+ readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
2323
+ };
2268
2324
  readonly "system.open_path": {
2269
2325
  readonly params: z.ZodObject<{
2270
2326
  path: z.ZodString;
@@ -2302,6 +2358,9 @@ declare const OPS: {
2302
2358
  height: z.ZodInt;
2303
2359
  scale: z.ZodNumber;
2304
2360
  primary: z.ZodBoolean;
2361
+ rotation: z.ZodOptional<z.ZodInt>;
2362
+ refresh_hz: z.ZodOptional<z.ZodNumber>;
2363
+ builtin: z.ZodOptional<z.ZodBoolean>;
2305
2364
  }, z.core.$strict>>;
2306
2365
  }, z.core.$strict>;
2307
2366
  readonly kind: "unary";
@@ -2422,6 +2481,51 @@ declare const OPS: {
2422
2481
  readonly since: "1.4";
2423
2482
  readonly errors: readonly ["PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2424
2483
  };
2484
+ readonly "input.keyboard_settings": {
2485
+ readonly params: z.ZodObject<{}, z.core.$strict>;
2486
+ readonly result: z.ZodObject<{
2487
+ repeat_off: z.ZodNullable<z.ZodBoolean>;
2488
+ repeat_interval_ms: z.ZodNullable<z.ZodInt>;
2489
+ repeat_delay_ms: z.ZodNullable<z.ZodInt>;
2490
+ fn_key: z.ZodNullable<z.ZodEnum<{
2491
+ dictation: "dictation";
2492
+ nothing: "nothing";
2493
+ input_source: "input_source";
2494
+ emoji: "emoji";
2495
+ }>>;
2496
+ keyboard_navigation: z.ZodNullable<z.ZodBoolean>;
2497
+ input_sources: z.ZodArray<z.ZodString>;
2498
+ applies_after_login: z.ZodBoolean;
2499
+ }, z.core.$strict>;
2500
+ readonly kind: "unary";
2501
+ readonly since: "1.24";
2502
+ readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
2503
+ };
2504
+ readonly "input.set_keyboard_settings": {
2505
+ readonly params: z.ZodObject<{
2506
+ repeat_off: z.ZodOptional<z.ZodBoolean>;
2507
+ repeat_interval_ms: z.ZodOptional<z.ZodInt>;
2508
+ repeat_delay_ms: z.ZodOptional<z.ZodInt>;
2509
+ keyboard_navigation: z.ZodOptional<z.ZodBoolean>;
2510
+ }, z.core.$strict>;
2511
+ readonly result: z.ZodObject<{
2512
+ repeat_off: z.ZodNullable<z.ZodBoolean>;
2513
+ repeat_interval_ms: z.ZodNullable<z.ZodInt>;
2514
+ repeat_delay_ms: z.ZodNullable<z.ZodInt>;
2515
+ fn_key: z.ZodNullable<z.ZodEnum<{
2516
+ dictation: "dictation";
2517
+ nothing: "nothing";
2518
+ input_source: "input_source";
2519
+ emoji: "emoji";
2520
+ }>>;
2521
+ keyboard_navigation: z.ZodNullable<z.ZodBoolean>;
2522
+ input_sources: z.ZodArray<z.ZodString>;
2523
+ applies_after_login: z.ZodBoolean;
2524
+ }, z.core.$strict>;
2525
+ readonly kind: "unary";
2526
+ readonly since: "1.24";
2527
+ readonly errors: readonly ["INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2528
+ };
2425
2529
  readonly "input.hotkey": {
2426
2530
  readonly params: z.ZodObject<{
2427
2531
  keys: z.ZodArray<z.ZodEnum<{
@@ -2642,11 +2746,32 @@ declare const OPS: {
2642
2746
  plugged_in: z.ZodNullable<z.ZodBoolean>;
2643
2747
  minutes_left: z.ZodNullable<z.ZodInt>;
2644
2748
  awake_until_ms: z.ZodNullable<z.ZodInt>;
2749
+ energy: z.ZodOptional<z.ZodObject<{
2750
+ display_sleep_minutes: z.ZodNullable<z.ZodInt>;
2751
+ sleep_minutes: z.ZodNullable<z.ZodInt>;
2752
+ disk_sleep_minutes: z.ZodNullable<z.ZodInt>;
2753
+ wake_for_network: z.ZodNullable<z.ZodBoolean>;
2754
+ restart_after_power_failure: z.ZodNullable<z.ZodBoolean>;
2755
+ low_power_mode: z.ZodNullable<z.ZodBoolean>;
2756
+ }, z.core.$strict>>;
2645
2757
  }, z.core.$strict>;
2646
2758
  readonly kind: "unary";
2647
2759
  readonly since: "1.4";
2648
2760
  readonly errors: readonly ["INTERNAL"];
2649
2761
  };
2762
+ readonly "power.history": {
2763
+ readonly params: z.ZodObject<{}, z.core.$strict>;
2764
+ readonly result: z.ZodObject<{
2765
+ points: z.ZodArray<z.ZodObject<{
2766
+ at_ms: z.ZodInt;
2767
+ percent: z.ZodNumber;
2768
+ plugged_in: z.ZodBoolean;
2769
+ }, z.core.$strict>>;
2770
+ }, z.core.$strict>;
2771
+ readonly kind: "unary";
2772
+ readonly since: "1.24";
2773
+ readonly errors: readonly ["INTERNAL"];
2774
+ };
2650
2775
  readonly "power.prevent_sleep": {
2651
2776
  readonly params: z.ZodObject<{
2652
2777
  seconds: z.ZodInt;
@@ -2832,17 +2957,48 @@ declare const OPS: {
2832
2957
  id: z.ZodString;
2833
2958
  name: z.ZodString;
2834
2959
  default: z.ZodBoolean;
2960
+ kind: z.ZodOptional<z.ZodString>;
2835
2961
  }, z.core.$strict>>;
2836
2962
  outputs: z.ZodArray<z.ZodObject<{
2837
2963
  id: z.ZodString;
2838
2964
  name: z.ZodString;
2839
2965
  default: z.ZodBoolean;
2966
+ kind: z.ZodOptional<z.ZodString>;
2840
2967
  }, z.core.$strict>>;
2841
2968
  }, z.core.$strict>;
2842
2969
  readonly kind: "unary";
2843
2970
  readonly since: "1.6";
2844
2971
  readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
2845
2972
  };
2973
+ readonly "audio.levels": {
2974
+ readonly params: z.ZodObject<{}, z.core.$strict>;
2975
+ readonly result: z.ZodObject<{
2976
+ output_volume: z.ZodNullable<z.ZodNumber>;
2977
+ output_muted: z.ZodNullable<z.ZodBoolean>;
2978
+ input_volume: z.ZodNullable<z.ZodNumber>;
2979
+ alert_volume: z.ZodNullable<z.ZodNumber>;
2980
+ }, z.core.$strict>;
2981
+ readonly kind: "unary";
2982
+ readonly since: "1.24";
2983
+ readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
2984
+ };
2985
+ readonly "audio.set_levels": {
2986
+ readonly params: z.ZodObject<{
2987
+ output_volume: z.ZodOptional<z.ZodNumber>;
2988
+ output_muted: z.ZodOptional<z.ZodBoolean>;
2989
+ input_volume: z.ZodOptional<z.ZodNumber>;
2990
+ alert_volume: z.ZodOptional<z.ZodNumber>;
2991
+ }, z.core.$strict>;
2992
+ readonly result: z.ZodObject<{
2993
+ output_volume: z.ZodNullable<z.ZodNumber>;
2994
+ output_muted: z.ZodNullable<z.ZodBoolean>;
2995
+ input_volume: z.ZodNullable<z.ZodNumber>;
2996
+ alert_volume: z.ZodNullable<z.ZodNumber>;
2997
+ }, z.core.$strict>;
2998
+ readonly kind: "unary";
2999
+ readonly since: "1.24";
3000
+ readonly errors: readonly ["INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
3001
+ };
2846
3002
  readonly "audio.record": {
2847
3003
  readonly params: z.ZodObject<{
2848
3004
  seconds: z.ZodNumber;