@opencode/client 0.0.0-dev-21599 → 0.0.0-dev-21612
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-y2etg5bs.js → service-timing-7f0py9js.js} +2 -2
- package/dist/chunks/{service-timing-ezt8t3fk.js → service-timing-c46qzyff.js} +2 -2
- package/dist/chunks/{service-timing-61wt4y9h.js → service-timing-g9ajxfy0.js} +1 -1
- package/dist/chunks/{service-timing-7j6qs0tw.js → service-timing-g9wej58t.js} +15 -15
- package/dist/chunks/{service-timing-nwcpakzx.js → service-timing-js54wxgp.js} +2 -2
- package/dist/chunks/{service-timing-bd9wd9zc.js → service-timing-ka0wmgdp.js} +10 -10
- package/dist/chunks/{service-timing-15p82y03.js → service-timing-myz4ngx9.js} +3 -3
- package/dist/chunks/{service-timing-g22sa7qz.js → service-timing-q4a98k9r.js} +29 -18
- package/dist/chunks/{service-timing-6vp15eh6.js → service-timing-skhp7hxc.js} +1 -1
- package/dist/chunks/{service-timing-f0mehgdh.js → service-timing-wwnmjcfr.js} +14 -9
- package/dist/effect/api/api.d.ts +16 -1
- package/dist/effect/client.d.ts +673 -670
- package/dist/effect/client.js +9 -9
- package/dist/effect/generated/client-error.js +3 -3
- package/dist/effect/generated/client.d.ts +452 -449
- package/dist/effect/generated/client.js +4 -4
- package/dist/effect/generated/index.js +6 -6
- package/dist/effect/index.js +8 -8
- package/dist/effect/rpc.js +3 -3
- package/dist/effect/service.js +1 -1
- package/dist/mcp.d.ts +44 -0
- package/dist/mcp.js +110 -0
- package/dist/promise/client.d.ts +3 -0
- package/dist/promise/client.js +9 -9
- package/dist/promise/generated/client-error.js +3 -3
- package/dist/promise/generated/client.d.ts +4 -1
- package/dist/promise/generated/client.js +4 -4
- package/dist/promise/generated/index.js +8 -8
- package/dist/promise/generated/types.d.ts +30 -9
- package/dist/promise/generated/types.js +2 -2
- package/dist/promise/index.js +10 -10
- package/dist/promise/rpc.js +2 -2
- package/dist/promise/service.js +1 -1
- package/dist/pty-handoff.js +1 -1
- package/dist/solid/data.js +6 -6
- package/dist/solid/index.js +6 -6
- package/package.json +9 -4
- /package/dist/chunks/{service-timing-b6wmvv71.js → service-timing-5g2t7szy.js} +0 -0
package/dist/effect/client.d.ts
CHANGED
|
@@ -132,6 +132,9 @@ export declare const make: (options?: {
|
|
|
132
132
|
resource: {
|
|
133
133
|
catalog: (input?: import("./api.js").McpResourceCatalogInput) => Effect.Effect<import("./api.js").McpResourceCatalogOutput, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
134
134
|
};
|
|
135
|
+
client: {
|
|
136
|
+
token: (input: import("./api.js").McpClientTokenInput) => Effect.Effect<import("./api.js").McpClientTokenOutput, ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
137
|
+
};
|
|
135
138
|
};
|
|
136
139
|
credential: {
|
|
137
140
|
list: () => Effect.Effect<import("./api.js").CredentialListOutput, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
@@ -251,7 +254,7 @@ export declare const make: (options?: {
|
|
|
251
254
|
readonly metadata?: {
|
|
252
255
|
readonly [x: string]: unknown;
|
|
253
256
|
} | undefined;
|
|
254
|
-
readonly type: "
|
|
257
|
+
readonly type: "provider.updated";
|
|
255
258
|
readonly location?: {
|
|
256
259
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
257
260
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -263,14 +266,26 @@ export declare const make: (options?: {
|
|
|
263
266
|
readonly metadata?: {
|
|
264
267
|
readonly [x: string]: unknown;
|
|
265
268
|
} | undefined;
|
|
266
|
-
readonly type: "
|
|
269
|
+
readonly type: "permission.asked";
|
|
267
270
|
readonly location?: {
|
|
268
271
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
269
272
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
270
273
|
} | undefined;
|
|
271
274
|
readonly data: {
|
|
272
|
-
readonly
|
|
273
|
-
readonly
|
|
275
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
276
|
+
readonly action: string;
|
|
277
|
+
readonly resources: readonly string[];
|
|
278
|
+
readonly save?: readonly string[] | undefined;
|
|
279
|
+
readonly metadata?: {
|
|
280
|
+
readonly [x: string]: unknown;
|
|
281
|
+
} | undefined;
|
|
282
|
+
readonly source?: {
|
|
283
|
+
readonly type: "tool";
|
|
284
|
+
readonly messageID: string;
|
|
285
|
+
readonly id: string;
|
|
286
|
+
} | undefined;
|
|
287
|
+
readonly message?: string | undefined;
|
|
288
|
+
readonly id: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
274
289
|
};
|
|
275
290
|
} | {
|
|
276
291
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -278,54 +293,30 @@ export declare const make: (options?: {
|
|
|
278
293
|
readonly metadata?: {
|
|
279
294
|
readonly [x: string]: unknown;
|
|
280
295
|
} | undefined;
|
|
281
|
-
readonly type: "
|
|
296
|
+
readonly type: "permission.replied";
|
|
282
297
|
readonly location?: {
|
|
283
298
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
284
299
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
285
300
|
} | undefined;
|
|
286
|
-
readonly data: {
|
|
301
|
+
readonly data: {
|
|
302
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
303
|
+
readonly requestID: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
304
|
+
readonly reply: "always" | "once" | "reject";
|
|
305
|
+
};
|
|
287
306
|
} | {
|
|
288
307
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
289
308
|
readonly created: number;
|
|
290
309
|
readonly metadata?: {
|
|
291
310
|
readonly [x: string]: unknown;
|
|
292
311
|
} | undefined;
|
|
293
|
-
readonly type: "
|
|
294
|
-
readonly durable: {
|
|
295
|
-
readonly aggregateID: string;
|
|
296
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
297
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
298
|
-
};
|
|
312
|
+
readonly type: "filesystem.changed";
|
|
299
313
|
readonly location?: {
|
|
300
314
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
301
315
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
302
316
|
} | undefined;
|
|
303
317
|
readonly data: {
|
|
304
|
-
readonly
|
|
305
|
-
readonly
|
|
306
|
-
readonly location: {
|
|
307
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
308
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
309
|
-
};
|
|
310
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
311
|
-
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
312
|
-
readonly slug: string;
|
|
313
|
-
readonly title?: string | undefined;
|
|
314
|
-
readonly agent?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
315
|
-
readonly model?: {
|
|
316
|
-
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
317
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
318
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
319
|
-
} | undefined;
|
|
320
|
-
readonly metadata?: {
|
|
321
|
-
readonly [x: string]: import("effect/Schema").Json;
|
|
322
|
-
} | undefined;
|
|
323
|
-
readonly permissions?: readonly {
|
|
324
|
-
readonly action: string;
|
|
325
|
-
readonly resource: string;
|
|
326
|
-
readonly effect: "allow" | "ask" | "deny";
|
|
327
|
-
}[] | undefined;
|
|
328
|
-
readonly version: string;
|
|
318
|
+
readonly file: string;
|
|
319
|
+
readonly event: "add" | "change" | "unlink";
|
|
329
320
|
};
|
|
330
321
|
} | {
|
|
331
322
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -333,7 +324,7 @@ export declare const make: (options?: {
|
|
|
333
324
|
readonly metadata?: {
|
|
334
325
|
readonly [x: string]: unknown;
|
|
335
326
|
} | undefined;
|
|
336
|
-
readonly type: "
|
|
327
|
+
readonly type: "worktree.resolved";
|
|
337
328
|
readonly durable: {
|
|
338
329
|
readonly aggregateID: string;
|
|
339
330
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -344,9 +335,10 @@ export declare const make: (options?: {
|
|
|
344
335
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
345
336
|
} | undefined;
|
|
346
337
|
readonly data: {
|
|
347
|
-
readonly
|
|
348
|
-
readonly
|
|
349
|
-
readonly previous
|
|
338
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
339
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
340
|
+
readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
|
|
341
|
+
readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
|
|
350
342
|
};
|
|
351
343
|
} | {
|
|
352
344
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -354,28 +346,13 @@ export declare const make: (options?: {
|
|
|
354
346
|
readonly metadata?: {
|
|
355
347
|
readonly [x: string]: unknown;
|
|
356
348
|
} | undefined;
|
|
357
|
-
readonly type: "
|
|
358
|
-
readonly durable: {
|
|
359
|
-
readonly aggregateID: string;
|
|
360
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
361
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
362
|
-
};
|
|
349
|
+
readonly type: "worktree.updated";
|
|
363
350
|
readonly location?: {
|
|
364
351
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
365
352
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
366
353
|
} | undefined;
|
|
367
354
|
readonly data: {
|
|
368
|
-
readonly
|
|
369
|
-
readonly model: {
|
|
370
|
-
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
371
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
372
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
373
|
-
};
|
|
374
|
-
readonly previous?: {
|
|
375
|
-
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
376
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
377
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
378
|
-
} | undefined;
|
|
355
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
379
356
|
};
|
|
380
357
|
} | {
|
|
381
358
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -383,24 +360,13 @@ export declare const make: (options?: {
|
|
|
383
360
|
readonly metadata?: {
|
|
384
361
|
readonly [x: string]: unknown;
|
|
385
362
|
} | undefined;
|
|
386
|
-
readonly type: "
|
|
387
|
-
readonly durable: {
|
|
388
|
-
readonly aggregateID: string;
|
|
389
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
390
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
391
|
-
};
|
|
363
|
+
readonly type: "installation.update-available";
|
|
392
364
|
readonly location?: {
|
|
393
365
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
394
366
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
395
367
|
} | undefined;
|
|
396
368
|
readonly data: {
|
|
397
|
-
readonly
|
|
398
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
399
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
400
|
-
};
|
|
401
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
402
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
403
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
369
|
+
readonly version: string;
|
|
404
370
|
};
|
|
405
371
|
} | {
|
|
406
372
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -408,19 +374,13 @@ export declare const make: (options?: {
|
|
|
408
374
|
readonly metadata?: {
|
|
409
375
|
readonly [x: string]: unknown;
|
|
410
376
|
} | undefined;
|
|
411
|
-
readonly type: "
|
|
412
|
-
readonly durable: {
|
|
413
|
-
readonly aggregateID: string;
|
|
414
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
415
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
416
|
-
};
|
|
377
|
+
readonly type: "installation.updated";
|
|
417
378
|
readonly location?: {
|
|
418
379
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
419
380
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
420
381
|
} | undefined;
|
|
421
382
|
readonly data: {
|
|
422
|
-
readonly
|
|
423
|
-
readonly title: string;
|
|
383
|
+
readonly version: string;
|
|
424
384
|
};
|
|
425
385
|
} | {
|
|
426
386
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -428,65 +388,37 @@ export declare const make: (options?: {
|
|
|
428
388
|
readonly metadata?: {
|
|
429
389
|
readonly [x: string]: unknown;
|
|
430
390
|
} | undefined;
|
|
431
|
-
readonly type: "
|
|
432
|
-
readonly durable: {
|
|
433
|
-
readonly aggregateID: string;
|
|
434
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
435
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
436
|
-
};
|
|
391
|
+
readonly type: "models-dev.refreshed";
|
|
437
392
|
readonly location?: {
|
|
438
393
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
439
394
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
440
395
|
} | undefined;
|
|
441
|
-
readonly data: {
|
|
442
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
443
|
-
readonly metadata: {
|
|
444
|
-
readonly [x: string]: import("effect/Schema").Json;
|
|
445
|
-
};
|
|
446
|
-
};
|
|
396
|
+
readonly data: {};
|
|
447
397
|
} | {
|
|
448
398
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
449
399
|
readonly created: number;
|
|
450
400
|
readonly metadata?: {
|
|
451
401
|
readonly [x: string]: unknown;
|
|
452
402
|
} | undefined;
|
|
453
|
-
readonly type: "
|
|
454
|
-
readonly durable: {
|
|
455
|
-
readonly aggregateID: string;
|
|
456
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
457
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
458
|
-
};
|
|
403
|
+
readonly type: "reference.updated";
|
|
459
404
|
readonly location?: {
|
|
460
405
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
461
406
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
462
407
|
} | undefined;
|
|
463
|
-
readonly data: {
|
|
464
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
465
|
-
readonly permissions: readonly {
|
|
466
|
-
readonly action: string;
|
|
467
|
-
readonly resource: string;
|
|
468
|
-
readonly effect: "allow" | "ask" | "deny";
|
|
469
|
-
}[];
|
|
470
|
-
};
|
|
408
|
+
readonly data: {};
|
|
471
409
|
} | {
|
|
472
410
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
473
411
|
readonly created: number;
|
|
474
412
|
readonly metadata?: {
|
|
475
413
|
readonly [x: string]: unknown;
|
|
476
414
|
} | undefined;
|
|
477
|
-
readonly type: "
|
|
478
|
-
readonly durable: {
|
|
479
|
-
readonly aggregateID: string;
|
|
480
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
481
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
482
|
-
};
|
|
415
|
+
readonly type: "vcs.branch.updated";
|
|
483
416
|
readonly location?: {
|
|
484
417
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
485
418
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
486
419
|
} | undefined;
|
|
487
420
|
readonly data: {
|
|
488
|
-
readonly
|
|
489
|
-
readonly idle: number;
|
|
421
|
+
readonly branch?: string | undefined;
|
|
490
422
|
};
|
|
491
423
|
} | {
|
|
492
424
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -494,37 +426,39 @@ export declare const make: (options?: {
|
|
|
494
426
|
readonly metadata?: {
|
|
495
427
|
readonly [x: string]: unknown;
|
|
496
428
|
} | undefined;
|
|
497
|
-
readonly type:
|
|
498
|
-
readonly
|
|
499
|
-
readonly
|
|
500
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
501
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
429
|
+
readonly type: `rpc.${string}`;
|
|
430
|
+
readonly location: {
|
|
431
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
502
432
|
};
|
|
433
|
+
readonly data: {
|
|
434
|
+
readonly [x: string]: unknown;
|
|
435
|
+
};
|
|
436
|
+
} | {
|
|
437
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
438
|
+
readonly created: number;
|
|
439
|
+
readonly metadata?: {
|
|
440
|
+
readonly [x: string]: unknown;
|
|
441
|
+
} | undefined;
|
|
442
|
+
readonly type: "location.shutdown";
|
|
503
443
|
readonly location?: {
|
|
504
444
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
505
445
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
506
446
|
} | undefined;
|
|
507
|
-
readonly data: {
|
|
508
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
509
|
-
};
|
|
447
|
+
readonly data: {};
|
|
510
448
|
} | {
|
|
511
449
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
512
450
|
readonly created: number;
|
|
513
451
|
readonly metadata?: {
|
|
514
452
|
readonly [x: string]: unknown;
|
|
515
453
|
} | undefined;
|
|
516
|
-
readonly type: "
|
|
517
|
-
readonly durable: {
|
|
518
|
-
readonly aggregateID: string;
|
|
519
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
520
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
521
|
-
};
|
|
454
|
+
readonly type: "credential.switched";
|
|
522
455
|
readonly location?: {
|
|
523
456
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
524
457
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
525
458
|
} | undefined;
|
|
526
459
|
readonly data: {
|
|
527
|
-
readonly
|
|
460
|
+
readonly integrationID: string & import("effect/Brand").Brand<"Integration.ID">;
|
|
461
|
+
readonly credentialID: (string & import("effect/Brand").Brand<"Credential.ID">) | null;
|
|
528
462
|
};
|
|
529
463
|
} | {
|
|
530
464
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -532,105 +466,55 @@ export declare const make: (options?: {
|
|
|
532
466
|
readonly metadata?: {
|
|
533
467
|
readonly [x: string]: unknown;
|
|
534
468
|
} | undefined;
|
|
535
|
-
readonly type: "
|
|
469
|
+
readonly type: "credential.updated";
|
|
536
470
|
readonly location?: {
|
|
537
471
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
538
472
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
539
473
|
} | undefined;
|
|
540
|
-
readonly data: {
|
|
541
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
542
|
-
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
543
|
-
readonly tokens: {
|
|
544
|
-
readonly input: number;
|
|
545
|
-
readonly output: number;
|
|
546
|
-
readonly reasoning: number;
|
|
547
|
-
readonly cache: {
|
|
548
|
-
readonly read: number;
|
|
549
|
-
readonly write: number;
|
|
550
|
-
};
|
|
551
|
-
};
|
|
552
|
-
};
|
|
474
|
+
readonly data: {};
|
|
553
475
|
} | {
|
|
554
476
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
555
477
|
readonly created: number;
|
|
556
478
|
readonly metadata?: {
|
|
557
479
|
readonly [x: string]: unknown;
|
|
558
480
|
} | undefined;
|
|
559
|
-
readonly type: "
|
|
560
|
-
readonly durable: {
|
|
561
|
-
readonly aggregateID: string;
|
|
562
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
563
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
564
|
-
};
|
|
481
|
+
readonly type: "integration.updated";
|
|
565
482
|
readonly location?: {
|
|
566
483
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
567
484
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
568
485
|
} | undefined;
|
|
569
|
-
readonly data: {
|
|
570
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
571
|
-
};
|
|
486
|
+
readonly data: {};
|
|
572
487
|
} | {
|
|
573
488
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
574
489
|
readonly created: number;
|
|
575
490
|
readonly metadata?: {
|
|
576
491
|
readonly [x: string]: unknown;
|
|
577
492
|
} | undefined;
|
|
578
|
-
readonly type: "
|
|
579
|
-
readonly durable: {
|
|
580
|
-
readonly aggregateID: string;
|
|
581
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
582
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
583
|
-
};
|
|
493
|
+
readonly type: "model.updated";
|
|
584
494
|
readonly location?: {
|
|
585
495
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
586
496
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
587
497
|
} | undefined;
|
|
588
|
-
readonly data: {
|
|
589
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
590
|
-
readonly parentID: string & import("effect/Brand").Brand<"SessionID">;
|
|
591
|
-
readonly boundary: {
|
|
592
|
-
readonly type: "before";
|
|
593
|
-
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
594
|
-
} | {
|
|
595
|
-
readonly type: "through";
|
|
596
|
-
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
597
|
-
};
|
|
598
|
-
readonly instructions?: {
|
|
599
|
-
readonly [x: string & import("effect/Brand").Brand<"Instruction.Key">]: string & import("effect/Brand").Brand<"Instruction.Hash">;
|
|
600
|
-
} | undefined;
|
|
601
|
-
readonly instructionEntries?: readonly {
|
|
602
|
-
readonly key: string;
|
|
603
|
-
readonly value: import("effect/Schema").Json;
|
|
604
|
-
readonly removed: boolean;
|
|
605
|
-
}[] | undefined;
|
|
606
|
-
};
|
|
498
|
+
readonly data: {};
|
|
607
499
|
} | {
|
|
608
500
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
609
501
|
readonly created: number;
|
|
610
502
|
readonly metadata?: {
|
|
611
503
|
readonly [x: string]: unknown;
|
|
612
504
|
} | undefined;
|
|
613
|
-
readonly type: "
|
|
614
|
-
readonly durable: {
|
|
615
|
-
readonly aggregateID: string;
|
|
616
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
617
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
618
|
-
};
|
|
505
|
+
readonly type: "agent.updated";
|
|
619
506
|
readonly location?: {
|
|
620
507
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
621
508
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
622
509
|
} | undefined;
|
|
623
|
-
readonly data: {
|
|
624
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
625
|
-
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
626
|
-
};
|
|
510
|
+
readonly data: {};
|
|
627
511
|
} | {
|
|
628
512
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
629
513
|
readonly created: number;
|
|
630
514
|
readonly metadata?: {
|
|
631
515
|
readonly [x: string]: unknown;
|
|
632
516
|
} | undefined;
|
|
633
|
-
readonly type: "session.
|
|
517
|
+
readonly type: "session.agent.selected";
|
|
634
518
|
readonly durable: {
|
|
635
519
|
readonly aggregateID: string;
|
|
636
520
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -642,77 +526,8 @@ export declare const make: (options?: {
|
|
|
642
526
|
} | undefined;
|
|
643
527
|
readonly data: {
|
|
644
528
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
645
|
-
readonly
|
|
646
|
-
readonly
|
|
647
|
-
readonly type: "user";
|
|
648
|
-
readonly payload: {
|
|
649
|
-
readonly text: string;
|
|
650
|
-
readonly files?: readonly {
|
|
651
|
-
readonly data: string;
|
|
652
|
-
readonly mime: string;
|
|
653
|
-
readonly source: {
|
|
654
|
-
readonly type: "inline";
|
|
655
|
-
} | {
|
|
656
|
-
readonly type: "uri";
|
|
657
|
-
readonly uri: string;
|
|
658
|
-
};
|
|
659
|
-
readonly name?: string | undefined;
|
|
660
|
-
readonly description?: string | undefined;
|
|
661
|
-
readonly mention?: {
|
|
662
|
-
readonly start: number;
|
|
663
|
-
readonly end: number;
|
|
664
|
-
readonly text: string;
|
|
665
|
-
} | undefined;
|
|
666
|
-
}[] | undefined;
|
|
667
|
-
readonly agents?: readonly {
|
|
668
|
-
readonly name: string;
|
|
669
|
-
readonly mention?: {
|
|
670
|
-
readonly start: number;
|
|
671
|
-
readonly end: number;
|
|
672
|
-
readonly text: string;
|
|
673
|
-
} | undefined;
|
|
674
|
-
}[] | undefined;
|
|
675
|
-
readonly skills?: readonly {
|
|
676
|
-
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
677
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
678
|
-
readonly text?: string | undefined;
|
|
679
|
-
readonly mention?: {
|
|
680
|
-
readonly start: number;
|
|
681
|
-
readonly end: number;
|
|
682
|
-
readonly text: string;
|
|
683
|
-
} | undefined;
|
|
684
|
-
}[] | undefined;
|
|
685
|
-
readonly metadata?: {
|
|
686
|
-
readonly [x: string]: unknown;
|
|
687
|
-
} | undefined;
|
|
688
|
-
};
|
|
689
|
-
readonly delivery: "queue" | "steer";
|
|
690
|
-
} | {
|
|
691
|
-
readonly type: "synthetic";
|
|
692
|
-
readonly payload: {
|
|
693
|
-
readonly text: string;
|
|
694
|
-
readonly description?: string | undefined;
|
|
695
|
-
readonly metadata?: {
|
|
696
|
-
readonly [x: string]: unknown;
|
|
697
|
-
} | undefined;
|
|
698
|
-
};
|
|
699
|
-
readonly delivery: "queue" | "steer";
|
|
700
|
-
} | {
|
|
701
|
-
readonly type: "compaction";
|
|
702
|
-
readonly payload: {};
|
|
703
|
-
readonly delivery: "queue" | "steer";
|
|
704
|
-
} | {
|
|
705
|
-
readonly type: "move";
|
|
706
|
-
readonly payload: {
|
|
707
|
-
readonly location: {
|
|
708
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
709
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
710
|
-
};
|
|
711
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
712
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
713
|
-
};
|
|
714
|
-
readonly delivery: "queue" | "steer";
|
|
715
|
-
};
|
|
529
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
530
|
+
readonly previous?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
716
531
|
};
|
|
717
532
|
} | {
|
|
718
533
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -720,7 +535,7 @@ export declare const make: (options?: {
|
|
|
720
535
|
readonly metadata?: {
|
|
721
536
|
readonly [x: string]: unknown;
|
|
722
537
|
} | undefined;
|
|
723
|
-
readonly type: "session.
|
|
538
|
+
readonly type: "session.archived";
|
|
724
539
|
readonly durable: {
|
|
725
540
|
readonly aggregateID: string;
|
|
726
541
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -732,7 +547,6 @@ export declare const make: (options?: {
|
|
|
732
547
|
} | undefined;
|
|
733
548
|
readonly data: {
|
|
734
549
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
735
|
-
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
736
550
|
};
|
|
737
551
|
} | {
|
|
738
552
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -740,7 +554,7 @@ export declare const make: (options?: {
|
|
|
740
554
|
readonly metadata?: {
|
|
741
555
|
readonly [x: string]: unknown;
|
|
742
556
|
} | undefined;
|
|
743
|
-
readonly type: "session.
|
|
557
|
+
readonly type: "session.compaction.ended";
|
|
744
558
|
readonly durable: {
|
|
745
559
|
readonly aggregateID: string;
|
|
746
560
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -752,8 +566,26 @@ export declare const make: (options?: {
|
|
|
752
566
|
} | undefined;
|
|
753
567
|
readonly data: {
|
|
754
568
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
755
|
-
readonly
|
|
756
|
-
readonly
|
|
569
|
+
readonly reason: "auto" | "manual";
|
|
570
|
+
readonly model?: {
|
|
571
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
572
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
573
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
574
|
+
} | undefined;
|
|
575
|
+
readonly native?: {
|
|
576
|
+
readonly [x: string]: unknown;
|
|
577
|
+
} | undefined;
|
|
578
|
+
readonly text: string;
|
|
579
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
580
|
+
readonly tokens?: {
|
|
581
|
+
readonly input: number;
|
|
582
|
+
readonly output: number;
|
|
583
|
+
readonly reasoning: number;
|
|
584
|
+
readonly cache: {
|
|
585
|
+
readonly read: number;
|
|
586
|
+
readonly write: number;
|
|
587
|
+
};
|
|
588
|
+
} | undefined;
|
|
757
589
|
};
|
|
758
590
|
} | {
|
|
759
591
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -761,7 +593,7 @@ export declare const make: (options?: {
|
|
|
761
593
|
readonly metadata?: {
|
|
762
594
|
readonly [x: string]: unknown;
|
|
763
595
|
} | undefined;
|
|
764
|
-
readonly type: "session.
|
|
596
|
+
readonly type: "session.compaction.failed";
|
|
765
597
|
readonly durable: {
|
|
766
598
|
readonly aggregateID: string;
|
|
767
599
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -773,6 +605,27 @@ export declare const make: (options?: {
|
|
|
773
605
|
} | undefined;
|
|
774
606
|
readonly data: {
|
|
775
607
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
608
|
+
readonly reason: "auto" | "manual";
|
|
609
|
+
readonly error: {
|
|
610
|
+
readonly type: string;
|
|
611
|
+
readonly message: string;
|
|
612
|
+
readonly status?: number | undefined;
|
|
613
|
+
readonly response?: {
|
|
614
|
+
readonly body: string;
|
|
615
|
+
} | undefined;
|
|
616
|
+
readonly retryAfterMs?: number | undefined;
|
|
617
|
+
};
|
|
618
|
+
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
619
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
620
|
+
readonly tokens?: {
|
|
621
|
+
readonly input: number;
|
|
622
|
+
readonly output: number;
|
|
623
|
+
readonly reasoning: number;
|
|
624
|
+
readonly cache: {
|
|
625
|
+
readonly read: number;
|
|
626
|
+
readonly write: number;
|
|
627
|
+
};
|
|
628
|
+
} | undefined;
|
|
776
629
|
};
|
|
777
630
|
} | {
|
|
778
631
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -780,7 +633,7 @@ export declare const make: (options?: {
|
|
|
780
633
|
readonly metadata?: {
|
|
781
634
|
readonly [x: string]: unknown;
|
|
782
635
|
} | undefined;
|
|
783
|
-
readonly type: "session.
|
|
636
|
+
readonly type: "session.compaction.started";
|
|
784
637
|
readonly durable: {
|
|
785
638
|
readonly aggregateID: string;
|
|
786
639
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -792,6 +645,8 @@ export declare const make: (options?: {
|
|
|
792
645
|
} | undefined;
|
|
793
646
|
readonly data: {
|
|
794
647
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
648
|
+
readonly reason: "auto" | "manual";
|
|
649
|
+
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
795
650
|
};
|
|
796
651
|
} | {
|
|
797
652
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -799,7 +654,7 @@ export declare const make: (options?: {
|
|
|
799
654
|
readonly metadata?: {
|
|
800
655
|
readonly [x: string]: unknown;
|
|
801
656
|
} | undefined;
|
|
802
|
-
readonly type: "session.
|
|
657
|
+
readonly type: "session.created";
|
|
803
658
|
readonly durable: {
|
|
804
659
|
readonly aggregateID: string;
|
|
805
660
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -811,15 +666,30 @@ export declare const make: (options?: {
|
|
|
811
666
|
} | undefined;
|
|
812
667
|
readonly data: {
|
|
813
668
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
814
|
-
readonly
|
|
815
|
-
|
|
816
|
-
readonly
|
|
817
|
-
readonly
|
|
818
|
-
readonly response?: {
|
|
819
|
-
readonly body: string;
|
|
820
|
-
} | undefined;
|
|
821
|
-
readonly retryAfterMs?: number | undefined;
|
|
669
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
670
|
+
readonly location: {
|
|
671
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
672
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
822
673
|
};
|
|
674
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
675
|
+
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
676
|
+
readonly slug: string;
|
|
677
|
+
readonly title?: string | undefined;
|
|
678
|
+
readonly agent?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
679
|
+
readonly model?: {
|
|
680
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
681
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
682
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
683
|
+
} | undefined;
|
|
684
|
+
readonly metadata?: {
|
|
685
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
686
|
+
} | undefined;
|
|
687
|
+
readonly permissions?: readonly {
|
|
688
|
+
readonly action: string;
|
|
689
|
+
readonly resource: string;
|
|
690
|
+
readonly effect: "allow" | "ask" | "deny";
|
|
691
|
+
}[] | undefined;
|
|
692
|
+
readonly version: string;
|
|
823
693
|
};
|
|
824
694
|
} | {
|
|
825
695
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -827,7 +697,7 @@ export declare const make: (options?: {
|
|
|
827
697
|
readonly metadata?: {
|
|
828
698
|
readonly [x: string]: unknown;
|
|
829
699
|
} | undefined;
|
|
830
|
-
readonly type: "session.
|
|
700
|
+
readonly type: "session.deleted";
|
|
831
701
|
readonly durable: {
|
|
832
702
|
readonly aggregateID: string;
|
|
833
703
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -839,7 +709,6 @@ export declare const make: (options?: {
|
|
|
839
709
|
} | undefined;
|
|
840
710
|
readonly data: {
|
|
841
711
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
842
|
-
readonly reason: "inactivity" | "shutdown" | "superseded" | "user";
|
|
843
712
|
};
|
|
844
713
|
} | {
|
|
845
714
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -847,7 +716,7 @@ export declare const make: (options?: {
|
|
|
847
716
|
readonly metadata?: {
|
|
848
717
|
readonly [x: string]: unknown;
|
|
849
718
|
} | undefined;
|
|
850
|
-
readonly type: "session.
|
|
719
|
+
readonly type: "session.execution.failed";
|
|
851
720
|
readonly durable: {
|
|
852
721
|
readonly aggregateID: string;
|
|
853
722
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -859,10 +728,15 @@ export declare const make: (options?: {
|
|
|
859
728
|
} | undefined;
|
|
860
729
|
readonly data: {
|
|
861
730
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
862
|
-
readonly
|
|
863
|
-
readonly
|
|
731
|
+
readonly error: {
|
|
732
|
+
readonly type: string;
|
|
733
|
+
readonly message: string;
|
|
734
|
+
readonly status?: number | undefined;
|
|
735
|
+
readonly response?: {
|
|
736
|
+
readonly body: string;
|
|
737
|
+
} | undefined;
|
|
738
|
+
readonly retryAfterMs?: number | undefined;
|
|
864
739
|
};
|
|
865
|
-
readonly text?: string | undefined;
|
|
866
740
|
};
|
|
867
741
|
} | {
|
|
868
742
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -870,7 +744,7 @@ export declare const make: (options?: {
|
|
|
870
744
|
readonly metadata?: {
|
|
871
745
|
readonly [x: string]: unknown;
|
|
872
746
|
} | undefined;
|
|
873
|
-
readonly type: "session.
|
|
747
|
+
readonly type: "session.execution.interrupted";
|
|
874
748
|
readonly durable: {
|
|
875
749
|
readonly aggregateID: string;
|
|
876
750
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -882,11 +756,7 @@ export declare const make: (options?: {
|
|
|
882
756
|
} | undefined;
|
|
883
757
|
readonly data: {
|
|
884
758
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
885
|
-
readonly
|
|
886
|
-
readonly description?: string | undefined;
|
|
887
|
-
readonly metadata?: {
|
|
888
|
-
readonly [x: string]: unknown;
|
|
889
|
-
} | undefined;
|
|
759
|
+
readonly reason: "inactivity" | "shutdown" | "superseded" | "user";
|
|
890
760
|
};
|
|
891
761
|
} | {
|
|
892
762
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -894,7 +764,7 @@ export declare const make: (options?: {
|
|
|
894
764
|
readonly metadata?: {
|
|
895
765
|
readonly [x: string]: unknown;
|
|
896
766
|
} | undefined;
|
|
897
|
-
readonly type: "session.
|
|
767
|
+
readonly type: "session.execution.started";
|
|
898
768
|
readonly durable: {
|
|
899
769
|
readonly aggregateID: string;
|
|
900
770
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -906,9 +776,6 @@ export declare const make: (options?: {
|
|
|
906
776
|
} | undefined;
|
|
907
777
|
readonly data: {
|
|
908
778
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
909
|
-
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
910
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
911
|
-
readonly text: string;
|
|
912
779
|
};
|
|
913
780
|
} | {
|
|
914
781
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -916,7 +783,7 @@ export declare const make: (options?: {
|
|
|
916
783
|
readonly metadata?: {
|
|
917
784
|
readonly [x: string]: unknown;
|
|
918
785
|
} | undefined;
|
|
919
|
-
readonly type: "session.
|
|
786
|
+
readonly type: "session.execution.succeeded";
|
|
920
787
|
readonly durable: {
|
|
921
788
|
readonly aggregateID: string;
|
|
922
789
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -928,24 +795,6 @@ export declare const make: (options?: {
|
|
|
928
795
|
} | undefined;
|
|
929
796
|
readonly data: {
|
|
930
797
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
931
|
-
readonly shell: {
|
|
932
|
-
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
933
|
-
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
934
|
-
readonly command: string;
|
|
935
|
-
readonly cwd: string;
|
|
936
|
-
readonly shell: string;
|
|
937
|
-
readonly file: string;
|
|
938
|
-
readonly pid?: number | undefined;
|
|
939
|
-
readonly exit?: number | undefined;
|
|
940
|
-
readonly signal?: string | undefined;
|
|
941
|
-
readonly metadata: {
|
|
942
|
-
readonly [x: string]: unknown;
|
|
943
|
-
};
|
|
944
|
-
readonly time: {
|
|
945
|
-
readonly started: number;
|
|
946
|
-
readonly completed?: number | undefined;
|
|
947
|
-
};
|
|
948
|
-
};
|
|
949
798
|
};
|
|
950
799
|
} | {
|
|
951
800
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -953,7 +802,7 @@ export declare const make: (options?: {
|
|
|
953
802
|
readonly metadata?: {
|
|
954
803
|
readonly [x: string]: unknown;
|
|
955
804
|
} | undefined;
|
|
956
|
-
readonly type: "session.
|
|
805
|
+
readonly type: "session.forked";
|
|
957
806
|
readonly durable: {
|
|
958
807
|
readonly aggregateID: string;
|
|
959
808
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -965,30 +814,22 @@ export declare const make: (options?: {
|
|
|
965
814
|
} | undefined;
|
|
966
815
|
readonly data: {
|
|
967
816
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
968
|
-
readonly
|
|
969
|
-
|
|
970
|
-
readonly
|
|
971
|
-
readonly
|
|
972
|
-
|
|
973
|
-
readonly
|
|
974
|
-
readonly
|
|
975
|
-
readonly pid?: number | undefined;
|
|
976
|
-
readonly exit?: number | undefined;
|
|
977
|
-
readonly signal?: string | undefined;
|
|
978
|
-
readonly metadata: {
|
|
979
|
-
readonly [x: string]: unknown;
|
|
980
|
-
};
|
|
981
|
-
readonly time: {
|
|
982
|
-
readonly started: number;
|
|
983
|
-
readonly completed?: number | undefined;
|
|
984
|
-
};
|
|
985
|
-
};
|
|
986
|
-
readonly output: {
|
|
987
|
-
readonly output: string;
|
|
988
|
-
readonly cursor: number;
|
|
989
|
-
readonly size: number;
|
|
990
|
-
readonly truncated: boolean;
|
|
817
|
+
readonly parentID: string & import("effect/Brand").Brand<"SessionID">;
|
|
818
|
+
readonly boundary: {
|
|
819
|
+
readonly type: "before";
|
|
820
|
+
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
821
|
+
} | {
|
|
822
|
+
readonly type: "through";
|
|
823
|
+
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
991
824
|
};
|
|
825
|
+
readonly instructions?: {
|
|
826
|
+
readonly [x: string & import("effect/Brand").Brand<"Instruction.Key">]: string & import("effect/Brand").Brand<"Instruction.Hash">;
|
|
827
|
+
} | undefined;
|
|
828
|
+
readonly instructionEntries?: readonly {
|
|
829
|
+
readonly key: string;
|
|
830
|
+
readonly value: import("effect/Schema").Json;
|
|
831
|
+
readonly removed: boolean;
|
|
832
|
+
}[] | undefined;
|
|
992
833
|
};
|
|
993
834
|
} | {
|
|
994
835
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -996,7 +837,7 @@ export declare const make: (options?: {
|
|
|
996
837
|
readonly metadata?: {
|
|
997
838
|
readonly [x: string]: unknown;
|
|
998
839
|
} | undefined;
|
|
999
|
-
readonly type: "session.
|
|
840
|
+
readonly type: "session.inbox.cancelled";
|
|
1000
841
|
readonly durable: {
|
|
1001
842
|
readonly aggregateID: string;
|
|
1002
843
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1008,15 +849,7 @@ export declare const make: (options?: {
|
|
|
1008
849
|
} | undefined;
|
|
1009
850
|
readonly data: {
|
|
1010
851
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1011
|
-
readonly
|
|
1012
|
-
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
1013
|
-
readonly model: {
|
|
1014
|
-
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1015
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1016
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1017
|
-
};
|
|
1018
|
-
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1019
|
-
readonly started: number;
|
|
852
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1020
853
|
};
|
|
1021
854
|
} | {
|
|
1022
855
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1024,7 +857,7 @@ export declare const make: (options?: {
|
|
|
1024
857
|
readonly metadata?: {
|
|
1025
858
|
readonly [x: string]: unknown;
|
|
1026
859
|
} | undefined;
|
|
1027
|
-
readonly type: "session.
|
|
860
|
+
readonly type: "session.inbox.delivered";
|
|
1028
861
|
readonly durable: {
|
|
1029
862
|
readonly aggregateID: string;
|
|
1030
863
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1036,7 +869,7 @@ export declare const make: (options?: {
|
|
|
1036
869
|
} | undefined;
|
|
1037
870
|
readonly data: {
|
|
1038
871
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1039
|
-
readonly
|
|
872
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1040
873
|
};
|
|
1041
874
|
} | {
|
|
1042
875
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1044,7 +877,7 @@ export declare const make: (options?: {
|
|
|
1044
877
|
readonly metadata?: {
|
|
1045
878
|
readonly [x: string]: unknown;
|
|
1046
879
|
} | undefined;
|
|
1047
|
-
readonly type: "session.
|
|
880
|
+
readonly type: "session.inbox.delivery.changed";
|
|
1048
881
|
readonly durable: {
|
|
1049
882
|
readonly aggregateID: string;
|
|
1050
883
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1056,24 +889,8 @@ export declare const make: (options?: {
|
|
|
1056
889
|
} | undefined;
|
|
1057
890
|
readonly data: {
|
|
1058
891
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1059
|
-
readonly
|
|
1060
|
-
readonly
|
|
1061
|
-
readonly rawFinish?: string | undefined;
|
|
1062
|
-
readonly native?: {
|
|
1063
|
-
readonly [x: string]: unknown;
|
|
1064
|
-
} | undefined;
|
|
1065
|
-
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
1066
|
-
readonly tokens: {
|
|
1067
|
-
readonly input: number;
|
|
1068
|
-
readonly output: number;
|
|
1069
|
-
readonly reasoning: number;
|
|
1070
|
-
readonly cache: {
|
|
1071
|
-
readonly read: number;
|
|
1072
|
-
readonly write: number;
|
|
1073
|
-
};
|
|
1074
|
-
};
|
|
1075
|
-
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1076
|
-
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
892
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
893
|
+
readonly delivery: "queue" | "steer";
|
|
1077
894
|
};
|
|
1078
895
|
} | {
|
|
1079
896
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1081,7 +898,7 @@ export declare const make: (options?: {
|
|
|
1081
898
|
readonly metadata?: {
|
|
1082
899
|
readonly [x: string]: unknown;
|
|
1083
900
|
} | undefined;
|
|
1084
|
-
readonly type: "session.
|
|
901
|
+
readonly type: "session.inbox.enqueued";
|
|
1085
902
|
readonly durable: {
|
|
1086
903
|
readonly aggregateID: string;
|
|
1087
904
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1093,33 +910,77 @@ export declare const make: (options?: {
|
|
|
1093
910
|
} | undefined;
|
|
1094
911
|
readonly data: {
|
|
1095
912
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1096
|
-
readonly
|
|
1097
|
-
readonly
|
|
1098
|
-
readonly type:
|
|
1099
|
-
readonly
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
readonly
|
|
913
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
914
|
+
readonly item: {
|
|
915
|
+
readonly type: "user";
|
|
916
|
+
readonly payload: {
|
|
917
|
+
readonly text: string;
|
|
918
|
+
readonly files?: readonly {
|
|
919
|
+
readonly data: string;
|
|
920
|
+
readonly mime: string;
|
|
921
|
+
readonly source: {
|
|
922
|
+
readonly type: "inline";
|
|
923
|
+
} | {
|
|
924
|
+
readonly type: "uri";
|
|
925
|
+
readonly uri: string;
|
|
926
|
+
};
|
|
927
|
+
readonly name?: string | undefined;
|
|
928
|
+
readonly description?: string | undefined;
|
|
929
|
+
readonly mention?: {
|
|
930
|
+
readonly start: number;
|
|
931
|
+
readonly end: number;
|
|
932
|
+
readonly text: string;
|
|
933
|
+
} | undefined;
|
|
934
|
+
}[] | undefined;
|
|
935
|
+
readonly agents?: readonly {
|
|
936
|
+
readonly name: string;
|
|
937
|
+
readonly mention?: {
|
|
938
|
+
readonly start: number;
|
|
939
|
+
readonly end: number;
|
|
940
|
+
readonly text: string;
|
|
941
|
+
} | undefined;
|
|
942
|
+
}[] | undefined;
|
|
943
|
+
readonly skills?: readonly {
|
|
944
|
+
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
945
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
946
|
+
readonly text?: string | undefined;
|
|
947
|
+
readonly mention?: {
|
|
948
|
+
readonly start: number;
|
|
949
|
+
readonly end: number;
|
|
950
|
+
readonly text: string;
|
|
951
|
+
} | undefined;
|
|
952
|
+
}[] | undefined;
|
|
953
|
+
readonly metadata?: {
|
|
954
|
+
readonly [x: string]: unknown;
|
|
955
|
+
} | undefined;
|
|
1119
956
|
};
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
957
|
+
readonly delivery: "queue" | "steer";
|
|
958
|
+
} | {
|
|
959
|
+
readonly type: "synthetic";
|
|
960
|
+
readonly payload: {
|
|
961
|
+
readonly text: string;
|
|
962
|
+
readonly description?: string | undefined;
|
|
963
|
+
readonly metadata?: {
|
|
964
|
+
readonly [x: string]: unknown;
|
|
965
|
+
} | undefined;
|
|
966
|
+
};
|
|
967
|
+
readonly delivery: "queue" | "steer";
|
|
968
|
+
} | {
|
|
969
|
+
readonly type: "compaction";
|
|
970
|
+
readonly payload: {};
|
|
971
|
+
readonly delivery: "queue" | "steer";
|
|
972
|
+
} | {
|
|
973
|
+
readonly type: "move";
|
|
974
|
+
readonly payload: {
|
|
975
|
+
readonly location: {
|
|
976
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
977
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
978
|
+
};
|
|
979
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
980
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
981
|
+
};
|
|
982
|
+
readonly delivery: "queue" | "steer";
|
|
983
|
+
};
|
|
1123
984
|
};
|
|
1124
985
|
} | {
|
|
1125
986
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1127,7 +988,7 @@ export declare const make: (options?: {
|
|
|
1127
988
|
readonly metadata?: {
|
|
1128
989
|
readonly [x: string]: unknown;
|
|
1129
990
|
} | undefined;
|
|
1130
|
-
readonly type: "session.
|
|
991
|
+
readonly type: "session.instructions.updated";
|
|
1131
992
|
readonly durable: {
|
|
1132
993
|
readonly aggregateID: string;
|
|
1133
994
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1139,8 +1000,10 @@ export declare const make: (options?: {
|
|
|
1139
1000
|
} | undefined;
|
|
1140
1001
|
readonly data: {
|
|
1141
1002
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1142
|
-
readonly
|
|
1143
|
-
|
|
1003
|
+
readonly delta: {
|
|
1004
|
+
readonly [x: string]: "removed" | (string & import("effect/Brand").Brand<"Instruction.Hash">);
|
|
1005
|
+
};
|
|
1006
|
+
readonly text?: string | undefined;
|
|
1144
1007
|
};
|
|
1145
1008
|
} | {
|
|
1146
1009
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1148,16 +1011,21 @@ export declare const make: (options?: {
|
|
|
1148
1011
|
readonly metadata?: {
|
|
1149
1012
|
readonly [x: string]: unknown;
|
|
1150
1013
|
} | undefined;
|
|
1151
|
-
readonly type: "session.
|
|
1014
|
+
readonly type: "session.metadata.updated";
|
|
1015
|
+
readonly durable: {
|
|
1016
|
+
readonly aggregateID: string;
|
|
1017
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1018
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1019
|
+
};
|
|
1152
1020
|
readonly location?: {
|
|
1153
1021
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1154
1022
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1155
1023
|
} | undefined;
|
|
1156
1024
|
readonly data: {
|
|
1157
1025
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1158
|
-
readonly
|
|
1159
|
-
|
|
1160
|
-
|
|
1026
|
+
readonly metadata: {
|
|
1027
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
1028
|
+
};
|
|
1161
1029
|
};
|
|
1162
1030
|
} | {
|
|
1163
1031
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1165,7 +1033,7 @@ export declare const make: (options?: {
|
|
|
1165
1033
|
readonly metadata?: {
|
|
1166
1034
|
readonly [x: string]: unknown;
|
|
1167
1035
|
} | undefined;
|
|
1168
|
-
readonly type: "session.
|
|
1036
|
+
readonly type: "session.model.selected";
|
|
1169
1037
|
readonly durable: {
|
|
1170
1038
|
readonly aggregateID: string;
|
|
1171
1039
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1177,11 +1045,15 @@ export declare const make: (options?: {
|
|
|
1177
1045
|
} | undefined;
|
|
1178
1046
|
readonly data: {
|
|
1179
1047
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1180
|
-
readonly
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1048
|
+
readonly model: {
|
|
1049
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1050
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1051
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1052
|
+
};
|
|
1053
|
+
readonly previous?: {
|
|
1054
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1055
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1056
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1185
1057
|
} | undefined;
|
|
1186
1058
|
};
|
|
1187
1059
|
} | {
|
|
@@ -1190,7 +1062,7 @@ export declare const make: (options?: {
|
|
|
1190
1062
|
readonly metadata?: {
|
|
1191
1063
|
readonly [x: string]: unknown;
|
|
1192
1064
|
} | undefined;
|
|
1193
|
-
readonly type: "session.
|
|
1065
|
+
readonly type: "session.moved";
|
|
1194
1066
|
readonly durable: {
|
|
1195
1067
|
readonly aggregateID: string;
|
|
1196
1068
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1201,12 +1073,13 @@ export declare const make: (options?: {
|
|
|
1201
1073
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1202
1074
|
} | undefined;
|
|
1203
1075
|
readonly data: {
|
|
1076
|
+
readonly location: {
|
|
1077
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1078
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1079
|
+
};
|
|
1080
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1081
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
1204
1082
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1205
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1206
|
-
readonly ordinal: number;
|
|
1207
|
-
readonly native?: {
|
|
1208
|
-
readonly [x: string]: unknown;
|
|
1209
|
-
} | undefined;
|
|
1210
1083
|
};
|
|
1211
1084
|
} | {
|
|
1212
1085
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1214,16 +1087,23 @@ export declare const make: (options?: {
|
|
|
1214
1087
|
readonly metadata?: {
|
|
1215
1088
|
readonly [x: string]: unknown;
|
|
1216
1089
|
} | undefined;
|
|
1217
|
-
readonly type: "session.
|
|
1090
|
+
readonly type: "session.permissions";
|
|
1091
|
+
readonly durable: {
|
|
1092
|
+
readonly aggregateID: string;
|
|
1093
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1094
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1095
|
+
};
|
|
1218
1096
|
readonly location?: {
|
|
1219
1097
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1220
1098
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1221
1099
|
} | undefined;
|
|
1222
1100
|
readonly data: {
|
|
1223
1101
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1224
|
-
readonly
|
|
1225
|
-
|
|
1226
|
-
|
|
1102
|
+
readonly permissions: readonly {
|
|
1103
|
+
readonly action: string;
|
|
1104
|
+
readonly resource: string;
|
|
1105
|
+
readonly effect: "allow" | "ask" | "deny";
|
|
1106
|
+
}[];
|
|
1227
1107
|
};
|
|
1228
1108
|
} | {
|
|
1229
1109
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1256,7 +1136,7 @@ export declare const make: (options?: {
|
|
|
1256
1136
|
readonly metadata?: {
|
|
1257
1137
|
readonly [x: string]: unknown;
|
|
1258
1138
|
} | undefined;
|
|
1259
|
-
readonly type: "session.
|
|
1139
|
+
readonly type: "session.reasoning.started";
|
|
1260
1140
|
readonly durable: {
|
|
1261
1141
|
readonly aggregateID: string;
|
|
1262
1142
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1269,8 +1149,10 @@ export declare const make: (options?: {
|
|
|
1269
1149
|
readonly data: {
|
|
1270
1150
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1271
1151
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1272
|
-
readonly
|
|
1273
|
-
readonly
|
|
1152
|
+
readonly ordinal: number;
|
|
1153
|
+
readonly native?: {
|
|
1154
|
+
readonly [x: string]: unknown;
|
|
1155
|
+
} | undefined;
|
|
1274
1156
|
};
|
|
1275
1157
|
} | {
|
|
1276
1158
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1278,16 +1160,19 @@ export declare const make: (options?: {
|
|
|
1278
1160
|
readonly metadata?: {
|
|
1279
1161
|
readonly [x: string]: unknown;
|
|
1280
1162
|
} | undefined;
|
|
1281
|
-
readonly type: "session.
|
|
1163
|
+
readonly type: "session.renamed";
|
|
1164
|
+
readonly durable: {
|
|
1165
|
+
readonly aggregateID: string;
|
|
1166
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1167
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1168
|
+
};
|
|
1282
1169
|
readonly location?: {
|
|
1283
1170
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1284
1171
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1285
1172
|
} | undefined;
|
|
1286
1173
|
readonly data: {
|
|
1287
1174
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1288
|
-
readonly
|
|
1289
|
-
readonly id: string;
|
|
1290
|
-
readonly delta: string;
|
|
1175
|
+
readonly title: string;
|
|
1291
1176
|
};
|
|
1292
1177
|
} | {
|
|
1293
1178
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1295,7 +1180,7 @@ export declare const make: (options?: {
|
|
|
1295
1180
|
readonly metadata?: {
|
|
1296
1181
|
readonly [x: string]: unknown;
|
|
1297
1182
|
} | undefined;
|
|
1298
|
-
readonly type: "session.
|
|
1183
|
+
readonly type: "session.retry.scheduled";
|
|
1299
1184
|
readonly durable: {
|
|
1300
1185
|
readonly aggregateID: string;
|
|
1301
1186
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1308,8 +1193,17 @@ export declare const make: (options?: {
|
|
|
1308
1193
|
readonly data: {
|
|
1309
1194
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1310
1195
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1311
|
-
readonly
|
|
1312
|
-
readonly
|
|
1196
|
+
readonly attempt: number;
|
|
1197
|
+
readonly at: number;
|
|
1198
|
+
readonly error: {
|
|
1199
|
+
readonly type: string;
|
|
1200
|
+
readonly message: string;
|
|
1201
|
+
readonly status?: number | undefined;
|
|
1202
|
+
readonly response?: {
|
|
1203
|
+
readonly body: string;
|
|
1204
|
+
} | undefined;
|
|
1205
|
+
readonly retryAfterMs?: number | undefined;
|
|
1206
|
+
};
|
|
1313
1207
|
};
|
|
1314
1208
|
} | {
|
|
1315
1209
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1317,7 +1211,7 @@ export declare const make: (options?: {
|
|
|
1317
1211
|
readonly metadata?: {
|
|
1318
1212
|
readonly [x: string]: unknown;
|
|
1319
1213
|
} | undefined;
|
|
1320
|
-
readonly type: "session.
|
|
1214
|
+
readonly type: "session.revert.cleared";
|
|
1321
1215
|
readonly durable: {
|
|
1322
1216
|
readonly aggregateID: string;
|
|
1323
1217
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1329,15 +1223,6 @@ export declare const make: (options?: {
|
|
|
1329
1223
|
} | undefined;
|
|
1330
1224
|
readonly data: {
|
|
1331
1225
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1332
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1333
|
-
readonly id: string;
|
|
1334
|
-
readonly input: {
|
|
1335
|
-
readonly [x: string]: unknown;
|
|
1336
|
-
};
|
|
1337
|
-
readonly executed: boolean;
|
|
1338
|
-
readonly native?: {
|
|
1339
|
-
readonly [x: string]: unknown;
|
|
1340
|
-
} | undefined;
|
|
1341
1226
|
};
|
|
1342
1227
|
} | {
|
|
1343
1228
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1345,18 +1230,19 @@ export declare const make: (options?: {
|
|
|
1345
1230
|
readonly metadata?: {
|
|
1346
1231
|
readonly [x: string]: unknown;
|
|
1347
1232
|
} | undefined;
|
|
1348
|
-
readonly type: "session.
|
|
1233
|
+
readonly type: "session.revert.committed";
|
|
1234
|
+
readonly durable: {
|
|
1235
|
+
readonly aggregateID: string;
|
|
1236
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1237
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1238
|
+
};
|
|
1349
1239
|
readonly location?: {
|
|
1350
1240
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1351
1241
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1352
1242
|
} | undefined;
|
|
1353
1243
|
readonly data: {
|
|
1354
1244
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1355
|
-
readonly
|
|
1356
|
-
readonly id: string;
|
|
1357
|
-
readonly metadata: {
|
|
1358
|
-
readonly [x: string]: import("effect/Schema").Json;
|
|
1359
|
-
};
|
|
1245
|
+
readonly to: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1360
1246
|
};
|
|
1361
1247
|
} | {
|
|
1362
1248
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1364,7 +1250,7 @@ export declare const make: (options?: {
|
|
|
1364
1250
|
readonly metadata?: {
|
|
1365
1251
|
readonly [x: string]: unknown;
|
|
1366
1252
|
} | undefined;
|
|
1367
|
-
readonly type: "session.
|
|
1253
|
+
readonly type: "session.revert.staged";
|
|
1368
1254
|
readonly durable: {
|
|
1369
1255
|
readonly aggregateID: string;
|
|
1370
1256
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1376,32 +1262,18 @@ export declare const make: (options?: {
|
|
|
1376
1262
|
} | undefined;
|
|
1377
1263
|
readonly data: {
|
|
1378
1264
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1379
|
-
readonly
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
readonly
|
|
1383
|
-
readonly
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
readonly text: string;
|
|
1392
|
-
} | {
|
|
1393
|
-
readonly type: "file";
|
|
1394
|
-
readonly uri: string;
|
|
1395
|
-
readonly mime: string;
|
|
1396
|
-
readonly name?: string | undefined;
|
|
1397
|
-
})[]];
|
|
1398
|
-
readonly metadata?: {
|
|
1399
|
-
readonly [x: string]: import("effect/Schema").Json;
|
|
1400
|
-
} | undefined;
|
|
1401
|
-
readonly executed: boolean;
|
|
1402
|
-
readonly native?: {
|
|
1403
|
-
readonly [x: string]: unknown;
|
|
1404
|
-
} | undefined;
|
|
1265
|
+
readonly revert: {
|
|
1266
|
+
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1267
|
+
readonly partID?: string | undefined;
|
|
1268
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1269
|
+
readonly files?: readonly {
|
|
1270
|
+
readonly file: string;
|
|
1271
|
+
readonly patch: string;
|
|
1272
|
+
readonly additions: number;
|
|
1273
|
+
readonly deletions: number;
|
|
1274
|
+
readonly status: "added" | "deleted" | "modified";
|
|
1275
|
+
}[] | undefined;
|
|
1276
|
+
};
|
|
1405
1277
|
};
|
|
1406
1278
|
} | {
|
|
1407
1279
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1409,7 +1281,7 @@ export declare const make: (options?: {
|
|
|
1409
1281
|
readonly metadata?: {
|
|
1410
1282
|
readonly [x: string]: unknown;
|
|
1411
1283
|
} | undefined;
|
|
1412
|
-
readonly type: "session.
|
|
1284
|
+
readonly type: "session.shell.ended";
|
|
1413
1285
|
readonly durable: {
|
|
1414
1286
|
readonly aggregateID: string;
|
|
1415
1287
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1421,41 +1293,30 @@ export declare const make: (options?: {
|
|
|
1421
1293
|
} | undefined;
|
|
1422
1294
|
readonly data: {
|
|
1423
1295
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1424
|
-
readonly
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
readonly
|
|
1428
|
-
readonly
|
|
1429
|
-
readonly
|
|
1430
|
-
readonly
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
readonly
|
|
1296
|
+
readonly shell: {
|
|
1297
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
1298
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
1299
|
+
readonly command: string;
|
|
1300
|
+
readonly cwd: string;
|
|
1301
|
+
readonly shell: string;
|
|
1302
|
+
readonly file: string;
|
|
1303
|
+
readonly pid?: number | undefined;
|
|
1304
|
+
readonly exit?: number | undefined;
|
|
1305
|
+
readonly signal?: string | undefined;
|
|
1306
|
+
readonly metadata: {
|
|
1307
|
+
readonly [x: string]: unknown;
|
|
1308
|
+
};
|
|
1309
|
+
readonly time: {
|
|
1310
|
+
readonly started: number;
|
|
1311
|
+
readonly completed?: number | undefined;
|
|
1312
|
+
};
|
|
1313
|
+
};
|
|
1314
|
+
readonly output: {
|
|
1315
|
+
readonly output: string;
|
|
1316
|
+
readonly cursor: number;
|
|
1317
|
+
readonly size: number;
|
|
1318
|
+
readonly truncated: boolean;
|
|
1434
1319
|
};
|
|
1435
|
-
readonly content?: readonly [{
|
|
1436
|
-
readonly type: "text";
|
|
1437
|
-
readonly text: string;
|
|
1438
|
-
} | {
|
|
1439
|
-
readonly type: "file";
|
|
1440
|
-
readonly uri: string;
|
|
1441
|
-
readonly mime: string;
|
|
1442
|
-
readonly name?: string | undefined;
|
|
1443
|
-
}, ...({
|
|
1444
|
-
readonly type: "text";
|
|
1445
|
-
readonly text: string;
|
|
1446
|
-
} | {
|
|
1447
|
-
readonly type: "file";
|
|
1448
|
-
readonly uri: string;
|
|
1449
|
-
readonly mime: string;
|
|
1450
|
-
readonly name?: string | undefined;
|
|
1451
|
-
})[]] | undefined;
|
|
1452
|
-
readonly metadata?: {
|
|
1453
|
-
readonly [x: string]: import("effect/Schema").Json;
|
|
1454
|
-
} | undefined;
|
|
1455
|
-
readonly executed: boolean;
|
|
1456
|
-
readonly native?: {
|
|
1457
|
-
readonly [x: string]: unknown;
|
|
1458
|
-
} | undefined;
|
|
1459
1320
|
};
|
|
1460
1321
|
} | {
|
|
1461
1322
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1463,7 +1324,7 @@ export declare const make: (options?: {
|
|
|
1463
1324
|
readonly metadata?: {
|
|
1464
1325
|
readonly [x: string]: unknown;
|
|
1465
1326
|
} | undefined;
|
|
1466
|
-
readonly type: "session.
|
|
1327
|
+
readonly type: "session.shell.started";
|
|
1467
1328
|
readonly durable: {
|
|
1468
1329
|
readonly aggregateID: string;
|
|
1469
1330
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1475,17 +1336,23 @@ export declare const make: (options?: {
|
|
|
1475
1336
|
} | undefined;
|
|
1476
1337
|
readonly data: {
|
|
1477
1338
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1478
|
-
readonly
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
readonly
|
|
1483
|
-
readonly
|
|
1484
|
-
readonly
|
|
1485
|
-
readonly
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
readonly
|
|
1339
|
+
readonly shell: {
|
|
1340
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
1341
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
1342
|
+
readonly command: string;
|
|
1343
|
+
readonly cwd: string;
|
|
1344
|
+
readonly shell: string;
|
|
1345
|
+
readonly file: string;
|
|
1346
|
+
readonly pid?: number | undefined;
|
|
1347
|
+
readonly exit?: number | undefined;
|
|
1348
|
+
readonly signal?: string | undefined;
|
|
1349
|
+
readonly metadata: {
|
|
1350
|
+
readonly [x: string]: unknown;
|
|
1351
|
+
};
|
|
1352
|
+
readonly time: {
|
|
1353
|
+
readonly started: number;
|
|
1354
|
+
readonly completed?: number | undefined;
|
|
1355
|
+
};
|
|
1489
1356
|
};
|
|
1490
1357
|
};
|
|
1491
1358
|
} | {
|
|
@@ -1494,7 +1361,7 @@ export declare const make: (options?: {
|
|
|
1494
1361
|
readonly metadata?: {
|
|
1495
1362
|
readonly [x: string]: unknown;
|
|
1496
1363
|
} | undefined;
|
|
1497
|
-
readonly type: "session.
|
|
1364
|
+
readonly type: "session.skill.activated";
|
|
1498
1365
|
readonly durable: {
|
|
1499
1366
|
readonly aggregateID: string;
|
|
1500
1367
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1506,22 +1373,8 @@ export declare const make: (options?: {
|
|
|
1506
1373
|
} | undefined;
|
|
1507
1374
|
readonly data: {
|
|
1508
1375
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1509
|
-
readonly
|
|
1510
|
-
readonly
|
|
1511
|
-
};
|
|
1512
|
-
} | {
|
|
1513
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1514
|
-
readonly created: number;
|
|
1515
|
-
readonly metadata?: {
|
|
1516
|
-
readonly [x: string]: unknown;
|
|
1517
|
-
} | undefined;
|
|
1518
|
-
readonly type: "session.compaction.delta";
|
|
1519
|
-
readonly location?: {
|
|
1520
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1521
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1522
|
-
} | undefined;
|
|
1523
|
-
readonly data: {
|
|
1524
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1376
|
+
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
1377
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
1525
1378
|
readonly text: string;
|
|
1526
1379
|
};
|
|
1527
1380
|
} | {
|
|
@@ -1530,7 +1383,7 @@ export declare const make: (options?: {
|
|
|
1530
1383
|
readonly metadata?: {
|
|
1531
1384
|
readonly [x: string]: unknown;
|
|
1532
1385
|
} | undefined;
|
|
1533
|
-
readonly type: "session.
|
|
1386
|
+
readonly type: "session.step.ended";
|
|
1534
1387
|
readonly durable: {
|
|
1535
1388
|
readonly aggregateID: string;
|
|
1536
1389
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1542,18 +1395,14 @@ export declare const make: (options?: {
|
|
|
1542
1395
|
} | undefined;
|
|
1543
1396
|
readonly data: {
|
|
1544
1397
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1545
|
-
readonly
|
|
1546
|
-
readonly
|
|
1547
|
-
|
|
1548
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1549
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1550
|
-
} | undefined;
|
|
1398
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1399
|
+
readonly finish: "content-filter" | "error" | "length" | "stop" | "tool-calls" | "unknown";
|
|
1400
|
+
readonly rawFinish?: string | undefined;
|
|
1551
1401
|
readonly native?: {
|
|
1552
1402
|
readonly [x: string]: unknown;
|
|
1553
1403
|
} | undefined;
|
|
1554
|
-
readonly
|
|
1555
|
-
readonly
|
|
1556
|
-
readonly tokens?: {
|
|
1404
|
+
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
1405
|
+
readonly tokens: {
|
|
1557
1406
|
readonly input: number;
|
|
1558
1407
|
readonly output: number;
|
|
1559
1408
|
readonly reasoning: number;
|
|
@@ -1561,7 +1410,9 @@ export declare const make: (options?: {
|
|
|
1561
1410
|
readonly read: number;
|
|
1562
1411
|
readonly write: number;
|
|
1563
1412
|
};
|
|
1564
|
-
}
|
|
1413
|
+
};
|
|
1414
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1415
|
+
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
1565
1416
|
};
|
|
1566
1417
|
} | {
|
|
1567
1418
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1569,7 +1420,7 @@ export declare const make: (options?: {
|
|
|
1569
1420
|
readonly metadata?: {
|
|
1570
1421
|
readonly [x: string]: unknown;
|
|
1571
1422
|
} | undefined;
|
|
1572
|
-
readonly type: "session.
|
|
1423
|
+
readonly type: "session.step.failed";
|
|
1573
1424
|
readonly durable: {
|
|
1574
1425
|
readonly aggregateID: string;
|
|
1575
1426
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1581,7 +1432,7 @@ export declare const make: (options?: {
|
|
|
1581
1432
|
} | undefined;
|
|
1582
1433
|
readonly data: {
|
|
1583
1434
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1584
|
-
readonly
|
|
1435
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1585
1436
|
readonly error: {
|
|
1586
1437
|
readonly type: string;
|
|
1587
1438
|
readonly message: string;
|
|
@@ -1591,7 +1442,11 @@ export declare const make: (options?: {
|
|
|
1591
1442
|
} | undefined;
|
|
1592
1443
|
readonly retryAfterMs?: number | undefined;
|
|
1593
1444
|
};
|
|
1594
|
-
readonly
|
|
1445
|
+
readonly finish?: "content-filter" | undefined;
|
|
1446
|
+
readonly rawFinish?: string | undefined;
|
|
1447
|
+
readonly native?: {
|
|
1448
|
+
readonly [x: string]: unknown;
|
|
1449
|
+
} | undefined;
|
|
1595
1450
|
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
1596
1451
|
readonly tokens?: {
|
|
1597
1452
|
readonly input: number;
|
|
@@ -1602,6 +1457,8 @@ export declare const make: (options?: {
|
|
|
1602
1457
|
readonly write: number;
|
|
1603
1458
|
};
|
|
1604
1459
|
} | undefined;
|
|
1460
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1461
|
+
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
1605
1462
|
};
|
|
1606
1463
|
} | {
|
|
1607
1464
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1609,7 +1466,7 @@ export declare const make: (options?: {
|
|
|
1609
1466
|
readonly metadata?: {
|
|
1610
1467
|
readonly [x: string]: unknown;
|
|
1611
1468
|
} | undefined;
|
|
1612
|
-
readonly type: "session.
|
|
1469
|
+
readonly type: "session.step.started";
|
|
1613
1470
|
readonly durable: {
|
|
1614
1471
|
readonly aggregateID: string;
|
|
1615
1472
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1621,6 +1478,15 @@ export declare const make: (options?: {
|
|
|
1621
1478
|
} | undefined;
|
|
1622
1479
|
readonly data: {
|
|
1623
1480
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1481
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1482
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
1483
|
+
readonly model: {
|
|
1484
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1485
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1486
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1487
|
+
};
|
|
1488
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1489
|
+
readonly started: number;
|
|
1624
1490
|
};
|
|
1625
1491
|
} | {
|
|
1626
1492
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1628,7 +1494,7 @@ export declare const make: (options?: {
|
|
|
1628
1494
|
readonly metadata?: {
|
|
1629
1495
|
readonly [x: string]: unknown;
|
|
1630
1496
|
} | undefined;
|
|
1631
|
-
readonly type: "session.
|
|
1497
|
+
readonly type: "session.step.streamed";
|
|
1632
1498
|
readonly durable: {
|
|
1633
1499
|
readonly aggregateID: string;
|
|
1634
1500
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1640,7 +1506,7 @@ export declare const make: (options?: {
|
|
|
1640
1506
|
} | undefined;
|
|
1641
1507
|
readonly data: {
|
|
1642
1508
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1643
|
-
readonly
|
|
1509
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1644
1510
|
};
|
|
1645
1511
|
} | {
|
|
1646
1512
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1648,7 +1514,7 @@ export declare const make: (options?: {
|
|
|
1648
1514
|
readonly metadata?: {
|
|
1649
1515
|
readonly [x: string]: unknown;
|
|
1650
1516
|
} | undefined;
|
|
1651
|
-
readonly type: "session.
|
|
1517
|
+
readonly type: "session.synthetic";
|
|
1652
1518
|
readonly durable: {
|
|
1653
1519
|
readonly aggregateID: string;
|
|
1654
1520
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1660,18 +1526,11 @@ export declare const make: (options?: {
|
|
|
1660
1526
|
} | undefined;
|
|
1661
1527
|
readonly data: {
|
|
1662
1528
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1663
|
-
readonly
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
readonly
|
|
1667
|
-
|
|
1668
|
-
readonly file: string;
|
|
1669
|
-
readonly patch: string;
|
|
1670
|
-
readonly additions: number;
|
|
1671
|
-
readonly deletions: number;
|
|
1672
|
-
readonly status: "added" | "deleted" | "modified";
|
|
1673
|
-
}[] | undefined;
|
|
1674
|
-
};
|
|
1529
|
+
readonly text: string;
|
|
1530
|
+
readonly description?: string | undefined;
|
|
1531
|
+
readonly metadata?: {
|
|
1532
|
+
readonly [x: string]: unknown;
|
|
1533
|
+
} | undefined;
|
|
1675
1534
|
};
|
|
1676
1535
|
} | {
|
|
1677
1536
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1679,37 +1538,24 @@ export declare const make: (options?: {
|
|
|
1679
1538
|
readonly metadata?: {
|
|
1680
1539
|
readonly [x: string]: unknown;
|
|
1681
1540
|
} | undefined;
|
|
1682
|
-
readonly type: "
|
|
1683
|
-
readonly
|
|
1684
|
-
readonly
|
|
1685
|
-
readonly
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
} | {
|
|
1689
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1690
|
-
readonly created: number;
|
|
1691
|
-
readonly metadata?: {
|
|
1692
|
-
readonly [x: string]: unknown;
|
|
1693
|
-
} | undefined;
|
|
1694
|
-
readonly type: "config.updated";
|
|
1695
|
-
readonly location?: {
|
|
1696
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1697
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1698
|
-
} | undefined;
|
|
1699
|
-
readonly data: {};
|
|
1700
|
-
} | {
|
|
1701
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1702
|
-
readonly created: number;
|
|
1703
|
-
readonly metadata?: {
|
|
1704
|
-
readonly [x: string]: unknown;
|
|
1705
|
-
} | undefined;
|
|
1706
|
-
readonly type: "mcp.resources.changed";
|
|
1541
|
+
readonly type: "session.text.ended";
|
|
1542
|
+
readonly durable: {
|
|
1543
|
+
readonly aggregateID: string;
|
|
1544
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1545
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1546
|
+
};
|
|
1707
1547
|
readonly location?: {
|
|
1708
1548
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1709
1549
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1710
1550
|
} | undefined;
|
|
1711
1551
|
readonly data: {
|
|
1712
|
-
readonly
|
|
1552
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1553
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1554
|
+
readonly ordinal: number;
|
|
1555
|
+
readonly text: string;
|
|
1556
|
+
readonly native?: {
|
|
1557
|
+
readonly [x: string]: unknown;
|
|
1558
|
+
} | undefined;
|
|
1713
1559
|
};
|
|
1714
1560
|
} | {
|
|
1715
1561
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1717,13 +1563,20 @@ export declare const make: (options?: {
|
|
|
1717
1563
|
readonly metadata?: {
|
|
1718
1564
|
readonly [x: string]: unknown;
|
|
1719
1565
|
} | undefined;
|
|
1720
|
-
readonly type: "
|
|
1566
|
+
readonly type: "session.text.started";
|
|
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
|
+
};
|
|
1721
1572
|
readonly location?: {
|
|
1722
1573
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1723
1574
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1724
1575
|
} | undefined;
|
|
1725
1576
|
readonly data: {
|
|
1726
|
-
readonly
|
|
1577
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1578
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1579
|
+
readonly ordinal: number;
|
|
1727
1580
|
};
|
|
1728
1581
|
} | {
|
|
1729
1582
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1731,25 +1584,81 @@ export declare const make: (options?: {
|
|
|
1731
1584
|
readonly metadata?: {
|
|
1732
1585
|
readonly [x: string]: unknown;
|
|
1733
1586
|
} | undefined;
|
|
1734
|
-
readonly type: "
|
|
1587
|
+
readonly type: "session.tool.called";
|
|
1588
|
+
readonly durable: {
|
|
1589
|
+
readonly aggregateID: string;
|
|
1590
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1591
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1592
|
+
};
|
|
1735
1593
|
readonly location?: {
|
|
1736
1594
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1737
1595
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1738
1596
|
} | undefined;
|
|
1739
|
-
readonly data: {
|
|
1597
|
+
readonly data: {
|
|
1598
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1599
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1600
|
+
readonly id: string;
|
|
1601
|
+
readonly input: {
|
|
1602
|
+
readonly [x: string]: unknown;
|
|
1603
|
+
};
|
|
1604
|
+
readonly executed: boolean;
|
|
1605
|
+
readonly native?: {
|
|
1606
|
+
readonly [x: string]: unknown;
|
|
1607
|
+
} | undefined;
|
|
1608
|
+
};
|
|
1740
1609
|
} | {
|
|
1741
1610
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1742
1611
|
readonly created: number;
|
|
1743
1612
|
readonly metadata?: {
|
|
1744
1613
|
readonly [x: string]: unknown;
|
|
1745
1614
|
} | undefined;
|
|
1746
|
-
readonly type: "
|
|
1615
|
+
readonly type: "session.tool.failed";
|
|
1616
|
+
readonly durable: {
|
|
1617
|
+
readonly aggregateID: string;
|
|
1618
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1619
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1620
|
+
};
|
|
1747
1621
|
readonly location?: {
|
|
1748
1622
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1749
1623
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1750
1624
|
} | undefined;
|
|
1751
1625
|
readonly data: {
|
|
1752
|
-
readonly
|
|
1626
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1627
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1628
|
+
readonly id: string;
|
|
1629
|
+
readonly error: {
|
|
1630
|
+
readonly type: string;
|
|
1631
|
+
readonly message: string;
|
|
1632
|
+
readonly status?: number | undefined;
|
|
1633
|
+
readonly response?: {
|
|
1634
|
+
readonly body: string;
|
|
1635
|
+
} | undefined;
|
|
1636
|
+
readonly retryAfterMs?: number | undefined;
|
|
1637
|
+
};
|
|
1638
|
+
readonly content?: readonly [{
|
|
1639
|
+
readonly type: "text";
|
|
1640
|
+
readonly text: string;
|
|
1641
|
+
} | {
|
|
1642
|
+
readonly type: "file";
|
|
1643
|
+
readonly uri: string;
|
|
1644
|
+
readonly mime: string;
|
|
1645
|
+
readonly name?: string | undefined;
|
|
1646
|
+
}, ...({
|
|
1647
|
+
readonly type: "text";
|
|
1648
|
+
readonly text: string;
|
|
1649
|
+
} | {
|
|
1650
|
+
readonly type: "file";
|
|
1651
|
+
readonly uri: string;
|
|
1652
|
+
readonly mime: string;
|
|
1653
|
+
readonly name?: string | undefined;
|
|
1654
|
+
})[]] | undefined;
|
|
1655
|
+
readonly metadata?: {
|
|
1656
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
1657
|
+
} | undefined;
|
|
1658
|
+
readonly executed: boolean;
|
|
1659
|
+
readonly native?: {
|
|
1660
|
+
readonly [x: string]: unknown;
|
|
1661
|
+
} | undefined;
|
|
1753
1662
|
};
|
|
1754
1663
|
} | {
|
|
1755
1664
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1757,12 +1666,20 @@ export declare const make: (options?: {
|
|
|
1757
1666
|
readonly metadata?: {
|
|
1758
1667
|
readonly [x: string]: unknown;
|
|
1759
1668
|
} | undefined;
|
|
1760
|
-
readonly type: "
|
|
1669
|
+
readonly type: "session.tool.input.ended";
|
|
1670
|
+
readonly durable: {
|
|
1671
|
+
readonly aggregateID: string;
|
|
1672
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1673
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1674
|
+
};
|
|
1761
1675
|
readonly location?: {
|
|
1762
1676
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1763
1677
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1764
1678
|
} | undefined;
|
|
1765
1679
|
readonly data: {
|
|
1680
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1681
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1682
|
+
readonly id: string;
|
|
1766
1683
|
readonly text: string;
|
|
1767
1684
|
};
|
|
1768
1685
|
} | {
|
|
@@ -1771,13 +1688,21 @@ export declare const make: (options?: {
|
|
|
1771
1688
|
readonly metadata?: {
|
|
1772
1689
|
readonly [x: string]: unknown;
|
|
1773
1690
|
} | undefined;
|
|
1774
|
-
readonly type: "
|
|
1691
|
+
readonly type: "session.tool.input.started";
|
|
1692
|
+
readonly durable: {
|
|
1693
|
+
readonly aggregateID: string;
|
|
1694
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1695
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1696
|
+
};
|
|
1775
1697
|
readonly location?: {
|
|
1776
1698
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1777
1699
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1778
1700
|
} | undefined;
|
|
1779
1701
|
readonly data: {
|
|
1780
1702
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1703
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1704
|
+
readonly id: string;
|
|
1705
|
+
readonly name: string;
|
|
1781
1706
|
};
|
|
1782
1707
|
} | {
|
|
1783
1708
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1785,16 +1710,44 @@ export declare const make: (options?: {
|
|
|
1785
1710
|
readonly metadata?: {
|
|
1786
1711
|
readonly [x: string]: unknown;
|
|
1787
1712
|
} | undefined;
|
|
1788
|
-
readonly type: "
|
|
1713
|
+
readonly type: "session.tool.success";
|
|
1714
|
+
readonly durable: {
|
|
1715
|
+
readonly aggregateID: string;
|
|
1716
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1717
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1718
|
+
};
|
|
1789
1719
|
readonly location?: {
|
|
1790
1720
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1791
1721
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1792
1722
|
} | undefined;
|
|
1793
1723
|
readonly data: {
|
|
1794
|
-
readonly
|
|
1795
|
-
readonly
|
|
1796
|
-
readonly
|
|
1797
|
-
readonly
|
|
1724
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1725
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1726
|
+
readonly id: string;
|
|
1727
|
+
readonly content: readonly [{
|
|
1728
|
+
readonly type: "text";
|
|
1729
|
+
readonly text: string;
|
|
1730
|
+
} | {
|
|
1731
|
+
readonly type: "file";
|
|
1732
|
+
readonly uri: string;
|
|
1733
|
+
readonly mime: string;
|
|
1734
|
+
readonly name?: string | undefined;
|
|
1735
|
+
}, ...({
|
|
1736
|
+
readonly type: "text";
|
|
1737
|
+
readonly text: string;
|
|
1738
|
+
} | {
|
|
1739
|
+
readonly type: "file";
|
|
1740
|
+
readonly uri: string;
|
|
1741
|
+
readonly mime: string;
|
|
1742
|
+
readonly name?: string | undefined;
|
|
1743
|
+
})[]];
|
|
1744
|
+
readonly metadata?: {
|
|
1745
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
1746
|
+
} | undefined;
|
|
1747
|
+
readonly executed: boolean;
|
|
1748
|
+
readonly native?: {
|
|
1749
|
+
readonly [x: string]: unknown;
|
|
1750
|
+
} | undefined;
|
|
1798
1751
|
};
|
|
1799
1752
|
} | {
|
|
1800
1753
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1802,86 +1755,104 @@ export declare const make: (options?: {
|
|
|
1802
1755
|
readonly metadata?: {
|
|
1803
1756
|
readonly [x: string]: unknown;
|
|
1804
1757
|
} | undefined;
|
|
1805
|
-
readonly type: "
|
|
1806
|
-
readonly
|
|
1807
|
-
readonly
|
|
1808
|
-
readonly
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
} | {
|
|
1812
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1813
|
-
readonly created: number;
|
|
1814
|
-
readonly metadata?: {
|
|
1815
|
-
readonly [x: string]: unknown;
|
|
1816
|
-
} | undefined;
|
|
1817
|
-
readonly type: "models-dev.refreshed";
|
|
1758
|
+
readonly type: "session.unarchived";
|
|
1759
|
+
readonly durable: {
|
|
1760
|
+
readonly aggregateID: string;
|
|
1761
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1762
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1763
|
+
};
|
|
1818
1764
|
readonly location?: {
|
|
1819
1765
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1820
1766
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1821
1767
|
} | undefined;
|
|
1822
|
-
readonly data: {
|
|
1768
|
+
readonly data: {
|
|
1769
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1770
|
+
};
|
|
1823
1771
|
} | {
|
|
1824
1772
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1825
1773
|
readonly created: number;
|
|
1826
1774
|
readonly metadata?: {
|
|
1827
1775
|
readonly [x: string]: unknown;
|
|
1828
1776
|
} | undefined;
|
|
1829
|
-
readonly type: "
|
|
1777
|
+
readonly type: "session.viewed";
|
|
1778
|
+
readonly durable: {
|
|
1779
|
+
readonly aggregateID: string;
|
|
1780
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1781
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1782
|
+
};
|
|
1830
1783
|
readonly location?: {
|
|
1831
1784
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1832
1785
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1833
1786
|
} | undefined;
|
|
1834
|
-
readonly data: {
|
|
1787
|
+
readonly data: {
|
|
1788
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1789
|
+
readonly idle: number;
|
|
1790
|
+
};
|
|
1835
1791
|
} | {
|
|
1836
1792
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1837
1793
|
readonly created: number;
|
|
1838
1794
|
readonly metadata?: {
|
|
1839
1795
|
readonly [x: string]: unknown;
|
|
1840
1796
|
} | undefined;
|
|
1841
|
-
readonly type: "
|
|
1797
|
+
readonly type: "session.compaction.delta";
|
|
1842
1798
|
readonly location?: {
|
|
1843
1799
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1844
1800
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1845
1801
|
} | undefined;
|
|
1846
|
-
readonly data: {
|
|
1802
|
+
readonly data: {
|
|
1803
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1804
|
+
readonly text: string;
|
|
1805
|
+
};
|
|
1847
1806
|
} | {
|
|
1848
1807
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1849
1808
|
readonly created: number;
|
|
1850
1809
|
readonly metadata?: {
|
|
1851
1810
|
readonly [x: string]: unknown;
|
|
1852
1811
|
} | undefined;
|
|
1853
|
-
readonly type: "
|
|
1812
|
+
readonly type: "session.reasoning.delta";
|
|
1854
1813
|
readonly location?: {
|
|
1855
1814
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1856
1815
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1857
1816
|
} | undefined;
|
|
1858
|
-
readonly data: {
|
|
1817
|
+
readonly data: {
|
|
1818
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1819
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1820
|
+
readonly ordinal: number;
|
|
1821
|
+
readonly delta: string;
|
|
1822
|
+
};
|
|
1859
1823
|
} | {
|
|
1860
1824
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1861
1825
|
readonly created: number;
|
|
1862
1826
|
readonly metadata?: {
|
|
1863
1827
|
readonly [x: string]: unknown;
|
|
1864
1828
|
} | undefined;
|
|
1865
|
-
readonly type: "
|
|
1829
|
+
readonly type: "session.text.delta";
|
|
1866
1830
|
readonly location?: {
|
|
1867
1831
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1868
1832
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1869
1833
|
} | undefined;
|
|
1870
|
-
readonly data: {
|
|
1834
|
+
readonly data: {
|
|
1835
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1836
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1837
|
+
readonly ordinal: number;
|
|
1838
|
+
readonly delta: string;
|
|
1839
|
+
};
|
|
1871
1840
|
} | {
|
|
1872
1841
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1873
1842
|
readonly created: number;
|
|
1874
1843
|
readonly metadata?: {
|
|
1875
1844
|
readonly [x: string]: unknown;
|
|
1876
1845
|
} | undefined;
|
|
1877
|
-
readonly type: "
|
|
1846
|
+
readonly type: "session.tool.input.delta";
|
|
1878
1847
|
readonly location?: {
|
|
1879
1848
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1880
1849
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1881
1850
|
} | undefined;
|
|
1882
1851
|
readonly data: {
|
|
1883
|
-
readonly
|
|
1884
|
-
readonly
|
|
1852
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1853
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1854
|
+
readonly id: string;
|
|
1855
|
+
readonly delta: string;
|
|
1885
1856
|
};
|
|
1886
1857
|
} | {
|
|
1887
1858
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1889,38 +1860,42 @@ export declare const make: (options?: {
|
|
|
1889
1860
|
readonly metadata?: {
|
|
1890
1861
|
readonly [x: string]: unknown;
|
|
1891
1862
|
} | undefined;
|
|
1892
|
-
readonly type: "
|
|
1863
|
+
readonly type: "session.tool.progress";
|
|
1893
1864
|
readonly location?: {
|
|
1894
1865
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1895
1866
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1896
1867
|
} | undefined;
|
|
1897
|
-
readonly data: {
|
|
1868
|
+
readonly data: {
|
|
1869
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1870
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1871
|
+
readonly id: string;
|
|
1872
|
+
readonly metadata: {
|
|
1873
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
1874
|
+
};
|
|
1875
|
+
};
|
|
1898
1876
|
} | {
|
|
1899
1877
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1900
1878
|
readonly created: number;
|
|
1901
1879
|
readonly metadata?: {
|
|
1902
1880
|
readonly [x: string]: unknown;
|
|
1903
1881
|
} | undefined;
|
|
1904
|
-
readonly type: "
|
|
1882
|
+
readonly type: "session.usage.updated";
|
|
1905
1883
|
readonly location?: {
|
|
1906
1884
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1907
1885
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1908
1886
|
} | undefined;
|
|
1909
1887
|
readonly data: {
|
|
1910
1888
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1911
|
-
readonly
|
|
1912
|
-
readonly
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
readonly
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
} | undefined;
|
|
1922
|
-
readonly message?: string | undefined;
|
|
1923
|
-
readonly id: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
1889
|
+
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
1890
|
+
readonly tokens: {
|
|
1891
|
+
readonly input: number;
|
|
1892
|
+
readonly output: number;
|
|
1893
|
+
readonly reasoning: number;
|
|
1894
|
+
readonly cache: {
|
|
1895
|
+
readonly read: number;
|
|
1896
|
+
readonly write: number;
|
|
1897
|
+
};
|
|
1898
|
+
};
|
|
1924
1899
|
};
|
|
1925
1900
|
} | {
|
|
1926
1901
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1928,16 +1903,12 @@ export declare const make: (options?: {
|
|
|
1928
1903
|
readonly metadata?: {
|
|
1929
1904
|
readonly [x: string]: unknown;
|
|
1930
1905
|
} | undefined;
|
|
1931
|
-
readonly type: "
|
|
1906
|
+
readonly type: "plugin.updated";
|
|
1932
1907
|
readonly location?: {
|
|
1933
1908
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1934
1909
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1935
1910
|
} | undefined;
|
|
1936
|
-
readonly data: {
|
|
1937
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1938
|
-
readonly requestID: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
1939
|
-
readonly reply: "always" | "once" | "reject";
|
|
1940
|
-
};
|
|
1911
|
+
readonly data: {};
|
|
1941
1912
|
} | {
|
|
1942
1913
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1943
1914
|
readonly created: number;
|
|
@@ -1976,36 +1947,36 @@ export declare const make: (options?: {
|
|
|
1976
1947
|
readonly metadata?: {
|
|
1977
1948
|
readonly [x: string]: unknown;
|
|
1978
1949
|
} | undefined;
|
|
1979
|
-
readonly type: "
|
|
1980
|
-
readonly durable: {
|
|
1981
|
-
readonly aggregateID: string;
|
|
1982
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1983
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1984
|
-
};
|
|
1950
|
+
readonly type: "command.updated";
|
|
1985
1951
|
readonly location?: {
|
|
1986
1952
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1987
1953
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1988
1954
|
} | undefined;
|
|
1989
|
-
readonly data: {
|
|
1990
|
-
|
|
1955
|
+
readonly data: {};
|
|
1956
|
+
} | {
|
|
1957
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1958
|
+
readonly created: number;
|
|
1959
|
+
readonly metadata?: {
|
|
1960
|
+
readonly [x: string]: unknown;
|
|
1961
|
+
} | undefined;
|
|
1962
|
+
readonly type: "config.updated";
|
|
1963
|
+
readonly location?: {
|
|
1991
1964
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1992
|
-
readonly
|
|
1993
|
-
|
|
1994
|
-
};
|
|
1965
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1966
|
+
} | undefined;
|
|
1967
|
+
readonly data: {};
|
|
1995
1968
|
} | {
|
|
1996
1969
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1997
1970
|
readonly created: number;
|
|
1998
1971
|
readonly metadata?: {
|
|
1999
1972
|
readonly [x: string]: unknown;
|
|
2000
1973
|
} | undefined;
|
|
2001
|
-
readonly type: "
|
|
1974
|
+
readonly type: "skill.updated";
|
|
2002
1975
|
readonly location?: {
|
|
2003
1976
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2004
1977
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2005
1978
|
} | undefined;
|
|
2006
|
-
readonly data: {
|
|
2007
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
2008
|
-
};
|
|
1979
|
+
readonly data: {};
|
|
2009
1980
|
} | {
|
|
2010
1981
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2011
1982
|
readonly created: number;
|
|
@@ -2498,13 +2469,13 @@ export declare const make: (options?: {
|
|
|
2498
2469
|
readonly metadata?: {
|
|
2499
2470
|
readonly [x: string]: unknown;
|
|
2500
2471
|
} | undefined;
|
|
2501
|
-
readonly type: "
|
|
2472
|
+
readonly type: "tui.command.execute";
|
|
2502
2473
|
readonly location?: {
|
|
2503
2474
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2504
2475
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2505
2476
|
} | undefined;
|
|
2506
2477
|
readonly data: {
|
|
2507
|
-
readonly
|
|
2478
|
+
readonly command: string;
|
|
2508
2479
|
};
|
|
2509
2480
|
} | {
|
|
2510
2481
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2512,13 +2483,13 @@ export declare const make: (options?: {
|
|
|
2512
2483
|
readonly metadata?: {
|
|
2513
2484
|
readonly [x: string]: unknown;
|
|
2514
2485
|
} | undefined;
|
|
2515
|
-
readonly type: "
|
|
2486
|
+
readonly type: "tui.prompt.append";
|
|
2516
2487
|
readonly location?: {
|
|
2517
2488
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2518
2489
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2519
2490
|
} | undefined;
|
|
2520
2491
|
readonly data: {
|
|
2521
|
-
readonly
|
|
2492
|
+
readonly text: string;
|
|
2522
2493
|
};
|
|
2523
2494
|
} | {
|
|
2524
2495
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2526,13 +2497,13 @@ export declare const make: (options?: {
|
|
|
2526
2497
|
readonly metadata?: {
|
|
2527
2498
|
readonly [x: string]: unknown;
|
|
2528
2499
|
} | undefined;
|
|
2529
|
-
readonly type: "
|
|
2500
|
+
readonly type: "tui.session.select";
|
|
2530
2501
|
readonly location?: {
|
|
2531
2502
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2532
2503
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2533
2504
|
} | undefined;
|
|
2534
2505
|
readonly data: {
|
|
2535
|
-
readonly
|
|
2506
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2536
2507
|
};
|
|
2537
2508
|
} | {
|
|
2538
2509
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2540,12 +2511,44 @@ export declare const make: (options?: {
|
|
|
2540
2511
|
readonly metadata?: {
|
|
2541
2512
|
readonly [x: string]: unknown;
|
|
2542
2513
|
} | undefined;
|
|
2543
|
-
readonly type:
|
|
2544
|
-
readonly location
|
|
2514
|
+
readonly type: "tui.toast.show";
|
|
2515
|
+
readonly location?: {
|
|
2545
2516
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2517
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2518
|
+
} | undefined;
|
|
2519
|
+
readonly data: {
|
|
2520
|
+
readonly title?: string | undefined;
|
|
2521
|
+
readonly message: string;
|
|
2522
|
+
readonly variant: "error" | "info" | "success" | "warning";
|
|
2523
|
+
readonly duration: number;
|
|
2546
2524
|
};
|
|
2525
|
+
} | {
|
|
2526
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2527
|
+
readonly created: number;
|
|
2528
|
+
readonly metadata?: {
|
|
2529
|
+
readonly [x: string]: unknown;
|
|
2530
|
+
} | undefined;
|
|
2531
|
+
readonly type: "mcp.resources.changed";
|
|
2532
|
+
readonly location?: {
|
|
2533
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2534
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2535
|
+
} | undefined;
|
|
2547
2536
|
readonly data: {
|
|
2537
|
+
readonly server: string;
|
|
2538
|
+
};
|
|
2539
|
+
} | {
|
|
2540
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2541
|
+
readonly created: number;
|
|
2542
|
+
readonly metadata?: {
|
|
2548
2543
|
readonly [x: string]: unknown;
|
|
2544
|
+
} | undefined;
|
|
2545
|
+
readonly type: "mcp.status.changed";
|
|
2546
|
+
readonly location?: {
|
|
2547
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2548
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2549
|
+
} | undefined;
|
|
2550
|
+
readonly data: {
|
|
2551
|
+
readonly server: string;
|
|
2549
2552
|
};
|
|
2550
2553
|
} | {
|
|
2551
2554
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|