@opencode/client 2.0.32 → 2.1.0
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/{shared-events-2ny4vxct.js → rpc-runtime-2ny4vxct.js} +2 -2
- package/dist/chunks/{shared-events-q008jpwa.js → rpc-runtime-3d7b8k62.js} +4 -4
- package/dist/chunks/{shared-events-m77rqa4a.js → rpc-runtime-61wt4y9h.js} +22 -17
- package/dist/chunks/{shared-events-1y4a697q.js → rpc-runtime-6vp15eh6.js} +1 -1
- package/dist/chunks/{shared-events-td2fzm91.js → rpc-runtime-91bd4p6h.js} +1 -1
- package/dist/chunks/{shared-events-vt9jbch8.js → rpc-runtime-ezt8t3fk.js} +2 -1
- package/dist/chunks/{shared-events-frbwqjmf.js → rpc-runtime-frbwqjmf.js} +1 -1
- package/dist/chunks/{shared-events-hqeq47hr.js → rpc-runtime-nv358xrg.js} +17 -3
- package/dist/chunks/{shared-events-qf89ssmg.js → rpc-runtime-q4y9w4td.js} +22 -8
- package/dist/chunks/{shared-events-t1xa31vm.js → rpc-runtime-t1xa31vm.js} +1 -1
- package/dist/chunks/{shared-events-d86rytwj.js → rpc-runtime-tjkwftgd.js} +9 -9
- package/dist/chunks/{shared-events-mnyft54j.js → rpc-runtime-w1w809zr.js} +5 -5
- package/dist/contract.js +1 -1
- package/dist/effect/api/api.d.ts +62 -29
- package/dist/effect/client.d.ts +1387 -1362
- package/dist/effect/client.js +8 -8
- package/dist/effect/generated/client-error.js +1 -1
- package/dist/effect/generated/client.d.ts +1278 -1253
- package/dist/effect/generated/client.js +5 -5
- package/dist/effect/generated/index.js +4 -4
- package/dist/effect/index.js +8 -8
- package/dist/effect/rpc.js +4 -4
- package/dist/effect/service.js +6 -6
- package/dist/promise/client.d.ts +8 -7
- package/dist/promise/client.js +7 -7
- package/dist/promise/generated/client-error.js +1 -1
- package/dist/promise/generated/client.d.ts +3 -2
- package/dist/promise/generated/client.js +2 -2
- package/dist/promise/generated/index.js +10 -8
- package/dist/promise/generated/types.d.ts +228 -1429
- package/dist/promise/generated/types.js +3 -1
- package/dist/promise/index.js +12 -10
- 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.d.ts +5 -5
- package/dist/rpc-runtime.js +1 -1
- package/dist/service-contender.js +1 -1
- package/dist/service-probe.d.ts +5 -5
- 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 +6 -6
- /package/dist/chunks/{shared-events-6mptkzbc.js → rpc-runtime-6mptkzbc.js} +0 -0
- /package/dist/chunks/{shared-events-7f0py9js.js → rpc-runtime-7f0py9js.js} +0 -0
- /package/dist/chunks/{shared-events-8s2anffy.js → rpc-runtime-8s2anffy.js} +0 -0
- /package/dist/chunks/{shared-events-9rqn6x4v.js → rpc-runtime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shared-events-gne7h7mq.js → rpc-runtime-gne7h7mq.js} +0 -0
- /package/dist/chunks/{shared-events-js54wxgp.js → rpc-runtime-js54wxgp.js} +0 -0
- /package/dist/chunks/{shared-events-m2eywc8w.js → rpc-runtime-m2eywc8w.js} +0 -0
- /package/dist/chunks/{shared-events-qav6mfdz.js → rpc-runtime-qav6mfdz.js} +0 -0
- /package/dist/chunks/{shared-events-sxt88q69.js → rpc-runtime-sxt88q69.js} +0 -0
- /package/dist/chunks/{shared-events-ve4aws36.js → rpc-runtime-ve4aws36.js} +0 -0
- /package/dist/chunks/{shared-events-vmytr4q8.js → rpc-runtime-vmytr4q8.js} +0 -0
- /package/dist/chunks/{shared-events-vyas3vgt.js → rpc-runtime-vyas3vgt.js} +0 -0
- /package/dist/chunks/{shared-events-xgnj2w4v.js → rpc-runtime-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{shared-events-ydhz1zrh.js → rpc-runtime-ydhz1zrh.js} +0 -0
|
@@ -1,400 +1,413 @@
|
|
|
1
1
|
import { Effect, Stream, Schema } from "effect";
|
|
2
2
|
import { Sse } from "effect/encoding";
|
|
3
3
|
import { HttpClientError } from "effect/http";
|
|
4
|
-
import type { ServerInfoOutput, ServerPairOutput, ServerConnectInput, ServerConnectOutput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionListOutput, SessionStatsInput, SessionStatsOutput, SessionCreateInput, SessionImportInput, SessionExportInput, SessionExportOutput, SessionActiveOutput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSkillInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionWaitInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionContextOutput, SessionDiffInput, SessionDiffOutput, SessionInboxListInput, SessionInboxListOutput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionInstructionsEntryListInput, SessionInstructionsEntryListOutput, SessionInstructionsEntryPutInput, SessionInstructionsEntryRemoveInput, SessionGenerateInput, SessionGenerateOutput, SessionLogInput, SessionLogOutput, SessionInterruptInput, SessionInterruptOutput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormListOutput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, MessageListInput, MessageListOutput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, GenerateTextInput, GenerateTextOutput, VoiceSessionInput, VoiceSessionOutput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationWellknownAddInput, IntegrationConnectKeyInput, IntegrationConnectExternalInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, McpListInput, McpListOutput, McpAddInput, McpRemoveInput, McpConnectInput, McpDisconnectInput, McpResourceCatalogInput, McpResourceCatalogOutput, CredentialListOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedListOutput, 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, VoiceSessionInput, VoiceSessionOutput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationWellknownAddInput, IntegrationConnectKeyInput, IntegrationConnectExternalInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, McpListInput, McpListOutput, McpAddInput, McpRemoveInput, McpConnectInput, McpDisconnectInput, McpResourceCatalogInput, McpResourceCatalogOutput, CredentialListOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedListOutput, PermissionSavedUpdateInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionCreateOutput, PermissionListInput, PermissionListOutput, PermissionGetInput, PermissionReplyInput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, RpcCallOutput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyReadOutput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyListOutput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyCreateOutput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyGetOutput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtyUpdateOutput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtySnapshotOutput, ExperimentalPersistentPtyRemoveInput, ExperimentalPersistentPtyConnectTokenInput, ShellListInput, ShellListOutput, ShellCreateInput, ShellCreateOutput, ShellGetInput, ShellGetOutput, ShellOutputInput, ShellOutputOutput, ShellRemoveInput, ReferenceListInput, ReferenceListOutput, WorktreeListInput, WorktreeCreateInput, WorktreeRemoveInput, WorktreeRefreshInput, VcsInitInput, VcsGetInput, VcsGetOutput, VcsBaseInput, VcsBaseOutput, VcsStatusInput, VcsStatusOutput, VcsBranchListInput, VcsBranchListOutput, VcsDiffInput, VcsDiffOutput, DebugLocationListOutput, DebugLocationEvictInput, MigrationV1StatusOutput, WebsearchProvidersInput, WebsearchProvidersOutput, WebsearchQueryInput, WebsearchQueryOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ConfigUpdateInput } from "../api/api.js";
|
|
5
5
|
import { ClientError } from "./client-error.js";
|
|
6
6
|
export declare const make: (options?: {
|
|
7
7
|
readonly baseUrl?: URL | string;
|
|
8
8
|
}) => Effect.Effect<{
|
|
9
9
|
server: {
|
|
10
|
-
info: () => Effect.Effect<ServerInfoOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError
|
|
11
|
-
pair: () => Effect.Effect<ServerPairOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError
|
|
12
|
-
connect: (input: ServerConnectInput) => Effect.Effect<ServerConnectOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError
|
|
10
|
+
info: () => Effect.Effect<ServerInfoOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
11
|
+
pair: () => Effect.Effect<ServerPairOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
12
|
+
connect: (input: ServerConnectInput) => Effect.Effect<ServerConnectOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
13
13
|
};
|
|
14
14
|
location: {
|
|
15
|
-
get: (input?: LocationGetInput) => Effect.Effect<import("@opencode/schema/location").PublicInfo, import("@opencode/protocol/errors").
|
|
16
|
-
reload: () => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
15
|
+
get: (input?: LocationGetInput) => Effect.Effect<import("@opencode/schema/location").PublicInfo, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
16
|
+
reload: () => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
17
17
|
};
|
|
18
18
|
agent: {
|
|
19
|
-
list: (input?: AgentListInput) => Effect.Effect<AgentListOutput, import("@opencode/protocol/errors").
|
|
20
|
-
get: (input: AgentGetInput) => Effect.Effect<AgentGetOutput, import("@opencode/protocol/errors").
|
|
19
|
+
list: (input?: AgentListInput) => Effect.Effect<AgentListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
20
|
+
get: (input: AgentGetInput) => Effect.Effect<AgentGetOutput, import("@opencode/protocol/errors").AgentNotFoundError | ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
21
21
|
};
|
|
22
22
|
plugin: {
|
|
23
|
-
list: (input?: PluginListInput) => Effect.Effect<PluginListOutput, import("@opencode/protocol/errors").
|
|
24
|
-
check: (input?: PluginCheckInput) => Effect.Effect<PluginCheckOutput, import("@opencode/protocol/errors").
|
|
25
|
-
update: (input: PluginUpdateInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
23
|
+
list: (input?: PluginListInput) => Effect.Effect<PluginListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
24
|
+
check: (input?: PluginCheckInput) => Effect.Effect<PluginCheckOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
25
|
+
update: (input: PluginUpdateInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
26
26
|
};
|
|
27
27
|
session: {
|
|
28
|
-
list: (input?: SessionListInput) => Effect.Effect<SessionListOutput, import("@opencode/protocol/errors").
|
|
29
|
-
stats: (input?: SessionStatsInput) => Effect.Effect<SessionStatsOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError
|
|
30
|
-
create: (input?: SessionCreateInput) => Effect.Effect<import("@opencode/schema/session").Info, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
31
|
-
import: (input: SessionImportInput) => Effect.Effect<import("@opencode/schema/session").Info, import("@opencode/protocol/errors").
|
|
32
|
-
export: (input: SessionExportInput) => Effect.Effect<SessionExportOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
33
|
-
active: () => Effect.Effect<SessionActiveOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError
|
|
34
|
-
get: (input: SessionGetInput) => Effect.Effect<import("@opencode/schema/session").Info, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
35
|
-
remove: (input: SessionRemoveInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
36
|
-
fork: (input: SessionForkInput) => Effect.Effect<import("@opencode/schema/session").Info, import("@opencode/protocol/errors").
|
|
37
|
-
switchAgent: (input: SessionSwitchAgentInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
38
|
-
switchModel: (input: SessionSwitchModelInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
39
|
-
update: (input: SessionUpdateInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
40
|
-
move: (input: SessionMoveInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
41
|
-
prompt: (input: SessionPromptInput) => Effect.Effect<import("@opencode/schema/session-inbox").User, import("@opencode/protocol/errors").
|
|
42
|
-
command: (input: SessionCommandInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
43
|
-
skill: (input: SessionSkillInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
44
|
-
synthetic: (input: SessionSyntheticInput) => Effect.Effect<import("@opencode/schema/session-inbox").Synthetic, import("@opencode/protocol/errors").
|
|
45
|
-
shell: (input: SessionShellInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
46
|
-
compact: (input: SessionCompactInput) => Effect.Effect<import("@opencode/schema/session-inbox").Compaction, import("@opencode/protocol/errors").
|
|
47
|
-
wait: (input: SessionWaitInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
28
|
+
list: (input?: SessionListInput) => Effect.Effect<SessionListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidCursorError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
29
|
+
stats: (input?: SessionStatsInput) => Effect.Effect<SessionStatsOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
30
|
+
create: (input?: SessionCreateInput) => Effect.Effect<import("@opencode/schema/session").Info, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
31
|
+
import: (input: SessionImportInput) => Effect.Effect<import("@opencode/schema/session").Info, ClientError | import("@opencode/protocol/errors").ConflictError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
32
|
+
export: (input: SessionExportInput) => Effect.Effect<SessionExportOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnknownError, never>;
|
|
33
|
+
active: () => Effect.Effect<SessionActiveOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
34
|
+
get: (input: SessionGetInput) => Effect.Effect<import("@opencode/schema/session").Info, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
35
|
+
remove: (input: SessionRemoveInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
36
|
+
fork: (input: SessionForkInput) => Effect.Effect<import("@opencode/schema/session").Info, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").MessageNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
37
|
+
switchAgent: (input: SessionSwitchAgentInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
38
|
+
switchModel: (input: SessionSwitchModelInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
39
|
+
update: (input: SessionUpdateInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
40
|
+
move: (input: SessionMoveInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
41
|
+
prompt: (input: SessionPromptInput) => Effect.Effect<import("@opencode/schema/session-inbox").User, ClientError | import("@opencode/protocol/errors").ConflictError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
42
|
+
command: (input: SessionCommandInput) => Effect.Effect<void, ClientError | import("@opencode/protocol/errors").CommandExecutionError | import("@opencode/protocol/errors").CommandNotFoundError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
43
|
+
skill: (input: SessionSkillInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").SkillNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
44
|
+
synthetic: (input: SessionSyntheticInput) => Effect.Effect<import("@opencode/schema/session-inbox").Synthetic, ClientError | import("@opencode/protocol/errors").ConflictError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
45
|
+
shell: (input: SessionShellInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
46
|
+
compact: (input: SessionCompactInput) => Effect.Effect<import("@opencode/schema/session-inbox").Compaction, ClientError | import("@opencode/protocol/errors").ConflictError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
47
|
+
wait: (input: SessionWaitInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
48
48
|
revert: {
|
|
49
|
-
stage: (input: SessionRevertStageInput) => Effect.Effect<import("@opencode/schema/session-revert").Revert, import("@opencode/protocol/errors").
|
|
50
|
-
clear: (input: SessionRevertClearInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
51
|
-
commit: (input: SessionRevertCommitInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
49
|
+
stage: (input: SessionRevertStageInput) => Effect.Effect<import("@opencode/schema/session-revert").Revert, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").MessageNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionBusyError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnknownError, never>;
|
|
50
|
+
clear: (input: SessionRevertClearInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionBusyError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnknownError, never>;
|
|
51
|
+
commit: (input: SessionRevertCommitInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionBusyError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
52
52
|
};
|
|
53
|
-
context: (input: SessionContextInput) => Effect.Effect<SessionContextOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
54
|
-
diff: (input: SessionDiffInput) => Effect.Effect<SessionDiffOutput, import("@opencode/protocol/errors").
|
|
53
|
+
context: (input: SessionContextInput) => Effect.Effect<SessionContextOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnknownError, never>;
|
|
54
|
+
diff: (input: SessionDiffInput) => Effect.Effect<SessionDiffOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").MessageNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnknownError, never>;
|
|
55
55
|
inbox: {
|
|
56
|
-
list: (input: SessionInboxListInput) => Effect.Effect<SessionInboxListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
57
|
-
cancel: (input: SessionInboxCancelInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
58
|
-
update: (input: SessionInboxUpdateInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
56
|
+
list: (input: SessionInboxListInput) => Effect.Effect<SessionInboxListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
57
|
+
cancel: (input: SessionInboxCancelInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
58
|
+
update: (input: SessionInboxUpdateInput) => Effect.Effect<void, ClientError | import("@opencode/protocol/errors").ConflictError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
59
59
|
};
|
|
60
60
|
instructions: {
|
|
61
61
|
entry: {
|
|
62
|
-
list: (input: SessionInstructionsEntryListInput) => Effect.Effect<SessionInstructionsEntryListOutput, import("@opencode/protocol/errors").
|
|
63
|
-
put: (input: SessionInstructionsEntryPutInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
64
|
-
remove: (input: SessionInstructionsEntryRemoveInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
62
|
+
list: (input: SessionInstructionsEntryListInput) => Effect.Effect<SessionInstructionsEntryListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
63
|
+
put: (input: SessionInstructionsEntryPutInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/schema/instruction-entry").ValueTooLargeError, never>;
|
|
64
|
+
remove: (input: SessionInstructionsEntryRemoveInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
65
65
|
};
|
|
66
66
|
};
|
|
67
|
-
generate: (input: SessionGenerateInput) => Effect.Effect<SessionGenerateOutput, import("@opencode/protocol/errors").
|
|
68
|
-
log: (input: SessionLogInput) => Stream.Stream<SessionLogOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
69
|
-
interrupt: (input: SessionInterruptInput) => Effect.Effect<SessionInterruptOutput, import("@opencode/protocol/errors").
|
|
70
|
-
background: (input: SessionBackgroundInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
67
|
+
generate: (input: SessionGenerateInput) => Effect.Effect<SessionGenerateOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
68
|
+
log: (input: SessionLogInput) => Stream.Stream<SessionLogOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Sse.Retry | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | Sse.SseError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
69
|
+
interrupt: (input: SessionInterruptInput) => Effect.Effect<SessionInterruptOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
70
|
+
background: (input: SessionBackgroundInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
71
71
|
message: {
|
|
72
|
-
get: (input: SessionMessageGetInput) => Effect.Effect<import("@opencode/schema/session-message").Info, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
72
|
+
get: (input: SessionMessageGetInput) => Effect.Effect<import("@opencode/schema/session-message").Info, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").MessageNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
73
73
|
};
|
|
74
74
|
form: {
|
|
75
|
-
list: (input: SessionFormListInput) => Effect.Effect<SessionFormListOutput, import("@opencode/protocol/errors").
|
|
76
|
-
create: (input: SessionFormCreateInput) => Effect.Effect<import("@opencode/schema/form").Info, import("@opencode/protocol/errors").
|
|
77
|
-
get: (input: SessionFormGetInput) => Effect.Effect<import("@opencode/schema/form").Detail, import("@opencode/protocol/errors").
|
|
78
|
-
reply: (input: SessionFormReplyInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
79
|
-
cancel: (input: SessionFormCancelInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
75
|
+
list: (input: SessionFormListInput) => Effect.Effect<SessionFormListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
76
|
+
create: (input: SessionFormCreateInput) => Effect.Effect<import("@opencode/schema/form").Info, ClientError | import("@opencode/protocol/errors").ConflictError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
77
|
+
get: (input: SessionFormGetInput) => Effect.Effect<import("@opencode/schema/form").Detail, ClientError | import("@opencode/protocol/errors").FormNotFoundError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
78
|
+
reply: (input: SessionFormReplyInput) => Effect.Effect<void, ClientError | import("@opencode/protocol/errors").FormAlreadySettledError | import("@opencode/protocol/errors").FormInvalidAnswerError | import("@opencode/protocol/errors").FormNotFoundError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
79
|
+
cancel: (input: SessionFormCancelInput) => Effect.Effect<void, ClientError | import("@opencode/protocol/errors").FormAlreadySettledError | import("@opencode/protocol/errors").FormNotFoundError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
80
80
|
};
|
|
81
|
-
environment: (input: SessionEnvironmentInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
82
|
-
view: (input: SessionViewInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
81
|
+
environment: (input: SessionEnvironmentInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
82
|
+
view: (input: SessionViewInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
83
83
|
};
|
|
84
84
|
message: {
|
|
85
|
-
list: (input: MessageListInput) => Effect.Effect<MessageListOutput, import("@opencode/protocol/errors").
|
|
85
|
+
list: (input: MessageListInput) => Effect.Effect<MessageListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidCursorError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnknownError, never>;
|
|
86
86
|
};
|
|
87
87
|
model: {
|
|
88
|
-
list: (input?: ModelListInput) => Effect.Effect<ModelListOutput, import("@opencode/protocol/errors").
|
|
89
|
-
default: (input?: ModelDefaultInput) => Effect.Effect<ModelDefaultOutput, import("@opencode/protocol/errors").
|
|
88
|
+
list: (input?: ModelListInput) => Effect.Effect<ModelListOutput, 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>;
|
|
89
|
+
default: (input?: ModelDefaultInput) => Effect.Effect<ModelDefaultOutput, 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>;
|
|
90
90
|
};
|
|
91
91
|
generate: {
|
|
92
|
-
text: (input: GenerateTextInput) => Effect.Effect<GenerateTextOutput, import("@opencode/protocol/errors").
|
|
92
|
+
text: (input: GenerateTextInput) => Effect.Effect<GenerateTextOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
93
93
|
};
|
|
94
94
|
voice: {
|
|
95
|
-
session: (input: VoiceSessionInput) => Effect.Effect<VoiceSessionOutput, import("@opencode/protocol/errors").
|
|
95
|
+
session: (input: VoiceSessionInput) => Effect.Effect<VoiceSessionOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
96
96
|
};
|
|
97
97
|
provider: {
|
|
98
|
-
list: (input?: ProviderListInput) => Effect.Effect<ProviderListOutput, import("@opencode/protocol/errors").
|
|
99
|
-
get: (input: ProviderGetInput) => Effect.Effect<ProviderGetOutput, import("@opencode/protocol/errors").
|
|
98
|
+
list: (input?: ProviderListInput) => Effect.Effect<ProviderListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
99
|
+
get: (input: ProviderGetInput) => Effect.Effect<ProviderGetOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").ProviderNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
100
100
|
};
|
|
101
101
|
integration: {
|
|
102
|
-
list: (input?: IntegrationListInput) => Effect.Effect<IntegrationListOutput, import("@opencode/protocol/errors").
|
|
103
|
-
get: (input: IntegrationGetInput) => Effect.Effect<IntegrationGetOutput, import("@opencode/protocol/errors").
|
|
102
|
+
list: (input?: IntegrationListInput) => Effect.Effect<IntegrationListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
103
|
+
get: (input: IntegrationGetInput) => Effect.Effect<IntegrationGetOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").IntegrationNotFoundError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
104
104
|
wellknown: {
|
|
105
|
-
add: (input: IntegrationWellknownAddInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
105
|
+
add: (input: IntegrationWellknownAddInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
106
106
|
};
|
|
107
107
|
connect: {
|
|
108
|
-
key: (input: IntegrationConnectKeyInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
109
|
-
external: (input: IntegrationConnectExternalInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
108
|
+
key: (input: IntegrationConnectKeyInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").IntegrationNotFoundError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
109
|
+
external: (input: IntegrationConnectExternalInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").IntegrationNotFoundError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
110
110
|
};
|
|
111
111
|
oauth: {
|
|
112
|
-
connect: (input: IntegrationOauthConnectInput) => Effect.Effect<IntegrationOauthConnectOutput, import("@opencode/protocol/errors").
|
|
113
|
-
status: (input: IntegrationOauthStatusInput) => Effect.Effect<IntegrationOauthStatusOutput, import("@opencode/protocol/errors").
|
|
114
|
-
complete: (input: IntegrationOauthCompleteInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
115
|
-
cancel: (input: IntegrationOauthCancelInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
112
|
+
connect: (input: IntegrationOauthConnectInput) => Effect.Effect<IntegrationOauthConnectOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
113
|
+
status: (input: IntegrationOauthStatusInput) => Effect.Effect<IntegrationOauthStatusOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").IntegrationAttemptNotFoundError | import("@opencode/protocol/errors").IntegrationNotFoundError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
114
|
+
complete: (input: IntegrationOauthCompleteInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").IntegrationAttemptNotFoundError | import("@opencode/protocol/errors").IntegrationNotFoundError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
115
|
+
cancel: (input: IntegrationOauthCancelInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
116
116
|
};
|
|
117
117
|
command: {
|
|
118
|
-
connect: (input: IntegrationCommandConnectInput) => Effect.Effect<IntegrationCommandConnectOutput, import("@opencode/protocol/errors").
|
|
119
|
-
status: (input: IntegrationCommandStatusInput) => Effect.Effect<IntegrationCommandStatusOutput, import("@opencode/protocol/errors").
|
|
120
|
-
cancel: (input: IntegrationCommandCancelInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
118
|
+
connect: (input: IntegrationCommandConnectInput) => Effect.Effect<IntegrationCommandConnectOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").IntegrationMethodNotFoundError | import("@opencode/protocol/errors").IntegrationNotFoundError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
119
|
+
status: (input: IntegrationCommandStatusInput) => Effect.Effect<IntegrationCommandStatusOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").IntegrationAttemptNotFoundError | import("@opencode/protocol/errors").IntegrationNotFoundError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
120
|
+
cancel: (input: IntegrationCommandCancelInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
121
121
|
};
|
|
122
122
|
};
|
|
123
123
|
mcp: {
|
|
124
|
-
list: (input?: McpListInput) => Effect.Effect<McpListOutput, import("@opencode/protocol/errors").
|
|
125
|
-
add: (input: McpAddInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
126
|
-
remove: (input: McpRemoveInput) => Effect.Effect<void,
|
|
127
|
-
connect: (input: McpConnectInput) => Effect.Effect<void,
|
|
128
|
-
disconnect: (input: McpDisconnectInput) => Effect.Effect<void,
|
|
124
|
+
list: (input?: McpListInput) => Effect.Effect<McpListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
125
|
+
add: (input: McpAddInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
126
|
+
remove: (input: McpRemoveInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").McpServerNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
127
|
+
connect: (input: McpConnectInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").McpServerNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
128
|
+
disconnect: (input: McpDisconnectInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").McpServerNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
129
129
|
resource: {
|
|
130
|
-
catalog: (input?: McpResourceCatalogInput) => Effect.Effect<McpResourceCatalogOutput, import("@opencode/protocol/errors").
|
|
130
|
+
catalog: (input?: McpResourceCatalogInput) => Effect.Effect<McpResourceCatalogOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
131
131
|
};
|
|
132
132
|
};
|
|
133
133
|
credential: {
|
|
134
|
-
list: () => Effect.Effect<CredentialListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError
|
|
135
|
-
create: (input: CredentialCreateInput) => Effect.Effect<import("@opencode/schema/credential").Entry, import("@opencode/protocol/errors").
|
|
136
|
-
update: (input: CredentialUpdateInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError
|
|
137
|
-
activate: (input: CredentialActivateInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError
|
|
138
|
-
remove: (input: CredentialRemoveInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError
|
|
134
|
+
list: () => Effect.Effect<CredentialListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
135
|
+
create: (input: CredentialCreateInput) => Effect.Effect<import("@opencode/schema/credential").Entry, ClientError | import("@opencode/protocol/errors").ConflictError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
136
|
+
update: (input: CredentialUpdateInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
137
|
+
activate: (input: CredentialActivateInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
138
|
+
remove: (input: CredentialRemoveInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
139
139
|
};
|
|
140
140
|
project: {
|
|
141
|
-
list: (input?: ProjectListInput) => Effect.Effect<ProjectListOutput, import("@opencode/protocol/errors").
|
|
142
|
-
update: (input: ProjectUpdateInput) => Effect.Effect<import("@opencode/schema/project").Info,
|
|
141
|
+
list: (input?: ProjectListInput) => Effect.Effect<ProjectListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
142
|
+
update: (input: ProjectUpdateInput) => Effect.Effect<import("@opencode/schema/project").Info, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").ProjectNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
143
143
|
};
|
|
144
144
|
form: {
|
|
145
|
-
list: (input?: FormListInput) => Effect.Effect<FormListOutput, import("@opencode/protocol/errors").
|
|
145
|
+
list: (input?: FormListInput) => Effect.Effect<FormListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
146
146
|
};
|
|
147
147
|
permission: {
|
|
148
148
|
request: {
|
|
149
|
-
list: (input?: PermissionRequestListInput) => Effect.Effect<PermissionRequestListOutput, import("@opencode/protocol/errors").
|
|
149
|
+
list: (input?: PermissionRequestListInput) => Effect.Effect<PermissionRequestListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
150
150
|
};
|
|
151
151
|
saved: {
|
|
152
|
-
list: (input?: PermissionSavedListInput) => Effect.Effect<PermissionSavedListOutput, import("@opencode/protocol/errors").
|
|
153
|
-
|
|
152
|
+
list: (input?: PermissionSavedListInput) => Effect.Effect<PermissionSavedListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
153
|
+
update: (input: PermissionSavedUpdateInput) => Effect.Effect<import("@opencode/schema/permission-saved").Info, ClientError | import("@opencode/protocol/errors").ConflictError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").PermissionSavedNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
154
|
+
remove: (input: PermissionSavedRemoveInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
154
155
|
};
|
|
155
|
-
create: (input: PermissionCreateInput) => Effect.Effect<PermissionCreateOutput, import("@opencode/protocol/errors").
|
|
156
|
-
list: (input: PermissionListInput) => Effect.Effect<PermissionListOutput, import("@opencode/protocol/errors").
|
|
157
|
-
get: (input: PermissionGetInput) => Effect.Effect<import("@opencode/schema/permission").Request, import("@opencode/protocol/errors").
|
|
158
|
-
reply: (input: PermissionReplyInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
156
|
+
create: (input: PermissionCreateInput) => Effect.Effect<PermissionCreateOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
157
|
+
list: (input: PermissionListInput) => Effect.Effect<PermissionListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
158
|
+
get: (input: PermissionGetInput) => Effect.Effect<import("@opencode/schema/permission").Request, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").PermissionNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
159
|
+
reply: (input: PermissionReplyInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").PermissionNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
159
160
|
};
|
|
160
161
|
file: {
|
|
161
|
-
list: (input?: FileListInput) => Effect.Effect<FileListOutput, import("@opencode/protocol/errors").
|
|
162
|
-
find: (input: FileFindInput) => Effect.Effect<FileFindOutput, import("@opencode/protocol/errors").
|
|
162
|
+
list: (input?: FileListInput) => Effect.Effect<FileListOutput, ClientError | import("@opencode/protocol/errors").FileNotFoundError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
163
|
+
find: (input: FileFindInput) => Effect.Effect<FileFindOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
163
164
|
};
|
|
164
165
|
command: {
|
|
165
|
-
list: (input?: CommandListInput) => Effect.Effect<CommandListOutput, import("@opencode/protocol/errors").
|
|
166
|
+
list: (input?: CommandListInput) => Effect.Effect<CommandListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
166
167
|
};
|
|
167
168
|
skill: {
|
|
168
|
-
list: (input?: SkillListInput) => Effect.Effect<SkillListOutput, import("@opencode/protocol/errors").
|
|
169
|
+
list: (input?: SkillListInput) => Effect.Effect<SkillListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
169
170
|
};
|
|
170
171
|
rpc: {
|
|
171
|
-
call: (input: RpcCallInput) => Effect.Effect<RpcCallOutput, import("@opencode/protocol/errors").
|
|
172
|
+
call: (input: RpcCallInput) => Effect.Effect<RpcCallOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").RpcError | import("@opencode/protocol/errors").RpcInternalError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
172
173
|
};
|
|
173
174
|
event: {
|
|
174
175
|
subscribe: () => Stream.Stream<{
|
|
175
176
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
176
|
-
readonly data: {};
|
|
177
|
-
readonly type: "skill.updated";
|
|
178
177
|
readonly created: number;
|
|
178
|
+
readonly metadata?: {
|
|
179
|
+
readonly [x: string]: unknown;
|
|
180
|
+
} | undefined;
|
|
181
|
+
readonly type: "form.cancelled";
|
|
179
182
|
readonly location?: {
|
|
180
183
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
181
184
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
182
185
|
} | undefined;
|
|
186
|
+
readonly data: {
|
|
187
|
+
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
188
|
+
readonly sessionID: string;
|
|
189
|
+
};
|
|
190
|
+
} | {
|
|
191
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
192
|
+
readonly created: number;
|
|
183
193
|
readonly metadata?: {
|
|
184
194
|
readonly [x: string]: unknown;
|
|
185
195
|
} | undefined;
|
|
186
|
-
|
|
187
|
-
readonly
|
|
196
|
+
readonly type: "form.created";
|
|
197
|
+
readonly location?: {
|
|
198
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
199
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
200
|
+
} | undefined;
|
|
188
201
|
readonly data: {
|
|
189
202
|
readonly form: {
|
|
190
203
|
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
204
|
+
readonly sessionID: string;
|
|
205
|
+
readonly title: string;
|
|
206
|
+
readonly metadata?: {
|
|
207
|
+
readonly [x: string]: unknown;
|
|
208
|
+
} | undefined;
|
|
191
209
|
readonly fields: readonly [{
|
|
192
|
-
readonly type: "string";
|
|
193
210
|
readonly key: string;
|
|
211
|
+
readonly title?: string | undefined;
|
|
212
|
+
readonly description?: string | undefined;
|
|
194
213
|
readonly required?: boolean | undefined;
|
|
195
|
-
readonly
|
|
196
|
-
|
|
197
|
-
readonly
|
|
198
|
-
readonly
|
|
214
|
+
readonly hidden?: boolean | undefined;
|
|
215
|
+
readonly when?: readonly {
|
|
216
|
+
readonly key: string;
|
|
217
|
+
readonly op: "eq" | "neq";
|
|
218
|
+
readonly value: string | number | boolean;
|
|
199
219
|
}[] | undefined;
|
|
200
|
-
readonly
|
|
201
|
-
readonly format?: "
|
|
220
|
+
readonly type: "string";
|
|
221
|
+
readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
|
|
202
222
|
readonly minLength?: number | undefined;
|
|
203
223
|
readonly maxLength?: number | undefined;
|
|
204
224
|
readonly pattern?: string | undefined;
|
|
205
225
|
readonly placeholder?: string | undefined;
|
|
206
226
|
readonly default?: string | undefined;
|
|
227
|
+
readonly options?: readonly {
|
|
228
|
+
readonly value: string;
|
|
229
|
+
readonly label: string;
|
|
230
|
+
readonly description?: string | undefined;
|
|
231
|
+
}[] | undefined;
|
|
207
232
|
readonly custom?: boolean | undefined;
|
|
233
|
+
} | {
|
|
234
|
+
readonly key: string;
|
|
208
235
|
readonly title?: string | undefined;
|
|
236
|
+
readonly description?: string | undefined;
|
|
237
|
+
readonly required?: boolean | undefined;
|
|
209
238
|
readonly hidden?: boolean | undefined;
|
|
210
239
|
readonly when?: readonly {
|
|
211
240
|
readonly key: string;
|
|
212
241
|
readonly op: "eq" | "neq";
|
|
213
242
|
readonly value: string | number | boolean;
|
|
214
243
|
}[] | undefined;
|
|
215
|
-
} | {
|
|
216
244
|
readonly type: "number";
|
|
217
|
-
readonly
|
|
218
|
-
readonly
|
|
219
|
-
readonly description?: string | undefined;
|
|
245
|
+
readonly minimum?: number | undefined;
|
|
246
|
+
readonly maximum?: number | undefined;
|
|
220
247
|
readonly default?: number | undefined;
|
|
248
|
+
} | {
|
|
249
|
+
readonly key: string;
|
|
221
250
|
readonly title?: string | undefined;
|
|
251
|
+
readonly description?: string | undefined;
|
|
252
|
+
readonly required?: boolean | undefined;
|
|
222
253
|
readonly hidden?: boolean | undefined;
|
|
223
254
|
readonly when?: readonly {
|
|
224
255
|
readonly key: string;
|
|
225
256
|
readonly op: "eq" | "neq";
|
|
226
257
|
readonly value: string | number | boolean;
|
|
227
258
|
}[] | undefined;
|
|
259
|
+
readonly type: "integer";
|
|
228
260
|
readonly minimum?: number | undefined;
|
|
229
261
|
readonly maximum?: number | undefined;
|
|
262
|
+
readonly default?: number | undefined;
|
|
230
263
|
} | {
|
|
231
|
-
readonly type: "integer";
|
|
232
264
|
readonly key: string;
|
|
233
|
-
readonly required?: boolean | undefined;
|
|
234
|
-
readonly description?: string | undefined;
|
|
235
|
-
readonly default?: number | undefined;
|
|
236
265
|
readonly title?: string | undefined;
|
|
266
|
+
readonly description?: string | undefined;
|
|
267
|
+
readonly required?: boolean | undefined;
|
|
237
268
|
readonly hidden?: boolean | undefined;
|
|
238
269
|
readonly when?: readonly {
|
|
239
270
|
readonly key: string;
|
|
240
271
|
readonly op: "eq" | "neq";
|
|
241
272
|
readonly value: string | number | boolean;
|
|
242
273
|
}[] | undefined;
|
|
243
|
-
readonly minimum?: number | undefined;
|
|
244
|
-
readonly maximum?: number | undefined;
|
|
245
|
-
} | {
|
|
246
274
|
readonly type: "boolean";
|
|
247
|
-
readonly key: string;
|
|
248
|
-
readonly required?: boolean | undefined;
|
|
249
|
-
readonly description?: string | undefined;
|
|
250
275
|
readonly default?: boolean | undefined;
|
|
276
|
+
} | {
|
|
277
|
+
readonly key: string;
|
|
251
278
|
readonly title?: string | undefined;
|
|
279
|
+
readonly description?: string | undefined;
|
|
280
|
+
readonly required?: boolean | undefined;
|
|
252
281
|
readonly hidden?: boolean | undefined;
|
|
253
282
|
readonly when?: readonly {
|
|
254
283
|
readonly key: string;
|
|
255
284
|
readonly op: "eq" | "neq";
|
|
256
285
|
readonly value: string | number | boolean;
|
|
257
286
|
}[] | undefined;
|
|
258
|
-
} | {
|
|
259
287
|
readonly type: "multiselect";
|
|
260
288
|
readonly options: readonly {
|
|
261
289
|
readonly value: string;
|
|
262
290
|
readonly label: string;
|
|
263
291
|
readonly description?: string | undefined;
|
|
264
292
|
}[];
|
|
265
|
-
readonly key: string;
|
|
266
|
-
readonly required?: boolean | undefined;
|
|
267
|
-
readonly description?: string | undefined;
|
|
268
|
-
readonly default?: readonly string[] | undefined;
|
|
269
|
-
readonly custom?: boolean | undefined;
|
|
270
|
-
readonly title?: string | undefined;
|
|
271
|
-
readonly hidden?: boolean | undefined;
|
|
272
|
-
readonly when?: readonly {
|
|
273
|
-
readonly key: string;
|
|
274
|
-
readonly op: "eq" | "neq";
|
|
275
|
-
readonly value: string | number | boolean;
|
|
276
|
-
}[] | undefined;
|
|
277
293
|
readonly minItems?: number | undefined;
|
|
278
294
|
readonly maxItems?: number | undefined;
|
|
295
|
+
readonly custom?: boolean | undefined;
|
|
296
|
+
readonly default?: readonly string[] | undefined;
|
|
279
297
|
} | {
|
|
298
|
+
readonly key: string;
|
|
280
299
|
readonly type: "external";
|
|
281
300
|
readonly url: string;
|
|
282
|
-
readonly key: string;
|
|
283
|
-
readonly description?: string | undefined;
|
|
284
301
|
readonly title?: string | undefined;
|
|
302
|
+
readonly description?: string | undefined;
|
|
285
303
|
}, ...({
|
|
286
|
-
readonly type: "string";
|
|
287
304
|
readonly key: string;
|
|
305
|
+
readonly title?: string | undefined;
|
|
306
|
+
readonly description?: string | undefined;
|
|
288
307
|
readonly required?: boolean | undefined;
|
|
289
|
-
readonly
|
|
290
|
-
|
|
291
|
-
readonly
|
|
292
|
-
readonly
|
|
308
|
+
readonly hidden?: boolean | undefined;
|
|
309
|
+
readonly when?: readonly {
|
|
310
|
+
readonly key: string;
|
|
311
|
+
readonly op: "eq" | "neq";
|
|
312
|
+
readonly value: string | number | boolean;
|
|
293
313
|
}[] | undefined;
|
|
294
|
-
readonly
|
|
295
|
-
readonly format?: "
|
|
314
|
+
readonly type: "string";
|
|
315
|
+
readonly format?: "date" | "date-time" | "email" | "uri" | undefined;
|
|
296
316
|
readonly minLength?: number | undefined;
|
|
297
317
|
readonly maxLength?: number | undefined;
|
|
298
318
|
readonly pattern?: string | undefined;
|
|
299
319
|
readonly placeholder?: string | undefined;
|
|
300
320
|
readonly default?: string | undefined;
|
|
321
|
+
readonly options?: readonly {
|
|
322
|
+
readonly value: string;
|
|
323
|
+
readonly label: string;
|
|
324
|
+
readonly description?: string | undefined;
|
|
325
|
+
}[] | undefined;
|
|
301
326
|
readonly custom?: boolean | undefined;
|
|
327
|
+
} | {
|
|
328
|
+
readonly key: string;
|
|
302
329
|
readonly title?: string | undefined;
|
|
330
|
+
readonly description?: string | undefined;
|
|
331
|
+
readonly required?: boolean | undefined;
|
|
303
332
|
readonly hidden?: boolean | undefined;
|
|
304
333
|
readonly when?: readonly {
|
|
305
334
|
readonly key: string;
|
|
306
335
|
readonly op: "eq" | "neq";
|
|
307
336
|
readonly value: string | number | boolean;
|
|
308
337
|
}[] | undefined;
|
|
309
|
-
} | {
|
|
310
338
|
readonly type: "number";
|
|
311
|
-
readonly
|
|
312
|
-
readonly
|
|
313
|
-
readonly description?: string | undefined;
|
|
339
|
+
readonly minimum?: number | undefined;
|
|
340
|
+
readonly maximum?: number | undefined;
|
|
314
341
|
readonly default?: number | undefined;
|
|
342
|
+
} | {
|
|
343
|
+
readonly key: string;
|
|
315
344
|
readonly title?: string | undefined;
|
|
345
|
+
readonly description?: string | undefined;
|
|
346
|
+
readonly required?: boolean | undefined;
|
|
316
347
|
readonly hidden?: boolean | undefined;
|
|
317
348
|
readonly when?: readonly {
|
|
318
349
|
readonly key: string;
|
|
319
350
|
readonly op: "eq" | "neq";
|
|
320
351
|
readonly value: string | number | boolean;
|
|
321
352
|
}[] | undefined;
|
|
353
|
+
readonly type: "integer";
|
|
322
354
|
readonly minimum?: number | undefined;
|
|
323
355
|
readonly maximum?: number | undefined;
|
|
356
|
+
readonly default?: number | undefined;
|
|
324
357
|
} | {
|
|
325
|
-
readonly type: "integer";
|
|
326
358
|
readonly key: string;
|
|
327
|
-
readonly required?: boolean | undefined;
|
|
328
|
-
readonly description?: string | undefined;
|
|
329
|
-
readonly default?: number | undefined;
|
|
330
359
|
readonly title?: string | undefined;
|
|
360
|
+
readonly description?: string | undefined;
|
|
361
|
+
readonly required?: boolean | undefined;
|
|
331
362
|
readonly hidden?: boolean | undefined;
|
|
332
363
|
readonly when?: readonly {
|
|
333
364
|
readonly key: string;
|
|
334
365
|
readonly op: "eq" | "neq";
|
|
335
366
|
readonly value: string | number | boolean;
|
|
336
367
|
}[] | undefined;
|
|
337
|
-
readonly minimum?: number | undefined;
|
|
338
|
-
readonly maximum?: number | undefined;
|
|
339
|
-
} | {
|
|
340
368
|
readonly type: "boolean";
|
|
341
|
-
readonly key: string;
|
|
342
|
-
readonly required?: boolean | undefined;
|
|
343
|
-
readonly description?: string | undefined;
|
|
344
369
|
readonly default?: boolean | undefined;
|
|
370
|
+
} | {
|
|
371
|
+
readonly key: string;
|
|
345
372
|
readonly title?: string | undefined;
|
|
373
|
+
readonly description?: string | undefined;
|
|
374
|
+
readonly required?: boolean | undefined;
|
|
346
375
|
readonly hidden?: boolean | undefined;
|
|
347
376
|
readonly when?: readonly {
|
|
348
377
|
readonly key: string;
|
|
349
378
|
readonly op: "eq" | "neq";
|
|
350
379
|
readonly value: string | number | boolean;
|
|
351
380
|
}[] | undefined;
|
|
352
|
-
} | {
|
|
353
381
|
readonly type: "multiselect";
|
|
354
382
|
readonly options: readonly {
|
|
355
383
|
readonly value: string;
|
|
356
384
|
readonly label: string;
|
|
357
385
|
readonly description?: string | undefined;
|
|
358
386
|
}[];
|
|
359
|
-
readonly key: string;
|
|
360
|
-
readonly required?: boolean | undefined;
|
|
361
|
-
readonly description?: string | undefined;
|
|
362
|
-
readonly default?: readonly string[] | undefined;
|
|
363
|
-
readonly custom?: boolean | undefined;
|
|
364
|
-
readonly title?: string | undefined;
|
|
365
|
-
readonly hidden?: boolean | undefined;
|
|
366
|
-
readonly when?: readonly {
|
|
367
|
-
readonly key: string;
|
|
368
|
-
readonly op: "eq" | "neq";
|
|
369
|
-
readonly value: string | number | boolean;
|
|
370
|
-
}[] | undefined;
|
|
371
387
|
readonly minItems?: number | undefined;
|
|
372
388
|
readonly maxItems?: number | undefined;
|
|
389
|
+
readonly custom?: boolean | undefined;
|
|
390
|
+
readonly default?: readonly string[] | undefined;
|
|
373
391
|
} | {
|
|
392
|
+
readonly key: string;
|
|
374
393
|
readonly type: "external";
|
|
375
394
|
readonly url: string;
|
|
376
|
-
readonly key: string;
|
|
377
|
-
readonly description?: string | undefined;
|
|
378
395
|
readonly title?: string | undefined;
|
|
396
|
+
readonly description?: string | undefined;
|
|
379
397
|
})[]];
|
|
380
|
-
readonly sessionID: string;
|
|
381
|
-
readonly title: string;
|
|
382
|
-
readonly metadata?: {
|
|
383
|
-
readonly [x: string]: unknown;
|
|
384
|
-
} | undefined;
|
|
385
398
|
};
|
|
386
399
|
};
|
|
387
|
-
|
|
400
|
+
} | {
|
|
401
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
388
402
|
readonly created: number;
|
|
403
|
+
readonly metadata?: {
|
|
404
|
+
readonly [x: string]: unknown;
|
|
405
|
+
} | undefined;
|
|
406
|
+
readonly type: "form.replied";
|
|
389
407
|
readonly location?: {
|
|
390
408
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
391
409
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
392
410
|
} | undefined;
|
|
393
|
-
readonly metadata?: {
|
|
394
|
-
readonly [x: string]: unknown;
|
|
395
|
-
} | undefined;
|
|
396
|
-
} | {
|
|
397
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
398
411
|
readonly data: {
|
|
399
412
|
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
400
413
|
readonly sessionID: string;
|
|
@@ -402,490 +415,320 @@ export declare const make: (options?: {
|
|
|
402
415
|
readonly [x: string]: string | number | boolean | readonly string[];
|
|
403
416
|
};
|
|
404
417
|
};
|
|
405
|
-
|
|
418
|
+
} | {
|
|
419
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
406
420
|
readonly created: number;
|
|
407
|
-
readonly location?: {
|
|
408
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
409
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
410
|
-
} | undefined;
|
|
411
421
|
readonly metadata?: {
|
|
412
422
|
readonly [x: string]: unknown;
|
|
413
423
|
} | undefined;
|
|
414
|
-
|
|
415
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
416
|
-
readonly data: {
|
|
417
|
-
readonly id: string & import("effect/Brand").Brand<"Form.ID">;
|
|
418
|
-
readonly sessionID: string;
|
|
419
|
-
};
|
|
420
|
-
readonly type: "form.cancelled";
|
|
421
|
-
readonly created: number;
|
|
424
|
+
readonly type: "agent.updated";
|
|
422
425
|
readonly location?: {
|
|
423
426
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
424
427
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
425
428
|
} | undefined;
|
|
426
|
-
readonly
|
|
427
|
-
readonly [x: string]: unknown;
|
|
428
|
-
} | undefined;
|
|
429
|
+
readonly data: {};
|
|
429
430
|
} | {
|
|
430
431
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
431
|
-
readonly data: {};
|
|
432
|
-
readonly type: "credential.updated";
|
|
433
432
|
readonly created: number;
|
|
434
|
-
readonly location?: {
|
|
435
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
436
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
437
|
-
} | undefined;
|
|
438
433
|
readonly metadata?: {
|
|
439
434
|
readonly [x: string]: unknown;
|
|
440
435
|
} | undefined;
|
|
441
|
-
|
|
442
|
-
readonly
|
|
443
|
-
|
|
444
|
-
readonly
|
|
445
|
-
readonly
|
|
436
|
+
readonly type: "session.agent.selected";
|
|
437
|
+
readonly durable: {
|
|
438
|
+
readonly aggregateID: string;
|
|
439
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
440
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
446
441
|
};
|
|
447
|
-
readonly type: "credential.switched";
|
|
448
|
-
readonly created: number;
|
|
449
442
|
readonly location?: {
|
|
450
443
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
451
444
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
452
445
|
} | undefined;
|
|
453
|
-
readonly
|
|
454
|
-
readonly
|
|
455
|
-
|
|
446
|
+
readonly data: {
|
|
447
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
448
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
449
|
+
readonly previous?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
450
|
+
};
|
|
456
451
|
} | {
|
|
457
452
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
458
|
-
readonly data: {};
|
|
459
|
-
readonly type: "integration.updated";
|
|
460
453
|
readonly created: number;
|
|
461
|
-
readonly location?: {
|
|
462
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
463
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
464
|
-
} | undefined;
|
|
465
454
|
readonly metadata?: {
|
|
466
455
|
readonly [x: string]: unknown;
|
|
467
456
|
} | undefined;
|
|
468
|
-
|
|
469
|
-
readonly
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
457
|
+
readonly type: "session.archived";
|
|
458
|
+
readonly durable: {
|
|
459
|
+
readonly aggregateID: string;
|
|
460
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
461
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
462
|
+
};
|
|
473
463
|
readonly location?: {
|
|
474
464
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
475
465
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
476
466
|
} | undefined;
|
|
477
|
-
readonly
|
|
478
|
-
readonly
|
|
479
|
-
}
|
|
467
|
+
readonly data: {
|
|
468
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
469
|
+
};
|
|
480
470
|
} | {
|
|
481
471
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
482
|
-
readonly data: {};
|
|
483
|
-
readonly type: "model.updated";
|
|
484
472
|
readonly created: number;
|
|
485
|
-
readonly location?: {
|
|
486
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
487
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
488
|
-
} | undefined;
|
|
489
473
|
readonly metadata?: {
|
|
490
474
|
readonly [x: string]: unknown;
|
|
491
475
|
} | undefined;
|
|
492
|
-
|
|
493
|
-
readonly
|
|
494
|
-
|
|
495
|
-
readonly
|
|
496
|
-
readonly
|
|
497
|
-
readonly action: string;
|
|
498
|
-
readonly resources: readonly string[];
|
|
499
|
-
readonly metadata?: {
|
|
500
|
-
readonly [x: string]: unknown;
|
|
501
|
-
} | undefined;
|
|
502
|
-
readonly message?: string | undefined;
|
|
503
|
-
readonly save?: readonly string[] | undefined;
|
|
504
|
-
readonly source?: {
|
|
505
|
-
readonly type: "tool";
|
|
506
|
-
readonly messageID: string;
|
|
507
|
-
readonly id: string;
|
|
508
|
-
} | undefined;
|
|
476
|
+
readonly type: "session.compaction.ended";
|
|
477
|
+
readonly durable: {
|
|
478
|
+
readonly aggregateID: string;
|
|
479
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
480
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
509
481
|
};
|
|
510
|
-
readonly type: "permission.asked";
|
|
511
|
-
readonly created: number;
|
|
512
482
|
readonly location?: {
|
|
513
483
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
514
484
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
515
485
|
} | undefined;
|
|
516
|
-
readonly metadata?: {
|
|
517
|
-
readonly [x: string]: unknown;
|
|
518
|
-
} | undefined;
|
|
519
|
-
} | {
|
|
520
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
521
486
|
readonly data: {
|
|
522
487
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
523
|
-
readonly
|
|
524
|
-
readonly
|
|
488
|
+
readonly reason: "auto" | "manual";
|
|
489
|
+
readonly model?: {
|
|
490
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
491
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
492
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
493
|
+
} | undefined;
|
|
494
|
+
readonly native?: {
|
|
495
|
+
readonly [x: string]: unknown;
|
|
496
|
+
} | undefined;
|
|
497
|
+
readonly text: string;
|
|
498
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
499
|
+
readonly tokens?: {
|
|
500
|
+
readonly input: number;
|
|
501
|
+
readonly output: number;
|
|
502
|
+
readonly reasoning: number;
|
|
503
|
+
readonly cache: {
|
|
504
|
+
readonly read: number;
|
|
505
|
+
readonly write: number;
|
|
506
|
+
};
|
|
507
|
+
} | undefined;
|
|
525
508
|
};
|
|
526
|
-
|
|
509
|
+
} | {
|
|
510
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
527
511
|
readonly created: number;
|
|
528
|
-
readonly location?: {
|
|
529
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
530
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
531
|
-
} | undefined;
|
|
532
512
|
readonly metadata?: {
|
|
533
513
|
readonly [x: string]: unknown;
|
|
534
514
|
} | undefined;
|
|
535
|
-
|
|
536
|
-
readonly
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
515
|
+
readonly type: "session.compaction.failed";
|
|
516
|
+
readonly durable: {
|
|
517
|
+
readonly aggregateID: string;
|
|
518
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
519
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
520
|
+
};
|
|
540
521
|
readonly location?: {
|
|
541
522
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
542
523
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
543
524
|
} | undefined;
|
|
544
|
-
readonly metadata?: {
|
|
545
|
-
readonly [x: string]: unknown;
|
|
546
|
-
} | undefined;
|
|
547
|
-
} | {
|
|
548
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
549
525
|
readonly data: {
|
|
550
|
-
readonly
|
|
551
|
-
readonly
|
|
552
|
-
readonly
|
|
553
|
-
readonly
|
|
554
|
-
readonly
|
|
555
|
-
readonly
|
|
556
|
-
readonly
|
|
526
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
527
|
+
readonly reason: "auto" | "manual";
|
|
528
|
+
readonly error: {
|
|
529
|
+
readonly type: string;
|
|
530
|
+
readonly message: string;
|
|
531
|
+
readonly status?: number | undefined;
|
|
532
|
+
readonly response?: {
|
|
533
|
+
readonly body: string;
|
|
534
|
+
} | undefined;
|
|
557
535
|
};
|
|
558
|
-
readonly
|
|
559
|
-
readonly
|
|
560
|
-
readonly
|
|
561
|
-
|
|
562
|
-
readonly
|
|
563
|
-
readonly
|
|
564
|
-
readonly
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
536
|
+
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
537
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
538
|
+
readonly tokens?: {
|
|
539
|
+
readonly input: number;
|
|
540
|
+
readonly output: number;
|
|
541
|
+
readonly reasoning: number;
|
|
542
|
+
readonly cache: {
|
|
543
|
+
readonly read: number;
|
|
544
|
+
readonly write: number;
|
|
545
|
+
};
|
|
568
546
|
} | undefined;
|
|
569
547
|
};
|
|
570
|
-
|
|
548
|
+
} | {
|
|
549
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
571
550
|
readonly created: number;
|
|
572
|
-
readonly location?: {
|
|
573
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
574
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
575
|
-
} | undefined;
|
|
576
551
|
readonly metadata?: {
|
|
577
552
|
readonly [x: string]: unknown;
|
|
578
553
|
} | undefined;
|
|
579
|
-
|
|
580
|
-
readonly
|
|
581
|
-
|
|
582
|
-
readonly
|
|
583
|
-
|
|
584
|
-
readonly metadata: {
|
|
585
|
-
readonly [x: string]: unknown;
|
|
586
|
-
};
|
|
587
|
-
readonly command: string;
|
|
588
|
-
readonly status: "timeout" | "running" | "exited" | "killed";
|
|
589
|
-
readonly time: {
|
|
590
|
-
readonly started: number;
|
|
591
|
-
readonly completed?: number | undefined;
|
|
592
|
-
};
|
|
593
|
-
readonly cwd: string;
|
|
594
|
-
readonly shell: string;
|
|
595
|
-
readonly file: string;
|
|
596
|
-
readonly pid?: number | undefined;
|
|
597
|
-
readonly exit?: number | undefined;
|
|
598
|
-
readonly signal?: string | undefined;
|
|
599
|
-
};
|
|
554
|
+
readonly type: "session.compaction.started";
|
|
555
|
+
readonly durable: {
|
|
556
|
+
readonly aggregateID: string;
|
|
557
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
558
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
600
559
|
};
|
|
601
|
-
readonly type: "shell.created";
|
|
602
|
-
readonly created: number;
|
|
603
560
|
readonly location?: {
|
|
604
561
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
605
562
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
606
563
|
} | undefined;
|
|
607
|
-
readonly metadata?: {
|
|
608
|
-
readonly [x: string]: unknown;
|
|
609
|
-
} | undefined;
|
|
610
|
-
} | {
|
|
611
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
612
564
|
readonly data: {
|
|
613
|
-
readonly
|
|
614
|
-
readonly
|
|
615
|
-
readonly
|
|
565
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
566
|
+
readonly reason: "auto" | "manual";
|
|
567
|
+
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
616
568
|
};
|
|
617
|
-
|
|
569
|
+
} | {
|
|
570
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
618
571
|
readonly created: number;
|
|
619
|
-
readonly location?: {
|
|
620
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
621
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
622
|
-
} | undefined;
|
|
623
572
|
readonly metadata?: {
|
|
624
573
|
readonly [x: string]: unknown;
|
|
625
574
|
} | undefined;
|
|
626
|
-
|
|
627
|
-
readonly
|
|
628
|
-
|
|
629
|
-
readonly
|
|
575
|
+
readonly type: "session.created";
|
|
576
|
+
readonly durable: {
|
|
577
|
+
readonly aggregateID: string;
|
|
578
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
579
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
630
580
|
};
|
|
631
|
-
readonly type: "shell.deleted";
|
|
632
|
-
readonly created: number;
|
|
633
581
|
readonly location?: {
|
|
634
582
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
635
583
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
636
584
|
} | undefined;
|
|
637
|
-
readonly metadata?: {
|
|
638
|
-
readonly [x: string]: unknown;
|
|
639
|
-
} | undefined;
|
|
640
|
-
} | {
|
|
641
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
642
585
|
readonly data: {
|
|
586
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
587
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
643
588
|
readonly location: {
|
|
644
589
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
645
590
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
646
591
|
};
|
|
647
|
-
readonly
|
|
648
|
-
readonly
|
|
649
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
592
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
593
|
+
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
650
594
|
readonly slug: string;
|
|
651
|
-
readonly metadata?: {
|
|
652
|
-
readonly [x: string]: Schema.Json;
|
|
653
|
-
} | undefined;
|
|
654
595
|
readonly title?: string | undefined;
|
|
596
|
+
readonly agent?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
655
597
|
readonly model?: {
|
|
656
598
|
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
657
599
|
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
658
600
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
659
601
|
} | undefined;
|
|
602
|
+
readonly metadata?: {
|
|
603
|
+
readonly [x: string]: Schema.Json;
|
|
604
|
+
} | undefined;
|
|
660
605
|
readonly permissions?: readonly {
|
|
661
606
|
readonly action: string;
|
|
662
607
|
readonly resource: string;
|
|
663
|
-
readonly effect: "allow" | "
|
|
608
|
+
readonly effect: "allow" | "ask" | "deny";
|
|
664
609
|
}[] | undefined;
|
|
665
|
-
readonly
|
|
666
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
667
|
-
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
610
|
+
readonly version: string;
|
|
668
611
|
};
|
|
612
|
+
} | {
|
|
613
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
614
|
+
readonly created: number;
|
|
615
|
+
readonly metadata?: {
|
|
616
|
+
readonly [x: string]: unknown;
|
|
617
|
+
} | undefined;
|
|
618
|
+
readonly type: "session.deleted";
|
|
669
619
|
readonly durable: {
|
|
670
620
|
readonly aggregateID: string;
|
|
671
621
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
672
622
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
673
623
|
};
|
|
674
|
-
readonly type: "session.created";
|
|
675
|
-
readonly created: number;
|
|
676
624
|
readonly location?: {
|
|
677
625
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
678
626
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
679
627
|
} | undefined;
|
|
680
|
-
readonly metadata?: {
|
|
681
|
-
readonly [x: string]: unknown;
|
|
682
|
-
} | undefined;
|
|
683
|
-
} | {
|
|
684
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
685
628
|
readonly data: {
|
|
686
629
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
687
|
-
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
688
|
-
readonly previous?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
689
630
|
};
|
|
631
|
+
} | {
|
|
632
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
633
|
+
readonly created: number;
|
|
634
|
+
readonly metadata?: {
|
|
635
|
+
readonly [x: string]: unknown;
|
|
636
|
+
} | undefined;
|
|
637
|
+
readonly type: "session.execution.failed";
|
|
690
638
|
readonly durable: {
|
|
691
639
|
readonly aggregateID: string;
|
|
692
640
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
693
641
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
694
642
|
};
|
|
695
|
-
readonly type: "session.agent.selected";
|
|
696
|
-
readonly created: number;
|
|
697
643
|
readonly location?: {
|
|
698
644
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
699
645
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
700
646
|
} | undefined;
|
|
701
|
-
readonly metadata?: {
|
|
702
|
-
readonly [x: string]: unknown;
|
|
703
|
-
} | undefined;
|
|
704
|
-
} | {
|
|
705
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
706
647
|
readonly data: {
|
|
707
648
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
708
|
-
readonly
|
|
709
|
-
readonly
|
|
710
|
-
readonly
|
|
711
|
-
readonly
|
|
649
|
+
readonly error: {
|
|
650
|
+
readonly type: string;
|
|
651
|
+
readonly message: string;
|
|
652
|
+
readonly status?: number | undefined;
|
|
653
|
+
readonly response?: {
|
|
654
|
+
readonly body: string;
|
|
655
|
+
} | undefined;
|
|
712
656
|
};
|
|
713
|
-
readonly previous?: {
|
|
714
|
-
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
715
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
716
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
717
|
-
} | undefined;
|
|
718
657
|
};
|
|
658
|
+
} | {
|
|
659
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
660
|
+
readonly created: number;
|
|
661
|
+
readonly metadata?: {
|
|
662
|
+
readonly [x: string]: unknown;
|
|
663
|
+
} | undefined;
|
|
664
|
+
readonly type: "session.execution.interrupted";
|
|
719
665
|
readonly durable: {
|
|
720
666
|
readonly aggregateID: string;
|
|
721
667
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
722
668
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
723
669
|
};
|
|
724
|
-
readonly type: "session.model.selected";
|
|
725
|
-
readonly created: number;
|
|
726
670
|
readonly location?: {
|
|
727
671
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
728
672
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
729
673
|
} | undefined;
|
|
674
|
+
readonly data: {
|
|
675
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
676
|
+
readonly reason: "inactivity" | "shutdown" | "superseded" | "user";
|
|
677
|
+
};
|
|
678
|
+
} | {
|
|
679
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
680
|
+
readonly created: number;
|
|
730
681
|
readonly metadata?: {
|
|
731
682
|
readonly [x: string]: unknown;
|
|
732
683
|
} | undefined;
|
|
733
|
-
|
|
734
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
735
|
-
readonly data: {
|
|
736
|
-
readonly location: {
|
|
737
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
738
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
739
|
-
};
|
|
740
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
741
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
742
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
743
|
-
};
|
|
684
|
+
readonly type: "session.execution.started";
|
|
744
685
|
readonly durable: {
|
|
745
686
|
readonly aggregateID: string;
|
|
746
687
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
747
688
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
748
689
|
};
|
|
749
|
-
readonly type: "session.moved";
|
|
750
|
-
readonly created: number;
|
|
751
690
|
readonly location?: {
|
|
752
691
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
753
692
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
754
693
|
} | undefined;
|
|
755
|
-
readonly metadata?: {
|
|
756
|
-
readonly [x: string]: unknown;
|
|
757
|
-
} | undefined;
|
|
758
|
-
} | {
|
|
759
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
760
694
|
readonly data: {
|
|
761
|
-
readonly title: string;
|
|
762
695
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
763
696
|
};
|
|
764
|
-
readonly durable: {
|
|
765
|
-
readonly aggregateID: string;
|
|
766
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
767
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
768
|
-
};
|
|
769
|
-
readonly type: "session.renamed";
|
|
770
|
-
readonly created: number;
|
|
771
|
-
readonly location?: {
|
|
772
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
773
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
774
|
-
} | undefined;
|
|
775
|
-
readonly metadata?: {
|
|
776
|
-
readonly [x: string]: unknown;
|
|
777
|
-
} | undefined;
|
|
778
697
|
} | {
|
|
779
698
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
780
|
-
readonly data: {
|
|
781
|
-
readonly metadata: {
|
|
782
|
-
readonly [x: string]: Schema.Json;
|
|
783
|
-
};
|
|
784
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
785
|
-
};
|
|
786
|
-
readonly durable: {
|
|
787
|
-
readonly aggregateID: string;
|
|
788
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
789
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
790
|
-
};
|
|
791
|
-
readonly type: "session.metadata.updated";
|
|
792
699
|
readonly created: number;
|
|
793
|
-
readonly location?: {
|
|
794
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
795
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
796
|
-
} | undefined;
|
|
797
700
|
readonly metadata?: {
|
|
798
701
|
readonly [x: string]: unknown;
|
|
799
702
|
} | undefined;
|
|
800
|
-
|
|
801
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
802
|
-
readonly data: {
|
|
803
|
-
readonly permissions: readonly {
|
|
804
|
-
readonly action: string;
|
|
805
|
-
readonly resource: string;
|
|
806
|
-
readonly effect: "allow" | "deny" | "ask";
|
|
807
|
-
}[];
|
|
808
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
809
|
-
};
|
|
703
|
+
readonly type: "session.execution.succeeded";
|
|
810
704
|
readonly durable: {
|
|
811
705
|
readonly aggregateID: string;
|
|
812
706
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
813
707
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
814
708
|
};
|
|
815
|
-
readonly type: "session.permissions";
|
|
816
|
-
readonly created: number;
|
|
817
709
|
readonly location?: {
|
|
818
710
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
819
711
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
820
712
|
} | undefined;
|
|
821
|
-
readonly metadata?: {
|
|
822
|
-
readonly [x: string]: unknown;
|
|
823
|
-
} | undefined;
|
|
824
|
-
} | {
|
|
825
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
826
713
|
readonly data: {
|
|
827
|
-
readonly idle: number;
|
|
828
714
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
829
715
|
};
|
|
830
|
-
readonly durable: {
|
|
831
|
-
readonly aggregateID: string;
|
|
832
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
833
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
834
|
-
};
|
|
835
|
-
readonly type: "session.viewed";
|
|
836
|
-
readonly created: number;
|
|
837
|
-
readonly location?: {
|
|
838
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
839
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
840
|
-
} | undefined;
|
|
841
|
-
readonly metadata?: {
|
|
842
|
-
readonly [x: string]: unknown;
|
|
843
|
-
} | undefined;
|
|
844
716
|
} | {
|
|
845
717
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
846
|
-
readonly data: {
|
|
847
|
-
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
848
|
-
readonly tokens: {
|
|
849
|
-
readonly input: number;
|
|
850
|
-
readonly output: number;
|
|
851
|
-
readonly reasoning: number;
|
|
852
|
-
readonly cache: {
|
|
853
|
-
readonly read: number;
|
|
854
|
-
readonly write: number;
|
|
855
|
-
};
|
|
856
|
-
};
|
|
857
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
858
|
-
};
|
|
859
|
-
readonly type: "session.usage.updated";
|
|
860
718
|
readonly created: number;
|
|
861
|
-
readonly location?: {
|
|
862
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
863
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
864
|
-
} | undefined;
|
|
865
719
|
readonly metadata?: {
|
|
866
720
|
readonly [x: string]: unknown;
|
|
867
721
|
} | undefined;
|
|
868
|
-
|
|
869
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
870
|
-
readonly data: {
|
|
871
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
872
|
-
};
|
|
722
|
+
readonly type: "session.forked";
|
|
873
723
|
readonly durable: {
|
|
874
724
|
readonly aggregateID: string;
|
|
875
725
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
876
726
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
877
727
|
};
|
|
878
|
-
readonly type: "session.deleted";
|
|
879
|
-
readonly created: number;
|
|
880
728
|
readonly location?: {
|
|
881
729
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
882
730
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
883
731
|
} | undefined;
|
|
884
|
-
readonly metadata?: {
|
|
885
|
-
readonly [x: string]: unknown;
|
|
886
|
-
} | undefined;
|
|
887
|
-
} | {
|
|
888
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
889
732
|
readonly data: {
|
|
890
733
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
891
734
|
readonly parentID: string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -900,66 +743,106 @@ export declare const make: (options?: {
|
|
|
900
743
|
readonly [x: string & import("effect/Brand").Brand<"Instruction.Key">]: string & import("effect/Brand").Brand<"Instruction.Hash">;
|
|
901
744
|
} | undefined;
|
|
902
745
|
readonly instructionEntries?: readonly {
|
|
903
|
-
readonly removed: boolean;
|
|
904
746
|
readonly key: string;
|
|
905
747
|
readonly value: Schema.Json;
|
|
748
|
+
readonly removed: boolean;
|
|
906
749
|
}[] | undefined;
|
|
907
750
|
};
|
|
751
|
+
} | {
|
|
752
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
753
|
+
readonly created: number;
|
|
754
|
+
readonly metadata?: {
|
|
755
|
+
readonly [x: string]: unknown;
|
|
756
|
+
} | undefined;
|
|
757
|
+
readonly type: "session.inbox.cancelled";
|
|
908
758
|
readonly durable: {
|
|
909
759
|
readonly aggregateID: string;
|
|
910
760
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
911
761
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
912
762
|
};
|
|
913
|
-
readonly type: "session.forked";
|
|
914
|
-
readonly created: number;
|
|
915
763
|
readonly location?: {
|
|
916
764
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
917
765
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
918
766
|
} | undefined;
|
|
767
|
+
readonly data: {
|
|
768
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
769
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
770
|
+
};
|
|
771
|
+
} | {
|
|
772
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
773
|
+
readonly created: number;
|
|
919
774
|
readonly metadata?: {
|
|
920
775
|
readonly [x: string]: unknown;
|
|
921
776
|
} | undefined;
|
|
922
|
-
|
|
923
|
-
readonly
|
|
777
|
+
readonly type: "session.inbox.delivered";
|
|
778
|
+
readonly durable: {
|
|
779
|
+
readonly aggregateID: string;
|
|
780
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
781
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
782
|
+
};
|
|
783
|
+
readonly location?: {
|
|
784
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
785
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
786
|
+
} | undefined;
|
|
924
787
|
readonly data: {
|
|
925
|
-
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
926
788
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
789
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
927
790
|
};
|
|
791
|
+
} | {
|
|
792
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
793
|
+
readonly created: number;
|
|
794
|
+
readonly metadata?: {
|
|
795
|
+
readonly [x: string]: unknown;
|
|
796
|
+
} | undefined;
|
|
797
|
+
readonly type: "session.inbox.delivery.changed";
|
|
928
798
|
readonly durable: {
|
|
929
799
|
readonly aggregateID: string;
|
|
930
800
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
931
801
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
932
802
|
};
|
|
933
|
-
readonly type: "session.inbox.delivered";
|
|
934
|
-
readonly created: number;
|
|
935
803
|
readonly location?: {
|
|
936
804
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
937
805
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
938
806
|
} | undefined;
|
|
807
|
+
readonly data: {
|
|
808
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
809
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
810
|
+
readonly delivery: "queue" | "steer";
|
|
811
|
+
};
|
|
812
|
+
} | {
|
|
813
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
814
|
+
readonly created: number;
|
|
939
815
|
readonly metadata?: {
|
|
940
816
|
readonly [x: string]: unknown;
|
|
941
817
|
} | undefined;
|
|
942
|
-
|
|
943
|
-
readonly
|
|
818
|
+
readonly type: "session.inbox.enqueued";
|
|
819
|
+
readonly durable: {
|
|
820
|
+
readonly aggregateID: string;
|
|
821
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
822
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
823
|
+
};
|
|
824
|
+
readonly location?: {
|
|
825
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
826
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
827
|
+
} | undefined;
|
|
944
828
|
readonly data: {
|
|
829
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
830
|
+
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
945
831
|
readonly item: {
|
|
946
832
|
readonly type: "user";
|
|
947
833
|
readonly payload: {
|
|
948
834
|
readonly text: string;
|
|
949
|
-
readonly metadata?: {
|
|
950
|
-
readonly [x: string]: unknown;
|
|
951
|
-
} | undefined;
|
|
952
835
|
readonly files?: readonly {
|
|
953
836
|
readonly data: string;
|
|
837
|
+
readonly mime: string;
|
|
954
838
|
readonly source: {
|
|
955
839
|
readonly type: "inline";
|
|
956
840
|
} | {
|
|
957
841
|
readonly type: "uri";
|
|
958
842
|
readonly uri: string;
|
|
959
843
|
};
|
|
960
|
-
readonly mime: string;
|
|
961
|
-
readonly description?: string | undefined;
|
|
962
844
|
readonly name?: string | undefined;
|
|
845
|
+
readonly description?: string | undefined;
|
|
963
846
|
readonly mention?: {
|
|
964
847
|
readonly start: number;
|
|
965
848
|
readonly end: number;
|
|
@@ -984,22 +867,25 @@ export declare const make: (options?: {
|
|
|
984
867
|
readonly text: string;
|
|
985
868
|
} | undefined;
|
|
986
869
|
}[] | undefined;
|
|
870
|
+
readonly metadata?: {
|
|
871
|
+
readonly [x: string]: unknown;
|
|
872
|
+
} | undefined;
|
|
987
873
|
};
|
|
988
|
-
readonly delivery: "
|
|
874
|
+
readonly delivery: "queue" | "steer";
|
|
989
875
|
} | {
|
|
990
876
|
readonly type: "synthetic";
|
|
991
877
|
readonly payload: {
|
|
992
878
|
readonly text: string;
|
|
879
|
+
readonly description?: string | undefined;
|
|
993
880
|
readonly metadata?: {
|
|
994
881
|
readonly [x: string]: unknown;
|
|
995
882
|
} | undefined;
|
|
996
|
-
readonly description?: string | undefined;
|
|
997
883
|
};
|
|
998
|
-
readonly delivery: "
|
|
884
|
+
readonly delivery: "queue" | "steer";
|
|
999
885
|
} | {
|
|
1000
886
|
readonly type: "compaction";
|
|
1001
887
|
readonly payload: {};
|
|
1002
|
-
readonly delivery: "
|
|
888
|
+
readonly delivery: "queue" | "steer";
|
|
1003
889
|
} | {
|
|
1004
890
|
readonly type: "move";
|
|
1005
891
|
readonly payload: {
|
|
@@ -1010,354 +896,428 @@ export declare const make: (options?: {
|
|
|
1010
896
|
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1011
897
|
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
1012
898
|
};
|
|
1013
|
-
readonly delivery: "
|
|
899
|
+
readonly delivery: "queue" | "steer";
|
|
1014
900
|
};
|
|
1015
|
-
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1016
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1017
901
|
};
|
|
902
|
+
} | {
|
|
903
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
904
|
+
readonly created: number;
|
|
905
|
+
readonly metadata?: {
|
|
906
|
+
readonly [x: string]: unknown;
|
|
907
|
+
} | undefined;
|
|
908
|
+
readonly type: "session.instructions.updated";
|
|
1018
909
|
readonly durable: {
|
|
1019
910
|
readonly aggregateID: string;
|
|
1020
911
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1021
912
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1022
913
|
};
|
|
1023
|
-
readonly type: "session.inbox.enqueued";
|
|
1024
|
-
readonly created: number;
|
|
1025
914
|
readonly location?: {
|
|
1026
915
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1027
916
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1028
917
|
} | undefined;
|
|
1029
|
-
readonly metadata?: {
|
|
1030
|
-
readonly [x: string]: unknown;
|
|
1031
|
-
} | undefined;
|
|
1032
|
-
} | {
|
|
1033
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1034
918
|
readonly data: {
|
|
1035
|
-
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1036
919
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
920
|
+
readonly delta: {
|
|
921
|
+
readonly [x: string]: "removed" | (string & import("effect/Brand").Brand<"Instruction.Hash">);
|
|
922
|
+
};
|
|
923
|
+
readonly text?: string | undefined;
|
|
1037
924
|
};
|
|
925
|
+
} | {
|
|
926
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
927
|
+
readonly created: number;
|
|
928
|
+
readonly metadata?: {
|
|
929
|
+
readonly [x: string]: unknown;
|
|
930
|
+
} | undefined;
|
|
931
|
+
readonly type: "session.metadata.updated";
|
|
1038
932
|
readonly durable: {
|
|
1039
933
|
readonly aggregateID: string;
|
|
1040
934
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1041
935
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1042
936
|
};
|
|
1043
|
-
readonly type: "session.inbox.cancelled";
|
|
1044
|
-
readonly created: number;
|
|
1045
937
|
readonly location?: {
|
|
1046
938
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1047
939
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1048
940
|
} | undefined;
|
|
1049
|
-
readonly metadata?: {
|
|
1050
|
-
readonly [x: string]: unknown;
|
|
1051
|
-
} | undefined;
|
|
1052
|
-
} | {
|
|
1053
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1054
941
|
readonly data: {
|
|
1055
|
-
readonly delivery: "steer" | "queue";
|
|
1056
|
-
readonly inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1057
942
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
943
|
+
readonly metadata: {
|
|
944
|
+
readonly [x: string]: Schema.Json;
|
|
945
|
+
};
|
|
1058
946
|
};
|
|
947
|
+
} | {
|
|
948
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
949
|
+
readonly created: number;
|
|
950
|
+
readonly metadata?: {
|
|
951
|
+
readonly [x: string]: unknown;
|
|
952
|
+
} | undefined;
|
|
953
|
+
readonly type: "session.model.selected";
|
|
1059
954
|
readonly durable: {
|
|
1060
955
|
readonly aggregateID: string;
|
|
1061
956
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1062
957
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1063
958
|
};
|
|
1064
|
-
readonly type: "session.inbox.delivery.changed";
|
|
1065
|
-
readonly created: number;
|
|
1066
959
|
readonly location?: {
|
|
1067
960
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1068
961
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1069
962
|
} | undefined;
|
|
1070
|
-
readonly metadata?: {
|
|
1071
|
-
readonly [x: string]: unknown;
|
|
1072
|
-
} | undefined;
|
|
1073
|
-
} | {
|
|
1074
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1075
963
|
readonly data: {
|
|
1076
964
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
965
|
+
readonly model: {
|
|
966
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
967
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
968
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
969
|
+
};
|
|
970
|
+
readonly previous?: {
|
|
971
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
972
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
973
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
974
|
+
} | undefined;
|
|
1077
975
|
};
|
|
976
|
+
} | {
|
|
977
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
978
|
+
readonly created: number;
|
|
979
|
+
readonly metadata?: {
|
|
980
|
+
readonly [x: string]: unknown;
|
|
981
|
+
} | undefined;
|
|
982
|
+
readonly type: "session.moved";
|
|
1078
983
|
readonly durable: {
|
|
1079
984
|
readonly aggregateID: string;
|
|
1080
985
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1081
986
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1082
987
|
};
|
|
1083
|
-
readonly type: "session.execution.started";
|
|
1084
|
-
readonly created: number;
|
|
1085
988
|
readonly location?: {
|
|
1086
989
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1087
990
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1088
991
|
} | undefined;
|
|
1089
|
-
readonly metadata?: {
|
|
1090
|
-
readonly [x: string]: unknown;
|
|
1091
|
-
} | undefined;
|
|
1092
|
-
} | {
|
|
1093
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1094
992
|
readonly data: {
|
|
993
|
+
readonly location: {
|
|
994
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
995
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
996
|
+
};
|
|
997
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
998
|
+
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
1095
999
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1096
1000
|
};
|
|
1001
|
+
} | {
|
|
1002
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1003
|
+
readonly created: number;
|
|
1004
|
+
readonly metadata?: {
|
|
1005
|
+
readonly [x: string]: unknown;
|
|
1006
|
+
} | undefined;
|
|
1007
|
+
readonly type: "session.permissions";
|
|
1097
1008
|
readonly durable: {
|
|
1098
1009
|
readonly aggregateID: string;
|
|
1099
1010
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1100
1011
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1101
1012
|
};
|
|
1102
|
-
readonly type: "session.execution.succeeded";
|
|
1103
|
-
readonly created: number;
|
|
1104
1013
|
readonly location?: {
|
|
1105
1014
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1106
1015
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1107
1016
|
} | undefined;
|
|
1108
|
-
readonly metadata?: {
|
|
1109
|
-
readonly [x: string]: unknown;
|
|
1110
|
-
} | undefined;
|
|
1111
|
-
} | {
|
|
1112
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1113
1017
|
readonly data: {
|
|
1114
|
-
readonly error: {
|
|
1115
|
-
readonly type: string;
|
|
1116
|
-
readonly message: string;
|
|
1117
|
-
readonly status?: number | undefined;
|
|
1118
|
-
readonly response?: {
|
|
1119
|
-
readonly body: string;
|
|
1120
|
-
} | undefined;
|
|
1121
|
-
};
|
|
1122
1018
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1019
|
+
readonly permissions: readonly {
|
|
1020
|
+
readonly action: string;
|
|
1021
|
+
readonly resource: string;
|
|
1022
|
+
readonly effect: "allow" | "ask" | "deny";
|
|
1023
|
+
}[];
|
|
1123
1024
|
};
|
|
1025
|
+
} | {
|
|
1026
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1027
|
+
readonly created: number;
|
|
1028
|
+
readonly metadata?: {
|
|
1029
|
+
readonly [x: string]: unknown;
|
|
1030
|
+
} | undefined;
|
|
1031
|
+
readonly type: "session.reasoning.ended";
|
|
1124
1032
|
readonly durable: {
|
|
1125
1033
|
readonly aggregateID: string;
|
|
1126
1034
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1127
1035
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1128
1036
|
};
|
|
1129
|
-
readonly type: "session.execution.failed";
|
|
1130
|
-
readonly created: number;
|
|
1131
1037
|
readonly location?: {
|
|
1132
1038
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1133
1039
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1134
1040
|
} | undefined;
|
|
1041
|
+
readonly data: {
|
|
1042
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1043
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1044
|
+
readonly ordinal: number;
|
|
1045
|
+
readonly text: string;
|
|
1046
|
+
readonly native?: {
|
|
1047
|
+
readonly [x: string]: unknown;
|
|
1048
|
+
} | undefined;
|
|
1049
|
+
};
|
|
1050
|
+
} | {
|
|
1051
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1052
|
+
readonly created: number;
|
|
1135
1053
|
readonly metadata?: {
|
|
1136
1054
|
readonly [x: string]: unknown;
|
|
1137
1055
|
} | undefined;
|
|
1138
|
-
|
|
1139
|
-
readonly
|
|
1056
|
+
readonly type: "session.reasoning.started";
|
|
1057
|
+
readonly durable: {
|
|
1058
|
+
readonly aggregateID: string;
|
|
1059
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1060
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1061
|
+
};
|
|
1062
|
+
readonly location?: {
|
|
1063
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1064
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1065
|
+
} | undefined;
|
|
1140
1066
|
readonly data: {
|
|
1141
|
-
readonly reason: "user" | "shutdown" | "superseded" | "inactivity";
|
|
1142
1067
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1068
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1069
|
+
readonly ordinal: number;
|
|
1070
|
+
readonly native?: {
|
|
1071
|
+
readonly [x: string]: unknown;
|
|
1072
|
+
} | undefined;
|
|
1143
1073
|
};
|
|
1074
|
+
} | {
|
|
1075
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1076
|
+
readonly created: number;
|
|
1077
|
+
readonly metadata?: {
|
|
1078
|
+
readonly [x: string]: unknown;
|
|
1079
|
+
} | undefined;
|
|
1080
|
+
readonly type: "session.renamed";
|
|
1144
1081
|
readonly durable: {
|
|
1145
1082
|
readonly aggregateID: string;
|
|
1146
1083
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1147
1084
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1148
1085
|
};
|
|
1149
|
-
readonly type: "session.execution.interrupted";
|
|
1150
|
-
readonly created: number;
|
|
1151
1086
|
readonly location?: {
|
|
1152
1087
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1153
1088
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1154
1089
|
} | undefined;
|
|
1090
|
+
readonly data: {
|
|
1091
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1092
|
+
readonly title: string;
|
|
1093
|
+
};
|
|
1094
|
+
} | {
|
|
1095
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1096
|
+
readonly created: number;
|
|
1155
1097
|
readonly metadata?: {
|
|
1156
1098
|
readonly [x: string]: unknown;
|
|
1157
1099
|
} | undefined;
|
|
1158
|
-
|
|
1159
|
-
readonly
|
|
1100
|
+
readonly type: "session.retry.scheduled";
|
|
1101
|
+
readonly durable: {
|
|
1102
|
+
readonly aggregateID: string;
|
|
1103
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1104
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1105
|
+
};
|
|
1106
|
+
readonly location?: {
|
|
1107
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1108
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1109
|
+
} | undefined;
|
|
1160
1110
|
readonly data: {
|
|
1161
1111
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1162
|
-
readonly
|
|
1163
|
-
|
|
1112
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1113
|
+
readonly attempt: number;
|
|
1114
|
+
readonly at: number;
|
|
1115
|
+
readonly error: {
|
|
1116
|
+
readonly type: string;
|
|
1117
|
+
readonly message: string;
|
|
1118
|
+
readonly status?: number | undefined;
|
|
1119
|
+
readonly response?: {
|
|
1120
|
+
readonly body: string;
|
|
1121
|
+
} | undefined;
|
|
1164
1122
|
};
|
|
1165
|
-
readonly text?: string | undefined;
|
|
1166
1123
|
};
|
|
1124
|
+
} | {
|
|
1125
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1126
|
+
readonly created: number;
|
|
1127
|
+
readonly metadata?: {
|
|
1128
|
+
readonly [x: string]: unknown;
|
|
1129
|
+
} | undefined;
|
|
1130
|
+
readonly type: "session.revert.cleared";
|
|
1167
1131
|
readonly durable: {
|
|
1168
1132
|
readonly aggregateID: string;
|
|
1169
1133
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1170
1134
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1171
1135
|
};
|
|
1172
|
-
readonly type: "session.instructions.updated";
|
|
1173
|
-
readonly created: number;
|
|
1174
1136
|
readonly location?: {
|
|
1175
1137
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1176
1138
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1177
1139
|
} | undefined;
|
|
1178
|
-
readonly metadata?: {
|
|
1179
|
-
readonly [x: string]: unknown;
|
|
1180
|
-
} | undefined;
|
|
1181
|
-
} | {
|
|
1182
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1183
1140
|
readonly data: {
|
|
1184
1141
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1185
|
-
readonly text: string;
|
|
1186
|
-
readonly metadata?: {
|
|
1187
|
-
readonly [x: string]: unknown;
|
|
1188
|
-
} | undefined;
|
|
1189
|
-
readonly description?: string | undefined;
|
|
1190
1142
|
};
|
|
1143
|
+
} | {
|
|
1144
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1145
|
+
readonly created: number;
|
|
1146
|
+
readonly metadata?: {
|
|
1147
|
+
readonly [x: string]: unknown;
|
|
1148
|
+
} | undefined;
|
|
1149
|
+
readonly type: "session.revert.committed";
|
|
1191
1150
|
readonly durable: {
|
|
1192
1151
|
readonly aggregateID: string;
|
|
1193
1152
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1194
1153
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1195
1154
|
};
|
|
1196
|
-
readonly type: "session.synthetic";
|
|
1197
|
-
readonly created: number;
|
|
1198
1155
|
readonly location?: {
|
|
1199
1156
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1200
1157
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1201
1158
|
} | undefined;
|
|
1202
|
-
readonly metadata?: {
|
|
1203
|
-
readonly [x: string]: unknown;
|
|
1204
|
-
} | undefined;
|
|
1205
|
-
} | {
|
|
1206
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1207
1159
|
readonly data: {
|
|
1208
|
-
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
1209
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
1210
|
-
readonly text: string;
|
|
1211
1160
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1161
|
+
readonly to: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1212
1162
|
};
|
|
1163
|
+
} | {
|
|
1164
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1165
|
+
readonly created: number;
|
|
1166
|
+
readonly metadata?: {
|
|
1167
|
+
readonly [x: string]: unknown;
|
|
1168
|
+
} | undefined;
|
|
1169
|
+
readonly type: "session.revert.staged";
|
|
1213
1170
|
readonly durable: {
|
|
1214
1171
|
readonly aggregateID: string;
|
|
1215
1172
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1216
1173
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1217
1174
|
};
|
|
1218
|
-
readonly type: "session.skill.activated";
|
|
1219
|
-
readonly created: number;
|
|
1220
1175
|
readonly location?: {
|
|
1221
1176
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1222
1177
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1223
1178
|
} | undefined;
|
|
1179
|
+
readonly data: {
|
|
1180
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1181
|
+
readonly revert: {
|
|
1182
|
+
readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1183
|
+
readonly partID?: string | undefined;
|
|
1184
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1185
|
+
readonly files?: readonly {
|
|
1186
|
+
readonly file: string;
|
|
1187
|
+
readonly patch: string;
|
|
1188
|
+
readonly additions: number;
|
|
1189
|
+
readonly deletions: number;
|
|
1190
|
+
readonly status: "added" | "deleted" | "modified";
|
|
1191
|
+
}[] | undefined;
|
|
1192
|
+
};
|
|
1193
|
+
};
|
|
1194
|
+
} | {
|
|
1195
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1196
|
+
readonly created: number;
|
|
1224
1197
|
readonly metadata?: {
|
|
1225
1198
|
readonly [x: string]: unknown;
|
|
1226
1199
|
} | undefined;
|
|
1227
|
-
|
|
1228
|
-
readonly
|
|
1200
|
+
readonly type: "session.shell.ended";
|
|
1201
|
+
readonly durable: {
|
|
1202
|
+
readonly aggregateID: string;
|
|
1203
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1204
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1205
|
+
};
|
|
1206
|
+
readonly location?: {
|
|
1207
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1208
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1209
|
+
} | undefined;
|
|
1229
1210
|
readonly data: {
|
|
1211
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1230
1212
|
readonly shell: {
|
|
1231
1213
|
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
1232
|
-
readonly
|
|
1233
|
-
readonly [x: string]: unknown;
|
|
1234
|
-
};
|
|
1214
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
1235
1215
|
readonly command: string;
|
|
1236
|
-
readonly status: "timeout" | "running" | "exited" | "killed";
|
|
1237
|
-
readonly time: {
|
|
1238
|
-
readonly started: number;
|
|
1239
|
-
readonly completed?: number | undefined;
|
|
1240
|
-
};
|
|
1241
1216
|
readonly cwd: string;
|
|
1242
1217
|
readonly shell: string;
|
|
1243
1218
|
readonly file: string;
|
|
1244
1219
|
readonly pid?: number | undefined;
|
|
1245
1220
|
readonly exit?: number | undefined;
|
|
1246
1221
|
readonly signal?: string | undefined;
|
|
1222
|
+
readonly metadata: {
|
|
1223
|
+
readonly [x: string]: unknown;
|
|
1224
|
+
};
|
|
1225
|
+
readonly time: {
|
|
1226
|
+
readonly started: number;
|
|
1227
|
+
readonly completed?: number | undefined;
|
|
1228
|
+
};
|
|
1229
|
+
};
|
|
1230
|
+
readonly output: {
|
|
1231
|
+
readonly output: string;
|
|
1232
|
+
readonly cursor: number;
|
|
1233
|
+
readonly size: number;
|
|
1234
|
+
readonly truncated: boolean;
|
|
1247
1235
|
};
|
|
1248
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1249
1236
|
};
|
|
1237
|
+
} | {
|
|
1238
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1239
|
+
readonly created: number;
|
|
1240
|
+
readonly metadata?: {
|
|
1241
|
+
readonly [x: string]: unknown;
|
|
1242
|
+
} | undefined;
|
|
1243
|
+
readonly type: "session.shell.started";
|
|
1250
1244
|
readonly durable: {
|
|
1251
1245
|
readonly aggregateID: string;
|
|
1252
1246
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1253
1247
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1254
1248
|
};
|
|
1255
|
-
readonly type: "session.shell.started";
|
|
1256
|
-
readonly created: number;
|
|
1257
1249
|
readonly location?: {
|
|
1258
1250
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1259
1251
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1260
1252
|
} | undefined;
|
|
1261
|
-
readonly metadata?: {
|
|
1262
|
-
readonly [x: string]: unknown;
|
|
1263
|
-
} | undefined;
|
|
1264
|
-
} | {
|
|
1265
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1266
1253
|
readonly data: {
|
|
1254
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1267
1255
|
readonly shell: {
|
|
1268
1256
|
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
1269
|
-
readonly
|
|
1270
|
-
readonly [x: string]: unknown;
|
|
1271
|
-
};
|
|
1257
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
1272
1258
|
readonly command: string;
|
|
1273
|
-
readonly status: "timeout" | "running" | "exited" | "killed";
|
|
1274
|
-
readonly time: {
|
|
1275
|
-
readonly started: number;
|
|
1276
|
-
readonly completed?: number | undefined;
|
|
1277
|
-
};
|
|
1278
1259
|
readonly cwd: string;
|
|
1279
1260
|
readonly shell: string;
|
|
1280
1261
|
readonly file: string;
|
|
1281
1262
|
readonly pid?: number | undefined;
|
|
1282
1263
|
readonly exit?: number | undefined;
|
|
1283
1264
|
readonly signal?: string | undefined;
|
|
1265
|
+
readonly metadata: {
|
|
1266
|
+
readonly [x: string]: unknown;
|
|
1267
|
+
};
|
|
1268
|
+
readonly time: {
|
|
1269
|
+
readonly started: number;
|
|
1270
|
+
readonly completed?: number | undefined;
|
|
1271
|
+
};
|
|
1284
1272
|
};
|
|
1285
|
-
readonly output: {
|
|
1286
|
-
readonly output: string;
|
|
1287
|
-
readonly cursor: number;
|
|
1288
|
-
readonly size: number;
|
|
1289
|
-
readonly truncated: boolean;
|
|
1290
|
-
};
|
|
1291
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1292
1273
|
};
|
|
1274
|
+
} | {
|
|
1275
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1276
|
+
readonly created: number;
|
|
1277
|
+
readonly metadata?: {
|
|
1278
|
+
readonly [x: string]: unknown;
|
|
1279
|
+
} | undefined;
|
|
1280
|
+
readonly type: "session.skill.activated";
|
|
1293
1281
|
readonly durable: {
|
|
1294
1282
|
readonly aggregateID: string;
|
|
1295
1283
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1296
1284
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1297
1285
|
};
|
|
1298
|
-
readonly type: "session.shell.ended";
|
|
1299
|
-
readonly created: number;
|
|
1300
1286
|
readonly location?: {
|
|
1301
1287
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1302
1288
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1303
1289
|
} | undefined;
|
|
1304
|
-
readonly metadata?: {
|
|
1305
|
-
readonly [x: string]: unknown;
|
|
1306
|
-
} | undefined;
|
|
1307
|
-
} | {
|
|
1308
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1309
1290
|
readonly data: {
|
|
1310
1291
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1311
|
-
readonly
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1315
|
-
};
|
|
1316
|
-
readonly started: number;
|
|
1317
|
-
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
1318
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1319
|
-
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1320
|
-
};
|
|
1321
|
-
readonly durable: {
|
|
1322
|
-
readonly aggregateID: string;
|
|
1323
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1324
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1292
|
+
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
1293
|
+
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
1294
|
+
readonly text: string;
|
|
1325
1295
|
};
|
|
1326
|
-
|
|
1296
|
+
} | {
|
|
1297
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1327
1298
|
readonly created: number;
|
|
1328
|
-
readonly location?: {
|
|
1329
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1330
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1331
|
-
} | undefined;
|
|
1332
1299
|
readonly metadata?: {
|
|
1333
1300
|
readonly [x: string]: unknown;
|
|
1334
1301
|
} | undefined;
|
|
1335
|
-
|
|
1336
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1337
|
-
readonly data: {
|
|
1338
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1339
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1340
|
-
};
|
|
1302
|
+
readonly type: "session.step.ended";
|
|
1341
1303
|
readonly durable: {
|
|
1342
1304
|
readonly aggregateID: string;
|
|
1343
1305
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1344
1306
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1345
1307
|
};
|
|
1346
|
-
readonly type: "session.step.streamed";
|
|
1347
|
-
readonly created: number;
|
|
1348
1308
|
readonly location?: {
|
|
1349
1309
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1350
1310
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1351
1311
|
} | undefined;
|
|
1352
|
-
readonly metadata?: {
|
|
1353
|
-
readonly [x: string]: unknown;
|
|
1354
|
-
} | undefined;
|
|
1355
|
-
} | {
|
|
1356
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1357
1312
|
readonly data: {
|
|
1358
1313
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1314
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1315
|
+
readonly finish: "content-filter" | "error" | "length" | "stop" | "tool-calls" | "unknown";
|
|
1316
|
+
readonly rawFinish?: string | undefined;
|
|
1317
|
+
readonly native?: {
|
|
1318
|
+
readonly [x: string]: unknown;
|
|
1319
|
+
} | undefined;
|
|
1359
1320
|
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
1360
|
-
readonly finish: "length" | "error" | "stop" | "tool-calls" | "content-filter" | "unknown";
|
|
1361
1321
|
readonly tokens: {
|
|
1362
1322
|
readonly input: number;
|
|
1363
1323
|
readonly output: number;
|
|
@@ -1367,32 +1327,28 @@ export declare const make: (options?: {
|
|
|
1367
1327
|
readonly write: number;
|
|
1368
1328
|
};
|
|
1369
1329
|
};
|
|
1370
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1371
|
-
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
1372
|
-
readonly providerState?: {
|
|
1373
|
-
readonly [x: string]: unknown;
|
|
1374
|
-
} | undefined;
|
|
1375
1330
|
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1376
|
-
readonly
|
|
1331
|
+
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
1377
1332
|
};
|
|
1333
|
+
} | {
|
|
1334
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1335
|
+
readonly created: number;
|
|
1336
|
+
readonly metadata?: {
|
|
1337
|
+
readonly [x: string]: unknown;
|
|
1338
|
+
} | undefined;
|
|
1339
|
+
readonly type: "session.step.failed";
|
|
1378
1340
|
readonly durable: {
|
|
1379
1341
|
readonly aggregateID: string;
|
|
1380
1342
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1381
1343
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1382
1344
|
};
|
|
1383
|
-
readonly type: "session.step.ended";
|
|
1384
|
-
readonly created: number;
|
|
1385
1345
|
readonly location?: {
|
|
1386
1346
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1387
1347
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1388
1348
|
} | undefined;
|
|
1389
|
-
readonly metadata?: {
|
|
1390
|
-
readonly [x: string]: unknown;
|
|
1391
|
-
} | undefined;
|
|
1392
|
-
} | {
|
|
1393
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1394
1349
|
readonly data: {
|
|
1395
1350
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1351
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1396
1352
|
readonly error: {
|
|
1397
1353
|
readonly type: string;
|
|
1398
1354
|
readonly message: string;
|
|
@@ -1401,15 +1357,12 @@ export declare const make: (options?: {
|
|
|
1401
1357
|
readonly body: string;
|
|
1402
1358
|
} | undefined;
|
|
1403
1359
|
};
|
|
1404
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1405
|
-
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
1406
|
-
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
1407
|
-
readonly providerState?: {
|
|
1408
|
-
readonly [x: string]: unknown;
|
|
1409
|
-
} | undefined;
|
|
1410
|
-
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1411
1360
|
readonly finish?: "content-filter" | undefined;
|
|
1412
1361
|
readonly rawFinish?: string | undefined;
|
|
1362
|
+
readonly native?: {
|
|
1363
|
+
readonly [x: string]: unknown;
|
|
1364
|
+
} | undefined;
|
|
1365
|
+
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
1413
1366
|
readonly tokens?: {
|
|
1414
1367
|
readonly input: number;
|
|
1415
1368
|
readonly output: number;
|
|
@@ -1419,263 +1372,184 @@ export declare const make: (options?: {
|
|
|
1419
1372
|
readonly write: number;
|
|
1420
1373
|
};
|
|
1421
1374
|
} | undefined;
|
|
1375
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1376
|
+
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
1422
1377
|
};
|
|
1378
|
+
} | {
|
|
1379
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1380
|
+
readonly created: number;
|
|
1381
|
+
readonly metadata?: {
|
|
1382
|
+
readonly [x: string]: unknown;
|
|
1383
|
+
} | undefined;
|
|
1384
|
+
readonly type: "session.step.started";
|
|
1423
1385
|
readonly durable: {
|
|
1424
1386
|
readonly aggregateID: string;
|
|
1425
1387
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1426
1388
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1427
1389
|
};
|
|
1428
|
-
readonly type: "session.step.failed";
|
|
1429
|
-
readonly created: number;
|
|
1430
1390
|
readonly location?: {
|
|
1431
1391
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1432
1392
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1433
1393
|
} | undefined;
|
|
1434
|
-
readonly metadata?: {
|
|
1435
|
-
readonly [x: string]: unknown;
|
|
1436
|
-
} | undefined;
|
|
1437
|
-
} | {
|
|
1438
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1439
1394
|
readonly data: {
|
|
1440
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1441
|
-
readonly ordinal: number;
|
|
1442
1395
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1396
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1397
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
1398
|
+
readonly model: {
|
|
1399
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1400
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1401
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1402
|
+
};
|
|
1403
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1404
|
+
readonly started: number;
|
|
1443
1405
|
};
|
|
1406
|
+
} | {
|
|
1407
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1408
|
+
readonly created: number;
|
|
1409
|
+
readonly metadata?: {
|
|
1410
|
+
readonly [x: string]: unknown;
|
|
1411
|
+
} | undefined;
|
|
1412
|
+
readonly type: "session.step.streamed";
|
|
1444
1413
|
readonly durable: {
|
|
1445
1414
|
readonly aggregateID: string;
|
|
1446
1415
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1447
1416
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1448
1417
|
};
|
|
1449
|
-
readonly type: "session.text.started";
|
|
1450
|
-
readonly created: number;
|
|
1451
1418
|
readonly location?: {
|
|
1452
1419
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1453
1420
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1454
1421
|
} | undefined;
|
|
1455
|
-
readonly metadata?: {
|
|
1456
|
-
readonly [x: string]: unknown;
|
|
1457
|
-
} | undefined;
|
|
1458
|
-
} | {
|
|
1459
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1460
1422
|
readonly data: {
|
|
1461
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1462
|
-
readonly ordinal: number;
|
|
1463
|
-
readonly delta: string;
|
|
1464
1423
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1424
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1465
1425
|
};
|
|
1466
|
-
|
|
1426
|
+
} | {
|
|
1427
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1467
1428
|
readonly created: number;
|
|
1468
|
-
readonly location?: {
|
|
1469
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1470
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1471
|
-
} | undefined;
|
|
1472
1429
|
readonly metadata?: {
|
|
1473
1430
|
readonly [x: string]: unknown;
|
|
1474
1431
|
} | undefined;
|
|
1475
|
-
|
|
1476
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1477
|
-
readonly data: {
|
|
1478
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1479
|
-
readonly text: string;
|
|
1480
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1481
|
-
readonly ordinal: number;
|
|
1482
|
-
readonly state?: {
|
|
1483
|
-
readonly [x: string]: unknown;
|
|
1484
|
-
} | undefined;
|
|
1485
|
-
};
|
|
1432
|
+
readonly type: "session.synthetic";
|
|
1486
1433
|
readonly durable: {
|
|
1487
1434
|
readonly aggregateID: string;
|
|
1488
1435
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1489
1436
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1490
1437
|
};
|
|
1491
|
-
readonly type: "session.text.ended";
|
|
1492
|
-
readonly created: number;
|
|
1493
1438
|
readonly location?: {
|
|
1494
1439
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1495
1440
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1496
1441
|
} | undefined;
|
|
1497
|
-
readonly metadata?: {
|
|
1498
|
-
readonly [x: string]: unknown;
|
|
1499
|
-
} | undefined;
|
|
1500
|
-
} | {
|
|
1501
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1502
1442
|
readonly data: {
|
|
1503
1443
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1504
|
-
readonly
|
|
1505
|
-
readonly
|
|
1506
|
-
readonly
|
|
1444
|
+
readonly text: string;
|
|
1445
|
+
readonly description?: string | undefined;
|
|
1446
|
+
readonly metadata?: {
|
|
1507
1447
|
readonly [x: string]: unknown;
|
|
1508
1448
|
} | undefined;
|
|
1509
1449
|
};
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1513
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1514
|
-
};
|
|
1515
|
-
readonly type: "session.reasoning.started";
|
|
1450
|
+
} | {
|
|
1451
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1516
1452
|
readonly created: number;
|
|
1517
|
-
readonly location?: {
|
|
1518
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1519
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1520
|
-
} | undefined;
|
|
1521
1453
|
readonly metadata?: {
|
|
1522
1454
|
readonly [x: string]: unknown;
|
|
1523
1455
|
} | undefined;
|
|
1524
|
-
|
|
1525
|
-
readonly
|
|
1526
|
-
|
|
1527
|
-
readonly
|
|
1528
|
-
readonly
|
|
1529
|
-
readonly delta: string;
|
|
1530
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1456
|
+
readonly type: "session.text.ended";
|
|
1457
|
+
readonly durable: {
|
|
1458
|
+
readonly aggregateID: string;
|
|
1459
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1460
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1531
1461
|
};
|
|
1532
|
-
readonly type: "session.reasoning.delta";
|
|
1533
|
-
readonly created: number;
|
|
1534
1462
|
readonly location?: {
|
|
1535
1463
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1536
1464
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1537
1465
|
} | undefined;
|
|
1538
|
-
readonly metadata?: {
|
|
1539
|
-
readonly [x: string]: unknown;
|
|
1540
|
-
} | undefined;
|
|
1541
|
-
} | {
|
|
1542
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1543
1466
|
readonly data: {
|
|
1544
1467
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1545
|
-
readonly text: string;
|
|
1546
1468
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1547
1469
|
readonly ordinal: number;
|
|
1548
|
-
readonly
|
|
1470
|
+
readonly text: string;
|
|
1471
|
+
readonly native?: {
|
|
1549
1472
|
readonly [x: string]: unknown;
|
|
1550
1473
|
} | undefined;
|
|
1551
1474
|
};
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1555
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1556
|
-
};
|
|
1557
|
-
readonly type: "session.reasoning.ended";
|
|
1475
|
+
} | {
|
|
1476
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1558
1477
|
readonly created: number;
|
|
1559
|
-
readonly location?: {
|
|
1560
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1561
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1562
|
-
} | undefined;
|
|
1563
1478
|
readonly metadata?: {
|
|
1564
1479
|
readonly [x: string]: unknown;
|
|
1565
1480
|
} | undefined;
|
|
1566
|
-
|
|
1567
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1568
|
-
readonly data: {
|
|
1569
|
-
readonly name: string;
|
|
1570
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1571
|
-
readonly id: string;
|
|
1572
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1573
|
-
};
|
|
1481
|
+
readonly type: "session.text.started";
|
|
1574
1482
|
readonly durable: {
|
|
1575
1483
|
readonly aggregateID: string;
|
|
1576
1484
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1577
1485
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1578
1486
|
};
|
|
1579
|
-
readonly type: "session.tool.input.started";
|
|
1580
|
-
readonly created: number;
|
|
1581
1487
|
readonly location?: {
|
|
1582
1488
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1583
1489
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1584
1490
|
} | undefined;
|
|
1585
|
-
readonly metadata?: {
|
|
1586
|
-
readonly [x: string]: unknown;
|
|
1587
|
-
} | undefined;
|
|
1588
|
-
} | {
|
|
1589
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1590
1491
|
readonly data: {
|
|
1591
|
-
readonly delta: string;
|
|
1592
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1593
|
-
readonly id: string;
|
|
1594
1492
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1493
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1494
|
+
readonly ordinal: number;
|
|
1595
1495
|
};
|
|
1596
|
-
|
|
1496
|
+
} | {
|
|
1497
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1597
1498
|
readonly created: number;
|
|
1598
|
-
readonly location?: {
|
|
1599
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1600
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1601
|
-
} | undefined;
|
|
1602
1499
|
readonly metadata?: {
|
|
1603
1500
|
readonly [x: string]: unknown;
|
|
1604
1501
|
} | undefined;
|
|
1605
|
-
|
|
1606
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1607
|
-
readonly data: {
|
|
1608
|
-
readonly text: string;
|
|
1609
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1610
|
-
readonly id: string;
|
|
1611
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1612
|
-
};
|
|
1502
|
+
readonly type: "session.tool.called";
|
|
1613
1503
|
readonly durable: {
|
|
1614
1504
|
readonly aggregateID: string;
|
|
1615
1505
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1616
1506
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1617
1507
|
};
|
|
1618
|
-
readonly type: "session.tool.input.ended";
|
|
1619
|
-
readonly created: number;
|
|
1620
1508
|
readonly location?: {
|
|
1621
1509
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1622
1510
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1623
1511
|
} | undefined;
|
|
1624
|
-
readonly metadata?: {
|
|
1625
|
-
readonly [x: string]: unknown;
|
|
1626
|
-
} | undefined;
|
|
1627
|
-
} | {
|
|
1628
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1629
1512
|
readonly data: {
|
|
1630
|
-
readonly id: string;
|
|
1631
1513
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1514
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1515
|
+
readonly id: string;
|
|
1632
1516
|
readonly input: {
|
|
1633
1517
|
readonly [x: string]: unknown;
|
|
1634
1518
|
};
|
|
1635
1519
|
readonly executed: boolean;
|
|
1636
|
-
readonly
|
|
1637
|
-
readonly state?: {
|
|
1520
|
+
readonly native?: {
|
|
1638
1521
|
readonly [x: string]: unknown;
|
|
1639
1522
|
} | undefined;
|
|
1640
1523
|
};
|
|
1524
|
+
} | {
|
|
1525
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1526
|
+
readonly created: number;
|
|
1527
|
+
readonly metadata?: {
|
|
1528
|
+
readonly [x: string]: unknown;
|
|
1529
|
+
} | undefined;
|
|
1530
|
+
readonly type: "session.tool.failed";
|
|
1641
1531
|
readonly durable: {
|
|
1642
1532
|
readonly aggregateID: string;
|
|
1643
1533
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1644
1534
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1645
1535
|
};
|
|
1646
|
-
readonly type: "session.tool.called";
|
|
1647
|
-
readonly created: number;
|
|
1648
1536
|
readonly location?: {
|
|
1649
1537
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1650
1538
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1651
1539
|
} | undefined;
|
|
1652
|
-
readonly metadata?: {
|
|
1653
|
-
readonly [x: string]: unknown;
|
|
1654
|
-
} | undefined;
|
|
1655
|
-
} | {
|
|
1656
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1657
1540
|
readonly data: {
|
|
1658
|
-
readonly metadata: {
|
|
1659
|
-
readonly [x: string]: Schema.Json;
|
|
1660
|
-
};
|
|
1661
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1662
|
-
readonly id: string;
|
|
1663
1541
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1664
|
-
|
|
1665
|
-
readonly type: "session.tool.progress";
|
|
1666
|
-
readonly created: number;
|
|
1667
|
-
readonly location?: {
|
|
1668
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1669
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1670
|
-
} | undefined;
|
|
1671
|
-
readonly metadata?: {
|
|
1672
|
-
readonly [x: string]: unknown;
|
|
1673
|
-
} | undefined;
|
|
1674
|
-
} | {
|
|
1675
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1676
|
-
readonly data: {
|
|
1542
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1677
1543
|
readonly id: string;
|
|
1678
|
-
readonly
|
|
1544
|
+
readonly error: {
|
|
1545
|
+
readonly type: string;
|
|
1546
|
+
readonly message: string;
|
|
1547
|
+
readonly status?: number | undefined;
|
|
1548
|
+
readonly response?: {
|
|
1549
|
+
readonly body: string;
|
|
1550
|
+
} | undefined;
|
|
1551
|
+
};
|
|
1552
|
+
readonly content?: readonly [{
|
|
1679
1553
|
readonly type: "text";
|
|
1680
1554
|
readonly text: string;
|
|
1681
1555
|
} | {
|
|
@@ -1691,50 +1565,80 @@ export declare const make: (options?: {
|
|
|
1691
1565
|
readonly uri: string;
|
|
1692
1566
|
readonly mime: string;
|
|
1693
1567
|
readonly name?: string | undefined;
|
|
1694
|
-
})[]];
|
|
1695
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1696
|
-
readonly executed: boolean;
|
|
1697
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1568
|
+
})[]] | undefined;
|
|
1698
1569
|
readonly metadata?: {
|
|
1699
1570
|
readonly [x: string]: Schema.Json;
|
|
1700
1571
|
} | undefined;
|
|
1701
|
-
readonly
|
|
1572
|
+
readonly executed: boolean;
|
|
1573
|
+
readonly native?: {
|
|
1702
1574
|
readonly [x: string]: unknown;
|
|
1703
1575
|
} | undefined;
|
|
1704
1576
|
};
|
|
1577
|
+
} | {
|
|
1578
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1579
|
+
readonly created: number;
|
|
1580
|
+
readonly metadata?: {
|
|
1581
|
+
readonly [x: string]: unknown;
|
|
1582
|
+
} | undefined;
|
|
1583
|
+
readonly type: "session.tool.input.ended";
|
|
1705
1584
|
readonly durable: {
|
|
1706
1585
|
readonly aggregateID: string;
|
|
1707
1586
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1708
1587
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1709
1588
|
};
|
|
1710
|
-
readonly type: "session.tool.success";
|
|
1711
|
-
readonly created: number;
|
|
1712
1589
|
readonly location?: {
|
|
1713
1590
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1714
1591
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1715
1592
|
} | undefined;
|
|
1593
|
+
readonly data: {
|
|
1594
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1595
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1596
|
+
readonly id: string;
|
|
1597
|
+
readonly text: string;
|
|
1598
|
+
};
|
|
1599
|
+
} | {
|
|
1600
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1601
|
+
readonly created: number;
|
|
1716
1602
|
readonly metadata?: {
|
|
1717
1603
|
readonly [x: string]: unknown;
|
|
1718
1604
|
} | undefined;
|
|
1605
|
+
readonly type: "session.tool.input.started";
|
|
1606
|
+
readonly durable: {
|
|
1607
|
+
readonly aggregateID: string;
|
|
1608
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1609
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1610
|
+
};
|
|
1611
|
+
readonly location?: {
|
|
1612
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1613
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1614
|
+
} | undefined;
|
|
1615
|
+
readonly data: {
|
|
1616
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1617
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1618
|
+
readonly id: string;
|
|
1619
|
+
readonly name: string;
|
|
1620
|
+
};
|
|
1719
1621
|
} | {
|
|
1720
1622
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1623
|
+
readonly created: number;
|
|
1624
|
+
readonly metadata?: {
|
|
1625
|
+
readonly [x: string]: unknown;
|
|
1626
|
+
} | undefined;
|
|
1627
|
+
readonly type: "session.tool.success";
|
|
1628
|
+
readonly durable: {
|
|
1629
|
+
readonly aggregateID: string;
|
|
1630
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1631
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1632
|
+
};
|
|
1633
|
+
readonly location?: {
|
|
1634
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1635
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1636
|
+
} | undefined;
|
|
1721
1637
|
readonly data: {
|
|
1722
|
-
readonly id: string;
|
|
1723
1638
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1724
|
-
readonly error: {
|
|
1725
|
-
readonly type: string;
|
|
1726
|
-
readonly message: string;
|
|
1727
|
-
readonly status?: number | undefined;
|
|
1728
|
-
readonly response?: {
|
|
1729
|
-
readonly body: string;
|
|
1730
|
-
} | undefined;
|
|
1731
|
-
};
|
|
1732
|
-
readonly executed: boolean;
|
|
1733
1639
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1734
|
-
readonly
|
|
1735
|
-
|
|
1736
|
-
} | undefined;
|
|
1737
|
-
readonly content?: readonly [{
|
|
1640
|
+
readonly id: string;
|
|
1641
|
+
readonly content: readonly [{
|
|
1738
1642
|
readonly type: "text";
|
|
1739
1643
|
readonly text: string;
|
|
1740
1644
|
} | {
|
|
@@ -1750,109 +1654,154 @@ export declare const make: (options?: {
|
|
|
1750
1654
|
readonly uri: string;
|
|
1751
1655
|
readonly mime: string;
|
|
1752
1656
|
readonly name?: string | undefined;
|
|
1753
|
-
})[]]
|
|
1754
|
-
readonly
|
|
1657
|
+
})[]];
|
|
1658
|
+
readonly metadata?: {
|
|
1659
|
+
readonly [x: string]: Schema.Json;
|
|
1660
|
+
} | undefined;
|
|
1661
|
+
readonly executed: boolean;
|
|
1662
|
+
readonly native?: {
|
|
1755
1663
|
readonly [x: string]: unknown;
|
|
1756
1664
|
} | undefined;
|
|
1757
1665
|
};
|
|
1666
|
+
} | {
|
|
1667
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1668
|
+
readonly created: number;
|
|
1669
|
+
readonly metadata?: {
|
|
1670
|
+
readonly [x: string]: unknown;
|
|
1671
|
+
} | undefined;
|
|
1672
|
+
readonly type: "session.unarchived";
|
|
1758
1673
|
readonly durable: {
|
|
1759
1674
|
readonly aggregateID: string;
|
|
1760
1675
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1761
1676
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1762
1677
|
};
|
|
1763
|
-
readonly type: "session.tool.failed";
|
|
1764
|
-
readonly created: number;
|
|
1765
1678
|
readonly location?: {
|
|
1766
1679
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1767
1680
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1768
1681
|
} | undefined;
|
|
1769
|
-
readonly metadata?: {
|
|
1770
|
-
readonly [x: string]: unknown;
|
|
1771
|
-
} | undefined;
|
|
1772
|
-
} | {
|
|
1773
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1774
1682
|
readonly data: {
|
|
1775
|
-
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1776
|
-
readonly attempt: number;
|
|
1777
|
-
readonly at: number;
|
|
1778
|
-
readonly error: {
|
|
1779
|
-
readonly type: string;
|
|
1780
|
-
readonly message: string;
|
|
1781
|
-
readonly status?: number | undefined;
|
|
1782
|
-
readonly response?: {
|
|
1783
|
-
readonly body: string;
|
|
1784
|
-
} | undefined;
|
|
1785
|
-
};
|
|
1786
1683
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1787
1684
|
};
|
|
1685
|
+
} | {
|
|
1686
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1687
|
+
readonly created: number;
|
|
1688
|
+
readonly metadata?: {
|
|
1689
|
+
readonly [x: string]: unknown;
|
|
1690
|
+
} | undefined;
|
|
1691
|
+
readonly type: "session.viewed";
|
|
1788
1692
|
readonly durable: {
|
|
1789
1693
|
readonly aggregateID: string;
|
|
1790
1694
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1791
1695
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1792
1696
|
};
|
|
1793
|
-
readonly type: "session.retry.scheduled";
|
|
1794
|
-
readonly created: number;
|
|
1795
1697
|
readonly location?: {
|
|
1796
1698
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1797
1699
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1798
1700
|
} | undefined;
|
|
1701
|
+
readonly data: {
|
|
1702
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1703
|
+
readonly idle: number;
|
|
1704
|
+
};
|
|
1705
|
+
} | {
|
|
1706
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1707
|
+
readonly created: number;
|
|
1799
1708
|
readonly metadata?: {
|
|
1800
1709
|
readonly [x: string]: unknown;
|
|
1801
1710
|
} | undefined;
|
|
1802
|
-
|
|
1803
|
-
readonly
|
|
1711
|
+
readonly type: "session.compaction.delta";
|
|
1712
|
+
readonly location?: {
|
|
1713
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1714
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1715
|
+
} | undefined;
|
|
1804
1716
|
readonly data: {
|
|
1805
1717
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1806
|
-
readonly
|
|
1807
|
-
readonly recent: string;
|
|
1808
|
-
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
1809
|
-
};
|
|
1810
|
-
readonly durable: {
|
|
1811
|
-
readonly aggregateID: string;
|
|
1812
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1813
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1718
|
+
readonly text: string;
|
|
1814
1719
|
};
|
|
1815
|
-
|
|
1720
|
+
} | {
|
|
1721
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1816
1722
|
readonly created: number;
|
|
1723
|
+
readonly metadata?: {
|
|
1724
|
+
readonly [x: string]: unknown;
|
|
1725
|
+
} | undefined;
|
|
1726
|
+
readonly type: "session.reasoning.delta";
|
|
1817
1727
|
readonly location?: {
|
|
1818
1728
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1819
1729
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1820
1730
|
} | undefined;
|
|
1731
|
+
readonly data: {
|
|
1732
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1733
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1734
|
+
readonly ordinal: number;
|
|
1735
|
+
readonly delta: string;
|
|
1736
|
+
};
|
|
1737
|
+
} | {
|
|
1738
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1739
|
+
readonly created: number;
|
|
1821
1740
|
readonly metadata?: {
|
|
1822
1741
|
readonly [x: string]: unknown;
|
|
1823
1742
|
} | undefined;
|
|
1824
|
-
|
|
1825
|
-
readonly
|
|
1743
|
+
readonly type: "session.text.delta";
|
|
1744
|
+
readonly location?: {
|
|
1745
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1746
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1747
|
+
} | undefined;
|
|
1826
1748
|
readonly data: {
|
|
1827
|
-
readonly text: string;
|
|
1828
1749
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1750
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1751
|
+
readonly ordinal: number;
|
|
1752
|
+
readonly delta: string;
|
|
1829
1753
|
};
|
|
1830
|
-
|
|
1754
|
+
} | {
|
|
1755
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1831
1756
|
readonly created: number;
|
|
1757
|
+
readonly metadata?: {
|
|
1758
|
+
readonly [x: string]: unknown;
|
|
1759
|
+
} | undefined;
|
|
1760
|
+
readonly type: "session.tool.input.delta";
|
|
1832
1761
|
readonly location?: {
|
|
1833
1762
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1834
1763
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1835
1764
|
} | undefined;
|
|
1765
|
+
readonly data: {
|
|
1766
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1767
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1768
|
+
readonly id: string;
|
|
1769
|
+
readonly delta: string;
|
|
1770
|
+
};
|
|
1771
|
+
} | {
|
|
1772
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1773
|
+
readonly created: number;
|
|
1836
1774
|
readonly metadata?: {
|
|
1837
1775
|
readonly [x: string]: unknown;
|
|
1838
1776
|
} | undefined;
|
|
1777
|
+
readonly type: "session.tool.progress";
|
|
1778
|
+
readonly location?: {
|
|
1779
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1780
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1781
|
+
} | undefined;
|
|
1782
|
+
readonly data: {
|
|
1783
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1784
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1785
|
+
readonly id: string;
|
|
1786
|
+
readonly metadata: {
|
|
1787
|
+
readonly [x: string]: Schema.Json;
|
|
1788
|
+
};
|
|
1789
|
+
};
|
|
1839
1790
|
} | {
|
|
1840
1791
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1792
|
+
readonly created: number;
|
|
1793
|
+
readonly metadata?: {
|
|
1794
|
+
readonly [x: string]: unknown;
|
|
1795
|
+
} | undefined;
|
|
1796
|
+
readonly type: "session.usage.updated";
|
|
1797
|
+
readonly location?: {
|
|
1798
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1799
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1800
|
+
} | undefined;
|
|
1841
1801
|
readonly data: {
|
|
1842
1802
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1843
|
-
readonly
|
|
1844
|
-
readonly
|
|
1845
|
-
readonly recent: string;
|
|
1846
|
-
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
1847
|
-
readonly model?: {
|
|
1848
|
-
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1849
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1850
|
-
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1851
|
-
} | undefined;
|
|
1852
|
-
readonly providerState?: {
|
|
1853
|
-
readonly [x: string]: unknown;
|
|
1854
|
-
} | undefined;
|
|
1855
|
-
readonly tokens?: {
|
|
1803
|
+
readonly cost: number & import("effect/Brand").Brand<"Money.USD">;
|
|
1804
|
+
readonly tokens: {
|
|
1856
1805
|
readonly input: number;
|
|
1857
1806
|
readonly output: number;
|
|
1858
1807
|
readonly reasoning: number;
|
|
@@ -1860,673 +1809,749 @@ export declare const make: (options?: {
|
|
|
1860
1809
|
readonly read: number;
|
|
1861
1810
|
readonly write: number;
|
|
1862
1811
|
};
|
|
1863
|
-
}
|
|
1864
|
-
readonly providerContext?: {
|
|
1865
|
-
readonly version: 1;
|
|
1866
|
-
readonly provenance: {
|
|
1867
|
-
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1868
|
-
readonly provider: string;
|
|
1869
|
-
readonly modelID: string;
|
|
1870
|
-
readonly route: string;
|
|
1871
|
-
readonly protocol: string;
|
|
1872
|
-
readonly endpoint: string;
|
|
1873
|
-
};
|
|
1874
|
-
readonly messages: Schema.Json;
|
|
1875
|
-
} | undefined;
|
|
1876
|
-
};
|
|
1877
|
-
readonly durable: {
|
|
1878
|
-
readonly aggregateID: string;
|
|
1879
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1880
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1812
|
+
};
|
|
1881
1813
|
};
|
|
1882
|
-
|
|
1814
|
+
} | {
|
|
1815
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1883
1816
|
readonly created: number;
|
|
1817
|
+
readonly metadata?: {
|
|
1818
|
+
readonly [x: string]: unknown;
|
|
1819
|
+
} | undefined;
|
|
1820
|
+
readonly type: "websearch.updated";
|
|
1884
1821
|
readonly location?: {
|
|
1885
1822
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1886
1823
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1887
1824
|
} | undefined;
|
|
1825
|
+
readonly data: {};
|
|
1826
|
+
} | {
|
|
1827
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1828
|
+
readonly created: number;
|
|
1888
1829
|
readonly metadata?: {
|
|
1889
1830
|
readonly [x: string]: unknown;
|
|
1890
1831
|
} | undefined;
|
|
1891
|
-
|
|
1892
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1893
|
-
readonly data: {
|
|
1894
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1895
|
-
readonly error: {
|
|
1896
|
-
readonly type: string;
|
|
1897
|
-
readonly message: string;
|
|
1898
|
-
readonly status?: number | undefined;
|
|
1899
|
-
readonly response?: {
|
|
1900
|
-
readonly body: string;
|
|
1901
|
-
} | undefined;
|
|
1902
|
-
};
|
|
1903
|
-
readonly reason: "auto" | "manual";
|
|
1904
|
-
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
1905
|
-
readonly tokens?: {
|
|
1906
|
-
readonly input: number;
|
|
1907
|
-
readonly output: number;
|
|
1908
|
-
readonly reasoning: number;
|
|
1909
|
-
readonly cache: {
|
|
1910
|
-
readonly read: number;
|
|
1911
|
-
readonly write: number;
|
|
1912
|
-
};
|
|
1913
|
-
} | undefined;
|
|
1914
|
-
readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
1915
|
-
};
|
|
1832
|
+
readonly type: "worktree.resolved";
|
|
1916
1833
|
readonly durable: {
|
|
1917
1834
|
readonly aggregateID: string;
|
|
1918
1835
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1919
1836
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1920
1837
|
};
|
|
1921
|
-
readonly type: "session.compaction.failed";
|
|
1922
|
-
readonly created: number;
|
|
1923
1838
|
readonly location?: {
|
|
1924
1839
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1925
1840
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1926
1841
|
} | undefined;
|
|
1842
|
+
readonly data: {
|
|
1843
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1844
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1845
|
+
readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1846
|
+
readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
|
|
1847
|
+
};
|
|
1848
|
+
} | {
|
|
1849
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1850
|
+
readonly created: number;
|
|
1927
1851
|
readonly metadata?: {
|
|
1928
1852
|
readonly [x: string]: unknown;
|
|
1929
1853
|
} | undefined;
|
|
1854
|
+
readonly type: "worktree.updated";
|
|
1855
|
+
readonly location?: {
|
|
1856
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1857
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1858
|
+
} | undefined;
|
|
1859
|
+
readonly data: {
|
|
1860
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1861
|
+
};
|
|
1930
1862
|
} | {
|
|
1931
1863
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1864
|
+
readonly created: number;
|
|
1865
|
+
readonly metadata?: {
|
|
1866
|
+
readonly [x: string]: unknown;
|
|
1867
|
+
} | undefined;
|
|
1868
|
+
readonly type: "pty.created";
|
|
1869
|
+
readonly location?: {
|
|
1870
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1871
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1872
|
+
} | undefined;
|
|
1932
1873
|
readonly data: {
|
|
1933
|
-
readonly
|
|
1934
|
-
readonly
|
|
1935
|
-
readonly
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
1943
|
-
readonly partID?: string | undefined;
|
|
1874
|
+
readonly info: {
|
|
1875
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
1876
|
+
readonly title: string;
|
|
1877
|
+
readonly command: string;
|
|
1878
|
+
readonly args: readonly string[];
|
|
1879
|
+
readonly cwd: string;
|
|
1880
|
+
readonly status: "exited" | "running";
|
|
1881
|
+
readonly pid: number;
|
|
1882
|
+
readonly exitCode?: number | undefined;
|
|
1944
1883
|
};
|
|
1945
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1946
|
-
};
|
|
1947
|
-
readonly durable: {
|
|
1948
|
-
readonly aggregateID: string;
|
|
1949
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1950
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1951
1884
|
};
|
|
1952
|
-
|
|
1885
|
+
} | {
|
|
1886
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1953
1887
|
readonly created: number;
|
|
1888
|
+
readonly metadata?: {
|
|
1889
|
+
readonly [x: string]: unknown;
|
|
1890
|
+
} | undefined;
|
|
1891
|
+
readonly type: "pty.deleted";
|
|
1954
1892
|
readonly location?: {
|
|
1955
1893
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1956
1894
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1957
1895
|
} | undefined;
|
|
1896
|
+
readonly data: {
|
|
1897
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
1898
|
+
};
|
|
1899
|
+
} | {
|
|
1900
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1901
|
+
readonly created: number;
|
|
1958
1902
|
readonly metadata?: {
|
|
1959
1903
|
readonly [x: string]: unknown;
|
|
1960
1904
|
} | undefined;
|
|
1905
|
+
readonly type: "pty.exited";
|
|
1906
|
+
readonly location?: {
|
|
1907
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1908
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1909
|
+
} | undefined;
|
|
1910
|
+
readonly data: {
|
|
1911
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
1912
|
+
readonly exitCode: number;
|
|
1913
|
+
};
|
|
1961
1914
|
} | {
|
|
1962
1915
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1916
|
+
readonly created: number;
|
|
1917
|
+
readonly metadata?: {
|
|
1918
|
+
readonly [x: string]: unknown;
|
|
1919
|
+
} | undefined;
|
|
1920
|
+
readonly type: "pty.updated";
|
|
1921
|
+
readonly location?: {
|
|
1922
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1923
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1924
|
+
} | undefined;
|
|
1963
1925
|
readonly data: {
|
|
1964
|
-
readonly
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1926
|
+
readonly info: {
|
|
1927
|
+
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
1928
|
+
readonly title: string;
|
|
1929
|
+
readonly command: string;
|
|
1930
|
+
readonly args: readonly string[];
|
|
1931
|
+
readonly cwd: string;
|
|
1932
|
+
readonly status: "exited" | "running";
|
|
1933
|
+
readonly pid: number;
|
|
1934
|
+
readonly exitCode?: number | undefined;
|
|
1935
|
+
};
|
|
1970
1936
|
};
|
|
1971
|
-
|
|
1937
|
+
} | {
|
|
1938
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1972
1939
|
readonly created: number;
|
|
1973
|
-
readonly location?: {
|
|
1974
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1975
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1976
|
-
} | undefined;
|
|
1977
1940
|
readonly metadata?: {
|
|
1978
1941
|
readonly [x: string]: unknown;
|
|
1979
1942
|
} | undefined;
|
|
1980
|
-
|
|
1981
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
1982
|
-
readonly data: {
|
|
1983
|
-
readonly to: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1984
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1985
|
-
};
|
|
1986
|
-
readonly durable: {
|
|
1987
|
-
readonly aggregateID: string;
|
|
1988
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
1989
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
1990
|
-
};
|
|
1991
|
-
readonly type: "session.revert.committed";
|
|
1992
|
-
readonly created: number;
|
|
1943
|
+
readonly type: "location.shutdown";
|
|
1993
1944
|
readonly location?: {
|
|
1994
1945
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
1995
1946
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1996
1947
|
} | undefined;
|
|
1997
|
-
readonly
|
|
1998
|
-
readonly [x: string]: unknown;
|
|
1999
|
-
} | undefined;
|
|
1948
|
+
readonly data: {};
|
|
2000
1949
|
} | {
|
|
2001
1950
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2002
|
-
readonly data: {
|
|
2003
|
-
readonly file: string;
|
|
2004
|
-
readonly event: "add" | "change" | "unlink";
|
|
2005
|
-
};
|
|
2006
|
-
readonly type: "filesystem.changed";
|
|
2007
1951
|
readonly created: number;
|
|
1952
|
+
readonly metadata?: {
|
|
1953
|
+
readonly [x: string]: unknown;
|
|
1954
|
+
} | undefined;
|
|
1955
|
+
readonly type: "models-dev.refreshed";
|
|
2008
1956
|
readonly location?: {
|
|
2009
1957
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2010
1958
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2011
1959
|
} | undefined;
|
|
2012
|
-
readonly
|
|
2013
|
-
readonly [x: string]: unknown;
|
|
2014
|
-
} | undefined;
|
|
1960
|
+
readonly data: {};
|
|
2015
1961
|
} | {
|
|
2016
1962
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2017
|
-
readonly data: {};
|
|
2018
|
-
readonly type: "command.updated";
|
|
2019
1963
|
readonly created: number;
|
|
1964
|
+
readonly metadata?: {
|
|
1965
|
+
readonly [x: string]: unknown;
|
|
1966
|
+
} | undefined;
|
|
1967
|
+
readonly type: "credential.switched";
|
|
2020
1968
|
readonly location?: {
|
|
2021
1969
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2022
1970
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2023
1971
|
} | undefined;
|
|
2024
|
-
readonly
|
|
2025
|
-
readonly
|
|
2026
|
-
|
|
1972
|
+
readonly data: {
|
|
1973
|
+
readonly integrationID: string & import("effect/Brand").Brand<"Integration.ID">;
|
|
1974
|
+
readonly credentialID: (string & import("effect/Brand").Brand<"Credential.ID">) | null;
|
|
1975
|
+
};
|
|
2027
1976
|
} | {
|
|
2028
1977
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2029
|
-
readonly data: {};
|
|
2030
|
-
readonly type: "websearch.updated";
|
|
2031
1978
|
readonly created: number;
|
|
1979
|
+
readonly metadata?: {
|
|
1980
|
+
readonly [x: string]: unknown;
|
|
1981
|
+
} | undefined;
|
|
1982
|
+
readonly type: "credential.updated";
|
|
2032
1983
|
readonly location?: {
|
|
2033
1984
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2034
1985
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2035
1986
|
} | undefined;
|
|
2036
|
-
readonly
|
|
2037
|
-
readonly [x: string]: unknown;
|
|
2038
|
-
} | undefined;
|
|
1987
|
+
readonly data: {};
|
|
2039
1988
|
} | {
|
|
2040
1989
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2041
|
-
readonly data: {};
|
|
2042
|
-
readonly type: "config.updated";
|
|
2043
1990
|
readonly created: number;
|
|
1991
|
+
readonly metadata?: {
|
|
1992
|
+
readonly [x: string]: unknown;
|
|
1993
|
+
} | undefined;
|
|
1994
|
+
readonly type: "integration.updated";
|
|
2044
1995
|
readonly location?: {
|
|
2045
1996
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2046
1997
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2047
1998
|
} | undefined;
|
|
2048
|
-
readonly
|
|
2049
|
-
readonly [x: string]: unknown;
|
|
2050
|
-
} | undefined;
|
|
1999
|
+
readonly data: {};
|
|
2051
2000
|
} | {
|
|
2052
2001
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2053
|
-
readonly data: {
|
|
2054
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
2055
|
-
};
|
|
2056
|
-
readonly type: "worktree.updated";
|
|
2057
2002
|
readonly created: number;
|
|
2003
|
+
readonly metadata?: {
|
|
2004
|
+
readonly [x: string]: unknown;
|
|
2005
|
+
} | undefined;
|
|
2006
|
+
readonly type: "provider.updated";
|
|
2058
2007
|
readonly location?: {
|
|
2059
2008
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2060
2009
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2061
2010
|
} | undefined;
|
|
2062
|
-
readonly
|
|
2063
|
-
readonly [x: string]: unknown;
|
|
2064
|
-
} | undefined;
|
|
2011
|
+
readonly data: {};
|
|
2065
2012
|
} | {
|
|
2066
2013
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2067
|
-
readonly data: {
|
|
2068
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2069
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
2070
|
-
readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
|
|
2071
|
-
readonly adopted?: readonly (string & import("effect/Brand").Brand<"Project.ID">)[] | undefined;
|
|
2072
|
-
};
|
|
2073
|
-
readonly durable: {
|
|
2074
|
-
readonly aggregateID: string;
|
|
2075
|
-
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
2076
|
-
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
2077
|
-
};
|
|
2078
|
-
readonly type: "worktree.resolved";
|
|
2079
2014
|
readonly created: number;
|
|
2015
|
+
readonly metadata?: {
|
|
2016
|
+
readonly [x: string]: unknown;
|
|
2017
|
+
} | undefined;
|
|
2018
|
+
readonly type: "model.updated";
|
|
2080
2019
|
readonly location?: {
|
|
2081
2020
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2082
2021
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2083
2022
|
} | undefined;
|
|
2084
|
-
readonly
|
|
2085
|
-
readonly [x: string]: unknown;
|
|
2086
|
-
} | undefined;
|
|
2023
|
+
readonly data: {};
|
|
2087
2024
|
} | {
|
|
2088
2025
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2089
|
-
readonly data: {
|
|
2090
|
-
readonly version: string;
|
|
2091
|
-
};
|
|
2092
|
-
readonly type: "installation.updated";
|
|
2093
2026
|
readonly created: number;
|
|
2027
|
+
readonly metadata?: {
|
|
2028
|
+
readonly [x: string]: unknown;
|
|
2029
|
+
} | undefined;
|
|
2030
|
+
readonly type: "filesystem.changed";
|
|
2094
2031
|
readonly location?: {
|
|
2095
2032
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2096
2033
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2097
2034
|
} | undefined;
|
|
2098
|
-
readonly metadata?: {
|
|
2099
|
-
readonly [x: string]: unknown;
|
|
2100
|
-
} | undefined;
|
|
2101
|
-
} | {
|
|
2102
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2103
2035
|
readonly data: {
|
|
2104
|
-
readonly
|
|
2036
|
+
readonly file: string;
|
|
2037
|
+
readonly event: "add" | "change" | "unlink";
|
|
2105
2038
|
};
|
|
2106
|
-
|
|
2039
|
+
} | {
|
|
2040
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2107
2041
|
readonly created: number;
|
|
2042
|
+
readonly metadata?: {
|
|
2043
|
+
readonly [x: string]: unknown;
|
|
2044
|
+
} | undefined;
|
|
2045
|
+
readonly type: "reference.updated";
|
|
2108
2046
|
readonly location?: {
|
|
2109
2047
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2110
2048
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2111
2049
|
} | undefined;
|
|
2112
|
-
readonly
|
|
2113
|
-
readonly [x: string]: unknown;
|
|
2114
|
-
} | undefined;
|
|
2050
|
+
readonly data: {};
|
|
2115
2051
|
} | {
|
|
2116
2052
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2117
|
-
readonly data: {};
|
|
2118
|
-
readonly type: "location.shutdown";
|
|
2119
2053
|
readonly created: number;
|
|
2054
|
+
readonly metadata?: {
|
|
2055
|
+
readonly [x: string]: unknown;
|
|
2056
|
+
} | undefined;
|
|
2057
|
+
readonly type: "permission.asked";
|
|
2120
2058
|
readonly location?: {
|
|
2121
2059
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2122
2060
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2123
2061
|
} | undefined;
|
|
2124
|
-
readonly metadata?: {
|
|
2125
|
-
readonly [x: string]: unknown;
|
|
2126
|
-
} | undefined;
|
|
2127
|
-
} | {
|
|
2128
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2129
2062
|
readonly data: {
|
|
2130
|
-
readonly
|
|
2063
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2064
|
+
readonly action: string;
|
|
2065
|
+
readonly resources: readonly string[];
|
|
2066
|
+
readonly save?: readonly string[] | undefined;
|
|
2067
|
+
readonly metadata?: {
|
|
2068
|
+
readonly [x: string]: unknown;
|
|
2069
|
+
} | undefined;
|
|
2070
|
+
readonly source?: {
|
|
2071
|
+
readonly type: "tool";
|
|
2072
|
+
readonly messageID: string;
|
|
2073
|
+
readonly id: string;
|
|
2074
|
+
} | undefined;
|
|
2075
|
+
readonly message?: string | undefined;
|
|
2076
|
+
readonly id: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
2131
2077
|
};
|
|
2132
|
-
|
|
2078
|
+
} | {
|
|
2079
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2133
2080
|
readonly created: number;
|
|
2081
|
+
readonly metadata?: {
|
|
2082
|
+
readonly [x: string]: unknown;
|
|
2083
|
+
} | undefined;
|
|
2084
|
+
readonly type: "permission.replied";
|
|
2134
2085
|
readonly location?: {
|
|
2135
2086
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2136
2087
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2137
2088
|
} | undefined;
|
|
2138
|
-
readonly metadata?: {
|
|
2139
|
-
readonly [x: string]: unknown;
|
|
2140
|
-
} | undefined;
|
|
2141
|
-
} | {
|
|
2142
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2143
2089
|
readonly data: {
|
|
2144
|
-
readonly
|
|
2090
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2091
|
+
readonly requestID: string & import("effect/Brand").Brand<"Permission.ID">;
|
|
2092
|
+
readonly reply: "always" | "once" | "reject";
|
|
2145
2093
|
};
|
|
2146
|
-
|
|
2094
|
+
} | {
|
|
2095
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2147
2096
|
readonly created: number;
|
|
2097
|
+
readonly metadata?: {
|
|
2098
|
+
readonly [x: string]: unknown;
|
|
2099
|
+
} | undefined;
|
|
2100
|
+
readonly type: "plugin.updated";
|
|
2148
2101
|
readonly location?: {
|
|
2149
2102
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2150
2103
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2151
2104
|
} | undefined;
|
|
2152
|
-
readonly
|
|
2153
|
-
readonly [x: string]: unknown;
|
|
2154
|
-
} | undefined;
|
|
2105
|
+
readonly data: {};
|
|
2155
2106
|
} | {
|
|
2156
2107
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2157
|
-
readonly data: {};
|
|
2158
|
-
readonly type: "models-dev.refreshed";
|
|
2159
2108
|
readonly created: number;
|
|
2109
|
+
readonly metadata?: {
|
|
2110
|
+
readonly [x: string]: unknown;
|
|
2111
|
+
} | undefined;
|
|
2112
|
+
readonly type: "project.updated";
|
|
2160
2113
|
readonly location?: {
|
|
2161
2114
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2162
2115
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2163
2116
|
} | undefined;
|
|
2164
|
-
readonly metadata?: {
|
|
2165
|
-
readonly [x: string]: unknown;
|
|
2166
|
-
} | undefined;
|
|
2167
|
-
} | {
|
|
2168
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2169
2117
|
readonly data: {
|
|
2170
|
-
readonly
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
readonly
|
|
2176
|
-
readonly
|
|
2177
|
-
readonly
|
|
2178
|
-
|
|
2118
|
+
readonly id: string & import("effect/Brand").Brand<"Project.ID">;
|
|
2119
|
+
readonly canonical: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2120
|
+
readonly vcs?: string | undefined;
|
|
2121
|
+
readonly name?: string | undefined;
|
|
2122
|
+
readonly icon?: {
|
|
2123
|
+
readonly url?: string | undefined;
|
|
2124
|
+
readonly override?: string | undefined;
|
|
2125
|
+
readonly color?: string | undefined;
|
|
2126
|
+
} | undefined;
|
|
2127
|
+
readonly commands?: {
|
|
2128
|
+
readonly start?: string | undefined;
|
|
2129
|
+
} | undefined;
|
|
2130
|
+
readonly time: {
|
|
2131
|
+
readonly created: number;
|
|
2132
|
+
readonly updated: number;
|
|
2133
|
+
readonly active: number;
|
|
2134
|
+
readonly archived?: number | undefined;
|
|
2179
2135
|
};
|
|
2136
|
+
readonly sandboxes: readonly string[];
|
|
2180
2137
|
};
|
|
2181
|
-
|
|
2138
|
+
} | {
|
|
2139
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2182
2140
|
readonly created: number;
|
|
2141
|
+
readonly metadata?: {
|
|
2142
|
+
readonly [x: string]: unknown;
|
|
2143
|
+
} | undefined;
|
|
2144
|
+
readonly type: "command.updated";
|
|
2183
2145
|
readonly location?: {
|
|
2184
2146
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2185
2147
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2186
2148
|
} | undefined;
|
|
2187
|
-
readonly
|
|
2188
|
-
readonly [x: string]: unknown;
|
|
2189
|
-
} | undefined;
|
|
2149
|
+
readonly data: {};
|
|
2190
2150
|
} | {
|
|
2191
2151
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2192
|
-
readonly data: {
|
|
2193
|
-
readonly info: {
|
|
2194
|
-
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
2195
|
-
readonly command: string;
|
|
2196
|
-
readonly title: string;
|
|
2197
|
-
readonly status: "running" | "exited";
|
|
2198
|
-
readonly pid: number;
|
|
2199
|
-
readonly cwd: string;
|
|
2200
|
-
readonly args: readonly string[];
|
|
2201
|
-
readonly exitCode?: number | undefined;
|
|
2202
|
-
};
|
|
2203
|
-
};
|
|
2204
|
-
readonly type: "pty.updated";
|
|
2205
2152
|
readonly created: number;
|
|
2153
|
+
readonly metadata?: {
|
|
2154
|
+
readonly [x: string]: unknown;
|
|
2155
|
+
} | undefined;
|
|
2156
|
+
readonly type: "config.updated";
|
|
2206
2157
|
readonly location?: {
|
|
2207
2158
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2208
2159
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2209
2160
|
} | undefined;
|
|
2210
|
-
readonly
|
|
2211
|
-
readonly [x: string]: unknown;
|
|
2212
|
-
} | undefined;
|
|
2161
|
+
readonly data: {};
|
|
2213
2162
|
} | {
|
|
2214
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2215
|
-
readonly data: {
|
|
2216
|
-
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
2217
|
-
readonly exitCode: number;
|
|
2218
|
-
};
|
|
2219
|
-
readonly type: "pty.exited";
|
|
2163
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2220
2164
|
readonly created: number;
|
|
2165
|
+
readonly metadata?: {
|
|
2166
|
+
readonly [x: string]: unknown;
|
|
2167
|
+
} | undefined;
|
|
2168
|
+
readonly type: "skill.updated";
|
|
2221
2169
|
readonly location?: {
|
|
2222
2170
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2223
2171
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2224
2172
|
} | undefined;
|
|
2225
|
-
readonly
|
|
2226
|
-
readonly [x: string]: unknown;
|
|
2227
|
-
} | undefined;
|
|
2173
|
+
readonly data: {};
|
|
2228
2174
|
} | {
|
|
2229
2175
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2230
|
-
readonly data: {
|
|
2231
|
-
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
2232
|
-
};
|
|
2233
|
-
readonly type: "pty.deleted";
|
|
2234
2176
|
readonly created: number;
|
|
2177
|
+
readonly metadata?: {
|
|
2178
|
+
readonly [x: string]: unknown;
|
|
2179
|
+
} | undefined;
|
|
2180
|
+
readonly type: "persistent-pty.added";
|
|
2235
2181
|
readonly location?: {
|
|
2236
2182
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2237
2183
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2238
2184
|
} | undefined;
|
|
2239
|
-
readonly metadata?: {
|
|
2240
|
-
readonly [x: string]: unknown;
|
|
2241
|
-
} | undefined;
|
|
2242
|
-
} | {
|
|
2243
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2244
2185
|
readonly data: {
|
|
2245
2186
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2246
2187
|
readonly terminal: {
|
|
2247
2188
|
readonly id: string & import("effect/Brand").Brand<"PtyID">;
|
|
2189
|
+
readonly title: string;
|
|
2190
|
+
readonly command: string;
|
|
2191
|
+
readonly args: readonly string[];
|
|
2192
|
+
readonly cwd: string;
|
|
2193
|
+
readonly status: "exited" | "running";
|
|
2194
|
+
readonly pid: number;
|
|
2195
|
+
readonly exitCode?: number | undefined;
|
|
2196
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2197
|
+
readonly foregroundProcess: string | null;
|
|
2248
2198
|
readonly size: {
|
|
2249
2199
|
readonly cols: number;
|
|
2250
2200
|
readonly rows: number;
|
|
2251
2201
|
};
|
|
2252
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2253
|
-
readonly command: string;
|
|
2254
|
-
readonly title: string;
|
|
2255
|
-
readonly status: "running" | "exited";
|
|
2256
2202
|
readonly output: {
|
|
2257
2203
|
readonly head: number;
|
|
2258
2204
|
readonly tail: number;
|
|
2259
2205
|
};
|
|
2260
|
-
readonly pid: number;
|
|
2261
|
-
readonly cwd: string;
|
|
2262
|
-
readonly args: readonly string[];
|
|
2263
|
-
readonly foregroundProcess: string | null;
|
|
2264
|
-
readonly exitCode?: number | undefined;
|
|
2265
2206
|
};
|
|
2266
2207
|
};
|
|
2267
|
-
|
|
2208
|
+
} | {
|
|
2209
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2268
2210
|
readonly created: number;
|
|
2211
|
+
readonly metadata?: {
|
|
2212
|
+
readonly [x: string]: unknown;
|
|
2213
|
+
} | undefined;
|
|
2214
|
+
readonly type: "persistent-pty.removed";
|
|
2269
2215
|
readonly location?: {
|
|
2270
2216
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2271
2217
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2272
2218
|
} | undefined;
|
|
2273
|
-
readonly metadata?: {
|
|
2274
|
-
readonly [x: string]: unknown;
|
|
2275
|
-
} | undefined;
|
|
2276
|
-
} | {
|
|
2277
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2278
2219
|
readonly data: {
|
|
2279
2220
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2280
2221
|
readonly ptyID: string & import("effect/Brand").Brand<"PtyID">;
|
|
2281
2222
|
};
|
|
2282
|
-
|
|
2223
|
+
} | {
|
|
2224
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2283
2225
|
readonly created: number;
|
|
2226
|
+
readonly metadata?: {
|
|
2227
|
+
readonly [x: string]: unknown;
|
|
2228
|
+
} | undefined;
|
|
2229
|
+
readonly type: "shell.created";
|
|
2284
2230
|
readonly location?: {
|
|
2285
2231
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2286
2232
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2287
2233
|
} | undefined;
|
|
2288
|
-
readonly
|
|
2289
|
-
readonly
|
|
2290
|
-
|
|
2234
|
+
readonly data: {
|
|
2235
|
+
readonly info: {
|
|
2236
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
2237
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
2238
|
+
readonly command: string;
|
|
2239
|
+
readonly cwd: string;
|
|
2240
|
+
readonly shell: string;
|
|
2241
|
+
readonly file: string;
|
|
2242
|
+
readonly pid?: number | undefined;
|
|
2243
|
+
readonly exit?: number | undefined;
|
|
2244
|
+
readonly signal?: string | undefined;
|
|
2245
|
+
readonly metadata: {
|
|
2246
|
+
readonly [x: string]: unknown;
|
|
2247
|
+
};
|
|
2248
|
+
readonly time: {
|
|
2249
|
+
readonly started: number;
|
|
2250
|
+
readonly completed?: number | undefined;
|
|
2251
|
+
};
|
|
2252
|
+
};
|
|
2253
|
+
};
|
|
2291
2254
|
} | {
|
|
2292
2255
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2293
|
-
readonly data: {};
|
|
2294
|
-
readonly type: "plugin.updated";
|
|
2295
2256
|
readonly created: number;
|
|
2257
|
+
readonly metadata?: {
|
|
2258
|
+
readonly [x: string]: unknown;
|
|
2259
|
+
} | undefined;
|
|
2260
|
+
readonly type: "shell.deleted";
|
|
2296
2261
|
readonly location?: {
|
|
2297
2262
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2298
2263
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2299
2264
|
} | undefined;
|
|
2265
|
+
readonly data: {
|
|
2266
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
2267
|
+
};
|
|
2268
|
+
} | {
|
|
2269
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2270
|
+
readonly created: number;
|
|
2300
2271
|
readonly metadata?: {
|
|
2301
2272
|
readonly [x: string]: unknown;
|
|
2302
2273
|
} | undefined;
|
|
2274
|
+
readonly type: "shell.exited";
|
|
2275
|
+
readonly location?: {
|
|
2276
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2277
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2278
|
+
} | undefined;
|
|
2279
|
+
readonly data: {
|
|
2280
|
+
readonly id: string & import("effect/Brand").Brand<"Shell.ID">;
|
|
2281
|
+
readonly exit?: number | undefined;
|
|
2282
|
+
readonly status: "exited" | "killed" | "running" | "timeout";
|
|
2283
|
+
};
|
|
2303
2284
|
} | {
|
|
2304
2285
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2305
|
-
readonly data: {};
|
|
2306
|
-
readonly type: "reference.updated";
|
|
2307
2286
|
readonly created: number;
|
|
2287
|
+
readonly metadata?: {
|
|
2288
|
+
readonly [x: string]: unknown;
|
|
2289
|
+
} | undefined;
|
|
2290
|
+
readonly type: "session.idle";
|
|
2308
2291
|
readonly location?: {
|
|
2309
2292
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2310
2293
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2311
2294
|
} | undefined;
|
|
2295
|
+
readonly data: {
|
|
2296
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2297
|
+
};
|
|
2298
|
+
} | {
|
|
2299
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2300
|
+
readonly created: number;
|
|
2312
2301
|
readonly metadata?: {
|
|
2313
2302
|
readonly [x: string]: unknown;
|
|
2314
2303
|
} | undefined;
|
|
2315
|
-
|
|
2316
|
-
readonly
|
|
2304
|
+
readonly type: "session.status";
|
|
2305
|
+
readonly location?: {
|
|
2306
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2307
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2308
|
+
} | undefined;
|
|
2317
2309
|
readonly data: {
|
|
2318
2310
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2319
2311
|
readonly status: {
|
|
2320
2312
|
readonly type: "idle";
|
|
2321
2313
|
} | {
|
|
2322
2314
|
readonly type: "retry";
|
|
2323
|
-
readonly message: string;
|
|
2324
2315
|
readonly attempt: number;
|
|
2325
|
-
readonly
|
|
2316
|
+
readonly message: string;
|
|
2326
2317
|
readonly action?: {
|
|
2318
|
+
readonly reason: string;
|
|
2319
|
+
readonly provider: string;
|
|
2320
|
+
readonly title: string;
|
|
2327
2321
|
readonly message: string;
|
|
2328
2322
|
readonly label: string;
|
|
2329
|
-
readonly title: string;
|
|
2330
|
-
readonly provider: string;
|
|
2331
|
-
readonly reason: string;
|
|
2332
2323
|
readonly link?: string | undefined;
|
|
2333
2324
|
} | undefined;
|
|
2325
|
+
readonly next: number;
|
|
2334
2326
|
} | {
|
|
2335
2327
|
readonly type: "busy";
|
|
2336
2328
|
};
|
|
2337
2329
|
};
|
|
2338
|
-
|
|
2330
|
+
} | {
|
|
2331
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2339
2332
|
readonly created: number;
|
|
2333
|
+
readonly metadata?: {
|
|
2334
|
+
readonly [x: string]: unknown;
|
|
2335
|
+
} | undefined;
|
|
2336
|
+
readonly type: "tui.command.execute";
|
|
2340
2337
|
readonly location?: {
|
|
2341
2338
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2342
2339
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2343
2340
|
} | undefined;
|
|
2344
|
-
readonly metadata?: {
|
|
2345
|
-
readonly [x: string]: unknown;
|
|
2346
|
-
} | undefined;
|
|
2347
|
-
} | {
|
|
2348
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2349
2341
|
readonly data: {
|
|
2350
|
-
readonly
|
|
2342
|
+
readonly command: string;
|
|
2351
2343
|
};
|
|
2352
|
-
|
|
2344
|
+
} | {
|
|
2345
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2353
2346
|
readonly created: number;
|
|
2347
|
+
readonly metadata?: {
|
|
2348
|
+
readonly [x: string]: unknown;
|
|
2349
|
+
} | undefined;
|
|
2350
|
+
readonly type: "tui.prompt.append";
|
|
2354
2351
|
readonly location?: {
|
|
2355
2352
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2356
2353
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2357
2354
|
} | undefined;
|
|
2358
|
-
readonly metadata?: {
|
|
2359
|
-
readonly [x: string]: unknown;
|
|
2360
|
-
} | undefined;
|
|
2361
|
-
} | {
|
|
2362
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2363
2355
|
readonly data: {
|
|
2364
2356
|
readonly text: string;
|
|
2365
2357
|
};
|
|
2366
|
-
|
|
2358
|
+
} | {
|
|
2359
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2367
2360
|
readonly created: number;
|
|
2361
|
+
readonly metadata?: {
|
|
2362
|
+
readonly [x: string]: unknown;
|
|
2363
|
+
} | undefined;
|
|
2364
|
+
readonly type: "tui.session.select";
|
|
2368
2365
|
readonly location?: {
|
|
2369
2366
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2370
2367
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2371
2368
|
} | undefined;
|
|
2372
|
-
readonly metadata?: {
|
|
2373
|
-
readonly [x: string]: unknown;
|
|
2374
|
-
} | undefined;
|
|
2375
|
-
} | {
|
|
2376
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2377
2369
|
readonly data: {
|
|
2378
|
-
readonly
|
|
2370
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
2379
2371
|
};
|
|
2380
|
-
|
|
2372
|
+
} | {
|
|
2373
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2381
2374
|
readonly created: number;
|
|
2375
|
+
readonly metadata?: {
|
|
2376
|
+
readonly [x: string]: unknown;
|
|
2377
|
+
} | undefined;
|
|
2378
|
+
readonly type: "tui.toast.show";
|
|
2382
2379
|
readonly location?: {
|
|
2383
2380
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2384
2381
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2385
2382
|
} | undefined;
|
|
2386
|
-
readonly metadata?: {
|
|
2387
|
-
readonly [x: string]: unknown;
|
|
2388
|
-
} | undefined;
|
|
2389
|
-
} | {
|
|
2390
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2391
2383
|
readonly data: {
|
|
2384
|
+
readonly title?: string | undefined;
|
|
2392
2385
|
readonly message: string;
|
|
2393
2386
|
readonly variant: "error" | "info" | "success" | "warning";
|
|
2394
2387
|
readonly duration: number;
|
|
2395
|
-
readonly title?: string | undefined;
|
|
2396
2388
|
};
|
|
2397
|
-
|
|
2389
|
+
} | {
|
|
2390
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2398
2391
|
readonly created: number;
|
|
2392
|
+
readonly metadata?: {
|
|
2393
|
+
readonly [x: string]: unknown;
|
|
2394
|
+
} | undefined;
|
|
2395
|
+
readonly type: "installation.update-available";
|
|
2399
2396
|
readonly location?: {
|
|
2400
2397
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2401
2398
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2402
2399
|
} | undefined;
|
|
2403
|
-
readonly metadata?: {
|
|
2404
|
-
readonly [x: string]: unknown;
|
|
2405
|
-
} | undefined;
|
|
2406
|
-
} | {
|
|
2407
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2408
2400
|
readonly data: {
|
|
2409
|
-
readonly
|
|
2401
|
+
readonly version: string;
|
|
2410
2402
|
};
|
|
2411
|
-
|
|
2403
|
+
} | {
|
|
2404
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2412
2405
|
readonly created: number;
|
|
2406
|
+
readonly metadata?: {
|
|
2407
|
+
readonly [x: string]: unknown;
|
|
2408
|
+
} | undefined;
|
|
2409
|
+
readonly type: "installation.updated";
|
|
2413
2410
|
readonly location?: {
|
|
2414
2411
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2415
2412
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2416
2413
|
} | undefined;
|
|
2414
|
+
readonly data: {
|
|
2415
|
+
readonly version: string;
|
|
2416
|
+
};
|
|
2417
|
+
} | {
|
|
2418
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2419
|
+
readonly created: number;
|
|
2417
2420
|
readonly metadata?: {
|
|
2418
2421
|
readonly [x: string]: unknown;
|
|
2419
2422
|
} | undefined;
|
|
2420
|
-
|
|
2421
|
-
readonly
|
|
2423
|
+
readonly type: "vcs.branch.updated";
|
|
2424
|
+
readonly location?: {
|
|
2425
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2426
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2427
|
+
} | undefined;
|
|
2422
2428
|
readonly data: {
|
|
2423
2429
|
readonly branch?: string | undefined;
|
|
2424
2430
|
};
|
|
2425
|
-
|
|
2431
|
+
} | {
|
|
2432
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2426
2433
|
readonly created: number;
|
|
2434
|
+
readonly metadata?: {
|
|
2435
|
+
readonly [x: string]: unknown;
|
|
2436
|
+
} | undefined;
|
|
2437
|
+
readonly type: "mcp.resources.changed";
|
|
2427
2438
|
readonly location?: {
|
|
2428
2439
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2429
2440
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2430
2441
|
} | undefined;
|
|
2442
|
+
readonly data: {
|
|
2443
|
+
readonly server: string;
|
|
2444
|
+
};
|
|
2445
|
+
} | {
|
|
2446
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2447
|
+
readonly created: number;
|
|
2431
2448
|
readonly metadata?: {
|
|
2432
2449
|
readonly [x: string]: unknown;
|
|
2433
2450
|
} | undefined;
|
|
2451
|
+
readonly type: "mcp.status.changed";
|
|
2452
|
+
readonly location?: {
|
|
2453
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2454
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
2455
|
+
} | undefined;
|
|
2456
|
+
readonly data: {
|
|
2457
|
+
readonly server: string;
|
|
2458
|
+
};
|
|
2434
2459
|
} | {
|
|
2435
2460
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2461
|
+
readonly created: number;
|
|
2462
|
+
readonly metadata?: {
|
|
2463
|
+
readonly [x: string]: unknown;
|
|
2464
|
+
} | undefined;
|
|
2465
|
+
readonly type: `rpc.${string}`;
|
|
2436
2466
|
readonly location: {
|
|
2437
2467
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2438
2468
|
};
|
|
2439
2469
|
readonly data: {
|
|
2440
2470
|
readonly [x: string]: unknown;
|
|
2441
2471
|
};
|
|
2442
|
-
|
|
2443
|
-
readonly
|
|
2472
|
+
} | {
|
|
2473
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2444
2474
|
readonly metadata?: {
|
|
2445
2475
|
readonly [x: string]: unknown;
|
|
2446
2476
|
} | undefined;
|
|
2447
|
-
} | {
|
|
2448
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
2449
|
-
readonly data: {};
|
|
2450
|
-
readonly type: "server.connected";
|
|
2451
2477
|
readonly location?: {
|
|
2452
2478
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2453
2479
|
} | undefined;
|
|
2454
|
-
readonly
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
}, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError | Sse.Retry | Sse.SseError, never>;
|
|
2480
|
+
readonly type: "server.connected";
|
|
2481
|
+
readonly data: {};
|
|
2482
|
+
}, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Sse.Retry | Schema.SchemaError | Sse.SseError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2458
2483
|
};
|
|
2459
2484
|
pty: {
|
|
2460
|
-
list: (input?: PtyListInput) => Effect.Effect<PtyListOutput, import("@opencode/protocol/errors").
|
|
2461
|
-
create: (input?: PtyCreateInput) => Effect.Effect<PtyCreateOutput, import("@opencode/protocol/errors").
|
|
2462
|
-
get: (input: PtyGetInput) => Effect.Effect<PtyGetOutput,
|
|
2463
|
-
update: (input: PtyUpdateInput) => Effect.Effect<PtyUpdateOutput,
|
|
2464
|
-
remove: (input: PtyRemoveInput) => Effect.Effect<void,
|
|
2485
|
+
list: (input?: PtyListInput) => Effect.Effect<PtyListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2486
|
+
create: (input?: PtyCreateInput) => Effect.Effect<PtyCreateOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2487
|
+
get: (input: PtyGetInput) => Effect.Effect<PtyGetOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").PtyNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2488
|
+
update: (input: PtyUpdateInput) => Effect.Effect<PtyUpdateOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").PtyNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2489
|
+
remove: (input: PtyRemoveInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").PtyNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2465
2490
|
connect: {
|
|
2466
|
-
token: (input: PtyConnectTokenInput) => Effect.Effect<PtyConnectTokenOutput, import("@opencode/protocol/errors").
|
|
2491
|
+
token: (input: PtyConnectTokenInput) => Effect.Effect<PtyConnectTokenOutput, ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").PtyNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2467
2492
|
};
|
|
2468
2493
|
};
|
|
2469
2494
|
experimental: {
|
|
2470
2495
|
persistentPty: {
|
|
2471
|
-
read: (input: ExperimentalPersistentPtyReadInput) => Effect.Effect<ExperimentalPersistentPtyReadOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
2472
|
-
list: (input: ExperimentalPersistentPtyListInput) => Effect.Effect<ExperimentalPersistentPtyListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
2473
|
-
create: (input: ExperimentalPersistentPtyCreateInput) => Effect.Effect<ExperimentalPersistentPtyCreateOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
2474
|
-
shutdown: () => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
2475
|
-
handoff: () => Effect.Effect<ExperimentalPersistentPtyHandoffOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
2476
|
-
get: (input: ExperimentalPersistentPtyGetInput) => Effect.Effect<ExperimentalPersistentPtyGetOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
2477
|
-
update: (input: ExperimentalPersistentPtyUpdateInput) => Effect.Effect<ExperimentalPersistentPtyUpdateOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
2478
|
-
snapshot: (input: ExperimentalPersistentPtySnapshotInput) => Effect.Effect<ExperimentalPersistentPtySnapshotOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
2479
|
-
remove: (input: ExperimentalPersistentPtyRemoveInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
2480
|
-
connectToken: (input: ExperimentalPersistentPtyConnectTokenInput) => Effect.Effect<import("@opencode/schema/pty-ticket").ConnectToken, import("@opencode/protocol/errors").
|
|
2496
|
+
read: (input: ExperimentalPersistentPtyReadInput) => Effect.Effect<ExperimentalPersistentPtyReadOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2497
|
+
list: (input: ExperimentalPersistentPtyListInput) => Effect.Effect<ExperimentalPersistentPtyListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2498
|
+
create: (input: ExperimentalPersistentPtyCreateInput) => Effect.Effect<ExperimentalPersistentPtyCreateOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2499
|
+
shutdown: () => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2500
|
+
handoff: () => Effect.Effect<ExperimentalPersistentPtyHandoffOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2501
|
+
get: (input: ExperimentalPersistentPtyGetInput) => Effect.Effect<ExperimentalPersistentPtyGetOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").PtyNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2502
|
+
update: (input: ExperimentalPersistentPtyUpdateInput) => Effect.Effect<ExperimentalPersistentPtyUpdateOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").PtyNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2503
|
+
snapshot: (input: ExperimentalPersistentPtySnapshotInput) => Effect.Effect<ExperimentalPersistentPtySnapshotOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").PtyNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2504
|
+
remove: (input: ExperimentalPersistentPtyRemoveInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").PtyNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2505
|
+
connectToken: (input: ExperimentalPersistentPtyConnectTokenInput) => Effect.Effect<import("@opencode/schema/pty-ticket").ConnectToken, ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").PtyNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2481
2506
|
};
|
|
2482
2507
|
};
|
|
2483
2508
|
shell: {
|
|
2484
|
-
list: (input?: ShellListInput) => Effect.Effect<ShellListOutput, import("@opencode/protocol/errors").
|
|
2485
|
-
create: (input: ShellCreateInput) => Effect.Effect<ShellCreateOutput, import("@opencode/protocol/errors").
|
|
2486
|
-
get: (input: ShellGetInput) => Effect.Effect<ShellGetOutput, import("@opencode/protocol/errors").
|
|
2487
|
-
output: (input: ShellOutputInput) => Effect.Effect<ShellOutputOutput, import("@opencode/protocol/errors").
|
|
2488
|
-
remove: (input: ShellRemoveInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
2509
|
+
list: (input?: ShellListInput) => Effect.Effect<ShellListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2510
|
+
create: (input: ShellCreateInput) => Effect.Effect<ShellCreateOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2511
|
+
get: (input: ShellGetInput) => Effect.Effect<ShellGetOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ShellNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2512
|
+
output: (input: ShellOutputInput) => Effect.Effect<ShellOutputOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ShellNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2513
|
+
remove: (input: ShellRemoveInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2489
2514
|
};
|
|
2490
2515
|
reference: {
|
|
2491
|
-
list: (input?: ReferenceListInput) => Effect.Effect<ReferenceListOutput, import("@opencode/protocol/errors").
|
|
2516
|
+
list: (input?: ReferenceListInput) => Effect.Effect<ReferenceListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2492
2517
|
};
|
|
2493
2518
|
worktree: {
|
|
2494
2519
|
list: (input: WorktreeListInput) => Effect.Effect<readonly {
|
|
2495
2520
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
2496
2521
|
readonly strategy?: string | undefined;
|
|
2497
|
-
}[], import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
2498
|
-
create: (input: WorktreeCreateInput) => Effect.Effect<import("@opencode/schema/worktree").Info, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
2499
|
-
remove: (input: WorktreeRemoveInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
2500
|
-
refresh: (input: WorktreeRefreshInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").
|
|
2522
|
+
}[], ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").ProjectNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2523
|
+
create: (input: WorktreeCreateInput) => Effect.Effect<import("@opencode/schema/worktree").Info, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").ProjectNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/groups/worktree").WorktreeError, never>;
|
|
2524
|
+
remove: (input: WorktreeRemoveInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").ProjectNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/groups/worktree").WorktreeError, never>;
|
|
2525
|
+
refresh: (input: WorktreeRefreshInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").ProjectNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/groups/worktree").WorktreeError, never>;
|
|
2501
2526
|
};
|
|
2502
2527
|
vcs: {
|
|
2503
|
-
init: (input?: VcsInitInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
2504
|
-
get: (input?: VcsGetInput) => Effect.Effect<VcsGetOutput, import("@opencode/protocol/errors").
|
|
2505
|
-
base: (input?: VcsBaseInput) => Effect.Effect<VcsBaseOutput, import("@opencode/protocol/errors").
|
|
2506
|
-
status: (input?: VcsStatusInput) => Effect.Effect<VcsStatusOutput, import("@opencode/protocol/errors").
|
|
2528
|
+
init: (input?: VcsInitInput) => Effect.Effect<void, ClientError | import("@opencode/protocol/errors").ConflictError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/groups/vcs").VcsInitNotSupportedError, never>;
|
|
2529
|
+
get: (input?: VcsGetInput) => Effect.Effect<VcsGetOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2530
|
+
base: (input?: VcsBaseInput) => Effect.Effect<VcsBaseOutput, 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>;
|
|
2531
|
+
status: (input?: VcsStatusInput) => Effect.Effect<VcsStatusOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2507
2532
|
branch: {
|
|
2508
|
-
list: (input?: VcsBranchListInput) => Effect.Effect<VcsBranchListOutput, import("@opencode/protocol/errors").
|
|
2533
|
+
list: (input?: VcsBranchListInput) => Effect.Effect<VcsBranchListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2509
2534
|
};
|
|
2510
|
-
diff: (input: VcsDiffInput) => Effect.Effect<VcsDiffOutput, import("@opencode/protocol/errors").
|
|
2535
|
+
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>;
|
|
2511
2536
|
};
|
|
2512
2537
|
debug: {
|
|
2513
2538
|
location: {
|
|
2514
|
-
list: () => Effect.Effect<DebugLocationListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError
|
|
2515
|
-
evict: (input?: DebugLocationEvictInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError
|
|
2539
|
+
list: () => Effect.Effect<DebugLocationListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2540
|
+
evict: (input?: DebugLocationEvictInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2516
2541
|
};
|
|
2517
2542
|
};
|
|
2518
2543
|
migration: {
|
|
2519
2544
|
v1: {
|
|
2520
|
-
status: () => Effect.Effect<MigrationV1StatusOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError
|
|
2545
|
+
status: () => Effect.Effect<MigrationV1StatusOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2521
2546
|
};
|
|
2522
2547
|
};
|
|
2523
2548
|
websearch: {
|
|
2524
|
-
providers: (input?: WebsearchProvidersInput) => Effect.Effect<WebsearchProvidersOutput, import("@opencode/protocol/errors").
|
|
2525
|
-
query: (input: WebsearchQueryInput) => Effect.Effect<WebsearchQueryOutput, import("@opencode/protocol/errors").
|
|
2549
|
+
providers: (input?: WebsearchProvidersInput) => Effect.Effect<WebsearchProvidersOutput, 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>;
|
|
2550
|
+
query: (input: WebsearchQueryInput) => Effect.Effect<WebsearchQueryOutput, 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>;
|
|
2526
2551
|
};
|
|
2527
2552
|
config: {
|
|
2528
|
-
get: (input?: ConfigGetInput) => Effect.Effect<ConfigGetOutput, import("@opencode/protocol/errors").
|
|
2529
|
-
shells: () => Effect.Effect<ConfigShellsOutput, import("@opencode/protocol/errors").
|
|
2530
|
-
update: (input: ConfigUpdateInput) => Effect.Effect<void, import("@opencode/protocol/errors").
|
|
2553
|
+
get: (input?: ConfigGetInput) => Effect.Effect<ConfigGetOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2554
|
+
shells: () => Effect.Effect<ConfigShellsOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2555
|
+
update: (input: ConfigUpdateInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
2531
2556
|
};
|
|
2532
2557
|
}, never, import("effect/http/HttpClient").HttpClient>;
|