@opencode/client 2.1.3 → 2.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/dist/chunks/{service-probe-9j12j8xw.js → contract-15p82y03.js} +5 -5
  2. package/dist/chunks/{service-probe-61wt4y9h.js → contract-1x65x4hv.js} +15 -20
  3. package/dist/chunks/{service-probe-8ye1ye6f.js → contract-2ny4vxct.js} +2 -2
  4. package/dist/chunks/{service-probe-8bbb028w.js → contract-8bbb028w.js} +1 -1
  5. package/dist/chunks/{service-probe-v1n69e13.js → contract-9kmsh4jj.js} +8 -2
  6. package/dist/chunks/{service-probe-ezt8t3fk.js → contract-c46qzyff.js} +2 -2
  7. package/dist/chunks/{service-probe-xwk4fryp.js → contract-hg9t2gnm.js} +9 -9
  8. package/dist/chunks/{service-probe-ryy6kscr.js → contract-ryy6kscr.js} +1 -1
  9. package/dist/chunks/{service-probe-g22sa7qz.js → contract-s2hya144.js} +21 -2
  10. package/dist/chunks/{service-probe-6vp15eh6.js → contract-skhp7hxc.js} +1 -1
  11. package/dist/chunks/{service-probe-9p0yrv34.js → contract-vwtmm97t.js} +4 -4
  12. package/dist/chunks/{service-probe-5r97ebd4.js → contract-w10x3kfx.js} +14 -7
  13. package/dist/contract.js +1 -1
  14. package/dist/effect/api/api.d.ts +32 -1
  15. package/dist/effect/client.d.ts +789 -785
  16. package/dist/effect/client.js +8 -8
  17. package/dist/effect/generated/client-error.js +1 -1
  18. package/dist/effect/generated/client.d.ts +489 -485
  19. package/dist/effect/generated/client.js +5 -5
  20. package/dist/effect/generated/index.js +4 -4
  21. package/dist/effect/index.js +8 -8
  22. package/dist/effect/rpc.js +4 -4
  23. package/dist/effect/service.d.ts +1 -1
  24. package/dist/effect/service.js +11 -11
  25. package/dist/mcp.d.ts +44 -0
  26. package/dist/mcp.js +110 -0
  27. package/dist/promise/client.d.ts +4 -0
  28. package/dist/promise/client.js +7 -7
  29. package/dist/promise/generated/client-error.js +1 -1
  30. package/dist/promise/generated/client.d.ts +5 -1
  31. package/dist/promise/generated/client.js +2 -2
  32. package/dist/promise/generated/index.js +5 -5
  33. package/dist/promise/generated/types.d.ts +47 -9
  34. package/dist/promise/generated/types.js +2 -2
  35. package/dist/promise/index.js +9 -9
  36. package/dist/promise/rpc.js +2 -2
  37. package/dist/promise/service.js +11 -11
  38. package/dist/pty-handoff.js +4 -1
  39. package/dist/rpc-runtime.js +1 -1
  40. package/dist/service-contender.js +1 -1
  41. package/dist/service-probe.js +3 -3
  42. package/dist/service-timing.js +1 -1
  43. package/dist/service-version.js +1 -1
  44. package/dist/service.js +1 -1
  45. package/dist/shared-events.js +1 -1
  46. package/dist/solid/connection.js +1 -1
  47. package/dist/solid/data.js +9 -9
  48. package/dist/solid/index.js +12 -12
  49. package/dist/solid/pty.js +1 -1
  50. package/dist/solid/usage.js +1 -1
  51. package/package.json +12 -6
  52. /package/dist/chunks/{service-probe-6mptkzbc.js → contract-6mptkzbc.js} +0 -0
  53. /package/dist/chunks/{service-probe-8s2anffy.js → contract-8s2anffy.js} +0 -0
  54. /package/dist/chunks/{service-probe-9rqn6x4v.js → contract-9rqn6x4v.js} +0 -0
  55. /package/dist/chunks/{service-probe-gne7h7mq.js → contract-gne7h7mq.js} +0 -0
  56. /package/dist/chunks/{service-probe-m2eywc8w.js → contract-m2eywc8w.js} +0 -0
  57. /package/dist/chunks/{service-probe-nwcpakzx.js → contract-nwcpakzx.js} +0 -0
  58. /package/dist/chunks/{service-probe-qav6mfdz.js → contract-qav6mfdz.js} +0 -0
  59. /package/dist/chunks/{service-probe-sxt88q69.js → contract-sxt88q69.js} +0 -0
  60. /package/dist/chunks/{service-probe-ve4aws36.js → contract-ve4aws36.js} +0 -0
  61. /package/dist/chunks/{service-probe-vmytr4q8.js → contract-vmytr4q8.js} +0 -0
  62. /package/dist/chunks/{service-probe-vyas3vgt.js → contract-vyas3vgt.js} +0 -0
  63. /package/dist/chunks/{service-probe-xgnj2w4v.js → contract-xgnj2w4v.js} +0 -0
  64. /package/dist/chunks/{service-probe-y2etg5bs.js → contract-y2etg5bs.js} +0 -0
  65. /package/dist/chunks/{service-probe-ydhz1zrh.js → contract-ydhz1zrh.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { Effect, Stream, Schema } from "effect";
2
2
  import { Sse } from "effect/encoding";
3
3
  import { HttpClientError } from "effect/http";
4
- import type { ServerInfoOutput, ServerPairOutput, ServerConnectInput, ServerConnectOutput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionListOutput, SessionStatsInput, SessionStatsOutput, SessionCreateInput, SessionImportInput, SessionExportInput, SessionExportOutput, SessionActiveOutput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSkillInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionWaitInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionContextOutput, SessionDiffInput, SessionDiffOutput, SessionInboxListInput, SessionInboxListOutput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionInstructionsEntryListInput, SessionInstructionsEntryListOutput, SessionInstructionsEntryPutInput, SessionInstructionsEntryRemoveInput, SessionGenerateInput, SessionGenerateOutput, SessionLogInput, SessionLogOutput, SessionInterruptInput, SessionInterruptOutput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormListOutput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, MessageListInput, MessageListOutput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, GenerateTextInput, GenerateTextOutput, VoiceModelsOutput, VoiceSessionInput, VoiceSessionOutput, VoiceInstructionsInput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationWellknownAddInput, IntegrationConnectKeyInput, IntegrationConnectExternalInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, McpListInput, McpListOutput, McpAddInput, McpRemoveInput, McpConnectInput, McpDisconnectInput, McpResourceCatalogInput, McpResourceCatalogOutput, CredentialListOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedListOutput, PermissionSavedUpdateInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionCreateOutput, PermissionListInput, PermissionListOutput, PermissionGetInput, PermissionReplyInput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, RpcCallOutput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyReadOutput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyListOutput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyCreateOutput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyGetOutput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtyUpdateOutput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtySnapshotOutput, ExperimentalPersistentPtyRemoveInput, ExperimentalPersistentPtyConnectTokenInput, ShellListInput, ShellListOutput, ShellCreateInput, ShellCreateOutput, ShellGetInput, ShellGetOutput, ShellOutputInput, ShellOutputOutput, ShellRemoveInput, ReferenceListInput, ReferenceListOutput, WorktreeListInput, WorktreeCreateInput, WorktreeRemoveInput, WorktreeRefreshInput, VcsInitInput, VcsGetInput, VcsGetOutput, VcsBaseInput, VcsBaseOutput, VcsStatusInput, VcsStatusOutput, VcsBranchListInput, VcsBranchListOutput, VcsDiffInput, VcsDiffOutput, DebugLocationListOutput, DebugLocationEvictInput, MigrationV1StatusOutput, WebsearchProvidersInput, WebsearchProvidersOutput, WebsearchQueryInput, WebsearchQueryOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ConfigUpdateInput } from "../api/api.js";
4
+ import type { ServerInfoOutput, ServerPairOutput, ServerConnectInput, ServerConnectOutput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionListOutput, SessionStatsInput, SessionStatsOutput, SessionCreateInput, SessionImportInput, SessionExportInput, SessionExportOutput, SessionActiveOutput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSkillInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionWaitInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionContextOutput, SessionDiffInput, SessionDiffOutput, SessionInboxListInput, SessionInboxListOutput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionInstructionsEntryListInput, SessionInstructionsEntryListOutput, SessionInstructionsEntryPutInput, SessionInstructionsEntryRemoveInput, SessionGenerateInput, SessionGenerateOutput, SessionLogInput, SessionLogOutput, SessionInterruptInput, SessionInterruptOutput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormListOutput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, MessageListInput, MessageListOutput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, GenerateTextInput, GenerateTextOutput, VoiceModelsOutput, VoiceSessionInput, VoiceSessionOutput, VoiceInstructionsInput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationWellknownAddInput, IntegrationConnectKeyInput, IntegrationConnectExternalInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, McpListInput, McpListOutput, McpAddInput, McpRemoveInput, McpConnectInput, McpDisconnectInput, McpResourceCatalogInput, McpResourceCatalogOutput, McpClientTokenInput, McpClientTokenOutput, CredentialListOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedListOutput, PermissionSavedUpdateInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionCreateOutput, PermissionListInput, PermissionListOutput, PermissionGetInput, PermissionReplyInput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, RpcCallOutput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyReadOutput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyListOutput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyCreateOutput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyGetOutput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtyUpdateOutput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtySnapshotOutput, ExperimentalPersistentPtyRemoveInput, ExperimentalPersistentPtyConnectTokenInput, ShellListInput, ShellListOutput, ShellCreateInput, ShellCreateOutput, ShellGetInput, ShellGetOutput, ShellOutputInput, ShellOutputOutput, ShellRemoveInput, ReferenceListInput, ReferenceListOutput, WorktreeListInput, WorktreeCreateInput, WorktreeRemoveInput, WorktreeRefreshInput, VcsInitInput, VcsGetInput, VcsGetOutput, VcsBaseInput, VcsBaseOutput, VcsStatusInput, VcsStatusOutput, VcsBranchListInput, VcsBranchListOutput, VcsDiffInput, VcsDiffOutput, DebugHeapDumpInput, DebugHeapDumpOutput, DebugLocationListOutput, DebugLocationEvictInput, MigrationV1StatusOutput, WebsearchProvidersInput, WebsearchProvidersOutput, WebsearchQueryInput, WebsearchQueryOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ConfigUpdateInput } from "../api/api.js";
5
5
  import { ClientError } from "./client-error.js";
6
6
  export declare const make: (options?: {
7
7
  readonly baseUrl?: URL | string;
@@ -131,6 +131,9 @@ export declare const make: (options?: {
131
131
  resource: {
132
132
  catalog: (input?: McpResourceCatalogInput) => Effect.Effect<McpResourceCatalogOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
133
133
  };
134
+ client: {
135
+ token: (input: McpClientTokenInput) => Effect.Effect<McpClientTokenOutput, ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
136
+ };
134
137
  };
135
138
  credential: {
136
139
  list: () => Effect.Effect<CredentialListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
@@ -175,261 +178,6 @@ export declare const make: (options?: {
175
178
  };
176
179
  event: {
177
180
  subscribe: () => Stream.Stream<{
178
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
179
- readonly created: number;
180
- readonly metadata?: {
181
- readonly [x: string]: unknown;
182
- } | undefined;
183
- readonly type: "form.cancelled";
184
- readonly location?: {
185
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
186
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
187
- } | undefined;
188
- readonly data: {
189
- readonly id: string & import("effect/Brand").Brand<"Form.ID">;
190
- readonly sessionID: string;
191
- };
192
- } | {
193
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
194
- readonly created: number;
195
- readonly metadata?: {
196
- readonly [x: string]: unknown;
197
- } | undefined;
198
- readonly type: "form.created";
199
- readonly location?: {
200
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
201
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
202
- } | undefined;
203
- readonly data: {
204
- readonly form: {
205
- readonly id: string & import("effect/Brand").Brand<"Form.ID">;
206
- readonly sessionID: string;
207
- readonly title: string;
208
- readonly metadata?: {
209
- readonly [x: string]: unknown;
210
- } | undefined;
211
- readonly fields: readonly [{
212
- readonly key: string;
213
- readonly title?: string | undefined;
214
- readonly description?: string | undefined;
215
- readonly required?: boolean | undefined;
216
- readonly hidden?: boolean | undefined;
217
- readonly when?: readonly {
218
- readonly key: string;
219
- readonly op: "eq" | "neq";
220
- readonly value: string | number | boolean;
221
- }[] | undefined;
222
- readonly type: "string";
223
- readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
224
- readonly minLength?: number | undefined;
225
- readonly maxLength?: number | undefined;
226
- readonly pattern?: string | undefined;
227
- readonly placeholder?: string | undefined;
228
- readonly default?: string | undefined;
229
- readonly options?: readonly {
230
- readonly value: string;
231
- readonly label: string;
232
- readonly description?: string | undefined;
233
- }[] | undefined;
234
- readonly custom?: boolean | undefined;
235
- } | {
236
- readonly key: string;
237
- readonly title?: string | undefined;
238
- readonly description?: string | undefined;
239
- readonly required?: boolean | undefined;
240
- readonly hidden?: boolean | undefined;
241
- readonly when?: readonly {
242
- readonly key: string;
243
- readonly op: "eq" | "neq";
244
- readonly value: string | number | boolean;
245
- }[] | undefined;
246
- readonly type: "number";
247
- readonly minimum?: number | undefined;
248
- readonly maximum?: number | undefined;
249
- readonly default?: number | undefined;
250
- } | {
251
- readonly key: string;
252
- readonly title?: string | undefined;
253
- readonly description?: string | undefined;
254
- readonly required?: boolean | undefined;
255
- readonly hidden?: boolean | undefined;
256
- readonly when?: readonly {
257
- readonly key: string;
258
- readonly op: "eq" | "neq";
259
- readonly value: string | number | boolean;
260
- }[] | undefined;
261
- readonly type: "integer";
262
- readonly minimum?: number | undefined;
263
- readonly maximum?: number | undefined;
264
- readonly default?: number | undefined;
265
- } | {
266
- readonly key: string;
267
- readonly title?: string | undefined;
268
- readonly description?: string | undefined;
269
- readonly required?: boolean | undefined;
270
- readonly hidden?: boolean | undefined;
271
- readonly when?: readonly {
272
- readonly key: string;
273
- readonly op: "eq" | "neq";
274
- readonly value: string | number | boolean;
275
- }[] | undefined;
276
- readonly type: "boolean";
277
- readonly default?: boolean | undefined;
278
- } | {
279
- readonly key: string;
280
- readonly title?: string | undefined;
281
- readonly description?: string | undefined;
282
- readonly required?: boolean | undefined;
283
- readonly hidden?: boolean | undefined;
284
- readonly when?: readonly {
285
- readonly key: string;
286
- readonly op: "eq" | "neq";
287
- readonly value: string | number | boolean;
288
- }[] | undefined;
289
- readonly type: "multiselect";
290
- readonly options: readonly {
291
- readonly value: string;
292
- readonly label: string;
293
- readonly description?: string | undefined;
294
- }[];
295
- readonly minItems?: number | undefined;
296
- readonly maxItems?: number | undefined;
297
- readonly custom?: boolean | undefined;
298
- readonly default?: readonly string[] | undefined;
299
- } | {
300
- readonly key: string;
301
- readonly type: "external";
302
- readonly url: string;
303
- readonly title?: string | undefined;
304
- readonly description?: string | undefined;
305
- }, ...({
306
- readonly key: string;
307
- readonly title?: string | undefined;
308
- readonly description?: string | undefined;
309
- readonly required?: boolean | undefined;
310
- readonly hidden?: boolean | undefined;
311
- readonly when?: readonly {
312
- readonly key: string;
313
- readonly op: "eq" | "neq";
314
- readonly value: string | number | boolean;
315
- }[] | undefined;
316
- readonly type: "string";
317
- readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
318
- readonly minLength?: number | undefined;
319
- readonly maxLength?: number | undefined;
320
- readonly pattern?: string | undefined;
321
- readonly placeholder?: string | undefined;
322
- readonly default?: string | undefined;
323
- readonly options?: readonly {
324
- readonly value: string;
325
- readonly label: string;
326
- readonly description?: string | undefined;
327
- }[] | undefined;
328
- readonly custom?: boolean | undefined;
329
- } | {
330
- readonly key: string;
331
- readonly title?: string | undefined;
332
- readonly description?: string | undefined;
333
- readonly required?: boolean | undefined;
334
- readonly hidden?: boolean | undefined;
335
- readonly when?: readonly {
336
- readonly key: string;
337
- readonly op: "eq" | "neq";
338
- readonly value: string | number | boolean;
339
- }[] | undefined;
340
- readonly type: "number";
341
- readonly minimum?: number | undefined;
342
- readonly maximum?: number | undefined;
343
- readonly default?: number | undefined;
344
- } | {
345
- readonly key: string;
346
- readonly title?: string | undefined;
347
- readonly description?: string | undefined;
348
- readonly required?: boolean | undefined;
349
- readonly hidden?: boolean | undefined;
350
- readonly when?: readonly {
351
- readonly key: string;
352
- readonly op: "eq" | "neq";
353
- readonly value: string | number | boolean;
354
- }[] | undefined;
355
- readonly type: "integer";
356
- readonly minimum?: number | undefined;
357
- readonly maximum?: number | undefined;
358
- readonly default?: number | undefined;
359
- } | {
360
- readonly key: string;
361
- readonly title?: string | undefined;
362
- readonly description?: string | undefined;
363
- readonly required?: boolean | undefined;
364
- readonly hidden?: boolean | undefined;
365
- readonly when?: readonly {
366
- readonly key: string;
367
- readonly op: "eq" | "neq";
368
- readonly value: string | number | boolean;
369
- }[] | undefined;
370
- readonly type: "boolean";
371
- readonly default?: boolean | undefined;
372
- } | {
373
- readonly key: string;
374
- readonly title?: string | undefined;
375
- readonly description?: string | undefined;
376
- readonly required?: boolean | undefined;
377
- readonly hidden?: boolean | undefined;
378
- readonly when?: readonly {
379
- readonly key: string;
380
- readonly op: "eq" | "neq";
381
- readonly value: string | number | boolean;
382
- }[] | undefined;
383
- readonly type: "multiselect";
384
- readonly options: readonly {
385
- readonly value: string;
386
- readonly label: string;
387
- readonly description?: string | undefined;
388
- }[];
389
- readonly minItems?: number | undefined;
390
- readonly maxItems?: number | undefined;
391
- readonly custom?: boolean | undefined;
392
- readonly default?: readonly string[] | undefined;
393
- } | {
394
- readonly key: string;
395
- readonly type: "external";
396
- readonly url: string;
397
- readonly title?: string | undefined;
398
- readonly description?: string | undefined;
399
- })[]];
400
- };
401
- };
402
- } | {
403
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
404
- readonly created: number;
405
- readonly metadata?: {
406
- readonly [x: string]: unknown;
407
- } | undefined;
408
- readonly type: "form.replied";
409
- readonly location?: {
410
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
411
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
412
- } | undefined;
413
- readonly data: {
414
- readonly id: string & import("effect/Brand").Brand<"Form.ID">;
415
- readonly sessionID: string;
416
- readonly answer: {
417
- readonly [x: string]: string | number | boolean | readonly string[];
418
- };
419
- };
420
- } | {
421
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
422
- readonly created: number;
423
- readonly metadata?: {
424
- readonly [x: string]: unknown;
425
- } | undefined;
426
- readonly type: "agent.updated";
427
- readonly location?: {
428
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
429
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
430
- } | undefined;
431
- readonly data: {};
432
- } | {
433
181
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
434
182
  readonly created: number;
435
183
  readonly metadata?: {
@@ -1715,14 +1463,21 @@ export declare const make: (options?: {
1715
1463
  readonly metadata?: {
1716
1464
  readonly [x: string]: unknown;
1717
1465
  } | undefined;
1718
- readonly type: "session.compaction.delta";
1466
+ readonly type: "worktree.resolved";
1467
+ readonly durable: {
1468
+ readonly aggregateID: string;
1469
+ readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
1470
+ readonly version: number & import("effect/Brand").Brand<"Event.Version">;
1471
+ };
1719
1472
  readonly location?: {
1720
1473
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1721
1474
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1722
1475
  } | undefined;
1723
1476
  readonly data: {
1724
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1725
- readonly text: string;
1477
+ readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
1478
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1479
+ readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
1480
+ readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
1726
1481
  };
1727
1482
  } | {
1728
1483
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -1730,16 +1485,50 @@ export declare const make: (options?: {
1730
1485
  readonly metadata?: {
1731
1486
  readonly [x: string]: unknown;
1732
1487
  } | undefined;
1733
- readonly type: "session.reasoning.delta";
1488
+ readonly type: "agent.updated";
1489
+ readonly location?: {
1490
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1491
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1492
+ } | undefined;
1493
+ readonly data: {};
1494
+ } | {
1495
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
1496
+ readonly created: number;
1497
+ readonly metadata?: {
1498
+ readonly [x: string]: unknown;
1499
+ } | undefined;
1500
+ readonly type: "command.updated";
1501
+ readonly location?: {
1502
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1503
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1504
+ } | undefined;
1505
+ readonly data: {};
1506
+ } | {
1507
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
1508
+ readonly created: number;
1509
+ readonly metadata?: {
1510
+ readonly [x: string]: unknown;
1511
+ } | undefined;
1512
+ readonly type: "config.updated";
1513
+ readonly location?: {
1514
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1515
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1516
+ } | undefined;
1517
+ readonly data: {};
1518
+ } | {
1519
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
1520
+ readonly created: number;
1521
+ readonly metadata?: {
1522
+ readonly [x: string]: unknown;
1523
+ } | undefined;
1524
+ readonly type: "credential.switched";
1734
1525
  readonly location?: {
1735
1526
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1736
1527
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1737
1528
  } | undefined;
1738
1529
  readonly data: {
1739
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1740
- readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
1741
- readonly ordinal: number;
1742
- readonly delta: string;
1530
+ readonly integrationID: string & import("effect/Brand").Brand<"Integration.ID">;
1531
+ readonly credentialID: (string & import("effect/Brand").Brand<"Credential.ID">) | null;
1743
1532
  };
1744
1533
  } | {
1745
1534
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -1747,16 +1536,26 @@ export declare const make: (options?: {
1747
1536
  readonly metadata?: {
1748
1537
  readonly [x: string]: unknown;
1749
1538
  } | undefined;
1750
- readonly type: "session.text.delta";
1539
+ readonly type: "credential.updated";
1540
+ readonly location?: {
1541
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1542
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1543
+ } | undefined;
1544
+ readonly data: {};
1545
+ } | {
1546
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
1547
+ readonly created: number;
1548
+ readonly metadata?: {
1549
+ readonly [x: string]: unknown;
1550
+ } | undefined;
1551
+ readonly type: "filesystem.changed";
1751
1552
  readonly location?: {
1752
1553
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1753
1554
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1754
1555
  } | undefined;
1755
1556
  readonly data: {
1756
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1757
- readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
1758
- readonly ordinal: number;
1759
- readonly delta: string;
1557
+ readonly file: string;
1558
+ readonly event: "add" | "change" | "unlink";
1760
1559
  };
1761
1560
  } | {
1762
1561
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -1764,16 +1563,14 @@ export declare const make: (options?: {
1764
1563
  readonly metadata?: {
1765
1564
  readonly [x: string]: unknown;
1766
1565
  } | undefined;
1767
- readonly type: "session.tool.input.delta";
1566
+ readonly type: "form.cancelled";
1768
1567
  readonly location?: {
1769
1568
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1770
1569
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1771
1570
  } | undefined;
1772
1571
  readonly data: {
1773
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1774
- readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
1775
- readonly id: string;
1776
- readonly delta: string;
1572
+ readonly id: string & import("effect/Brand").Brand<"Form.ID">;
1573
+ readonly sessionID: string;
1777
1574
  };
1778
1575
  } | {
1779
1576
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -1781,17 +1578,208 @@ export declare const make: (options?: {
1781
1578
  readonly metadata?: {
1782
1579
  readonly [x: string]: unknown;
1783
1580
  } | undefined;
1784
- readonly type: "session.tool.progress";
1581
+ readonly type: "form.created";
1785
1582
  readonly location?: {
1786
1583
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1787
1584
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1788
1585
  } | undefined;
1789
1586
  readonly data: {
1790
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1791
- readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
1792
- readonly id: string;
1793
- readonly metadata: {
1794
- readonly [x: string]: Schema.Json;
1587
+ readonly form: {
1588
+ readonly id: string & import("effect/Brand").Brand<"Form.ID">;
1589
+ readonly sessionID: string;
1590
+ readonly title: string;
1591
+ readonly metadata?: {
1592
+ readonly [x: string]: unknown;
1593
+ } | undefined;
1594
+ readonly fields: readonly [{
1595
+ readonly key: string;
1596
+ readonly title?: string | undefined;
1597
+ readonly description?: string | undefined;
1598
+ readonly required?: boolean | undefined;
1599
+ readonly hidden?: boolean | undefined;
1600
+ readonly when?: readonly {
1601
+ readonly key: string;
1602
+ readonly op: "eq" | "neq";
1603
+ readonly value: string | number | boolean;
1604
+ }[] | undefined;
1605
+ readonly type: "string";
1606
+ readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
1607
+ readonly minLength?: number | undefined;
1608
+ readonly maxLength?: number | undefined;
1609
+ readonly pattern?: string | undefined;
1610
+ readonly placeholder?: string | undefined;
1611
+ readonly default?: string | undefined;
1612
+ readonly options?: readonly {
1613
+ readonly value: string;
1614
+ readonly label: string;
1615
+ readonly description?: string | undefined;
1616
+ }[] | undefined;
1617
+ readonly custom?: boolean | undefined;
1618
+ } | {
1619
+ readonly key: string;
1620
+ readonly title?: string | undefined;
1621
+ readonly description?: string | undefined;
1622
+ readonly required?: boolean | undefined;
1623
+ readonly hidden?: boolean | undefined;
1624
+ readonly when?: readonly {
1625
+ readonly key: string;
1626
+ readonly op: "eq" | "neq";
1627
+ readonly value: string | number | boolean;
1628
+ }[] | undefined;
1629
+ readonly type: "number";
1630
+ readonly minimum?: number | undefined;
1631
+ readonly maximum?: number | undefined;
1632
+ readonly default?: number | undefined;
1633
+ } | {
1634
+ readonly key: string;
1635
+ readonly title?: string | undefined;
1636
+ readonly description?: string | undefined;
1637
+ readonly required?: boolean | undefined;
1638
+ readonly hidden?: boolean | undefined;
1639
+ readonly when?: readonly {
1640
+ readonly key: string;
1641
+ readonly op: "eq" | "neq";
1642
+ readonly value: string | number | boolean;
1643
+ }[] | undefined;
1644
+ readonly type: "integer";
1645
+ readonly minimum?: number | undefined;
1646
+ readonly maximum?: number | undefined;
1647
+ readonly default?: number | undefined;
1648
+ } | {
1649
+ readonly key: string;
1650
+ readonly title?: string | undefined;
1651
+ readonly description?: string | undefined;
1652
+ readonly required?: boolean | undefined;
1653
+ readonly hidden?: boolean | undefined;
1654
+ readonly when?: readonly {
1655
+ readonly key: string;
1656
+ readonly op: "eq" | "neq";
1657
+ readonly value: string | number | boolean;
1658
+ }[] | undefined;
1659
+ readonly type: "boolean";
1660
+ readonly default?: boolean | undefined;
1661
+ } | {
1662
+ readonly key: string;
1663
+ readonly title?: string | undefined;
1664
+ readonly description?: string | undefined;
1665
+ readonly required?: boolean | undefined;
1666
+ readonly hidden?: boolean | undefined;
1667
+ readonly when?: readonly {
1668
+ readonly key: string;
1669
+ readonly op: "eq" | "neq";
1670
+ readonly value: string | number | boolean;
1671
+ }[] | undefined;
1672
+ readonly type: "multiselect";
1673
+ readonly options: readonly {
1674
+ readonly value: string;
1675
+ readonly label: string;
1676
+ readonly description?: string | undefined;
1677
+ }[];
1678
+ readonly minItems?: number | undefined;
1679
+ readonly maxItems?: number | undefined;
1680
+ readonly custom?: boolean | undefined;
1681
+ readonly default?: readonly string[] | undefined;
1682
+ } | {
1683
+ readonly key: string;
1684
+ readonly type: "external";
1685
+ readonly url: string;
1686
+ readonly title?: string | undefined;
1687
+ readonly description?: string | undefined;
1688
+ }, ...({
1689
+ readonly key: string;
1690
+ readonly title?: string | undefined;
1691
+ readonly description?: string | undefined;
1692
+ readonly required?: boolean | undefined;
1693
+ readonly hidden?: boolean | undefined;
1694
+ readonly when?: readonly {
1695
+ readonly key: string;
1696
+ readonly op: "eq" | "neq";
1697
+ readonly value: string | number | boolean;
1698
+ }[] | undefined;
1699
+ readonly type: "string";
1700
+ readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
1701
+ readonly minLength?: number | undefined;
1702
+ readonly maxLength?: number | undefined;
1703
+ readonly pattern?: string | undefined;
1704
+ readonly placeholder?: string | undefined;
1705
+ readonly default?: string | undefined;
1706
+ readonly options?: readonly {
1707
+ readonly value: string;
1708
+ readonly label: string;
1709
+ readonly description?: string | undefined;
1710
+ }[] | undefined;
1711
+ readonly custom?: boolean | undefined;
1712
+ } | {
1713
+ readonly key: string;
1714
+ readonly title?: string | undefined;
1715
+ readonly description?: string | undefined;
1716
+ readonly required?: boolean | undefined;
1717
+ readonly hidden?: boolean | undefined;
1718
+ readonly when?: readonly {
1719
+ readonly key: string;
1720
+ readonly op: "eq" | "neq";
1721
+ readonly value: string | number | boolean;
1722
+ }[] | undefined;
1723
+ readonly type: "number";
1724
+ readonly minimum?: number | undefined;
1725
+ readonly maximum?: number | undefined;
1726
+ readonly default?: number | undefined;
1727
+ } | {
1728
+ readonly key: string;
1729
+ readonly title?: string | undefined;
1730
+ readonly description?: string | undefined;
1731
+ readonly required?: boolean | undefined;
1732
+ readonly hidden?: boolean | undefined;
1733
+ readonly when?: readonly {
1734
+ readonly key: string;
1735
+ readonly op: "eq" | "neq";
1736
+ readonly value: string | number | boolean;
1737
+ }[] | undefined;
1738
+ readonly type: "integer";
1739
+ readonly minimum?: number | undefined;
1740
+ readonly maximum?: number | undefined;
1741
+ readonly default?: number | undefined;
1742
+ } | {
1743
+ readonly key: string;
1744
+ readonly title?: string | undefined;
1745
+ readonly description?: string | undefined;
1746
+ readonly required?: boolean | undefined;
1747
+ readonly hidden?: boolean | undefined;
1748
+ readonly when?: readonly {
1749
+ readonly key: string;
1750
+ readonly op: "eq" | "neq";
1751
+ readonly value: string | number | boolean;
1752
+ }[] | undefined;
1753
+ readonly type: "boolean";
1754
+ readonly default?: boolean | undefined;
1755
+ } | {
1756
+ readonly key: string;
1757
+ readonly title?: string | undefined;
1758
+ readonly description?: string | undefined;
1759
+ readonly required?: boolean | undefined;
1760
+ readonly hidden?: boolean | undefined;
1761
+ readonly when?: readonly {
1762
+ readonly key: string;
1763
+ readonly op: "eq" | "neq";
1764
+ readonly value: string | number | boolean;
1765
+ }[] | undefined;
1766
+ readonly type: "multiselect";
1767
+ readonly options: readonly {
1768
+ readonly value: string;
1769
+ readonly label: string;
1770
+ readonly description?: string | undefined;
1771
+ }[];
1772
+ readonly minItems?: number | undefined;
1773
+ readonly maxItems?: number | undefined;
1774
+ readonly custom?: boolean | undefined;
1775
+ readonly default?: readonly string[] | undefined;
1776
+ } | {
1777
+ readonly key: string;
1778
+ readonly type: "external";
1779
+ readonly url: string;
1780
+ readonly title?: string | undefined;
1781
+ readonly description?: string | undefined;
1782
+ })[]];
1795
1783
  };
1796
1784
  };
1797
1785
  } | {
@@ -1800,22 +1788,16 @@ export declare const make: (options?: {
1800
1788
  readonly metadata?: {
1801
1789
  readonly [x: string]: unknown;
1802
1790
  } | undefined;
1803
- readonly type: "session.usage.updated";
1791
+ readonly type: "form.replied";
1804
1792
  readonly location?: {
1805
1793
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1806
1794
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1807
1795
  } | undefined;
1808
1796
  readonly data: {
1809
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1810
- readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
1811
- readonly tokens: {
1812
- readonly input: number;
1813
- readonly output: number;
1814
- readonly reasoning: number;
1815
- readonly cache: {
1816
- readonly read: number;
1817
- readonly write: number;
1818
- };
1797
+ readonly id: string & import("effect/Brand").Brand<"Form.ID">;
1798
+ readonly sessionID: string;
1799
+ readonly answer: {
1800
+ readonly [x: string]: string | number | boolean | readonly string[];
1819
1801
  };
1820
1802
  };
1821
1803
  } | {
@@ -1824,33 +1806,27 @@ export declare const make: (options?: {
1824
1806
  readonly metadata?: {
1825
1807
  readonly [x: string]: unknown;
1826
1808
  } | undefined;
1827
- readonly type: "websearch.updated";
1809
+ readonly type: "installation.update-available";
1828
1810
  readonly location?: {
1829
1811
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1830
1812
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1831
1813
  } | undefined;
1832
- readonly data: {};
1814
+ readonly data: {
1815
+ readonly version: string;
1816
+ };
1833
1817
  } | {
1834
1818
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
1835
1819
  readonly created: number;
1836
1820
  readonly metadata?: {
1837
1821
  readonly [x: string]: unknown;
1838
1822
  } | undefined;
1839
- readonly type: "worktree.resolved";
1840
- readonly durable: {
1841
- readonly aggregateID: string;
1842
- readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
1843
- readonly version: number & import("effect/Brand").Brand<"Event.Version">;
1844
- };
1823
+ readonly type: "installation.updated";
1845
1824
  readonly location?: {
1846
1825
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1847
1826
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1848
1827
  } | undefined;
1849
1828
  readonly data: {
1850
- readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
1851
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1852
- readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
1853
- readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
1829
+ readonly version: string;
1854
1830
  };
1855
1831
  } | {
1856
1832
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -1858,13 +1834,37 @@ export declare const make: (options?: {
1858
1834
  readonly metadata?: {
1859
1835
  readonly [x: string]: unknown;
1860
1836
  } | undefined;
1861
- readonly type: "worktree.updated";
1837
+ readonly type: "integration.updated";
1838
+ readonly location?: {
1839
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1840
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1841
+ } | undefined;
1842
+ readonly data: {};
1843
+ } | {
1844
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
1845
+ readonly created: number;
1846
+ readonly metadata?: {
1847
+ readonly [x: string]: unknown;
1848
+ } | undefined;
1849
+ readonly type: "location.shutdown";
1850
+ readonly location?: {
1851
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1852
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1853
+ } | undefined;
1854
+ readonly data: {};
1855
+ } | {
1856
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
1857
+ readonly created: number;
1858
+ readonly metadata?: {
1859
+ readonly [x: string]: unknown;
1860
+ } | undefined;
1861
+ readonly type: "mcp.resources.changed";
1862
1862
  readonly location?: {
1863
1863
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1864
1864
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1865
1865
  } | undefined;
1866
1866
  readonly data: {
1867
- readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
1867
+ readonly server: string;
1868
1868
  };
1869
1869
  } | {
1870
1870
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -1872,22 +1872,13 @@ export declare const make: (options?: {
1872
1872
  readonly metadata?: {
1873
1873
  readonly [x: string]: unknown;
1874
1874
  } | undefined;
1875
- readonly type: "pty.created";
1875
+ readonly type: "mcp.status.changed";
1876
1876
  readonly location?: {
1877
1877
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1878
1878
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1879
1879
  } | undefined;
1880
1880
  readonly data: {
1881
- readonly info: {
1882
- readonly id: string & import("effect/Brand").Brand<"PtyID">;
1883
- readonly title: string;
1884
- readonly command: string;
1885
- readonly args: readonly string[];
1886
- readonly cwd: string;
1887
- readonly status: "exited" | "running";
1888
- readonly pid: number;
1889
- readonly exitCode?: number | undefined;
1890
- };
1881
+ readonly server: string;
1891
1882
  };
1892
1883
  } | {
1893
1884
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -1895,13 +1886,50 @@ export declare const make: (options?: {
1895
1886
  readonly metadata?: {
1896
1887
  readonly [x: string]: unknown;
1897
1888
  } | undefined;
1898
- readonly type: "pty.deleted";
1889
+ readonly type: "model.updated";
1890
+ readonly location?: {
1891
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1892
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1893
+ } | undefined;
1894
+ readonly data: {};
1895
+ } | {
1896
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
1897
+ readonly created: number;
1898
+ readonly metadata?: {
1899
+ readonly [x: string]: unknown;
1900
+ } | undefined;
1901
+ readonly type: "models-dev.refreshed";
1902
+ readonly location?: {
1903
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1904
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1905
+ } | undefined;
1906
+ readonly data: {};
1907
+ } | {
1908
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
1909
+ readonly created: number;
1910
+ readonly metadata?: {
1911
+ readonly [x: string]: unknown;
1912
+ } | undefined;
1913
+ readonly type: "permission.asked";
1899
1914
  readonly location?: {
1900
1915
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1901
1916
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1902
1917
  } | undefined;
1903
1918
  readonly data: {
1904
- readonly id: string & import("effect/Brand").Brand<"PtyID">;
1919
+ readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1920
+ readonly action: string;
1921
+ readonly resources: readonly string[];
1922
+ readonly save?: readonly string[] | undefined;
1923
+ readonly metadata?: {
1924
+ readonly [x: string]: unknown;
1925
+ } | undefined;
1926
+ readonly source?: {
1927
+ readonly type: "tool";
1928
+ readonly messageID: string;
1929
+ readonly id: string;
1930
+ } | undefined;
1931
+ readonly message?: string | undefined;
1932
+ readonly id: string & import("effect/Brand").Brand<"Permission.ID">;
1905
1933
  };
1906
1934
  } | {
1907
1935
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -1909,14 +1937,15 @@ export declare const make: (options?: {
1909
1937
  readonly metadata?: {
1910
1938
  readonly [x: string]: unknown;
1911
1939
  } | undefined;
1912
- readonly type: "pty.exited";
1940
+ readonly type: "permission.replied";
1913
1941
  readonly location?: {
1914
1942
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1915
1943
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1916
1944
  } | undefined;
1917
1945
  readonly data: {
1918
- readonly id: string & import("effect/Brand").Brand<"PtyID">;
1919
- readonly exitCode: number;
1946
+ readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1947
+ readonly requestID: string & import("effect/Brand").Brand<"Permission.ID">;
1948
+ readonly reply: "always" | "once" | "reject";
1920
1949
  };
1921
1950
  } | {
1922
1951
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -1924,13 +1953,14 @@ export declare const make: (options?: {
1924
1953
  readonly metadata?: {
1925
1954
  readonly [x: string]: unknown;
1926
1955
  } | undefined;
1927
- readonly type: "pty.updated";
1956
+ readonly type: "persistent-pty.added";
1928
1957
  readonly location?: {
1929
1958
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1930
1959
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1931
1960
  } | undefined;
1932
1961
  readonly data: {
1933
- readonly info: {
1962
+ readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1963
+ readonly terminal: {
1934
1964
  readonly id: string & import("effect/Brand").Brand<"PtyID">;
1935
1965
  readonly title: string;
1936
1966
  readonly command: string;
@@ -1939,6 +1969,16 @@ export declare const make: (options?: {
1939
1969
  readonly status: "exited" | "running";
1940
1970
  readonly pid: number;
1941
1971
  readonly exitCode?: number | undefined;
1972
+ readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1973
+ readonly foregroundProcess: string | null;
1974
+ readonly size: {
1975
+ readonly cols: number;
1976
+ readonly rows: number;
1977
+ };
1978
+ readonly output: {
1979
+ readonly head: number;
1980
+ readonly tail: number;
1981
+ };
1942
1982
  };
1943
1983
  };
1944
1984
  } | {
@@ -1947,19 +1987,22 @@ export declare const make: (options?: {
1947
1987
  readonly metadata?: {
1948
1988
  readonly [x: string]: unknown;
1949
1989
  } | undefined;
1950
- readonly type: "location.shutdown";
1990
+ readonly type: "persistent-pty.removed";
1951
1991
  readonly location?: {
1952
1992
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1953
1993
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1954
1994
  } | undefined;
1955
- readonly data: {};
1995
+ readonly data: {
1996
+ readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1997
+ readonly ptyID: string & import("effect/Brand").Brand<"PtyID">;
1998
+ };
1956
1999
  } | {
1957
2000
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
1958
2001
  readonly created: number;
1959
2002
  readonly metadata?: {
1960
2003
  readonly [x: string]: unknown;
1961
2004
  } | undefined;
1962
- readonly type: "models-dev.refreshed";
2005
+ readonly type: "plugin.updated";
1963
2006
  readonly location?: {
1964
2007
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1965
2008
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
@@ -1971,14 +2014,31 @@ export declare const make: (options?: {
1971
2014
  readonly metadata?: {
1972
2015
  readonly [x: string]: unknown;
1973
2016
  } | undefined;
1974
- readonly type: "credential.switched";
2017
+ readonly type: "project.updated";
1975
2018
  readonly location?: {
1976
2019
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1977
2020
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1978
2021
  } | undefined;
1979
2022
  readonly data: {
1980
- readonly integrationID: string & import("effect/Brand").Brand<"Integration.ID">;
1981
- readonly credentialID: (string & import("effect/Brand").Brand<"Credential.ID">) | null;
2023
+ readonly id: string & import("effect/Brand").Brand<"Project.ID">;
2024
+ readonly canonical: string & import("effect/Brand").Brand<"AbsolutePath">;
2025
+ readonly vcs?: string | undefined;
2026
+ readonly name?: string | undefined;
2027
+ readonly icon?: {
2028
+ readonly url?: string | undefined;
2029
+ readonly override?: string | undefined;
2030
+ readonly color?: string | undefined;
2031
+ } | undefined;
2032
+ readonly commands?: {
2033
+ readonly start?: string | undefined;
2034
+ } | undefined;
2035
+ readonly time: {
2036
+ readonly created: number;
2037
+ readonly updated: number;
2038
+ readonly active: number;
2039
+ readonly archived?: number | undefined;
2040
+ };
2041
+ readonly sandboxes: readonly string[];
1982
2042
  };
1983
2043
  } | {
1984
2044
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -1986,7 +2046,7 @@ export declare const make: (options?: {
1986
2046
  readonly metadata?: {
1987
2047
  readonly [x: string]: unknown;
1988
2048
  } | undefined;
1989
- readonly type: "credential.updated";
2049
+ readonly type: "provider.updated";
1990
2050
  readonly location?: {
1991
2051
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1992
2052
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
@@ -1998,50 +2058,74 @@ export declare const make: (options?: {
1998
2058
  readonly metadata?: {
1999
2059
  readonly [x: string]: unknown;
2000
2060
  } | undefined;
2001
- readonly type: "integration.updated";
2061
+ readonly type: "pty.created";
2002
2062
  readonly location?: {
2003
2063
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2004
2064
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2005
2065
  } | undefined;
2006
- readonly data: {};
2066
+ readonly data: {
2067
+ readonly info: {
2068
+ readonly id: string & import("effect/Brand").Brand<"PtyID">;
2069
+ readonly title: string;
2070
+ readonly command: string;
2071
+ readonly args: readonly string[];
2072
+ readonly cwd: string;
2073
+ readonly status: "exited" | "running";
2074
+ readonly pid: number;
2075
+ readonly exitCode?: number | undefined;
2076
+ };
2077
+ };
2007
2078
  } | {
2008
2079
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2009
2080
  readonly created: number;
2010
2081
  readonly metadata?: {
2011
2082
  readonly [x: string]: unknown;
2012
2083
  } | undefined;
2013
- readonly type: "provider.updated";
2084
+ readonly type: "pty.deleted";
2014
2085
  readonly location?: {
2015
2086
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2016
2087
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2017
2088
  } | undefined;
2018
- readonly data: {};
2089
+ readonly data: {
2090
+ readonly id: string & import("effect/Brand").Brand<"PtyID">;
2091
+ };
2019
2092
  } | {
2020
2093
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2021
2094
  readonly created: number;
2022
2095
  readonly metadata?: {
2023
2096
  readonly [x: string]: unknown;
2024
2097
  } | undefined;
2025
- readonly type: "model.updated";
2098
+ readonly type: "pty.exited";
2026
2099
  readonly location?: {
2027
2100
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2028
2101
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2029
2102
  } | undefined;
2030
- readonly data: {};
2103
+ readonly data: {
2104
+ readonly id: string & import("effect/Brand").Brand<"PtyID">;
2105
+ readonly exitCode: number;
2106
+ };
2031
2107
  } | {
2032
2108
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2033
2109
  readonly created: number;
2034
2110
  readonly metadata?: {
2035
2111
  readonly [x: string]: unknown;
2036
2112
  } | undefined;
2037
- readonly type: "filesystem.changed";
2113
+ readonly type: "pty.updated";
2038
2114
  readonly location?: {
2039
2115
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2040
2116
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2041
2117
  } | undefined;
2042
2118
  readonly data: {
2043
- readonly file: string;
2044
- readonly event: "add" | "change" | "unlink";
2119
+ readonly info: {
2120
+ readonly id: string & import("effect/Brand").Brand<"PtyID">;
2121
+ readonly title: string;
2122
+ readonly command: string;
2123
+ readonly args: readonly string[];
2124
+ readonly cwd: string;
2125
+ readonly status: "exited" | "running";
2126
+ readonly pid: number;
2127
+ readonly exitCode?: number | undefined;
2128
+ };
2045
2129
  };
2046
2130
  } | {
2047
2131
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -2061,26 +2145,14 @@ export declare const make: (options?: {
2061
2145
  readonly metadata?: {
2062
2146
  readonly [x: string]: unknown;
2063
2147
  } | undefined;
2064
- readonly type: "permission.asked";
2148
+ readonly type: "session.compaction.delta";
2065
2149
  readonly location?: {
2066
2150
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2067
2151
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2068
2152
  } | undefined;
2069
2153
  readonly data: {
2070
2154
  readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
2071
- readonly action: string;
2072
- readonly resources: readonly string[];
2073
- readonly save?: readonly string[] | undefined;
2074
- readonly metadata?: {
2075
- readonly [x: string]: unknown;
2076
- } | undefined;
2077
- readonly source?: {
2078
- readonly type: "tool";
2079
- readonly messageID: string;
2080
- readonly id: string;
2081
- } | undefined;
2082
- readonly message?: string | undefined;
2083
- readonly id: string & import("effect/Brand").Brand<"Permission.ID">;
2155
+ readonly text: string;
2084
2156
  };
2085
2157
  } | {
2086
2158
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -2088,15 +2160,13 @@ export declare const make: (options?: {
2088
2160
  readonly metadata?: {
2089
2161
  readonly [x: string]: unknown;
2090
2162
  } | undefined;
2091
- readonly type: "permission.replied";
2163
+ readonly type: "session.idle";
2092
2164
  readonly location?: {
2093
2165
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2094
2166
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2095
2167
  } | undefined;
2096
2168
  readonly data: {
2097
2169
  readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
2098
- readonly requestID: string & import("effect/Brand").Brand<"Permission.ID">;
2099
- readonly reply: "always" | "once" | "reject";
2100
2170
  };
2101
2171
  } | {
2102
2172
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -2104,43 +2174,48 @@ export declare const make: (options?: {
2104
2174
  readonly metadata?: {
2105
2175
  readonly [x: string]: unknown;
2106
2176
  } | undefined;
2107
- readonly type: "plugin.updated";
2177
+ readonly type: "session.reasoning.delta";
2108
2178
  readonly location?: {
2109
2179
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2110
2180
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2111
2181
  } | undefined;
2112
- readonly data: {};
2182
+ readonly data: {
2183
+ readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
2184
+ readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
2185
+ readonly ordinal: number;
2186
+ readonly delta: string;
2187
+ };
2113
2188
  } | {
2114
2189
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2115
2190
  readonly created: number;
2116
2191
  readonly metadata?: {
2117
2192
  readonly [x: string]: unknown;
2118
2193
  } | undefined;
2119
- readonly type: "project.updated";
2194
+ readonly type: "session.status";
2120
2195
  readonly location?: {
2121
2196
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2122
2197
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2123
2198
  } | undefined;
2124
2199
  readonly data: {
2125
- readonly id: string & import("effect/Brand").Brand<"Project.ID">;
2126
- readonly canonical: string & import("effect/Brand").Brand<"AbsolutePath">;
2127
- readonly vcs?: string | undefined;
2128
- readonly name?: string | undefined;
2129
- readonly icon?: {
2130
- readonly url?: string | undefined;
2131
- readonly override?: string | undefined;
2132
- readonly color?: string | undefined;
2133
- } | undefined;
2134
- readonly commands?: {
2135
- readonly start?: string | undefined;
2136
- } | undefined;
2137
- readonly time: {
2138
- readonly created: number;
2139
- readonly updated: number;
2140
- readonly active: number;
2141
- readonly archived?: number | undefined;
2200
+ readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
2201
+ readonly status: {
2202
+ readonly type: "idle";
2203
+ } | {
2204
+ readonly type: "busy";
2205
+ } | {
2206
+ readonly type: "retry";
2207
+ readonly attempt: number;
2208
+ readonly message: string;
2209
+ readonly action?: {
2210
+ readonly reason: string;
2211
+ readonly provider: string;
2212
+ readonly title: string;
2213
+ readonly message: string;
2214
+ readonly label: string;
2215
+ readonly link?: string | undefined;
2216
+ } | undefined;
2217
+ readonly next: number;
2142
2218
  };
2143
- readonly sandboxes: readonly string[];
2144
2219
  };
2145
2220
  } | {
2146
2221
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -2148,68 +2223,51 @@ export declare const make: (options?: {
2148
2223
  readonly metadata?: {
2149
2224
  readonly [x: string]: unknown;
2150
2225
  } | undefined;
2151
- readonly type: "command.updated";
2152
- readonly location?: {
2153
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2154
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2155
- } | undefined;
2156
- readonly data: {};
2157
- } | {
2158
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2159
- readonly created: number;
2160
- readonly metadata?: {
2161
- readonly [x: string]: unknown;
2162
- } | undefined;
2163
- readonly type: "config.updated";
2226
+ readonly type: "session.text.delta";
2164
2227
  readonly location?: {
2165
2228
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2166
2229
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2167
2230
  } | undefined;
2168
- readonly data: {};
2231
+ readonly data: {
2232
+ readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
2233
+ readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
2234
+ readonly ordinal: number;
2235
+ readonly delta: string;
2236
+ };
2169
2237
  } | {
2170
2238
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2171
2239
  readonly created: number;
2172
2240
  readonly metadata?: {
2173
2241
  readonly [x: string]: unknown;
2174
2242
  } | undefined;
2175
- readonly type: "skill.updated";
2243
+ readonly type: "session.tool.input.delta";
2176
2244
  readonly location?: {
2177
2245
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2178
2246
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2179
2247
  } | undefined;
2180
- readonly data: {};
2248
+ readonly data: {
2249
+ readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
2250
+ readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
2251
+ readonly id: string;
2252
+ readonly delta: string;
2253
+ };
2181
2254
  } | {
2182
2255
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2183
2256
  readonly created: number;
2184
2257
  readonly metadata?: {
2185
2258
  readonly [x: string]: unknown;
2186
2259
  } | undefined;
2187
- readonly type: "persistent-pty.added";
2260
+ readonly type: "session.tool.progress";
2188
2261
  readonly location?: {
2189
2262
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2190
2263
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2191
2264
  } | undefined;
2192
2265
  readonly data: {
2193
2266
  readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
2194
- readonly terminal: {
2195
- readonly id: string & import("effect/Brand").Brand<"PtyID">;
2196
- readonly title: string;
2197
- readonly command: string;
2198
- readonly args: readonly string[];
2199
- readonly cwd: string;
2200
- readonly status: "exited" | "running";
2201
- readonly pid: number;
2202
- readonly exitCode?: number | undefined;
2203
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
2204
- readonly foregroundProcess: string | null;
2205
- readonly size: {
2206
- readonly cols: number;
2207
- readonly rows: number;
2208
- };
2209
- readonly output: {
2210
- readonly head: number;
2211
- readonly tail: number;
2212
- };
2267
+ readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
2268
+ readonly id: string;
2269
+ readonly metadata: {
2270
+ readonly [x: string]: Schema.Json;
2213
2271
  };
2214
2272
  };
2215
2273
  } | {
@@ -2218,14 +2276,23 @@ export declare const make: (options?: {
2218
2276
  readonly metadata?: {
2219
2277
  readonly [x: string]: unknown;
2220
2278
  } | undefined;
2221
- readonly type: "persistent-pty.removed";
2279
+ readonly type: "session.usage.updated";
2222
2280
  readonly location?: {
2223
2281
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2224
2282
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2225
2283
  } | undefined;
2226
2284
  readonly data: {
2227
2285
  readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
2228
- readonly ptyID: string & import("effect/Brand").Brand<"PtyID">;
2286
+ readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
2287
+ readonly tokens: {
2288
+ readonly input: number;
2289
+ readonly output: number;
2290
+ readonly reasoning: number;
2291
+ readonly cache: {
2292
+ readonly read: number;
2293
+ readonly write: number;
2294
+ };
2295
+ };
2229
2296
  };
2230
2297
  } | {
2231
2298
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -2294,46 +2361,12 @@ export declare const make: (options?: {
2294
2361
  readonly metadata?: {
2295
2362
  readonly [x: string]: unknown;
2296
2363
  } | undefined;
2297
- readonly type: "session.idle";
2298
- readonly location?: {
2299
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2300
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2301
- } | undefined;
2302
- readonly data: {
2303
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
2304
- };
2305
- } | {
2306
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2307
- readonly created: number;
2308
- readonly metadata?: {
2309
- readonly [x: string]: unknown;
2310
- } | undefined;
2311
- readonly type: "session.status";
2364
+ readonly type: "skill.updated";
2312
2365
  readonly location?: {
2313
2366
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2314
2367
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2315
2368
  } | undefined;
2316
- readonly data: {
2317
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
2318
- readonly status: {
2319
- readonly type: "idle";
2320
- } | {
2321
- readonly type: "retry";
2322
- readonly attempt: number;
2323
- readonly message: string;
2324
- readonly action?: {
2325
- readonly reason: string;
2326
- readonly provider: string;
2327
- readonly title: string;
2328
- readonly message: string;
2329
- readonly label: string;
2330
- readonly link?: string | undefined;
2331
- } | undefined;
2332
- readonly next: number;
2333
- } | {
2334
- readonly type: "busy";
2335
- };
2336
- };
2369
+ readonly data: {};
2337
2370
  } | {
2338
2371
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2339
2372
  readonly created: number;
@@ -2393,34 +2426,6 @@ export declare const make: (options?: {
2393
2426
  readonly variant: "error" | "info" | "success" | "warning";
2394
2427
  readonly duration: number;
2395
2428
  };
2396
- } | {
2397
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2398
- readonly created: number;
2399
- readonly metadata?: {
2400
- readonly [x: string]: unknown;
2401
- } | undefined;
2402
- readonly type: "installation.update-available";
2403
- readonly location?: {
2404
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2405
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2406
- } | undefined;
2407
- readonly data: {
2408
- readonly version: string;
2409
- };
2410
- } | {
2411
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2412
- readonly created: number;
2413
- readonly metadata?: {
2414
- readonly [x: string]: unknown;
2415
- } | undefined;
2416
- readonly type: "installation.updated";
2417
- readonly location?: {
2418
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2419
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2420
- } | undefined;
2421
- readonly data: {
2422
- readonly version: string;
2423
- };
2424
2429
  } | {
2425
2430
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2426
2431
  readonly created: number;
@@ -2441,27 +2446,25 @@ export declare const make: (options?: {
2441
2446
  readonly metadata?: {
2442
2447
  readonly [x: string]: unknown;
2443
2448
  } | undefined;
2444
- readonly type: "mcp.resources.changed";
2449
+ readonly type: "websearch.updated";
2445
2450
  readonly location?: {
2446
2451
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2447
2452
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2448
2453
  } | undefined;
2449
- readonly data: {
2450
- readonly server: string;
2451
- };
2454
+ readonly data: {};
2452
2455
  } | {
2453
2456
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2454
2457
  readonly created: number;
2455
2458
  readonly metadata?: {
2456
2459
  readonly [x: string]: unknown;
2457
2460
  } | undefined;
2458
- readonly type: "mcp.status.changed";
2461
+ readonly type: "worktree.updated";
2459
2462
  readonly location?: {
2460
2463
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2461
2464
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2462
2465
  } | undefined;
2463
2466
  readonly data: {
2464
- readonly server: string;
2467
+ readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
2465
2468
  };
2466
2469
  } | {
2467
2470
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -2542,6 +2545,7 @@ export declare const make: (options?: {
2542
2545
  diff: (input: VcsDiffInput) => Effect.Effect<VcsDiffOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
2543
2546
  };
2544
2547
  debug: {
2548
+ heapDump: (input?: DebugHeapDumpInput) => Effect.Effect<DebugHeapDumpOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnknownError, never>;
2545
2549
  location: {
2546
2550
  list: () => Effect.Effect<DebugLocationListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
2547
2551
  evict: (input?: DebugLocationEvictInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;