@ai-matrx/desktop-protocol 0.21.29 → 0.21.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/react.d.cts CHANGED
@@ -3592,6 +3592,1249 @@ declare const OPS: {
3592
3592
  readonly since: "1.5";
3593
3593
  readonly errors: readonly ["RESOURCE_BUSY", "RESOURCE_GONE", "CANCELLED", "INTERNAL"];
3594
3594
  };
3595
+ readonly "coding.providers": {
3596
+ readonly params: z.ZodObject<{}, z.core.$strict>;
3597
+ readonly result: z.ZodObject<{
3598
+ providers: z.ZodArray<z.ZodObject<{
3599
+ provider: z.ZodEnum<{
3600
+ claude: "claude";
3601
+ codex: "codex";
3602
+ }>;
3603
+ label: z.ZodString;
3604
+ installed: z.ZodBoolean;
3605
+ version: z.ZodNullable<z.ZodString>;
3606
+ loggedIn: z.ZodBoolean;
3607
+ billing: z.ZodEnum<{
3608
+ unknown: "unknown";
3609
+ subscription: "subscription";
3610
+ api: "api";
3611
+ }>;
3612
+ plan: z.ZodNullable<z.ZodString>;
3613
+ account: z.ZodNullable<z.ZodString>;
3614
+ problem: z.ZodNullable<z.ZodString>;
3615
+ fix: z.ZodNullable<z.ZodString>;
3616
+ ready: z.ZodBoolean;
3617
+ lastProblem: z.ZodNullable<z.ZodObject<{
3618
+ kind: z.ZodEnum<{
3619
+ "usage-limit": "usage-limit";
3620
+ "signed-out": "signed-out";
3621
+ }>;
3622
+ message: z.ZodString;
3623
+ until: z.ZodNullable<z.ZodString>;
3624
+ at: z.ZodString;
3625
+ }, z.core.$strict>>;
3626
+ quota: z.ZodArray<z.ZodObject<{
3627
+ label: z.ZodString;
3628
+ usedPercent: z.ZodNullable<z.ZodNumber>;
3629
+ resetsAt: z.ZodNullable<z.ZodString>;
3630
+ valueLabel: z.ZodNullable<z.ZodString>;
3631
+ }, z.core.$strict>>;
3632
+ models: z.ZodArray<z.ZodObject<{
3633
+ id: z.ZodString;
3634
+ label: z.ZodString;
3635
+ }, z.core.$strict>>;
3636
+ efforts: z.ZodArray<z.ZodString>;
3637
+ defaultModel: z.ZodNullable<z.ZodObject<{
3638
+ id: z.ZodString;
3639
+ source: z.ZodEnum<{
3640
+ settings: "settings";
3641
+ driver: "driver";
3642
+ }>;
3643
+ }, z.core.$strict>>;
3644
+ defaultEffort: z.ZodNullable<z.ZodString>;
3645
+ binary: z.ZodNullable<z.ZodObject<{
3646
+ path: z.ZodString;
3647
+ version: z.ZodNullable<z.ZodString>;
3648
+ source: z.ZodEnum<{
3649
+ path: "path";
3650
+ "desktop-app": "desktop-app";
3651
+ "npm-global": "npm-global";
3652
+ configured: "configured";
3653
+ }>;
3654
+ sourceLabel: z.ZodString;
3655
+ newer: z.ZodNullable<z.ZodObject<{
3656
+ path: z.ZodString;
3657
+ version: z.ZodString;
3658
+ sourceLabel: z.ZodString;
3659
+ }, z.core.$strict>>;
3660
+ }, z.core.$strict>>;
3661
+ }, z.core.$strict>>;
3662
+ }, z.core.$strict>;
3663
+ readonly kind: "unary";
3664
+ readonly since: "1.38";
3665
+ readonly errors: readonly ["INTERNAL"];
3666
+ };
3667
+ readonly "coding.sessions.list": {
3668
+ readonly params: z.ZodObject<{}, z.core.$strict>;
3669
+ readonly result: z.ZodObject<{
3670
+ sessions: z.ZodArray<z.ZodObject<{
3671
+ id: z.ZodString;
3672
+ provider: z.ZodEnum<{
3673
+ claude: "claude";
3674
+ codex: "codex";
3675
+ }>;
3676
+ providerSessionId: z.ZodNullable<z.ZodString>;
3677
+ cwd: z.ZodString;
3678
+ title: z.ZodString;
3679
+ model: z.ZodNullable<z.ZodString>;
3680
+ effort: z.ZodNullable<z.ZodString>;
3681
+ origin: z.ZodEnum<{
3682
+ started: "started";
3683
+ takeover: "takeover";
3684
+ }>;
3685
+ createdAt: z.ZodString;
3686
+ updatedAt: z.ZodString;
3687
+ lastRunId: z.ZodNullable<z.ZodString>;
3688
+ lastRunStatus: z.ZodNullable<z.ZodEnum<{
3689
+ running: "running";
3690
+ starting: "starting";
3691
+ failed: "failed";
3692
+ stopped: "stopped";
3693
+ completed: "completed";
3694
+ }>>;
3695
+ queued: z.ZodArray<z.ZodString>;
3696
+ agent: z.ZodNullable<z.ZodObject<{
3697
+ agentId: z.ZodString;
3698
+ versionId: z.ZodNullable<z.ZodString>;
3699
+ versionNumber: z.ZodNullable<z.ZodInt>;
3700
+ name: z.ZodString;
3701
+ definitionHash: z.ZodString;
3702
+ loaded: z.ZodArray<z.ZodObject<{
3703
+ part: z.ZodEnum<{
3704
+ instructions: "instructions";
3705
+ skills: "skills";
3706
+ tools: "tools";
3707
+ }>;
3708
+ loaded: z.ZodInt;
3709
+ total: z.ZodInt;
3710
+ }, z.core.$strict>>;
3711
+ unavailable: z.ZodArray<z.ZodObject<{
3712
+ kind: z.ZodString;
3713
+ name: z.ZodString;
3714
+ reason: z.ZodString;
3715
+ }, z.core.$strict>>;
3716
+ skills: z.ZodArray<z.ZodString>;
3717
+ tools: z.ZodArray<z.ZodString>;
3718
+ variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3719
+ blockDue: z.ZodBoolean;
3720
+ deliveredAt: z.ZodNullable<z.ZodString>;
3721
+ replaces: z.ZodNullable<z.ZodString>;
3722
+ }, z.core.$strict>>;
3723
+ agentRemovedDue: z.ZodBoolean;
3724
+ }, z.core.$strict>>;
3725
+ runs: z.ZodRecord<z.ZodString, z.ZodObject<{
3726
+ runId: z.ZodString;
3727
+ sessionId: z.ZodString;
3728
+ provider: z.ZodEnum<{
3729
+ claude: "claude";
3730
+ codex: "codex";
3731
+ }>;
3732
+ cwd: z.ZodString;
3733
+ prompt: z.ZodString;
3734
+ model: z.ZodNullable<z.ZodString>;
3735
+ status: z.ZodEnum<{
3736
+ running: "running";
3737
+ starting: "starting";
3738
+ failed: "failed";
3739
+ stopped: "stopped";
3740
+ completed: "completed";
3741
+ }>;
3742
+ startedAt: z.ZodString;
3743
+ endedAt: z.ZodNullable<z.ZodString>;
3744
+ error: z.ZodNullable<z.ZodString>;
3745
+ usage: z.ZodNullable<z.ZodObject<{
3746
+ inputTokens: z.ZodInt;
3747
+ outputTokens: z.ZodInt;
3748
+ cachedInputTokens: z.ZodInt;
3749
+ }, z.core.$strict>>;
3750
+ costUsd: z.ZodNullable<z.ZodNumber>;
3751
+ billing: z.ZodNullable<z.ZodEnum<{
3752
+ unknown: "unknown";
3753
+ subscription: "subscription";
3754
+ api: "api";
3755
+ }>>;
3756
+ startedBy: z.ZodNullable<z.ZodObject<{
3757
+ kind: z.ZodEnum<{
3758
+ agent: "agent";
3759
+ this_computer: "this_computer";
3760
+ web: "web";
3761
+ phone: "phone";
3762
+ other: "other";
3763
+ }>;
3764
+ label: z.ZodString;
3765
+ }, z.core.$strict>>;
3766
+ }, z.core.$strict>>;
3767
+ recent: z.ZodArray<z.ZodObject<{
3768
+ target: z.ZodString;
3769
+ title: z.ZodString;
3770
+ provider: z.ZodEnum<{
3771
+ claude: "claude";
3772
+ codex: "codex";
3773
+ }>;
3774
+ sessionId: z.ZodNullable<z.ZodString>;
3775
+ providerSessionId: z.ZodNullable<z.ZodString>;
3776
+ cwd: z.ZodNullable<z.ZodString>;
3777
+ updatedAt: z.ZodString;
3778
+ state: z.ZodEnum<{
3779
+ running: "running";
3780
+ idle: "idle";
3781
+ needs_attention: "needs_attention";
3782
+ new_output: "new_output";
3783
+ elsewhere: "elsewhere";
3784
+ }>;
3785
+ stateLabel: z.ZodNullable<z.ZodString>;
3786
+ pinned: z.ZodBoolean;
3787
+ startedBy: z.ZodNullable<z.ZodObject<{
3788
+ kind: z.ZodEnum<{
3789
+ agent: "agent";
3790
+ this_computer: "this_computer";
3791
+ web: "web";
3792
+ phone: "phone";
3793
+ other: "other";
3794
+ }>;
3795
+ label: z.ZodString;
3796
+ }, z.core.$strict>>;
3797
+ }, z.core.$strict>>;
3798
+ title_status: z.ZodObject<{
3799
+ owner: z.ZodBoolean;
3800
+ pending: z.ZodBoolean;
3801
+ problem: z.ZodNullable<z.ZodString>;
3802
+ renames: z.ZodNullable<z.ZodString>;
3803
+ }, z.core.$strict>;
3804
+ }, z.core.$strict>;
3805
+ readonly kind: "unary";
3806
+ readonly since: "1.38";
3807
+ readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
3808
+ };
3809
+ readonly "coding.discover": {
3810
+ readonly params: z.ZodObject<{
3811
+ limit: z.ZodOptional<z.ZodInt>;
3812
+ }, z.core.$strict>;
3813
+ readonly result: z.ZodObject<{
3814
+ chats: z.ZodArray<z.ZodObject<{
3815
+ provider: z.ZodEnum<{
3816
+ claude: "claude";
3817
+ codex: "codex";
3818
+ }>;
3819
+ providerSessionId: z.ZodString;
3820
+ cwd: z.ZodNullable<z.ZodString>;
3821
+ title: z.ZodString;
3822
+ titleSource: z.ZodOptional<z.ZodEnum<{
3823
+ summary: "summary";
3824
+ unknown: "unknown";
3825
+ app: "app";
3826
+ "app-remembered": "app-remembered";
3827
+ "custom-title": "custom-title";
3828
+ "ai-title": "ai-title";
3829
+ "agent-name": "agent-name";
3830
+ "first-prompt": "first-prompt";
3831
+ "last-prompt": "last-prompt";
3832
+ }>>;
3833
+ titlePending: z.ZodOptional<z.ZodBoolean>;
3834
+ archived: z.ZodOptional<z.ZodBoolean>;
3835
+ scheduled: z.ZodOptional<z.ZodBoolean>;
3836
+ unlisted: z.ZodOptional<z.ZodBoolean>;
3837
+ unavailable: z.ZodNullable<z.ZodString>;
3838
+ updatedAt: z.ZodString;
3839
+ source: z.ZodNullable<z.ZodString>;
3840
+ activeElsewhere: z.ZodNullable<z.ZodObject<{
3841
+ reason: z.ZodEnum<{
3842
+ open: "open";
3843
+ process: "process";
3844
+ "recent-write": "recent-write";
3845
+ "open-tool-call": "open-tool-call";
3846
+ }>;
3847
+ message: z.ZodString;
3848
+ pid: z.ZodNullable<z.ZodInt>;
3849
+ }, z.core.$strict>>;
3850
+ }, z.core.$strict>>;
3851
+ }, z.core.$strict>;
3852
+ readonly kind: "unary";
3853
+ readonly since: "1.38";
3854
+ readonly errors: readonly ["INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
3855
+ };
3856
+ readonly "coding.runs.list": {
3857
+ readonly params: z.ZodObject<{
3858
+ session_id: z.ZodString;
3859
+ }, z.core.$strict>;
3860
+ readonly result: z.ZodObject<{
3861
+ runs: z.ZodArray<z.ZodObject<{
3862
+ runId: z.ZodString;
3863
+ sessionId: z.ZodString;
3864
+ provider: z.ZodEnum<{
3865
+ claude: "claude";
3866
+ codex: "codex";
3867
+ }>;
3868
+ cwd: z.ZodString;
3869
+ prompt: z.ZodString;
3870
+ model: z.ZodNullable<z.ZodString>;
3871
+ status: z.ZodEnum<{
3872
+ running: "running";
3873
+ starting: "starting";
3874
+ failed: "failed";
3875
+ stopped: "stopped";
3876
+ completed: "completed";
3877
+ }>;
3878
+ startedAt: z.ZodString;
3879
+ endedAt: z.ZodNullable<z.ZodString>;
3880
+ error: z.ZodNullable<z.ZodString>;
3881
+ usage: z.ZodNullable<z.ZodObject<{
3882
+ inputTokens: z.ZodInt;
3883
+ outputTokens: z.ZodInt;
3884
+ cachedInputTokens: z.ZodInt;
3885
+ }, z.core.$strict>>;
3886
+ costUsd: z.ZodNullable<z.ZodNumber>;
3887
+ billing: z.ZodNullable<z.ZodEnum<{
3888
+ unknown: "unknown";
3889
+ subscription: "subscription";
3890
+ api: "api";
3891
+ }>>;
3892
+ startedBy: z.ZodNullable<z.ZodObject<{
3893
+ kind: z.ZodEnum<{
3894
+ agent: "agent";
3895
+ this_computer: "this_computer";
3896
+ web: "web";
3897
+ phone: "phone";
3898
+ other: "other";
3899
+ }>;
3900
+ label: z.ZodString;
3901
+ }, z.core.$strict>>;
3902
+ }, z.core.$strict>>;
3903
+ }, z.core.$strict>;
3904
+ readonly kind: "unary";
3905
+ readonly since: "1.38";
3906
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
3907
+ };
3908
+ readonly "coding.history": {
3909
+ readonly params: z.ZodObject<{
3910
+ session_id: z.ZodString;
3911
+ max_bytes: z.ZodOptional<z.ZodInt>;
3912
+ }, z.core.$strict>;
3913
+ readonly result: z.ZodObject<{
3914
+ items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3915
+ kind: z.ZodLiteral<"user">;
3916
+ id: z.ZodString;
3917
+ text: z.ZodString;
3918
+ at: z.ZodNullable<z.ZodString>;
3919
+ }, z.core.$strict>, z.ZodObject<{
3920
+ kind: z.ZodLiteral<"text">;
3921
+ id: z.ZodString;
3922
+ text: z.ZodString;
3923
+ }, z.core.$strict>, z.ZodObject<{
3924
+ kind: z.ZodLiteral<"text-delta">;
3925
+ id: z.ZodString;
3926
+ text: z.ZodString;
3927
+ }, z.core.$strict>, z.ZodObject<{
3928
+ kind: z.ZodLiteral<"reasoning">;
3929
+ id: z.ZodString;
3930
+ text: z.ZodString;
3931
+ }, z.core.$strict>, z.ZodObject<{
3932
+ kind: z.ZodLiteral<"tool-call">;
3933
+ id: z.ZodString;
3934
+ name: z.ZodString;
3935
+ input: z.ZodUnknown;
3936
+ }, z.core.$strict>, z.ZodObject<{
3937
+ kind: z.ZodLiteral<"tool-result">;
3938
+ id: z.ZodString;
3939
+ output: z.ZodString;
3940
+ isError: z.ZodBoolean;
3941
+ fullBytes: z.ZodOptional<z.ZodInt>;
3942
+ }, z.core.$strict>, z.ZodObject<{
3943
+ kind: z.ZodLiteral<"usage">;
3944
+ usage: z.ZodObject<{
3945
+ inputTokens: z.ZodInt;
3946
+ outputTokens: z.ZodInt;
3947
+ cachedInputTokens: z.ZodInt;
3948
+ }, z.core.$strict>;
3949
+ costUsd: z.ZodNullable<z.ZodNumber>;
3950
+ }, z.core.$strict>, z.ZodObject<{
3951
+ kind: z.ZodLiteral<"notice">;
3952
+ id: z.ZodString;
3953
+ level: z.ZodEnum<{
3954
+ warning: "warning";
3955
+ info: "info";
3956
+ }>;
3957
+ text: z.ZodString;
3958
+ }, z.core.$strict>, z.ZodObject<{
3959
+ kind: z.ZodLiteral<"error">;
3960
+ id: z.ZodString;
3961
+ text: z.ZodString;
3962
+ }, z.core.$strict>], "kind">>;
3963
+ truncated: z.ZodBoolean;
3964
+ unavailable: z.ZodNullable<z.ZodString>;
3965
+ seq: z.ZodInt;
3966
+ }, z.core.$strict>;
3967
+ readonly kind: "unary";
3968
+ readonly since: "1.38";
3969
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "INTERNAL"];
3970
+ };
3971
+ readonly "coding.transcript.read": {
3972
+ readonly params: z.ZodObject<{
3973
+ provider: z.ZodEnum<{
3974
+ claude: "claude";
3975
+ codex: "codex";
3976
+ }>;
3977
+ provider_session_id: z.ZodString;
3978
+ max_bytes: z.ZodOptional<z.ZodInt>;
3979
+ }, z.core.$strict>;
3980
+ readonly result: z.ZodObject<{
3981
+ items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3982
+ kind: z.ZodLiteral<"user">;
3983
+ id: z.ZodString;
3984
+ text: z.ZodString;
3985
+ at: z.ZodNullable<z.ZodString>;
3986
+ }, z.core.$strict>, z.ZodObject<{
3987
+ kind: z.ZodLiteral<"text">;
3988
+ id: z.ZodString;
3989
+ text: z.ZodString;
3990
+ }, z.core.$strict>, z.ZodObject<{
3991
+ kind: z.ZodLiteral<"text-delta">;
3992
+ id: z.ZodString;
3993
+ text: z.ZodString;
3994
+ }, z.core.$strict>, z.ZodObject<{
3995
+ kind: z.ZodLiteral<"reasoning">;
3996
+ id: z.ZodString;
3997
+ text: z.ZodString;
3998
+ }, z.core.$strict>, z.ZodObject<{
3999
+ kind: z.ZodLiteral<"tool-call">;
4000
+ id: z.ZodString;
4001
+ name: z.ZodString;
4002
+ input: z.ZodUnknown;
4003
+ }, z.core.$strict>, z.ZodObject<{
4004
+ kind: z.ZodLiteral<"tool-result">;
4005
+ id: z.ZodString;
4006
+ output: z.ZodString;
4007
+ isError: z.ZodBoolean;
4008
+ fullBytes: z.ZodOptional<z.ZodInt>;
4009
+ }, z.core.$strict>, z.ZodObject<{
4010
+ kind: z.ZodLiteral<"usage">;
4011
+ usage: z.ZodObject<{
4012
+ inputTokens: z.ZodInt;
4013
+ outputTokens: z.ZodInt;
4014
+ cachedInputTokens: z.ZodInt;
4015
+ }, z.core.$strict>;
4016
+ costUsd: z.ZodNullable<z.ZodNumber>;
4017
+ }, z.core.$strict>, z.ZodObject<{
4018
+ kind: z.ZodLiteral<"notice">;
4019
+ id: z.ZodString;
4020
+ level: z.ZodEnum<{
4021
+ warning: "warning";
4022
+ info: "info";
4023
+ }>;
4024
+ text: z.ZodString;
4025
+ }, z.core.$strict>, z.ZodObject<{
4026
+ kind: z.ZodLiteral<"error">;
4027
+ id: z.ZodString;
4028
+ text: z.ZodString;
4029
+ }, z.core.$strict>], "kind">>;
4030
+ truncated: z.ZodBoolean;
4031
+ unavailable: z.ZodNullable<z.ZodString>;
4032
+ seq: z.ZodInt;
4033
+ }, z.core.$strict>;
4034
+ readonly kind: "unary";
4035
+ readonly since: "1.38";
4036
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "INTERNAL"];
4037
+ };
4038
+ readonly "coding.item.full": {
4039
+ readonly params: z.ZodObject<{
4040
+ provider: z.ZodEnum<{
4041
+ claude: "claude";
4042
+ codex: "codex";
4043
+ }>;
4044
+ provider_session_id: z.ZodString;
4045
+ item_id: z.ZodString;
4046
+ }, z.core.$strict>;
4047
+ readonly result: z.ZodObject<{
4048
+ output: z.ZodString;
4049
+ bytes: z.ZodInt;
4050
+ }, z.core.$strict>;
4051
+ readonly kind: "unary";
4052
+ readonly since: "1.38";
4053
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PAYLOAD_TOO_LARGE", "INTERNAL"];
4054
+ };
4055
+ readonly "coding.activity": {
4056
+ readonly params: z.ZodObject<{
4057
+ provider: z.ZodEnum<{
4058
+ claude: "claude";
4059
+ codex: "codex";
4060
+ }>;
4061
+ provider_session_id: z.ZodString;
4062
+ }, z.core.$strict>;
4063
+ readonly result: z.ZodObject<{
4064
+ active: z.ZodNullable<z.ZodObject<{
4065
+ reason: z.ZodEnum<{
4066
+ open: "open";
4067
+ process: "process";
4068
+ "recent-write": "recent-write";
4069
+ "open-tool-call": "open-tool-call";
4070
+ }>;
4071
+ message: z.ZodString;
4072
+ pid: z.ZodNullable<z.ZodInt>;
4073
+ }, z.core.$strict>>;
4074
+ }, z.core.$strict>;
4075
+ readonly kind: "unary";
4076
+ readonly since: "1.38";
4077
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
4078
+ };
4079
+ readonly "coding.folders.recent": {
4080
+ readonly params: z.ZodObject<{}, z.core.$strict>;
4081
+ readonly result: z.ZodObject<{
4082
+ folders: z.ZodArray<z.ZodObject<{
4083
+ path: z.ZodString;
4084
+ lastUsedAt: z.ZodString;
4085
+ exists: z.ZodBoolean;
4086
+ }, z.core.$strict>>;
4087
+ }, z.core.$strict>;
4088
+ readonly kind: "unary";
4089
+ readonly since: "1.38";
4090
+ readonly errors: readonly ["INTERNAL"];
4091
+ };
4092
+ readonly "coding.folders.check": {
4093
+ readonly params: z.ZodObject<{
4094
+ path: z.ZodString;
4095
+ }, z.core.$strict>;
4096
+ readonly result: z.ZodObject<{
4097
+ path: z.ZodString;
4098
+ exists: z.ZodBoolean;
4099
+ isDirectory: z.ZodBoolean;
4100
+ }, z.core.$strict>;
4101
+ readonly kind: "unary";
4102
+ readonly since: "1.38";
4103
+ readonly errors: readonly ["INVALID_PARAMS", "AUTH_FORBIDDEN", "INTERNAL"];
4104
+ };
4105
+ readonly "coding.folders.create": {
4106
+ readonly params: z.ZodObject<{
4107
+ path: z.ZodString;
4108
+ }, z.core.$strict>;
4109
+ readonly result: z.ZodObject<{
4110
+ path: z.ZodString;
4111
+ exists: z.ZodBoolean;
4112
+ isDirectory: z.ZodBoolean;
4113
+ }, z.core.$strict>;
4114
+ readonly kind: "unary";
4115
+ readonly since: "1.38";
4116
+ readonly errors: readonly ["INVALID_PARAMS", "AUTH_FORBIDDEN", "PERMISSION_DENIED_OS", "INTERNAL"];
4117
+ };
4118
+ readonly "coding.start": {
4119
+ readonly params: z.ZodObject<{
4120
+ provider: z.ZodEnum<{
4121
+ claude: "claude";
4122
+ codex: "codex";
4123
+ }>;
4124
+ cwd: z.ZodString;
4125
+ prompt: z.ZodString;
4126
+ model: z.ZodOptional<z.ZodString>;
4127
+ effort: z.ZodOptional<z.ZodString>;
4128
+ agent: z.ZodOptional<z.ZodObject<{
4129
+ agent_id: z.ZodString;
4130
+ version_id: z.ZodOptional<z.ZodString>;
4131
+ variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4132
+ }, z.core.$strict>>;
4133
+ account_profile_id: z.ZodOptional<z.ZodString>;
4134
+ client_request_id: z.ZodString;
4135
+ }, z.core.$strict>;
4136
+ readonly result: z.ZodObject<{
4137
+ session: z.ZodObject<{
4138
+ id: z.ZodString;
4139
+ provider: z.ZodEnum<{
4140
+ claude: "claude";
4141
+ codex: "codex";
4142
+ }>;
4143
+ providerSessionId: z.ZodNullable<z.ZodString>;
4144
+ cwd: z.ZodString;
4145
+ title: z.ZodString;
4146
+ model: z.ZodNullable<z.ZodString>;
4147
+ effort: z.ZodNullable<z.ZodString>;
4148
+ origin: z.ZodEnum<{
4149
+ started: "started";
4150
+ takeover: "takeover";
4151
+ }>;
4152
+ createdAt: z.ZodString;
4153
+ updatedAt: z.ZodString;
4154
+ lastRunId: z.ZodNullable<z.ZodString>;
4155
+ lastRunStatus: z.ZodNullable<z.ZodEnum<{
4156
+ running: "running";
4157
+ starting: "starting";
4158
+ failed: "failed";
4159
+ stopped: "stopped";
4160
+ completed: "completed";
4161
+ }>>;
4162
+ queued: z.ZodArray<z.ZodString>;
4163
+ agent: z.ZodNullable<z.ZodObject<{
4164
+ agentId: z.ZodString;
4165
+ versionId: z.ZodNullable<z.ZodString>;
4166
+ versionNumber: z.ZodNullable<z.ZodInt>;
4167
+ name: z.ZodString;
4168
+ definitionHash: z.ZodString;
4169
+ loaded: z.ZodArray<z.ZodObject<{
4170
+ part: z.ZodEnum<{
4171
+ instructions: "instructions";
4172
+ skills: "skills";
4173
+ tools: "tools";
4174
+ }>;
4175
+ loaded: z.ZodInt;
4176
+ total: z.ZodInt;
4177
+ }, z.core.$strict>>;
4178
+ unavailable: z.ZodArray<z.ZodObject<{
4179
+ kind: z.ZodString;
4180
+ name: z.ZodString;
4181
+ reason: z.ZodString;
4182
+ }, z.core.$strict>>;
4183
+ skills: z.ZodArray<z.ZodString>;
4184
+ tools: z.ZodArray<z.ZodString>;
4185
+ variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4186
+ blockDue: z.ZodBoolean;
4187
+ deliveredAt: z.ZodNullable<z.ZodString>;
4188
+ replaces: z.ZodNullable<z.ZodString>;
4189
+ }, z.core.$strict>>;
4190
+ agentRemovedDue: z.ZodBoolean;
4191
+ }, z.core.$strict>;
4192
+ run: z.ZodNullable<z.ZodObject<{
4193
+ runId: z.ZodString;
4194
+ sessionId: z.ZodString;
4195
+ provider: z.ZodEnum<{
4196
+ claude: "claude";
4197
+ codex: "codex";
4198
+ }>;
4199
+ cwd: z.ZodString;
4200
+ prompt: z.ZodString;
4201
+ model: z.ZodNullable<z.ZodString>;
4202
+ status: z.ZodEnum<{
4203
+ running: "running";
4204
+ starting: "starting";
4205
+ failed: "failed";
4206
+ stopped: "stopped";
4207
+ completed: "completed";
4208
+ }>;
4209
+ startedAt: z.ZodString;
4210
+ endedAt: z.ZodNullable<z.ZodString>;
4211
+ error: z.ZodNullable<z.ZodString>;
4212
+ usage: z.ZodNullable<z.ZodObject<{
4213
+ inputTokens: z.ZodInt;
4214
+ outputTokens: z.ZodInt;
4215
+ cachedInputTokens: z.ZodInt;
4216
+ }, z.core.$strict>>;
4217
+ costUsd: z.ZodNullable<z.ZodNumber>;
4218
+ billing: z.ZodNullable<z.ZodEnum<{
4219
+ unknown: "unknown";
4220
+ subscription: "subscription";
4221
+ api: "api";
4222
+ }>>;
4223
+ startedBy: z.ZodNullable<z.ZodObject<{
4224
+ kind: z.ZodEnum<{
4225
+ agent: "agent";
4226
+ this_computer: "this_computer";
4227
+ web: "web";
4228
+ phone: "phone";
4229
+ other: "other";
4230
+ }>;
4231
+ label: z.ZodString;
4232
+ }, z.core.$strict>>;
4233
+ }, z.core.$strict>>;
4234
+ queued: z.ZodBoolean;
4235
+ }, z.core.$strict>;
4236
+ readonly kind: "unary";
4237
+ readonly since: "1.38";
4238
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "AUTH_FORBIDDEN", "RATE_LIMITED", "INTERNAL"];
4239
+ };
4240
+ readonly "coding.takeover": {
4241
+ readonly params: z.ZodObject<{
4242
+ provider: z.ZodEnum<{
4243
+ claude: "claude";
4244
+ codex: "codex";
4245
+ }>;
4246
+ provider_session_id: z.ZodString;
4247
+ cwd: z.ZodString;
4248
+ title: z.ZodOptional<z.ZodString>;
4249
+ agent: z.ZodOptional<z.ZodObject<{
4250
+ agent_id: z.ZodString;
4251
+ version_id: z.ZodOptional<z.ZodString>;
4252
+ variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4253
+ }, z.core.$strict>>;
4254
+ confirm_elsewhere: z.ZodOptional<z.ZodBoolean>;
4255
+ }, z.core.$strict>;
4256
+ readonly result: z.ZodObject<{
4257
+ session: z.ZodObject<{
4258
+ id: z.ZodString;
4259
+ provider: z.ZodEnum<{
4260
+ claude: "claude";
4261
+ codex: "codex";
4262
+ }>;
4263
+ providerSessionId: z.ZodNullable<z.ZodString>;
4264
+ cwd: z.ZodString;
4265
+ title: z.ZodString;
4266
+ model: z.ZodNullable<z.ZodString>;
4267
+ effort: z.ZodNullable<z.ZodString>;
4268
+ origin: z.ZodEnum<{
4269
+ started: "started";
4270
+ takeover: "takeover";
4271
+ }>;
4272
+ createdAt: z.ZodString;
4273
+ updatedAt: z.ZodString;
4274
+ lastRunId: z.ZodNullable<z.ZodString>;
4275
+ lastRunStatus: z.ZodNullable<z.ZodEnum<{
4276
+ running: "running";
4277
+ starting: "starting";
4278
+ failed: "failed";
4279
+ stopped: "stopped";
4280
+ completed: "completed";
4281
+ }>>;
4282
+ queued: z.ZodArray<z.ZodString>;
4283
+ agent: z.ZodNullable<z.ZodObject<{
4284
+ agentId: z.ZodString;
4285
+ versionId: z.ZodNullable<z.ZodString>;
4286
+ versionNumber: z.ZodNullable<z.ZodInt>;
4287
+ name: z.ZodString;
4288
+ definitionHash: z.ZodString;
4289
+ loaded: z.ZodArray<z.ZodObject<{
4290
+ part: z.ZodEnum<{
4291
+ instructions: "instructions";
4292
+ skills: "skills";
4293
+ tools: "tools";
4294
+ }>;
4295
+ loaded: z.ZodInt;
4296
+ total: z.ZodInt;
4297
+ }, z.core.$strict>>;
4298
+ unavailable: z.ZodArray<z.ZodObject<{
4299
+ kind: z.ZodString;
4300
+ name: z.ZodString;
4301
+ reason: z.ZodString;
4302
+ }, z.core.$strict>>;
4303
+ skills: z.ZodArray<z.ZodString>;
4304
+ tools: z.ZodArray<z.ZodString>;
4305
+ variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4306
+ blockDue: z.ZodBoolean;
4307
+ deliveredAt: z.ZodNullable<z.ZodString>;
4308
+ replaces: z.ZodNullable<z.ZodString>;
4309
+ }, z.core.$strict>>;
4310
+ agentRemovedDue: z.ZodBoolean;
4311
+ }, z.core.$strict>;
4312
+ }, z.core.$strict>;
4313
+ readonly kind: "unary";
4314
+ readonly since: "1.38";
4315
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "RESOURCE_BUSY", "AUTH_FORBIDDEN", "INTERNAL"];
4316
+ };
4317
+ readonly "coding.send": {
4318
+ readonly params: z.ZodObject<{
4319
+ session_id: z.ZodString;
4320
+ prompt: z.ZodString;
4321
+ client_request_id: z.ZodString;
4322
+ }, z.core.$strict>;
4323
+ readonly result: z.ZodObject<{
4324
+ session: z.ZodObject<{
4325
+ id: z.ZodString;
4326
+ provider: z.ZodEnum<{
4327
+ claude: "claude";
4328
+ codex: "codex";
4329
+ }>;
4330
+ providerSessionId: z.ZodNullable<z.ZodString>;
4331
+ cwd: z.ZodString;
4332
+ title: z.ZodString;
4333
+ model: z.ZodNullable<z.ZodString>;
4334
+ effort: z.ZodNullable<z.ZodString>;
4335
+ origin: z.ZodEnum<{
4336
+ started: "started";
4337
+ takeover: "takeover";
4338
+ }>;
4339
+ createdAt: z.ZodString;
4340
+ updatedAt: z.ZodString;
4341
+ lastRunId: z.ZodNullable<z.ZodString>;
4342
+ lastRunStatus: z.ZodNullable<z.ZodEnum<{
4343
+ running: "running";
4344
+ starting: "starting";
4345
+ failed: "failed";
4346
+ stopped: "stopped";
4347
+ completed: "completed";
4348
+ }>>;
4349
+ queued: z.ZodArray<z.ZodString>;
4350
+ agent: z.ZodNullable<z.ZodObject<{
4351
+ agentId: z.ZodString;
4352
+ versionId: z.ZodNullable<z.ZodString>;
4353
+ versionNumber: z.ZodNullable<z.ZodInt>;
4354
+ name: z.ZodString;
4355
+ definitionHash: z.ZodString;
4356
+ loaded: z.ZodArray<z.ZodObject<{
4357
+ part: z.ZodEnum<{
4358
+ instructions: "instructions";
4359
+ skills: "skills";
4360
+ tools: "tools";
4361
+ }>;
4362
+ loaded: z.ZodInt;
4363
+ total: z.ZodInt;
4364
+ }, z.core.$strict>>;
4365
+ unavailable: z.ZodArray<z.ZodObject<{
4366
+ kind: z.ZodString;
4367
+ name: z.ZodString;
4368
+ reason: z.ZodString;
4369
+ }, z.core.$strict>>;
4370
+ skills: z.ZodArray<z.ZodString>;
4371
+ tools: z.ZodArray<z.ZodString>;
4372
+ variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4373
+ blockDue: z.ZodBoolean;
4374
+ deliveredAt: z.ZodNullable<z.ZodString>;
4375
+ replaces: z.ZodNullable<z.ZodString>;
4376
+ }, z.core.$strict>>;
4377
+ agentRemovedDue: z.ZodBoolean;
4378
+ }, z.core.$strict>;
4379
+ run: z.ZodNullable<z.ZodObject<{
4380
+ runId: z.ZodString;
4381
+ sessionId: z.ZodString;
4382
+ provider: z.ZodEnum<{
4383
+ claude: "claude";
4384
+ codex: "codex";
4385
+ }>;
4386
+ cwd: z.ZodString;
4387
+ prompt: z.ZodString;
4388
+ model: z.ZodNullable<z.ZodString>;
4389
+ status: z.ZodEnum<{
4390
+ running: "running";
4391
+ starting: "starting";
4392
+ failed: "failed";
4393
+ stopped: "stopped";
4394
+ completed: "completed";
4395
+ }>;
4396
+ startedAt: z.ZodString;
4397
+ endedAt: z.ZodNullable<z.ZodString>;
4398
+ error: z.ZodNullable<z.ZodString>;
4399
+ usage: z.ZodNullable<z.ZodObject<{
4400
+ inputTokens: z.ZodInt;
4401
+ outputTokens: z.ZodInt;
4402
+ cachedInputTokens: z.ZodInt;
4403
+ }, z.core.$strict>>;
4404
+ costUsd: z.ZodNullable<z.ZodNumber>;
4405
+ billing: z.ZodNullable<z.ZodEnum<{
4406
+ unknown: "unknown";
4407
+ subscription: "subscription";
4408
+ api: "api";
4409
+ }>>;
4410
+ startedBy: z.ZodNullable<z.ZodObject<{
4411
+ kind: z.ZodEnum<{
4412
+ agent: "agent";
4413
+ this_computer: "this_computer";
4414
+ web: "web";
4415
+ phone: "phone";
4416
+ other: "other";
4417
+ }>;
4418
+ label: z.ZodString;
4419
+ }, z.core.$strict>>;
4420
+ }, z.core.$strict>>;
4421
+ queued: z.ZodBoolean;
4422
+ }, z.core.$strict>;
4423
+ readonly kind: "unary";
4424
+ readonly since: "1.38";
4425
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "RATE_LIMITED", "INTERNAL"];
4426
+ };
4427
+ readonly "coding.stop": {
4428
+ readonly params: z.ZodObject<{
4429
+ run_id: z.ZodString;
4430
+ }, z.core.$strict>;
4431
+ readonly result: z.ZodObject<{
4432
+ run: z.ZodNullable<z.ZodObject<{
4433
+ runId: z.ZodString;
4434
+ sessionId: z.ZodString;
4435
+ provider: z.ZodEnum<{
4436
+ claude: "claude";
4437
+ codex: "codex";
4438
+ }>;
4439
+ cwd: z.ZodString;
4440
+ prompt: z.ZodString;
4441
+ model: z.ZodNullable<z.ZodString>;
4442
+ status: z.ZodEnum<{
4443
+ running: "running";
4444
+ starting: "starting";
4445
+ failed: "failed";
4446
+ stopped: "stopped";
4447
+ completed: "completed";
4448
+ }>;
4449
+ startedAt: z.ZodString;
4450
+ endedAt: z.ZodNullable<z.ZodString>;
4451
+ error: z.ZodNullable<z.ZodString>;
4452
+ usage: z.ZodNullable<z.ZodObject<{
4453
+ inputTokens: z.ZodInt;
4454
+ outputTokens: z.ZodInt;
4455
+ cachedInputTokens: z.ZodInt;
4456
+ }, z.core.$strict>>;
4457
+ costUsd: z.ZodNullable<z.ZodNumber>;
4458
+ billing: z.ZodNullable<z.ZodEnum<{
4459
+ unknown: "unknown";
4460
+ subscription: "subscription";
4461
+ api: "api";
4462
+ }>>;
4463
+ startedBy: z.ZodNullable<z.ZodObject<{
4464
+ kind: z.ZodEnum<{
4465
+ agent: "agent";
4466
+ this_computer: "this_computer";
4467
+ web: "web";
4468
+ phone: "phone";
4469
+ other: "other";
4470
+ }>;
4471
+ label: z.ZodString;
4472
+ }, z.core.$strict>>;
4473
+ }, z.core.$strict>>;
4474
+ }, z.core.$strict>;
4475
+ readonly kind: "unary";
4476
+ readonly since: "1.38";
4477
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
4478
+ };
4479
+ readonly "coding.stop_elsewhere": {
4480
+ readonly params: z.ZodObject<{
4481
+ provider: z.ZodEnum<{
4482
+ claude: "claude";
4483
+ codex: "codex";
4484
+ }>;
4485
+ provider_session_id: z.ZodString;
4486
+ pid: z.ZodInt;
4487
+ }, z.core.$strict>;
4488
+ readonly result: z.ZodObject<{
4489
+ stopped: z.ZodBoolean;
4490
+ message: z.ZodString;
4491
+ }, z.core.$strict>;
4492
+ readonly kind: "unary";
4493
+ readonly since: "1.38";
4494
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "CONFLICT", "PERMISSION_DENIED_OS", "INTERNAL"];
4495
+ };
4496
+ readonly "coding.options.set": {
4497
+ readonly params: z.ZodObject<{
4498
+ session_id: z.ZodString;
4499
+ model: z.ZodOptional<z.ZodString>;
4500
+ effort: z.ZodOptional<z.ZodString>;
4501
+ }, z.core.$strict>;
4502
+ readonly result: z.ZodObject<{
4503
+ session: z.ZodObject<{
4504
+ id: z.ZodString;
4505
+ provider: z.ZodEnum<{
4506
+ claude: "claude";
4507
+ codex: "codex";
4508
+ }>;
4509
+ providerSessionId: z.ZodNullable<z.ZodString>;
4510
+ cwd: z.ZodString;
4511
+ title: z.ZodString;
4512
+ model: z.ZodNullable<z.ZodString>;
4513
+ effort: z.ZodNullable<z.ZodString>;
4514
+ origin: z.ZodEnum<{
4515
+ started: "started";
4516
+ takeover: "takeover";
4517
+ }>;
4518
+ createdAt: z.ZodString;
4519
+ updatedAt: z.ZodString;
4520
+ lastRunId: z.ZodNullable<z.ZodString>;
4521
+ lastRunStatus: z.ZodNullable<z.ZodEnum<{
4522
+ running: "running";
4523
+ starting: "starting";
4524
+ failed: "failed";
4525
+ stopped: "stopped";
4526
+ completed: "completed";
4527
+ }>>;
4528
+ queued: z.ZodArray<z.ZodString>;
4529
+ agent: z.ZodNullable<z.ZodObject<{
4530
+ agentId: z.ZodString;
4531
+ versionId: z.ZodNullable<z.ZodString>;
4532
+ versionNumber: z.ZodNullable<z.ZodInt>;
4533
+ name: z.ZodString;
4534
+ definitionHash: z.ZodString;
4535
+ loaded: z.ZodArray<z.ZodObject<{
4536
+ part: z.ZodEnum<{
4537
+ instructions: "instructions";
4538
+ skills: "skills";
4539
+ tools: "tools";
4540
+ }>;
4541
+ loaded: z.ZodInt;
4542
+ total: z.ZodInt;
4543
+ }, z.core.$strict>>;
4544
+ unavailable: z.ZodArray<z.ZodObject<{
4545
+ kind: z.ZodString;
4546
+ name: z.ZodString;
4547
+ reason: z.ZodString;
4548
+ }, z.core.$strict>>;
4549
+ skills: z.ZodArray<z.ZodString>;
4550
+ tools: z.ZodArray<z.ZodString>;
4551
+ variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4552
+ blockDue: z.ZodBoolean;
4553
+ deliveredAt: z.ZodNullable<z.ZodString>;
4554
+ replaces: z.ZodNullable<z.ZodString>;
4555
+ }, z.core.$strict>>;
4556
+ agentRemovedDue: z.ZodBoolean;
4557
+ }, z.core.$strict>;
4558
+ }, z.core.$strict>;
4559
+ readonly kind: "unary";
4560
+ readonly since: "1.38";
4561
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "INTERNAL"];
4562
+ };
4563
+ readonly "coding.agent.set": {
4564
+ readonly params: z.ZodObject<{
4565
+ session_id: z.ZodString;
4566
+ agent: z.ZodOptional<z.ZodObject<{
4567
+ agent_id: z.ZodString;
4568
+ version_id: z.ZodOptional<z.ZodString>;
4569
+ variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4570
+ }, z.core.$strict>>;
4571
+ }, z.core.$strict>;
4572
+ readonly result: z.ZodObject<{
4573
+ session: z.ZodObject<{
4574
+ id: z.ZodString;
4575
+ provider: z.ZodEnum<{
4576
+ claude: "claude";
4577
+ codex: "codex";
4578
+ }>;
4579
+ providerSessionId: z.ZodNullable<z.ZodString>;
4580
+ cwd: z.ZodString;
4581
+ title: z.ZodString;
4582
+ model: z.ZodNullable<z.ZodString>;
4583
+ effort: z.ZodNullable<z.ZodString>;
4584
+ origin: z.ZodEnum<{
4585
+ started: "started";
4586
+ takeover: "takeover";
4587
+ }>;
4588
+ createdAt: z.ZodString;
4589
+ updatedAt: z.ZodString;
4590
+ lastRunId: z.ZodNullable<z.ZodString>;
4591
+ lastRunStatus: z.ZodNullable<z.ZodEnum<{
4592
+ running: "running";
4593
+ starting: "starting";
4594
+ failed: "failed";
4595
+ stopped: "stopped";
4596
+ completed: "completed";
4597
+ }>>;
4598
+ queued: z.ZodArray<z.ZodString>;
4599
+ agent: z.ZodNullable<z.ZodObject<{
4600
+ agentId: z.ZodString;
4601
+ versionId: z.ZodNullable<z.ZodString>;
4602
+ versionNumber: z.ZodNullable<z.ZodInt>;
4603
+ name: z.ZodString;
4604
+ definitionHash: z.ZodString;
4605
+ loaded: z.ZodArray<z.ZodObject<{
4606
+ part: z.ZodEnum<{
4607
+ instructions: "instructions";
4608
+ skills: "skills";
4609
+ tools: "tools";
4610
+ }>;
4611
+ loaded: z.ZodInt;
4612
+ total: z.ZodInt;
4613
+ }, z.core.$strict>>;
4614
+ unavailable: z.ZodArray<z.ZodObject<{
4615
+ kind: z.ZodString;
4616
+ name: z.ZodString;
4617
+ reason: z.ZodString;
4618
+ }, z.core.$strict>>;
4619
+ skills: z.ZodArray<z.ZodString>;
4620
+ tools: z.ZodArray<z.ZodString>;
4621
+ variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4622
+ blockDue: z.ZodBoolean;
4623
+ deliveredAt: z.ZodNullable<z.ZodString>;
4624
+ replaces: z.ZodNullable<z.ZodString>;
4625
+ }, z.core.$strict>>;
4626
+ agentRemovedDue: z.ZodBoolean;
4627
+ }, z.core.$strict>;
4628
+ }, z.core.$strict>;
4629
+ readonly kind: "unary";
4630
+ readonly since: "1.38";
4631
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "AUTH_FORBIDDEN", "INTERNAL"];
4632
+ };
4633
+ readonly "coding.agents.access": {
4634
+ readonly params: z.ZodObject<{}, z.core.$strict>;
4635
+ readonly result: z.ZodObject<{
4636
+ signedIn: z.ZodBoolean;
4637
+ userId: z.ZodNullable<z.ZodString>;
4638
+ organizationId: z.ZodNullable<z.ZodString>;
4639
+ configured: z.ZodBoolean;
4640
+ }, z.core.$strict>;
4641
+ readonly kind: "unary";
4642
+ readonly since: "1.38";
4643
+ readonly errors: readonly ["INTERNAL"];
4644
+ };
4645
+ readonly "coding.titles.status": {
4646
+ readonly params: z.ZodObject<{}, z.core.$strict>;
4647
+ readonly result: z.ZodObject<{
4648
+ owner: z.ZodBoolean;
4649
+ pending: z.ZodBoolean;
4650
+ problem: z.ZodNullable<z.ZodString>;
4651
+ renames: z.ZodNullable<z.ZodString>;
4652
+ }, z.core.$strict>;
4653
+ readonly kind: "unary";
4654
+ readonly since: "1.38";
4655
+ readonly errors: readonly ["INTERNAL"];
4656
+ };
4657
+ readonly "coding.prefs.list": {
4658
+ readonly params: z.ZodObject<{}, z.core.$strict>;
4659
+ readonly result: z.ZodObject<{
4660
+ preferences: z.ZodRecord<z.ZodString, z.ZodObject<{
4661
+ title: z.ZodNullable<z.ZodString>;
4662
+ pinned: z.ZodBoolean;
4663
+ hidden: z.ZodBoolean;
4664
+ lastSeenAt: z.ZodNullable<z.ZodString>;
4665
+ updatedAt: z.ZodNullable<z.ZodString>;
4666
+ }, z.core.$strict>>;
4667
+ }, z.core.$strict>;
4668
+ readonly kind: "unary";
4669
+ readonly since: "1.38";
4670
+ readonly errors: readonly ["INTERNAL"];
4671
+ };
4672
+ readonly "coding.prefs.set": {
4673
+ readonly params: z.ZodObject<{
4674
+ key: z.ZodString;
4675
+ title: z.ZodOptional<z.ZodString>;
4676
+ clear_title: z.ZodOptional<z.ZodBoolean>;
4677
+ pinned: z.ZodOptional<z.ZodBoolean>;
4678
+ hidden: z.ZodOptional<z.ZodBoolean>;
4679
+ }, z.core.$strict>;
4680
+ readonly result: z.ZodObject<{
4681
+ preferences: z.ZodRecord<z.ZodString, z.ZodObject<{
4682
+ title: z.ZodNullable<z.ZodString>;
4683
+ pinned: z.ZodBoolean;
4684
+ hidden: z.ZodBoolean;
4685
+ lastSeenAt: z.ZodNullable<z.ZodString>;
4686
+ updatedAt: z.ZodNullable<z.ZodString>;
4687
+ }, z.core.$strict>>;
4688
+ }, z.core.$strict>;
4689
+ readonly kind: "unary";
4690
+ readonly since: "1.38";
4691
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
4692
+ };
4693
+ readonly "coding.recent.seen": {
4694
+ readonly params: z.ZodObject<{
4695
+ target: z.ZodString;
4696
+ }, z.core.$strict>;
4697
+ readonly result: z.ZodObject<{
4698
+ recent: z.ZodArray<z.ZodObject<{
4699
+ target: z.ZodString;
4700
+ title: z.ZodString;
4701
+ provider: z.ZodEnum<{
4702
+ claude: "claude";
4703
+ codex: "codex";
4704
+ }>;
4705
+ sessionId: z.ZodNullable<z.ZodString>;
4706
+ providerSessionId: z.ZodNullable<z.ZodString>;
4707
+ cwd: z.ZodNullable<z.ZodString>;
4708
+ updatedAt: z.ZodString;
4709
+ state: z.ZodEnum<{
4710
+ running: "running";
4711
+ idle: "idle";
4712
+ needs_attention: "needs_attention";
4713
+ new_output: "new_output";
4714
+ elsewhere: "elsewhere";
4715
+ }>;
4716
+ stateLabel: z.ZodNullable<z.ZodString>;
4717
+ pinned: z.ZodBoolean;
4718
+ startedBy: z.ZodNullable<z.ZodObject<{
4719
+ kind: z.ZodEnum<{
4720
+ agent: "agent";
4721
+ this_computer: "this_computer";
4722
+ web: "web";
4723
+ phone: "phone";
4724
+ other: "other";
4725
+ }>;
4726
+ label: z.ZodString;
4727
+ }, z.core.$strict>>;
4728
+ }, z.core.$strict>>;
4729
+ }, z.core.$strict>;
4730
+ readonly kind: "unary";
4731
+ readonly since: "1.38";
4732
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
4733
+ };
4734
+ readonly "coding.search": {
4735
+ readonly params: z.ZodObject<{
4736
+ query: z.ZodString;
4737
+ cursor: z.ZodOptional<z.ZodInt>;
4738
+ limit: z.ZodOptional<z.ZodInt>;
4739
+ }, z.core.$strict>;
4740
+ readonly result: z.ZodObject<{
4741
+ query: z.ZodString;
4742
+ hits: z.ZodArray<z.ZodObject<{
4743
+ provider: z.ZodEnum<{
4744
+ claude: "claude";
4745
+ codex: "codex";
4746
+ }>;
4747
+ providerSessionId: z.ZodString;
4748
+ title: z.ZodString;
4749
+ cwd: z.ZodNullable<z.ZodString>;
4750
+ updatedAt: z.ZodString;
4751
+ where: z.ZodEnum<{
4752
+ title: "title";
4753
+ content: "content";
4754
+ }>;
4755
+ snippet: z.ZodNullable<z.ZodString>;
4756
+ }, z.core.$strict>>;
4757
+ scanned: z.ZodInt;
4758
+ total: z.ZodInt;
4759
+ nextCursor: z.ZodNullable<z.ZodInt>;
4760
+ }, z.core.$strict>;
4761
+ readonly kind: "unary";
4762
+ readonly since: "1.38";
4763
+ readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "INTERNAL"];
4764
+ };
4765
+ readonly "coding.reconcile": {
4766
+ readonly params: z.ZodObject<{
4767
+ provider: z.ZodEnum<{
4768
+ claude: "claude";
4769
+ codex: "codex";
4770
+ }>;
4771
+ provider_session_id: z.ZodString;
4772
+ }, z.core.$strict>;
4773
+ readonly result: z.ZodObject<{
4774
+ state: z.ZodEnum<{
4775
+ done: "done";
4776
+ blocked: "blocked";
4777
+ nothing_to_do: "nothing_to_do";
4778
+ }>;
4779
+ summary: z.ZodString;
4780
+ }, z.core.$strict>;
4781
+ readonly kind: "unary";
4782
+ readonly since: "1.38";
4783
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "RESOURCE_BUSY", "CANCELLED", "INTERNAL"];
4784
+ };
4785
+ readonly "coding.transcript.raw": {
4786
+ readonly params: z.ZodObject<{
4787
+ provider: z.ZodEnum<{
4788
+ claude: "claude";
4789
+ codex: "codex";
4790
+ }>;
4791
+ provider_session_id: z.ZodString;
4792
+ }, z.core.$strict>;
4793
+ readonly result: z.ZodObject<{
4794
+ available: z.ZodBoolean;
4795
+ reason: z.ZodNullable<z.ZodString>;
4796
+ file_name: z.ZodNullable<z.ZodString>;
4797
+ bytes: z.ZodInt;
4798
+ backup_refreshed: z.ZodBoolean;
4799
+ subagents: z.ZodInt;
4800
+ }, z.core.$strict>;
4801
+ readonly kind: "stream";
4802
+ readonly since: "1.38";
4803
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "CANCELLED", "INTERNAL"];
4804
+ };
4805
+ readonly "coding.watch": {
4806
+ readonly params: z.ZodObject<{}, z.core.$strict>;
4807
+ readonly result: z.ZodObject<{
4808
+ resource_id: z.ZodString;
4809
+ }, z.core.$strict>;
4810
+ readonly kind: "resource";
4811
+ readonly since: "1.38";
4812
+ readonly errors: readonly ["PLATFORM_UNSUPPORTED", "RATE_LIMITED", "INTERNAL"];
4813
+ };
4814
+ readonly "coding.session.watch": {
4815
+ readonly params: z.ZodObject<{
4816
+ session_id: z.ZodString;
4817
+ since_seq: z.ZodOptional<z.ZodInt>;
4818
+ }, z.core.$strict>;
4819
+ readonly result: z.ZodObject<{
4820
+ resource_id: z.ZodString;
4821
+ seq: z.ZodInt;
4822
+ }, z.core.$strict>;
4823
+ readonly kind: "resource";
4824
+ readonly since: "1.38";
4825
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "RATE_LIMITED", "INTERNAL"];
4826
+ };
4827
+ readonly "session.identify": {
4828
+ readonly params: z.ZodObject<{
4829
+ label: z.ZodString;
4830
+ }, z.core.$strict>;
4831
+ readonly result: z.ZodObject<{
4832
+ label: z.ZodString;
4833
+ }, z.core.$strict>;
4834
+ readonly kind: "unary";
4835
+ readonly since: "1.38";
4836
+ readonly errors: readonly ["INVALID_PARAMS"];
4837
+ };
3595
4838
  readonly "git.status": {
3596
4839
  readonly params: z.ZodObject<{
3597
4840
  cwd: z.ZodString;
@@ -3888,6 +5131,17 @@ declare const OPS: {
3888
5131
  shared_by: z.ZodNullable<z.ZodString>;
3889
5132
  organization: z.ZodNullable<z.ZodString>;
3890
5133
  updated_at_ms: z.ZodInt;
5134
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
5135
+ model_id: z.ZodOptional<z.ZodString>;
5136
+ access_level: z.ZodOptional<z.ZodString>;
5137
+ organization_id: z.ZodOptional<z.ZodString>;
5138
+ origin: z.ZodOptional<z.ZodEnum<{
5139
+ mine: "mine";
5140
+ shared: "shared";
5141
+ system: "system";
5142
+ }>>;
5143
+ is_archived: z.ZodOptional<z.ZodBoolean>;
5144
+ orchestra: z.ZodOptional<z.ZodBoolean>;
3891
5145
  }, z.core.$strict>>;
3892
5146
  }, z.core.$strict>;
3893
5147
  readonly kind: "unary";
@@ -3908,9 +5162,9 @@ declare const OPS: {
3908
5162
  name: z.ZodString;
3909
5163
  kind: z.ZodEnum<{
3910
5164
  key: "key";
5165
+ other: "other";
3911
5166
  login: "login";
3912
5167
  passkey: "passkey";
3913
- other: "other";
3914
5168
  }>;
3915
5169
  definition: z.ZodString;
3916
5170
  username: z.ZodNullable<z.ZodString>;
@@ -3948,6 +5202,126 @@ declare const OPS: {
3948
5202
  readonly since: "1.23";
3949
5203
  readonly errors: readonly ["AUTH_REQUIRED", "AUTH_FORBIDDEN", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
3950
5204
  };
5205
+ readonly "account.agents.get": {
5206
+ readonly params: z.ZodObject<{
5207
+ agent_id: z.ZodString;
5208
+ }, z.core.$strict>;
5209
+ readonly result: z.ZodObject<{
5210
+ state: z.ZodEnum<{
5211
+ ok: "ok";
5212
+ signed_out: "signed_out";
5213
+ unavailable: "unavailable";
5214
+ }>;
5215
+ problem: z.ZodNullable<z.ZodString>;
5216
+ detail: z.ZodNullable<z.ZodObject<{
5217
+ agent: z.ZodObject<{
5218
+ id: z.ZodString;
5219
+ name: z.ZodString;
5220
+ description: z.ZodString;
5221
+ category: z.ZodString;
5222
+ agent_type: z.ZodString;
5223
+ is_favorite: z.ZodBoolean;
5224
+ is_owner: z.ZodBoolean;
5225
+ shared_by: z.ZodNullable<z.ZodString>;
5226
+ organization: z.ZodNullable<z.ZodString>;
5227
+ updated_at_ms: z.ZodInt;
5228
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
5229
+ model_id: z.ZodOptional<z.ZodString>;
5230
+ access_level: z.ZodOptional<z.ZodString>;
5231
+ organization_id: z.ZodOptional<z.ZodString>;
5232
+ origin: z.ZodOptional<z.ZodEnum<{
5233
+ mine: "mine";
5234
+ shared: "shared";
5235
+ system: "system";
5236
+ }>>;
5237
+ is_archived: z.ZodOptional<z.ZodBoolean>;
5238
+ orchestra: z.ZodOptional<z.ZodBoolean>;
5239
+ }, z.core.$strict>;
5240
+ variables: z.ZodArray<z.ZodObject<{
5241
+ name: z.ZodString;
5242
+ default_value: z.ZodString;
5243
+ required: z.ZodBoolean;
5244
+ help: z.ZodString;
5245
+ }, z.core.$strict>>;
5246
+ tool_count: z.ZodInt;
5247
+ custom_tool_count: z.ZodInt;
5248
+ skill_count: z.ZodInt;
5249
+ connection_count: z.ZodInt;
5250
+ model_name: z.ZodNullable<z.ZodString>;
5251
+ }, z.core.$strict>>;
5252
+ }, z.core.$strict>;
5253
+ readonly kind: "unary";
5254
+ readonly since: "1.39";
5255
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
5256
+ };
5257
+ readonly "account.agents.runs": {
5258
+ readonly params: z.ZodObject<{
5259
+ agent_id: z.ZodString;
5260
+ status: z.ZodOptional<z.ZodEnum<{
5261
+ running: "running";
5262
+ failed: "failed";
5263
+ stopped: "stopped";
5264
+ waiting: "waiting";
5265
+ succeeded: "succeeded";
5266
+ warned: "warned";
5267
+ }>>;
5268
+ sort: z.ZodOptional<z.ZodEnum<{
5269
+ status: "status";
5270
+ cost: "cost";
5271
+ started_at: "started_at";
5272
+ duration: "duration";
5273
+ }>>;
5274
+ descending: z.ZodOptional<z.ZodBoolean>;
5275
+ offset: z.ZodOptional<z.ZodInt>;
5276
+ limit: z.ZodOptional<z.ZodInt>;
5277
+ }, z.core.$strict>;
5278
+ readonly result: z.ZodObject<{
5279
+ state: z.ZodEnum<{
5280
+ ok: "ok";
5281
+ signed_out: "signed_out";
5282
+ unavailable: "unavailable";
5283
+ }>;
5284
+ problem: z.ZodNullable<z.ZodString>;
5285
+ total: z.ZodInt;
5286
+ rows: z.ZodArray<z.ZodObject<{
5287
+ run_id: z.ZodString;
5288
+ status: z.ZodEnum<{
5289
+ running: "running";
5290
+ failed: "failed";
5291
+ stopped: "stopped";
5292
+ waiting: "waiting";
5293
+ succeeded: "succeeded";
5294
+ warned: "warned";
5295
+ }>;
5296
+ started_at_ms: z.ZodInt;
5297
+ completed_at_ms: z.ZodNullable<z.ZodInt>;
5298
+ duration_ms: z.ZodNullable<z.ZodInt>;
5299
+ cost: z.ZodNullable<z.ZodNumber>;
5300
+ tokens: z.ZodNullable<z.ZodInt>;
5301
+ output_preview: z.ZodNullable<z.ZodString>;
5302
+ error: z.ZodNullable<z.ZodString>;
5303
+ mandate_key: z.ZodNullable<z.ZodString>;
5304
+ organization: z.ZodNullable<z.ZodString>;
5305
+ conversation_id: z.ZodNullable<z.ZodString>;
5306
+ has_transcript: z.ZodBoolean;
5307
+ }, z.core.$strict>>;
5308
+ }, z.core.$strict>;
5309
+ readonly kind: "unary";
5310
+ readonly since: "1.39";
5311
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
5312
+ };
5313
+ readonly "account.agents.favorite": {
5314
+ readonly params: z.ZodObject<{
5315
+ agent_id: z.ZodString;
5316
+ favorite: z.ZodBoolean;
5317
+ }, z.core.$strict>;
5318
+ readonly result: z.ZodObject<{
5319
+ favorite: z.ZodBoolean;
5320
+ }, z.core.$strict>;
5321
+ readonly kind: "unary";
5322
+ readonly since: "1.39";
5323
+ readonly errors: readonly ["AUTH_REQUIRED", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
5324
+ };
3951
5325
  readonly "apps.windows.update_state": {
3952
5326
  readonly params: z.ZodObject<{
3953
5327
  app_key: z.ZodString;
@@ -5263,6 +6637,216 @@ declare const EVENTS: {
5263
6637
  imported: z.ZodInt;
5264
6638
  failed: z.ZodInt;
5265
6639
  }, z.core.$strict>;
6640
+ readonly "coding.changed": z.ZodDiscriminatedUnion<[z.ZodObject<{
6641
+ kind: z.ZodLiteral<"session">;
6642
+ session: z.ZodObject<{
6643
+ id: z.ZodString;
6644
+ provider: z.ZodEnum<{
6645
+ claude: "claude";
6646
+ codex: "codex";
6647
+ }>;
6648
+ providerSessionId: z.ZodNullable<z.ZodString>;
6649
+ cwd: z.ZodString;
6650
+ title: z.ZodString;
6651
+ model: z.ZodNullable<z.ZodString>;
6652
+ effort: z.ZodNullable<z.ZodString>;
6653
+ origin: z.ZodEnum<{
6654
+ started: "started";
6655
+ takeover: "takeover";
6656
+ }>;
6657
+ createdAt: z.ZodString;
6658
+ updatedAt: z.ZodString;
6659
+ lastRunId: z.ZodNullable<z.ZodString>;
6660
+ lastRunStatus: z.ZodNullable<z.ZodEnum<{
6661
+ running: "running";
6662
+ starting: "starting";
6663
+ failed: "failed";
6664
+ stopped: "stopped";
6665
+ completed: "completed";
6666
+ }>>;
6667
+ queued: z.ZodArray<z.ZodString>;
6668
+ agent: z.ZodNullable<z.ZodObject<{
6669
+ agentId: z.ZodString;
6670
+ versionId: z.ZodNullable<z.ZodString>;
6671
+ versionNumber: z.ZodNullable<z.ZodInt>;
6672
+ name: z.ZodString;
6673
+ definitionHash: z.ZodString;
6674
+ loaded: z.ZodArray<z.ZodObject<{
6675
+ part: z.ZodEnum<{
6676
+ instructions: "instructions";
6677
+ skills: "skills";
6678
+ tools: "tools";
6679
+ }>;
6680
+ loaded: z.ZodInt;
6681
+ total: z.ZodInt;
6682
+ }, z.core.$strict>>;
6683
+ unavailable: z.ZodArray<z.ZodObject<{
6684
+ kind: z.ZodString;
6685
+ name: z.ZodString;
6686
+ reason: z.ZodString;
6687
+ }, z.core.$strict>>;
6688
+ skills: z.ZodArray<z.ZodString>;
6689
+ tools: z.ZodArray<z.ZodString>;
6690
+ variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6691
+ blockDue: z.ZodBoolean;
6692
+ deliveredAt: z.ZodNullable<z.ZodString>;
6693
+ replaces: z.ZodNullable<z.ZodString>;
6694
+ }, z.core.$strict>>;
6695
+ agentRemovedDue: z.ZodBoolean;
6696
+ }, z.core.$strict>;
6697
+ }, z.core.$strict>, z.ZodObject<{
6698
+ kind: z.ZodLiteral<"run">;
6699
+ run: z.ZodObject<{
6700
+ runId: z.ZodString;
6701
+ sessionId: z.ZodString;
6702
+ provider: z.ZodEnum<{
6703
+ claude: "claude";
6704
+ codex: "codex";
6705
+ }>;
6706
+ cwd: z.ZodString;
6707
+ prompt: z.ZodString;
6708
+ model: z.ZodNullable<z.ZodString>;
6709
+ status: z.ZodEnum<{
6710
+ running: "running";
6711
+ starting: "starting";
6712
+ failed: "failed";
6713
+ stopped: "stopped";
6714
+ completed: "completed";
6715
+ }>;
6716
+ startedAt: z.ZodString;
6717
+ endedAt: z.ZodNullable<z.ZodString>;
6718
+ error: z.ZodNullable<z.ZodString>;
6719
+ usage: z.ZodNullable<z.ZodObject<{
6720
+ inputTokens: z.ZodInt;
6721
+ outputTokens: z.ZodInt;
6722
+ cachedInputTokens: z.ZodInt;
6723
+ }, z.core.$strict>>;
6724
+ costUsd: z.ZodNullable<z.ZodNumber>;
6725
+ billing: z.ZodNullable<z.ZodEnum<{
6726
+ unknown: "unknown";
6727
+ subscription: "subscription";
6728
+ api: "api";
6729
+ }>>;
6730
+ startedBy: z.ZodNullable<z.ZodObject<{
6731
+ kind: z.ZodEnum<{
6732
+ agent: "agent";
6733
+ this_computer: "this_computer";
6734
+ web: "web";
6735
+ phone: "phone";
6736
+ other: "other";
6737
+ }>;
6738
+ label: z.ZodString;
6739
+ }, z.core.$strict>>;
6740
+ }, z.core.$strict>;
6741
+ }, z.core.$strict>, z.ZodObject<{
6742
+ kind: z.ZodLiteral<"preferences">;
6743
+ preferences: z.ZodRecord<z.ZodString, z.ZodObject<{
6744
+ title: z.ZodNullable<z.ZodString>;
6745
+ pinned: z.ZodBoolean;
6746
+ hidden: z.ZodBoolean;
6747
+ lastSeenAt: z.ZodNullable<z.ZodString>;
6748
+ updatedAt: z.ZodNullable<z.ZodString>;
6749
+ }, z.core.$strict>>;
6750
+ }, z.core.$strict>, z.ZodObject<{
6751
+ kind: z.ZodLiteral<"titles">;
6752
+ }, z.core.$strict>, z.ZodObject<{
6753
+ kind: z.ZodLiteral<"recent">;
6754
+ recent: z.ZodArray<z.ZodObject<{
6755
+ target: z.ZodString;
6756
+ title: z.ZodString;
6757
+ provider: z.ZodEnum<{
6758
+ claude: "claude";
6759
+ codex: "codex";
6760
+ }>;
6761
+ sessionId: z.ZodNullable<z.ZodString>;
6762
+ providerSessionId: z.ZodNullable<z.ZodString>;
6763
+ cwd: z.ZodNullable<z.ZodString>;
6764
+ updatedAt: z.ZodString;
6765
+ state: z.ZodEnum<{
6766
+ running: "running";
6767
+ idle: "idle";
6768
+ needs_attention: "needs_attention";
6769
+ new_output: "new_output";
6770
+ elsewhere: "elsewhere";
6771
+ }>;
6772
+ stateLabel: z.ZodNullable<z.ZodString>;
6773
+ pinned: z.ZodBoolean;
6774
+ startedBy: z.ZodNullable<z.ZodObject<{
6775
+ kind: z.ZodEnum<{
6776
+ agent: "agent";
6777
+ this_computer: "this_computer";
6778
+ web: "web";
6779
+ phone: "phone";
6780
+ other: "other";
6781
+ }>;
6782
+ label: z.ZodString;
6783
+ }, z.core.$strict>>;
6784
+ }, z.core.$strict>>;
6785
+ }, z.core.$strict>], "kind">;
6786
+ readonly "coding.watch_state": z.ZodObject<{
6787
+ live: z.ZodBoolean;
6788
+ reason: z.ZodNullable<z.ZodString>;
6789
+ beat_ms: z.ZodInt;
6790
+ }, z.core.$strict>;
6791
+ readonly "coding.item": z.ZodObject<{
6792
+ session_id: z.ZodString;
6793
+ run_id: z.ZodString;
6794
+ seq: z.ZodInt;
6795
+ item: z.ZodDiscriminatedUnion<[z.ZodObject<{
6796
+ kind: z.ZodLiteral<"user">;
6797
+ id: z.ZodString;
6798
+ text: z.ZodString;
6799
+ at: z.ZodNullable<z.ZodString>;
6800
+ }, z.core.$strict>, z.ZodObject<{
6801
+ kind: z.ZodLiteral<"text">;
6802
+ id: z.ZodString;
6803
+ text: z.ZodString;
6804
+ }, z.core.$strict>, z.ZodObject<{
6805
+ kind: z.ZodLiteral<"text-delta">;
6806
+ id: z.ZodString;
6807
+ text: z.ZodString;
6808
+ }, z.core.$strict>, z.ZodObject<{
6809
+ kind: z.ZodLiteral<"reasoning">;
6810
+ id: z.ZodString;
6811
+ text: z.ZodString;
6812
+ }, z.core.$strict>, z.ZodObject<{
6813
+ kind: z.ZodLiteral<"tool-call">;
6814
+ id: z.ZodString;
6815
+ name: z.ZodString;
6816
+ input: z.ZodUnknown;
6817
+ }, z.core.$strict>, z.ZodObject<{
6818
+ kind: z.ZodLiteral<"tool-result">;
6819
+ id: z.ZodString;
6820
+ output: z.ZodString;
6821
+ isError: z.ZodBoolean;
6822
+ fullBytes: z.ZodOptional<z.ZodInt>;
6823
+ }, z.core.$strict>, z.ZodObject<{
6824
+ kind: z.ZodLiteral<"usage">;
6825
+ usage: z.ZodObject<{
6826
+ inputTokens: z.ZodInt;
6827
+ outputTokens: z.ZodInt;
6828
+ cachedInputTokens: z.ZodInt;
6829
+ }, z.core.$strict>;
6830
+ costUsd: z.ZodNullable<z.ZodNumber>;
6831
+ }, z.core.$strict>, z.ZodObject<{
6832
+ kind: z.ZodLiteral<"notice">;
6833
+ id: z.ZodString;
6834
+ level: z.ZodEnum<{
6835
+ warning: "warning";
6836
+ info: "info";
6837
+ }>;
6838
+ text: z.ZodString;
6839
+ }, z.core.$strict>, z.ZodObject<{
6840
+ kind: z.ZodLiteral<"error">;
6841
+ id: z.ZodString;
6842
+ text: z.ZodString;
6843
+ }, z.core.$strict>], "kind">;
6844
+ }, z.core.$strict>;
6845
+ readonly "coding.gap": z.ZodObject<{
6846
+ session_id: z.ZodString;
6847
+ since_seq: z.ZodInt;
6848
+ seq: z.ZodInt;
6849
+ }, z.core.$strict>;
5266
6850
  readonly "relay.device_status": z.ZodObject<{
5267
6851
  online: z.ZodBoolean;
5268
6852
  since_ms: z.ZodNullable<z.ZodInt>;