@ai-matrx/desktop-protocol 0.17.13 → 0.19.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/CHANGELOG.md +13 -0
- package/dist/client.cjs +50 -5
- 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 +50 -5
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +65 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +88 -6
- package/dist/index.d.ts +88 -6
- package/dist/index.js +65 -8
- package/dist/index.js.map +1 -1
- package/dist/{models-BOPMXUz-.d.cts → models-DTtWH_yC.d.cts} +117 -1
- package/dist/{models-BOPMXUz-.d.ts → models-DTtWH_yC.d.ts} +117 -1
- package/dist/react.d.cts +50 -0
- package/dist/react.d.ts +50 -0
- package/generated/desktop-protocol.schema.json +240 -1
- package/package.json +2 -1
|
@@ -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";
|
|
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";
|
|
691
691
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
692
692
|
};
|
|
693
693
|
declare const OPS: {
|
|
@@ -2314,6 +2314,54 @@ declare const OPS: {
|
|
|
2314
2314
|
readonly since: "1.10";
|
|
2315
2315
|
readonly errors: readonly ["CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2316
2316
|
};
|
|
2317
|
+
readonly "apps.projects.to_window": {
|
|
2318
|
+
readonly params: z.ZodObject<{
|
|
2319
|
+
app_key: z.ZodString;
|
|
2320
|
+
project_id: z.ZodString;
|
|
2321
|
+
window: z.ZodString;
|
|
2322
|
+
take_off: z.ZodDefault<z.ZodBoolean>;
|
|
2323
|
+
group: z.ZodDefault<z.ZodBoolean>;
|
|
2324
|
+
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
2325
|
+
}, z.core.$strict>;
|
|
2326
|
+
readonly result: z.ZodObject<{
|
|
2327
|
+
project_id: z.ZodString;
|
|
2328
|
+
window: z.ZodString;
|
|
2329
|
+
dry_run: z.ZodBoolean;
|
|
2330
|
+
place: z.ZodArray<z.ZodObject<{
|
|
2331
|
+
chat_id: z.ZodString;
|
|
2332
|
+
title: z.ZodString;
|
|
2333
|
+
}, z.core.$strict>>;
|
|
2334
|
+
already: z.ZodArray<z.ZodObject<{
|
|
2335
|
+
chat_id: z.ZodString;
|
|
2336
|
+
title: z.ZodString;
|
|
2337
|
+
}, z.core.$strict>>;
|
|
2338
|
+
take_off: z.ZodArray<z.ZodObject<{
|
|
2339
|
+
chat_id: z.ZodString;
|
|
2340
|
+
title: z.ZodString;
|
|
2341
|
+
window: z.ZodString;
|
|
2342
|
+
}, z.core.$strict>>;
|
|
2343
|
+
skipped: z.ZodArray<z.ZodObject<{
|
|
2344
|
+
chat_id: z.ZodString;
|
|
2345
|
+
title: z.ZodString;
|
|
2346
|
+
window: z.ZodNullable<z.ZodString>;
|
|
2347
|
+
reason: z.ZodString;
|
|
2348
|
+
}, z.core.$strict>>;
|
|
2349
|
+
other_apps: z.ZodInt;
|
|
2350
|
+
group: z.ZodNullable<z.ZodObject<{
|
|
2351
|
+
ok: z.ZodBoolean;
|
|
2352
|
+
name: z.ZodString;
|
|
2353
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2354
|
+
assign: z.ZodOptional<z.ZodInt>;
|
|
2355
|
+
already: z.ZodOptional<z.ZodInt>;
|
|
2356
|
+
from_other_groups: z.ZodOptional<z.ZodInt>;
|
|
2357
|
+
group_exists: z.ZodOptional<z.ZodBoolean>;
|
|
2358
|
+
}, z.core.$strict>>;
|
|
2359
|
+
message: z.ZodString;
|
|
2360
|
+
}, z.core.$strict>;
|
|
2361
|
+
readonly kind: "unary";
|
|
2362
|
+
readonly since: "1.19";
|
|
2363
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2364
|
+
};
|
|
2317
2365
|
readonly "apps.chats.cold": {
|
|
2318
2366
|
readonly params: z.ZodObject<{
|
|
2319
2367
|
app_key: z.ZodString;
|
|
@@ -3388,6 +3436,8 @@ declare const OPS: {
|
|
|
3388
3436
|
restarts: z.ZodInt;
|
|
3389
3437
|
exit_code: z.ZodNullable<z.ZodInt>;
|
|
3390
3438
|
pid: z.ZodNullable<z.ZodInt>;
|
|
3439
|
+
cpu_percent: z.ZodOptional<z.ZodNumber>;
|
|
3440
|
+
memory_bytes: z.ZodOptional<z.ZodInt>;
|
|
3391
3441
|
}, z.core.$strict>>;
|
|
3392
3442
|
setup_note: z.ZodNullable<z.ZodString>;
|
|
3393
3443
|
pending: z.ZodNullable<z.ZodObject<{
|
|
@@ -6530,6 +6580,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
6530
6580
|
restarts: z.ZodInt;
|
|
6531
6581
|
exit_code: z.ZodNullable<z.ZodInt>;
|
|
6532
6582
|
pid: z.ZodNullable<z.ZodInt>;
|
|
6583
|
+
cpu_percent: z.ZodOptional<z.ZodNumber>;
|
|
6584
|
+
memory_bytes: z.ZodOptional<z.ZodInt>;
|
|
6533
6585
|
}, z.core.$strict>;
|
|
6534
6586
|
readonly StackEvent: z.ZodObject<{
|
|
6535
6587
|
at_ms: z.ZodInt;
|
|
@@ -6561,6 +6613,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
6561
6613
|
restarts: z.ZodInt;
|
|
6562
6614
|
exit_code: z.ZodNullable<z.ZodInt>;
|
|
6563
6615
|
pid: z.ZodNullable<z.ZodInt>;
|
|
6616
|
+
cpu_percent: z.ZodOptional<z.ZodNumber>;
|
|
6617
|
+
memory_bytes: z.ZodOptional<z.ZodInt>;
|
|
6564
6618
|
}, z.core.$strict>>;
|
|
6565
6619
|
setup_note: z.ZodNullable<z.ZodString>;
|
|
6566
6620
|
pending: z.ZodNullable<z.ZodObject<{
|
|
@@ -7761,6 +7815,68 @@ declare const NAMED_SCHEMAS: {
|
|
|
7761
7815
|
readonly AppsProjectsImportPinsResult: z.ZodObject<{
|
|
7762
7816
|
message: z.ZodString;
|
|
7763
7817
|
}, z.core.$strict>;
|
|
7818
|
+
readonly ProjectMoveChat: z.ZodObject<{
|
|
7819
|
+
chat_id: z.ZodString;
|
|
7820
|
+
title: z.ZodString;
|
|
7821
|
+
}, z.core.$strict>;
|
|
7822
|
+
readonly ProjectMoveSkip: z.ZodObject<{
|
|
7823
|
+
chat_id: z.ZodString;
|
|
7824
|
+
title: z.ZodString;
|
|
7825
|
+
window: z.ZodNullable<z.ZodString>;
|
|
7826
|
+
reason: z.ZodString;
|
|
7827
|
+
}, z.core.$strict>;
|
|
7828
|
+
readonly ProjectMoveGroup: z.ZodObject<{
|
|
7829
|
+
ok: z.ZodBoolean;
|
|
7830
|
+
name: z.ZodString;
|
|
7831
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
7832
|
+
assign: z.ZodOptional<z.ZodInt>;
|
|
7833
|
+
already: z.ZodOptional<z.ZodInt>;
|
|
7834
|
+
from_other_groups: z.ZodOptional<z.ZodInt>;
|
|
7835
|
+
group_exists: z.ZodOptional<z.ZodBoolean>;
|
|
7836
|
+
}, z.core.$strict>;
|
|
7837
|
+
readonly AppsProjectsToWindowParams: z.ZodObject<{
|
|
7838
|
+
app_key: z.ZodString;
|
|
7839
|
+
project_id: z.ZodString;
|
|
7840
|
+
window: z.ZodString;
|
|
7841
|
+
take_off: z.ZodDefault<z.ZodBoolean>;
|
|
7842
|
+
group: z.ZodDefault<z.ZodBoolean>;
|
|
7843
|
+
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
7844
|
+
}, z.core.$strict>;
|
|
7845
|
+
readonly AppsProjectsToWindowResult: z.ZodObject<{
|
|
7846
|
+
project_id: z.ZodString;
|
|
7847
|
+
window: z.ZodString;
|
|
7848
|
+
dry_run: z.ZodBoolean;
|
|
7849
|
+
place: z.ZodArray<z.ZodObject<{
|
|
7850
|
+
chat_id: z.ZodString;
|
|
7851
|
+
title: z.ZodString;
|
|
7852
|
+
}, z.core.$strict>>;
|
|
7853
|
+
already: z.ZodArray<z.ZodObject<{
|
|
7854
|
+
chat_id: z.ZodString;
|
|
7855
|
+
title: z.ZodString;
|
|
7856
|
+
}, z.core.$strict>>;
|
|
7857
|
+
take_off: z.ZodArray<z.ZodObject<{
|
|
7858
|
+
chat_id: z.ZodString;
|
|
7859
|
+
title: z.ZodString;
|
|
7860
|
+
window: z.ZodString;
|
|
7861
|
+
}, z.core.$strict>>;
|
|
7862
|
+
skipped: z.ZodArray<z.ZodObject<{
|
|
7863
|
+
chat_id: z.ZodString;
|
|
7864
|
+
title: z.ZodString;
|
|
7865
|
+
window: z.ZodNullable<z.ZodString>;
|
|
7866
|
+
reason: z.ZodString;
|
|
7867
|
+
}, z.core.$strict>>;
|
|
7868
|
+
other_apps: z.ZodInt;
|
|
7869
|
+
group: z.ZodNullable<z.ZodObject<{
|
|
7870
|
+
ok: z.ZodBoolean;
|
|
7871
|
+
name: z.ZodString;
|
|
7872
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
7873
|
+
assign: z.ZodOptional<z.ZodInt>;
|
|
7874
|
+
already: z.ZodOptional<z.ZodInt>;
|
|
7875
|
+
from_other_groups: z.ZodOptional<z.ZodInt>;
|
|
7876
|
+
group_exists: z.ZodOptional<z.ZodBoolean>;
|
|
7877
|
+
}, z.core.$strict>>;
|
|
7878
|
+
message: z.ZodString;
|
|
7879
|
+
}, z.core.$strict>;
|
|
7764
7880
|
readonly ColdChat: z.ZodObject<{
|
|
7765
7881
|
id: z.ZodString;
|
|
7766
7882
|
title: z.ZodString;
|
|
@@ -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";
|
|
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";
|
|
691
691
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
692
692
|
};
|
|
693
693
|
declare const OPS: {
|
|
@@ -2314,6 +2314,54 @@ declare const OPS: {
|
|
|
2314
2314
|
readonly since: "1.10";
|
|
2315
2315
|
readonly errors: readonly ["CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2316
2316
|
};
|
|
2317
|
+
readonly "apps.projects.to_window": {
|
|
2318
|
+
readonly params: z.ZodObject<{
|
|
2319
|
+
app_key: z.ZodString;
|
|
2320
|
+
project_id: z.ZodString;
|
|
2321
|
+
window: z.ZodString;
|
|
2322
|
+
take_off: z.ZodDefault<z.ZodBoolean>;
|
|
2323
|
+
group: z.ZodDefault<z.ZodBoolean>;
|
|
2324
|
+
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
2325
|
+
}, z.core.$strict>;
|
|
2326
|
+
readonly result: z.ZodObject<{
|
|
2327
|
+
project_id: z.ZodString;
|
|
2328
|
+
window: z.ZodString;
|
|
2329
|
+
dry_run: z.ZodBoolean;
|
|
2330
|
+
place: z.ZodArray<z.ZodObject<{
|
|
2331
|
+
chat_id: z.ZodString;
|
|
2332
|
+
title: z.ZodString;
|
|
2333
|
+
}, z.core.$strict>>;
|
|
2334
|
+
already: z.ZodArray<z.ZodObject<{
|
|
2335
|
+
chat_id: z.ZodString;
|
|
2336
|
+
title: z.ZodString;
|
|
2337
|
+
}, z.core.$strict>>;
|
|
2338
|
+
take_off: z.ZodArray<z.ZodObject<{
|
|
2339
|
+
chat_id: z.ZodString;
|
|
2340
|
+
title: z.ZodString;
|
|
2341
|
+
window: z.ZodString;
|
|
2342
|
+
}, z.core.$strict>>;
|
|
2343
|
+
skipped: z.ZodArray<z.ZodObject<{
|
|
2344
|
+
chat_id: z.ZodString;
|
|
2345
|
+
title: z.ZodString;
|
|
2346
|
+
window: z.ZodNullable<z.ZodString>;
|
|
2347
|
+
reason: z.ZodString;
|
|
2348
|
+
}, z.core.$strict>>;
|
|
2349
|
+
other_apps: z.ZodInt;
|
|
2350
|
+
group: z.ZodNullable<z.ZodObject<{
|
|
2351
|
+
ok: z.ZodBoolean;
|
|
2352
|
+
name: z.ZodString;
|
|
2353
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2354
|
+
assign: z.ZodOptional<z.ZodInt>;
|
|
2355
|
+
already: z.ZodOptional<z.ZodInt>;
|
|
2356
|
+
from_other_groups: z.ZodOptional<z.ZodInt>;
|
|
2357
|
+
group_exists: z.ZodOptional<z.ZodBoolean>;
|
|
2358
|
+
}, z.core.$strict>>;
|
|
2359
|
+
message: z.ZodString;
|
|
2360
|
+
}, z.core.$strict>;
|
|
2361
|
+
readonly kind: "unary";
|
|
2362
|
+
readonly since: "1.19";
|
|
2363
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2364
|
+
};
|
|
2317
2365
|
readonly "apps.chats.cold": {
|
|
2318
2366
|
readonly params: z.ZodObject<{
|
|
2319
2367
|
app_key: z.ZodString;
|
|
@@ -3388,6 +3436,8 @@ declare const OPS: {
|
|
|
3388
3436
|
restarts: z.ZodInt;
|
|
3389
3437
|
exit_code: z.ZodNullable<z.ZodInt>;
|
|
3390
3438
|
pid: z.ZodNullable<z.ZodInt>;
|
|
3439
|
+
cpu_percent: z.ZodOptional<z.ZodNumber>;
|
|
3440
|
+
memory_bytes: z.ZodOptional<z.ZodInt>;
|
|
3391
3441
|
}, z.core.$strict>>;
|
|
3392
3442
|
setup_note: z.ZodNullable<z.ZodString>;
|
|
3393
3443
|
pending: z.ZodNullable<z.ZodObject<{
|
|
@@ -6530,6 +6580,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
6530
6580
|
restarts: z.ZodInt;
|
|
6531
6581
|
exit_code: z.ZodNullable<z.ZodInt>;
|
|
6532
6582
|
pid: z.ZodNullable<z.ZodInt>;
|
|
6583
|
+
cpu_percent: z.ZodOptional<z.ZodNumber>;
|
|
6584
|
+
memory_bytes: z.ZodOptional<z.ZodInt>;
|
|
6533
6585
|
}, z.core.$strict>;
|
|
6534
6586
|
readonly StackEvent: z.ZodObject<{
|
|
6535
6587
|
at_ms: z.ZodInt;
|
|
@@ -6561,6 +6613,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
6561
6613
|
restarts: z.ZodInt;
|
|
6562
6614
|
exit_code: z.ZodNullable<z.ZodInt>;
|
|
6563
6615
|
pid: z.ZodNullable<z.ZodInt>;
|
|
6616
|
+
cpu_percent: z.ZodOptional<z.ZodNumber>;
|
|
6617
|
+
memory_bytes: z.ZodOptional<z.ZodInt>;
|
|
6564
6618
|
}, z.core.$strict>>;
|
|
6565
6619
|
setup_note: z.ZodNullable<z.ZodString>;
|
|
6566
6620
|
pending: z.ZodNullable<z.ZodObject<{
|
|
@@ -7761,6 +7815,68 @@ declare const NAMED_SCHEMAS: {
|
|
|
7761
7815
|
readonly AppsProjectsImportPinsResult: z.ZodObject<{
|
|
7762
7816
|
message: z.ZodString;
|
|
7763
7817
|
}, z.core.$strict>;
|
|
7818
|
+
readonly ProjectMoveChat: z.ZodObject<{
|
|
7819
|
+
chat_id: z.ZodString;
|
|
7820
|
+
title: z.ZodString;
|
|
7821
|
+
}, z.core.$strict>;
|
|
7822
|
+
readonly ProjectMoveSkip: z.ZodObject<{
|
|
7823
|
+
chat_id: z.ZodString;
|
|
7824
|
+
title: z.ZodString;
|
|
7825
|
+
window: z.ZodNullable<z.ZodString>;
|
|
7826
|
+
reason: z.ZodString;
|
|
7827
|
+
}, z.core.$strict>;
|
|
7828
|
+
readonly ProjectMoveGroup: z.ZodObject<{
|
|
7829
|
+
ok: z.ZodBoolean;
|
|
7830
|
+
name: z.ZodString;
|
|
7831
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
7832
|
+
assign: z.ZodOptional<z.ZodInt>;
|
|
7833
|
+
already: z.ZodOptional<z.ZodInt>;
|
|
7834
|
+
from_other_groups: z.ZodOptional<z.ZodInt>;
|
|
7835
|
+
group_exists: z.ZodOptional<z.ZodBoolean>;
|
|
7836
|
+
}, z.core.$strict>;
|
|
7837
|
+
readonly AppsProjectsToWindowParams: z.ZodObject<{
|
|
7838
|
+
app_key: z.ZodString;
|
|
7839
|
+
project_id: z.ZodString;
|
|
7840
|
+
window: z.ZodString;
|
|
7841
|
+
take_off: z.ZodDefault<z.ZodBoolean>;
|
|
7842
|
+
group: z.ZodDefault<z.ZodBoolean>;
|
|
7843
|
+
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
7844
|
+
}, z.core.$strict>;
|
|
7845
|
+
readonly AppsProjectsToWindowResult: z.ZodObject<{
|
|
7846
|
+
project_id: z.ZodString;
|
|
7847
|
+
window: z.ZodString;
|
|
7848
|
+
dry_run: z.ZodBoolean;
|
|
7849
|
+
place: z.ZodArray<z.ZodObject<{
|
|
7850
|
+
chat_id: z.ZodString;
|
|
7851
|
+
title: z.ZodString;
|
|
7852
|
+
}, z.core.$strict>>;
|
|
7853
|
+
already: z.ZodArray<z.ZodObject<{
|
|
7854
|
+
chat_id: z.ZodString;
|
|
7855
|
+
title: z.ZodString;
|
|
7856
|
+
}, z.core.$strict>>;
|
|
7857
|
+
take_off: z.ZodArray<z.ZodObject<{
|
|
7858
|
+
chat_id: z.ZodString;
|
|
7859
|
+
title: z.ZodString;
|
|
7860
|
+
window: z.ZodString;
|
|
7861
|
+
}, z.core.$strict>>;
|
|
7862
|
+
skipped: z.ZodArray<z.ZodObject<{
|
|
7863
|
+
chat_id: z.ZodString;
|
|
7864
|
+
title: z.ZodString;
|
|
7865
|
+
window: z.ZodNullable<z.ZodString>;
|
|
7866
|
+
reason: z.ZodString;
|
|
7867
|
+
}, z.core.$strict>>;
|
|
7868
|
+
other_apps: z.ZodInt;
|
|
7869
|
+
group: z.ZodNullable<z.ZodObject<{
|
|
7870
|
+
ok: z.ZodBoolean;
|
|
7871
|
+
name: z.ZodString;
|
|
7872
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
7873
|
+
assign: z.ZodOptional<z.ZodInt>;
|
|
7874
|
+
already: z.ZodOptional<z.ZodInt>;
|
|
7875
|
+
from_other_groups: z.ZodOptional<z.ZodInt>;
|
|
7876
|
+
group_exists: z.ZodOptional<z.ZodBoolean>;
|
|
7877
|
+
}, z.core.$strict>>;
|
|
7878
|
+
message: z.ZodString;
|
|
7879
|
+
}, z.core.$strict>;
|
|
7764
7880
|
readonly ColdChat: z.ZodObject<{
|
|
7765
7881
|
id: z.ZodString;
|
|
7766
7882
|
title: z.ZodString;
|
package/dist/react.d.cts
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<{
|
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<{
|