@opencode/client 2.1.3 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{service-probe-9j12j8xw.js → contract-15p82y03.js} +5 -5
- package/dist/chunks/{service-probe-61wt4y9h.js → contract-1x65x4hv.js} +15 -20
- package/dist/chunks/{service-probe-8ye1ye6f.js → contract-2ny4vxct.js} +2 -2
- package/dist/chunks/{service-probe-8bbb028w.js → contract-8bbb028w.js} +1 -1
- package/dist/chunks/{service-probe-v1n69e13.js → contract-9kmsh4jj.js} +8 -2
- package/dist/chunks/{service-probe-ezt8t3fk.js → contract-c46qzyff.js} +2 -2
- package/dist/chunks/{service-probe-xwk4fryp.js → contract-hg9t2gnm.js} +9 -9
- package/dist/chunks/{service-probe-ryy6kscr.js → contract-ryy6kscr.js} +1 -1
- package/dist/chunks/{service-probe-g22sa7qz.js → contract-s2hya144.js} +21 -2
- package/dist/chunks/{service-probe-6vp15eh6.js → contract-skhp7hxc.js} +1 -1
- package/dist/chunks/{service-probe-9p0yrv34.js → contract-vwtmm97t.js} +4 -4
- package/dist/chunks/{service-probe-5r97ebd4.js → contract-w10x3kfx.js} +14 -7
- package/dist/contract.js +1 -1
- package/dist/effect/api/api.d.ts +32 -1
- package/dist/effect/client.d.ts +789 -785
- package/dist/effect/client.js +8 -8
- package/dist/effect/generated/client-error.js +1 -1
- package/dist/effect/generated/client.d.ts +489 -485
- package/dist/effect/generated/client.js +5 -5
- package/dist/effect/generated/index.js +4 -4
- package/dist/effect/index.js +8 -8
- package/dist/effect/rpc.js +4 -4
- package/dist/effect/service.d.ts +1 -1
- package/dist/effect/service.js +11 -11
- package/dist/mcp.d.ts +44 -0
- package/dist/mcp.js +110 -0
- package/dist/promise/client.d.ts +4 -0
- package/dist/promise/client.js +7 -7
- package/dist/promise/generated/client-error.js +1 -1
- package/dist/promise/generated/client.d.ts +5 -1
- package/dist/promise/generated/client.js +2 -2
- package/dist/promise/generated/index.js +5 -5
- package/dist/promise/generated/types.d.ts +47 -9
- package/dist/promise/generated/types.js +2 -2
- package/dist/promise/index.js +9 -9
- package/dist/promise/rpc.js +2 -2
- package/dist/promise/service.js +11 -11
- package/dist/pty-handoff.js +4 -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 +12 -6
- /package/dist/chunks/{service-probe-6mptkzbc.js → contract-6mptkzbc.js} +0 -0
- /package/dist/chunks/{service-probe-8s2anffy.js → contract-8s2anffy.js} +0 -0
- /package/dist/chunks/{service-probe-9rqn6x4v.js → contract-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-probe-gne7h7mq.js → contract-gne7h7mq.js} +0 -0
- /package/dist/chunks/{service-probe-m2eywc8w.js → contract-m2eywc8w.js} +0 -0
- /package/dist/chunks/{service-probe-nwcpakzx.js → contract-nwcpakzx.js} +0 -0
- /package/dist/chunks/{service-probe-qav6mfdz.js → contract-qav6mfdz.js} +0 -0
- /package/dist/chunks/{service-probe-sxt88q69.js → contract-sxt88q69.js} +0 -0
- /package/dist/chunks/{service-probe-ve4aws36.js → contract-ve4aws36.js} +0 -0
- /package/dist/chunks/{service-probe-vmytr4q8.js → contract-vmytr4q8.js} +0 -0
- /package/dist/chunks/{service-probe-vyas3vgt.js → contract-vyas3vgt.js} +0 -0
- /package/dist/chunks/{service-probe-xgnj2w4v.js → contract-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{service-probe-y2etg5bs.js → contract-y2etg5bs.js} +0 -0
- /package/dist/chunks/{service-probe-ydhz1zrh.js → contract-ydhz1zrh.js} +0 -0
package/dist/effect/client.d.ts
CHANGED
|
@@ -132,6 +132,9 @@ export declare const make: (options?: {
|
|
|
132
132
|
resource: {
|
|
133
133
|
catalog: (input?: import("./api.js").McpResourceCatalogInput) => Effect.Effect<import("./api.js").McpResourceCatalogOutput, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
134
134
|
};
|
|
135
|
+
client: {
|
|
136
|
+
token: (input: import("./api.js").McpClientTokenInput) => Effect.Effect<import("./api.js").McpClientTokenOutput, ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
137
|
+
};
|
|
135
138
|
};
|
|
136
139
|
credential: {
|
|
137
140
|
list: () => Effect.Effect<import("./api.js").CredentialListOutput, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
@@ -225,6 +228,7 @@ export declare const make: (options?: {
|
|
|
225
228
|
diff: (input: import("./api.js").VcsDiffInput) => Effect.Effect<import("./api.js").VcsDiffOutput, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
226
229
|
};
|
|
227
230
|
debug: {
|
|
231
|
+
heapDump: (input?: import("./api.js").DebugHeapDumpInput) => Effect.Effect<import("./api.js").DebugHeapDumpOutput, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnknownError, never>;
|
|
228
232
|
location: {
|
|
229
233
|
list: () => Effect.Effect<import("./api.js").DebugLocationListOutput, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
230
234
|
evict: (input?: import("./api.js").DebugLocationEvictInput) => Effect.Effect<void, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
@@ -251,26 +255,20 @@ export declare const make: (options?: {
|
|
|
251
255
|
readonly metadata?: {
|
|
252
256
|
readonly [x: string]: unknown;
|
|
253
257
|
} | undefined;
|
|
254
|
-
readonly type: "
|
|
255
|
-
readonly
|
|
256
|
-
readonly
|
|
257
|
-
readonly
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
} | {
|
|
261
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
262
|
-
readonly created: number;
|
|
263
|
-
readonly metadata?: {
|
|
264
|
-
readonly [x: string]: unknown;
|
|
265
|
-
} | undefined;
|
|
266
|
-
readonly type: "credential.switched";
|
|
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
|
+
};
|
|
267
264
|
readonly location?: {
|
|
268
265
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
269
266
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
270
267
|
} | undefined;
|
|
271
268
|
readonly data: {
|
|
272
|
-
readonly
|
|
273
|
-
readonly
|
|
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;
|
|
274
272
|
};
|
|
275
273
|
} | {
|
|
276
274
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -278,19 +276,26 @@ export declare const make: (options?: {
|
|
|
278
276
|
readonly metadata?: {
|
|
279
277
|
readonly [x: string]: unknown;
|
|
280
278
|
} | undefined;
|
|
281
|
-
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
|
+
};
|
|
282
285
|
readonly location?: {
|
|
283
286
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
284
287
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
285
288
|
} | undefined;
|
|
286
|
-
readonly data: {
|
|
289
|
+
readonly data: {
|
|
290
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
291
|
+
};
|
|
287
292
|
} | {
|
|
288
293
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
289
294
|
readonly created: number;
|
|
290
295
|
readonly metadata?: {
|
|
291
296
|
readonly [x: string]: unknown;
|
|
292
297
|
} | undefined;
|
|
293
|
-
readonly type: "session.
|
|
298
|
+
readonly type: "session.compaction.ended";
|
|
294
299
|
readonly durable: {
|
|
295
300
|
readonly aggregateID: string;
|
|
296
301
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -302,30 +307,26 @@ export declare const make: (options?: {
|
|
|
302
307
|
} | undefined;
|
|
303
308
|
readonly data: {
|
|
304
309
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
305
|
-
readonly
|
|
306
|
-
readonly location: {
|
|
307
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
308
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
309
|
-
};
|
|
310
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
311
|
-
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
312
|
-
readonly slug: string;
|
|
313
|
-
readonly title?: string | undefined;
|
|
314
|
-
readonly agent?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
310
|
+
readonly reason: "auto" | "manual";
|
|
315
311
|
readonly model?: {
|
|
316
312
|
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
317
313
|
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
318
314
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
319
315
|
} | undefined;
|
|
320
|
-
readonly
|
|
321
|
-
readonly [x: string]:
|
|
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
|
+
};
|
|
322
329
|
} | undefined;
|
|
323
|
-
readonly permissions?: readonly {
|
|
324
|
-
readonly action: string;
|
|
325
|
-
readonly resource: string;
|
|
326
|
-
readonly effect: "allow" | "ask" | "deny";
|
|
327
|
-
}[] | undefined;
|
|
328
|
-
readonly version: string;
|
|
329
330
|
};
|
|
330
331
|
} | {
|
|
331
332
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -333,7 +334,7 @@ export declare const make: (options?: {
|
|
|
333
334
|
readonly metadata?: {
|
|
334
335
|
readonly [x: string]: unknown;
|
|
335
336
|
} | undefined;
|
|
336
|
-
readonly type: "session.
|
|
337
|
+
readonly type: "session.compaction.failed";
|
|
337
338
|
readonly durable: {
|
|
338
339
|
readonly aggregateID: string;
|
|
339
340
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -345,8 +346,27 @@ export declare const make: (options?: {
|
|
|
345
346
|
} | undefined;
|
|
346
347
|
readonly data: {
|
|
347
348
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
348
|
-
readonly
|
|
349
|
-
readonly
|
|
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;
|
|
350
370
|
};
|
|
351
371
|
} | {
|
|
352
372
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -354,7 +374,7 @@ export declare const make: (options?: {
|
|
|
354
374
|
readonly metadata?: {
|
|
355
375
|
readonly [x: string]: unknown;
|
|
356
376
|
} | undefined;
|
|
357
|
-
readonly type: "session.
|
|
377
|
+
readonly type: "session.compaction.started";
|
|
358
378
|
readonly durable: {
|
|
359
379
|
readonly aggregateID: string;
|
|
360
380
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -366,16 +386,8 @@ export declare const make: (options?: {
|
|
|
366
386
|
} | undefined;
|
|
367
387
|
readonly data: {
|
|
368
388
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
369
|
-
readonly
|
|
370
|
-
|
|
371
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
372
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
373
|
-
};
|
|
374
|
-
readonly previous?: {
|
|
375
|
-
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
376
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
377
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
378
|
-
} | undefined;
|
|
389
|
+
readonly reason: "auto" | "manual";
|
|
390
|
+
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
379
391
|
};
|
|
380
392
|
} | {
|
|
381
393
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -383,7 +395,7 @@ export declare const make: (options?: {
|
|
|
383
395
|
readonly metadata?: {
|
|
384
396
|
readonly [x: string]: unknown;
|
|
385
397
|
} | undefined;
|
|
386
|
-
readonly type: "session.
|
|
398
|
+
readonly type: "session.created";
|
|
387
399
|
readonly durable: {
|
|
388
400
|
readonly aggregateID: string;
|
|
389
401
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -394,13 +406,31 @@ export declare const make: (options?: {
|
|
|
394
406
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
395
407
|
} | undefined;
|
|
396
408
|
readonly data: {
|
|
409
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
410
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
397
411
|
readonly location: {
|
|
398
412
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
399
413
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
400
414
|
};
|
|
401
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
402
415
|
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
403
|
-
readonly
|
|
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;
|
|
404
434
|
};
|
|
405
435
|
} | {
|
|
406
436
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -408,7 +438,7 @@ export declare const make: (options?: {
|
|
|
408
438
|
readonly metadata?: {
|
|
409
439
|
readonly [x: string]: unknown;
|
|
410
440
|
} | undefined;
|
|
411
|
-
readonly type: "session.
|
|
441
|
+
readonly type: "session.deleted";
|
|
412
442
|
readonly durable: {
|
|
413
443
|
readonly aggregateID: string;
|
|
414
444
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -420,7 +450,6 @@ export declare const make: (options?: {
|
|
|
420
450
|
} | undefined;
|
|
421
451
|
readonly data: {
|
|
422
452
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
423
|
-
readonly title: string;
|
|
424
453
|
};
|
|
425
454
|
} | {
|
|
426
455
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -428,7 +457,7 @@ export declare const make: (options?: {
|
|
|
428
457
|
readonly metadata?: {
|
|
429
458
|
readonly [x: string]: unknown;
|
|
430
459
|
} | undefined;
|
|
431
|
-
readonly type: "session.
|
|
460
|
+
readonly type: "session.execution.failed";
|
|
432
461
|
readonly durable: {
|
|
433
462
|
readonly aggregateID: string;
|
|
434
463
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -440,8 +469,14 @@ export declare const make: (options?: {
|
|
|
440
469
|
} | undefined;
|
|
441
470
|
readonly data: {
|
|
442
471
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
443
|
-
readonly
|
|
444
|
-
readonly
|
|
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;
|
|
445
480
|
};
|
|
446
481
|
};
|
|
447
482
|
} | {
|
|
@@ -450,7 +485,7 @@ export declare const make: (options?: {
|
|
|
450
485
|
readonly metadata?: {
|
|
451
486
|
readonly [x: string]: unknown;
|
|
452
487
|
} | undefined;
|
|
453
|
-
readonly type: "session.
|
|
488
|
+
readonly type: "session.execution.interrupted";
|
|
454
489
|
readonly durable: {
|
|
455
490
|
readonly aggregateID: string;
|
|
456
491
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -462,11 +497,7 @@ export declare const make: (options?: {
|
|
|
462
497
|
} | undefined;
|
|
463
498
|
readonly data: {
|
|
464
499
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
465
|
-
readonly
|
|
466
|
-
readonly action: string;
|
|
467
|
-
readonly resource: string;
|
|
468
|
-
readonly effect: "allow" | "ask" | "deny";
|
|
469
|
-
}[];
|
|
500
|
+
readonly reason: "inactivity" | "shutdown" | "superseded" | "user";
|
|
470
501
|
};
|
|
471
502
|
} | {
|
|
472
503
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -474,7 +505,7 @@ export declare const make: (options?: {
|
|
|
474
505
|
readonly metadata?: {
|
|
475
506
|
readonly [x: string]: unknown;
|
|
476
507
|
} | undefined;
|
|
477
|
-
readonly type: "session.
|
|
508
|
+
readonly type: "session.execution.started";
|
|
478
509
|
readonly durable: {
|
|
479
510
|
readonly aggregateID: string;
|
|
480
511
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -486,7 +517,6 @@ export declare const make: (options?: {
|
|
|
486
517
|
} | undefined;
|
|
487
518
|
readonly data: {
|
|
488
519
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
489
|
-
readonly idle: number;
|
|
490
520
|
};
|
|
491
521
|
} | {
|
|
492
522
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -494,7 +524,7 @@ export declare const make: (options?: {
|
|
|
494
524
|
readonly metadata?: {
|
|
495
525
|
readonly [x: string]: unknown;
|
|
496
526
|
} | undefined;
|
|
497
|
-
readonly type: "session.
|
|
527
|
+
readonly type: "session.execution.succeeded";
|
|
498
528
|
readonly durable: {
|
|
499
529
|
readonly aggregateID: string;
|
|
500
530
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -513,7 +543,7 @@ export declare const make: (options?: {
|
|
|
513
543
|
readonly metadata?: {
|
|
514
544
|
readonly [x: string]: unknown;
|
|
515
545
|
} | undefined;
|
|
516
|
-
readonly type: "session.
|
|
546
|
+
readonly type: "session.forked";
|
|
517
547
|
readonly durable: {
|
|
518
548
|
readonly aggregateID: string;
|
|
519
549
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -525,30 +555,22 @@ export declare const make: (options?: {
|
|
|
525
555
|
} | undefined;
|
|
526
556
|
readonly data: {
|
|
527
557
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
readonly type: "session.usage.updated";
|
|
536
|
-
readonly location?: {
|
|
537
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
538
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
539
|
-
} | undefined;
|
|
540
|
-
readonly data: {
|
|
541
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
542
|
-
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
543
|
-
readonly tokens: {
|
|
544
|
-
readonly input: number;
|
|
545
|
-
readonly output: number;
|
|
546
|
-
readonly reasoning: number;
|
|
547
|
-
readonly cache: {
|
|
548
|
-
readonly read: number;
|
|
549
|
-
readonly write: number;
|
|
550
|
-
};
|
|
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">;
|
|
551
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;
|
|
552
574
|
};
|
|
553
575
|
} | {
|
|
554
576
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -556,7 +578,7 @@ export declare const make: (options?: {
|
|
|
556
578
|
readonly metadata?: {
|
|
557
579
|
readonly [x: string]: unknown;
|
|
558
580
|
} | undefined;
|
|
559
|
-
readonly type: "session.
|
|
581
|
+
readonly type: "session.inbox.cancelled";
|
|
560
582
|
readonly durable: {
|
|
561
583
|
readonly aggregateID: string;
|
|
562
584
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -568,6 +590,7 @@ export declare const make: (options?: {
|
|
|
568
590
|
} | undefined;
|
|
569
591
|
readonly data: {
|
|
570
592
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
593
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
571
594
|
};
|
|
572
595
|
} | {
|
|
573
596
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -575,7 +598,7 @@ export declare const make: (options?: {
|
|
|
575
598
|
readonly metadata?: {
|
|
576
599
|
readonly [x: string]: unknown;
|
|
577
600
|
} | undefined;
|
|
578
|
-
readonly type: "session.
|
|
601
|
+
readonly type: "session.inbox.delivered";
|
|
579
602
|
readonly durable: {
|
|
580
603
|
readonly aggregateID: string;
|
|
581
604
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -587,22 +610,7 @@ export declare const make: (options?: {
|
|
|
587
610
|
} | undefined;
|
|
588
611
|
readonly data: {
|
|
589
612
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
590
|
-
readonly
|
|
591
|
-
readonly boundary: {
|
|
592
|
-
readonly type: "before";
|
|
593
|
-
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
594
|
-
} | {
|
|
595
|
-
readonly type: "through";
|
|
596
|
-
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
597
|
-
};
|
|
598
|
-
readonly instructions?: {
|
|
599
|
-
readonly [x: string & import("effect/Brand").Brand<"Instruction.Key">]: string & import("effect/Brand").Brand<"Instruction.Hash">;
|
|
600
|
-
} | undefined;
|
|
601
|
-
readonly instructionEntries?: readonly {
|
|
602
|
-
readonly key: string;
|
|
603
|
-
readonly value: import("effect/Schema").Json;
|
|
604
|
-
readonly removed: boolean;
|
|
605
|
-
}[] | undefined;
|
|
613
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
606
614
|
};
|
|
607
615
|
} | {
|
|
608
616
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -610,7 +618,7 @@ export declare const make: (options?: {
|
|
|
610
618
|
readonly metadata?: {
|
|
611
619
|
readonly [x: string]: unknown;
|
|
612
620
|
} | undefined;
|
|
613
|
-
readonly type: "session.inbox.
|
|
621
|
+
readonly type: "session.inbox.delivery.changed";
|
|
614
622
|
readonly durable: {
|
|
615
623
|
readonly aggregateID: string;
|
|
616
624
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -623,6 +631,7 @@ export declare const make: (options?: {
|
|
|
623
631
|
readonly data: {
|
|
624
632
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
625
633
|
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
634
|
+
readonly delivery: "queue" | "steer";
|
|
626
635
|
};
|
|
627
636
|
} | {
|
|
628
637
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -720,7 +729,7 @@ export declare const make: (options?: {
|
|
|
720
729
|
readonly metadata?: {
|
|
721
730
|
readonly [x: string]: unknown;
|
|
722
731
|
} | undefined;
|
|
723
|
-
readonly type: "session.
|
|
732
|
+
readonly type: "session.instructions.updated";
|
|
724
733
|
readonly durable: {
|
|
725
734
|
readonly aggregateID: string;
|
|
726
735
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -732,7 +741,10 @@ export declare const make: (options?: {
|
|
|
732
741
|
} | undefined;
|
|
733
742
|
readonly data: {
|
|
734
743
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
735
|
-
readonly
|
|
744
|
+
readonly delta: {
|
|
745
|
+
readonly [x: string]: "removed" | (string & import("effect/Brand").Brand<"Instruction.Hash">);
|
|
746
|
+
};
|
|
747
|
+
readonly text?: string | undefined;
|
|
736
748
|
};
|
|
737
749
|
} | {
|
|
738
750
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -740,7 +752,7 @@ export declare const make: (options?: {
|
|
|
740
752
|
readonly metadata?: {
|
|
741
753
|
readonly [x: string]: unknown;
|
|
742
754
|
} | undefined;
|
|
743
|
-
readonly type: "session.
|
|
755
|
+
readonly type: "session.metadata.updated";
|
|
744
756
|
readonly durable: {
|
|
745
757
|
readonly aggregateID: string;
|
|
746
758
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -752,8 +764,9 @@ export declare const make: (options?: {
|
|
|
752
764
|
} | undefined;
|
|
753
765
|
readonly data: {
|
|
754
766
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
755
|
-
readonly
|
|
756
|
-
|
|
767
|
+
readonly metadata: {
|
|
768
|
+
readonly [x: string]: import("effect/Schema").Json;
|
|
769
|
+
};
|
|
757
770
|
};
|
|
758
771
|
} | {
|
|
759
772
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -761,7 +774,7 @@ export declare const make: (options?: {
|
|
|
761
774
|
readonly metadata?: {
|
|
762
775
|
readonly [x: string]: unknown;
|
|
763
776
|
} | undefined;
|
|
764
|
-
readonly type: "session.
|
|
777
|
+
readonly type: "session.model.selected";
|
|
765
778
|
readonly durable: {
|
|
766
779
|
readonly aggregateID: string;
|
|
767
780
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -773,6 +786,16 @@ export declare const make: (options?: {
|
|
|
773
786
|
} | undefined;
|
|
774
787
|
readonly data: {
|
|
775
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;
|
|
776
799
|
};
|
|
777
800
|
} | {
|
|
778
801
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -780,7 +803,7 @@ export declare const make: (options?: {
|
|
|
780
803
|
readonly metadata?: {
|
|
781
804
|
readonly [x: string]: unknown;
|
|
782
805
|
} | undefined;
|
|
783
|
-
readonly type: "session.
|
|
806
|
+
readonly type: "session.moved";
|
|
784
807
|
readonly durable: {
|
|
785
808
|
readonly aggregateID: string;
|
|
786
809
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -791,15 +814,21 @@ export declare const make: (options?: {
|
|
|
791
814
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
792
815
|
} | undefined;
|
|
793
816
|
readonly data: {
|
|
794
|
-
readonly
|
|
795
|
-
|
|
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;
|
|
823
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
824
|
+
};
|
|
796
825
|
} | {
|
|
797
826
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
798
827
|
readonly created: number;
|
|
799
828
|
readonly metadata?: {
|
|
800
829
|
readonly [x: string]: unknown;
|
|
801
830
|
} | undefined;
|
|
802
|
-
readonly type: "session.
|
|
831
|
+
readonly type: "session.permissions";
|
|
803
832
|
readonly durable: {
|
|
804
833
|
readonly aggregateID: string;
|
|
805
834
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -811,15 +840,11 @@ export declare const make: (options?: {
|
|
|
811
840
|
} | undefined;
|
|
812
841
|
readonly data: {
|
|
813
842
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
814
|
-
readonly
|
|
815
|
-
readonly
|
|
816
|
-
readonly
|
|
817
|
-
readonly
|
|
818
|
-
|
|
819
|
-
readonly body: string;
|
|
820
|
-
} | undefined;
|
|
821
|
-
readonly retryAfterMs?: number | undefined;
|
|
822
|
-
};
|
|
843
|
+
readonly permissions: readonly {
|
|
844
|
+
readonly action: string;
|
|
845
|
+
readonly resource: string;
|
|
846
|
+
readonly effect: "allow" | "ask" | "deny";
|
|
847
|
+
}[];
|
|
823
848
|
};
|
|
824
849
|
} | {
|
|
825
850
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -827,7 +852,7 @@ export declare const make: (options?: {
|
|
|
827
852
|
readonly metadata?: {
|
|
828
853
|
readonly [x: string]: unknown;
|
|
829
854
|
} | undefined;
|
|
830
|
-
readonly type: "session.
|
|
855
|
+
readonly type: "session.reasoning.ended";
|
|
831
856
|
readonly durable: {
|
|
832
857
|
readonly aggregateID: string;
|
|
833
858
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -839,7 +864,12 @@ export declare const make: (options?: {
|
|
|
839
864
|
} | undefined;
|
|
840
865
|
readonly data: {
|
|
841
866
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
842
|
-
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;
|
|
843
873
|
};
|
|
844
874
|
} | {
|
|
845
875
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -847,7 +877,7 @@ export declare const make: (options?: {
|
|
|
847
877
|
readonly metadata?: {
|
|
848
878
|
readonly [x: string]: unknown;
|
|
849
879
|
} | undefined;
|
|
850
|
-
readonly type: "session.
|
|
880
|
+
readonly type: "session.reasoning.started";
|
|
851
881
|
readonly durable: {
|
|
852
882
|
readonly aggregateID: string;
|
|
853
883
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -859,10 +889,62 @@ export declare const make: (options?: {
|
|
|
859
889
|
} | undefined;
|
|
860
890
|
readonly data: {
|
|
861
891
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
862
|
-
readonly
|
|
863
|
-
|
|
892
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
893
|
+
readonly ordinal: number;
|
|
894
|
+
readonly native?: {
|
|
895
|
+
readonly [x: string]: unknown;
|
|
896
|
+
} | undefined;
|
|
897
|
+
};
|
|
898
|
+
} | {
|
|
899
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
900
|
+
readonly created: number;
|
|
901
|
+
readonly metadata?: {
|
|
902
|
+
readonly [x: string]: unknown;
|
|
903
|
+
} | undefined;
|
|
904
|
+
readonly type: "session.renamed";
|
|
905
|
+
readonly durable: {
|
|
906
|
+
readonly aggregateID: string;
|
|
907
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
908
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
909
|
+
};
|
|
910
|
+
readonly location?: {
|
|
911
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
912
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
913
|
+
} | undefined;
|
|
914
|
+
readonly data: {
|
|
915
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
916
|
+
readonly title: string;
|
|
917
|
+
};
|
|
918
|
+
} | {
|
|
919
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
920
|
+
readonly created: number;
|
|
921
|
+
readonly metadata?: {
|
|
922
|
+
readonly [x: string]: unknown;
|
|
923
|
+
} | undefined;
|
|
924
|
+
readonly type: "session.retry.scheduled";
|
|
925
|
+
readonly durable: {
|
|
926
|
+
readonly aggregateID: string;
|
|
927
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
928
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
929
|
+
};
|
|
930
|
+
readonly location?: {
|
|
931
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
932
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
933
|
+
} | undefined;
|
|
934
|
+
readonly data: {
|
|
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;
|
|
939
|
+
readonly error: {
|
|
940
|
+
readonly type: string;
|
|
941
|
+
readonly message: string;
|
|
942
|
+
readonly status?: number | undefined;
|
|
943
|
+
readonly response?: {
|
|
944
|
+
readonly body: string;
|
|
945
|
+
} | undefined;
|
|
946
|
+
readonly retryAfterMs?: number | undefined;
|
|
864
947
|
};
|
|
865
|
-
readonly text?: string | undefined;
|
|
866
948
|
};
|
|
867
949
|
} | {
|
|
868
950
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -870,7 +952,7 @@ export declare const make: (options?: {
|
|
|
870
952
|
readonly metadata?: {
|
|
871
953
|
readonly [x: string]: unknown;
|
|
872
954
|
} | undefined;
|
|
873
|
-
readonly type: "session.
|
|
955
|
+
readonly type: "session.revert.cleared";
|
|
874
956
|
readonly durable: {
|
|
875
957
|
readonly aggregateID: string;
|
|
876
958
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -882,11 +964,6 @@ export declare const make: (options?: {
|
|
|
882
964
|
} | undefined;
|
|
883
965
|
readonly data: {
|
|
884
966
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
885
|
-
readonly text: string;
|
|
886
|
-
readonly description?: string | undefined;
|
|
887
|
-
readonly metadata?: {
|
|
888
|
-
readonly [x: string]: unknown;
|
|
889
|
-
} | undefined;
|
|
890
967
|
};
|
|
891
968
|
} | {
|
|
892
969
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -894,7 +971,7 @@ export declare const make: (options?: {
|
|
|
894
971
|
readonly metadata?: {
|
|
895
972
|
readonly [x: string]: unknown;
|
|
896
973
|
} | undefined;
|
|
897
|
-
readonly type: "session.
|
|
974
|
+
readonly type: "session.revert.committed";
|
|
898
975
|
readonly durable: {
|
|
899
976
|
readonly aggregateID: string;
|
|
900
977
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -906,9 +983,7 @@ export declare const make: (options?: {
|
|
|
906
983
|
} | undefined;
|
|
907
984
|
readonly data: {
|
|
908
985
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
909
|
-
readonly
|
|
910
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
911
|
-
readonly text: string;
|
|
986
|
+
readonly to: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
912
987
|
};
|
|
913
988
|
} | {
|
|
914
989
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -916,7 +991,7 @@ export declare const make: (options?: {
|
|
|
916
991
|
readonly metadata?: {
|
|
917
992
|
readonly [x: string]: unknown;
|
|
918
993
|
} | undefined;
|
|
919
|
-
readonly type: "session.
|
|
994
|
+
readonly type: "session.revert.staged";
|
|
920
995
|
readonly durable: {
|
|
921
996
|
readonly aggregateID: string;
|
|
922
997
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -928,23 +1003,17 @@ export declare const make: (options?: {
|
|
|
928
1003
|
} | undefined;
|
|
929
1004
|
readonly data: {
|
|
930
1005
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
931
|
-
readonly
|
|
932
|
-
readonly
|
|
933
|
-
readonly
|
|
934
|
-
readonly
|
|
935
|
-
readonly
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
readonly [x: string]: unknown;
|
|
943
|
-
};
|
|
944
|
-
readonly time: {
|
|
945
|
-
readonly started: number;
|
|
946
|
-
readonly completed?: number | undefined;
|
|
947
|
-
};
|
|
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;
|
|
948
1017
|
};
|
|
949
1018
|
};
|
|
950
1019
|
} | {
|
|
@@ -996,7 +1065,7 @@ export declare const make: (options?: {
|
|
|
996
1065
|
readonly metadata?: {
|
|
997
1066
|
readonly [x: string]: unknown;
|
|
998
1067
|
} | undefined;
|
|
999
|
-
readonly type: "session.
|
|
1068
|
+
readonly type: "session.shell.started";
|
|
1000
1069
|
readonly durable: {
|
|
1001
1070
|
readonly aggregateID: string;
|
|
1002
1071
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1008,15 +1077,24 @@ export declare const make: (options?: {
|
|
|
1008
1077
|
} | undefined;
|
|
1009
1078
|
readonly data: {
|
|
1010
1079
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1011
|
-
readonly
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
readonly
|
|
1015
|
-
readonly
|
|
1016
|
-
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
|
+
};
|
|
1017
1097
|
};
|
|
1018
|
-
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1019
|
-
readonly started: number;
|
|
1020
1098
|
};
|
|
1021
1099
|
} | {
|
|
1022
1100
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1024,7 +1102,7 @@ export declare const make: (options?: {
|
|
|
1024
1102
|
readonly metadata?: {
|
|
1025
1103
|
readonly [x: string]: unknown;
|
|
1026
1104
|
} | undefined;
|
|
1027
|
-
readonly type: "session.
|
|
1105
|
+
readonly type: "session.skill.activated";
|
|
1028
1106
|
readonly durable: {
|
|
1029
1107
|
readonly aggregateID: string;
|
|
1030
1108
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1036,7 +1114,9 @@ export declare const make: (options?: {
|
|
|
1036
1114
|
} | undefined;
|
|
1037
1115
|
readonly data: {
|
|
1038
1116
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1039
|
-
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;
|
|
1040
1120
|
};
|
|
1041
1121
|
} | {
|
|
1042
1122
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1127,7 +1207,7 @@ export declare const make: (options?: {
|
|
|
1127
1207
|
readonly metadata?: {
|
|
1128
1208
|
readonly [x: string]: unknown;
|
|
1129
1209
|
} | undefined;
|
|
1130
|
-
readonly type: "session.
|
|
1210
|
+
readonly type: "session.step.started";
|
|
1131
1211
|
readonly durable: {
|
|
1132
1212
|
readonly aggregateID: string;
|
|
1133
1213
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1140,7 +1220,14 @@ export declare const make: (options?: {
|
|
|
1140
1220
|
readonly data: {
|
|
1141
1221
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1142
1222
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1143
|
-
readonly
|
|
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;
|
|
1228
|
+
};
|
|
1229
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1230
|
+
readonly started: number;
|
|
1144
1231
|
};
|
|
1145
1232
|
} | {
|
|
1146
1233
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1148,7 +1235,12 @@ export declare const make: (options?: {
|
|
|
1148
1235
|
readonly metadata?: {
|
|
1149
1236
|
readonly [x: string]: unknown;
|
|
1150
1237
|
} | undefined;
|
|
1151
|
-
readonly type: "session.
|
|
1238
|
+
readonly type: "session.step.streamed";
|
|
1239
|
+
readonly durable: {
|
|
1240
|
+
readonly aggregateID: string;
|
|
1241
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1242
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1243
|
+
};
|
|
1152
1244
|
readonly location?: {
|
|
1153
1245
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1154
1246
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -1156,8 +1248,6 @@ export declare const make: (options?: {
|
|
|
1156
1248
|
readonly data: {
|
|
1157
1249
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1158
1250
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1159
|
-
readonly ordinal: number;
|
|
1160
|
-
readonly delta: string;
|
|
1161
1251
|
};
|
|
1162
1252
|
} | {
|
|
1163
1253
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1165,7 +1255,7 @@ export declare const make: (options?: {
|
|
|
1165
1255
|
readonly metadata?: {
|
|
1166
1256
|
readonly [x: string]: unknown;
|
|
1167
1257
|
} | undefined;
|
|
1168
|
-
readonly type: "session.
|
|
1258
|
+
readonly type: "session.synthetic";
|
|
1169
1259
|
readonly durable: {
|
|
1170
1260
|
readonly aggregateID: string;
|
|
1171
1261
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1177,10 +1267,9 @@ export declare const make: (options?: {
|
|
|
1177
1267
|
} | undefined;
|
|
1178
1268
|
readonly data: {
|
|
1179
1269
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1180
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1181
|
-
readonly ordinal: number;
|
|
1182
1270
|
readonly text: string;
|
|
1183
|
-
readonly
|
|
1271
|
+
readonly description?: string | undefined;
|
|
1272
|
+
readonly metadata?: {
|
|
1184
1273
|
readonly [x: string]: unknown;
|
|
1185
1274
|
} | undefined;
|
|
1186
1275
|
};
|
|
@@ -1190,7 +1279,7 @@ export declare const make: (options?: {
|
|
|
1190
1279
|
readonly metadata?: {
|
|
1191
1280
|
readonly [x: string]: unknown;
|
|
1192
1281
|
} | undefined;
|
|
1193
|
-
readonly type: "session.
|
|
1282
|
+
readonly type: "session.text.ended";
|
|
1194
1283
|
readonly durable: {
|
|
1195
1284
|
readonly aggregateID: string;
|
|
1196
1285
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1204,6 +1293,7 @@ export declare const make: (options?: {
|
|
|
1204
1293
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1205
1294
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1206
1295
|
readonly ordinal: number;
|
|
1296
|
+
readonly text: string;
|
|
1207
1297
|
readonly native?: {
|
|
1208
1298
|
readonly [x: string]: unknown;
|
|
1209
1299
|
} | undefined;
|
|
@@ -1214,7 +1304,12 @@ export declare const make: (options?: {
|
|
|
1214
1304
|
readonly metadata?: {
|
|
1215
1305
|
readonly [x: string]: unknown;
|
|
1216
1306
|
} | undefined;
|
|
1217
|
-
readonly type: "session.
|
|
1307
|
+
readonly type: "session.text.started";
|
|
1308
|
+
readonly durable: {
|
|
1309
|
+
readonly aggregateID: string;
|
|
1310
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1311
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1312
|
+
};
|
|
1218
1313
|
readonly location?: {
|
|
1219
1314
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1220
1315
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -1223,7 +1318,6 @@ export declare const make: (options?: {
|
|
|
1223
1318
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1224
1319
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1225
1320
|
readonly ordinal: number;
|
|
1226
|
-
readonly delta: string;
|
|
1227
1321
|
};
|
|
1228
1322
|
} | {
|
|
1229
1323
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1231,7 +1325,7 @@ export declare const make: (options?: {
|
|
|
1231
1325
|
readonly metadata?: {
|
|
1232
1326
|
readonly [x: string]: unknown;
|
|
1233
1327
|
} | undefined;
|
|
1234
|
-
readonly type: "session.
|
|
1328
|
+
readonly type: "session.tool.called";
|
|
1235
1329
|
readonly durable: {
|
|
1236
1330
|
readonly aggregateID: string;
|
|
1237
1331
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1244,8 +1338,11 @@ export declare const make: (options?: {
|
|
|
1244
1338
|
readonly data: {
|
|
1245
1339
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1246
1340
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1247
|
-
readonly
|
|
1248
|
-
readonly
|
|
1341
|
+
readonly id: string;
|
|
1342
|
+
readonly input: {
|
|
1343
|
+
readonly [x: string]: unknown;
|
|
1344
|
+
};
|
|
1345
|
+
readonly executed: boolean;
|
|
1249
1346
|
readonly native?: {
|
|
1250
1347
|
readonly [x: string]: unknown;
|
|
1251
1348
|
} | undefined;
|
|
@@ -1256,7 +1353,7 @@ export declare const make: (options?: {
|
|
|
1256
1353
|
readonly metadata?: {
|
|
1257
1354
|
readonly [x: string]: unknown;
|
|
1258
1355
|
} | undefined;
|
|
1259
|
-
readonly type: "session.tool.
|
|
1356
|
+
readonly type: "session.tool.failed";
|
|
1260
1357
|
readonly durable: {
|
|
1261
1358
|
readonly aggregateID: string;
|
|
1262
1359
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1270,24 +1367,39 @@ export declare const make: (options?: {
|
|
|
1270
1367
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1271
1368
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1272
1369
|
readonly id: string;
|
|
1273
|
-
readonly
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
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;
|
|
1291
1403
|
};
|
|
1292
1404
|
} | {
|
|
1293
1405
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1317,7 +1429,7 @@ export declare const make: (options?: {
|
|
|
1317
1429
|
readonly metadata?: {
|
|
1318
1430
|
readonly [x: string]: unknown;
|
|
1319
1431
|
} | undefined;
|
|
1320
|
-
readonly type: "session.tool.
|
|
1432
|
+
readonly type: "session.tool.input.started";
|
|
1321
1433
|
readonly durable: {
|
|
1322
1434
|
readonly aggregateID: string;
|
|
1323
1435
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1331,32 +1443,7 @@ export declare const make: (options?: {
|
|
|
1331
1443
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1332
1444
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1333
1445
|
readonly id: string;
|
|
1334
|
-
readonly
|
|
1335
|
-
readonly [x: string]: unknown;
|
|
1336
|
-
};
|
|
1337
|
-
readonly executed: boolean;
|
|
1338
|
-
readonly native?: {
|
|
1339
|
-
readonly [x: string]: unknown;
|
|
1340
|
-
} | undefined;
|
|
1341
|
-
};
|
|
1342
|
-
} | {
|
|
1343
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1344
|
-
readonly created: number;
|
|
1345
|
-
readonly metadata?: {
|
|
1346
|
-
readonly [x: string]: unknown;
|
|
1347
|
-
} | undefined;
|
|
1348
|
-
readonly type: "session.tool.progress";
|
|
1349
|
-
readonly location?: {
|
|
1350
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1351
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1352
|
-
} | undefined;
|
|
1353
|
-
readonly data: {
|
|
1354
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1355
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1356
|
-
readonly id: string;
|
|
1357
|
-
readonly metadata: {
|
|
1358
|
-
readonly [x: string]: import("effect/Schema").Json;
|
|
1359
|
-
};
|
|
1446
|
+
readonly name: string;
|
|
1360
1447
|
};
|
|
1361
1448
|
} | {
|
|
1362
1449
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1409,7 +1496,7 @@ export declare const make: (options?: {
|
|
|
1409
1496
|
readonly metadata?: {
|
|
1410
1497
|
readonly [x: string]: unknown;
|
|
1411
1498
|
} | undefined;
|
|
1412
|
-
readonly type: "session.
|
|
1499
|
+
readonly type: "session.unarchived";
|
|
1413
1500
|
readonly durable: {
|
|
1414
1501
|
readonly aggregateID: string;
|
|
1415
1502
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1421,41 +1508,6 @@ export declare const make: (options?: {
|
|
|
1421
1508
|
} | undefined;
|
|
1422
1509
|
readonly data: {
|
|
1423
1510
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1424
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1425
|
-
readonly id: string;
|
|
1426
|
-
readonly error: {
|
|
1427
|
-
readonly type: string;
|
|
1428
|
-
readonly message: string;
|
|
1429
|
-
readonly status?: number | undefined;
|
|
1430
|
-
readonly response?: {
|
|
1431
|
-
readonly body: string;
|
|
1432
|
-
} | undefined;
|
|
1433
|
-
readonly retryAfterMs?: number | undefined;
|
|
1434
|
-
};
|
|
1435
|
-
readonly content?: readonly [{
|
|
1436
|
-
readonly type: "text";
|
|
1437
|
-
readonly text: string;
|
|
1438
|
-
} | {
|
|
1439
|
-
readonly type: "file";
|
|
1440
|
-
readonly uri: string;
|
|
1441
|
-
readonly mime: string;
|
|
1442
|
-
readonly name?: string | undefined;
|
|
1443
|
-
}, ...({
|
|
1444
|
-
readonly type: "text";
|
|
1445
|
-
readonly text: string;
|
|
1446
|
-
} | {
|
|
1447
|
-
readonly type: "file";
|
|
1448
|
-
readonly uri: string;
|
|
1449
|
-
readonly mime: string;
|
|
1450
|
-
readonly name?: string | undefined;
|
|
1451
|
-
})[]] | undefined;
|
|
1452
|
-
readonly metadata?: {
|
|
1453
|
-
readonly [x: string]: import("effect/Schema").Json;
|
|
1454
|
-
} | undefined;
|
|
1455
|
-
readonly executed: boolean;
|
|
1456
|
-
readonly native?: {
|
|
1457
|
-
readonly [x: string]: unknown;
|
|
1458
|
-
} | undefined;
|
|
1459
1511
|
};
|
|
1460
1512
|
} | {
|
|
1461
1513
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1463,7 +1515,7 @@ export declare const make: (options?: {
|
|
|
1463
1515
|
readonly metadata?: {
|
|
1464
1516
|
readonly [x: string]: unknown;
|
|
1465
1517
|
} | undefined;
|
|
1466
|
-
readonly type: "session.
|
|
1518
|
+
readonly type: "session.viewed";
|
|
1467
1519
|
readonly durable: {
|
|
1468
1520
|
readonly aggregateID: string;
|
|
1469
1521
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1475,18 +1527,7 @@ export declare const make: (options?: {
|
|
|
1475
1527
|
} | undefined;
|
|
1476
1528
|
readonly data: {
|
|
1477
1529
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1478
|
-
readonly
|
|
1479
|
-
readonly attempt: number;
|
|
1480
|
-
readonly at: number;
|
|
1481
|
-
readonly error: {
|
|
1482
|
-
readonly type: string;
|
|
1483
|
-
readonly message: string;
|
|
1484
|
-
readonly status?: number | undefined;
|
|
1485
|
-
readonly response?: {
|
|
1486
|
-
readonly body: string;
|
|
1487
|
-
} | undefined;
|
|
1488
|
-
readonly retryAfterMs?: number | undefined;
|
|
1489
|
-
};
|
|
1530
|
+
readonly idle: number;
|
|
1490
1531
|
};
|
|
1491
1532
|
} | {
|
|
1492
1533
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1494,7 +1535,7 @@ export declare const make: (options?: {
|
|
|
1494
1535
|
readonly metadata?: {
|
|
1495
1536
|
readonly [x: string]: unknown;
|
|
1496
1537
|
} | undefined;
|
|
1497
|
-
readonly type: "
|
|
1538
|
+
readonly type: "worktree.resolved";
|
|
1498
1539
|
readonly durable: {
|
|
1499
1540
|
readonly aggregateID: string;
|
|
1500
1541
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
@@ -1505,63 +1546,10 @@ export declare const make: (options?: {
|
|
|
1505
1546
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1506
1547
|
} | undefined;
|
|
1507
1548
|
readonly data: {
|
|
1508
|
-
readonly
|
|
1509
|
-
readonly reason: "auto" | "manual";
|
|
1510
|
-
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
1511
|
-
};
|
|
1512
|
-
} | {
|
|
1513
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1514
|
-
readonly created: number;
|
|
1515
|
-
readonly metadata?: {
|
|
1516
|
-
readonly [x: string]: unknown;
|
|
1517
|
-
} | undefined;
|
|
1518
|
-
readonly type: "session.compaction.delta";
|
|
1519
|
-
readonly location?: {
|
|
1520
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1521
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1522
|
-
} | undefined;
|
|
1523
|
-
readonly data: {
|
|
1524
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1525
|
-
readonly text: string;
|
|
1526
|
-
};
|
|
1527
|
-
} | {
|
|
1528
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1529
|
-
readonly created: number;
|
|
1530
|
-
readonly metadata?: {
|
|
1531
|
-
readonly [x: string]: unknown;
|
|
1532
|
-
} | undefined;
|
|
1533
|
-
readonly type: "session.compaction.ended";
|
|
1534
|
-
readonly durable: {
|
|
1535
|
-
readonly aggregateID: string;
|
|
1536
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1537
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1538
|
-
};
|
|
1539
|
-
readonly location?: {
|
|
1549
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1540
1550
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1541
|
-
readonly
|
|
1542
|
-
|
|
1543
|
-
readonly data: {
|
|
1544
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1545
|
-
readonly reason: "auto" | "manual";
|
|
1546
|
-
readonly model?: {
|
|
1547
|
-
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1548
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1549
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1550
|
-
} | undefined;
|
|
1551
|
-
readonly native?: {
|
|
1552
|
-
readonly [x: string]: unknown;
|
|
1553
|
-
} | undefined;
|
|
1554
|
-
readonly text: string;
|
|
1555
|
-
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
1556
|
-
readonly tokens?: {
|
|
1557
|
-
readonly input: number;
|
|
1558
|
-
readonly output: number;
|
|
1559
|
-
readonly reasoning: number;
|
|
1560
|
-
readonly cache: {
|
|
1561
|
-
readonly read: number;
|
|
1562
|
-
readonly write: number;
|
|
1563
|
-
};
|
|
1564
|
-
} | undefined;
|
|
1551
|
+
readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1552
|
+
readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
|
|
1565
1553
|
};
|
|
1566
1554
|
} | {
|
|
1567
1555
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1569,109 +1557,50 @@ export declare const make: (options?: {
|
|
|
1569
1557
|
readonly metadata?: {
|
|
1570
1558
|
readonly [x: string]: unknown;
|
|
1571
1559
|
} | undefined;
|
|
1572
|
-
readonly type: "
|
|
1573
|
-
readonly durable: {
|
|
1574
|
-
readonly aggregateID: string;
|
|
1575
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1576
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1577
|
-
};
|
|
1560
|
+
readonly type: "agent.updated";
|
|
1578
1561
|
readonly location?: {
|
|
1579
1562
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1580
1563
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1581
1564
|
} | undefined;
|
|
1582
|
-
readonly data: {
|
|
1583
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1584
|
-
readonly reason: "auto" | "manual";
|
|
1585
|
-
readonly error: {
|
|
1586
|
-
readonly type: string;
|
|
1587
|
-
readonly message: string;
|
|
1588
|
-
readonly status?: number | undefined;
|
|
1589
|
-
readonly response?: {
|
|
1590
|
-
readonly body: string;
|
|
1591
|
-
} | undefined;
|
|
1592
|
-
readonly retryAfterMs?: number | undefined;
|
|
1593
|
-
};
|
|
1594
|
-
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
1595
|
-
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
1596
|
-
readonly tokens?: {
|
|
1597
|
-
readonly input: number;
|
|
1598
|
-
readonly output: number;
|
|
1599
|
-
readonly reasoning: number;
|
|
1600
|
-
readonly cache: {
|
|
1601
|
-
readonly read: number;
|
|
1602
|
-
readonly write: number;
|
|
1603
|
-
};
|
|
1604
|
-
} | undefined;
|
|
1605
|
-
};
|
|
1565
|
+
readonly data: {};
|
|
1606
1566
|
} | {
|
|
1607
1567
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1608
1568
|
readonly created: number;
|
|
1609
1569
|
readonly metadata?: {
|
|
1610
1570
|
readonly [x: string]: unknown;
|
|
1611
1571
|
} | undefined;
|
|
1612
|
-
readonly type: "
|
|
1613
|
-
readonly durable: {
|
|
1614
|
-
readonly aggregateID: string;
|
|
1615
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1616
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1617
|
-
};
|
|
1572
|
+
readonly type: "command.updated";
|
|
1618
1573
|
readonly location?: {
|
|
1619
1574
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1620
1575
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1621
1576
|
} | undefined;
|
|
1622
|
-
readonly data: {
|
|
1623
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1624
|
-
};
|
|
1577
|
+
readonly data: {};
|
|
1625
1578
|
} | {
|
|
1626
1579
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1627
1580
|
readonly created: number;
|
|
1628
1581
|
readonly metadata?: {
|
|
1629
1582
|
readonly [x: string]: unknown;
|
|
1630
1583
|
} | undefined;
|
|
1631
|
-
readonly type: "
|
|
1632
|
-
readonly durable: {
|
|
1633
|
-
readonly aggregateID: string;
|
|
1634
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1635
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1636
|
-
};
|
|
1584
|
+
readonly type: "config.updated";
|
|
1637
1585
|
readonly location?: {
|
|
1638
1586
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1639
1587
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1640
1588
|
} | undefined;
|
|
1641
|
-
readonly data: {
|
|
1642
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1643
|
-
readonly to: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1644
|
-
};
|
|
1589
|
+
readonly data: {};
|
|
1645
1590
|
} | {
|
|
1646
1591
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1647
1592
|
readonly created: number;
|
|
1648
1593
|
readonly metadata?: {
|
|
1649
1594
|
readonly [x: string]: unknown;
|
|
1650
1595
|
} | undefined;
|
|
1651
|
-
readonly type: "
|
|
1652
|
-
readonly durable: {
|
|
1653
|
-
readonly aggregateID: string;
|
|
1654
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1655
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1656
|
-
};
|
|
1596
|
+
readonly type: "credential.switched";
|
|
1657
1597
|
readonly location?: {
|
|
1658
1598
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1659
1599
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1660
1600
|
} | undefined;
|
|
1661
1601
|
readonly data: {
|
|
1662
|
-
readonly
|
|
1663
|
-
readonly
|
|
1664
|
-
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1665
|
-
readonly partID?: string | undefined;
|
|
1666
|
-
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1667
|
-
readonly files?: readonly {
|
|
1668
|
-
readonly file: string;
|
|
1669
|
-
readonly patch: string;
|
|
1670
|
-
readonly additions: number;
|
|
1671
|
-
readonly deletions: number;
|
|
1672
|
-
readonly status: "added" | "deleted" | "modified";
|
|
1673
|
-
}[] | undefined;
|
|
1674
|
-
};
|
|
1602
|
+
readonly integrationID: string & import("effect/Brand").Brand<"Integration.ID">;
|
|
1603
|
+
readonly credentialID: (string & import("effect/Brand").Brand<"Credential.ID">) | null;
|
|
1675
1604
|
};
|
|
1676
1605
|
} | {
|
|
1677
1606
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1679,7 +1608,7 @@ export declare const make: (options?: {
|
|
|
1679
1608
|
readonly metadata?: {
|
|
1680
1609
|
readonly [x: string]: unknown;
|
|
1681
1610
|
} | undefined;
|
|
1682
|
-
readonly type: "
|
|
1611
|
+
readonly type: "credential.updated";
|
|
1683
1612
|
readonly location?: {
|
|
1684
1613
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1685
1614
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -1691,25 +1620,29 @@ export declare const make: (options?: {
|
|
|
1691
1620
|
readonly metadata?: {
|
|
1692
1621
|
readonly [x: string]: unknown;
|
|
1693
1622
|
} | undefined;
|
|
1694
|
-
readonly type: "
|
|
1623
|
+
readonly type: "filesystem.changed";
|
|
1695
1624
|
readonly location?: {
|
|
1696
1625
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1697
1626
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1698
1627
|
} | undefined;
|
|
1699
|
-
readonly data: {
|
|
1628
|
+
readonly data: {
|
|
1629
|
+
readonly file: string;
|
|
1630
|
+
readonly event: "add" | "change" | "unlink";
|
|
1631
|
+
};
|
|
1700
1632
|
} | {
|
|
1701
1633
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1702
1634
|
readonly created: number;
|
|
1703
1635
|
readonly metadata?: {
|
|
1704
1636
|
readonly [x: string]: unknown;
|
|
1705
1637
|
} | undefined;
|
|
1706
|
-
readonly type: "
|
|
1638
|
+
readonly type: "form.cancelled";
|
|
1707
1639
|
readonly location?: {
|
|
1708
1640
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1709
1641
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1710
1642
|
} | undefined;
|
|
1711
1643
|
readonly data: {
|
|
1712
|
-
readonly
|
|
1644
|
+
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
1645
|
+
readonly sessionID: string;
|
|
1713
1646
|
};
|
|
1714
1647
|
} | {
|
|
1715
1648
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1717,39 +1650,209 @@ export declare const make: (options?: {
|
|
|
1717
1650
|
readonly metadata?: {
|
|
1718
1651
|
readonly [x: string]: unknown;
|
|
1719
1652
|
} | undefined;
|
|
1720
|
-
readonly type: "
|
|
1653
|
+
readonly type: "form.created";
|
|
1721
1654
|
readonly location?: {
|
|
1722
1655
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1723
1656
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1724
1657
|
} | undefined;
|
|
1725
1658
|
readonly data: {
|
|
1726
|
-
readonly
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
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
|
+
};
|
|
1753
1856
|
};
|
|
1754
1857
|
} | {
|
|
1755
1858
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1757,13 +1860,17 @@ export declare const make: (options?: {
|
|
|
1757
1860
|
readonly metadata?: {
|
|
1758
1861
|
readonly [x: string]: unknown;
|
|
1759
1862
|
} | undefined;
|
|
1760
|
-
readonly type: "
|
|
1863
|
+
readonly type: "form.replied";
|
|
1761
1864
|
readonly location?: {
|
|
1762
1865
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1763
1866
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1764
1867
|
} | undefined;
|
|
1765
1868
|
readonly data: {
|
|
1766
|
-
readonly
|
|
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[];
|
|
1873
|
+
};
|
|
1767
1874
|
};
|
|
1768
1875
|
} | {
|
|
1769
1876
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1771,13 +1878,13 @@ export declare const make: (options?: {
|
|
|
1771
1878
|
readonly metadata?: {
|
|
1772
1879
|
readonly [x: string]: unknown;
|
|
1773
1880
|
} | undefined;
|
|
1774
|
-
readonly type: "
|
|
1881
|
+
readonly type: "installation.update-available";
|
|
1775
1882
|
readonly location?: {
|
|
1776
1883
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1777
1884
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1778
1885
|
} | undefined;
|
|
1779
1886
|
readonly data: {
|
|
1780
|
-
readonly
|
|
1887
|
+
readonly version: string;
|
|
1781
1888
|
};
|
|
1782
1889
|
} | {
|
|
1783
1890
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1785,16 +1892,13 @@ export declare const make: (options?: {
|
|
|
1785
1892
|
readonly metadata?: {
|
|
1786
1893
|
readonly [x: string]: unknown;
|
|
1787
1894
|
} | undefined;
|
|
1788
|
-
readonly type: "
|
|
1895
|
+
readonly type: "installation.updated";
|
|
1789
1896
|
readonly location?: {
|
|
1790
1897
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1791
1898
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1792
1899
|
} | undefined;
|
|
1793
1900
|
readonly data: {
|
|
1794
|
-
readonly
|
|
1795
|
-
readonly message: string;
|
|
1796
|
-
readonly variant: "error" | "info" | "success" | "warning";
|
|
1797
|
-
readonly duration: number;
|
|
1901
|
+
readonly version: string;
|
|
1798
1902
|
};
|
|
1799
1903
|
} | {
|
|
1800
1904
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1802,7 +1906,7 @@ export declare const make: (options?: {
|
|
|
1802
1906
|
readonly metadata?: {
|
|
1803
1907
|
readonly [x: string]: unknown;
|
|
1804
1908
|
} | undefined;
|
|
1805
|
-
readonly type: "
|
|
1909
|
+
readonly type: "integration.updated";
|
|
1806
1910
|
readonly location?: {
|
|
1807
1911
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1808
1912
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -1814,7 +1918,7 @@ export declare const make: (options?: {
|
|
|
1814
1918
|
readonly metadata?: {
|
|
1815
1919
|
readonly [x: string]: unknown;
|
|
1816
1920
|
} | undefined;
|
|
1817
|
-
readonly type: "
|
|
1921
|
+
readonly type: "location.shutdown";
|
|
1818
1922
|
readonly location?: {
|
|
1819
1923
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1820
1924
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -1826,24 +1930,28 @@ export declare const make: (options?: {
|
|
|
1826
1930
|
readonly metadata?: {
|
|
1827
1931
|
readonly [x: string]: unknown;
|
|
1828
1932
|
} | undefined;
|
|
1829
|
-
readonly type: "
|
|
1933
|
+
readonly type: "mcp.resources.changed";
|
|
1830
1934
|
readonly location?: {
|
|
1831
1935
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1832
1936
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1833
1937
|
} | undefined;
|
|
1834
|
-
readonly data: {
|
|
1938
|
+
readonly data: {
|
|
1939
|
+
readonly server: string;
|
|
1940
|
+
};
|
|
1835
1941
|
} | {
|
|
1836
1942
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1837
1943
|
readonly created: number;
|
|
1838
1944
|
readonly metadata?: {
|
|
1839
1945
|
readonly [x: string]: unknown;
|
|
1840
1946
|
} | undefined;
|
|
1841
|
-
readonly type: "
|
|
1947
|
+
readonly type: "mcp.status.changed";
|
|
1842
1948
|
readonly location?: {
|
|
1843
1949
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1844
1950
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1845
1951
|
} | undefined;
|
|
1846
|
-
readonly data: {
|
|
1952
|
+
readonly data: {
|
|
1953
|
+
readonly server: string;
|
|
1954
|
+
};
|
|
1847
1955
|
} | {
|
|
1848
1956
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1849
1957
|
readonly created: number;
|
|
@@ -1862,7 +1970,7 @@ export declare const make: (options?: {
|
|
|
1862
1970
|
readonly metadata?: {
|
|
1863
1971
|
readonly [x: string]: unknown;
|
|
1864
1972
|
} | undefined;
|
|
1865
|
-
readonly type: "
|
|
1973
|
+
readonly type: "models-dev.refreshed";
|
|
1866
1974
|
readonly location?: {
|
|
1867
1975
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1868
1976
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -1874,14 +1982,26 @@ export declare const make: (options?: {
|
|
|
1874
1982
|
readonly metadata?: {
|
|
1875
1983
|
readonly [x: string]: unknown;
|
|
1876
1984
|
} | undefined;
|
|
1877
|
-
readonly type: "
|
|
1985
|
+
readonly type: "permission.asked";
|
|
1878
1986
|
readonly location?: {
|
|
1879
1987
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1880
1988
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1881
1989
|
} | undefined;
|
|
1882
1990
|
readonly data: {
|
|
1883
|
-
readonly
|
|
1884
|
-
readonly
|
|
1991
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
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">;
|
|
1885
2005
|
};
|
|
1886
2006
|
} | {
|
|
1887
2007
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1889,38 +2009,49 @@ export declare const make: (options?: {
|
|
|
1889
2009
|
readonly metadata?: {
|
|
1890
2010
|
readonly [x: string]: unknown;
|
|
1891
2011
|
} | undefined;
|
|
1892
|
-
readonly type: "
|
|
2012
|
+
readonly type: "permission.replied";
|
|
1893
2013
|
readonly location?: {
|
|
1894
2014
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1895
2015
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1896
2016
|
} | undefined;
|
|
1897
|
-
readonly data: {
|
|
2017
|
+
readonly data: {
|
|
2018
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2019
|
+
readonly requestID: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
2020
|
+
readonly reply: "always" | "once" | "reject";
|
|
2021
|
+
};
|
|
1898
2022
|
} | {
|
|
1899
2023
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1900
2024
|
readonly created: number;
|
|
1901
2025
|
readonly metadata?: {
|
|
1902
2026
|
readonly [x: string]: unknown;
|
|
1903
2027
|
} | undefined;
|
|
1904
|
-
readonly type: "
|
|
2028
|
+
readonly type: "persistent-pty.added";
|
|
1905
2029
|
readonly location?: {
|
|
1906
2030
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1907
2031
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1908
2032
|
} | undefined;
|
|
1909
2033
|
readonly data: {
|
|
1910
2034
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1911
|
-
readonly
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
readonly
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
readonly
|
|
1919
|
-
readonly
|
|
1920
|
-
readonly
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
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
|
+
};
|
|
2054
|
+
};
|
|
1924
2055
|
};
|
|
1925
2056
|
} | {
|
|
1926
2057
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1928,16 +2059,27 @@ export declare const make: (options?: {
|
|
|
1928
2059
|
readonly metadata?: {
|
|
1929
2060
|
readonly [x: string]: unknown;
|
|
1930
2061
|
} | undefined;
|
|
1931
|
-
readonly type: "
|
|
2062
|
+
readonly type: "persistent-pty.removed";
|
|
1932
2063
|
readonly location?: {
|
|
1933
2064
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1934
2065
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1935
2066
|
} | undefined;
|
|
1936
2067
|
readonly data: {
|
|
1937
2068
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1938
|
-
readonly
|
|
1939
|
-
readonly reply: "always" | "once" | "reject";
|
|
2069
|
+
readonly ptyID: string & import("effect/Brand").Brand<"PtyID">;
|
|
1940
2070
|
};
|
|
2071
|
+
} | {
|
|
2072
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2073
|
+
readonly created: number;
|
|
2074
|
+
readonly metadata?: {
|
|
2075
|
+
readonly [x: string]: unknown;
|
|
2076
|
+
} | undefined;
|
|
2077
|
+
readonly type: "plugin.updated";
|
|
2078
|
+
readonly location?: {
|
|
2079
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2080
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2081
|
+
} | undefined;
|
|
2082
|
+
readonly data: {};
|
|
1941
2083
|
} | {
|
|
1942
2084
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1943
2085
|
readonly created: number;
|
|
@@ -1976,36 +2118,12 @@ export declare const make: (options?: {
|
|
|
1976
2118
|
readonly metadata?: {
|
|
1977
2119
|
readonly [x: string]: unknown;
|
|
1978
2120
|
} | undefined;
|
|
1979
|
-
readonly type: "
|
|
1980
|
-
readonly durable: {
|
|
1981
|
-
readonly aggregateID: string;
|
|
1982
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1983
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1984
|
-
};
|
|
1985
|
-
readonly location?: {
|
|
1986
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1987
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1988
|
-
} | undefined;
|
|
1989
|
-
readonly data: {
|
|
1990
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1991
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1992
|
-
readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1993
|
-
readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
|
|
1994
|
-
};
|
|
1995
|
-
} | {
|
|
1996
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1997
|
-
readonly created: number;
|
|
1998
|
-
readonly metadata?: {
|
|
1999
|
-
readonly [x: string]: unknown;
|
|
2000
|
-
} | undefined;
|
|
2001
|
-
readonly type: "worktree.updated";
|
|
2121
|
+
readonly type: "provider.updated";
|
|
2002
2122
|
readonly location?: {
|
|
2003
2123
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2004
2124
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2005
2125
|
} | undefined;
|
|
2006
|
-
readonly data: {
|
|
2007
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
2008
|
-
};
|
|
2126
|
+
readonly data: {};
|
|
2009
2127
|
} | {
|
|
2010
2128
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2011
2129
|
readonly created: number;
|
|
@@ -2087,33 +2205,26 @@ export declare const make: (options?: {
|
|
|
2087
2205
|
readonly metadata?: {
|
|
2088
2206
|
readonly [x: string]: unknown;
|
|
2089
2207
|
} | undefined;
|
|
2090
|
-
readonly type: "
|
|
2208
|
+
readonly type: "reference.updated";
|
|
2209
|
+
readonly location?: {
|
|
2210
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2211
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2212
|
+
} | undefined;
|
|
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";
|
|
2091
2221
|
readonly location?: {
|
|
2092
2222
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2093
2223
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2094
2224
|
} | undefined;
|
|
2095
2225
|
readonly data: {
|
|
2096
2226
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2097
|
-
readonly
|
|
2098
|
-
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
2099
|
-
readonly title: string;
|
|
2100
|
-
readonly command: string;
|
|
2101
|
-
readonly args: readonly string[];
|
|
2102
|
-
readonly cwd: string;
|
|
2103
|
-
readonly status: "exited" | "running";
|
|
2104
|
-
readonly pid: number;
|
|
2105
|
-
readonly exitCode?: number | undefined;
|
|
2106
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2107
|
-
readonly foregroundProcess: string | null;
|
|
2108
|
-
readonly size: {
|
|
2109
|
-
readonly cols: number;
|
|
2110
|
-
readonly rows: number;
|
|
2111
|
-
};
|
|
2112
|
-
readonly output: {
|
|
2113
|
-
readonly head: number;
|
|
2114
|
-
readonly tail: number;
|
|
2115
|
-
};
|
|
2116
|
-
};
|
|
2227
|
+
readonly text: string;
|
|
2117
2228
|
};
|
|
2118
2229
|
} | {
|
|
2119
2230
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2121,14 +2232,13 @@ export declare const make: (options?: {
|
|
|
2121
2232
|
readonly metadata?: {
|
|
2122
2233
|
readonly [x: string]: unknown;
|
|
2123
2234
|
} | undefined;
|
|
2124
|
-
readonly type: "
|
|
2235
|
+
readonly type: "session.idle";
|
|
2125
2236
|
readonly location?: {
|
|
2126
2237
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2127
2238
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2128
2239
|
} | undefined;
|
|
2129
2240
|
readonly data: {
|
|
2130
2241
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2131
|
-
readonly ptyID: string & import("effect/Brand").Brand<"PtyID">;
|
|
2132
2242
|
};
|
|
2133
2243
|
} | {
|
|
2134
2244
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2136,29 +2246,47 @@ export declare const make: (options?: {
|
|
|
2136
2246
|
readonly metadata?: {
|
|
2137
2247
|
readonly [x: string]: unknown;
|
|
2138
2248
|
} | undefined;
|
|
2139
|
-
readonly type: "
|
|
2249
|
+
readonly type: "session.reasoning.delta";
|
|
2140
2250
|
readonly location?: {
|
|
2141
2251
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2142
2252
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2143
2253
|
} | undefined;
|
|
2144
2254
|
readonly data: {
|
|
2145
|
-
readonly
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
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
|
+
};
|
|
2260
|
+
} | {
|
|
2261
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2262
|
+
readonly created: number;
|
|
2263
|
+
readonly metadata?: {
|
|
2264
|
+
readonly [x: string]: unknown;
|
|
2265
|
+
} | undefined;
|
|
2266
|
+
readonly type: "session.status";
|
|
2267
|
+
readonly location?: {
|
|
2268
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2269
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2270
|
+
} | undefined;
|
|
2271
|
+
readonly data: {
|
|
2272
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2273
|
+
readonly status: {
|
|
2274
|
+
readonly type: "idle";
|
|
2275
|
+
} | {
|
|
2276
|
+
readonly type: "busy";
|
|
2277
|
+
} | {
|
|
2278
|
+
readonly type: "retry";
|
|
2279
|
+
readonly attempt: number;
|
|
2280
|
+
readonly message: string;
|
|
2281
|
+
readonly action?: {
|
|
2282
|
+
readonly reason: string;
|
|
2283
|
+
readonly provider: string;
|
|
2284
|
+
readonly title: string;
|
|
2285
|
+
readonly message: string;
|
|
2286
|
+
readonly label: string;
|
|
2287
|
+
readonly link?: string | undefined;
|
|
2288
|
+
} | undefined;
|
|
2289
|
+
readonly next: number;
|
|
2162
2290
|
};
|
|
2163
2291
|
};
|
|
2164
2292
|
} | {
|
|
@@ -2167,13 +2295,16 @@ export declare const make: (options?: {
|
|
|
2167
2295
|
readonly metadata?: {
|
|
2168
2296
|
readonly [x: string]: unknown;
|
|
2169
2297
|
} | undefined;
|
|
2170
|
-
readonly type: "
|
|
2298
|
+
readonly type: "session.text.delta";
|
|
2171
2299
|
readonly location?: {
|
|
2172
2300
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2173
2301
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2174
2302
|
} | undefined;
|
|
2175
2303
|
readonly data: {
|
|
2176
|
-
readonly
|
|
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;
|
|
2177
2308
|
};
|
|
2178
2309
|
} | {
|
|
2179
2310
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2181,15 +2312,16 @@ export declare const make: (options?: {
|
|
|
2181
2312
|
readonly metadata?: {
|
|
2182
2313
|
readonly [x: string]: unknown;
|
|
2183
2314
|
} | undefined;
|
|
2184
|
-
readonly type: "
|
|
2315
|
+
readonly type: "session.tool.input.delta";
|
|
2185
2316
|
readonly location?: {
|
|
2186
2317
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2187
2318
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2188
2319
|
} | undefined;
|
|
2189
2320
|
readonly data: {
|
|
2190
|
-
readonly
|
|
2191
|
-
readonly
|
|
2192
|
-
readonly
|
|
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;
|
|
2193
2325
|
};
|
|
2194
2326
|
} | {
|
|
2195
2327
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2197,14 +2329,18 @@ export declare const make: (options?: {
|
|
|
2197
2329
|
readonly metadata?: {
|
|
2198
2330
|
readonly [x: string]: unknown;
|
|
2199
2331
|
} | undefined;
|
|
2200
|
-
readonly type: "
|
|
2332
|
+
readonly type: "session.tool.progress";
|
|
2201
2333
|
readonly location?: {
|
|
2202
2334
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2203
2335
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2204
2336
|
} | undefined;
|
|
2205
2337
|
readonly data: {
|
|
2206
|
-
readonly
|
|
2207
|
-
readonly
|
|
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
|
+
};
|
|
2208
2344
|
};
|
|
2209
2345
|
} | {
|
|
2210
2346
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2212,208 +2348,22 @@ export declare const make: (options?: {
|
|
|
2212
2348
|
readonly metadata?: {
|
|
2213
2349
|
readonly [x: string]: unknown;
|
|
2214
2350
|
} | undefined;
|
|
2215
|
-
readonly type: "
|
|
2351
|
+
readonly type: "session.usage.updated";
|
|
2216
2352
|
readonly location?: {
|
|
2217
2353
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2218
2354
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2219
2355
|
} | undefined;
|
|
2220
2356
|
readonly data: {
|
|
2221
|
-
readonly
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
readonly
|
|
2225
|
-
readonly
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
readonly
|
|
2230
|
-
|
|
2231
|
-
readonly description?: string | undefined;
|
|
2232
|
-
readonly required?: boolean | undefined;
|
|
2233
|
-
readonly hidden?: boolean | undefined;
|
|
2234
|
-
readonly when?: readonly {
|
|
2235
|
-
readonly key: string;
|
|
2236
|
-
readonly op: "eq" | "neq";
|
|
2237
|
-
readonly value: string | number | boolean;
|
|
2238
|
-
}[] | undefined;
|
|
2239
|
-
readonly type: "string";
|
|
2240
|
-
readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
|
|
2241
|
-
readonly minLength?: number | undefined;
|
|
2242
|
-
readonly maxLength?: number | undefined;
|
|
2243
|
-
readonly pattern?: string | undefined;
|
|
2244
|
-
readonly placeholder?: string | undefined;
|
|
2245
|
-
readonly default?: string | undefined;
|
|
2246
|
-
readonly options?: readonly {
|
|
2247
|
-
readonly value: string;
|
|
2248
|
-
readonly label: string;
|
|
2249
|
-
readonly description?: string | undefined;
|
|
2250
|
-
}[] | undefined;
|
|
2251
|
-
readonly custom?: boolean | undefined;
|
|
2252
|
-
} | {
|
|
2253
|
-
readonly key: string;
|
|
2254
|
-
readonly title?: string | undefined;
|
|
2255
|
-
readonly description?: string | undefined;
|
|
2256
|
-
readonly required?: boolean | undefined;
|
|
2257
|
-
readonly hidden?: boolean | undefined;
|
|
2258
|
-
readonly when?: readonly {
|
|
2259
|
-
readonly key: string;
|
|
2260
|
-
readonly op: "eq" | "neq";
|
|
2261
|
-
readonly value: string | number | boolean;
|
|
2262
|
-
}[] | undefined;
|
|
2263
|
-
readonly type: "number";
|
|
2264
|
-
readonly minimum?: number | undefined;
|
|
2265
|
-
readonly maximum?: number | undefined;
|
|
2266
|
-
readonly default?: number | 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: "integer";
|
|
2279
|
-
readonly minimum?: number | undefined;
|
|
2280
|
-
readonly maximum?: number | undefined;
|
|
2281
|
-
readonly default?: number | undefined;
|
|
2282
|
-
} | {
|
|
2283
|
-
readonly key: string;
|
|
2284
|
-
readonly title?: string | undefined;
|
|
2285
|
-
readonly description?: string | undefined;
|
|
2286
|
-
readonly required?: boolean | undefined;
|
|
2287
|
-
readonly hidden?: boolean | undefined;
|
|
2288
|
-
readonly when?: readonly {
|
|
2289
|
-
readonly key: string;
|
|
2290
|
-
readonly op: "eq" | "neq";
|
|
2291
|
-
readonly value: string | number | boolean;
|
|
2292
|
-
}[] | undefined;
|
|
2293
|
-
readonly type: "boolean";
|
|
2294
|
-
readonly default?: boolean | undefined;
|
|
2295
|
-
} | {
|
|
2296
|
-
readonly key: string;
|
|
2297
|
-
readonly title?: string | undefined;
|
|
2298
|
-
readonly description?: string | undefined;
|
|
2299
|
-
readonly required?: boolean | undefined;
|
|
2300
|
-
readonly hidden?: boolean | undefined;
|
|
2301
|
-
readonly when?: readonly {
|
|
2302
|
-
readonly key: string;
|
|
2303
|
-
readonly op: "eq" | "neq";
|
|
2304
|
-
readonly value: string | number | boolean;
|
|
2305
|
-
}[] | undefined;
|
|
2306
|
-
readonly type: "multiselect";
|
|
2307
|
-
readonly options: readonly {
|
|
2308
|
-
readonly value: string;
|
|
2309
|
-
readonly label: string;
|
|
2310
|
-
readonly description?: string | undefined;
|
|
2311
|
-
}[];
|
|
2312
|
-
readonly minItems?: number | undefined;
|
|
2313
|
-
readonly maxItems?: number | undefined;
|
|
2314
|
-
readonly custom?: boolean | undefined;
|
|
2315
|
-
readonly default?: readonly string[] | undefined;
|
|
2316
|
-
} | {
|
|
2317
|
-
readonly key: string;
|
|
2318
|
-
readonly type: "external";
|
|
2319
|
-
readonly url: string;
|
|
2320
|
-
readonly title?: string | undefined;
|
|
2321
|
-
readonly description?: string | undefined;
|
|
2322
|
-
}, ...({
|
|
2323
|
-
readonly key: string;
|
|
2324
|
-
readonly title?: string | undefined;
|
|
2325
|
-
readonly description?: string | undefined;
|
|
2326
|
-
readonly required?: boolean | undefined;
|
|
2327
|
-
readonly hidden?: boolean | undefined;
|
|
2328
|
-
readonly when?: readonly {
|
|
2329
|
-
readonly key: string;
|
|
2330
|
-
readonly op: "eq" | "neq";
|
|
2331
|
-
readonly value: string | number | boolean;
|
|
2332
|
-
}[] | undefined;
|
|
2333
|
-
readonly type: "string";
|
|
2334
|
-
readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
|
|
2335
|
-
readonly minLength?: number | undefined;
|
|
2336
|
-
readonly maxLength?: number | undefined;
|
|
2337
|
-
readonly pattern?: string | undefined;
|
|
2338
|
-
readonly placeholder?: string | undefined;
|
|
2339
|
-
readonly default?: string | undefined;
|
|
2340
|
-
readonly options?: readonly {
|
|
2341
|
-
readonly value: string;
|
|
2342
|
-
readonly label: string;
|
|
2343
|
-
readonly description?: string | undefined;
|
|
2344
|
-
}[] | undefined;
|
|
2345
|
-
readonly custom?: boolean | undefined;
|
|
2346
|
-
} | {
|
|
2347
|
-
readonly key: string;
|
|
2348
|
-
readonly title?: string | undefined;
|
|
2349
|
-
readonly description?: string | undefined;
|
|
2350
|
-
readonly required?: boolean | undefined;
|
|
2351
|
-
readonly hidden?: boolean | undefined;
|
|
2352
|
-
readonly when?: readonly {
|
|
2353
|
-
readonly key: string;
|
|
2354
|
-
readonly op: "eq" | "neq";
|
|
2355
|
-
readonly value: string | number | boolean;
|
|
2356
|
-
}[] | undefined;
|
|
2357
|
-
readonly type: "number";
|
|
2358
|
-
readonly minimum?: number | undefined;
|
|
2359
|
-
readonly maximum?: number | undefined;
|
|
2360
|
-
readonly default?: number | 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: "integer";
|
|
2373
|
-
readonly minimum?: number | undefined;
|
|
2374
|
-
readonly maximum?: number | undefined;
|
|
2375
|
-
readonly default?: number | undefined;
|
|
2376
|
-
} | {
|
|
2377
|
-
readonly key: string;
|
|
2378
|
-
readonly title?: string | undefined;
|
|
2379
|
-
readonly description?: string | undefined;
|
|
2380
|
-
readonly required?: boolean | undefined;
|
|
2381
|
-
readonly hidden?: boolean | undefined;
|
|
2382
|
-
readonly when?: readonly {
|
|
2383
|
-
readonly key: string;
|
|
2384
|
-
readonly op: "eq" | "neq";
|
|
2385
|
-
readonly value: string | number | boolean;
|
|
2386
|
-
}[] | undefined;
|
|
2387
|
-
readonly type: "boolean";
|
|
2388
|
-
readonly default?: boolean | undefined;
|
|
2389
|
-
} | {
|
|
2390
|
-
readonly key: string;
|
|
2391
|
-
readonly title?: string | undefined;
|
|
2392
|
-
readonly description?: string | undefined;
|
|
2393
|
-
readonly required?: boolean | undefined;
|
|
2394
|
-
readonly hidden?: boolean | undefined;
|
|
2395
|
-
readonly when?: readonly {
|
|
2396
|
-
readonly key: string;
|
|
2397
|
-
readonly op: "eq" | "neq";
|
|
2398
|
-
readonly value: string | number | boolean;
|
|
2399
|
-
}[] | undefined;
|
|
2400
|
-
readonly type: "multiselect";
|
|
2401
|
-
readonly options: readonly {
|
|
2402
|
-
readonly value: string;
|
|
2403
|
-
readonly label: string;
|
|
2404
|
-
readonly description?: string | undefined;
|
|
2405
|
-
}[];
|
|
2406
|
-
readonly minItems?: number | undefined;
|
|
2407
|
-
readonly maxItems?: number | undefined;
|
|
2408
|
-
readonly custom?: boolean | undefined;
|
|
2409
|
-
readonly default?: readonly string[] | undefined;
|
|
2410
|
-
} | {
|
|
2411
|
-
readonly key: string;
|
|
2412
|
-
readonly type: "external";
|
|
2413
|
-
readonly url: string;
|
|
2414
|
-
readonly title?: string | undefined;
|
|
2415
|
-
readonly description?: string | undefined;
|
|
2416
|
-
})[]];
|
|
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
|
+
};
|
|
2417
2367
|
};
|
|
2418
2368
|
};
|
|
2419
2369
|
} | {
|
|
@@ -2422,16 +2372,29 @@ export declare const make: (options?: {
|
|
|
2422
2372
|
readonly metadata?: {
|
|
2423
2373
|
readonly [x: string]: unknown;
|
|
2424
2374
|
} | undefined;
|
|
2425
|
-
readonly type: "
|
|
2375
|
+
readonly type: "shell.created";
|
|
2426
2376
|
readonly location?: {
|
|
2427
2377
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2428
2378
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2429
2379
|
} | undefined;
|
|
2430
2380
|
readonly data: {
|
|
2431
|
-
readonly
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
readonly
|
|
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
|
+
};
|
|
2435
2398
|
};
|
|
2436
2399
|
};
|
|
2437
2400
|
} | {
|
|
@@ -2440,7 +2403,37 @@ export declare const make: (options?: {
|
|
|
2440
2403
|
readonly metadata?: {
|
|
2441
2404
|
readonly [x: string]: unknown;
|
|
2442
2405
|
} | undefined;
|
|
2443
|
-
readonly type: "
|
|
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";
|
|
2444
2437
|
readonly location?: {
|
|
2445
2438
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2446
2439
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -2452,13 +2445,13 @@ export declare const make: (options?: {
|
|
|
2452
2445
|
readonly metadata?: {
|
|
2453
2446
|
readonly [x: string]: unknown;
|
|
2454
2447
|
} | undefined;
|
|
2455
|
-
readonly type: "
|
|
2448
|
+
readonly type: "tui.command.execute";
|
|
2456
2449
|
readonly location?: {
|
|
2457
2450
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2458
2451
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2459
2452
|
} | undefined;
|
|
2460
2453
|
readonly data: {
|
|
2461
|
-
readonly
|
|
2454
|
+
readonly command: string;
|
|
2462
2455
|
};
|
|
2463
2456
|
} | {
|
|
2464
2457
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2466,31 +2459,13 @@ export declare const make: (options?: {
|
|
|
2466
2459
|
readonly metadata?: {
|
|
2467
2460
|
readonly [x: string]: unknown;
|
|
2468
2461
|
} | undefined;
|
|
2469
|
-
readonly type: "
|
|
2462
|
+
readonly type: "tui.prompt.append";
|
|
2470
2463
|
readonly location?: {
|
|
2471
2464
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2472
2465
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2473
2466
|
} | undefined;
|
|
2474
2467
|
readonly data: {
|
|
2475
|
-
readonly
|
|
2476
|
-
readonly status: {
|
|
2477
|
-
readonly type: "idle";
|
|
2478
|
-
} | {
|
|
2479
|
-
readonly type: "retry";
|
|
2480
|
-
readonly attempt: number;
|
|
2481
|
-
readonly message: string;
|
|
2482
|
-
readonly action?: {
|
|
2483
|
-
readonly reason: string;
|
|
2484
|
-
readonly provider: string;
|
|
2485
|
-
readonly title: string;
|
|
2486
|
-
readonly message: string;
|
|
2487
|
-
readonly label: string;
|
|
2488
|
-
readonly link?: string | undefined;
|
|
2489
|
-
} | undefined;
|
|
2490
|
-
readonly next: number;
|
|
2491
|
-
} | {
|
|
2492
|
-
readonly type: "busy";
|
|
2493
|
-
};
|
|
2468
|
+
readonly text: string;
|
|
2494
2469
|
};
|
|
2495
2470
|
} | {
|
|
2496
2471
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2498,13 +2473,13 @@ export declare const make: (options?: {
|
|
|
2498
2473
|
readonly metadata?: {
|
|
2499
2474
|
readonly [x: string]: unknown;
|
|
2500
2475
|
} | undefined;
|
|
2501
|
-
readonly type: "
|
|
2476
|
+
readonly type: "tui.session.select";
|
|
2502
2477
|
readonly location?: {
|
|
2503
2478
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2504
2479
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2505
2480
|
} | undefined;
|
|
2506
2481
|
readonly data: {
|
|
2507
|
-
readonly
|
|
2482
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2508
2483
|
};
|
|
2509
2484
|
} | {
|
|
2510
2485
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2512,13 +2487,16 @@ export declare const make: (options?: {
|
|
|
2512
2487
|
readonly metadata?: {
|
|
2513
2488
|
readonly [x: string]: unknown;
|
|
2514
2489
|
} | undefined;
|
|
2515
|
-
readonly type: "
|
|
2490
|
+
readonly type: "tui.toast.show";
|
|
2516
2491
|
readonly location?: {
|
|
2517
2492
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2518
2493
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2519
2494
|
} | undefined;
|
|
2520
2495
|
readonly data: {
|
|
2521
|
-
readonly
|
|
2496
|
+
readonly title?: string | undefined;
|
|
2497
|
+
readonly message: string;
|
|
2498
|
+
readonly variant: "error" | "info" | "success" | "warning";
|
|
2499
|
+
readonly duration: number;
|
|
2522
2500
|
};
|
|
2523
2501
|
} | {
|
|
2524
2502
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2534,6 +2512,32 @@ export declare const make: (options?: {
|
|
|
2534
2512
|
readonly data: {
|
|
2535
2513
|
readonly branch?: string | undefined;
|
|
2536
2514
|
};
|
|
2515
|
+
} | {
|
|
2516
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2517
|
+
readonly created: number;
|
|
2518
|
+
readonly metadata?: {
|
|
2519
|
+
readonly [x: string]: unknown;
|
|
2520
|
+
} | undefined;
|
|
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";
|
|
2534
|
+
readonly location?: {
|
|
2535
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2536
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2537
|
+
} | undefined;
|
|
2538
|
+
readonly data: {
|
|
2539
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
2540
|
+
};
|
|
2537
2541
|
} | {
|
|
2538
2542
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2539
2543
|
readonly created: number;
|