@ai-matrx/desktop-protocol 0.18.0 → 0.20.0

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
@@ -1774,6 +1774,54 @@ declare const OPS: {
1774
1774
  readonly since: "1.10";
1775
1775
  readonly errors: readonly ["CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1776
1776
  };
1777
+ readonly "apps.projects.to_window": {
1778
+ readonly params: z.ZodObject<{
1779
+ app_key: z.ZodString;
1780
+ project_id: z.ZodString;
1781
+ window: z.ZodString;
1782
+ take_off: z.ZodDefault<z.ZodBoolean>;
1783
+ group: z.ZodDefault<z.ZodBoolean>;
1784
+ dry_run: z.ZodDefault<z.ZodBoolean>;
1785
+ }, z.core.$strict>;
1786
+ readonly result: z.ZodObject<{
1787
+ project_id: z.ZodString;
1788
+ window: z.ZodString;
1789
+ dry_run: z.ZodBoolean;
1790
+ place: z.ZodArray<z.ZodObject<{
1791
+ chat_id: z.ZodString;
1792
+ title: z.ZodString;
1793
+ }, z.core.$strict>>;
1794
+ already: z.ZodArray<z.ZodObject<{
1795
+ chat_id: z.ZodString;
1796
+ title: z.ZodString;
1797
+ }, z.core.$strict>>;
1798
+ take_off: z.ZodArray<z.ZodObject<{
1799
+ chat_id: z.ZodString;
1800
+ title: z.ZodString;
1801
+ window: z.ZodString;
1802
+ }, z.core.$strict>>;
1803
+ skipped: z.ZodArray<z.ZodObject<{
1804
+ chat_id: z.ZodString;
1805
+ title: z.ZodString;
1806
+ window: z.ZodNullable<z.ZodString>;
1807
+ reason: z.ZodString;
1808
+ }, z.core.$strict>>;
1809
+ other_apps: z.ZodInt;
1810
+ group: z.ZodNullable<z.ZodObject<{
1811
+ ok: z.ZodBoolean;
1812
+ name: z.ZodString;
1813
+ reason: z.ZodOptional<z.ZodString>;
1814
+ assign: z.ZodOptional<z.ZodInt>;
1815
+ already: z.ZodOptional<z.ZodInt>;
1816
+ from_other_groups: z.ZodOptional<z.ZodInt>;
1817
+ group_exists: z.ZodOptional<z.ZodBoolean>;
1818
+ }, z.core.$strict>>;
1819
+ message: z.ZodString;
1820
+ }, z.core.$strict>;
1821
+ readonly kind: "unary";
1822
+ readonly since: "1.19";
1823
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1824
+ };
1777
1825
  readonly "apps.chats.cold": {
1778
1826
  readonly params: z.ZodObject<{
1779
1827
  app_key: z.ZodString;
@@ -2848,6 +2896,8 @@ declare const OPS: {
2848
2896
  restarts: z.ZodInt;
2849
2897
  exit_code: z.ZodNullable<z.ZodInt>;
2850
2898
  pid: z.ZodNullable<z.ZodInt>;
2899
+ cpu_percent: z.ZodOptional<z.ZodNumber>;
2900
+ memory_bytes: z.ZodOptional<z.ZodInt>;
2851
2901
  }, z.core.$strict>>;
2852
2902
  setup_note: z.ZodNullable<z.ZodString>;
2853
2903
  pending: z.ZodNullable<z.ZodObject<{
@@ -2938,6 +2988,94 @@ declare const OPS: {
2938
2988
  readonly since: "1.16";
2939
2989
  readonly errors: readonly ["INTERNAL"];
2940
2990
  };
2991
+ readonly "diag.errors.list": {
2992
+ readonly params: z.ZodObject<{
2993
+ status: z.ZodDefault<z.ZodEnum<{
2994
+ open: "open";
2995
+ all: "all";
2996
+ }>>;
2997
+ limit: z.ZodDefault<z.ZodInt>;
2998
+ }, z.core.$strict>;
2999
+ readonly result: z.ZodObject<{
3000
+ entries: z.ZodArray<z.ZodObject<{
3001
+ signature: z.ZodString;
3002
+ process: z.ZodEnum<{
3003
+ main: "main";
3004
+ renderer: "renderer";
3005
+ hosted_page: "hosted_page";
3006
+ core: "core";
3007
+ pty_host: "pty_host";
3008
+ python_ml: "python_ml";
3009
+ python_coding: "python_coding";
3010
+ python_tools: "python_tools";
3011
+ relay: "relay";
3012
+ coding_sessions: "coding_sessions";
3013
+ claude_accounts: "claude_accounts";
3014
+ }>;
3015
+ kind: z.ZodEnum<{
3016
+ uncaught_exception: "uncaught_exception";
3017
+ unhandled_rejection: "unhandled_rejection";
3018
+ renderer_crash: "renderer_crash";
3019
+ native_crash: "native_crash";
3020
+ console_error: "console_error";
3021
+ load_failed: "load_failed";
3022
+ op_failed: "op_failed";
3023
+ child_exit: "child_exit";
3024
+ banner: "banner";
3025
+ logged_error: "logged_error";
3026
+ }>;
3027
+ source: z.ZodString;
3028
+ code: z.ZodNullable<z.ZodString>;
3029
+ message: z.ZodString;
3030
+ count: z.ZodInt;
3031
+ first_seen_ms: z.ZodInt;
3032
+ last_seen_ms: z.ZodInt;
3033
+ status: z.ZodEnum<{
3034
+ waiting: "waiting";
3035
+ sent: "sent";
3036
+ resolved: "resolved";
3037
+ }>;
3038
+ resolution_note: z.ZodNullable<z.ZodString>;
3039
+ app_version: z.ZodString;
3040
+ }, z.core.$strict>>;
3041
+ total_signatures: z.ZodInt;
3042
+ total_occurrences: z.ZodInt;
3043
+ waiting: z.ZodInt;
3044
+ delivery: z.ZodEnum<{
3045
+ ok: "ok";
3046
+ signed_out: "signed_out";
3047
+ failing: "failing";
3048
+ }>;
3049
+ last_delivery_ms: z.ZodNullable<z.ZodInt>;
3050
+ }, z.core.$strict>;
3051
+ readonly kind: "unary";
3052
+ readonly since: "1.20";
3053
+ readonly errors: readonly ["INTERNAL"];
3054
+ };
3055
+ readonly "diag.errors.report": {
3056
+ readonly params: z.ZodObject<{
3057
+ process: z.ZodEnum<{
3058
+ renderer: "renderer";
3059
+ hosted_page: "hosted_page";
3060
+ }>;
3061
+ kind: z.ZodEnum<{
3062
+ uncaught_exception: "uncaught_exception";
3063
+ unhandled_rejection: "unhandled_rejection";
3064
+ console_error: "console_error";
3065
+ banner: "banner";
3066
+ }>;
3067
+ source: z.ZodString;
3068
+ message: z.ZodString;
3069
+ code: z.ZodOptional<z.ZodString>;
3070
+ stack: z.ZodOptional<z.ZodString>;
3071
+ }, z.core.$strict>;
3072
+ readonly result: z.ZodObject<{
3073
+ signature: z.ZodString;
3074
+ }, z.core.$strict>;
3075
+ readonly kind: "unary";
3076
+ readonly since: "1.20";
3077
+ readonly errors: readonly ["INTERNAL"];
3078
+ };
2941
3079
  readonly "coding.history.import_missing": {
2942
3080
  readonly params: z.ZodObject<{}, z.core.$strict>;
2943
3081
  readonly result: z.ZodObject<{
@@ -3084,6 +3222,10 @@ declare const EVENTS: {
3084
3222
  readonly "relay.auth_expiring": z.ZodObject<{
3085
3223
  expires_at_ms: z.ZodInt;
3086
3224
  }, z.core.$strict>;
3225
+ readonly "diag.errors.changed": z.ZodObject<{
3226
+ total_signatures: z.ZodInt;
3227
+ waiting: z.ZodInt;
3228
+ }, z.core.$strict>;
3087
3229
  };
3088
3230
 
3089
3231
  type DesktopClientStatus =