t3code-cli 0.14.1 → 0.14.2
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/README.md +1 -0
- package/dist/application.d.ts +2 -2
- package/dist/application.js +1 -1
- package/dist/auth.d.ts +1 -1
- package/dist/auth.js +1 -1
- package/dist/bin.js +544 -262
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +1 -1
- package/dist/client-runtime/authorization.d.ts +1 -1
- package/dist/client-runtime/authorization.js +1 -1
- package/dist/client-runtime/connection.d.ts +1 -1
- package/dist/client-runtime/connection.js +1 -1
- package/dist/client-runtime/environment.d.ts +5 -1
- package/dist/client-runtime/environment.js +1 -1
- package/dist/client-runtime/errors.js +1 -1
- package/dist/client-runtime/operations/projects.d.ts +2 -2
- package/dist/client-runtime/operations/projects.js +2 -2
- package/dist/client-runtime/operations.d.ts +2 -2
- package/dist/client-runtime/operations.js +2 -2
- package/dist/client-runtime/platform.d.ts +1 -1
- package/dist/client-runtime/platform.js +1 -1
- package/dist/client-runtime/relay.d.ts +5 -1
- package/dist/client-runtime/relay.js +1 -1
- package/dist/client-runtime/rpc.d.ts +2 -2
- package/dist/client-runtime/rpc.js +2 -2
- package/dist/client-runtime/state/assets.d.ts +17 -11
- package/dist/client-runtime/state/assets.js +1 -1
- package/dist/client-runtime/state/auth.d.ts +1 -1
- package/dist/client-runtime/state/auth.js +1 -1
- package/dist/client-runtime/state/connections.js +1 -1
- package/dist/client-runtime/state/entities.d.ts +1 -1
- package/dist/client-runtime/state/entities.js +1 -1
- package/dist/client-runtime/state/filesystem.d.ts +1 -1
- package/dist/client-runtime/state/filesystem.js +1 -1
- package/dist/client-runtime/state/git.d.ts +5 -5
- package/dist/client-runtime/state/git.js +1 -1
- package/dist/client-runtime/state/models.d.ts +1 -1
- package/dist/client-runtime/state/models.js +1 -1
- package/dist/client-runtime/state/orchestration.d.ts +42 -2
- package/dist/client-runtime/state/orchestration.js +13 -1
- package/dist/client-runtime/state/presentation.d.ts +9 -3
- package/dist/client-runtime/state/presentation.js +1 -1
- package/dist/client-runtime/state/preview.d.ts +55 -48
- package/dist/client-runtime/state/preview.js +1 -1
- package/dist/client-runtime/state/project-grouping.d.ts +26 -2
- package/dist/client-runtime/state/project-grouping.js +83 -3
- package/dist/client-runtime/state/projects.d.ts +24 -18
- package/dist/client-runtime/state/projects.js +1 -1
- package/dist/client-runtime/state/relay.d.ts +1 -1
- package/dist/client-runtime/state/relay.js +1 -1
- package/dist/client-runtime/state/review.d.ts +16 -1
- package/dist/client-runtime/state/review.js +27 -6
- package/dist/client-runtime/state/runtime.d.ts +2 -2
- package/dist/client-runtime/state/runtime.js +2 -2
- package/dist/client-runtime/state/server.d.ts +299 -172
- package/dist/client-runtime/state/server.js +192 -16
- package/dist/client-runtime/state/session.d.ts +65 -7
- package/dist/client-runtime/state/session.js +32 -3
- package/dist/client-runtime/state/shell.d.ts +41 -7
- package/dist/client-runtime/state/shell.js +1 -1
- package/dist/client-runtime/state/source-control.d.ts +2 -2
- package/dist/client-runtime/state/source-control.js +1 -1
- package/dist/client-runtime/state/subagentRuntime.d.ts +145 -0
- package/dist/client-runtime/state/subagentRuntime.js +521 -0
- package/dist/client-runtime/state/terminal.d.ts +17 -17
- package/dist/client-runtime/state/terminal.js +1 -1
- package/dist/client-runtime/state/thread-search.d.ts +23 -0
- package/dist/client-runtime/state/thread-search.js +38 -0
- package/dist/client-runtime/state/thread-settled.d.ts +28 -3
- package/dist/client-runtime/state/thread-settled.js +74 -2
- package/dist/client-runtime/state/thread-sort.d.ts +59 -2
- package/dist/client-runtime/state/thread-sort.js +128 -2
- package/dist/client-runtime/state/threads.d.ts +115 -3
- package/dist/client-runtime/state/threads.js +309 -28
- package/dist/client-runtime/state/vcs.d.ts +14 -14
- package/dist/client-runtime/state/vcs.js +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +1 -1
- package/dist/connection.d.ts +1 -1
- package/dist/connection.js +1 -1
- package/dist/contracts.d.ts +1 -1
- package/dist/contracts.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +1 -1
- package/dist/orchestration.d.ts +144 -1
- package/dist/orchestration.js +1 -1
- package/dist/preview.d.ts +1 -1
- package/dist/preview.js +1 -1
- package/dist/rpc.d.ts +883 -351
- package/dist/rpc.js +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/dist/shared/DrainableWorker.js +1 -1
- package/dist/shared/KeyedCoalescingWorker.js +1 -1
- package/dist/shared/Net.js +1 -1
- package/dist/shared/advertisedEndpoint.d.ts +1 -1
- package/dist/shared/advertisedEndpoint.js +1 -1
- package/dist/shared/agentAwareness.d.ts +1 -1
- package/dist/shared/backgroundActivitySettings.d.ts +1 -1
- package/dist/shared/composerInlineTokens.js +1 -1
- package/dist/shared/connectAuth.js +1 -1
- package/dist/shared/devHome.js +1 -1
- package/dist/shared/dpop.js +1 -1
- package/dist/shared/git.d.ts +1 -1
- package/dist/shared/httpObservability.js +1 -1
- package/dist/shared/httpReadiness.js +1 -1
- package/dist/shared/keybindings.d.ts +2 -2
- package/dist/shared/keybindings.js +15 -1
- package/dist/shared/model.d.ts +1 -1
- package/dist/shared/oauthScope.js +1 -1
- package/dist/shared/observability.d.ts +8 -1
- package/dist/shared/observability.js +49 -5
- package/dist/shared/path.js +1 -1
- package/dist/shared/preview.js +1 -1
- package/dist/shared/previewViewport.d.ts +1 -1
- package/dist/shared/previewViewport.js +1 -1
- package/dist/shared/projectFavicon.d.ts +2 -1
- package/dist/shared/projectFavicon.js +13 -1
- package/dist/shared/projectScripts.d.ts +1 -1
- package/dist/shared/relayAuth.js +1 -1
- package/dist/shared/relayClient.d.ts +1 -1
- package/dist/shared/relayClient.js +1 -1
- package/dist/shared/relayJwt.js +1 -1
- package/dist/shared/relayTracing.js +1 -1
- package/dist/shared/relayUrl.js +1 -1
- package/dist/shared/remote.js +1 -1
- package/dist/shared/schemaYaml.js +3 -3
- package/dist/shared/semver.js +1 -1
- package/dist/shared/serverSettings.d.ts +1 -1
- package/dist/shared/serverSettings.js +1 -1
- package/dist/shared/shell.d.ts +6 -1
- package/dist/shared/shell.js +42 -4
- package/dist/shared/sourceControl.d.ts +1 -1
- package/dist/shared/t3ProjectFile.d.ts +9 -1
- package/dist/shared/t3ProjectFile.js +12 -2
- package/dist/shared/terminalLabels.d.ts +1 -1
- package/dist/shared/threadEnvMode.d.ts +29 -0
- package/dist/shared/threadEnvMode.js +24 -0
- package/dist/shared/toolActivity.d.ts +1 -1
- package/dist/shared/usageFormat.d.ts +21 -0
- package/dist/shared/usageFormat.js +90 -0
- package/dist/shared/usageMerge.d.ts +67 -0
- package/dist/shared/usageMerge.js +218 -0
- package/dist/shared.d.ts +4472 -668
- package/dist/shared.js +16867 -16273
- package/dist/t3tools.d.ts +2 -2
- package/dist/t3tools.js +2 -2
- package/package.json +5 -5
- package/src/application/index.ts +1 -0
- package/src/application/service.ts +5 -1
- package/src/application/threads.ts +43 -1
- package/src/cli/app.ts +2 -0
- package/src/cli/format/thread.ts +23 -1
- package/src/cli/search.ts +48 -0
- package/src/config/persist/schema.ts +1 -1
- package/src/orchestration/layer.ts +6 -0
- package/src/orchestration/service.ts +5 -0
- package/src/rpc/error.ts +2 -0
- package/src/rpc/operation.ts +2 -0
- package/src/rpc/ws-group.ts +2 -0
package/dist/rpc.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $b as PreviewAutomationControlInterruptedError, $o as ConnectionAttemptError, $v as OrchestrationDispatchCommandError, AS as TerminalSessionLookupError, Ax as PreviewAutomationTabNotFoundError, Cx as PreviewAutomationResultTooLargeError, Cy as OrchestrationSearchThreadsError, Dd as KeybindingsConfigError, ES as TerminalResizeError, FS as TerminalWriteError, Fx as PreviewAutomationUnavailableError, Ix as PreviewAutomationUnsupportedClientError, Jb as PreviewAutomationClientDisconnectedError, Ji as OrchestrationError, Mx as PreviewAutomationTargetNotEditableError, Nx as PreviewAutomationTimeoutError, SS as TerminalHistoryError, Xi as T3CodeConnectionError, Yi as RpcError, _S as TerminalCwdNotDirectoryError, _i as makeT3RpcOperations, _x as PreviewAutomationRemoteUnavailableError, bi as WsClient, cx as PreviewAutomationMalformedResponseError, dx as PreviewAutomationNoAvailableHostError, gi as T3RpcOperationsService, hi as T3RpcOperationsLive, iD as EnvironmentAuthorizationError, mi as T3RpcOperations, os as ConnectionTransientError, oy as OrchestrationGetSnapshotError, rx as PreviewAutomationExecutionError, sx as PreviewAutomationInvalidSelectorError, us as PreparedConnection, vS as TerminalCwdNotFoundError, vi as T3Rpc, wS as TerminalNotRunningError, xi as CliServerConfig, yS as TerminalCwdStatError, yi as T3RpcService, yv as ServerSettingsError, yx as PreviewAutomationRequestQueueClosedError } from "./shared.js";
|
|
2
2
|
import * as Context from "effect/Context";
|
|
3
3
|
import * as Effect from "effect/Effect";
|
|
4
4
|
import * as Layer from "effect/Layer";
|
|
@@ -27,102 +27,7 @@ declare class T3RpcSessionFactory extends T3RpcSessionFactory_base {}
|
|
|
27
27
|
//#region src/rpc/layer.d.ts
|
|
28
28
|
declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
29
29
|
getClient: Effect.Effect<{
|
|
30
|
-
readonly "orchestration.dispatchCommand": <const AsQueue extends boolean = false, const Discard = false>(input:
|
|
31
|
-
readonly type: import("effect/Schema").Literal<"thread.create">;
|
|
32
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
33
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
34
|
-
readonly projectId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ProjectId">;
|
|
35
|
-
readonly title: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
|
|
36
|
-
readonly modelSelection: import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
|
|
37
|
-
readonly instanceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ProviderInstanceId">;
|
|
38
|
-
readonly model: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
|
|
39
|
-
readonly options: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
40
|
-
readonly id: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
|
|
41
|
-
readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Boolean]>;
|
|
42
|
-
}>>, import("effect/Schema").decodeTo<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
43
|
-
readonly id: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
|
|
44
|
-
readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Boolean]>;
|
|
45
|
-
}>>, import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>, never, never>]>>;
|
|
46
|
-
}>, import("effect/Schema").Struct<{
|
|
47
|
-
readonly provider: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
48
|
-
readonly instanceId: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
49
|
-
readonly model: import("effect/Schema").Unknown;
|
|
50
|
-
readonly options: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
51
|
-
}>, never, never>;
|
|
52
|
-
readonly runtimeMode: import("effect/Schema").Literals<readonly ["approval-required", "auto-accept-edits", "auto", "full-access"]>;
|
|
53
|
-
readonly interactionMode: import("effect/Schema").withDecodingDefault<import("effect/Schema").Literals<readonly ["default", "plan"]>, never>;
|
|
54
|
-
readonly branch: import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
55
|
-
readonly worktreePath: import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
56
|
-
readonly createdAt: import("effect/Schema").String;
|
|
57
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
58
|
-
readonly type: import("effect/Schema").Literal<"thread.delete">;
|
|
59
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
60
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
61
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
62
|
-
readonly type: import("effect/Schema").Literal<"thread.archive">;
|
|
63
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
64
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
65
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
66
|
-
readonly type: import("effect/Schema").Literal<"thread.unarchive">;
|
|
67
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
68
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
69
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
70
|
-
readonly type: import("effect/Schema").Literal<"thread.settle">;
|
|
71
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
72
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
73
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
74
|
-
readonly type: import("effect/Schema").Literal<"thread.unsettle">;
|
|
75
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
76
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
77
|
-
readonly reason: import("effect/Schema").Literal<"user">;
|
|
78
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
79
|
-
readonly type: import("effect/Schema").Literal<"thread.snooze">;
|
|
80
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
81
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
82
|
-
readonly snoozedUntil: import("effect/Schema").String;
|
|
83
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
84
|
-
readonly type: import("effect/Schema").Literal<"thread.unsnooze">;
|
|
85
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
86
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
87
|
-
readonly reason: import("effect/Schema").Literal<"user">;
|
|
88
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
89
|
-
readonly type: import("effect/Schema").Literal<"thread.runtime-mode.set">;
|
|
90
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
91
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
92
|
-
readonly runtimeMode: import("effect/Schema").Literals<readonly ["approval-required", "auto-accept-edits", "auto", "full-access"]>;
|
|
93
|
-
readonly createdAt: import("effect/Schema").String;
|
|
94
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
95
|
-
readonly type: import("effect/Schema").Literal<"thread.interaction-mode.set">;
|
|
96
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
97
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
98
|
-
readonly interactionMode: import("effect/Schema").Literals<readonly ["default", "plan"]>;
|
|
99
|
-
readonly createdAt: import("effect/Schema").String;
|
|
100
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
101
|
-
readonly type: import("effect/Schema").Literal<"thread.approval.respond">;
|
|
102
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
103
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
104
|
-
readonly requestId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ApprovalRequestId">;
|
|
105
|
-
readonly decision: import("effect/Schema").Literals<readonly ["accept", "acceptForSession", "decline", "cancel"]>;
|
|
106
|
-
readonly createdAt: import("effect/Schema").String;
|
|
107
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
108
|
-
readonly type: import("effect/Schema").Literal<"thread.user-input.respond">;
|
|
109
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
110
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
111
|
-
readonly requestId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ApprovalRequestId">;
|
|
112
|
-
readonly answers: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>;
|
|
113
|
-
readonly createdAt: import("effect/Schema").String;
|
|
114
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
115
|
-
readonly type: import("effect/Schema").Literal<"thread.checkpoint.revert">;
|
|
116
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
117
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
118
|
-
readonly turnCount: import("effect/Schema").Int;
|
|
119
|
-
readonly createdAt: import("effect/Schema").String;
|
|
120
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
121
|
-
readonly type: import("effect/Schema").Literal<"thread.session.stop">;
|
|
122
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
123
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
124
|
-
readonly createdAt: import("effect/Schema").String;
|
|
125
|
-
}> | {
|
|
30
|
+
readonly "orchestration.dispatchCommand": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
126
31
|
readonly type: "project.create";
|
|
127
32
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
128
33
|
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
@@ -132,10 +37,10 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
132
37
|
readonly defaultModelSelection?: {
|
|
133
38
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
134
39
|
readonly model: string;
|
|
135
|
-
readonly options?: readonly
|
|
136
|
-
readonly id:
|
|
137
|
-
readonly value:
|
|
138
|
-
}
|
|
40
|
+
readonly options?: readonly {
|
|
41
|
+
readonly id: string;
|
|
42
|
+
readonly value: string | boolean;
|
|
43
|
+
}[];
|
|
139
44
|
} | null | undefined;
|
|
140
45
|
readonly createdAt: string;
|
|
141
46
|
} | {
|
|
@@ -147,11 +52,13 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
147
52
|
readonly defaultModelSelection?: {
|
|
148
53
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
149
54
|
readonly model: string;
|
|
150
|
-
readonly options?: readonly
|
|
151
|
-
readonly id:
|
|
152
|
-
readonly value:
|
|
153
|
-
}
|
|
55
|
+
readonly options?: readonly {
|
|
56
|
+
readonly id: string;
|
|
57
|
+
readonly value: string | boolean;
|
|
58
|
+
}[];
|
|
154
59
|
} | null | undefined;
|
|
60
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
61
|
+
readonly faviconPath?: string | null | undefined;
|
|
155
62
|
readonly scripts?: readonly {
|
|
156
63
|
readonly id: string;
|
|
157
64
|
readonly name: string;
|
|
@@ -166,75 +73,144 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
166
73
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
167
74
|
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
168
75
|
readonly force?: boolean | undefined;
|
|
76
|
+
} | {
|
|
77
|
+
readonly type: "thread.create";
|
|
78
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
79
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
80
|
+
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
81
|
+
readonly title: string;
|
|
82
|
+
readonly modelSelection: {
|
|
83
|
+
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
84
|
+
readonly model: string;
|
|
85
|
+
readonly options?: readonly {
|
|
86
|
+
readonly id: string;
|
|
87
|
+
readonly value: string | boolean;
|
|
88
|
+
}[];
|
|
89
|
+
};
|
|
90
|
+
readonly runtimeMode: "approval-required" | "auto" | "auto-accept-edits" | "full-access";
|
|
91
|
+
readonly interactionMode: "default" | "plan";
|
|
92
|
+
readonly branch: string | null;
|
|
93
|
+
readonly worktreePath: string | null;
|
|
94
|
+
readonly createdAt: string;
|
|
95
|
+
} | {
|
|
96
|
+
readonly type: "thread.delete";
|
|
97
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
98
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
99
|
+
} | {
|
|
100
|
+
readonly type: "thread.archive";
|
|
101
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
102
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
103
|
+
} | {
|
|
104
|
+
readonly type: "thread.unarchive";
|
|
105
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
106
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
107
|
+
} | {
|
|
108
|
+
readonly type: "thread.settle";
|
|
109
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
110
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
111
|
+
} | {
|
|
112
|
+
readonly type: "thread.unsettle";
|
|
113
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
114
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
115
|
+
readonly reason: "user";
|
|
116
|
+
} | {
|
|
117
|
+
readonly type: "thread.snooze";
|
|
118
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
119
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
120
|
+
readonly snoozedUntil: string;
|
|
121
|
+
} | {
|
|
122
|
+
readonly type: "thread.unsnooze";
|
|
123
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
124
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
125
|
+
readonly reason: "user";
|
|
126
|
+
} | {
|
|
127
|
+
readonly type: "thread.pin";
|
|
128
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
129
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
130
|
+
readonly orderKey?: string | undefined;
|
|
131
|
+
} | {
|
|
132
|
+
readonly type: "thread.unpin";
|
|
133
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
134
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
135
|
+
} | {
|
|
136
|
+
readonly type: "thread.pin.reorder";
|
|
137
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
138
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
139
|
+
readonly orderKey: string;
|
|
169
140
|
} | {
|
|
170
141
|
readonly type: "thread.meta.update";
|
|
171
142
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
172
143
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
173
144
|
readonly title?: string | undefined;
|
|
145
|
+
readonly regenerateTitle?: true | undefined;
|
|
174
146
|
readonly modelSelection?: {
|
|
175
147
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
176
148
|
readonly model: string;
|
|
177
|
-
readonly options?: readonly
|
|
178
|
-
readonly id:
|
|
179
|
-
readonly value:
|
|
180
|
-
}
|
|
149
|
+
readonly options?: readonly {
|
|
150
|
+
readonly id: string;
|
|
151
|
+
readonly value: string | boolean;
|
|
152
|
+
}[];
|
|
181
153
|
} | undefined;
|
|
182
154
|
readonly branch?: string | null | undefined;
|
|
183
155
|
readonly expectedBranch?: string | null | undefined;
|
|
184
156
|
readonly worktreePath?: string | null | undefined;
|
|
157
|
+
} | {
|
|
158
|
+
readonly type: "thread.runtime-mode.set";
|
|
159
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
160
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
161
|
+
readonly runtimeMode: "approval-required" | "auto" | "auto-accept-edits" | "full-access";
|
|
162
|
+
readonly createdAt: string;
|
|
163
|
+
} | {
|
|
164
|
+
readonly type: "thread.interaction-mode.set";
|
|
165
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
166
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
167
|
+
readonly interactionMode: "default" | "plan";
|
|
168
|
+
readonly createdAt: string;
|
|
185
169
|
} | {
|
|
186
170
|
readonly type: "thread.turn.start";
|
|
187
171
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
188
172
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
189
|
-
readonly message:
|
|
190
|
-
readonly messageId: import("effect/
|
|
191
|
-
readonly role:
|
|
192
|
-
readonly text:
|
|
193
|
-
readonly attachments:
|
|
194
|
-
readonly type:
|
|
195
|
-
readonly name:
|
|
196
|
-
readonly mimeType:
|
|
197
|
-
readonly sizeBytes:
|
|
198
|
-
readonly dataUrl:
|
|
199
|
-
}
|
|
200
|
-
}
|
|
173
|
+
readonly message: {
|
|
174
|
+
readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
|
|
175
|
+
readonly role: "user";
|
|
176
|
+
readonly text: string;
|
|
177
|
+
readonly attachments: readonly {
|
|
178
|
+
readonly type: "image";
|
|
179
|
+
readonly name: string;
|
|
180
|
+
readonly mimeType: string;
|
|
181
|
+
readonly sizeBytes: number;
|
|
182
|
+
readonly dataUrl: string;
|
|
183
|
+
}[];
|
|
184
|
+
};
|
|
201
185
|
readonly modelSelection?: {
|
|
202
186
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
203
187
|
readonly model: string;
|
|
204
|
-
readonly options?: readonly
|
|
205
|
-
readonly id:
|
|
206
|
-
readonly value:
|
|
207
|
-
}
|
|
188
|
+
readonly options?: readonly {
|
|
189
|
+
readonly id: string;
|
|
190
|
+
readonly value: string | boolean;
|
|
191
|
+
}[];
|
|
208
192
|
} | undefined;
|
|
209
193
|
readonly titleSeed?: string | undefined;
|
|
210
194
|
readonly runtimeMode: "approval-required" | "auto" | "auto-accept-edits" | "full-access";
|
|
211
195
|
readonly interactionMode: "default" | "plan";
|
|
212
196
|
readonly bootstrap?: {
|
|
213
|
-
readonly createThread?:
|
|
214
|
-
readonly projectId: import("effect/
|
|
215
|
-
readonly title:
|
|
216
|
-
readonly modelSelection:
|
|
217
|
-
readonly instanceId: import("effect/
|
|
218
|
-
readonly model:
|
|
219
|
-
readonly options
|
|
220
|
-
readonly id:
|
|
221
|
-
readonly value:
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
readonly options: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
231
|
-
}>, never, never>;
|
|
232
|
-
readonly runtimeMode: import("effect/Schema").Literals<readonly ["approval-required", "auto-accept-edits", "auto", "full-access"]>;
|
|
233
|
-
readonly interactionMode: import("effect/Schema").Literals<readonly ["default", "plan"]>;
|
|
234
|
-
readonly branch: import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
235
|
-
readonly worktreePath: import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
236
|
-
readonly createdAt: import("effect/Schema").String;
|
|
237
|
-
}> | undefined;
|
|
197
|
+
readonly createThread?: {
|
|
198
|
+
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
199
|
+
readonly title: string;
|
|
200
|
+
readonly modelSelection: {
|
|
201
|
+
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
202
|
+
readonly model: string;
|
|
203
|
+
readonly options?: readonly {
|
|
204
|
+
readonly id: string;
|
|
205
|
+
readonly value: string | boolean;
|
|
206
|
+
}[];
|
|
207
|
+
};
|
|
208
|
+
readonly runtimeMode: "approval-required" | "auto" | "auto-accept-edits" | "full-access";
|
|
209
|
+
readonly interactionMode: "default" | "plan";
|
|
210
|
+
readonly branch: string | null;
|
|
211
|
+
readonly worktreePath: string | null;
|
|
212
|
+
readonly createdAt: string;
|
|
213
|
+
} | undefined;
|
|
238
214
|
readonly prepareWorktree?: {
|
|
239
215
|
readonly projectCwd: string;
|
|
240
216
|
readonly baseBranch: string;
|
|
@@ -243,10 +219,10 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
243
219
|
} | undefined;
|
|
244
220
|
readonly runSetupScript?: boolean | undefined;
|
|
245
221
|
} | undefined;
|
|
246
|
-
readonly sourceProposedPlan?:
|
|
247
|
-
readonly threadId: import("effect/
|
|
248
|
-
readonly planId:
|
|
249
|
-
}
|
|
222
|
+
readonly sourceProposedPlan?: {
|
|
223
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
224
|
+
readonly planId: string;
|
|
225
|
+
} | undefined;
|
|
250
226
|
readonly createdAt: string;
|
|
251
227
|
} | {
|
|
252
228
|
readonly type: "thread.turn.interrupt";
|
|
@@ -254,6 +230,34 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
254
230
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
255
231
|
readonly turnId?: (string & import("effect/Brand").Brand<"TurnId">) | undefined;
|
|
256
232
|
readonly createdAt: string;
|
|
233
|
+
} | {
|
|
234
|
+
readonly type: "thread.approval.respond";
|
|
235
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
236
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
237
|
+
readonly requestId: string & import("effect/Brand").Brand<"ApprovalRequestId">;
|
|
238
|
+
readonly decision: "accept" | "acceptForSession" | "cancel" | "decline";
|
|
239
|
+
readonly createdAt: string;
|
|
240
|
+
} | {
|
|
241
|
+
readonly type: "thread.user-input.respond";
|
|
242
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
243
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
244
|
+
readonly requestId: string & import("effect/Brand").Brand<"ApprovalRequestId">;
|
|
245
|
+
readonly answers: {
|
|
246
|
+
readonly [x: string]: unknown;
|
|
247
|
+
};
|
|
248
|
+
readonly createdAt: string;
|
|
249
|
+
} | {
|
|
250
|
+
readonly type: "thread.checkpoint.revert";
|
|
251
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
252
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
253
|
+
readonly turnCount: number;
|
|
254
|
+
readonly createdAt: string;
|
|
255
|
+
} | {
|
|
256
|
+
readonly type: "thread.session.stop";
|
|
257
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
258
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
259
|
+
readonly createdAt: string;
|
|
260
|
+
readonly onlyIfSettled?: boolean | undefined;
|
|
257
261
|
}, options?: {
|
|
258
262
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
259
263
|
readonly context?: Context.Context<never> | undefined;
|
|
@@ -261,7 +265,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
261
265
|
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
262
266
|
readonly sequence: number;
|
|
263
267
|
}, import("effect/unstable/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : EnvironmentAuthorizationError | OrchestrationDispatchCommandError), never>;
|
|
264
|
-
readonly "orchestration.getArchivedShellSnapshot": <const AsQueue extends boolean = false, const Discard = false>(input:
|
|
268
|
+
readonly "orchestration.getArchivedShellSnapshot": <const AsQueue extends boolean = false, const Discard = false>(input: {}, options?: {
|
|
265
269
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
266
270
|
readonly context?: Context.Context<never> | undefined;
|
|
267
271
|
readonly discard?: Discard | undefined;
|
|
@@ -292,6 +296,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
292
296
|
readonly value: string | boolean;
|
|
293
297
|
}[];
|
|
294
298
|
} | null;
|
|
299
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
300
|
+
readonly faviconPath?: string | null | undefined;
|
|
295
301
|
readonly scripts: readonly {
|
|
296
302
|
readonly id: string;
|
|
297
303
|
readonly name: string;
|
|
@@ -339,6 +345,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
339
345
|
readonly settledAt: string | null;
|
|
340
346
|
readonly snoozedUntil?: string | null | undefined;
|
|
341
347
|
readonly snoozedAt?: string | null | undefined;
|
|
348
|
+
readonly pinnedAt?: string | null | undefined;
|
|
349
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
350
|
+
readonly titleRegeneration?: {
|
|
351
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
352
|
+
readonly startedAt: string;
|
|
353
|
+
} | null | undefined;
|
|
342
354
|
readonly session: {
|
|
343
355
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
344
356
|
readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
|
|
@@ -353,9 +365,31 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
353
365
|
readonly hasPendingApprovals: boolean;
|
|
354
366
|
readonly hasPendingUserInput: boolean;
|
|
355
367
|
readonly hasActionableProposedPlan: boolean;
|
|
368
|
+
readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
|
|
369
|
+
readonly planProgress?: {
|
|
370
|
+
readonly step: string;
|
|
371
|
+
readonly completedSteps: number;
|
|
372
|
+
readonly totalSteps: number;
|
|
373
|
+
} | null | undefined;
|
|
356
374
|
}[];
|
|
357
375
|
readonly updatedAt: string;
|
|
358
376
|
}, import("effect/unstable/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : EnvironmentAuthorizationError | OrchestrationGetSnapshotError), never>;
|
|
377
|
+
readonly "orchestration.searchThreads": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
378
|
+
readonly query: string;
|
|
379
|
+
readonly limit?: number;
|
|
380
|
+
}, options?: {
|
|
381
|
+
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
382
|
+
readonly context?: Context.Context<never> | undefined;
|
|
383
|
+
readonly discard?: Discard | undefined;
|
|
384
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
385
|
+
readonly matches: readonly {
|
|
386
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
387
|
+
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
388
|
+
readonly source: "assistant" | "user";
|
|
389
|
+
readonly snippet: string;
|
|
390
|
+
readonly messageCreatedAt: string | null;
|
|
391
|
+
}[];
|
|
392
|
+
}, import("effect/unstable/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : EnvironmentAuthorizationError | OrchestrationSearchThreadsError), never>;
|
|
359
393
|
readonly "orchestration.subscribeShell": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
360
394
|
readonly afterSequence?: number;
|
|
361
395
|
readonly requestCompletionMarker?: boolean;
|
|
@@ -395,6 +429,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
395
429
|
readonly value: string | boolean;
|
|
396
430
|
}[];
|
|
397
431
|
} | null;
|
|
432
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
433
|
+
readonly faviconPath?: string | null | undefined;
|
|
398
434
|
readonly scripts: readonly {
|
|
399
435
|
readonly id: string;
|
|
400
436
|
readonly name: string;
|
|
@@ -442,6 +478,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
442
478
|
readonly settledAt: string | null;
|
|
443
479
|
readonly snoozedUntil?: string | null | undefined;
|
|
444
480
|
readonly snoozedAt?: string | null | undefined;
|
|
481
|
+
readonly pinnedAt?: string | null | undefined;
|
|
482
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
483
|
+
readonly titleRegeneration?: {
|
|
484
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
485
|
+
readonly startedAt: string;
|
|
486
|
+
} | null | undefined;
|
|
445
487
|
readonly session: {
|
|
446
488
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
447
489
|
readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
|
|
@@ -456,6 +498,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
456
498
|
readonly hasPendingApprovals: boolean;
|
|
457
499
|
readonly hasPendingUserInput: boolean;
|
|
458
500
|
readonly hasActionableProposedPlan: boolean;
|
|
501
|
+
readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
|
|
502
|
+
readonly planProgress?: {
|
|
503
|
+
readonly step: string;
|
|
504
|
+
readonly completedSteps: number;
|
|
505
|
+
readonly totalSteps: number;
|
|
506
|
+
} | null | undefined;
|
|
459
507
|
}[];
|
|
460
508
|
readonly updatedAt: string;
|
|
461
509
|
};
|
|
@@ -487,6 +535,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
487
535
|
readonly value: string | boolean;
|
|
488
536
|
}[];
|
|
489
537
|
} | null;
|
|
538
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
539
|
+
readonly faviconPath?: string | null | undefined;
|
|
490
540
|
readonly scripts: readonly {
|
|
491
541
|
readonly id: string;
|
|
492
542
|
readonly name: string;
|
|
@@ -541,6 +591,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
541
591
|
readonly settledAt: string | null;
|
|
542
592
|
readonly snoozedUntil?: string | null | undefined;
|
|
543
593
|
readonly snoozedAt?: string | null | undefined;
|
|
594
|
+
readonly pinnedAt?: string | null | undefined;
|
|
595
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
596
|
+
readonly titleRegeneration?: {
|
|
597
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
598
|
+
readonly startedAt: string;
|
|
599
|
+
} | null | undefined;
|
|
544
600
|
readonly session: {
|
|
545
601
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
546
602
|
readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
|
|
@@ -555,6 +611,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
555
611
|
readonly hasPendingApprovals: boolean;
|
|
556
612
|
readonly hasPendingUserInput: boolean;
|
|
557
613
|
readonly hasActionableProposedPlan: boolean;
|
|
614
|
+
readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
|
|
615
|
+
readonly planProgress?: {
|
|
616
|
+
readonly step: string;
|
|
617
|
+
readonly completedSteps: number;
|
|
618
|
+
readonly totalSteps: number;
|
|
619
|
+
} | null | undefined;
|
|
558
620
|
};
|
|
559
621
|
} | {
|
|
560
622
|
readonly kind: "thread-removed";
|
|
@@ -591,6 +653,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
591
653
|
readonly value: string | boolean;
|
|
592
654
|
}[];
|
|
593
655
|
} | null;
|
|
656
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
657
|
+
readonly faviconPath?: string | null | undefined;
|
|
594
658
|
readonly scripts: readonly {
|
|
595
659
|
readonly id: string;
|
|
596
660
|
readonly name: string;
|
|
@@ -638,6 +702,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
638
702
|
readonly settledAt: string | null;
|
|
639
703
|
readonly snoozedUntil?: string | null | undefined;
|
|
640
704
|
readonly snoozedAt?: string | null | undefined;
|
|
705
|
+
readonly pinnedAt?: string | null | undefined;
|
|
706
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
707
|
+
readonly titleRegeneration?: {
|
|
708
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
709
|
+
readonly startedAt: string;
|
|
710
|
+
} | null | undefined;
|
|
641
711
|
readonly session: {
|
|
642
712
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
643
713
|
readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
|
|
@@ -652,6 +722,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
652
722
|
readonly hasPendingApprovals: boolean;
|
|
653
723
|
readonly hasPendingUserInput: boolean;
|
|
654
724
|
readonly hasActionableProposedPlan: boolean;
|
|
725
|
+
readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
|
|
726
|
+
readonly planProgress?: {
|
|
727
|
+
readonly step: string;
|
|
728
|
+
readonly completedSteps: number;
|
|
729
|
+
readonly totalSteps: number;
|
|
730
|
+
} | null | undefined;
|
|
655
731
|
}[];
|
|
656
732
|
readonly updatedAt: string;
|
|
657
733
|
};
|
|
@@ -683,6 +759,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
683
759
|
readonly value: string | boolean;
|
|
684
760
|
}[];
|
|
685
761
|
} | null;
|
|
762
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
763
|
+
readonly faviconPath?: string | null | undefined;
|
|
686
764
|
readonly scripts: readonly {
|
|
687
765
|
readonly id: string;
|
|
688
766
|
readonly name: string;
|
|
@@ -737,6 +815,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
737
815
|
readonly settledAt: string | null;
|
|
738
816
|
readonly snoozedUntil?: string | null | undefined;
|
|
739
817
|
readonly snoozedAt?: string | null | undefined;
|
|
818
|
+
readonly pinnedAt?: string | null | undefined;
|
|
819
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
820
|
+
readonly titleRegeneration?: {
|
|
821
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
822
|
+
readonly startedAt: string;
|
|
823
|
+
} | null | undefined;
|
|
740
824
|
readonly session: {
|
|
741
825
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
742
826
|
readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
|
|
@@ -751,6 +835,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
751
835
|
readonly hasPendingApprovals: boolean;
|
|
752
836
|
readonly hasPendingUserInput: boolean;
|
|
753
837
|
readonly hasActionableProposedPlan: boolean;
|
|
838
|
+
readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
|
|
839
|
+
readonly planProgress?: {
|
|
840
|
+
readonly step: string;
|
|
841
|
+
readonly completedSteps: number;
|
|
842
|
+
readonly totalSteps: number;
|
|
843
|
+
} | null | undefined;
|
|
754
844
|
};
|
|
755
845
|
} | {
|
|
756
846
|
readonly kind: "thread-removed";
|
|
@@ -761,6 +851,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
761
851
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
762
852
|
readonly afterSequence?: number;
|
|
763
853
|
readonly requestCompletionMarker?: boolean;
|
|
854
|
+
readonly turnLimit?: number;
|
|
764
855
|
}, options?: {
|
|
765
856
|
readonly asQueue?: AsQueue | undefined;
|
|
766
857
|
readonly streamBufferSize?: number | undefined;
|
|
@@ -807,6 +898,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
807
898
|
readonly settledAt: string | null;
|
|
808
899
|
readonly snoozedUntil?: string | null | undefined;
|
|
809
900
|
readonly snoozedAt?: string | null | undefined;
|
|
901
|
+
readonly pinnedAt?: string | null | undefined;
|
|
902
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
903
|
+
readonly titleRegeneration?: {
|
|
904
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
905
|
+
readonly startedAt: string;
|
|
906
|
+
} | null | undefined;
|
|
810
907
|
readonly deletedAt: string | null;
|
|
811
908
|
readonly messages: readonly {
|
|
812
909
|
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
@@ -868,6 +965,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
868
965
|
readonly updatedAt: string;
|
|
869
966
|
} | null;
|
|
870
967
|
};
|
|
968
|
+
readonly page?: {
|
|
969
|
+
readonly beforeCursor: string | null;
|
|
970
|
+
readonly hasMore: boolean;
|
|
971
|
+
readonly snapshotSequence: number;
|
|
972
|
+
readonly threadSequence?: number;
|
|
973
|
+
} | undefined;
|
|
871
974
|
};
|
|
872
975
|
} | {
|
|
873
976
|
readonly kind: "event";
|
|
@@ -913,6 +1016,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
913
1016
|
readonly value: string | boolean;
|
|
914
1017
|
}[];
|
|
915
1018
|
} | null;
|
|
1019
|
+
readonly faviconPath?: string | null | undefined;
|
|
916
1020
|
readonly scripts: readonly {
|
|
917
1021
|
readonly id: string;
|
|
918
1022
|
readonly name: string;
|
|
@@ -967,6 +1071,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
967
1071
|
readonly value: string | boolean;
|
|
968
1072
|
}[];
|
|
969
1073
|
} | null | undefined;
|
|
1074
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
1075
|
+
readonly faviconPath?: string | null | undefined;
|
|
970
1076
|
readonly scripts?: readonly {
|
|
971
1077
|
readonly id: string;
|
|
972
1078
|
readonly name: string;
|
|
@@ -1188,6 +1294,72 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
1188
1294
|
readonly reason: "activity" | "user";
|
|
1189
1295
|
readonly updatedAt: string;
|
|
1190
1296
|
};
|
|
1297
|
+
} | {
|
|
1298
|
+
readonly sequence: number;
|
|
1299
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
1300
|
+
readonly aggregateKind: "project" | "thread";
|
|
1301
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
1302
|
+
readonly occurredAt: string;
|
|
1303
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
1304
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
1305
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
1306
|
+
readonly metadata: {
|
|
1307
|
+
readonly providerTurnId?: string | undefined;
|
|
1308
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
1309
|
+
readonly adapterKey?: string | undefined;
|
|
1310
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
1311
|
+
readonly ingestedAt?: string | undefined;
|
|
1312
|
+
};
|
|
1313
|
+
readonly type: "thread.pinned";
|
|
1314
|
+
readonly payload: {
|
|
1315
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
1316
|
+
readonly pinnedAt: string;
|
|
1317
|
+
readonly pinOrderKey?: string | undefined;
|
|
1318
|
+
readonly updatedAt: string;
|
|
1319
|
+
};
|
|
1320
|
+
} | {
|
|
1321
|
+
readonly sequence: number;
|
|
1322
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
1323
|
+
readonly aggregateKind: "project" | "thread";
|
|
1324
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
1325
|
+
readonly occurredAt: string;
|
|
1326
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
1327
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
1328
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
1329
|
+
readonly metadata: {
|
|
1330
|
+
readonly providerTurnId?: string | undefined;
|
|
1331
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
1332
|
+
readonly adapterKey?: string | undefined;
|
|
1333
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
1334
|
+
readonly ingestedAt?: string | undefined;
|
|
1335
|
+
};
|
|
1336
|
+
readonly type: "thread.unpinned";
|
|
1337
|
+
readonly payload: {
|
|
1338
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
1339
|
+
readonly updatedAt: string;
|
|
1340
|
+
};
|
|
1341
|
+
} | {
|
|
1342
|
+
readonly sequence: number;
|
|
1343
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
1344
|
+
readonly aggregateKind: "project" | "thread";
|
|
1345
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
1346
|
+
readonly occurredAt: string;
|
|
1347
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
1348
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
1349
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
1350
|
+
readonly metadata: {
|
|
1351
|
+
readonly providerTurnId?: string | undefined;
|
|
1352
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
1353
|
+
readonly adapterKey?: string | undefined;
|
|
1354
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
1355
|
+
readonly ingestedAt?: string | undefined;
|
|
1356
|
+
};
|
|
1357
|
+
readonly type: "thread.pin-reordered";
|
|
1358
|
+
readonly payload: {
|
|
1359
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
1360
|
+
readonly orderKey: string;
|
|
1361
|
+
readonly updatedAt: string;
|
|
1362
|
+
};
|
|
1191
1363
|
} | {
|
|
1192
1364
|
readonly sequence: number;
|
|
1193
1365
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -1208,6 +1380,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
1208
1380
|
readonly payload: {
|
|
1209
1381
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
1210
1382
|
readonly title?: string | undefined;
|
|
1383
|
+
readonly regenerateTitle?: true | undefined;
|
|
1384
|
+
readonly previousTitle?: string | undefined;
|
|
1385
|
+
readonly titleRegeneration?: {
|
|
1386
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
1387
|
+
readonly startedAt: string;
|
|
1388
|
+
} | null | undefined;
|
|
1211
1389
|
readonly modelSelection?: {
|
|
1212
1390
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
1213
1391
|
readonly model: string;
|
|
@@ -1632,6 +1810,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
1632
1810
|
readonly settledAt: string | null;
|
|
1633
1811
|
readonly snoozedUntil?: string | null | undefined;
|
|
1634
1812
|
readonly snoozedAt?: string | null | undefined;
|
|
1813
|
+
readonly pinnedAt?: string | null | undefined;
|
|
1814
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
1815
|
+
readonly titleRegeneration?: {
|
|
1816
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
1817
|
+
readonly startedAt: string;
|
|
1818
|
+
} | null | undefined;
|
|
1635
1819
|
readonly deletedAt: string | null;
|
|
1636
1820
|
readonly messages: readonly {
|
|
1637
1821
|
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
@@ -1693,6 +1877,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
1693
1877
|
readonly updatedAt: string;
|
|
1694
1878
|
} | null;
|
|
1695
1879
|
};
|
|
1880
|
+
readonly page?: {
|
|
1881
|
+
readonly beforeCursor: string | null;
|
|
1882
|
+
readonly hasMore: boolean;
|
|
1883
|
+
readonly snapshotSequence: number;
|
|
1884
|
+
readonly threadSequence?: number;
|
|
1885
|
+
} | undefined;
|
|
1696
1886
|
};
|
|
1697
1887
|
} | {
|
|
1698
1888
|
readonly kind: "event";
|
|
@@ -1738,6 +1928,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
1738
1928
|
readonly value: string | boolean;
|
|
1739
1929
|
}[];
|
|
1740
1930
|
} | null;
|
|
1931
|
+
readonly faviconPath?: string | null | undefined;
|
|
1741
1932
|
readonly scripts: readonly {
|
|
1742
1933
|
readonly id: string;
|
|
1743
1934
|
readonly name: string;
|
|
@@ -1792,6 +1983,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
1792
1983
|
readonly value: string | boolean;
|
|
1793
1984
|
}[];
|
|
1794
1985
|
} | null | undefined;
|
|
1986
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
1987
|
+
readonly faviconPath?: string | null | undefined;
|
|
1795
1988
|
readonly scripts?: readonly {
|
|
1796
1989
|
readonly id: string;
|
|
1797
1990
|
readonly name: string;
|
|
@@ -2013,6 +2206,72 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
2013
2206
|
readonly reason: "activity" | "user";
|
|
2014
2207
|
readonly updatedAt: string;
|
|
2015
2208
|
};
|
|
2209
|
+
} | {
|
|
2210
|
+
readonly sequence: number;
|
|
2211
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
2212
|
+
readonly aggregateKind: "project" | "thread";
|
|
2213
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
2214
|
+
readonly occurredAt: string;
|
|
2215
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
2216
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
2217
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
2218
|
+
readonly metadata: {
|
|
2219
|
+
readonly providerTurnId?: string | undefined;
|
|
2220
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
2221
|
+
readonly adapterKey?: string | undefined;
|
|
2222
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
2223
|
+
readonly ingestedAt?: string | undefined;
|
|
2224
|
+
};
|
|
2225
|
+
readonly type: "thread.pinned";
|
|
2226
|
+
readonly payload: {
|
|
2227
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
2228
|
+
readonly pinnedAt: string;
|
|
2229
|
+
readonly pinOrderKey?: string | undefined;
|
|
2230
|
+
readonly updatedAt: string;
|
|
2231
|
+
};
|
|
2232
|
+
} | {
|
|
2233
|
+
readonly sequence: number;
|
|
2234
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
2235
|
+
readonly aggregateKind: "project" | "thread";
|
|
2236
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
2237
|
+
readonly occurredAt: string;
|
|
2238
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
2239
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
2240
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
2241
|
+
readonly metadata: {
|
|
2242
|
+
readonly providerTurnId?: string | undefined;
|
|
2243
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
2244
|
+
readonly adapterKey?: string | undefined;
|
|
2245
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
2246
|
+
readonly ingestedAt?: string | undefined;
|
|
2247
|
+
};
|
|
2248
|
+
readonly type: "thread.unpinned";
|
|
2249
|
+
readonly payload: {
|
|
2250
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
2251
|
+
readonly updatedAt: string;
|
|
2252
|
+
};
|
|
2253
|
+
} | {
|
|
2254
|
+
readonly sequence: number;
|
|
2255
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
2256
|
+
readonly aggregateKind: "project" | "thread";
|
|
2257
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
2258
|
+
readonly occurredAt: string;
|
|
2259
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
2260
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
2261
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
2262
|
+
readonly metadata: {
|
|
2263
|
+
readonly providerTurnId?: string | undefined;
|
|
2264
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
2265
|
+
readonly adapterKey?: string | undefined;
|
|
2266
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
2267
|
+
readonly ingestedAt?: string | undefined;
|
|
2268
|
+
};
|
|
2269
|
+
readonly type: "thread.pin-reordered";
|
|
2270
|
+
readonly payload: {
|
|
2271
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
2272
|
+
readonly orderKey: string;
|
|
2273
|
+
readonly updatedAt: string;
|
|
2274
|
+
};
|
|
2016
2275
|
} | {
|
|
2017
2276
|
readonly sequence: number;
|
|
2018
2277
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -2033,6 +2292,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
2033
2292
|
readonly payload: {
|
|
2034
2293
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
2035
2294
|
readonly title?: string | undefined;
|
|
2295
|
+
readonly regenerateTitle?: true | undefined;
|
|
2296
|
+
readonly previousTitle?: string | undefined;
|
|
2297
|
+
readonly titleRegeneration?: {
|
|
2298
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
2299
|
+
readonly startedAt: string;
|
|
2300
|
+
} | null | undefined;
|
|
2036
2301
|
readonly modelSelection?: {
|
|
2037
2302
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
2038
2303
|
readonly model: string;
|
|
@@ -2457,12 +2722,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
2457
2722
|
readonly timeoutMs: number;
|
|
2458
2723
|
};
|
|
2459
2724
|
}, EnvironmentAuthorizationError | PreviewAutomationClientDisconnectedError | PreviewAutomationControlInterruptedError | PreviewAutomationExecutionError | PreviewAutomationInvalidSelectorError | PreviewAutomationMalformedResponseError | PreviewAutomationNoAvailableHostError | PreviewAutomationRemoteUnavailableError | PreviewAutomationRequestQueueClosedError | PreviewAutomationResultTooLargeError | PreviewAutomationTabNotFoundError | PreviewAutomationTargetNotEditableError | PreviewAutomationTimeoutError | PreviewAutomationUnavailableError | PreviewAutomationUnsupportedClientError | import("effect/unstable/rpc/RpcClientError").RpcClientError, never>;
|
|
2460
|
-
readonly "previewAutomation.focusHost": <const AsQueue extends boolean = false, const Discard = false>(input:
|
|
2461
|
-
readonly clientId:
|
|
2462
|
-
readonly environmentId: import("effect/
|
|
2463
|
-
readonly connectionId:
|
|
2464
|
-
readonly focused:
|
|
2465
|
-
}
|
|
2725
|
+
readonly "previewAutomation.focusHost": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
2726
|
+
readonly clientId: string;
|
|
2727
|
+
readonly environmentId: string & import("effect/Brand").Brand<"EnvironmentId">;
|
|
2728
|
+
readonly connectionId: string;
|
|
2729
|
+
readonly focused: boolean;
|
|
2730
|
+
}, options?: {
|
|
2466
2731
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
2467
2732
|
readonly context?: Context.Context<never> | undefined;
|
|
2468
2733
|
readonly discard?: Discard | undefined;
|
|
@@ -2483,7 +2748,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
2483
2748
|
readonly context?: Context.Context<never> | undefined;
|
|
2484
2749
|
readonly discard?: Discard | undefined;
|
|
2485
2750
|
} | undefined) => Effect.Effect<Discard extends true ? void : void, import("effect/unstable/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : EnvironmentAuthorizationError | PreviewAutomationClientDisconnectedError | PreviewAutomationControlInterruptedError | PreviewAutomationExecutionError | PreviewAutomationInvalidSelectorError | PreviewAutomationMalformedResponseError | PreviewAutomationNoAvailableHostError | PreviewAutomationRemoteUnavailableError | PreviewAutomationRequestQueueClosedError | PreviewAutomationResultTooLargeError | PreviewAutomationTabNotFoundError | PreviewAutomationTargetNotEditableError | PreviewAutomationTimeoutError | PreviewAutomationUnavailableError | PreviewAutomationUnsupportedClientError), never>;
|
|
2486
|
-
readonly "server.getConfig": <const AsQueue extends boolean = false, const Discard = false>(input:
|
|
2751
|
+
readonly "server.getConfig": <const AsQueue extends boolean = false, const Discard = false>(input: {}, options?: {
|
|
2487
2752
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
2488
2753
|
readonly context?: Context.Context<never> | undefined;
|
|
2489
2754
|
readonly discard?: Discard | undefined;
|
|
@@ -2525,6 +2790,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
2525
2790
|
readonly subProvider?: string | undefined;
|
|
2526
2791
|
readonly isCustom: boolean;
|
|
2527
2792
|
readonly isDefault?: boolean | undefined;
|
|
2793
|
+
readonly isLegacy?: boolean | undefined;
|
|
2528
2794
|
readonly capabilities: {
|
|
2529
2795
|
readonly optionDescriptors?: readonly ({
|
|
2530
2796
|
readonly id: string;
|
|
@@ -2582,12 +2848,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
2582
2848
|
};
|
|
2583
2849
|
}[];
|
|
2584
2850
|
}, import("effect/unstable/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : EnvironmentAuthorizationError | KeybindingsConfigError | ServerSettingsError), never>;
|
|
2585
|
-
readonly "server.probe": <const AsQueue extends boolean = false, const Discard = false>(input:
|
|
2851
|
+
readonly "server.probe": <const AsQueue extends boolean = false, const Discard = false>(input: {}, options?: {
|
|
2586
2852
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
2587
2853
|
readonly context?: Context.Context<never> | undefined;
|
|
2588
2854
|
readonly discard?: Discard | undefined;
|
|
2589
2855
|
} | undefined) => Effect.Effect<Discard extends true ? void : {}, import("effect/unstable/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : EnvironmentAuthorizationError), never>;
|
|
2590
|
-
readonly subscribeTerminalEvents: <const AsQueue extends boolean = false, const Discard = false>(input:
|
|
2856
|
+
readonly subscribeTerminalEvents: <const AsQueue extends boolean = false, const Discard = false>(input: {}, options?: {
|
|
2591
2857
|
readonly asQueue?: AsQueue | undefined;
|
|
2592
2858
|
readonly streamBufferSize?: number | undefined;
|
|
2593
2859
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
@@ -2741,7 +3007,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
2741
3007
|
readonly sequence?: number | undefined;
|
|
2742
3008
|
};
|
|
2743
3009
|
}, EnvironmentAuthorizationError | import("effect/unstable/rpc/RpcClientError").RpcClientError, never>;
|
|
2744
|
-
readonly subscribeTerminalMetadata: <const AsQueue extends boolean = false, const Discard = false>(input:
|
|
3010
|
+
readonly subscribeTerminalMetadata: <const AsQueue extends boolean = false, const Discard = false>(input: {}, options?: {
|
|
2745
3011
|
readonly asQueue?: AsQueue | undefined;
|
|
2746
3012
|
readonly streamBufferSize?: number | undefined;
|
|
2747
3013
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
@@ -3011,21 +3277,21 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3011
3277
|
readonly updatedAt: string;
|
|
3012
3278
|
readonly sequence?: number | undefined;
|
|
3013
3279
|
}, import("effect/unstable/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : EnvironmentAuthorizationError | TerminalCwdNotDirectoryError | TerminalCwdNotFoundError | TerminalCwdStatError | TerminalHistoryError | TerminalNotRunningError | TerminalResizeError | TerminalSessionLookupError | TerminalWriteError), never>;
|
|
3014
|
-
readonly "terminal.resize": <const AsQueue extends boolean = false, const Discard = false>(input:
|
|
3015
|
-
readonly threadId:
|
|
3016
|
-
readonly terminalId:
|
|
3017
|
-
readonly cols:
|
|
3018
|
-
readonly rows:
|
|
3019
|
-
}
|
|
3280
|
+
readonly "terminal.resize": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
3281
|
+
readonly threadId: string;
|
|
3282
|
+
readonly terminalId: string;
|
|
3283
|
+
readonly cols: number;
|
|
3284
|
+
readonly rows: number;
|
|
3285
|
+
}, options?: {
|
|
3020
3286
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
3021
3287
|
readonly context?: Context.Context<never> | undefined;
|
|
3022
3288
|
readonly discard?: Discard | undefined;
|
|
3023
3289
|
} | undefined) => Effect.Effect<Discard extends true ? void : void, import("effect/unstable/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : EnvironmentAuthorizationError | TerminalCwdNotDirectoryError | TerminalCwdNotFoundError | TerminalCwdStatError | TerminalHistoryError | TerminalNotRunningError | TerminalResizeError | TerminalSessionLookupError | TerminalWriteError), never>;
|
|
3024
|
-
readonly "terminal.write": <const AsQueue extends boolean = false, const Discard = false>(input:
|
|
3025
|
-
readonly threadId:
|
|
3026
|
-
readonly terminalId:
|
|
3027
|
-
readonly data:
|
|
3028
|
-
}
|
|
3290
|
+
readonly "terminal.write": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
3291
|
+
readonly threadId: string;
|
|
3292
|
+
readonly terminalId: string;
|
|
3293
|
+
readonly data: string;
|
|
3294
|
+
}, options?: {
|
|
3029
3295
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
3030
3296
|
readonly context?: Context.Context<never> | undefined;
|
|
3031
3297
|
readonly discard?: Discard | undefined;
|
|
@@ -3033,102 +3299,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3033
3299
|
}, RpcError, never>;
|
|
3034
3300
|
disconnect: Effect.Effect<void, never, never>;
|
|
3035
3301
|
reconnect: Effect.Effect<{
|
|
3036
|
-
readonly "orchestration.dispatchCommand": <const AsQueue extends boolean = false, const Discard = false>(input:
|
|
3037
|
-
readonly type: import("effect/Schema").Literal<"thread.create">;
|
|
3038
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
3039
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
3040
|
-
readonly projectId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ProjectId">;
|
|
3041
|
-
readonly title: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
|
|
3042
|
-
readonly modelSelection: import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
|
|
3043
|
-
readonly instanceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ProviderInstanceId">;
|
|
3044
|
-
readonly model: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
|
|
3045
|
-
readonly options: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
3046
|
-
readonly id: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
|
|
3047
|
-
readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Boolean]>;
|
|
3048
|
-
}>>, import("effect/Schema").decodeTo<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
3049
|
-
readonly id: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
|
|
3050
|
-
readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Boolean]>;
|
|
3051
|
-
}>>, import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>, never, never>]>>;
|
|
3052
|
-
}>, import("effect/Schema").Struct<{
|
|
3053
|
-
readonly provider: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
3054
|
-
readonly instanceId: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
3055
|
-
readonly model: import("effect/Schema").Unknown;
|
|
3056
|
-
readonly options: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
3057
|
-
}>, never, never>;
|
|
3058
|
-
readonly runtimeMode: import("effect/Schema").Literals<readonly ["approval-required", "auto-accept-edits", "auto", "full-access"]>;
|
|
3059
|
-
readonly interactionMode: import("effect/Schema").withDecodingDefault<import("effect/Schema").Literals<readonly ["default", "plan"]>, never>;
|
|
3060
|
-
readonly branch: import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
3061
|
-
readonly worktreePath: import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
3062
|
-
readonly createdAt: import("effect/Schema").String;
|
|
3063
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
3064
|
-
readonly type: import("effect/Schema").Literal<"thread.delete">;
|
|
3065
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
3066
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
3067
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
3068
|
-
readonly type: import("effect/Schema").Literal<"thread.archive">;
|
|
3069
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
3070
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
3071
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
3072
|
-
readonly type: import("effect/Schema").Literal<"thread.unarchive">;
|
|
3073
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
3074
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
3075
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
3076
|
-
readonly type: import("effect/Schema").Literal<"thread.settle">;
|
|
3077
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
3078
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
3079
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
3080
|
-
readonly type: import("effect/Schema").Literal<"thread.unsettle">;
|
|
3081
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
3082
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
3083
|
-
readonly reason: import("effect/Schema").Literal<"user">;
|
|
3084
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
3085
|
-
readonly type: import("effect/Schema").Literal<"thread.snooze">;
|
|
3086
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
3087
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
3088
|
-
readonly snoozedUntil: import("effect/Schema").String;
|
|
3089
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
3090
|
-
readonly type: import("effect/Schema").Literal<"thread.unsnooze">;
|
|
3091
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
3092
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
3093
|
-
readonly reason: import("effect/Schema").Literal<"user">;
|
|
3094
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
3095
|
-
readonly type: import("effect/Schema").Literal<"thread.runtime-mode.set">;
|
|
3096
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
3097
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
3098
|
-
readonly runtimeMode: import("effect/Schema").Literals<readonly ["approval-required", "auto-accept-edits", "auto", "full-access"]>;
|
|
3099
|
-
readonly createdAt: import("effect/Schema").String;
|
|
3100
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
3101
|
-
readonly type: import("effect/Schema").Literal<"thread.interaction-mode.set">;
|
|
3102
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
3103
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
3104
|
-
readonly interactionMode: import("effect/Schema").Literals<readonly ["default", "plan"]>;
|
|
3105
|
-
readonly createdAt: import("effect/Schema").String;
|
|
3106
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
3107
|
-
readonly type: import("effect/Schema").Literal<"thread.approval.respond">;
|
|
3108
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
3109
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
3110
|
-
readonly requestId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ApprovalRequestId">;
|
|
3111
|
-
readonly decision: import("effect/Schema").Literals<readonly ["accept", "acceptForSession", "decline", "cancel"]>;
|
|
3112
|
-
readonly createdAt: import("effect/Schema").String;
|
|
3113
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
3114
|
-
readonly type: import("effect/Schema").Literal<"thread.user-input.respond">;
|
|
3115
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
3116
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
3117
|
-
readonly requestId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ApprovalRequestId">;
|
|
3118
|
-
readonly answers: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>;
|
|
3119
|
-
readonly createdAt: import("effect/Schema").String;
|
|
3120
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
3121
|
-
readonly type: import("effect/Schema").Literal<"thread.checkpoint.revert">;
|
|
3122
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
3123
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
3124
|
-
readonly turnCount: import("effect/Schema").Int;
|
|
3125
|
-
readonly createdAt: import("effect/Schema").String;
|
|
3126
|
-
}> | import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
3127
|
-
readonly type: import("effect/Schema").Literal<"thread.session.stop">;
|
|
3128
|
-
readonly commandId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "CommandId">;
|
|
3129
|
-
readonly threadId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ThreadId">;
|
|
3130
|
-
readonly createdAt: import("effect/Schema").String;
|
|
3131
|
-
}> | {
|
|
3302
|
+
readonly "orchestration.dispatchCommand": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
3132
3303
|
readonly type: "project.create";
|
|
3133
3304
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3134
3305
|
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
@@ -3138,10 +3309,10 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3138
3309
|
readonly defaultModelSelection?: {
|
|
3139
3310
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
3140
3311
|
readonly model: string;
|
|
3141
|
-
readonly options?: readonly
|
|
3142
|
-
readonly id:
|
|
3143
|
-
readonly value:
|
|
3144
|
-
}
|
|
3312
|
+
readonly options?: readonly {
|
|
3313
|
+
readonly id: string;
|
|
3314
|
+
readonly value: string | boolean;
|
|
3315
|
+
}[];
|
|
3145
3316
|
} | null | undefined;
|
|
3146
3317
|
readonly createdAt: string;
|
|
3147
3318
|
} | {
|
|
@@ -3153,11 +3324,13 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3153
3324
|
readonly defaultModelSelection?: {
|
|
3154
3325
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
3155
3326
|
readonly model: string;
|
|
3156
|
-
readonly options?: readonly
|
|
3157
|
-
readonly id:
|
|
3158
|
-
readonly value:
|
|
3159
|
-
}
|
|
3327
|
+
readonly options?: readonly {
|
|
3328
|
+
readonly id: string;
|
|
3329
|
+
readonly value: string | boolean;
|
|
3330
|
+
}[];
|
|
3160
3331
|
} | null | undefined;
|
|
3332
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
3333
|
+
readonly faviconPath?: string | null | undefined;
|
|
3161
3334
|
readonly scripts?: readonly {
|
|
3162
3335
|
readonly id: string;
|
|
3163
3336
|
readonly name: string;
|
|
@@ -3172,75 +3345,144 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3172
3345
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3173
3346
|
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
3174
3347
|
readonly force?: boolean | undefined;
|
|
3348
|
+
} | {
|
|
3349
|
+
readonly type: "thread.create";
|
|
3350
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3351
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3352
|
+
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
3353
|
+
readonly title: string;
|
|
3354
|
+
readonly modelSelection: {
|
|
3355
|
+
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
3356
|
+
readonly model: string;
|
|
3357
|
+
readonly options?: readonly {
|
|
3358
|
+
readonly id: string;
|
|
3359
|
+
readonly value: string | boolean;
|
|
3360
|
+
}[];
|
|
3361
|
+
};
|
|
3362
|
+
readonly runtimeMode: "approval-required" | "auto" | "auto-accept-edits" | "full-access";
|
|
3363
|
+
readonly interactionMode: "default" | "plan";
|
|
3364
|
+
readonly branch: string | null;
|
|
3365
|
+
readonly worktreePath: string | null;
|
|
3366
|
+
readonly createdAt: string;
|
|
3367
|
+
} | {
|
|
3368
|
+
readonly type: "thread.delete";
|
|
3369
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3370
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3371
|
+
} | {
|
|
3372
|
+
readonly type: "thread.archive";
|
|
3373
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3374
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3375
|
+
} | {
|
|
3376
|
+
readonly type: "thread.unarchive";
|
|
3377
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3378
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3379
|
+
} | {
|
|
3380
|
+
readonly type: "thread.settle";
|
|
3381
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3382
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3383
|
+
} | {
|
|
3384
|
+
readonly type: "thread.unsettle";
|
|
3385
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3386
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3387
|
+
readonly reason: "user";
|
|
3388
|
+
} | {
|
|
3389
|
+
readonly type: "thread.snooze";
|
|
3390
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3391
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3392
|
+
readonly snoozedUntil: string;
|
|
3393
|
+
} | {
|
|
3394
|
+
readonly type: "thread.unsnooze";
|
|
3395
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3396
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3397
|
+
readonly reason: "user";
|
|
3398
|
+
} | {
|
|
3399
|
+
readonly type: "thread.pin";
|
|
3400
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3401
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3402
|
+
readonly orderKey?: string | undefined;
|
|
3403
|
+
} | {
|
|
3404
|
+
readonly type: "thread.unpin";
|
|
3405
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3406
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3407
|
+
} | {
|
|
3408
|
+
readonly type: "thread.pin.reorder";
|
|
3409
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3410
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3411
|
+
readonly orderKey: string;
|
|
3175
3412
|
} | {
|
|
3176
3413
|
readonly type: "thread.meta.update";
|
|
3177
3414
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3178
3415
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3179
3416
|
readonly title?: string | undefined;
|
|
3417
|
+
readonly regenerateTitle?: true | undefined;
|
|
3180
3418
|
readonly modelSelection?: {
|
|
3181
3419
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
3182
3420
|
readonly model: string;
|
|
3183
|
-
readonly options?: readonly
|
|
3184
|
-
readonly id:
|
|
3185
|
-
readonly value:
|
|
3186
|
-
}
|
|
3421
|
+
readonly options?: readonly {
|
|
3422
|
+
readonly id: string;
|
|
3423
|
+
readonly value: string | boolean;
|
|
3424
|
+
}[];
|
|
3187
3425
|
} | undefined;
|
|
3188
3426
|
readonly branch?: string | null | undefined;
|
|
3189
3427
|
readonly expectedBranch?: string | null | undefined;
|
|
3190
3428
|
readonly worktreePath?: string | null | undefined;
|
|
3429
|
+
} | {
|
|
3430
|
+
readonly type: "thread.runtime-mode.set";
|
|
3431
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3432
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3433
|
+
readonly runtimeMode: "approval-required" | "auto" | "auto-accept-edits" | "full-access";
|
|
3434
|
+
readonly createdAt: string;
|
|
3435
|
+
} | {
|
|
3436
|
+
readonly type: "thread.interaction-mode.set";
|
|
3437
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3438
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3439
|
+
readonly interactionMode: "default" | "plan";
|
|
3440
|
+
readonly createdAt: string;
|
|
3191
3441
|
} | {
|
|
3192
3442
|
readonly type: "thread.turn.start";
|
|
3193
3443
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3194
3444
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3195
|
-
readonly message:
|
|
3196
|
-
readonly messageId: import("effect/
|
|
3197
|
-
readonly role:
|
|
3198
|
-
readonly text:
|
|
3199
|
-
readonly attachments:
|
|
3200
|
-
readonly type:
|
|
3201
|
-
readonly name:
|
|
3202
|
-
readonly mimeType:
|
|
3203
|
-
readonly sizeBytes:
|
|
3204
|
-
readonly dataUrl:
|
|
3205
|
-
}
|
|
3206
|
-
}
|
|
3445
|
+
readonly message: {
|
|
3446
|
+
readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
|
|
3447
|
+
readonly role: "user";
|
|
3448
|
+
readonly text: string;
|
|
3449
|
+
readonly attachments: readonly {
|
|
3450
|
+
readonly type: "image";
|
|
3451
|
+
readonly name: string;
|
|
3452
|
+
readonly mimeType: string;
|
|
3453
|
+
readonly sizeBytes: number;
|
|
3454
|
+
readonly dataUrl: string;
|
|
3455
|
+
}[];
|
|
3456
|
+
};
|
|
3207
3457
|
readonly modelSelection?: {
|
|
3208
3458
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
3209
3459
|
readonly model: string;
|
|
3210
|
-
readonly options?: readonly
|
|
3211
|
-
readonly id:
|
|
3212
|
-
readonly value:
|
|
3213
|
-
}
|
|
3460
|
+
readonly options?: readonly {
|
|
3461
|
+
readonly id: string;
|
|
3462
|
+
readonly value: string | boolean;
|
|
3463
|
+
}[];
|
|
3214
3464
|
} | undefined;
|
|
3215
3465
|
readonly titleSeed?: string | undefined;
|
|
3216
3466
|
readonly runtimeMode: "approval-required" | "auto" | "auto-accept-edits" | "full-access";
|
|
3217
3467
|
readonly interactionMode: "default" | "plan";
|
|
3218
3468
|
readonly bootstrap?: {
|
|
3219
|
-
readonly createThread?:
|
|
3220
|
-
readonly projectId: import("effect/
|
|
3221
|
-
readonly title:
|
|
3222
|
-
readonly modelSelection:
|
|
3223
|
-
readonly instanceId: import("effect/
|
|
3224
|
-
readonly model:
|
|
3225
|
-
readonly options
|
|
3226
|
-
readonly id:
|
|
3227
|
-
readonly value:
|
|
3228
|
-
}
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
readonly options: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
3237
|
-
}>, never, never>;
|
|
3238
|
-
readonly runtimeMode: import("effect/Schema").Literals<readonly ["approval-required", "auto-accept-edits", "auto", "full-access"]>;
|
|
3239
|
-
readonly interactionMode: import("effect/Schema").Literals<readonly ["default", "plan"]>;
|
|
3240
|
-
readonly branch: import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
3241
|
-
readonly worktreePath: import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
3242
|
-
readonly createdAt: import("effect/Schema").String;
|
|
3243
|
-
}> | undefined;
|
|
3469
|
+
readonly createThread?: {
|
|
3470
|
+
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
3471
|
+
readonly title: string;
|
|
3472
|
+
readonly modelSelection: {
|
|
3473
|
+
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
3474
|
+
readonly model: string;
|
|
3475
|
+
readonly options?: readonly {
|
|
3476
|
+
readonly id: string;
|
|
3477
|
+
readonly value: string | boolean;
|
|
3478
|
+
}[];
|
|
3479
|
+
};
|
|
3480
|
+
readonly runtimeMode: "approval-required" | "auto" | "auto-accept-edits" | "full-access";
|
|
3481
|
+
readonly interactionMode: "default" | "plan";
|
|
3482
|
+
readonly branch: string | null;
|
|
3483
|
+
readonly worktreePath: string | null;
|
|
3484
|
+
readonly createdAt: string;
|
|
3485
|
+
} | undefined;
|
|
3244
3486
|
readonly prepareWorktree?: {
|
|
3245
3487
|
readonly projectCwd: string;
|
|
3246
3488
|
readonly baseBranch: string;
|
|
@@ -3249,10 +3491,10 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3249
3491
|
} | undefined;
|
|
3250
3492
|
readonly runSetupScript?: boolean | undefined;
|
|
3251
3493
|
} | undefined;
|
|
3252
|
-
readonly sourceProposedPlan?:
|
|
3253
|
-
readonly threadId: import("effect/
|
|
3254
|
-
readonly planId:
|
|
3255
|
-
}
|
|
3494
|
+
readonly sourceProposedPlan?: {
|
|
3495
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3496
|
+
readonly planId: string;
|
|
3497
|
+
} | undefined;
|
|
3256
3498
|
readonly createdAt: string;
|
|
3257
3499
|
} | {
|
|
3258
3500
|
readonly type: "thread.turn.interrupt";
|
|
@@ -3260,6 +3502,34 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3260
3502
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3261
3503
|
readonly turnId?: (string & import("effect/Brand").Brand<"TurnId">) | undefined;
|
|
3262
3504
|
readonly createdAt: string;
|
|
3505
|
+
} | {
|
|
3506
|
+
readonly type: "thread.approval.respond";
|
|
3507
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3508
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3509
|
+
readonly requestId: string & import("effect/Brand").Brand<"ApprovalRequestId">;
|
|
3510
|
+
readonly decision: "accept" | "acceptForSession" | "cancel" | "decline";
|
|
3511
|
+
readonly createdAt: string;
|
|
3512
|
+
} | {
|
|
3513
|
+
readonly type: "thread.user-input.respond";
|
|
3514
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3515
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3516
|
+
readonly requestId: string & import("effect/Brand").Brand<"ApprovalRequestId">;
|
|
3517
|
+
readonly answers: {
|
|
3518
|
+
readonly [x: string]: unknown;
|
|
3519
|
+
};
|
|
3520
|
+
readonly createdAt: string;
|
|
3521
|
+
} | {
|
|
3522
|
+
readonly type: "thread.checkpoint.revert";
|
|
3523
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3524
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3525
|
+
readonly turnCount: number;
|
|
3526
|
+
readonly createdAt: string;
|
|
3527
|
+
} | {
|
|
3528
|
+
readonly type: "thread.session.stop";
|
|
3529
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3530
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3531
|
+
readonly createdAt: string;
|
|
3532
|
+
readonly onlyIfSettled?: boolean | undefined;
|
|
3263
3533
|
}, options?: {
|
|
3264
3534
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
3265
3535
|
readonly context?: Context.Context<never> | undefined;
|
|
@@ -3267,7 +3537,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3267
3537
|
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
3268
3538
|
readonly sequence: number;
|
|
3269
3539
|
}, import("effect/unstable/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : EnvironmentAuthorizationError | OrchestrationDispatchCommandError), never>;
|
|
3270
|
-
readonly "orchestration.getArchivedShellSnapshot": <const AsQueue extends boolean = false, const Discard = false>(input:
|
|
3540
|
+
readonly "orchestration.getArchivedShellSnapshot": <const AsQueue extends boolean = false, const Discard = false>(input: {}, options?: {
|
|
3271
3541
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
3272
3542
|
readonly context?: Context.Context<never> | undefined;
|
|
3273
3543
|
readonly discard?: Discard | undefined;
|
|
@@ -3298,6 +3568,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3298
3568
|
readonly value: string | boolean;
|
|
3299
3569
|
}[];
|
|
3300
3570
|
} | null;
|
|
3571
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
3572
|
+
readonly faviconPath?: string | null | undefined;
|
|
3301
3573
|
readonly scripts: readonly {
|
|
3302
3574
|
readonly id: string;
|
|
3303
3575
|
readonly name: string;
|
|
@@ -3345,6 +3617,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3345
3617
|
readonly settledAt: string | null;
|
|
3346
3618
|
readonly snoozedUntil?: string | null | undefined;
|
|
3347
3619
|
readonly snoozedAt?: string | null | undefined;
|
|
3620
|
+
readonly pinnedAt?: string | null | undefined;
|
|
3621
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
3622
|
+
readonly titleRegeneration?: {
|
|
3623
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3624
|
+
readonly startedAt: string;
|
|
3625
|
+
} | null | undefined;
|
|
3348
3626
|
readonly session: {
|
|
3349
3627
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3350
3628
|
readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
|
|
@@ -3359,9 +3637,31 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3359
3637
|
readonly hasPendingApprovals: boolean;
|
|
3360
3638
|
readonly hasPendingUserInput: boolean;
|
|
3361
3639
|
readonly hasActionableProposedPlan: boolean;
|
|
3640
|
+
readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
|
|
3641
|
+
readonly planProgress?: {
|
|
3642
|
+
readonly step: string;
|
|
3643
|
+
readonly completedSteps: number;
|
|
3644
|
+
readonly totalSteps: number;
|
|
3645
|
+
} | null | undefined;
|
|
3362
3646
|
}[];
|
|
3363
3647
|
readonly updatedAt: string;
|
|
3364
3648
|
}, import("effect/unstable/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : EnvironmentAuthorizationError | OrchestrationGetSnapshotError), never>;
|
|
3649
|
+
readonly "orchestration.searchThreads": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
3650
|
+
readonly query: string;
|
|
3651
|
+
readonly limit?: number;
|
|
3652
|
+
}, options?: {
|
|
3653
|
+
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
3654
|
+
readonly context?: Context.Context<never> | undefined;
|
|
3655
|
+
readonly discard?: Discard | undefined;
|
|
3656
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
3657
|
+
readonly matches: readonly {
|
|
3658
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3659
|
+
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
3660
|
+
readonly source: "assistant" | "user";
|
|
3661
|
+
readonly snippet: string;
|
|
3662
|
+
readonly messageCreatedAt: string | null;
|
|
3663
|
+
}[];
|
|
3664
|
+
}, import("effect/unstable/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : EnvironmentAuthorizationError | OrchestrationSearchThreadsError), never>;
|
|
3365
3665
|
readonly "orchestration.subscribeShell": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
3366
3666
|
readonly afterSequence?: number;
|
|
3367
3667
|
readonly requestCompletionMarker?: boolean;
|
|
@@ -3401,6 +3701,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3401
3701
|
readonly value: string | boolean;
|
|
3402
3702
|
}[];
|
|
3403
3703
|
} | null;
|
|
3704
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
3705
|
+
readonly faviconPath?: string | null | undefined;
|
|
3404
3706
|
readonly scripts: readonly {
|
|
3405
3707
|
readonly id: string;
|
|
3406
3708
|
readonly name: string;
|
|
@@ -3448,6 +3750,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3448
3750
|
readonly settledAt: string | null;
|
|
3449
3751
|
readonly snoozedUntil?: string | null | undefined;
|
|
3450
3752
|
readonly snoozedAt?: string | null | undefined;
|
|
3753
|
+
readonly pinnedAt?: string | null | undefined;
|
|
3754
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
3755
|
+
readonly titleRegeneration?: {
|
|
3756
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3757
|
+
readonly startedAt: string;
|
|
3758
|
+
} | null | undefined;
|
|
3451
3759
|
readonly session: {
|
|
3452
3760
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3453
3761
|
readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
|
|
@@ -3462,6 +3770,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3462
3770
|
readonly hasPendingApprovals: boolean;
|
|
3463
3771
|
readonly hasPendingUserInput: boolean;
|
|
3464
3772
|
readonly hasActionableProposedPlan: boolean;
|
|
3773
|
+
readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
|
|
3774
|
+
readonly planProgress?: {
|
|
3775
|
+
readonly step: string;
|
|
3776
|
+
readonly completedSteps: number;
|
|
3777
|
+
readonly totalSteps: number;
|
|
3778
|
+
} | null | undefined;
|
|
3465
3779
|
}[];
|
|
3466
3780
|
readonly updatedAt: string;
|
|
3467
3781
|
};
|
|
@@ -3493,6 +3807,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3493
3807
|
readonly value: string | boolean;
|
|
3494
3808
|
}[];
|
|
3495
3809
|
} | null;
|
|
3810
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
3811
|
+
readonly faviconPath?: string | null | undefined;
|
|
3496
3812
|
readonly scripts: readonly {
|
|
3497
3813
|
readonly id: string;
|
|
3498
3814
|
readonly name: string;
|
|
@@ -3547,6 +3863,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3547
3863
|
readonly settledAt: string | null;
|
|
3548
3864
|
readonly snoozedUntil?: string | null | undefined;
|
|
3549
3865
|
readonly snoozedAt?: string | null | undefined;
|
|
3866
|
+
readonly pinnedAt?: string | null | undefined;
|
|
3867
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
3868
|
+
readonly titleRegeneration?: {
|
|
3869
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3870
|
+
readonly startedAt: string;
|
|
3871
|
+
} | null | undefined;
|
|
3550
3872
|
readonly session: {
|
|
3551
3873
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3552
3874
|
readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
|
|
@@ -3561,6 +3883,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3561
3883
|
readonly hasPendingApprovals: boolean;
|
|
3562
3884
|
readonly hasPendingUserInput: boolean;
|
|
3563
3885
|
readonly hasActionableProposedPlan: boolean;
|
|
3886
|
+
readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
|
|
3887
|
+
readonly planProgress?: {
|
|
3888
|
+
readonly step: string;
|
|
3889
|
+
readonly completedSteps: number;
|
|
3890
|
+
readonly totalSteps: number;
|
|
3891
|
+
} | null | undefined;
|
|
3564
3892
|
};
|
|
3565
3893
|
} | {
|
|
3566
3894
|
readonly kind: "thread-removed";
|
|
@@ -3597,6 +3925,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3597
3925
|
readonly value: string | boolean;
|
|
3598
3926
|
}[];
|
|
3599
3927
|
} | null;
|
|
3928
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
3929
|
+
readonly faviconPath?: string | null | undefined;
|
|
3600
3930
|
readonly scripts: readonly {
|
|
3601
3931
|
readonly id: string;
|
|
3602
3932
|
readonly name: string;
|
|
@@ -3644,6 +3974,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3644
3974
|
readonly settledAt: string | null;
|
|
3645
3975
|
readonly snoozedUntil?: string | null | undefined;
|
|
3646
3976
|
readonly snoozedAt?: string | null | undefined;
|
|
3977
|
+
readonly pinnedAt?: string | null | undefined;
|
|
3978
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
3979
|
+
readonly titleRegeneration?: {
|
|
3980
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3981
|
+
readonly startedAt: string;
|
|
3982
|
+
} | null | undefined;
|
|
3647
3983
|
readonly session: {
|
|
3648
3984
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3649
3985
|
readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
|
|
@@ -3658,6 +3994,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3658
3994
|
readonly hasPendingApprovals: boolean;
|
|
3659
3995
|
readonly hasPendingUserInput: boolean;
|
|
3660
3996
|
readonly hasActionableProposedPlan: boolean;
|
|
3997
|
+
readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
|
|
3998
|
+
readonly planProgress?: {
|
|
3999
|
+
readonly step: string;
|
|
4000
|
+
readonly completedSteps: number;
|
|
4001
|
+
readonly totalSteps: number;
|
|
4002
|
+
} | null | undefined;
|
|
3661
4003
|
}[];
|
|
3662
4004
|
readonly updatedAt: string;
|
|
3663
4005
|
};
|
|
@@ -3689,6 +4031,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3689
4031
|
readonly value: string | boolean;
|
|
3690
4032
|
}[];
|
|
3691
4033
|
} | null;
|
|
4034
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
4035
|
+
readonly faviconPath?: string | null | undefined;
|
|
3692
4036
|
readonly scripts: readonly {
|
|
3693
4037
|
readonly id: string;
|
|
3694
4038
|
readonly name: string;
|
|
@@ -3743,6 +4087,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3743
4087
|
readonly settledAt: string | null;
|
|
3744
4088
|
readonly snoozedUntil?: string | null | undefined;
|
|
3745
4089
|
readonly snoozedAt?: string | null | undefined;
|
|
4090
|
+
readonly pinnedAt?: string | null | undefined;
|
|
4091
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
4092
|
+
readonly titleRegeneration?: {
|
|
4093
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
4094
|
+
readonly startedAt: string;
|
|
4095
|
+
} | null | undefined;
|
|
3746
4096
|
readonly session: {
|
|
3747
4097
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3748
4098
|
readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
|
|
@@ -3757,6 +4107,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3757
4107
|
readonly hasPendingApprovals: boolean;
|
|
3758
4108
|
readonly hasPendingUserInput: boolean;
|
|
3759
4109
|
readonly hasActionableProposedPlan: boolean;
|
|
4110
|
+
readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
|
|
4111
|
+
readonly planProgress?: {
|
|
4112
|
+
readonly step: string;
|
|
4113
|
+
readonly completedSteps: number;
|
|
4114
|
+
readonly totalSteps: number;
|
|
4115
|
+
} | null | undefined;
|
|
3760
4116
|
};
|
|
3761
4117
|
} | {
|
|
3762
4118
|
readonly kind: "thread-removed";
|
|
@@ -3767,6 +4123,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3767
4123
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3768
4124
|
readonly afterSequence?: number;
|
|
3769
4125
|
readonly requestCompletionMarker?: boolean;
|
|
4126
|
+
readonly turnLimit?: number;
|
|
3770
4127
|
}, options?: {
|
|
3771
4128
|
readonly asQueue?: AsQueue | undefined;
|
|
3772
4129
|
readonly streamBufferSize?: number | undefined;
|
|
@@ -3813,6 +4170,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3813
4170
|
readonly settledAt: string | null;
|
|
3814
4171
|
readonly snoozedUntil?: string | null | undefined;
|
|
3815
4172
|
readonly snoozedAt?: string | null | undefined;
|
|
4173
|
+
readonly pinnedAt?: string | null | undefined;
|
|
4174
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
4175
|
+
readonly titleRegeneration?: {
|
|
4176
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
4177
|
+
readonly startedAt: string;
|
|
4178
|
+
} | null | undefined;
|
|
3816
4179
|
readonly deletedAt: string | null;
|
|
3817
4180
|
readonly messages: readonly {
|
|
3818
4181
|
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
@@ -3874,6 +4237,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3874
4237
|
readonly updatedAt: string;
|
|
3875
4238
|
} | null;
|
|
3876
4239
|
};
|
|
4240
|
+
readonly page?: {
|
|
4241
|
+
readonly beforeCursor: string | null;
|
|
4242
|
+
readonly hasMore: boolean;
|
|
4243
|
+
readonly snapshotSequence: number;
|
|
4244
|
+
readonly threadSequence?: number;
|
|
4245
|
+
} | undefined;
|
|
3877
4246
|
};
|
|
3878
4247
|
} | {
|
|
3879
4248
|
readonly kind: "event";
|
|
@@ -3919,6 +4288,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3919
4288
|
readonly value: string | boolean;
|
|
3920
4289
|
}[];
|
|
3921
4290
|
} | null;
|
|
4291
|
+
readonly faviconPath?: string | null | undefined;
|
|
3922
4292
|
readonly scripts: readonly {
|
|
3923
4293
|
readonly id: string;
|
|
3924
4294
|
readonly name: string;
|
|
@@ -3973,6 +4343,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3973
4343
|
readonly value: string | boolean;
|
|
3974
4344
|
}[];
|
|
3975
4345
|
} | null | undefined;
|
|
4346
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
4347
|
+
readonly faviconPath?: string | null | undefined;
|
|
3976
4348
|
readonly scripts?: readonly {
|
|
3977
4349
|
readonly id: string;
|
|
3978
4350
|
readonly name: string;
|
|
@@ -4194,6 +4566,72 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
4194
4566
|
readonly reason: "activity" | "user";
|
|
4195
4567
|
readonly updatedAt: string;
|
|
4196
4568
|
};
|
|
4569
|
+
} | {
|
|
4570
|
+
readonly sequence: number;
|
|
4571
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
4572
|
+
readonly aggregateKind: "project" | "thread";
|
|
4573
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
4574
|
+
readonly occurredAt: string;
|
|
4575
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
4576
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
4577
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
4578
|
+
readonly metadata: {
|
|
4579
|
+
readonly providerTurnId?: string | undefined;
|
|
4580
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
4581
|
+
readonly adapterKey?: string | undefined;
|
|
4582
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
4583
|
+
readonly ingestedAt?: string | undefined;
|
|
4584
|
+
};
|
|
4585
|
+
readonly type: "thread.pinned";
|
|
4586
|
+
readonly payload: {
|
|
4587
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
4588
|
+
readonly pinnedAt: string;
|
|
4589
|
+
readonly pinOrderKey?: string | undefined;
|
|
4590
|
+
readonly updatedAt: string;
|
|
4591
|
+
};
|
|
4592
|
+
} | {
|
|
4593
|
+
readonly sequence: number;
|
|
4594
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
4595
|
+
readonly aggregateKind: "project" | "thread";
|
|
4596
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
4597
|
+
readonly occurredAt: string;
|
|
4598
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
4599
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
4600
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
4601
|
+
readonly metadata: {
|
|
4602
|
+
readonly providerTurnId?: string | undefined;
|
|
4603
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
4604
|
+
readonly adapterKey?: string | undefined;
|
|
4605
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
4606
|
+
readonly ingestedAt?: string | undefined;
|
|
4607
|
+
};
|
|
4608
|
+
readonly type: "thread.unpinned";
|
|
4609
|
+
readonly payload: {
|
|
4610
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
4611
|
+
readonly updatedAt: string;
|
|
4612
|
+
};
|
|
4613
|
+
} | {
|
|
4614
|
+
readonly sequence: number;
|
|
4615
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
4616
|
+
readonly aggregateKind: "project" | "thread";
|
|
4617
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
4618
|
+
readonly occurredAt: string;
|
|
4619
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
4620
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
4621
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
4622
|
+
readonly metadata: {
|
|
4623
|
+
readonly providerTurnId?: string | undefined;
|
|
4624
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
4625
|
+
readonly adapterKey?: string | undefined;
|
|
4626
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
4627
|
+
readonly ingestedAt?: string | undefined;
|
|
4628
|
+
};
|
|
4629
|
+
readonly type: "thread.pin-reordered";
|
|
4630
|
+
readonly payload: {
|
|
4631
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
4632
|
+
readonly orderKey: string;
|
|
4633
|
+
readonly updatedAt: string;
|
|
4634
|
+
};
|
|
4197
4635
|
} | {
|
|
4198
4636
|
readonly sequence: number;
|
|
4199
4637
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -4214,6 +4652,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
4214
4652
|
readonly payload: {
|
|
4215
4653
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
4216
4654
|
readonly title?: string | undefined;
|
|
4655
|
+
readonly regenerateTitle?: true | undefined;
|
|
4656
|
+
readonly previousTitle?: string | undefined;
|
|
4657
|
+
readonly titleRegeneration?: {
|
|
4658
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
4659
|
+
readonly startedAt: string;
|
|
4660
|
+
} | null | undefined;
|
|
4217
4661
|
readonly modelSelection?: {
|
|
4218
4662
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
4219
4663
|
readonly model: string;
|
|
@@ -4638,6 +5082,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
4638
5082
|
readonly settledAt: string | null;
|
|
4639
5083
|
readonly snoozedUntil?: string | null | undefined;
|
|
4640
5084
|
readonly snoozedAt?: string | null | undefined;
|
|
5085
|
+
readonly pinnedAt?: string | null | undefined;
|
|
5086
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
5087
|
+
readonly titleRegeneration?: {
|
|
5088
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
5089
|
+
readonly startedAt: string;
|
|
5090
|
+
} | null | undefined;
|
|
4641
5091
|
readonly deletedAt: string | null;
|
|
4642
5092
|
readonly messages: readonly {
|
|
4643
5093
|
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
@@ -4699,6 +5149,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
4699
5149
|
readonly updatedAt: string;
|
|
4700
5150
|
} | null;
|
|
4701
5151
|
};
|
|
5152
|
+
readonly page?: {
|
|
5153
|
+
readonly beforeCursor: string | null;
|
|
5154
|
+
readonly hasMore: boolean;
|
|
5155
|
+
readonly snapshotSequence: number;
|
|
5156
|
+
readonly threadSequence?: number;
|
|
5157
|
+
} | undefined;
|
|
4702
5158
|
};
|
|
4703
5159
|
} | {
|
|
4704
5160
|
readonly kind: "event";
|
|
@@ -4744,6 +5200,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
4744
5200
|
readonly value: string | boolean;
|
|
4745
5201
|
}[];
|
|
4746
5202
|
} | null;
|
|
5203
|
+
readonly faviconPath?: string | null | undefined;
|
|
4747
5204
|
readonly scripts: readonly {
|
|
4748
5205
|
readonly id: string;
|
|
4749
5206
|
readonly name: string;
|
|
@@ -4798,6 +5255,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
4798
5255
|
readonly value: string | boolean;
|
|
4799
5256
|
}[];
|
|
4800
5257
|
} | null | undefined;
|
|
5258
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
5259
|
+
readonly faviconPath?: string | null | undefined;
|
|
4801
5260
|
readonly scripts?: readonly {
|
|
4802
5261
|
readonly id: string;
|
|
4803
5262
|
readonly name: string;
|
|
@@ -5019,6 +5478,72 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
5019
5478
|
readonly reason: "activity" | "user";
|
|
5020
5479
|
readonly updatedAt: string;
|
|
5021
5480
|
};
|
|
5481
|
+
} | {
|
|
5482
|
+
readonly sequence: number;
|
|
5483
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
5484
|
+
readonly aggregateKind: "project" | "thread";
|
|
5485
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
5486
|
+
readonly occurredAt: string;
|
|
5487
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
5488
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
5489
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
5490
|
+
readonly metadata: {
|
|
5491
|
+
readonly providerTurnId?: string | undefined;
|
|
5492
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
5493
|
+
readonly adapterKey?: string | undefined;
|
|
5494
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
5495
|
+
readonly ingestedAt?: string | undefined;
|
|
5496
|
+
};
|
|
5497
|
+
readonly type: "thread.pinned";
|
|
5498
|
+
readonly payload: {
|
|
5499
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
5500
|
+
readonly pinnedAt: string;
|
|
5501
|
+
readonly pinOrderKey?: string | undefined;
|
|
5502
|
+
readonly updatedAt: string;
|
|
5503
|
+
};
|
|
5504
|
+
} | {
|
|
5505
|
+
readonly sequence: number;
|
|
5506
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
5507
|
+
readonly aggregateKind: "project" | "thread";
|
|
5508
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
5509
|
+
readonly occurredAt: string;
|
|
5510
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
5511
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
5512
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
5513
|
+
readonly metadata: {
|
|
5514
|
+
readonly providerTurnId?: string | undefined;
|
|
5515
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
5516
|
+
readonly adapterKey?: string | undefined;
|
|
5517
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
5518
|
+
readonly ingestedAt?: string | undefined;
|
|
5519
|
+
};
|
|
5520
|
+
readonly type: "thread.unpinned";
|
|
5521
|
+
readonly payload: {
|
|
5522
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
5523
|
+
readonly updatedAt: string;
|
|
5524
|
+
};
|
|
5525
|
+
} | {
|
|
5526
|
+
readonly sequence: number;
|
|
5527
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
5528
|
+
readonly aggregateKind: "project" | "thread";
|
|
5529
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
5530
|
+
readonly occurredAt: string;
|
|
5531
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
5532
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
5533
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
5534
|
+
readonly metadata: {
|
|
5535
|
+
readonly providerTurnId?: string | undefined;
|
|
5536
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
5537
|
+
readonly adapterKey?: string | undefined;
|
|
5538
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
5539
|
+
readonly ingestedAt?: string | undefined;
|
|
5540
|
+
};
|
|
5541
|
+
readonly type: "thread.pin-reordered";
|
|
5542
|
+
readonly payload: {
|
|
5543
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
5544
|
+
readonly orderKey: string;
|
|
5545
|
+
readonly updatedAt: string;
|
|
5546
|
+
};
|
|
5022
5547
|
} | {
|
|
5023
5548
|
readonly sequence: number;
|
|
5024
5549
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -5039,6 +5564,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
5039
5564
|
readonly payload: {
|
|
5040
5565
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
5041
5566
|
readonly title?: string | undefined;
|
|
5567
|
+
readonly regenerateTitle?: true | undefined;
|
|
5568
|
+
readonly previousTitle?: string | undefined;
|
|
5569
|
+
readonly titleRegeneration?: {
|
|
5570
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
5571
|
+
readonly startedAt: string;
|
|
5572
|
+
} | null | undefined;
|
|
5042
5573
|
readonly modelSelection?: {
|
|
5043
5574
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
5044
5575
|
readonly model: string;
|
|
@@ -5463,12 +5994,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
5463
5994
|
readonly timeoutMs: number;
|
|
5464
5995
|
};
|
|
5465
5996
|
}, EnvironmentAuthorizationError | PreviewAutomationClientDisconnectedError | PreviewAutomationControlInterruptedError | PreviewAutomationExecutionError | PreviewAutomationInvalidSelectorError | PreviewAutomationMalformedResponseError | PreviewAutomationNoAvailableHostError | PreviewAutomationRemoteUnavailableError | PreviewAutomationRequestQueueClosedError | PreviewAutomationResultTooLargeError | PreviewAutomationTabNotFoundError | PreviewAutomationTargetNotEditableError | PreviewAutomationTimeoutError | PreviewAutomationUnavailableError | PreviewAutomationUnsupportedClientError | import("effect/unstable/rpc/RpcClientError").RpcClientError, never>;
|
|
5466
|
-
readonly "previewAutomation.focusHost": <const AsQueue extends boolean = false, const Discard = false>(input:
|
|
5467
|
-
readonly clientId:
|
|
5468
|
-
readonly environmentId: import("effect/
|
|
5469
|
-
readonly connectionId:
|
|
5470
|
-
readonly focused:
|
|
5471
|
-
}
|
|
5997
|
+
readonly "previewAutomation.focusHost": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
5998
|
+
readonly clientId: string;
|
|
5999
|
+
readonly environmentId: string & import("effect/Brand").Brand<"EnvironmentId">;
|
|
6000
|
+
readonly connectionId: string;
|
|
6001
|
+
readonly focused: boolean;
|
|
6002
|
+
}, options?: {
|
|
5472
6003
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
5473
6004
|
readonly context?: Context.Context<never> | undefined;
|
|
5474
6005
|
readonly discard?: Discard | undefined;
|
|
@@ -5489,7 +6020,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
5489
6020
|
readonly context?: Context.Context<never> | undefined;
|
|
5490
6021
|
readonly discard?: Discard | undefined;
|
|
5491
6022
|
} | undefined) => Effect.Effect<Discard extends true ? void : void, import("effect/unstable/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : EnvironmentAuthorizationError | PreviewAutomationClientDisconnectedError | PreviewAutomationControlInterruptedError | PreviewAutomationExecutionError | PreviewAutomationInvalidSelectorError | PreviewAutomationMalformedResponseError | PreviewAutomationNoAvailableHostError | PreviewAutomationRemoteUnavailableError | PreviewAutomationRequestQueueClosedError | PreviewAutomationResultTooLargeError | PreviewAutomationTabNotFoundError | PreviewAutomationTargetNotEditableError | PreviewAutomationTimeoutError | PreviewAutomationUnavailableError | PreviewAutomationUnsupportedClientError), never>;
|
|
5492
|
-
readonly "server.getConfig": <const AsQueue extends boolean = false, const Discard = false>(input:
|
|
6023
|
+
readonly "server.getConfig": <const AsQueue extends boolean = false, const Discard = false>(input: {}, options?: {
|
|
5493
6024
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
5494
6025
|
readonly context?: Context.Context<never> | undefined;
|
|
5495
6026
|
readonly discard?: Discard | undefined;
|
|
@@ -5531,6 +6062,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
5531
6062
|
readonly subProvider?: string | undefined;
|
|
5532
6063
|
readonly isCustom: boolean;
|
|
5533
6064
|
readonly isDefault?: boolean | undefined;
|
|
6065
|
+
readonly isLegacy?: boolean | undefined;
|
|
5534
6066
|
readonly capabilities: {
|
|
5535
6067
|
readonly optionDescriptors?: readonly ({
|
|
5536
6068
|
readonly id: string;
|
|
@@ -5588,12 +6120,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
5588
6120
|
};
|
|
5589
6121
|
}[];
|
|
5590
6122
|
}, import("effect/unstable/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : EnvironmentAuthorizationError | KeybindingsConfigError | ServerSettingsError), never>;
|
|
5591
|
-
readonly "server.probe": <const AsQueue extends boolean = false, const Discard = false>(input:
|
|
6123
|
+
readonly "server.probe": <const AsQueue extends boolean = false, const Discard = false>(input: {}, options?: {
|
|
5592
6124
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
5593
6125
|
readonly context?: Context.Context<never> | undefined;
|
|
5594
6126
|
readonly discard?: Discard | undefined;
|
|
5595
6127
|
} | undefined) => Effect.Effect<Discard extends true ? void : {}, import("effect/unstable/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : EnvironmentAuthorizationError), never>;
|
|
5596
|
-
readonly subscribeTerminalEvents: <const AsQueue extends boolean = false, const Discard = false>(input:
|
|
6128
|
+
readonly subscribeTerminalEvents: <const AsQueue extends boolean = false, const Discard = false>(input: {}, options?: {
|
|
5597
6129
|
readonly asQueue?: AsQueue | undefined;
|
|
5598
6130
|
readonly streamBufferSize?: number | undefined;
|
|
5599
6131
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
@@ -5747,7 +6279,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
5747
6279
|
readonly sequence?: number | undefined;
|
|
5748
6280
|
};
|
|
5749
6281
|
}, EnvironmentAuthorizationError | import("effect/unstable/rpc/RpcClientError").RpcClientError, never>;
|
|
5750
|
-
readonly subscribeTerminalMetadata: <const AsQueue extends boolean = false, const Discard = false>(input:
|
|
6282
|
+
readonly subscribeTerminalMetadata: <const AsQueue extends boolean = false, const Discard = false>(input: {}, options?: {
|
|
5751
6283
|
readonly asQueue?: AsQueue | undefined;
|
|
5752
6284
|
readonly streamBufferSize?: number | undefined;
|
|
5753
6285
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
@@ -6017,21 +6549,21 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
6017
6549
|
readonly updatedAt: string;
|
|
6018
6550
|
readonly sequence?: number | undefined;
|
|
6019
6551
|
}, import("effect/unstable/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : EnvironmentAuthorizationError | TerminalCwdNotDirectoryError | TerminalCwdNotFoundError | TerminalCwdStatError | TerminalHistoryError | TerminalNotRunningError | TerminalResizeError | TerminalSessionLookupError | TerminalWriteError), never>;
|
|
6020
|
-
readonly "terminal.resize": <const AsQueue extends boolean = false, const Discard = false>(input:
|
|
6021
|
-
readonly threadId:
|
|
6022
|
-
readonly terminalId:
|
|
6023
|
-
readonly cols:
|
|
6024
|
-
readonly rows:
|
|
6025
|
-
}
|
|
6552
|
+
readonly "terminal.resize": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
6553
|
+
readonly threadId: string;
|
|
6554
|
+
readonly terminalId: string;
|
|
6555
|
+
readonly cols: number;
|
|
6556
|
+
readonly rows: number;
|
|
6557
|
+
}, options?: {
|
|
6026
6558
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
6027
6559
|
readonly context?: Context.Context<never> | undefined;
|
|
6028
6560
|
readonly discard?: Discard | undefined;
|
|
6029
6561
|
} | undefined) => Effect.Effect<Discard extends true ? void : void, import("effect/unstable/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : EnvironmentAuthorizationError | TerminalCwdNotDirectoryError | TerminalCwdNotFoundError | TerminalCwdStatError | TerminalHistoryError | TerminalNotRunningError | TerminalResizeError | TerminalSessionLookupError | TerminalWriteError), never>;
|
|
6030
|
-
readonly "terminal.write": <const AsQueue extends boolean = false, const Discard = false>(input:
|
|
6031
|
-
readonly threadId:
|
|
6032
|
-
readonly terminalId:
|
|
6033
|
-
readonly data:
|
|
6034
|
-
}
|
|
6562
|
+
readonly "terminal.write": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
6563
|
+
readonly threadId: string;
|
|
6564
|
+
readonly terminalId: string;
|
|
6565
|
+
readonly data: string;
|
|
6566
|
+
}, options?: {
|
|
6035
6567
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
6036
6568
|
readonly context?: Context.Context<never> | undefined;
|
|
6037
6569
|
readonly discard?: Discard | undefined;
|