@opencode/client 0.0.0-dev-21922 → 0.0.0-dev-44

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.
Files changed (67) hide show
  1. package/dist/chunks/{shared-events-10stgdsh.js → contract-10stgdsh.js} +1 -1
  2. package/dist/chunks/{shared-events-15p82y03.js → contract-15p82y03.js} +2 -2
  3. package/dist/chunks/{shared-events-nk1xsepz.js → contract-1c0a7bf6.js} +5 -5
  4. package/dist/chunks/{shared-events-8ye1ye6f.js → contract-2ny4vxct.js} +2 -2
  5. package/dist/chunks/{shared-events-vsajws5y.js → contract-c7bzqp37.js} +5 -5
  6. package/dist/chunks/{shared-events-vjjdy6xx.js → contract-g7k52zyy.js} +6 -6
  7. package/dist/chunks/{shared-events-8bbb028w.js → contract-gecjxyvt.js} +5 -1
  8. package/dist/chunks/{shared-events-ryy6kscr.js → contract-ryy6kscr.js} +1 -1
  9. package/dist/chunks/{shared-events-skhp7hxc.js → contract-skhp7hxc.js} +1 -1
  10. package/dist/chunks/{shared-events-zzd46hf5.js → contract-vetb1vph.js} +11 -4
  11. package/dist/chunks/{shared-events-zyxm3269.js → contract-z63y07gf.js} +2 -2
  12. package/dist/contract.js +1 -1
  13. package/dist/effect/api/api.d.ts +5 -1
  14. package/dist/effect/api.d.ts +1 -0
  15. package/dist/effect/client.d.ts +101 -97
  16. package/dist/effect/client.js +8 -8
  17. package/dist/effect/generated/client-error.js +1 -1
  18. package/dist/effect/generated/client.d.ts +2 -2
  19. package/dist/effect/generated/client.js +3 -3
  20. package/dist/effect/generated/index.js +4 -4
  21. package/dist/effect/index.js +8 -8
  22. package/dist/effect/rpc.js +2 -2
  23. package/dist/effect/service.js +6 -6
  24. package/dist/promise/api.d.ts +1 -0
  25. package/dist/promise/client.d.ts +1 -1
  26. package/dist/promise/client.js +7 -7
  27. package/dist/promise/generated/client-error.js +1 -1
  28. package/dist/promise/generated/client.d.ts +2 -2
  29. package/dist/promise/generated/client.js +2 -2
  30. package/dist/promise/generated/index.js +6 -6
  31. package/dist/promise/generated/types.d.ts +796 -3444
  32. package/dist/promise/generated/types.js +1 -1
  33. package/dist/promise/index.js +8 -8
  34. package/dist/promise/rpc.js +2 -2
  35. package/dist/promise/service.js +6 -6
  36. package/dist/pty-handoff.js +4 -4
  37. package/dist/rpc-runtime.js +1 -1
  38. package/dist/service-contender.js +1 -1
  39. package/dist/service-probe.js +3 -3
  40. package/dist/service-timing.js +1 -1
  41. package/dist/service-version.js +1 -1
  42. package/dist/service.js +1 -1
  43. package/dist/shared-events.d.ts +7 -2
  44. package/dist/shared-events.js +1 -1
  45. package/dist/solid/connection.js +1 -1
  46. package/dist/solid/data.js +9 -9
  47. package/dist/solid/index.js +13 -13
  48. package/dist/solid/pty.js +1 -1
  49. package/dist/solid/retention.js +1 -1
  50. package/dist/solid/usage.js +1 -1
  51. package/package.json +7 -6
  52. /package/dist/chunks/{shared-events-6mptkzbc.js → contract-6mptkzbc.js} +0 -0
  53. /package/dist/chunks/{shared-events-6mq2wh8y.js → contract-6mq2wh8y.js} +0 -0
  54. /package/dist/chunks/{shared-events-8s2anffy.js → contract-8s2anffy.js} +0 -0
  55. /package/dist/chunks/{shared-events-9rqn6x4v.js → contract-9rqn6x4v.js} +0 -0
  56. /package/dist/chunks/{shared-events-c46qzyff.js → contract-c46qzyff.js} +0 -0
  57. /package/dist/chunks/{shared-events-gne7h7mq.js → contract-gne7h7mq.js} +0 -0
  58. /package/dist/chunks/{shared-events-m2eywc8w.js → contract-m2eywc8w.js} +0 -0
  59. /package/dist/chunks/{shared-events-nwcpakzx.js → contract-nwcpakzx.js} +0 -0
  60. /package/dist/chunks/{shared-events-qav6mfdz.js → contract-qav6mfdz.js} +0 -0
  61. /package/dist/chunks/{shared-events-sxt88q69.js → contract-sxt88q69.js} +0 -0
  62. /package/dist/chunks/{shared-events-ve4aws36.js → contract-ve4aws36.js} +0 -0
  63. /package/dist/chunks/{shared-events-vmytr4q8.js → contract-vmytr4q8.js} +0 -0
  64. /package/dist/chunks/{shared-events-vyas3vgt.js → contract-vyas3vgt.js} +0 -0
  65. /package/dist/chunks/{shared-events-xgnj2w4v.js → contract-xgnj2w4v.js} +0 -0
  66. /package/dist/chunks/{shared-events-y2etg5bs.js → contract-y2etg5bs.js} +0 -0
  67. /package/dist/chunks/{shared-events-ydhz1zrh.js → contract-ydhz1zrh.js} +0 -0
@@ -227,6 +227,7 @@ export type FormExternalField = {
227
227
  description?: string;
228
228
  };
229
229
  export type FormValue = string | number | "Infinity" | "-Infinity" | "NaN" | boolean | Array<string>;
230
+ export type ModelType = "chat" | "decision" | "image" | (string & {});
230
231
  export type ModelReasoningField = "reasoning" | "reasoning_content" | "reasoning_text" | (string & {});
231
232
  export type ModelMaxTokensField = "max_completion_tokens" | "max_tokens";
232
233
  export type ModelCacheFormat = "anthropic" | "alibaba";
@@ -3197,6 +3198,7 @@ export type ConfigEntry = {
3197
3198
  models?: {
3198
3199
  [x: string]: {
3199
3200
  modelID?: string;
3201
+ type?: ModelType;
3200
3202
  family?: string;
3201
3203
  name?: string;
3202
3204
  releaseDate?: string;
@@ -3360,6 +3362,7 @@ export type ModelInfo = {
3360
3362
  modelID: string;
3361
3363
  providerID: ProviderID;
3362
3364
  canonical?: ProviderID;
3365
+ type?: ModelType;
3363
3366
  family?: string;
3364
3367
  name: string;
3365
3368
  compatibility?: ModelCompatibility;
@@ -3527,6 +3530,7 @@ export type SessionEventDurable = SessionCreated | SessionAgentSelected | Sessio
3527
3530
  export type IntegrationInfo = {
3528
3531
  id: IntegrationID;
3529
3532
  name: string;
3533
+ configured?: boolean;
3530
3534
  metadata?: {
3531
3535
  [x: string]: any;
3532
3536
  };
@@ -3751,40 +3755,30 @@ export declare const isVcsInitNotSupportedError: (value: unknown) => value is Vc
3751
3755
  export type ServerInfoOutput = ServerInfo;
3752
3756
  export type ServerPairOutput = PairingCode;
3753
3757
  export type ServerConnectInput = {
3754
- readonly code: {
3755
- readonly code: string;
3756
- }["code"];
3758
+ readonly code: string;
3757
3759
  };
3758
3760
  export type ServerConnectOutput = PairingSession;
3759
3761
  export type LocationGetInput = {
3760
3762
  readonly location?: {
3761
- readonly location?: {
3762
- readonly directory?: string | undefined;
3763
- } | undefined;
3764
- }["location"];
3763
+ readonly directory?: string | undefined;
3764
+ } | undefined;
3765
3765
  };
3766
3766
  export type LocationGetOutput = LocationPublicInfo;
3767
3767
  export type LocationReloadOutput = void;
3768
3768
  export type AgentListInput = {
3769
3769
  readonly location?: {
3770
- readonly location?: {
3771
- readonly directory?: string | undefined;
3772
- } | undefined;
3773
- }["location"];
3770
+ readonly directory?: string | undefined;
3771
+ } | undefined;
3774
3772
  };
3775
3773
  export type AgentListOutput = {
3776
3774
  location: LocationPublicRef;
3777
3775
  data: Array<AgentInfo>;
3778
3776
  };
3779
3777
  export type AgentGetInput = {
3780
- readonly agentID: {
3781
- readonly agentID: string;
3782
- }["agentID"];
3778
+ readonly agentID: string;
3783
3779
  readonly location?: {
3784
- readonly location?: {
3785
- readonly directory?: string | undefined;
3786
- } | undefined;
3787
- }["location"];
3780
+ readonly directory?: string | undefined;
3781
+ } | undefined;
3788
3782
  };
3789
3783
  export type AgentGetOutput = {
3790
3784
  location: LocationPublicRef;
@@ -3792,10 +3786,8 @@ export type AgentGetOutput = {
3792
3786
  };
3793
3787
  export type PluginListInput = {
3794
3788
  readonly location?: {
3795
- readonly location?: {
3796
- readonly directory?: string | undefined;
3797
- } | undefined;
3798
- }["location"];
3789
+ readonly directory?: string | undefined;
3790
+ } | undefined;
3799
3791
  };
3800
3792
  export type PluginListOutput = {
3801
3793
  location: LocationPublicRef;
@@ -3803,13 +3795,9 @@ export type PluginListOutput = {
3803
3795
  };
3804
3796
  export type PluginCheckInput = {
3805
3797
  readonly location?: {
3806
- readonly location?: {
3807
- readonly directory?: string | undefined;
3808
- } | undefined;
3809
- }["location"];
3810
- readonly target?: {
3811
- readonly target?: string | undefined;
3812
- }["target"];
3798
+ readonly directory?: string | undefined;
3799
+ } | undefined;
3800
+ readonly target?: string | undefined;
3813
3801
  };
3814
3802
  export type PluginCheckOutput = {
3815
3803
  location: LocationPublicRef;
@@ -3817,563 +3805,135 @@ export type PluginCheckOutput = {
3817
3805
  };
3818
3806
  export type PluginUpdateInput = {
3819
3807
  readonly location?: {
3820
- readonly location?: {
3821
- readonly directory?: string | undefined;
3822
- } | undefined;
3823
- }["location"];
3824
- readonly targets: {
3825
- readonly targets: ReadonlyArray<string>;
3826
- }["targets"];
3808
+ readonly directory?: string | undefined;
3809
+ } | undefined;
3810
+ readonly targets: ReadonlyArray<string>;
3827
3811
  };
3828
3812
  export type PluginUpdateOutput = void;
3829
3813
  export type SessionListInput = {
3830
- readonly limit?: {
3831
- readonly limit?: number | undefined;
3832
- readonly order?: "asc" | "desc" | undefined;
3833
- readonly search?: string | undefined;
3834
- readonly parentID?: string | null | undefined;
3835
- readonly archived?: boolean | undefined;
3836
- readonly directory?: string | undefined;
3837
- readonly project?: string | undefined;
3838
- readonly subpath?: string | undefined;
3839
- readonly cursor?: string | undefined;
3840
- }["limit"];
3841
- readonly order?: {
3842
- readonly limit?: number | undefined;
3843
- readonly order?: "asc" | "desc" | undefined;
3844
- readonly search?: string | undefined;
3845
- readonly parentID?: string | null | undefined;
3846
- readonly archived?: boolean | undefined;
3847
- readonly directory?: string | undefined;
3848
- readonly project?: string | undefined;
3849
- readonly subpath?: string | undefined;
3850
- readonly cursor?: string | undefined;
3851
- }["order"];
3852
- readonly search?: {
3853
- readonly limit?: number | undefined;
3854
- readonly order?: "asc" | "desc" | undefined;
3855
- readonly search?: string | undefined;
3856
- readonly parentID?: string | null | undefined;
3857
- readonly archived?: boolean | undefined;
3858
- readonly directory?: string | undefined;
3859
- readonly project?: string | undefined;
3860
- readonly subpath?: string | undefined;
3861
- readonly cursor?: string | undefined;
3862
- }["search"];
3863
- readonly parentID?: {
3864
- readonly limit?: number | undefined;
3865
- readonly order?: "asc" | "desc" | undefined;
3866
- readonly search?: string | undefined;
3867
- readonly parentID?: string | null | undefined;
3868
- readonly archived?: boolean | undefined;
3869
- readonly directory?: string | undefined;
3870
- readonly project?: string | undefined;
3871
- readonly subpath?: string | undefined;
3872
- readonly cursor?: string | undefined;
3873
- }["parentID"];
3874
- readonly archived?: {
3875
- readonly limit?: number | undefined;
3876
- readonly order?: "asc" | "desc" | undefined;
3877
- readonly search?: string | undefined;
3878
- readonly parentID?: string | null | undefined;
3879
- readonly archived?: boolean | undefined;
3880
- readonly directory?: string | undefined;
3881
- readonly project?: string | undefined;
3882
- readonly subpath?: string | undefined;
3883
- readonly cursor?: string | undefined;
3884
- }["archived"];
3885
- readonly directory?: {
3886
- readonly limit?: number | undefined;
3887
- readonly order?: "asc" | "desc" | undefined;
3888
- readonly search?: string | undefined;
3889
- readonly parentID?: string | null | undefined;
3890
- readonly archived?: boolean | undefined;
3891
- readonly directory?: string | undefined;
3892
- readonly project?: string | undefined;
3893
- readonly subpath?: string | undefined;
3894
- readonly cursor?: string | undefined;
3895
- }["directory"];
3896
- readonly project?: {
3897
- readonly limit?: number | undefined;
3898
- readonly order?: "asc" | "desc" | undefined;
3899
- readonly search?: string | undefined;
3900
- readonly parentID?: string | null | undefined;
3901
- readonly archived?: boolean | undefined;
3902
- readonly directory?: string | undefined;
3903
- readonly project?: string | undefined;
3904
- readonly subpath?: string | undefined;
3905
- readonly cursor?: string | undefined;
3906
- }["project"];
3907
- readonly subpath?: {
3908
- readonly limit?: number | undefined;
3909
- readonly order?: "asc" | "desc" | undefined;
3910
- readonly search?: string | undefined;
3911
- readonly parentID?: string | null | undefined;
3912
- readonly archived?: boolean | undefined;
3913
- readonly directory?: string | undefined;
3914
- readonly project?: string | undefined;
3915
- readonly subpath?: string | undefined;
3916
- readonly cursor?: string | undefined;
3917
- }["subpath"];
3918
- readonly cursor?: {
3919
- readonly limit?: number | undefined;
3920
- readonly order?: "asc" | "desc" | undefined;
3921
- readonly search?: string | undefined;
3922
- readonly parentID?: string | null | undefined;
3923
- readonly archived?: boolean | undefined;
3924
- readonly directory?: string | undefined;
3925
- readonly project?: string | undefined;
3926
- readonly subpath?: string | undefined;
3927
- readonly cursor?: string | undefined;
3928
- }["cursor"];
3814
+ readonly limit?: number | undefined;
3815
+ readonly order?: "asc" | "desc" | undefined;
3816
+ readonly search?: string | undefined;
3817
+ readonly parentID?: string | null | undefined;
3818
+ readonly archived?: boolean | undefined;
3819
+ readonly directory?: string | undefined;
3820
+ readonly project?: string | undefined;
3821
+ readonly subpath?: string | undefined;
3822
+ readonly cursor?: string | undefined;
3929
3823
  };
3930
3824
  export type SessionListOutput = SessionsResponse;
3931
3825
  export type SessionStatsInput = {
3932
- readonly from?: {
3933
- readonly from?: number | undefined;
3934
- readonly to?: number | undefined;
3935
- readonly project?: string | undefined;
3936
- readonly timezone?: string | undefined;
3937
- readonly tools?: "none" | "summary" | "detail" | undefined;
3938
- }["from"];
3939
- readonly to?: {
3940
- readonly from?: number | undefined;
3941
- readonly to?: number | undefined;
3942
- readonly project?: string | undefined;
3943
- readonly timezone?: string | undefined;
3944
- readonly tools?: "none" | "summary" | "detail" | undefined;
3945
- }["to"];
3946
- readonly project?: {
3947
- readonly from?: number | undefined;
3948
- readonly to?: number | undefined;
3949
- readonly project?: string | undefined;
3950
- readonly timezone?: string | undefined;
3951
- readonly tools?: "none" | "summary" | "detail" | undefined;
3952
- }["project"];
3953
- readonly timezone?: {
3954
- readonly from?: number | undefined;
3955
- readonly to?: number | undefined;
3956
- readonly project?: string | undefined;
3957
- readonly timezone?: string | undefined;
3958
- readonly tools?: "none" | "summary" | "detail" | undefined;
3959
- }["timezone"];
3960
- readonly tools?: {
3961
- readonly from?: number | undefined;
3962
- readonly to?: number | undefined;
3963
- readonly project?: string | undefined;
3964
- readonly timezone?: string | undefined;
3965
- readonly tools?: "none" | "summary" | "detail" | undefined;
3966
- }["tools"];
3826
+ readonly from?: number | undefined;
3827
+ readonly to?: number | undefined;
3828
+ readonly project?: string | undefined;
3829
+ readonly timezone?: string | undefined;
3830
+ readonly tools?: "none" | "summary" | "detail" | undefined;
3967
3831
  };
3968
3832
  export type SessionStatsOutput = {
3969
3833
  data: SessionStatsInfo;
3970
3834
  }["data"];
3971
3835
  export type SessionCreateInput = {
3972
- readonly id?: {
3973
- readonly id?: string | null;
3974
- readonly parentID?: string | null;
3975
- readonly title?: string | null;
3976
- readonly agent?: string | null;
3977
- readonly model?: {
3978
- readonly id: string;
3979
- readonly providerID: string;
3980
- readonly variant?: string;
3981
- } | null;
3982
- readonly location?: {
3983
- readonly directory: string;
3984
- } | null;
3985
- readonly metadata?: {
3986
- readonly [x: string]: JsonValue;
3987
- } | null;
3988
- readonly permissions?: ReadonlyArray<{
3989
- readonly action: string;
3990
- readonly resource: string;
3991
- readonly effect: "allow" | "deny" | "ask";
3992
- }> | null;
3993
- }["id"];
3994
- readonly parentID?: {
3995
- readonly id?: string | null;
3996
- readonly parentID?: string | null;
3997
- readonly title?: string | null;
3998
- readonly agent?: string | null;
3999
- readonly model?: {
4000
- readonly id: string;
4001
- readonly providerID: string;
4002
- readonly variant?: string;
4003
- } | null;
4004
- readonly location?: {
4005
- readonly directory: string;
4006
- } | null;
4007
- readonly metadata?: {
4008
- readonly [x: string]: JsonValue;
4009
- } | null;
4010
- readonly permissions?: ReadonlyArray<{
4011
- readonly action: string;
4012
- readonly resource: string;
4013
- readonly effect: "allow" | "deny" | "ask";
4014
- }> | null;
4015
- }["parentID"];
4016
- readonly title?: {
4017
- readonly id?: string | null;
4018
- readonly parentID?: string | null;
4019
- readonly title?: string | null;
4020
- readonly agent?: string | null;
4021
- readonly model?: {
4022
- readonly id: string;
4023
- readonly providerID: string;
4024
- readonly variant?: string;
4025
- } | null;
4026
- readonly location?: {
4027
- readonly directory: string;
4028
- } | null;
4029
- readonly metadata?: {
4030
- readonly [x: string]: JsonValue;
4031
- } | null;
4032
- readonly permissions?: ReadonlyArray<{
4033
- readonly action: string;
4034
- readonly resource: string;
4035
- readonly effect: "allow" | "deny" | "ask";
4036
- }> | null;
4037
- }["title"];
4038
- readonly agent?: {
4039
- readonly id?: string | null;
4040
- readonly parentID?: string | null;
4041
- readonly title?: string | null;
4042
- readonly agent?: string | null;
4043
- readonly model?: {
4044
- readonly id: string;
4045
- readonly providerID: string;
4046
- readonly variant?: string;
4047
- } | null;
4048
- readonly location?: {
4049
- readonly directory: string;
4050
- } | null;
4051
- readonly metadata?: {
4052
- readonly [x: string]: JsonValue;
4053
- } | null;
4054
- readonly permissions?: ReadonlyArray<{
4055
- readonly action: string;
4056
- readonly resource: string;
4057
- readonly effect: "allow" | "deny" | "ask";
4058
- }> | null;
4059
- }["agent"];
3836
+ readonly id?: string | null | undefined;
3837
+ readonly parentID?: string | null | undefined;
3838
+ readonly title?: string | null | undefined;
3839
+ readonly agent?: string | null | undefined;
4060
3840
  readonly model?: {
4061
- readonly id?: string | null;
4062
- readonly parentID?: string | null;
4063
- readonly title?: string | null;
4064
- readonly agent?: string | null;
4065
- readonly model?: {
4066
- readonly id: string;
4067
- readonly providerID: string;
4068
- readonly variant?: string;
4069
- } | null;
4070
- readonly location?: {
4071
- readonly directory: string;
4072
- } | null;
4073
- readonly metadata?: {
4074
- readonly [x: string]: JsonValue;
4075
- } | null;
4076
- readonly permissions?: ReadonlyArray<{
4077
- readonly action: string;
4078
- readonly resource: string;
4079
- readonly effect: "allow" | "deny" | "ask";
4080
- }> | null;
4081
- }["model"];
3841
+ readonly id: string;
3842
+ readonly providerID: string;
3843
+ readonly variant?: string;
3844
+ } | null | undefined;
4082
3845
  readonly location?: {
4083
- readonly id?: string | null;
4084
- readonly parentID?: string | null;
4085
- readonly title?: string | null;
4086
- readonly agent?: string | null;
4087
- readonly model?: {
4088
- readonly id: string;
4089
- readonly providerID: string;
4090
- readonly variant?: string;
4091
- } | null;
4092
- readonly location?: {
4093
- readonly directory: string;
4094
- } | null;
4095
- readonly metadata?: {
4096
- readonly [x: string]: JsonValue;
4097
- } | null;
4098
- readonly permissions?: ReadonlyArray<{
4099
- readonly action: string;
4100
- readonly resource: string;
4101
- readonly effect: "allow" | "deny" | "ask";
4102
- }> | null;
4103
- }["location"];
3846
+ readonly directory: string;
3847
+ } | null | undefined;
4104
3848
  readonly metadata?: {
4105
- readonly id?: string | null;
4106
- readonly parentID?: string | null;
4107
- readonly title?: string | null;
4108
- readonly agent?: string | null;
4109
- readonly model?: {
4110
- readonly id: string;
4111
- readonly providerID: string;
4112
- readonly variant?: string;
4113
- } | null;
4114
- readonly location?: {
4115
- readonly directory: string;
4116
- } | null;
4117
- readonly metadata?: {
4118
- readonly [x: string]: JsonValue;
4119
- } | null;
4120
- readonly permissions?: ReadonlyArray<{
4121
- readonly action: string;
4122
- readonly resource: string;
4123
- readonly effect: "allow" | "deny" | "ask";
4124
- }> | null;
4125
- }["metadata"];
4126
- readonly permissions?: {
4127
- readonly id?: string | null;
4128
- readonly parentID?: string | null;
4129
- readonly title?: string | null;
4130
- readonly agent?: string | null;
4131
- readonly model?: {
4132
- readonly id: string;
4133
- readonly providerID: string;
4134
- readonly variant?: string;
4135
- } | null;
4136
- readonly location?: {
4137
- readonly directory: string;
4138
- } | null;
4139
- readonly metadata?: {
4140
- readonly [x: string]: JsonValue;
4141
- } | null;
4142
- readonly permissions?: ReadonlyArray<{
4143
- readonly action: string;
4144
- readonly resource: string;
4145
- readonly effect: "allow" | "deny" | "ask";
4146
- }> | null;
4147
- }["permissions"];
3849
+ readonly [x: string]: JsonValue;
3850
+ } | null | undefined;
3851
+ readonly permissions?: ReadonlyArray<{
3852
+ readonly action: string;
3853
+ readonly resource: string;
3854
+ readonly effect: "allow" | "deny" | "ask";
3855
+ }> | null | undefined;
4148
3856
  };
4149
3857
  export type SessionCreateOutput = {
4150
3858
  data: SessionInfo;
4151
3859
  }["data"];
4152
3860
  export type SessionImportInput = {
4153
3861
  readonly info: {
4154
- readonly info: {
4155
- readonly id: string;
4156
- readonly parentID?: string;
4157
- readonly fork?: {
4158
- readonly sessionID: string;
4159
- readonly boundary: {
4160
- readonly type: "before";
4161
- readonly messageID: string;
4162
- } | {
4163
- readonly type: "through";
4164
- readonly messageID: string;
4165
- };
4166
- };
4167
- readonly projectID: string;
4168
- readonly agent?: string;
4169
- readonly model?: {
4170
- readonly id: string;
4171
- readonly providerID: string;
4172
- readonly variant?: string;
4173
- };
4174
- readonly cost: number;
4175
- readonly tokens: {
4176
- readonly input: number;
4177
- readonly output: number;
4178
- readonly reasoning: number;
4179
- readonly cache: {
4180
- readonly read: number;
4181
- readonly write: number;
4182
- };
4183
- };
4184
- readonly outcome?: "succeeded" | "failed" | "interrupted";
4185
- readonly time: {
4186
- readonly created: number;
4187
- readonly updated: number;
4188
- readonly idle?: number;
4189
- readonly viewed?: number;
4190
- readonly archived?: number;
4191
- };
4192
- readonly title?: string;
4193
- readonly subpath?: string;
4194
- readonly metadata?: {
4195
- readonly [x: string]: JsonValue;
4196
- };
4197
- readonly permissions?: ReadonlyArray<{
4198
- readonly action: string;
4199
- readonly resource: string;
4200
- readonly effect: "allow" | "deny" | "ask";
4201
- }>;
4202
- readonly revert?: {
3862
+ readonly id: string;
3863
+ readonly parentID?: string;
3864
+ readonly fork?: {
3865
+ readonly sessionID: string;
3866
+ readonly boundary: {
3867
+ readonly type: "before";
4203
3868
  readonly messageID: string;
4204
- readonly partID?: string;
4205
- readonly snapshot?: string;
4206
- readonly files?: ReadonlyArray<{
4207
- readonly file: string;
4208
- readonly patch: string;
4209
- readonly additions: number;
4210
- readonly deletions: number;
4211
- readonly status: "added" | "deleted" | "modified";
4212
- readonly more?: true;
4213
- }>;
4214
- };
4215
- readonly location: {
4216
- readonly directory: string;
4217
- };
4218
- };
4219
- readonly messages: ReadonlyArray<JsonValue>;
4220
- readonly location?: {
4221
- readonly directory: string;
4222
- } | null;
4223
- }["info"];
4224
- readonly messages: {
4225
- readonly info: {
4226
- readonly id: string;
4227
- readonly parentID?: string;
4228
- readonly fork?: {
4229
- readonly sessionID: string;
4230
- readonly boundary: {
4231
- readonly type: "before";
4232
- readonly messageID: string;
4233
- } | {
4234
- readonly type: "through";
4235
- readonly messageID: string;
4236
- };
4237
- };
4238
- readonly projectID: string;
4239
- readonly agent?: string;
4240
- readonly model?: {
4241
- readonly id: string;
4242
- readonly providerID: string;
4243
- readonly variant?: string;
4244
- };
4245
- readonly cost: number;
4246
- readonly tokens: {
4247
- readonly input: number;
4248
- readonly output: number;
4249
- readonly reasoning: number;
4250
- readonly cache: {
4251
- readonly read: number;
4252
- readonly write: number;
4253
- };
4254
- };
4255
- readonly outcome?: "succeeded" | "failed" | "interrupted";
4256
- readonly time: {
4257
- readonly created: number;
4258
- readonly updated: number;
4259
- readonly idle?: number;
4260
- readonly viewed?: number;
4261
- readonly archived?: number;
4262
- };
4263
- readonly title?: string;
4264
- readonly subpath?: string;
4265
- readonly metadata?: {
4266
- readonly [x: string]: JsonValue;
4267
- };
4268
- readonly permissions?: ReadonlyArray<{
4269
- readonly action: string;
4270
- readonly resource: string;
4271
- readonly effect: "allow" | "deny" | "ask";
4272
- }>;
4273
- readonly revert?: {
3869
+ } | {
3870
+ readonly type: "through";
4274
3871
  readonly messageID: string;
4275
- readonly partID?: string;
4276
- readonly snapshot?: string;
4277
- readonly files?: ReadonlyArray<{
4278
- readonly file: string;
4279
- readonly patch: string;
4280
- readonly additions: number;
4281
- readonly deletions: number;
4282
- readonly status: "added" | "deleted" | "modified";
4283
- readonly more?: true;
4284
- }>;
4285
- };
4286
- readonly location: {
4287
- readonly directory: string;
4288
3872
  };
4289
3873
  };
4290
- readonly messages: ReadonlyArray<JsonValue>;
4291
- readonly location?: {
4292
- readonly directory: string;
4293
- } | null;
4294
- }["messages"];
4295
- readonly location?: {
4296
- readonly info: {
3874
+ readonly projectID: string;
3875
+ readonly agent?: string;
3876
+ readonly model?: {
4297
3877
  readonly id: string;
4298
- readonly parentID?: string;
4299
- readonly fork?: {
4300
- readonly sessionID: string;
4301
- readonly boundary: {
4302
- readonly type: "before";
4303
- readonly messageID: string;
4304
- } | {
4305
- readonly type: "through";
4306
- readonly messageID: string;
4307
- };
4308
- };
4309
- readonly projectID: string;
4310
- readonly agent?: string;
4311
- readonly model?: {
4312
- readonly id: string;
4313
- readonly providerID: string;
4314
- readonly variant?: string;
4315
- };
4316
- readonly cost: number;
4317
- readonly tokens: {
4318
- readonly input: number;
4319
- readonly output: number;
4320
- readonly reasoning: number;
4321
- readonly cache: {
4322
- readonly read: number;
4323
- readonly write: number;
4324
- };
4325
- };
4326
- readonly outcome?: "succeeded" | "failed" | "interrupted";
4327
- readonly time: {
4328
- readonly created: number;
4329
- readonly updated: number;
4330
- readonly idle?: number;
4331
- readonly viewed?: number;
4332
- readonly archived?: number;
4333
- };
4334
- readonly title?: string;
4335
- readonly subpath?: string;
4336
- readonly metadata?: {
4337
- readonly [x: string]: JsonValue;
3878
+ readonly providerID: string;
3879
+ readonly variant?: string;
3880
+ };
3881
+ readonly cost: number;
3882
+ readonly tokens: {
3883
+ readonly input: number;
3884
+ readonly output: number;
3885
+ readonly reasoning: number;
3886
+ readonly cache: {
3887
+ readonly read: number;
3888
+ readonly write: number;
4338
3889
  };
4339
- readonly permissions?: ReadonlyArray<{
4340
- readonly action: string;
4341
- readonly resource: string;
4342
- readonly effect: "allow" | "deny" | "ask";
3890
+ };
3891
+ readonly outcome?: "succeeded" | "failed" | "interrupted";
3892
+ readonly time: {
3893
+ readonly created: number;
3894
+ readonly updated: number;
3895
+ readonly idle?: number;
3896
+ readonly viewed?: number;
3897
+ readonly archived?: number;
3898
+ };
3899
+ readonly title?: string;
3900
+ readonly subpath?: string;
3901
+ readonly metadata?: {
3902
+ readonly [x: string]: JsonValue;
3903
+ };
3904
+ readonly permissions?: ReadonlyArray<{
3905
+ readonly action: string;
3906
+ readonly resource: string;
3907
+ readonly effect: "allow" | "deny" | "ask";
3908
+ }>;
3909
+ readonly revert?: {
3910
+ readonly messageID: string;
3911
+ readonly partID?: string;
3912
+ readonly snapshot?: string;
3913
+ readonly files?: ReadonlyArray<{
3914
+ readonly file: string;
3915
+ readonly patch: string;
3916
+ readonly additions: number;
3917
+ readonly deletions: number;
3918
+ readonly status: "added" | "deleted" | "modified";
3919
+ readonly more?: true;
4343
3920
  }>;
4344
- readonly revert?: {
4345
- readonly messageID: string;
4346
- readonly partID?: string;
4347
- readonly snapshot?: string;
4348
- readonly files?: ReadonlyArray<{
4349
- readonly file: string;
4350
- readonly patch: string;
4351
- readonly additions: number;
4352
- readonly deletions: number;
4353
- readonly status: "added" | "deleted" | "modified";
4354
- readonly more?: true;
4355
- }>;
4356
- };
4357
- readonly location: {
4358
- readonly directory: string;
4359
- };
4360
3921
  };
4361
- readonly messages: ReadonlyArray<JsonValue>;
4362
- readonly location?: {
3922
+ readonly location: {
4363
3923
  readonly directory: string;
4364
- } | null;
4365
- }["location"];
3924
+ };
3925
+ };
3926
+ readonly messages: ReadonlyArray<JsonValue>;
3927
+ readonly location?: {
3928
+ readonly directory: string;
3929
+ } | null | undefined;
4366
3930
  };
4367
3931
  export type SessionImportOutput = {
4368
3932
  data: SessionInfo;
4369
3933
  }["data"];
4370
3934
  export type SessionExportInput = {
4371
- readonly sessionID: {
4372
- readonly sessionID: string;
4373
- }["sessionID"];
4374
- readonly sanitize?: {
4375
- readonly sanitize?: boolean | undefined;
4376
- }["sanitize"];
3935
+ readonly sessionID: string;
3936
+ readonly sanitize?: boolean | undefined;
4377
3937
  };
4378
3938
  export type SessionExportOutput = {
4379
3939
  data: SessionTransferData;
@@ -4384,1805 +3944,513 @@ export type SessionActiveOutput = {
4384
3944
  };
4385
3945
  }["data"];
4386
3946
  export type SessionGetInput = {
4387
- readonly sessionID: {
4388
- readonly sessionID: string;
4389
- }["sessionID"];
3947
+ readonly sessionID: string;
4390
3948
  };
4391
3949
  export type SessionGetOutput = {
4392
3950
  data: SessionInfo;
4393
3951
  }["data"];
4394
3952
  export type SessionRemoveInput = {
4395
- readonly sessionID: {
4396
- readonly sessionID: string;
4397
- }["sessionID"];
3953
+ readonly sessionID: string;
4398
3954
  };
4399
3955
  export type SessionRemoveOutput = void;
4400
3956
  export type SessionForkInput = {
4401
- readonly sessionID: {
4402
- readonly sessionID: string;
4403
- }["sessionID"];
4404
- readonly before?: {
4405
- readonly before?: string | undefined;
4406
- }["before"];
3957
+ readonly sessionID: string;
3958
+ readonly before?: string | undefined;
4407
3959
  };
4408
3960
  export type SessionForkOutput = {
4409
3961
  data: SessionInfo;
4410
3962
  }["data"];
4411
3963
  export type SessionSwitchAgentInput = {
4412
- readonly sessionID: {
4413
- readonly sessionID: string;
4414
- }["sessionID"];
4415
- readonly agent: {
4416
- readonly agent: string;
4417
- }["agent"];
3964
+ readonly sessionID: string;
3965
+ readonly agent: string;
4418
3966
  };
4419
3967
  export type SessionSwitchAgentOutput = void;
4420
3968
  export type SessionSwitchModelInput = {
4421
- readonly sessionID: {
4422
- readonly sessionID: string;
4423
- }["sessionID"];
3969
+ readonly sessionID: string;
4424
3970
  readonly model: {
4425
- readonly model: {
4426
- readonly id: string;
4427
- readonly providerID: string;
4428
- readonly variant?: string;
4429
- };
4430
- }["model"];
3971
+ readonly id: string;
3972
+ readonly providerID: string;
3973
+ readonly variant?: string;
3974
+ };
4431
3975
  };
4432
3976
  export type SessionSwitchModelOutput = void;
4433
3977
  export type SessionUpdateInput = {
4434
- readonly sessionID: {
4435
- readonly sessionID: string;
4436
- }["sessionID"];
4437
- readonly title?: {
4438
- readonly title?: string | undefined;
4439
- readonly metadata?: {
4440
- readonly [x: string]: JsonValue;
4441
- } | undefined;
4442
- readonly permissions?: ReadonlyArray<{
4443
- readonly action: string;
4444
- readonly resource: string;
4445
- readonly effect: "allow" | "deny" | "ask";
4446
- }> | undefined;
4447
- readonly archived?: boolean | undefined;
4448
- }["title"];
3978
+ readonly sessionID: string;
3979
+ readonly title?: string | undefined;
4449
3980
  readonly metadata?: {
4450
- readonly title?: string | undefined;
4451
- readonly metadata?: {
4452
- readonly [x: string]: JsonValue;
4453
- } | undefined;
4454
- readonly permissions?: ReadonlyArray<{
4455
- readonly action: string;
4456
- readonly resource: string;
4457
- readonly effect: "allow" | "deny" | "ask";
4458
- }> | undefined;
4459
- readonly archived?: boolean | undefined;
4460
- }["metadata"];
4461
- readonly permissions?: {
4462
- readonly title?: string | undefined;
4463
- readonly metadata?: {
4464
- readonly [x: string]: JsonValue;
4465
- } | undefined;
4466
- readonly permissions?: ReadonlyArray<{
4467
- readonly action: string;
4468
- readonly resource: string;
4469
- readonly effect: "allow" | "deny" | "ask";
4470
- }> | undefined;
4471
- readonly archived?: boolean | undefined;
4472
- }["permissions"];
4473
- readonly archived?: {
4474
- readonly title?: string | undefined;
4475
- readonly metadata?: {
4476
- readonly [x: string]: JsonValue;
4477
- } | undefined;
4478
- readonly permissions?: ReadonlyArray<{
4479
- readonly action: string;
4480
- readonly resource: string;
4481
- readonly effect: "allow" | "deny" | "ask";
4482
- }> | undefined;
4483
- readonly archived?: boolean | undefined;
4484
- }["archived"];
3981
+ readonly [x: string]: JsonValue;
3982
+ } | undefined;
3983
+ readonly permissions?: ReadonlyArray<{
3984
+ readonly action: string;
3985
+ readonly resource: string;
3986
+ readonly effect: "allow" | "deny" | "ask";
3987
+ }> | undefined;
3988
+ readonly archived?: boolean | undefined;
4485
3989
  };
4486
3990
  export type SessionUpdateOutput = void;
4487
3991
  export type SessionMoveInput = {
4488
- readonly sessionID: {
4489
- readonly sessionID: string;
4490
- }["sessionID"];
4491
- readonly directory: {
4492
- readonly directory: string;
4493
- readonly delivery?: ("steer" | "queue") | undefined;
4494
- }["directory"];
4495
- readonly delivery?: {
4496
- readonly directory: string;
4497
- readonly delivery?: ("steer" | "queue") | undefined;
4498
- }["delivery"];
3992
+ readonly sessionID: string;
3993
+ readonly directory: string;
3994
+ readonly delivery?: ("steer" | "queue") | undefined;
4499
3995
  };
4500
3996
  export type SessionMoveOutput = void;
4501
3997
  export type SessionPromptInput = {
4502
- readonly sessionID: {
4503
- readonly sessionID: string;
4504
- }["sessionID"];
4505
- readonly id?: {
4506
- readonly id?: string | null;
4507
- readonly text: string;
4508
- readonly files?: ReadonlyArray<{
4509
- readonly uri: string;
4510
- readonly name?: string;
4511
- readonly description?: string;
4512
- readonly mention?: {
4513
- readonly start: number;
4514
- readonly end: number;
4515
- readonly text: string;
4516
- };
4517
- }>;
4518
- readonly agents?: ReadonlyArray<{
4519
- readonly name: string;
4520
- readonly mention?: {
4521
- readonly start: number;
4522
- readonly end: number;
4523
- readonly text: string;
4524
- };
4525
- }>;
4526
- readonly skills?: ReadonlyArray<{
4527
- readonly id: string;
4528
- readonly mention?: {
4529
- readonly start: number;
4530
- readonly end: number;
4531
- readonly text: string;
4532
- };
4533
- }>;
4534
- readonly metadata?: {
4535
- readonly [x: string]: JsonValue;
3998
+ readonly sessionID: string;
3999
+ readonly id?: string | null | undefined;
4000
+ readonly text: string;
4001
+ readonly files?: ReadonlyArray<{
4002
+ readonly uri: string;
4003
+ readonly name?: string;
4004
+ readonly description?: string;
4005
+ readonly mention?: {
4006
+ readonly start: number;
4007
+ readonly end: number;
4008
+ readonly text: string;
4536
4009
  };
4537
- readonly delivery?: ("steer" | "queue") | null;
4538
- readonly resume?: boolean | null;
4539
- }["id"];
4540
- readonly text: {
4541
- readonly id?: string | null;
4542
- readonly text: string;
4543
- readonly files?: ReadonlyArray<{
4544
- readonly uri: string;
4545
- readonly name?: string;
4546
- readonly description?: string;
4547
- readonly mention?: {
4548
- readonly start: number;
4549
- readonly end: number;
4550
- readonly text: string;
4551
- };
4552
- }>;
4553
- readonly agents?: ReadonlyArray<{
4554
- readonly name: string;
4555
- readonly mention?: {
4556
- readonly start: number;
4557
- readonly end: number;
4558
- readonly text: string;
4559
- };
4560
- }>;
4561
- readonly skills?: ReadonlyArray<{
4562
- readonly id: string;
4563
- readonly mention?: {
4564
- readonly start: number;
4565
- readonly end: number;
4566
- readonly text: string;
4567
- };
4568
- }>;
4569
- readonly metadata?: {
4570
- readonly [x: string]: JsonValue;
4010
+ }> | undefined;
4011
+ readonly agents?: ReadonlyArray<{
4012
+ readonly name: string;
4013
+ readonly mention?: {
4014
+ readonly start: number;
4015
+ readonly end: number;
4016
+ readonly text: string;
4571
4017
  };
4572
- readonly delivery?: ("steer" | "queue") | null;
4573
- readonly resume?: boolean | null;
4574
- }["text"];
4575
- readonly files?: {
4576
- readonly id?: string | null;
4577
- readonly text: string;
4578
- readonly files?: ReadonlyArray<{
4579
- readonly uri: string;
4580
- readonly name?: string;
4581
- readonly description?: string;
4582
- readonly mention?: {
4583
- readonly start: number;
4584
- readonly end: number;
4585
- readonly text: string;
4586
- };
4587
- }>;
4588
- readonly agents?: ReadonlyArray<{
4589
- readonly name: string;
4590
- readonly mention?: {
4591
- readonly start: number;
4592
- readonly end: number;
4593
- readonly text: string;
4594
- };
4595
- }>;
4596
- readonly skills?: ReadonlyArray<{
4597
- readonly id: string;
4598
- readonly mention?: {
4599
- readonly start: number;
4600
- readonly end: number;
4601
- readonly text: string;
4602
- };
4603
- }>;
4604
- readonly metadata?: {
4605
- readonly [x: string]: JsonValue;
4018
+ }> | undefined;
4019
+ readonly skills?: ReadonlyArray<{
4020
+ readonly id: string;
4021
+ readonly mention?: {
4022
+ readonly start: number;
4023
+ readonly end: number;
4024
+ readonly text: string;
4606
4025
  };
4607
- readonly delivery?: ("steer" | "queue") | null;
4608
- readonly resume?: boolean | null;
4609
- }["files"];
4610
- readonly agents?: {
4611
- readonly id?: string | null;
4612
- readonly text: string;
4613
- readonly files?: ReadonlyArray<{
4614
- readonly uri: string;
4615
- readonly name?: string;
4616
- readonly description?: string;
4617
- readonly mention?: {
4618
- readonly start: number;
4619
- readonly end: number;
4620
- readonly text: string;
4621
- };
4622
- }>;
4623
- readonly agents?: ReadonlyArray<{
4624
- readonly name: string;
4625
- readonly mention?: {
4626
- readonly start: number;
4627
- readonly end: number;
4628
- readonly text: string;
4629
- };
4630
- }>;
4631
- readonly skills?: ReadonlyArray<{
4632
- readonly id: string;
4633
- readonly mention?: {
4634
- readonly start: number;
4635
- readonly end: number;
4636
- readonly text: string;
4637
- };
4638
- }>;
4639
- readonly metadata?: {
4640
- readonly [x: string]: JsonValue;
4641
- };
4642
- readonly delivery?: ("steer" | "queue") | null;
4643
- readonly resume?: boolean | null;
4644
- }["agents"];
4645
- readonly skills?: {
4646
- readonly id?: string | null;
4647
- readonly text: string;
4648
- readonly files?: ReadonlyArray<{
4649
- readonly uri: string;
4650
- readonly name?: string;
4651
- readonly description?: string;
4652
- readonly mention?: {
4653
- readonly start: number;
4654
- readonly end: number;
4655
- readonly text: string;
4656
- };
4657
- }>;
4658
- readonly agents?: ReadonlyArray<{
4659
- readonly name: string;
4660
- readonly mention?: {
4661
- readonly start: number;
4662
- readonly end: number;
4663
- readonly text: string;
4664
- };
4665
- }>;
4666
- readonly skills?: ReadonlyArray<{
4667
- readonly id: string;
4668
- readonly mention?: {
4669
- readonly start: number;
4670
- readonly end: number;
4671
- readonly text: string;
4672
- };
4673
- }>;
4674
- readonly metadata?: {
4675
- readonly [x: string]: JsonValue;
4676
- };
4677
- readonly delivery?: ("steer" | "queue") | null;
4678
- readonly resume?: boolean | null;
4679
- }["skills"];
4026
+ }> | undefined;
4680
4027
  readonly metadata?: {
4681
- readonly id?: string | null;
4682
- readonly text: string;
4683
- readonly files?: ReadonlyArray<{
4684
- readonly uri: string;
4685
- readonly name?: string;
4686
- readonly description?: string;
4687
- readonly mention?: {
4688
- readonly start: number;
4689
- readonly end: number;
4690
- readonly text: string;
4691
- };
4692
- }>;
4693
- readonly agents?: ReadonlyArray<{
4694
- readonly name: string;
4695
- readonly mention?: {
4696
- readonly start: number;
4697
- readonly end: number;
4698
- readonly text: string;
4699
- };
4700
- }>;
4701
- readonly skills?: ReadonlyArray<{
4702
- readonly id: string;
4703
- readonly mention?: {
4704
- readonly start: number;
4705
- readonly end: number;
4706
- readonly text: string;
4707
- };
4708
- }>;
4709
- readonly metadata?: {
4710
- readonly [x: string]: JsonValue;
4711
- };
4712
- readonly delivery?: ("steer" | "queue") | null;
4713
- readonly resume?: boolean | null;
4714
- }["metadata"];
4715
- readonly delivery?: {
4716
- readonly id?: string | null;
4717
- readonly text: string;
4718
- readonly files?: ReadonlyArray<{
4719
- readonly uri: string;
4720
- readonly name?: string;
4721
- readonly description?: string;
4722
- readonly mention?: {
4723
- readonly start: number;
4724
- readonly end: number;
4725
- readonly text: string;
4726
- };
4727
- }>;
4728
- readonly agents?: ReadonlyArray<{
4729
- readonly name: string;
4730
- readonly mention?: {
4731
- readonly start: number;
4732
- readonly end: number;
4733
- readonly text: string;
4734
- };
4735
- }>;
4736
- readonly skills?: ReadonlyArray<{
4737
- readonly id: string;
4738
- readonly mention?: {
4739
- readonly start: number;
4740
- readonly end: number;
4741
- readonly text: string;
4742
- };
4743
- }>;
4744
- readonly metadata?: {
4745
- readonly [x: string]: JsonValue;
4746
- };
4747
- readonly delivery?: ("steer" | "queue") | null;
4748
- readonly resume?: boolean | null;
4749
- }["delivery"];
4750
- readonly resume?: {
4751
- readonly id?: string | null;
4752
- readonly text: string;
4753
- readonly files?: ReadonlyArray<{
4754
- readonly uri: string;
4755
- readonly name?: string;
4756
- readonly description?: string;
4757
- readonly mention?: {
4758
- readonly start: number;
4759
- readonly end: number;
4760
- readonly text: string;
4761
- };
4762
- }>;
4763
- readonly agents?: ReadonlyArray<{
4764
- readonly name: string;
4765
- readonly mention?: {
4766
- readonly start: number;
4767
- readonly end: number;
4768
- readonly text: string;
4769
- };
4770
- }>;
4771
- readonly skills?: ReadonlyArray<{
4772
- readonly id: string;
4773
- readonly mention?: {
4774
- readonly start: number;
4775
- readonly end: number;
4776
- readonly text: string;
4777
- };
4778
- }>;
4779
- readonly metadata?: {
4780
- readonly [x: string]: JsonValue;
4781
- };
4782
- readonly delivery?: ("steer" | "queue") | null;
4783
- readonly resume?: boolean | null;
4784
- }["resume"];
4028
+ readonly [x: string]: JsonValue;
4029
+ } | undefined;
4030
+ readonly delivery?: ("steer" | "queue") | null | undefined;
4031
+ readonly resume?: boolean | null | undefined;
4785
4032
  };
4786
4033
  export type SessionPromptOutput = {
4787
4034
  data: SessionInboxUser;
4788
4035
  }["data"];
4789
4036
  export type SessionCommandInput = {
4790
- readonly sessionID: {
4791
- readonly sessionID: string;
4792
- }["sessionID"];
4793
- readonly name: {
4794
- readonly name: string;
4795
- readonly text: string;
4796
- readonly files?: ReadonlyArray<{
4797
- readonly uri: string;
4798
- readonly name?: string;
4799
- readonly description?: string;
4800
- readonly mention?: {
4801
- readonly start: number;
4802
- readonly end: number;
4803
- readonly text: string;
4804
- };
4805
- }>;
4806
- readonly agents?: ReadonlyArray<{
4807
- readonly name: string;
4808
- readonly mention?: {
4809
- readonly start: number;
4810
- readonly end: number;
4811
- readonly text: string;
4812
- };
4813
- }>;
4814
- readonly skills?: ReadonlyArray<{
4815
- readonly id: string;
4816
- readonly mention?: {
4817
- readonly start: number;
4818
- readonly end: number;
4819
- readonly text: string;
4820
- };
4821
- }>;
4822
- readonly delivery?: ("steer" | "queue") | null;
4823
- }["name"];
4824
- readonly text: {
4825
- readonly name: string;
4826
- readonly text: string;
4827
- readonly files?: ReadonlyArray<{
4828
- readonly uri: string;
4829
- readonly name?: string;
4830
- readonly description?: string;
4831
- readonly mention?: {
4832
- readonly start: number;
4833
- readonly end: number;
4834
- readonly text: string;
4835
- };
4836
- }>;
4837
- readonly agents?: ReadonlyArray<{
4838
- readonly name: string;
4839
- readonly mention?: {
4840
- readonly start: number;
4841
- readonly end: number;
4842
- readonly text: string;
4843
- };
4844
- }>;
4845
- readonly skills?: ReadonlyArray<{
4846
- readonly id: string;
4847
- readonly mention?: {
4848
- readonly start: number;
4849
- readonly end: number;
4850
- readonly text: string;
4851
- };
4852
- }>;
4853
- readonly delivery?: ("steer" | "queue") | null;
4854
- }["text"];
4855
- readonly files?: {
4856
- readonly name: string;
4857
- readonly text: string;
4858
- readonly files?: ReadonlyArray<{
4859
- readonly uri: string;
4860
- readonly name?: string;
4861
- readonly description?: string;
4862
- readonly mention?: {
4863
- readonly start: number;
4864
- readonly end: number;
4865
- readonly text: string;
4866
- };
4867
- }>;
4868
- readonly agents?: ReadonlyArray<{
4869
- readonly name: string;
4870
- readonly mention?: {
4871
- readonly start: number;
4872
- readonly end: number;
4873
- readonly text: string;
4874
- };
4875
- }>;
4876
- readonly skills?: ReadonlyArray<{
4877
- readonly id: string;
4878
- readonly mention?: {
4879
- readonly start: number;
4880
- readonly end: number;
4881
- readonly text: string;
4882
- };
4883
- }>;
4884
- readonly delivery?: ("steer" | "queue") | null;
4885
- }["files"];
4886
- readonly agents?: {
4887
- readonly name: string;
4888
- readonly text: string;
4889
- readonly files?: ReadonlyArray<{
4890
- readonly uri: string;
4891
- readonly name?: string;
4892
- readonly description?: string;
4893
- readonly mention?: {
4894
- readonly start: number;
4895
- readonly end: number;
4896
- readonly text: string;
4897
- };
4898
- }>;
4899
- readonly agents?: ReadonlyArray<{
4900
- readonly name: string;
4901
- readonly mention?: {
4902
- readonly start: number;
4903
- readonly end: number;
4904
- readonly text: string;
4905
- };
4906
- }>;
4907
- readonly skills?: ReadonlyArray<{
4908
- readonly id: string;
4909
- readonly mention?: {
4910
- readonly start: number;
4911
- readonly end: number;
4912
- readonly text: string;
4913
- };
4914
- }>;
4915
- readonly delivery?: ("steer" | "queue") | null;
4916
- }["agents"];
4917
- readonly skills?: {
4918
- readonly name: string;
4919
- readonly text: string;
4920
- readonly files?: ReadonlyArray<{
4921
- readonly uri: string;
4922
- readonly name?: string;
4923
- readonly description?: string;
4924
- readonly mention?: {
4925
- readonly start: number;
4926
- readonly end: number;
4927
- readonly text: string;
4928
- };
4929
- }>;
4930
- readonly agents?: ReadonlyArray<{
4931
- readonly name: string;
4932
- readonly mention?: {
4933
- readonly start: number;
4934
- readonly end: number;
4935
- readonly text: string;
4936
- };
4937
- }>;
4938
- readonly skills?: ReadonlyArray<{
4939
- readonly id: string;
4940
- readonly mention?: {
4941
- readonly start: number;
4942
- readonly end: number;
4943
- readonly text: string;
4944
- };
4945
- }>;
4946
- readonly delivery?: ("steer" | "queue") | null;
4947
- }["skills"];
4948
- readonly delivery?: {
4037
+ readonly sessionID: string;
4038
+ readonly name: string;
4039
+ readonly text: string;
4040
+ readonly files?: ReadonlyArray<{
4041
+ readonly uri: string;
4042
+ readonly name?: string;
4043
+ readonly description?: string;
4044
+ readonly mention?: {
4045
+ readonly start: number;
4046
+ readonly end: number;
4047
+ readonly text: string;
4048
+ };
4049
+ }> | undefined;
4050
+ readonly agents?: ReadonlyArray<{
4949
4051
  readonly name: string;
4950
- readonly text: string;
4951
- readonly files?: ReadonlyArray<{
4952
- readonly uri: string;
4953
- readonly name?: string;
4954
- readonly description?: string;
4955
- readonly mention?: {
4956
- readonly start: number;
4957
- readonly end: number;
4958
- readonly text: string;
4959
- };
4960
- }>;
4961
- readonly agents?: ReadonlyArray<{
4962
- readonly name: string;
4963
- readonly mention?: {
4964
- readonly start: number;
4965
- readonly end: number;
4966
- readonly text: string;
4967
- };
4968
- }>;
4969
- readonly skills?: ReadonlyArray<{
4970
- readonly id: string;
4971
- readonly mention?: {
4972
- readonly start: number;
4973
- readonly end: number;
4974
- readonly text: string;
4975
- };
4976
- }>;
4977
- readonly delivery?: ("steer" | "queue") | null;
4978
- }["delivery"];
4052
+ readonly mention?: {
4053
+ readonly start: number;
4054
+ readonly end: number;
4055
+ readonly text: string;
4056
+ };
4057
+ }> | undefined;
4058
+ readonly skills?: ReadonlyArray<{
4059
+ readonly id: string;
4060
+ readonly mention?: {
4061
+ readonly start: number;
4062
+ readonly end: number;
4063
+ readonly text: string;
4064
+ };
4065
+ }> | undefined;
4066
+ readonly delivery?: ("steer" | "queue") | null | undefined;
4979
4067
  };
4980
4068
  export type SessionCommandOutput = void;
4981
4069
  export type SessionSkillInput = {
4982
- readonly sessionID: {
4983
- readonly sessionID: string;
4984
- }["sessionID"];
4985
- readonly id: {
4986
- readonly id: string;
4987
- readonly resume?: boolean | undefined;
4988
- }["id"];
4989
- readonly resume?: {
4990
- readonly id: string;
4991
- readonly resume?: boolean | undefined;
4992
- }["resume"];
4070
+ readonly sessionID: string;
4071
+ readonly id: string;
4072
+ readonly resume?: boolean | undefined;
4993
4073
  };
4994
4074
  export type SessionSkillOutput = void;
4995
4075
  export type SessionSyntheticInput = {
4996
- readonly sessionID: {
4997
- readonly sessionID: string;
4998
- }["sessionID"];
4999
- readonly id?: {
5000
- readonly id?: string | null;
5001
- readonly text: string;
5002
- readonly description?: string | null;
5003
- readonly metadata?: {
5004
- readonly [x: string]: JsonValue;
5005
- };
5006
- readonly delivery?: ("steer" | "queue") | null;
5007
- readonly resume?: boolean | null;
5008
- }["id"];
5009
- readonly text: {
5010
- readonly id?: string | null;
5011
- readonly text: string;
5012
- readonly description?: string | null;
5013
- readonly metadata?: {
5014
- readonly [x: string]: JsonValue;
5015
- };
5016
- readonly delivery?: ("steer" | "queue") | null;
5017
- readonly resume?: boolean | null;
5018
- }["text"];
5019
- readonly description?: {
5020
- readonly id?: string | null;
5021
- readonly text: string;
5022
- readonly description?: string | null;
5023
- readonly metadata?: {
5024
- readonly [x: string]: JsonValue;
5025
- };
5026
- readonly delivery?: ("steer" | "queue") | null;
5027
- readonly resume?: boolean | null;
5028
- }["description"];
4076
+ readonly sessionID: string;
4077
+ readonly id?: string | null | undefined;
4078
+ readonly text: string;
4079
+ readonly description?: string | null | undefined;
5029
4080
  readonly metadata?: {
5030
- readonly id?: string | null;
5031
- readonly text: string;
5032
- readonly description?: string | null;
5033
- readonly metadata?: {
5034
- readonly [x: string]: JsonValue;
5035
- };
5036
- readonly delivery?: ("steer" | "queue") | null;
5037
- readonly resume?: boolean | null;
5038
- }["metadata"];
5039
- readonly delivery?: {
5040
- readonly id?: string | null;
5041
- readonly text: string;
5042
- readonly description?: string | null;
5043
- readonly metadata?: {
5044
- readonly [x: string]: JsonValue;
5045
- };
5046
- readonly delivery?: ("steer" | "queue") | null;
5047
- readonly resume?: boolean | null;
5048
- }["delivery"];
5049
- readonly resume?: {
5050
- readonly id?: string | null;
5051
- readonly text: string;
5052
- readonly description?: string | null;
5053
- readonly metadata?: {
5054
- readonly [x: string]: JsonValue;
5055
- };
5056
- readonly delivery?: ("steer" | "queue") | null;
5057
- readonly resume?: boolean | null;
5058
- }["resume"];
4081
+ readonly [x: string]: JsonValue;
4082
+ } | undefined;
4083
+ readonly delivery?: ("steer" | "queue") | null | undefined;
4084
+ readonly resume?: boolean | null | undefined;
5059
4085
  };
5060
4086
  export type SessionSyntheticOutput = {
5061
4087
  data: SessionInboxSynthetic;
5062
4088
  }["data"];
5063
4089
  export type SessionShellInput = {
5064
- readonly sessionID: {
5065
- readonly sessionID: string;
5066
- }["sessionID"];
5067
- readonly id?: {
5068
- readonly id?: string | undefined;
5069
- readonly command: string;
5070
- }["id"];
5071
- readonly command: {
5072
- readonly id?: string | undefined;
5073
- readonly command: string;
5074
- }["command"];
4090
+ readonly sessionID: string;
4091
+ readonly id?: string | undefined;
4092
+ readonly command: string;
5075
4093
  };
5076
4094
  export type SessionShellOutput = void;
5077
4095
  export type SessionCompactInput = {
5078
- readonly sessionID: {
5079
- readonly sessionID: string;
5080
- }["sessionID"];
5081
- readonly id?: {
5082
- readonly id?: string | undefined;
5083
- readonly delivery?: ("steer" | "queue") | undefined;
5084
- }["id"];
5085
- readonly delivery?: {
5086
- readonly id?: string | undefined;
5087
- readonly delivery?: ("steer" | "queue") | undefined;
5088
- }["delivery"];
4096
+ readonly sessionID: string;
4097
+ readonly id?: string | undefined;
4098
+ readonly delivery?: ("steer" | "queue") | undefined;
5089
4099
  };
5090
4100
  export type SessionCompactOutput = {
5091
4101
  data: SessionInboxCompaction;
5092
4102
  }["data"];
5093
4103
  export type SessionWaitInput = {
5094
- readonly sessionID: {
5095
- readonly sessionID: string;
5096
- }["sessionID"];
4104
+ readonly sessionID: string;
5097
4105
  };
5098
4106
  export type SessionWaitOutput = void;
5099
4107
  export type SessionRevertStageInput = {
5100
- readonly sessionID: {
5101
- readonly sessionID: string;
5102
- }["sessionID"];
5103
- readonly messageID: {
5104
- readonly messageID: string;
5105
- readonly files?: boolean | undefined;
5106
- }["messageID"];
5107
- readonly files?: {
5108
- readonly messageID: string;
5109
- readonly files?: boolean | undefined;
5110
- }["files"];
4108
+ readonly sessionID: string;
4109
+ readonly messageID: string;
4110
+ readonly files?: boolean | undefined;
5111
4111
  };
5112
4112
  export type SessionRevertStageOutput = {
5113
4113
  data: SessionRevert;
5114
4114
  }["data"];
5115
4115
  export type SessionRevertClearInput = {
5116
- readonly sessionID: {
5117
- readonly sessionID: string;
5118
- }["sessionID"];
4116
+ readonly sessionID: string;
5119
4117
  };
5120
4118
  export type SessionRevertClearOutput = void;
5121
4119
  export type SessionRevertCommitInput = {
5122
- readonly sessionID: {
5123
- readonly sessionID: string;
5124
- }["sessionID"];
4120
+ readonly sessionID: string;
5125
4121
  };
5126
4122
  export type SessionRevertCommitOutput = void;
5127
4123
  export type SessionContextInput = {
5128
- readonly sessionID: {
5129
- readonly sessionID: string;
5130
- }["sessionID"];
4124
+ readonly sessionID: string;
5131
4125
  };
5132
4126
  export type SessionContextOutput = {
5133
4127
  data: Array<SessionMessageInfo>;
5134
4128
  }["data"];
5135
4129
  export type SessionDiffInput = {
5136
- readonly sessionID: {
5137
- readonly sessionID: string;
5138
- }["sessionID"];
5139
- readonly from?: {
5140
- readonly from?: string | undefined;
5141
- readonly to?: string | undefined;
5142
- readonly context?: number | undefined;
5143
- }["from"];
5144
- readonly to?: {
5145
- readonly from?: string | undefined;
5146
- readonly to?: string | undefined;
5147
- readonly context?: number | undefined;
5148
- }["to"];
5149
- readonly context?: {
5150
- readonly from?: string | undefined;
5151
- readonly to?: string | undefined;
5152
- readonly context?: number | undefined;
5153
- }["context"];
4130
+ readonly sessionID: string;
4131
+ readonly from?: string | undefined;
4132
+ readonly to?: string | undefined;
4133
+ readonly context?: number | undefined;
5154
4134
  };
5155
4135
  export type SessionDiffOutput = {
5156
4136
  data: Array<FileDiffInfo>;
5157
4137
  }["data"];
5158
4138
  export type SessionInboxListInput = {
5159
- readonly sessionID: {
5160
- readonly sessionID: string;
5161
- }["sessionID"];
4139
+ readonly sessionID: string;
5162
4140
  };
5163
4141
  export type SessionInboxListOutput = {
5164
4142
  data: Array<SessionInboxInfo>;
5165
4143
  }["data"];
5166
4144
  export type SessionInboxCancelInput = {
5167
- readonly sessionID: {
5168
- readonly sessionID: string;
5169
- readonly inboxID: string;
5170
- }["sessionID"];
5171
- readonly inboxID: {
5172
- readonly sessionID: string;
5173
- readonly inboxID: string;
5174
- }["inboxID"];
4145
+ readonly sessionID: string;
4146
+ readonly inboxID: string;
5175
4147
  };
5176
4148
  export type SessionInboxCancelOutput = void;
5177
4149
  export type SessionInboxUpdateInput = {
5178
- readonly sessionID: {
5179
- readonly sessionID: string;
5180
- readonly inboxID: string;
5181
- }["sessionID"];
5182
- readonly inboxID: {
5183
- readonly sessionID: string;
5184
- readonly inboxID: string;
5185
- }["inboxID"];
5186
- readonly delivery: {
5187
- readonly delivery: "steer" | "queue";
5188
- }["delivery"];
4150
+ readonly sessionID: string;
4151
+ readonly inboxID: string;
4152
+ readonly delivery: "steer" | "queue";
5189
4153
  };
5190
4154
  export type SessionInboxUpdateOutput = void;
5191
4155
  export type SessionInstructionsEntryListInput = {
5192
- readonly sessionID: {
5193
- readonly sessionID: string;
5194
- }["sessionID"];
4156
+ readonly sessionID: string;
5195
4157
  };
5196
4158
  export type SessionInstructionsEntryListOutput = {
5197
4159
  data: Array<InstructionEntryInfo>;
5198
4160
  }["data"];
5199
4161
  export type SessionInstructionsEntryPutInput = {
5200
- readonly sessionID: {
5201
- readonly sessionID: string;
5202
- readonly key: string;
5203
- }["sessionID"];
5204
- readonly key: {
5205
- readonly sessionID: string;
5206
- readonly key: string;
5207
- }["key"];
5208
- readonly value: {
5209
- readonly value: JsonValue;
5210
- }["value"];
4162
+ readonly sessionID: string;
4163
+ readonly key: string;
4164
+ readonly value: JsonValue;
5211
4165
  };
5212
4166
  export type SessionInstructionsEntryPutOutput = void;
5213
4167
  export type SessionInstructionsEntryRemoveInput = {
5214
- readonly sessionID: {
5215
- readonly sessionID: string;
5216
- readonly key: string;
5217
- }["sessionID"];
5218
- readonly key: {
5219
- readonly sessionID: string;
5220
- readonly key: string;
5221
- }["key"];
4168
+ readonly sessionID: string;
4169
+ readonly key: string;
5222
4170
  };
5223
4171
  export type SessionInstructionsEntryRemoveOutput = void;
5224
4172
  export type SessionGenerateInput = {
5225
- readonly sessionID: {
5226
- readonly sessionID: string;
5227
- }["sessionID"];
5228
- readonly prompt: {
5229
- readonly prompt: string;
5230
- }["prompt"];
4173
+ readonly sessionID: string;
4174
+ readonly prompt: string;
5231
4175
  };
5232
4176
  export type SessionGenerateOutput = SessionGenerateResponse["data"];
5233
4177
  export type SessionLogInput = {
5234
- readonly sessionID: {
5235
- readonly sessionID: string;
5236
- }["sessionID"];
5237
- readonly after?: {
5238
- readonly after?: number | undefined;
5239
- readonly follow?: boolean | undefined;
5240
- }["after"];
5241
- readonly follow?: {
5242
- readonly after?: number | undefined;
5243
- readonly follow?: boolean | undefined;
5244
- }["follow"];
4178
+ readonly sessionID: string;
4179
+ readonly after?: number | undefined;
4180
+ readonly follow?: boolean | undefined;
5245
4181
  };
5246
4182
  export type SessionLogOutput = SessionLogItem;
5247
4183
  export type SessionInterruptInput = {
5248
- readonly sessionID: {
5249
- readonly sessionID: string;
5250
- }["sessionID"];
5251
- readonly resume?: {
5252
- readonly resume?: boolean | undefined;
5253
- }["resume"];
4184
+ readonly sessionID: string;
4185
+ readonly resume?: boolean | undefined;
5254
4186
  };
5255
4187
  export type SessionInterruptOutput = SessionInterruptResponse;
5256
4188
  export type SessionBackgroundInput = {
5257
- readonly sessionID: {
5258
- readonly sessionID: string;
5259
- }["sessionID"];
4189
+ readonly sessionID: string;
5260
4190
  };
5261
4191
  export type SessionBackgroundOutput = void;
5262
4192
  export type SessionMessageGetInput = {
5263
- readonly sessionID: {
5264
- readonly sessionID: string;
5265
- readonly messageID: string;
5266
- }["sessionID"];
5267
- readonly messageID: {
5268
- readonly sessionID: string;
5269
- readonly messageID: string;
5270
- }["messageID"];
4193
+ readonly sessionID: string;
4194
+ readonly messageID: string;
5271
4195
  };
5272
4196
  export type SessionMessageGetOutput = {
5273
4197
  data: SessionMessageInfo;
5274
4198
  }["data"];
5275
4199
  export type SessionFormListInput = {
5276
- readonly sessionID: {
5277
- readonly sessionID: string;
5278
- }["sessionID"];
4200
+ readonly sessionID: string;
5279
4201
  };
5280
4202
  export type SessionFormListOutput = {
5281
4203
  data: Array<FormInfo>;
5282
4204
  }["data"];
5283
4205
  export type SessionFormCreateInput = {
5284
- readonly sessionID: {
5285
- readonly sessionID: string;
5286
- }["sessionID"];
5287
- readonly id?: {
5288
- readonly id?: string | null;
5289
- readonly title: string;
5290
- readonly metadata?: {
5291
- readonly [x: string]: JsonValue;
5292
- };
5293
- readonly fields: readonly [
5294
- ({
5295
- readonly key: string;
5296
- readonly title?: string;
5297
- readonly description?: string;
5298
- readonly required?: boolean;
5299
- readonly hidden?: boolean;
5300
- readonly when?: ReadonlyArray<{
5301
- readonly key: string;
5302
- readonly op: "eq" | "neq";
5303
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5304
- }>;
5305
- readonly type: "string";
5306
- readonly format?: "email" | "uri" | "date" | "date-time";
5307
- readonly minLength?: number;
5308
- readonly maxLength?: number;
5309
- readonly pattern?: string;
5310
- readonly placeholder?: string;
5311
- readonly default?: string;
5312
- readonly options?: ReadonlyArray<{
5313
- readonly value: string;
5314
- readonly label: string;
5315
- readonly description?: string;
5316
- }>;
5317
- readonly custom?: boolean;
5318
- } | {
5319
- readonly key: string;
5320
- readonly title?: string;
5321
- readonly description?: string;
5322
- readonly required?: boolean;
5323
- readonly hidden?: boolean;
5324
- readonly when?: ReadonlyArray<{
5325
- readonly key: string;
5326
- readonly op: "eq" | "neq";
5327
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5328
- }>;
5329
- readonly type: "number";
5330
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
5331
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
5332
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
5333
- } | {
5334
- readonly key: string;
5335
- readonly title?: string;
5336
- readonly description?: string;
5337
- readonly required?: boolean;
5338
- readonly hidden?: boolean;
5339
- readonly when?: ReadonlyArray<{
5340
- readonly key: string;
5341
- readonly op: "eq" | "neq";
5342
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5343
- }>;
5344
- readonly type: "integer";
5345
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
5346
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
5347
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
5348
- } | {
5349
- readonly key: string;
5350
- readonly title?: string;
5351
- readonly description?: string;
5352
- readonly required?: boolean;
5353
- readonly hidden?: boolean;
5354
- readonly when?: ReadonlyArray<{
5355
- readonly key: string;
5356
- readonly op: "eq" | "neq";
5357
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5358
- }>;
5359
- readonly type: "boolean";
5360
- readonly default?: boolean;
5361
- } | {
5362
- readonly key: string;
5363
- readonly title?: string;
5364
- readonly description?: string;
5365
- readonly required?: boolean;
5366
- readonly hidden?: boolean;
5367
- readonly when?: ReadonlyArray<{
5368
- readonly key: string;
5369
- readonly op: "eq" | "neq";
5370
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5371
- }>;
5372
- readonly type: "multiselect";
5373
- readonly options: ReadonlyArray<{
5374
- readonly value: string;
5375
- readonly label: string;
5376
- readonly description?: string;
5377
- }>;
5378
- readonly minItems?: number;
5379
- readonly maxItems?: number;
5380
- readonly custom?: boolean;
5381
- readonly default?: ReadonlyArray<string>;
5382
- } | {
5383
- readonly key: string;
5384
- readonly type: "external";
5385
- readonly url: string;
5386
- readonly title?: string;
5387
- readonly description?: string;
5388
- }),
5389
- ...Array<{
5390
- readonly key: string;
5391
- readonly title?: string;
5392
- readonly description?: string;
5393
- readonly required?: boolean;
5394
- readonly hidden?: boolean;
5395
- readonly when?: ReadonlyArray<{
5396
- readonly key: string;
5397
- readonly op: "eq" | "neq";
5398
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5399
- }>;
5400
- readonly type: "string";
5401
- readonly format?: "email" | "uri" | "date" | "date-time";
5402
- readonly minLength?: number;
5403
- readonly maxLength?: number;
5404
- readonly pattern?: string;
5405
- readonly placeholder?: string;
5406
- readonly default?: string;
5407
- readonly options?: ReadonlyArray<{
5408
- readonly value: string;
5409
- readonly label: string;
5410
- readonly description?: string;
5411
- }>;
5412
- readonly custom?: boolean;
5413
- } | {
5414
- readonly key: string;
5415
- readonly title?: string;
5416
- readonly description?: string;
5417
- readonly required?: boolean;
5418
- readonly hidden?: boolean;
5419
- readonly when?: ReadonlyArray<{
5420
- readonly key: string;
5421
- readonly op: "eq" | "neq";
5422
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5423
- }>;
5424
- readonly type: "number";
5425
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
5426
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
5427
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
5428
- } | {
5429
- readonly key: string;
5430
- readonly title?: string;
5431
- readonly description?: string;
5432
- readonly required?: boolean;
5433
- readonly hidden?: boolean;
5434
- readonly when?: ReadonlyArray<{
5435
- readonly key: string;
5436
- readonly op: "eq" | "neq";
5437
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5438
- }>;
5439
- readonly type: "integer";
5440
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
5441
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
5442
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
5443
- } | {
5444
- readonly key: string;
5445
- readonly title?: string;
5446
- readonly description?: string;
5447
- readonly required?: boolean;
5448
- readonly hidden?: boolean;
5449
- readonly when?: ReadonlyArray<{
5450
- readonly key: string;
5451
- readonly op: "eq" | "neq";
5452
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5453
- }>;
5454
- readonly type: "boolean";
5455
- readonly default?: boolean;
5456
- } | {
5457
- readonly key: string;
5458
- readonly title?: string;
5459
- readonly description?: string;
5460
- readonly required?: boolean;
5461
- readonly hidden?: boolean;
5462
- readonly when?: ReadonlyArray<{
5463
- readonly key: string;
5464
- readonly op: "eq" | "neq";
5465
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5466
- }>;
5467
- readonly type: "multiselect";
5468
- readonly options: ReadonlyArray<{
5469
- readonly value: string;
5470
- readonly label: string;
5471
- readonly description?: string;
5472
- }>;
5473
- readonly minItems?: number;
5474
- readonly maxItems?: number;
5475
- readonly custom?: boolean;
5476
- readonly default?: ReadonlyArray<string>;
5477
- } | {
5478
- readonly key: string;
5479
- readonly type: "external";
5480
- readonly url: string;
5481
- readonly title?: string;
5482
- readonly description?: string;
5483
- }>
5484
- ];
5485
- }["id"];
5486
- readonly title: {
5487
- readonly id?: string | null;
5488
- readonly title: string;
5489
- readonly metadata?: {
5490
- readonly [x: string]: JsonValue;
5491
- };
5492
- readonly fields: readonly [
5493
- ({
5494
- readonly key: string;
5495
- readonly title?: string;
5496
- readonly description?: string;
5497
- readonly required?: boolean;
5498
- readonly hidden?: boolean;
5499
- readonly when?: ReadonlyArray<{
5500
- readonly key: string;
5501
- readonly op: "eq" | "neq";
5502
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5503
- }>;
5504
- readonly type: "string";
5505
- readonly format?: "email" | "uri" | "date" | "date-time";
5506
- readonly minLength?: number;
5507
- readonly maxLength?: number;
5508
- readonly pattern?: string;
5509
- readonly placeholder?: string;
5510
- readonly default?: string;
5511
- readonly options?: ReadonlyArray<{
5512
- readonly value: string;
5513
- readonly label: string;
5514
- readonly description?: string;
5515
- }>;
5516
- readonly custom?: boolean;
5517
- } | {
5518
- readonly key: string;
5519
- readonly title?: string;
5520
- readonly description?: string;
5521
- readonly required?: boolean;
5522
- readonly hidden?: boolean;
5523
- readonly when?: ReadonlyArray<{
5524
- readonly key: string;
5525
- readonly op: "eq" | "neq";
5526
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5527
- }>;
5528
- readonly type: "number";
5529
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
5530
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
5531
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
5532
- } | {
5533
- readonly key: string;
5534
- readonly title?: string;
5535
- readonly description?: string;
5536
- readonly required?: boolean;
5537
- readonly hidden?: boolean;
5538
- readonly when?: ReadonlyArray<{
5539
- readonly key: string;
5540
- readonly op: "eq" | "neq";
5541
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5542
- }>;
5543
- readonly type: "integer";
5544
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
5545
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
5546
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
5547
- } | {
5548
- readonly key: string;
5549
- readonly title?: string;
5550
- readonly description?: string;
5551
- readonly required?: boolean;
5552
- readonly hidden?: boolean;
5553
- readonly when?: ReadonlyArray<{
5554
- readonly key: string;
5555
- readonly op: "eq" | "neq";
5556
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5557
- }>;
5558
- readonly type: "boolean";
5559
- readonly default?: boolean;
5560
- } | {
5561
- readonly key: string;
5562
- readonly title?: string;
5563
- readonly description?: string;
5564
- readonly required?: boolean;
5565
- readonly hidden?: boolean;
5566
- readonly when?: ReadonlyArray<{
5567
- readonly key: string;
5568
- readonly op: "eq" | "neq";
5569
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5570
- }>;
5571
- readonly type: "multiselect";
5572
- readonly options: ReadonlyArray<{
5573
- readonly value: string;
5574
- readonly label: string;
5575
- readonly description?: string;
5576
- }>;
5577
- readonly minItems?: number;
5578
- readonly maxItems?: number;
5579
- readonly custom?: boolean;
5580
- readonly default?: ReadonlyArray<string>;
5581
- } | {
5582
- readonly key: string;
5583
- readonly type: "external";
5584
- readonly url: string;
5585
- readonly title?: string;
5586
- readonly description?: string;
5587
- }),
5588
- ...Array<{
5589
- readonly key: string;
5590
- readonly title?: string;
5591
- readonly description?: string;
5592
- readonly required?: boolean;
5593
- readonly hidden?: boolean;
5594
- readonly when?: ReadonlyArray<{
5595
- readonly key: string;
5596
- readonly op: "eq" | "neq";
5597
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5598
- }>;
5599
- readonly type: "string";
5600
- readonly format?: "email" | "uri" | "date" | "date-time";
5601
- readonly minLength?: number;
5602
- readonly maxLength?: number;
5603
- readonly pattern?: string;
5604
- readonly placeholder?: string;
5605
- readonly default?: string;
5606
- readonly options?: ReadonlyArray<{
5607
- readonly value: string;
5608
- readonly label: string;
5609
- readonly description?: string;
5610
- }>;
5611
- readonly custom?: boolean;
5612
- } | {
5613
- readonly key: string;
5614
- readonly title?: string;
5615
- readonly description?: string;
5616
- readonly required?: boolean;
5617
- readonly hidden?: boolean;
5618
- readonly when?: ReadonlyArray<{
5619
- readonly key: string;
5620
- readonly op: "eq" | "neq";
5621
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5622
- }>;
5623
- readonly type: "number";
5624
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
5625
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
5626
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
5627
- } | {
5628
- readonly key: string;
5629
- readonly title?: string;
5630
- readonly description?: string;
5631
- readonly required?: boolean;
5632
- readonly hidden?: boolean;
5633
- readonly when?: ReadonlyArray<{
5634
- readonly key: string;
5635
- readonly op: "eq" | "neq";
5636
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5637
- }>;
5638
- readonly type: "integer";
5639
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
5640
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
5641
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
5642
- } | {
5643
- readonly key: string;
5644
- readonly title?: string;
5645
- readonly description?: string;
5646
- readonly required?: boolean;
5647
- readonly hidden?: boolean;
5648
- readonly when?: ReadonlyArray<{
5649
- readonly key: string;
5650
- readonly op: "eq" | "neq";
5651
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5652
- }>;
5653
- readonly type: "boolean";
5654
- readonly default?: boolean;
5655
- } | {
5656
- readonly key: string;
5657
- readonly title?: string;
5658
- readonly description?: string;
5659
- readonly required?: boolean;
5660
- readonly hidden?: boolean;
5661
- readonly when?: ReadonlyArray<{
5662
- readonly key: string;
5663
- readonly op: "eq" | "neq";
5664
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5665
- }>;
5666
- readonly type: "multiselect";
5667
- readonly options: ReadonlyArray<{
5668
- readonly value: string;
5669
- readonly label: string;
5670
- readonly description?: string;
5671
- }>;
5672
- readonly minItems?: number;
5673
- readonly maxItems?: number;
5674
- readonly custom?: boolean;
5675
- readonly default?: ReadonlyArray<string>;
5676
- } | {
5677
- readonly key: string;
5678
- readonly type: "external";
5679
- readonly url: string;
5680
- readonly title?: string;
5681
- readonly description?: string;
5682
- }>
5683
- ];
5684
- }["title"];
4206
+ readonly sessionID: string;
4207
+ readonly id?: string | null | undefined;
4208
+ readonly title: string;
5685
4209
  readonly metadata?: {
5686
- readonly id?: string | null;
5687
- readonly title: string;
5688
- readonly metadata?: {
5689
- readonly [x: string]: JsonValue;
5690
- };
5691
- readonly fields: readonly [
5692
- ({
5693
- readonly key: string;
5694
- readonly title?: string;
5695
- readonly description?: string;
5696
- readonly required?: boolean;
5697
- readonly hidden?: boolean;
5698
- readonly when?: ReadonlyArray<{
5699
- readonly key: string;
5700
- readonly op: "eq" | "neq";
5701
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5702
- }>;
5703
- readonly type: "string";
5704
- readonly format?: "email" | "uri" | "date" | "date-time";
5705
- readonly minLength?: number;
5706
- readonly maxLength?: number;
5707
- readonly pattern?: string;
5708
- readonly placeholder?: string;
5709
- readonly default?: string;
5710
- readonly options?: ReadonlyArray<{
5711
- readonly value: string;
5712
- readonly label: string;
5713
- readonly description?: string;
5714
- }>;
5715
- readonly custom?: boolean;
5716
- } | {
5717
- readonly key: string;
5718
- readonly title?: string;
5719
- readonly description?: string;
5720
- readonly required?: boolean;
5721
- readonly hidden?: boolean;
5722
- readonly when?: ReadonlyArray<{
5723
- readonly key: string;
5724
- readonly op: "eq" | "neq";
5725
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5726
- }>;
5727
- readonly type: "number";
5728
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
5729
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
5730
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
5731
- } | {
5732
- readonly key: string;
5733
- readonly title?: string;
5734
- readonly description?: string;
5735
- readonly required?: boolean;
5736
- readonly hidden?: boolean;
5737
- readonly when?: ReadonlyArray<{
5738
- readonly key: string;
5739
- readonly op: "eq" | "neq";
5740
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5741
- }>;
5742
- readonly type: "integer";
5743
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
5744
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
5745
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
5746
- } | {
5747
- readonly key: string;
5748
- readonly title?: string;
5749
- readonly description?: string;
5750
- readonly required?: boolean;
5751
- readonly hidden?: boolean;
5752
- readonly when?: ReadonlyArray<{
5753
- readonly key: string;
5754
- readonly op: "eq" | "neq";
5755
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5756
- }>;
5757
- readonly type: "boolean";
5758
- readonly default?: boolean;
5759
- } | {
5760
- readonly key: string;
5761
- readonly title?: string;
5762
- readonly description?: string;
5763
- readonly required?: boolean;
5764
- readonly hidden?: boolean;
5765
- readonly when?: ReadonlyArray<{
5766
- readonly key: string;
5767
- readonly op: "eq" | "neq";
5768
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5769
- }>;
5770
- readonly type: "multiselect";
5771
- readonly options: ReadonlyArray<{
5772
- readonly value: string;
5773
- readonly label: string;
5774
- readonly description?: string;
5775
- }>;
5776
- readonly minItems?: number;
5777
- readonly maxItems?: number;
5778
- readonly custom?: boolean;
5779
- readonly default?: ReadonlyArray<string>;
5780
- } | {
5781
- readonly key: string;
5782
- readonly type: "external";
5783
- readonly url: string;
5784
- readonly title?: string;
5785
- readonly description?: string;
5786
- }),
5787
- ...Array<{
5788
- readonly key: string;
5789
- readonly title?: string;
5790
- readonly description?: string;
5791
- readonly required?: boolean;
5792
- readonly hidden?: boolean;
5793
- readonly when?: ReadonlyArray<{
5794
- readonly key: string;
5795
- readonly op: "eq" | "neq";
5796
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5797
- }>;
5798
- readonly type: "string";
5799
- readonly format?: "email" | "uri" | "date" | "date-time";
5800
- readonly minLength?: number;
5801
- readonly maxLength?: number;
5802
- readonly pattern?: string;
5803
- readonly placeholder?: string;
5804
- readonly default?: string;
5805
- readonly options?: ReadonlyArray<{
5806
- readonly value: string;
5807
- readonly label: string;
5808
- readonly description?: string;
5809
- }>;
5810
- readonly custom?: boolean;
5811
- } | {
5812
- readonly key: string;
5813
- readonly title?: string;
5814
- readonly description?: string;
5815
- readonly required?: boolean;
5816
- readonly hidden?: boolean;
5817
- readonly when?: ReadonlyArray<{
5818
- readonly key: string;
5819
- readonly op: "eq" | "neq";
5820
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5821
- }>;
5822
- readonly type: "number";
5823
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
5824
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
5825
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
5826
- } | {
5827
- readonly key: string;
5828
- readonly title?: string;
5829
- readonly description?: string;
5830
- readonly required?: boolean;
5831
- readonly hidden?: boolean;
5832
- readonly when?: ReadonlyArray<{
5833
- readonly key: string;
5834
- readonly op: "eq" | "neq";
5835
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5836
- }>;
5837
- readonly type: "integer";
5838
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
5839
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
5840
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
5841
- } | {
5842
- readonly key: string;
5843
- readonly title?: string;
5844
- readonly description?: string;
5845
- readonly required?: boolean;
5846
- readonly hidden?: boolean;
5847
- readonly when?: ReadonlyArray<{
5848
- readonly key: string;
5849
- readonly op: "eq" | "neq";
5850
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5851
- }>;
5852
- readonly type: "boolean";
5853
- readonly default?: boolean;
5854
- } | {
5855
- readonly key: string;
5856
- readonly title?: string;
5857
- readonly description?: string;
5858
- readonly required?: boolean;
5859
- readonly hidden?: boolean;
5860
- readonly when?: ReadonlyArray<{
5861
- readonly key: string;
5862
- readonly op: "eq" | "neq";
5863
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5864
- }>;
5865
- readonly type: "multiselect";
5866
- readonly options: ReadonlyArray<{
5867
- readonly value: string;
5868
- readonly label: string;
5869
- readonly description?: string;
5870
- }>;
5871
- readonly minItems?: number;
5872
- readonly maxItems?: number;
5873
- readonly custom?: boolean;
5874
- readonly default?: ReadonlyArray<string>;
5875
- } | {
5876
- readonly key: string;
5877
- readonly type: "external";
5878
- readonly url: string;
5879
- readonly title?: string;
5880
- readonly description?: string;
5881
- }>
5882
- ];
5883
- }["metadata"];
5884
- readonly fields: {
5885
- readonly id?: string | null;
5886
- readonly title: string;
5887
- readonly metadata?: {
5888
- readonly [x: string]: JsonValue;
5889
- };
5890
- readonly fields: readonly [
5891
- ({
5892
- readonly key: string;
5893
- readonly title?: string;
5894
- readonly description?: string;
5895
- readonly required?: boolean;
5896
- readonly hidden?: boolean;
5897
- readonly when?: ReadonlyArray<{
5898
- readonly key: string;
5899
- readonly op: "eq" | "neq";
5900
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5901
- }>;
5902
- readonly type: "string";
5903
- readonly format?: "email" | "uri" | "date" | "date-time";
5904
- readonly minLength?: number;
5905
- readonly maxLength?: number;
5906
- readonly pattern?: string;
5907
- readonly placeholder?: string;
5908
- readonly default?: string;
5909
- readonly options?: ReadonlyArray<{
5910
- readonly value: string;
5911
- readonly label: string;
5912
- readonly description?: string;
5913
- }>;
5914
- readonly custom?: boolean;
5915
- } | {
5916
- readonly key: string;
5917
- readonly title?: string;
5918
- readonly description?: string;
5919
- readonly required?: boolean;
5920
- readonly hidden?: boolean;
5921
- readonly when?: ReadonlyArray<{
5922
- readonly key: string;
5923
- readonly op: "eq" | "neq";
5924
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5925
- }>;
5926
- readonly type: "number";
5927
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
5928
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
5929
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
5930
- } | {
4210
+ readonly [x: string]: JsonValue;
4211
+ } | undefined;
4212
+ readonly fields: readonly [
4213
+ ({
4214
+ readonly key: string;
4215
+ readonly title?: string;
4216
+ readonly description?: string;
4217
+ readonly required?: boolean;
4218
+ readonly hidden?: boolean;
4219
+ readonly when?: ReadonlyArray<{
5931
4220
  readonly key: string;
5932
- readonly title?: string;
4221
+ readonly op: "eq" | "neq";
4222
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
4223
+ }>;
4224
+ readonly type: "string";
4225
+ readonly format?: "email" | "uri" | "date" | "date-time";
4226
+ readonly minLength?: number;
4227
+ readonly maxLength?: number;
4228
+ readonly pattern?: string;
4229
+ readonly placeholder?: string;
4230
+ readonly default?: string;
4231
+ readonly options?: ReadonlyArray<{
4232
+ readonly value: string;
4233
+ readonly label: string;
5933
4234
  readonly description?: string;
5934
- readonly required?: boolean;
5935
- readonly hidden?: boolean;
5936
- readonly when?: ReadonlyArray<{
5937
- readonly key: string;
5938
- readonly op: "eq" | "neq";
5939
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5940
- }>;
5941
- readonly type: "integer";
5942
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
5943
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
5944
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
5945
- } | {
4235
+ }>;
4236
+ readonly custom?: boolean;
4237
+ } | {
4238
+ readonly key: string;
4239
+ readonly title?: string;
4240
+ readonly description?: string;
4241
+ readonly required?: boolean;
4242
+ readonly hidden?: boolean;
4243
+ readonly when?: ReadonlyArray<{
5946
4244
  readonly key: string;
5947
- readonly title?: string;
5948
- readonly description?: string;
5949
- readonly required?: boolean;
5950
- readonly hidden?: boolean;
5951
- readonly when?: ReadonlyArray<{
5952
- readonly key: string;
5953
- readonly op: "eq" | "neq";
5954
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5955
- }>;
5956
- readonly type: "boolean";
5957
- readonly default?: boolean;
5958
- } | {
4245
+ readonly op: "eq" | "neq";
4246
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
4247
+ }>;
4248
+ readonly type: "number";
4249
+ readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
4250
+ readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
4251
+ readonly default?: number | "Infinity" | "-Infinity" | "NaN";
4252
+ } | {
4253
+ readonly key: string;
4254
+ readonly title?: string;
4255
+ readonly description?: string;
4256
+ readonly required?: boolean;
4257
+ readonly hidden?: boolean;
4258
+ readonly when?: ReadonlyArray<{
5959
4259
  readonly key: string;
5960
- readonly title?: string;
5961
- readonly description?: string;
5962
- readonly required?: boolean;
5963
- readonly hidden?: boolean;
5964
- readonly when?: ReadonlyArray<{
5965
- readonly key: string;
5966
- readonly op: "eq" | "neq";
5967
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5968
- }>;
5969
- readonly type: "multiselect";
5970
- readonly options: ReadonlyArray<{
5971
- readonly value: string;
5972
- readonly label: string;
5973
- readonly description?: string;
5974
- }>;
5975
- readonly minItems?: number;
5976
- readonly maxItems?: number;
5977
- readonly custom?: boolean;
5978
- readonly default?: ReadonlyArray<string>;
5979
- } | {
4260
+ readonly op: "eq" | "neq";
4261
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
4262
+ }>;
4263
+ readonly type: "integer";
4264
+ readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
4265
+ readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
4266
+ readonly default?: number | "Infinity" | "-Infinity" | "NaN";
4267
+ } | {
4268
+ readonly key: string;
4269
+ readonly title?: string;
4270
+ readonly description?: string;
4271
+ readonly required?: boolean;
4272
+ readonly hidden?: boolean;
4273
+ readonly when?: ReadonlyArray<{
5980
4274
  readonly key: string;
5981
- readonly type: "external";
5982
- readonly url: string;
5983
- readonly title?: string;
5984
- readonly description?: string;
5985
- }),
5986
- ...Array<{
4275
+ readonly op: "eq" | "neq";
4276
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
4277
+ }>;
4278
+ readonly type: "boolean";
4279
+ readonly default?: boolean;
4280
+ } | {
4281
+ readonly key: string;
4282
+ readonly title?: string;
4283
+ readonly description?: string;
4284
+ readonly required?: boolean;
4285
+ readonly hidden?: boolean;
4286
+ readonly when?: ReadonlyArray<{
5987
4287
  readonly key: string;
5988
- readonly title?: string;
4288
+ readonly op: "eq" | "neq";
4289
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
4290
+ }>;
4291
+ readonly type: "multiselect";
4292
+ readonly options: ReadonlyArray<{
4293
+ readonly value: string;
4294
+ readonly label: string;
5989
4295
  readonly description?: string;
5990
- readonly required?: boolean;
5991
- readonly hidden?: boolean;
5992
- readonly when?: ReadonlyArray<{
5993
- readonly key: string;
5994
- readonly op: "eq" | "neq";
5995
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
5996
- }>;
5997
- readonly type: "string";
5998
- readonly format?: "email" | "uri" | "date" | "date-time";
5999
- readonly minLength?: number;
6000
- readonly maxLength?: number;
6001
- readonly pattern?: string;
6002
- readonly placeholder?: string;
6003
- readonly default?: string;
6004
- readonly options?: ReadonlyArray<{
6005
- readonly value: string;
6006
- readonly label: string;
6007
- readonly description?: string;
6008
- }>;
6009
- readonly custom?: boolean;
6010
- } | {
4296
+ }>;
4297
+ readonly minItems?: number;
4298
+ readonly maxItems?: number;
4299
+ readonly custom?: boolean;
4300
+ readonly default?: ReadonlyArray<string>;
4301
+ } | {
4302
+ readonly key: string;
4303
+ readonly type: "external";
4304
+ readonly url: string;
4305
+ readonly title?: string;
4306
+ readonly description?: string;
4307
+ }),
4308
+ ...Array<{
4309
+ readonly key: string;
4310
+ readonly title?: string;
4311
+ readonly description?: string;
4312
+ readonly required?: boolean;
4313
+ readonly hidden?: boolean;
4314
+ readonly when?: ReadonlyArray<{
6011
4315
  readonly key: string;
6012
- readonly title?: string;
4316
+ readonly op: "eq" | "neq";
4317
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
4318
+ }>;
4319
+ readonly type: "string";
4320
+ readonly format?: "email" | "uri" | "date" | "date-time";
4321
+ readonly minLength?: number;
4322
+ readonly maxLength?: number;
4323
+ readonly pattern?: string;
4324
+ readonly placeholder?: string;
4325
+ readonly default?: string;
4326
+ readonly options?: ReadonlyArray<{
4327
+ readonly value: string;
4328
+ readonly label: string;
6013
4329
  readonly description?: string;
6014
- readonly required?: boolean;
6015
- readonly hidden?: boolean;
6016
- readonly when?: ReadonlyArray<{
6017
- readonly key: string;
6018
- readonly op: "eq" | "neq";
6019
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6020
- }>;
6021
- readonly type: "number";
6022
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6023
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6024
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6025
- } | {
4330
+ }>;
4331
+ readonly custom?: boolean;
4332
+ } | {
4333
+ readonly key: string;
4334
+ readonly title?: string;
4335
+ readonly description?: string;
4336
+ readonly required?: boolean;
4337
+ readonly hidden?: boolean;
4338
+ readonly when?: ReadonlyArray<{
6026
4339
  readonly key: string;
6027
- readonly title?: string;
6028
- readonly description?: string;
6029
- readonly required?: boolean;
6030
- readonly hidden?: boolean;
6031
- readonly when?: ReadonlyArray<{
6032
- readonly key: string;
6033
- readonly op: "eq" | "neq";
6034
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6035
- }>;
6036
- readonly type: "integer";
6037
- readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
6038
- readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
6039
- readonly default?: number | "Infinity" | "-Infinity" | "NaN";
6040
- } | {
4340
+ readonly op: "eq" | "neq";
4341
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
4342
+ }>;
4343
+ readonly type: "number";
4344
+ readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
4345
+ readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
4346
+ readonly default?: number | "Infinity" | "-Infinity" | "NaN";
4347
+ } | {
4348
+ readonly key: string;
4349
+ readonly title?: string;
4350
+ readonly description?: string;
4351
+ readonly required?: boolean;
4352
+ readonly hidden?: boolean;
4353
+ readonly when?: ReadonlyArray<{
6041
4354
  readonly key: string;
6042
- readonly title?: string;
6043
- readonly description?: string;
6044
- readonly required?: boolean;
6045
- readonly hidden?: boolean;
6046
- readonly when?: ReadonlyArray<{
6047
- readonly key: string;
6048
- readonly op: "eq" | "neq";
6049
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6050
- }>;
6051
- readonly type: "boolean";
6052
- readonly default?: boolean;
6053
- } | {
4355
+ readonly op: "eq" | "neq";
4356
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
4357
+ }>;
4358
+ readonly type: "integer";
4359
+ readonly minimum?: number | "Infinity" | "-Infinity" | "NaN";
4360
+ readonly maximum?: number | "Infinity" | "-Infinity" | "NaN";
4361
+ readonly default?: number | "Infinity" | "-Infinity" | "NaN";
4362
+ } | {
4363
+ readonly key: string;
4364
+ readonly title?: string;
4365
+ readonly description?: string;
4366
+ readonly required?: boolean;
4367
+ readonly hidden?: boolean;
4368
+ readonly when?: ReadonlyArray<{
6054
4369
  readonly key: string;
6055
- readonly title?: string;
6056
- readonly description?: string;
6057
- readonly required?: boolean;
6058
- readonly hidden?: boolean;
6059
- readonly when?: ReadonlyArray<{
6060
- readonly key: string;
6061
- readonly op: "eq" | "neq";
6062
- readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
6063
- }>;
6064
- readonly type: "multiselect";
6065
- readonly options: ReadonlyArray<{
6066
- readonly value: string;
6067
- readonly label: string;
6068
- readonly description?: string;
6069
- }>;
6070
- readonly minItems?: number;
6071
- readonly maxItems?: number;
6072
- readonly custom?: boolean;
6073
- readonly default?: ReadonlyArray<string>;
6074
- } | {
4370
+ readonly op: "eq" | "neq";
4371
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
4372
+ }>;
4373
+ readonly type: "boolean";
4374
+ readonly default?: boolean;
4375
+ } | {
4376
+ readonly key: string;
4377
+ readonly title?: string;
4378
+ readonly description?: string;
4379
+ readonly required?: boolean;
4380
+ readonly hidden?: boolean;
4381
+ readonly when?: ReadonlyArray<{
6075
4382
  readonly key: string;
6076
- readonly type: "external";
6077
- readonly url: string;
6078
- readonly title?: string;
4383
+ readonly op: "eq" | "neq";
4384
+ readonly value: string | number | "Infinity" | "-Infinity" | "NaN" | boolean;
4385
+ }>;
4386
+ readonly type: "multiselect";
4387
+ readonly options: ReadonlyArray<{
4388
+ readonly value: string;
4389
+ readonly label: string;
6079
4390
  readonly description?: string;
6080
- }>
6081
- ];
6082
- }["fields"];
4391
+ }>;
4392
+ readonly minItems?: number;
4393
+ readonly maxItems?: number;
4394
+ readonly custom?: boolean;
4395
+ readonly default?: ReadonlyArray<string>;
4396
+ } | {
4397
+ readonly key: string;
4398
+ readonly type: "external";
4399
+ readonly url: string;
4400
+ readonly title?: string;
4401
+ readonly description?: string;
4402
+ }>
4403
+ ];
6083
4404
  };
6084
4405
  export type SessionFormCreateOutput = {
6085
4406
  data: FormInfo;
6086
4407
  }["data"];
6087
4408
  export type SessionFormGetInput = {
6088
- readonly sessionID: {
6089
- readonly sessionID: string;
6090
- readonly formID: string;
6091
- }["sessionID"];
6092
- readonly formID: {
6093
- readonly sessionID: string;
6094
- readonly formID: string;
6095
- }["formID"];
4409
+ readonly sessionID: string;
4410
+ readonly formID: string;
6096
4411
  };
6097
4412
  export type SessionFormGetOutput = {
6098
4413
  data: FormDetail;
6099
4414
  }["data"];
6100
4415
  export type SessionFormReplyInput = {
6101
- readonly sessionID: {
6102
- readonly sessionID: string;
6103
- readonly formID: string;
6104
- }["sessionID"];
6105
- readonly formID: {
6106
- readonly sessionID: string;
6107
- readonly formID: string;
6108
- }["formID"];
4416
+ readonly sessionID: string;
4417
+ readonly formID: string;
6109
4418
  readonly answer: {
6110
- readonly answer: {
6111
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6112
- };
6113
- }["answer"];
4419
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
4420
+ };
6114
4421
  };
6115
4422
  export type SessionFormReplyOutput = void;
6116
4423
  export type SessionFormCancelInput = {
6117
- readonly sessionID: {
6118
- readonly sessionID: string;
6119
- readonly formID: string;
6120
- }["sessionID"];
6121
- readonly formID: {
6122
- readonly sessionID: string;
6123
- readonly formID: string;
6124
- }["formID"];
6125
- readonly message?: {
6126
- readonly message?: string | undefined;
6127
- }["message"];
4424
+ readonly sessionID: string;
4425
+ readonly formID: string;
4426
+ readonly message?: string | undefined;
6128
4427
  };
6129
4428
  export type SessionFormCancelOutput = void;
6130
4429
  export type SessionEnvironmentInput = {
6131
- readonly sessionID: {
6132
- readonly sessionID: string;
6133
- }["sessionID"];
4430
+ readonly sessionID: string;
6134
4431
  readonly variables: {
6135
- readonly variables: {
6136
- readonly [x: string]: string;
6137
- };
6138
- }["variables"];
4432
+ readonly [x: string]: string;
4433
+ };
6139
4434
  };
6140
4435
  export type SessionEnvironmentOutput = void;
6141
4436
  export type SessionViewInput = {
6142
- readonly sessionID: {
6143
- readonly sessionID: string;
6144
- }["sessionID"];
6145
- readonly idle: {
6146
- readonly idle: number;
6147
- }["idle"];
4437
+ readonly sessionID: string;
4438
+ readonly idle: number;
6148
4439
  };
6149
4440
  export type SessionViewOutput = void;
6150
4441
  export type MessageListInput = {
6151
- readonly sessionID: {
6152
- readonly sessionID: string;
6153
- }["sessionID"];
6154
- readonly limit?: {
6155
- readonly limit?: number | undefined;
6156
- readonly order?: "asc" | "desc" | undefined;
6157
- readonly cursor?: string | undefined;
6158
- readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | "idle" | undefined;
6159
- }["limit"];
6160
- readonly order?: {
6161
- readonly limit?: number | undefined;
6162
- readonly order?: "asc" | "desc" | undefined;
6163
- readonly cursor?: string | undefined;
6164
- readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | "idle" | undefined;
6165
- }["order"];
6166
- readonly cursor?: {
6167
- readonly limit?: number | undefined;
6168
- readonly order?: "asc" | "desc" | undefined;
6169
- readonly cursor?: string | undefined;
6170
- readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | "idle" | undefined;
6171
- }["cursor"];
6172
- readonly type?: {
6173
- readonly limit?: number | undefined;
6174
- readonly order?: "asc" | "desc" | undefined;
6175
- readonly cursor?: string | undefined;
6176
- readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | "idle" | undefined;
6177
- }["type"];
4442
+ readonly sessionID: string;
4443
+ readonly limit?: number | undefined;
4444
+ readonly order?: "asc" | "desc" | undefined;
4445
+ readonly cursor?: string | undefined;
4446
+ readonly type?: "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "system" | "skill" | "shell" | "assistant" | "compaction" | "idle" | undefined;
6178
4447
  };
6179
4448
  export type MessageListOutput = SessionMessagesResponse;
6180
4449
  export type ModelListInput = {
6181
4450
  readonly location?: {
6182
- readonly location?: {
6183
- readonly directory?: string | undefined;
6184
- } | undefined;
6185
- }["location"];
4451
+ readonly directory?: string | undefined;
4452
+ } | undefined;
4453
+ readonly types?: ReadonlyArray<"chat" | "decision" | "image" | (string & {})> | undefined;
6186
4454
  };
6187
4455
  export type ModelListOutput = {
6188
4456
  location: LocationPublicRef;
@@ -6190,97 +4458,51 @@ export type ModelListOutput = {
6190
4458
  };
6191
4459
  export type ModelDefaultInput = {
6192
4460
  readonly location?: {
6193
- readonly location?: {
6194
- readonly directory?: string | undefined;
6195
- } | undefined;
6196
- }["location"];
4461
+ readonly directory?: string | undefined;
4462
+ } | undefined;
6197
4463
  };
6198
4464
  export type ModelDefaultOutput = {
6199
4465
  location: LocationPublicRef;
6200
4466
  data: ModelInfo | null;
6201
4467
  };
6202
4468
  export type GenerateTextInput = {
6203
- readonly prompt: {
6204
- readonly prompt: string;
6205
- readonly model?: {
6206
- readonly id: string;
6207
- readonly providerID: string;
6208
- readonly variant?: string;
6209
- } | null;
6210
- }["prompt"];
4469
+ readonly prompt: string;
6211
4470
  readonly model?: {
6212
- readonly prompt: string;
6213
- readonly model?: {
6214
- readonly id: string;
6215
- readonly providerID: string;
6216
- readonly variant?: string;
6217
- } | null;
6218
- }["model"];
4471
+ readonly id: string;
4472
+ readonly providerID: string;
4473
+ readonly variant?: string;
4474
+ } | null | undefined;
6219
4475
  };
6220
4476
  export type GenerateTextOutput = GenerateTextResponse["data"];
6221
4477
  export type VoiceModelsOutput = VoiceModelsResponse["data"];
6222
4478
  export type VoiceSessionInput = {
6223
- readonly model: {
6224
- readonly model: string;
6225
- readonly session?: {
6226
- readonly [x: string]: unknown;
6227
- } | undefined;
6228
- readonly transport: {
6229
- readonly type: "webrtc";
6230
- readonly sdp: string;
6231
- readonly dcid?: number | undefined;
6232
- } | {
6233
- readonly type: "websocket";
6234
- };
6235
- }["model"];
4479
+ readonly model: string;
6236
4480
  readonly session?: {
6237
- readonly model: string;
6238
- readonly session?: {
6239
- readonly [x: string]: unknown;
6240
- } | undefined;
6241
- readonly transport: {
6242
- readonly type: "webrtc";
6243
- readonly sdp: string;
6244
- readonly dcid?: number | undefined;
6245
- } | {
6246
- readonly type: "websocket";
6247
- };
6248
- }["session"];
4481
+ readonly [x: string]: unknown;
4482
+ } | undefined;
6249
4483
  readonly transport: {
6250
- readonly model: string;
6251
- readonly session?: {
6252
- readonly [x: string]: unknown;
6253
- } | undefined;
6254
- readonly transport: {
6255
- readonly type: "webrtc";
6256
- readonly sdp: string;
6257
- readonly dcid?: number | undefined;
6258
- } | {
6259
- readonly type: "websocket";
6260
- };
6261
- }["transport"];
4484
+ readonly type: "webrtc";
4485
+ readonly sdp: string;
4486
+ readonly dcid?: number | undefined;
4487
+ } | {
4488
+ readonly type: "websocket";
4489
+ };
6262
4490
  };
6263
4491
  export type VoiceSessionOutput = VoiceSessionResponse["data"];
6264
4492
  export type ProviderListInput = {
6265
4493
  readonly location?: {
6266
- readonly location?: {
6267
- readonly directory?: string | undefined;
6268
- } | undefined;
6269
- }["location"];
4494
+ readonly directory?: string | undefined;
4495
+ } | undefined;
6270
4496
  };
6271
4497
  export type ProviderListOutput = {
6272
4498
  location: LocationPublicRef;
6273
4499
  data: Array<ProviderInfo>;
6274
4500
  };
6275
4501
  export type ProviderGetInput = {
6276
- readonly providerID: {
6277
- readonly providerID: string;
6278
- }["providerID"];
4502
+ readonly providerID: string;
6279
4503
  readonly location?: {
6280
- readonly location?: {
6281
- readonly directory?: string | undefined;
6282
- } | undefined;
6283
- }["location"];
4504
+ readonly directory?: string | undefined;
4505
+ } | undefined;
6284
4506
  };
6285
4507
  export type ProviderGetOutput = {
6286
4508
  location: LocationPublicRef;
@@ -6288,24 +4510,18 @@ export type ProviderGetOutput = {
6288
4510
  };
6289
4511
  export type IntegrationListInput = {
6290
4512
  readonly location?: {
6291
- readonly location?: {
6292
- readonly directory?: string | undefined;
6293
- } | undefined;
6294
- }["location"];
4513
+ readonly directory?: string | undefined;
4514
+ } | undefined;
6295
4515
  };
6296
4516
  export type IntegrationListOutput = {
6297
4517
  location: LocationPublicRef;
6298
4518
  data: Array<IntegrationInfo>;
6299
4519
  };
6300
4520
  export type IntegrationGetInput = {
6301
- readonly integrationID: {
6302
- readonly integrationID: string;
6303
- }["integrationID"];
4521
+ readonly integrationID: string;
6304
4522
  readonly location?: {
6305
- readonly location?: {
6306
- readonly directory?: string | undefined;
6307
- } | undefined;
6308
- }["location"];
4523
+ readonly directory?: string | undefined;
4524
+ } | undefined;
6309
4525
  };
6310
4526
  export type IntegrationGetOutput = {
6311
4527
  location: LocationPublicRef;
@@ -6313,326 +4529,188 @@ export type IntegrationGetOutput = {
6313
4529
  };
6314
4530
  export type IntegrationWellknownAddInput = {
6315
4531
  readonly location?: {
6316
- readonly location?: {
6317
- readonly directory?: string | undefined;
6318
- } | undefined;
6319
- }["location"];
6320
- readonly url: {
6321
- readonly url: string;
6322
- }["url"];
4532
+ readonly directory?: string | undefined;
4533
+ } | undefined;
4534
+ readonly url: string;
6323
4535
  };
6324
4536
  export type IntegrationWellknownAddOutput = void;
6325
4537
  export type IntegrationConnectKeyInput = {
6326
- readonly integrationID: {
6327
- readonly integrationID: string;
6328
- }["integrationID"];
4538
+ readonly integrationID: string;
6329
4539
  readonly location?: {
6330
- readonly location?: {
6331
- readonly directory?: string | undefined;
6332
- } | undefined;
6333
- }["location"];
6334
- readonly key: {
6335
- readonly key: string;
6336
- readonly answer?: {
6337
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6338
- } | undefined;
6339
- readonly label?: string | undefined;
6340
- }["key"];
4540
+ readonly directory?: string | undefined;
4541
+ } | undefined;
4542
+ readonly key: string;
6341
4543
  readonly answer?: {
6342
- readonly key: string;
6343
- readonly answer?: {
6344
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6345
- } | undefined;
6346
- readonly label?: string | undefined;
6347
- }["answer"];
6348
- readonly label?: {
6349
- readonly key: string;
6350
- readonly answer?: {
6351
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6352
- } | undefined;
6353
- readonly label?: string | undefined;
6354
- }["label"];
4544
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
4545
+ } | undefined;
4546
+ readonly label?: string | undefined;
6355
4547
  };
6356
4548
  export type IntegrationConnectKeyOutput = void;
6357
4549
  export type IntegrationConnectExternalInput = {
6358
- readonly integrationID: {
6359
- readonly integrationID: string;
6360
- }["integrationID"];
4550
+ readonly integrationID: string;
6361
4551
  readonly location?: {
6362
- readonly location?: {
6363
- readonly directory?: string | undefined;
6364
- } | undefined;
6365
- }["location"];
6366
- readonly methodID: {
6367
- readonly methodID: string;
6368
- readonly answer?: {
6369
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6370
- } | undefined;
6371
- readonly label?: string | undefined;
6372
- }["methodID"];
4552
+ readonly directory?: string | undefined;
4553
+ } | undefined;
4554
+ readonly methodID: string;
6373
4555
  readonly answer?: {
6374
- readonly methodID: string;
6375
- readonly answer?: {
6376
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6377
- } | undefined;
6378
- readonly label?: string | undefined;
6379
- }["answer"];
6380
- readonly label?: {
6381
- readonly methodID: string;
6382
- readonly answer?: {
6383
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6384
- } | undefined;
6385
- readonly label?: string | undefined;
6386
- }["label"];
4556
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
4557
+ } | undefined;
4558
+ readonly label?: string | undefined;
6387
4559
  };
6388
4560
  export type IntegrationConnectExternalOutput = void;
6389
4561
  export type IntegrationOauthConnectInput = {
6390
- readonly integrationID: {
6391
- readonly integrationID: string;
6392
- }["integrationID"];
4562
+ readonly integrationID: string;
6393
4563
  readonly location?: {
6394
- readonly location?: {
6395
- readonly directory?: string | undefined;
6396
- } | undefined;
6397
- }["location"];
6398
- readonly methodID: {
6399
- readonly methodID: string;
6400
- readonly answer?: {
6401
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6402
- } | undefined;
6403
- readonly label?: string | undefined;
6404
- }["methodID"];
4564
+ readonly directory?: string | undefined;
4565
+ } | undefined;
4566
+ readonly methodID: string;
6405
4567
  readonly answer?: {
6406
- readonly methodID: string;
6407
- readonly answer?: {
6408
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6409
- } | undefined;
6410
- readonly label?: string | undefined;
6411
- }["answer"];
6412
- readonly label?: {
6413
- readonly methodID: string;
6414
- readonly answer?: {
6415
- readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
6416
- } | undefined;
6417
- readonly label?: string | undefined;
6418
- }["label"];
4568
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
4569
+ } | undefined;
4570
+ readonly label?: string | undefined;
6419
4571
  };
6420
4572
  export type IntegrationOauthConnectOutput = {
6421
4573
  location: LocationPublicRef;
6422
4574
  data: IntegrationAttempt;
6423
4575
  };
6424
4576
  export type IntegrationOauthStatusInput = {
6425
- readonly integrationID: {
6426
- readonly integrationID: string;
6427
- readonly attemptID: string;
6428
- }["integrationID"];
6429
- readonly attemptID: {
6430
- readonly integrationID: string;
6431
- readonly attemptID: string;
6432
- }["attemptID"];
4577
+ readonly integrationID: string;
4578
+ readonly attemptID: string;
6433
4579
  readonly location?: {
6434
- readonly location?: {
6435
- readonly directory?: string | undefined;
6436
- } | undefined;
6437
- }["location"];
4580
+ readonly directory?: string | undefined;
4581
+ } | undefined;
6438
4582
  };
6439
4583
  export type IntegrationOauthStatusOutput = {
6440
4584
  location: LocationPublicRef;
6441
4585
  data: IntegrationAttemptStatus;
6442
4586
  };
6443
4587
  export type IntegrationOauthCompleteInput = {
6444
- readonly integrationID: {
6445
- readonly integrationID: string;
6446
- readonly attemptID: string;
6447
- }["integrationID"];
6448
- readonly attemptID: {
6449
- readonly integrationID: string;
6450
- readonly attemptID: string;
6451
- }["attemptID"];
4588
+ readonly integrationID: string;
4589
+ readonly attemptID: string;
6452
4590
  readonly location?: {
6453
- readonly location?: {
6454
- readonly directory?: string | undefined;
6455
- } | undefined;
6456
- }["location"];
6457
- readonly code?: {
6458
- readonly code?: string | undefined;
6459
- }["code"];
4591
+ readonly directory?: string | undefined;
4592
+ } | undefined;
4593
+ readonly code?: string | undefined;
6460
4594
  };
6461
4595
  export type IntegrationOauthCompleteOutput = void;
6462
4596
  export type IntegrationOauthCancelInput = {
6463
- readonly integrationID: {
6464
- readonly integrationID: string;
6465
- readonly attemptID: string;
6466
- }["integrationID"];
6467
- readonly attemptID: {
6468
- readonly integrationID: string;
6469
- readonly attemptID: string;
6470
- }["attemptID"];
4597
+ readonly integrationID: string;
4598
+ readonly attemptID: string;
6471
4599
  readonly location?: {
6472
- readonly location?: {
6473
- readonly directory?: string | undefined;
6474
- } | undefined;
6475
- }["location"];
4600
+ readonly directory?: string | undefined;
4601
+ } | undefined;
6476
4602
  };
6477
4603
  export type IntegrationOauthCancelOutput = void;
6478
4604
  export type IntegrationCommandConnectInput = {
6479
- readonly integrationID: {
6480
- readonly integrationID: string;
6481
- }["integrationID"];
4605
+ readonly integrationID: string;
6482
4606
  readonly location?: {
6483
- readonly location?: {
6484
- readonly directory?: string | undefined;
6485
- } | undefined;
6486
- }["location"];
6487
- readonly methodID: {
6488
- readonly methodID: string;
6489
- readonly label?: string | undefined;
6490
- }["methodID"];
6491
- readonly label?: {
6492
- readonly methodID: string;
6493
- readonly label?: string | undefined;
6494
- }["label"];
4607
+ readonly directory?: string | undefined;
4608
+ } | undefined;
4609
+ readonly methodID: string;
4610
+ readonly label?: string | undefined;
6495
4611
  };
6496
4612
  export type IntegrationCommandConnectOutput = {
6497
4613
  location: LocationPublicRef;
6498
4614
  data: IntegrationCommandAttempt;
6499
4615
  };
6500
4616
  export type IntegrationCommandStatusInput = {
6501
- readonly integrationID: {
6502
- readonly integrationID: string;
6503
- readonly attemptID: string;
6504
- }["integrationID"];
6505
- readonly attemptID: {
6506
- readonly integrationID: string;
6507
- readonly attemptID: string;
6508
- }["attemptID"];
4617
+ readonly integrationID: string;
4618
+ readonly attemptID: string;
6509
4619
  readonly location?: {
6510
- readonly location?: {
6511
- readonly directory?: string | undefined;
6512
- } | undefined;
6513
- }["location"];
4620
+ readonly directory?: string | undefined;
4621
+ } | undefined;
6514
4622
  };
6515
4623
  export type IntegrationCommandStatusOutput = {
6516
4624
  location: LocationPublicRef;
6517
4625
  data: IntegrationCommandAttemptStatus;
6518
4626
  };
6519
4627
  export type IntegrationCommandCancelInput = {
6520
- readonly integrationID: {
6521
- readonly integrationID: string;
6522
- readonly attemptID: string;
6523
- }["integrationID"];
6524
- readonly attemptID: {
6525
- readonly integrationID: string;
6526
- readonly attemptID: string;
6527
- }["attemptID"];
4628
+ readonly integrationID: string;
4629
+ readonly attemptID: string;
6528
4630
  readonly location?: {
6529
- readonly location?: {
6530
- readonly directory?: string | undefined;
6531
- } | undefined;
6532
- }["location"];
4631
+ readonly directory?: string | undefined;
4632
+ } | undefined;
6533
4633
  };
6534
4634
  export type IntegrationCommandCancelOutput = void;
6535
4635
  export type McpListInput = {
6536
4636
  readonly location?: {
6537
- readonly location?: {
6538
- readonly directory?: string | undefined;
6539
- } | undefined;
6540
- }["location"];
4637
+ readonly directory?: string | undefined;
4638
+ } | undefined;
6541
4639
  };
6542
4640
  export type McpListOutput = {
6543
4641
  location: LocationPublicRef;
6544
4642
  data: Array<McpServer>;
6545
4643
  };
6546
4644
  export type McpAddInput = {
6547
- readonly server: {
6548
- readonly server: string;
6549
- }["server"];
4645
+ readonly server: string;
6550
4646
  readonly location?: {
6551
- readonly location?: {
6552
- readonly directory?: string | undefined;
6553
- } | undefined;
6554
- }["location"];
4647
+ readonly directory?: string | undefined;
4648
+ } | undefined;
6555
4649
  readonly config: {
6556
- readonly config: {
6557
- readonly type: "local";
6558
- readonly command: ReadonlyArray<string>;
6559
- readonly cwd?: string;
6560
- readonly environment?: {
6561
- readonly [x: string]: string;
6562
- };
6563
- readonly disabled?: boolean;
6564
- readonly codemode?: boolean;
6565
- readonly timeout?: {
6566
- readonly startup?: number;
6567
- readonly catalog?: number;
6568
- readonly execution?: number;
6569
- };
6570
- readonly protocol?: "legacy" | "auto" | "2026-07-28";
6571
- } | {
6572
- readonly type: "remote";
6573
- readonly url: string;
6574
- readonly headers?: {
6575
- readonly [x: string]: string;
6576
- };
6577
- readonly oauth?: {
6578
- readonly client_id?: string;
6579
- readonly client_secret?: string;
6580
- readonly scope?: string;
6581
- readonly callback_port?: number;
6582
- readonly redirect_uri?: string;
6583
- readonly auth_server_metadata_url?: string;
6584
- } | false;
6585
- readonly disabled?: boolean;
6586
- readonly codemode?: boolean;
6587
- readonly timeout?: {
6588
- readonly startup?: number;
6589
- readonly catalog?: number;
6590
- readonly execution?: number;
6591
- };
6592
- readonly protocol?: "legacy" | "auto" | "2026-07-28";
4650
+ readonly type: "local";
4651
+ readonly command: ReadonlyArray<string>;
4652
+ readonly cwd?: string;
4653
+ readonly environment?: {
4654
+ readonly [x: string]: string;
4655
+ };
4656
+ readonly disabled?: boolean;
4657
+ readonly codemode?: boolean;
4658
+ readonly timeout?: {
4659
+ readonly startup?: number;
4660
+ readonly catalog?: number;
4661
+ readonly execution?: number;
4662
+ };
4663
+ readonly protocol?: "legacy" | "auto" | "2026-07-28";
4664
+ } | {
4665
+ readonly type: "remote";
4666
+ readonly url: string;
4667
+ readonly headers?: {
4668
+ readonly [x: string]: string;
4669
+ };
4670
+ readonly oauth?: {
4671
+ readonly client_id?: string;
4672
+ readonly client_secret?: string;
4673
+ readonly scope?: string;
4674
+ readonly callback_port?: number;
4675
+ readonly redirect_uri?: string;
4676
+ readonly auth_server_metadata_url?: string;
4677
+ } | false;
4678
+ readonly disabled?: boolean;
4679
+ readonly codemode?: boolean;
4680
+ readonly timeout?: {
4681
+ readonly startup?: number;
4682
+ readonly catalog?: number;
4683
+ readonly execution?: number;
6593
4684
  };
6594
- }["config"];
4685
+ readonly protocol?: "legacy" | "auto" | "2026-07-28";
4686
+ };
6595
4687
  };
6596
4688
  export type McpAddOutput = void;
6597
4689
  export type McpRemoveInput = {
6598
- readonly server: {
6599
- readonly server: string;
6600
- }["server"];
4690
+ readonly server: string;
6601
4691
  readonly location?: {
6602
- readonly location?: {
6603
- readonly directory?: string | undefined;
6604
- } | undefined;
6605
- }["location"];
4692
+ readonly directory?: string | undefined;
4693
+ } | undefined;
6606
4694
  };
6607
4695
  export type McpRemoveOutput = void;
6608
4696
  export type McpConnectInput = {
6609
- readonly server: {
6610
- readonly server: string;
6611
- }["server"];
4697
+ readonly server: string;
6612
4698
  readonly location?: {
6613
- readonly location?: {
6614
- readonly directory?: string | undefined;
6615
- } | undefined;
6616
- }["location"];
4699
+ readonly directory?: string | undefined;
4700
+ } | undefined;
6617
4701
  };
6618
4702
  export type McpConnectOutput = void;
6619
4703
  export type McpDisconnectInput = {
6620
- readonly server: {
6621
- readonly server: string;
6622
- }["server"];
4704
+ readonly server: string;
6623
4705
  readonly location?: {
6624
- readonly location?: {
6625
- readonly directory?: string | undefined;
6626
- } | undefined;
6627
- }["location"];
4706
+ readonly directory?: string | undefined;
4707
+ } | undefined;
6628
4708
  };
6629
4709
  export type McpDisconnectOutput = void;
6630
4710
  export type McpResourceCatalogInput = {
6631
4711
  readonly location?: {
6632
- readonly location?: {
6633
- readonly directory?: string | undefined;
6634
- } | undefined;
6635
- }["location"];
4712
+ readonly directory?: string | undefined;
4713
+ } | undefined;
6636
4714
  };
6637
4715
  export type McpResourceCatalogOutput = {
6638
4716
  location: LocationPublicRef;
@@ -6640,20 +4718,10 @@ export type McpResourceCatalogOutput = {
6640
4718
  };
6641
4719
  export type McpClientTokenInput = {
6642
4720
  readonly location?: {
6643
- readonly location?: {
6644
- readonly directory?: string | undefined;
6645
- } | undefined;
6646
- readonly name: string;
6647
- }["location"];
6648
- readonly name: {
6649
- readonly location?: {
6650
- readonly directory?: string | undefined;
6651
- } | undefined;
6652
- readonly name: string;
6653
- }["name"];
6654
- readonly "x-opencode-ticket"?: {
6655
- readonly "x-opencode-ticket"?: string | undefined;
6656
- }["x-opencode-ticket"];
4721
+ readonly directory?: string | undefined;
4722
+ } | undefined;
4723
+ readonly name: string;
4724
+ readonly "x-opencode-ticket"?: string | undefined;
6657
4725
  };
6658
4726
  export type McpClientTokenOutput = {
6659
4727
  location: LocationPublicRef;
@@ -6663,237 +4731,71 @@ export type CredentialListOutput = {
6663
4731
  data: Array<CredentialEntry>;
6664
4732
  }["data"];
6665
4733
  export type CredentialCreateInput = {
6666
- readonly id?: {
6667
- readonly id?: string;
6668
- readonly integrationID: string;
6669
- readonly label?: string;
6670
- readonly value: {
6671
- readonly type: "oauth";
6672
- readonly methodID: string;
6673
- readonly refresh: string;
6674
- readonly access: string;
6675
- readonly expires: number;
6676
- readonly metadata?: {
6677
- readonly [x: string]: JsonValue;
6678
- };
6679
- } | {
6680
- readonly type: "key";
6681
- readonly key: string;
6682
- readonly metadata?: {
6683
- readonly [x: string]: JsonValue;
6684
- };
6685
- } | {
6686
- readonly type: "external";
6687
- readonly methodID: string;
6688
- readonly metadata?: {
6689
- readonly [x: string]: JsonValue;
6690
- };
6691
- };
6692
- readonly activate?: boolean;
6693
- }["id"];
6694
- readonly integrationID: {
6695
- readonly id?: string;
6696
- readonly integrationID: string;
6697
- readonly label?: string;
6698
- readonly value: {
6699
- readonly type: "oauth";
6700
- readonly methodID: string;
6701
- readonly refresh: string;
6702
- readonly access: string;
6703
- readonly expires: number;
6704
- readonly metadata?: {
6705
- readonly [x: string]: JsonValue;
6706
- };
6707
- } | {
6708
- readonly type: "key";
6709
- readonly key: string;
6710
- readonly metadata?: {
6711
- readonly [x: string]: JsonValue;
6712
- };
6713
- } | {
6714
- readonly type: "external";
6715
- readonly methodID: string;
6716
- readonly metadata?: {
6717
- readonly [x: string]: JsonValue;
6718
- };
6719
- };
6720
- readonly activate?: boolean;
6721
- }["integrationID"];
6722
- readonly label?: {
6723
- readonly id?: string;
6724
- readonly integrationID: string;
6725
- readonly label?: string;
6726
- readonly value: {
6727
- readonly type: "oauth";
6728
- readonly methodID: string;
6729
- readonly refresh: string;
6730
- readonly access: string;
6731
- readonly expires: number;
6732
- readonly metadata?: {
6733
- readonly [x: string]: JsonValue;
6734
- };
6735
- } | {
6736
- readonly type: "key";
6737
- readonly key: string;
6738
- readonly metadata?: {
6739
- readonly [x: string]: JsonValue;
6740
- };
6741
- } | {
6742
- readonly type: "external";
6743
- readonly methodID: string;
6744
- readonly metadata?: {
6745
- readonly [x: string]: JsonValue;
6746
- };
6747
- };
6748
- readonly activate?: boolean;
6749
- }["label"];
4734
+ readonly id?: string | undefined;
4735
+ readonly integrationID: string;
4736
+ readonly label?: string | undefined;
6750
4737
  readonly value: {
6751
- readonly id?: string;
6752
- readonly integrationID: string;
6753
- readonly label?: string;
6754
- readonly value: {
6755
- readonly type: "oauth";
6756
- readonly methodID: string;
6757
- readonly refresh: string;
6758
- readonly access: string;
6759
- readonly expires: number;
6760
- readonly metadata?: {
6761
- readonly [x: string]: JsonValue;
6762
- };
6763
- } | {
6764
- readonly type: "key";
6765
- readonly key: string;
6766
- readonly metadata?: {
6767
- readonly [x: string]: JsonValue;
6768
- };
6769
- } | {
6770
- readonly type: "external";
6771
- readonly methodID: string;
6772
- readonly metadata?: {
6773
- readonly [x: string]: JsonValue;
6774
- };
4738
+ readonly type: "oauth";
4739
+ readonly methodID: string;
4740
+ readonly refresh: string;
4741
+ readonly access: string;
4742
+ readonly expires: number;
4743
+ readonly metadata?: {
4744
+ readonly [x: string]: JsonValue;
6775
4745
  };
6776
- readonly activate?: boolean;
6777
- }["value"];
6778
- readonly activate?: {
6779
- readonly id?: string;
6780
- readonly integrationID: string;
6781
- readonly label?: string;
6782
- readonly value: {
6783
- readonly type: "oauth";
6784
- readonly methodID: string;
6785
- readonly refresh: string;
6786
- readonly access: string;
6787
- readonly expires: number;
6788
- readonly metadata?: {
6789
- readonly [x: string]: JsonValue;
6790
- };
6791
- } | {
6792
- readonly type: "key";
6793
- readonly key: string;
6794
- readonly metadata?: {
6795
- readonly [x: string]: JsonValue;
6796
- };
6797
- } | {
6798
- readonly type: "external";
6799
- readonly methodID: string;
6800
- readonly metadata?: {
6801
- readonly [x: string]: JsonValue;
6802
- };
4746
+ } | {
4747
+ readonly type: "key";
4748
+ readonly key: string;
4749
+ readonly metadata?: {
4750
+ readonly [x: string]: JsonValue;
4751
+ };
4752
+ } | {
4753
+ readonly type: "external";
4754
+ readonly methodID: string;
4755
+ readonly metadata?: {
4756
+ readonly [x: string]: JsonValue;
6803
4757
  };
6804
- readonly activate?: boolean;
6805
- }["activate"];
4758
+ };
4759
+ readonly activate?: boolean | undefined;
6806
4760
  };
6807
4761
  export type CredentialCreateOutput = {
6808
4762
  data: CredentialEntry;
6809
4763
  }["data"];
6810
4764
  export type CredentialUpdateInput = {
6811
- readonly credentialID: {
6812
- readonly credentialID: string;
6813
- }["credentialID"];
6814
- readonly label: {
6815
- readonly label: string;
6816
- }["label"];
4765
+ readonly credentialID: string;
4766
+ readonly label: string;
6817
4767
  };
6818
4768
  export type CredentialUpdateOutput = void;
6819
4769
  export type CredentialActivateInput = {
6820
- readonly credentialID: {
6821
- readonly credentialID: string;
6822
- }["credentialID"];
4770
+ readonly credentialID: string;
6823
4771
  };
6824
4772
  export type CredentialActivateOutput = void;
6825
4773
  export type CredentialRemoveInput = {
6826
- readonly credentialID: {
6827
- readonly credentialID: string;
6828
- }["credentialID"];
4774
+ readonly credentialID: string;
6829
4775
  };
6830
4776
  export type CredentialRemoveOutput = void;
6831
4777
  export type ProjectListInput = {
6832
- readonly archived?: {
6833
- readonly archived?: boolean | undefined;
6834
- }["archived"];
4778
+ readonly archived?: boolean | undefined;
6835
4779
  };
6836
4780
  export type ProjectListOutput = Array<Project>;
6837
4781
  export type ProjectUpdateInput = {
6838
- readonly projectID: {
6839
- readonly projectID: string;
6840
- }["projectID"];
6841
- readonly canonical?: {
6842
- readonly canonical?: string;
6843
- readonly name?: string;
6844
- readonly icon?: {
6845
- readonly url?: string;
6846
- readonly override?: string;
6847
- readonly color?: string;
6848
- };
6849
- readonly commands?: {
6850
- readonly start?: string;
6851
- };
6852
- }["canonical"];
6853
- readonly name?: {
6854
- readonly canonical?: string;
6855
- readonly name?: string;
6856
- readonly icon?: {
6857
- readonly url?: string;
6858
- readonly override?: string;
6859
- readonly color?: string;
6860
- };
6861
- readonly commands?: {
6862
- readonly start?: string;
6863
- };
6864
- }["name"];
6865
- readonly icon?: {
6866
- readonly canonical?: string;
6867
- readonly name?: string;
6868
- readonly icon?: {
6869
- readonly url?: string;
6870
- readonly override?: string;
6871
- readonly color?: string;
6872
- };
6873
- readonly commands?: {
6874
- readonly start?: string;
6875
- };
6876
- }["icon"];
4782
+ readonly projectID: string;
4783
+ readonly canonical?: string | undefined;
4784
+ readonly name?: string | undefined;
4785
+ readonly icon?: {
4786
+ readonly url?: string;
4787
+ readonly override?: string;
4788
+ readonly color?: string;
4789
+ } | undefined;
6877
4790
  readonly commands?: {
6878
- readonly canonical?: string;
6879
- readonly name?: string;
6880
- readonly icon?: {
6881
- readonly url?: string;
6882
- readonly override?: string;
6883
- readonly color?: string;
6884
- };
6885
- readonly commands?: {
6886
- readonly start?: string;
6887
- };
6888
- }["commands"];
4791
+ readonly start?: string;
4792
+ } | undefined;
6889
4793
  };
6890
4794
  export type ProjectUpdateOutput = Project;
6891
4795
  export type FormListInput = {
6892
4796
  readonly location?: {
6893
- readonly location?: {
6894
- readonly directory?: string | undefined;
6895
- } | undefined;
6896
- }["location"];
4797
+ readonly directory?: string | undefined;
4798
+ } | undefined;
6897
4799
  };
6898
4800
  export type FormListOutput = {
6899
4801
  location: LocationPublicRef;
@@ -6901,154 +4803,46 @@ export type FormListOutput = {
6901
4803
  };
6902
4804
  export type PermissionRequestListInput = {
6903
4805
  readonly location?: {
6904
- readonly location?: {
6905
- readonly directory?: string | undefined;
6906
- } | undefined;
6907
- }["location"];
4806
+ readonly directory?: string | undefined;
4807
+ } | undefined;
6908
4808
  };
6909
4809
  export type PermissionRequestListOutput = {
6910
4810
  location: LocationPublicRef;
6911
4811
  data: Array<PermissionRequest>;
6912
4812
  };
6913
4813
  export type PermissionSavedListInput = {
6914
- readonly projectID?: {
6915
- readonly projectID?: string | undefined;
6916
- }["projectID"];
4814
+ readonly projectID?: string | undefined;
6917
4815
  };
6918
4816
  export type PermissionSavedListOutput = {
6919
4817
  data: Array<PermissionSavedInfo>;
6920
4818
  }["data"];
6921
4819
  export type PermissionSavedUpdateInput = {
6922
- readonly id: {
6923
- readonly id: string;
6924
- }["id"];
6925
- readonly action?: {
6926
- readonly action?: string | undefined;
6927
- readonly resource?: string | undefined;
6928
- }["action"];
6929
- readonly resource?: {
6930
- readonly action?: string | undefined;
6931
- readonly resource?: string | undefined;
6932
- }["resource"];
4820
+ readonly id: string;
4821
+ readonly action?: string | undefined;
4822
+ readonly resource?: string | undefined;
6933
4823
  };
6934
4824
  export type PermissionSavedUpdateOutput = {
6935
4825
  data: PermissionSavedInfo;
6936
4826
  }["data"];
6937
4827
  export type PermissionSavedRemoveInput = {
6938
- readonly id: {
6939
- readonly id: string;
6940
- }["id"];
4828
+ readonly id: string;
6941
4829
  };
6942
4830
  export type PermissionSavedRemoveOutput = void;
6943
4831
  export type PermissionCreateInput = {
6944
- readonly sessionID: {
6945
- readonly sessionID: string;
6946
- }["sessionID"];
6947
- readonly id?: {
6948
- readonly id?: string | null;
6949
- readonly action: string;
6950
- readonly resources: ReadonlyArray<string>;
6951
- readonly save?: ReadonlyArray<string>;
6952
- readonly metadata?: {
6953
- readonly [x: string]: JsonValue;
6954
- };
6955
- readonly source?: {
6956
- readonly type: "tool";
6957
- readonly messageID: string;
6958
- readonly id: string;
6959
- };
6960
- readonly agent?: string | null;
6961
- }["id"];
6962
- readonly action: {
6963
- readonly id?: string | null;
6964
- readonly action: string;
6965
- readonly resources: ReadonlyArray<string>;
6966
- readonly save?: ReadonlyArray<string>;
6967
- readonly metadata?: {
6968
- readonly [x: string]: JsonValue;
6969
- };
6970
- readonly source?: {
6971
- readonly type: "tool";
6972
- readonly messageID: string;
6973
- readonly id: string;
6974
- };
6975
- readonly agent?: string | null;
6976
- }["action"];
6977
- readonly resources: {
6978
- readonly id?: string | null;
6979
- readonly action: string;
6980
- readonly resources: ReadonlyArray<string>;
6981
- readonly save?: ReadonlyArray<string>;
6982
- readonly metadata?: {
6983
- readonly [x: string]: JsonValue;
6984
- };
6985
- readonly source?: {
6986
- readonly type: "tool";
6987
- readonly messageID: string;
6988
- readonly id: string;
6989
- };
6990
- readonly agent?: string | null;
6991
- }["resources"];
6992
- readonly save?: {
6993
- readonly id?: string | null;
6994
- readonly action: string;
6995
- readonly resources: ReadonlyArray<string>;
6996
- readonly save?: ReadonlyArray<string>;
6997
- readonly metadata?: {
6998
- readonly [x: string]: JsonValue;
6999
- };
7000
- readonly source?: {
7001
- readonly type: "tool";
7002
- readonly messageID: string;
7003
- readonly id: string;
7004
- };
7005
- readonly agent?: string | null;
7006
- }["save"];
4832
+ readonly sessionID: string;
4833
+ readonly id?: string | null | undefined;
4834
+ readonly action: string;
4835
+ readonly resources: ReadonlyArray<string>;
4836
+ readonly save?: ReadonlyArray<string> | undefined;
7007
4837
  readonly metadata?: {
7008
- readonly id?: string | null;
7009
- readonly action: string;
7010
- readonly resources: ReadonlyArray<string>;
7011
- readonly save?: ReadonlyArray<string>;
7012
- readonly metadata?: {
7013
- readonly [x: string]: JsonValue;
7014
- };
7015
- readonly source?: {
7016
- readonly type: "tool";
7017
- readonly messageID: string;
7018
- readonly id: string;
7019
- };
7020
- readonly agent?: string | null;
7021
- }["metadata"];
4838
+ readonly [x: string]: JsonValue;
4839
+ } | undefined;
7022
4840
  readonly source?: {
7023
- readonly id?: string | null;
7024
- readonly action: string;
7025
- readonly resources: ReadonlyArray<string>;
7026
- readonly save?: ReadonlyArray<string>;
7027
- readonly metadata?: {
7028
- readonly [x: string]: JsonValue;
7029
- };
7030
- readonly source?: {
7031
- readonly type: "tool";
7032
- readonly messageID: string;
7033
- readonly id: string;
7034
- };
7035
- readonly agent?: string | null;
7036
- }["source"];
7037
- readonly agent?: {
7038
- readonly id?: string | null;
7039
- readonly action: string;
7040
- readonly resources: ReadonlyArray<string>;
7041
- readonly save?: ReadonlyArray<string>;
7042
- readonly metadata?: {
7043
- readonly [x: string]: JsonValue;
7044
- };
7045
- readonly source?: {
7046
- readonly type: "tool";
7047
- readonly messageID: string;
7048
- readonly id: string;
7049
- };
7050
- readonly agent?: string | null;
7051
- }["agent"];
4841
+ readonly type: "tool";
4842
+ readonly messageID: string;
4843
+ readonly id: string;
4844
+ } | undefined;
4845
+ readonly agent?: string | null | undefined;
7052
4846
  };
7053
4847
  export type PermissionCreateOutput = {
7054
4848
  data: {
@@ -7057,67 +4851,37 @@ export type PermissionCreateOutput = {
7057
4851
  };
7058
4852
  }["data"];
7059
4853
  export type PermissionListInput = {
7060
- readonly sessionID: {
7061
- readonly sessionID: string;
7062
- }["sessionID"];
4854
+ readonly sessionID: string;
7063
4855
  };
7064
4856
  export type PermissionListOutput = {
7065
4857
  data: Array<PermissionRequest>;
7066
4858
  }["data"];
7067
4859
  export type PermissionGetInput = {
7068
- readonly sessionID: {
7069
- readonly sessionID: string;
7070
- readonly requestID: string;
7071
- }["sessionID"];
7072
- readonly requestID: {
7073
- readonly sessionID: string;
7074
- readonly requestID: string;
7075
- }["requestID"];
4860
+ readonly sessionID: string;
4861
+ readonly requestID: string;
7076
4862
  };
7077
4863
  export type PermissionGetOutput = {
7078
4864
  data: PermissionRequest;
7079
4865
  }["data"];
7080
4866
  export type PermissionReplyInput = {
7081
- readonly sessionID: {
7082
- readonly sessionID: string;
7083
- readonly requestID: string;
7084
- }["sessionID"];
7085
- readonly requestID: {
7086
- readonly sessionID: string;
7087
- readonly requestID: string;
7088
- }["requestID"];
7089
- readonly decision: {
7090
- readonly decision: "once" | "always" | "reject";
7091
- readonly message?: string | undefined;
7092
- }["decision"];
7093
- readonly message?: {
7094
- readonly decision: "once" | "always" | "reject";
7095
- readonly message?: string | undefined;
7096
- }["message"];
4867
+ readonly sessionID: string;
4868
+ readonly requestID: string;
4869
+ readonly decision: "once" | "always" | "reject";
4870
+ readonly message?: string | undefined;
7097
4871
  };
7098
4872
  export type PermissionReplyOutput = void;
7099
4873
  export type FileReadInput = {
7100
4874
  readonly location?: {
7101
- readonly location?: {
7102
- readonly directory?: string | undefined;
7103
- } | undefined;
7104
- }["location"];
4875
+ readonly directory?: string | undefined;
4876
+ } | undefined;
7105
4877
  readonly path: string;
7106
4878
  };
7107
4879
  export type FileReadOutput = globalThis.Uint8Array;
7108
4880
  export type FileListInput = {
7109
4881
  readonly location?: {
7110
- readonly location?: {
7111
- readonly directory?: string | undefined;
7112
- } | undefined;
7113
- readonly path?: string | undefined;
7114
- }["location"];
7115
- readonly path?: {
7116
- readonly location?: {
7117
- readonly directory?: string | undefined;
7118
- } | undefined;
7119
- readonly path?: string | undefined;
7120
- }["path"];
4882
+ readonly directory?: string | undefined;
4883
+ } | undefined;
4884
+ readonly path?: string | undefined;
7121
4885
  };
7122
4886
  export type FileListOutput = {
7123
4887
  location: LocationPublicRef;
@@ -7125,37 +4889,11 @@ export type FileListOutput = {
7125
4889
  };
7126
4890
  export type FileFindInput = {
7127
4891
  readonly location?: {
7128
- readonly location?: {
7129
- readonly directory?: string | undefined;
7130
- } | undefined;
7131
- readonly query: string;
7132
- readonly type?: "file" | "directory" | undefined;
7133
- readonly limit?: number | undefined;
7134
- }["location"];
7135
- readonly query: {
7136
- readonly location?: {
7137
- readonly directory?: string | undefined;
7138
- } | undefined;
7139
- readonly query: string;
7140
- readonly type?: "file" | "directory" | undefined;
7141
- readonly limit?: number | undefined;
7142
- }["query"];
7143
- readonly type?: {
7144
- readonly location?: {
7145
- readonly directory?: string | undefined;
7146
- } | undefined;
7147
- readonly query: string;
7148
- readonly type?: "file" | "directory" | undefined;
7149
- readonly limit?: number | undefined;
7150
- }["type"];
7151
- readonly limit?: {
7152
- readonly location?: {
7153
- readonly directory?: string | undefined;
7154
- } | undefined;
7155
- readonly query: string;
7156
- readonly type?: "file" | "directory" | undefined;
7157
- readonly limit?: number | undefined;
7158
- }["limit"];
4892
+ readonly directory?: string | undefined;
4893
+ } | undefined;
4894
+ readonly query: string;
4895
+ readonly type?: "file" | "directory" | undefined;
4896
+ readonly limit?: number | undefined;
7159
4897
  };
7160
4898
  export type FileFindOutput = {
7161
4899
  location: LocationPublicRef;
@@ -7163,17 +4901,9 @@ export type FileFindOutput = {
7163
4901
  };
7164
4902
  export type FileWriteInput = {
7165
4903
  readonly location?: {
7166
- readonly location?: {
7167
- readonly directory?: string | undefined;
7168
- } | undefined;
7169
- readonly path: string;
7170
- }["location"];
7171
- readonly path: {
7172
- readonly location?: {
7173
- readonly directory?: string | undefined;
7174
- } | undefined;
7175
- readonly path: string;
7176
- }["path"];
4904
+ readonly directory?: string | undefined;
4905
+ } | undefined;
4906
+ readonly path: string;
7177
4907
  readonly payload: globalThis.Uint8Array;
7178
4908
  };
7179
4909
  export type FileWriteOutput = {
@@ -7182,32 +4912,22 @@ export type FileWriteOutput = {
7182
4912
  };
7183
4913
  export type FileWatchInput = {
7184
4914
  readonly location?: {
7185
- readonly location?: {
7186
- readonly directory?: string | undefined;
7187
- } | undefined;
7188
- }["location"];
7189
- readonly path: {
7190
- readonly path: string;
7191
- }["path"];
4915
+ readonly directory?: string | undefined;
4916
+ } | undefined;
4917
+ readonly path: string;
7192
4918
  };
7193
4919
  export type FileWatchOutput = void;
7194
4920
  export type FileUnwatchInput = {
7195
4921
  readonly location?: {
7196
- readonly location?: {
7197
- readonly directory?: string | undefined;
7198
- } | undefined;
7199
- }["location"];
7200
- readonly path: {
7201
- readonly path: string;
7202
- }["path"];
4922
+ readonly directory?: string | undefined;
4923
+ } | undefined;
4924
+ readonly path: string;
7203
4925
  };
7204
4926
  export type FileUnwatchOutput = void;
7205
4927
  export type CommandListInput = {
7206
4928
  readonly location?: {
7207
- readonly location?: {
7208
- readonly directory?: string | undefined;
7209
- } | undefined;
7210
- }["location"];
4929
+ readonly directory?: string | undefined;
4930
+ } | undefined;
7211
4931
  };
7212
4932
  export type CommandListOutput = {
7213
4933
  location: LocationPublicRef;
@@ -7215,41 +4935,30 @@ export type CommandListOutput = {
7215
4935
  };
7216
4936
  export type SkillListInput = {
7217
4937
  readonly location?: {
7218
- readonly location?: {
7219
- readonly directory?: string | undefined;
7220
- } | undefined;
7221
- }["location"];
4938
+ readonly directory?: string | undefined;
4939
+ } | undefined;
7222
4940
  };
7223
4941
  export type SkillListOutput = {
7224
4942
  location: LocationPublicRef;
7225
4943
  data: Array<SkillInfo>;
7226
4944
  };
7227
4945
  export type RpcCallInput = {
7228
- readonly rpcID: {
7229
- readonly rpcID: string;
7230
- readonly method: string;
7231
- }["rpcID"];
7232
- readonly method: {
7233
- readonly rpcID: string;
7234
- readonly method: string;
7235
- }["method"];
4946
+ readonly rpcID: string;
4947
+ readonly method: string;
7236
4948
  readonly location?: {
7237
- readonly location?: {
7238
- readonly directory?: string | undefined;
7239
- } | undefined;
7240
- }["location"];
7241
- readonly input?: {
7242
- readonly input: JsonValue;
7243
- }["input"];
4949
+ readonly directory?: string | undefined;
4950
+ } | undefined;
4951
+ readonly input?: JsonValue | undefined;
7244
4952
  };
7245
4953
  export type RpcCallOutput = RpcOutput;
4954
+ export type EventSubscribeInput = {
4955
+ readonly types?: ReadonlyArray<"location.shutdown" | "models-dev.refreshed" | "credential.updated" | "credential.switched" | "integration.updated" | "provider.updated" | "model.updated" | "agent.updated" | "session.created" | "session.agent.selected" | "session.model.selected" | "session.moved" | "session.renamed" | "session.metadata.updated" | "session.permissions" | "session.viewed" | "session.archived" | "session.unarchived" | "session.usage.updated" | "session.deleted" | "session.forked" | "session.inbox.delivered" | "session.inbox.enqueued" | "session.inbox.cancelled" | "session.inbox.delivery.changed" | "session.execution.started" | "session.execution.succeeded" | "session.execution.failed" | "session.execution.interrupted" | "session.instructions.updated" | "session.synthetic" | "session.skill.activated" | "session.shell.started" | "session.shell.ended" | "session.step.started" | "session.step.streamed" | "session.step.ended" | "session.step.failed" | "session.text.started" | "session.text.delta" | "session.text.ended" | "session.reasoning.started" | "session.reasoning.delta" | "session.reasoning.ended" | "session.tool.input.started" | "session.tool.input.delta" | "session.tool.input.ended" | "session.tool.called" | "session.tool.progress" | "session.tool.success" | "session.tool.failed" | "session.retry.scheduled" | "session.compaction.started" | "session.compaction.delta" | "session.compaction.ended" | "session.compaction.failed" | "session.revert.staged" | "session.revert.cleared" | "session.revert.committed" | "filesystem.changed" | "reference.updated" | "permission.asked" | "permission.replied" | "plugin.updated" | "project.updated" | "worktree.updated" | "worktree.resolved" | "command.updated" | "config.updated" | "skill.updated" | "pty.created" | "pty.updated" | "pty.exited" | "pty.deleted" | "persistent-pty.added" | "persistent-pty.removed" | "shell.created" | "shell.exited" | "shell.deleted" | "form.created" | "form.replied" | "form.cancelled" | "websearch.updated" | "session.status" | "session.idle" | "tui.prompt.append" | "tui.command.execute" | "tui.toast.show" | "tui.session.select" | "installation.updated" | "installation.update-available" | "vcs.branch.updated" | "mcp.status.changed" | "mcp.resources.changed" | `${"rpc."}${string}`> | undefined;
4956
+ };
7246
4957
  export type EventSubscribeOutput = V2Event;
7247
4958
  export type PtyListInput = {
7248
4959
  readonly location?: {
7249
- readonly location?: {
7250
- readonly directory?: string | undefined;
7251
- } | undefined;
7252
- }["location"];
4960
+ readonly directory?: string | undefined;
4961
+ } | undefined;
7253
4962
  };
7254
4963
  export type PtyListOutput = {
7255
4964
  location: LocationPublicRef;
@@ -7257,231 +4966,89 @@ export type PtyListOutput = {
7257
4966
  };
7258
4967
  export type PtyCreateInput = {
7259
4968
  readonly location?: {
7260
- readonly location?: {
7261
- readonly directory?: string | undefined;
7262
- } | undefined;
7263
- }["location"];
7264
- readonly command?: {
7265
- readonly command?: string;
7266
- readonly args?: ReadonlyArray<string>;
7267
- readonly cwd?: string;
7268
- readonly title?: string;
7269
- readonly env?: {
7270
- readonly [x: string]: string;
7271
- };
7272
- }["command"];
7273
- readonly args?: {
7274
- readonly command?: string;
7275
- readonly args?: ReadonlyArray<string>;
7276
- readonly cwd?: string;
7277
- readonly title?: string;
7278
- readonly env?: {
7279
- readonly [x: string]: string;
7280
- };
7281
- }["args"];
7282
- readonly cwd?: {
7283
- readonly command?: string;
7284
- readonly args?: ReadonlyArray<string>;
7285
- readonly cwd?: string;
7286
- readonly title?: string;
7287
- readonly env?: {
7288
- readonly [x: string]: string;
7289
- };
7290
- }["cwd"];
7291
- readonly title?: {
7292
- readonly command?: string;
7293
- readonly args?: ReadonlyArray<string>;
7294
- readonly cwd?: string;
7295
- readonly title?: string;
7296
- readonly env?: {
7297
- readonly [x: string]: string;
7298
- };
7299
- }["title"];
4969
+ readonly directory?: string | undefined;
4970
+ } | undefined;
4971
+ readonly command?: string | undefined;
4972
+ readonly args?: ReadonlyArray<string> | undefined;
4973
+ readonly cwd?: string | undefined;
4974
+ readonly title?: string | undefined;
7300
4975
  readonly env?: {
7301
- readonly command?: string;
7302
- readonly args?: ReadonlyArray<string>;
7303
- readonly cwd?: string;
7304
- readonly title?: string;
7305
- readonly env?: {
7306
- readonly [x: string]: string;
7307
- };
7308
- }["env"];
4976
+ readonly [x: string]: string;
4977
+ } | undefined;
7309
4978
  };
7310
4979
  export type PtyCreateOutput = {
7311
4980
  location: LocationPublicRef;
7312
4981
  data: Pty;
7313
4982
  };
7314
4983
  export type PtyGetInput = {
7315
- readonly ptyID: {
7316
- readonly ptyID: string;
7317
- }["ptyID"];
4984
+ readonly ptyID: string;
7318
4985
  readonly location?: {
7319
- readonly location?: {
7320
- readonly directory?: string | undefined;
7321
- } | undefined;
7322
- }["location"];
4986
+ readonly directory?: string | undefined;
4987
+ } | undefined;
7323
4988
  };
7324
4989
  export type PtyGetOutput = {
7325
4990
  location: LocationPublicRef;
7326
4991
  data: Pty;
7327
4992
  };
7328
4993
  export type PtyUpdateInput = {
7329
- readonly ptyID: {
7330
- readonly ptyID: string;
7331
- }["ptyID"];
4994
+ readonly ptyID: string;
7332
4995
  readonly location?: {
7333
- readonly location?: {
7334
- readonly directory?: string | undefined;
7335
- } | undefined;
7336
- }["location"];
7337
- readonly title?: {
7338
- readonly title?: string;
7339
- readonly size?: {
7340
- readonly rows: number;
7341
- readonly cols: number;
7342
- };
7343
- }["title"];
4996
+ readonly directory?: string | undefined;
4997
+ } | undefined;
4998
+ readonly title?: string | undefined;
7344
4999
  readonly size?: {
7345
- readonly title?: string;
7346
- readonly size?: {
7347
- readonly rows: number;
7348
- readonly cols: number;
7349
- };
7350
- }["size"];
5000
+ readonly rows: number;
5001
+ readonly cols: number;
5002
+ } | undefined;
7351
5003
  };
7352
5004
  export type PtyUpdateOutput = {
7353
5005
  location: LocationPublicRef;
7354
5006
  data: Pty;
7355
5007
  };
7356
5008
  export type PtyRemoveInput = {
7357
- readonly ptyID: {
7358
- readonly ptyID: string;
7359
- }["ptyID"];
5009
+ readonly ptyID: string;
7360
5010
  readonly location?: {
7361
- readonly location?: {
7362
- readonly directory?: string | undefined;
7363
- } | undefined;
7364
- }["location"];
5011
+ readonly directory?: string | undefined;
5012
+ } | undefined;
7365
5013
  };
7366
5014
  export type PtyRemoveOutput = void;
7367
5015
  export type PtyConnectTokenInput = {
7368
- readonly ptyID: {
7369
- readonly ptyID: string;
7370
- }["ptyID"];
5016
+ readonly ptyID: string;
7371
5017
  readonly location?: {
7372
- readonly location?: {
7373
- readonly directory?: string | undefined;
7374
- } | undefined;
7375
- }["location"];
7376
- readonly "x-opencode-ticket"?: {
7377
- readonly "x-opencode-ticket"?: string | undefined;
7378
- }["x-opencode-ticket"];
5018
+ readonly directory?: string | undefined;
5019
+ } | undefined;
5020
+ readonly "x-opencode-ticket"?: string | undefined;
7379
5021
  };
7380
5022
  export type PtyConnectTokenOutput = {
7381
5023
  location: LocationPublicRef;
7382
5024
  data: PtyTicketConnectToken;
7383
5025
  };
7384
5026
  export type ExperimentalPersistentPtyReadInput = {
7385
- readonly sessionID: {
7386
- readonly sessionID: string;
7387
- }["sessionID"];
7388
- readonly lines?: {
7389
- readonly lines?: number | undefined;
7390
- }["lines"];
5027
+ readonly sessionID: string;
5028
+ readonly lines?: number | undefined;
7391
5029
  };
7392
5030
  export type ExperimentalPersistentPtyReadOutput = {
7393
5031
  data: PersistentPtyReadResult | null;
7394
5032
  }["data"];
7395
5033
  export type ExperimentalPersistentPtyListInput = {
7396
- readonly sessionID: {
7397
- readonly sessionID: string;
7398
- }["sessionID"];
5034
+ readonly sessionID: string;
7399
5035
  };
7400
5036
  export type ExperimentalPersistentPtyListOutput = {
7401
5037
  data: Array<PersistentPtyInfo>;
7402
5038
  }["data"];
7403
5039
  export type ExperimentalPersistentPtyCreateInput = {
7404
- readonly sessionID: {
7405
- readonly sessionID: string;
7406
- }["sessionID"];
7407
- readonly command?: {
7408
- readonly command?: string;
7409
- readonly args: ReadonlyArray<string>;
7410
- readonly cwd?: string;
7411
- readonly title: string;
7412
- readonly env: {
7413
- readonly [x: string]: string;
7414
- };
7415
- readonly size?: {
7416
- readonly cols: number;
7417
- readonly rows: number;
7418
- };
7419
- }["command"];
7420
- readonly args: {
7421
- readonly command?: string;
7422
- readonly args: ReadonlyArray<string>;
7423
- readonly cwd?: string;
7424
- readonly title: string;
7425
- readonly env: {
7426
- readonly [x: string]: string;
7427
- };
7428
- readonly size?: {
7429
- readonly cols: number;
7430
- readonly rows: number;
7431
- };
7432
- }["args"];
7433
- readonly cwd?: {
7434
- readonly command?: string;
7435
- readonly args: ReadonlyArray<string>;
7436
- readonly cwd?: string;
7437
- readonly title: string;
7438
- readonly env: {
7439
- readonly [x: string]: string;
7440
- };
7441
- readonly size?: {
7442
- readonly cols: number;
7443
- readonly rows: number;
7444
- };
7445
- }["cwd"];
7446
- readonly title: {
7447
- readonly command?: string;
7448
- readonly args: ReadonlyArray<string>;
7449
- readonly cwd?: string;
7450
- readonly title: string;
7451
- readonly env: {
7452
- readonly [x: string]: string;
7453
- };
7454
- readonly size?: {
7455
- readonly cols: number;
7456
- readonly rows: number;
7457
- };
7458
- }["title"];
5040
+ readonly sessionID: string;
5041
+ readonly command?: string | undefined;
5042
+ readonly args: ReadonlyArray<string>;
5043
+ readonly cwd?: string | undefined;
5044
+ readonly title: string;
7459
5045
  readonly env: {
7460
- readonly command?: string;
7461
- readonly args: ReadonlyArray<string>;
7462
- readonly cwd?: string;
7463
- readonly title: string;
7464
- readonly env: {
7465
- readonly [x: string]: string;
7466
- };
7467
- readonly size?: {
7468
- readonly cols: number;
7469
- readonly rows: number;
7470
- };
7471
- }["env"];
5046
+ readonly [x: string]: string;
5047
+ };
7472
5048
  readonly size?: {
7473
- readonly command?: string;
7474
- readonly args: ReadonlyArray<string>;
7475
- readonly cwd?: string;
7476
- readonly title: string;
7477
- readonly env: {
7478
- readonly [x: string]: string;
7479
- };
7480
- readonly size?: {
7481
- readonly cols: number;
7482
- readonly rows: number;
7483
- };
7484
- }["size"];
5049
+ readonly cols: number;
5050
+ readonly rows: number;
5051
+ } | undefined;
7485
5052
  };
7486
5053
  export type ExperimentalPersistentPtyCreateOutput = {
7487
5054
  data: PersistentPtyInfo;
@@ -7491,72 +5058,47 @@ export type ExperimentalPersistentPtyHandoffOutput = {
7491
5058
  handoff: PersistentPtyHandoff | null;
7492
5059
  };
7493
5060
  export type ExperimentalPersistentPtyGetInput = {
7494
- readonly ptyID: {
7495
- readonly ptyID: string;
7496
- }["ptyID"];
5061
+ readonly ptyID: string;
7497
5062
  };
7498
5063
  export type ExperimentalPersistentPtyGetOutput = {
7499
5064
  data: PersistentPtyInfo;
7500
5065
  }["data"];
7501
5066
  export type ExperimentalPersistentPtyUpdateInput = {
7502
- readonly ptyID: {
7503
- readonly ptyID: string;
7504
- }["ptyID"];
7505
- readonly attachmentID?: {
7506
- readonly attachmentID?: string;
7507
- readonly size: {
7508
- readonly cols: number;
7509
- readonly rows: number;
7510
- };
7511
- }["attachmentID"];
5067
+ readonly ptyID: string;
5068
+ readonly attachmentID?: string | undefined;
7512
5069
  readonly size: {
7513
- readonly attachmentID?: string;
7514
- readonly size: {
7515
- readonly cols: number;
7516
- readonly rows: number;
7517
- };
7518
- }["size"];
5070
+ readonly cols: number;
5071
+ readonly rows: number;
5072
+ };
7519
5073
  };
7520
5074
  export type ExperimentalPersistentPtyUpdateOutput = {
7521
5075
  data: PersistentPtyInfo;
7522
5076
  }["data"];
7523
5077
  export type ExperimentalPersistentPtySnapshotInput = {
7524
- readonly ptyID: {
7525
- readonly ptyID: string;
7526
- }["ptyID"];
5078
+ readonly ptyID: string;
7527
5079
  };
7528
5080
  export type ExperimentalPersistentPtySnapshotOutput = {
7529
5081
  data: PersistentPtySnapshot;
7530
5082
  }["data"];
7531
5083
  export type ExperimentalPersistentPtyRemoveInput = {
7532
- readonly ptyID: {
7533
- readonly ptyID: string;
7534
- }["ptyID"];
5084
+ readonly ptyID: string;
7535
5085
  };
7536
5086
  export type ExperimentalPersistentPtyRemoveOutput = void;
7537
5087
  export type ExperimentalPersistentPtyConnectTokenInput = {
7538
- readonly ptyID: {
7539
- readonly ptyID: string;
7540
- }["ptyID"];
7541
- readonly "x-opencode-ticket"?: {
7542
- readonly "x-opencode-ticket"?: string | undefined;
7543
- }["x-opencode-ticket"];
5088
+ readonly ptyID: string;
5089
+ readonly "x-opencode-ticket"?: string | undefined;
7544
5090
  };
7545
5091
  export type ExperimentalPersistentPtyConnectTokenOutput = {
7546
5092
  data: PtyTicketConnectToken;
7547
5093
  }["data"];
7548
5094
  export type ExperimentalMediaGetInput = {
7549
- readonly hash: {
7550
- readonly hash: string;
7551
- }["hash"];
5095
+ readonly hash: string;
7552
5096
  };
7553
5097
  export type ExperimentalMediaGetOutput = globalThis.Uint8Array;
7554
5098
  export type ShellListInput = {
7555
5099
  readonly location?: {
7556
- readonly location?: {
7557
- readonly directory?: string | undefined;
7558
- } | undefined;
7559
- }["location"];
5100
+ readonly directory?: string | undefined;
5101
+ } | undefined;
7560
5102
  };
7561
5103
  export type ShellListOutput = {
7562
5104
  location: LocationPublicRef;
@@ -7564,86 +5106,36 @@ export type ShellListOutput = {
7564
5106
  };
7565
5107
  export type ShellCreateInput = {
7566
5108
  readonly location?: {
7567
- readonly location?: {
7568
- readonly directory?: string | undefined;
7569
- } | undefined;
7570
- }["location"];
7571
- readonly command: {
7572
- readonly command: string;
7573
- readonly cwd?: string;
7574
- readonly timeout?: number;
7575
- readonly metadata?: {
7576
- readonly [x: string]: JsonValue;
7577
- };
7578
- }["command"];
7579
- readonly cwd?: {
7580
- readonly command: string;
7581
- readonly cwd?: string;
7582
- readonly timeout?: number;
7583
- readonly metadata?: {
7584
- readonly [x: string]: JsonValue;
7585
- };
7586
- }["cwd"];
7587
- readonly timeout?: {
7588
- readonly command: string;
7589
- readonly cwd?: string;
7590
- readonly timeout?: number;
7591
- readonly metadata?: {
7592
- readonly [x: string]: JsonValue;
7593
- };
7594
- }["timeout"];
5109
+ readonly directory?: string | undefined;
5110
+ } | undefined;
5111
+ readonly command: string;
5112
+ readonly cwd?: string | undefined;
5113
+ readonly timeout?: number | undefined;
7595
5114
  readonly metadata?: {
7596
- readonly command: string;
7597
- readonly cwd?: string;
7598
- readonly timeout?: number;
7599
- readonly metadata?: {
7600
- readonly [x: string]: JsonValue;
7601
- };
7602
- }["metadata"];
5115
+ readonly [x: string]: JsonValue;
5116
+ } | undefined;
7603
5117
  };
7604
5118
  export type ShellCreateOutput = {
7605
5119
  location: LocationPublicRef;
7606
5120
  data: ShellInfo1;
7607
5121
  };
7608
5122
  export type ShellGetInput = {
7609
- readonly id: {
7610
- readonly id: string;
7611
- }["id"];
5123
+ readonly id: string;
7612
5124
  readonly location?: {
7613
- readonly location?: {
7614
- readonly directory?: string | undefined;
7615
- } | undefined;
7616
- }["location"];
5125
+ readonly directory?: string | undefined;
5126
+ } | undefined;
7617
5127
  };
7618
5128
  export type ShellGetOutput = {
7619
5129
  location: LocationPublicRef;
7620
5130
  data: ShellInfo1;
7621
5131
  };
7622
5132
  export type ShellOutputInput = {
7623
- readonly id: {
7624
- readonly id: string;
7625
- }["id"];
5133
+ readonly id: string;
7626
5134
  readonly location?: {
7627
- readonly location?: {
7628
- readonly directory?: string | undefined;
7629
- } | undefined;
7630
- readonly cursor?: number | undefined;
7631
- readonly limit?: number | undefined;
7632
- }["location"];
7633
- readonly cursor?: {
7634
- readonly location?: {
7635
- readonly directory?: string | undefined;
7636
- } | undefined;
7637
- readonly cursor?: number | undefined;
7638
- readonly limit?: number | undefined;
7639
- }["cursor"];
7640
- readonly limit?: {
7641
- readonly location?: {
7642
- readonly directory?: string | undefined;
7643
- } | undefined;
7644
- readonly cursor?: number | undefined;
7645
- readonly limit?: number | undefined;
7646
- }["limit"];
5135
+ readonly directory?: string | undefined;
5136
+ } | undefined;
5137
+ readonly cursor?: number | undefined;
5138
+ readonly limit?: number | undefined;
7647
5139
  };
7648
5140
  export type ShellOutputOutput = {
7649
5141
  location: LocationPublicRef;
@@ -7655,116 +5147,54 @@ export type ShellOutputOutput = {
7655
5147
  };
7656
5148
  };
7657
5149
  export type ShellRemoveInput = {
7658
- readonly id: {
7659
- readonly id: string;
7660
- }["id"];
5150
+ readonly id: string;
7661
5151
  readonly location?: {
7662
- readonly location?: {
7663
- readonly directory?: string | undefined;
7664
- } | undefined;
7665
- }["location"];
5152
+ readonly directory?: string | undefined;
5153
+ } | undefined;
7666
5154
  };
7667
5155
  export type ShellRemoveOutput = void;
7668
5156
  export type ReferenceListInput = {
7669
5157
  readonly location?: {
7670
- readonly location?: {
7671
- readonly directory?: string | undefined;
7672
- } | undefined;
7673
- }["location"];
5158
+ readonly directory?: string | undefined;
5159
+ } | undefined;
7674
5160
  };
7675
5161
  export type ReferenceListOutput = {
7676
5162
  location: LocationPublicRef;
7677
5163
  data: Array<ReferenceInfo>;
7678
5164
  };
7679
5165
  export type WorktreeListInput = {
7680
- readonly projectID: {
7681
- readonly projectID: string;
7682
- }["projectID"];
5166
+ readonly projectID: string;
7683
5167
  };
7684
5168
  export type WorktreeListOutput = WorktreeList;
7685
5169
  export type WorktreeCreateInput = {
7686
- readonly projectID: {
7687
- readonly projectID: string;
7688
- readonly from?: string;
7689
- readonly branch?: string;
7690
- readonly directory?: string;
7691
- readonly name?: string;
7692
- }["projectID"];
7693
- readonly from?: {
7694
- readonly projectID: string;
7695
- readonly from?: string;
7696
- readonly branch?: string;
7697
- readonly directory?: string;
7698
- readonly name?: string;
7699
- }["from"];
7700
- readonly branch?: {
7701
- readonly projectID: string;
7702
- readonly from?: string;
7703
- readonly branch?: string;
7704
- readonly directory?: string;
7705
- readonly name?: string;
7706
- }["branch"];
7707
- readonly directory?: {
7708
- readonly projectID: string;
7709
- readonly from?: string;
7710
- readonly branch?: string;
7711
- readonly directory?: string;
7712
- readonly name?: string;
7713
- }["directory"];
7714
- readonly name?: {
7715
- readonly projectID: string;
7716
- readonly from?: string;
7717
- readonly branch?: string;
7718
- readonly directory?: string;
7719
- readonly name?: string;
7720
- }["name"];
5170
+ readonly projectID: string;
5171
+ readonly from?: string | undefined;
5172
+ readonly branch?: string | undefined;
5173
+ readonly directory?: string | undefined;
5174
+ readonly name?: string | undefined;
7721
5175
  };
7722
5176
  export type WorktreeCreateOutput = WorktreeInfo;
7723
5177
  export type WorktreeRemoveInput = {
7724
- readonly projectID: {
7725
- readonly projectID: string;
7726
- readonly directory: string;
7727
- readonly force: boolean;
7728
- }["projectID"];
7729
- readonly directory: {
7730
- readonly projectID: string;
7731
- readonly directory: string;
7732
- readonly force: boolean;
7733
- }["directory"];
7734
- readonly force: {
7735
- readonly projectID: string;
7736
- readonly directory: string;
7737
- readonly force: boolean;
7738
- }["force"];
5178
+ readonly projectID: string;
5179
+ readonly directory: string;
5180
+ readonly force: boolean;
7739
5181
  };
7740
5182
  export type WorktreeRemoveOutput = void;
7741
5183
  export type WorktreeRefreshInput = {
7742
- readonly projectID: {
7743
- readonly projectID: string;
7744
- }["projectID"];
5184
+ readonly projectID: string;
7745
5185
  };
7746
5186
  export type WorktreeRefreshOutput = void;
7747
5187
  export type VcsInitInput = {
7748
5188
  readonly location?: {
7749
- readonly location?: {
7750
- readonly directory?: string | undefined;
7751
- } | undefined;
7752
- readonly provider?: string | undefined;
7753
- }["location"];
7754
- readonly provider?: {
7755
- readonly location?: {
7756
- readonly directory?: string | undefined;
7757
- } | undefined;
7758
- readonly provider?: string | undefined;
7759
- }["provider"];
5189
+ readonly directory?: string | undefined;
5190
+ } | undefined;
5191
+ readonly provider?: string | undefined;
7760
5192
  };
7761
5193
  export type VcsInitOutput = void;
7762
5194
  export type VcsGetInput = {
7763
5195
  readonly location?: {
7764
- readonly location?: {
7765
- readonly directory?: string | undefined;
7766
- } | undefined;
7767
- }["location"];
5196
+ readonly directory?: string | undefined;
5197
+ } | undefined;
7768
5198
  };
7769
5199
  export type VcsGetOutput = {
7770
5200
  location: LocationPublicRef;
@@ -7772,10 +5202,8 @@ export type VcsGetOutput = {
7772
5202
  };
7773
5203
  export type VcsBaseInput = {
7774
5204
  readonly location?: {
7775
- readonly location?: {
7776
- readonly directory?: string | undefined;
7777
- } | undefined;
7778
- }["location"];
5205
+ readonly directory?: string | undefined;
5206
+ } | undefined;
7779
5207
  };
7780
5208
  export type VcsBaseOutput = {
7781
5209
  location: LocationPublicRef;
@@ -7783,10 +5211,8 @@ export type VcsBaseOutput = {
7783
5211
  };
7784
5212
  export type VcsStatusInput = {
7785
5213
  readonly location?: {
7786
- readonly location?: {
7787
- readonly directory?: string | undefined;
7788
- } | undefined;
7789
- }["location"];
5214
+ readonly directory?: string | undefined;
5215
+ } | undefined;
7790
5216
  };
7791
5217
  export type VcsStatusOutput = {
7792
5218
  location: LocationPublicRef;
@@ -7794,26 +5220,10 @@ export type VcsStatusOutput = {
7794
5220
  };
7795
5221
  export type VcsBranchListInput = {
7796
5222
  readonly location?: {
7797
- readonly location?: {
7798
- readonly directory?: string | undefined;
7799
- } | undefined;
7800
- readonly search?: string | undefined;
7801
- readonly limit?: number | undefined;
7802
- }["location"];
7803
- readonly search?: {
7804
- readonly location?: {
7805
- readonly directory?: string | undefined;
7806
- } | undefined;
7807
- readonly search?: string | undefined;
7808
- readonly limit?: number | undefined;
7809
- }["search"];
7810
- readonly limit?: {
7811
- readonly location?: {
7812
- readonly directory?: string | undefined;
7813
- } | undefined;
7814
- readonly search?: string | undefined;
7815
- readonly limit?: number | undefined;
7816
- }["limit"];
5223
+ readonly directory?: string | undefined;
5224
+ } | undefined;
5225
+ readonly search?: string | undefined;
5226
+ readonly limit?: number | undefined;
7817
5227
  };
7818
5228
  export type VcsBranchListOutput = {
7819
5229
  location: LocationPublicRef;
@@ -7821,59 +5231,19 @@ export type VcsBranchListOutput = {
7821
5231
  };
7822
5232
  export type VcsDiffInput = {
7823
5233
  readonly location?: {
7824
- readonly location?: {
7825
- readonly directory?: string | undefined;
7826
- } | undefined;
7827
- readonly mode: "working" | "branch" | "committed";
7828
- readonly base?: string | undefined;
7829
- readonly context?: number | undefined;
7830
- readonly untracked?: ("files" | "folders") | undefined;
7831
- }["location"];
7832
- readonly mode: {
7833
- readonly location?: {
7834
- readonly directory?: string | undefined;
7835
- } | undefined;
7836
- readonly mode: "working" | "branch" | "committed";
7837
- readonly base?: string | undefined;
7838
- readonly context?: number | undefined;
7839
- readonly untracked?: ("files" | "folders") | undefined;
7840
- }["mode"];
7841
- readonly base?: {
7842
- readonly location?: {
7843
- readonly directory?: string | undefined;
7844
- } | undefined;
7845
- readonly mode: "working" | "branch" | "committed";
7846
- readonly base?: string | undefined;
7847
- readonly context?: number | undefined;
7848
- readonly untracked?: ("files" | "folders") | undefined;
7849
- }["base"];
7850
- readonly context?: {
7851
- readonly location?: {
7852
- readonly directory?: string | undefined;
7853
- } | undefined;
7854
- readonly mode: "working" | "branch" | "committed";
7855
- readonly base?: string | undefined;
7856
- readonly context?: number | undefined;
7857
- readonly untracked?: ("files" | "folders") | undefined;
7858
- }["context"];
7859
- readonly untracked?: {
7860
- readonly location?: {
7861
- readonly directory?: string | undefined;
7862
- } | undefined;
7863
- readonly mode: "working" | "branch" | "committed";
7864
- readonly base?: string | undefined;
7865
- readonly context?: number | undefined;
7866
- readonly untracked?: ("files" | "folders") | undefined;
7867
- }["untracked"];
5234
+ readonly directory?: string | undefined;
5235
+ } | undefined;
5236
+ readonly mode: "working" | "branch" | "committed";
5237
+ readonly base?: string | undefined;
5238
+ readonly context?: number | undefined;
5239
+ readonly untracked?: ("files" | "folders") | undefined;
7868
5240
  };
7869
5241
  export type VcsDiffOutput = {
7870
5242
  location: LocationPublicRef;
7871
5243
  data: Array<FileDiffInfo>;
7872
5244
  };
7873
5245
  export type DebugHeapDumpInput = {
7874
- readonly directory?: {
7875
- readonly directory?: string | undefined;
7876
- }["directory"];
5246
+ readonly directory?: string | undefined;
7877
5247
  };
7878
5248
  export type DebugHeapDumpOutput = {
7879
5249
  path: string;
@@ -7889,10 +5259,8 @@ export type DebugHeapDumpOutput = {
7889
5259
  export type DebugLocationListOutput = Array<LocationPublicRef>;
7890
5260
  export type DebugLocationEvictInput = {
7891
5261
  readonly location?: {
7892
- readonly location?: {
7893
- readonly directory?: string | undefined;
7894
- } | undefined;
7895
- }["location"];
5262
+ readonly directory?: string | undefined;
5263
+ } | undefined;
7896
5264
  };
7897
5265
  export type DebugLocationEvictOutput = void;
7898
5266
  export type MigrationV1StatusOutput = {
@@ -7910,10 +5278,8 @@ export type MigrationV1StatusOutput = {
7910
5278
  };
7911
5279
  export type WebsearchProvidersInput = {
7912
5280
  readonly location?: {
7913
- readonly location?: {
7914
- readonly directory?: string | undefined;
7915
- } | undefined;
7916
- }["location"];
5281
+ readonly directory?: string | undefined;
5282
+ } | undefined;
7917
5283
  };
7918
5284
  export type WebsearchProvidersOutput = {
7919
5285
  location: LocationPublicRef;
@@ -7921,18 +5287,10 @@ export type WebsearchProvidersOutput = {
7921
5287
  };
7922
5288
  export type WebsearchQueryInput = {
7923
5289
  readonly location?: {
7924
- readonly location?: {
7925
- readonly directory?: string | undefined;
7926
- } | undefined;
7927
- }["location"];
7928
- readonly query: {
7929
- readonly query: string;
7930
- readonly providerID?: string;
7931
- }["query"];
7932
- readonly providerID?: {
7933
- readonly query: string;
7934
- readonly providerID?: string;
7935
- }["providerID"];
5290
+ readonly directory?: string | undefined;
5291
+ } | undefined;
5292
+ readonly query: string;
5293
+ readonly providerID?: string | undefined;
7936
5294
  };
7937
5295
  export type WebsearchQueryOutput = {
7938
5296
  location: LocationPublicRef;
@@ -7943,10 +5301,8 @@ export type WebsearchQueryOutput = {
7943
5301
  };
7944
5302
  export type UsageLimitsInput = {
7945
5303
  readonly location?: {
7946
- readonly location?: {
7947
- readonly directory?: string | undefined;
7948
- } | undefined;
7949
- }["location"];
5304
+ readonly directory?: string | undefined;
5305
+ } | undefined;
7950
5306
  };
7951
5307
  export type UsageLimitsOutput = {
7952
5308
  location: LocationPublicRef;
@@ -7954,16 +5310,12 @@ export type UsageLimitsOutput = {
7954
5310
  };
7955
5311
  export type ConfigGetInput = {
7956
5312
  readonly location?: {
7957
- readonly location?: {
7958
- readonly directory?: string | undefined;
7959
- } | undefined;
7960
- }["location"];
5313
+ readonly directory?: string | undefined;
5314
+ } | undefined;
7961
5315
  };
7962
5316
  export type ConfigGetOutput = Array<ConfigEntry>;
7963
5317
  export type ConfigShellsOutput = Array<ConfigShellOption>;
7964
5318
  export type ConfigUpdateInput = {
7965
- readonly shell: {
7966
- readonly shell: string | null;
7967
- }["shell"];
5319
+ readonly shell: string | null;
7968
5320
  };
7969
5321
  export type ConfigUpdateOutput = void;