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