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