@ai-matrx/desktop-protocol 0.21.29 → 0.21.31
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 +12 -0
- package/dist/client.cjs +1538 -768
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +7 -2
- package/dist/client.d.ts +7 -2
- package/dist/client.js +1538 -768
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +1504 -471
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3144 -263
- package/dist/index.d.ts +3144 -263
- package/dist/index.js +1504 -471
- package/dist/index.js.map +1 -1
- package/dist/{models-BpzT2hqF.d.cts → models-C4JytZ8c.d.cts} +8152 -3380
- package/dist/{models-BpzT2hqF.d.ts → models-C4JytZ8c.d.ts} +8152 -3380
- package/dist/react.d.cts +2102 -120
- package/dist/react.d.ts +2102 -120
- package/generated/desktop-protocol.schema.json +11118 -6179
- package/package.json +2 -2
package/dist/react.d.ts
CHANGED
|
@@ -207,6 +207,11 @@ declare const OPS: {
|
|
|
207
207
|
local_network: "local_network";
|
|
208
208
|
bluetooth: "bluetooth";
|
|
209
209
|
notifications: "notifications";
|
|
210
|
+
reminders: "reminders";
|
|
211
|
+
speech_recognition: "speech_recognition";
|
|
212
|
+
messages: "messages";
|
|
213
|
+
mail: "mail";
|
|
214
|
+
wifi: "wifi";
|
|
210
215
|
}>;
|
|
211
216
|
state: z.ZodEnum<{
|
|
212
217
|
granted: "granted";
|
|
@@ -215,7 +220,26 @@ declare const OPS: {
|
|
|
215
220
|
not_applicable: "not_applicable";
|
|
216
221
|
}>;
|
|
217
222
|
settings_url: z.ZodNullable<z.ZodString>;
|
|
223
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
218
224
|
}, z.core.$strict>>;
|
|
225
|
+
requirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
226
|
+
name: z.ZodEnum<{
|
|
227
|
+
secret_storage: "secret_storage";
|
|
228
|
+
tray: "tray";
|
|
229
|
+
display_server: "display_server";
|
|
230
|
+
helper_programs: "helper_programs";
|
|
231
|
+
smart_app_control: "smart_app_control";
|
|
232
|
+
path_length: "path_length";
|
|
233
|
+
}>;
|
|
234
|
+
state: z.ZodEnum<{
|
|
235
|
+
granted: "granted";
|
|
236
|
+
denied: "denied";
|
|
237
|
+
not_determined: "not_determined";
|
|
238
|
+
not_applicable: "not_applicable";
|
|
239
|
+
}>;
|
|
240
|
+
settings_url: z.ZodNullable<z.ZodString>;
|
|
241
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
242
|
+
}, z.core.$strict>>>;
|
|
219
243
|
}, z.core.$strict>;
|
|
220
244
|
readonly kind: "unary";
|
|
221
245
|
readonly since: "1.0";
|
|
@@ -2590,7 +2614,24 @@ declare const OPS: {
|
|
|
2590
2614
|
readonly "system.open_settings": {
|
|
2591
2615
|
readonly params: z.ZodObject<{
|
|
2592
2616
|
pane: z.ZodEnum<{
|
|
2617
|
+
full_disk_access: "full_disk_access";
|
|
2618
|
+
accessibility: "accessibility";
|
|
2619
|
+
screen_recording: "screen_recording";
|
|
2593
2620
|
microphone: "microphone";
|
|
2621
|
+
camera: "camera";
|
|
2622
|
+
automation: "automation";
|
|
2623
|
+
contacts: "contacts";
|
|
2624
|
+
calendars: "calendars";
|
|
2625
|
+
photos: "photos";
|
|
2626
|
+
location: "location";
|
|
2627
|
+
local_network: "local_network";
|
|
2628
|
+
bluetooth: "bluetooth";
|
|
2629
|
+
notifications: "notifications";
|
|
2630
|
+
reminders: "reminders";
|
|
2631
|
+
speech_recognition: "speech_recognition";
|
|
2632
|
+
messages: "messages";
|
|
2633
|
+
mail: "mail";
|
|
2634
|
+
wifi: "wifi";
|
|
2594
2635
|
displays: "displays";
|
|
2595
2636
|
night_shift: "night_shift";
|
|
2596
2637
|
sound: "sound";
|
|
@@ -2606,7 +2647,24 @@ declare const OPS: {
|
|
|
2606
2647
|
}, z.core.$strict>;
|
|
2607
2648
|
readonly result: z.ZodObject<{
|
|
2608
2649
|
pane: z.ZodEnum<{
|
|
2650
|
+
full_disk_access: "full_disk_access";
|
|
2651
|
+
accessibility: "accessibility";
|
|
2652
|
+
screen_recording: "screen_recording";
|
|
2609
2653
|
microphone: "microphone";
|
|
2654
|
+
camera: "camera";
|
|
2655
|
+
automation: "automation";
|
|
2656
|
+
contacts: "contacts";
|
|
2657
|
+
calendars: "calendars";
|
|
2658
|
+
photos: "photos";
|
|
2659
|
+
location: "location";
|
|
2660
|
+
local_network: "local_network";
|
|
2661
|
+
bluetooth: "bluetooth";
|
|
2662
|
+
notifications: "notifications";
|
|
2663
|
+
reminders: "reminders";
|
|
2664
|
+
speech_recognition: "speech_recognition";
|
|
2665
|
+
messages: "messages";
|
|
2666
|
+
mail: "mail";
|
|
2667
|
+
wifi: "wifi";
|
|
2610
2668
|
displays: "displays";
|
|
2611
2669
|
night_shift: "night_shift";
|
|
2612
2670
|
sound: "sound";
|
|
@@ -3592,117 +3650,1360 @@ declare const OPS: {
|
|
|
3592
3650
|
readonly since: "1.5";
|
|
3593
3651
|
readonly errors: readonly ["RESOURCE_BUSY", "RESOURCE_GONE", "CANCELLED", "INTERNAL"];
|
|
3594
3652
|
};
|
|
3595
|
-
readonly "
|
|
3596
|
-
readonly params: z.ZodObject<{
|
|
3597
|
-
|
|
3653
|
+
readonly "coding.providers": {
|
|
3654
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3655
|
+
readonly result: z.ZodObject<{
|
|
3656
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
3657
|
+
provider: z.ZodEnum<{
|
|
3658
|
+
claude: "claude";
|
|
3659
|
+
codex: "codex";
|
|
3660
|
+
}>;
|
|
3661
|
+
label: z.ZodString;
|
|
3662
|
+
installed: z.ZodBoolean;
|
|
3663
|
+
version: z.ZodNullable<z.ZodString>;
|
|
3664
|
+
loggedIn: z.ZodBoolean;
|
|
3665
|
+
billing: z.ZodEnum<{
|
|
3666
|
+
unknown: "unknown";
|
|
3667
|
+
subscription: "subscription";
|
|
3668
|
+
api: "api";
|
|
3669
|
+
}>;
|
|
3670
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
3671
|
+
account: z.ZodNullable<z.ZodString>;
|
|
3672
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
3673
|
+
fix: z.ZodNullable<z.ZodString>;
|
|
3674
|
+
ready: z.ZodBoolean;
|
|
3675
|
+
lastProblem: z.ZodNullable<z.ZodObject<{
|
|
3676
|
+
kind: z.ZodEnum<{
|
|
3677
|
+
"usage-limit": "usage-limit";
|
|
3678
|
+
"signed-out": "signed-out";
|
|
3679
|
+
}>;
|
|
3680
|
+
message: z.ZodString;
|
|
3681
|
+
until: z.ZodNullable<z.ZodString>;
|
|
3682
|
+
at: z.ZodString;
|
|
3683
|
+
}, z.core.$strict>>;
|
|
3684
|
+
quota: z.ZodArray<z.ZodObject<{
|
|
3685
|
+
label: z.ZodString;
|
|
3686
|
+
usedPercent: z.ZodNullable<z.ZodNumber>;
|
|
3687
|
+
resetsAt: z.ZodNullable<z.ZodString>;
|
|
3688
|
+
valueLabel: z.ZodNullable<z.ZodString>;
|
|
3689
|
+
}, z.core.$strict>>;
|
|
3690
|
+
models: z.ZodArray<z.ZodObject<{
|
|
3691
|
+
id: z.ZodString;
|
|
3692
|
+
label: z.ZodString;
|
|
3693
|
+
}, z.core.$strict>>;
|
|
3694
|
+
efforts: z.ZodArray<z.ZodString>;
|
|
3695
|
+
defaultModel: z.ZodNullable<z.ZodObject<{
|
|
3696
|
+
id: z.ZodString;
|
|
3697
|
+
source: z.ZodEnum<{
|
|
3698
|
+
settings: "settings";
|
|
3699
|
+
driver: "driver";
|
|
3700
|
+
}>;
|
|
3701
|
+
}, z.core.$strict>>;
|
|
3702
|
+
defaultEffort: z.ZodNullable<z.ZodString>;
|
|
3703
|
+
binary: z.ZodNullable<z.ZodObject<{
|
|
3704
|
+
path: z.ZodString;
|
|
3705
|
+
version: z.ZodNullable<z.ZodString>;
|
|
3706
|
+
source: z.ZodEnum<{
|
|
3707
|
+
path: "path";
|
|
3708
|
+
"desktop-app": "desktop-app";
|
|
3709
|
+
"npm-global": "npm-global";
|
|
3710
|
+
configured: "configured";
|
|
3711
|
+
}>;
|
|
3712
|
+
sourceLabel: z.ZodString;
|
|
3713
|
+
newer: z.ZodNullable<z.ZodObject<{
|
|
3714
|
+
path: z.ZodString;
|
|
3715
|
+
version: z.ZodString;
|
|
3716
|
+
sourceLabel: z.ZodString;
|
|
3717
|
+
}, z.core.$strict>>;
|
|
3718
|
+
}, z.core.$strict>>;
|
|
3719
|
+
}, z.core.$strict>>;
|
|
3598
3720
|
}, z.core.$strict>;
|
|
3721
|
+
readonly kind: "unary";
|
|
3722
|
+
readonly since: "1.38";
|
|
3723
|
+
readonly errors: readonly ["INTERNAL"];
|
|
3724
|
+
};
|
|
3725
|
+
readonly "coding.sessions.list": {
|
|
3726
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3599
3727
|
readonly result: z.ZodObject<{
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3728
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
3729
|
+
id: z.ZodString;
|
|
3730
|
+
provider: z.ZodEnum<{
|
|
3731
|
+
claude: "claude";
|
|
3732
|
+
codex: "codex";
|
|
3733
|
+
}>;
|
|
3734
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
3735
|
+
cwd: z.ZodString;
|
|
3736
|
+
title: z.ZodString;
|
|
3737
|
+
model: z.ZodNullable<z.ZodString>;
|
|
3738
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
3739
|
+
origin: z.ZodEnum<{
|
|
3740
|
+
started: "started";
|
|
3741
|
+
takeover: "takeover";
|
|
3742
|
+
}>;
|
|
3743
|
+
createdAt: z.ZodString;
|
|
3744
|
+
updatedAt: z.ZodString;
|
|
3745
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
3746
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
3747
|
+
running: "running";
|
|
3748
|
+
starting: "starting";
|
|
3749
|
+
failed: "failed";
|
|
3750
|
+
stopped: "stopped";
|
|
3751
|
+
completed: "completed";
|
|
3752
|
+
}>>;
|
|
3753
|
+
queued: z.ZodArray<z.ZodString>;
|
|
3754
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
3755
|
+
agentId: z.ZodString;
|
|
3756
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
3757
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
3758
|
+
name: z.ZodString;
|
|
3759
|
+
definitionHash: z.ZodString;
|
|
3760
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
3761
|
+
part: z.ZodEnum<{
|
|
3762
|
+
instructions: "instructions";
|
|
3763
|
+
skills: "skills";
|
|
3764
|
+
tools: "tools";
|
|
3765
|
+
}>;
|
|
3766
|
+
loaded: z.ZodInt;
|
|
3767
|
+
total: z.ZodInt;
|
|
3768
|
+
}, z.core.$strict>>;
|
|
3769
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
3770
|
+
kind: z.ZodString;
|
|
3771
|
+
name: z.ZodString;
|
|
3772
|
+
reason: z.ZodString;
|
|
3773
|
+
}, z.core.$strict>>;
|
|
3774
|
+
skills: z.ZodArray<z.ZodString>;
|
|
3775
|
+
tools: z.ZodArray<z.ZodString>;
|
|
3776
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3777
|
+
blockDue: z.ZodBoolean;
|
|
3778
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
3779
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
3780
|
+
}, z.core.$strict>>;
|
|
3781
|
+
agentRemovedDue: z.ZodBoolean;
|
|
3608
3782
|
}, z.core.$strict>>;
|
|
3609
|
-
|
|
3610
|
-
|
|
3783
|
+
runs: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3784
|
+
runId: z.ZodString;
|
|
3785
|
+
sessionId: z.ZodString;
|
|
3786
|
+
provider: z.ZodEnum<{
|
|
3787
|
+
claude: "claude";
|
|
3788
|
+
codex: "codex";
|
|
3789
|
+
}>;
|
|
3790
|
+
cwd: z.ZodString;
|
|
3791
|
+
prompt: z.ZodString;
|
|
3792
|
+
model: z.ZodNullable<z.ZodString>;
|
|
3793
|
+
status: z.ZodEnum<{
|
|
3794
|
+
running: "running";
|
|
3795
|
+
starting: "starting";
|
|
3796
|
+
failed: "failed";
|
|
3797
|
+
stopped: "stopped";
|
|
3798
|
+
completed: "completed";
|
|
3799
|
+
}>;
|
|
3800
|
+
startedAt: z.ZodString;
|
|
3801
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
3802
|
+
error: z.ZodNullable<z.ZodString>;
|
|
3803
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
3804
|
+
inputTokens: z.ZodInt;
|
|
3805
|
+
outputTokens: z.ZodInt;
|
|
3806
|
+
cachedInputTokens: z.ZodInt;
|
|
3807
|
+
}, z.core.$strict>>;
|
|
3808
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
3809
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
3810
|
+
unknown: "unknown";
|
|
3811
|
+
subscription: "subscription";
|
|
3812
|
+
api: "api";
|
|
3813
|
+
}>>;
|
|
3814
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
3815
|
+
kind: z.ZodEnum<{
|
|
3816
|
+
agent: "agent";
|
|
3817
|
+
this_computer: "this_computer";
|
|
3818
|
+
web: "web";
|
|
3819
|
+
phone: "phone";
|
|
3820
|
+
other: "other";
|
|
3821
|
+
}>;
|
|
3822
|
+
label: z.ZodString;
|
|
3823
|
+
}, z.core.$strict>>;
|
|
3824
|
+
}, z.core.$strict>>;
|
|
3825
|
+
recent: z.ZodArray<z.ZodObject<{
|
|
3826
|
+
target: z.ZodString;
|
|
3827
|
+
title: z.ZodString;
|
|
3828
|
+
provider: z.ZodEnum<{
|
|
3829
|
+
claude: "claude";
|
|
3830
|
+
codex: "codex";
|
|
3831
|
+
}>;
|
|
3832
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
3833
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
3834
|
+
cwd: z.ZodNullable<z.ZodString>;
|
|
3835
|
+
updatedAt: z.ZodString;
|
|
3836
|
+
state: z.ZodEnum<{
|
|
3837
|
+
running: "running";
|
|
3838
|
+
idle: "idle";
|
|
3839
|
+
needs_attention: "needs_attention";
|
|
3840
|
+
new_output: "new_output";
|
|
3841
|
+
elsewhere: "elsewhere";
|
|
3842
|
+
}>;
|
|
3843
|
+
stateLabel: z.ZodNullable<z.ZodString>;
|
|
3844
|
+
pinned: z.ZodBoolean;
|
|
3845
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
3846
|
+
kind: z.ZodEnum<{
|
|
3847
|
+
agent: "agent";
|
|
3848
|
+
this_computer: "this_computer";
|
|
3849
|
+
web: "web";
|
|
3850
|
+
phone: "phone";
|
|
3851
|
+
other: "other";
|
|
3852
|
+
}>;
|
|
3853
|
+
label: z.ZodString;
|
|
3854
|
+
}, z.core.$strict>>;
|
|
3855
|
+
}, z.core.$strict>>;
|
|
3856
|
+
title_status: z.ZodObject<{
|
|
3857
|
+
owner: z.ZodBoolean;
|
|
3858
|
+
pending: z.ZodBoolean;
|
|
3859
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
3860
|
+
renames: z.ZodNullable<z.ZodString>;
|
|
3861
|
+
}, z.core.$strict>;
|
|
3611
3862
|
}, z.core.$strict>;
|
|
3612
3863
|
readonly kind: "unary";
|
|
3613
|
-
readonly since: "1.
|
|
3614
|
-
readonly errors: readonly ["
|
|
3864
|
+
readonly since: "1.38";
|
|
3865
|
+
readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3615
3866
|
};
|
|
3616
|
-
readonly "
|
|
3867
|
+
readonly "coding.discover": {
|
|
3617
3868
|
readonly params: z.ZodObject<{
|
|
3618
|
-
|
|
3619
|
-
path: z.ZodOptional<z.ZodString>;
|
|
3620
|
-
staged: z.ZodDefault<z.ZodBoolean>;
|
|
3869
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
3621
3870
|
}, z.core.$strict>;
|
|
3622
3871
|
readonly result: z.ZodObject<{
|
|
3623
|
-
|
|
3624
|
-
|
|
3872
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
3873
|
+
provider: z.ZodEnum<{
|
|
3874
|
+
claude: "claude";
|
|
3875
|
+
codex: "codex";
|
|
3876
|
+
}>;
|
|
3877
|
+
providerSessionId: z.ZodString;
|
|
3878
|
+
cwd: z.ZodNullable<z.ZodString>;
|
|
3879
|
+
title: z.ZodString;
|
|
3880
|
+
titleSource: z.ZodOptional<z.ZodEnum<{
|
|
3881
|
+
summary: "summary";
|
|
3882
|
+
unknown: "unknown";
|
|
3883
|
+
app: "app";
|
|
3884
|
+
"app-remembered": "app-remembered";
|
|
3885
|
+
"custom-title": "custom-title";
|
|
3886
|
+
"ai-title": "ai-title";
|
|
3887
|
+
"agent-name": "agent-name";
|
|
3888
|
+
"first-prompt": "first-prompt";
|
|
3889
|
+
"last-prompt": "last-prompt";
|
|
3890
|
+
}>>;
|
|
3891
|
+
titlePending: z.ZodOptional<z.ZodBoolean>;
|
|
3892
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
3893
|
+
scheduled: z.ZodOptional<z.ZodBoolean>;
|
|
3894
|
+
unlisted: z.ZodOptional<z.ZodBoolean>;
|
|
3895
|
+
unavailable: z.ZodNullable<z.ZodString>;
|
|
3896
|
+
updatedAt: z.ZodString;
|
|
3897
|
+
source: z.ZodNullable<z.ZodString>;
|
|
3898
|
+
activeElsewhere: z.ZodNullable<z.ZodObject<{
|
|
3899
|
+
reason: z.ZodEnum<{
|
|
3900
|
+
open: "open";
|
|
3901
|
+
process: "process";
|
|
3902
|
+
"recent-write": "recent-write";
|
|
3903
|
+
"open-tool-call": "open-tool-call";
|
|
3904
|
+
}>;
|
|
3905
|
+
message: z.ZodString;
|
|
3906
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
3907
|
+
}, z.core.$strict>>;
|
|
3908
|
+
}, z.core.$strict>>;
|
|
3625
3909
|
}, z.core.$strict>;
|
|
3626
3910
|
readonly kind: "unary";
|
|
3627
|
-
readonly since: "1.
|
|
3628
|
-
readonly errors: readonly ["
|
|
3911
|
+
readonly since: "1.38";
|
|
3912
|
+
readonly errors: readonly ["INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3629
3913
|
};
|
|
3630
|
-
readonly "
|
|
3914
|
+
readonly "coding.runs.list": {
|
|
3631
3915
|
readonly params: z.ZodObject<{
|
|
3632
|
-
|
|
3633
|
-
limit: z.ZodDefault<z.ZodInt>;
|
|
3916
|
+
session_id: z.ZodString;
|
|
3634
3917
|
}, z.core.$strict>;
|
|
3635
3918
|
readonly result: z.ZodObject<{
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3919
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
3920
|
+
runId: z.ZodString;
|
|
3921
|
+
sessionId: z.ZodString;
|
|
3922
|
+
provider: z.ZodEnum<{
|
|
3923
|
+
claude: "claude";
|
|
3924
|
+
codex: "codex";
|
|
3925
|
+
}>;
|
|
3926
|
+
cwd: z.ZodString;
|
|
3927
|
+
prompt: z.ZodString;
|
|
3928
|
+
model: z.ZodNullable<z.ZodString>;
|
|
3929
|
+
status: z.ZodEnum<{
|
|
3930
|
+
running: "running";
|
|
3931
|
+
starting: "starting";
|
|
3932
|
+
failed: "failed";
|
|
3933
|
+
stopped: "stopped";
|
|
3934
|
+
completed: "completed";
|
|
3935
|
+
}>;
|
|
3936
|
+
startedAt: z.ZodString;
|
|
3937
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
3938
|
+
error: z.ZodNullable<z.ZodString>;
|
|
3939
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
3940
|
+
inputTokens: z.ZodInt;
|
|
3941
|
+
outputTokens: z.ZodInt;
|
|
3942
|
+
cachedInputTokens: z.ZodInt;
|
|
3943
|
+
}, z.core.$strict>>;
|
|
3944
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
3945
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
3946
|
+
unknown: "unknown";
|
|
3947
|
+
subscription: "subscription";
|
|
3948
|
+
api: "api";
|
|
3949
|
+
}>>;
|
|
3950
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
3951
|
+
kind: z.ZodEnum<{
|
|
3952
|
+
agent: "agent";
|
|
3953
|
+
this_computer: "this_computer";
|
|
3954
|
+
web: "web";
|
|
3955
|
+
phone: "phone";
|
|
3956
|
+
other: "other";
|
|
3957
|
+
}>;
|
|
3958
|
+
label: z.ZodString;
|
|
3959
|
+
}, z.core.$strict>>;
|
|
3642
3960
|
}, z.core.$strict>>;
|
|
3643
3961
|
}, z.core.$strict>;
|
|
3644
3962
|
readonly kind: "unary";
|
|
3645
|
-
readonly since: "1.
|
|
3646
|
-
readonly errors: readonly ["
|
|
3963
|
+
readonly since: "1.38";
|
|
3964
|
+
readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
|
|
3647
3965
|
};
|
|
3648
|
-
readonly "
|
|
3966
|
+
readonly "coding.history": {
|
|
3649
3967
|
readonly params: z.ZodObject<{
|
|
3650
|
-
|
|
3651
|
-
|
|
3968
|
+
session_id: z.ZodString;
|
|
3969
|
+
max_bytes: z.ZodOptional<z.ZodInt>;
|
|
3652
3970
|
}, z.core.$strict>;
|
|
3653
3971
|
readonly result: z.ZodObject<{
|
|
3654
|
-
|
|
3972
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3973
|
+
kind: z.ZodLiteral<"user">;
|
|
3974
|
+
id: z.ZodString;
|
|
3975
|
+
text: z.ZodString;
|
|
3976
|
+
at: z.ZodNullable<z.ZodString>;
|
|
3977
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3978
|
+
kind: z.ZodLiteral<"text">;
|
|
3979
|
+
id: z.ZodString;
|
|
3980
|
+
text: z.ZodString;
|
|
3981
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3982
|
+
kind: z.ZodLiteral<"text-delta">;
|
|
3983
|
+
id: z.ZodString;
|
|
3984
|
+
text: z.ZodString;
|
|
3985
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3986
|
+
kind: z.ZodLiteral<"reasoning">;
|
|
3987
|
+
id: z.ZodString;
|
|
3988
|
+
text: z.ZodString;
|
|
3989
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3990
|
+
kind: z.ZodLiteral<"tool-call">;
|
|
3991
|
+
id: z.ZodString;
|
|
3992
|
+
name: z.ZodString;
|
|
3993
|
+
input: z.ZodUnknown;
|
|
3994
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3995
|
+
kind: z.ZodLiteral<"tool-result">;
|
|
3996
|
+
id: z.ZodString;
|
|
3997
|
+
output: z.ZodString;
|
|
3998
|
+
isError: z.ZodBoolean;
|
|
3999
|
+
fullBytes: z.ZodOptional<z.ZodInt>;
|
|
4000
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4001
|
+
kind: z.ZodLiteral<"usage">;
|
|
4002
|
+
usage: z.ZodObject<{
|
|
4003
|
+
inputTokens: z.ZodInt;
|
|
4004
|
+
outputTokens: z.ZodInt;
|
|
4005
|
+
cachedInputTokens: z.ZodInt;
|
|
4006
|
+
}, z.core.$strict>;
|
|
4007
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
4008
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4009
|
+
kind: z.ZodLiteral<"notice">;
|
|
4010
|
+
id: z.ZodString;
|
|
4011
|
+
level: z.ZodEnum<{
|
|
4012
|
+
warning: "warning";
|
|
4013
|
+
info: "info";
|
|
4014
|
+
}>;
|
|
4015
|
+
text: z.ZodString;
|
|
4016
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4017
|
+
kind: z.ZodLiteral<"error">;
|
|
4018
|
+
id: z.ZodString;
|
|
4019
|
+
text: z.ZodString;
|
|
4020
|
+
}, z.core.$strict>], "kind">>;
|
|
3655
4021
|
truncated: z.ZodBoolean;
|
|
4022
|
+
unavailable: z.ZodNullable<z.ZodString>;
|
|
4023
|
+
seq: z.ZodInt;
|
|
3656
4024
|
}, z.core.$strict>;
|
|
3657
4025
|
readonly kind: "unary";
|
|
3658
|
-
readonly since: "1.
|
|
3659
|
-
readonly errors: readonly ["
|
|
4026
|
+
readonly since: "1.38";
|
|
4027
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "INTERNAL"];
|
|
3660
4028
|
};
|
|
3661
|
-
readonly "
|
|
4029
|
+
readonly "coding.transcript.read": {
|
|
3662
4030
|
readonly params: z.ZodObject<{
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
4031
|
+
provider: z.ZodEnum<{
|
|
4032
|
+
claude: "claude";
|
|
4033
|
+
codex: "codex";
|
|
4034
|
+
}>;
|
|
4035
|
+
provider_session_id: z.ZodString;
|
|
4036
|
+
max_bytes: z.ZodOptional<z.ZodInt>;
|
|
3667
4037
|
}, z.core.$strict>;
|
|
3668
4038
|
readonly result: z.ZodObject<{
|
|
3669
|
-
|
|
3670
|
-
|
|
4039
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4040
|
+
kind: z.ZodLiteral<"user">;
|
|
4041
|
+
id: z.ZodString;
|
|
4042
|
+
text: z.ZodString;
|
|
4043
|
+
at: z.ZodNullable<z.ZodString>;
|
|
4044
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4045
|
+
kind: z.ZodLiteral<"text">;
|
|
4046
|
+
id: z.ZodString;
|
|
4047
|
+
text: z.ZodString;
|
|
4048
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4049
|
+
kind: z.ZodLiteral<"text-delta">;
|
|
4050
|
+
id: z.ZodString;
|
|
4051
|
+
text: z.ZodString;
|
|
4052
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4053
|
+
kind: z.ZodLiteral<"reasoning">;
|
|
4054
|
+
id: z.ZodString;
|
|
4055
|
+
text: z.ZodString;
|
|
4056
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4057
|
+
kind: z.ZodLiteral<"tool-call">;
|
|
4058
|
+
id: z.ZodString;
|
|
4059
|
+
name: z.ZodString;
|
|
4060
|
+
input: z.ZodUnknown;
|
|
4061
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4062
|
+
kind: z.ZodLiteral<"tool-result">;
|
|
4063
|
+
id: z.ZodString;
|
|
4064
|
+
output: z.ZodString;
|
|
4065
|
+
isError: z.ZodBoolean;
|
|
4066
|
+
fullBytes: z.ZodOptional<z.ZodInt>;
|
|
4067
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4068
|
+
kind: z.ZodLiteral<"usage">;
|
|
4069
|
+
usage: z.ZodObject<{
|
|
4070
|
+
inputTokens: z.ZodInt;
|
|
4071
|
+
outputTokens: z.ZodInt;
|
|
4072
|
+
cachedInputTokens: z.ZodInt;
|
|
4073
|
+
}, z.core.$strict>;
|
|
4074
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
4075
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4076
|
+
kind: z.ZodLiteral<"notice">;
|
|
4077
|
+
id: z.ZodString;
|
|
4078
|
+
level: z.ZodEnum<{
|
|
4079
|
+
warning: "warning";
|
|
4080
|
+
info: "info";
|
|
4081
|
+
}>;
|
|
4082
|
+
text: z.ZodString;
|
|
4083
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4084
|
+
kind: z.ZodLiteral<"error">;
|
|
4085
|
+
id: z.ZodString;
|
|
4086
|
+
text: z.ZodString;
|
|
4087
|
+
}, z.core.$strict>], "kind">>;
|
|
3671
4088
|
truncated: z.ZodBoolean;
|
|
4089
|
+
unavailable: z.ZodNullable<z.ZodString>;
|
|
4090
|
+
seq: z.ZodInt;
|
|
3672
4091
|
}, z.core.$strict>;
|
|
3673
4092
|
readonly kind: "unary";
|
|
3674
|
-
readonly since: "1.
|
|
3675
|
-
readonly errors: readonly ["
|
|
4093
|
+
readonly since: "1.38";
|
|
4094
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "INTERNAL"];
|
|
3676
4095
|
};
|
|
3677
|
-
readonly "
|
|
4096
|
+
readonly "coding.item.full": {
|
|
3678
4097
|
readonly params: z.ZodObject<{
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
4098
|
+
provider: z.ZodEnum<{
|
|
4099
|
+
claude: "claude";
|
|
4100
|
+
codex: "codex";
|
|
4101
|
+
}>;
|
|
4102
|
+
provider_session_id: z.ZodString;
|
|
4103
|
+
item_id: z.ZodString;
|
|
3683
4104
|
}, z.core.$strict>;
|
|
3684
4105
|
readonly result: z.ZodObject<{
|
|
3685
4106
|
output: z.ZodString;
|
|
3686
|
-
|
|
4107
|
+
bytes: z.ZodInt;
|
|
3687
4108
|
}, z.core.$strict>;
|
|
3688
4109
|
readonly kind: "unary";
|
|
3689
|
-
readonly since: "1.
|
|
3690
|
-
readonly errors: readonly ["
|
|
4110
|
+
readonly since: "1.38";
|
|
4111
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PAYLOAD_TOO_LARGE", "INTERNAL"];
|
|
3691
4112
|
};
|
|
3692
|
-
readonly "
|
|
4113
|
+
readonly "coding.activity": {
|
|
3693
4114
|
readonly params: z.ZodObject<{
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
4115
|
+
provider: z.ZodEnum<{
|
|
4116
|
+
claude: "claude";
|
|
4117
|
+
codex: "codex";
|
|
4118
|
+
}>;
|
|
4119
|
+
provider_session_id: z.ZodString;
|
|
3698
4120
|
}, z.core.$strict>;
|
|
3699
4121
|
readonly result: z.ZodObject<{
|
|
3700
|
-
|
|
3701
|
-
|
|
4122
|
+
active: z.ZodNullable<z.ZodObject<{
|
|
4123
|
+
reason: z.ZodEnum<{
|
|
4124
|
+
open: "open";
|
|
4125
|
+
process: "process";
|
|
4126
|
+
"recent-write": "recent-write";
|
|
4127
|
+
"open-tool-call": "open-tool-call";
|
|
4128
|
+
}>;
|
|
4129
|
+
message: z.ZodString;
|
|
4130
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
4131
|
+
}, z.core.$strict>>;
|
|
3702
4132
|
}, z.core.$strict>;
|
|
3703
4133
|
readonly kind: "unary";
|
|
3704
|
-
readonly since: "1.
|
|
3705
|
-
readonly errors: readonly ["
|
|
4134
|
+
readonly since: "1.38";
|
|
4135
|
+
readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
|
|
4136
|
+
};
|
|
4137
|
+
readonly "coding.folders.recent": {
|
|
4138
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
4139
|
+
readonly result: z.ZodObject<{
|
|
4140
|
+
folders: z.ZodArray<z.ZodObject<{
|
|
4141
|
+
path: z.ZodString;
|
|
4142
|
+
lastUsedAt: z.ZodString;
|
|
4143
|
+
exists: z.ZodBoolean;
|
|
4144
|
+
}, z.core.$strict>>;
|
|
4145
|
+
}, z.core.$strict>;
|
|
4146
|
+
readonly kind: "unary";
|
|
4147
|
+
readonly since: "1.38";
|
|
4148
|
+
readonly errors: readonly ["INTERNAL"];
|
|
4149
|
+
};
|
|
4150
|
+
readonly "coding.folders.check": {
|
|
4151
|
+
readonly params: z.ZodObject<{
|
|
4152
|
+
path: z.ZodString;
|
|
4153
|
+
}, z.core.$strict>;
|
|
4154
|
+
readonly result: z.ZodObject<{
|
|
4155
|
+
path: z.ZodString;
|
|
4156
|
+
exists: z.ZodBoolean;
|
|
4157
|
+
isDirectory: z.ZodBoolean;
|
|
4158
|
+
}, z.core.$strict>;
|
|
4159
|
+
readonly kind: "unary";
|
|
4160
|
+
readonly since: "1.38";
|
|
4161
|
+
readonly errors: readonly ["INVALID_PARAMS", "AUTH_FORBIDDEN", "INTERNAL"];
|
|
4162
|
+
};
|
|
4163
|
+
readonly "coding.folders.create": {
|
|
4164
|
+
readonly params: z.ZodObject<{
|
|
4165
|
+
path: z.ZodString;
|
|
4166
|
+
}, z.core.$strict>;
|
|
4167
|
+
readonly result: z.ZodObject<{
|
|
4168
|
+
path: z.ZodString;
|
|
4169
|
+
exists: z.ZodBoolean;
|
|
4170
|
+
isDirectory: z.ZodBoolean;
|
|
4171
|
+
}, z.core.$strict>;
|
|
4172
|
+
readonly kind: "unary";
|
|
4173
|
+
readonly since: "1.38";
|
|
4174
|
+
readonly errors: readonly ["INVALID_PARAMS", "AUTH_FORBIDDEN", "PERMISSION_DENIED_OS", "INTERNAL"];
|
|
4175
|
+
};
|
|
4176
|
+
readonly "coding.start": {
|
|
4177
|
+
readonly params: z.ZodObject<{
|
|
4178
|
+
provider: z.ZodEnum<{
|
|
4179
|
+
claude: "claude";
|
|
4180
|
+
codex: "codex";
|
|
4181
|
+
}>;
|
|
4182
|
+
cwd: z.ZodString;
|
|
4183
|
+
prompt: z.ZodString;
|
|
4184
|
+
model: z.ZodOptional<z.ZodString>;
|
|
4185
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
4186
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
4187
|
+
agent_id: z.ZodString;
|
|
4188
|
+
version_id: z.ZodOptional<z.ZodString>;
|
|
4189
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4190
|
+
}, z.core.$strict>>;
|
|
4191
|
+
account_profile_id: z.ZodOptional<z.ZodString>;
|
|
4192
|
+
client_request_id: z.ZodString;
|
|
4193
|
+
}, z.core.$strict>;
|
|
4194
|
+
readonly result: z.ZodObject<{
|
|
4195
|
+
session: z.ZodObject<{
|
|
4196
|
+
id: z.ZodString;
|
|
4197
|
+
provider: z.ZodEnum<{
|
|
4198
|
+
claude: "claude";
|
|
4199
|
+
codex: "codex";
|
|
4200
|
+
}>;
|
|
4201
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
4202
|
+
cwd: z.ZodString;
|
|
4203
|
+
title: z.ZodString;
|
|
4204
|
+
model: z.ZodNullable<z.ZodString>;
|
|
4205
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
4206
|
+
origin: z.ZodEnum<{
|
|
4207
|
+
started: "started";
|
|
4208
|
+
takeover: "takeover";
|
|
4209
|
+
}>;
|
|
4210
|
+
createdAt: z.ZodString;
|
|
4211
|
+
updatedAt: z.ZodString;
|
|
4212
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
4213
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
4214
|
+
running: "running";
|
|
4215
|
+
starting: "starting";
|
|
4216
|
+
failed: "failed";
|
|
4217
|
+
stopped: "stopped";
|
|
4218
|
+
completed: "completed";
|
|
4219
|
+
}>>;
|
|
4220
|
+
queued: z.ZodArray<z.ZodString>;
|
|
4221
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
4222
|
+
agentId: z.ZodString;
|
|
4223
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
4224
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
4225
|
+
name: z.ZodString;
|
|
4226
|
+
definitionHash: z.ZodString;
|
|
4227
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
4228
|
+
part: z.ZodEnum<{
|
|
4229
|
+
instructions: "instructions";
|
|
4230
|
+
skills: "skills";
|
|
4231
|
+
tools: "tools";
|
|
4232
|
+
}>;
|
|
4233
|
+
loaded: z.ZodInt;
|
|
4234
|
+
total: z.ZodInt;
|
|
4235
|
+
}, z.core.$strict>>;
|
|
4236
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
4237
|
+
kind: z.ZodString;
|
|
4238
|
+
name: z.ZodString;
|
|
4239
|
+
reason: z.ZodString;
|
|
4240
|
+
}, z.core.$strict>>;
|
|
4241
|
+
skills: z.ZodArray<z.ZodString>;
|
|
4242
|
+
tools: z.ZodArray<z.ZodString>;
|
|
4243
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4244
|
+
blockDue: z.ZodBoolean;
|
|
4245
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
4246
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
4247
|
+
}, z.core.$strict>>;
|
|
4248
|
+
agentRemovedDue: z.ZodBoolean;
|
|
4249
|
+
}, z.core.$strict>;
|
|
4250
|
+
run: z.ZodNullable<z.ZodObject<{
|
|
4251
|
+
runId: z.ZodString;
|
|
4252
|
+
sessionId: z.ZodString;
|
|
4253
|
+
provider: z.ZodEnum<{
|
|
4254
|
+
claude: "claude";
|
|
4255
|
+
codex: "codex";
|
|
4256
|
+
}>;
|
|
4257
|
+
cwd: z.ZodString;
|
|
4258
|
+
prompt: z.ZodString;
|
|
4259
|
+
model: z.ZodNullable<z.ZodString>;
|
|
4260
|
+
status: z.ZodEnum<{
|
|
4261
|
+
running: "running";
|
|
4262
|
+
starting: "starting";
|
|
4263
|
+
failed: "failed";
|
|
4264
|
+
stopped: "stopped";
|
|
4265
|
+
completed: "completed";
|
|
4266
|
+
}>;
|
|
4267
|
+
startedAt: z.ZodString;
|
|
4268
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
4269
|
+
error: z.ZodNullable<z.ZodString>;
|
|
4270
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
4271
|
+
inputTokens: z.ZodInt;
|
|
4272
|
+
outputTokens: z.ZodInt;
|
|
4273
|
+
cachedInputTokens: z.ZodInt;
|
|
4274
|
+
}, z.core.$strict>>;
|
|
4275
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
4276
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
4277
|
+
unknown: "unknown";
|
|
4278
|
+
subscription: "subscription";
|
|
4279
|
+
api: "api";
|
|
4280
|
+
}>>;
|
|
4281
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
4282
|
+
kind: z.ZodEnum<{
|
|
4283
|
+
agent: "agent";
|
|
4284
|
+
this_computer: "this_computer";
|
|
4285
|
+
web: "web";
|
|
4286
|
+
phone: "phone";
|
|
4287
|
+
other: "other";
|
|
4288
|
+
}>;
|
|
4289
|
+
label: z.ZodString;
|
|
4290
|
+
}, z.core.$strict>>;
|
|
4291
|
+
}, z.core.$strict>>;
|
|
4292
|
+
queued: z.ZodBoolean;
|
|
4293
|
+
}, z.core.$strict>;
|
|
4294
|
+
readonly kind: "unary";
|
|
4295
|
+
readonly since: "1.38";
|
|
4296
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "AUTH_FORBIDDEN", "RATE_LIMITED", "INTERNAL"];
|
|
4297
|
+
};
|
|
4298
|
+
readonly "coding.takeover": {
|
|
4299
|
+
readonly params: z.ZodObject<{
|
|
4300
|
+
provider: z.ZodEnum<{
|
|
4301
|
+
claude: "claude";
|
|
4302
|
+
codex: "codex";
|
|
4303
|
+
}>;
|
|
4304
|
+
provider_session_id: z.ZodString;
|
|
4305
|
+
cwd: z.ZodString;
|
|
4306
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4307
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
4308
|
+
agent_id: z.ZodString;
|
|
4309
|
+
version_id: z.ZodOptional<z.ZodString>;
|
|
4310
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4311
|
+
}, z.core.$strict>>;
|
|
4312
|
+
confirm_elsewhere: z.ZodOptional<z.ZodBoolean>;
|
|
4313
|
+
}, z.core.$strict>;
|
|
4314
|
+
readonly result: z.ZodObject<{
|
|
4315
|
+
session: z.ZodObject<{
|
|
4316
|
+
id: z.ZodString;
|
|
4317
|
+
provider: z.ZodEnum<{
|
|
4318
|
+
claude: "claude";
|
|
4319
|
+
codex: "codex";
|
|
4320
|
+
}>;
|
|
4321
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
4322
|
+
cwd: z.ZodString;
|
|
4323
|
+
title: z.ZodString;
|
|
4324
|
+
model: z.ZodNullable<z.ZodString>;
|
|
4325
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
4326
|
+
origin: z.ZodEnum<{
|
|
4327
|
+
started: "started";
|
|
4328
|
+
takeover: "takeover";
|
|
4329
|
+
}>;
|
|
4330
|
+
createdAt: z.ZodString;
|
|
4331
|
+
updatedAt: z.ZodString;
|
|
4332
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
4333
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
4334
|
+
running: "running";
|
|
4335
|
+
starting: "starting";
|
|
4336
|
+
failed: "failed";
|
|
4337
|
+
stopped: "stopped";
|
|
4338
|
+
completed: "completed";
|
|
4339
|
+
}>>;
|
|
4340
|
+
queued: z.ZodArray<z.ZodString>;
|
|
4341
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
4342
|
+
agentId: z.ZodString;
|
|
4343
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
4344
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
4345
|
+
name: z.ZodString;
|
|
4346
|
+
definitionHash: z.ZodString;
|
|
4347
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
4348
|
+
part: z.ZodEnum<{
|
|
4349
|
+
instructions: "instructions";
|
|
4350
|
+
skills: "skills";
|
|
4351
|
+
tools: "tools";
|
|
4352
|
+
}>;
|
|
4353
|
+
loaded: z.ZodInt;
|
|
4354
|
+
total: z.ZodInt;
|
|
4355
|
+
}, z.core.$strict>>;
|
|
4356
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
4357
|
+
kind: z.ZodString;
|
|
4358
|
+
name: z.ZodString;
|
|
4359
|
+
reason: z.ZodString;
|
|
4360
|
+
}, z.core.$strict>>;
|
|
4361
|
+
skills: z.ZodArray<z.ZodString>;
|
|
4362
|
+
tools: z.ZodArray<z.ZodString>;
|
|
4363
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4364
|
+
blockDue: z.ZodBoolean;
|
|
4365
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
4366
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
4367
|
+
}, z.core.$strict>>;
|
|
4368
|
+
agentRemovedDue: z.ZodBoolean;
|
|
4369
|
+
}, z.core.$strict>;
|
|
4370
|
+
}, z.core.$strict>;
|
|
4371
|
+
readonly kind: "unary";
|
|
4372
|
+
readonly since: "1.38";
|
|
4373
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "RESOURCE_BUSY", "AUTH_FORBIDDEN", "INTERNAL"];
|
|
4374
|
+
};
|
|
4375
|
+
readonly "coding.send": {
|
|
4376
|
+
readonly params: z.ZodObject<{
|
|
4377
|
+
session_id: z.ZodString;
|
|
4378
|
+
prompt: z.ZodString;
|
|
4379
|
+
client_request_id: z.ZodString;
|
|
4380
|
+
}, z.core.$strict>;
|
|
4381
|
+
readonly result: z.ZodObject<{
|
|
4382
|
+
session: z.ZodObject<{
|
|
4383
|
+
id: z.ZodString;
|
|
4384
|
+
provider: z.ZodEnum<{
|
|
4385
|
+
claude: "claude";
|
|
4386
|
+
codex: "codex";
|
|
4387
|
+
}>;
|
|
4388
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
4389
|
+
cwd: z.ZodString;
|
|
4390
|
+
title: z.ZodString;
|
|
4391
|
+
model: z.ZodNullable<z.ZodString>;
|
|
4392
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
4393
|
+
origin: z.ZodEnum<{
|
|
4394
|
+
started: "started";
|
|
4395
|
+
takeover: "takeover";
|
|
4396
|
+
}>;
|
|
4397
|
+
createdAt: z.ZodString;
|
|
4398
|
+
updatedAt: z.ZodString;
|
|
4399
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
4400
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
4401
|
+
running: "running";
|
|
4402
|
+
starting: "starting";
|
|
4403
|
+
failed: "failed";
|
|
4404
|
+
stopped: "stopped";
|
|
4405
|
+
completed: "completed";
|
|
4406
|
+
}>>;
|
|
4407
|
+
queued: z.ZodArray<z.ZodString>;
|
|
4408
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
4409
|
+
agentId: z.ZodString;
|
|
4410
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
4411
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
4412
|
+
name: z.ZodString;
|
|
4413
|
+
definitionHash: z.ZodString;
|
|
4414
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
4415
|
+
part: z.ZodEnum<{
|
|
4416
|
+
instructions: "instructions";
|
|
4417
|
+
skills: "skills";
|
|
4418
|
+
tools: "tools";
|
|
4419
|
+
}>;
|
|
4420
|
+
loaded: z.ZodInt;
|
|
4421
|
+
total: z.ZodInt;
|
|
4422
|
+
}, z.core.$strict>>;
|
|
4423
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
4424
|
+
kind: z.ZodString;
|
|
4425
|
+
name: z.ZodString;
|
|
4426
|
+
reason: z.ZodString;
|
|
4427
|
+
}, z.core.$strict>>;
|
|
4428
|
+
skills: z.ZodArray<z.ZodString>;
|
|
4429
|
+
tools: z.ZodArray<z.ZodString>;
|
|
4430
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4431
|
+
blockDue: z.ZodBoolean;
|
|
4432
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
4433
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
4434
|
+
}, z.core.$strict>>;
|
|
4435
|
+
agentRemovedDue: z.ZodBoolean;
|
|
4436
|
+
}, z.core.$strict>;
|
|
4437
|
+
run: z.ZodNullable<z.ZodObject<{
|
|
4438
|
+
runId: z.ZodString;
|
|
4439
|
+
sessionId: z.ZodString;
|
|
4440
|
+
provider: z.ZodEnum<{
|
|
4441
|
+
claude: "claude";
|
|
4442
|
+
codex: "codex";
|
|
4443
|
+
}>;
|
|
4444
|
+
cwd: z.ZodString;
|
|
4445
|
+
prompt: z.ZodString;
|
|
4446
|
+
model: z.ZodNullable<z.ZodString>;
|
|
4447
|
+
status: z.ZodEnum<{
|
|
4448
|
+
running: "running";
|
|
4449
|
+
starting: "starting";
|
|
4450
|
+
failed: "failed";
|
|
4451
|
+
stopped: "stopped";
|
|
4452
|
+
completed: "completed";
|
|
4453
|
+
}>;
|
|
4454
|
+
startedAt: z.ZodString;
|
|
4455
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
4456
|
+
error: z.ZodNullable<z.ZodString>;
|
|
4457
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
4458
|
+
inputTokens: z.ZodInt;
|
|
4459
|
+
outputTokens: z.ZodInt;
|
|
4460
|
+
cachedInputTokens: z.ZodInt;
|
|
4461
|
+
}, z.core.$strict>>;
|
|
4462
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
4463
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
4464
|
+
unknown: "unknown";
|
|
4465
|
+
subscription: "subscription";
|
|
4466
|
+
api: "api";
|
|
4467
|
+
}>>;
|
|
4468
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
4469
|
+
kind: z.ZodEnum<{
|
|
4470
|
+
agent: "agent";
|
|
4471
|
+
this_computer: "this_computer";
|
|
4472
|
+
web: "web";
|
|
4473
|
+
phone: "phone";
|
|
4474
|
+
other: "other";
|
|
4475
|
+
}>;
|
|
4476
|
+
label: z.ZodString;
|
|
4477
|
+
}, z.core.$strict>>;
|
|
4478
|
+
}, z.core.$strict>>;
|
|
4479
|
+
queued: z.ZodBoolean;
|
|
4480
|
+
}, z.core.$strict>;
|
|
4481
|
+
readonly kind: "unary";
|
|
4482
|
+
readonly since: "1.38";
|
|
4483
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "RATE_LIMITED", "INTERNAL"];
|
|
4484
|
+
};
|
|
4485
|
+
readonly "coding.stop": {
|
|
4486
|
+
readonly params: z.ZodObject<{
|
|
4487
|
+
run_id: z.ZodString;
|
|
4488
|
+
}, z.core.$strict>;
|
|
4489
|
+
readonly result: z.ZodObject<{
|
|
4490
|
+
run: z.ZodNullable<z.ZodObject<{
|
|
4491
|
+
runId: z.ZodString;
|
|
4492
|
+
sessionId: z.ZodString;
|
|
4493
|
+
provider: z.ZodEnum<{
|
|
4494
|
+
claude: "claude";
|
|
4495
|
+
codex: "codex";
|
|
4496
|
+
}>;
|
|
4497
|
+
cwd: z.ZodString;
|
|
4498
|
+
prompt: z.ZodString;
|
|
4499
|
+
model: z.ZodNullable<z.ZodString>;
|
|
4500
|
+
status: z.ZodEnum<{
|
|
4501
|
+
running: "running";
|
|
4502
|
+
starting: "starting";
|
|
4503
|
+
failed: "failed";
|
|
4504
|
+
stopped: "stopped";
|
|
4505
|
+
completed: "completed";
|
|
4506
|
+
}>;
|
|
4507
|
+
startedAt: z.ZodString;
|
|
4508
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
4509
|
+
error: z.ZodNullable<z.ZodString>;
|
|
4510
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
4511
|
+
inputTokens: z.ZodInt;
|
|
4512
|
+
outputTokens: z.ZodInt;
|
|
4513
|
+
cachedInputTokens: z.ZodInt;
|
|
4514
|
+
}, z.core.$strict>>;
|
|
4515
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
4516
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
4517
|
+
unknown: "unknown";
|
|
4518
|
+
subscription: "subscription";
|
|
4519
|
+
api: "api";
|
|
4520
|
+
}>>;
|
|
4521
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
4522
|
+
kind: z.ZodEnum<{
|
|
4523
|
+
agent: "agent";
|
|
4524
|
+
this_computer: "this_computer";
|
|
4525
|
+
web: "web";
|
|
4526
|
+
phone: "phone";
|
|
4527
|
+
other: "other";
|
|
4528
|
+
}>;
|
|
4529
|
+
label: z.ZodString;
|
|
4530
|
+
}, z.core.$strict>>;
|
|
4531
|
+
}, z.core.$strict>>;
|
|
4532
|
+
}, z.core.$strict>;
|
|
4533
|
+
readonly kind: "unary";
|
|
4534
|
+
readonly since: "1.38";
|
|
4535
|
+
readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
|
|
4536
|
+
};
|
|
4537
|
+
readonly "coding.stop_elsewhere": {
|
|
4538
|
+
readonly params: z.ZodObject<{
|
|
4539
|
+
provider: z.ZodEnum<{
|
|
4540
|
+
claude: "claude";
|
|
4541
|
+
codex: "codex";
|
|
4542
|
+
}>;
|
|
4543
|
+
provider_session_id: z.ZodString;
|
|
4544
|
+
pid: z.ZodInt;
|
|
4545
|
+
}, z.core.$strict>;
|
|
4546
|
+
readonly result: z.ZodObject<{
|
|
4547
|
+
stopped: z.ZodBoolean;
|
|
4548
|
+
message: z.ZodString;
|
|
4549
|
+
}, z.core.$strict>;
|
|
4550
|
+
readonly kind: "unary";
|
|
4551
|
+
readonly since: "1.38";
|
|
4552
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "CONFLICT", "PERMISSION_DENIED_OS", "INTERNAL"];
|
|
4553
|
+
};
|
|
4554
|
+
readonly "coding.options.set": {
|
|
4555
|
+
readonly params: z.ZodObject<{
|
|
4556
|
+
session_id: z.ZodString;
|
|
4557
|
+
model: z.ZodOptional<z.ZodString>;
|
|
4558
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
4559
|
+
}, z.core.$strict>;
|
|
4560
|
+
readonly result: z.ZodObject<{
|
|
4561
|
+
session: z.ZodObject<{
|
|
4562
|
+
id: z.ZodString;
|
|
4563
|
+
provider: z.ZodEnum<{
|
|
4564
|
+
claude: "claude";
|
|
4565
|
+
codex: "codex";
|
|
4566
|
+
}>;
|
|
4567
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
4568
|
+
cwd: z.ZodString;
|
|
4569
|
+
title: z.ZodString;
|
|
4570
|
+
model: z.ZodNullable<z.ZodString>;
|
|
4571
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
4572
|
+
origin: z.ZodEnum<{
|
|
4573
|
+
started: "started";
|
|
4574
|
+
takeover: "takeover";
|
|
4575
|
+
}>;
|
|
4576
|
+
createdAt: z.ZodString;
|
|
4577
|
+
updatedAt: z.ZodString;
|
|
4578
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
4579
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
4580
|
+
running: "running";
|
|
4581
|
+
starting: "starting";
|
|
4582
|
+
failed: "failed";
|
|
4583
|
+
stopped: "stopped";
|
|
4584
|
+
completed: "completed";
|
|
4585
|
+
}>>;
|
|
4586
|
+
queued: z.ZodArray<z.ZodString>;
|
|
4587
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
4588
|
+
agentId: z.ZodString;
|
|
4589
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
4590
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
4591
|
+
name: z.ZodString;
|
|
4592
|
+
definitionHash: z.ZodString;
|
|
4593
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
4594
|
+
part: z.ZodEnum<{
|
|
4595
|
+
instructions: "instructions";
|
|
4596
|
+
skills: "skills";
|
|
4597
|
+
tools: "tools";
|
|
4598
|
+
}>;
|
|
4599
|
+
loaded: z.ZodInt;
|
|
4600
|
+
total: z.ZodInt;
|
|
4601
|
+
}, z.core.$strict>>;
|
|
4602
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
4603
|
+
kind: z.ZodString;
|
|
4604
|
+
name: z.ZodString;
|
|
4605
|
+
reason: z.ZodString;
|
|
4606
|
+
}, z.core.$strict>>;
|
|
4607
|
+
skills: z.ZodArray<z.ZodString>;
|
|
4608
|
+
tools: z.ZodArray<z.ZodString>;
|
|
4609
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4610
|
+
blockDue: z.ZodBoolean;
|
|
4611
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
4612
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
4613
|
+
}, z.core.$strict>>;
|
|
4614
|
+
agentRemovedDue: z.ZodBoolean;
|
|
4615
|
+
}, z.core.$strict>;
|
|
4616
|
+
}, z.core.$strict>;
|
|
4617
|
+
readonly kind: "unary";
|
|
4618
|
+
readonly since: "1.38";
|
|
4619
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "INTERNAL"];
|
|
4620
|
+
};
|
|
4621
|
+
readonly "coding.agent.set": {
|
|
4622
|
+
readonly params: z.ZodObject<{
|
|
4623
|
+
session_id: z.ZodString;
|
|
4624
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
4625
|
+
agent_id: z.ZodString;
|
|
4626
|
+
version_id: z.ZodOptional<z.ZodString>;
|
|
4627
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4628
|
+
}, z.core.$strict>>;
|
|
4629
|
+
}, z.core.$strict>;
|
|
4630
|
+
readonly result: z.ZodObject<{
|
|
4631
|
+
session: z.ZodObject<{
|
|
4632
|
+
id: z.ZodString;
|
|
4633
|
+
provider: z.ZodEnum<{
|
|
4634
|
+
claude: "claude";
|
|
4635
|
+
codex: "codex";
|
|
4636
|
+
}>;
|
|
4637
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
4638
|
+
cwd: z.ZodString;
|
|
4639
|
+
title: z.ZodString;
|
|
4640
|
+
model: z.ZodNullable<z.ZodString>;
|
|
4641
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
4642
|
+
origin: z.ZodEnum<{
|
|
4643
|
+
started: "started";
|
|
4644
|
+
takeover: "takeover";
|
|
4645
|
+
}>;
|
|
4646
|
+
createdAt: z.ZodString;
|
|
4647
|
+
updatedAt: z.ZodString;
|
|
4648
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
4649
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
4650
|
+
running: "running";
|
|
4651
|
+
starting: "starting";
|
|
4652
|
+
failed: "failed";
|
|
4653
|
+
stopped: "stopped";
|
|
4654
|
+
completed: "completed";
|
|
4655
|
+
}>>;
|
|
4656
|
+
queued: z.ZodArray<z.ZodString>;
|
|
4657
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
4658
|
+
agentId: z.ZodString;
|
|
4659
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
4660
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
4661
|
+
name: z.ZodString;
|
|
4662
|
+
definitionHash: z.ZodString;
|
|
4663
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
4664
|
+
part: z.ZodEnum<{
|
|
4665
|
+
instructions: "instructions";
|
|
4666
|
+
skills: "skills";
|
|
4667
|
+
tools: "tools";
|
|
4668
|
+
}>;
|
|
4669
|
+
loaded: z.ZodInt;
|
|
4670
|
+
total: z.ZodInt;
|
|
4671
|
+
}, z.core.$strict>>;
|
|
4672
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
4673
|
+
kind: z.ZodString;
|
|
4674
|
+
name: z.ZodString;
|
|
4675
|
+
reason: z.ZodString;
|
|
4676
|
+
}, z.core.$strict>>;
|
|
4677
|
+
skills: z.ZodArray<z.ZodString>;
|
|
4678
|
+
tools: z.ZodArray<z.ZodString>;
|
|
4679
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4680
|
+
blockDue: z.ZodBoolean;
|
|
4681
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
4682
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
4683
|
+
}, z.core.$strict>>;
|
|
4684
|
+
agentRemovedDue: z.ZodBoolean;
|
|
4685
|
+
}, z.core.$strict>;
|
|
4686
|
+
}, z.core.$strict>;
|
|
4687
|
+
readonly kind: "unary";
|
|
4688
|
+
readonly since: "1.38";
|
|
4689
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "AUTH_FORBIDDEN", "INTERNAL"];
|
|
4690
|
+
};
|
|
4691
|
+
readonly "coding.agents.access": {
|
|
4692
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
4693
|
+
readonly result: z.ZodObject<{
|
|
4694
|
+
signedIn: z.ZodBoolean;
|
|
4695
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
4696
|
+
organizationId: z.ZodNullable<z.ZodString>;
|
|
4697
|
+
configured: z.ZodBoolean;
|
|
4698
|
+
}, z.core.$strict>;
|
|
4699
|
+
readonly kind: "unary";
|
|
4700
|
+
readonly since: "1.38";
|
|
4701
|
+
readonly errors: readonly ["INTERNAL"];
|
|
4702
|
+
};
|
|
4703
|
+
readonly "coding.titles.status": {
|
|
4704
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
4705
|
+
readonly result: z.ZodObject<{
|
|
4706
|
+
owner: z.ZodBoolean;
|
|
4707
|
+
pending: z.ZodBoolean;
|
|
4708
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
4709
|
+
renames: z.ZodNullable<z.ZodString>;
|
|
4710
|
+
}, z.core.$strict>;
|
|
4711
|
+
readonly kind: "unary";
|
|
4712
|
+
readonly since: "1.38";
|
|
4713
|
+
readonly errors: readonly ["INTERNAL"];
|
|
4714
|
+
};
|
|
4715
|
+
readonly "coding.prefs.list": {
|
|
4716
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
4717
|
+
readonly result: z.ZodObject<{
|
|
4718
|
+
preferences: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4719
|
+
title: z.ZodNullable<z.ZodString>;
|
|
4720
|
+
pinned: z.ZodBoolean;
|
|
4721
|
+
hidden: z.ZodBoolean;
|
|
4722
|
+
lastSeenAt: z.ZodNullable<z.ZodString>;
|
|
4723
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
4724
|
+
}, z.core.$strict>>;
|
|
4725
|
+
}, z.core.$strict>;
|
|
4726
|
+
readonly kind: "unary";
|
|
4727
|
+
readonly since: "1.38";
|
|
4728
|
+
readonly errors: readonly ["INTERNAL"];
|
|
4729
|
+
};
|
|
4730
|
+
readonly "coding.prefs.set": {
|
|
4731
|
+
readonly params: z.ZodObject<{
|
|
4732
|
+
key: z.ZodString;
|
|
4733
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4734
|
+
clear_title: z.ZodOptional<z.ZodBoolean>;
|
|
4735
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
4736
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
4737
|
+
}, z.core.$strict>;
|
|
4738
|
+
readonly result: z.ZodObject<{
|
|
4739
|
+
preferences: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4740
|
+
title: z.ZodNullable<z.ZodString>;
|
|
4741
|
+
pinned: z.ZodBoolean;
|
|
4742
|
+
hidden: z.ZodBoolean;
|
|
4743
|
+
lastSeenAt: z.ZodNullable<z.ZodString>;
|
|
4744
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
4745
|
+
}, z.core.$strict>>;
|
|
4746
|
+
}, z.core.$strict>;
|
|
4747
|
+
readonly kind: "unary";
|
|
4748
|
+
readonly since: "1.38";
|
|
4749
|
+
readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
|
|
4750
|
+
};
|
|
4751
|
+
readonly "coding.recent.seen": {
|
|
4752
|
+
readonly params: z.ZodObject<{
|
|
4753
|
+
target: z.ZodString;
|
|
4754
|
+
}, z.core.$strict>;
|
|
4755
|
+
readonly result: z.ZodObject<{
|
|
4756
|
+
recent: z.ZodArray<z.ZodObject<{
|
|
4757
|
+
target: z.ZodString;
|
|
4758
|
+
title: z.ZodString;
|
|
4759
|
+
provider: z.ZodEnum<{
|
|
4760
|
+
claude: "claude";
|
|
4761
|
+
codex: "codex";
|
|
4762
|
+
}>;
|
|
4763
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
4764
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
4765
|
+
cwd: z.ZodNullable<z.ZodString>;
|
|
4766
|
+
updatedAt: z.ZodString;
|
|
4767
|
+
state: z.ZodEnum<{
|
|
4768
|
+
running: "running";
|
|
4769
|
+
idle: "idle";
|
|
4770
|
+
needs_attention: "needs_attention";
|
|
4771
|
+
new_output: "new_output";
|
|
4772
|
+
elsewhere: "elsewhere";
|
|
4773
|
+
}>;
|
|
4774
|
+
stateLabel: z.ZodNullable<z.ZodString>;
|
|
4775
|
+
pinned: z.ZodBoolean;
|
|
4776
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
4777
|
+
kind: z.ZodEnum<{
|
|
4778
|
+
agent: "agent";
|
|
4779
|
+
this_computer: "this_computer";
|
|
4780
|
+
web: "web";
|
|
4781
|
+
phone: "phone";
|
|
4782
|
+
other: "other";
|
|
4783
|
+
}>;
|
|
4784
|
+
label: z.ZodString;
|
|
4785
|
+
}, z.core.$strict>>;
|
|
4786
|
+
}, z.core.$strict>>;
|
|
4787
|
+
}, z.core.$strict>;
|
|
4788
|
+
readonly kind: "unary";
|
|
4789
|
+
readonly since: "1.38";
|
|
4790
|
+
readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
|
|
4791
|
+
};
|
|
4792
|
+
readonly "coding.search": {
|
|
4793
|
+
readonly params: z.ZodObject<{
|
|
4794
|
+
query: z.ZodString;
|
|
4795
|
+
cursor: z.ZodOptional<z.ZodInt>;
|
|
4796
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
4797
|
+
}, z.core.$strict>;
|
|
4798
|
+
readonly result: z.ZodObject<{
|
|
4799
|
+
query: z.ZodString;
|
|
4800
|
+
hits: z.ZodArray<z.ZodObject<{
|
|
4801
|
+
provider: z.ZodEnum<{
|
|
4802
|
+
claude: "claude";
|
|
4803
|
+
codex: "codex";
|
|
4804
|
+
}>;
|
|
4805
|
+
providerSessionId: z.ZodString;
|
|
4806
|
+
title: z.ZodString;
|
|
4807
|
+
cwd: z.ZodNullable<z.ZodString>;
|
|
4808
|
+
updatedAt: z.ZodString;
|
|
4809
|
+
where: z.ZodEnum<{
|
|
4810
|
+
title: "title";
|
|
4811
|
+
content: "content";
|
|
4812
|
+
}>;
|
|
4813
|
+
snippet: z.ZodNullable<z.ZodString>;
|
|
4814
|
+
}, z.core.$strict>>;
|
|
4815
|
+
scanned: z.ZodInt;
|
|
4816
|
+
total: z.ZodInt;
|
|
4817
|
+
nextCursor: z.ZodNullable<z.ZodInt>;
|
|
4818
|
+
}, z.core.$strict>;
|
|
4819
|
+
readonly kind: "unary";
|
|
4820
|
+
readonly since: "1.38";
|
|
4821
|
+
readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "INTERNAL"];
|
|
4822
|
+
};
|
|
4823
|
+
readonly "coding.reconcile": {
|
|
4824
|
+
readonly params: z.ZodObject<{
|
|
4825
|
+
provider: z.ZodEnum<{
|
|
4826
|
+
claude: "claude";
|
|
4827
|
+
codex: "codex";
|
|
4828
|
+
}>;
|
|
4829
|
+
provider_session_id: z.ZodString;
|
|
4830
|
+
}, z.core.$strict>;
|
|
4831
|
+
readonly result: z.ZodObject<{
|
|
4832
|
+
state: z.ZodEnum<{
|
|
4833
|
+
done: "done";
|
|
4834
|
+
blocked: "blocked";
|
|
4835
|
+
nothing_to_do: "nothing_to_do";
|
|
4836
|
+
}>;
|
|
4837
|
+
summary: z.ZodString;
|
|
4838
|
+
}, z.core.$strict>;
|
|
4839
|
+
readonly kind: "unary";
|
|
4840
|
+
readonly since: "1.38";
|
|
4841
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "RESOURCE_BUSY", "CANCELLED", "INTERNAL"];
|
|
4842
|
+
};
|
|
4843
|
+
readonly "coding.transcript.raw": {
|
|
4844
|
+
readonly params: z.ZodObject<{
|
|
4845
|
+
provider: z.ZodEnum<{
|
|
4846
|
+
claude: "claude";
|
|
4847
|
+
codex: "codex";
|
|
4848
|
+
}>;
|
|
4849
|
+
provider_session_id: z.ZodString;
|
|
4850
|
+
}, z.core.$strict>;
|
|
4851
|
+
readonly result: z.ZodObject<{
|
|
4852
|
+
available: z.ZodBoolean;
|
|
4853
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
4854
|
+
file_name: z.ZodNullable<z.ZodString>;
|
|
4855
|
+
bytes: z.ZodInt;
|
|
4856
|
+
backup_refreshed: z.ZodBoolean;
|
|
4857
|
+
subagents: z.ZodInt;
|
|
4858
|
+
}, z.core.$strict>;
|
|
4859
|
+
readonly kind: "stream";
|
|
4860
|
+
readonly since: "1.38";
|
|
4861
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "CANCELLED", "INTERNAL"];
|
|
4862
|
+
};
|
|
4863
|
+
readonly "coding.watch": {
|
|
4864
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
4865
|
+
readonly result: z.ZodObject<{
|
|
4866
|
+
resource_id: z.ZodString;
|
|
4867
|
+
}, z.core.$strict>;
|
|
4868
|
+
readonly kind: "resource";
|
|
4869
|
+
readonly since: "1.38";
|
|
4870
|
+
readonly errors: readonly ["PLATFORM_UNSUPPORTED", "RATE_LIMITED", "INTERNAL"];
|
|
4871
|
+
};
|
|
4872
|
+
readonly "coding.session.watch": {
|
|
4873
|
+
readonly params: z.ZodObject<{
|
|
4874
|
+
session_id: z.ZodString;
|
|
4875
|
+
since_seq: z.ZodOptional<z.ZodInt>;
|
|
4876
|
+
}, z.core.$strict>;
|
|
4877
|
+
readonly result: z.ZodObject<{
|
|
4878
|
+
resource_id: z.ZodString;
|
|
4879
|
+
seq: z.ZodInt;
|
|
4880
|
+
}, z.core.$strict>;
|
|
4881
|
+
readonly kind: "resource";
|
|
4882
|
+
readonly since: "1.38";
|
|
4883
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "RATE_LIMITED", "INTERNAL"];
|
|
4884
|
+
};
|
|
4885
|
+
readonly "session.identify": {
|
|
4886
|
+
readonly params: z.ZodObject<{
|
|
4887
|
+
label: z.ZodString;
|
|
4888
|
+
}, z.core.$strict>;
|
|
4889
|
+
readonly result: z.ZodObject<{
|
|
4890
|
+
label: z.ZodString;
|
|
4891
|
+
}, z.core.$strict>;
|
|
4892
|
+
readonly kind: "unary";
|
|
4893
|
+
readonly since: "1.38";
|
|
4894
|
+
readonly errors: readonly ["INVALID_PARAMS"];
|
|
4895
|
+
};
|
|
4896
|
+
readonly "git.status": {
|
|
4897
|
+
readonly params: z.ZodObject<{
|
|
4898
|
+
cwd: z.ZodString;
|
|
4899
|
+
}, z.core.$strict>;
|
|
4900
|
+
readonly result: z.ZodObject<{
|
|
4901
|
+
branch: z.ZodNullable<z.ZodString>;
|
|
4902
|
+
upstream: z.ZodNullable<z.ZodString>;
|
|
4903
|
+
ahead: z.ZodInt;
|
|
4904
|
+
behind: z.ZodInt;
|
|
4905
|
+
files: z.ZodArray<z.ZodObject<{
|
|
4906
|
+
path: z.ZodString;
|
|
4907
|
+
index: z.ZodString;
|
|
4908
|
+
worktree: z.ZodString;
|
|
4909
|
+
}, z.core.$strict>>;
|
|
4910
|
+
clean: z.ZodBoolean;
|
|
4911
|
+
truncated: z.ZodBoolean;
|
|
4912
|
+
}, z.core.$strict>;
|
|
4913
|
+
readonly kind: "unary";
|
|
4914
|
+
readonly since: "1.22";
|
|
4915
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
|
|
4916
|
+
};
|
|
4917
|
+
readonly "git.diff": {
|
|
4918
|
+
readonly params: z.ZodObject<{
|
|
4919
|
+
cwd: z.ZodString;
|
|
4920
|
+
path: z.ZodOptional<z.ZodString>;
|
|
4921
|
+
staged: z.ZodDefault<z.ZodBoolean>;
|
|
4922
|
+
}, z.core.$strict>;
|
|
4923
|
+
readonly result: z.ZodObject<{
|
|
4924
|
+
diff: z.ZodString;
|
|
4925
|
+
truncated: z.ZodBoolean;
|
|
4926
|
+
}, z.core.$strict>;
|
|
4927
|
+
readonly kind: "unary";
|
|
4928
|
+
readonly since: "1.22";
|
|
4929
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
|
|
4930
|
+
};
|
|
4931
|
+
readonly "git.log": {
|
|
4932
|
+
readonly params: z.ZodObject<{
|
|
4933
|
+
cwd: z.ZodString;
|
|
4934
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
4935
|
+
}, z.core.$strict>;
|
|
4936
|
+
readonly result: z.ZodObject<{
|
|
4937
|
+
commits: z.ZodArray<z.ZodObject<{
|
|
4938
|
+
sha: z.ZodString;
|
|
4939
|
+
short: z.ZodString;
|
|
4940
|
+
author: z.ZodString;
|
|
4941
|
+
date: z.ZodString;
|
|
4942
|
+
subject: z.ZodString;
|
|
4943
|
+
}, z.core.$strict>>;
|
|
4944
|
+
}, z.core.$strict>;
|
|
4945
|
+
readonly kind: "unary";
|
|
4946
|
+
readonly since: "1.22";
|
|
4947
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
|
|
4948
|
+
};
|
|
4949
|
+
readonly "git.add": {
|
|
4950
|
+
readonly params: z.ZodObject<{
|
|
4951
|
+
cwd: z.ZodString;
|
|
4952
|
+
paths: z.ZodArray<z.ZodString>;
|
|
4953
|
+
}, z.core.$strict>;
|
|
4954
|
+
readonly result: z.ZodObject<{
|
|
4955
|
+
output: z.ZodString;
|
|
4956
|
+
truncated: z.ZodBoolean;
|
|
4957
|
+
}, z.core.$strict>;
|
|
4958
|
+
readonly kind: "unary";
|
|
4959
|
+
readonly since: "1.22";
|
|
4960
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
|
|
4961
|
+
};
|
|
4962
|
+
readonly "git.commit": {
|
|
4963
|
+
readonly params: z.ZodObject<{
|
|
4964
|
+
cwd: z.ZodString;
|
|
4965
|
+
message: z.ZodString;
|
|
4966
|
+
amend: z.ZodDefault<z.ZodBoolean>;
|
|
4967
|
+
author: z.ZodOptional<z.ZodString>;
|
|
4968
|
+
}, z.core.$strict>;
|
|
4969
|
+
readonly result: z.ZodObject<{
|
|
4970
|
+
sha: z.ZodString;
|
|
4971
|
+
output: z.ZodString;
|
|
4972
|
+
truncated: z.ZodBoolean;
|
|
4973
|
+
}, z.core.$strict>;
|
|
4974
|
+
readonly kind: "unary";
|
|
4975
|
+
readonly since: "1.22";
|
|
4976
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
|
|
4977
|
+
};
|
|
4978
|
+
readonly "git.push": {
|
|
4979
|
+
readonly params: z.ZodObject<{
|
|
4980
|
+
cwd: z.ZodString;
|
|
4981
|
+
remote: z.ZodDefault<z.ZodString>;
|
|
4982
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
4983
|
+
force_with_lease: z.ZodDefault<z.ZodBoolean>;
|
|
4984
|
+
}, z.core.$strict>;
|
|
4985
|
+
readonly result: z.ZodObject<{
|
|
4986
|
+
output: z.ZodString;
|
|
4987
|
+
truncated: z.ZodBoolean;
|
|
4988
|
+
}, z.core.$strict>;
|
|
4989
|
+
readonly kind: "unary";
|
|
4990
|
+
readonly since: "1.22";
|
|
4991
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
|
|
4992
|
+
};
|
|
4993
|
+
readonly "git.pull": {
|
|
4994
|
+
readonly params: z.ZodObject<{
|
|
4995
|
+
cwd: z.ZodString;
|
|
4996
|
+
remote: z.ZodDefault<z.ZodString>;
|
|
4997
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
4998
|
+
rebase: z.ZodDefault<z.ZodBoolean>;
|
|
4999
|
+
}, z.core.$strict>;
|
|
5000
|
+
readonly result: z.ZodObject<{
|
|
5001
|
+
output: z.ZodString;
|
|
5002
|
+
truncated: z.ZodBoolean;
|
|
5003
|
+
}, z.core.$strict>;
|
|
5004
|
+
readonly kind: "unary";
|
|
5005
|
+
readonly since: "1.22";
|
|
5006
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
|
|
3706
5007
|
};
|
|
3707
5008
|
readonly "git.branch": {
|
|
3708
5009
|
readonly params: z.ZodObject<{
|
|
@@ -3794,79 +5095,381 @@ declare const OPS: {
|
|
|
3794
5095
|
elapsed_ms: z.ZodInt;
|
|
3795
5096
|
}, z.core.$strict>;
|
|
3796
5097
|
readonly kind: "unary";
|
|
3797
|
-
readonly since: "1.22";
|
|
3798
|
-
readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
|
|
5098
|
+
readonly since: "1.22";
|
|
5099
|
+
readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
|
|
5100
|
+
};
|
|
5101
|
+
readonly "web.scrape": {
|
|
5102
|
+
readonly params: z.ZodObject<{
|
|
5103
|
+
urls: z.ZodArray<z.ZodString>;
|
|
5104
|
+
use_cache: z.ZodDefault<z.ZodBoolean>;
|
|
5105
|
+
get_links: z.ZodDefault<z.ZodBoolean>;
|
|
5106
|
+
engine: z.ZodOptional<z.ZodEnum<{
|
|
5107
|
+
auto: "auto";
|
|
5108
|
+
server: "server";
|
|
5109
|
+
browser: "browser";
|
|
5110
|
+
}>>;
|
|
5111
|
+
land: z.ZodOptional<z.ZodObject<{
|
|
5112
|
+
organization_id: z.ZodOptional<z.ZodString>;
|
|
5113
|
+
keep: z.ZodDefault<z.ZodBoolean>;
|
|
5114
|
+
attach_to: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5115
|
+
entity_type: z.ZodString;
|
|
5116
|
+
entity_id: z.ZodString;
|
|
5117
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5118
|
+
}, z.core.$strict>>>;
|
|
5119
|
+
}, z.core.$strict>>;
|
|
5120
|
+
}, z.core.$strict>;
|
|
5121
|
+
readonly result: z.ZodObject<{
|
|
5122
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
5123
|
+
url: z.ZodString;
|
|
5124
|
+
ok: z.ZodBoolean;
|
|
5125
|
+
status: z.ZodNullable<z.ZodInt>;
|
|
5126
|
+
title: z.ZodNullable<z.ZodString>;
|
|
5127
|
+
text: z.ZodString;
|
|
5128
|
+
truncated: z.ZodBoolean;
|
|
5129
|
+
links: z.ZodArray<z.ZodString>;
|
|
5130
|
+
error: z.ZodNullable<z.ZodString>;
|
|
5131
|
+
via: z.ZodNullable<z.ZodString>;
|
|
5132
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5133
|
+
state: z.ZodLiteral<"saved">;
|
|
5134
|
+
processed_document_id: z.ZodString;
|
|
5135
|
+
source_id: z.ZodString;
|
|
5136
|
+
reused_existing: z.ZodBoolean;
|
|
5137
|
+
new_version_of: z.ZodNullable<z.ZodString>;
|
|
5138
|
+
kept: z.ZodBoolean;
|
|
5139
|
+
intelligence: z.ZodEnum<{
|
|
5140
|
+
never: "never";
|
|
5141
|
+
queued: "queued";
|
|
5142
|
+
deferred: "deferred";
|
|
5143
|
+
}>;
|
|
5144
|
+
original_file_id: z.ZodNullable<z.ZodString>;
|
|
5145
|
+
organization_id: z.ZodString;
|
|
5146
|
+
notices: z.ZodArray<z.ZodObject<{
|
|
5147
|
+
code: z.ZodString;
|
|
5148
|
+
message: z.ZodString;
|
|
5149
|
+
remedy: z.ZodString;
|
|
5150
|
+
}, z.core.$strict>>;
|
|
5151
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5152
|
+
state: z.ZodLiteral<"not_saved">;
|
|
5153
|
+
outbox_id: z.ZodString;
|
|
5154
|
+
reason: z.ZodEnum<{
|
|
5155
|
+
signed_out: "signed_out";
|
|
5156
|
+
queued: "queued";
|
|
5157
|
+
offline: "offline";
|
|
5158
|
+
rejected: "rejected";
|
|
5159
|
+
}>;
|
|
5160
|
+
message: z.ZodString;
|
|
5161
|
+
}, z.core.$strict>], "state">>;
|
|
5162
|
+
}, z.core.$strict>>;
|
|
5163
|
+
elapsed_ms: z.ZodInt;
|
|
5164
|
+
}, z.core.$strict>;
|
|
5165
|
+
readonly kind: "unary";
|
|
5166
|
+
readonly since: "1.22";
|
|
5167
|
+
readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
|
|
5168
|
+
};
|
|
5169
|
+
readonly "web.search": {
|
|
5170
|
+
readonly params: z.ZodObject<{
|
|
5171
|
+
keywords: z.ZodArray<z.ZodString>;
|
|
5172
|
+
country: z.ZodDefault<z.ZodString>;
|
|
5173
|
+
count: z.ZodDefault<z.ZodInt>;
|
|
5174
|
+
freshness: z.ZodOptional<z.ZodEnum<{
|
|
5175
|
+
pd: "pd";
|
|
5176
|
+
pw: "pw";
|
|
5177
|
+
pm: "pm";
|
|
5178
|
+
py: "py";
|
|
5179
|
+
}>>;
|
|
5180
|
+
}, z.core.$strict>;
|
|
5181
|
+
readonly result: z.ZodObject<{
|
|
5182
|
+
queries: z.ZodArray<z.ZodObject<{
|
|
5183
|
+
keyword: z.ZodString;
|
|
5184
|
+
hits: z.ZodArray<z.ZodObject<{
|
|
5185
|
+
title: z.ZodString;
|
|
5186
|
+
url: z.ZodString;
|
|
5187
|
+
description: z.ZodString;
|
|
5188
|
+
}, z.core.$strict>>;
|
|
5189
|
+
error: z.ZodNullable<z.ZodString>;
|
|
5190
|
+
}, z.core.$strict>>;
|
|
5191
|
+
elapsed_ms: z.ZodInt;
|
|
5192
|
+
}, z.core.$strict>;
|
|
5193
|
+
readonly kind: "unary";
|
|
5194
|
+
readonly since: "1.22";
|
|
5195
|
+
readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
|
|
5196
|
+
};
|
|
5197
|
+
readonly "web.fetch_with_browser": {
|
|
5198
|
+
readonly params: z.ZodObject<{
|
|
5199
|
+
url: z.ZodString;
|
|
5200
|
+
wait_for: z.ZodOptional<z.ZodString>;
|
|
5201
|
+
wait_timeout_ms: z.ZodDefault<z.ZodInt>;
|
|
5202
|
+
extract_text: z.ZodDefault<z.ZodBoolean>;
|
|
5203
|
+
land: z.ZodOptional<z.ZodObject<{
|
|
5204
|
+
organization_id: z.ZodOptional<z.ZodString>;
|
|
5205
|
+
keep: z.ZodDefault<z.ZodBoolean>;
|
|
5206
|
+
attach_to: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5207
|
+
entity_type: z.ZodString;
|
|
5208
|
+
entity_id: z.ZodString;
|
|
5209
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5210
|
+
}, z.core.$strict>>>;
|
|
5211
|
+
}, z.core.$strict>>;
|
|
5212
|
+
}, z.core.$strict>;
|
|
5213
|
+
readonly result: z.ZodObject<{
|
|
5214
|
+
url: z.ZodString;
|
|
5215
|
+
status: z.ZodNullable<z.ZodInt>;
|
|
5216
|
+
title: z.ZodNullable<z.ZodString>;
|
|
5217
|
+
content: z.ZodString;
|
|
5218
|
+
truncated: z.ZodBoolean;
|
|
5219
|
+
elapsed_ms: z.ZodInt;
|
|
5220
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5221
|
+
state: z.ZodLiteral<"saved">;
|
|
5222
|
+
processed_document_id: z.ZodString;
|
|
5223
|
+
source_id: z.ZodString;
|
|
5224
|
+
reused_existing: z.ZodBoolean;
|
|
5225
|
+
new_version_of: z.ZodNullable<z.ZodString>;
|
|
5226
|
+
kept: z.ZodBoolean;
|
|
5227
|
+
intelligence: z.ZodEnum<{
|
|
5228
|
+
never: "never";
|
|
5229
|
+
queued: "queued";
|
|
5230
|
+
deferred: "deferred";
|
|
5231
|
+
}>;
|
|
5232
|
+
original_file_id: z.ZodNullable<z.ZodString>;
|
|
5233
|
+
organization_id: z.ZodString;
|
|
5234
|
+
notices: z.ZodArray<z.ZodObject<{
|
|
5235
|
+
code: z.ZodString;
|
|
5236
|
+
message: z.ZodString;
|
|
5237
|
+
remedy: z.ZodString;
|
|
5238
|
+
}, z.core.$strict>>;
|
|
5239
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5240
|
+
state: z.ZodLiteral<"not_saved">;
|
|
5241
|
+
outbox_id: z.ZodString;
|
|
5242
|
+
reason: z.ZodEnum<{
|
|
5243
|
+
signed_out: "signed_out";
|
|
5244
|
+
queued: "queued";
|
|
5245
|
+
offline: "offline";
|
|
5246
|
+
rejected: "rejected";
|
|
5247
|
+
}>;
|
|
5248
|
+
message: z.ZodString;
|
|
5249
|
+
}, z.core.$strict>], "state">>;
|
|
5250
|
+
}, z.core.$strict>;
|
|
5251
|
+
readonly kind: "unary";
|
|
5252
|
+
readonly since: "1.22";
|
|
5253
|
+
readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
|
|
5254
|
+
};
|
|
5255
|
+
readonly "web.runtime.state": {
|
|
5256
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
5257
|
+
readonly result: z.ZodObject<{
|
|
5258
|
+
state: z.ZodEnum<{
|
|
5259
|
+
failed: "failed";
|
|
5260
|
+
not_installed: "not_installed";
|
|
5261
|
+
installing: "installing";
|
|
5262
|
+
installed: "installed";
|
|
5263
|
+
}>;
|
|
5264
|
+
error: z.ZodNullable<z.ZodString>;
|
|
5265
|
+
size_bytes: z.ZodNullable<z.ZodInt>;
|
|
5266
|
+
can_show_window: z.ZodBoolean;
|
|
5267
|
+
}, z.core.$strict>;
|
|
5268
|
+
readonly kind: "unary";
|
|
5269
|
+
readonly since: "1.40";
|
|
5270
|
+
readonly errors: readonly ["INTERNAL"];
|
|
5271
|
+
};
|
|
5272
|
+
readonly "web.runtime.install": {
|
|
5273
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
5274
|
+
readonly result: z.ZodObject<{
|
|
5275
|
+
state: z.ZodEnum<{
|
|
5276
|
+
failed: "failed";
|
|
5277
|
+
not_installed: "not_installed";
|
|
5278
|
+
installing: "installing";
|
|
5279
|
+
installed: "installed";
|
|
5280
|
+
}>;
|
|
5281
|
+
error: z.ZodNullable<z.ZodString>;
|
|
5282
|
+
size_bytes: z.ZodNullable<z.ZodInt>;
|
|
5283
|
+
can_show_window: z.ZodBoolean;
|
|
5284
|
+
}, z.core.$strict>;
|
|
5285
|
+
readonly kind: "unary";
|
|
5286
|
+
readonly since: "1.40";
|
|
5287
|
+
readonly errors: readonly ["TIMEOUT", "RESOURCE_BUSY", "CANCELLED", "INTERNAL"];
|
|
5288
|
+
};
|
|
5289
|
+
readonly "web.runtime.remove": {
|
|
5290
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
5291
|
+
readonly result: z.ZodObject<{
|
|
5292
|
+
state: z.ZodEnum<{
|
|
5293
|
+
failed: "failed";
|
|
5294
|
+
not_installed: "not_installed";
|
|
5295
|
+
installing: "installing";
|
|
5296
|
+
installed: "installed";
|
|
5297
|
+
}>;
|
|
5298
|
+
error: z.ZodNullable<z.ZodString>;
|
|
5299
|
+
size_bytes: z.ZodNullable<z.ZodInt>;
|
|
5300
|
+
can_show_window: z.ZodBoolean;
|
|
5301
|
+
}, z.core.$strict>;
|
|
5302
|
+
readonly kind: "unary";
|
|
5303
|
+
readonly since: "1.40";
|
|
5304
|
+
readonly errors: readonly ["RESOURCE_BUSY", "INTERNAL"];
|
|
5305
|
+
};
|
|
5306
|
+
readonly "web.outbox.list": {
|
|
5307
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
5308
|
+
readonly result: z.ZodObject<{
|
|
5309
|
+
items: z.ZodArray<z.ZodObject<{
|
|
5310
|
+
outbox_id: z.ZodString;
|
|
5311
|
+
url: z.ZodString;
|
|
5312
|
+
title: z.ZodNullable<z.ZodString>;
|
|
5313
|
+
organization_id: z.ZodNullable<z.ZodString>;
|
|
5314
|
+
reason: z.ZodEnum<{
|
|
5315
|
+
signed_out: "signed_out";
|
|
5316
|
+
queued: "queued";
|
|
5317
|
+
offline: "offline";
|
|
5318
|
+
rejected: "rejected";
|
|
5319
|
+
}>;
|
|
5320
|
+
message: z.ZodString;
|
|
5321
|
+
attempts: z.ZodInt;
|
|
5322
|
+
created_at_ms: z.ZodInt;
|
|
5323
|
+
last_attempt_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5324
|
+
bytes: z.ZodInt;
|
|
5325
|
+
}, z.core.$strict>>;
|
|
5326
|
+
bytes: z.ZodInt;
|
|
5327
|
+
cap_bytes: z.ZodInt;
|
|
5328
|
+
}, z.core.$strict>;
|
|
5329
|
+
readonly kind: "unary";
|
|
5330
|
+
readonly since: "1.40";
|
|
5331
|
+
readonly errors: readonly ["INTERNAL"];
|
|
5332
|
+
};
|
|
5333
|
+
readonly "web.outbox.retry": {
|
|
5334
|
+
readonly params: z.ZodObject<{
|
|
5335
|
+
outbox_id: z.ZodOptional<z.ZodString>;
|
|
5336
|
+
}, z.core.$strict>;
|
|
5337
|
+
readonly result: z.ZodObject<{
|
|
5338
|
+
saved: z.ZodInt;
|
|
5339
|
+
waiting: z.ZodInt;
|
|
5340
|
+
}, z.core.$strict>;
|
|
5341
|
+
readonly kind: "unary";
|
|
5342
|
+
readonly since: "1.40";
|
|
5343
|
+
readonly errors: readonly ["NOT_FOUND", "AUTH_REQUIRED", "INTERNAL"];
|
|
3799
5344
|
};
|
|
3800
|
-
readonly "web.
|
|
5345
|
+
readonly "web.outbox.discard": {
|
|
3801
5346
|
readonly params: z.ZodObject<{
|
|
3802
|
-
|
|
3803
|
-
use_cache: z.ZodDefault<z.ZodBoolean>;
|
|
3804
|
-
get_links: z.ZodDefault<z.ZodBoolean>;
|
|
5347
|
+
outbox_id: z.ZodString;
|
|
3805
5348
|
}, z.core.$strict>;
|
|
3806
5349
|
readonly result: z.ZodObject<{
|
|
3807
|
-
|
|
5350
|
+
discarded: z.ZodBoolean;
|
|
5351
|
+
}, z.core.$strict>;
|
|
5352
|
+
readonly kind: "unary";
|
|
5353
|
+
readonly since: "1.40";
|
|
5354
|
+
readonly errors: readonly ["NOT_FOUND", "INTERNAL"];
|
|
5355
|
+
};
|
|
5356
|
+
readonly "web.log.list": {
|
|
5357
|
+
readonly params: z.ZodObject<{
|
|
5358
|
+
since_ms: z.ZodOptional<z.ZodInt>;
|
|
5359
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
5360
|
+
}, z.core.$strict>;
|
|
5361
|
+
readonly result: z.ZodObject<{
|
|
5362
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
5363
|
+
id: z.ZodString;
|
|
5364
|
+
at_ms: z.ZodInt;
|
|
5365
|
+
caller: z.ZodEnum<{
|
|
5366
|
+
agent: "agent";
|
|
5367
|
+
phone: "phone";
|
|
5368
|
+
other: "other";
|
|
5369
|
+
person: "person";
|
|
5370
|
+
research: "research";
|
|
5371
|
+
}>;
|
|
3808
5372
|
url: z.ZodString;
|
|
3809
|
-
ok: z.ZodBoolean;
|
|
3810
|
-
status: z.ZodNullable<z.ZodInt>;
|
|
3811
5373
|
title: z.ZodNullable<z.ZodString>;
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
5374
|
+
result: z.ZodEnum<{
|
|
5375
|
+
failed: "failed";
|
|
5376
|
+
blocked: "blocked";
|
|
5377
|
+
saved: "saved";
|
|
5378
|
+
not_saved: "not_saved";
|
|
5379
|
+
read: "read";
|
|
5380
|
+
}>;
|
|
5381
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
5382
|
+
via: z.ZodEnum<{
|
|
5383
|
+
server: "server";
|
|
5384
|
+
this_computer: "this_computer";
|
|
5385
|
+
browser: "browser";
|
|
5386
|
+
}>;
|
|
5387
|
+
duration_ms: z.ZodInt;
|
|
5388
|
+
processed_document_id: z.ZodNullable<z.ZodString>;
|
|
3817
5389
|
}, z.core.$strict>>;
|
|
3818
|
-
elapsed_ms: z.ZodInt;
|
|
3819
5390
|
}, z.core.$strict>;
|
|
3820
5391
|
readonly kind: "unary";
|
|
3821
|
-
readonly since: "1.
|
|
3822
|
-
readonly errors: readonly ["INVALID_PARAMS"
|
|
5392
|
+
readonly since: "1.40";
|
|
5393
|
+
readonly errors: readonly ["INVALID_PARAMS"];
|
|
3823
5394
|
};
|
|
3824
|
-
readonly "web.
|
|
5395
|
+
readonly "web.log.clear": {
|
|
5396
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
5397
|
+
readonly result: z.ZodObject<{
|
|
5398
|
+
cleared: z.ZodInt;
|
|
5399
|
+
}, z.core.$strict>;
|
|
5400
|
+
readonly kind: "unary";
|
|
5401
|
+
readonly since: "1.40";
|
|
5402
|
+
readonly errors: readonly ["INTERNAL"];
|
|
5403
|
+
};
|
|
5404
|
+
readonly "web.research.queue": {
|
|
3825
5405
|
readonly params: z.ZodObject<{
|
|
3826
|
-
|
|
3827
|
-
country: z.ZodDefault<z.ZodString>;
|
|
3828
|
-
count: z.ZodDefault<z.ZodInt>;
|
|
3829
|
-
freshness: z.ZodOptional<z.ZodEnum<{
|
|
3830
|
-
pd: "pd";
|
|
3831
|
-
pw: "pw";
|
|
3832
|
-
pm: "pm";
|
|
3833
|
-
py: "py";
|
|
3834
|
-
}>>;
|
|
5406
|
+
topic_id: z.ZodOptional<z.ZodString>;
|
|
3835
5407
|
}, z.core.$strict>;
|
|
3836
5408
|
readonly result: z.ZodObject<{
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
5409
|
+
state: z.ZodEnum<{
|
|
5410
|
+
ready: "ready";
|
|
5411
|
+
signed_out: "signed_out";
|
|
5412
|
+
unavailable: "unavailable";
|
|
5413
|
+
}>;
|
|
5414
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
5415
|
+
items: z.ZodArray<z.ZodObject<{
|
|
5416
|
+
topic_id: z.ZodString;
|
|
5417
|
+
topic_name: z.ZodString;
|
|
5418
|
+
source_id: z.ZodString;
|
|
5419
|
+
url: z.ZodString;
|
|
5420
|
+
title: z.ZodNullable<z.ZodString>;
|
|
5421
|
+
level: z.ZodInt;
|
|
5422
|
+
last_failure: z.ZodNullable<z.ZodString>;
|
|
5423
|
+
state: z.ZodEnum<{
|
|
5424
|
+
failed: "failed";
|
|
5425
|
+
waiting: "waiting";
|
|
5426
|
+
blocked: "blocked";
|
|
5427
|
+
saved: "saved";
|
|
5428
|
+
fetching: "fetching";
|
|
5429
|
+
thin: "thin";
|
|
5430
|
+
cannot_edit: "cannot_edit";
|
|
5431
|
+
}>;
|
|
5432
|
+
message: z.ZodNullable<z.ZodString>;
|
|
3845
5433
|
}, z.core.$strict>>;
|
|
3846
|
-
|
|
5434
|
+
view_only: z.ZodInt;
|
|
3847
5435
|
}, z.core.$strict>;
|
|
3848
5436
|
readonly kind: "unary";
|
|
3849
|
-
readonly since: "1.
|
|
3850
|
-
readonly errors: readonly ["INVALID_PARAMS", "
|
|
5437
|
+
readonly since: "1.40";
|
|
5438
|
+
readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
|
|
3851
5439
|
};
|
|
3852
|
-
readonly "web.
|
|
5440
|
+
readonly "web.research.fetch": {
|
|
3853
5441
|
readonly params: z.ZodObject<{
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
wait_timeout_ms: z.ZodDefault<z.ZodInt>;
|
|
3857
|
-
extract_text: z.ZodDefault<z.ZodBoolean>;
|
|
5442
|
+
topic_id: z.ZodOptional<z.ZodString>;
|
|
5443
|
+
source_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3858
5444
|
}, z.core.$strict>;
|
|
3859
5445
|
readonly result: z.ZodObject<{
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
5446
|
+
items: z.ZodArray<z.ZodObject<{
|
|
5447
|
+
topic_id: z.ZodString;
|
|
5448
|
+
topic_name: z.ZodString;
|
|
5449
|
+
source_id: z.ZodString;
|
|
5450
|
+
url: z.ZodString;
|
|
5451
|
+
title: z.ZodNullable<z.ZodString>;
|
|
5452
|
+
level: z.ZodInt;
|
|
5453
|
+
last_failure: z.ZodNullable<z.ZodString>;
|
|
5454
|
+
state: z.ZodEnum<{
|
|
5455
|
+
failed: "failed";
|
|
5456
|
+
waiting: "waiting";
|
|
5457
|
+
blocked: "blocked";
|
|
5458
|
+
saved: "saved";
|
|
5459
|
+
fetching: "fetching";
|
|
5460
|
+
thin: "thin";
|
|
5461
|
+
cannot_edit: "cannot_edit";
|
|
5462
|
+
}>;
|
|
5463
|
+
message: z.ZodNullable<z.ZodString>;
|
|
5464
|
+
}, z.core.$strict>>;
|
|
5465
|
+
saved: z.ZodInt;
|
|
5466
|
+
thin: z.ZodInt;
|
|
5467
|
+
failed: z.ZodInt;
|
|
5468
|
+
cannot_edit: z.ZodInt;
|
|
3866
5469
|
}, z.core.$strict>;
|
|
3867
5470
|
readonly kind: "unary";
|
|
3868
|
-
readonly since: "1.
|
|
3869
|
-
readonly errors: readonly ["INVALID_PARAMS", "
|
|
5471
|
+
readonly since: "1.40";
|
|
5472
|
+
readonly errors: readonly ["INVALID_PARAMS", "AUTH_REQUIRED", "RESOURCE_BUSY", "CANCELLED", "INTERNAL"];
|
|
3870
5473
|
};
|
|
3871
5474
|
readonly "account.agents.list": {
|
|
3872
5475
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
@@ -3888,6 +5491,17 @@ declare const OPS: {
|
|
|
3888
5491
|
shared_by: z.ZodNullable<z.ZodString>;
|
|
3889
5492
|
organization: z.ZodNullable<z.ZodString>;
|
|
3890
5493
|
updated_at_ms: z.ZodInt;
|
|
5494
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5495
|
+
model_id: z.ZodOptional<z.ZodString>;
|
|
5496
|
+
access_level: z.ZodOptional<z.ZodString>;
|
|
5497
|
+
organization_id: z.ZodOptional<z.ZodString>;
|
|
5498
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
5499
|
+
mine: "mine";
|
|
5500
|
+
shared: "shared";
|
|
5501
|
+
system: "system";
|
|
5502
|
+
}>>;
|
|
5503
|
+
is_archived: z.ZodOptional<z.ZodBoolean>;
|
|
5504
|
+
orchestra: z.ZodOptional<z.ZodBoolean>;
|
|
3891
5505
|
}, z.core.$strict>>;
|
|
3892
5506
|
}, z.core.$strict>;
|
|
3893
5507
|
readonly kind: "unary";
|
|
@@ -3908,9 +5522,9 @@ declare const OPS: {
|
|
|
3908
5522
|
name: z.ZodString;
|
|
3909
5523
|
kind: z.ZodEnum<{
|
|
3910
5524
|
key: "key";
|
|
5525
|
+
other: "other";
|
|
3911
5526
|
login: "login";
|
|
3912
5527
|
passkey: "passkey";
|
|
3913
|
-
other: "other";
|
|
3914
5528
|
}>;
|
|
3915
5529
|
definition: z.ZodString;
|
|
3916
5530
|
username: z.ZodNullable<z.ZodString>;
|
|
@@ -3948,6 +5562,126 @@ declare const OPS: {
|
|
|
3948
5562
|
readonly since: "1.23";
|
|
3949
5563
|
readonly errors: readonly ["AUTH_REQUIRED", "AUTH_FORBIDDEN", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
|
|
3950
5564
|
};
|
|
5565
|
+
readonly "account.agents.get": {
|
|
5566
|
+
readonly params: z.ZodObject<{
|
|
5567
|
+
agent_id: z.ZodString;
|
|
5568
|
+
}, z.core.$strict>;
|
|
5569
|
+
readonly result: z.ZodObject<{
|
|
5570
|
+
state: z.ZodEnum<{
|
|
5571
|
+
ok: "ok";
|
|
5572
|
+
signed_out: "signed_out";
|
|
5573
|
+
unavailable: "unavailable";
|
|
5574
|
+
}>;
|
|
5575
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
5576
|
+
detail: z.ZodNullable<z.ZodObject<{
|
|
5577
|
+
agent: z.ZodObject<{
|
|
5578
|
+
id: z.ZodString;
|
|
5579
|
+
name: z.ZodString;
|
|
5580
|
+
description: z.ZodString;
|
|
5581
|
+
category: z.ZodString;
|
|
5582
|
+
agent_type: z.ZodString;
|
|
5583
|
+
is_favorite: z.ZodBoolean;
|
|
5584
|
+
is_owner: z.ZodBoolean;
|
|
5585
|
+
shared_by: z.ZodNullable<z.ZodString>;
|
|
5586
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
5587
|
+
updated_at_ms: z.ZodInt;
|
|
5588
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5589
|
+
model_id: z.ZodOptional<z.ZodString>;
|
|
5590
|
+
access_level: z.ZodOptional<z.ZodString>;
|
|
5591
|
+
organization_id: z.ZodOptional<z.ZodString>;
|
|
5592
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
5593
|
+
mine: "mine";
|
|
5594
|
+
shared: "shared";
|
|
5595
|
+
system: "system";
|
|
5596
|
+
}>>;
|
|
5597
|
+
is_archived: z.ZodOptional<z.ZodBoolean>;
|
|
5598
|
+
orchestra: z.ZodOptional<z.ZodBoolean>;
|
|
5599
|
+
}, z.core.$strict>;
|
|
5600
|
+
variables: z.ZodArray<z.ZodObject<{
|
|
5601
|
+
name: z.ZodString;
|
|
5602
|
+
default_value: z.ZodString;
|
|
5603
|
+
required: z.ZodBoolean;
|
|
5604
|
+
help: z.ZodString;
|
|
5605
|
+
}, z.core.$strict>>;
|
|
5606
|
+
tool_count: z.ZodInt;
|
|
5607
|
+
custom_tool_count: z.ZodInt;
|
|
5608
|
+
skill_count: z.ZodInt;
|
|
5609
|
+
connection_count: z.ZodInt;
|
|
5610
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
5611
|
+
}, z.core.$strict>>;
|
|
5612
|
+
}, z.core.$strict>;
|
|
5613
|
+
readonly kind: "unary";
|
|
5614
|
+
readonly since: "1.39";
|
|
5615
|
+
readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
|
|
5616
|
+
};
|
|
5617
|
+
readonly "account.agents.runs": {
|
|
5618
|
+
readonly params: z.ZodObject<{
|
|
5619
|
+
agent_id: z.ZodString;
|
|
5620
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
5621
|
+
running: "running";
|
|
5622
|
+
failed: "failed";
|
|
5623
|
+
stopped: "stopped";
|
|
5624
|
+
waiting: "waiting";
|
|
5625
|
+
succeeded: "succeeded";
|
|
5626
|
+
warned: "warned";
|
|
5627
|
+
}>>;
|
|
5628
|
+
sort: z.ZodOptional<z.ZodEnum<{
|
|
5629
|
+
status: "status";
|
|
5630
|
+
cost: "cost";
|
|
5631
|
+
started_at: "started_at";
|
|
5632
|
+
duration: "duration";
|
|
5633
|
+
}>>;
|
|
5634
|
+
descending: z.ZodOptional<z.ZodBoolean>;
|
|
5635
|
+
offset: z.ZodOptional<z.ZodInt>;
|
|
5636
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
5637
|
+
}, z.core.$strict>;
|
|
5638
|
+
readonly result: z.ZodObject<{
|
|
5639
|
+
state: z.ZodEnum<{
|
|
5640
|
+
ok: "ok";
|
|
5641
|
+
signed_out: "signed_out";
|
|
5642
|
+
unavailable: "unavailable";
|
|
5643
|
+
}>;
|
|
5644
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
5645
|
+
total: z.ZodInt;
|
|
5646
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
5647
|
+
run_id: z.ZodString;
|
|
5648
|
+
status: z.ZodEnum<{
|
|
5649
|
+
running: "running";
|
|
5650
|
+
failed: "failed";
|
|
5651
|
+
stopped: "stopped";
|
|
5652
|
+
waiting: "waiting";
|
|
5653
|
+
succeeded: "succeeded";
|
|
5654
|
+
warned: "warned";
|
|
5655
|
+
}>;
|
|
5656
|
+
started_at_ms: z.ZodInt;
|
|
5657
|
+
completed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5658
|
+
duration_ms: z.ZodNullable<z.ZodInt>;
|
|
5659
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
5660
|
+
tokens: z.ZodNullable<z.ZodInt>;
|
|
5661
|
+
output_preview: z.ZodNullable<z.ZodString>;
|
|
5662
|
+
error: z.ZodNullable<z.ZodString>;
|
|
5663
|
+
mandate_key: z.ZodNullable<z.ZodString>;
|
|
5664
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
5665
|
+
conversation_id: z.ZodNullable<z.ZodString>;
|
|
5666
|
+
has_transcript: z.ZodBoolean;
|
|
5667
|
+
}, z.core.$strict>>;
|
|
5668
|
+
}, z.core.$strict>;
|
|
5669
|
+
readonly kind: "unary";
|
|
5670
|
+
readonly since: "1.39";
|
|
5671
|
+
readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
|
|
5672
|
+
};
|
|
5673
|
+
readonly "account.agents.favorite": {
|
|
5674
|
+
readonly params: z.ZodObject<{
|
|
5675
|
+
agent_id: z.ZodString;
|
|
5676
|
+
favorite: z.ZodBoolean;
|
|
5677
|
+
}, z.core.$strict>;
|
|
5678
|
+
readonly result: z.ZodObject<{
|
|
5679
|
+
favorite: z.ZodBoolean;
|
|
5680
|
+
}, z.core.$strict>;
|
|
5681
|
+
readonly kind: "unary";
|
|
5682
|
+
readonly since: "1.39";
|
|
5683
|
+
readonly errors: readonly ["AUTH_REQUIRED", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
|
|
5684
|
+
};
|
|
3951
5685
|
readonly "apps.windows.update_state": {
|
|
3952
5686
|
readonly params: z.ZodObject<{
|
|
3953
5687
|
app_key: z.ZodString;
|
|
@@ -4212,8 +5946,8 @@ declare const OPS: {
|
|
|
4212
5946
|
kind: z.ZodEnum<{
|
|
4213
5947
|
progress: "progress";
|
|
4214
5948
|
timeout: "timeout";
|
|
4215
|
-
closed: "closed";
|
|
4216
5949
|
result: "result";
|
|
5950
|
+
closed: "closed";
|
|
4217
5951
|
register: "register";
|
|
4218
5952
|
invoke: "invoke";
|
|
4219
5953
|
}>;
|
|
@@ -5110,8 +6844,8 @@ declare const OPS: {
|
|
|
5110
6844
|
text: z.ZodString;
|
|
5111
6845
|
labels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5112
6846
|
place: "place";
|
|
5113
|
-
organization: "organization";
|
|
5114
6847
|
person: "person";
|
|
6848
|
+
organization: "organization";
|
|
5115
6849
|
}>>>;
|
|
5116
6850
|
}, z.core.$strict>;
|
|
5117
6851
|
readonly result: z.ZodObject<{
|
|
@@ -5263,6 +6997,216 @@ declare const EVENTS: {
|
|
|
5263
6997
|
imported: z.ZodInt;
|
|
5264
6998
|
failed: z.ZodInt;
|
|
5265
6999
|
}, z.core.$strict>;
|
|
7000
|
+
readonly "coding.changed": z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7001
|
+
kind: z.ZodLiteral<"session">;
|
|
7002
|
+
session: z.ZodObject<{
|
|
7003
|
+
id: z.ZodString;
|
|
7004
|
+
provider: z.ZodEnum<{
|
|
7005
|
+
claude: "claude";
|
|
7006
|
+
codex: "codex";
|
|
7007
|
+
}>;
|
|
7008
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
7009
|
+
cwd: z.ZodString;
|
|
7010
|
+
title: z.ZodString;
|
|
7011
|
+
model: z.ZodNullable<z.ZodString>;
|
|
7012
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
7013
|
+
origin: z.ZodEnum<{
|
|
7014
|
+
started: "started";
|
|
7015
|
+
takeover: "takeover";
|
|
7016
|
+
}>;
|
|
7017
|
+
createdAt: z.ZodString;
|
|
7018
|
+
updatedAt: z.ZodString;
|
|
7019
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
7020
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
7021
|
+
running: "running";
|
|
7022
|
+
starting: "starting";
|
|
7023
|
+
failed: "failed";
|
|
7024
|
+
stopped: "stopped";
|
|
7025
|
+
completed: "completed";
|
|
7026
|
+
}>>;
|
|
7027
|
+
queued: z.ZodArray<z.ZodString>;
|
|
7028
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
7029
|
+
agentId: z.ZodString;
|
|
7030
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
7031
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
7032
|
+
name: z.ZodString;
|
|
7033
|
+
definitionHash: z.ZodString;
|
|
7034
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
7035
|
+
part: z.ZodEnum<{
|
|
7036
|
+
instructions: "instructions";
|
|
7037
|
+
skills: "skills";
|
|
7038
|
+
tools: "tools";
|
|
7039
|
+
}>;
|
|
7040
|
+
loaded: z.ZodInt;
|
|
7041
|
+
total: z.ZodInt;
|
|
7042
|
+
}, z.core.$strict>>;
|
|
7043
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
7044
|
+
kind: z.ZodString;
|
|
7045
|
+
name: z.ZodString;
|
|
7046
|
+
reason: z.ZodString;
|
|
7047
|
+
}, z.core.$strict>>;
|
|
7048
|
+
skills: z.ZodArray<z.ZodString>;
|
|
7049
|
+
tools: z.ZodArray<z.ZodString>;
|
|
7050
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7051
|
+
blockDue: z.ZodBoolean;
|
|
7052
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
7053
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
7054
|
+
}, z.core.$strict>>;
|
|
7055
|
+
agentRemovedDue: z.ZodBoolean;
|
|
7056
|
+
}, z.core.$strict>;
|
|
7057
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7058
|
+
kind: z.ZodLiteral<"run">;
|
|
7059
|
+
run: z.ZodObject<{
|
|
7060
|
+
runId: z.ZodString;
|
|
7061
|
+
sessionId: z.ZodString;
|
|
7062
|
+
provider: z.ZodEnum<{
|
|
7063
|
+
claude: "claude";
|
|
7064
|
+
codex: "codex";
|
|
7065
|
+
}>;
|
|
7066
|
+
cwd: z.ZodString;
|
|
7067
|
+
prompt: z.ZodString;
|
|
7068
|
+
model: z.ZodNullable<z.ZodString>;
|
|
7069
|
+
status: z.ZodEnum<{
|
|
7070
|
+
running: "running";
|
|
7071
|
+
starting: "starting";
|
|
7072
|
+
failed: "failed";
|
|
7073
|
+
stopped: "stopped";
|
|
7074
|
+
completed: "completed";
|
|
7075
|
+
}>;
|
|
7076
|
+
startedAt: z.ZodString;
|
|
7077
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
7078
|
+
error: z.ZodNullable<z.ZodString>;
|
|
7079
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
7080
|
+
inputTokens: z.ZodInt;
|
|
7081
|
+
outputTokens: z.ZodInt;
|
|
7082
|
+
cachedInputTokens: z.ZodInt;
|
|
7083
|
+
}, z.core.$strict>>;
|
|
7084
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
7085
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
7086
|
+
unknown: "unknown";
|
|
7087
|
+
subscription: "subscription";
|
|
7088
|
+
api: "api";
|
|
7089
|
+
}>>;
|
|
7090
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
7091
|
+
kind: z.ZodEnum<{
|
|
7092
|
+
agent: "agent";
|
|
7093
|
+
this_computer: "this_computer";
|
|
7094
|
+
web: "web";
|
|
7095
|
+
phone: "phone";
|
|
7096
|
+
other: "other";
|
|
7097
|
+
}>;
|
|
7098
|
+
label: z.ZodString;
|
|
7099
|
+
}, z.core.$strict>>;
|
|
7100
|
+
}, z.core.$strict>;
|
|
7101
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7102
|
+
kind: z.ZodLiteral<"preferences">;
|
|
7103
|
+
preferences: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7104
|
+
title: z.ZodNullable<z.ZodString>;
|
|
7105
|
+
pinned: z.ZodBoolean;
|
|
7106
|
+
hidden: z.ZodBoolean;
|
|
7107
|
+
lastSeenAt: z.ZodNullable<z.ZodString>;
|
|
7108
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
7109
|
+
}, z.core.$strict>>;
|
|
7110
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7111
|
+
kind: z.ZodLiteral<"titles">;
|
|
7112
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7113
|
+
kind: z.ZodLiteral<"recent">;
|
|
7114
|
+
recent: z.ZodArray<z.ZodObject<{
|
|
7115
|
+
target: z.ZodString;
|
|
7116
|
+
title: z.ZodString;
|
|
7117
|
+
provider: z.ZodEnum<{
|
|
7118
|
+
claude: "claude";
|
|
7119
|
+
codex: "codex";
|
|
7120
|
+
}>;
|
|
7121
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
7122
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
7123
|
+
cwd: z.ZodNullable<z.ZodString>;
|
|
7124
|
+
updatedAt: z.ZodString;
|
|
7125
|
+
state: z.ZodEnum<{
|
|
7126
|
+
running: "running";
|
|
7127
|
+
idle: "idle";
|
|
7128
|
+
needs_attention: "needs_attention";
|
|
7129
|
+
new_output: "new_output";
|
|
7130
|
+
elsewhere: "elsewhere";
|
|
7131
|
+
}>;
|
|
7132
|
+
stateLabel: z.ZodNullable<z.ZodString>;
|
|
7133
|
+
pinned: z.ZodBoolean;
|
|
7134
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
7135
|
+
kind: z.ZodEnum<{
|
|
7136
|
+
agent: "agent";
|
|
7137
|
+
this_computer: "this_computer";
|
|
7138
|
+
web: "web";
|
|
7139
|
+
phone: "phone";
|
|
7140
|
+
other: "other";
|
|
7141
|
+
}>;
|
|
7142
|
+
label: z.ZodString;
|
|
7143
|
+
}, z.core.$strict>>;
|
|
7144
|
+
}, z.core.$strict>>;
|
|
7145
|
+
}, z.core.$strict>], "kind">;
|
|
7146
|
+
readonly "coding.watch_state": z.ZodObject<{
|
|
7147
|
+
live: z.ZodBoolean;
|
|
7148
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
7149
|
+
beat_ms: z.ZodInt;
|
|
7150
|
+
}, z.core.$strict>;
|
|
7151
|
+
readonly "coding.item": z.ZodObject<{
|
|
7152
|
+
session_id: z.ZodString;
|
|
7153
|
+
run_id: z.ZodString;
|
|
7154
|
+
seq: z.ZodInt;
|
|
7155
|
+
item: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7156
|
+
kind: z.ZodLiteral<"user">;
|
|
7157
|
+
id: z.ZodString;
|
|
7158
|
+
text: z.ZodString;
|
|
7159
|
+
at: z.ZodNullable<z.ZodString>;
|
|
7160
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7161
|
+
kind: z.ZodLiteral<"text">;
|
|
7162
|
+
id: z.ZodString;
|
|
7163
|
+
text: z.ZodString;
|
|
7164
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7165
|
+
kind: z.ZodLiteral<"text-delta">;
|
|
7166
|
+
id: z.ZodString;
|
|
7167
|
+
text: z.ZodString;
|
|
7168
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7169
|
+
kind: z.ZodLiteral<"reasoning">;
|
|
7170
|
+
id: z.ZodString;
|
|
7171
|
+
text: z.ZodString;
|
|
7172
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7173
|
+
kind: z.ZodLiteral<"tool-call">;
|
|
7174
|
+
id: z.ZodString;
|
|
7175
|
+
name: z.ZodString;
|
|
7176
|
+
input: z.ZodUnknown;
|
|
7177
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7178
|
+
kind: z.ZodLiteral<"tool-result">;
|
|
7179
|
+
id: z.ZodString;
|
|
7180
|
+
output: z.ZodString;
|
|
7181
|
+
isError: z.ZodBoolean;
|
|
7182
|
+
fullBytes: z.ZodOptional<z.ZodInt>;
|
|
7183
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7184
|
+
kind: z.ZodLiteral<"usage">;
|
|
7185
|
+
usage: z.ZodObject<{
|
|
7186
|
+
inputTokens: z.ZodInt;
|
|
7187
|
+
outputTokens: z.ZodInt;
|
|
7188
|
+
cachedInputTokens: z.ZodInt;
|
|
7189
|
+
}, z.core.$strict>;
|
|
7190
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
7191
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7192
|
+
kind: z.ZodLiteral<"notice">;
|
|
7193
|
+
id: z.ZodString;
|
|
7194
|
+
level: z.ZodEnum<{
|
|
7195
|
+
warning: "warning";
|
|
7196
|
+
info: "info";
|
|
7197
|
+
}>;
|
|
7198
|
+
text: z.ZodString;
|
|
7199
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7200
|
+
kind: z.ZodLiteral<"error">;
|
|
7201
|
+
id: z.ZodString;
|
|
7202
|
+
text: z.ZodString;
|
|
7203
|
+
}, z.core.$strict>], "kind">;
|
|
7204
|
+
}, z.core.$strict>;
|
|
7205
|
+
readonly "coding.gap": z.ZodObject<{
|
|
7206
|
+
session_id: z.ZodString;
|
|
7207
|
+
since_seq: z.ZodInt;
|
|
7208
|
+
seq: z.ZodInt;
|
|
7209
|
+
}, z.core.$strict>;
|
|
5266
7210
|
readonly "relay.device_status": z.ZodObject<{
|
|
5267
7211
|
online: z.ZodBoolean;
|
|
5268
7212
|
since_ms: z.ZodNullable<z.ZodInt>;
|
|
@@ -5294,6 +7238,44 @@ declare const EVENTS: {
|
|
|
5294
7238
|
awaiting_confirmation: "awaiting_confirmation";
|
|
5295
7239
|
}>;
|
|
5296
7240
|
}, z.core.$strict>;
|
|
7241
|
+
readonly "web.log.entry": z.ZodObject<{
|
|
7242
|
+
id: z.ZodString;
|
|
7243
|
+
at_ms: z.ZodInt;
|
|
7244
|
+
caller: z.ZodEnum<{
|
|
7245
|
+
agent: "agent";
|
|
7246
|
+
phone: "phone";
|
|
7247
|
+
other: "other";
|
|
7248
|
+
person: "person";
|
|
7249
|
+
research: "research";
|
|
7250
|
+
}>;
|
|
7251
|
+
url: z.ZodString;
|
|
7252
|
+
title: z.ZodNullable<z.ZodString>;
|
|
7253
|
+
result: z.ZodEnum<{
|
|
7254
|
+
failed: "failed";
|
|
7255
|
+
blocked: "blocked";
|
|
7256
|
+
saved: "saved";
|
|
7257
|
+
not_saved: "not_saved";
|
|
7258
|
+
read: "read";
|
|
7259
|
+
}>;
|
|
7260
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
7261
|
+
via: z.ZodEnum<{
|
|
7262
|
+
server: "server";
|
|
7263
|
+
this_computer: "this_computer";
|
|
7264
|
+
browser: "browser";
|
|
7265
|
+
}>;
|
|
7266
|
+
duration_ms: z.ZodInt;
|
|
7267
|
+
processed_document_id: z.ZodNullable<z.ZodString>;
|
|
7268
|
+
}, z.core.$strict>;
|
|
7269
|
+
readonly "web.progress": z.ZodObject<{
|
|
7270
|
+
request_id: z.ZodString;
|
|
7271
|
+
phase: z.ZodEnum<{
|
|
7272
|
+
installing: "installing";
|
|
7273
|
+
fetching: "fetching";
|
|
7274
|
+
saving: "saving";
|
|
7275
|
+
}>;
|
|
7276
|
+
done: z.ZodInt;
|
|
7277
|
+
total: z.ZodInt;
|
|
7278
|
+
}, z.core.$strict>;
|
|
5297
7279
|
};
|
|
5298
7280
|
|
|
5299
7281
|
type DesktopClientStatus =
|