@ai-matrx/desktop-protocol 0.17.5 → 0.17.6

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.
@@ -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";
690
+ readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10";
691
691
  readonly errors: readonly z.infer<typeof ErrorCode>[];
692
692
  };
693
693
  declare const OPS: {
@@ -1635,6 +1635,11 @@ declare const OPS: {
1635
1635
  new_window_ms: z.ZodInt;
1636
1636
  updating: z.ZodOptional<z.ZodBoolean>;
1637
1637
  live: z.ZodOptional<z.ZodBoolean>;
1638
+ families: z.ZodOptional<z.ZodArray<z.ZodObject<{
1639
+ id: z.ZodString;
1640
+ fork_of: z.ZodNullable<z.ZodString>;
1641
+ copy_of: z.ZodNullable<z.ZodString>;
1642
+ }, z.core.$strict>>>;
1638
1643
  }, z.core.$strict>;
1639
1644
  readonly kind: "unary";
1640
1645
  readonly since: "1.8";
@@ -1970,6 +1975,215 @@ declare const OPS: {
1970
1975
  readonly since: "1.8";
1971
1976
  readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1972
1977
  };
1978
+ readonly "apps.windows.list": {
1979
+ readonly params: z.ZodObject<{
1980
+ app_key: z.ZodString;
1981
+ }, z.core.$strict>;
1982
+ readonly result: z.ZodObject<{
1983
+ app_key: z.ZodString;
1984
+ windows: z.ZodArray<z.ZodObject<{
1985
+ key: z.ZodString;
1986
+ main: z.ZodBoolean;
1987
+ account: z.ZodNullable<z.ZodString>;
1988
+ signed_in: z.ZodNullable<z.ZodString>;
1989
+ signed_in_is_email: z.ZodBoolean;
1990
+ mismatch: z.ZodBoolean;
1991
+ created: z.ZodBoolean;
1992
+ running: z.ZodBoolean;
1993
+ open_chats: z.ZodInt;
1994
+ }, z.core.$strict>>;
1995
+ }, z.core.$strict>;
1996
+ readonly kind: "unary";
1997
+ readonly since: "1.10";
1998
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1999
+ };
2000
+ readonly "apps.windows.open": {
2001
+ readonly params: z.ZodObject<{
2002
+ app_key: z.ZodString;
2003
+ window: z.ZodString;
2004
+ }, z.core.$strict>;
2005
+ readonly result: z.ZodObject<{
2006
+ message: z.ZodString;
2007
+ }, z.core.$strict>;
2008
+ readonly kind: "unary";
2009
+ readonly since: "1.10";
2010
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2011
+ };
2012
+ readonly "apps.windows.reload": {
2013
+ readonly params: z.ZodObject<{
2014
+ app_key: z.ZodString;
2015
+ window: z.ZodString;
2016
+ }, z.core.$strict>;
2017
+ readonly result: z.ZodObject<{
2018
+ message: z.ZodString;
2019
+ }, z.core.$strict>;
2020
+ readonly kind: "unary";
2021
+ readonly since: "1.10";
2022
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2023
+ };
2024
+ readonly "apps.windows.restart": {
2025
+ readonly params: z.ZodObject<{
2026
+ app_key: z.ZodString;
2027
+ window: z.ZodString;
2028
+ force: z.ZodDefault<z.ZodBoolean>;
2029
+ }, z.core.$strict>;
2030
+ readonly result: z.ZodObject<{
2031
+ message: z.ZodString;
2032
+ }, z.core.$strict>;
2033
+ readonly kind: "unary";
2034
+ readonly since: "1.10";
2035
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2036
+ };
2037
+ readonly "apps.windows.refresh_usage": {
2038
+ readonly params: z.ZodObject<{
2039
+ app_key: z.ZodString;
2040
+ window: z.ZodString;
2041
+ }, z.core.$strict>;
2042
+ readonly result: z.ZodObject<{
2043
+ message: z.ZodString;
2044
+ }, z.core.$strict>;
2045
+ readonly kind: "unary";
2046
+ readonly since: "1.10";
2047
+ readonly errors: readonly ["NOT_FOUND", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2048
+ };
2049
+ readonly "apps.accounts.usage": {
2050
+ readonly params: z.ZodObject<{
2051
+ app_key: z.ZodString;
2052
+ }, z.core.$strict>;
2053
+ readonly result: z.ZodObject<{
2054
+ app_key: z.ZodString;
2055
+ accounts: z.ZodArray<z.ZodObject<{
2056
+ account: z.ZodString;
2057
+ org: z.ZodNullable<z.ZodString>;
2058
+ account_certain: z.ZodBoolean;
2059
+ five_hour: z.ZodNullable<z.ZodNumber>;
2060
+ five_hour_reset_since: z.ZodBoolean;
2061
+ weekly: z.ZodNullable<z.ZodNumber>;
2062
+ weekly_reset_since: z.ZodBoolean;
2063
+ extra_usage: z.ZodNullable<z.ZodNumber>;
2064
+ extra_usage_as_of_ms: z.ZodNullable<z.ZodInt>;
2065
+ as_of_ms: z.ZodInt;
2066
+ windows: z.ZodArray<z.ZodString>;
2067
+ live: z.ZodBoolean;
2068
+ weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
2069
+ weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
2070
+ }, z.core.$strict>>;
2071
+ }, z.core.$strict>;
2072
+ readonly kind: "unary";
2073
+ readonly since: "1.10";
2074
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2075
+ };
2076
+ readonly "apps.accounts.resets": {
2077
+ readonly params: z.ZodObject<{
2078
+ app_key: z.ZodString;
2079
+ }, z.core.$strict>;
2080
+ readonly result: z.ZodObject<{
2081
+ app_key: z.ZodString;
2082
+ resets: z.ZodArray<z.ZodObject<{
2083
+ window: z.ZodString;
2084
+ account: z.ZodNullable<z.ZodString>;
2085
+ next_reset_ms: z.ZodNullable<z.ZodInt>;
2086
+ source: z.ZodNullable<z.ZodEnum<{
2087
+ claude: "claude";
2088
+ usage_history: "usage_history";
2089
+ your_list: "your_list";
2090
+ }>>;
2091
+ official: z.ZodBoolean;
2092
+ note: z.ZodNullable<z.ZodString>;
2093
+ }, z.core.$strict>>;
2094
+ }, z.core.$strict>;
2095
+ readonly kind: "unary";
2096
+ readonly since: "1.10";
2097
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2098
+ };
2099
+ readonly "apps.projects.move": {
2100
+ readonly params: z.ZodObject<{
2101
+ app_key: z.ZodString;
2102
+ chat_id: z.ZodString;
2103
+ from_project_id: z.ZodString;
2104
+ to_project_id: z.ZodOptional<z.ZodString>;
2105
+ new_project_name: z.ZodOptional<z.ZodString>;
2106
+ }, z.core.$strict>;
2107
+ readonly result: z.ZodObject<{
2108
+ chat: z.ZodObject<{
2109
+ id: z.ZodString;
2110
+ short_id: z.ZodString;
2111
+ record: z.ZodNullable<z.ZodString>;
2112
+ title: z.ZodString;
2113
+ last_active_ms: z.ZodNullable<z.ZodInt>;
2114
+ created_ms: z.ZodNullable<z.ZodInt>;
2115
+ projects: z.ZodArray<z.ZodString>;
2116
+ starred: z.ZodBoolean;
2117
+ pinned_in: z.ZodArray<z.ZodObject<{
2118
+ window: z.ZodString;
2119
+ observed_at_ms: z.ZodNullable<z.ZodInt>;
2120
+ }, z.core.$strict>>;
2121
+ places: z.ZodArray<z.ZodString>;
2122
+ held: z.ZodBoolean;
2123
+ running: z.ZodArray<z.ZodObject<{
2124
+ window: z.ZodString;
2125
+ how: z.ZodEnum<{
2126
+ process: "process";
2127
+ activity: "activity";
2128
+ }>;
2129
+ }, z.core.$strict>>;
2130
+ hidden_in: z.ZodArray<z.ZodObject<{
2131
+ window: z.ZodString;
2132
+ reason: z.ZodString;
2133
+ }, z.core.$strict>>;
2134
+ hidden_from_main: z.ZodBoolean;
2135
+ main_pending: z.ZodBoolean;
2136
+ scheduled: z.ZodNullable<z.ZodString>;
2137
+ new_unfiled: z.ZodBoolean;
2138
+ warnings: z.ZodArray<z.ZodString>;
2139
+ last_use: z.ZodNullable<z.ZodObject<{
2140
+ at_ms: z.ZodInt;
2141
+ window: z.ZodNullable<z.ZodString>;
2142
+ account: z.ZodNullable<z.ZodString>;
2143
+ how: z.ZodNullable<z.ZodString>;
2144
+ cache_warm: z.ZodBoolean;
2145
+ cache_minutes_left: z.ZodInt;
2146
+ }, z.core.$strict>>;
2147
+ }, z.core.$strict>;
2148
+ project: z.ZodObject<{
2149
+ id: z.ZodString;
2150
+ name: z.ZodString;
2151
+ archived: z.ZodBoolean;
2152
+ count: z.ZodInt;
2153
+ }, z.core.$strict>;
2154
+ }, z.core.$strict>;
2155
+ readonly kind: "unary";
2156
+ readonly since: "1.10";
2157
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2158
+ };
2159
+ readonly "apps.projects.create": {
2160
+ readonly params: z.ZodObject<{
2161
+ app_key: z.ZodString;
2162
+ name: z.ZodString;
2163
+ }, z.core.$strict>;
2164
+ readonly result: z.ZodObject<{
2165
+ project: z.ZodObject<{
2166
+ id: z.ZodString;
2167
+ name: z.ZodString;
2168
+ archived: z.ZodBoolean;
2169
+ count: z.ZodInt;
2170
+ }, z.core.$strict>;
2171
+ }, z.core.$strict>;
2172
+ readonly kind: "unary";
2173
+ readonly since: "1.10";
2174
+ readonly errors: readonly ["INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2175
+ };
2176
+ readonly "apps.projects.import_pins": {
2177
+ readonly params: z.ZodObject<{
2178
+ app_key: z.ZodString;
2179
+ }, z.core.$strict>;
2180
+ readonly result: z.ZodObject<{
2181
+ message: z.ZodString;
2182
+ }, z.core.$strict>;
2183
+ readonly kind: "unary";
2184
+ readonly since: "1.10";
2185
+ readonly errors: readonly ["CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2186
+ };
1973
2187
  readonly "proc.list": {
1974
2188
  readonly params: z.ZodObject<{
1975
2189
  name: z.ZodOptional<z.ZodString>;
@@ -5945,6 +6159,11 @@ declare const NAMED_SCHEMAS: {
5945
6159
  new_window_ms: z.ZodInt;
5946
6160
  updating: z.ZodOptional<z.ZodBoolean>;
5947
6161
  live: z.ZodOptional<z.ZodBoolean>;
6162
+ families: z.ZodOptional<z.ZodArray<z.ZodObject<{
6163
+ id: z.ZodString;
6164
+ fork_of: z.ZodNullable<z.ZodString>;
6165
+ copy_of: z.ZodNullable<z.ZodString>;
6166
+ }, z.core.$strict>>>;
5948
6167
  }, z.core.$strict>;
5949
6168
  readonly AppsChatsWatchParams: z.ZodObject<{
5950
6169
  app_key: z.ZodString;
@@ -6248,6 +6467,200 @@ declare const NAMED_SCHEMAS: {
6248
6467
  count: z.ZodInt;
6249
6468
  }, z.core.$strict>;
6250
6469
  }, z.core.$strict>;
6470
+ readonly ChatFamily: z.ZodObject<{
6471
+ id: z.ZodString;
6472
+ fork_of: z.ZodNullable<z.ZodString>;
6473
+ copy_of: z.ZodNullable<z.ZodString>;
6474
+ }, z.core.$strict>;
6475
+ readonly AppWindowInfo: z.ZodObject<{
6476
+ key: z.ZodString;
6477
+ main: z.ZodBoolean;
6478
+ account: z.ZodNullable<z.ZodString>;
6479
+ signed_in: z.ZodNullable<z.ZodString>;
6480
+ signed_in_is_email: z.ZodBoolean;
6481
+ mismatch: z.ZodBoolean;
6482
+ created: z.ZodBoolean;
6483
+ running: z.ZodBoolean;
6484
+ open_chats: z.ZodInt;
6485
+ }, z.core.$strict>;
6486
+ readonly AccountUsage: z.ZodObject<{
6487
+ account: z.ZodString;
6488
+ org: z.ZodNullable<z.ZodString>;
6489
+ account_certain: z.ZodBoolean;
6490
+ five_hour: z.ZodNullable<z.ZodNumber>;
6491
+ five_hour_reset_since: z.ZodBoolean;
6492
+ weekly: z.ZodNullable<z.ZodNumber>;
6493
+ weekly_reset_since: z.ZodBoolean;
6494
+ extra_usage: z.ZodNullable<z.ZodNumber>;
6495
+ extra_usage_as_of_ms: z.ZodNullable<z.ZodInt>;
6496
+ as_of_ms: z.ZodInt;
6497
+ windows: z.ZodArray<z.ZodString>;
6498
+ live: z.ZodBoolean;
6499
+ weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
6500
+ weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
6501
+ }, z.core.$strict>;
6502
+ readonly AccountReset: z.ZodObject<{
6503
+ window: z.ZodString;
6504
+ account: z.ZodNullable<z.ZodString>;
6505
+ next_reset_ms: z.ZodNullable<z.ZodInt>;
6506
+ source: z.ZodNullable<z.ZodEnum<{
6507
+ claude: "claude";
6508
+ usage_history: "usage_history";
6509
+ your_list: "your_list";
6510
+ }>>;
6511
+ official: z.ZodBoolean;
6512
+ note: z.ZodNullable<z.ZodString>;
6513
+ }, z.core.$strict>;
6514
+ readonly AppsWindowsListParams: z.ZodObject<{
6515
+ app_key: z.ZodString;
6516
+ }, z.core.$strict>;
6517
+ readonly AppsWindowsListResult: z.ZodObject<{
6518
+ app_key: z.ZodString;
6519
+ windows: z.ZodArray<z.ZodObject<{
6520
+ key: z.ZodString;
6521
+ main: z.ZodBoolean;
6522
+ account: z.ZodNullable<z.ZodString>;
6523
+ signed_in: z.ZodNullable<z.ZodString>;
6524
+ signed_in_is_email: z.ZodBoolean;
6525
+ mismatch: z.ZodBoolean;
6526
+ created: z.ZodBoolean;
6527
+ running: z.ZodBoolean;
6528
+ open_chats: z.ZodInt;
6529
+ }, z.core.$strict>>;
6530
+ }, z.core.$strict>;
6531
+ readonly AppsAccountsUsageParams: z.ZodObject<{
6532
+ app_key: z.ZodString;
6533
+ }, z.core.$strict>;
6534
+ readonly AppsAccountsUsageResult: z.ZodObject<{
6535
+ app_key: z.ZodString;
6536
+ accounts: z.ZodArray<z.ZodObject<{
6537
+ account: z.ZodString;
6538
+ org: z.ZodNullable<z.ZodString>;
6539
+ account_certain: z.ZodBoolean;
6540
+ five_hour: z.ZodNullable<z.ZodNumber>;
6541
+ five_hour_reset_since: z.ZodBoolean;
6542
+ weekly: z.ZodNullable<z.ZodNumber>;
6543
+ weekly_reset_since: z.ZodBoolean;
6544
+ extra_usage: z.ZodNullable<z.ZodNumber>;
6545
+ extra_usage_as_of_ms: z.ZodNullable<z.ZodInt>;
6546
+ as_of_ms: z.ZodInt;
6547
+ windows: z.ZodArray<z.ZodString>;
6548
+ live: z.ZodBoolean;
6549
+ weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
6550
+ weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
6551
+ }, z.core.$strict>>;
6552
+ }, z.core.$strict>;
6553
+ readonly AppsAccountsResetsParams: z.ZodObject<{
6554
+ app_key: z.ZodString;
6555
+ }, z.core.$strict>;
6556
+ readonly AppsAccountsResetsResult: z.ZodObject<{
6557
+ app_key: z.ZodString;
6558
+ resets: z.ZodArray<z.ZodObject<{
6559
+ window: z.ZodString;
6560
+ account: z.ZodNullable<z.ZodString>;
6561
+ next_reset_ms: z.ZodNullable<z.ZodInt>;
6562
+ source: z.ZodNullable<z.ZodEnum<{
6563
+ claude: "claude";
6564
+ usage_history: "usage_history";
6565
+ your_list: "your_list";
6566
+ }>>;
6567
+ official: z.ZodBoolean;
6568
+ note: z.ZodNullable<z.ZodString>;
6569
+ }, z.core.$strict>>;
6570
+ }, z.core.$strict>;
6571
+ readonly AppsWindowActionResult: z.ZodObject<{
6572
+ message: z.ZodString;
6573
+ }, z.core.$strict>;
6574
+ readonly AppsWindowsOpenParams: z.ZodObject<{
6575
+ app_key: z.ZodString;
6576
+ window: z.ZodString;
6577
+ }, z.core.$strict>;
6578
+ readonly AppsWindowsReloadParams: z.ZodObject<{
6579
+ app_key: z.ZodString;
6580
+ window: z.ZodString;
6581
+ }, z.core.$strict>;
6582
+ readonly AppsWindowsRestartParams: z.ZodObject<{
6583
+ app_key: z.ZodString;
6584
+ window: z.ZodString;
6585
+ force: z.ZodDefault<z.ZodBoolean>;
6586
+ }, z.core.$strict>;
6587
+ readonly AppsWindowsRefreshUsageParams: z.ZodObject<{
6588
+ app_key: z.ZodString;
6589
+ window: z.ZodString;
6590
+ }, z.core.$strict>;
6591
+ readonly AppsProjectsMoveParams: z.ZodObject<{
6592
+ app_key: z.ZodString;
6593
+ chat_id: z.ZodString;
6594
+ from_project_id: z.ZodString;
6595
+ to_project_id: z.ZodOptional<z.ZodString>;
6596
+ new_project_name: z.ZodOptional<z.ZodString>;
6597
+ }, z.core.$strict>;
6598
+ readonly AppsProjectsMoveResult: z.ZodObject<{
6599
+ chat: z.ZodObject<{
6600
+ id: z.ZodString;
6601
+ short_id: z.ZodString;
6602
+ record: z.ZodNullable<z.ZodString>;
6603
+ title: z.ZodString;
6604
+ last_active_ms: z.ZodNullable<z.ZodInt>;
6605
+ created_ms: z.ZodNullable<z.ZodInt>;
6606
+ projects: z.ZodArray<z.ZodString>;
6607
+ starred: z.ZodBoolean;
6608
+ pinned_in: z.ZodArray<z.ZodObject<{
6609
+ window: z.ZodString;
6610
+ observed_at_ms: z.ZodNullable<z.ZodInt>;
6611
+ }, z.core.$strict>>;
6612
+ places: z.ZodArray<z.ZodString>;
6613
+ held: z.ZodBoolean;
6614
+ running: z.ZodArray<z.ZodObject<{
6615
+ window: z.ZodString;
6616
+ how: z.ZodEnum<{
6617
+ process: "process";
6618
+ activity: "activity";
6619
+ }>;
6620
+ }, z.core.$strict>>;
6621
+ hidden_in: z.ZodArray<z.ZodObject<{
6622
+ window: z.ZodString;
6623
+ reason: z.ZodString;
6624
+ }, z.core.$strict>>;
6625
+ hidden_from_main: z.ZodBoolean;
6626
+ main_pending: z.ZodBoolean;
6627
+ scheduled: z.ZodNullable<z.ZodString>;
6628
+ new_unfiled: z.ZodBoolean;
6629
+ warnings: z.ZodArray<z.ZodString>;
6630
+ last_use: z.ZodNullable<z.ZodObject<{
6631
+ at_ms: z.ZodInt;
6632
+ window: z.ZodNullable<z.ZodString>;
6633
+ account: z.ZodNullable<z.ZodString>;
6634
+ how: z.ZodNullable<z.ZodString>;
6635
+ cache_warm: z.ZodBoolean;
6636
+ cache_minutes_left: z.ZodInt;
6637
+ }, z.core.$strict>>;
6638
+ }, z.core.$strict>;
6639
+ project: z.ZodObject<{
6640
+ id: z.ZodString;
6641
+ name: z.ZodString;
6642
+ archived: z.ZodBoolean;
6643
+ count: z.ZodInt;
6644
+ }, z.core.$strict>;
6645
+ }, z.core.$strict>;
6646
+ readonly AppsProjectsCreateParams: z.ZodObject<{
6647
+ app_key: z.ZodString;
6648
+ name: z.ZodString;
6649
+ }, z.core.$strict>;
6650
+ readonly AppsProjectsCreateResult: z.ZodObject<{
6651
+ project: z.ZodObject<{
6652
+ id: z.ZodString;
6653
+ name: z.ZodString;
6654
+ archived: z.ZodBoolean;
6655
+ count: z.ZodInt;
6656
+ }, z.core.$strict>;
6657
+ }, z.core.$strict>;
6658
+ readonly AppsProjectsImportPinsParams: z.ZodObject<{
6659
+ app_key: z.ZodString;
6660
+ }, z.core.$strict>;
6661
+ readonly AppsProjectsImportPinsResult: z.ZodObject<{
6662
+ message: z.ZodString;
6663
+ }, z.core.$strict>;
6251
6664
  };
6252
6665
  type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
6253
6666