@opencode/client 0.0.0-reserved → 2.0.0
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/README.md +24 -2
- package/dist/contract.d.ts +1 -0
- package/dist/contract.js +1 -0
- package/dist/effect/api/api.d.ts +2698 -0
- package/dist/effect/api/api.js +0 -0
- package/dist/effect/api.d.ts +8 -0
- package/dist/effect/api.js +0 -0
- package/dist/effect/client.d.ts +2464 -0
- package/dist/effect/client.js +29 -0
- package/dist/effect/generated/client-error.d.ts +7 -0
- package/dist/effect/generated/client-error.js +5 -0
- package/dist/effect/generated/client.d.ts +2463 -0
- package/dist/effect/generated/client.js +603 -0
- package/dist/effect/generated/index.d.ts +2 -0
- package/dist/effect/generated/index.js +2 -0
- package/dist/effect/index.d.ts +35 -0
- package/dist/effect/index.js +30 -0
- package/dist/effect/rpc.d.ts +20 -0
- package/dist/effect/rpc.js +49 -0
- package/dist/effect/service.d.ts +78 -0
- package/dist/effect/service.js +259 -0
- package/dist/promise/api.d.ts +24 -0
- package/dist/promise/api.js +0 -0
- package/dist/promise/client.d.ts +257 -0
- package/dist/promise/client.js +13 -0
- package/dist/promise/generated/client-error.d.ts +6 -0
- package/dist/promise/generated/client-error.js +8 -0
- package/dist/promise/generated/client.d.ts +264 -0
- package/dist/promise/generated/client.js +1426 -0
- package/dist/promise/generated/index.d.ts +3 -0
- package/dist/promise/generated/index.js +3 -0
- package/dist/promise/generated/types.d.ts +8777 -0
- package/dist/promise/generated/types.js +30 -0
- package/dist/promise/index.d.ts +6 -0
- package/dist/promise/index.js +2 -0
- package/dist/promise/rpc.d.ts +32 -0
- package/dist/promise/rpc.js +86 -0
- package/dist/promise/service.d.ts +26 -0
- package/dist/promise/service.js +247 -0
- package/dist/pty-handoff.d.ts +9 -0
- package/dist/pty-handoff.js +121 -0
- package/dist/rpc-runtime.d.ts +21 -0
- package/dist/rpc-runtime.js +32 -0
- package/dist/service-contender.d.ts +11 -0
- package/dist/service-contender.js +56 -0
- package/dist/service-timing.d.ts +13 -0
- package/dist/service-timing.js +19 -0
- package/dist/service-version.d.ts +2 -0
- package/dist/service-version.js +9 -0
- package/dist/service.d.ts +52 -0
- package/dist/service.js +0 -0
- package/dist/shared-events.d.ts +11 -0
- package/dist/shared-events.js +137 -0
- package/dist/solid/connection.d.ts +37 -0
- package/dist/solid/connection.js +246 -0
- package/dist/solid/data.d.ts +201 -0
- package/dist/solid/data.js +1731 -0
- package/dist/solid/index.d.ts +3 -0
- package/dist/solid/index.js +3 -0
- package/dist/solid/pty.d.ts +22 -0
- package/dist/solid/pty.js +43 -0
- package/package.json +76 -6
|
@@ -0,0 +1,2464 @@
|
|
|
1
|
+
export * as OpenCode from "./client.js";
|
|
2
|
+
import { Effect, Stream } from "effect";
|
|
3
|
+
import { HttpClient } from "effect/unstable/http";
|
|
4
|
+
import { ClientError } from "./generated/index.js";
|
|
5
|
+
import { RpcClientRuntime } from "./rpc.js";
|
|
6
|
+
import type { RpcCallOptions } from "../promise/rpc.js";
|
|
7
|
+
export declare const make: (options?: {
|
|
8
|
+
readonly baseUrl?: URL | string;
|
|
9
|
+
} | undefined) => Effect.Effect<{
|
|
10
|
+
event: {
|
|
11
|
+
subscribe: () => Stream.Stream<{
|
|
12
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
13
|
+
readonly data: {};
|
|
14
|
+
readonly type: "skill.updated";
|
|
15
|
+
readonly created: number;
|
|
16
|
+
readonly location?: {
|
|
17
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
18
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
19
|
+
} | undefined;
|
|
20
|
+
readonly metadata?: {
|
|
21
|
+
readonly [x: string]: unknown;
|
|
22
|
+
} | undefined;
|
|
23
|
+
} | {
|
|
24
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
25
|
+
readonly data: {
|
|
26
|
+
readonly form: {
|
|
27
|
+
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
28
|
+
readonly sessionID: string;
|
|
29
|
+
readonly title: string;
|
|
30
|
+
readonly fields: readonly [{
|
|
31
|
+
readonly type: "string";
|
|
32
|
+
readonly key: string;
|
|
33
|
+
readonly required?: boolean | undefined;
|
|
34
|
+
readonly description?: string | undefined;
|
|
35
|
+
readonly format?: "email" | "uri" | "date" | "date-time" | undefined;
|
|
36
|
+
readonly minLength?: number | undefined;
|
|
37
|
+
readonly maxLength?: number | undefined;
|
|
38
|
+
readonly pattern?: string | undefined;
|
|
39
|
+
readonly placeholder?: string | undefined;
|
|
40
|
+
readonly default?: string | undefined;
|
|
41
|
+
readonly options?: readonly {
|
|
42
|
+
readonly value: string;
|
|
43
|
+
readonly label: string;
|
|
44
|
+
readonly description?: string | undefined;
|
|
45
|
+
}[] | undefined;
|
|
46
|
+
readonly custom?: boolean | undefined;
|
|
47
|
+
readonly title?: string | undefined;
|
|
48
|
+
readonly when?: readonly {
|
|
49
|
+
readonly key: string;
|
|
50
|
+
readonly op: "eq" | "neq";
|
|
51
|
+
readonly value: string | number | boolean;
|
|
52
|
+
}[] | undefined;
|
|
53
|
+
} | {
|
|
54
|
+
readonly type: "number";
|
|
55
|
+
readonly key: string;
|
|
56
|
+
readonly required?: boolean | undefined;
|
|
57
|
+
readonly description?: string | undefined;
|
|
58
|
+
readonly default?: number | undefined;
|
|
59
|
+
readonly title?: string | undefined;
|
|
60
|
+
readonly when?: readonly {
|
|
61
|
+
readonly key: string;
|
|
62
|
+
readonly op: "eq" | "neq";
|
|
63
|
+
readonly value: string | number | boolean;
|
|
64
|
+
}[] | undefined;
|
|
65
|
+
readonly minimum?: number | undefined;
|
|
66
|
+
readonly maximum?: number | undefined;
|
|
67
|
+
} | {
|
|
68
|
+
readonly type: "integer";
|
|
69
|
+
readonly key: string;
|
|
70
|
+
readonly required?: boolean | undefined;
|
|
71
|
+
readonly description?: string | undefined;
|
|
72
|
+
readonly default?: number | undefined;
|
|
73
|
+
readonly title?: string | undefined;
|
|
74
|
+
readonly when?: readonly {
|
|
75
|
+
readonly key: string;
|
|
76
|
+
readonly op: "eq" | "neq";
|
|
77
|
+
readonly value: string | number | boolean;
|
|
78
|
+
}[] | undefined;
|
|
79
|
+
readonly minimum?: number | undefined;
|
|
80
|
+
readonly maximum?: number | undefined;
|
|
81
|
+
} | {
|
|
82
|
+
readonly type: "boolean";
|
|
83
|
+
readonly key: string;
|
|
84
|
+
readonly required?: boolean | undefined;
|
|
85
|
+
readonly description?: string | undefined;
|
|
86
|
+
readonly default?: boolean | undefined;
|
|
87
|
+
readonly title?: string | undefined;
|
|
88
|
+
readonly when?: readonly {
|
|
89
|
+
readonly key: string;
|
|
90
|
+
readonly op: "eq" | "neq";
|
|
91
|
+
readonly value: string | number | boolean;
|
|
92
|
+
}[] | undefined;
|
|
93
|
+
} | {
|
|
94
|
+
readonly type: "multiselect";
|
|
95
|
+
readonly key: string;
|
|
96
|
+
readonly options: readonly {
|
|
97
|
+
readonly value: string;
|
|
98
|
+
readonly label: string;
|
|
99
|
+
readonly description?: string | undefined;
|
|
100
|
+
}[];
|
|
101
|
+
readonly required?: boolean | undefined;
|
|
102
|
+
readonly description?: string | undefined;
|
|
103
|
+
readonly default?: readonly string[] | undefined;
|
|
104
|
+
readonly custom?: boolean | undefined;
|
|
105
|
+
readonly title?: string | undefined;
|
|
106
|
+
readonly when?: readonly {
|
|
107
|
+
readonly key: string;
|
|
108
|
+
readonly op: "eq" | "neq";
|
|
109
|
+
readonly value: string | number | boolean;
|
|
110
|
+
}[] | undefined;
|
|
111
|
+
readonly minItems?: number | undefined;
|
|
112
|
+
readonly maxItems?: number | undefined;
|
|
113
|
+
} | {
|
|
114
|
+
readonly type: "external";
|
|
115
|
+
readonly url: string;
|
|
116
|
+
readonly key: string;
|
|
117
|
+
readonly description?: string | undefined;
|
|
118
|
+
readonly title?: string | undefined;
|
|
119
|
+
}, ...({
|
|
120
|
+
readonly type: "string";
|
|
121
|
+
readonly key: string;
|
|
122
|
+
readonly required?: boolean | undefined;
|
|
123
|
+
readonly description?: string | undefined;
|
|
124
|
+
readonly format?: "email" | "uri" | "date" | "date-time" | undefined;
|
|
125
|
+
readonly minLength?: number | undefined;
|
|
126
|
+
readonly maxLength?: number | undefined;
|
|
127
|
+
readonly pattern?: string | undefined;
|
|
128
|
+
readonly placeholder?: string | undefined;
|
|
129
|
+
readonly default?: string | undefined;
|
|
130
|
+
readonly options?: readonly {
|
|
131
|
+
readonly value: string;
|
|
132
|
+
readonly label: string;
|
|
133
|
+
readonly description?: string | undefined;
|
|
134
|
+
}[] | undefined;
|
|
135
|
+
readonly custom?: boolean | undefined;
|
|
136
|
+
readonly title?: string | undefined;
|
|
137
|
+
readonly when?: readonly {
|
|
138
|
+
readonly key: string;
|
|
139
|
+
readonly op: "eq" | "neq";
|
|
140
|
+
readonly value: string | number | boolean;
|
|
141
|
+
}[] | undefined;
|
|
142
|
+
} | {
|
|
143
|
+
readonly type: "number";
|
|
144
|
+
readonly key: string;
|
|
145
|
+
readonly required?: boolean | undefined;
|
|
146
|
+
readonly description?: string | undefined;
|
|
147
|
+
readonly default?: number | undefined;
|
|
148
|
+
readonly title?: string | undefined;
|
|
149
|
+
readonly when?: readonly {
|
|
150
|
+
readonly key: string;
|
|
151
|
+
readonly op: "eq" | "neq";
|
|
152
|
+
readonly value: string | number | boolean;
|
|
153
|
+
}[] | undefined;
|
|
154
|
+
readonly minimum?: number | undefined;
|
|
155
|
+
readonly maximum?: number | undefined;
|
|
156
|
+
} | {
|
|
157
|
+
readonly type: "integer";
|
|
158
|
+
readonly key: string;
|
|
159
|
+
readonly required?: boolean | undefined;
|
|
160
|
+
readonly description?: string | undefined;
|
|
161
|
+
readonly default?: number | undefined;
|
|
162
|
+
readonly title?: string | undefined;
|
|
163
|
+
readonly when?: readonly {
|
|
164
|
+
readonly key: string;
|
|
165
|
+
readonly op: "eq" | "neq";
|
|
166
|
+
readonly value: string | number | boolean;
|
|
167
|
+
}[] | undefined;
|
|
168
|
+
readonly minimum?: number | undefined;
|
|
169
|
+
readonly maximum?: number | undefined;
|
|
170
|
+
} | {
|
|
171
|
+
readonly type: "boolean";
|
|
172
|
+
readonly key: string;
|
|
173
|
+
readonly required?: boolean | undefined;
|
|
174
|
+
readonly description?: string | undefined;
|
|
175
|
+
readonly default?: boolean | undefined;
|
|
176
|
+
readonly title?: string | undefined;
|
|
177
|
+
readonly when?: readonly {
|
|
178
|
+
readonly key: string;
|
|
179
|
+
readonly op: "eq" | "neq";
|
|
180
|
+
readonly value: string | number | boolean;
|
|
181
|
+
}[] | undefined;
|
|
182
|
+
} | {
|
|
183
|
+
readonly type: "multiselect";
|
|
184
|
+
readonly key: string;
|
|
185
|
+
readonly options: readonly {
|
|
186
|
+
readonly value: string;
|
|
187
|
+
readonly label: string;
|
|
188
|
+
readonly description?: string | undefined;
|
|
189
|
+
}[];
|
|
190
|
+
readonly required?: boolean | undefined;
|
|
191
|
+
readonly description?: string | undefined;
|
|
192
|
+
readonly default?: readonly string[] | undefined;
|
|
193
|
+
readonly custom?: boolean | undefined;
|
|
194
|
+
readonly title?: string | undefined;
|
|
195
|
+
readonly when?: readonly {
|
|
196
|
+
readonly key: string;
|
|
197
|
+
readonly op: "eq" | "neq";
|
|
198
|
+
readonly value: string | number | boolean;
|
|
199
|
+
}[] | undefined;
|
|
200
|
+
readonly minItems?: number | undefined;
|
|
201
|
+
readonly maxItems?: number | undefined;
|
|
202
|
+
} | {
|
|
203
|
+
readonly type: "external";
|
|
204
|
+
readonly url: string;
|
|
205
|
+
readonly key: string;
|
|
206
|
+
readonly description?: string | undefined;
|
|
207
|
+
readonly title?: string | undefined;
|
|
208
|
+
})[]];
|
|
209
|
+
readonly metadata?: {
|
|
210
|
+
readonly [x: string]: unknown;
|
|
211
|
+
} | undefined;
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
readonly type: "form.created";
|
|
215
|
+
readonly created: number;
|
|
216
|
+
readonly location?: {
|
|
217
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
218
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
219
|
+
} | undefined;
|
|
220
|
+
readonly metadata?: {
|
|
221
|
+
readonly [x: string]: unknown;
|
|
222
|
+
} | undefined;
|
|
223
|
+
} | {
|
|
224
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
225
|
+
readonly data: {
|
|
226
|
+
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
227
|
+
readonly sessionID: string;
|
|
228
|
+
readonly answer: {
|
|
229
|
+
readonly [x: string]: string | number | boolean | readonly string[];
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
readonly type: "form.replied";
|
|
233
|
+
readonly created: number;
|
|
234
|
+
readonly location?: {
|
|
235
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
236
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
237
|
+
} | undefined;
|
|
238
|
+
readonly metadata?: {
|
|
239
|
+
readonly [x: string]: unknown;
|
|
240
|
+
} | undefined;
|
|
241
|
+
} | {
|
|
242
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
243
|
+
readonly data: {
|
|
244
|
+
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
245
|
+
readonly sessionID: string;
|
|
246
|
+
};
|
|
247
|
+
readonly type: "form.cancelled";
|
|
248
|
+
readonly created: number;
|
|
249
|
+
readonly location?: {
|
|
250
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
251
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
252
|
+
} | undefined;
|
|
253
|
+
readonly metadata?: {
|
|
254
|
+
readonly [x: string]: unknown;
|
|
255
|
+
} | undefined;
|
|
256
|
+
} | {
|
|
257
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
258
|
+
readonly data: {};
|
|
259
|
+
readonly type: "credential.updated";
|
|
260
|
+
readonly created: number;
|
|
261
|
+
readonly location?: {
|
|
262
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
263
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
264
|
+
} | undefined;
|
|
265
|
+
readonly metadata?: {
|
|
266
|
+
readonly [x: string]: unknown;
|
|
267
|
+
} | undefined;
|
|
268
|
+
} | {
|
|
269
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
270
|
+
readonly data: {
|
|
271
|
+
readonly integrationID: string & import("effect/Brand").Brand<"Integration.ID">;
|
|
272
|
+
readonly credentialID: (string & import("effect/Brand").Brand<"Credential.ID">) | null;
|
|
273
|
+
};
|
|
274
|
+
readonly type: "credential.switched";
|
|
275
|
+
readonly created: number;
|
|
276
|
+
readonly location?: {
|
|
277
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
278
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
279
|
+
} | undefined;
|
|
280
|
+
readonly metadata?: {
|
|
281
|
+
readonly [x: string]: unknown;
|
|
282
|
+
} | undefined;
|
|
283
|
+
} | {
|
|
284
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
285
|
+
readonly data: {};
|
|
286
|
+
readonly type: "integration.updated";
|
|
287
|
+
readonly created: number;
|
|
288
|
+
readonly location?: {
|
|
289
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
290
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
291
|
+
} | undefined;
|
|
292
|
+
readonly metadata?: {
|
|
293
|
+
readonly [x: string]: unknown;
|
|
294
|
+
} | undefined;
|
|
295
|
+
} | {
|
|
296
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
297
|
+
readonly data: {
|
|
298
|
+
readonly id: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
299
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
300
|
+
readonly action: string;
|
|
301
|
+
readonly resources: readonly string[];
|
|
302
|
+
readonly metadata?: {
|
|
303
|
+
readonly [x: string]: unknown;
|
|
304
|
+
} | undefined;
|
|
305
|
+
readonly message?: string | undefined;
|
|
306
|
+
readonly save?: readonly string[] | undefined;
|
|
307
|
+
readonly source?: {
|
|
308
|
+
readonly type: "tool";
|
|
309
|
+
readonly messageID: string;
|
|
310
|
+
readonly id: string;
|
|
311
|
+
} | undefined;
|
|
312
|
+
};
|
|
313
|
+
readonly type: "permission.asked";
|
|
314
|
+
readonly created: number;
|
|
315
|
+
readonly location?: {
|
|
316
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
317
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
318
|
+
} | undefined;
|
|
319
|
+
readonly metadata?: {
|
|
320
|
+
readonly [x: string]: unknown;
|
|
321
|
+
} | undefined;
|
|
322
|
+
} | {
|
|
323
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
324
|
+
readonly data: {
|
|
325
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
326
|
+
readonly requestID: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
327
|
+
readonly reply: "once" | "always" | "reject";
|
|
328
|
+
};
|
|
329
|
+
readonly type: "permission.replied";
|
|
330
|
+
readonly created: number;
|
|
331
|
+
readonly location?: {
|
|
332
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
333
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
334
|
+
} | undefined;
|
|
335
|
+
readonly metadata?: {
|
|
336
|
+
readonly [x: string]: unknown;
|
|
337
|
+
} | undefined;
|
|
338
|
+
} | {
|
|
339
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
340
|
+
readonly data: {};
|
|
341
|
+
readonly type: "agent.updated";
|
|
342
|
+
readonly created: number;
|
|
343
|
+
readonly location?: {
|
|
344
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
345
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
346
|
+
} | undefined;
|
|
347
|
+
readonly metadata?: {
|
|
348
|
+
readonly [x: string]: unknown;
|
|
349
|
+
} | undefined;
|
|
350
|
+
} | {
|
|
351
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
352
|
+
readonly data: {
|
|
353
|
+
readonly id: string & import("effect/Brand").Brand<"Project.ID">;
|
|
354
|
+
readonly canonical: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
355
|
+
readonly time: {
|
|
356
|
+
readonly created: number;
|
|
357
|
+
readonly updated: number;
|
|
358
|
+
readonly initialized?: number | undefined;
|
|
359
|
+
};
|
|
360
|
+
readonly sandboxes: readonly string[];
|
|
361
|
+
readonly name?: string | undefined;
|
|
362
|
+
readonly vcs?: string | undefined;
|
|
363
|
+
readonly icon?: {
|
|
364
|
+
readonly url?: string | undefined;
|
|
365
|
+
readonly color?: string | undefined;
|
|
366
|
+
readonly override?: string | undefined;
|
|
367
|
+
} | undefined;
|
|
368
|
+
readonly commands?: {
|
|
369
|
+
readonly start?: string | undefined;
|
|
370
|
+
} | undefined;
|
|
371
|
+
};
|
|
372
|
+
readonly type: "project.updated";
|
|
373
|
+
readonly created: number;
|
|
374
|
+
readonly location?: {
|
|
375
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
376
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
377
|
+
} | undefined;
|
|
378
|
+
readonly metadata?: {
|
|
379
|
+
readonly [x: string]: unknown;
|
|
380
|
+
} | undefined;
|
|
381
|
+
} | {
|
|
382
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
383
|
+
readonly data: {
|
|
384
|
+
readonly info: {
|
|
385
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
386
|
+
readonly metadata: {
|
|
387
|
+
readonly [x: string]: unknown;
|
|
388
|
+
};
|
|
389
|
+
readonly command: string;
|
|
390
|
+
readonly status: "running" | "exited" | "timeout" | "killed";
|
|
391
|
+
readonly time: {
|
|
392
|
+
readonly started: number;
|
|
393
|
+
readonly completed?: number | undefined;
|
|
394
|
+
};
|
|
395
|
+
readonly cwd: string;
|
|
396
|
+
readonly shell: string;
|
|
397
|
+
readonly file: string;
|
|
398
|
+
readonly pid?: number | undefined;
|
|
399
|
+
readonly exit?: number | undefined;
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
readonly type: "shell.created";
|
|
403
|
+
readonly created: number;
|
|
404
|
+
readonly location?: {
|
|
405
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
406
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
407
|
+
} | undefined;
|
|
408
|
+
readonly metadata?: {
|
|
409
|
+
readonly [x: string]: unknown;
|
|
410
|
+
} | undefined;
|
|
411
|
+
} | {
|
|
412
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
413
|
+
readonly data: {
|
|
414
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
415
|
+
readonly status: "running" | "exited" | "timeout" | "killed";
|
|
416
|
+
readonly exit?: number | undefined;
|
|
417
|
+
};
|
|
418
|
+
readonly type: "shell.exited";
|
|
419
|
+
readonly created: number;
|
|
420
|
+
readonly location?: {
|
|
421
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
422
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
423
|
+
} | undefined;
|
|
424
|
+
readonly metadata?: {
|
|
425
|
+
readonly [x: string]: unknown;
|
|
426
|
+
} | undefined;
|
|
427
|
+
} | {
|
|
428
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
429
|
+
readonly data: {
|
|
430
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
431
|
+
};
|
|
432
|
+
readonly type: "shell.deleted";
|
|
433
|
+
readonly created: number;
|
|
434
|
+
readonly location?: {
|
|
435
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
436
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
437
|
+
} | undefined;
|
|
438
|
+
readonly metadata?: {
|
|
439
|
+
readonly [x: string]: unknown;
|
|
440
|
+
} | undefined;
|
|
441
|
+
} | {
|
|
442
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
443
|
+
readonly data: {
|
|
444
|
+
readonly location: {
|
|
445
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
446
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
447
|
+
};
|
|
448
|
+
readonly version: string;
|
|
449
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
450
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
451
|
+
readonly slug: string;
|
|
452
|
+
readonly metadata?: {
|
|
453
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
454
|
+
} | undefined;
|
|
455
|
+
readonly title?: string | undefined;
|
|
456
|
+
readonly model?: {
|
|
457
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
458
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
459
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
460
|
+
} | undefined;
|
|
461
|
+
readonly permissions?: readonly {
|
|
462
|
+
readonly action: string;
|
|
463
|
+
readonly resource: string;
|
|
464
|
+
readonly effect: "allow" | "deny" | "ask";
|
|
465
|
+
}[] | undefined;
|
|
466
|
+
readonly agent?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
467
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
468
|
+
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
469
|
+
};
|
|
470
|
+
readonly durable: {
|
|
471
|
+
readonly aggregateID: string;
|
|
472
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
473
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
474
|
+
};
|
|
475
|
+
readonly type: "session.created";
|
|
476
|
+
readonly created: number;
|
|
477
|
+
readonly location?: {
|
|
478
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
479
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
480
|
+
} | undefined;
|
|
481
|
+
readonly metadata?: {
|
|
482
|
+
readonly [x: string]: unknown;
|
|
483
|
+
} | undefined;
|
|
484
|
+
} | {
|
|
485
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
486
|
+
readonly data: {
|
|
487
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
488
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
489
|
+
readonly previous?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
490
|
+
};
|
|
491
|
+
readonly durable: {
|
|
492
|
+
readonly aggregateID: string;
|
|
493
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
494
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
495
|
+
};
|
|
496
|
+
readonly type: "session.agent.selected";
|
|
497
|
+
readonly created: number;
|
|
498
|
+
readonly location?: {
|
|
499
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
500
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
501
|
+
} | undefined;
|
|
502
|
+
readonly metadata?: {
|
|
503
|
+
readonly [x: string]: unknown;
|
|
504
|
+
} | undefined;
|
|
505
|
+
} | {
|
|
506
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
507
|
+
readonly data: {
|
|
508
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
509
|
+
readonly model: {
|
|
510
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
511
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
512
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
513
|
+
};
|
|
514
|
+
readonly previous?: {
|
|
515
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
516
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
517
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
518
|
+
} | undefined;
|
|
519
|
+
};
|
|
520
|
+
readonly durable: {
|
|
521
|
+
readonly aggregateID: string;
|
|
522
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
523
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
524
|
+
};
|
|
525
|
+
readonly type: "session.model.selected";
|
|
526
|
+
readonly created: number;
|
|
527
|
+
readonly location?: {
|
|
528
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
529
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
530
|
+
} | undefined;
|
|
531
|
+
readonly metadata?: {
|
|
532
|
+
readonly [x: string]: unknown;
|
|
533
|
+
} | undefined;
|
|
534
|
+
} | {
|
|
535
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
536
|
+
readonly data: {
|
|
537
|
+
readonly location: {
|
|
538
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
539
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
540
|
+
};
|
|
541
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
542
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
543
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
544
|
+
};
|
|
545
|
+
readonly durable: {
|
|
546
|
+
readonly aggregateID: string;
|
|
547
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
548
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
549
|
+
};
|
|
550
|
+
readonly type: "session.moved";
|
|
551
|
+
readonly created: number;
|
|
552
|
+
readonly location?: {
|
|
553
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
554
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
555
|
+
} | undefined;
|
|
556
|
+
readonly metadata?: {
|
|
557
|
+
readonly [x: string]: unknown;
|
|
558
|
+
} | undefined;
|
|
559
|
+
} | {
|
|
560
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
561
|
+
readonly data: {
|
|
562
|
+
readonly title: string;
|
|
563
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
564
|
+
};
|
|
565
|
+
readonly durable: {
|
|
566
|
+
readonly aggregateID: string;
|
|
567
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
568
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
569
|
+
};
|
|
570
|
+
readonly type: "session.renamed";
|
|
571
|
+
readonly created: number;
|
|
572
|
+
readonly location?: {
|
|
573
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
574
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
575
|
+
} | undefined;
|
|
576
|
+
readonly metadata?: {
|
|
577
|
+
readonly [x: string]: unknown;
|
|
578
|
+
} | undefined;
|
|
579
|
+
} | {
|
|
580
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
581
|
+
readonly data: {
|
|
582
|
+
readonly permissions: readonly {
|
|
583
|
+
readonly action: string;
|
|
584
|
+
readonly resource: string;
|
|
585
|
+
readonly effect: "allow" | "deny" | "ask";
|
|
586
|
+
}[];
|
|
587
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
588
|
+
};
|
|
589
|
+
readonly durable: {
|
|
590
|
+
readonly aggregateID: string;
|
|
591
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
592
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
593
|
+
};
|
|
594
|
+
readonly type: "session.permissions.updated";
|
|
595
|
+
readonly created: number;
|
|
596
|
+
readonly location?: {
|
|
597
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
598
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
599
|
+
} | undefined;
|
|
600
|
+
readonly metadata?: {
|
|
601
|
+
readonly [x: string]: unknown;
|
|
602
|
+
} | undefined;
|
|
603
|
+
} | {
|
|
604
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
605
|
+
readonly data: {
|
|
606
|
+
readonly idle: number;
|
|
607
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
608
|
+
};
|
|
609
|
+
readonly durable: {
|
|
610
|
+
readonly aggregateID: string;
|
|
611
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
612
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
613
|
+
};
|
|
614
|
+
readonly type: "session.viewed";
|
|
615
|
+
readonly created: number;
|
|
616
|
+
readonly location?: {
|
|
617
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
618
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
619
|
+
} | undefined;
|
|
620
|
+
readonly metadata?: {
|
|
621
|
+
readonly [x: string]: unknown;
|
|
622
|
+
} | undefined;
|
|
623
|
+
} | {
|
|
624
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
625
|
+
readonly data: {
|
|
626
|
+
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
627
|
+
readonly tokens: {
|
|
628
|
+
readonly input: number;
|
|
629
|
+
readonly output: number;
|
|
630
|
+
readonly reasoning: number;
|
|
631
|
+
readonly cache: {
|
|
632
|
+
readonly read: number;
|
|
633
|
+
readonly write: number;
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
637
|
+
};
|
|
638
|
+
readonly type: "session.usage.updated";
|
|
639
|
+
readonly created: number;
|
|
640
|
+
readonly location?: {
|
|
641
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
642
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
643
|
+
} | undefined;
|
|
644
|
+
readonly metadata?: {
|
|
645
|
+
readonly [x: string]: unknown;
|
|
646
|
+
} | undefined;
|
|
647
|
+
} | {
|
|
648
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
649
|
+
readonly data: {
|
|
650
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
651
|
+
};
|
|
652
|
+
readonly durable: {
|
|
653
|
+
readonly aggregateID: string;
|
|
654
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
655
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
656
|
+
};
|
|
657
|
+
readonly type: "session.deleted";
|
|
658
|
+
readonly created: number;
|
|
659
|
+
readonly location?: {
|
|
660
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
661
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
662
|
+
} | undefined;
|
|
663
|
+
readonly metadata?: {
|
|
664
|
+
readonly [x: string]: unknown;
|
|
665
|
+
} | undefined;
|
|
666
|
+
} | {
|
|
667
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
668
|
+
readonly data: {
|
|
669
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
670
|
+
readonly parentID: string & import("effect/Brand").Brand<"SessionID">;
|
|
671
|
+
readonly boundary: {
|
|
672
|
+
readonly type: "before";
|
|
673
|
+
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
674
|
+
} | {
|
|
675
|
+
readonly type: "through";
|
|
676
|
+
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
677
|
+
};
|
|
678
|
+
readonly instructions?: {
|
|
679
|
+
readonly [x: string & import("effect/Brand").Brand<"Instruction.Key">]: string & import("effect/Brand").Brand<"Instruction.Hash">;
|
|
680
|
+
} | undefined;
|
|
681
|
+
readonly instructionEntries?: readonly {
|
|
682
|
+
readonly removed: boolean;
|
|
683
|
+
readonly key: string;
|
|
684
|
+
readonly value: import("effect/Schema").Json;
|
|
685
|
+
}[] | undefined;
|
|
686
|
+
};
|
|
687
|
+
readonly durable: {
|
|
688
|
+
readonly aggregateID: string;
|
|
689
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
690
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
691
|
+
};
|
|
692
|
+
readonly type: "session.forked";
|
|
693
|
+
readonly created: number;
|
|
694
|
+
readonly location?: {
|
|
695
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
696
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
697
|
+
} | undefined;
|
|
698
|
+
readonly metadata?: {
|
|
699
|
+
readonly [x: string]: unknown;
|
|
700
|
+
} | undefined;
|
|
701
|
+
} | {
|
|
702
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
703
|
+
readonly data: {
|
|
704
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
705
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
706
|
+
};
|
|
707
|
+
readonly durable: {
|
|
708
|
+
readonly aggregateID: string;
|
|
709
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
710
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
711
|
+
};
|
|
712
|
+
readonly type: "session.inbox.delivered";
|
|
713
|
+
readonly created: number;
|
|
714
|
+
readonly location?: {
|
|
715
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
716
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
717
|
+
} | undefined;
|
|
718
|
+
readonly metadata?: {
|
|
719
|
+
readonly [x: string]: unknown;
|
|
720
|
+
} | undefined;
|
|
721
|
+
} | {
|
|
722
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
723
|
+
readonly data: {
|
|
724
|
+
readonly item: {
|
|
725
|
+
readonly type: "user";
|
|
726
|
+
readonly payload: {
|
|
727
|
+
readonly text: string;
|
|
728
|
+
readonly metadata?: {
|
|
729
|
+
readonly [x: string]: unknown;
|
|
730
|
+
} | undefined;
|
|
731
|
+
readonly files?: readonly {
|
|
732
|
+
readonly data: string;
|
|
733
|
+
readonly source: {
|
|
734
|
+
readonly type: "inline";
|
|
735
|
+
} | {
|
|
736
|
+
readonly type: "uri";
|
|
737
|
+
readonly uri: string;
|
|
738
|
+
};
|
|
739
|
+
readonly mime: string;
|
|
740
|
+
readonly description?: string | undefined;
|
|
741
|
+
readonly name?: string | undefined;
|
|
742
|
+
readonly mention?: {
|
|
743
|
+
readonly start: number;
|
|
744
|
+
readonly end: number;
|
|
745
|
+
readonly text: string;
|
|
746
|
+
} | undefined;
|
|
747
|
+
}[] | undefined;
|
|
748
|
+
readonly agents?: readonly {
|
|
749
|
+
readonly name: string;
|
|
750
|
+
readonly mention?: {
|
|
751
|
+
readonly start: number;
|
|
752
|
+
readonly end: number;
|
|
753
|
+
readonly text: string;
|
|
754
|
+
} | undefined;
|
|
755
|
+
}[] | undefined;
|
|
756
|
+
readonly skills?: readonly {
|
|
757
|
+
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
758
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
759
|
+
readonly text?: string | undefined;
|
|
760
|
+
readonly mention?: {
|
|
761
|
+
readonly start: number;
|
|
762
|
+
readonly end: number;
|
|
763
|
+
readonly text: string;
|
|
764
|
+
} | undefined;
|
|
765
|
+
}[] | undefined;
|
|
766
|
+
};
|
|
767
|
+
readonly delivery: "steer" | "queue";
|
|
768
|
+
} | {
|
|
769
|
+
readonly type: "synthetic";
|
|
770
|
+
readonly payload: {
|
|
771
|
+
readonly text: string;
|
|
772
|
+
readonly metadata?: {
|
|
773
|
+
readonly [x: string]: unknown;
|
|
774
|
+
} | undefined;
|
|
775
|
+
readonly description?: string | undefined;
|
|
776
|
+
};
|
|
777
|
+
readonly delivery: "steer" | "queue";
|
|
778
|
+
} | {
|
|
779
|
+
readonly type: "compaction";
|
|
780
|
+
readonly payload: {};
|
|
781
|
+
readonly delivery: "steer" | "queue";
|
|
782
|
+
} | {
|
|
783
|
+
readonly type: "move";
|
|
784
|
+
readonly payload: {
|
|
785
|
+
readonly location: {
|
|
786
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
787
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
788
|
+
};
|
|
789
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
790
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
791
|
+
};
|
|
792
|
+
readonly delivery: "steer" | "queue";
|
|
793
|
+
};
|
|
794
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
795
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
796
|
+
};
|
|
797
|
+
readonly durable: {
|
|
798
|
+
readonly aggregateID: string;
|
|
799
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
800
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
801
|
+
};
|
|
802
|
+
readonly type: "session.inbox.enqueued";
|
|
803
|
+
readonly created: number;
|
|
804
|
+
readonly location?: {
|
|
805
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
806
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
807
|
+
} | undefined;
|
|
808
|
+
readonly metadata?: {
|
|
809
|
+
readonly [x: string]: unknown;
|
|
810
|
+
} | undefined;
|
|
811
|
+
} | {
|
|
812
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
813
|
+
readonly data: {
|
|
814
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
815
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
816
|
+
};
|
|
817
|
+
readonly durable: {
|
|
818
|
+
readonly aggregateID: string;
|
|
819
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
820
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
821
|
+
};
|
|
822
|
+
readonly type: "session.inbox.cancelled";
|
|
823
|
+
readonly created: number;
|
|
824
|
+
readonly location?: {
|
|
825
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
826
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
827
|
+
} | undefined;
|
|
828
|
+
readonly metadata?: {
|
|
829
|
+
readonly [x: string]: unknown;
|
|
830
|
+
} | undefined;
|
|
831
|
+
} | {
|
|
832
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
833
|
+
readonly data: {
|
|
834
|
+
readonly delivery: "steer" | "queue";
|
|
835
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
836
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
837
|
+
};
|
|
838
|
+
readonly durable: {
|
|
839
|
+
readonly aggregateID: string;
|
|
840
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
841
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
842
|
+
};
|
|
843
|
+
readonly type: "session.inbox.delivery.changed";
|
|
844
|
+
readonly created: number;
|
|
845
|
+
readonly location?: {
|
|
846
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
847
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
848
|
+
} | undefined;
|
|
849
|
+
readonly metadata?: {
|
|
850
|
+
readonly [x: string]: unknown;
|
|
851
|
+
} | undefined;
|
|
852
|
+
} | {
|
|
853
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
854
|
+
readonly data: {
|
|
855
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
856
|
+
};
|
|
857
|
+
readonly durable: {
|
|
858
|
+
readonly aggregateID: string;
|
|
859
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
860
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
861
|
+
};
|
|
862
|
+
readonly type: "session.execution.started";
|
|
863
|
+
readonly created: number;
|
|
864
|
+
readonly location?: {
|
|
865
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
866
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
867
|
+
} | undefined;
|
|
868
|
+
readonly metadata?: {
|
|
869
|
+
readonly [x: string]: unknown;
|
|
870
|
+
} | undefined;
|
|
871
|
+
} | {
|
|
872
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
873
|
+
readonly data: {
|
|
874
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
875
|
+
};
|
|
876
|
+
readonly durable: {
|
|
877
|
+
readonly aggregateID: string;
|
|
878
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
879
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
880
|
+
};
|
|
881
|
+
readonly type: "session.execution.succeeded";
|
|
882
|
+
readonly created: number;
|
|
883
|
+
readonly location?: {
|
|
884
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
885
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
886
|
+
} | undefined;
|
|
887
|
+
readonly metadata?: {
|
|
888
|
+
readonly [x: string]: unknown;
|
|
889
|
+
} | undefined;
|
|
890
|
+
} | {
|
|
891
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
892
|
+
readonly data: {
|
|
893
|
+
readonly error: {
|
|
894
|
+
readonly type: string;
|
|
895
|
+
readonly message: string;
|
|
896
|
+
readonly status?: number | undefined;
|
|
897
|
+
};
|
|
898
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
899
|
+
};
|
|
900
|
+
readonly durable: {
|
|
901
|
+
readonly aggregateID: string;
|
|
902
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
903
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
904
|
+
};
|
|
905
|
+
readonly type: "session.execution.failed";
|
|
906
|
+
readonly created: number;
|
|
907
|
+
readonly location?: {
|
|
908
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
909
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
910
|
+
} | undefined;
|
|
911
|
+
readonly metadata?: {
|
|
912
|
+
readonly [x: string]: unknown;
|
|
913
|
+
} | undefined;
|
|
914
|
+
} | {
|
|
915
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
916
|
+
readonly data: {
|
|
917
|
+
readonly reason: "user" | "shutdown" | "superseded" | "inactivity";
|
|
918
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
919
|
+
};
|
|
920
|
+
readonly durable: {
|
|
921
|
+
readonly aggregateID: string;
|
|
922
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
923
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
924
|
+
};
|
|
925
|
+
readonly type: "session.execution.interrupted";
|
|
926
|
+
readonly created: number;
|
|
927
|
+
readonly location?: {
|
|
928
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
929
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
930
|
+
} | undefined;
|
|
931
|
+
readonly metadata?: {
|
|
932
|
+
readonly [x: string]: unknown;
|
|
933
|
+
} | undefined;
|
|
934
|
+
} | {
|
|
935
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
936
|
+
readonly data: {
|
|
937
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
938
|
+
readonly delta: {
|
|
939
|
+
readonly [x: string]: (string & import("effect/Brand").Brand<"Instruction.Hash">) | "removed";
|
|
940
|
+
};
|
|
941
|
+
readonly text?: string | undefined;
|
|
942
|
+
};
|
|
943
|
+
readonly durable: {
|
|
944
|
+
readonly aggregateID: string;
|
|
945
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
946
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
947
|
+
};
|
|
948
|
+
readonly type: "session.instructions.updated";
|
|
949
|
+
readonly created: number;
|
|
950
|
+
readonly location?: {
|
|
951
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
952
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
953
|
+
} | undefined;
|
|
954
|
+
readonly metadata?: {
|
|
955
|
+
readonly [x: string]: unknown;
|
|
956
|
+
} | undefined;
|
|
957
|
+
} | {
|
|
958
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
959
|
+
readonly data: {
|
|
960
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
961
|
+
readonly text: string;
|
|
962
|
+
readonly metadata?: {
|
|
963
|
+
readonly [x: string]: unknown;
|
|
964
|
+
} | undefined;
|
|
965
|
+
readonly description?: string | undefined;
|
|
966
|
+
};
|
|
967
|
+
readonly durable: {
|
|
968
|
+
readonly aggregateID: string;
|
|
969
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
970
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
971
|
+
};
|
|
972
|
+
readonly type: "session.synthetic";
|
|
973
|
+
readonly created: number;
|
|
974
|
+
readonly location?: {
|
|
975
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
976
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
977
|
+
} | undefined;
|
|
978
|
+
readonly metadata?: {
|
|
979
|
+
readonly [x: string]: unknown;
|
|
980
|
+
} | undefined;
|
|
981
|
+
} | {
|
|
982
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
983
|
+
readonly data: {
|
|
984
|
+
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
985
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
986
|
+
readonly text: string;
|
|
987
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
988
|
+
};
|
|
989
|
+
readonly durable: {
|
|
990
|
+
readonly aggregateID: string;
|
|
991
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
992
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
993
|
+
};
|
|
994
|
+
readonly type: "session.skill.activated";
|
|
995
|
+
readonly created: number;
|
|
996
|
+
readonly location?: {
|
|
997
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
998
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
999
|
+
} | undefined;
|
|
1000
|
+
readonly metadata?: {
|
|
1001
|
+
readonly [x: string]: unknown;
|
|
1002
|
+
} | undefined;
|
|
1003
|
+
} | {
|
|
1004
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1005
|
+
readonly data: {
|
|
1006
|
+
readonly shell: {
|
|
1007
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
1008
|
+
readonly metadata: {
|
|
1009
|
+
readonly [x: string]: unknown;
|
|
1010
|
+
};
|
|
1011
|
+
readonly command: string;
|
|
1012
|
+
readonly status: "running" | "exited" | "timeout" | "killed";
|
|
1013
|
+
readonly time: {
|
|
1014
|
+
readonly started: number;
|
|
1015
|
+
readonly completed?: number | undefined;
|
|
1016
|
+
};
|
|
1017
|
+
readonly cwd: string;
|
|
1018
|
+
readonly shell: string;
|
|
1019
|
+
readonly file: string;
|
|
1020
|
+
readonly pid?: number | undefined;
|
|
1021
|
+
readonly exit?: number | undefined;
|
|
1022
|
+
};
|
|
1023
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1024
|
+
};
|
|
1025
|
+
readonly durable: {
|
|
1026
|
+
readonly aggregateID: string;
|
|
1027
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1028
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1029
|
+
};
|
|
1030
|
+
readonly type: "session.shell.started";
|
|
1031
|
+
readonly created: number;
|
|
1032
|
+
readonly location?: {
|
|
1033
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1034
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1035
|
+
} | undefined;
|
|
1036
|
+
readonly metadata?: {
|
|
1037
|
+
readonly [x: string]: unknown;
|
|
1038
|
+
} | undefined;
|
|
1039
|
+
} | {
|
|
1040
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1041
|
+
readonly data: {
|
|
1042
|
+
readonly shell: {
|
|
1043
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
1044
|
+
readonly metadata: {
|
|
1045
|
+
readonly [x: string]: unknown;
|
|
1046
|
+
};
|
|
1047
|
+
readonly command: string;
|
|
1048
|
+
readonly status: "running" | "exited" | "timeout" | "killed";
|
|
1049
|
+
readonly time: {
|
|
1050
|
+
readonly started: number;
|
|
1051
|
+
readonly completed?: number | undefined;
|
|
1052
|
+
};
|
|
1053
|
+
readonly cwd: string;
|
|
1054
|
+
readonly shell: string;
|
|
1055
|
+
readonly file: string;
|
|
1056
|
+
readonly pid?: number | undefined;
|
|
1057
|
+
readonly exit?: number | undefined;
|
|
1058
|
+
};
|
|
1059
|
+
readonly output: {
|
|
1060
|
+
readonly output: string;
|
|
1061
|
+
readonly cursor: number;
|
|
1062
|
+
readonly size: number;
|
|
1063
|
+
readonly truncated: boolean;
|
|
1064
|
+
};
|
|
1065
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1066
|
+
};
|
|
1067
|
+
readonly durable: {
|
|
1068
|
+
readonly aggregateID: string;
|
|
1069
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1070
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1071
|
+
};
|
|
1072
|
+
readonly type: "session.shell.ended";
|
|
1073
|
+
readonly created: number;
|
|
1074
|
+
readonly location?: {
|
|
1075
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1076
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1077
|
+
} | undefined;
|
|
1078
|
+
readonly metadata?: {
|
|
1079
|
+
readonly [x: string]: unknown;
|
|
1080
|
+
} | undefined;
|
|
1081
|
+
} | {
|
|
1082
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1083
|
+
readonly data: {
|
|
1084
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1085
|
+
readonly model: {
|
|
1086
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1087
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1088
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1089
|
+
};
|
|
1090
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
1091
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1092
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1093
|
+
};
|
|
1094
|
+
readonly durable: {
|
|
1095
|
+
readonly aggregateID: string;
|
|
1096
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1097
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1098
|
+
};
|
|
1099
|
+
readonly type: "session.step.started";
|
|
1100
|
+
readonly created: number;
|
|
1101
|
+
readonly location?: {
|
|
1102
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1103
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1104
|
+
} | undefined;
|
|
1105
|
+
readonly metadata?: {
|
|
1106
|
+
readonly [x: string]: unknown;
|
|
1107
|
+
} | undefined;
|
|
1108
|
+
} | {
|
|
1109
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1110
|
+
readonly data: {
|
|
1111
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1112
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1113
|
+
};
|
|
1114
|
+
readonly durable: {
|
|
1115
|
+
readonly aggregateID: string;
|
|
1116
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1117
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1118
|
+
};
|
|
1119
|
+
readonly type: "session.step.streamed";
|
|
1120
|
+
readonly created: number;
|
|
1121
|
+
readonly location?: {
|
|
1122
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1123
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1124
|
+
} | undefined;
|
|
1125
|
+
readonly metadata?: {
|
|
1126
|
+
readonly [x: string]: unknown;
|
|
1127
|
+
} | undefined;
|
|
1128
|
+
} | {
|
|
1129
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1130
|
+
readonly data: {
|
|
1131
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1132
|
+
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
1133
|
+
readonly finish: "length" | "error" | "stop" | "tool-calls" | "content-filter" | "unknown";
|
|
1134
|
+
readonly tokens: {
|
|
1135
|
+
readonly input: number;
|
|
1136
|
+
readonly output: number;
|
|
1137
|
+
readonly reasoning: number;
|
|
1138
|
+
readonly cache: {
|
|
1139
|
+
readonly read: number;
|
|
1140
|
+
readonly write: number;
|
|
1141
|
+
};
|
|
1142
|
+
};
|
|
1143
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1144
|
+
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
1145
|
+
readonly providerState?: {
|
|
1146
|
+
readonly [x: string]: unknown;
|
|
1147
|
+
} | undefined;
|
|
1148
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1149
|
+
readonly rawFinish?: string | undefined;
|
|
1150
|
+
};
|
|
1151
|
+
readonly durable: {
|
|
1152
|
+
readonly aggregateID: string;
|
|
1153
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1154
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1155
|
+
};
|
|
1156
|
+
readonly type: "session.step.ended";
|
|
1157
|
+
readonly created: number;
|
|
1158
|
+
readonly location?: {
|
|
1159
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1160
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1161
|
+
} | undefined;
|
|
1162
|
+
readonly metadata?: {
|
|
1163
|
+
readonly [x: string]: unknown;
|
|
1164
|
+
} | undefined;
|
|
1165
|
+
} | {
|
|
1166
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1167
|
+
readonly data: {
|
|
1168
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1169
|
+
readonly error: {
|
|
1170
|
+
readonly type: string;
|
|
1171
|
+
readonly message: string;
|
|
1172
|
+
readonly status?: number | undefined;
|
|
1173
|
+
};
|
|
1174
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1175
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
1176
|
+
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
1177
|
+
readonly providerState?: {
|
|
1178
|
+
readonly [x: string]: unknown;
|
|
1179
|
+
} | undefined;
|
|
1180
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1181
|
+
readonly finish?: "content-filter" | undefined;
|
|
1182
|
+
readonly rawFinish?: string | undefined;
|
|
1183
|
+
readonly tokens?: {
|
|
1184
|
+
readonly input: number;
|
|
1185
|
+
readonly output: number;
|
|
1186
|
+
readonly reasoning: number;
|
|
1187
|
+
readonly cache: {
|
|
1188
|
+
readonly read: number;
|
|
1189
|
+
readonly write: number;
|
|
1190
|
+
};
|
|
1191
|
+
} | undefined;
|
|
1192
|
+
};
|
|
1193
|
+
readonly durable: {
|
|
1194
|
+
readonly aggregateID: string;
|
|
1195
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1196
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1197
|
+
};
|
|
1198
|
+
readonly type: "session.step.failed";
|
|
1199
|
+
readonly created: number;
|
|
1200
|
+
readonly location?: {
|
|
1201
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1202
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1203
|
+
} | undefined;
|
|
1204
|
+
readonly metadata?: {
|
|
1205
|
+
readonly [x: string]: unknown;
|
|
1206
|
+
} | undefined;
|
|
1207
|
+
} | {
|
|
1208
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1209
|
+
readonly data: {
|
|
1210
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1211
|
+
readonly ordinal: number;
|
|
1212
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1213
|
+
};
|
|
1214
|
+
readonly durable: {
|
|
1215
|
+
readonly aggregateID: string;
|
|
1216
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1217
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1218
|
+
};
|
|
1219
|
+
readonly type: "session.text.started";
|
|
1220
|
+
readonly created: number;
|
|
1221
|
+
readonly location?: {
|
|
1222
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1223
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1224
|
+
} | undefined;
|
|
1225
|
+
readonly metadata?: {
|
|
1226
|
+
readonly [x: string]: unknown;
|
|
1227
|
+
} | undefined;
|
|
1228
|
+
} | {
|
|
1229
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1230
|
+
readonly data: {
|
|
1231
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1232
|
+
readonly ordinal: number;
|
|
1233
|
+
readonly delta: string;
|
|
1234
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1235
|
+
};
|
|
1236
|
+
readonly type: "session.text.delta";
|
|
1237
|
+
readonly created: number;
|
|
1238
|
+
readonly location?: {
|
|
1239
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1240
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1241
|
+
} | undefined;
|
|
1242
|
+
readonly metadata?: {
|
|
1243
|
+
readonly [x: string]: unknown;
|
|
1244
|
+
} | undefined;
|
|
1245
|
+
} | {
|
|
1246
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1247
|
+
readonly data: {
|
|
1248
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1249
|
+
readonly text: string;
|
|
1250
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1251
|
+
readonly ordinal: number;
|
|
1252
|
+
readonly state?: {
|
|
1253
|
+
readonly [x: string]: unknown;
|
|
1254
|
+
} | undefined;
|
|
1255
|
+
};
|
|
1256
|
+
readonly durable: {
|
|
1257
|
+
readonly aggregateID: string;
|
|
1258
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1259
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1260
|
+
};
|
|
1261
|
+
readonly type: "session.text.ended";
|
|
1262
|
+
readonly created: number;
|
|
1263
|
+
readonly location?: {
|
|
1264
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1265
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1266
|
+
} | undefined;
|
|
1267
|
+
readonly metadata?: {
|
|
1268
|
+
readonly [x: string]: unknown;
|
|
1269
|
+
} | undefined;
|
|
1270
|
+
} | {
|
|
1271
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1272
|
+
readonly data: {
|
|
1273
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1274
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1275
|
+
readonly ordinal: number;
|
|
1276
|
+
readonly state?: {
|
|
1277
|
+
readonly [x: string]: unknown;
|
|
1278
|
+
} | undefined;
|
|
1279
|
+
};
|
|
1280
|
+
readonly durable: {
|
|
1281
|
+
readonly aggregateID: string;
|
|
1282
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1283
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1284
|
+
};
|
|
1285
|
+
readonly type: "session.reasoning.started";
|
|
1286
|
+
readonly created: number;
|
|
1287
|
+
readonly location?: {
|
|
1288
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1289
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1290
|
+
} | undefined;
|
|
1291
|
+
readonly metadata?: {
|
|
1292
|
+
readonly [x: string]: unknown;
|
|
1293
|
+
} | undefined;
|
|
1294
|
+
} | {
|
|
1295
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1296
|
+
readonly data: {
|
|
1297
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1298
|
+
readonly ordinal: number;
|
|
1299
|
+
readonly delta: string;
|
|
1300
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1301
|
+
};
|
|
1302
|
+
readonly type: "session.reasoning.delta";
|
|
1303
|
+
readonly created: number;
|
|
1304
|
+
readonly location?: {
|
|
1305
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1306
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1307
|
+
} | undefined;
|
|
1308
|
+
readonly metadata?: {
|
|
1309
|
+
readonly [x: string]: unknown;
|
|
1310
|
+
} | undefined;
|
|
1311
|
+
} | {
|
|
1312
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1313
|
+
readonly data: {
|
|
1314
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1315
|
+
readonly text: string;
|
|
1316
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1317
|
+
readonly ordinal: number;
|
|
1318
|
+
readonly state?: {
|
|
1319
|
+
readonly [x: string]: unknown;
|
|
1320
|
+
} | undefined;
|
|
1321
|
+
};
|
|
1322
|
+
readonly durable: {
|
|
1323
|
+
readonly aggregateID: string;
|
|
1324
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1325
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1326
|
+
};
|
|
1327
|
+
readonly type: "session.reasoning.ended";
|
|
1328
|
+
readonly created: number;
|
|
1329
|
+
readonly location?: {
|
|
1330
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1331
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1332
|
+
} | undefined;
|
|
1333
|
+
readonly metadata?: {
|
|
1334
|
+
readonly [x: string]: unknown;
|
|
1335
|
+
} | undefined;
|
|
1336
|
+
} | {
|
|
1337
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1338
|
+
readonly data: {
|
|
1339
|
+
readonly name: string;
|
|
1340
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1341
|
+
readonly id: string;
|
|
1342
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1343
|
+
};
|
|
1344
|
+
readonly durable: {
|
|
1345
|
+
readonly aggregateID: string;
|
|
1346
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1347
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1348
|
+
};
|
|
1349
|
+
readonly type: "session.tool.input.started";
|
|
1350
|
+
readonly created: number;
|
|
1351
|
+
readonly location?: {
|
|
1352
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1353
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1354
|
+
} | undefined;
|
|
1355
|
+
readonly metadata?: {
|
|
1356
|
+
readonly [x: string]: unknown;
|
|
1357
|
+
} | undefined;
|
|
1358
|
+
} | {
|
|
1359
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1360
|
+
readonly data: {
|
|
1361
|
+
readonly delta: string;
|
|
1362
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1363
|
+
readonly id: string;
|
|
1364
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1365
|
+
};
|
|
1366
|
+
readonly type: "session.tool.input.delta";
|
|
1367
|
+
readonly created: number;
|
|
1368
|
+
readonly location?: {
|
|
1369
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1370
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1371
|
+
} | undefined;
|
|
1372
|
+
readonly metadata?: {
|
|
1373
|
+
readonly [x: string]: unknown;
|
|
1374
|
+
} | undefined;
|
|
1375
|
+
} | {
|
|
1376
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1377
|
+
readonly data: {
|
|
1378
|
+
readonly text: string;
|
|
1379
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1380
|
+
readonly id: string;
|
|
1381
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1382
|
+
};
|
|
1383
|
+
readonly durable: {
|
|
1384
|
+
readonly aggregateID: string;
|
|
1385
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1386
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1387
|
+
};
|
|
1388
|
+
readonly type: "session.tool.input.ended";
|
|
1389
|
+
readonly created: number;
|
|
1390
|
+
readonly location?: {
|
|
1391
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1392
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1393
|
+
} | undefined;
|
|
1394
|
+
readonly metadata?: {
|
|
1395
|
+
readonly [x: string]: unknown;
|
|
1396
|
+
} | undefined;
|
|
1397
|
+
} | {
|
|
1398
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1399
|
+
readonly data: {
|
|
1400
|
+
readonly id: string;
|
|
1401
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1402
|
+
readonly input: {
|
|
1403
|
+
readonly [x: string]: unknown;
|
|
1404
|
+
};
|
|
1405
|
+
readonly executed: boolean;
|
|
1406
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1407
|
+
readonly state?: {
|
|
1408
|
+
readonly [x: string]: unknown;
|
|
1409
|
+
} | undefined;
|
|
1410
|
+
};
|
|
1411
|
+
readonly durable: {
|
|
1412
|
+
readonly aggregateID: string;
|
|
1413
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1414
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1415
|
+
};
|
|
1416
|
+
readonly type: "session.tool.called";
|
|
1417
|
+
readonly created: number;
|
|
1418
|
+
readonly location?: {
|
|
1419
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1420
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1421
|
+
} | undefined;
|
|
1422
|
+
readonly metadata?: {
|
|
1423
|
+
readonly [x: string]: unknown;
|
|
1424
|
+
} | undefined;
|
|
1425
|
+
} | {
|
|
1426
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1427
|
+
readonly data: {
|
|
1428
|
+
readonly metadata: {
|
|
1429
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
1430
|
+
};
|
|
1431
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1432
|
+
readonly id: string;
|
|
1433
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1434
|
+
};
|
|
1435
|
+
readonly type: "session.tool.progress";
|
|
1436
|
+
readonly created: number;
|
|
1437
|
+
readonly location?: {
|
|
1438
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1439
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1440
|
+
} | undefined;
|
|
1441
|
+
readonly metadata?: {
|
|
1442
|
+
readonly [x: string]: unknown;
|
|
1443
|
+
} | undefined;
|
|
1444
|
+
} | {
|
|
1445
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1446
|
+
readonly data: {
|
|
1447
|
+
readonly id: string;
|
|
1448
|
+
readonly content: readonly [{
|
|
1449
|
+
readonly type: "text";
|
|
1450
|
+
readonly text: string;
|
|
1451
|
+
} | {
|
|
1452
|
+
readonly type: "file";
|
|
1453
|
+
readonly uri: string;
|
|
1454
|
+
readonly mime: string;
|
|
1455
|
+
readonly name?: string | undefined;
|
|
1456
|
+
}, ...({
|
|
1457
|
+
readonly type: "text";
|
|
1458
|
+
readonly text: string;
|
|
1459
|
+
} | {
|
|
1460
|
+
readonly type: "file";
|
|
1461
|
+
readonly uri: string;
|
|
1462
|
+
readonly mime: string;
|
|
1463
|
+
readonly name?: string | undefined;
|
|
1464
|
+
})[]];
|
|
1465
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1466
|
+
readonly executed: boolean;
|
|
1467
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1468
|
+
readonly metadata?: {
|
|
1469
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
1470
|
+
} | undefined;
|
|
1471
|
+
readonly resultState?: {
|
|
1472
|
+
readonly [x: string]: unknown;
|
|
1473
|
+
} | undefined;
|
|
1474
|
+
};
|
|
1475
|
+
readonly durable: {
|
|
1476
|
+
readonly aggregateID: string;
|
|
1477
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1478
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1479
|
+
};
|
|
1480
|
+
readonly type: "session.tool.success";
|
|
1481
|
+
readonly created: number;
|
|
1482
|
+
readonly location?: {
|
|
1483
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1484
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1485
|
+
} | undefined;
|
|
1486
|
+
readonly metadata?: {
|
|
1487
|
+
readonly [x: string]: unknown;
|
|
1488
|
+
} | undefined;
|
|
1489
|
+
} | {
|
|
1490
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1491
|
+
readonly data: {
|
|
1492
|
+
readonly id: string;
|
|
1493
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1494
|
+
readonly error: {
|
|
1495
|
+
readonly type: string;
|
|
1496
|
+
readonly message: string;
|
|
1497
|
+
readonly status?: number | undefined;
|
|
1498
|
+
};
|
|
1499
|
+
readonly executed: boolean;
|
|
1500
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1501
|
+
readonly metadata?: {
|
|
1502
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
1503
|
+
} | undefined;
|
|
1504
|
+
readonly content?: readonly [{
|
|
1505
|
+
readonly type: "text";
|
|
1506
|
+
readonly text: string;
|
|
1507
|
+
} | {
|
|
1508
|
+
readonly type: "file";
|
|
1509
|
+
readonly uri: string;
|
|
1510
|
+
readonly mime: string;
|
|
1511
|
+
readonly name?: string | undefined;
|
|
1512
|
+
}, ...({
|
|
1513
|
+
readonly type: "text";
|
|
1514
|
+
readonly text: string;
|
|
1515
|
+
} | {
|
|
1516
|
+
readonly type: "file";
|
|
1517
|
+
readonly uri: string;
|
|
1518
|
+
readonly mime: string;
|
|
1519
|
+
readonly name?: string | undefined;
|
|
1520
|
+
})[]] | undefined;
|
|
1521
|
+
readonly resultState?: {
|
|
1522
|
+
readonly [x: string]: unknown;
|
|
1523
|
+
} | undefined;
|
|
1524
|
+
};
|
|
1525
|
+
readonly durable: {
|
|
1526
|
+
readonly aggregateID: string;
|
|
1527
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1528
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1529
|
+
};
|
|
1530
|
+
readonly type: "session.tool.failed";
|
|
1531
|
+
readonly created: number;
|
|
1532
|
+
readonly location?: {
|
|
1533
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1534
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1535
|
+
} | undefined;
|
|
1536
|
+
readonly metadata?: {
|
|
1537
|
+
readonly [x: string]: unknown;
|
|
1538
|
+
} | undefined;
|
|
1539
|
+
} | {
|
|
1540
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1541
|
+
readonly data: {
|
|
1542
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1543
|
+
readonly attempt: number;
|
|
1544
|
+
readonly at: number;
|
|
1545
|
+
readonly error: {
|
|
1546
|
+
readonly type: string;
|
|
1547
|
+
readonly message: string;
|
|
1548
|
+
readonly status?: number | undefined;
|
|
1549
|
+
};
|
|
1550
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1551
|
+
};
|
|
1552
|
+
readonly durable: {
|
|
1553
|
+
readonly aggregateID: string;
|
|
1554
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1555
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1556
|
+
};
|
|
1557
|
+
readonly type: "session.retry.scheduled";
|
|
1558
|
+
readonly created: number;
|
|
1559
|
+
readonly location?: {
|
|
1560
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1561
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1562
|
+
} | undefined;
|
|
1563
|
+
readonly metadata?: {
|
|
1564
|
+
readonly [x: string]: unknown;
|
|
1565
|
+
} | undefined;
|
|
1566
|
+
} | {
|
|
1567
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1568
|
+
readonly data: {
|
|
1569
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1570
|
+
readonly reason: "auto" | "manual";
|
|
1571
|
+
readonly recent: string;
|
|
1572
|
+
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
1573
|
+
};
|
|
1574
|
+
readonly durable: {
|
|
1575
|
+
readonly aggregateID: string;
|
|
1576
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1577
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1578
|
+
};
|
|
1579
|
+
readonly type: "session.compaction.started";
|
|
1580
|
+
readonly created: number;
|
|
1581
|
+
readonly location?: {
|
|
1582
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1583
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1584
|
+
} | undefined;
|
|
1585
|
+
readonly metadata?: {
|
|
1586
|
+
readonly [x: string]: unknown;
|
|
1587
|
+
} | undefined;
|
|
1588
|
+
} | {
|
|
1589
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1590
|
+
readonly data: {
|
|
1591
|
+
readonly text: string;
|
|
1592
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1593
|
+
};
|
|
1594
|
+
readonly type: "session.compaction.delta";
|
|
1595
|
+
readonly created: number;
|
|
1596
|
+
readonly location?: {
|
|
1597
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1598
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1599
|
+
} | undefined;
|
|
1600
|
+
readonly metadata?: {
|
|
1601
|
+
readonly [x: string]: unknown;
|
|
1602
|
+
} | undefined;
|
|
1603
|
+
} | {
|
|
1604
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1605
|
+
readonly data: {
|
|
1606
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1607
|
+
readonly text: string;
|
|
1608
|
+
readonly reason: "auto" | "manual";
|
|
1609
|
+
readonly recent: string;
|
|
1610
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
1611
|
+
readonly model?: {
|
|
1612
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1613
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1614
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1615
|
+
} | undefined;
|
|
1616
|
+
readonly providerState?: {
|
|
1617
|
+
readonly [x: string]: unknown;
|
|
1618
|
+
} | undefined;
|
|
1619
|
+
readonly tokens?: {
|
|
1620
|
+
readonly input: number;
|
|
1621
|
+
readonly output: number;
|
|
1622
|
+
readonly reasoning: number;
|
|
1623
|
+
readonly cache: {
|
|
1624
|
+
readonly read: number;
|
|
1625
|
+
readonly write: number;
|
|
1626
|
+
};
|
|
1627
|
+
} | undefined;
|
|
1628
|
+
readonly providerContext?: {
|
|
1629
|
+
readonly version: 1;
|
|
1630
|
+
readonly provenance: {
|
|
1631
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1632
|
+
readonly provider: string;
|
|
1633
|
+
readonly modelID: string;
|
|
1634
|
+
readonly route: string;
|
|
1635
|
+
readonly protocol: string;
|
|
1636
|
+
readonly endpoint: string;
|
|
1637
|
+
};
|
|
1638
|
+
readonly messages: import("effect/Schema").Json;
|
|
1639
|
+
} | undefined;
|
|
1640
|
+
};
|
|
1641
|
+
readonly durable: {
|
|
1642
|
+
readonly aggregateID: string;
|
|
1643
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1644
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1645
|
+
};
|
|
1646
|
+
readonly type: "session.compaction.ended";
|
|
1647
|
+
readonly created: number;
|
|
1648
|
+
readonly location?: {
|
|
1649
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1650
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1651
|
+
} | undefined;
|
|
1652
|
+
readonly metadata?: {
|
|
1653
|
+
readonly [x: string]: unknown;
|
|
1654
|
+
} | undefined;
|
|
1655
|
+
} | {
|
|
1656
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1657
|
+
readonly data: {
|
|
1658
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1659
|
+
readonly error: {
|
|
1660
|
+
readonly type: string;
|
|
1661
|
+
readonly message: string;
|
|
1662
|
+
readonly status?: number | undefined;
|
|
1663
|
+
};
|
|
1664
|
+
readonly reason: "auto" | "manual";
|
|
1665
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
1666
|
+
readonly tokens?: {
|
|
1667
|
+
readonly input: number;
|
|
1668
|
+
readonly output: number;
|
|
1669
|
+
readonly reasoning: number;
|
|
1670
|
+
readonly cache: {
|
|
1671
|
+
readonly read: number;
|
|
1672
|
+
readonly write: number;
|
|
1673
|
+
};
|
|
1674
|
+
} | undefined;
|
|
1675
|
+
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
1676
|
+
};
|
|
1677
|
+
readonly durable: {
|
|
1678
|
+
readonly aggregateID: string;
|
|
1679
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1680
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1681
|
+
};
|
|
1682
|
+
readonly type: "session.compaction.failed";
|
|
1683
|
+
readonly created: number;
|
|
1684
|
+
readonly location?: {
|
|
1685
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1686
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1687
|
+
} | undefined;
|
|
1688
|
+
readonly metadata?: {
|
|
1689
|
+
readonly [x: string]: unknown;
|
|
1690
|
+
} | undefined;
|
|
1691
|
+
} | {
|
|
1692
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1693
|
+
readonly data: {
|
|
1694
|
+
readonly revert: {
|
|
1695
|
+
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1696
|
+
readonly files?: readonly {
|
|
1697
|
+
readonly file: string;
|
|
1698
|
+
readonly patch: string;
|
|
1699
|
+
readonly additions: number;
|
|
1700
|
+
readonly deletions: number;
|
|
1701
|
+
readonly status: "added" | "deleted" | "modified";
|
|
1702
|
+
}[] | undefined;
|
|
1703
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1704
|
+
readonly partID?: string | undefined;
|
|
1705
|
+
};
|
|
1706
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1707
|
+
};
|
|
1708
|
+
readonly durable: {
|
|
1709
|
+
readonly aggregateID: string;
|
|
1710
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1711
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1712
|
+
};
|
|
1713
|
+
readonly type: "session.revert.staged";
|
|
1714
|
+
readonly created: number;
|
|
1715
|
+
readonly location?: {
|
|
1716
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1717
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1718
|
+
} | undefined;
|
|
1719
|
+
readonly metadata?: {
|
|
1720
|
+
readonly [x: string]: unknown;
|
|
1721
|
+
} | undefined;
|
|
1722
|
+
} | {
|
|
1723
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1724
|
+
readonly data: {
|
|
1725
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1726
|
+
};
|
|
1727
|
+
readonly durable: {
|
|
1728
|
+
readonly aggregateID: string;
|
|
1729
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1730
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1731
|
+
};
|
|
1732
|
+
readonly type: "session.revert.cleared";
|
|
1733
|
+
readonly created: number;
|
|
1734
|
+
readonly location?: {
|
|
1735
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1736
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1737
|
+
} | undefined;
|
|
1738
|
+
readonly metadata?: {
|
|
1739
|
+
readonly [x: string]: unknown;
|
|
1740
|
+
} | undefined;
|
|
1741
|
+
} | {
|
|
1742
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1743
|
+
readonly data: {
|
|
1744
|
+
readonly to: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1745
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1746
|
+
};
|
|
1747
|
+
readonly durable: {
|
|
1748
|
+
readonly aggregateID: string;
|
|
1749
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1750
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1751
|
+
};
|
|
1752
|
+
readonly type: "session.revert.committed";
|
|
1753
|
+
readonly created: number;
|
|
1754
|
+
readonly location?: {
|
|
1755
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1756
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1757
|
+
} | undefined;
|
|
1758
|
+
readonly metadata?: {
|
|
1759
|
+
readonly [x: string]: unknown;
|
|
1760
|
+
} | undefined;
|
|
1761
|
+
} | {
|
|
1762
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1763
|
+
readonly data: {
|
|
1764
|
+
readonly file: string;
|
|
1765
|
+
readonly event: "add" | "change" | "unlink";
|
|
1766
|
+
};
|
|
1767
|
+
readonly type: "filesystem.changed";
|
|
1768
|
+
readonly created: number;
|
|
1769
|
+
readonly location?: {
|
|
1770
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1771
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1772
|
+
} | undefined;
|
|
1773
|
+
readonly metadata?: {
|
|
1774
|
+
readonly [x: string]: unknown;
|
|
1775
|
+
} | undefined;
|
|
1776
|
+
} | {
|
|
1777
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1778
|
+
readonly data: {};
|
|
1779
|
+
readonly type: "command.updated";
|
|
1780
|
+
readonly created: number;
|
|
1781
|
+
readonly location?: {
|
|
1782
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1783
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1784
|
+
} | undefined;
|
|
1785
|
+
readonly metadata?: {
|
|
1786
|
+
readonly [x: string]: unknown;
|
|
1787
|
+
} | undefined;
|
|
1788
|
+
} | {
|
|
1789
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1790
|
+
readonly data: {};
|
|
1791
|
+
readonly type: "catalog.updated";
|
|
1792
|
+
readonly created: number;
|
|
1793
|
+
readonly location?: {
|
|
1794
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1795
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1796
|
+
} | undefined;
|
|
1797
|
+
readonly metadata?: {
|
|
1798
|
+
readonly [x: string]: unknown;
|
|
1799
|
+
} | undefined;
|
|
1800
|
+
} | {
|
|
1801
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1802
|
+
readonly data: {};
|
|
1803
|
+
readonly type: "websearch.updated";
|
|
1804
|
+
readonly created: number;
|
|
1805
|
+
readonly location?: {
|
|
1806
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1807
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1808
|
+
} | undefined;
|
|
1809
|
+
readonly metadata?: {
|
|
1810
|
+
readonly [x: string]: unknown;
|
|
1811
|
+
} | undefined;
|
|
1812
|
+
} | {
|
|
1813
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1814
|
+
readonly data: {};
|
|
1815
|
+
readonly type: "config.updated";
|
|
1816
|
+
readonly created: number;
|
|
1817
|
+
readonly location?: {
|
|
1818
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1819
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1820
|
+
} | undefined;
|
|
1821
|
+
readonly metadata?: {
|
|
1822
|
+
readonly [x: string]: unknown;
|
|
1823
|
+
} | undefined;
|
|
1824
|
+
} | {
|
|
1825
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1826
|
+
readonly data: {
|
|
1827
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1828
|
+
};
|
|
1829
|
+
readonly type: "worktree.updated";
|
|
1830
|
+
readonly created: number;
|
|
1831
|
+
readonly location?: {
|
|
1832
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1833
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1834
|
+
} | undefined;
|
|
1835
|
+
readonly metadata?: {
|
|
1836
|
+
readonly [x: string]: unknown;
|
|
1837
|
+
} | undefined;
|
|
1838
|
+
} | {
|
|
1839
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1840
|
+
readonly data: {
|
|
1841
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1842
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1843
|
+
readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1844
|
+
readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
|
|
1845
|
+
};
|
|
1846
|
+
readonly durable: {
|
|
1847
|
+
readonly aggregateID: string;
|
|
1848
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1849
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1850
|
+
};
|
|
1851
|
+
readonly type: "worktree.resolved";
|
|
1852
|
+
readonly created: number;
|
|
1853
|
+
readonly location?: {
|
|
1854
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1855
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1856
|
+
} | undefined;
|
|
1857
|
+
readonly metadata?: {
|
|
1858
|
+
readonly [x: string]: unknown;
|
|
1859
|
+
} | undefined;
|
|
1860
|
+
} | {
|
|
1861
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1862
|
+
readonly data: {
|
|
1863
|
+
readonly version: string;
|
|
1864
|
+
};
|
|
1865
|
+
readonly type: "installation.updated";
|
|
1866
|
+
readonly created: number;
|
|
1867
|
+
readonly location?: {
|
|
1868
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1869
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1870
|
+
} | undefined;
|
|
1871
|
+
readonly metadata?: {
|
|
1872
|
+
readonly [x: string]: unknown;
|
|
1873
|
+
} | undefined;
|
|
1874
|
+
} | {
|
|
1875
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1876
|
+
readonly data: {
|
|
1877
|
+
readonly version: string;
|
|
1878
|
+
};
|
|
1879
|
+
readonly type: "installation.update-available";
|
|
1880
|
+
readonly created: number;
|
|
1881
|
+
readonly location?: {
|
|
1882
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1883
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1884
|
+
} | undefined;
|
|
1885
|
+
readonly metadata?: {
|
|
1886
|
+
readonly [x: string]: unknown;
|
|
1887
|
+
} | undefined;
|
|
1888
|
+
} | {
|
|
1889
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1890
|
+
readonly data: {
|
|
1891
|
+
readonly server: string;
|
|
1892
|
+
};
|
|
1893
|
+
readonly type: "mcp.resources.changed";
|
|
1894
|
+
readonly created: number;
|
|
1895
|
+
readonly location?: {
|
|
1896
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1897
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1898
|
+
} | undefined;
|
|
1899
|
+
readonly metadata?: {
|
|
1900
|
+
readonly [x: string]: unknown;
|
|
1901
|
+
} | undefined;
|
|
1902
|
+
} | {
|
|
1903
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1904
|
+
readonly data: {
|
|
1905
|
+
readonly server: string;
|
|
1906
|
+
};
|
|
1907
|
+
readonly type: "mcp.status.changed";
|
|
1908
|
+
readonly created: number;
|
|
1909
|
+
readonly location?: {
|
|
1910
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1911
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1912
|
+
} | undefined;
|
|
1913
|
+
readonly metadata?: {
|
|
1914
|
+
readonly [x: string]: unknown;
|
|
1915
|
+
} | undefined;
|
|
1916
|
+
} | {
|
|
1917
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1918
|
+
readonly data: {};
|
|
1919
|
+
readonly type: "models-dev.refreshed";
|
|
1920
|
+
readonly created: number;
|
|
1921
|
+
readonly location?: {
|
|
1922
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1923
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1924
|
+
} | undefined;
|
|
1925
|
+
readonly metadata?: {
|
|
1926
|
+
readonly [x: string]: unknown;
|
|
1927
|
+
} | undefined;
|
|
1928
|
+
} | {
|
|
1929
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1930
|
+
readonly data: {
|
|
1931
|
+
readonly info: {
|
|
1932
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
1933
|
+
readonly command: string;
|
|
1934
|
+
readonly title: string;
|
|
1935
|
+
readonly status: "running" | "exited";
|
|
1936
|
+
readonly pid: number;
|
|
1937
|
+
readonly cwd: string;
|
|
1938
|
+
readonly args: readonly string[];
|
|
1939
|
+
readonly exitCode?: number | undefined;
|
|
1940
|
+
};
|
|
1941
|
+
};
|
|
1942
|
+
readonly type: "pty.created";
|
|
1943
|
+
readonly created: number;
|
|
1944
|
+
readonly location?: {
|
|
1945
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1946
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1947
|
+
} | undefined;
|
|
1948
|
+
readonly metadata?: {
|
|
1949
|
+
readonly [x: string]: unknown;
|
|
1950
|
+
} | undefined;
|
|
1951
|
+
} | {
|
|
1952
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1953
|
+
readonly data: {
|
|
1954
|
+
readonly info: {
|
|
1955
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
1956
|
+
readonly command: string;
|
|
1957
|
+
readonly title: string;
|
|
1958
|
+
readonly status: "running" | "exited";
|
|
1959
|
+
readonly pid: number;
|
|
1960
|
+
readonly cwd: string;
|
|
1961
|
+
readonly args: readonly string[];
|
|
1962
|
+
readonly exitCode?: number | undefined;
|
|
1963
|
+
};
|
|
1964
|
+
};
|
|
1965
|
+
readonly type: "pty.updated";
|
|
1966
|
+
readonly created: number;
|
|
1967
|
+
readonly location?: {
|
|
1968
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1969
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1970
|
+
} | undefined;
|
|
1971
|
+
readonly metadata?: {
|
|
1972
|
+
readonly [x: string]: unknown;
|
|
1973
|
+
} | undefined;
|
|
1974
|
+
} | {
|
|
1975
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1976
|
+
readonly data: {
|
|
1977
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
1978
|
+
readonly exitCode: number;
|
|
1979
|
+
};
|
|
1980
|
+
readonly type: "pty.exited";
|
|
1981
|
+
readonly created: number;
|
|
1982
|
+
readonly location?: {
|
|
1983
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1984
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1985
|
+
} | undefined;
|
|
1986
|
+
readonly metadata?: {
|
|
1987
|
+
readonly [x: string]: unknown;
|
|
1988
|
+
} | undefined;
|
|
1989
|
+
} | {
|
|
1990
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1991
|
+
readonly data: {
|
|
1992
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
1993
|
+
};
|
|
1994
|
+
readonly type: "pty.deleted";
|
|
1995
|
+
readonly created: number;
|
|
1996
|
+
readonly location?: {
|
|
1997
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1998
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1999
|
+
} | undefined;
|
|
2000
|
+
readonly metadata?: {
|
|
2001
|
+
readonly [x: string]: unknown;
|
|
2002
|
+
} | undefined;
|
|
2003
|
+
} | {
|
|
2004
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2005
|
+
readonly data: {
|
|
2006
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2007
|
+
readonly terminal: {
|
|
2008
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
2009
|
+
readonly size: {
|
|
2010
|
+
readonly cols: number;
|
|
2011
|
+
readonly rows: number;
|
|
2012
|
+
};
|
|
2013
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2014
|
+
readonly command: string;
|
|
2015
|
+
readonly title: string;
|
|
2016
|
+
readonly status: "running" | "exited";
|
|
2017
|
+
readonly output: {
|
|
2018
|
+
readonly head: number;
|
|
2019
|
+
readonly tail: number;
|
|
2020
|
+
};
|
|
2021
|
+
readonly pid: number;
|
|
2022
|
+
readonly cwd: string;
|
|
2023
|
+
readonly args: readonly string[];
|
|
2024
|
+
readonly foregroundProcess: string | null;
|
|
2025
|
+
readonly exitCode?: number | undefined;
|
|
2026
|
+
};
|
|
2027
|
+
};
|
|
2028
|
+
readonly type: "persistent-pty.added";
|
|
2029
|
+
readonly created: number;
|
|
2030
|
+
readonly location?: {
|
|
2031
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2032
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2033
|
+
} | undefined;
|
|
2034
|
+
readonly metadata?: {
|
|
2035
|
+
readonly [x: string]: unknown;
|
|
2036
|
+
} | undefined;
|
|
2037
|
+
} | {
|
|
2038
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2039
|
+
readonly data: {
|
|
2040
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2041
|
+
readonly ptyID: string & import("effect/Brand").Brand<"PtyID">;
|
|
2042
|
+
};
|
|
2043
|
+
readonly type: "persistent-pty.removed";
|
|
2044
|
+
readonly created: number;
|
|
2045
|
+
readonly location?: {
|
|
2046
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2047
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2048
|
+
} | undefined;
|
|
2049
|
+
readonly metadata?: {
|
|
2050
|
+
readonly [x: string]: unknown;
|
|
2051
|
+
} | undefined;
|
|
2052
|
+
} | {
|
|
2053
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2054
|
+
readonly data: {};
|
|
2055
|
+
readonly type: "plugin.updated";
|
|
2056
|
+
readonly created: number;
|
|
2057
|
+
readonly location?: {
|
|
2058
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2059
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2060
|
+
} | undefined;
|
|
2061
|
+
readonly metadata?: {
|
|
2062
|
+
readonly [x: string]: unknown;
|
|
2063
|
+
} | undefined;
|
|
2064
|
+
} | {
|
|
2065
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2066
|
+
readonly data: {};
|
|
2067
|
+
readonly type: "reference.updated";
|
|
2068
|
+
readonly created: number;
|
|
2069
|
+
readonly location?: {
|
|
2070
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2071
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2072
|
+
} | undefined;
|
|
2073
|
+
readonly metadata?: {
|
|
2074
|
+
readonly [x: string]: unknown;
|
|
2075
|
+
} | undefined;
|
|
2076
|
+
} | {
|
|
2077
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2078
|
+
readonly data: {
|
|
2079
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2080
|
+
readonly status: {
|
|
2081
|
+
readonly type: "idle";
|
|
2082
|
+
} | {
|
|
2083
|
+
readonly type: "retry";
|
|
2084
|
+
readonly message: string;
|
|
2085
|
+
readonly attempt: number;
|
|
2086
|
+
readonly next: number;
|
|
2087
|
+
readonly action?: {
|
|
2088
|
+
readonly message: string;
|
|
2089
|
+
readonly label: string;
|
|
2090
|
+
readonly title: string;
|
|
2091
|
+
readonly provider: string;
|
|
2092
|
+
readonly reason: string;
|
|
2093
|
+
readonly link?: string | undefined;
|
|
2094
|
+
} | undefined;
|
|
2095
|
+
} | {
|
|
2096
|
+
readonly type: "busy";
|
|
2097
|
+
};
|
|
2098
|
+
};
|
|
2099
|
+
readonly type: "session.status";
|
|
2100
|
+
readonly created: number;
|
|
2101
|
+
readonly location?: {
|
|
2102
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2103
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2104
|
+
} | undefined;
|
|
2105
|
+
readonly metadata?: {
|
|
2106
|
+
readonly [x: string]: unknown;
|
|
2107
|
+
} | undefined;
|
|
2108
|
+
} | {
|
|
2109
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2110
|
+
readonly data: {
|
|
2111
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2112
|
+
};
|
|
2113
|
+
readonly type: "session.idle";
|
|
2114
|
+
readonly created: number;
|
|
2115
|
+
readonly location?: {
|
|
2116
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2117
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2118
|
+
} | undefined;
|
|
2119
|
+
readonly metadata?: {
|
|
2120
|
+
readonly [x: string]: unknown;
|
|
2121
|
+
} | undefined;
|
|
2122
|
+
} | {
|
|
2123
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2124
|
+
readonly data: {
|
|
2125
|
+
readonly text: string;
|
|
2126
|
+
};
|
|
2127
|
+
readonly type: "tui.prompt.append";
|
|
2128
|
+
readonly created: number;
|
|
2129
|
+
readonly location?: {
|
|
2130
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2131
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2132
|
+
} | undefined;
|
|
2133
|
+
readonly metadata?: {
|
|
2134
|
+
readonly [x: string]: unknown;
|
|
2135
|
+
} | undefined;
|
|
2136
|
+
} | {
|
|
2137
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2138
|
+
readonly data: {
|
|
2139
|
+
readonly command: string;
|
|
2140
|
+
};
|
|
2141
|
+
readonly type: "tui.command.execute";
|
|
2142
|
+
readonly created: number;
|
|
2143
|
+
readonly location?: {
|
|
2144
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2145
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2146
|
+
} | undefined;
|
|
2147
|
+
readonly metadata?: {
|
|
2148
|
+
readonly [x: string]: unknown;
|
|
2149
|
+
} | undefined;
|
|
2150
|
+
} | {
|
|
2151
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2152
|
+
readonly data: {
|
|
2153
|
+
readonly message: string;
|
|
2154
|
+
readonly variant: "error" | "info" | "success" | "warning";
|
|
2155
|
+
readonly duration: number;
|
|
2156
|
+
readonly title?: string | undefined;
|
|
2157
|
+
};
|
|
2158
|
+
readonly type: "tui.toast.show";
|
|
2159
|
+
readonly created: number;
|
|
2160
|
+
readonly location?: {
|
|
2161
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2162
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2163
|
+
} | undefined;
|
|
2164
|
+
readonly metadata?: {
|
|
2165
|
+
readonly [x: string]: unknown;
|
|
2166
|
+
} | undefined;
|
|
2167
|
+
} | {
|
|
2168
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2169
|
+
readonly data: {
|
|
2170
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2171
|
+
};
|
|
2172
|
+
readonly type: "tui.session.select";
|
|
2173
|
+
readonly created: number;
|
|
2174
|
+
readonly location?: {
|
|
2175
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2176
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2177
|
+
} | undefined;
|
|
2178
|
+
readonly metadata?: {
|
|
2179
|
+
readonly [x: string]: unknown;
|
|
2180
|
+
} | undefined;
|
|
2181
|
+
} | {
|
|
2182
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2183
|
+
readonly data: {
|
|
2184
|
+
readonly branch?: string | undefined;
|
|
2185
|
+
};
|
|
2186
|
+
readonly type: "vcs.branch.updated";
|
|
2187
|
+
readonly created: number;
|
|
2188
|
+
readonly location?: {
|
|
2189
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2190
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2191
|
+
} | undefined;
|
|
2192
|
+
readonly metadata?: {
|
|
2193
|
+
readonly [x: string]: unknown;
|
|
2194
|
+
} | undefined;
|
|
2195
|
+
} | {
|
|
2196
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2197
|
+
readonly location: {
|
|
2198
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2199
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2200
|
+
};
|
|
2201
|
+
readonly data: {
|
|
2202
|
+
readonly [x: string]: unknown;
|
|
2203
|
+
};
|
|
2204
|
+
readonly type: `rpc.${string}`;
|
|
2205
|
+
readonly created: number;
|
|
2206
|
+
readonly metadata?: {
|
|
2207
|
+
readonly [x: string]: unknown;
|
|
2208
|
+
} | undefined;
|
|
2209
|
+
} | {
|
|
2210
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2211
|
+
readonly data: {};
|
|
2212
|
+
readonly type: "server.connected";
|
|
2213
|
+
readonly location?: {
|
|
2214
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2215
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2216
|
+
} | undefined;
|
|
2217
|
+
readonly metadata?: {
|
|
2218
|
+
readonly [x: string]: unknown;
|
|
2219
|
+
} | undefined;
|
|
2220
|
+
}, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/unstable/encoding/Sse").Retry | import("effect/unstable/encoding/Sse").SseError, never>;
|
|
2221
|
+
};
|
|
2222
|
+
rpc: RpcClientRuntime.RpcApi<import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | import("@opencode/schema/rpc").SystemError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, RpcCallOptions, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/unstable/encoding/Sse").Retry | import("effect/unstable/encoding/Sse").SseError> & {
|
|
2223
|
+
call: (input: import("./api.js").RpcCallInput) => Effect.Effect<import("./api.js").RpcCallOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").RpcError | import("@opencode/protocol/errors").RpcInternalError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2224
|
+
};
|
|
2225
|
+
health: {
|
|
2226
|
+
get: () => Effect.Effect<import("./api.js").HealthGetOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2227
|
+
};
|
|
2228
|
+
server: {
|
|
2229
|
+
get: () => Effect.Effect<import("./api.js").ServerGetOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2230
|
+
};
|
|
2231
|
+
location: {
|
|
2232
|
+
get: (input?: import("./api.js").LocationGetInput) => Effect.Effect<import("@opencode/schema/location").Info, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2233
|
+
};
|
|
2234
|
+
agent: {
|
|
2235
|
+
list: (input?: import("./api.js").AgentListInput) => Effect.Effect<import("./api.js").AgentListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2236
|
+
get: (input: import("./api.js").AgentGetInput) => Effect.Effect<import("./api.js").AgentGetOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").AgentNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2237
|
+
};
|
|
2238
|
+
plugin: {
|
|
2239
|
+
list: (input?: import("./api.js").PluginListInput) => Effect.Effect<import("./api.js").PluginListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2240
|
+
awaitActivation: (input?: import("./api.js").PluginAwaitActivationInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2241
|
+
check: (input?: import("./api.js").PluginCheckInput) => Effect.Effect<import("./api.js").PluginCheckOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2242
|
+
update: (input: import("./api.js").PluginUpdateInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2243
|
+
};
|
|
2244
|
+
session: {
|
|
2245
|
+
list: (input?: import("./api.js").SessionListInput) => Effect.Effect<import("./api.js").SessionListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").InvalidCursorError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2246
|
+
stats: (input?: import("./api.js").SessionStatsInput) => Effect.Effect<import("./api.js").SessionStatsOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2247
|
+
create: (input?: import("./api.js").SessionCreateInput) => Effect.Effect<import("@opencode/schema/session").Info, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2248
|
+
import: (input: import("./api.js").SessionImportInput) => Effect.Effect<import("@opencode/schema/session").Info, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ConflictError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2249
|
+
export: (input: import("./api.js").SessionExportInput) => Effect.Effect<import("./api.js").SessionExportOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnknownError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2250
|
+
active: () => Effect.Effect<import("./api.js").SessionActiveOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2251
|
+
get: (input: import("./api.js").SessionGetInput) => Effect.Effect<import("@opencode/schema/session").Info, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2252
|
+
remove: (input: import("./api.js").SessionRemoveInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2253
|
+
fork: (input: import("./api.js").SessionForkInput) => Effect.Effect<import("@opencode/schema/session").Info, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").MessageNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2254
|
+
switchAgent: (input: import("./api.js").SessionSwitchAgentInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2255
|
+
switchModel: (input: import("./api.js").SessionSwitchModelInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2256
|
+
rename: (input: import("./api.js").SessionRenameInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2257
|
+
move: (input: import("./api.js").SessionMoveInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2258
|
+
prompt: (input: import("./api.js").SessionPromptInput) => Effect.Effect<import("@opencode/schema/session-inbox").User, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ConflictError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2259
|
+
command: (input: import("./api.js").SessionCommandInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").CommandNotFoundError | import("@opencode/protocol/errors").CommandExecutionError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2260
|
+
skill: (input: import("./api.js").SessionSkillInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").SkillNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2261
|
+
synthetic: (input: import("./api.js").SessionSyntheticInput) => Effect.Effect<import("@opencode/schema/session-inbox").Synthetic, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ConflictError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2262
|
+
shell: (input: import("./api.js").SessionShellInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2263
|
+
compact: (input: import("./api.js").SessionCompactInput) => Effect.Effect<import("@opencode/schema/session-inbox").Compaction, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ConflictError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2264
|
+
wait: (input: import("./api.js").SessionWaitInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2265
|
+
revert: {
|
|
2266
|
+
stage: (input: import("./api.js").SessionRevertStageInput) => Effect.Effect<import("@opencode/schema/session-revert").Revert, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionBusyError | import("@opencode/protocol/errors").UnknownError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").MessageNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2267
|
+
clear: (input: import("./api.js").SessionRevertClearInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionBusyError | import("@opencode/protocol/errors").UnknownError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2268
|
+
commit: (input: import("./api.js").SessionRevertCommitInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionBusyError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2269
|
+
};
|
|
2270
|
+
context: (input: import("./api.js").SessionContextInput) => Effect.Effect<import("./api.js").SessionContextOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnknownError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2271
|
+
inbox: {
|
|
2272
|
+
list: (input: import("./api.js").SessionInboxListInput) => Effect.Effect<import("./api.js").SessionInboxListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2273
|
+
cancel: (input: import("./api.js").SessionInboxCancelInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ConflictError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2274
|
+
steer: (input: import("./api.js").SessionInboxSteerInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ConflictError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2275
|
+
queue: (input: import("./api.js").SessionInboxQueueInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ConflictError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2276
|
+
};
|
|
2277
|
+
instructions: {
|
|
2278
|
+
entry: {
|
|
2279
|
+
list: (input: import("./api.js").SessionInstructionsEntryListInput) => Effect.Effect<import("./api.js").SessionInstructionsEntryListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2280
|
+
put: (input: import("./api.js").SessionInstructionsEntryPutInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/schema/instruction-entry").ValueTooLargeError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2281
|
+
remove: (input: import("./api.js").SessionInstructionsEntryRemoveInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2282
|
+
};
|
|
2283
|
+
};
|
|
2284
|
+
generate: (input: import("./api.js").SessionGenerateInput) => Effect.Effect<import("./api.js").SessionGenerateOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2285
|
+
log: (input: import("./api.js").SessionLogInput) => Stream.Stream<import("./api.js").SessionLogOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/unstable/encoding/Sse").Retry | import("effect/unstable/encoding/Sse").SseError, never>;
|
|
2286
|
+
interrupt: (input: import("./api.js").SessionInterruptInput) => Effect.Effect<import("./api.js").SessionInterruptOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2287
|
+
background: (input: import("./api.js").SessionBackgroundInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2288
|
+
message: (input: import("./api.js").SessionMessageInput) => Effect.Effect<import("@opencode/schema/session-message").Info, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").MessageNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2289
|
+
environment: (input: import("./api.js").SessionEnvironmentInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2290
|
+
view: (input: import("./api.js").SessionViewInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2291
|
+
};
|
|
2292
|
+
message: {
|
|
2293
|
+
list: (input: import("./api.js").MessageListInput) => Effect.Effect<import("./api.js").MessageListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnknownError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").InvalidCursorError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2294
|
+
};
|
|
2295
|
+
model: {
|
|
2296
|
+
list: (input?: import("./api.js").ModelListInput) => Effect.Effect<import("./api.js").ModelListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2297
|
+
default: (input?: import("./api.js").ModelDefaultInput) => Effect.Effect<import("./api.js").ModelDefaultOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2298
|
+
};
|
|
2299
|
+
generate: {
|
|
2300
|
+
text: (input: import("./api.js").GenerateTextInput) => Effect.Effect<import("./api.js").GenerateTextOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2301
|
+
};
|
|
2302
|
+
provider: {
|
|
2303
|
+
list: (input?: import("./api.js").ProviderListInput) => Effect.Effect<import("./api.js").ProviderListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2304
|
+
get: (input: import("./api.js").ProviderGetInput) => Effect.Effect<import("./api.js").ProviderGetOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").ProviderNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2305
|
+
};
|
|
2306
|
+
integration: {
|
|
2307
|
+
list: (input?: import("./api.js").IntegrationListInput) => Effect.Effect<import("./api.js").IntegrationListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2308
|
+
get: (input: import("./api.js").IntegrationGetInput) => Effect.Effect<import("./api.js").IntegrationGetOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2309
|
+
wellknown: {
|
|
2310
|
+
add: (input: import("./api.js").IntegrationWellknownAddInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2311
|
+
};
|
|
2312
|
+
connect: {
|
|
2313
|
+
key: (input: import("./api.js").IntegrationConnectKeyInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2314
|
+
};
|
|
2315
|
+
oauth: {
|
|
2316
|
+
connect: (input: import("./api.js").IntegrationOauthConnectInput) => Effect.Effect<import("./api.js").IntegrationOauthConnectOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2317
|
+
status: (input: import("./api.js").IntegrationOauthStatusInput) => Effect.Effect<import("./api.js").IntegrationOauthStatusOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2318
|
+
complete: (input: import("./api.js").IntegrationOauthCompleteInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2319
|
+
cancel: (input: import("./api.js").IntegrationOauthCancelInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2320
|
+
};
|
|
2321
|
+
command: {
|
|
2322
|
+
connect: (input: import("./api.js").IntegrationCommandConnectInput) => Effect.Effect<import("./api.js").IntegrationCommandConnectOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2323
|
+
status: (input: import("./api.js").IntegrationCommandStatusInput) => Effect.Effect<import("./api.js").IntegrationCommandStatusOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2324
|
+
cancel: (input: import("./api.js").IntegrationCommandCancelInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2325
|
+
};
|
|
2326
|
+
};
|
|
2327
|
+
mcp: {
|
|
2328
|
+
list: (input?: import("./api.js").McpListInput) => Effect.Effect<import("./api.js").McpListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2329
|
+
add: (input: import("./api.js").McpAddInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2330
|
+
remove: (input: import("./api.js").McpRemoveInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").McpServerNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2331
|
+
connect: (input: import("./api.js").McpConnectInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").McpServerNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2332
|
+
disconnect: (input: import("./api.js").McpDisconnectInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").McpServerNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2333
|
+
resource: {
|
|
2334
|
+
catalog: (input?: import("./api.js").McpResourceCatalogInput) => Effect.Effect<import("./api.js").McpResourceCatalogOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2335
|
+
};
|
|
2336
|
+
};
|
|
2337
|
+
credential: {
|
|
2338
|
+
update: (input: import("./api.js").CredentialUpdateInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2339
|
+
activate: (input: import("./api.js").CredentialActivateInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2340
|
+
remove: (input: import("./api.js").CredentialRemoveInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2341
|
+
};
|
|
2342
|
+
project: {
|
|
2343
|
+
list: () => Effect.Effect<import("./api.js").ProjectListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2344
|
+
update: (input: import("./api.js").ProjectUpdateInput) => Effect.Effect<import("@opencode/schema/project").Info, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ProjectNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2345
|
+
current: (input?: import("./api.js").ProjectCurrentInput) => Effect.Effect<import("@opencode/schema/project").Current, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2346
|
+
};
|
|
2347
|
+
form: {
|
|
2348
|
+
request: {
|
|
2349
|
+
list: (input?: import("./api.js").FormRequestListInput) => Effect.Effect<import("./api.js").FormRequestListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2350
|
+
};
|
|
2351
|
+
list: (input: import("./api.js").FormListInput) => Effect.Effect<import("./api.js").FormListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2352
|
+
create: (input: import("./api.js").FormCreateInput) => Effect.Effect<import("@opencode/schema/form").Info, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ConflictError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2353
|
+
get: (input: import("./api.js").FormGetInput) => Effect.Effect<import("@opencode/schema/form").Info, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").FormNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2354
|
+
state: (input: import("./api.js").FormStateInput) => Effect.Effect<{
|
|
2355
|
+
readonly status: "pending";
|
|
2356
|
+
} | {
|
|
2357
|
+
readonly status: "answered";
|
|
2358
|
+
readonly answer: {
|
|
2359
|
+
readonly [x: string]: string | number | boolean | readonly string[];
|
|
2360
|
+
};
|
|
2361
|
+
} | {
|
|
2362
|
+
readonly status: "cancelled";
|
|
2363
|
+
}, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").FormNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2364
|
+
reply: (input: import("./api.js").FormReplyInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").FormNotFoundError | import("@opencode/protocol/errors").FormAlreadySettledError | import("@opencode/protocol/errors").FormInvalidAnswerError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2365
|
+
cancel: (input: import("./api.js").FormCancelInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").FormNotFoundError | import("@opencode/protocol/errors").FormAlreadySettledError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2366
|
+
};
|
|
2367
|
+
permission: {
|
|
2368
|
+
request: {
|
|
2369
|
+
list: (input?: import("./api.js").PermissionRequestListInput) => Effect.Effect<import("./api.js").PermissionRequestListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2370
|
+
};
|
|
2371
|
+
saved: {
|
|
2372
|
+
list: (input?: import("./api.js").PermissionSavedListInput) => Effect.Effect<import("./api.js").PermissionSavedListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2373
|
+
remove: (input: import("./api.js").PermissionSavedRemoveInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2374
|
+
};
|
|
2375
|
+
create: (input: import("./api.js").PermissionCreateInput) => Effect.Effect<import("./api.js").PermissionCreateOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2376
|
+
list: (input: import("./api.js").PermissionListInput) => Effect.Effect<import("./api.js").PermissionListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2377
|
+
get: (input: import("./api.js").PermissionGetInput) => Effect.Effect<import("@opencode/schema/permission").Request, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").PermissionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2378
|
+
reply: (input: import("./api.js").PermissionReplyInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").PermissionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2379
|
+
rules: (input: import("./api.js").PermissionRulesInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").SessionNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2380
|
+
};
|
|
2381
|
+
file: {
|
|
2382
|
+
list: (input?: import("./api.js").FileListInput) => Effect.Effect<import("./api.js").FileListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2383
|
+
find: (input: import("./api.js").FileFindInput) => Effect.Effect<import("./api.js").FileFindOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2384
|
+
};
|
|
2385
|
+
command: {
|
|
2386
|
+
list: (input?: import("./api.js").CommandListInput) => Effect.Effect<import("./api.js").CommandListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2387
|
+
};
|
|
2388
|
+
skill: {
|
|
2389
|
+
list: (input?: import("./api.js").SkillListInput) => Effect.Effect<import("./api.js").SkillListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2390
|
+
};
|
|
2391
|
+
pty: {
|
|
2392
|
+
list: (input?: import("./api.js").PtyListInput) => Effect.Effect<import("./api.js").PtyListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2393
|
+
create: (input?: import("./api.js").PtyCreateInput) => Effect.Effect<import("./api.js").PtyCreateOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2394
|
+
get: (input: import("./api.js").PtyGetInput) => Effect.Effect<import("./api.js").PtyGetOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").PtyNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2395
|
+
update: (input: import("./api.js").PtyUpdateInput) => Effect.Effect<import("./api.js").PtyUpdateOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").PtyNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2396
|
+
remove: (input: import("./api.js").PtyRemoveInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").PtyNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2397
|
+
connect: {
|
|
2398
|
+
token: (input: import("./api.js").PtyConnectTokenInput) => Effect.Effect<import("./api.js").PtyConnectTokenOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ForbiddenError | import("@opencode/protocol/errors").PtyNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2399
|
+
};
|
|
2400
|
+
};
|
|
2401
|
+
experimental: {
|
|
2402
|
+
persistentPty: {
|
|
2403
|
+
read: (input: import("./api.js").ExperimentalPersistentPtyReadInput) => Effect.Effect<import("./api.js").ExperimentalPersistentPtyReadOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2404
|
+
list: (input: import("./api.js").ExperimentalPersistentPtyListInput) => Effect.Effect<import("./api.js").ExperimentalPersistentPtyListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2405
|
+
create: (input: import("./api.js").ExperimentalPersistentPtyCreateInput) => Effect.Effect<import("./api.js").ExperimentalPersistentPtyCreateOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2406
|
+
shutdown: () => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2407
|
+
handoff: () => Effect.Effect<import("./api.js").ExperimentalPersistentPtyHandoffOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2408
|
+
get: (input: import("./api.js").ExperimentalPersistentPtyGetInput) => Effect.Effect<import("./api.js").ExperimentalPersistentPtyGetOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").PtyNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2409
|
+
update: (input: import("./api.js").ExperimentalPersistentPtyUpdateInput) => Effect.Effect<import("./api.js").ExperimentalPersistentPtyUpdateOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").PtyNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2410
|
+
snapshot: (input: import("./api.js").ExperimentalPersistentPtySnapshotInput) => Effect.Effect<import("./api.js").ExperimentalPersistentPtySnapshotOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").PtyNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2411
|
+
remove: (input: import("./api.js").ExperimentalPersistentPtyRemoveInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").PtyNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2412
|
+
connectToken: (input: import("./api.js").ExperimentalPersistentPtyConnectTokenInput) => Effect.Effect<import("@opencode/schema/pty-ticket").ConnectToken, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").ForbiddenError | import("@opencode/protocol/errors").PtyNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2413
|
+
};
|
|
2414
|
+
};
|
|
2415
|
+
shell: {
|
|
2416
|
+
list: (input?: import("./api.js").ShellListInput) => Effect.Effect<import("./api.js").ShellListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2417
|
+
create: (input: import("./api.js").ShellCreateInput) => Effect.Effect<import("./api.js").ShellCreateOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2418
|
+
get: (input: import("./api.js").ShellGetInput) => Effect.Effect<import("./api.js").ShellGetOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ShellNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2419
|
+
timeout: (input: import("./api.js").ShellTimeoutInput) => Effect.Effect<import("./api.js").ShellTimeoutOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ShellNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2420
|
+
output: (input: import("./api.js").ShellOutputInput) => Effect.Effect<import("./api.js").ShellOutputOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ShellNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2421
|
+
remove: (input: import("./api.js").ShellRemoveInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ShellNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2422
|
+
};
|
|
2423
|
+
reference: {
|
|
2424
|
+
list: (input?: import("./api.js").ReferenceListInput) => Effect.Effect<import("./api.js").ReferenceListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2425
|
+
};
|
|
2426
|
+
worktree: {
|
|
2427
|
+
list: (input?: import("./api.js").WorktreeListInput) => Effect.Effect<readonly {
|
|
2428
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2429
|
+
readonly strategy?: string | undefined;
|
|
2430
|
+
}[], import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | import("@opencode/protocol/groups/worktree").WorktreeError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2431
|
+
create: (input?: import("./api.js").WorktreeCreateInput) => Effect.Effect<import("@opencode/schema/worktree").Info, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | import("@opencode/protocol/groups/worktree").WorktreeError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2432
|
+
remove: (input: import("./api.js").WorktreeRemoveInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | import("@opencode/protocol/groups/worktree").WorktreeError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2433
|
+
refresh: (input?: import("./api.js").WorktreeRefreshInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | import("@opencode/protocol/groups/worktree").WorktreeError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2434
|
+
};
|
|
2435
|
+
workspace: {
|
|
2436
|
+
create: (input: import("./api.js").WorkspaceCreateInput) => Effect.Effect<string & import("effect/Brand").Brand<"Workspace.ID">, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ConflictError | import("@opencode/protocol/errors").ProviderNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2437
|
+
destroy: (input: import("./api.js").WorkspaceDestroyInput) => Effect.Effect<import("@opencode/schema/workspace").DestroyResult, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnknownError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2438
|
+
};
|
|
2439
|
+
vcs: {
|
|
2440
|
+
get: (input?: import("./api.js").VcsGetInput) => Effect.Effect<import("./api.js").VcsGetOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2441
|
+
base: (input?: import("./api.js").VcsBaseInput) => Effect.Effect<import("./api.js").VcsBaseOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2442
|
+
status: (input?: import("./api.js").VcsStatusInput) => Effect.Effect<import("./api.js").VcsStatusOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2443
|
+
branches: (input?: import("./api.js").VcsBranchesInput) => Effect.Effect<import("./api.js").VcsBranchesOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2444
|
+
diff: (input: import("./api.js").VcsDiffInput) => Effect.Effect<import("./api.js").VcsDiffOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2445
|
+
};
|
|
2446
|
+
debug: {
|
|
2447
|
+
location: {
|
|
2448
|
+
list: () => Effect.Effect<import("./api.js").DebugLocationListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2449
|
+
evict: (input?: import("./api.js").DebugLocationEvictInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2450
|
+
};
|
|
2451
|
+
};
|
|
2452
|
+
migration: {
|
|
2453
|
+
v1: {
|
|
2454
|
+
status: () => Effect.Effect<import("./api.js").MigrationV1StatusOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2455
|
+
};
|
|
2456
|
+
};
|
|
2457
|
+
websearch: {
|
|
2458
|
+
providers: (input?: import("./api.js").WebsearchProvidersInput) => Effect.Effect<import("./api.js").WebsearchProvidersOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2459
|
+
query: (input: import("./api.js").WebsearchQueryInput) => Effect.Effect<import("./api.js").WebsearchQueryOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ServiceUnavailableError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2460
|
+
};
|
|
2461
|
+
config: {
|
|
2462
|
+
get: (input?: import("./api.js").ConfigGetInput) => Effect.Effect<import("./api.js").ConfigGetOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2463
|
+
};
|
|
2464
|
+
}, never, HttpClient.HttpClient>;
|