@opencode/client 0.0.0-dev-21627 → 0.0.0-dev-21641
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{mcp-anregfhs.js → pty-handoff-15p82y03.js} +5 -5
- package/dist/chunks/{mcp-8bbb028w.js → pty-handoff-8bbb028w.js} +1 -1
- package/dist/chunks/{mcp-2ny4vxct.js → pty-handoff-8ye1ye6f.js} +2 -2
- package/dist/chunks/{mcp-vsdfs18x.js → pty-handoff-byh3fyt4.js} +17 -17
- package/dist/chunks/pty-handoff-cpsp9n3s.js +30 -0
- package/dist/chunks/{mcp-g9ajxfy0.js → pty-handoff-g9ajxfy0.js} +1 -1
- package/dist/chunks/{mcp-js54wxgp.js → pty-handoff-nwcpakzx.js} +2 -2
- package/dist/chunks/{mcp-ryy6kscr.js → pty-handoff-ryy6kscr.js} +1 -1
- package/dist/chunks/{mcp-6g9adxt3.js → pty-handoff-s2hya144.js} +21 -20
- package/dist/chunks/{mcp-skhp7hxc.js → pty-handoff-skhp7hxc.js} +1 -1
- package/dist/chunks/{mcp-rq85j71q.js → pty-handoff-twzgvb9m.js} +1 -1
- package/dist/chunks/{mcp-73y1jq7s.js → pty-handoff-w10x3kfx.js} +11 -11
- package/dist/chunks/{mcp-7f0py9js.js → pty-handoff-y2etg5bs.js} +2 -2
- package/dist/contract.js +1 -1
- package/dist/effect/api/api.d.ts +4 -1
- package/dist/effect/client.d.ts +1101 -1101
- package/dist/effect/client.js +12 -12
- package/dist/effect/generated/client-error.js +3 -3
- package/dist/effect/generated/client.d.ts +591 -591
- package/dist/effect/generated/client.js +5 -5
- package/dist/effect/generated/index.js +8 -8
- package/dist/effect/index.js +12 -12
- package/dist/effect/rpc.js +4 -4
- package/dist/effect/service.d.ts +1 -1
- package/dist/effect/service.js +6 -6
- package/dist/promise/client.d.ts +1 -1
- package/dist/promise/client.js +11 -11
- package/dist/promise/generated/client-error.js +3 -3
- package/dist/promise/generated/client.d.ts +2 -2
- package/dist/promise/generated/client.js +4 -4
- package/dist/promise/generated/index.js +8 -8
- package/dist/promise/generated/types.d.ts +5 -0
- package/dist/promise/generated/types.js +1 -1
- package/dist/promise/index.js +12 -12
- package/dist/promise/rpc.js +2 -2
- package/dist/promise/service.js +6 -6
- package/dist/pty-handoff.js +1 -1
- package/dist/rpc-runtime.js +1 -1
- package/dist/service-contender.js +1 -1
- package/dist/service-probe.js +3 -3
- package/dist/service-timing.js +1 -1
- package/dist/service-version.js +1 -1
- package/dist/service.js +1 -1
- package/dist/shared-events.js +1 -1
- package/dist/solid/connection.js +1 -1
- package/dist/solid/data.js +9 -9
- package/dist/solid/index.js +12 -12
- package/dist/solid/pty.js +1 -1
- package/dist/solid/usage.js +1 -1
- package/package.json +8 -7
- package/dist/chunks/mcp-1dytdgs8.js +0 -30
- /package/dist/chunks/{mcp-6mptkzbc.js → pty-handoff-6mptkzbc.js} +0 -0
- /package/dist/chunks/{mcp-8s2anffy.js → pty-handoff-8s2anffy.js} +0 -0
- /package/dist/chunks/{mcp-9rqn6x4v.js → pty-handoff-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mcp-c46qzyff.js → pty-handoff-c46qzyff.js} +0 -0
- /package/dist/chunks/{mcp-gne7h7mq.js → pty-handoff-gne7h7mq.js} +0 -0
- /package/dist/chunks/{mcp-m2eywc8w.js → pty-handoff-m2eywc8w.js} +0 -0
- /package/dist/chunks/{mcp-qav6mfdz.js → pty-handoff-qav6mfdz.js} +0 -0
- /package/dist/chunks/{mcp-sxt88q69.js → pty-handoff-sxt88q69.js} +0 -0
- /package/dist/chunks/{mcp-ve4aws36.js → pty-handoff-ve4aws36.js} +0 -0
- /package/dist/chunks/{mcp-vmytr4q8.js → pty-handoff-vmytr4q8.js} +0 -0
- /package/dist/chunks/{mcp-vyas3vgt.js → pty-handoff-vyas3vgt.js} +0 -0
- /package/dist/chunks/{mcp-xgnj2w4v.js → pty-handoff-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{mcp-ydhz1zrh.js → pty-handoff-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, 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, DebugHeapDumpOutput, 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;
|
|
@@ -178,230 +178,6 @@ export declare const make: (options?: {
|
|
|
178
178
|
};
|
|
179
179
|
event: {
|
|
180
180
|
subscribe: () => Stream.Stream<{
|
|
181
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
182
|
-
readonly created: number;
|
|
183
|
-
readonly metadata?: {
|
|
184
|
-
readonly [x: string]: unknown;
|
|
185
|
-
} | undefined;
|
|
186
|
-
readonly type: "integration.updated";
|
|
187
|
-
readonly location?: {
|
|
188
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
189
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
190
|
-
} | undefined;
|
|
191
|
-
readonly data: {};
|
|
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: "model.updated";
|
|
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
|
-
} | {
|
|
205
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
206
|
-
readonly created: number;
|
|
207
|
-
readonly metadata?: {
|
|
208
|
-
readonly [x: string]: unknown;
|
|
209
|
-
} | undefined;
|
|
210
|
-
readonly type: "project.updated";
|
|
211
|
-
readonly location?: {
|
|
212
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
213
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
214
|
-
} | undefined;
|
|
215
|
-
readonly data: {
|
|
216
|
-
readonly id: string & import("effect/Brand").Brand<"Project.ID">;
|
|
217
|
-
readonly canonical: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
218
|
-
readonly vcs?: string | undefined;
|
|
219
|
-
readonly name?: string | undefined;
|
|
220
|
-
readonly icon?: {
|
|
221
|
-
readonly url?: string | undefined;
|
|
222
|
-
readonly override?: string | undefined;
|
|
223
|
-
readonly color?: string | undefined;
|
|
224
|
-
} | undefined;
|
|
225
|
-
readonly commands?: {
|
|
226
|
-
readonly start?: string | undefined;
|
|
227
|
-
} | undefined;
|
|
228
|
-
readonly time: {
|
|
229
|
-
readonly created: number;
|
|
230
|
-
readonly updated: number;
|
|
231
|
-
readonly active: number;
|
|
232
|
-
readonly archived?: number | undefined;
|
|
233
|
-
};
|
|
234
|
-
readonly sandboxes: readonly string[];
|
|
235
|
-
};
|
|
236
|
-
} | {
|
|
237
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
238
|
-
readonly created: number;
|
|
239
|
-
readonly metadata?: {
|
|
240
|
-
readonly [x: string]: unknown;
|
|
241
|
-
} | undefined;
|
|
242
|
-
readonly type: "shell.created";
|
|
243
|
-
readonly location?: {
|
|
244
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
245
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
246
|
-
} | undefined;
|
|
247
|
-
readonly data: {
|
|
248
|
-
readonly info: {
|
|
249
|
-
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
250
|
-
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
251
|
-
readonly command: string;
|
|
252
|
-
readonly cwd: string;
|
|
253
|
-
readonly shell: string;
|
|
254
|
-
readonly file: string;
|
|
255
|
-
readonly pid?: number | undefined;
|
|
256
|
-
readonly exit?: number | undefined;
|
|
257
|
-
readonly signal?: string | undefined;
|
|
258
|
-
readonly metadata: {
|
|
259
|
-
readonly [x: string]: unknown;
|
|
260
|
-
};
|
|
261
|
-
readonly time: {
|
|
262
|
-
readonly started: number;
|
|
263
|
-
readonly completed?: number | undefined;
|
|
264
|
-
};
|
|
265
|
-
};
|
|
266
|
-
};
|
|
267
|
-
} | {
|
|
268
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
269
|
-
readonly created: number;
|
|
270
|
-
readonly metadata?: {
|
|
271
|
-
readonly [x: string]: unknown;
|
|
272
|
-
} | undefined;
|
|
273
|
-
readonly type: "shell.deleted";
|
|
274
|
-
readonly location?: {
|
|
275
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
276
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
277
|
-
} | undefined;
|
|
278
|
-
readonly data: {
|
|
279
|
-
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
280
|
-
};
|
|
281
|
-
} | {
|
|
282
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
283
|
-
readonly created: number;
|
|
284
|
-
readonly metadata?: {
|
|
285
|
-
readonly [x: string]: unknown;
|
|
286
|
-
} | undefined;
|
|
287
|
-
readonly type: "shell.exited";
|
|
288
|
-
readonly location?: {
|
|
289
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
290
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
291
|
-
} | undefined;
|
|
292
|
-
readonly data: {
|
|
293
|
-
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
294
|
-
readonly exit?: number | undefined;
|
|
295
|
-
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
296
|
-
};
|
|
297
|
-
} | {
|
|
298
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
299
|
-
readonly created: number;
|
|
300
|
-
readonly metadata?: {
|
|
301
|
-
readonly [x: string]: unknown;
|
|
302
|
-
} | undefined;
|
|
303
|
-
readonly type: "location.shutdown";
|
|
304
|
-
readonly location?: {
|
|
305
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
306
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
307
|
-
} | undefined;
|
|
308
|
-
readonly data: {};
|
|
309
|
-
} | {
|
|
310
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
311
|
-
readonly created: number;
|
|
312
|
-
readonly metadata?: {
|
|
313
|
-
readonly [x: string]: unknown;
|
|
314
|
-
} | undefined;
|
|
315
|
-
readonly type: "persistent-pty.added";
|
|
316
|
-
readonly location?: {
|
|
317
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
318
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
319
|
-
} | undefined;
|
|
320
|
-
readonly data: {
|
|
321
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
322
|
-
readonly terminal: {
|
|
323
|
-
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
324
|
-
readonly title: string;
|
|
325
|
-
readonly command: string;
|
|
326
|
-
readonly args: readonly string[];
|
|
327
|
-
readonly cwd: string;
|
|
328
|
-
readonly status: "exited" | "running";
|
|
329
|
-
readonly pid: number;
|
|
330
|
-
readonly exitCode?: number | undefined;
|
|
331
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
332
|
-
readonly foregroundProcess: string | null;
|
|
333
|
-
readonly size: {
|
|
334
|
-
readonly cols: number;
|
|
335
|
-
readonly rows: number;
|
|
336
|
-
};
|
|
337
|
-
readonly output: {
|
|
338
|
-
readonly head: number;
|
|
339
|
-
readonly tail: number;
|
|
340
|
-
};
|
|
341
|
-
};
|
|
342
|
-
};
|
|
343
|
-
} | {
|
|
344
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
345
|
-
readonly created: number;
|
|
346
|
-
readonly metadata?: {
|
|
347
|
-
readonly [x: string]: unknown;
|
|
348
|
-
} | undefined;
|
|
349
|
-
readonly type: "persistent-pty.removed";
|
|
350
|
-
readonly location?: {
|
|
351
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
352
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
353
|
-
} | undefined;
|
|
354
|
-
readonly data: {
|
|
355
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
356
|
-
readonly ptyID: string & import("effect/Brand").Brand<"PtyID">;
|
|
357
|
-
};
|
|
358
|
-
} | {
|
|
359
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
360
|
-
readonly created: number;
|
|
361
|
-
readonly metadata?: {
|
|
362
|
-
readonly [x: string]: unknown;
|
|
363
|
-
} | undefined;
|
|
364
|
-
readonly type: "session.idle";
|
|
365
|
-
readonly location?: {
|
|
366
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
367
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
368
|
-
} | undefined;
|
|
369
|
-
readonly data: {
|
|
370
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
371
|
-
};
|
|
372
|
-
} | {
|
|
373
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
374
|
-
readonly created: number;
|
|
375
|
-
readonly metadata?: {
|
|
376
|
-
readonly [x: string]: unknown;
|
|
377
|
-
} | undefined;
|
|
378
|
-
readonly type: "session.status";
|
|
379
|
-
readonly location?: {
|
|
380
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
381
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
382
|
-
} | undefined;
|
|
383
|
-
readonly data: {
|
|
384
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
385
|
-
readonly status: {
|
|
386
|
-
readonly type: "idle";
|
|
387
|
-
} | {
|
|
388
|
-
readonly type: "retry";
|
|
389
|
-
readonly attempt: number;
|
|
390
|
-
readonly message: string;
|
|
391
|
-
readonly action?: {
|
|
392
|
-
readonly reason: string;
|
|
393
|
-
readonly provider: string;
|
|
394
|
-
readonly title: string;
|
|
395
|
-
readonly message: string;
|
|
396
|
-
readonly label: string;
|
|
397
|
-
readonly link?: string | undefined;
|
|
398
|
-
} | undefined;
|
|
399
|
-
readonly next: number;
|
|
400
|
-
} | {
|
|
401
|
-
readonly type: "busy";
|
|
402
|
-
};
|
|
403
|
-
};
|
|
404
|
-
} | {
|
|
405
181
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
406
182
|
readonly created: number;
|
|
407
183
|
readonly metadata?: {
|
|
@@ -1687,14 +1463,21 @@ export declare const make: (options?: {
|
|
|
1687
1463
|
readonly metadata?: {
|
|
1688
1464
|
readonly [x: string]: unknown;
|
|
1689
1465
|
} | undefined;
|
|
1690
|
-
readonly type: "
|
|
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
|
+
};
|
|
1691
1472
|
readonly location?: {
|
|
1692
1473
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1693
1474
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1694
1475
|
} | undefined;
|
|
1695
1476
|
readonly data: {
|
|
1696
|
-
readonly
|
|
1697
|
-
readonly
|
|
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;
|
|
1698
1481
|
};
|
|
1699
1482
|
} | {
|
|
1700
1483
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1702,50 +1485,50 @@ export declare const make: (options?: {
|
|
|
1702
1485
|
readonly metadata?: {
|
|
1703
1486
|
readonly [x: string]: unknown;
|
|
1704
1487
|
} | undefined;
|
|
1705
|
-
readonly type: "
|
|
1488
|
+
readonly type: "agent.updated";
|
|
1706
1489
|
readonly location?: {
|
|
1707
1490
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1708
1491
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1709
1492
|
} | undefined;
|
|
1710
|
-
readonly data: {
|
|
1711
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1712
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1713
|
-
readonly ordinal: number;
|
|
1714
|
-
readonly delta: string;
|
|
1715
|
-
};
|
|
1493
|
+
readonly data: {};
|
|
1716
1494
|
} | {
|
|
1717
1495
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1718
1496
|
readonly created: number;
|
|
1719
1497
|
readonly metadata?: {
|
|
1720
1498
|
readonly [x: string]: unknown;
|
|
1721
1499
|
} | undefined;
|
|
1722
|
-
readonly type: "
|
|
1500
|
+
readonly type: "command.updated";
|
|
1723
1501
|
readonly location?: {
|
|
1724
1502
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1725
1503
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1726
1504
|
} | undefined;
|
|
1727
|
-
readonly data: {
|
|
1728
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1729
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1730
|
-
readonly ordinal: number;
|
|
1731
|
-
readonly delta: string;
|
|
1732
|
-
};
|
|
1505
|
+
readonly data: {};
|
|
1733
1506
|
} | {
|
|
1734
1507
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1735
1508
|
readonly created: number;
|
|
1736
1509
|
readonly metadata?: {
|
|
1737
1510
|
readonly [x: string]: unknown;
|
|
1738
1511
|
} | undefined;
|
|
1739
|
-
readonly type: "
|
|
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";
|
|
1740
1525
|
readonly location?: {
|
|
1741
1526
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1742
1527
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1743
1528
|
} | undefined;
|
|
1744
1529
|
readonly data: {
|
|
1745
|
-
readonly
|
|
1746
|
-
readonly
|
|
1747
|
-
readonly id: string;
|
|
1748
|
-
readonly delta: string;
|
|
1530
|
+
readonly integrationID: string & import("effect/Brand").Brand<"Integration.ID">;
|
|
1531
|
+
readonly credentialID: (string & import("effect/Brand").Brand<"Credential.ID">) | null;
|
|
1749
1532
|
};
|
|
1750
1533
|
} | {
|
|
1751
1534
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1753,17 +1536,250 @@ export declare const make: (options?: {
|
|
|
1753
1536
|
readonly metadata?: {
|
|
1754
1537
|
readonly [x: string]: unknown;
|
|
1755
1538
|
} | undefined;
|
|
1756
|
-
readonly type: "
|
|
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";
|
|
1757
1552
|
readonly location?: {
|
|
1758
1553
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1759
1554
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1760
1555
|
} | undefined;
|
|
1761
1556
|
readonly data: {
|
|
1762
|
-
readonly
|
|
1763
|
-
readonly
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1557
|
+
readonly file: string;
|
|
1558
|
+
readonly event: "add" | "change" | "unlink";
|
|
1559
|
+
};
|
|
1560
|
+
} | {
|
|
1561
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1562
|
+
readonly created: number;
|
|
1563
|
+
readonly metadata?: {
|
|
1564
|
+
readonly [x: string]: unknown;
|
|
1565
|
+
} | undefined;
|
|
1566
|
+
readonly type: "form.cancelled";
|
|
1567
|
+
readonly location?: {
|
|
1568
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1569
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1570
|
+
} | undefined;
|
|
1571
|
+
readonly data: {
|
|
1572
|
+
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
1573
|
+
readonly sessionID: string;
|
|
1574
|
+
};
|
|
1575
|
+
} | {
|
|
1576
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1577
|
+
readonly created: number;
|
|
1578
|
+
readonly metadata?: {
|
|
1579
|
+
readonly [x: string]: unknown;
|
|
1580
|
+
} | undefined;
|
|
1581
|
+
readonly type: "form.created";
|
|
1582
|
+
readonly location?: {
|
|
1583
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1584
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1585
|
+
} | undefined;
|
|
1586
|
+
readonly data: {
|
|
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
|
+
})[]];
|
|
1767
1783
|
};
|
|
1768
1784
|
};
|
|
1769
1785
|
} | {
|
|
@@ -1772,22 +1788,16 @@ export declare const make: (options?: {
|
|
|
1772
1788
|
readonly metadata?: {
|
|
1773
1789
|
readonly [x: string]: unknown;
|
|
1774
1790
|
} | undefined;
|
|
1775
|
-
readonly type: "
|
|
1791
|
+
readonly type: "form.replied";
|
|
1776
1792
|
readonly location?: {
|
|
1777
1793
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1778
1794
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1779
1795
|
} | undefined;
|
|
1780
1796
|
readonly data: {
|
|
1781
|
-
readonly
|
|
1782
|
-
readonly
|
|
1783
|
-
readonly
|
|
1784
|
-
readonly
|
|
1785
|
-
readonly output: number;
|
|
1786
|
-
readonly reasoning: number;
|
|
1787
|
-
readonly cache: {
|
|
1788
|
-
readonly read: number;
|
|
1789
|
-
readonly write: number;
|
|
1790
|
-
};
|
|
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[];
|
|
1791
1801
|
};
|
|
1792
1802
|
};
|
|
1793
1803
|
} | {
|
|
@@ -1796,12 +1806,146 @@ export declare const make: (options?: {
|
|
|
1796
1806
|
readonly metadata?: {
|
|
1797
1807
|
readonly [x: string]: unknown;
|
|
1798
1808
|
} | undefined;
|
|
1799
|
-
readonly type:
|
|
1800
|
-
readonly location
|
|
1809
|
+
readonly type: "installation.update-available";
|
|
1810
|
+
readonly location?: {
|
|
1811
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1812
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1813
|
+
} | undefined;
|
|
1814
|
+
readonly data: {
|
|
1815
|
+
readonly version: string;
|
|
1816
|
+
};
|
|
1817
|
+
} | {
|
|
1818
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1819
|
+
readonly created: number;
|
|
1820
|
+
readonly metadata?: {
|
|
1821
|
+
readonly [x: string]: unknown;
|
|
1822
|
+
} | undefined;
|
|
1823
|
+
readonly type: "installation.updated";
|
|
1824
|
+
readonly location?: {
|
|
1825
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1826
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1827
|
+
} | undefined;
|
|
1828
|
+
readonly data: {
|
|
1829
|
+
readonly version: string;
|
|
1830
|
+
};
|
|
1831
|
+
} | {
|
|
1832
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1833
|
+
readonly created: number;
|
|
1834
|
+
readonly metadata?: {
|
|
1835
|
+
readonly [x: string]: unknown;
|
|
1836
|
+
} | undefined;
|
|
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
|
+
readonly location?: {
|
|
1863
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1864
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1865
|
+
} | undefined;
|
|
1866
|
+
readonly data: {
|
|
1867
|
+
readonly server: string;
|
|
1868
|
+
};
|
|
1869
|
+
} | {
|
|
1870
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1871
|
+
readonly created: number;
|
|
1872
|
+
readonly metadata?: {
|
|
1873
|
+
readonly [x: string]: unknown;
|
|
1874
|
+
} | undefined;
|
|
1875
|
+
readonly type: "mcp.status.changed";
|
|
1876
|
+
readonly location?: {
|
|
1877
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1878
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1879
|
+
} | undefined;
|
|
1880
|
+
readonly data: {
|
|
1881
|
+
readonly server: string;
|
|
1882
|
+
};
|
|
1883
|
+
} | {
|
|
1884
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1885
|
+
readonly created: number;
|
|
1886
|
+
readonly metadata?: {
|
|
1887
|
+
readonly [x: string]: unknown;
|
|
1888
|
+
} | undefined;
|
|
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";
|
|
1914
|
+
readonly location?: {
|
|
1915
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1916
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1917
|
+
} | undefined;
|
|
1918
|
+
readonly data: {
|
|
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">;
|
|
1933
|
+
};
|
|
1934
|
+
} | {
|
|
1935
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1936
|
+
readonly created: number;
|
|
1937
|
+
readonly metadata?: {
|
|
1938
|
+
readonly [x: string]: unknown;
|
|
1939
|
+
} | undefined;
|
|
1940
|
+
readonly type: "permission.replied";
|
|
1941
|
+
readonly location?: {
|
|
1801
1942
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1802
|
-
|
|
1943
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1944
|
+
} | undefined;
|
|
1803
1945
|
readonly data: {
|
|
1804
|
-
readonly
|
|
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";
|
|
1805
1949
|
};
|
|
1806
1950
|
} | {
|
|
1807
1951
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1809,26 +1953,48 @@ export declare const make: (options?: {
|
|
|
1809
1953
|
readonly metadata?: {
|
|
1810
1954
|
readonly [x: string]: unknown;
|
|
1811
1955
|
} | undefined;
|
|
1812
|
-
readonly type: "
|
|
1956
|
+
readonly type: "persistent-pty.added";
|
|
1813
1957
|
readonly location?: {
|
|
1814
1958
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1815
1959
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1816
1960
|
} | undefined;
|
|
1817
|
-
readonly data: {
|
|
1961
|
+
readonly data: {
|
|
1962
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1963
|
+
readonly terminal: {
|
|
1964
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
1965
|
+
readonly title: string;
|
|
1966
|
+
readonly command: string;
|
|
1967
|
+
readonly args: readonly string[];
|
|
1968
|
+
readonly cwd: string;
|
|
1969
|
+
readonly status: "exited" | "running";
|
|
1970
|
+
readonly pid: number;
|
|
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
|
+
};
|
|
1982
|
+
};
|
|
1983
|
+
};
|
|
1818
1984
|
} | {
|
|
1819
1985
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1820
1986
|
readonly created: number;
|
|
1821
1987
|
readonly metadata?: {
|
|
1822
1988
|
readonly [x: string]: unknown;
|
|
1823
1989
|
} | undefined;
|
|
1824
|
-
readonly type: "
|
|
1990
|
+
readonly type: "persistent-pty.removed";
|
|
1825
1991
|
readonly location?: {
|
|
1826
1992
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1827
1993
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1828
1994
|
} | undefined;
|
|
1829
1995
|
readonly data: {
|
|
1830
|
-
readonly
|
|
1831
|
-
readonly
|
|
1996
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1997
|
+
readonly ptyID: string & import("effect/Brand").Brand<"PtyID">;
|
|
1832
1998
|
};
|
|
1833
1999
|
} | {
|
|
1834
2000
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1836,7 +2002,7 @@ export declare const make: (options?: {
|
|
|
1836
2002
|
readonly metadata?: {
|
|
1837
2003
|
readonly [x: string]: unknown;
|
|
1838
2004
|
} | undefined;
|
|
1839
|
-
readonly type: "
|
|
2005
|
+
readonly type: "plugin.updated";
|
|
1840
2006
|
readonly location?: {
|
|
1841
2007
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1842
2008
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -1848,19 +2014,39 @@ export declare const make: (options?: {
|
|
|
1848
2014
|
readonly metadata?: {
|
|
1849
2015
|
readonly [x: string]: unknown;
|
|
1850
2016
|
} | undefined;
|
|
1851
|
-
readonly type: "
|
|
2017
|
+
readonly type: "project.updated";
|
|
1852
2018
|
readonly location?: {
|
|
1853
2019
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1854
2020
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1855
2021
|
} | undefined;
|
|
1856
|
-
readonly data: {
|
|
2022
|
+
readonly data: {
|
|
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[];
|
|
2042
|
+
};
|
|
1857
2043
|
} | {
|
|
1858
2044
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1859
2045
|
readonly created: number;
|
|
1860
2046
|
readonly metadata?: {
|
|
1861
2047
|
readonly [x: string]: unknown;
|
|
1862
2048
|
} | undefined;
|
|
1863
|
-
readonly type: "
|
|
2049
|
+
readonly type: "provider.updated";
|
|
1864
2050
|
readonly location?: {
|
|
1865
2051
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1866
2052
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -1872,14 +2058,22 @@ export declare const make: (options?: {
|
|
|
1872
2058
|
readonly metadata?: {
|
|
1873
2059
|
readonly [x: string]: unknown;
|
|
1874
2060
|
} | undefined;
|
|
1875
|
-
readonly type: "
|
|
2061
|
+
readonly type: "pty.created";
|
|
1876
2062
|
readonly location?: {
|
|
1877
2063
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1878
2064
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1879
2065
|
} | undefined;
|
|
1880
2066
|
readonly data: {
|
|
1881
|
-
readonly
|
|
1882
|
-
|
|
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
|
+
};
|
|
1883
2077
|
};
|
|
1884
2078
|
} | {
|
|
1885
2079
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1887,38 +2081,28 @@ export declare const make: (options?: {
|
|
|
1887
2081
|
readonly metadata?: {
|
|
1888
2082
|
readonly [x: string]: unknown;
|
|
1889
2083
|
} | undefined;
|
|
1890
|
-
readonly type: "
|
|
2084
|
+
readonly type: "pty.deleted";
|
|
1891
2085
|
readonly location?: {
|
|
1892
2086
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1893
2087
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1894
2088
|
} | undefined;
|
|
1895
|
-
readonly data: {
|
|
2089
|
+
readonly data: {
|
|
2090
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
2091
|
+
};
|
|
1896
2092
|
} | {
|
|
1897
2093
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1898
2094
|
readonly created: number;
|
|
1899
2095
|
readonly metadata?: {
|
|
1900
2096
|
readonly [x: string]: unknown;
|
|
1901
2097
|
} | undefined;
|
|
1902
|
-
readonly type: "
|
|
2098
|
+
readonly type: "pty.exited";
|
|
1903
2099
|
readonly location?: {
|
|
1904
2100
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1905
2101
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1906
2102
|
} | undefined;
|
|
1907
2103
|
readonly data: {
|
|
1908
|
-
readonly
|
|
1909
|
-
readonly
|
|
1910
|
-
readonly resources: readonly string[];
|
|
1911
|
-
readonly save?: readonly string[] | undefined;
|
|
1912
|
-
readonly metadata?: {
|
|
1913
|
-
readonly [x: string]: unknown;
|
|
1914
|
-
} | undefined;
|
|
1915
|
-
readonly source?: {
|
|
1916
|
-
readonly type: "tool";
|
|
1917
|
-
readonly messageID: string;
|
|
1918
|
-
readonly id: string;
|
|
1919
|
-
} | undefined;
|
|
1920
|
-
readonly message?: string | undefined;
|
|
1921
|
-
readonly id: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
2104
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
2105
|
+
readonly exitCode: number;
|
|
1922
2106
|
};
|
|
1923
2107
|
} | {
|
|
1924
2108
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1926,15 +2110,22 @@ export declare const make: (options?: {
|
|
|
1926
2110
|
readonly metadata?: {
|
|
1927
2111
|
readonly [x: string]: unknown;
|
|
1928
2112
|
} | undefined;
|
|
1929
|
-
readonly type: "
|
|
2113
|
+
readonly type: "pty.updated";
|
|
1930
2114
|
readonly location?: {
|
|
1931
2115
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1932
2116
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1933
2117
|
} | undefined;
|
|
1934
2118
|
readonly data: {
|
|
1935
|
-
readonly
|
|
1936
|
-
|
|
1937
|
-
|
|
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
|
+
};
|
|
1938
2129
|
};
|
|
1939
2130
|
} | {
|
|
1940
2131
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1942,7 +2133,7 @@ export declare const make: (options?: {
|
|
|
1942
2133
|
readonly metadata?: {
|
|
1943
2134
|
readonly [x: string]: unknown;
|
|
1944
2135
|
} | undefined;
|
|
1945
|
-
readonly type: "
|
|
2136
|
+
readonly type: "reference.updated";
|
|
1946
2137
|
readonly location?: {
|
|
1947
2138
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1948
2139
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -1954,21 +2145,14 @@ export declare const make: (options?: {
|
|
|
1954
2145
|
readonly metadata?: {
|
|
1955
2146
|
readonly [x: string]: unknown;
|
|
1956
2147
|
} | undefined;
|
|
1957
|
-
readonly type: "
|
|
1958
|
-
readonly durable: {
|
|
1959
|
-
readonly aggregateID: string;
|
|
1960
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1961
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1962
|
-
};
|
|
2148
|
+
readonly type: "session.compaction.delta";
|
|
1963
2149
|
readonly location?: {
|
|
1964
2150
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1965
2151
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1966
2152
|
} | undefined;
|
|
1967
2153
|
readonly data: {
|
|
1968
|
-
readonly
|
|
1969
|
-
readonly
|
|
1970
|
-
readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1971
|
-
readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
|
|
2154
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2155
|
+
readonly text: string;
|
|
1972
2156
|
};
|
|
1973
2157
|
} | {
|
|
1974
2158
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1976,13 +2160,13 @@ export declare const make: (options?: {
|
|
|
1976
2160
|
readonly metadata?: {
|
|
1977
2161
|
readonly [x: string]: unknown;
|
|
1978
2162
|
} | undefined;
|
|
1979
|
-
readonly type: "
|
|
2163
|
+
readonly type: "session.idle";
|
|
1980
2164
|
readonly location?: {
|
|
1981
2165
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1982
2166
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1983
2167
|
} | undefined;
|
|
1984
2168
|
readonly data: {
|
|
1985
|
-
readonly
|
|
2169
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1986
2170
|
};
|
|
1987
2171
|
} | {
|
|
1988
2172
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1990,58 +2174,65 @@ export declare const make: (options?: {
|
|
|
1990
2174
|
readonly metadata?: {
|
|
1991
2175
|
readonly [x: string]: unknown;
|
|
1992
2176
|
} | undefined;
|
|
1993
|
-
readonly type: "
|
|
1994
|
-
readonly location?: {
|
|
1995
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1996
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1997
|
-
} | undefined;
|
|
1998
|
-
readonly data: {};
|
|
1999
|
-
} | {
|
|
2000
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2001
|
-
readonly created: number;
|
|
2002
|
-
readonly metadata?: {
|
|
2003
|
-
readonly [x: string]: unknown;
|
|
2004
|
-
} | undefined;
|
|
2005
|
-
readonly type: "config.updated";
|
|
2177
|
+
readonly type: "session.reasoning.delta";
|
|
2006
2178
|
readonly location?: {
|
|
2007
2179
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2008
2180
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2009
2181
|
} | undefined;
|
|
2010
|
-
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
|
+
};
|
|
2011
2188
|
} | {
|
|
2012
2189
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2013
2190
|
readonly created: number;
|
|
2014
2191
|
readonly metadata?: {
|
|
2015
2192
|
readonly [x: string]: unknown;
|
|
2016
2193
|
} | undefined;
|
|
2017
|
-
readonly type: "
|
|
2194
|
+
readonly type: "session.status";
|
|
2018
2195
|
readonly location?: {
|
|
2019
2196
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2020
2197
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2021
2198
|
} | undefined;
|
|
2022
|
-
readonly data: {
|
|
2199
|
+
readonly data: {
|
|
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;
|
|
2218
|
+
};
|
|
2219
|
+
};
|
|
2023
2220
|
} | {
|
|
2024
2221
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2025
2222
|
readonly created: number;
|
|
2026
2223
|
readonly metadata?: {
|
|
2027
2224
|
readonly [x: string]: unknown;
|
|
2028
2225
|
} | undefined;
|
|
2029
|
-
readonly type: "
|
|
2226
|
+
readonly type: "session.text.delta";
|
|
2030
2227
|
readonly location?: {
|
|
2031
2228
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2032
2229
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2033
2230
|
} | undefined;
|
|
2034
2231
|
readonly data: {
|
|
2035
|
-
readonly
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
readonly args: readonly string[];
|
|
2040
|
-
readonly cwd: string;
|
|
2041
|
-
readonly status: "exited" | "running";
|
|
2042
|
-
readonly pid: number;
|
|
2043
|
-
readonly exitCode?: number | undefined;
|
|
2044
|
-
};
|
|
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;
|
|
2045
2236
|
};
|
|
2046
2237
|
} | {
|
|
2047
2238
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2049,13 +2240,16 @@ export declare const make: (options?: {
|
|
|
2049
2240
|
readonly metadata?: {
|
|
2050
2241
|
readonly [x: string]: unknown;
|
|
2051
2242
|
} | undefined;
|
|
2052
|
-
readonly type: "
|
|
2243
|
+
readonly type: "session.tool.input.delta";
|
|
2053
2244
|
readonly location?: {
|
|
2054
2245
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2055
2246
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2056
2247
|
} | undefined;
|
|
2057
2248
|
readonly data: {
|
|
2058
|
-
readonly
|
|
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;
|
|
2059
2253
|
};
|
|
2060
2254
|
} | {
|
|
2061
2255
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2063,14 +2257,18 @@ export declare const make: (options?: {
|
|
|
2063
2257
|
readonly metadata?: {
|
|
2064
2258
|
readonly [x: string]: unknown;
|
|
2065
2259
|
} | undefined;
|
|
2066
|
-
readonly type: "
|
|
2260
|
+
readonly type: "session.tool.progress";
|
|
2067
2261
|
readonly location?: {
|
|
2068
2262
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2069
2263
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2070
2264
|
} | undefined;
|
|
2071
2265
|
readonly data: {
|
|
2072
|
-
readonly
|
|
2073
|
-
readonly
|
|
2266
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2267
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2268
|
+
readonly id: string;
|
|
2269
|
+
readonly metadata: {
|
|
2270
|
+
readonly [x: string]: Schema.Json;
|
|
2271
|
+
};
|
|
2074
2272
|
};
|
|
2075
2273
|
} | {
|
|
2076
2274
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2078,21 +2276,22 @@ export declare const make: (options?: {
|
|
|
2078
2276
|
readonly metadata?: {
|
|
2079
2277
|
readonly [x: string]: unknown;
|
|
2080
2278
|
} | undefined;
|
|
2081
|
-
readonly type: "
|
|
2279
|
+
readonly type: "session.usage.updated";
|
|
2082
2280
|
readonly location?: {
|
|
2083
2281
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2084
2282
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2085
2283
|
} | undefined;
|
|
2086
2284
|
readonly data: {
|
|
2087
|
-
readonly
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
readonly
|
|
2091
|
-
readonly
|
|
2092
|
-
readonly
|
|
2093
|
-
readonly
|
|
2094
|
-
|
|
2095
|
-
|
|
2285
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
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
|
+
};
|
|
2096
2295
|
};
|
|
2097
2296
|
};
|
|
2098
2297
|
} | {
|
|
@@ -2101,14 +2300,30 @@ export declare const make: (options?: {
|
|
|
2101
2300
|
readonly metadata?: {
|
|
2102
2301
|
readonly [x: string]: unknown;
|
|
2103
2302
|
} | undefined;
|
|
2104
|
-
readonly type: "
|
|
2303
|
+
readonly type: "shell.created";
|
|
2105
2304
|
readonly location?: {
|
|
2106
2305
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2107
2306
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2108
2307
|
} | undefined;
|
|
2109
2308
|
readonly data: {
|
|
2110
|
-
readonly
|
|
2111
|
-
|
|
2309
|
+
readonly info: {
|
|
2310
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
2311
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
2312
|
+
readonly command: string;
|
|
2313
|
+
readonly cwd: string;
|
|
2314
|
+
readonly shell: string;
|
|
2315
|
+
readonly file: string;
|
|
2316
|
+
readonly pid?: number | undefined;
|
|
2317
|
+
readonly exit?: number | undefined;
|
|
2318
|
+
readonly signal?: string | undefined;
|
|
2319
|
+
readonly metadata: {
|
|
2320
|
+
readonly [x: string]: unknown;
|
|
2321
|
+
};
|
|
2322
|
+
readonly time: {
|
|
2323
|
+
readonly started: number;
|
|
2324
|
+
readonly completed?: number | undefined;
|
|
2325
|
+
};
|
|
2326
|
+
};
|
|
2112
2327
|
};
|
|
2113
2328
|
} | {
|
|
2114
2329
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2116,209 +2331,13 @@ export declare const make: (options?: {
|
|
|
2116
2331
|
readonly metadata?: {
|
|
2117
2332
|
readonly [x: string]: unknown;
|
|
2118
2333
|
} | undefined;
|
|
2119
|
-
readonly type: "
|
|
2334
|
+
readonly type: "shell.deleted";
|
|
2120
2335
|
readonly location?: {
|
|
2121
2336
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2122
2337
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2123
2338
|
} | undefined;
|
|
2124
2339
|
readonly data: {
|
|
2125
|
-
readonly
|
|
2126
|
-
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
2127
|
-
readonly sessionID: string;
|
|
2128
|
-
readonly title: string;
|
|
2129
|
-
readonly metadata?: {
|
|
2130
|
-
readonly [x: string]: unknown;
|
|
2131
|
-
} | undefined;
|
|
2132
|
-
readonly fields: readonly [{
|
|
2133
|
-
readonly key: string;
|
|
2134
|
-
readonly title?: string | undefined;
|
|
2135
|
-
readonly description?: string | undefined;
|
|
2136
|
-
readonly required?: boolean | undefined;
|
|
2137
|
-
readonly hidden?: boolean | undefined;
|
|
2138
|
-
readonly when?: readonly {
|
|
2139
|
-
readonly key: string;
|
|
2140
|
-
readonly op: "eq" | "neq";
|
|
2141
|
-
readonly value: string | number | boolean;
|
|
2142
|
-
}[] | undefined;
|
|
2143
|
-
readonly type: "string";
|
|
2144
|
-
readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
|
|
2145
|
-
readonly minLength?: number | undefined;
|
|
2146
|
-
readonly maxLength?: number | undefined;
|
|
2147
|
-
readonly pattern?: string | undefined;
|
|
2148
|
-
readonly placeholder?: string | undefined;
|
|
2149
|
-
readonly default?: string | undefined;
|
|
2150
|
-
readonly options?: readonly {
|
|
2151
|
-
readonly value: string;
|
|
2152
|
-
readonly label: string;
|
|
2153
|
-
readonly description?: string | undefined;
|
|
2154
|
-
}[] | undefined;
|
|
2155
|
-
readonly custom?: boolean | undefined;
|
|
2156
|
-
} | {
|
|
2157
|
-
readonly key: string;
|
|
2158
|
-
readonly title?: string | undefined;
|
|
2159
|
-
readonly description?: string | undefined;
|
|
2160
|
-
readonly required?: boolean | undefined;
|
|
2161
|
-
readonly hidden?: boolean | undefined;
|
|
2162
|
-
readonly when?: readonly {
|
|
2163
|
-
readonly key: string;
|
|
2164
|
-
readonly op: "eq" | "neq";
|
|
2165
|
-
readonly value: string | number | boolean;
|
|
2166
|
-
}[] | undefined;
|
|
2167
|
-
readonly type: "number";
|
|
2168
|
-
readonly minimum?: number | undefined;
|
|
2169
|
-
readonly maximum?: number | undefined;
|
|
2170
|
-
readonly default?: number | undefined;
|
|
2171
|
-
} | {
|
|
2172
|
-
readonly key: string;
|
|
2173
|
-
readonly title?: string | undefined;
|
|
2174
|
-
readonly description?: string | undefined;
|
|
2175
|
-
readonly required?: boolean | undefined;
|
|
2176
|
-
readonly hidden?: boolean | undefined;
|
|
2177
|
-
readonly when?: readonly {
|
|
2178
|
-
readonly key: string;
|
|
2179
|
-
readonly op: "eq" | "neq";
|
|
2180
|
-
readonly value: string | number | boolean;
|
|
2181
|
-
}[] | undefined;
|
|
2182
|
-
readonly type: "integer";
|
|
2183
|
-
readonly minimum?: number | undefined;
|
|
2184
|
-
readonly maximum?: number | undefined;
|
|
2185
|
-
readonly default?: number | undefined;
|
|
2186
|
-
} | {
|
|
2187
|
-
readonly key: string;
|
|
2188
|
-
readonly title?: string | undefined;
|
|
2189
|
-
readonly description?: string | undefined;
|
|
2190
|
-
readonly required?: boolean | undefined;
|
|
2191
|
-
readonly hidden?: boolean | undefined;
|
|
2192
|
-
readonly when?: readonly {
|
|
2193
|
-
readonly key: string;
|
|
2194
|
-
readonly op: "eq" | "neq";
|
|
2195
|
-
readonly value: string | number | boolean;
|
|
2196
|
-
}[] | undefined;
|
|
2197
|
-
readonly type: "boolean";
|
|
2198
|
-
readonly default?: boolean | undefined;
|
|
2199
|
-
} | {
|
|
2200
|
-
readonly key: string;
|
|
2201
|
-
readonly title?: string | undefined;
|
|
2202
|
-
readonly description?: string | undefined;
|
|
2203
|
-
readonly required?: boolean | undefined;
|
|
2204
|
-
readonly hidden?: boolean | undefined;
|
|
2205
|
-
readonly when?: readonly {
|
|
2206
|
-
readonly key: string;
|
|
2207
|
-
readonly op: "eq" | "neq";
|
|
2208
|
-
readonly value: string | number | boolean;
|
|
2209
|
-
}[] | undefined;
|
|
2210
|
-
readonly type: "multiselect";
|
|
2211
|
-
readonly options: readonly {
|
|
2212
|
-
readonly value: string;
|
|
2213
|
-
readonly label: string;
|
|
2214
|
-
readonly description?: string | undefined;
|
|
2215
|
-
}[];
|
|
2216
|
-
readonly minItems?: number | undefined;
|
|
2217
|
-
readonly maxItems?: number | undefined;
|
|
2218
|
-
readonly custom?: boolean | undefined;
|
|
2219
|
-
readonly default?: readonly string[] | undefined;
|
|
2220
|
-
} | {
|
|
2221
|
-
readonly key: string;
|
|
2222
|
-
readonly type: "external";
|
|
2223
|
-
readonly url: string;
|
|
2224
|
-
readonly title?: string | undefined;
|
|
2225
|
-
readonly description?: string | undefined;
|
|
2226
|
-
}, ...({
|
|
2227
|
-
readonly key: string;
|
|
2228
|
-
readonly title?: string | undefined;
|
|
2229
|
-
readonly description?: string | undefined;
|
|
2230
|
-
readonly required?: boolean | undefined;
|
|
2231
|
-
readonly hidden?: boolean | undefined;
|
|
2232
|
-
readonly when?: readonly {
|
|
2233
|
-
readonly key: string;
|
|
2234
|
-
readonly op: "eq" | "neq";
|
|
2235
|
-
readonly value: string | number | boolean;
|
|
2236
|
-
}[] | undefined;
|
|
2237
|
-
readonly type: "string";
|
|
2238
|
-
readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
|
|
2239
|
-
readonly minLength?: number | undefined;
|
|
2240
|
-
readonly maxLength?: number | undefined;
|
|
2241
|
-
readonly pattern?: string | undefined;
|
|
2242
|
-
readonly placeholder?: string | undefined;
|
|
2243
|
-
readonly default?: string | undefined;
|
|
2244
|
-
readonly options?: readonly {
|
|
2245
|
-
readonly value: string;
|
|
2246
|
-
readonly label: string;
|
|
2247
|
-
readonly description?: string | undefined;
|
|
2248
|
-
}[] | undefined;
|
|
2249
|
-
readonly custom?: boolean | undefined;
|
|
2250
|
-
} | {
|
|
2251
|
-
readonly key: string;
|
|
2252
|
-
readonly title?: string | undefined;
|
|
2253
|
-
readonly description?: string | undefined;
|
|
2254
|
-
readonly required?: boolean | undefined;
|
|
2255
|
-
readonly hidden?: boolean | undefined;
|
|
2256
|
-
readonly when?: readonly {
|
|
2257
|
-
readonly key: string;
|
|
2258
|
-
readonly op: "eq" | "neq";
|
|
2259
|
-
readonly value: string | number | boolean;
|
|
2260
|
-
}[] | undefined;
|
|
2261
|
-
readonly type: "number";
|
|
2262
|
-
readonly minimum?: number | undefined;
|
|
2263
|
-
readonly maximum?: number | undefined;
|
|
2264
|
-
readonly default?: number | undefined;
|
|
2265
|
-
} | {
|
|
2266
|
-
readonly key: string;
|
|
2267
|
-
readonly title?: string | undefined;
|
|
2268
|
-
readonly description?: string | undefined;
|
|
2269
|
-
readonly required?: boolean | undefined;
|
|
2270
|
-
readonly hidden?: boolean | undefined;
|
|
2271
|
-
readonly when?: readonly {
|
|
2272
|
-
readonly key: string;
|
|
2273
|
-
readonly op: "eq" | "neq";
|
|
2274
|
-
readonly value: string | number | boolean;
|
|
2275
|
-
}[] | undefined;
|
|
2276
|
-
readonly type: "integer";
|
|
2277
|
-
readonly minimum?: number | undefined;
|
|
2278
|
-
readonly maximum?: number | undefined;
|
|
2279
|
-
readonly default?: number | undefined;
|
|
2280
|
-
} | {
|
|
2281
|
-
readonly key: string;
|
|
2282
|
-
readonly title?: string | undefined;
|
|
2283
|
-
readonly description?: string | undefined;
|
|
2284
|
-
readonly required?: boolean | undefined;
|
|
2285
|
-
readonly hidden?: boolean | undefined;
|
|
2286
|
-
readonly when?: readonly {
|
|
2287
|
-
readonly key: string;
|
|
2288
|
-
readonly op: "eq" | "neq";
|
|
2289
|
-
readonly value: string | number | boolean;
|
|
2290
|
-
}[] | undefined;
|
|
2291
|
-
readonly type: "boolean";
|
|
2292
|
-
readonly default?: boolean | undefined;
|
|
2293
|
-
} | {
|
|
2294
|
-
readonly key: string;
|
|
2295
|
-
readonly title?: string | undefined;
|
|
2296
|
-
readonly description?: string | undefined;
|
|
2297
|
-
readonly required?: boolean | undefined;
|
|
2298
|
-
readonly hidden?: boolean | undefined;
|
|
2299
|
-
readonly when?: readonly {
|
|
2300
|
-
readonly key: string;
|
|
2301
|
-
readonly op: "eq" | "neq";
|
|
2302
|
-
readonly value: string | number | boolean;
|
|
2303
|
-
}[] | undefined;
|
|
2304
|
-
readonly type: "multiselect";
|
|
2305
|
-
readonly options: readonly {
|
|
2306
|
-
readonly value: string;
|
|
2307
|
-
readonly label: string;
|
|
2308
|
-
readonly description?: string | undefined;
|
|
2309
|
-
}[];
|
|
2310
|
-
readonly minItems?: number | undefined;
|
|
2311
|
-
readonly maxItems?: number | undefined;
|
|
2312
|
-
readonly custom?: boolean | undefined;
|
|
2313
|
-
readonly default?: readonly string[] | undefined;
|
|
2314
|
-
} | {
|
|
2315
|
-
readonly key: string;
|
|
2316
|
-
readonly type: "external";
|
|
2317
|
-
readonly url: string;
|
|
2318
|
-
readonly title?: string | undefined;
|
|
2319
|
-
readonly description?: string | undefined;
|
|
2320
|
-
})[]];
|
|
2321
|
-
};
|
|
2340
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
2322
2341
|
};
|
|
2323
2342
|
} | {
|
|
2324
2343
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2326,17 +2345,15 @@ export declare const make: (options?: {
|
|
|
2326
2345
|
readonly metadata?: {
|
|
2327
2346
|
readonly [x: string]: unknown;
|
|
2328
2347
|
} | undefined;
|
|
2329
|
-
readonly type: "
|
|
2348
|
+
readonly type: "shell.exited";
|
|
2330
2349
|
readonly location?: {
|
|
2331
2350
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2332
2351
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2333
2352
|
} | undefined;
|
|
2334
2353
|
readonly data: {
|
|
2335
|
-
readonly id: string & import("effect/Brand").Brand<"
|
|
2336
|
-
readonly
|
|
2337
|
-
readonly
|
|
2338
|
-
readonly [x: string]: string | number | boolean | readonly string[];
|
|
2339
|
-
};
|
|
2354
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
2355
|
+
readonly exit?: number | undefined;
|
|
2356
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
2340
2357
|
};
|
|
2341
2358
|
} | {
|
|
2342
2359
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2344,7 +2361,7 @@ export declare const make: (options?: {
|
|
|
2344
2361
|
readonly metadata?: {
|
|
2345
2362
|
readonly [x: string]: unknown;
|
|
2346
2363
|
} | undefined;
|
|
2347
|
-
readonly type: "
|
|
2364
|
+
readonly type: "skill.updated";
|
|
2348
2365
|
readonly location?: {
|
|
2349
2366
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2350
2367
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -2415,13 +2432,13 @@ export declare const make: (options?: {
|
|
|
2415
2432
|
readonly metadata?: {
|
|
2416
2433
|
readonly [x: string]: unknown;
|
|
2417
2434
|
} | undefined;
|
|
2418
|
-
readonly type: "
|
|
2435
|
+
readonly type: "vcs.branch.updated";
|
|
2419
2436
|
readonly location?: {
|
|
2420
2437
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2421
2438
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2422
2439
|
} | undefined;
|
|
2423
2440
|
readonly data: {
|
|
2424
|
-
readonly
|
|
2441
|
+
readonly branch?: string | undefined;
|
|
2425
2442
|
};
|
|
2426
2443
|
} | {
|
|
2427
2444
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2429,27 +2446,25 @@ export declare const make: (options?: {
|
|
|
2429
2446
|
readonly metadata?: {
|
|
2430
2447
|
readonly [x: string]: unknown;
|
|
2431
2448
|
} | undefined;
|
|
2432
|
-
readonly type: "
|
|
2449
|
+
readonly type: "websearch.updated";
|
|
2433
2450
|
readonly location?: {
|
|
2434
2451
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2435
2452
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2436
2453
|
} | undefined;
|
|
2437
|
-
readonly data: {
|
|
2438
|
-
readonly version: string;
|
|
2439
|
-
};
|
|
2454
|
+
readonly data: {};
|
|
2440
2455
|
} | {
|
|
2441
2456
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2442
2457
|
readonly created: number;
|
|
2443
2458
|
readonly metadata?: {
|
|
2444
2459
|
readonly [x: string]: unknown;
|
|
2445
2460
|
} | undefined;
|
|
2446
|
-
readonly type: "
|
|
2461
|
+
readonly type: "worktree.updated";
|
|
2447
2462
|
readonly location?: {
|
|
2448
2463
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2449
2464
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2450
2465
|
} | undefined;
|
|
2451
2466
|
readonly data: {
|
|
2452
|
-
readonly
|
|
2467
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
2453
2468
|
};
|
|
2454
2469
|
} | {
|
|
2455
2470
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2457,27 +2472,12 @@ export declare const make: (options?: {
|
|
|
2457
2472
|
readonly metadata?: {
|
|
2458
2473
|
readonly [x: string]: unknown;
|
|
2459
2474
|
} | undefined;
|
|
2460
|
-
readonly type:
|
|
2461
|
-
readonly location
|
|
2475
|
+
readonly type: `rpc.${string}`;
|
|
2476
|
+
readonly location: {
|
|
2462
2477
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2463
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2464
|
-
} | undefined;
|
|
2465
|
-
readonly data: {
|
|
2466
|
-
readonly server: string;
|
|
2467
2478
|
};
|
|
2468
|
-
} | {
|
|
2469
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2470
|
-
readonly created: number;
|
|
2471
|
-
readonly metadata?: {
|
|
2472
|
-
readonly [x: string]: unknown;
|
|
2473
|
-
} | undefined;
|
|
2474
|
-
readonly type: "mcp.status.changed";
|
|
2475
|
-
readonly location?: {
|
|
2476
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2477
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2478
|
-
} | undefined;
|
|
2479
2479
|
readonly data: {
|
|
2480
|
-
readonly
|
|
2480
|
+
readonly [x: string]: unknown;
|
|
2481
2481
|
};
|
|
2482
2482
|
} | {
|
|
2483
2483
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2545,7 +2545,7 @@ export declare const make: (options?: {
|
|
|
2545
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>;
|
|
2546
2546
|
};
|
|
2547
2547
|
debug: {
|
|
2548
|
-
heapDump: () => Effect.Effect<DebugHeapDumpOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnknownError, never>;
|
|
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>;
|
|
2549
2549
|
location: {
|
|
2550
2550
|
list: () => Effect.Effect<DebugLocationListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2551
2551
|
evict: (input?: DebugLocationEvictInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|