@opencode/client 0.0.0-dev-21599 → 0.0.0-dev-21612
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{service-timing-y2etg5bs.js → service-timing-7f0py9js.js} +2 -2
- package/dist/chunks/{service-timing-ezt8t3fk.js → service-timing-c46qzyff.js} +2 -2
- package/dist/chunks/{service-timing-61wt4y9h.js → service-timing-g9ajxfy0.js} +1 -1
- package/dist/chunks/{service-timing-7j6qs0tw.js → service-timing-g9wej58t.js} +15 -15
- package/dist/chunks/{service-timing-nwcpakzx.js → service-timing-js54wxgp.js} +2 -2
- package/dist/chunks/{service-timing-bd9wd9zc.js → service-timing-ka0wmgdp.js} +10 -10
- package/dist/chunks/{service-timing-15p82y03.js → service-timing-myz4ngx9.js} +3 -3
- package/dist/chunks/{service-timing-g22sa7qz.js → service-timing-q4a98k9r.js} +29 -18
- package/dist/chunks/{service-timing-6vp15eh6.js → service-timing-skhp7hxc.js} +1 -1
- package/dist/chunks/{service-timing-f0mehgdh.js → service-timing-wwnmjcfr.js} +14 -9
- package/dist/effect/api/api.d.ts +16 -1
- package/dist/effect/client.d.ts +673 -670
- package/dist/effect/client.js +9 -9
- package/dist/effect/generated/client-error.js +3 -3
- package/dist/effect/generated/client.d.ts +452 -449
- package/dist/effect/generated/client.js +4 -4
- package/dist/effect/generated/index.js +6 -6
- package/dist/effect/index.js +8 -8
- package/dist/effect/rpc.js +3 -3
- package/dist/effect/service.js +1 -1
- package/dist/mcp.d.ts +44 -0
- package/dist/mcp.js +110 -0
- package/dist/promise/client.d.ts +3 -0
- package/dist/promise/client.js +9 -9
- package/dist/promise/generated/client-error.js +3 -3
- package/dist/promise/generated/client.d.ts +4 -1
- package/dist/promise/generated/client.js +4 -4
- package/dist/promise/generated/index.js +8 -8
- package/dist/promise/generated/types.d.ts +30 -9
- package/dist/promise/generated/types.js +2 -2
- package/dist/promise/index.js +10 -10
- package/dist/promise/rpc.js +2 -2
- package/dist/promise/service.js +1 -1
- package/dist/pty-handoff.js +1 -1
- package/dist/solid/data.js +6 -6
- package/dist/solid/index.js +6 -6
- package/package.json +9 -4
- /package/dist/chunks/{service-timing-b6wmvv71.js → service-timing-5g2t7szy.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Effect, Stream, Schema } from "effect";
|
|
2
2
|
import { Sse } from "effect/encoding";
|
|
3
3
|
import { HttpClientError } from "effect/http";
|
|
4
|
-
import type { ServerInfoOutput, ServerPairOutput, ServerConnectInput, ServerConnectOutput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionListOutput, SessionStatsInput, SessionStatsOutput, SessionCreateInput, SessionImportInput, SessionExportInput, SessionExportOutput, SessionActiveOutput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSkillInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionWaitInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionContextOutput, SessionDiffInput, SessionDiffOutput, SessionInboxListInput, SessionInboxListOutput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionInstructionsEntryListInput, SessionInstructionsEntryListOutput, SessionInstructionsEntryPutInput, SessionInstructionsEntryRemoveInput, SessionGenerateInput, SessionGenerateOutput, SessionLogInput, SessionLogOutput, SessionInterruptInput, SessionInterruptOutput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormListOutput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, MessageListInput, MessageListOutput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, GenerateTextInput, GenerateTextOutput, VoiceModelsOutput, VoiceSessionInput, VoiceSessionOutput, VoiceInstructionsInput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationWellknownAddInput, IntegrationConnectKeyInput, IntegrationConnectExternalInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, McpListInput, McpListOutput, McpAddInput, McpRemoveInput, McpConnectInput, McpDisconnectInput, McpResourceCatalogInput, McpResourceCatalogOutput, CredentialListOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedListOutput, PermissionSavedUpdateInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionCreateOutput, PermissionListInput, PermissionListOutput, PermissionGetInput, PermissionReplyInput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, RpcCallOutput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyReadOutput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyListOutput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyCreateOutput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyGetOutput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtyUpdateOutput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtySnapshotOutput, ExperimentalPersistentPtyRemoveInput, ExperimentalPersistentPtyConnectTokenInput, ShellListInput, ShellListOutput, ShellCreateInput, ShellCreateOutput, ShellGetInput, ShellGetOutput, ShellOutputInput, ShellOutputOutput, ShellRemoveInput, ReferenceListInput, ReferenceListOutput, WorktreeListInput, WorktreeCreateInput, WorktreeRemoveInput, WorktreeRefreshInput, VcsInitInput, VcsGetInput, VcsGetOutput, VcsBaseInput, VcsBaseOutput, VcsStatusInput, VcsStatusOutput, VcsBranchListInput, VcsBranchListOutput, VcsDiffInput, VcsDiffOutput, DebugLocationListOutput, DebugLocationEvictInput, MigrationV1StatusOutput, WebsearchProvidersInput, WebsearchProvidersOutput, WebsearchQueryInput, WebsearchQueryOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ConfigUpdateInput } from "../api/api.js";
|
|
4
|
+
import type { ServerInfoOutput, ServerPairOutput, ServerConnectInput, ServerConnectOutput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionListOutput, SessionStatsInput, SessionStatsOutput, SessionCreateInput, SessionImportInput, SessionExportInput, SessionExportOutput, SessionActiveOutput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSkillInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionWaitInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionContextOutput, SessionDiffInput, SessionDiffOutput, SessionInboxListInput, SessionInboxListOutput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionInstructionsEntryListInput, SessionInstructionsEntryListOutput, SessionInstructionsEntryPutInput, SessionInstructionsEntryRemoveInput, SessionGenerateInput, SessionGenerateOutput, SessionLogInput, SessionLogOutput, SessionInterruptInput, SessionInterruptOutput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormListOutput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, MessageListInput, MessageListOutput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, GenerateTextInput, GenerateTextOutput, VoiceModelsOutput, VoiceSessionInput, VoiceSessionOutput, VoiceInstructionsInput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationWellknownAddInput, IntegrationConnectKeyInput, IntegrationConnectExternalInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, McpListInput, McpListOutput, McpAddInput, McpRemoveInput, McpConnectInput, McpDisconnectInput, McpResourceCatalogInput, McpResourceCatalogOutput, McpClientTokenInput, McpClientTokenOutput, CredentialListOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedListOutput, PermissionSavedUpdateInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionCreateOutput, PermissionListInput, PermissionListOutput, PermissionGetInput, PermissionReplyInput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, RpcCallOutput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyReadOutput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyListOutput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyCreateOutput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyGetOutput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtyUpdateOutput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtySnapshotOutput, ExperimentalPersistentPtyRemoveInput, ExperimentalPersistentPtyConnectTokenInput, ShellListInput, ShellListOutput, ShellCreateInput, ShellCreateOutput, ShellGetInput, ShellGetOutput, ShellOutputInput, ShellOutputOutput, ShellRemoveInput, ReferenceListInput, ReferenceListOutput, WorktreeListInput, WorktreeCreateInput, WorktreeRemoveInput, WorktreeRefreshInput, VcsInitInput, VcsGetInput, VcsGetOutput, VcsBaseInput, VcsBaseOutput, VcsStatusInput, VcsStatusOutput, VcsBranchListInput, VcsBranchListOutput, VcsDiffInput, VcsDiffOutput, DebugLocationListOutput, DebugLocationEvictInput, MigrationV1StatusOutput, WebsearchProvidersInput, WebsearchProvidersOutput, WebsearchQueryInput, WebsearchQueryOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ConfigUpdateInput } from "../api/api.js";
|
|
5
5
|
import { ClientError } from "./client-error.js";
|
|
6
6
|
export declare const make: (options?: {
|
|
7
7
|
readonly baseUrl?: URL | string;
|
|
@@ -131,6 +131,9 @@ export declare const make: (options?: {
|
|
|
131
131
|
resource: {
|
|
132
132
|
catalog: (input?: McpResourceCatalogInput) => Effect.Effect<McpResourceCatalogOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
133
133
|
};
|
|
134
|
+
client: {
|
|
135
|
+
token: (input: McpClientTokenInput) => Effect.Effect<McpClientTokenOutput, ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
136
|
+
};
|
|
134
137
|
};
|
|
135
138
|
credential: {
|
|
136
139
|
list: () => Effect.Effect<CredentialListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
@@ -180,14 +183,55 @@ export declare const make: (options?: {
|
|
|
180
183
|
readonly metadata?: {
|
|
181
184
|
readonly [x: string]: unknown;
|
|
182
185
|
} | undefined;
|
|
183
|
-
readonly type: "
|
|
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";
|
|
184
211
|
readonly location?: {
|
|
185
212
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
186
213
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
187
214
|
} | undefined;
|
|
188
215
|
readonly data: {
|
|
189
|
-
readonly id: string & import("effect/Brand").Brand<"
|
|
190
|
-
readonly
|
|
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[];
|
|
191
235
|
};
|
|
192
236
|
} | {
|
|
193
237
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -195,208 +239,29 @@ export declare const make: (options?: {
|
|
|
195
239
|
readonly metadata?: {
|
|
196
240
|
readonly [x: string]: unknown;
|
|
197
241
|
} | undefined;
|
|
198
|
-
readonly type: "
|
|
242
|
+
readonly type: "shell.created";
|
|
199
243
|
readonly location?: {
|
|
200
244
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
201
245
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
202
246
|
} | undefined;
|
|
203
247
|
readonly data: {
|
|
204
|
-
readonly
|
|
205
|
-
readonly id: string & import("effect/Brand").Brand<"
|
|
206
|
-
readonly
|
|
207
|
-
readonly
|
|
208
|
-
readonly
|
|
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: {
|
|
209
259
|
readonly [x: string]: unknown;
|
|
210
|
-
}
|
|
211
|
-
readonly
|
|
212
|
-
readonly
|
|
213
|
-
readonly
|
|
214
|
-
|
|
215
|
-
readonly required?: boolean | undefined;
|
|
216
|
-
readonly hidden?: boolean | undefined;
|
|
217
|
-
readonly when?: readonly {
|
|
218
|
-
readonly key: string;
|
|
219
|
-
readonly op: "eq" | "neq";
|
|
220
|
-
readonly value: string | number | boolean;
|
|
221
|
-
}[] | undefined;
|
|
222
|
-
readonly type: "string";
|
|
223
|
-
readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
|
|
224
|
-
readonly minLength?: number | undefined;
|
|
225
|
-
readonly maxLength?: number | undefined;
|
|
226
|
-
readonly pattern?: string | undefined;
|
|
227
|
-
readonly placeholder?: string | undefined;
|
|
228
|
-
readonly default?: string | undefined;
|
|
229
|
-
readonly options?: readonly {
|
|
230
|
-
readonly value: string;
|
|
231
|
-
readonly label: string;
|
|
232
|
-
readonly description?: string | undefined;
|
|
233
|
-
}[] | undefined;
|
|
234
|
-
readonly custom?: boolean | undefined;
|
|
235
|
-
} | {
|
|
236
|
-
readonly key: string;
|
|
237
|
-
readonly title?: string | undefined;
|
|
238
|
-
readonly description?: string | undefined;
|
|
239
|
-
readonly required?: boolean | undefined;
|
|
240
|
-
readonly hidden?: boolean | undefined;
|
|
241
|
-
readonly when?: readonly {
|
|
242
|
-
readonly key: string;
|
|
243
|
-
readonly op: "eq" | "neq";
|
|
244
|
-
readonly value: string | number | boolean;
|
|
245
|
-
}[] | undefined;
|
|
246
|
-
readonly type: "number";
|
|
247
|
-
readonly minimum?: number | undefined;
|
|
248
|
-
readonly maximum?: number | undefined;
|
|
249
|
-
readonly default?: number | undefined;
|
|
250
|
-
} | {
|
|
251
|
-
readonly key: string;
|
|
252
|
-
readonly title?: string | undefined;
|
|
253
|
-
readonly description?: string | undefined;
|
|
254
|
-
readonly required?: boolean | undefined;
|
|
255
|
-
readonly hidden?: boolean | undefined;
|
|
256
|
-
readonly when?: readonly {
|
|
257
|
-
readonly key: string;
|
|
258
|
-
readonly op: "eq" | "neq";
|
|
259
|
-
readonly value: string | number | boolean;
|
|
260
|
-
}[] | undefined;
|
|
261
|
-
readonly type: "integer";
|
|
262
|
-
readonly minimum?: number | undefined;
|
|
263
|
-
readonly maximum?: number | undefined;
|
|
264
|
-
readonly default?: number | undefined;
|
|
265
|
-
} | {
|
|
266
|
-
readonly key: string;
|
|
267
|
-
readonly title?: string | undefined;
|
|
268
|
-
readonly description?: string | undefined;
|
|
269
|
-
readonly required?: boolean | undefined;
|
|
270
|
-
readonly hidden?: boolean | undefined;
|
|
271
|
-
readonly when?: readonly {
|
|
272
|
-
readonly key: string;
|
|
273
|
-
readonly op: "eq" | "neq";
|
|
274
|
-
readonly value: string | number | boolean;
|
|
275
|
-
}[] | undefined;
|
|
276
|
-
readonly type: "boolean";
|
|
277
|
-
readonly default?: boolean | undefined;
|
|
278
|
-
} | {
|
|
279
|
-
readonly key: string;
|
|
280
|
-
readonly title?: string | undefined;
|
|
281
|
-
readonly description?: string | undefined;
|
|
282
|
-
readonly required?: boolean | undefined;
|
|
283
|
-
readonly hidden?: boolean | undefined;
|
|
284
|
-
readonly when?: readonly {
|
|
285
|
-
readonly key: string;
|
|
286
|
-
readonly op: "eq" | "neq";
|
|
287
|
-
readonly value: string | number | boolean;
|
|
288
|
-
}[] | undefined;
|
|
289
|
-
readonly type: "multiselect";
|
|
290
|
-
readonly options: readonly {
|
|
291
|
-
readonly value: string;
|
|
292
|
-
readonly label: string;
|
|
293
|
-
readonly description?: string | undefined;
|
|
294
|
-
}[];
|
|
295
|
-
readonly minItems?: number | undefined;
|
|
296
|
-
readonly maxItems?: number | undefined;
|
|
297
|
-
readonly custom?: boolean | undefined;
|
|
298
|
-
readonly default?: readonly string[] | undefined;
|
|
299
|
-
} | {
|
|
300
|
-
readonly key: string;
|
|
301
|
-
readonly type: "external";
|
|
302
|
-
readonly url: string;
|
|
303
|
-
readonly title?: string | undefined;
|
|
304
|
-
readonly description?: string | undefined;
|
|
305
|
-
}, ...({
|
|
306
|
-
readonly key: string;
|
|
307
|
-
readonly title?: string | undefined;
|
|
308
|
-
readonly description?: string | undefined;
|
|
309
|
-
readonly required?: boolean | undefined;
|
|
310
|
-
readonly hidden?: boolean | undefined;
|
|
311
|
-
readonly when?: readonly {
|
|
312
|
-
readonly key: string;
|
|
313
|
-
readonly op: "eq" | "neq";
|
|
314
|
-
readonly value: string | number | boolean;
|
|
315
|
-
}[] | undefined;
|
|
316
|
-
readonly type: "string";
|
|
317
|
-
readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
|
|
318
|
-
readonly minLength?: number | undefined;
|
|
319
|
-
readonly maxLength?: number | undefined;
|
|
320
|
-
readonly pattern?: string | undefined;
|
|
321
|
-
readonly placeholder?: string | undefined;
|
|
322
|
-
readonly default?: string | undefined;
|
|
323
|
-
readonly options?: readonly {
|
|
324
|
-
readonly value: string;
|
|
325
|
-
readonly label: string;
|
|
326
|
-
readonly description?: string | undefined;
|
|
327
|
-
}[] | undefined;
|
|
328
|
-
readonly custom?: boolean | undefined;
|
|
329
|
-
} | {
|
|
330
|
-
readonly key: string;
|
|
331
|
-
readonly title?: string | undefined;
|
|
332
|
-
readonly description?: string | undefined;
|
|
333
|
-
readonly required?: boolean | undefined;
|
|
334
|
-
readonly hidden?: boolean | undefined;
|
|
335
|
-
readonly when?: readonly {
|
|
336
|
-
readonly key: string;
|
|
337
|
-
readonly op: "eq" | "neq";
|
|
338
|
-
readonly value: string | number | boolean;
|
|
339
|
-
}[] | undefined;
|
|
340
|
-
readonly type: "number";
|
|
341
|
-
readonly minimum?: number | undefined;
|
|
342
|
-
readonly maximum?: number | undefined;
|
|
343
|
-
readonly default?: number | undefined;
|
|
344
|
-
} | {
|
|
345
|
-
readonly key: string;
|
|
346
|
-
readonly title?: string | undefined;
|
|
347
|
-
readonly description?: string | undefined;
|
|
348
|
-
readonly required?: boolean | undefined;
|
|
349
|
-
readonly hidden?: boolean | undefined;
|
|
350
|
-
readonly when?: readonly {
|
|
351
|
-
readonly key: string;
|
|
352
|
-
readonly op: "eq" | "neq";
|
|
353
|
-
readonly value: string | number | boolean;
|
|
354
|
-
}[] | undefined;
|
|
355
|
-
readonly type: "integer";
|
|
356
|
-
readonly minimum?: number | undefined;
|
|
357
|
-
readonly maximum?: number | undefined;
|
|
358
|
-
readonly default?: number | undefined;
|
|
359
|
-
} | {
|
|
360
|
-
readonly key: string;
|
|
361
|
-
readonly title?: string | undefined;
|
|
362
|
-
readonly description?: string | undefined;
|
|
363
|
-
readonly required?: boolean | undefined;
|
|
364
|
-
readonly hidden?: boolean | undefined;
|
|
365
|
-
readonly when?: readonly {
|
|
366
|
-
readonly key: string;
|
|
367
|
-
readonly op: "eq" | "neq";
|
|
368
|
-
readonly value: string | number | boolean;
|
|
369
|
-
}[] | undefined;
|
|
370
|
-
readonly type: "boolean";
|
|
371
|
-
readonly default?: boolean | undefined;
|
|
372
|
-
} | {
|
|
373
|
-
readonly key: string;
|
|
374
|
-
readonly title?: string | undefined;
|
|
375
|
-
readonly description?: string | undefined;
|
|
376
|
-
readonly required?: boolean | undefined;
|
|
377
|
-
readonly hidden?: boolean | undefined;
|
|
378
|
-
readonly when?: readonly {
|
|
379
|
-
readonly key: string;
|
|
380
|
-
readonly op: "eq" | "neq";
|
|
381
|
-
readonly value: string | number | boolean;
|
|
382
|
-
}[] | undefined;
|
|
383
|
-
readonly type: "multiselect";
|
|
384
|
-
readonly options: readonly {
|
|
385
|
-
readonly value: string;
|
|
386
|
-
readonly label: string;
|
|
387
|
-
readonly description?: string | undefined;
|
|
388
|
-
}[];
|
|
389
|
-
readonly minItems?: number | undefined;
|
|
390
|
-
readonly maxItems?: number | undefined;
|
|
391
|
-
readonly custom?: boolean | undefined;
|
|
392
|
-
readonly default?: readonly string[] | undefined;
|
|
393
|
-
} | {
|
|
394
|
-
readonly key: string;
|
|
395
|
-
readonly type: "external";
|
|
396
|
-
readonly url: string;
|
|
397
|
-
readonly title?: string | undefined;
|
|
398
|
-
readonly description?: string | undefined;
|
|
399
|
-
})[]];
|
|
260
|
+
};
|
|
261
|
+
readonly time: {
|
|
262
|
+
readonly started: number;
|
|
263
|
+
readonly completed?: number | undefined;
|
|
264
|
+
};
|
|
400
265
|
};
|
|
401
266
|
};
|
|
402
267
|
} | {
|
|
@@ -405,30 +270,137 @@ export declare const make: (options?: {
|
|
|
405
270
|
readonly metadata?: {
|
|
406
271
|
readonly [x: string]: unknown;
|
|
407
272
|
} | undefined;
|
|
408
|
-
readonly type: "
|
|
273
|
+
readonly type: "shell.deleted";
|
|
409
274
|
readonly location?: {
|
|
410
275
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
411
276
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
412
277
|
} | undefined;
|
|
413
278
|
readonly data: {
|
|
414
|
-
readonly id: string & import("effect/Brand").Brand<"
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
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";
|
|
418
402
|
};
|
|
419
403
|
};
|
|
420
|
-
} | {
|
|
421
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
422
|
-
readonly created: number;
|
|
423
|
-
readonly metadata?: {
|
|
424
|
-
readonly [x: string]: unknown;
|
|
425
|
-
} | undefined;
|
|
426
|
-
readonly type: "agent.updated";
|
|
427
|
-
readonly location?: {
|
|
428
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
429
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
430
|
-
} | undefined;
|
|
431
|
-
readonly data: {};
|
|
432
404
|
} | {
|
|
433
405
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
434
406
|
readonly created: number;
|
|
@@ -1824,135 +1796,13 @@ export declare const make: (options?: {
|
|
|
1824
1796
|
readonly metadata?: {
|
|
1825
1797
|
readonly [x: string]: unknown;
|
|
1826
1798
|
} | undefined;
|
|
1827
|
-
readonly type:
|
|
1828
|
-
readonly location
|
|
1829
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1830
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1831
|
-
} | undefined;
|
|
1832
|
-
readonly data: {};
|
|
1833
|
-
} | {
|
|
1834
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1835
|
-
readonly created: number;
|
|
1836
|
-
readonly metadata?: {
|
|
1837
|
-
readonly [x: string]: unknown;
|
|
1838
|
-
} | undefined;
|
|
1839
|
-
readonly type: "worktree.resolved";
|
|
1840
|
-
readonly durable: {
|
|
1841
|
-
readonly aggregateID: string;
|
|
1842
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1843
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1844
|
-
};
|
|
1845
|
-
readonly location?: {
|
|
1846
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1847
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1848
|
-
} | undefined;
|
|
1849
|
-
readonly data: {
|
|
1850
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1851
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1852
|
-
readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1853
|
-
readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
|
|
1854
|
-
};
|
|
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: "worktree.updated";
|
|
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 projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
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: "pty.created";
|
|
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 info: {
|
|
1882
|
-
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
1883
|
-
readonly title: string;
|
|
1884
|
-
readonly command: string;
|
|
1885
|
-
readonly args: readonly string[];
|
|
1886
|
-
readonly cwd: string;
|
|
1887
|
-
readonly status: "exited" | "running";
|
|
1888
|
-
readonly pid: number;
|
|
1889
|
-
readonly exitCode?: number | undefined;
|
|
1890
|
-
};
|
|
1891
|
-
};
|
|
1892
|
-
} | {
|
|
1893
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1894
|
-
readonly created: number;
|
|
1895
|
-
readonly metadata?: {
|
|
1896
|
-
readonly [x: string]: unknown;
|
|
1897
|
-
} | undefined;
|
|
1898
|
-
readonly type: "pty.deleted";
|
|
1899
|
-
readonly location?: {
|
|
1799
|
+
readonly type: `rpc.${string}`;
|
|
1800
|
+
readonly location: {
|
|
1900
1801
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1901
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1902
|
-
} | undefined;
|
|
1903
|
-
readonly data: {
|
|
1904
|
-
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
1905
1802
|
};
|
|
1906
|
-
} | {
|
|
1907
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1908
|
-
readonly created: number;
|
|
1909
|
-
readonly metadata?: {
|
|
1910
|
-
readonly [x: string]: unknown;
|
|
1911
|
-
} | undefined;
|
|
1912
|
-
readonly type: "pty.exited";
|
|
1913
|
-
readonly location?: {
|
|
1914
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1915
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1916
|
-
} | undefined;
|
|
1917
1803
|
readonly data: {
|
|
1918
|
-
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
1919
|
-
readonly exitCode: number;
|
|
1920
|
-
};
|
|
1921
|
-
} | {
|
|
1922
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1923
|
-
readonly created: number;
|
|
1924
|
-
readonly metadata?: {
|
|
1925
1804
|
readonly [x: string]: unknown;
|
|
1926
|
-
} | undefined;
|
|
1927
|
-
readonly type: "pty.updated";
|
|
1928
|
-
readonly location?: {
|
|
1929
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1930
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1931
|
-
} | undefined;
|
|
1932
|
-
readonly data: {
|
|
1933
|
-
readonly info: {
|
|
1934
|
-
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
1935
|
-
readonly title: string;
|
|
1936
|
-
readonly command: string;
|
|
1937
|
-
readonly args: readonly string[];
|
|
1938
|
-
readonly cwd: string;
|
|
1939
|
-
readonly status: "exited" | "running";
|
|
1940
|
-
readonly pid: number;
|
|
1941
|
-
readonly exitCode?: number | undefined;
|
|
1942
|
-
};
|
|
1943
1805
|
};
|
|
1944
|
-
} | {
|
|
1945
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1946
|
-
readonly created: number;
|
|
1947
|
-
readonly metadata?: {
|
|
1948
|
-
readonly [x: string]: unknown;
|
|
1949
|
-
} | undefined;
|
|
1950
|
-
readonly type: "location.shutdown";
|
|
1951
|
-
readonly location?: {
|
|
1952
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1953
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1954
|
-
} | undefined;
|
|
1955
|
-
readonly data: {};
|
|
1956
1806
|
} | {
|
|
1957
1807
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1958
1808
|
readonly created: number;
|
|
@@ -1992,18 +1842,6 @@ export declare const make: (options?: {
|
|
|
1992
1842
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1993
1843
|
} | undefined;
|
|
1994
1844
|
readonly data: {};
|
|
1995
|
-
} | {
|
|
1996
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1997
|
-
readonly created: number;
|
|
1998
|
-
readonly metadata?: {
|
|
1999
|
-
readonly [x: string]: unknown;
|
|
2000
|
-
} | undefined;
|
|
2001
|
-
readonly type: "integration.updated";
|
|
2002
|
-
readonly location?: {
|
|
2003
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2004
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2005
|
-
} | undefined;
|
|
2006
|
-
readonly data: {};
|
|
2007
1845
|
} | {
|
|
2008
1846
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2009
1847
|
readonly created: number;
|
|
@@ -2022,7 +1860,7 @@ export declare const make: (options?: {
|
|
|
2022
1860
|
readonly metadata?: {
|
|
2023
1861
|
readonly [x: string]: unknown;
|
|
2024
1862
|
} | undefined;
|
|
2025
|
-
readonly type: "
|
|
1863
|
+
readonly type: "agent.updated";
|
|
2026
1864
|
readonly location?: {
|
|
2027
1865
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2028
1866
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
@@ -2116,31 +1954,35 @@ export declare const make: (options?: {
|
|
|
2116
1954
|
readonly metadata?: {
|
|
2117
1955
|
readonly [x: string]: unknown;
|
|
2118
1956
|
} | undefined;
|
|
2119
|
-
readonly type: "
|
|
1957
|
+
readonly type: "worktree.resolved";
|
|
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
|
+
};
|
|
2120
1963
|
readonly location?: {
|
|
2121
1964
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2122
1965
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2123
1966
|
} | undefined;
|
|
2124
1967
|
readonly data: {
|
|
2125
|
-
readonly
|
|
2126
|
-
readonly
|
|
2127
|
-
readonly
|
|
2128
|
-
readonly
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
readonly
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
readonly sandboxes: readonly string[];
|
|
1968
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1969
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1970
|
+
readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1971
|
+
readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
|
|
1972
|
+
};
|
|
1973
|
+
} | {
|
|
1974
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1975
|
+
readonly created: number;
|
|
1976
|
+
readonly metadata?: {
|
|
1977
|
+
readonly [x: string]: unknown;
|
|
1978
|
+
} | undefined;
|
|
1979
|
+
readonly type: "worktree.updated";
|
|
1980
|
+
readonly location?: {
|
|
1981
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1982
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1983
|
+
} | undefined;
|
|
1984
|
+
readonly data: {
|
|
1985
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
2144
1986
|
};
|
|
2145
1987
|
} | {
|
|
2146
1988
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2184,14 +2026,13 @@ export declare const make: (options?: {
|
|
|
2184
2026
|
readonly metadata?: {
|
|
2185
2027
|
readonly [x: string]: unknown;
|
|
2186
2028
|
} | undefined;
|
|
2187
|
-
readonly type: "
|
|
2029
|
+
readonly type: "pty.created";
|
|
2188
2030
|
readonly location?: {
|
|
2189
2031
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2190
2032
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2191
2033
|
} | undefined;
|
|
2192
2034
|
readonly data: {
|
|
2193
|
-
readonly
|
|
2194
|
-
readonly terminal: {
|
|
2035
|
+
readonly info: {
|
|
2195
2036
|
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
2196
2037
|
readonly title: string;
|
|
2197
2038
|
readonly command: string;
|
|
@@ -2200,16 +2041,6 @@ export declare const make: (options?: {
|
|
|
2200
2041
|
readonly status: "exited" | "running";
|
|
2201
2042
|
readonly pid: number;
|
|
2202
2043
|
readonly exitCode?: number | undefined;
|
|
2203
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2204
|
-
readonly foregroundProcess: string | null;
|
|
2205
|
-
readonly size: {
|
|
2206
|
-
readonly cols: number;
|
|
2207
|
-
readonly rows: number;
|
|
2208
|
-
};
|
|
2209
|
-
readonly output: {
|
|
2210
|
-
readonly head: number;
|
|
2211
|
-
readonly tail: number;
|
|
2212
|
-
};
|
|
2213
2044
|
};
|
|
2214
2045
|
};
|
|
2215
2046
|
} | {
|
|
@@ -2218,14 +2049,13 @@ export declare const make: (options?: {
|
|
|
2218
2049
|
readonly metadata?: {
|
|
2219
2050
|
readonly [x: string]: unknown;
|
|
2220
2051
|
} | undefined;
|
|
2221
|
-
readonly type: "
|
|
2052
|
+
readonly type: "pty.deleted";
|
|
2222
2053
|
readonly location?: {
|
|
2223
2054
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2224
2055
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2225
2056
|
} | undefined;
|
|
2226
2057
|
readonly data: {
|
|
2227
|
-
readonly
|
|
2228
|
-
readonly ptyID: string & import("effect/Brand").Brand<"PtyID">;
|
|
2058
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
2229
2059
|
};
|
|
2230
2060
|
} | {
|
|
2231
2061
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2233,29 +2063,36 @@ export declare const make: (options?: {
|
|
|
2233
2063
|
readonly metadata?: {
|
|
2234
2064
|
readonly [x: string]: unknown;
|
|
2235
2065
|
} | undefined;
|
|
2236
|
-
readonly type: "
|
|
2066
|
+
readonly type: "pty.exited";
|
|
2067
|
+
readonly location?: {
|
|
2068
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2069
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2070
|
+
} | undefined;
|
|
2071
|
+
readonly data: {
|
|
2072
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
2073
|
+
readonly exitCode: number;
|
|
2074
|
+
};
|
|
2075
|
+
} | {
|
|
2076
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2077
|
+
readonly created: number;
|
|
2078
|
+
readonly metadata?: {
|
|
2079
|
+
readonly [x: string]: unknown;
|
|
2080
|
+
} | undefined;
|
|
2081
|
+
readonly type: "pty.updated";
|
|
2237
2082
|
readonly location?: {
|
|
2238
2083
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2239
2084
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2240
2085
|
} | undefined;
|
|
2241
2086
|
readonly data: {
|
|
2242
2087
|
readonly info: {
|
|
2243
|
-
readonly id: string & import("effect/Brand").Brand<"
|
|
2244
|
-
readonly
|
|
2088
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
2089
|
+
readonly title: string;
|
|
2245
2090
|
readonly command: string;
|
|
2246
|
-
readonly
|
|
2247
|
-
readonly
|
|
2248
|
-
readonly
|
|
2249
|
-
readonly pid
|
|
2250
|
-
readonly
|
|
2251
|
-
readonly signal?: string | undefined;
|
|
2252
|
-
readonly metadata: {
|
|
2253
|
-
readonly [x: string]: unknown;
|
|
2254
|
-
};
|
|
2255
|
-
readonly time: {
|
|
2256
|
-
readonly started: number;
|
|
2257
|
-
readonly completed?: number | undefined;
|
|
2258
|
-
};
|
|
2091
|
+
readonly args: readonly string[];
|
|
2092
|
+
readonly cwd: string;
|
|
2093
|
+
readonly status: "exited" | "running";
|
|
2094
|
+
readonly pid: number;
|
|
2095
|
+
readonly exitCode?: number | undefined;
|
|
2259
2096
|
};
|
|
2260
2097
|
};
|
|
2261
2098
|
} | {
|
|
@@ -2264,13 +2101,14 @@ export declare const make: (options?: {
|
|
|
2264
2101
|
readonly metadata?: {
|
|
2265
2102
|
readonly [x: string]: unknown;
|
|
2266
2103
|
} | undefined;
|
|
2267
|
-
readonly type: "
|
|
2104
|
+
readonly type: "form.cancelled";
|
|
2268
2105
|
readonly location?: {
|
|
2269
2106
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2270
2107
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2271
2108
|
} | undefined;
|
|
2272
2109
|
readonly data: {
|
|
2273
|
-
readonly id: string & import("effect/Brand").Brand<"
|
|
2110
|
+
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
2111
|
+
readonly sessionID: string;
|
|
2274
2112
|
};
|
|
2275
2113
|
} | {
|
|
2276
2114
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2278,15 +2116,209 @@ export declare const make: (options?: {
|
|
|
2278
2116
|
readonly metadata?: {
|
|
2279
2117
|
readonly [x: string]: unknown;
|
|
2280
2118
|
} | undefined;
|
|
2281
|
-
readonly type: "
|
|
2119
|
+
readonly type: "form.created";
|
|
2282
2120
|
readonly location?: {
|
|
2283
2121
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2284
2122
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2285
2123
|
} | undefined;
|
|
2286
2124
|
readonly data: {
|
|
2287
|
-
readonly
|
|
2288
|
-
|
|
2289
|
-
|
|
2125
|
+
readonly form: {
|
|
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
|
+
};
|
|
2290
2322
|
};
|
|
2291
2323
|
} | {
|
|
2292
2324
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2294,13 +2326,17 @@ export declare const make: (options?: {
|
|
|
2294
2326
|
readonly metadata?: {
|
|
2295
2327
|
readonly [x: string]: unknown;
|
|
2296
2328
|
} | undefined;
|
|
2297
|
-
readonly type: "
|
|
2329
|
+
readonly type: "form.replied";
|
|
2298
2330
|
readonly location?: {
|
|
2299
2331
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2300
2332
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2301
2333
|
} | undefined;
|
|
2302
2334
|
readonly data: {
|
|
2303
|
-
readonly
|
|
2335
|
+
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
2336
|
+
readonly sessionID: string;
|
|
2337
|
+
readonly answer: {
|
|
2338
|
+
readonly [x: string]: string | number | boolean | readonly string[];
|
|
2339
|
+
};
|
|
2304
2340
|
};
|
|
2305
2341
|
} | {
|
|
2306
2342
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2308,32 +2344,12 @@ export declare const make: (options?: {
|
|
|
2308
2344
|
readonly metadata?: {
|
|
2309
2345
|
readonly [x: string]: unknown;
|
|
2310
2346
|
} | undefined;
|
|
2311
|
-
readonly type: "
|
|
2347
|
+
readonly type: "websearch.updated";
|
|
2312
2348
|
readonly location?: {
|
|
2313
2349
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2314
2350
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2315
2351
|
} | undefined;
|
|
2316
|
-
readonly data: {
|
|
2317
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2318
|
-
readonly status: {
|
|
2319
|
-
readonly type: "idle";
|
|
2320
|
-
} | {
|
|
2321
|
-
readonly type: "retry";
|
|
2322
|
-
readonly attempt: number;
|
|
2323
|
-
readonly message: string;
|
|
2324
|
-
readonly action?: {
|
|
2325
|
-
readonly reason: string;
|
|
2326
|
-
readonly provider: string;
|
|
2327
|
-
readonly title: string;
|
|
2328
|
-
readonly message: string;
|
|
2329
|
-
readonly label: string;
|
|
2330
|
-
readonly link?: string | undefined;
|
|
2331
|
-
} | undefined;
|
|
2332
|
-
readonly next: number;
|
|
2333
|
-
} | {
|
|
2334
|
-
readonly type: "busy";
|
|
2335
|
-
};
|
|
2336
|
-
};
|
|
2352
|
+
readonly data: {};
|
|
2337
2353
|
} | {
|
|
2338
2354
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2339
2355
|
readonly created: number;
|
|
@@ -2463,19 +2479,6 @@ export declare const make: (options?: {
|
|
|
2463
2479
|
readonly data: {
|
|
2464
2480
|
readonly server: string;
|
|
2465
2481
|
};
|
|
2466
|
-
} | {
|
|
2467
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2468
|
-
readonly created: number;
|
|
2469
|
-
readonly metadata?: {
|
|
2470
|
-
readonly [x: string]: unknown;
|
|
2471
|
-
} | undefined;
|
|
2472
|
-
readonly type: `rpc.${string}`;
|
|
2473
|
-
readonly location: {
|
|
2474
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2475
|
-
};
|
|
2476
|
-
readonly data: {
|
|
2477
|
-
readonly [x: string]: unknown;
|
|
2478
|
-
};
|
|
2479
2482
|
} | {
|
|
2480
2483
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2481
2484
|
readonly metadata?: {
|