@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.
Files changed (65) hide show
  1. package/dist/chunks/{service-probe-65kht65h.js → contract-15p82y03.js} +2 -2
  2. package/dist/chunks/{service-probe-61wt4y9h.js → contract-1x65x4hv.js} +15 -20
  3. package/dist/chunks/{service-probe-2ny4vxct.js → contract-2ny4vxct.js} +2 -2
  4. package/dist/chunks/{service-probe-frbwqjmf.js → contract-8bbb028w.js} +1 -1
  5. package/dist/chunks/{service-probe-032v66at.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-ggt8t74w.js → contract-hg9t2gnm.js} +5 -5
  8. package/dist/chunks/{service-probe-t1xa31vm.js → contract-ryy6kscr.js} +1 -1
  9. package/dist/chunks/{service-probe-77ntr0t0.js → contract-s2hya144.js} +37 -3
  10. package/dist/chunks/{service-probe-6vp15eh6.js → contract-skhp7hxc.js} +1 -1
  11. package/dist/chunks/{service-probe-k9g6n5n1.js → contract-vwtmm97t.js} +4 -4
  12. package/dist/chunks/{service-probe-gbq9x9x6.js → contract-w10x3kfx.js} +21 -5
  13. package/dist/contract.js +1 -1
  14. package/dist/effect/api/api.d.ts +55 -1
  15. package/dist/effect/client.d.ts +791 -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 +491 -485
  19. package/dist/effect/generated/client.js +3 -3
  20. package/dist/effect/generated/index.js +4 -4
  21. package/dist/effect/index.js +8 -8
  22. package/dist/effect/rpc.js +2 -2
  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 +12 -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 +13 -1
  31. package/dist/promise/generated/client.js +2 -2
  32. package/dist/promise/generated/index.js +9 -9
  33. package/dist/promise/generated/types.d.ts +75 -9
  34. package/dist/promise/generated/types.js +2 -2
  35. package/dist/promise/index.js +11 -11
  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 +13 -7
  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, VoiceSessionInput, VoiceSessionOutput, 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;
@@ -92,7 +92,9 @@ export declare const make: (options?: {
92
92
  text: (input: GenerateTextInput) => Effect.Effect<GenerateTextOutput, 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>;
93
93
  };
94
94
  voice: {
95
+ models: () => Effect.Effect<VoiceModelsOutput, 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>;
95
96
  session: (input: VoiceSessionInput) => Effect.Effect<VoiceSessionOutput, 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>;
97
+ instructions: (input: VoiceInstructionsInput) => Effect.Effect<void, 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>;
96
98
  };
97
99
  provider: {
98
100
  list: (input?: ProviderListInput) => Effect.Effect<ProviderListOutput, 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>;
@@ -129,6 +131,9 @@ export declare const make: (options?: {
129
131
  resource: {
130
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>;
131
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
+ };
132
137
  };
133
138
  credential: {
134
139
  list: () => Effect.Effect<CredentialListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
@@ -173,261 +178,6 @@ export declare const make: (options?: {
173
178
  };
174
179
  event: {
175
180
  subscribe: () => Stream.Stream<{
176
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
177
- readonly created: number;
178
- readonly metadata?: {
179
- readonly [x: string]: unknown;
180
- } | undefined;
181
- readonly type: "form.cancelled";
182
- readonly location?: {
183
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
184
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
185
- } | undefined;
186
- readonly data: {
187
- readonly id: string & import("effect/Brand").Brand<"Form.ID">;
188
- readonly sessionID: string;
189
- };
190
- } | {
191
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
192
- readonly created: number;
193
- readonly metadata?: {
194
- readonly [x: string]: unknown;
195
- } | undefined;
196
- readonly type: "form.created";
197
- readonly location?: {
198
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
199
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
200
- } | undefined;
201
- readonly data: {
202
- readonly form: {
203
- readonly id: string & import("effect/Brand").Brand<"Form.ID">;
204
- readonly sessionID: string;
205
- readonly title: string;
206
- readonly metadata?: {
207
- readonly [x: string]: unknown;
208
- } | undefined;
209
- readonly fields: readonly [{
210
- readonly key: string;
211
- readonly title?: string | undefined;
212
- readonly description?: string | undefined;
213
- readonly required?: boolean | undefined;
214
- readonly hidden?: boolean | undefined;
215
- readonly when?: readonly {
216
- readonly key: string;
217
- readonly op: "eq" | "neq";
218
- readonly value: string | number | boolean;
219
- }[] | undefined;
220
- readonly type: "string";
221
- readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
222
- readonly minLength?: number | undefined;
223
- readonly maxLength?: number | undefined;
224
- readonly pattern?: string | undefined;
225
- readonly placeholder?: string | undefined;
226
- readonly default?: string | undefined;
227
- readonly options?: readonly {
228
- readonly value: string;
229
- readonly label: string;
230
- readonly description?: string | undefined;
231
- }[] | undefined;
232
- readonly custom?: boolean | undefined;
233
- } | {
234
- readonly key: string;
235
- readonly title?: string | undefined;
236
- readonly description?: string | undefined;
237
- readonly required?: boolean | undefined;
238
- readonly hidden?: boolean | undefined;
239
- readonly when?: readonly {
240
- readonly key: string;
241
- readonly op: "eq" | "neq";
242
- readonly value: string | number | boolean;
243
- }[] | undefined;
244
- readonly type: "number";
245
- readonly minimum?: number | undefined;
246
- readonly maximum?: number | undefined;
247
- readonly default?: number | undefined;
248
- } | {
249
- readonly key: string;
250
- readonly title?: string | undefined;
251
- readonly description?: string | undefined;
252
- readonly required?: boolean | undefined;
253
- readonly hidden?: boolean | undefined;
254
- readonly when?: readonly {
255
- readonly key: string;
256
- readonly op: "eq" | "neq";
257
- readonly value: string | number | boolean;
258
- }[] | undefined;
259
- readonly type: "integer";
260
- readonly minimum?: number | undefined;
261
- readonly maximum?: number | undefined;
262
- readonly default?: number | undefined;
263
- } | {
264
- readonly key: string;
265
- readonly title?: string | undefined;
266
- readonly description?: string | undefined;
267
- readonly required?: boolean | undefined;
268
- readonly hidden?: boolean | undefined;
269
- readonly when?: readonly {
270
- readonly key: string;
271
- readonly op: "eq" | "neq";
272
- readonly value: string | number | boolean;
273
- }[] | undefined;
274
- readonly type: "boolean";
275
- readonly default?: boolean | undefined;
276
- } | {
277
- readonly key: string;
278
- readonly title?: string | undefined;
279
- readonly description?: string | undefined;
280
- readonly required?: boolean | undefined;
281
- readonly hidden?: boolean | undefined;
282
- readonly when?: readonly {
283
- readonly key: string;
284
- readonly op: "eq" | "neq";
285
- readonly value: string | number | boolean;
286
- }[] | undefined;
287
- readonly type: "multiselect";
288
- readonly options: readonly {
289
- readonly value: string;
290
- readonly label: string;
291
- readonly description?: string | undefined;
292
- }[];
293
- readonly minItems?: number | undefined;
294
- readonly maxItems?: number | undefined;
295
- readonly custom?: boolean | undefined;
296
- readonly default?: readonly string[] | undefined;
297
- } | {
298
- readonly key: string;
299
- readonly type: "external";
300
- readonly url: string;
301
- readonly title?: string | undefined;
302
- readonly description?: string | undefined;
303
- }, ...({
304
- readonly key: string;
305
- readonly title?: string | undefined;
306
- readonly description?: string | undefined;
307
- readonly required?: boolean | undefined;
308
- readonly hidden?: boolean | undefined;
309
- readonly when?: readonly {
310
- readonly key: string;
311
- readonly op: "eq" | "neq";
312
- readonly value: string | number | boolean;
313
- }[] | undefined;
314
- readonly type: "string";
315
- readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
316
- readonly minLength?: number | undefined;
317
- readonly maxLength?: number | undefined;
318
- readonly pattern?: string | undefined;
319
- readonly placeholder?: string | undefined;
320
- readonly default?: string | undefined;
321
- readonly options?: readonly {
322
- readonly value: string;
323
- readonly label: string;
324
- readonly description?: string | undefined;
325
- }[] | undefined;
326
- readonly custom?: boolean | undefined;
327
- } | {
328
- readonly key: string;
329
- readonly title?: string | undefined;
330
- readonly description?: string | undefined;
331
- readonly required?: boolean | undefined;
332
- readonly hidden?: boolean | undefined;
333
- readonly when?: readonly {
334
- readonly key: string;
335
- readonly op: "eq" | "neq";
336
- readonly value: string | number | boolean;
337
- }[] | undefined;
338
- readonly type: "number";
339
- readonly minimum?: number | undefined;
340
- readonly maximum?: number | undefined;
341
- readonly default?: number | undefined;
342
- } | {
343
- readonly key: string;
344
- readonly title?: string | undefined;
345
- readonly description?: string | undefined;
346
- readonly required?: boolean | undefined;
347
- readonly hidden?: boolean | undefined;
348
- readonly when?: readonly {
349
- readonly key: string;
350
- readonly op: "eq" | "neq";
351
- readonly value: string | number | boolean;
352
- }[] | undefined;
353
- readonly type: "integer";
354
- readonly minimum?: number | undefined;
355
- readonly maximum?: number | undefined;
356
- readonly default?: number | undefined;
357
- } | {
358
- readonly key: string;
359
- readonly title?: string | undefined;
360
- readonly description?: string | undefined;
361
- readonly required?: boolean | undefined;
362
- readonly hidden?: boolean | undefined;
363
- readonly when?: readonly {
364
- readonly key: string;
365
- readonly op: "eq" | "neq";
366
- readonly value: string | number | boolean;
367
- }[] | undefined;
368
- readonly type: "boolean";
369
- readonly default?: boolean | undefined;
370
- } | {
371
- readonly key: string;
372
- readonly title?: string | undefined;
373
- readonly description?: string | undefined;
374
- readonly required?: boolean | undefined;
375
- readonly hidden?: boolean | undefined;
376
- readonly when?: readonly {
377
- readonly key: string;
378
- readonly op: "eq" | "neq";
379
- readonly value: string | number | boolean;
380
- }[] | undefined;
381
- readonly type: "multiselect";
382
- readonly options: readonly {
383
- readonly value: string;
384
- readonly label: string;
385
- readonly description?: string | undefined;
386
- }[];
387
- readonly minItems?: number | undefined;
388
- readonly maxItems?: number | undefined;
389
- readonly custom?: boolean | undefined;
390
- readonly default?: readonly string[] | undefined;
391
- } | {
392
- readonly key: string;
393
- readonly type: "external";
394
- readonly url: string;
395
- readonly title?: string | undefined;
396
- readonly description?: string | undefined;
397
- })[]];
398
- };
399
- };
400
- } | {
401
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
402
- readonly created: number;
403
- readonly metadata?: {
404
- readonly [x: string]: unknown;
405
- } | undefined;
406
- readonly type: "form.replied";
407
- readonly location?: {
408
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
409
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
410
- } | undefined;
411
- readonly data: {
412
- readonly id: string & import("effect/Brand").Brand<"Form.ID">;
413
- readonly sessionID: string;
414
- readonly answer: {
415
- readonly [x: string]: string | number | boolean | readonly string[];
416
- };
417
- };
418
- } | {
419
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
420
- readonly created: number;
421
- readonly metadata?: {
422
- readonly [x: string]: unknown;
423
- } | undefined;
424
- readonly type: "agent.updated";
425
- readonly location?: {
426
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
427
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
428
- } | undefined;
429
- readonly data: {};
430
- } | {
431
181
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
432
182
  readonly created: number;
433
183
  readonly metadata?: {
@@ -1713,14 +1463,21 @@ export declare const make: (options?: {
1713
1463
  readonly metadata?: {
1714
1464
  readonly [x: string]: unknown;
1715
1465
  } | undefined;
1716
- 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
+ };
1717
1472
  readonly location?: {
1718
1473
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1719
1474
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1720
1475
  } | undefined;
1721
1476
  readonly data: {
1722
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1723
- 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;
1724
1481
  };
1725
1482
  } | {
1726
1483
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -1728,16 +1485,50 @@ export declare const make: (options?: {
1728
1485
  readonly metadata?: {
1729
1486
  readonly [x: string]: unknown;
1730
1487
  } | undefined;
1731
- 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";
1732
1525
  readonly location?: {
1733
1526
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1734
1527
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1735
1528
  } | undefined;
1736
1529
  readonly data: {
1737
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1738
- readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
1739
- readonly ordinal: number;
1740
- readonly delta: string;
1530
+ readonly integrationID: string & import("effect/Brand").Brand<"Integration.ID">;
1531
+ readonly credentialID: (string & import("effect/Brand").Brand<"Credential.ID">) | null;
1741
1532
  };
1742
1533
  } | {
1743
1534
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -1745,16 +1536,26 @@ export declare const make: (options?: {
1745
1536
  readonly metadata?: {
1746
1537
  readonly [x: string]: unknown;
1747
1538
  } | undefined;
1748
- 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";
1749
1552
  readonly location?: {
1750
1553
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1751
1554
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1752
1555
  } | undefined;
1753
1556
  readonly data: {
1754
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1755
- readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
1756
- readonly ordinal: number;
1757
- readonly delta: string;
1557
+ readonly file: string;
1558
+ readonly event: "add" | "change" | "unlink";
1758
1559
  };
1759
1560
  } | {
1760
1561
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -1762,16 +1563,14 @@ export declare const make: (options?: {
1762
1563
  readonly metadata?: {
1763
1564
  readonly [x: string]: unknown;
1764
1565
  } | undefined;
1765
- readonly type: "session.tool.input.delta";
1566
+ readonly type: "form.cancelled";
1766
1567
  readonly location?: {
1767
1568
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1768
1569
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1769
1570
  } | undefined;
1770
1571
  readonly data: {
1771
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1772
- readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
1773
- readonly id: string;
1774
- readonly delta: string;
1572
+ readonly id: string & import("effect/Brand").Brand<"Form.ID">;
1573
+ readonly sessionID: string;
1775
1574
  };
1776
1575
  } | {
1777
1576
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -1779,17 +1578,208 @@ export declare const make: (options?: {
1779
1578
  readonly metadata?: {
1780
1579
  readonly [x: string]: unknown;
1781
1580
  } | undefined;
1782
- readonly type: "session.tool.progress";
1581
+ readonly type: "form.created";
1783
1582
  readonly location?: {
1784
1583
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1785
1584
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1786
1585
  } | undefined;
1787
1586
  readonly data: {
1788
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1789
- readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
1790
- readonly id: string;
1791
- readonly metadata: {
1792
- 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
+ })[]];
1793
1783
  };
1794
1784
  };
1795
1785
  } | {
@@ -1798,22 +1788,16 @@ export declare const make: (options?: {
1798
1788
  readonly metadata?: {
1799
1789
  readonly [x: string]: unknown;
1800
1790
  } | undefined;
1801
- readonly type: "session.usage.updated";
1791
+ readonly type: "form.replied";
1802
1792
  readonly location?: {
1803
1793
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1804
1794
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1805
1795
  } | undefined;
1806
1796
  readonly data: {
1807
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1808
- readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
1809
- readonly tokens: {
1810
- readonly input: number;
1811
- readonly output: number;
1812
- readonly reasoning: number;
1813
- readonly cache: {
1814
- readonly read: number;
1815
- readonly write: number;
1816
- };
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[];
1817
1801
  };
1818
1802
  };
1819
1803
  } | {
@@ -1822,33 +1806,27 @@ export declare const make: (options?: {
1822
1806
  readonly metadata?: {
1823
1807
  readonly [x: string]: unknown;
1824
1808
  } | undefined;
1825
- readonly type: "websearch.updated";
1809
+ readonly type: "installation.update-available";
1826
1810
  readonly location?: {
1827
1811
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1828
1812
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1829
1813
  } | undefined;
1830
- readonly data: {};
1814
+ readonly data: {
1815
+ readonly version: string;
1816
+ };
1831
1817
  } | {
1832
1818
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
1833
1819
  readonly created: number;
1834
1820
  readonly metadata?: {
1835
1821
  readonly [x: string]: unknown;
1836
1822
  } | undefined;
1837
- readonly type: "worktree.resolved";
1838
- readonly durable: {
1839
- readonly aggregateID: string;
1840
- readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
1841
- readonly version: number & import("effect/Brand").Brand<"Event.Version">;
1842
- };
1823
+ readonly type: "installation.updated";
1843
1824
  readonly location?: {
1844
1825
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1845
1826
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1846
1827
  } | undefined;
1847
1828
  readonly data: {
1848
- readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
1849
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1850
- readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
1851
- readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
1829
+ readonly version: string;
1852
1830
  };
1853
1831
  } | {
1854
1832
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -1856,13 +1834,37 @@ export declare const make: (options?: {
1856
1834
  readonly metadata?: {
1857
1835
  readonly [x: string]: unknown;
1858
1836
  } | undefined;
1859
- 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";
1860
1862
  readonly location?: {
1861
1863
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1862
1864
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1863
1865
  } | undefined;
1864
1866
  readonly data: {
1865
- readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
1867
+ readonly server: string;
1866
1868
  };
1867
1869
  } | {
1868
1870
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -1870,22 +1872,13 @@ export declare const make: (options?: {
1870
1872
  readonly metadata?: {
1871
1873
  readonly [x: string]: unknown;
1872
1874
  } | undefined;
1873
- readonly type: "pty.created";
1875
+ readonly type: "mcp.status.changed";
1874
1876
  readonly location?: {
1875
1877
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1876
1878
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1877
1879
  } | undefined;
1878
1880
  readonly data: {
1879
- readonly info: {
1880
- readonly id: string & import("effect/Brand").Brand<"PtyID">;
1881
- readonly title: string;
1882
- readonly command: string;
1883
- readonly args: readonly string[];
1884
- readonly cwd: string;
1885
- readonly status: "exited" | "running";
1886
- readonly pid: number;
1887
- readonly exitCode?: number | undefined;
1888
- };
1881
+ readonly server: string;
1889
1882
  };
1890
1883
  } | {
1891
1884
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -1893,13 +1886,50 @@ export declare const make: (options?: {
1893
1886
  readonly metadata?: {
1894
1887
  readonly [x: string]: unknown;
1895
1888
  } | undefined;
1896
- 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";
1897
1914
  readonly location?: {
1898
1915
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1899
1916
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1900
1917
  } | undefined;
1901
1918
  readonly data: {
1902
- 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">;
1903
1933
  };
1904
1934
  } | {
1905
1935
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -1907,14 +1937,15 @@ export declare const make: (options?: {
1907
1937
  readonly metadata?: {
1908
1938
  readonly [x: string]: unknown;
1909
1939
  } | undefined;
1910
- readonly type: "pty.exited";
1940
+ readonly type: "permission.replied";
1911
1941
  readonly location?: {
1912
1942
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1913
1943
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1914
1944
  } | undefined;
1915
1945
  readonly data: {
1916
- readonly id: string & import("effect/Brand").Brand<"PtyID">;
1917
- 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";
1918
1949
  };
1919
1950
  } | {
1920
1951
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -1922,13 +1953,14 @@ export declare const make: (options?: {
1922
1953
  readonly metadata?: {
1923
1954
  readonly [x: string]: unknown;
1924
1955
  } | undefined;
1925
- readonly type: "pty.updated";
1956
+ readonly type: "persistent-pty.added";
1926
1957
  readonly location?: {
1927
1958
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1928
1959
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1929
1960
  } | undefined;
1930
1961
  readonly data: {
1931
- readonly info: {
1962
+ readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1963
+ readonly terminal: {
1932
1964
  readonly id: string & import("effect/Brand").Brand<"PtyID">;
1933
1965
  readonly title: string;
1934
1966
  readonly command: string;
@@ -1937,6 +1969,16 @@ export declare const make: (options?: {
1937
1969
  readonly status: "exited" | "running";
1938
1970
  readonly pid: number;
1939
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
+ };
1940
1982
  };
1941
1983
  };
1942
1984
  } | {
@@ -1945,19 +1987,22 @@ export declare const make: (options?: {
1945
1987
  readonly metadata?: {
1946
1988
  readonly [x: string]: unknown;
1947
1989
  } | undefined;
1948
- readonly type: "location.shutdown";
1990
+ readonly type: "persistent-pty.removed";
1949
1991
  readonly location?: {
1950
1992
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1951
1993
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1952
1994
  } | undefined;
1953
- readonly data: {};
1995
+ readonly data: {
1996
+ readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1997
+ readonly ptyID: string & import("effect/Brand").Brand<"PtyID">;
1998
+ };
1954
1999
  } | {
1955
2000
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
1956
2001
  readonly created: number;
1957
2002
  readonly metadata?: {
1958
2003
  readonly [x: string]: unknown;
1959
2004
  } | undefined;
1960
- readonly type: "models-dev.refreshed";
2005
+ readonly type: "plugin.updated";
1961
2006
  readonly location?: {
1962
2007
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1963
2008
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
@@ -1969,14 +2014,31 @@ export declare const make: (options?: {
1969
2014
  readonly metadata?: {
1970
2015
  readonly [x: string]: unknown;
1971
2016
  } | undefined;
1972
- readonly type: "credential.switched";
2017
+ readonly type: "project.updated";
1973
2018
  readonly location?: {
1974
2019
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1975
2020
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1976
2021
  } | undefined;
1977
2022
  readonly data: {
1978
- readonly integrationID: string & import("effect/Brand").Brand<"Integration.ID">;
1979
- 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[];
1980
2042
  };
1981
2043
  } | {
1982
2044
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -1984,7 +2046,7 @@ export declare const make: (options?: {
1984
2046
  readonly metadata?: {
1985
2047
  readonly [x: string]: unknown;
1986
2048
  } | undefined;
1987
- readonly type: "credential.updated";
2049
+ readonly type: "provider.updated";
1988
2050
  readonly location?: {
1989
2051
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1990
2052
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
@@ -1996,50 +2058,74 @@ export declare const make: (options?: {
1996
2058
  readonly metadata?: {
1997
2059
  readonly [x: string]: unknown;
1998
2060
  } | undefined;
1999
- readonly type: "integration.updated";
2061
+ readonly type: "pty.created";
2000
2062
  readonly location?: {
2001
2063
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2002
2064
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2003
2065
  } | undefined;
2004
- 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
+ };
2005
2078
  } | {
2006
2079
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2007
2080
  readonly created: number;
2008
2081
  readonly metadata?: {
2009
2082
  readonly [x: string]: unknown;
2010
2083
  } | undefined;
2011
- readonly type: "provider.updated";
2084
+ readonly type: "pty.deleted";
2012
2085
  readonly location?: {
2013
2086
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2014
2087
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2015
2088
  } | undefined;
2016
- readonly data: {};
2089
+ readonly data: {
2090
+ readonly id: string & import("effect/Brand").Brand<"PtyID">;
2091
+ };
2017
2092
  } | {
2018
2093
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2019
2094
  readonly created: number;
2020
2095
  readonly metadata?: {
2021
2096
  readonly [x: string]: unknown;
2022
2097
  } | undefined;
2023
- readonly type: "model.updated";
2098
+ readonly type: "pty.exited";
2024
2099
  readonly location?: {
2025
2100
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2026
2101
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2027
2102
  } | undefined;
2028
- readonly data: {};
2103
+ readonly data: {
2104
+ readonly id: string & import("effect/Brand").Brand<"PtyID">;
2105
+ readonly exitCode: number;
2106
+ };
2029
2107
  } | {
2030
2108
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2031
2109
  readonly created: number;
2032
2110
  readonly metadata?: {
2033
2111
  readonly [x: string]: unknown;
2034
2112
  } | undefined;
2035
- readonly type: "filesystem.changed";
2113
+ readonly type: "pty.updated";
2036
2114
  readonly location?: {
2037
2115
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2038
2116
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2039
2117
  } | undefined;
2040
2118
  readonly data: {
2041
- readonly file: string;
2042
- 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
+ };
2043
2129
  };
2044
2130
  } | {
2045
2131
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -2059,26 +2145,14 @@ export declare const make: (options?: {
2059
2145
  readonly metadata?: {
2060
2146
  readonly [x: string]: unknown;
2061
2147
  } | undefined;
2062
- readonly type: "permission.asked";
2148
+ readonly type: "session.compaction.delta";
2063
2149
  readonly location?: {
2064
2150
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2065
2151
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2066
2152
  } | undefined;
2067
2153
  readonly data: {
2068
2154
  readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
2069
- readonly action: string;
2070
- readonly resources: readonly string[];
2071
- readonly save?: readonly string[] | undefined;
2072
- readonly metadata?: {
2073
- readonly [x: string]: unknown;
2074
- } | undefined;
2075
- readonly source?: {
2076
- readonly type: "tool";
2077
- readonly messageID: string;
2078
- readonly id: string;
2079
- } | undefined;
2080
- readonly message?: string | undefined;
2081
- readonly id: string & import("effect/Brand").Brand<"Permission.ID">;
2155
+ readonly text: string;
2082
2156
  };
2083
2157
  } | {
2084
2158
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -2086,15 +2160,13 @@ export declare const make: (options?: {
2086
2160
  readonly metadata?: {
2087
2161
  readonly [x: string]: unknown;
2088
2162
  } | undefined;
2089
- readonly type: "permission.replied";
2163
+ readonly type: "session.idle";
2090
2164
  readonly location?: {
2091
2165
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2092
2166
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2093
2167
  } | undefined;
2094
2168
  readonly data: {
2095
2169
  readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
2096
- readonly requestID: string & import("effect/Brand").Brand<"Permission.ID">;
2097
- readonly reply: "always" | "once" | "reject";
2098
2170
  };
2099
2171
  } | {
2100
2172
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -2102,43 +2174,48 @@ export declare const make: (options?: {
2102
2174
  readonly metadata?: {
2103
2175
  readonly [x: string]: unknown;
2104
2176
  } | undefined;
2105
- readonly type: "plugin.updated";
2177
+ readonly type: "session.reasoning.delta";
2106
2178
  readonly location?: {
2107
2179
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2108
2180
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2109
2181
  } | undefined;
2110
- 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
+ };
2111
2188
  } | {
2112
2189
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2113
2190
  readonly created: number;
2114
2191
  readonly metadata?: {
2115
2192
  readonly [x: string]: unknown;
2116
2193
  } | undefined;
2117
- readonly type: "project.updated";
2194
+ readonly type: "session.status";
2118
2195
  readonly location?: {
2119
2196
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2120
2197
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2121
2198
  } | undefined;
2122
2199
  readonly data: {
2123
- readonly id: string & import("effect/Brand").Brand<"Project.ID">;
2124
- readonly canonical: string & import("effect/Brand").Brand<"AbsolutePath">;
2125
- readonly vcs?: string | undefined;
2126
- readonly name?: string | undefined;
2127
- readonly icon?: {
2128
- readonly url?: string | undefined;
2129
- readonly override?: string | undefined;
2130
- readonly color?: string | undefined;
2131
- } | undefined;
2132
- readonly commands?: {
2133
- readonly start?: string | undefined;
2134
- } | undefined;
2135
- readonly time: {
2136
- readonly created: number;
2137
- readonly updated: number;
2138
- readonly active: number;
2139
- 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;
2140
2218
  };
2141
- readonly sandboxes: readonly string[];
2142
2219
  };
2143
2220
  } | {
2144
2221
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -2146,68 +2223,51 @@ export declare const make: (options?: {
2146
2223
  readonly metadata?: {
2147
2224
  readonly [x: string]: unknown;
2148
2225
  } | undefined;
2149
- readonly type: "command.updated";
2150
- readonly location?: {
2151
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2152
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2153
- } | undefined;
2154
- readonly data: {};
2155
- } | {
2156
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2157
- readonly created: number;
2158
- readonly metadata?: {
2159
- readonly [x: string]: unknown;
2160
- } | undefined;
2161
- readonly type: "config.updated";
2226
+ readonly type: "session.text.delta";
2162
2227
  readonly location?: {
2163
2228
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2164
2229
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2165
2230
  } | undefined;
2166
- 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
+ };
2167
2237
  } | {
2168
2238
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2169
2239
  readonly created: number;
2170
2240
  readonly metadata?: {
2171
2241
  readonly [x: string]: unknown;
2172
2242
  } | undefined;
2173
- readonly type: "skill.updated";
2243
+ readonly type: "session.tool.input.delta";
2174
2244
  readonly location?: {
2175
2245
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2176
2246
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2177
2247
  } | undefined;
2178
- 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
+ };
2179
2254
  } | {
2180
2255
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2181
2256
  readonly created: number;
2182
2257
  readonly metadata?: {
2183
2258
  readonly [x: string]: unknown;
2184
2259
  } | undefined;
2185
- readonly type: "persistent-pty.added";
2260
+ readonly type: "session.tool.progress";
2186
2261
  readonly location?: {
2187
2262
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2188
2263
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2189
2264
  } | undefined;
2190
2265
  readonly data: {
2191
2266
  readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
2192
- readonly terminal: {
2193
- readonly id: string & import("effect/Brand").Brand<"PtyID">;
2194
- readonly title: string;
2195
- readonly command: string;
2196
- readonly args: readonly string[];
2197
- readonly cwd: string;
2198
- readonly status: "exited" | "running";
2199
- readonly pid: number;
2200
- readonly exitCode?: number | undefined;
2201
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
2202
- readonly foregroundProcess: string | null;
2203
- readonly size: {
2204
- readonly cols: number;
2205
- readonly rows: number;
2206
- };
2207
- readonly output: {
2208
- readonly head: number;
2209
- readonly tail: number;
2210
- };
2267
+ readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
2268
+ readonly id: string;
2269
+ readonly metadata: {
2270
+ readonly [x: string]: Schema.Json;
2211
2271
  };
2212
2272
  };
2213
2273
  } | {
@@ -2216,14 +2276,23 @@ export declare const make: (options?: {
2216
2276
  readonly metadata?: {
2217
2277
  readonly [x: string]: unknown;
2218
2278
  } | undefined;
2219
- readonly type: "persistent-pty.removed";
2279
+ readonly type: "session.usage.updated";
2220
2280
  readonly location?: {
2221
2281
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2222
2282
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2223
2283
  } | undefined;
2224
2284
  readonly data: {
2225
2285
  readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
2226
- 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
+ };
2227
2296
  };
2228
2297
  } | {
2229
2298
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -2292,46 +2361,12 @@ export declare const make: (options?: {
2292
2361
  readonly metadata?: {
2293
2362
  readonly [x: string]: unknown;
2294
2363
  } | undefined;
2295
- readonly type: "session.idle";
2296
- readonly location?: {
2297
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2298
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2299
- } | undefined;
2300
- readonly data: {
2301
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
2302
- };
2303
- } | {
2304
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2305
- readonly created: number;
2306
- readonly metadata?: {
2307
- readonly [x: string]: unknown;
2308
- } | undefined;
2309
- readonly type: "session.status";
2364
+ readonly type: "skill.updated";
2310
2365
  readonly location?: {
2311
2366
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2312
2367
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2313
2368
  } | undefined;
2314
- readonly data: {
2315
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
2316
- readonly status: {
2317
- readonly type: "idle";
2318
- } | {
2319
- readonly type: "retry";
2320
- readonly attempt: number;
2321
- readonly message: string;
2322
- readonly action?: {
2323
- readonly reason: string;
2324
- readonly provider: string;
2325
- readonly title: string;
2326
- readonly message: string;
2327
- readonly label: string;
2328
- readonly link?: string | undefined;
2329
- } | undefined;
2330
- readonly next: number;
2331
- } | {
2332
- readonly type: "busy";
2333
- };
2334
- };
2369
+ readonly data: {};
2335
2370
  } | {
2336
2371
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2337
2372
  readonly created: number;
@@ -2391,34 +2426,6 @@ export declare const make: (options?: {
2391
2426
  readonly variant: "error" | "info" | "success" | "warning";
2392
2427
  readonly duration: number;
2393
2428
  };
2394
- } | {
2395
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2396
- readonly created: number;
2397
- readonly metadata?: {
2398
- readonly [x: string]: unknown;
2399
- } | undefined;
2400
- readonly type: "installation.update-available";
2401
- readonly location?: {
2402
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2403
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2404
- } | undefined;
2405
- readonly data: {
2406
- readonly version: string;
2407
- };
2408
- } | {
2409
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2410
- readonly created: number;
2411
- readonly metadata?: {
2412
- readonly [x: string]: unknown;
2413
- } | undefined;
2414
- readonly type: "installation.updated";
2415
- readonly location?: {
2416
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2417
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2418
- } | undefined;
2419
- readonly data: {
2420
- readonly version: string;
2421
- };
2422
2429
  } | {
2423
2430
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2424
2431
  readonly created: number;
@@ -2439,27 +2446,25 @@ export declare const make: (options?: {
2439
2446
  readonly metadata?: {
2440
2447
  readonly [x: string]: unknown;
2441
2448
  } | undefined;
2442
- readonly type: "mcp.resources.changed";
2449
+ readonly type: "websearch.updated";
2443
2450
  readonly location?: {
2444
2451
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2445
2452
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2446
2453
  } | undefined;
2447
- readonly data: {
2448
- readonly server: string;
2449
- };
2454
+ readonly data: {};
2450
2455
  } | {
2451
2456
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
2452
2457
  readonly created: number;
2453
2458
  readonly metadata?: {
2454
2459
  readonly [x: string]: unknown;
2455
2460
  } | undefined;
2456
- readonly type: "mcp.status.changed";
2461
+ readonly type: "worktree.updated";
2457
2462
  readonly location?: {
2458
2463
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2459
2464
  readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2460
2465
  } | undefined;
2461
2466
  readonly data: {
2462
- readonly server: string;
2467
+ readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
2463
2468
  };
2464
2469
  } | {
2465
2470
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -2540,6 +2545,7 @@ export declare const make: (options?: {
2540
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>;
2541
2546
  };
2542
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>;
2543
2549
  location: {
2544
2550
  list: () => Effect.Effect<DebugLocationListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
2545
2551
  evict: (input?: DebugLocationEvictInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;