@ai-matrx/desktop-protocol 0.21.49 → 0.21.51
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 +20 -0
- package/dist/client.cjs +69 -1
- 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 +69 -1
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +93 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +317 -10
- package/dist/index.d.ts +317 -10
- package/dist/index.js +93 -3
- package/dist/index.js.map +1 -1
- package/dist/{models-B_TX5A-H.d.cts → models-pdHTZ3YT.d.cts} +530 -9
- package/dist/{models-B_TX5A-H.d.ts → models-pdHTZ3YT.d.ts} +530 -9
- package/dist/react.d.cts +258 -2
- package/dist/react.d.ts +258 -2
- package/generated/desktop-protocol.schema.json +625 -1
- package/package.json +4 -4
|
@@ -711,7 +711,7 @@ type OpSpec = {
|
|
|
711
711
|
readonly params: z.ZodType;
|
|
712
712
|
readonly result: z.ZodType;
|
|
713
713
|
readonly kind: "unary" | "stream" | "resource";
|
|
714
|
-
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" | "1.26" | "1.28" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45" | "1.47" | "1.50";
|
|
714
|
+
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" | "1.26" | "1.28" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45" | "1.47" | "1.50" | "1.55" | "1.56";
|
|
715
715
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
716
716
|
};
|
|
717
717
|
declare const OPS: {
|
|
@@ -2580,6 +2580,52 @@ declare const OPS: {
|
|
|
2580
2580
|
readonly since: "1.47";
|
|
2581
2581
|
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2582
2582
|
};
|
|
2583
|
+
readonly "apps.windows.set_account": {
|
|
2584
|
+
readonly params: z.ZodObject<{
|
|
2585
|
+
app_key: z.ZodString;
|
|
2586
|
+
window: z.ZodString;
|
|
2587
|
+
email: z.ZodString;
|
|
2588
|
+
}, z.core.$strict>;
|
|
2589
|
+
readonly result: z.ZodObject<{
|
|
2590
|
+
message: z.ZodString;
|
|
2591
|
+
}, z.core.$strict>;
|
|
2592
|
+
readonly kind: "unary";
|
|
2593
|
+
readonly since: "1.56";
|
|
2594
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2595
|
+
};
|
|
2596
|
+
readonly "apps.windows.forget": {
|
|
2597
|
+
readonly params: z.ZodObject<{
|
|
2598
|
+
app_key: z.ZodString;
|
|
2599
|
+
window: z.ZodString;
|
|
2600
|
+
}, z.core.$strict>;
|
|
2601
|
+
readonly result: z.ZodObject<{
|
|
2602
|
+
message: z.ZodString;
|
|
2603
|
+
}, z.core.$strict>;
|
|
2604
|
+
readonly kind: "unary";
|
|
2605
|
+
readonly since: "1.56";
|
|
2606
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2607
|
+
};
|
|
2608
|
+
readonly "apps.chats.probe": {
|
|
2609
|
+
readonly params: z.ZodObject<{
|
|
2610
|
+
app_key: z.ZodString;
|
|
2611
|
+
chat_id: z.ZodString;
|
|
2612
|
+
}, z.core.$strict>;
|
|
2613
|
+
readonly result: z.ZodObject<{
|
|
2614
|
+
app_key: z.ZodString;
|
|
2615
|
+
chat_id: z.ZodString;
|
|
2616
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
2617
|
+
source: z.ZodString;
|
|
2618
|
+
instance: z.ZodNullable<z.ZodString>;
|
|
2619
|
+
facts: z.ZodArray<z.ZodObject<{
|
|
2620
|
+
key: z.ZodString;
|
|
2621
|
+
value: z.ZodString;
|
|
2622
|
+
}, z.core.$strict>>;
|
|
2623
|
+
}, z.core.$strict>>;
|
|
2624
|
+
}, z.core.$strict>;
|
|
2625
|
+
readonly kind: "unary";
|
|
2626
|
+
readonly since: "1.56";
|
|
2627
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2628
|
+
};
|
|
2583
2629
|
readonly "apps.projects.move": {
|
|
2584
2630
|
readonly params: z.ZodObject<{
|
|
2585
2631
|
app_key: z.ZodString;
|
|
@@ -2686,6 +2732,103 @@ declare const OPS: {
|
|
|
2686
2732
|
readonly since: "1.10";
|
|
2687
2733
|
readonly errors: readonly ["CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2688
2734
|
};
|
|
2735
|
+
readonly "apps.chats.copy_to_account": {
|
|
2736
|
+
readonly params: z.ZodObject<{
|
|
2737
|
+
app_key: z.ZodString;
|
|
2738
|
+
origin: z.ZodString;
|
|
2739
|
+
target: z.ZodString;
|
|
2740
|
+
chat_ids: z.ZodArray<z.ZodString>;
|
|
2741
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
2742
|
+
copy: "copy";
|
|
2743
|
+
move: "move";
|
|
2744
|
+
}>>;
|
|
2745
|
+
restart: z.ZodDefault<z.ZodEnum<{
|
|
2746
|
+
queued: "queued";
|
|
2747
|
+
restart_verify: "restart_verify";
|
|
2748
|
+
}>>;
|
|
2749
|
+
mirror_groups: z.ZodDefault<z.ZodBoolean>;
|
|
2750
|
+
pins_follow: z.ZodDefault<z.ZodBoolean>;
|
|
2751
|
+
source_group: z.ZodOptional<z.ZodString>;
|
|
2752
|
+
}, z.core.$strict>;
|
|
2753
|
+
readonly result: z.ZodObject<{
|
|
2754
|
+
message: z.ZodString;
|
|
2755
|
+
origin: z.ZodString;
|
|
2756
|
+
target: z.ZodString;
|
|
2757
|
+
mode: z.ZodEnum<{
|
|
2758
|
+
copy: "copy";
|
|
2759
|
+
move: "move";
|
|
2760
|
+
}>;
|
|
2761
|
+
project: z.ZodObject<{
|
|
2762
|
+
id: z.ZodString;
|
|
2763
|
+
name: z.ZodString;
|
|
2764
|
+
}, z.core.$strict>;
|
|
2765
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
2766
|
+
name: z.ZodString;
|
|
2767
|
+
chats: z.ZodNumber;
|
|
2768
|
+
ok: z.ZodBoolean;
|
|
2769
|
+
when: z.ZodNullable<z.ZodEnum<{
|
|
2770
|
+
now: "now";
|
|
2771
|
+
next_close: "next_close";
|
|
2772
|
+
}>>;
|
|
2773
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2774
|
+
}, z.core.$strict>>;
|
|
2775
|
+
source_group: z.ZodNullable<z.ZodObject<{
|
|
2776
|
+
name: z.ZodString;
|
|
2777
|
+
ok: z.ZodBoolean;
|
|
2778
|
+
when: z.ZodNullable<z.ZodEnum<{
|
|
2779
|
+
now: "now";
|
|
2780
|
+
next_close: "next_close";
|
|
2781
|
+
}>>;
|
|
2782
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2783
|
+
}, z.core.$strict>>;
|
|
2784
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
2785
|
+
chat_id: z.ZodString;
|
|
2786
|
+
title: z.ZodString;
|
|
2787
|
+
outcome: z.ZodEnum<{
|
|
2788
|
+
moved: "moved";
|
|
2789
|
+
copied: "copied";
|
|
2790
|
+
already: "already";
|
|
2791
|
+
skipped: "skipped";
|
|
2792
|
+
}>;
|
|
2793
|
+
group: z.ZodNullable<z.ZodString>;
|
|
2794
|
+
group_state: z.ZodNullable<z.ZodEnum<{
|
|
2795
|
+
failed: "failed";
|
|
2796
|
+
now: "now";
|
|
2797
|
+
next_close: "next_close";
|
|
2798
|
+
}>>;
|
|
2799
|
+
pinned: z.ZodBoolean;
|
|
2800
|
+
pin_state: z.ZodNullable<z.ZodEnum<{
|
|
2801
|
+
failed: "failed";
|
|
2802
|
+
now: "now";
|
|
2803
|
+
next_close: "next_close";
|
|
2804
|
+
}>>;
|
|
2805
|
+
state: z.ZodEnum<{
|
|
2806
|
+
failed: "failed";
|
|
2807
|
+
queued: "queued";
|
|
2808
|
+
verified: "verified";
|
|
2809
|
+
}>;
|
|
2810
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2811
|
+
}, z.core.$strict>>;
|
|
2812
|
+
verified: z.ZodNumber;
|
|
2813
|
+
queued: z.ZodNumber;
|
|
2814
|
+
failed: z.ZodNumber;
|
|
2815
|
+
restart: z.ZodObject<{
|
|
2816
|
+
asked: z.ZodEnum<{
|
|
2817
|
+
queued: "queued";
|
|
2818
|
+
restart_verify: "restart_verify";
|
|
2819
|
+
}>;
|
|
2820
|
+
done: z.ZodEnum<{
|
|
2821
|
+
queued: "queued";
|
|
2822
|
+
restart_verify: "restart_verify";
|
|
2823
|
+
}>;
|
|
2824
|
+
windows: z.ZodArray<z.ZodString>;
|
|
2825
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2826
|
+
}, z.core.$strict>;
|
|
2827
|
+
}, z.core.$strict>;
|
|
2828
|
+
readonly kind: "unary";
|
|
2829
|
+
readonly since: "1.55";
|
|
2830
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2831
|
+
};
|
|
2689
2832
|
readonly "apps.projects.to_window": {
|
|
2690
2833
|
readonly params: z.ZodObject<{
|
|
2691
2834
|
app_key: z.ZodString;
|
|
@@ -4134,8 +4277,8 @@ declare const OPS: {
|
|
|
4134
4277
|
name: z.ZodString;
|
|
4135
4278
|
verb: z.ZodEnum<{
|
|
4136
4279
|
start: "start";
|
|
4137
|
-
stop: "stop";
|
|
4138
4280
|
restart: "restart";
|
|
4281
|
+
stop: "stop";
|
|
4139
4282
|
}>;
|
|
4140
4283
|
}, z.core.$strict>;
|
|
4141
4284
|
readonly result: z.ZodObject<{
|
|
@@ -4310,8 +4453,8 @@ declare const OPS: {
|
|
|
4310
4453
|
readonly result: z.ZodObject<{
|
|
4311
4454
|
state: z.ZodEnum<{
|
|
4312
4455
|
cancelled: "cancelled";
|
|
4313
|
-
blocked: "blocked";
|
|
4314
4456
|
done: "done";
|
|
4457
|
+
blocked: "blocked";
|
|
4315
4458
|
}>;
|
|
4316
4459
|
blocked: z.ZodNullable<z.ZodEnum<{
|
|
4317
4460
|
signed_out: "signed_out";
|
|
@@ -5317,6 +5460,119 @@ declare const OPS: {
|
|
|
5317
5460
|
readonly since: "1.38";
|
|
5318
5461
|
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "INTERNAL"];
|
|
5319
5462
|
};
|
|
5463
|
+
readonly "coding.account.continue": {
|
|
5464
|
+
readonly params: z.ZodObject<{
|
|
5465
|
+
session_id: z.ZodString;
|
|
5466
|
+
account_profile_id: z.ZodOptional<z.ZodString>;
|
|
5467
|
+
client_request_id: z.ZodString;
|
|
5468
|
+
}, z.core.$strict>;
|
|
5469
|
+
readonly result: z.ZodObject<{
|
|
5470
|
+
session: z.ZodObject<{
|
|
5471
|
+
id: z.ZodString;
|
|
5472
|
+
provider: z.ZodEnum<{
|
|
5473
|
+
claude: "claude";
|
|
5474
|
+
codex: "codex";
|
|
5475
|
+
}>;
|
|
5476
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
5477
|
+
cwd: z.ZodString;
|
|
5478
|
+
title: z.ZodString;
|
|
5479
|
+
model: z.ZodNullable<z.ZodString>;
|
|
5480
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
5481
|
+
origin: z.ZodEnum<{
|
|
5482
|
+
started: "started";
|
|
5483
|
+
takeover: "takeover";
|
|
5484
|
+
}>;
|
|
5485
|
+
createdAt: z.ZodString;
|
|
5486
|
+
updatedAt: z.ZodString;
|
|
5487
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
5488
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
5489
|
+
completed: "completed";
|
|
5490
|
+
running: "running";
|
|
5491
|
+
failed: "failed";
|
|
5492
|
+
stopped: "stopped";
|
|
5493
|
+
starting: "starting";
|
|
5494
|
+
}>>;
|
|
5495
|
+
queued: z.ZodArray<z.ZodString>;
|
|
5496
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
5497
|
+
agentId: z.ZodString;
|
|
5498
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
5499
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
5500
|
+
name: z.ZodString;
|
|
5501
|
+
definitionHash: z.ZodString;
|
|
5502
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
5503
|
+
part: z.ZodEnum<{
|
|
5504
|
+
tools: "tools";
|
|
5505
|
+
instructions: "instructions";
|
|
5506
|
+
skills: "skills";
|
|
5507
|
+
}>;
|
|
5508
|
+
loaded: z.ZodInt;
|
|
5509
|
+
total: z.ZodInt;
|
|
5510
|
+
}, z.core.$strict>>;
|
|
5511
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
5512
|
+
kind: z.ZodString;
|
|
5513
|
+
name: z.ZodString;
|
|
5514
|
+
reason: z.ZodString;
|
|
5515
|
+
}, z.core.$strict>>;
|
|
5516
|
+
skills: z.ZodArray<z.ZodString>;
|
|
5517
|
+
tools: z.ZodArray<z.ZodString>;
|
|
5518
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5519
|
+
blockDue: z.ZodBoolean;
|
|
5520
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
5521
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
5522
|
+
}, z.core.$strict>>;
|
|
5523
|
+
agentRemovedDue: z.ZodBoolean;
|
|
5524
|
+
}, z.core.$strict>;
|
|
5525
|
+
run: z.ZodNullable<z.ZodObject<{
|
|
5526
|
+
runId: z.ZodString;
|
|
5527
|
+
sessionId: z.ZodString;
|
|
5528
|
+
provider: z.ZodEnum<{
|
|
5529
|
+
claude: "claude";
|
|
5530
|
+
codex: "codex";
|
|
5531
|
+
}>;
|
|
5532
|
+
cwd: z.ZodString;
|
|
5533
|
+
prompt: z.ZodString;
|
|
5534
|
+
model: z.ZodNullable<z.ZodString>;
|
|
5535
|
+
status: z.ZodEnum<{
|
|
5536
|
+
completed: "completed";
|
|
5537
|
+
running: "running";
|
|
5538
|
+
failed: "failed";
|
|
5539
|
+
stopped: "stopped";
|
|
5540
|
+
starting: "starting";
|
|
5541
|
+
}>;
|
|
5542
|
+
startedAt: z.ZodString;
|
|
5543
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
5544
|
+
error: z.ZodNullable<z.ZodString>;
|
|
5545
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
5546
|
+
inputTokens: z.ZodInt;
|
|
5547
|
+
outputTokens: z.ZodInt;
|
|
5548
|
+
cachedInputTokens: z.ZodInt;
|
|
5549
|
+
}, z.core.$strict>>;
|
|
5550
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
5551
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
5552
|
+
unknown: "unknown";
|
|
5553
|
+
subscription: "subscription";
|
|
5554
|
+
api: "api";
|
|
5555
|
+
}>>;
|
|
5556
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
5557
|
+
kind: z.ZodEnum<{
|
|
5558
|
+
web: "web";
|
|
5559
|
+
agent: "agent";
|
|
5560
|
+
other: "other";
|
|
5561
|
+
this_computer: "this_computer";
|
|
5562
|
+
phone: "phone";
|
|
5563
|
+
}>;
|
|
5564
|
+
label: z.ZodString;
|
|
5565
|
+
}, z.core.$strict>>;
|
|
5566
|
+
}, z.core.$strict>>;
|
|
5567
|
+
how: z.ZodEnum<{
|
|
5568
|
+
moved: "moved";
|
|
5569
|
+
fresh: "fresh";
|
|
5570
|
+
}>;
|
|
5571
|
+
}, z.core.$strict>;
|
|
5572
|
+
readonly kind: "unary";
|
|
5573
|
+
readonly since: "1.56";
|
|
5574
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "RESOURCE_BUSY", "AUTH_FORBIDDEN", "INTERNAL"];
|
|
5575
|
+
};
|
|
5320
5576
|
readonly "coding.agent.set": {
|
|
5321
5577
|
readonly params: z.ZodObject<{
|
|
5322
5578
|
session_id: z.ZodString;
|
|
@@ -5529,8 +5785,8 @@ declare const OPS: {
|
|
|
5529
5785
|
}, z.core.$strict>;
|
|
5530
5786
|
readonly result: z.ZodObject<{
|
|
5531
5787
|
state: z.ZodEnum<{
|
|
5532
|
-
blocked: "blocked";
|
|
5533
5788
|
done: "done";
|
|
5789
|
+
blocked: "blocked";
|
|
5534
5790
|
nothing_to_do: "nothing_to_do";
|
|
5535
5791
|
}>;
|
|
5536
5792
|
summary: z.ZodString;
|
|
@@ -7295,8 +7551,8 @@ declare const OPS: {
|
|
|
7295
7551
|
name: z.ZodString;
|
|
7296
7552
|
action: z.ZodEnum<{
|
|
7297
7553
|
start: "start";
|
|
7298
|
-
stop: "stop";
|
|
7299
7554
|
restart: "restart";
|
|
7555
|
+
stop: "stop";
|
|
7300
7556
|
}>;
|
|
7301
7557
|
}, z.core.$strict>;
|
|
7302
7558
|
readonly result: z.ZodObject<{
|
|
@@ -8660,6 +8916,43 @@ type ServiceOpName<S extends ServiceId> = keyof (typeof SERVICES)[S]["ops"] & st
|
|
|
8660
8916
|
* which write zod's process-global registry as an import side effect.
|
|
8661
8917
|
*/
|
|
8662
8918
|
declare const NAMED_SCHEMAS: {
|
|
8919
|
+
readonly AppsWindowsSetAccountParams: z.ZodObject<{
|
|
8920
|
+
app_key: z.ZodString;
|
|
8921
|
+
window: z.ZodString;
|
|
8922
|
+
email: z.ZodString;
|
|
8923
|
+
}, z.core.$strict>;
|
|
8924
|
+
readonly AppsWindowsForgetParams: z.ZodObject<{
|
|
8925
|
+
app_key: z.ZodString;
|
|
8926
|
+
window: z.ZodString;
|
|
8927
|
+
}, z.core.$strict>;
|
|
8928
|
+
readonly ProbeFact: z.ZodObject<{
|
|
8929
|
+
key: z.ZodString;
|
|
8930
|
+
value: z.ZodString;
|
|
8931
|
+
}, z.core.$strict>;
|
|
8932
|
+
readonly ProbeSource: z.ZodObject<{
|
|
8933
|
+
source: z.ZodString;
|
|
8934
|
+
instance: z.ZodNullable<z.ZodString>;
|
|
8935
|
+
facts: z.ZodArray<z.ZodObject<{
|
|
8936
|
+
key: z.ZodString;
|
|
8937
|
+
value: z.ZodString;
|
|
8938
|
+
}, z.core.$strict>>;
|
|
8939
|
+
}, z.core.$strict>;
|
|
8940
|
+
readonly AppsChatsProbeParams: z.ZodObject<{
|
|
8941
|
+
app_key: z.ZodString;
|
|
8942
|
+
chat_id: z.ZodString;
|
|
8943
|
+
}, z.core.$strict>;
|
|
8944
|
+
readonly AppsChatsProbeResult: z.ZodObject<{
|
|
8945
|
+
app_key: z.ZodString;
|
|
8946
|
+
chat_id: z.ZodString;
|
|
8947
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
8948
|
+
source: z.ZodString;
|
|
8949
|
+
instance: z.ZodNullable<z.ZodString>;
|
|
8950
|
+
facts: z.ZodArray<z.ZodObject<{
|
|
8951
|
+
key: z.ZodString;
|
|
8952
|
+
value: z.ZodString;
|
|
8953
|
+
}, z.core.$strict>>;
|
|
8954
|
+
}, z.core.$strict>>;
|
|
8955
|
+
}, z.core.$strict>;
|
|
8663
8956
|
readonly InstanceStatus: z.ZodEnum<{
|
|
8664
8957
|
open: "open";
|
|
8665
8958
|
closed: "closed";
|
|
@@ -10557,8 +10850,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
10557
10850
|
readonly CodingHistoryImportMissingResult: z.ZodObject<{
|
|
10558
10851
|
state: z.ZodEnum<{
|
|
10559
10852
|
cancelled: "cancelled";
|
|
10560
|
-
blocked: "blocked";
|
|
10561
10853
|
done: "done";
|
|
10854
|
+
blocked: "blocked";
|
|
10562
10855
|
}>;
|
|
10563
10856
|
blocked: z.ZodNullable<z.ZodEnum<{
|
|
10564
10857
|
signed_out: "signed_out";
|
|
@@ -11956,6 +12249,114 @@ declare const NAMED_SCHEMAS: {
|
|
|
11956
12249
|
agentRemovedDue: z.ZodBoolean;
|
|
11957
12250
|
}, z.core.$strict>;
|
|
11958
12251
|
}, z.core.$strict>;
|
|
12252
|
+
readonly CodingAccountContinueParams: z.ZodObject<{
|
|
12253
|
+
session_id: z.ZodString;
|
|
12254
|
+
account_profile_id: z.ZodOptional<z.ZodString>;
|
|
12255
|
+
client_request_id: z.ZodString;
|
|
12256
|
+
}, z.core.$strict>;
|
|
12257
|
+
readonly CodingAccountContinueResult: z.ZodObject<{
|
|
12258
|
+
session: z.ZodObject<{
|
|
12259
|
+
id: z.ZodString;
|
|
12260
|
+
provider: z.ZodEnum<{
|
|
12261
|
+
claude: "claude";
|
|
12262
|
+
codex: "codex";
|
|
12263
|
+
}>;
|
|
12264
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
12265
|
+
cwd: z.ZodString;
|
|
12266
|
+
title: z.ZodString;
|
|
12267
|
+
model: z.ZodNullable<z.ZodString>;
|
|
12268
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
12269
|
+
origin: z.ZodEnum<{
|
|
12270
|
+
started: "started";
|
|
12271
|
+
takeover: "takeover";
|
|
12272
|
+
}>;
|
|
12273
|
+
createdAt: z.ZodString;
|
|
12274
|
+
updatedAt: z.ZodString;
|
|
12275
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
12276
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
12277
|
+
completed: "completed";
|
|
12278
|
+
running: "running";
|
|
12279
|
+
failed: "failed";
|
|
12280
|
+
stopped: "stopped";
|
|
12281
|
+
starting: "starting";
|
|
12282
|
+
}>>;
|
|
12283
|
+
queued: z.ZodArray<z.ZodString>;
|
|
12284
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
12285
|
+
agentId: z.ZodString;
|
|
12286
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
12287
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
12288
|
+
name: z.ZodString;
|
|
12289
|
+
definitionHash: z.ZodString;
|
|
12290
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
12291
|
+
part: z.ZodEnum<{
|
|
12292
|
+
tools: "tools";
|
|
12293
|
+
instructions: "instructions";
|
|
12294
|
+
skills: "skills";
|
|
12295
|
+
}>;
|
|
12296
|
+
loaded: z.ZodInt;
|
|
12297
|
+
total: z.ZodInt;
|
|
12298
|
+
}, z.core.$strict>>;
|
|
12299
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
12300
|
+
kind: z.ZodString;
|
|
12301
|
+
name: z.ZodString;
|
|
12302
|
+
reason: z.ZodString;
|
|
12303
|
+
}, z.core.$strict>>;
|
|
12304
|
+
skills: z.ZodArray<z.ZodString>;
|
|
12305
|
+
tools: z.ZodArray<z.ZodString>;
|
|
12306
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12307
|
+
blockDue: z.ZodBoolean;
|
|
12308
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
12309
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
12310
|
+
}, z.core.$strict>>;
|
|
12311
|
+
agentRemovedDue: z.ZodBoolean;
|
|
12312
|
+
}, z.core.$strict>;
|
|
12313
|
+
run: z.ZodNullable<z.ZodObject<{
|
|
12314
|
+
runId: z.ZodString;
|
|
12315
|
+
sessionId: z.ZodString;
|
|
12316
|
+
provider: z.ZodEnum<{
|
|
12317
|
+
claude: "claude";
|
|
12318
|
+
codex: "codex";
|
|
12319
|
+
}>;
|
|
12320
|
+
cwd: z.ZodString;
|
|
12321
|
+
prompt: z.ZodString;
|
|
12322
|
+
model: z.ZodNullable<z.ZodString>;
|
|
12323
|
+
status: z.ZodEnum<{
|
|
12324
|
+
completed: "completed";
|
|
12325
|
+
running: "running";
|
|
12326
|
+
failed: "failed";
|
|
12327
|
+
stopped: "stopped";
|
|
12328
|
+
starting: "starting";
|
|
12329
|
+
}>;
|
|
12330
|
+
startedAt: z.ZodString;
|
|
12331
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
12332
|
+
error: z.ZodNullable<z.ZodString>;
|
|
12333
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
12334
|
+
inputTokens: z.ZodInt;
|
|
12335
|
+
outputTokens: z.ZodInt;
|
|
12336
|
+
cachedInputTokens: z.ZodInt;
|
|
12337
|
+
}, z.core.$strict>>;
|
|
12338
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
12339
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
12340
|
+
unknown: "unknown";
|
|
12341
|
+
subscription: "subscription";
|
|
12342
|
+
api: "api";
|
|
12343
|
+
}>>;
|
|
12344
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
12345
|
+
kind: z.ZodEnum<{
|
|
12346
|
+
web: "web";
|
|
12347
|
+
agent: "agent";
|
|
12348
|
+
other: "other";
|
|
12349
|
+
this_computer: "this_computer";
|
|
12350
|
+
phone: "phone";
|
|
12351
|
+
}>;
|
|
12352
|
+
label: z.ZodString;
|
|
12353
|
+
}, z.core.$strict>>;
|
|
12354
|
+
}, z.core.$strict>>;
|
|
12355
|
+
how: z.ZodEnum<{
|
|
12356
|
+
moved: "moved";
|
|
12357
|
+
fresh: "fresh";
|
|
12358
|
+
}>;
|
|
12359
|
+
}, z.core.$strict>;
|
|
11959
12360
|
readonly CodingAgentSetParams: z.ZodObject<{
|
|
11960
12361
|
session_id: z.ZodString;
|
|
11961
12362
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -12132,8 +12533,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
12132
12533
|
}, z.core.$strict>;
|
|
12133
12534
|
readonly CodingReconcileResult: z.ZodObject<{
|
|
12134
12535
|
state: z.ZodEnum<{
|
|
12135
|
-
blocked: "blocked";
|
|
12136
12536
|
done: "done";
|
|
12537
|
+
blocked: "blocked";
|
|
12137
12538
|
nothing_to_do: "nothing_to_do";
|
|
12138
12539
|
}>;
|
|
12139
12540
|
summary: z.ZodString;
|
|
@@ -13824,8 +14225,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
13824
14225
|
name: z.ZodString;
|
|
13825
14226
|
verb: z.ZodEnum<{
|
|
13826
14227
|
start: "start";
|
|
13827
|
-
stop: "stop";
|
|
13828
14228
|
restart: "restart";
|
|
14229
|
+
stop: "stop";
|
|
13829
14230
|
}>;
|
|
13830
14231
|
}, z.core.$strict>;
|
|
13831
14232
|
readonly StackServerActionResult: z.ZodObject<{
|
|
@@ -15005,6 +15406,126 @@ declare const NAMED_SCHEMAS: {
|
|
|
15005
15406
|
problem: z.ZodOptional<z.ZodString>;
|
|
15006
15407
|
}, z.core.$strict>;
|
|
15007
15408
|
}, z.core.$strict>;
|
|
15409
|
+
readonly AppsChatsCopyToAccountParams: z.ZodObject<{
|
|
15410
|
+
app_key: z.ZodString;
|
|
15411
|
+
origin: z.ZodString;
|
|
15412
|
+
target: z.ZodString;
|
|
15413
|
+
chat_ids: z.ZodArray<z.ZodString>;
|
|
15414
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
15415
|
+
copy: "copy";
|
|
15416
|
+
move: "move";
|
|
15417
|
+
}>>;
|
|
15418
|
+
restart: z.ZodDefault<z.ZodEnum<{
|
|
15419
|
+
queued: "queued";
|
|
15420
|
+
restart_verify: "restart_verify";
|
|
15421
|
+
}>>;
|
|
15422
|
+
mirror_groups: z.ZodDefault<z.ZodBoolean>;
|
|
15423
|
+
pins_follow: z.ZodDefault<z.ZodBoolean>;
|
|
15424
|
+
source_group: z.ZodOptional<z.ZodString>;
|
|
15425
|
+
}, z.core.$strict>;
|
|
15426
|
+
readonly CopiedChat: z.ZodObject<{
|
|
15427
|
+
chat_id: z.ZodString;
|
|
15428
|
+
title: z.ZodString;
|
|
15429
|
+
outcome: z.ZodEnum<{
|
|
15430
|
+
moved: "moved";
|
|
15431
|
+
copied: "copied";
|
|
15432
|
+
already: "already";
|
|
15433
|
+
skipped: "skipped";
|
|
15434
|
+
}>;
|
|
15435
|
+
group: z.ZodNullable<z.ZodString>;
|
|
15436
|
+
group_state: z.ZodNullable<z.ZodEnum<{
|
|
15437
|
+
failed: "failed";
|
|
15438
|
+
now: "now";
|
|
15439
|
+
next_close: "next_close";
|
|
15440
|
+
}>>;
|
|
15441
|
+
pinned: z.ZodBoolean;
|
|
15442
|
+
pin_state: z.ZodNullable<z.ZodEnum<{
|
|
15443
|
+
failed: "failed";
|
|
15444
|
+
now: "now";
|
|
15445
|
+
next_close: "next_close";
|
|
15446
|
+
}>>;
|
|
15447
|
+
state: z.ZodEnum<{
|
|
15448
|
+
failed: "failed";
|
|
15449
|
+
queued: "queued";
|
|
15450
|
+
verified: "verified";
|
|
15451
|
+
}>;
|
|
15452
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
15453
|
+
}, z.core.$strict>;
|
|
15454
|
+
readonly AppsChatsCopyToAccountResult: z.ZodObject<{
|
|
15455
|
+
message: z.ZodString;
|
|
15456
|
+
origin: z.ZodString;
|
|
15457
|
+
target: z.ZodString;
|
|
15458
|
+
mode: z.ZodEnum<{
|
|
15459
|
+
copy: "copy";
|
|
15460
|
+
move: "move";
|
|
15461
|
+
}>;
|
|
15462
|
+
project: z.ZodObject<{
|
|
15463
|
+
id: z.ZodString;
|
|
15464
|
+
name: z.ZodString;
|
|
15465
|
+
}, z.core.$strict>;
|
|
15466
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
15467
|
+
name: z.ZodString;
|
|
15468
|
+
chats: z.ZodNumber;
|
|
15469
|
+
ok: z.ZodBoolean;
|
|
15470
|
+
when: z.ZodNullable<z.ZodEnum<{
|
|
15471
|
+
now: "now";
|
|
15472
|
+
next_close: "next_close";
|
|
15473
|
+
}>>;
|
|
15474
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
15475
|
+
}, z.core.$strict>>;
|
|
15476
|
+
source_group: z.ZodNullable<z.ZodObject<{
|
|
15477
|
+
name: z.ZodString;
|
|
15478
|
+
ok: z.ZodBoolean;
|
|
15479
|
+
when: z.ZodNullable<z.ZodEnum<{
|
|
15480
|
+
now: "now";
|
|
15481
|
+
next_close: "next_close";
|
|
15482
|
+
}>>;
|
|
15483
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
15484
|
+
}, z.core.$strict>>;
|
|
15485
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
15486
|
+
chat_id: z.ZodString;
|
|
15487
|
+
title: z.ZodString;
|
|
15488
|
+
outcome: z.ZodEnum<{
|
|
15489
|
+
moved: "moved";
|
|
15490
|
+
copied: "copied";
|
|
15491
|
+
already: "already";
|
|
15492
|
+
skipped: "skipped";
|
|
15493
|
+
}>;
|
|
15494
|
+
group: z.ZodNullable<z.ZodString>;
|
|
15495
|
+
group_state: z.ZodNullable<z.ZodEnum<{
|
|
15496
|
+
failed: "failed";
|
|
15497
|
+
now: "now";
|
|
15498
|
+
next_close: "next_close";
|
|
15499
|
+
}>>;
|
|
15500
|
+
pinned: z.ZodBoolean;
|
|
15501
|
+
pin_state: z.ZodNullable<z.ZodEnum<{
|
|
15502
|
+
failed: "failed";
|
|
15503
|
+
now: "now";
|
|
15504
|
+
next_close: "next_close";
|
|
15505
|
+
}>>;
|
|
15506
|
+
state: z.ZodEnum<{
|
|
15507
|
+
failed: "failed";
|
|
15508
|
+
queued: "queued";
|
|
15509
|
+
verified: "verified";
|
|
15510
|
+
}>;
|
|
15511
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
15512
|
+
}, z.core.$strict>>;
|
|
15513
|
+
verified: z.ZodNumber;
|
|
15514
|
+
queued: z.ZodNumber;
|
|
15515
|
+
failed: z.ZodNumber;
|
|
15516
|
+
restart: z.ZodObject<{
|
|
15517
|
+
asked: z.ZodEnum<{
|
|
15518
|
+
queued: "queued";
|
|
15519
|
+
restart_verify: "restart_verify";
|
|
15520
|
+
}>;
|
|
15521
|
+
done: z.ZodEnum<{
|
|
15522
|
+
queued: "queued";
|
|
15523
|
+
restart_verify: "restart_verify";
|
|
15524
|
+
}>;
|
|
15525
|
+
windows: z.ZodArray<z.ZodString>;
|
|
15526
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
15527
|
+
}, z.core.$strict>;
|
|
15528
|
+
}, z.core.$strict>;
|
|
15008
15529
|
readonly AccountUsage: z.ZodObject<{
|
|
15009
15530
|
account: z.ZodString;
|
|
15010
15531
|
org: z.ZodNullable<z.ZodString>;
|
|
@@ -17974,8 +18495,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
17974
18495
|
name: z.ZodString;
|
|
17975
18496
|
action: z.ZodEnum<{
|
|
17976
18497
|
start: "start";
|
|
17977
|
-
stop: "stop";
|
|
17978
18498
|
restart: "restart";
|
|
18499
|
+
stop: "stop";
|
|
17979
18500
|
}>;
|
|
17980
18501
|
}, z.core.$strict>;
|
|
17981
18502
|
readonly WindowsServiceControlResult: z.ZodObject<{
|