@opencode-ai/client 0.0.0-next-15020 → 0.0.0-next-15026
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/effect/api/api.d.ts +120 -104
- package/dist/effect/generated/client.d.ts +163 -78
- package/dist/effect/generated/client.js +54 -46
- package/dist/promise/generated/client.d.ts +15 -1
- package/dist/promise/generated/client.js +16 -0
- package/dist/promise/generated/types.d.ts +106 -5
- package/package.json +4 -4
package/dist/effect/api/api.d.ts
CHANGED
|
@@ -67,176 +67,183 @@ export type Endpoint4_3Input = {
|
|
|
67
67
|
};
|
|
68
68
|
export type Endpoint4_3Output = EffectValue<ReturnType<RawClient["server.session"]["session.get"]>>["data"];
|
|
69
69
|
export type SessionGetOperation<E = never> = (input: Endpoint4_3Input) => Effect.Effect<Endpoint4_3Output, E>;
|
|
70
|
-
type Endpoint4_4Request = Parameters<RawClient["server.session"]["session.
|
|
70
|
+
type Endpoint4_4Request = Parameters<RawClient["server.session"]["session.remove"]>[0];
|
|
71
71
|
export type Endpoint4_4Input = {
|
|
72
72
|
readonly sessionID: Endpoint4_4Request["params"]["sessionID"];
|
|
73
|
-
readonly messageID?: Endpoint4_4Request["payload"]["messageID"];
|
|
74
73
|
};
|
|
75
|
-
export type Endpoint4_4Output = EffectValue<ReturnType<RawClient["server.session"]["session.
|
|
76
|
-
export type
|
|
77
|
-
type Endpoint4_5Request = Parameters<RawClient["server.session"]["session.
|
|
74
|
+
export type Endpoint4_4Output = EffectValue<ReturnType<RawClient["server.session"]["session.remove"]>>;
|
|
75
|
+
export type SessionRemoveOperation<E = never> = (input: Endpoint4_4Input) => Effect.Effect<Endpoint4_4Output, E>;
|
|
76
|
+
type Endpoint4_5Request = Parameters<RawClient["server.session"]["session.fork"]>[0];
|
|
78
77
|
export type Endpoint4_5Input = {
|
|
79
78
|
readonly sessionID: Endpoint4_5Request["params"]["sessionID"];
|
|
80
|
-
readonly
|
|
79
|
+
readonly messageID?: Endpoint4_5Request["payload"]["messageID"];
|
|
81
80
|
};
|
|
82
|
-
export type Endpoint4_5Output = EffectValue<ReturnType<RawClient["server.session"]["session.
|
|
83
|
-
export type
|
|
84
|
-
type Endpoint4_6Request = Parameters<RawClient["server.session"]["session.
|
|
81
|
+
export type Endpoint4_5Output = EffectValue<ReturnType<RawClient["server.session"]["session.fork"]>>["data"];
|
|
82
|
+
export type SessionForkOperation<E = never> = (input: Endpoint4_5Input) => Effect.Effect<Endpoint4_5Output, E>;
|
|
83
|
+
type Endpoint4_6Request = Parameters<RawClient["server.session"]["session.switchAgent"]>[0];
|
|
85
84
|
export type Endpoint4_6Input = {
|
|
86
85
|
readonly sessionID: Endpoint4_6Request["params"]["sessionID"];
|
|
87
|
-
readonly
|
|
86
|
+
readonly agent: Endpoint4_6Request["payload"]["agent"];
|
|
88
87
|
};
|
|
89
|
-
export type Endpoint4_6Output = EffectValue<ReturnType<RawClient["server.session"]["session.
|
|
90
|
-
export type
|
|
91
|
-
type Endpoint4_7Request = Parameters<RawClient["server.session"]["session.
|
|
88
|
+
export type Endpoint4_6Output = EffectValue<ReturnType<RawClient["server.session"]["session.switchAgent"]>>;
|
|
89
|
+
export type SessionSwitchAgentOperation<E = never> = (input: Endpoint4_6Input) => Effect.Effect<Endpoint4_6Output, E>;
|
|
90
|
+
type Endpoint4_7Request = Parameters<RawClient["server.session"]["session.switchModel"]>[0];
|
|
92
91
|
export type Endpoint4_7Input = {
|
|
93
92
|
readonly sessionID: Endpoint4_7Request["params"]["sessionID"];
|
|
94
|
-
readonly
|
|
93
|
+
readonly model: Endpoint4_7Request["payload"]["model"];
|
|
95
94
|
};
|
|
96
|
-
export type Endpoint4_7Output = EffectValue<ReturnType<RawClient["server.session"]["session.
|
|
97
|
-
export type
|
|
98
|
-
type Endpoint4_8Request = Parameters<RawClient["server.session"]["session.
|
|
95
|
+
export type Endpoint4_7Output = EffectValue<ReturnType<RawClient["server.session"]["session.switchModel"]>>;
|
|
96
|
+
export type SessionSwitchModelOperation<E = never> = (input: Endpoint4_7Input) => Effect.Effect<Endpoint4_7Output, E>;
|
|
97
|
+
type Endpoint4_8Request = Parameters<RawClient["server.session"]["session.rename"]>[0];
|
|
99
98
|
export type Endpoint4_8Input = {
|
|
100
99
|
readonly sessionID: Endpoint4_8Request["params"]["sessionID"];
|
|
101
|
-
readonly
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
export type Endpoint4_8Output = EffectValue<ReturnType<RawClient["server.session"]["session.prompt"]>>["data"];
|
|
107
|
-
export type SessionPromptOperation<E = never> = (input: Endpoint4_8Input) => Effect.Effect<Endpoint4_8Output, E>;
|
|
108
|
-
type Endpoint4_9Request = Parameters<RawClient["server.session"]["session.command"]>[0];
|
|
100
|
+
readonly title: Endpoint4_8Request["payload"]["title"];
|
|
101
|
+
};
|
|
102
|
+
export type Endpoint4_8Output = EffectValue<ReturnType<RawClient["server.session"]["session.rename"]>>;
|
|
103
|
+
export type SessionRenameOperation<E = never> = (input: Endpoint4_8Input) => Effect.Effect<Endpoint4_8Output, E>;
|
|
104
|
+
type Endpoint4_9Request = Parameters<RawClient["server.session"]["session.prompt"]>[0];
|
|
109
105
|
export type Endpoint4_9Input = {
|
|
110
106
|
readonly sessionID: Endpoint4_9Request["params"]["sessionID"];
|
|
111
107
|
readonly id?: Endpoint4_9Request["payload"]["id"];
|
|
112
|
-
readonly
|
|
113
|
-
readonly arguments?: Endpoint4_9Request["payload"]["arguments"];
|
|
114
|
-
readonly agent?: Endpoint4_9Request["payload"]["agent"];
|
|
115
|
-
readonly model?: Endpoint4_9Request["payload"]["model"];
|
|
116
|
-
readonly files?: Endpoint4_9Request["payload"]["files"];
|
|
117
|
-
readonly agents?: Endpoint4_9Request["payload"]["agents"];
|
|
108
|
+
readonly prompt: Endpoint4_9Request["payload"]["prompt"];
|
|
118
109
|
readonly delivery?: Endpoint4_9Request["payload"]["delivery"];
|
|
119
110
|
readonly resume?: Endpoint4_9Request["payload"]["resume"];
|
|
120
111
|
};
|
|
121
|
-
export type Endpoint4_9Output = EffectValue<ReturnType<RawClient["server.session"]["session.
|
|
122
|
-
export type
|
|
123
|
-
type Endpoint4_10Request = Parameters<RawClient["server.session"]["session.
|
|
112
|
+
export type Endpoint4_9Output = EffectValue<ReturnType<RawClient["server.session"]["session.prompt"]>>["data"];
|
|
113
|
+
export type SessionPromptOperation<E = never> = (input: Endpoint4_9Input) => Effect.Effect<Endpoint4_9Output, E>;
|
|
114
|
+
type Endpoint4_10Request = Parameters<RawClient["server.session"]["session.command"]>[0];
|
|
124
115
|
export type Endpoint4_10Input = {
|
|
125
116
|
readonly sessionID: Endpoint4_10Request["params"]["sessionID"];
|
|
126
117
|
readonly id?: Endpoint4_10Request["payload"]["id"];
|
|
127
|
-
readonly
|
|
118
|
+
readonly command: Endpoint4_10Request["payload"]["command"];
|
|
119
|
+
readonly arguments?: Endpoint4_10Request["payload"]["arguments"];
|
|
120
|
+
readonly agent?: Endpoint4_10Request["payload"]["agent"];
|
|
121
|
+
readonly model?: Endpoint4_10Request["payload"]["model"];
|
|
122
|
+
readonly files?: Endpoint4_10Request["payload"]["files"];
|
|
123
|
+
readonly agents?: Endpoint4_10Request["payload"]["agents"];
|
|
124
|
+
readonly delivery?: Endpoint4_10Request["payload"]["delivery"];
|
|
128
125
|
readonly resume?: Endpoint4_10Request["payload"]["resume"];
|
|
129
126
|
};
|
|
130
|
-
export type Endpoint4_10Output = EffectValue<ReturnType<RawClient["server.session"]["session.
|
|
131
|
-
export type
|
|
132
|
-
type Endpoint4_11Request = Parameters<RawClient["server.session"]["session.
|
|
127
|
+
export type Endpoint4_10Output = EffectValue<ReturnType<RawClient["server.session"]["session.command"]>>["data"];
|
|
128
|
+
export type SessionCommandOperation<E = never> = (input: Endpoint4_10Input) => Effect.Effect<Endpoint4_10Output, E>;
|
|
129
|
+
type Endpoint4_11Request = Parameters<RawClient["server.session"]["session.skill"]>[0];
|
|
133
130
|
export type Endpoint4_11Input = {
|
|
134
131
|
readonly sessionID: Endpoint4_11Request["params"]["sessionID"];
|
|
135
|
-
readonly
|
|
136
|
-
readonly
|
|
137
|
-
readonly
|
|
132
|
+
readonly id?: Endpoint4_11Request["payload"]["id"];
|
|
133
|
+
readonly skill: Endpoint4_11Request["payload"]["skill"];
|
|
134
|
+
readonly resume?: Endpoint4_11Request["payload"]["resume"];
|
|
138
135
|
};
|
|
139
|
-
export type Endpoint4_11Output = EffectValue<ReturnType<RawClient["server.session"]["session.
|
|
140
|
-
export type
|
|
141
|
-
type Endpoint4_12Request = Parameters<RawClient["server.session"]["session.
|
|
136
|
+
export type Endpoint4_11Output = EffectValue<ReturnType<RawClient["server.session"]["session.skill"]>>;
|
|
137
|
+
export type SessionSkillOperation<E = never> = (input: Endpoint4_11Input) => Effect.Effect<Endpoint4_11Output, E>;
|
|
138
|
+
type Endpoint4_12Request = Parameters<RawClient["server.session"]["session.synthetic"]>[0];
|
|
142
139
|
export type Endpoint4_12Input = {
|
|
143
140
|
readonly sessionID: Endpoint4_12Request["params"]["sessionID"];
|
|
144
|
-
readonly
|
|
145
|
-
readonly
|
|
141
|
+
readonly text: Endpoint4_12Request["payload"]["text"];
|
|
142
|
+
readonly description?: Endpoint4_12Request["payload"]["description"];
|
|
143
|
+
readonly metadata?: Endpoint4_12Request["payload"]["metadata"];
|
|
146
144
|
};
|
|
147
|
-
export type Endpoint4_12Output = EffectValue<ReturnType<RawClient["server.session"]["session.
|
|
148
|
-
export type
|
|
149
|
-
type Endpoint4_13Request = Parameters<RawClient["server.session"]["session.
|
|
145
|
+
export type Endpoint4_12Output = EffectValue<ReturnType<RawClient["server.session"]["session.synthetic"]>>;
|
|
146
|
+
export type SessionSyntheticOperation<E = never> = (input: Endpoint4_12Input) => Effect.Effect<Endpoint4_12Output, E>;
|
|
147
|
+
type Endpoint4_13Request = Parameters<RawClient["server.session"]["session.shell"]>[0];
|
|
150
148
|
export type Endpoint4_13Input = {
|
|
151
149
|
readonly sessionID: Endpoint4_13Request["params"]["sessionID"];
|
|
150
|
+
readonly id?: Endpoint4_13Request["payload"]["id"];
|
|
151
|
+
readonly command: Endpoint4_13Request["payload"]["command"];
|
|
152
152
|
};
|
|
153
|
-
export type Endpoint4_13Output = EffectValue<ReturnType<RawClient["server.session"]["session.
|
|
154
|
-
export type
|
|
155
|
-
type Endpoint4_14Request = Parameters<RawClient["server.session"]["session.
|
|
153
|
+
export type Endpoint4_13Output = EffectValue<ReturnType<RawClient["server.session"]["session.shell"]>>;
|
|
154
|
+
export type SessionShellOperation<E = never> = (input: Endpoint4_13Input) => Effect.Effect<Endpoint4_13Output, E>;
|
|
155
|
+
type Endpoint4_14Request = Parameters<RawClient["server.session"]["session.compact"]>[0];
|
|
156
156
|
export type Endpoint4_14Input = {
|
|
157
157
|
readonly sessionID: Endpoint4_14Request["params"]["sessionID"];
|
|
158
158
|
};
|
|
159
|
-
export type Endpoint4_14Output = EffectValue<ReturnType<RawClient["server.session"]["session.
|
|
160
|
-
export type
|
|
161
|
-
type Endpoint4_15Request = Parameters<RawClient["server.session"]["session.
|
|
159
|
+
export type Endpoint4_14Output = EffectValue<ReturnType<RawClient["server.session"]["session.compact"]>>;
|
|
160
|
+
export type SessionCompactOperation<E = never> = (input: Endpoint4_14Input) => Effect.Effect<Endpoint4_14Output, E>;
|
|
161
|
+
type Endpoint4_15Request = Parameters<RawClient["server.session"]["session.wait"]>[0];
|
|
162
162
|
export type Endpoint4_15Input = {
|
|
163
163
|
readonly sessionID: Endpoint4_15Request["params"]["sessionID"];
|
|
164
|
-
readonly messageID: Endpoint4_15Request["payload"]["messageID"];
|
|
165
|
-
readonly files?: Endpoint4_15Request["payload"]["files"];
|
|
166
164
|
};
|
|
167
|
-
export type Endpoint4_15Output = EffectValue<ReturnType<RawClient["server.session"]["session.
|
|
168
|
-
export type
|
|
169
|
-
type Endpoint4_16Request = Parameters<RawClient["server.session"]["session.revert.
|
|
165
|
+
export type Endpoint4_15Output = EffectValue<ReturnType<RawClient["server.session"]["session.wait"]>>;
|
|
166
|
+
export type SessionWaitOperation<E = never> = (input: Endpoint4_15Input) => Effect.Effect<Endpoint4_15Output, E>;
|
|
167
|
+
type Endpoint4_16Request = Parameters<RawClient["server.session"]["session.revert.stage"]>[0];
|
|
170
168
|
export type Endpoint4_16Input = {
|
|
171
169
|
readonly sessionID: Endpoint4_16Request["params"]["sessionID"];
|
|
170
|
+
readonly messageID: Endpoint4_16Request["payload"]["messageID"];
|
|
171
|
+
readonly files?: Endpoint4_16Request["payload"]["files"];
|
|
172
172
|
};
|
|
173
|
-
export type Endpoint4_16Output = EffectValue<ReturnType<RawClient["server.session"]["session.revert.
|
|
174
|
-
export type
|
|
175
|
-
type Endpoint4_17Request = Parameters<RawClient["server.session"]["session.revert.
|
|
173
|
+
export type Endpoint4_16Output = EffectValue<ReturnType<RawClient["server.session"]["session.revert.stage"]>>["data"];
|
|
174
|
+
export type SessionRevertStageOperation<E = never> = (input: Endpoint4_16Input) => Effect.Effect<Endpoint4_16Output, E>;
|
|
175
|
+
type Endpoint4_17Request = Parameters<RawClient["server.session"]["session.revert.clear"]>[0];
|
|
176
176
|
export type Endpoint4_17Input = {
|
|
177
177
|
readonly sessionID: Endpoint4_17Request["params"]["sessionID"];
|
|
178
178
|
};
|
|
179
|
-
export type Endpoint4_17Output = EffectValue<ReturnType<RawClient["server.session"]["session.revert.
|
|
180
|
-
export type
|
|
181
|
-
type Endpoint4_18Request = Parameters<RawClient["server.session"]["session.
|
|
179
|
+
export type Endpoint4_17Output = EffectValue<ReturnType<RawClient["server.session"]["session.revert.clear"]>>;
|
|
180
|
+
export type SessionRevertClearOperation<E = never> = (input: Endpoint4_17Input) => Effect.Effect<Endpoint4_17Output, E>;
|
|
181
|
+
type Endpoint4_18Request = Parameters<RawClient["server.session"]["session.revert.commit"]>[0];
|
|
182
182
|
export type Endpoint4_18Input = {
|
|
183
183
|
readonly sessionID: Endpoint4_18Request["params"]["sessionID"];
|
|
184
184
|
};
|
|
185
|
-
export type Endpoint4_18Output = EffectValue<ReturnType<RawClient["server.session"]["session.
|
|
186
|
-
export type
|
|
187
|
-
type Endpoint4_19Request = Parameters<RawClient["server.session"]["session.
|
|
185
|
+
export type Endpoint4_18Output = EffectValue<ReturnType<RawClient["server.session"]["session.revert.commit"]>>;
|
|
186
|
+
export type SessionRevertCommitOperation<E = never> = (input: Endpoint4_18Input) => Effect.Effect<Endpoint4_18Output, E>;
|
|
187
|
+
type Endpoint4_19Request = Parameters<RawClient["server.session"]["session.context"]>[0];
|
|
188
188
|
export type Endpoint4_19Input = {
|
|
189
189
|
readonly sessionID: Endpoint4_19Request["params"]["sessionID"];
|
|
190
190
|
};
|
|
191
|
-
export type Endpoint4_19Output = EffectValue<ReturnType<RawClient["server.session"]["session.
|
|
192
|
-
export type
|
|
193
|
-
type Endpoint4_20Request = Parameters<RawClient["server.session"]["session.instructions.entry.
|
|
191
|
+
export type Endpoint4_19Output = EffectValue<ReturnType<RawClient["server.session"]["session.context"]>>["data"];
|
|
192
|
+
export type SessionContextOperation<E = never> = (input: Endpoint4_19Input) => Effect.Effect<Endpoint4_19Output, E>;
|
|
193
|
+
type Endpoint4_20Request = Parameters<RawClient["server.session"]["session.instructions.entry.list"]>[0];
|
|
194
194
|
export type Endpoint4_20Input = {
|
|
195
195
|
readonly sessionID: Endpoint4_20Request["params"]["sessionID"];
|
|
196
|
-
readonly key: Endpoint4_20Request["params"]["key"];
|
|
197
|
-
readonly value: Endpoint4_20Request["payload"]["value"];
|
|
198
196
|
};
|
|
199
|
-
export type Endpoint4_20Output = EffectValue<ReturnType<RawClient["server.session"]["session.instructions.entry.
|
|
200
|
-
export type
|
|
201
|
-
type Endpoint4_21Request = Parameters<RawClient["server.session"]["session.instructions.entry.
|
|
197
|
+
export type Endpoint4_20Output = EffectValue<ReturnType<RawClient["server.session"]["session.instructions.entry.list"]>>["data"];
|
|
198
|
+
export type SessionInstructionsEntryListOperation<E = never> = (input: Endpoint4_20Input) => Effect.Effect<Endpoint4_20Output, E>;
|
|
199
|
+
type Endpoint4_21Request = Parameters<RawClient["server.session"]["session.instructions.entry.put"]>[0];
|
|
202
200
|
export type Endpoint4_21Input = {
|
|
203
201
|
readonly sessionID: Endpoint4_21Request["params"]["sessionID"];
|
|
204
202
|
readonly key: Endpoint4_21Request["params"]["key"];
|
|
203
|
+
readonly value: Endpoint4_21Request["payload"]["value"];
|
|
205
204
|
};
|
|
206
|
-
export type Endpoint4_21Output = EffectValue<ReturnType<RawClient["server.session"]["session.instructions.entry.
|
|
207
|
-
export type
|
|
208
|
-
type Endpoint4_22Request = Parameters<RawClient["server.session"]["session.
|
|
205
|
+
export type Endpoint4_21Output = EffectValue<ReturnType<RawClient["server.session"]["session.instructions.entry.put"]>>;
|
|
206
|
+
export type SessionInstructionsEntryPutOperation<E = never> = (input: Endpoint4_21Input) => Effect.Effect<Endpoint4_21Output, E>;
|
|
207
|
+
type Endpoint4_22Request = Parameters<RawClient["server.session"]["session.instructions.entry.remove"]>[0];
|
|
209
208
|
export type Endpoint4_22Input = {
|
|
210
209
|
readonly sessionID: Endpoint4_22Request["params"]["sessionID"];
|
|
211
|
-
readonly
|
|
212
|
-
readonly follow?: Endpoint4_22Request["query"]["follow"];
|
|
210
|
+
readonly key: Endpoint4_22Request["params"]["key"];
|
|
213
211
|
};
|
|
214
|
-
export type Endpoint4_22Output =
|
|
215
|
-
export type
|
|
216
|
-
type Endpoint4_23Request = Parameters<RawClient["server.session"]["session.
|
|
212
|
+
export type Endpoint4_22Output = EffectValue<ReturnType<RawClient["server.session"]["session.instructions.entry.remove"]>>;
|
|
213
|
+
export type SessionInstructionsEntryRemoveOperation<E = never> = (input: Endpoint4_22Input) => Effect.Effect<Endpoint4_22Output, E>;
|
|
214
|
+
type Endpoint4_23Request = Parameters<RawClient["server.session"]["session.log"]>[0];
|
|
217
215
|
export type Endpoint4_23Input = {
|
|
218
216
|
readonly sessionID: Endpoint4_23Request["params"]["sessionID"];
|
|
217
|
+
readonly after?: Endpoint4_23Request["query"]["after"];
|
|
218
|
+
readonly follow?: Endpoint4_23Request["query"]["follow"];
|
|
219
219
|
};
|
|
220
|
-
export type Endpoint4_23Output = EffectValue<ReturnType<RawClient["server.session"]["session.
|
|
221
|
-
export type
|
|
222
|
-
type Endpoint4_24Request = Parameters<RawClient["server.session"]["session.
|
|
220
|
+
export type Endpoint4_23Output = StreamValue<EffectValue<ReturnType<RawClient["server.session"]["session.log"]>>>;
|
|
221
|
+
export type SessionLogOperation<E = never> = (input: Endpoint4_23Input) => Stream.Stream<Endpoint4_23Output, E>;
|
|
222
|
+
type Endpoint4_24Request = Parameters<RawClient["server.session"]["session.interrupt"]>[0];
|
|
223
223
|
export type Endpoint4_24Input = {
|
|
224
224
|
readonly sessionID: Endpoint4_24Request["params"]["sessionID"];
|
|
225
225
|
};
|
|
226
|
-
export type Endpoint4_24Output = EffectValue<ReturnType<RawClient["server.session"]["session.
|
|
227
|
-
export type
|
|
228
|
-
type Endpoint4_25Request = Parameters<RawClient["server.session"]["session.
|
|
226
|
+
export type Endpoint4_24Output = EffectValue<ReturnType<RawClient["server.session"]["session.interrupt"]>>;
|
|
227
|
+
export type SessionInterruptOperation<E = never> = (input: Endpoint4_24Input) => Effect.Effect<Endpoint4_24Output, E>;
|
|
228
|
+
type Endpoint4_25Request = Parameters<RawClient["server.session"]["session.background"]>[0];
|
|
229
229
|
export type Endpoint4_25Input = {
|
|
230
230
|
readonly sessionID: Endpoint4_25Request["params"]["sessionID"];
|
|
231
|
-
readonly messageID: Endpoint4_25Request["params"]["messageID"];
|
|
232
231
|
};
|
|
233
|
-
export type Endpoint4_25Output = EffectValue<ReturnType<RawClient["server.session"]["session.
|
|
234
|
-
export type
|
|
232
|
+
export type Endpoint4_25Output = EffectValue<ReturnType<RawClient["server.session"]["session.background"]>>;
|
|
233
|
+
export type SessionBackgroundOperation<E = never> = (input: Endpoint4_25Input) => Effect.Effect<Endpoint4_25Output, E>;
|
|
234
|
+
type Endpoint4_26Request = Parameters<RawClient["server.session"]["session.message"]>[0];
|
|
235
|
+
export type Endpoint4_26Input = {
|
|
236
|
+
readonly sessionID: Endpoint4_26Request["params"]["sessionID"];
|
|
237
|
+
readonly messageID: Endpoint4_26Request["params"]["messageID"];
|
|
238
|
+
};
|
|
239
|
+
export type Endpoint4_26Output = EffectValue<ReturnType<RawClient["server.session"]["session.message"]>>["data"];
|
|
240
|
+
export type SessionMessageOperation<E = never> = (input: Endpoint4_26Input) => Effect.Effect<Endpoint4_26Output, E>;
|
|
235
241
|
export interface SessionApi<E = never> {
|
|
236
242
|
readonly list: SessionListOperation<E>;
|
|
237
243
|
readonly create: SessionCreateOperation<E>;
|
|
238
244
|
readonly active: SessionActiveOperation<E>;
|
|
239
245
|
readonly get: SessionGetOperation<E>;
|
|
246
|
+
readonly remove: SessionRemoveOperation<E>;
|
|
240
247
|
readonly fork: SessionForkOperation<E>;
|
|
241
248
|
readonly switchAgent: SessionSwitchAgentOperation<E>;
|
|
242
249
|
readonly switchModel: SessionSwitchModelOperation<E>;
|
|
@@ -656,7 +663,7 @@ export type Endpoint20_1Input = {
|
|
|
656
663
|
readonly location?: Endpoint20_1Request["query"]["location"];
|
|
657
664
|
readonly command: Endpoint20_1Request["payload"]["command"];
|
|
658
665
|
readonly cwd?: Endpoint20_1Request["payload"]["cwd"];
|
|
659
|
-
readonly timeout
|
|
666
|
+
readonly timeout: Endpoint20_1Request["payload"]["timeout"];
|
|
660
667
|
readonly metadata?: Endpoint20_1Request["payload"]["metadata"];
|
|
661
668
|
};
|
|
662
669
|
export type Endpoint20_1Output = EffectValue<ReturnType<RawClient["server.shell"]["shell.create"]>>;
|
|
@@ -668,26 +675,35 @@ export type Endpoint20_2Input = {
|
|
|
668
675
|
};
|
|
669
676
|
export type Endpoint20_2Output = EffectValue<ReturnType<RawClient["server.shell"]["shell.get"]>>;
|
|
670
677
|
export type ShellGetOperation<E = never> = (input: Endpoint20_2Input) => Effect.Effect<Endpoint20_2Output, E>;
|
|
671
|
-
type Endpoint20_3Request = Parameters<RawClient["server.shell"]["shell.
|
|
678
|
+
type Endpoint20_3Request = Parameters<RawClient["server.shell"]["shell.timeout"]>[0];
|
|
672
679
|
export type Endpoint20_3Input = {
|
|
673
680
|
readonly id: Endpoint20_3Request["params"]["id"];
|
|
674
681
|
readonly location?: Endpoint20_3Request["query"]["location"];
|
|
675
|
-
readonly
|
|
676
|
-
readonly limit?: Endpoint20_3Request["query"]["limit"];
|
|
682
|
+
readonly timeout: Endpoint20_3Request["payload"]["timeout"];
|
|
677
683
|
};
|
|
678
|
-
export type Endpoint20_3Output = EffectValue<ReturnType<RawClient["server.shell"]["shell.
|
|
679
|
-
export type
|
|
680
|
-
type Endpoint20_4Request = Parameters<RawClient["server.shell"]["shell.
|
|
684
|
+
export type Endpoint20_3Output = EffectValue<ReturnType<RawClient["server.shell"]["shell.timeout"]>>;
|
|
685
|
+
export type ShellTimeoutOperation<E = never> = (input: Endpoint20_3Input) => Effect.Effect<Endpoint20_3Output, E>;
|
|
686
|
+
type Endpoint20_4Request = Parameters<RawClient["server.shell"]["shell.output"]>[0];
|
|
681
687
|
export type Endpoint20_4Input = {
|
|
682
688
|
readonly id: Endpoint20_4Request["params"]["id"];
|
|
683
689
|
readonly location?: Endpoint20_4Request["query"]["location"];
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
690
|
+
readonly cursor?: Endpoint20_4Request["query"]["cursor"];
|
|
691
|
+
readonly limit?: Endpoint20_4Request["query"]["limit"];
|
|
692
|
+
};
|
|
693
|
+
export type Endpoint20_4Output = EffectValue<ReturnType<RawClient["server.shell"]["shell.output"]>>;
|
|
694
|
+
export type ShellOutputOperation<E = never> = (input: Endpoint20_4Input) => Effect.Effect<Endpoint20_4Output, E>;
|
|
695
|
+
type Endpoint20_5Request = Parameters<RawClient["server.shell"]["shell.remove"]>[0];
|
|
696
|
+
export type Endpoint20_5Input = {
|
|
697
|
+
readonly id: Endpoint20_5Request["params"]["id"];
|
|
698
|
+
readonly location?: Endpoint20_5Request["query"]["location"];
|
|
699
|
+
};
|
|
700
|
+
export type Endpoint20_5Output = EffectValue<ReturnType<RawClient["server.shell"]["shell.remove"]>>;
|
|
701
|
+
export type ShellRemoveOperation<E = never> = (input: Endpoint20_5Input) => Effect.Effect<Endpoint20_5Output, E>;
|
|
687
702
|
export interface ShellApi<E = never> {
|
|
688
703
|
readonly list: ShellListOperation<E>;
|
|
689
704
|
readonly create: ShellCreateOperation<E>;
|
|
690
705
|
readonly get: ShellGetOperation<E>;
|
|
706
|
+
readonly timeout: ShellTimeoutOperation<E>;
|
|
691
707
|
readonly output: ShellOutputOperation<E>;
|
|
692
708
|
readonly remove: ShellRemoveOperation<E>;
|
|
693
709
|
}
|