@opencode/client 0.0.0-dev-21268 → 0.0.0-dev-21286
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/service-timing-2y0dw11y.js +30 -0
- package/dist/chunks/{service-version-1hkhww1g.js → service-timing-61wt4y9h.js} +14 -17
- package/dist/chunks/{service-version-6vp15eh6.js → service-timing-6vp15eh6.js} +1 -1
- package/dist/chunks/{service-version-y2etg5bs.js → service-timing-7f0py9js.js} +2 -2
- package/dist/chunks/{service-version-2ny4vxct.js → service-timing-8ye1ye6f.js} +2 -2
- package/dist/chunks/{service-version-gbq9x9x6.js → service-timing-c9q0wppc.js} +10 -10
- package/dist/chunks/{service-version-frbwqjmf.js → service-timing-frbwqjmf.js} +1 -1
- package/dist/chunks/{service-version-032v66at.js → service-timing-hesxqqf1.js} +1 -1
- package/dist/chunks/{service-version-nwcpakzx.js → service-timing-js54wxgp.js} +2 -2
- package/dist/chunks/{service-version-77ntr0t0.js → service-timing-nv358xrg.js} +19 -19
- package/dist/chunks/{service-version-e1nwd88v.js → service-timing-rvrf7qwv.js} +17 -17
- package/dist/chunks/{service-version-t1xa31vm.js → service-timing-t1xa31vm.js} +1 -1
- package/dist/chunks/{service-version-65kht65h.js → service-timing-w1w809zr.js} +5 -5
- package/dist/contract.js +1 -1
- package/dist/effect/api/api.d.ts +10 -24
- package/dist/effect/client.d.ts +126 -140
- package/dist/effect/client.js +12 -12
- package/dist/effect/generated/client-error.js +3 -3
- package/dist/effect/generated/client.d.ts +956 -970
- package/dist/effect/generated/client.js +5 -5
- package/dist/effect/generated/index.js +8 -8
- package/dist/effect/index.js +12 -12
- package/dist/effect/rpc.js +4 -4
- package/dist/effect/service.js +6 -6
- package/dist/promise/client.js +11 -11
- package/dist/promise/generated/client-error.js +3 -3
- package/dist/promise/generated/client.js +4 -4
- package/dist/promise/generated/index.js +10 -10
- package/dist/promise/generated/types.d.ts +168 -1462
- package/dist/promise/generated/types.js +1 -1
- package/dist/promise/index.js +13 -13
- package/dist/promise/rpc.js +2 -2
- package/dist/promise/service.js +6 -6
- package/dist/pty-handoff.js +1 -1
- package/dist/rpc-runtime.js +1 -1
- package/dist/service-contender.js +1 -1
- package/dist/service-probe.js +3 -3
- package/dist/service-timing.js +1 -1
- package/dist/service-version.js +1 -1
- package/dist/service.js +1 -1
- package/dist/shared-events.js +1 -1
- package/dist/solid/connection.js +1 -1
- package/dist/solid/data.js +9 -9
- package/dist/solid/index.js +12 -12
- package/dist/solid/pty.js +1 -1
- package/dist/solid/usage.js +1 -1
- package/package.json +4 -4
- package/dist/chunks/service-version-k9g6n5n1.js +0 -30
- /package/dist/chunks/{service-version-6mptkzbc.js → service-timing-6mptkzbc.js} +0 -0
- /package/dist/chunks/{service-version-8s2anffy.js → service-timing-8s2anffy.js} +0 -0
- /package/dist/chunks/{service-version-9rqn6x4v.js → service-timing-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-version-ezt8t3fk.js → service-timing-ezt8t3fk.js} +0 -0
- /package/dist/chunks/{service-version-gne7h7mq.js → service-timing-gne7h7mq.js} +0 -0
- /package/dist/chunks/{service-version-m2eywc8w.js → service-timing-m2eywc8w.js} +0 -0
- /package/dist/chunks/{service-version-qav6mfdz.js → service-timing-qav6mfdz.js} +0 -0
- /package/dist/chunks/{service-version-sxt88q69.js → service-timing-sxt88q69.js} +0 -0
- /package/dist/chunks/{service-version-ve4aws36.js → service-timing-ve4aws36.js} +0 -0
- /package/dist/chunks/{service-version-vmytr4q8.js → service-timing-vmytr4q8.js} +0 -0
- /package/dist/chunks/{service-version-vyas3vgt.js → service-timing-vyas3vgt.js} +0 -0
- /package/dist/chunks/{service-version-xgnj2w4v.js → service-timing-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{service-version-ydhz1zrh.js → service-timing-ydhz1zrh.js} +0 -0
|
@@ -178,19 +178,250 @@ export declare const make: (options?: {
|
|
|
178
178
|
readonly metadata?: {
|
|
179
179
|
readonly [x: string]: unknown;
|
|
180
180
|
} | undefined;
|
|
181
|
-
readonly type: "
|
|
181
|
+
readonly type: "form.cancelled";
|
|
182
182
|
readonly location?: {
|
|
183
183
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
184
184
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
185
185
|
} | undefined;
|
|
186
|
-
readonly data: {
|
|
186
|
+
readonly data: {
|
|
187
|
+
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
188
|
+
readonly sessionID: string;
|
|
189
|
+
};
|
|
187
190
|
} | {
|
|
188
191
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
189
192
|
readonly created: number;
|
|
190
193
|
readonly metadata?: {
|
|
191
194
|
readonly [x: string]: unknown;
|
|
192
195
|
} | undefined;
|
|
193
|
-
readonly type: "
|
|
196
|
+
readonly type: "form.created";
|
|
197
|
+
readonly location?: {
|
|
198
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
199
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
200
|
+
} | undefined;
|
|
201
|
+
readonly data: {
|
|
202
|
+
readonly form: {
|
|
203
|
+
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
204
|
+
readonly sessionID: string;
|
|
205
|
+
readonly title: string;
|
|
206
|
+
readonly metadata?: {
|
|
207
|
+
readonly [x: string]: unknown;
|
|
208
|
+
} | undefined;
|
|
209
|
+
readonly fields: readonly [{
|
|
210
|
+
readonly key: string;
|
|
211
|
+
readonly title?: string | undefined;
|
|
212
|
+
readonly description?: string | undefined;
|
|
213
|
+
readonly required?: boolean | undefined;
|
|
214
|
+
readonly hidden?: boolean | undefined;
|
|
215
|
+
readonly when?: readonly {
|
|
216
|
+
readonly key: string;
|
|
217
|
+
readonly op: "eq" | "neq";
|
|
218
|
+
readonly value: string | number | boolean;
|
|
219
|
+
}[] | undefined;
|
|
220
|
+
readonly type: "string";
|
|
221
|
+
readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
|
|
222
|
+
readonly minLength?: number | undefined;
|
|
223
|
+
readonly maxLength?: number | undefined;
|
|
224
|
+
readonly pattern?: string | undefined;
|
|
225
|
+
readonly placeholder?: string | undefined;
|
|
226
|
+
readonly default?: string | undefined;
|
|
227
|
+
readonly options?: readonly {
|
|
228
|
+
readonly value: string;
|
|
229
|
+
readonly label: string;
|
|
230
|
+
readonly description?: string | undefined;
|
|
231
|
+
}[] | undefined;
|
|
232
|
+
readonly custom?: boolean | undefined;
|
|
233
|
+
} | {
|
|
234
|
+
readonly key: string;
|
|
235
|
+
readonly title?: string | undefined;
|
|
236
|
+
readonly description?: string | undefined;
|
|
237
|
+
readonly required?: boolean | undefined;
|
|
238
|
+
readonly hidden?: boolean | undefined;
|
|
239
|
+
readonly when?: readonly {
|
|
240
|
+
readonly key: string;
|
|
241
|
+
readonly op: "eq" | "neq";
|
|
242
|
+
readonly value: string | number | boolean;
|
|
243
|
+
}[] | undefined;
|
|
244
|
+
readonly type: "number";
|
|
245
|
+
readonly minimum?: number | undefined;
|
|
246
|
+
readonly maximum?: number | undefined;
|
|
247
|
+
readonly default?: number | undefined;
|
|
248
|
+
} | {
|
|
249
|
+
readonly key: string;
|
|
250
|
+
readonly title?: string | undefined;
|
|
251
|
+
readonly description?: string | undefined;
|
|
252
|
+
readonly required?: boolean | undefined;
|
|
253
|
+
readonly hidden?: boolean | undefined;
|
|
254
|
+
readonly when?: readonly {
|
|
255
|
+
readonly key: string;
|
|
256
|
+
readonly op: "eq" | "neq";
|
|
257
|
+
readonly value: string | number | boolean;
|
|
258
|
+
}[] | undefined;
|
|
259
|
+
readonly type: "integer";
|
|
260
|
+
readonly minimum?: number | undefined;
|
|
261
|
+
readonly maximum?: number | undefined;
|
|
262
|
+
readonly default?: number | undefined;
|
|
263
|
+
} | {
|
|
264
|
+
readonly key: string;
|
|
265
|
+
readonly title?: string | undefined;
|
|
266
|
+
readonly description?: string | undefined;
|
|
267
|
+
readonly required?: boolean | undefined;
|
|
268
|
+
readonly hidden?: boolean | undefined;
|
|
269
|
+
readonly when?: readonly {
|
|
270
|
+
readonly key: string;
|
|
271
|
+
readonly op: "eq" | "neq";
|
|
272
|
+
readonly value: string | number | boolean;
|
|
273
|
+
}[] | undefined;
|
|
274
|
+
readonly type: "boolean";
|
|
275
|
+
readonly default?: boolean | undefined;
|
|
276
|
+
} | {
|
|
277
|
+
readonly key: string;
|
|
278
|
+
readonly title?: string | undefined;
|
|
279
|
+
readonly description?: string | undefined;
|
|
280
|
+
readonly required?: boolean | undefined;
|
|
281
|
+
readonly hidden?: boolean | undefined;
|
|
282
|
+
readonly when?: readonly {
|
|
283
|
+
readonly key: string;
|
|
284
|
+
readonly op: "eq" | "neq";
|
|
285
|
+
readonly value: string | number | boolean;
|
|
286
|
+
}[] | undefined;
|
|
287
|
+
readonly type: "multiselect";
|
|
288
|
+
readonly options: readonly {
|
|
289
|
+
readonly value: string;
|
|
290
|
+
readonly label: string;
|
|
291
|
+
readonly description?: string | undefined;
|
|
292
|
+
}[];
|
|
293
|
+
readonly minItems?: number | undefined;
|
|
294
|
+
readonly maxItems?: number | undefined;
|
|
295
|
+
readonly custom?: boolean | undefined;
|
|
296
|
+
readonly default?: readonly string[] | undefined;
|
|
297
|
+
} | {
|
|
298
|
+
readonly key: string;
|
|
299
|
+
readonly type: "external";
|
|
300
|
+
readonly url: string;
|
|
301
|
+
readonly title?: string | undefined;
|
|
302
|
+
readonly description?: string | undefined;
|
|
303
|
+
}, ...({
|
|
304
|
+
readonly key: string;
|
|
305
|
+
readonly title?: string | undefined;
|
|
306
|
+
readonly description?: string | undefined;
|
|
307
|
+
readonly required?: boolean | undefined;
|
|
308
|
+
readonly hidden?: boolean | undefined;
|
|
309
|
+
readonly when?: readonly {
|
|
310
|
+
readonly key: string;
|
|
311
|
+
readonly op: "eq" | "neq";
|
|
312
|
+
readonly value: string | number | boolean;
|
|
313
|
+
}[] | undefined;
|
|
314
|
+
readonly type: "string";
|
|
315
|
+
readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
|
|
316
|
+
readonly minLength?: number | undefined;
|
|
317
|
+
readonly maxLength?: number | undefined;
|
|
318
|
+
readonly pattern?: string | undefined;
|
|
319
|
+
readonly placeholder?: string | undefined;
|
|
320
|
+
readonly default?: string | undefined;
|
|
321
|
+
readonly options?: readonly {
|
|
322
|
+
readonly value: string;
|
|
323
|
+
readonly label: string;
|
|
324
|
+
readonly description?: string | undefined;
|
|
325
|
+
}[] | undefined;
|
|
326
|
+
readonly custom?: boolean | undefined;
|
|
327
|
+
} | {
|
|
328
|
+
readonly key: string;
|
|
329
|
+
readonly title?: string | undefined;
|
|
330
|
+
readonly description?: string | undefined;
|
|
331
|
+
readonly required?: boolean | undefined;
|
|
332
|
+
readonly hidden?: boolean | undefined;
|
|
333
|
+
readonly when?: readonly {
|
|
334
|
+
readonly key: string;
|
|
335
|
+
readonly op: "eq" | "neq";
|
|
336
|
+
readonly value: string | number | boolean;
|
|
337
|
+
}[] | undefined;
|
|
338
|
+
readonly type: "number";
|
|
339
|
+
readonly minimum?: number | undefined;
|
|
340
|
+
readonly maximum?: number | undefined;
|
|
341
|
+
readonly default?: number | undefined;
|
|
342
|
+
} | {
|
|
343
|
+
readonly key: string;
|
|
344
|
+
readonly title?: string | undefined;
|
|
345
|
+
readonly description?: string | undefined;
|
|
346
|
+
readonly required?: boolean | undefined;
|
|
347
|
+
readonly hidden?: boolean | undefined;
|
|
348
|
+
readonly when?: readonly {
|
|
349
|
+
readonly key: string;
|
|
350
|
+
readonly op: "eq" | "neq";
|
|
351
|
+
readonly value: string | number | boolean;
|
|
352
|
+
}[] | undefined;
|
|
353
|
+
readonly type: "integer";
|
|
354
|
+
readonly minimum?: number | undefined;
|
|
355
|
+
readonly maximum?: number | undefined;
|
|
356
|
+
readonly default?: number | undefined;
|
|
357
|
+
} | {
|
|
358
|
+
readonly key: string;
|
|
359
|
+
readonly title?: string | undefined;
|
|
360
|
+
readonly description?: string | undefined;
|
|
361
|
+
readonly required?: boolean | undefined;
|
|
362
|
+
readonly hidden?: boolean | undefined;
|
|
363
|
+
readonly when?: readonly {
|
|
364
|
+
readonly key: string;
|
|
365
|
+
readonly op: "eq" | "neq";
|
|
366
|
+
readonly value: string | number | boolean;
|
|
367
|
+
}[] | undefined;
|
|
368
|
+
readonly type: "boolean";
|
|
369
|
+
readonly default?: boolean | undefined;
|
|
370
|
+
} | {
|
|
371
|
+
readonly key: string;
|
|
372
|
+
readonly title?: string | undefined;
|
|
373
|
+
readonly description?: string | undefined;
|
|
374
|
+
readonly required?: boolean | undefined;
|
|
375
|
+
readonly hidden?: boolean | undefined;
|
|
376
|
+
readonly when?: readonly {
|
|
377
|
+
readonly key: string;
|
|
378
|
+
readonly op: "eq" | "neq";
|
|
379
|
+
readonly value: string | number | boolean;
|
|
380
|
+
}[] | undefined;
|
|
381
|
+
readonly type: "multiselect";
|
|
382
|
+
readonly options: readonly {
|
|
383
|
+
readonly value: string;
|
|
384
|
+
readonly label: string;
|
|
385
|
+
readonly description?: string | undefined;
|
|
386
|
+
}[];
|
|
387
|
+
readonly minItems?: number | undefined;
|
|
388
|
+
readonly maxItems?: number | undefined;
|
|
389
|
+
readonly custom?: boolean | undefined;
|
|
390
|
+
readonly default?: readonly string[] | undefined;
|
|
391
|
+
} | {
|
|
392
|
+
readonly key: string;
|
|
393
|
+
readonly type: "external";
|
|
394
|
+
readonly url: string;
|
|
395
|
+
readonly title?: string | undefined;
|
|
396
|
+
readonly description?: string | undefined;
|
|
397
|
+
})[]];
|
|
398
|
+
};
|
|
399
|
+
};
|
|
400
|
+
} | {
|
|
401
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
402
|
+
readonly created: number;
|
|
403
|
+
readonly metadata?: {
|
|
404
|
+
readonly [x: string]: unknown;
|
|
405
|
+
} | undefined;
|
|
406
|
+
readonly type: "form.replied";
|
|
407
|
+
readonly location?: {
|
|
408
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
409
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
410
|
+
} | undefined;
|
|
411
|
+
readonly data: {
|
|
412
|
+
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
413
|
+
readonly sessionID: string;
|
|
414
|
+
readonly answer: {
|
|
415
|
+
readonly [x: string]: string | number | boolean | readonly string[];
|
|
416
|
+
};
|
|
417
|
+
};
|
|
418
|
+
} | {
|
|
419
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
420
|
+
readonly created: number;
|
|
421
|
+
readonly metadata?: {
|
|
422
|
+
readonly [x: string]: unknown;
|
|
423
|
+
} | undefined;
|
|
424
|
+
readonly type: "agent.updated";
|
|
194
425
|
readonly location?: {
|
|
195
426
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
196
427
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -202,31 +433,138 @@ export declare const make: (options?: {
|
|
|
202
433
|
readonly metadata?: {
|
|
203
434
|
readonly [x: string]: unknown;
|
|
204
435
|
} | undefined;
|
|
205
|
-
readonly type: "
|
|
436
|
+
readonly type: "session.agent.selected";
|
|
437
|
+
readonly durable: {
|
|
438
|
+
readonly aggregateID: string;
|
|
439
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
440
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
441
|
+
};
|
|
442
|
+
readonly location?: {
|
|
443
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
444
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
445
|
+
} | undefined;
|
|
446
|
+
readonly data: {
|
|
447
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
448
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
449
|
+
readonly previous?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
450
|
+
};
|
|
451
|
+
} | {
|
|
452
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
453
|
+
readonly created: number;
|
|
454
|
+
readonly metadata?: {
|
|
455
|
+
readonly [x: string]: unknown;
|
|
456
|
+
} | undefined;
|
|
457
|
+
readonly type: "session.archived";
|
|
458
|
+
readonly durable: {
|
|
459
|
+
readonly aggregateID: string;
|
|
460
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
461
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
462
|
+
};
|
|
463
|
+
readonly location?: {
|
|
464
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
465
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
466
|
+
} | undefined;
|
|
467
|
+
readonly data: {
|
|
468
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
469
|
+
};
|
|
470
|
+
} | {
|
|
471
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
472
|
+
readonly created: number;
|
|
473
|
+
readonly metadata?: {
|
|
474
|
+
readonly [x: string]: unknown;
|
|
475
|
+
} | undefined;
|
|
476
|
+
readonly type: "session.compaction.ended";
|
|
477
|
+
readonly durable: {
|
|
478
|
+
readonly aggregateID: string;
|
|
479
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
480
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
481
|
+
};
|
|
482
|
+
readonly location?: {
|
|
483
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
484
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
485
|
+
} | undefined;
|
|
486
|
+
readonly data: {
|
|
487
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
488
|
+
readonly reason: "auto" | "manual";
|
|
489
|
+
readonly model?: {
|
|
490
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
491
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
492
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
493
|
+
} | undefined;
|
|
494
|
+
readonly native?: {
|
|
495
|
+
readonly [x: string]: unknown;
|
|
496
|
+
} | undefined;
|
|
497
|
+
readonly text: string;
|
|
498
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
499
|
+
readonly tokens?: {
|
|
500
|
+
readonly input: number;
|
|
501
|
+
readonly output: number;
|
|
502
|
+
readonly reasoning: number;
|
|
503
|
+
readonly cache: {
|
|
504
|
+
readonly read: number;
|
|
505
|
+
readonly write: number;
|
|
506
|
+
};
|
|
507
|
+
} | undefined;
|
|
508
|
+
};
|
|
509
|
+
} | {
|
|
510
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
511
|
+
readonly created: number;
|
|
512
|
+
readonly metadata?: {
|
|
513
|
+
readonly [x: string]: unknown;
|
|
514
|
+
} | undefined;
|
|
515
|
+
readonly type: "session.compaction.failed";
|
|
516
|
+
readonly durable: {
|
|
517
|
+
readonly aggregateID: string;
|
|
518
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
519
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
520
|
+
};
|
|
521
|
+
readonly location?: {
|
|
522
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
523
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
524
|
+
} | undefined;
|
|
525
|
+
readonly data: {
|
|
526
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
527
|
+
readonly reason: "auto" | "manual";
|
|
528
|
+
readonly error: {
|
|
529
|
+
readonly type: string;
|
|
530
|
+
readonly message: string;
|
|
531
|
+
readonly status?: number | undefined;
|
|
532
|
+
readonly response?: {
|
|
533
|
+
readonly body: string;
|
|
534
|
+
} | undefined;
|
|
535
|
+
};
|
|
536
|
+
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
537
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
538
|
+
readonly tokens?: {
|
|
539
|
+
readonly input: number;
|
|
540
|
+
readonly output: number;
|
|
541
|
+
readonly reasoning: number;
|
|
542
|
+
readonly cache: {
|
|
543
|
+
readonly read: number;
|
|
544
|
+
readonly write: number;
|
|
545
|
+
};
|
|
546
|
+
} | undefined;
|
|
547
|
+
};
|
|
548
|
+
} | {
|
|
549
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
550
|
+
readonly created: number;
|
|
551
|
+
readonly metadata?: {
|
|
552
|
+
readonly [x: string]: unknown;
|
|
553
|
+
} | undefined;
|
|
554
|
+
readonly type: "session.compaction.started";
|
|
555
|
+
readonly durable: {
|
|
556
|
+
readonly aggregateID: string;
|
|
557
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
558
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
559
|
+
};
|
|
206
560
|
readonly location?: {
|
|
207
561
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
208
562
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
209
563
|
} | undefined;
|
|
210
564
|
readonly data: {
|
|
211
|
-
readonly
|
|
212
|
-
readonly
|
|
213
|
-
readonly
|
|
214
|
-
readonly name?: string | undefined;
|
|
215
|
-
readonly icon?: {
|
|
216
|
-
readonly url?: string | undefined;
|
|
217
|
-
readonly override?: string | undefined;
|
|
218
|
-
readonly color?: string | undefined;
|
|
219
|
-
} | undefined;
|
|
220
|
-
readonly commands?: {
|
|
221
|
-
readonly start?: string | undefined;
|
|
222
|
-
} | undefined;
|
|
223
|
-
readonly time: {
|
|
224
|
-
readonly created: number;
|
|
225
|
-
readonly updated: number;
|
|
226
|
-
readonly active: number;
|
|
227
|
-
readonly archived?: number | undefined;
|
|
228
|
-
};
|
|
229
|
-
readonly sandboxes: readonly string[];
|
|
565
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
566
|
+
readonly reason: "auto" | "manual";
|
|
567
|
+
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
230
568
|
};
|
|
231
569
|
} | {
|
|
232
570
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -234,45 +572,61 @@ export declare const make: (options?: {
|
|
|
234
572
|
readonly metadata?: {
|
|
235
573
|
readonly [x: string]: unknown;
|
|
236
574
|
} | undefined;
|
|
237
|
-
readonly type: "
|
|
575
|
+
readonly type: "session.created";
|
|
576
|
+
readonly durable: {
|
|
577
|
+
readonly aggregateID: string;
|
|
578
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
579
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
580
|
+
};
|
|
238
581
|
readonly location?: {
|
|
239
582
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
240
583
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
241
584
|
} | undefined;
|
|
242
|
-
readonly data: {
|
|
585
|
+
readonly data: {
|
|
586
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
587
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
588
|
+
readonly location: {
|
|
589
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
590
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
591
|
+
};
|
|
592
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
593
|
+
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
594
|
+
readonly slug: string;
|
|
595
|
+
readonly title?: string | undefined;
|
|
596
|
+
readonly agent?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
597
|
+
readonly model?: {
|
|
598
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
599
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
600
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
601
|
+
} | undefined;
|
|
602
|
+
readonly metadata?: {
|
|
603
|
+
readonly [x: string]: Schema.Json;
|
|
604
|
+
} | undefined;
|
|
605
|
+
readonly permissions?: readonly {
|
|
606
|
+
readonly action: string;
|
|
607
|
+
readonly resource: string;
|
|
608
|
+
readonly effect: "allow" | "ask" | "deny";
|
|
609
|
+
}[] | undefined;
|
|
610
|
+
readonly version: string;
|
|
611
|
+
};
|
|
243
612
|
} | {
|
|
244
613
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
245
614
|
readonly created: number;
|
|
246
615
|
readonly metadata?: {
|
|
247
616
|
readonly [x: string]: unknown;
|
|
248
617
|
} | undefined;
|
|
249
|
-
readonly type: "
|
|
618
|
+
readonly type: "session.deleted";
|
|
619
|
+
readonly durable: {
|
|
620
|
+
readonly aggregateID: string;
|
|
621
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
622
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
623
|
+
};
|
|
250
624
|
readonly location?: {
|
|
251
625
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
252
626
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
253
627
|
} | undefined;
|
|
254
628
|
readonly data: {
|
|
255
629
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
256
|
-
readonly terminal: {
|
|
257
|
-
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
258
|
-
readonly title: string;
|
|
259
|
-
readonly command: string;
|
|
260
|
-
readonly args: readonly string[];
|
|
261
|
-
readonly cwd: string;
|
|
262
|
-
readonly status: "exited" | "running";
|
|
263
|
-
readonly pid: number;
|
|
264
|
-
readonly exitCode?: number | undefined;
|
|
265
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
266
|
-
readonly foregroundProcess: string | null;
|
|
267
|
-
readonly size: {
|
|
268
|
-
readonly cols: number;
|
|
269
|
-
readonly rows: number;
|
|
270
|
-
};
|
|
271
|
-
readonly output: {
|
|
272
|
-
readonly head: number;
|
|
273
|
-
readonly tail: number;
|
|
274
|
-
};
|
|
275
|
-
};
|
|
276
630
|
};
|
|
277
631
|
} | {
|
|
278
632
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -280,14 +634,26 @@ export declare const make: (options?: {
|
|
|
280
634
|
readonly metadata?: {
|
|
281
635
|
readonly [x: string]: unknown;
|
|
282
636
|
} | undefined;
|
|
283
|
-
readonly type: "
|
|
637
|
+
readonly type: "session.execution.failed";
|
|
638
|
+
readonly durable: {
|
|
639
|
+
readonly aggregateID: string;
|
|
640
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
641
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
642
|
+
};
|
|
284
643
|
readonly location?: {
|
|
285
644
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
286
645
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
287
646
|
} | undefined;
|
|
288
647
|
readonly data: {
|
|
289
648
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
290
|
-
readonly
|
|
649
|
+
readonly error: {
|
|
650
|
+
readonly type: string;
|
|
651
|
+
readonly message: string;
|
|
652
|
+
readonly status?: number | undefined;
|
|
653
|
+
readonly response?: {
|
|
654
|
+
readonly body: string;
|
|
655
|
+
} | undefined;
|
|
656
|
+
};
|
|
291
657
|
};
|
|
292
658
|
} | {
|
|
293
659
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -295,26 +661,38 @@ export declare const make: (options?: {
|
|
|
295
661
|
readonly metadata?: {
|
|
296
662
|
readonly [x: string]: unknown;
|
|
297
663
|
} | undefined;
|
|
298
|
-
readonly type: "
|
|
664
|
+
readonly type: "session.execution.interrupted";
|
|
665
|
+
readonly durable: {
|
|
666
|
+
readonly aggregateID: string;
|
|
667
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
668
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
669
|
+
};
|
|
299
670
|
readonly location?: {
|
|
300
671
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
301
672
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
302
673
|
} | undefined;
|
|
303
|
-
readonly data: {
|
|
674
|
+
readonly data: {
|
|
675
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
676
|
+
readonly reason: "inactivity" | "shutdown" | "superseded" | "user";
|
|
677
|
+
};
|
|
304
678
|
} | {
|
|
305
679
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
306
680
|
readonly created: number;
|
|
307
681
|
readonly metadata?: {
|
|
308
682
|
readonly [x: string]: unknown;
|
|
309
683
|
} | undefined;
|
|
310
|
-
readonly type: "
|
|
684
|
+
readonly type: "session.execution.started";
|
|
685
|
+
readonly durable: {
|
|
686
|
+
readonly aggregateID: string;
|
|
687
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
688
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
689
|
+
};
|
|
311
690
|
readonly location?: {
|
|
312
691
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
313
692
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
314
693
|
} | undefined;
|
|
315
694
|
readonly data: {
|
|
316
|
-
readonly
|
|
317
|
-
readonly credentialID: (string & import("effect/Brand").Brand<"Credential.ID">) | null;
|
|
695
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
318
696
|
};
|
|
319
697
|
} | {
|
|
320
698
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -322,43 +700,81 @@ export declare const make: (options?: {
|
|
|
322
700
|
readonly metadata?: {
|
|
323
701
|
readonly [x: string]: unknown;
|
|
324
702
|
} | undefined;
|
|
325
|
-
readonly type: "
|
|
703
|
+
readonly type: "session.execution.succeeded";
|
|
704
|
+
readonly durable: {
|
|
705
|
+
readonly aggregateID: string;
|
|
706
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
707
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
708
|
+
};
|
|
326
709
|
readonly location?: {
|
|
327
710
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
328
711
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
329
712
|
} | undefined;
|
|
330
|
-
readonly data: {
|
|
713
|
+
readonly data: {
|
|
714
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
715
|
+
};
|
|
331
716
|
} | {
|
|
332
717
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
333
718
|
readonly created: number;
|
|
334
719
|
readonly metadata?: {
|
|
335
720
|
readonly [x: string]: unknown;
|
|
336
721
|
} | undefined;
|
|
337
|
-
readonly type: "
|
|
722
|
+
readonly type: "session.forked";
|
|
723
|
+
readonly durable: {
|
|
724
|
+
readonly aggregateID: string;
|
|
725
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
726
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
727
|
+
};
|
|
338
728
|
readonly location?: {
|
|
339
729
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
340
730
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
341
731
|
} | undefined;
|
|
342
|
-
readonly data: {
|
|
732
|
+
readonly data: {
|
|
733
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
734
|
+
readonly parentID: string & import("effect/Brand").Brand<"SessionID">;
|
|
735
|
+
readonly boundary: {
|
|
736
|
+
readonly type: "before";
|
|
737
|
+
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
738
|
+
} | {
|
|
739
|
+
readonly type: "through";
|
|
740
|
+
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
741
|
+
};
|
|
742
|
+
readonly instructions?: {
|
|
743
|
+
readonly [x: string & import("effect/Brand").Brand<"Instruction.Key">]: string & import("effect/Brand").Brand<"Instruction.Hash">;
|
|
744
|
+
} | undefined;
|
|
745
|
+
readonly instructionEntries?: readonly {
|
|
746
|
+
readonly key: string;
|
|
747
|
+
readonly value: Schema.Json;
|
|
748
|
+
readonly removed: boolean;
|
|
749
|
+
}[] | undefined;
|
|
750
|
+
};
|
|
343
751
|
} | {
|
|
344
752
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
345
753
|
readonly created: number;
|
|
346
754
|
readonly metadata?: {
|
|
347
755
|
readonly [x: string]: unknown;
|
|
348
756
|
} | undefined;
|
|
349
|
-
readonly type: "
|
|
757
|
+
readonly type: "session.inbox.cancelled";
|
|
758
|
+
readonly durable: {
|
|
759
|
+
readonly aggregateID: string;
|
|
760
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
761
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
762
|
+
};
|
|
350
763
|
readonly location?: {
|
|
351
764
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
352
765
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
353
766
|
} | undefined;
|
|
354
|
-
readonly data: {
|
|
767
|
+
readonly data: {
|
|
768
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
769
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
770
|
+
};
|
|
355
771
|
} | {
|
|
356
772
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
357
773
|
readonly created: number;
|
|
358
774
|
readonly metadata?: {
|
|
359
775
|
readonly [x: string]: unknown;
|
|
360
776
|
} | undefined;
|
|
361
|
-
readonly type: "session.
|
|
777
|
+
readonly type: "session.inbox.delivered";
|
|
362
778
|
readonly durable: {
|
|
363
779
|
readonly aggregateID: string;
|
|
364
780
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -370,8 +786,7 @@ export declare const make: (options?: {
|
|
|
370
786
|
} | undefined;
|
|
371
787
|
readonly data: {
|
|
372
788
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
373
|
-
readonly
|
|
374
|
-
readonly previous?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
789
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
375
790
|
};
|
|
376
791
|
} | {
|
|
377
792
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -379,7 +794,7 @@ export declare const make: (options?: {
|
|
|
379
794
|
readonly metadata?: {
|
|
380
795
|
readonly [x: string]: unknown;
|
|
381
796
|
} | undefined;
|
|
382
|
-
readonly type: "session.
|
|
797
|
+
readonly type: "session.inbox.delivery.changed";
|
|
383
798
|
readonly durable: {
|
|
384
799
|
readonly aggregateID: string;
|
|
385
800
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -391,6 +806,8 @@ export declare const make: (options?: {
|
|
|
391
806
|
} | undefined;
|
|
392
807
|
readonly data: {
|
|
393
808
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
809
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
810
|
+
readonly delivery: "queue" | "steer";
|
|
394
811
|
};
|
|
395
812
|
} | {
|
|
396
813
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -398,7 +815,7 @@ export declare const make: (options?: {
|
|
|
398
815
|
readonly metadata?: {
|
|
399
816
|
readonly [x: string]: unknown;
|
|
400
817
|
} | undefined;
|
|
401
|
-
readonly type: "session.
|
|
818
|
+
readonly type: "session.inbox.enqueued";
|
|
402
819
|
readonly durable: {
|
|
403
820
|
readonly aggregateID: string;
|
|
404
821
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -410,39 +827,77 @@ export declare const make: (options?: {
|
|
|
410
827
|
} | undefined;
|
|
411
828
|
readonly data: {
|
|
412
829
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
413
|
-
readonly
|
|
414
|
-
readonly
|
|
415
|
-
readonly
|
|
416
|
-
readonly
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
830
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
831
|
+
readonly item: {
|
|
832
|
+
readonly type: "user";
|
|
833
|
+
readonly payload: {
|
|
834
|
+
readonly text: string;
|
|
835
|
+
readonly files?: readonly {
|
|
836
|
+
readonly data: string;
|
|
837
|
+
readonly mime: string;
|
|
838
|
+
readonly source: {
|
|
839
|
+
readonly type: "inline";
|
|
840
|
+
} | {
|
|
841
|
+
readonly type: "uri";
|
|
842
|
+
readonly uri: string;
|
|
843
|
+
};
|
|
844
|
+
readonly name?: string | undefined;
|
|
845
|
+
readonly description?: string | undefined;
|
|
846
|
+
readonly mention?: {
|
|
847
|
+
readonly start: number;
|
|
848
|
+
readonly end: number;
|
|
849
|
+
readonly text: string;
|
|
850
|
+
} | undefined;
|
|
851
|
+
}[] | undefined;
|
|
852
|
+
readonly agents?: readonly {
|
|
853
|
+
readonly name: string;
|
|
854
|
+
readonly mention?: {
|
|
855
|
+
readonly start: number;
|
|
856
|
+
readonly end: number;
|
|
857
|
+
readonly text: string;
|
|
858
|
+
} | undefined;
|
|
859
|
+
}[] | undefined;
|
|
860
|
+
readonly skills?: readonly {
|
|
861
|
+
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
862
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
863
|
+
readonly text?: string | undefined;
|
|
864
|
+
readonly mention?: {
|
|
865
|
+
readonly start: number;
|
|
866
|
+
readonly end: number;
|
|
867
|
+
readonly text: string;
|
|
868
|
+
} | undefined;
|
|
869
|
+
}[] | undefined;
|
|
870
|
+
readonly metadata?: {
|
|
871
|
+
readonly [x: string]: unknown;
|
|
872
|
+
} | undefined;
|
|
431
873
|
};
|
|
432
|
-
readonly
|
|
433
|
-
} |
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
874
|
+
readonly delivery: "queue" | "steer";
|
|
875
|
+
} | {
|
|
876
|
+
readonly type: "synthetic";
|
|
877
|
+
readonly payload: {
|
|
878
|
+
readonly text: string;
|
|
879
|
+
readonly description?: string | undefined;
|
|
880
|
+
readonly metadata?: {
|
|
881
|
+
readonly [x: string]: unknown;
|
|
882
|
+
} | undefined;
|
|
883
|
+
};
|
|
884
|
+
readonly delivery: "queue" | "steer";
|
|
885
|
+
} | {
|
|
886
|
+
readonly type: "compaction";
|
|
887
|
+
readonly payload: {};
|
|
888
|
+
readonly delivery: "queue" | "steer";
|
|
889
|
+
} | {
|
|
890
|
+
readonly type: "move";
|
|
891
|
+
readonly payload: {
|
|
892
|
+
readonly location: {
|
|
893
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
894
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
895
|
+
};
|
|
896
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
897
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
444
898
|
};
|
|
445
|
-
|
|
899
|
+
readonly delivery: "queue" | "steer";
|
|
900
|
+
};
|
|
446
901
|
};
|
|
447
902
|
} | {
|
|
448
903
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -450,7 +905,7 @@ export declare const make: (options?: {
|
|
|
450
905
|
readonly metadata?: {
|
|
451
906
|
readonly [x: string]: unknown;
|
|
452
907
|
} | undefined;
|
|
453
|
-
readonly type: "session.
|
|
908
|
+
readonly type: "session.instructions.updated";
|
|
454
909
|
readonly durable: {
|
|
455
910
|
readonly aggregateID: string;
|
|
456
911
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -462,26 +917,10 @@ export declare const make: (options?: {
|
|
|
462
917
|
} | undefined;
|
|
463
918
|
readonly data: {
|
|
464
919
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
465
|
-
readonly
|
|
466
|
-
|
|
467
|
-
readonly type: string;
|
|
468
|
-
readonly message: string;
|
|
469
|
-
readonly status?: number | undefined;
|
|
470
|
-
readonly response?: {
|
|
471
|
-
readonly body: string;
|
|
472
|
-
} | undefined;
|
|
920
|
+
readonly delta: {
|
|
921
|
+
readonly [x: string]: "removed" | (string & import("effect/Brand").Brand<"Instruction.Hash">);
|
|
473
922
|
};
|
|
474
|
-
readonly
|
|
475
|
-
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
476
|
-
readonly tokens?: {
|
|
477
|
-
readonly input: number;
|
|
478
|
-
readonly output: number;
|
|
479
|
-
readonly reasoning: number;
|
|
480
|
-
readonly cache: {
|
|
481
|
-
readonly read: number;
|
|
482
|
-
readonly write: number;
|
|
483
|
-
};
|
|
484
|
-
} | undefined;
|
|
923
|
+
readonly text?: string | undefined;
|
|
485
924
|
};
|
|
486
925
|
} | {
|
|
487
926
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -489,7 +928,7 @@ export declare const make: (options?: {
|
|
|
489
928
|
readonly metadata?: {
|
|
490
929
|
readonly [x: string]: unknown;
|
|
491
930
|
} | undefined;
|
|
492
|
-
readonly type: "session.
|
|
931
|
+
readonly type: "session.metadata.updated";
|
|
493
932
|
readonly durable: {
|
|
494
933
|
readonly aggregateID: string;
|
|
495
934
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -501,9 +940,9 @@ export declare const make: (options?: {
|
|
|
501
940
|
} | undefined;
|
|
502
941
|
readonly data: {
|
|
503
942
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
504
|
-
readonly
|
|
505
|
-
|
|
506
|
-
|
|
943
|
+
readonly metadata: {
|
|
944
|
+
readonly [x: string]: Schema.Json;
|
|
945
|
+
};
|
|
507
946
|
};
|
|
508
947
|
} | {
|
|
509
948
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -511,7 +950,7 @@ export declare const make: (options?: {
|
|
|
511
950
|
readonly metadata?: {
|
|
512
951
|
readonly [x: string]: unknown;
|
|
513
952
|
} | undefined;
|
|
514
|
-
readonly type: "session.
|
|
953
|
+
readonly type: "session.model.selected";
|
|
515
954
|
readonly durable: {
|
|
516
955
|
readonly aggregateID: string;
|
|
517
956
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -523,49 +962,16 @@ export declare const make: (options?: {
|
|
|
523
962
|
} | undefined;
|
|
524
963
|
readonly data: {
|
|
525
964
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
526
|
-
readonly
|
|
527
|
-
|
|
528
|
-
readonly
|
|
529
|
-
readonly
|
|
965
|
+
readonly model: {
|
|
966
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
967
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
968
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
530
969
|
};
|
|
531
|
-
readonly
|
|
532
|
-
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
533
|
-
readonly slug: string;
|
|
534
|
-
readonly title?: string | undefined;
|
|
535
|
-
readonly agent?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
536
|
-
readonly model?: {
|
|
970
|
+
readonly previous?: {
|
|
537
971
|
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
538
972
|
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
539
973
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
540
974
|
} | undefined;
|
|
541
|
-
readonly metadata?: {
|
|
542
|
-
readonly [x: string]: Schema.Json;
|
|
543
|
-
} | undefined;
|
|
544
|
-
readonly permissions?: readonly {
|
|
545
|
-
readonly action: string;
|
|
546
|
-
readonly resource: string;
|
|
547
|
-
readonly effect: "allow" | "ask" | "deny";
|
|
548
|
-
}[] | undefined;
|
|
549
|
-
readonly version: string;
|
|
550
|
-
};
|
|
551
|
-
} | {
|
|
552
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
553
|
-
readonly created: number;
|
|
554
|
-
readonly metadata?: {
|
|
555
|
-
readonly [x: string]: unknown;
|
|
556
|
-
} | undefined;
|
|
557
|
-
readonly type: "session.deleted";
|
|
558
|
-
readonly durable: {
|
|
559
|
-
readonly aggregateID: string;
|
|
560
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
561
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
562
|
-
};
|
|
563
|
-
readonly location?: {
|
|
564
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
565
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
566
|
-
} | undefined;
|
|
567
|
-
readonly data: {
|
|
568
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
569
975
|
};
|
|
570
976
|
} | {
|
|
571
977
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -573,7 +979,7 @@ export declare const make: (options?: {
|
|
|
573
979
|
readonly metadata?: {
|
|
574
980
|
readonly [x: string]: unknown;
|
|
575
981
|
} | undefined;
|
|
576
|
-
readonly type: "session.
|
|
982
|
+
readonly type: "session.moved";
|
|
577
983
|
readonly durable: {
|
|
578
984
|
readonly aggregateID: string;
|
|
579
985
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -584,35 +990,13 @@ export declare const make: (options?: {
|
|
|
584
990
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
585
991
|
} | undefined;
|
|
586
992
|
readonly data: {
|
|
587
|
-
readonly
|
|
588
|
-
|
|
589
|
-
readonly
|
|
590
|
-
readonly message: string;
|
|
591
|
-
readonly status?: number | undefined;
|
|
592
|
-
readonly response?: {
|
|
593
|
-
readonly body: string;
|
|
594
|
-
} | undefined;
|
|
993
|
+
readonly location: {
|
|
994
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
995
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
595
996
|
};
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
599
|
-
readonly created: number;
|
|
600
|
-
readonly metadata?: {
|
|
601
|
-
readonly [x: string]: unknown;
|
|
602
|
-
} | undefined;
|
|
603
|
-
readonly type: "session.execution.interrupted";
|
|
604
|
-
readonly durable: {
|
|
605
|
-
readonly aggregateID: string;
|
|
606
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
607
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
608
|
-
};
|
|
609
|
-
readonly location?: {
|
|
610
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
611
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
612
|
-
} | undefined;
|
|
613
|
-
readonly data: {
|
|
997
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
998
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
614
999
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
615
|
-
readonly reason: "inactivity" | "shutdown" | "superseded" | "user";
|
|
616
1000
|
};
|
|
617
1001
|
} | {
|
|
618
1002
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -620,7 +1004,7 @@ export declare const make: (options?: {
|
|
|
620
1004
|
readonly metadata?: {
|
|
621
1005
|
readonly [x: string]: unknown;
|
|
622
1006
|
} | undefined;
|
|
623
|
-
readonly type: "session.
|
|
1007
|
+
readonly type: "session.permissions";
|
|
624
1008
|
readonly durable: {
|
|
625
1009
|
readonly aggregateID: string;
|
|
626
1010
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -632,6 +1016,11 @@ export declare const make: (options?: {
|
|
|
632
1016
|
} | undefined;
|
|
633
1017
|
readonly data: {
|
|
634
1018
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1019
|
+
readonly permissions: readonly {
|
|
1020
|
+
readonly action: string;
|
|
1021
|
+
readonly resource: string;
|
|
1022
|
+
readonly effect: "allow" | "ask" | "deny";
|
|
1023
|
+
}[];
|
|
635
1024
|
};
|
|
636
1025
|
} | {
|
|
637
1026
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -639,7 +1028,7 @@ export declare const make: (options?: {
|
|
|
639
1028
|
readonly metadata?: {
|
|
640
1029
|
readonly [x: string]: unknown;
|
|
641
1030
|
} | undefined;
|
|
642
|
-
readonly type: "session.
|
|
1031
|
+
readonly type: "session.reasoning.ended";
|
|
643
1032
|
readonly durable: {
|
|
644
1033
|
readonly aggregateID: string;
|
|
645
1034
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -651,6 +1040,12 @@ export declare const make: (options?: {
|
|
|
651
1040
|
} | undefined;
|
|
652
1041
|
readonly data: {
|
|
653
1042
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1043
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1044
|
+
readonly ordinal: number;
|
|
1045
|
+
readonly text: string;
|
|
1046
|
+
readonly native?: {
|
|
1047
|
+
readonly [x: string]: unknown;
|
|
1048
|
+
} | undefined;
|
|
654
1049
|
};
|
|
655
1050
|
} | {
|
|
656
1051
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -658,7 +1053,7 @@ export declare const make: (options?: {
|
|
|
658
1053
|
readonly metadata?: {
|
|
659
1054
|
readonly [x: string]: unknown;
|
|
660
1055
|
} | undefined;
|
|
661
|
-
readonly type: "session.
|
|
1056
|
+
readonly type: "session.reasoning.started";
|
|
662
1057
|
readonly durable: {
|
|
663
1058
|
readonly aggregateID: string;
|
|
664
1059
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -670,22 +1065,11 @@ export declare const make: (options?: {
|
|
|
670
1065
|
} | undefined;
|
|
671
1066
|
readonly data: {
|
|
672
1067
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
673
|
-
readonly
|
|
674
|
-
readonly
|
|
675
|
-
|
|
676
|
-
readonly
|
|
677
|
-
} | {
|
|
678
|
-
readonly type: "through";
|
|
679
|
-
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
680
|
-
};
|
|
681
|
-
readonly instructions?: {
|
|
682
|
-
readonly [x: string & import("effect/Brand").Brand<"Instruction.Key">]: string & import("effect/Brand").Brand<"Instruction.Hash">;
|
|
1068
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1069
|
+
readonly ordinal: number;
|
|
1070
|
+
readonly native?: {
|
|
1071
|
+
readonly [x: string]: unknown;
|
|
683
1072
|
} | undefined;
|
|
684
|
-
readonly instructionEntries?: readonly {
|
|
685
|
-
readonly key: string;
|
|
686
|
-
readonly value: Schema.Json;
|
|
687
|
-
readonly removed: boolean;
|
|
688
|
-
}[] | undefined;
|
|
689
1073
|
};
|
|
690
1074
|
} | {
|
|
691
1075
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -693,7 +1077,7 @@ export declare const make: (options?: {
|
|
|
693
1077
|
readonly metadata?: {
|
|
694
1078
|
readonly [x: string]: unknown;
|
|
695
1079
|
} | undefined;
|
|
696
|
-
readonly type: "session.
|
|
1080
|
+
readonly type: "session.renamed";
|
|
697
1081
|
readonly durable: {
|
|
698
1082
|
readonly aggregateID: string;
|
|
699
1083
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -705,7 +1089,7 @@ export declare const make: (options?: {
|
|
|
705
1089
|
} | undefined;
|
|
706
1090
|
readonly data: {
|
|
707
1091
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
708
|
-
readonly
|
|
1092
|
+
readonly title: string;
|
|
709
1093
|
};
|
|
710
1094
|
} | {
|
|
711
1095
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -713,7 +1097,7 @@ export declare const make: (options?: {
|
|
|
713
1097
|
readonly metadata?: {
|
|
714
1098
|
readonly [x: string]: unknown;
|
|
715
1099
|
} | undefined;
|
|
716
|
-
readonly type: "session.
|
|
1100
|
+
readonly type: "session.retry.scheduled";
|
|
717
1101
|
readonly durable: {
|
|
718
1102
|
readonly aggregateID: string;
|
|
719
1103
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -725,7 +1109,17 @@ export declare const make: (options?: {
|
|
|
725
1109
|
} | undefined;
|
|
726
1110
|
readonly data: {
|
|
727
1111
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
728
|
-
readonly
|
|
1112
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1113
|
+
readonly attempt: number;
|
|
1114
|
+
readonly at: number;
|
|
1115
|
+
readonly error: {
|
|
1116
|
+
readonly type: string;
|
|
1117
|
+
readonly message: string;
|
|
1118
|
+
readonly status?: number | undefined;
|
|
1119
|
+
readonly response?: {
|
|
1120
|
+
readonly body: string;
|
|
1121
|
+
} | undefined;
|
|
1122
|
+
};
|
|
729
1123
|
};
|
|
730
1124
|
} | {
|
|
731
1125
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -733,7 +1127,7 @@ export declare const make: (options?: {
|
|
|
733
1127
|
readonly metadata?: {
|
|
734
1128
|
readonly [x: string]: unknown;
|
|
735
1129
|
} | undefined;
|
|
736
|
-
readonly type: "session.
|
|
1130
|
+
readonly type: "session.revert.cleared";
|
|
737
1131
|
readonly durable: {
|
|
738
1132
|
readonly aggregateID: string;
|
|
739
1133
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -745,8 +1139,6 @@ export declare const make: (options?: {
|
|
|
745
1139
|
} | undefined;
|
|
746
1140
|
readonly data: {
|
|
747
1141
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
748
|
-
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
749
|
-
readonly delivery: "queue" | "steer";
|
|
750
1142
|
};
|
|
751
1143
|
} | {
|
|
752
1144
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -754,7 +1146,7 @@ export declare const make: (options?: {
|
|
|
754
1146
|
readonly metadata?: {
|
|
755
1147
|
readonly [x: string]: unknown;
|
|
756
1148
|
} | undefined;
|
|
757
|
-
readonly type: "session.
|
|
1149
|
+
readonly type: "session.revert.committed";
|
|
758
1150
|
readonly durable: {
|
|
759
1151
|
readonly aggregateID: string;
|
|
760
1152
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -766,77 +1158,7 @@ export declare const make: (options?: {
|
|
|
766
1158
|
} | undefined;
|
|
767
1159
|
readonly data: {
|
|
768
1160
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
769
|
-
readonly
|
|
770
|
-
readonly item: {
|
|
771
|
-
readonly type: "user";
|
|
772
|
-
readonly payload: {
|
|
773
|
-
readonly text: string;
|
|
774
|
-
readonly files?: readonly {
|
|
775
|
-
readonly data: string;
|
|
776
|
-
readonly mime: string;
|
|
777
|
-
readonly source: {
|
|
778
|
-
readonly type: "inline";
|
|
779
|
-
} | {
|
|
780
|
-
readonly type: "uri";
|
|
781
|
-
readonly uri: string;
|
|
782
|
-
};
|
|
783
|
-
readonly name?: string | undefined;
|
|
784
|
-
readonly description?: string | undefined;
|
|
785
|
-
readonly mention?: {
|
|
786
|
-
readonly start: number;
|
|
787
|
-
readonly end: number;
|
|
788
|
-
readonly text: string;
|
|
789
|
-
} | undefined;
|
|
790
|
-
}[] | undefined;
|
|
791
|
-
readonly agents?: readonly {
|
|
792
|
-
readonly name: string;
|
|
793
|
-
readonly mention?: {
|
|
794
|
-
readonly start: number;
|
|
795
|
-
readonly end: number;
|
|
796
|
-
readonly text: string;
|
|
797
|
-
} | undefined;
|
|
798
|
-
}[] | undefined;
|
|
799
|
-
readonly skills?: readonly {
|
|
800
|
-
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
801
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
802
|
-
readonly text?: string | undefined;
|
|
803
|
-
readonly mention?: {
|
|
804
|
-
readonly start: number;
|
|
805
|
-
readonly end: number;
|
|
806
|
-
readonly text: string;
|
|
807
|
-
} | undefined;
|
|
808
|
-
}[] | undefined;
|
|
809
|
-
readonly metadata?: {
|
|
810
|
-
readonly [x: string]: unknown;
|
|
811
|
-
} | undefined;
|
|
812
|
-
};
|
|
813
|
-
readonly delivery: "queue" | "steer";
|
|
814
|
-
} | {
|
|
815
|
-
readonly type: "synthetic";
|
|
816
|
-
readonly payload: {
|
|
817
|
-
readonly text: string;
|
|
818
|
-
readonly description?: string | undefined;
|
|
819
|
-
readonly metadata?: {
|
|
820
|
-
readonly [x: string]: unknown;
|
|
821
|
-
} | undefined;
|
|
822
|
-
};
|
|
823
|
-
readonly delivery: "queue" | "steer";
|
|
824
|
-
} | {
|
|
825
|
-
readonly type: "compaction";
|
|
826
|
-
readonly payload: {};
|
|
827
|
-
readonly delivery: "queue" | "steer";
|
|
828
|
-
} | {
|
|
829
|
-
readonly type: "move";
|
|
830
|
-
readonly payload: {
|
|
831
|
-
readonly location: {
|
|
832
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
833
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
834
|
-
};
|
|
835
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
836
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
837
|
-
};
|
|
838
|
-
readonly delivery: "queue" | "steer";
|
|
839
|
-
};
|
|
1161
|
+
readonly to: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
840
1162
|
};
|
|
841
1163
|
} | {
|
|
842
1164
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -844,7 +1166,7 @@ export declare const make: (options?: {
|
|
|
844
1166
|
readonly metadata?: {
|
|
845
1167
|
readonly [x: string]: unknown;
|
|
846
1168
|
} | undefined;
|
|
847
|
-
readonly type: "session.
|
|
1169
|
+
readonly type: "session.revert.staged";
|
|
848
1170
|
readonly durable: {
|
|
849
1171
|
readonly aggregateID: string;
|
|
850
1172
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -856,10 +1178,18 @@ export declare const make: (options?: {
|
|
|
856
1178
|
} | undefined;
|
|
857
1179
|
readonly data: {
|
|
858
1180
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
859
|
-
readonly
|
|
860
|
-
readonly
|
|
1181
|
+
readonly revert: {
|
|
1182
|
+
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1183
|
+
readonly partID?: string | undefined;
|
|
1184
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1185
|
+
readonly files?: readonly {
|
|
1186
|
+
readonly file: string;
|
|
1187
|
+
readonly patch: string;
|
|
1188
|
+
readonly additions: number;
|
|
1189
|
+
readonly deletions: number;
|
|
1190
|
+
readonly status: "added" | "deleted" | "modified";
|
|
1191
|
+
}[] | undefined;
|
|
861
1192
|
};
|
|
862
|
-
readonly text?: string | undefined;
|
|
863
1193
|
};
|
|
864
1194
|
} | {
|
|
865
1195
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -867,7 +1197,7 @@ export declare const make: (options?: {
|
|
|
867
1197
|
readonly metadata?: {
|
|
868
1198
|
readonly [x: string]: unknown;
|
|
869
1199
|
} | undefined;
|
|
870
|
-
readonly type: "session.
|
|
1200
|
+
readonly type: "session.shell.ended";
|
|
871
1201
|
readonly durable: {
|
|
872
1202
|
readonly aggregateID: string;
|
|
873
1203
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -879,8 +1209,29 @@ export declare const make: (options?: {
|
|
|
879
1209
|
} | undefined;
|
|
880
1210
|
readonly data: {
|
|
881
1211
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
882
|
-
readonly
|
|
883
|
-
readonly
|
|
1212
|
+
readonly shell: {
|
|
1213
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
1214
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
1215
|
+
readonly command: string;
|
|
1216
|
+
readonly cwd: string;
|
|
1217
|
+
readonly shell: string;
|
|
1218
|
+
readonly file: string;
|
|
1219
|
+
readonly pid?: number | undefined;
|
|
1220
|
+
readonly exit?: number | undefined;
|
|
1221
|
+
readonly signal?: string | undefined;
|
|
1222
|
+
readonly metadata: {
|
|
1223
|
+
readonly [x: string]: unknown;
|
|
1224
|
+
};
|
|
1225
|
+
readonly time: {
|
|
1226
|
+
readonly started: number;
|
|
1227
|
+
readonly completed?: number | undefined;
|
|
1228
|
+
};
|
|
1229
|
+
};
|
|
1230
|
+
readonly output: {
|
|
1231
|
+
readonly output: string;
|
|
1232
|
+
readonly cursor: number;
|
|
1233
|
+
readonly size: number;
|
|
1234
|
+
readonly truncated: boolean;
|
|
884
1235
|
};
|
|
885
1236
|
};
|
|
886
1237
|
} | {
|
|
@@ -889,7 +1240,7 @@ export declare const make: (options?: {
|
|
|
889
1240
|
readonly metadata?: {
|
|
890
1241
|
readonly [x: string]: unknown;
|
|
891
1242
|
} | undefined;
|
|
892
|
-
readonly type: "session.
|
|
1243
|
+
readonly type: "session.shell.started";
|
|
893
1244
|
readonly durable: {
|
|
894
1245
|
readonly aggregateID: string;
|
|
895
1246
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -901,16 +1252,24 @@ export declare const make: (options?: {
|
|
|
901
1252
|
} | undefined;
|
|
902
1253
|
readonly data: {
|
|
903
1254
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
904
|
-
readonly
|
|
905
|
-
readonly id: string & import("effect/Brand").Brand<"
|
|
906
|
-
readonly
|
|
907
|
-
readonly
|
|
1255
|
+
readonly shell: {
|
|
1256
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
1257
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
1258
|
+
readonly command: string;
|
|
1259
|
+
readonly cwd: string;
|
|
1260
|
+
readonly shell: string;
|
|
1261
|
+
readonly file: string;
|
|
1262
|
+
readonly pid?: number | undefined;
|
|
1263
|
+
readonly exit?: number | undefined;
|
|
1264
|
+
readonly signal?: string | undefined;
|
|
1265
|
+
readonly metadata: {
|
|
1266
|
+
readonly [x: string]: unknown;
|
|
1267
|
+
};
|
|
1268
|
+
readonly time: {
|
|
1269
|
+
readonly started: number;
|
|
1270
|
+
readonly completed?: number | undefined;
|
|
1271
|
+
};
|
|
908
1272
|
};
|
|
909
|
-
readonly previous?: {
|
|
910
|
-
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
911
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
912
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
913
|
-
} | undefined;
|
|
914
1273
|
};
|
|
915
1274
|
} | {
|
|
916
1275
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -918,7 +1277,7 @@ export declare const make: (options?: {
|
|
|
918
1277
|
readonly metadata?: {
|
|
919
1278
|
readonly [x: string]: unknown;
|
|
920
1279
|
} | undefined;
|
|
921
|
-
readonly type: "session.
|
|
1280
|
+
readonly type: "session.skill.activated";
|
|
922
1281
|
readonly durable: {
|
|
923
1282
|
readonly aggregateID: string;
|
|
924
1283
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -929,13 +1288,10 @@ export declare const make: (options?: {
|
|
|
929
1288
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
930
1289
|
} | undefined;
|
|
931
1290
|
readonly data: {
|
|
932
|
-
readonly location: {
|
|
933
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
934
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
935
|
-
};
|
|
936
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
937
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
938
1291
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1292
|
+
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
1293
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
1294
|
+
readonly text: string;
|
|
939
1295
|
};
|
|
940
1296
|
} | {
|
|
941
1297
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -943,7 +1299,7 @@ export declare const make: (options?: {
|
|
|
943
1299
|
readonly metadata?: {
|
|
944
1300
|
readonly [x: string]: unknown;
|
|
945
1301
|
} | undefined;
|
|
946
|
-
readonly type: "session.
|
|
1302
|
+
readonly type: "session.step.ended";
|
|
947
1303
|
readonly durable: {
|
|
948
1304
|
readonly aggregateID: string;
|
|
949
1305
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -955,11 +1311,24 @@ export declare const make: (options?: {
|
|
|
955
1311
|
} | undefined;
|
|
956
1312
|
readonly data: {
|
|
957
1313
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
958
|
-
readonly
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
1314
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1315
|
+
readonly finish: "content-filter" | "error" | "length" | "stop" | "tool-calls" | "unknown";
|
|
1316
|
+
readonly rawFinish?: string | undefined;
|
|
1317
|
+
readonly native?: {
|
|
1318
|
+
readonly [x: string]: unknown;
|
|
1319
|
+
} | undefined;
|
|
1320
|
+
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
1321
|
+
readonly tokens: {
|
|
1322
|
+
readonly input: number;
|
|
1323
|
+
readonly output: number;
|
|
1324
|
+
readonly reasoning: number;
|
|
1325
|
+
readonly cache: {
|
|
1326
|
+
readonly read: number;
|
|
1327
|
+
readonly write: number;
|
|
1328
|
+
};
|
|
1329
|
+
};
|
|
1330
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1331
|
+
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
963
1332
|
};
|
|
964
1333
|
} | {
|
|
965
1334
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -967,7 +1336,7 @@ export declare const make: (options?: {
|
|
|
967
1336
|
readonly metadata?: {
|
|
968
1337
|
readonly [x: string]: unknown;
|
|
969
1338
|
} | undefined;
|
|
970
|
-
readonly type: "session.
|
|
1339
|
+
readonly type: "session.step.failed";
|
|
971
1340
|
readonly durable: {
|
|
972
1341
|
readonly aggregateID: string;
|
|
973
1342
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -980,11 +1349,31 @@ export declare const make: (options?: {
|
|
|
980
1349
|
readonly data: {
|
|
981
1350
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
982
1351
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
983
|
-
readonly
|
|
984
|
-
|
|
985
|
-
|
|
1352
|
+
readonly error: {
|
|
1353
|
+
readonly type: string;
|
|
1354
|
+
readonly message: string;
|
|
1355
|
+
readonly status?: number | undefined;
|
|
1356
|
+
readonly response?: {
|
|
1357
|
+
readonly body: string;
|
|
1358
|
+
} | undefined;
|
|
1359
|
+
};
|
|
1360
|
+
readonly finish?: "content-filter" | undefined;
|
|
1361
|
+
readonly rawFinish?: string | undefined;
|
|
1362
|
+
readonly native?: {
|
|
986
1363
|
readonly [x: string]: unknown;
|
|
987
1364
|
} | undefined;
|
|
1365
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
1366
|
+
readonly tokens?: {
|
|
1367
|
+
readonly input: number;
|
|
1368
|
+
readonly output: number;
|
|
1369
|
+
readonly reasoning: number;
|
|
1370
|
+
readonly cache: {
|
|
1371
|
+
readonly read: number;
|
|
1372
|
+
readonly write: number;
|
|
1373
|
+
};
|
|
1374
|
+
} | undefined;
|
|
1375
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1376
|
+
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
988
1377
|
};
|
|
989
1378
|
} | {
|
|
990
1379
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -992,7 +1381,7 @@ export declare const make: (options?: {
|
|
|
992
1381
|
readonly metadata?: {
|
|
993
1382
|
readonly [x: string]: unknown;
|
|
994
1383
|
} | undefined;
|
|
995
|
-
readonly type: "session.
|
|
1384
|
+
readonly type: "session.step.started";
|
|
996
1385
|
readonly durable: {
|
|
997
1386
|
readonly aggregateID: string;
|
|
998
1387
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1005,10 +1394,14 @@ export declare const make: (options?: {
|
|
|
1005
1394
|
readonly data: {
|
|
1006
1395
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1007
1396
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1008
|
-
readonly
|
|
1009
|
-
readonly
|
|
1010
|
-
readonly
|
|
1011
|
-
|
|
1397
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
1398
|
+
readonly model: {
|
|
1399
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1400
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1401
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1402
|
+
};
|
|
1403
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1404
|
+
readonly started: number;
|
|
1012
1405
|
};
|
|
1013
1406
|
} | {
|
|
1014
1407
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1016,7 +1409,7 @@ export declare const make: (options?: {
|
|
|
1016
1409
|
readonly metadata?: {
|
|
1017
1410
|
readonly [x: string]: unknown;
|
|
1018
1411
|
} | undefined;
|
|
1019
|
-
readonly type: "session.
|
|
1412
|
+
readonly type: "session.step.streamed";
|
|
1020
1413
|
readonly durable: {
|
|
1021
1414
|
readonly aggregateID: string;
|
|
1022
1415
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1028,7 +1421,7 @@ export declare const make: (options?: {
|
|
|
1028
1421
|
} | undefined;
|
|
1029
1422
|
readonly data: {
|
|
1030
1423
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1031
|
-
readonly
|
|
1424
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1032
1425
|
};
|
|
1033
1426
|
} | {
|
|
1034
1427
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1036,7 +1429,7 @@ export declare const make: (options?: {
|
|
|
1036
1429
|
readonly metadata?: {
|
|
1037
1430
|
readonly [x: string]: unknown;
|
|
1038
1431
|
} | undefined;
|
|
1039
|
-
readonly type: "session.
|
|
1432
|
+
readonly type: "session.synthetic";
|
|
1040
1433
|
readonly durable: {
|
|
1041
1434
|
readonly aggregateID: string;
|
|
1042
1435
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1048,17 +1441,11 @@ export declare const make: (options?: {
|
|
|
1048
1441
|
} | undefined;
|
|
1049
1442
|
readonly data: {
|
|
1050
1443
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1051
|
-
readonly
|
|
1052
|
-
readonly
|
|
1053
|
-
readonly
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
readonly message: string;
|
|
1057
|
-
readonly status?: number | undefined;
|
|
1058
|
-
readonly response?: {
|
|
1059
|
-
readonly body: string;
|
|
1060
|
-
} | undefined;
|
|
1061
|
-
};
|
|
1444
|
+
readonly text: string;
|
|
1445
|
+
readonly description?: string | undefined;
|
|
1446
|
+
readonly metadata?: {
|
|
1447
|
+
readonly [x: string]: unknown;
|
|
1448
|
+
} | undefined;
|
|
1062
1449
|
};
|
|
1063
1450
|
} | {
|
|
1064
1451
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1066,7 +1453,7 @@ export declare const make: (options?: {
|
|
|
1066
1453
|
readonly metadata?: {
|
|
1067
1454
|
readonly [x: string]: unknown;
|
|
1068
1455
|
} | undefined;
|
|
1069
|
-
readonly type: "session.
|
|
1456
|
+
readonly type: "session.text.ended";
|
|
1070
1457
|
readonly durable: {
|
|
1071
1458
|
readonly aggregateID: string;
|
|
1072
1459
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1078,6 +1465,12 @@ export declare const make: (options?: {
|
|
|
1078
1465
|
} | undefined;
|
|
1079
1466
|
readonly data: {
|
|
1080
1467
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1468
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1469
|
+
readonly ordinal: number;
|
|
1470
|
+
readonly text: string;
|
|
1471
|
+
readonly native?: {
|
|
1472
|
+
readonly [x: string]: unknown;
|
|
1473
|
+
} | undefined;
|
|
1081
1474
|
};
|
|
1082
1475
|
} | {
|
|
1083
1476
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1085,7 +1478,7 @@ export declare const make: (options?: {
|
|
|
1085
1478
|
readonly metadata?: {
|
|
1086
1479
|
readonly [x: string]: unknown;
|
|
1087
1480
|
} | undefined;
|
|
1088
|
-
readonly type: "session.
|
|
1481
|
+
readonly type: "session.text.started";
|
|
1089
1482
|
readonly durable: {
|
|
1090
1483
|
readonly aggregateID: string;
|
|
1091
1484
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1097,7 +1490,8 @@ export declare const make: (options?: {
|
|
|
1097
1490
|
} | undefined;
|
|
1098
1491
|
readonly data: {
|
|
1099
1492
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1100
|
-
readonly
|
|
1493
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1494
|
+
readonly ordinal: number;
|
|
1101
1495
|
};
|
|
1102
1496
|
} | {
|
|
1103
1497
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1105,7 +1499,7 @@ export declare const make: (options?: {
|
|
|
1105
1499
|
readonly metadata?: {
|
|
1106
1500
|
readonly [x: string]: unknown;
|
|
1107
1501
|
} | undefined;
|
|
1108
|
-
readonly type: "session.
|
|
1502
|
+
readonly type: "session.tool.called";
|
|
1109
1503
|
readonly durable: {
|
|
1110
1504
|
readonly aggregateID: string;
|
|
1111
1505
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1117,18 +1511,15 @@ export declare const make: (options?: {
|
|
|
1117
1511
|
} | undefined;
|
|
1118
1512
|
readonly data: {
|
|
1119
1513
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1120
|
-
readonly
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
readonly
|
|
1124
|
-
readonly files?: readonly {
|
|
1125
|
-
readonly file: string;
|
|
1126
|
-
readonly patch: string;
|
|
1127
|
-
readonly additions: number;
|
|
1128
|
-
readonly deletions: number;
|
|
1129
|
-
readonly status: "added" | "deleted" | "modified";
|
|
1130
|
-
}[] | undefined;
|
|
1514
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1515
|
+
readonly id: string;
|
|
1516
|
+
readonly input: {
|
|
1517
|
+
readonly [x: string]: unknown;
|
|
1131
1518
|
};
|
|
1519
|
+
readonly executed: boolean;
|
|
1520
|
+
readonly native?: {
|
|
1521
|
+
readonly [x: string]: unknown;
|
|
1522
|
+
} | undefined;
|
|
1132
1523
|
};
|
|
1133
1524
|
} | {
|
|
1134
1525
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1136,7 +1527,7 @@ export declare const make: (options?: {
|
|
|
1136
1527
|
readonly metadata?: {
|
|
1137
1528
|
readonly [x: string]: unknown;
|
|
1138
1529
|
} | undefined;
|
|
1139
|
-
readonly type: "session.
|
|
1530
|
+
readonly type: "session.tool.failed";
|
|
1140
1531
|
readonly durable: {
|
|
1141
1532
|
readonly aggregateID: string;
|
|
1142
1533
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1148,30 +1539,40 @@ export declare const make: (options?: {
|
|
|
1148
1539
|
} | undefined;
|
|
1149
1540
|
readonly data: {
|
|
1150
1541
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1151
|
-
readonly
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
readonly
|
|
1155
|
-
readonly
|
|
1156
|
-
readonly
|
|
1157
|
-
readonly
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
readonly signal?: string | undefined;
|
|
1161
|
-
readonly metadata: {
|
|
1162
|
-
readonly [x: string]: unknown;
|
|
1163
|
-
};
|
|
1164
|
-
readonly time: {
|
|
1165
|
-
readonly started: number;
|
|
1166
|
-
readonly completed?: number | undefined;
|
|
1167
|
-
};
|
|
1168
|
-
};
|
|
1169
|
-
readonly output: {
|
|
1170
|
-
readonly output: string;
|
|
1171
|
-
readonly cursor: number;
|
|
1172
|
-
readonly size: number;
|
|
1173
|
-
readonly truncated: boolean;
|
|
1542
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1543
|
+
readonly id: string;
|
|
1544
|
+
readonly error: {
|
|
1545
|
+
readonly type: string;
|
|
1546
|
+
readonly message: string;
|
|
1547
|
+
readonly status?: number | undefined;
|
|
1548
|
+
readonly response?: {
|
|
1549
|
+
readonly body: string;
|
|
1550
|
+
} | undefined;
|
|
1174
1551
|
};
|
|
1552
|
+
readonly content?: readonly [{
|
|
1553
|
+
readonly type: "text";
|
|
1554
|
+
readonly text: string;
|
|
1555
|
+
} | {
|
|
1556
|
+
readonly type: "file";
|
|
1557
|
+
readonly uri: string;
|
|
1558
|
+
readonly mime: string;
|
|
1559
|
+
readonly name?: string | undefined;
|
|
1560
|
+
}, ...({
|
|
1561
|
+
readonly type: "text";
|
|
1562
|
+
readonly text: string;
|
|
1563
|
+
} | {
|
|
1564
|
+
readonly type: "file";
|
|
1565
|
+
readonly uri: string;
|
|
1566
|
+
readonly mime: string;
|
|
1567
|
+
readonly name?: string | undefined;
|
|
1568
|
+
})[]] | undefined;
|
|
1569
|
+
readonly metadata?: {
|
|
1570
|
+
readonly [x: string]: Schema.Json;
|
|
1571
|
+
} | undefined;
|
|
1572
|
+
readonly executed: boolean;
|
|
1573
|
+
readonly native?: {
|
|
1574
|
+
readonly [x: string]: unknown;
|
|
1575
|
+
} | undefined;
|
|
1175
1576
|
};
|
|
1176
1577
|
} | {
|
|
1177
1578
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1179,7 +1580,7 @@ export declare const make: (options?: {
|
|
|
1179
1580
|
readonly metadata?: {
|
|
1180
1581
|
readonly [x: string]: unknown;
|
|
1181
1582
|
} | undefined;
|
|
1182
|
-
readonly type: "session.
|
|
1583
|
+
readonly type: "session.tool.input.ended";
|
|
1183
1584
|
readonly durable: {
|
|
1184
1585
|
readonly aggregateID: string;
|
|
1185
1586
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1191,24 +1592,9 @@ export declare const make: (options?: {
|
|
|
1191
1592
|
} | undefined;
|
|
1192
1593
|
readonly data: {
|
|
1193
1594
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1194
|
-
readonly
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
readonly command: string;
|
|
1198
|
-
readonly cwd: string;
|
|
1199
|
-
readonly shell: string;
|
|
1200
|
-
readonly file: string;
|
|
1201
|
-
readonly pid?: number | undefined;
|
|
1202
|
-
readonly exit?: number | undefined;
|
|
1203
|
-
readonly signal?: string | undefined;
|
|
1204
|
-
readonly metadata: {
|
|
1205
|
-
readonly [x: string]: unknown;
|
|
1206
|
-
};
|
|
1207
|
-
readonly time: {
|
|
1208
|
-
readonly started: number;
|
|
1209
|
-
readonly completed?: number | undefined;
|
|
1210
|
-
};
|
|
1211
|
-
};
|
|
1595
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1596
|
+
readonly id: string;
|
|
1597
|
+
readonly text: string;
|
|
1212
1598
|
};
|
|
1213
1599
|
} | {
|
|
1214
1600
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1216,7 +1602,7 @@ export declare const make: (options?: {
|
|
|
1216
1602
|
readonly metadata?: {
|
|
1217
1603
|
readonly [x: string]: unknown;
|
|
1218
1604
|
} | undefined;
|
|
1219
|
-
readonly type: "session.
|
|
1605
|
+
readonly type: "session.tool.input.started";
|
|
1220
1606
|
readonly durable: {
|
|
1221
1607
|
readonly aggregateID: string;
|
|
1222
1608
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1228,9 +1614,9 @@ export declare const make: (options?: {
|
|
|
1228
1614
|
} | undefined;
|
|
1229
1615
|
readonly data: {
|
|
1230
1616
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1231
|
-
readonly
|
|
1232
|
-
readonly
|
|
1233
|
-
readonly
|
|
1617
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1618
|
+
readonly id: string;
|
|
1619
|
+
readonly name: string;
|
|
1234
1620
|
};
|
|
1235
1621
|
} | {
|
|
1236
1622
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1238,7 +1624,7 @@ export declare const make: (options?: {
|
|
|
1238
1624
|
readonly metadata?: {
|
|
1239
1625
|
readonly [x: string]: unknown;
|
|
1240
1626
|
} | undefined;
|
|
1241
|
-
readonly type: "session.
|
|
1627
|
+
readonly type: "session.tool.success";
|
|
1242
1628
|
readonly durable: {
|
|
1243
1629
|
readonly aggregateID: string;
|
|
1244
1630
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1251,23 +1637,31 @@ export declare const make: (options?: {
|
|
|
1251
1637
|
readonly data: {
|
|
1252
1638
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1253
1639
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1254
|
-
readonly
|
|
1255
|
-
readonly
|
|
1256
|
-
|
|
1640
|
+
readonly id: string;
|
|
1641
|
+
readonly content: readonly [{
|
|
1642
|
+
readonly type: "text";
|
|
1643
|
+
readonly text: string;
|
|
1644
|
+
} | {
|
|
1645
|
+
readonly type: "file";
|
|
1646
|
+
readonly uri: string;
|
|
1647
|
+
readonly mime: string;
|
|
1648
|
+
readonly name?: string | undefined;
|
|
1649
|
+
}, ...({
|
|
1650
|
+
readonly type: "text";
|
|
1651
|
+
readonly text: string;
|
|
1652
|
+
} | {
|
|
1653
|
+
readonly type: "file";
|
|
1654
|
+
readonly uri: string;
|
|
1655
|
+
readonly mime: string;
|
|
1656
|
+
readonly name?: string | undefined;
|
|
1657
|
+
})[]];
|
|
1658
|
+
readonly metadata?: {
|
|
1659
|
+
readonly [x: string]: Schema.Json;
|
|
1660
|
+
} | undefined;
|
|
1661
|
+
readonly executed: boolean;
|
|
1662
|
+
readonly native?: {
|
|
1257
1663
|
readonly [x: string]: unknown;
|
|
1258
1664
|
} | undefined;
|
|
1259
|
-
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
1260
|
-
readonly tokens: {
|
|
1261
|
-
readonly input: number;
|
|
1262
|
-
readonly output: number;
|
|
1263
|
-
readonly reasoning: number;
|
|
1264
|
-
readonly cache: {
|
|
1265
|
-
readonly read: number;
|
|
1266
|
-
readonly write: number;
|
|
1267
|
-
};
|
|
1268
|
-
};
|
|
1269
|
-
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1270
|
-
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
1271
1665
|
};
|
|
1272
1666
|
} | {
|
|
1273
1667
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1275,7 +1669,7 @@ export declare const make: (options?: {
|
|
|
1275
1669
|
readonly metadata?: {
|
|
1276
1670
|
readonly [x: string]: unknown;
|
|
1277
1671
|
} | undefined;
|
|
1278
|
-
readonly type: "session.
|
|
1672
|
+
readonly type: "session.unarchived";
|
|
1279
1673
|
readonly durable: {
|
|
1280
1674
|
readonly aggregateID: string;
|
|
1281
1675
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1287,32 +1681,6 @@ export declare const make: (options?: {
|
|
|
1287
1681
|
} | undefined;
|
|
1288
1682
|
readonly data: {
|
|
1289
1683
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1290
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1291
|
-
readonly error: {
|
|
1292
|
-
readonly type: string;
|
|
1293
|
-
readonly message: string;
|
|
1294
|
-
readonly status?: number | undefined;
|
|
1295
|
-
readonly response?: {
|
|
1296
|
-
readonly body: string;
|
|
1297
|
-
} | undefined;
|
|
1298
|
-
};
|
|
1299
|
-
readonly finish?: "content-filter" | undefined;
|
|
1300
|
-
readonly rawFinish?: string | undefined;
|
|
1301
|
-
readonly providerState?: {
|
|
1302
|
-
readonly [x: string]: unknown;
|
|
1303
|
-
} | undefined;
|
|
1304
|
-
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
1305
|
-
readonly tokens?: {
|
|
1306
|
-
readonly input: number;
|
|
1307
|
-
readonly output: number;
|
|
1308
|
-
readonly reasoning: number;
|
|
1309
|
-
readonly cache: {
|
|
1310
|
-
readonly read: number;
|
|
1311
|
-
readonly write: number;
|
|
1312
|
-
};
|
|
1313
|
-
} | undefined;
|
|
1314
|
-
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1315
|
-
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
1316
1684
|
};
|
|
1317
1685
|
} | {
|
|
1318
1686
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1320,7 +1688,7 @@ export declare const make: (options?: {
|
|
|
1320
1688
|
readonly metadata?: {
|
|
1321
1689
|
readonly [x: string]: unknown;
|
|
1322
1690
|
} | undefined;
|
|
1323
|
-
readonly type: "session.
|
|
1691
|
+
readonly type: "session.viewed";
|
|
1324
1692
|
readonly durable: {
|
|
1325
1693
|
readonly aggregateID: string;
|
|
1326
1694
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1332,15 +1700,7 @@ export declare const make: (options?: {
|
|
|
1332
1700
|
} | undefined;
|
|
1333
1701
|
readonly data: {
|
|
1334
1702
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1335
|
-
readonly
|
|
1336
|
-
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
1337
|
-
readonly model: {
|
|
1338
|
-
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1339
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1340
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1341
|
-
};
|
|
1342
|
-
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1343
|
-
readonly started: number;
|
|
1703
|
+
readonly idle: number;
|
|
1344
1704
|
};
|
|
1345
1705
|
} | {
|
|
1346
1706
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1348,19 +1708,14 @@ export declare const make: (options?: {
|
|
|
1348
1708
|
readonly metadata?: {
|
|
1349
1709
|
readonly [x: string]: unknown;
|
|
1350
1710
|
} | undefined;
|
|
1351
|
-
readonly type: "session.
|
|
1352
|
-
readonly durable: {
|
|
1353
|
-
readonly aggregateID: string;
|
|
1354
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1355
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1356
|
-
};
|
|
1711
|
+
readonly type: "session.compaction.delta";
|
|
1357
1712
|
readonly location?: {
|
|
1358
1713
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1359
1714
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1360
1715
|
} | undefined;
|
|
1361
1716
|
readonly data: {
|
|
1362
1717
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1363
|
-
readonly
|
|
1718
|
+
readonly text: string;
|
|
1364
1719
|
};
|
|
1365
1720
|
} | {
|
|
1366
1721
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1368,23 +1723,16 @@ export declare const make: (options?: {
|
|
|
1368
1723
|
readonly metadata?: {
|
|
1369
1724
|
readonly [x: string]: unknown;
|
|
1370
1725
|
} | undefined;
|
|
1371
|
-
readonly type: "session.
|
|
1372
|
-
readonly durable: {
|
|
1373
|
-
readonly aggregateID: string;
|
|
1374
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1375
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1376
|
-
};
|
|
1726
|
+
readonly type: "session.reasoning.delta";
|
|
1377
1727
|
readonly location?: {
|
|
1378
1728
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1379
1729
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1380
1730
|
} | undefined;
|
|
1381
1731
|
readonly data: {
|
|
1382
1732
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1383
|
-
readonly
|
|
1384
|
-
readonly
|
|
1385
|
-
readonly
|
|
1386
|
-
readonly [x: string]: unknown;
|
|
1387
|
-
} | undefined;
|
|
1733
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1734
|
+
readonly ordinal: number;
|
|
1735
|
+
readonly delta: string;
|
|
1388
1736
|
};
|
|
1389
1737
|
} | {
|
|
1390
1738
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1392,12 +1740,7 @@ export declare const make: (options?: {
|
|
|
1392
1740
|
readonly metadata?: {
|
|
1393
1741
|
readonly [x: string]: unknown;
|
|
1394
1742
|
} | undefined;
|
|
1395
|
-
readonly type: "session.text.
|
|
1396
|
-
readonly durable: {
|
|
1397
|
-
readonly aggregateID: string;
|
|
1398
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1399
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1400
|
-
};
|
|
1743
|
+
readonly type: "session.text.delta";
|
|
1401
1744
|
readonly location?: {
|
|
1402
1745
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1403
1746
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -1406,10 +1749,7 @@ export declare const make: (options?: {
|
|
|
1406
1749
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1407
1750
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1408
1751
|
readonly ordinal: number;
|
|
1409
|
-
readonly
|
|
1410
|
-
readonly state?: {
|
|
1411
|
-
readonly [x: string]: unknown;
|
|
1412
|
-
} | undefined;
|
|
1752
|
+
readonly delta: string;
|
|
1413
1753
|
};
|
|
1414
1754
|
} | {
|
|
1415
1755
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1417,12 +1757,7 @@ export declare const make: (options?: {
|
|
|
1417
1757
|
readonly metadata?: {
|
|
1418
1758
|
readonly [x: string]: unknown;
|
|
1419
1759
|
} | undefined;
|
|
1420
|
-
readonly type: "session.
|
|
1421
|
-
readonly durable: {
|
|
1422
|
-
readonly aggregateID: string;
|
|
1423
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1424
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1425
|
-
};
|
|
1760
|
+
readonly type: "session.tool.input.delta";
|
|
1426
1761
|
readonly location?: {
|
|
1427
1762
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1428
1763
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -1430,7 +1765,8 @@ export declare const make: (options?: {
|
|
|
1430
1765
|
readonly data: {
|
|
1431
1766
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1432
1767
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1433
|
-
readonly
|
|
1768
|
+
readonly id: string;
|
|
1769
|
+
readonly delta: string;
|
|
1434
1770
|
};
|
|
1435
1771
|
} | {
|
|
1436
1772
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1438,12 +1774,7 @@ export declare const make: (options?: {
|
|
|
1438
1774
|
readonly metadata?: {
|
|
1439
1775
|
readonly [x: string]: unknown;
|
|
1440
1776
|
} | undefined;
|
|
1441
|
-
readonly type: "session.tool.
|
|
1442
|
-
readonly durable: {
|
|
1443
|
-
readonly aggregateID: string;
|
|
1444
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1445
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1446
|
-
};
|
|
1777
|
+
readonly type: "session.tool.progress";
|
|
1447
1778
|
readonly location?: {
|
|
1448
1779
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1449
1780
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -1452,13 +1783,9 @@ export declare const make: (options?: {
|
|
|
1452
1783
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1453
1784
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1454
1785
|
readonly id: string;
|
|
1455
|
-
readonly
|
|
1456
|
-
readonly [x: string]:
|
|
1786
|
+
readonly metadata: {
|
|
1787
|
+
readonly [x: string]: Schema.Json;
|
|
1457
1788
|
};
|
|
1458
|
-
readonly executed: boolean;
|
|
1459
|
-
readonly state?: {
|
|
1460
|
-
readonly [x: string]: unknown;
|
|
1461
|
-
} | undefined;
|
|
1462
1789
|
};
|
|
1463
1790
|
} | {
|
|
1464
1791
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1466,52 +1793,23 @@ export declare const make: (options?: {
|
|
|
1466
1793
|
readonly metadata?: {
|
|
1467
1794
|
readonly [x: string]: unknown;
|
|
1468
1795
|
} | undefined;
|
|
1469
|
-
readonly type: "session.
|
|
1470
|
-
readonly durable: {
|
|
1471
|
-
readonly aggregateID: string;
|
|
1472
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1473
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1474
|
-
};
|
|
1796
|
+
readonly type: "session.usage.updated";
|
|
1475
1797
|
readonly location?: {
|
|
1476
1798
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1477
1799
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1478
1800
|
} | undefined;
|
|
1479
1801
|
readonly data: {
|
|
1480
1802
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1481
|
-
readonly
|
|
1482
|
-
readonly
|
|
1483
|
-
|
|
1484
|
-
readonly
|
|
1485
|
-
readonly
|
|
1486
|
-
readonly
|
|
1487
|
-
|
|
1488
|
-
readonly
|
|
1489
|
-
}
|
|
1803
|
+
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
1804
|
+
readonly tokens: {
|
|
1805
|
+
readonly input: number;
|
|
1806
|
+
readonly output: number;
|
|
1807
|
+
readonly reasoning: number;
|
|
1808
|
+
readonly cache: {
|
|
1809
|
+
readonly read: number;
|
|
1810
|
+
readonly write: number;
|
|
1811
|
+
};
|
|
1490
1812
|
};
|
|
1491
|
-
readonly content?: readonly [{
|
|
1492
|
-
readonly type: "text";
|
|
1493
|
-
readonly text: string;
|
|
1494
|
-
} | {
|
|
1495
|
-
readonly type: "file";
|
|
1496
|
-
readonly uri: string;
|
|
1497
|
-
readonly mime: string;
|
|
1498
|
-
readonly name?: string | undefined;
|
|
1499
|
-
}, ...({
|
|
1500
|
-
readonly type: "text";
|
|
1501
|
-
readonly text: string;
|
|
1502
|
-
} | {
|
|
1503
|
-
readonly type: "file";
|
|
1504
|
-
readonly uri: string;
|
|
1505
|
-
readonly mime: string;
|
|
1506
|
-
readonly name?: string | undefined;
|
|
1507
|
-
})[]] | undefined;
|
|
1508
|
-
readonly metadata?: {
|
|
1509
|
-
readonly [x: string]: Schema.Json;
|
|
1510
|
-
} | undefined;
|
|
1511
|
-
readonly executed: boolean;
|
|
1512
|
-
readonly resultState?: {
|
|
1513
|
-
readonly [x: string]: unknown;
|
|
1514
|
-
} | undefined;
|
|
1515
1813
|
};
|
|
1516
1814
|
} | {
|
|
1517
1815
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1519,7 +1817,19 @@ export declare const make: (options?: {
|
|
|
1519
1817
|
readonly metadata?: {
|
|
1520
1818
|
readonly [x: string]: unknown;
|
|
1521
1819
|
} | undefined;
|
|
1522
|
-
readonly type: "
|
|
1820
|
+
readonly type: "websearch.updated";
|
|
1821
|
+
readonly location?: {
|
|
1822
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1823
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1824
|
+
} | undefined;
|
|
1825
|
+
readonly data: {};
|
|
1826
|
+
} | {
|
|
1827
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1828
|
+
readonly created: number;
|
|
1829
|
+
readonly metadata?: {
|
|
1830
|
+
readonly [x: string]: unknown;
|
|
1831
|
+
} | undefined;
|
|
1832
|
+
readonly type: "worktree.resolved";
|
|
1523
1833
|
readonly durable: {
|
|
1524
1834
|
readonly aggregateID: string;
|
|
1525
1835
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1530,10 +1840,47 @@ export declare const make: (options?: {
|
|
|
1530
1840
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1531
1841
|
} | undefined;
|
|
1532
1842
|
readonly data: {
|
|
1533
|
-
readonly
|
|
1534
|
-
readonly
|
|
1535
|
-
readonly
|
|
1536
|
-
readonly
|
|
1843
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1844
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1845
|
+
readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1846
|
+
readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
|
|
1847
|
+
};
|
|
1848
|
+
} | {
|
|
1849
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1850
|
+
readonly created: number;
|
|
1851
|
+
readonly metadata?: {
|
|
1852
|
+
readonly [x: string]: unknown;
|
|
1853
|
+
} | undefined;
|
|
1854
|
+
readonly type: "worktree.updated";
|
|
1855
|
+
readonly location?: {
|
|
1856
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1857
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1858
|
+
} | undefined;
|
|
1859
|
+
readonly data: {
|
|
1860
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1861
|
+
};
|
|
1862
|
+
} | {
|
|
1863
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1864
|
+
readonly created: number;
|
|
1865
|
+
readonly metadata?: {
|
|
1866
|
+
readonly [x: string]: unknown;
|
|
1867
|
+
} | undefined;
|
|
1868
|
+
readonly type: "pty.created";
|
|
1869
|
+
readonly location?: {
|
|
1870
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1871
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1872
|
+
} | undefined;
|
|
1873
|
+
readonly data: {
|
|
1874
|
+
readonly info: {
|
|
1875
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
1876
|
+
readonly title: string;
|
|
1877
|
+
readonly command: string;
|
|
1878
|
+
readonly args: readonly string[];
|
|
1879
|
+
readonly cwd: string;
|
|
1880
|
+
readonly status: "exited" | "running";
|
|
1881
|
+
readonly pid: number;
|
|
1882
|
+
readonly exitCode?: number | undefined;
|
|
1883
|
+
};
|
|
1537
1884
|
};
|
|
1538
1885
|
} | {
|
|
1539
1886
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1541,21 +1888,13 @@ export declare const make: (options?: {
|
|
|
1541
1888
|
readonly metadata?: {
|
|
1542
1889
|
readonly [x: string]: unknown;
|
|
1543
1890
|
} | undefined;
|
|
1544
|
-
readonly type: "
|
|
1545
|
-
readonly durable: {
|
|
1546
|
-
readonly aggregateID: string;
|
|
1547
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1548
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1549
|
-
};
|
|
1891
|
+
readonly type: "pty.deleted";
|
|
1550
1892
|
readonly location?: {
|
|
1551
1893
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1552
1894
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1553
1895
|
} | undefined;
|
|
1554
1896
|
readonly data: {
|
|
1555
|
-
readonly
|
|
1556
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1557
|
-
readonly id: string;
|
|
1558
|
-
readonly name: string;
|
|
1897
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
1559
1898
|
};
|
|
1560
1899
|
} | {
|
|
1561
1900
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1563,44 +1902,14 @@ export declare const make: (options?: {
|
|
|
1563
1902
|
readonly metadata?: {
|
|
1564
1903
|
readonly [x: string]: unknown;
|
|
1565
1904
|
} | undefined;
|
|
1566
|
-
readonly type: "
|
|
1567
|
-
readonly durable: {
|
|
1568
|
-
readonly aggregateID: string;
|
|
1569
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1570
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1571
|
-
};
|
|
1905
|
+
readonly type: "pty.exited";
|
|
1572
1906
|
readonly location?: {
|
|
1573
1907
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1574
1908
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1575
1909
|
} | undefined;
|
|
1576
1910
|
readonly data: {
|
|
1577
|
-
readonly
|
|
1578
|
-
readonly
|
|
1579
|
-
readonly id: string;
|
|
1580
|
-
readonly content: readonly [{
|
|
1581
|
-
readonly type: "text";
|
|
1582
|
-
readonly text: string;
|
|
1583
|
-
} | {
|
|
1584
|
-
readonly type: "file";
|
|
1585
|
-
readonly uri: string;
|
|
1586
|
-
readonly mime: string;
|
|
1587
|
-
readonly name?: string | undefined;
|
|
1588
|
-
}, ...({
|
|
1589
|
-
readonly type: "text";
|
|
1590
|
-
readonly text: string;
|
|
1591
|
-
} | {
|
|
1592
|
-
readonly type: "file";
|
|
1593
|
-
readonly uri: string;
|
|
1594
|
-
readonly mime: string;
|
|
1595
|
-
readonly name?: string | undefined;
|
|
1596
|
-
})[]];
|
|
1597
|
-
readonly metadata?: {
|
|
1598
|
-
readonly [x: string]: Schema.Json;
|
|
1599
|
-
} | undefined;
|
|
1600
|
-
readonly executed: boolean;
|
|
1601
|
-
readonly resultState?: {
|
|
1602
|
-
readonly [x: string]: unknown;
|
|
1603
|
-
} | undefined;
|
|
1911
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
1912
|
+
readonly exitCode: number;
|
|
1604
1913
|
};
|
|
1605
1914
|
} | {
|
|
1606
1915
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1608,18 +1917,22 @@ export declare const make: (options?: {
|
|
|
1608
1917
|
readonly metadata?: {
|
|
1609
1918
|
readonly [x: string]: unknown;
|
|
1610
1919
|
} | undefined;
|
|
1611
|
-
readonly type: "
|
|
1612
|
-
readonly durable: {
|
|
1613
|
-
readonly aggregateID: string;
|
|
1614
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1615
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1616
|
-
};
|
|
1920
|
+
readonly type: "pty.updated";
|
|
1617
1921
|
readonly location?: {
|
|
1618
1922
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1619
1923
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1620
1924
|
} | undefined;
|
|
1621
1925
|
readonly data: {
|
|
1622
|
-
readonly
|
|
1926
|
+
readonly info: {
|
|
1927
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
1928
|
+
readonly title: string;
|
|
1929
|
+
readonly command: string;
|
|
1930
|
+
readonly args: readonly string[];
|
|
1931
|
+
readonly cwd: string;
|
|
1932
|
+
readonly status: "exited" | "running";
|
|
1933
|
+
readonly pid: number;
|
|
1934
|
+
readonly exitCode?: number | undefined;
|
|
1935
|
+
};
|
|
1623
1936
|
};
|
|
1624
1937
|
} | {
|
|
1625
1938
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1627,51 +1940,38 @@ export declare const make: (options?: {
|
|
|
1627
1940
|
readonly metadata?: {
|
|
1628
1941
|
readonly [x: string]: unknown;
|
|
1629
1942
|
} | undefined;
|
|
1630
|
-
readonly type: "
|
|
1631
|
-
readonly durable: {
|
|
1632
|
-
readonly aggregateID: string;
|
|
1633
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1634
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1635
|
-
};
|
|
1943
|
+
readonly type: "location.shutdown";
|
|
1636
1944
|
readonly location?: {
|
|
1637
1945
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1638
1946
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1639
1947
|
} | undefined;
|
|
1640
|
-
readonly data: {
|
|
1641
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1642
|
-
readonly idle: number;
|
|
1643
|
-
};
|
|
1948
|
+
readonly data: {};
|
|
1644
1949
|
} | {
|
|
1645
1950
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1646
1951
|
readonly created: number;
|
|
1647
1952
|
readonly metadata?: {
|
|
1648
1953
|
readonly [x: string]: unknown;
|
|
1649
1954
|
} | undefined;
|
|
1650
|
-
readonly type: "
|
|
1955
|
+
readonly type: "models-dev.refreshed";
|
|
1651
1956
|
readonly location?: {
|
|
1652
1957
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1653
1958
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1654
1959
|
} | undefined;
|
|
1655
|
-
readonly data: {
|
|
1656
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1657
|
-
readonly text: string;
|
|
1658
|
-
};
|
|
1960
|
+
readonly data: {};
|
|
1659
1961
|
} | {
|
|
1660
1962
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1661
1963
|
readonly created: number;
|
|
1662
1964
|
readonly metadata?: {
|
|
1663
1965
|
readonly [x: string]: unknown;
|
|
1664
1966
|
} | undefined;
|
|
1665
|
-
readonly type: "
|
|
1967
|
+
readonly type: "credential.switched";
|
|
1666
1968
|
readonly location?: {
|
|
1667
1969
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1668
1970
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1669
1971
|
} | undefined;
|
|
1670
1972
|
readonly data: {
|
|
1671
|
-
readonly
|
|
1672
|
-
readonly
|
|
1673
|
-
readonly ordinal: number;
|
|
1674
|
-
readonly delta: string;
|
|
1973
|
+
readonly integrationID: string & import("effect/Brand").Brand<"Integration.ID">;
|
|
1974
|
+
readonly credentialID: (string & import("effect/Brand").Brand<"Credential.ID">) | null;
|
|
1675
1975
|
};
|
|
1676
1976
|
} | {
|
|
1677
1977
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1679,77 +1979,48 @@ export declare const make: (options?: {
|
|
|
1679
1979
|
readonly metadata?: {
|
|
1680
1980
|
readonly [x: string]: unknown;
|
|
1681
1981
|
} | undefined;
|
|
1682
|
-
readonly type: "
|
|
1982
|
+
readonly type: "credential.updated";
|
|
1683
1983
|
readonly location?: {
|
|
1684
1984
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1685
1985
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1686
1986
|
} | undefined;
|
|
1687
|
-
readonly data: {
|
|
1688
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1689
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1690
|
-
readonly ordinal: number;
|
|
1691
|
-
readonly delta: string;
|
|
1692
|
-
};
|
|
1987
|
+
readonly data: {};
|
|
1693
1988
|
} | {
|
|
1694
1989
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1695
1990
|
readonly created: number;
|
|
1696
1991
|
readonly metadata?: {
|
|
1697
1992
|
readonly [x: string]: unknown;
|
|
1698
1993
|
} | undefined;
|
|
1699
|
-
readonly type: "
|
|
1994
|
+
readonly type: "integration.updated";
|
|
1700
1995
|
readonly location?: {
|
|
1701
1996
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1702
1997
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1703
1998
|
} | undefined;
|
|
1704
|
-
readonly data: {
|
|
1705
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1706
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1707
|
-
readonly id: string;
|
|
1708
|
-
readonly delta: string;
|
|
1709
|
-
};
|
|
1999
|
+
readonly data: {};
|
|
1710
2000
|
} | {
|
|
1711
2001
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1712
2002
|
readonly created: number;
|
|
1713
2003
|
readonly metadata?: {
|
|
1714
2004
|
readonly [x: string]: unknown;
|
|
1715
2005
|
} | undefined;
|
|
1716
|
-
readonly type: "
|
|
2006
|
+
readonly type: "provider.updated";
|
|
1717
2007
|
readonly location?: {
|
|
1718
2008
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1719
2009
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1720
2010
|
} | undefined;
|
|
1721
|
-
readonly data: {
|
|
1722
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1723
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1724
|
-
readonly id: string;
|
|
1725
|
-
readonly metadata: {
|
|
1726
|
-
readonly [x: string]: Schema.Json;
|
|
1727
|
-
};
|
|
1728
|
-
};
|
|
2011
|
+
readonly data: {};
|
|
1729
2012
|
} | {
|
|
1730
2013
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1731
2014
|
readonly created: number;
|
|
1732
2015
|
readonly metadata?: {
|
|
1733
2016
|
readonly [x: string]: unknown;
|
|
1734
2017
|
} | undefined;
|
|
1735
|
-
readonly type: "
|
|
2018
|
+
readonly type: "model.updated";
|
|
1736
2019
|
readonly location?: {
|
|
1737
2020
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1738
2021
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1739
2022
|
} | undefined;
|
|
1740
|
-
readonly data: {
|
|
1741
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1742
|
-
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
1743
|
-
readonly tokens: {
|
|
1744
|
-
readonly input: number;
|
|
1745
|
-
readonly output: number;
|
|
1746
|
-
readonly reasoning: number;
|
|
1747
|
-
readonly cache: {
|
|
1748
|
-
readonly read: number;
|
|
1749
|
-
readonly write: number;
|
|
1750
|
-
};
|
|
1751
|
-
};
|
|
1752
|
-
};
|
|
2023
|
+
readonly data: {};
|
|
1753
2024
|
} | {
|
|
1754
2025
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1755
2026
|
readonly created: number;
|
|
@@ -1838,35 +2109,31 @@ export declare const make: (options?: {
|
|
|
1838
2109
|
readonly metadata?: {
|
|
1839
2110
|
readonly [x: string]: unknown;
|
|
1840
2111
|
} | undefined;
|
|
1841
|
-
readonly type: "
|
|
1842
|
-
readonly durable: {
|
|
1843
|
-
readonly aggregateID: string;
|
|
1844
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1845
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1846
|
-
};
|
|
1847
|
-
readonly location?: {
|
|
1848
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1849
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1850
|
-
} | undefined;
|
|
1851
|
-
readonly data: {
|
|
1852
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1853
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1854
|
-
readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1855
|
-
readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
|
|
1856
|
-
};
|
|
1857
|
-
} | {
|
|
1858
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1859
|
-
readonly created: number;
|
|
1860
|
-
readonly metadata?: {
|
|
1861
|
-
readonly [x: string]: unknown;
|
|
1862
|
-
} | undefined;
|
|
1863
|
-
readonly type: "worktree.updated";
|
|
2112
|
+
readonly type: "project.updated";
|
|
1864
2113
|
readonly location?: {
|
|
1865
2114
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1866
2115
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1867
2116
|
} | undefined;
|
|
1868
2117
|
readonly data: {
|
|
1869
|
-
readonly
|
|
2118
|
+
readonly id: string & import("effect/Brand").Brand<"Project.ID">;
|
|
2119
|
+
readonly canonical: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2120
|
+
readonly vcs?: string | undefined;
|
|
2121
|
+
readonly name?: string | undefined;
|
|
2122
|
+
readonly icon?: {
|
|
2123
|
+
readonly url?: string | undefined;
|
|
2124
|
+
readonly override?: string | undefined;
|
|
2125
|
+
readonly color?: string | undefined;
|
|
2126
|
+
} | undefined;
|
|
2127
|
+
readonly commands?: {
|
|
2128
|
+
readonly start?: string | undefined;
|
|
2129
|
+
} | undefined;
|
|
2130
|
+
readonly time: {
|
|
2131
|
+
readonly created: number;
|
|
2132
|
+
readonly updated: number;
|
|
2133
|
+
readonly active: number;
|
|
2134
|
+
readonly archived?: number | undefined;
|
|
2135
|
+
};
|
|
2136
|
+
readonly sandboxes: readonly string[];
|
|
1870
2137
|
};
|
|
1871
2138
|
} | {
|
|
1872
2139
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1910,13 +2177,14 @@ export declare const make: (options?: {
|
|
|
1910
2177
|
readonly metadata?: {
|
|
1911
2178
|
readonly [x: string]: unknown;
|
|
1912
2179
|
} | undefined;
|
|
1913
|
-
readonly type: "pty.
|
|
2180
|
+
readonly type: "persistent-pty.added";
|
|
1914
2181
|
readonly location?: {
|
|
1915
2182
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1916
2183
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1917
2184
|
} | undefined;
|
|
1918
2185
|
readonly data: {
|
|
1919
|
-
readonly
|
|
2186
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2187
|
+
readonly terminal: {
|
|
1920
2188
|
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
1921
2189
|
readonly title: string;
|
|
1922
2190
|
readonly command: string;
|
|
@@ -1925,6 +2193,16 @@ export declare const make: (options?: {
|
|
|
1925
2193
|
readonly status: "exited" | "running";
|
|
1926
2194
|
readonly pid: number;
|
|
1927
2195
|
readonly exitCode?: number | undefined;
|
|
2196
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2197
|
+
readonly foregroundProcess: string | null;
|
|
2198
|
+
readonly size: {
|
|
2199
|
+
readonly cols: number;
|
|
2200
|
+
readonly rows: number;
|
|
2201
|
+
};
|
|
2202
|
+
readonly output: {
|
|
2203
|
+
readonly head: number;
|
|
2204
|
+
readonly tail: number;
|
|
2205
|
+
};
|
|
1928
2206
|
};
|
|
1929
2207
|
};
|
|
1930
2208
|
} | {
|
|
@@ -1933,51 +2211,14 @@ export declare const make: (options?: {
|
|
|
1933
2211
|
readonly metadata?: {
|
|
1934
2212
|
readonly [x: string]: unknown;
|
|
1935
2213
|
} | undefined;
|
|
1936
|
-
readonly type: "pty.
|
|
1937
|
-
readonly location?: {
|
|
1938
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1939
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1940
|
-
} | undefined;
|
|
1941
|
-
readonly data: {
|
|
1942
|
-
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
1943
|
-
};
|
|
1944
|
-
} | {
|
|
1945
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1946
|
-
readonly created: number;
|
|
1947
|
-
readonly metadata?: {
|
|
1948
|
-
readonly [x: string]: unknown;
|
|
1949
|
-
} | undefined;
|
|
1950
|
-
readonly type: "pty.exited";
|
|
1951
|
-
readonly location?: {
|
|
1952
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1953
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1954
|
-
} | undefined;
|
|
1955
|
-
readonly data: {
|
|
1956
|
-
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
1957
|
-
readonly exitCode: number;
|
|
1958
|
-
};
|
|
1959
|
-
} | {
|
|
1960
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1961
|
-
readonly created: number;
|
|
1962
|
-
readonly metadata?: {
|
|
1963
|
-
readonly [x: string]: unknown;
|
|
1964
|
-
} | undefined;
|
|
1965
|
-
readonly type: "pty.updated";
|
|
2214
|
+
readonly type: "persistent-pty.removed";
|
|
1966
2215
|
readonly location?: {
|
|
1967
2216
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1968
2217
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1969
2218
|
} | undefined;
|
|
1970
2219
|
readonly data: {
|
|
1971
|
-
readonly
|
|
1972
|
-
|
|
1973
|
-
readonly title: string;
|
|
1974
|
-
readonly command: string;
|
|
1975
|
-
readonly args: readonly string[];
|
|
1976
|
-
readonly cwd: string;
|
|
1977
|
-
readonly status: "exited" | "running";
|
|
1978
|
-
readonly pid: number;
|
|
1979
|
-
readonly exitCode?: number | undefined;
|
|
1980
|
-
};
|
|
2220
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2221
|
+
readonly ptyID: string & import("effect/Brand").Brand<"PtyID">;
|
|
1981
2222
|
};
|
|
1982
2223
|
} | {
|
|
1983
2224
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2040,261 +2281,6 @@ export declare const make: (options?: {
|
|
|
2040
2281
|
readonly exit?: number | undefined;
|
|
2041
2282
|
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
2042
2283
|
};
|
|
2043
|
-
} | {
|
|
2044
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2045
|
-
readonly created: number;
|
|
2046
|
-
readonly metadata?: {
|
|
2047
|
-
readonly [x: string]: unknown;
|
|
2048
|
-
} | undefined;
|
|
2049
|
-
readonly type: "form.cancelled";
|
|
2050
|
-
readonly location?: {
|
|
2051
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2052
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2053
|
-
} | undefined;
|
|
2054
|
-
readonly data: {
|
|
2055
|
-
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
2056
|
-
readonly sessionID: string;
|
|
2057
|
-
};
|
|
2058
|
-
} | {
|
|
2059
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2060
|
-
readonly created: number;
|
|
2061
|
-
readonly metadata?: {
|
|
2062
|
-
readonly [x: string]: unknown;
|
|
2063
|
-
} | undefined;
|
|
2064
|
-
readonly type: "form.created";
|
|
2065
|
-
readonly location?: {
|
|
2066
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2067
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2068
|
-
} | undefined;
|
|
2069
|
-
readonly data: {
|
|
2070
|
-
readonly form: {
|
|
2071
|
-
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
2072
|
-
readonly sessionID: string;
|
|
2073
|
-
readonly title: string;
|
|
2074
|
-
readonly metadata?: {
|
|
2075
|
-
readonly [x: string]: unknown;
|
|
2076
|
-
} | undefined;
|
|
2077
|
-
readonly fields: readonly [{
|
|
2078
|
-
readonly key: string;
|
|
2079
|
-
readonly title?: string | undefined;
|
|
2080
|
-
readonly description?: string | undefined;
|
|
2081
|
-
readonly required?: boolean | undefined;
|
|
2082
|
-
readonly hidden?: boolean | undefined;
|
|
2083
|
-
readonly when?: readonly {
|
|
2084
|
-
readonly key: string;
|
|
2085
|
-
readonly op: "eq" | "neq";
|
|
2086
|
-
readonly value: string | number | boolean;
|
|
2087
|
-
}[] | undefined;
|
|
2088
|
-
readonly type: "string";
|
|
2089
|
-
readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
|
|
2090
|
-
readonly minLength?: number | undefined;
|
|
2091
|
-
readonly maxLength?: number | undefined;
|
|
2092
|
-
readonly pattern?: string | undefined;
|
|
2093
|
-
readonly placeholder?: string | undefined;
|
|
2094
|
-
readonly default?: string | undefined;
|
|
2095
|
-
readonly options?: readonly {
|
|
2096
|
-
readonly value: string;
|
|
2097
|
-
readonly label: string;
|
|
2098
|
-
readonly description?: string | undefined;
|
|
2099
|
-
}[] | undefined;
|
|
2100
|
-
readonly custom?: boolean | undefined;
|
|
2101
|
-
} | {
|
|
2102
|
-
readonly key: string;
|
|
2103
|
-
readonly title?: string | undefined;
|
|
2104
|
-
readonly description?: string | undefined;
|
|
2105
|
-
readonly required?: boolean | undefined;
|
|
2106
|
-
readonly hidden?: boolean | undefined;
|
|
2107
|
-
readonly when?: readonly {
|
|
2108
|
-
readonly key: string;
|
|
2109
|
-
readonly op: "eq" | "neq";
|
|
2110
|
-
readonly value: string | number | boolean;
|
|
2111
|
-
}[] | undefined;
|
|
2112
|
-
readonly type: "number";
|
|
2113
|
-
readonly minimum?: number | undefined;
|
|
2114
|
-
readonly maximum?: number | undefined;
|
|
2115
|
-
readonly default?: number | undefined;
|
|
2116
|
-
} | {
|
|
2117
|
-
readonly key: string;
|
|
2118
|
-
readonly title?: string | undefined;
|
|
2119
|
-
readonly description?: string | undefined;
|
|
2120
|
-
readonly required?: boolean | undefined;
|
|
2121
|
-
readonly hidden?: boolean | undefined;
|
|
2122
|
-
readonly when?: readonly {
|
|
2123
|
-
readonly key: string;
|
|
2124
|
-
readonly op: "eq" | "neq";
|
|
2125
|
-
readonly value: string | number | boolean;
|
|
2126
|
-
}[] | undefined;
|
|
2127
|
-
readonly type: "integer";
|
|
2128
|
-
readonly minimum?: number | undefined;
|
|
2129
|
-
readonly maximum?: number | undefined;
|
|
2130
|
-
readonly default?: number | undefined;
|
|
2131
|
-
} | {
|
|
2132
|
-
readonly key: string;
|
|
2133
|
-
readonly title?: string | undefined;
|
|
2134
|
-
readonly description?: string | undefined;
|
|
2135
|
-
readonly required?: boolean | undefined;
|
|
2136
|
-
readonly hidden?: boolean | undefined;
|
|
2137
|
-
readonly when?: readonly {
|
|
2138
|
-
readonly key: string;
|
|
2139
|
-
readonly op: "eq" | "neq";
|
|
2140
|
-
readonly value: string | number | boolean;
|
|
2141
|
-
}[] | undefined;
|
|
2142
|
-
readonly type: "boolean";
|
|
2143
|
-
readonly default?: boolean | undefined;
|
|
2144
|
-
} | {
|
|
2145
|
-
readonly key: string;
|
|
2146
|
-
readonly title?: string | undefined;
|
|
2147
|
-
readonly description?: string | undefined;
|
|
2148
|
-
readonly required?: boolean | undefined;
|
|
2149
|
-
readonly hidden?: boolean | undefined;
|
|
2150
|
-
readonly when?: readonly {
|
|
2151
|
-
readonly key: string;
|
|
2152
|
-
readonly op: "eq" | "neq";
|
|
2153
|
-
readonly value: string | number | boolean;
|
|
2154
|
-
}[] | undefined;
|
|
2155
|
-
readonly type: "multiselect";
|
|
2156
|
-
readonly options: readonly {
|
|
2157
|
-
readonly value: string;
|
|
2158
|
-
readonly label: string;
|
|
2159
|
-
readonly description?: string | undefined;
|
|
2160
|
-
}[];
|
|
2161
|
-
readonly minItems?: number | undefined;
|
|
2162
|
-
readonly maxItems?: number | undefined;
|
|
2163
|
-
readonly custom?: boolean | undefined;
|
|
2164
|
-
readonly default?: readonly string[] | undefined;
|
|
2165
|
-
} | {
|
|
2166
|
-
readonly key: string;
|
|
2167
|
-
readonly type: "external";
|
|
2168
|
-
readonly url: string;
|
|
2169
|
-
readonly title?: string | undefined;
|
|
2170
|
-
readonly description?: string | undefined;
|
|
2171
|
-
}, ...({
|
|
2172
|
-
readonly key: string;
|
|
2173
|
-
readonly title?: string | undefined;
|
|
2174
|
-
readonly description?: string | undefined;
|
|
2175
|
-
readonly required?: boolean | undefined;
|
|
2176
|
-
readonly hidden?: boolean | undefined;
|
|
2177
|
-
readonly when?: readonly {
|
|
2178
|
-
readonly key: string;
|
|
2179
|
-
readonly op: "eq" | "neq";
|
|
2180
|
-
readonly value: string | number | boolean;
|
|
2181
|
-
}[] | undefined;
|
|
2182
|
-
readonly type: "string";
|
|
2183
|
-
readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
|
|
2184
|
-
readonly minLength?: number | undefined;
|
|
2185
|
-
readonly maxLength?: number | undefined;
|
|
2186
|
-
readonly pattern?: string | undefined;
|
|
2187
|
-
readonly placeholder?: string | undefined;
|
|
2188
|
-
readonly default?: string | undefined;
|
|
2189
|
-
readonly options?: readonly {
|
|
2190
|
-
readonly value: string;
|
|
2191
|
-
readonly label: string;
|
|
2192
|
-
readonly description?: string | undefined;
|
|
2193
|
-
}[] | undefined;
|
|
2194
|
-
readonly custom?: boolean | undefined;
|
|
2195
|
-
} | {
|
|
2196
|
-
readonly key: string;
|
|
2197
|
-
readonly title?: string | undefined;
|
|
2198
|
-
readonly description?: string | undefined;
|
|
2199
|
-
readonly required?: boolean | undefined;
|
|
2200
|
-
readonly hidden?: boolean | undefined;
|
|
2201
|
-
readonly when?: readonly {
|
|
2202
|
-
readonly key: string;
|
|
2203
|
-
readonly op: "eq" | "neq";
|
|
2204
|
-
readonly value: string | number | boolean;
|
|
2205
|
-
}[] | undefined;
|
|
2206
|
-
readonly type: "number";
|
|
2207
|
-
readonly minimum?: number | undefined;
|
|
2208
|
-
readonly maximum?: number | undefined;
|
|
2209
|
-
readonly default?: number | undefined;
|
|
2210
|
-
} | {
|
|
2211
|
-
readonly key: string;
|
|
2212
|
-
readonly title?: string | undefined;
|
|
2213
|
-
readonly description?: string | undefined;
|
|
2214
|
-
readonly required?: boolean | undefined;
|
|
2215
|
-
readonly hidden?: boolean | undefined;
|
|
2216
|
-
readonly when?: readonly {
|
|
2217
|
-
readonly key: string;
|
|
2218
|
-
readonly op: "eq" | "neq";
|
|
2219
|
-
readonly value: string | number | boolean;
|
|
2220
|
-
}[] | undefined;
|
|
2221
|
-
readonly type: "integer";
|
|
2222
|
-
readonly minimum?: number | undefined;
|
|
2223
|
-
readonly maximum?: number | undefined;
|
|
2224
|
-
readonly default?: number | undefined;
|
|
2225
|
-
} | {
|
|
2226
|
-
readonly key: string;
|
|
2227
|
-
readonly title?: string | undefined;
|
|
2228
|
-
readonly description?: string | undefined;
|
|
2229
|
-
readonly required?: boolean | undefined;
|
|
2230
|
-
readonly hidden?: boolean | undefined;
|
|
2231
|
-
readonly when?: readonly {
|
|
2232
|
-
readonly key: string;
|
|
2233
|
-
readonly op: "eq" | "neq";
|
|
2234
|
-
readonly value: string | number | boolean;
|
|
2235
|
-
}[] | undefined;
|
|
2236
|
-
readonly type: "boolean";
|
|
2237
|
-
readonly default?: boolean | undefined;
|
|
2238
|
-
} | {
|
|
2239
|
-
readonly key: string;
|
|
2240
|
-
readonly title?: string | undefined;
|
|
2241
|
-
readonly description?: string | undefined;
|
|
2242
|
-
readonly required?: boolean | undefined;
|
|
2243
|
-
readonly hidden?: boolean | undefined;
|
|
2244
|
-
readonly when?: readonly {
|
|
2245
|
-
readonly key: string;
|
|
2246
|
-
readonly op: "eq" | "neq";
|
|
2247
|
-
readonly value: string | number | boolean;
|
|
2248
|
-
}[] | undefined;
|
|
2249
|
-
readonly type: "multiselect";
|
|
2250
|
-
readonly options: readonly {
|
|
2251
|
-
readonly value: string;
|
|
2252
|
-
readonly label: string;
|
|
2253
|
-
readonly description?: string | undefined;
|
|
2254
|
-
}[];
|
|
2255
|
-
readonly minItems?: number | undefined;
|
|
2256
|
-
readonly maxItems?: number | undefined;
|
|
2257
|
-
readonly custom?: boolean | undefined;
|
|
2258
|
-
readonly default?: readonly string[] | undefined;
|
|
2259
|
-
} | {
|
|
2260
|
-
readonly key: string;
|
|
2261
|
-
readonly type: "external";
|
|
2262
|
-
readonly url: string;
|
|
2263
|
-
readonly title?: string | undefined;
|
|
2264
|
-
readonly description?: string | undefined;
|
|
2265
|
-
})[]];
|
|
2266
|
-
};
|
|
2267
|
-
};
|
|
2268
|
-
} | {
|
|
2269
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2270
|
-
readonly created: number;
|
|
2271
|
-
readonly metadata?: {
|
|
2272
|
-
readonly [x: string]: unknown;
|
|
2273
|
-
} | undefined;
|
|
2274
|
-
readonly type: "form.replied";
|
|
2275
|
-
readonly location?: {
|
|
2276
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2277
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2278
|
-
} | undefined;
|
|
2279
|
-
readonly data: {
|
|
2280
|
-
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
2281
|
-
readonly sessionID: string;
|
|
2282
|
-
readonly answer: {
|
|
2283
|
-
readonly [x: string]: string | number | boolean | readonly string[];
|
|
2284
|
-
};
|
|
2285
|
-
};
|
|
2286
|
-
} | {
|
|
2287
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2288
|
-
readonly created: number;
|
|
2289
|
-
readonly metadata?: {
|
|
2290
|
-
readonly [x: string]: unknown;
|
|
2291
|
-
} | undefined;
|
|
2292
|
-
readonly type: "websearch.updated";
|
|
2293
|
-
readonly location?: {
|
|
2294
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2295
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2296
|
-
} | undefined;
|
|
2297
|
-
readonly data: {};
|
|
2298
2284
|
} | {
|
|
2299
2285
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2300
2286
|
readonly created: number;
|