t3code-cli 0.14.1 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -1
- 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 +1305 -424
- 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 +7 -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 +13 -2
- package/dist/client-runtime/relay.js +12 -2
- 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 +6 -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 +15 -3
- package/dist/client-runtime/state/presentation.js +1 -1
- package/dist/client-runtime/state/preview.d.ts +58 -48
- package/dist/client-runtime/state/preview.js +3 -2
- 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/pull-requests.d.ts +478 -0
- package/dist/client-runtime/state/pull-requests.js +172 -0
- 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 +311 -172
- package/dist/client-runtime/state/server.js +192 -16
- package/dist/client-runtime/state/session.d.ts +77 -7
- package/dist/client-runtime/state/session.js +32 -3
- package/dist/client-runtime/state/shell.d.ts +47 -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 +32 -4
- package/dist/client-runtime/state/thread-settled.js +2 -157
- 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 +155 -6
- package/dist/orchestration.js +2 -2
- package/dist/preview.d.ts +1 -1
- package/dist/preview.js +1 -1
- package/dist/rpc.d.ts +887 -360
- 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.d.ts +6 -0
- package/dist/shared/Net.js +2 -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.d.ts +23 -4
- package/dist/shared/connectAuth.js +40 -7
- 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 +34 -0
- package/dist/shared/usageFormat.js +176 -0
- package/dist/shared/usageMerge.d.ts +78 -0
- package/dist/shared/usageMerge.js +241 -0
- package/dist/shared.d.ts +8268 -1372
- package/dist/shared.js +22185 -19774
- package/dist/t3tools.d.ts +2 -2
- package/dist/t3tools.js +2 -2
- package/package.json +5 -5
- package/src/application/error.ts +2 -2
- package/src/application/index.ts +2 -0
- package/src/application/service.ts +43 -5
- package/src/application/thread-commands.ts +78 -0
- package/src/application/threads.ts +156 -17
- package/src/cli/app.ts +4 -0
- package/src/cli/ask-lifecycle.ts +331 -0
- package/src/cli/ask.ts +390 -0
- package/src/cli/error.ts +70 -0
- package/src/cli/format/thread.ts +49 -7
- package/src/cli/search.ts +48 -0
- package/src/cli/thread.ts +12 -0
- package/src/cli/threads/messages.ts +33 -3
- package/src/cli/threads/pin.ts +46 -0
- package/src/cli/threads/send.ts +5 -1
- package/src/cli/threads/settle.ts +46 -0
- package/src/cli/threads/snooze.ts +117 -0
- package/src/cli/threads/start.ts +6 -1
- package/src/cli/threads/unpin.ts +48 -0
- package/src/cli/threads/unsettle.ts +48 -0
- package/src/cli/threads/unsnooze.ts +48 -0
- package/src/config/persist/schema.ts +1 -1
- package/src/connection/prepared.ts +12 -2
- package/src/orchestration/error.ts +10 -0
- package/src/orchestration/index.ts +1 -0
- package/src/orchestration/layer.ts +78 -0
- package/src/orchestration/service.ts +16 -3
- package/src/rpc/error.ts +2 -0
- package/src/rpc/operation.ts +2 -0
- package/src/rpc/ws-group.ts +3 -0
- package/src/runtime/layer.ts +9 -4
package/dist/rpc.d.ts
CHANGED
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $O as EnvironmentAuthorizationError, $S as TerminalCwdStatError, Ax as PreviewAutomationControlInterruptedError, Ay as OrchestrationDispatchCommandError, Ci as CliServerConfig, Hx as PreviewAutomationNoAvailableHostError, Jx as PreviewAutomationRemoteUnavailableError, Ly as OrchestrationGetSnapshotError, Px as PreviewAutomationExecutionError, QS as TerminalCwdNotFoundError, Qi as RpcError, Rd as KeybindingsConfigError, Rx as PreviewAutomationInvalidSelectorError, Si as WsClient, Tx as PreviewAutomationClientDisconnectedError, Xv as ServerSettingsError, Xx as PreviewAutomationRequestQueueClosedError, ZS as TerminalCwdNotDirectoryError, Zi as OrchestrationError, _i as T3RpcOperationsLive, bi as T3Rpc, eS as PreviewAutomationResultTooLargeError, eb as OrchestrationSearchThreadsError, fS as PreviewAutomationUnavailableError, gi as T3RpcOperations, hC as TerminalWriteError, iC as TerminalNotRunningError, jn as T3PreparedConnectionProvider, lS as PreviewAutomationTargetNotEditableError, ms as PreparedConnection, nC as TerminalHistoryError, oC as TerminalResizeError, pS as PreviewAutomationUnsupportedClientError, rs as ConnectionAttemptError, sS as PreviewAutomationTabNotFoundError, uC as TerminalSessionLookupError, uS as PreviewAutomationTimeoutError, us as ConnectionTransientError, vi as T3RpcOperationsService, xi as T3RpcService, yi as makeT3RpcOperations, zx as PreviewAutomationMalformedResponseError } from "./shared.js";
|
|
2
2
|
import * as Context from "effect/Context";
|
|
3
3
|
import * as Effect from "effect/Effect";
|
|
4
|
-
import * as Layer from "effect/Layer";
|
|
5
4
|
import * as Scope from "effect/Scope";
|
|
5
|
+
import * as Layer from "effect/Layer";
|
|
6
6
|
import "effect/unstable/socket/Socket";
|
|
7
|
-
import { HttpClient } from "effect/unstable/http";
|
|
8
|
-
//#region src/connection/prepared.d.ts
|
|
9
|
-
declare const T3PreparedConnectionProvider_base: Context.ServiceClass<T3PreparedConnectionProvider, "t3cli/T3PreparedConnectionProvider", {
|
|
10
|
-
readonly get: Effect.Effect<PreparedConnection, ConnectionAttemptError | T3CodeConnectionError>;
|
|
11
|
-
}>;
|
|
12
|
-
declare class T3PreparedConnectionProvider extends T3PreparedConnectionProvider_base {}
|
|
13
|
-
//#endregion
|
|
14
7
|
//#region src/rpc/session.d.ts
|
|
15
8
|
interface T3RpcSession {
|
|
16
9
|
readonly client: WsClient;
|
|
@@ -27,102 +20,7 @@ declare class T3RpcSessionFactory extends T3RpcSessionFactory_base {}
|
|
|
27
20
|
//#region src/rpc/layer.d.ts
|
|
28
21
|
declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
29
22
|
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
|
-
}> | {
|
|
23
|
+
readonly "orchestration.dispatchCommand": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
126
24
|
readonly type: "project.create";
|
|
127
25
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
128
26
|
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
@@ -132,10 +30,10 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
132
30
|
readonly defaultModelSelection?: {
|
|
133
31
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
134
32
|
readonly model: string;
|
|
135
|
-
readonly options?: readonly
|
|
136
|
-
readonly id:
|
|
137
|
-
readonly value:
|
|
138
|
-
}
|
|
33
|
+
readonly options?: readonly {
|
|
34
|
+
readonly id: string;
|
|
35
|
+
readonly value: string | boolean;
|
|
36
|
+
}[];
|
|
139
37
|
} | null | undefined;
|
|
140
38
|
readonly createdAt: string;
|
|
141
39
|
} | {
|
|
@@ -147,11 +45,13 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
147
45
|
readonly defaultModelSelection?: {
|
|
148
46
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
149
47
|
readonly model: string;
|
|
150
|
-
readonly options?: readonly
|
|
151
|
-
readonly id:
|
|
152
|
-
readonly value:
|
|
153
|
-
}
|
|
48
|
+
readonly options?: readonly {
|
|
49
|
+
readonly id: string;
|
|
50
|
+
readonly value: string | boolean;
|
|
51
|
+
}[];
|
|
154
52
|
} | null | undefined;
|
|
53
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
54
|
+
readonly faviconPath?: string | null | undefined;
|
|
155
55
|
readonly scripts?: readonly {
|
|
156
56
|
readonly id: string;
|
|
157
57
|
readonly name: string;
|
|
@@ -166,75 +66,144 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
166
66
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
167
67
|
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
168
68
|
readonly force?: boolean | undefined;
|
|
69
|
+
} | {
|
|
70
|
+
readonly type: "thread.create";
|
|
71
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
72
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
73
|
+
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
74
|
+
readonly title: string;
|
|
75
|
+
readonly modelSelection: {
|
|
76
|
+
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
77
|
+
readonly model: string;
|
|
78
|
+
readonly options?: readonly {
|
|
79
|
+
readonly id: string;
|
|
80
|
+
readonly value: string | boolean;
|
|
81
|
+
}[];
|
|
82
|
+
};
|
|
83
|
+
readonly runtimeMode: "approval-required" | "auto" | "auto-accept-edits" | "full-access";
|
|
84
|
+
readonly interactionMode: "default" | "plan";
|
|
85
|
+
readonly branch: string | null;
|
|
86
|
+
readonly worktreePath: string | null;
|
|
87
|
+
readonly createdAt: string;
|
|
88
|
+
} | {
|
|
89
|
+
readonly type: "thread.delete";
|
|
90
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
91
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
92
|
+
} | {
|
|
93
|
+
readonly type: "thread.archive";
|
|
94
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
95
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
96
|
+
} | {
|
|
97
|
+
readonly type: "thread.unarchive";
|
|
98
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
99
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
100
|
+
} | {
|
|
101
|
+
readonly type: "thread.settle";
|
|
102
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
103
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
104
|
+
} | {
|
|
105
|
+
readonly type: "thread.unsettle";
|
|
106
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
107
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
108
|
+
readonly reason: "user";
|
|
109
|
+
} | {
|
|
110
|
+
readonly type: "thread.snooze";
|
|
111
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
112
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
113
|
+
readonly snoozedUntil: string;
|
|
114
|
+
} | {
|
|
115
|
+
readonly type: "thread.unsnooze";
|
|
116
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
117
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
118
|
+
readonly reason: "user";
|
|
119
|
+
} | {
|
|
120
|
+
readonly type: "thread.pin";
|
|
121
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
122
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
123
|
+
readonly orderKey?: string | undefined;
|
|
124
|
+
} | {
|
|
125
|
+
readonly type: "thread.unpin";
|
|
126
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
127
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
128
|
+
} | {
|
|
129
|
+
readonly type: "thread.pin.reorder";
|
|
130
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
131
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
132
|
+
readonly orderKey: string;
|
|
169
133
|
} | {
|
|
170
134
|
readonly type: "thread.meta.update";
|
|
171
135
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
172
136
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
173
137
|
readonly title?: string | undefined;
|
|
138
|
+
readonly regenerateTitle?: true | undefined;
|
|
174
139
|
readonly modelSelection?: {
|
|
175
140
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
176
141
|
readonly model: string;
|
|
177
|
-
readonly options?: readonly
|
|
178
|
-
readonly id:
|
|
179
|
-
readonly value:
|
|
180
|
-
}
|
|
142
|
+
readonly options?: readonly {
|
|
143
|
+
readonly id: string;
|
|
144
|
+
readonly value: string | boolean;
|
|
145
|
+
}[];
|
|
181
146
|
} | undefined;
|
|
182
147
|
readonly branch?: string | null | undefined;
|
|
183
148
|
readonly expectedBranch?: string | null | undefined;
|
|
184
149
|
readonly worktreePath?: string | null | undefined;
|
|
150
|
+
} | {
|
|
151
|
+
readonly type: "thread.runtime-mode.set";
|
|
152
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
153
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
154
|
+
readonly runtimeMode: "approval-required" | "auto" | "auto-accept-edits" | "full-access";
|
|
155
|
+
readonly createdAt: string;
|
|
156
|
+
} | {
|
|
157
|
+
readonly type: "thread.interaction-mode.set";
|
|
158
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
159
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
160
|
+
readonly interactionMode: "default" | "plan";
|
|
161
|
+
readonly createdAt: string;
|
|
185
162
|
} | {
|
|
186
163
|
readonly type: "thread.turn.start";
|
|
187
164
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
188
165
|
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
|
-
}
|
|
166
|
+
readonly message: {
|
|
167
|
+
readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
|
|
168
|
+
readonly role: "user";
|
|
169
|
+
readonly text: string;
|
|
170
|
+
readonly attachments: readonly {
|
|
171
|
+
readonly type: "image";
|
|
172
|
+
readonly name: string;
|
|
173
|
+
readonly mimeType: string;
|
|
174
|
+
readonly sizeBytes: number;
|
|
175
|
+
readonly dataUrl: string;
|
|
176
|
+
}[];
|
|
177
|
+
};
|
|
201
178
|
readonly modelSelection?: {
|
|
202
179
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
203
180
|
readonly model: string;
|
|
204
|
-
readonly options?: readonly
|
|
205
|
-
readonly id:
|
|
206
|
-
readonly value:
|
|
207
|
-
}
|
|
181
|
+
readonly options?: readonly {
|
|
182
|
+
readonly id: string;
|
|
183
|
+
readonly value: string | boolean;
|
|
184
|
+
}[];
|
|
208
185
|
} | undefined;
|
|
209
186
|
readonly titleSeed?: string | undefined;
|
|
210
187
|
readonly runtimeMode: "approval-required" | "auto" | "auto-accept-edits" | "full-access";
|
|
211
188
|
readonly interactionMode: "default" | "plan";
|
|
212
189
|
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;
|
|
190
|
+
readonly createThread?: {
|
|
191
|
+
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
192
|
+
readonly title: string;
|
|
193
|
+
readonly modelSelection: {
|
|
194
|
+
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
195
|
+
readonly model: string;
|
|
196
|
+
readonly options?: readonly {
|
|
197
|
+
readonly id: string;
|
|
198
|
+
readonly value: string | boolean;
|
|
199
|
+
}[];
|
|
200
|
+
};
|
|
201
|
+
readonly runtimeMode: "approval-required" | "auto" | "auto-accept-edits" | "full-access";
|
|
202
|
+
readonly interactionMode: "default" | "plan";
|
|
203
|
+
readonly branch: string | null;
|
|
204
|
+
readonly worktreePath: string | null;
|
|
205
|
+
readonly createdAt: string;
|
|
206
|
+
} | undefined;
|
|
238
207
|
readonly prepareWorktree?: {
|
|
239
208
|
readonly projectCwd: string;
|
|
240
209
|
readonly baseBranch: string;
|
|
@@ -243,10 +212,10 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
243
212
|
} | undefined;
|
|
244
213
|
readonly runSetupScript?: boolean | undefined;
|
|
245
214
|
} | undefined;
|
|
246
|
-
readonly sourceProposedPlan?:
|
|
247
|
-
readonly threadId: import("effect/
|
|
248
|
-
readonly planId:
|
|
249
|
-
}
|
|
215
|
+
readonly sourceProposedPlan?: {
|
|
216
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
217
|
+
readonly planId: string;
|
|
218
|
+
} | undefined;
|
|
250
219
|
readonly createdAt: string;
|
|
251
220
|
} | {
|
|
252
221
|
readonly type: "thread.turn.interrupt";
|
|
@@ -254,6 +223,34 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
254
223
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
255
224
|
readonly turnId?: (string & import("effect/Brand").Brand<"TurnId">) | undefined;
|
|
256
225
|
readonly createdAt: string;
|
|
226
|
+
} | {
|
|
227
|
+
readonly type: "thread.approval.respond";
|
|
228
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
229
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
230
|
+
readonly requestId: string & import("effect/Brand").Brand<"ApprovalRequestId">;
|
|
231
|
+
readonly decision: "accept" | "acceptForSession" | "cancel" | "decline";
|
|
232
|
+
readonly createdAt: string;
|
|
233
|
+
} | {
|
|
234
|
+
readonly type: "thread.user-input.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 answers: {
|
|
239
|
+
readonly [x: string]: unknown;
|
|
240
|
+
};
|
|
241
|
+
readonly createdAt: string;
|
|
242
|
+
} | {
|
|
243
|
+
readonly type: "thread.checkpoint.revert";
|
|
244
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
245
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
246
|
+
readonly turnCount: number;
|
|
247
|
+
readonly createdAt: string;
|
|
248
|
+
} | {
|
|
249
|
+
readonly type: "thread.session.stop";
|
|
250
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
251
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
252
|
+
readonly createdAt: string;
|
|
253
|
+
readonly onlyIfSettled?: boolean | undefined;
|
|
257
254
|
}, options?: {
|
|
258
255
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
259
256
|
readonly context?: Context.Context<never> | undefined;
|
|
@@ -261,7 +258,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
261
258
|
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
262
259
|
readonly sequence: number;
|
|
263
260
|
}, 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:
|
|
261
|
+
readonly "orchestration.getArchivedShellSnapshot": <const AsQueue extends boolean = false, const Discard = false>(input: {}, options?: {
|
|
265
262
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
266
263
|
readonly context?: Context.Context<never> | undefined;
|
|
267
264
|
readonly discard?: Discard | undefined;
|
|
@@ -292,6 +289,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
292
289
|
readonly value: string | boolean;
|
|
293
290
|
}[];
|
|
294
291
|
} | null;
|
|
292
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
293
|
+
readonly faviconPath?: string | null | undefined;
|
|
295
294
|
readonly scripts: readonly {
|
|
296
295
|
readonly id: string;
|
|
297
296
|
readonly name: string;
|
|
@@ -339,6 +338,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
339
338
|
readonly settledAt: string | null;
|
|
340
339
|
readonly snoozedUntil?: string | null | undefined;
|
|
341
340
|
readonly snoozedAt?: string | null | undefined;
|
|
341
|
+
readonly pinnedAt?: string | null | undefined;
|
|
342
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
343
|
+
readonly titleRegeneration?: {
|
|
344
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
345
|
+
readonly startedAt: string;
|
|
346
|
+
} | null | undefined;
|
|
342
347
|
readonly session: {
|
|
343
348
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
344
349
|
readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
|
|
@@ -353,9 +358,31 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
353
358
|
readonly hasPendingApprovals: boolean;
|
|
354
359
|
readonly hasPendingUserInput: boolean;
|
|
355
360
|
readonly hasActionableProposedPlan: boolean;
|
|
361
|
+
readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
|
|
362
|
+
readonly planProgress?: {
|
|
363
|
+
readonly step: string;
|
|
364
|
+
readonly completedSteps: number;
|
|
365
|
+
readonly totalSteps: number;
|
|
366
|
+
} | null | undefined;
|
|
356
367
|
}[];
|
|
357
368
|
readonly updatedAt: string;
|
|
358
369
|
}, import("effect/unstable/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : EnvironmentAuthorizationError | OrchestrationGetSnapshotError), never>;
|
|
370
|
+
readonly "orchestration.searchThreads": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
371
|
+
readonly query: string;
|
|
372
|
+
readonly limit?: number;
|
|
373
|
+
}, options?: {
|
|
374
|
+
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
375
|
+
readonly context?: Context.Context<never> | undefined;
|
|
376
|
+
readonly discard?: Discard | undefined;
|
|
377
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
378
|
+
readonly matches: readonly {
|
|
379
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
380
|
+
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
381
|
+
readonly source: "assistant" | "user";
|
|
382
|
+
readonly snippet: string;
|
|
383
|
+
readonly messageCreatedAt: string | null;
|
|
384
|
+
}[];
|
|
385
|
+
}, import("effect/unstable/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : EnvironmentAuthorizationError | OrchestrationSearchThreadsError), never>;
|
|
359
386
|
readonly "orchestration.subscribeShell": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
360
387
|
readonly afterSequence?: number;
|
|
361
388
|
readonly requestCompletionMarker?: boolean;
|
|
@@ -395,6 +422,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
395
422
|
readonly value: string | boolean;
|
|
396
423
|
}[];
|
|
397
424
|
} | null;
|
|
425
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
426
|
+
readonly faviconPath?: string | null | undefined;
|
|
398
427
|
readonly scripts: readonly {
|
|
399
428
|
readonly id: string;
|
|
400
429
|
readonly name: string;
|
|
@@ -442,6 +471,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
442
471
|
readonly settledAt: string | null;
|
|
443
472
|
readonly snoozedUntil?: string | null | undefined;
|
|
444
473
|
readonly snoozedAt?: string | null | undefined;
|
|
474
|
+
readonly pinnedAt?: string | null | undefined;
|
|
475
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
476
|
+
readonly titleRegeneration?: {
|
|
477
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
478
|
+
readonly startedAt: string;
|
|
479
|
+
} | null | undefined;
|
|
445
480
|
readonly session: {
|
|
446
481
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
447
482
|
readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
|
|
@@ -456,6 +491,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
456
491
|
readonly hasPendingApprovals: boolean;
|
|
457
492
|
readonly hasPendingUserInput: boolean;
|
|
458
493
|
readonly hasActionableProposedPlan: boolean;
|
|
494
|
+
readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
|
|
495
|
+
readonly planProgress?: {
|
|
496
|
+
readonly step: string;
|
|
497
|
+
readonly completedSteps: number;
|
|
498
|
+
readonly totalSteps: number;
|
|
499
|
+
} | null | undefined;
|
|
459
500
|
}[];
|
|
460
501
|
readonly updatedAt: string;
|
|
461
502
|
};
|
|
@@ -487,6 +528,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
487
528
|
readonly value: string | boolean;
|
|
488
529
|
}[];
|
|
489
530
|
} | null;
|
|
531
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
532
|
+
readonly faviconPath?: string | null | undefined;
|
|
490
533
|
readonly scripts: readonly {
|
|
491
534
|
readonly id: string;
|
|
492
535
|
readonly name: string;
|
|
@@ -541,6 +584,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
541
584
|
readonly settledAt: string | null;
|
|
542
585
|
readonly snoozedUntil?: string | null | undefined;
|
|
543
586
|
readonly snoozedAt?: string | null | undefined;
|
|
587
|
+
readonly pinnedAt?: string | null | undefined;
|
|
588
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
589
|
+
readonly titleRegeneration?: {
|
|
590
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
591
|
+
readonly startedAt: string;
|
|
592
|
+
} | null | undefined;
|
|
544
593
|
readonly session: {
|
|
545
594
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
546
595
|
readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
|
|
@@ -555,6 +604,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
555
604
|
readonly hasPendingApprovals: boolean;
|
|
556
605
|
readonly hasPendingUserInput: boolean;
|
|
557
606
|
readonly hasActionableProposedPlan: boolean;
|
|
607
|
+
readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
|
|
608
|
+
readonly planProgress?: {
|
|
609
|
+
readonly step: string;
|
|
610
|
+
readonly completedSteps: number;
|
|
611
|
+
readonly totalSteps: number;
|
|
612
|
+
} | null | undefined;
|
|
558
613
|
};
|
|
559
614
|
} | {
|
|
560
615
|
readonly kind: "thread-removed";
|
|
@@ -591,6 +646,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
591
646
|
readonly value: string | boolean;
|
|
592
647
|
}[];
|
|
593
648
|
} | null;
|
|
649
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
650
|
+
readonly faviconPath?: string | null | undefined;
|
|
594
651
|
readonly scripts: readonly {
|
|
595
652
|
readonly id: string;
|
|
596
653
|
readonly name: string;
|
|
@@ -638,6 +695,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
638
695
|
readonly settledAt: string | null;
|
|
639
696
|
readonly snoozedUntil?: string | null | undefined;
|
|
640
697
|
readonly snoozedAt?: string | null | undefined;
|
|
698
|
+
readonly pinnedAt?: string | null | undefined;
|
|
699
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
700
|
+
readonly titleRegeneration?: {
|
|
701
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
702
|
+
readonly startedAt: string;
|
|
703
|
+
} | null | undefined;
|
|
641
704
|
readonly session: {
|
|
642
705
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
643
706
|
readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
|
|
@@ -652,6 +715,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
652
715
|
readonly hasPendingApprovals: boolean;
|
|
653
716
|
readonly hasPendingUserInput: boolean;
|
|
654
717
|
readonly hasActionableProposedPlan: boolean;
|
|
718
|
+
readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
|
|
719
|
+
readonly planProgress?: {
|
|
720
|
+
readonly step: string;
|
|
721
|
+
readonly completedSteps: number;
|
|
722
|
+
readonly totalSteps: number;
|
|
723
|
+
} | null | undefined;
|
|
655
724
|
}[];
|
|
656
725
|
readonly updatedAt: string;
|
|
657
726
|
};
|
|
@@ -683,6 +752,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
683
752
|
readonly value: string | boolean;
|
|
684
753
|
}[];
|
|
685
754
|
} | null;
|
|
755
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
756
|
+
readonly faviconPath?: string | null | undefined;
|
|
686
757
|
readonly scripts: readonly {
|
|
687
758
|
readonly id: string;
|
|
688
759
|
readonly name: string;
|
|
@@ -737,6 +808,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
737
808
|
readonly settledAt: string | null;
|
|
738
809
|
readonly snoozedUntil?: string | null | undefined;
|
|
739
810
|
readonly snoozedAt?: string | null | undefined;
|
|
811
|
+
readonly pinnedAt?: string | null | undefined;
|
|
812
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
813
|
+
readonly titleRegeneration?: {
|
|
814
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
815
|
+
readonly startedAt: string;
|
|
816
|
+
} | null | undefined;
|
|
740
817
|
readonly session: {
|
|
741
818
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
742
819
|
readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
|
|
@@ -751,6 +828,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
751
828
|
readonly hasPendingApprovals: boolean;
|
|
752
829
|
readonly hasPendingUserInput: boolean;
|
|
753
830
|
readonly hasActionableProposedPlan: boolean;
|
|
831
|
+
readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
|
|
832
|
+
readonly planProgress?: {
|
|
833
|
+
readonly step: string;
|
|
834
|
+
readonly completedSteps: number;
|
|
835
|
+
readonly totalSteps: number;
|
|
836
|
+
} | null | undefined;
|
|
754
837
|
};
|
|
755
838
|
} | {
|
|
756
839
|
readonly kind: "thread-removed";
|
|
@@ -761,6 +844,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
761
844
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
762
845
|
readonly afterSequence?: number;
|
|
763
846
|
readonly requestCompletionMarker?: boolean;
|
|
847
|
+
readonly turnLimit?: number;
|
|
764
848
|
}, options?: {
|
|
765
849
|
readonly asQueue?: AsQueue | undefined;
|
|
766
850
|
readonly streamBufferSize?: number | undefined;
|
|
@@ -807,6 +891,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
807
891
|
readonly settledAt: string | null;
|
|
808
892
|
readonly snoozedUntil?: string | null | undefined;
|
|
809
893
|
readonly snoozedAt?: string | null | undefined;
|
|
894
|
+
readonly pinnedAt?: string | null | undefined;
|
|
895
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
896
|
+
readonly titleRegeneration?: {
|
|
897
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
898
|
+
readonly startedAt: string;
|
|
899
|
+
} | null | undefined;
|
|
810
900
|
readonly deletedAt: string | null;
|
|
811
901
|
readonly messages: readonly {
|
|
812
902
|
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
@@ -868,6 +958,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
868
958
|
readonly updatedAt: string;
|
|
869
959
|
} | null;
|
|
870
960
|
};
|
|
961
|
+
readonly page?: {
|
|
962
|
+
readonly beforeCursor: string | null;
|
|
963
|
+
readonly hasMore: boolean;
|
|
964
|
+
readonly snapshotSequence: number;
|
|
965
|
+
readonly threadSequence?: number;
|
|
966
|
+
} | undefined;
|
|
871
967
|
};
|
|
872
968
|
} | {
|
|
873
969
|
readonly kind: "event";
|
|
@@ -913,6 +1009,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
913
1009
|
readonly value: string | boolean;
|
|
914
1010
|
}[];
|
|
915
1011
|
} | null;
|
|
1012
|
+
readonly faviconPath?: string | null | undefined;
|
|
916
1013
|
readonly scripts: readonly {
|
|
917
1014
|
readonly id: string;
|
|
918
1015
|
readonly name: string;
|
|
@@ -967,6 +1064,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
967
1064
|
readonly value: string | boolean;
|
|
968
1065
|
}[];
|
|
969
1066
|
} | null | undefined;
|
|
1067
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
1068
|
+
readonly faviconPath?: string | null | undefined;
|
|
970
1069
|
readonly scripts?: readonly {
|
|
971
1070
|
readonly id: string;
|
|
972
1071
|
readonly name: string;
|
|
@@ -1188,6 +1287,72 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
1188
1287
|
readonly reason: "activity" | "user";
|
|
1189
1288
|
readonly updatedAt: string;
|
|
1190
1289
|
};
|
|
1290
|
+
} | {
|
|
1291
|
+
readonly sequence: number;
|
|
1292
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
1293
|
+
readonly aggregateKind: "project" | "thread";
|
|
1294
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
1295
|
+
readonly occurredAt: string;
|
|
1296
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
1297
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
1298
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
1299
|
+
readonly metadata: {
|
|
1300
|
+
readonly providerTurnId?: string | undefined;
|
|
1301
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
1302
|
+
readonly adapterKey?: string | undefined;
|
|
1303
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
1304
|
+
readonly ingestedAt?: string | undefined;
|
|
1305
|
+
};
|
|
1306
|
+
readonly type: "thread.pinned";
|
|
1307
|
+
readonly payload: {
|
|
1308
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
1309
|
+
readonly pinnedAt: string;
|
|
1310
|
+
readonly pinOrderKey?: string | undefined;
|
|
1311
|
+
readonly updatedAt: string;
|
|
1312
|
+
};
|
|
1313
|
+
} | {
|
|
1314
|
+
readonly sequence: number;
|
|
1315
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
1316
|
+
readonly aggregateKind: "project" | "thread";
|
|
1317
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
1318
|
+
readonly occurredAt: string;
|
|
1319
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
1320
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
1321
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
1322
|
+
readonly metadata: {
|
|
1323
|
+
readonly providerTurnId?: string | undefined;
|
|
1324
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
1325
|
+
readonly adapterKey?: string | undefined;
|
|
1326
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
1327
|
+
readonly ingestedAt?: string | undefined;
|
|
1328
|
+
};
|
|
1329
|
+
readonly type: "thread.unpinned";
|
|
1330
|
+
readonly payload: {
|
|
1331
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
1332
|
+
readonly updatedAt: string;
|
|
1333
|
+
};
|
|
1334
|
+
} | {
|
|
1335
|
+
readonly sequence: number;
|
|
1336
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
1337
|
+
readonly aggregateKind: "project" | "thread";
|
|
1338
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
1339
|
+
readonly occurredAt: string;
|
|
1340
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
1341
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
1342
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
1343
|
+
readonly metadata: {
|
|
1344
|
+
readonly providerTurnId?: string | undefined;
|
|
1345
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
1346
|
+
readonly adapterKey?: string | undefined;
|
|
1347
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
1348
|
+
readonly ingestedAt?: string | undefined;
|
|
1349
|
+
};
|
|
1350
|
+
readonly type: "thread.pin-reordered";
|
|
1351
|
+
readonly payload: {
|
|
1352
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
1353
|
+
readonly orderKey: string;
|
|
1354
|
+
readonly updatedAt: string;
|
|
1355
|
+
};
|
|
1191
1356
|
} | {
|
|
1192
1357
|
readonly sequence: number;
|
|
1193
1358
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -1208,6 +1373,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
1208
1373
|
readonly payload: {
|
|
1209
1374
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
1210
1375
|
readonly title?: string | undefined;
|
|
1376
|
+
readonly regenerateTitle?: true | undefined;
|
|
1377
|
+
readonly previousTitle?: string | undefined;
|
|
1378
|
+
readonly titleRegeneration?: {
|
|
1379
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
1380
|
+
readonly startedAt: string;
|
|
1381
|
+
} | null | undefined;
|
|
1211
1382
|
readonly modelSelection?: {
|
|
1212
1383
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
1213
1384
|
readonly model: string;
|
|
@@ -1632,6 +1803,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
1632
1803
|
readonly settledAt: string | null;
|
|
1633
1804
|
readonly snoozedUntil?: string | null | undefined;
|
|
1634
1805
|
readonly snoozedAt?: string | null | undefined;
|
|
1806
|
+
readonly pinnedAt?: string | null | undefined;
|
|
1807
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
1808
|
+
readonly titleRegeneration?: {
|
|
1809
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
1810
|
+
readonly startedAt: string;
|
|
1811
|
+
} | null | undefined;
|
|
1635
1812
|
readonly deletedAt: string | null;
|
|
1636
1813
|
readonly messages: readonly {
|
|
1637
1814
|
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
@@ -1693,6 +1870,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
1693
1870
|
readonly updatedAt: string;
|
|
1694
1871
|
} | null;
|
|
1695
1872
|
};
|
|
1873
|
+
readonly page?: {
|
|
1874
|
+
readonly beforeCursor: string | null;
|
|
1875
|
+
readonly hasMore: boolean;
|
|
1876
|
+
readonly snapshotSequence: number;
|
|
1877
|
+
readonly threadSequence?: number;
|
|
1878
|
+
} | undefined;
|
|
1696
1879
|
};
|
|
1697
1880
|
} | {
|
|
1698
1881
|
readonly kind: "event";
|
|
@@ -1738,6 +1921,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
1738
1921
|
readonly value: string | boolean;
|
|
1739
1922
|
}[];
|
|
1740
1923
|
} | null;
|
|
1924
|
+
readonly faviconPath?: string | null | undefined;
|
|
1741
1925
|
readonly scripts: readonly {
|
|
1742
1926
|
readonly id: string;
|
|
1743
1927
|
readonly name: string;
|
|
@@ -1792,6 +1976,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
1792
1976
|
readonly value: string | boolean;
|
|
1793
1977
|
}[];
|
|
1794
1978
|
} | null | undefined;
|
|
1979
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
1980
|
+
readonly faviconPath?: string | null | undefined;
|
|
1795
1981
|
readonly scripts?: readonly {
|
|
1796
1982
|
readonly id: string;
|
|
1797
1983
|
readonly name: string;
|
|
@@ -2013,6 +2199,72 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
2013
2199
|
readonly reason: "activity" | "user";
|
|
2014
2200
|
readonly updatedAt: string;
|
|
2015
2201
|
};
|
|
2202
|
+
} | {
|
|
2203
|
+
readonly sequence: number;
|
|
2204
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
2205
|
+
readonly aggregateKind: "project" | "thread";
|
|
2206
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
2207
|
+
readonly occurredAt: string;
|
|
2208
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
2209
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
2210
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
2211
|
+
readonly metadata: {
|
|
2212
|
+
readonly providerTurnId?: string | undefined;
|
|
2213
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
2214
|
+
readonly adapterKey?: string | undefined;
|
|
2215
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
2216
|
+
readonly ingestedAt?: string | undefined;
|
|
2217
|
+
};
|
|
2218
|
+
readonly type: "thread.pinned";
|
|
2219
|
+
readonly payload: {
|
|
2220
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
2221
|
+
readonly pinnedAt: string;
|
|
2222
|
+
readonly pinOrderKey?: string | undefined;
|
|
2223
|
+
readonly updatedAt: string;
|
|
2224
|
+
};
|
|
2225
|
+
} | {
|
|
2226
|
+
readonly sequence: number;
|
|
2227
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
2228
|
+
readonly aggregateKind: "project" | "thread";
|
|
2229
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
2230
|
+
readonly occurredAt: string;
|
|
2231
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
2232
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
2233
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
2234
|
+
readonly metadata: {
|
|
2235
|
+
readonly providerTurnId?: string | undefined;
|
|
2236
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
2237
|
+
readonly adapterKey?: string | undefined;
|
|
2238
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
2239
|
+
readonly ingestedAt?: string | undefined;
|
|
2240
|
+
};
|
|
2241
|
+
readonly type: "thread.unpinned";
|
|
2242
|
+
readonly payload: {
|
|
2243
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
2244
|
+
readonly updatedAt: string;
|
|
2245
|
+
};
|
|
2246
|
+
} | {
|
|
2247
|
+
readonly sequence: number;
|
|
2248
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
2249
|
+
readonly aggregateKind: "project" | "thread";
|
|
2250
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
2251
|
+
readonly occurredAt: string;
|
|
2252
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
2253
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
2254
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
2255
|
+
readonly metadata: {
|
|
2256
|
+
readonly providerTurnId?: string | undefined;
|
|
2257
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
2258
|
+
readonly adapterKey?: string | undefined;
|
|
2259
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
2260
|
+
readonly ingestedAt?: string | undefined;
|
|
2261
|
+
};
|
|
2262
|
+
readonly type: "thread.pin-reordered";
|
|
2263
|
+
readonly payload: {
|
|
2264
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
2265
|
+
readonly orderKey: string;
|
|
2266
|
+
readonly updatedAt: string;
|
|
2267
|
+
};
|
|
2016
2268
|
} | {
|
|
2017
2269
|
readonly sequence: number;
|
|
2018
2270
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -2033,6 +2285,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
2033
2285
|
readonly payload: {
|
|
2034
2286
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
2035
2287
|
readonly title?: string | undefined;
|
|
2288
|
+
readonly regenerateTitle?: true | undefined;
|
|
2289
|
+
readonly previousTitle?: string | undefined;
|
|
2290
|
+
readonly titleRegeneration?: {
|
|
2291
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
2292
|
+
readonly startedAt: string;
|
|
2293
|
+
} | null | undefined;
|
|
2036
2294
|
readonly modelSelection?: {
|
|
2037
2295
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
2038
2296
|
readonly model: string;
|
|
@@ -2457,12 +2715,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
2457
2715
|
readonly timeoutMs: number;
|
|
2458
2716
|
};
|
|
2459
2717
|
}, 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
|
-
}
|
|
2718
|
+
readonly "previewAutomation.focusHost": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
2719
|
+
readonly clientId: string;
|
|
2720
|
+
readonly environmentId: string & import("effect/Brand").Brand<"EnvironmentId">;
|
|
2721
|
+
readonly connectionId: string;
|
|
2722
|
+
readonly focused: boolean;
|
|
2723
|
+
}, options?: {
|
|
2466
2724
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
2467
2725
|
readonly context?: Context.Context<never> | undefined;
|
|
2468
2726
|
readonly discard?: Discard | undefined;
|
|
@@ -2483,7 +2741,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
2483
2741
|
readonly context?: Context.Context<never> | undefined;
|
|
2484
2742
|
readonly discard?: Discard | undefined;
|
|
2485
2743
|
} | 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:
|
|
2744
|
+
readonly "server.getConfig": <const AsQueue extends boolean = false, const Discard = false>(input: {}, options?: {
|
|
2487
2745
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
2488
2746
|
readonly context?: Context.Context<never> | undefined;
|
|
2489
2747
|
readonly discard?: Discard | undefined;
|
|
@@ -2525,6 +2783,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
2525
2783
|
readonly subProvider?: string | undefined;
|
|
2526
2784
|
readonly isCustom: boolean;
|
|
2527
2785
|
readonly isDefault?: boolean | undefined;
|
|
2786
|
+
readonly isLegacy?: boolean | undefined;
|
|
2528
2787
|
readonly capabilities: {
|
|
2529
2788
|
readonly optionDescriptors?: readonly ({
|
|
2530
2789
|
readonly id: string;
|
|
@@ -2581,13 +2840,14 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
2581
2840
|
readonly output: string | null;
|
|
2582
2841
|
};
|
|
2583
2842
|
}[];
|
|
2843
|
+
readonly threadSnapshotPagination?: boolean;
|
|
2584
2844
|
}, 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:
|
|
2845
|
+
readonly "server.probe": <const AsQueue extends boolean = false, const Discard = false>(input: {}, options?: {
|
|
2586
2846
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
2587
2847
|
readonly context?: Context.Context<never> | undefined;
|
|
2588
2848
|
readonly discard?: Discard | undefined;
|
|
2589
2849
|
} | 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:
|
|
2850
|
+
readonly subscribeTerminalEvents: <const AsQueue extends boolean = false, const Discard = false>(input: {}, options?: {
|
|
2591
2851
|
readonly asQueue?: AsQueue | undefined;
|
|
2592
2852
|
readonly streamBufferSize?: number | undefined;
|
|
2593
2853
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
@@ -2741,7 +3001,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
2741
3001
|
readonly sequence?: number | undefined;
|
|
2742
3002
|
};
|
|
2743
3003
|
}, EnvironmentAuthorizationError | import("effect/unstable/rpc/RpcClientError").RpcClientError, never>;
|
|
2744
|
-
readonly subscribeTerminalMetadata: <const AsQueue extends boolean = false, const Discard = false>(input:
|
|
3004
|
+
readonly subscribeTerminalMetadata: <const AsQueue extends boolean = false, const Discard = false>(input: {}, options?: {
|
|
2745
3005
|
readonly asQueue?: AsQueue | undefined;
|
|
2746
3006
|
readonly streamBufferSize?: number | undefined;
|
|
2747
3007
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
@@ -3011,124 +3271,29 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3011
3271
|
readonly updatedAt: string;
|
|
3012
3272
|
readonly sequence?: number | undefined;
|
|
3013
3273
|
}, 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
|
-
}
|
|
3274
|
+
readonly "terminal.resize": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
3275
|
+
readonly threadId: string;
|
|
3276
|
+
readonly terminalId: string;
|
|
3277
|
+
readonly cols: number;
|
|
3278
|
+
readonly rows: number;
|
|
3279
|
+
}, options?: {
|
|
3020
3280
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
3021
3281
|
readonly context?: Context.Context<never> | undefined;
|
|
3022
3282
|
readonly discard?: Discard | undefined;
|
|
3023
3283
|
} | 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
|
-
}
|
|
3029
|
-
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
3284
|
+
readonly "terminal.write": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
3285
|
+
readonly threadId: string;
|
|
3286
|
+
readonly terminalId: string;
|
|
3287
|
+
readonly data: string;
|
|
3288
|
+
}, options?: {
|
|
3289
|
+
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
3030
3290
|
readonly context?: Context.Context<never> | undefined;
|
|
3031
3291
|
readonly discard?: Discard | undefined;
|
|
3032
3292
|
} | 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>;
|
|
3033
3293
|
}, RpcError, never>;
|
|
3034
3294
|
disconnect: Effect.Effect<void, never, never>;
|
|
3035
3295
|
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
|
-
}> | {
|
|
3296
|
+
readonly "orchestration.dispatchCommand": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
3132
3297
|
readonly type: "project.create";
|
|
3133
3298
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3134
3299
|
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
@@ -3138,10 +3303,10 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3138
3303
|
readonly defaultModelSelection?: {
|
|
3139
3304
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
3140
3305
|
readonly model: string;
|
|
3141
|
-
readonly options?: readonly
|
|
3142
|
-
readonly id:
|
|
3143
|
-
readonly value:
|
|
3144
|
-
}
|
|
3306
|
+
readonly options?: readonly {
|
|
3307
|
+
readonly id: string;
|
|
3308
|
+
readonly value: string | boolean;
|
|
3309
|
+
}[];
|
|
3145
3310
|
} | null | undefined;
|
|
3146
3311
|
readonly createdAt: string;
|
|
3147
3312
|
} | {
|
|
@@ -3153,11 +3318,13 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3153
3318
|
readonly defaultModelSelection?: {
|
|
3154
3319
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
3155
3320
|
readonly model: string;
|
|
3156
|
-
readonly options?: readonly
|
|
3157
|
-
readonly id:
|
|
3158
|
-
readonly value:
|
|
3159
|
-
}
|
|
3321
|
+
readonly options?: readonly {
|
|
3322
|
+
readonly id: string;
|
|
3323
|
+
readonly value: string | boolean;
|
|
3324
|
+
}[];
|
|
3160
3325
|
} | null | undefined;
|
|
3326
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
3327
|
+
readonly faviconPath?: string | null | undefined;
|
|
3161
3328
|
readonly scripts?: readonly {
|
|
3162
3329
|
readonly id: string;
|
|
3163
3330
|
readonly name: string;
|
|
@@ -3172,75 +3339,144 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3172
3339
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3173
3340
|
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
3174
3341
|
readonly force?: boolean | undefined;
|
|
3342
|
+
} | {
|
|
3343
|
+
readonly type: "thread.create";
|
|
3344
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3345
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3346
|
+
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
3347
|
+
readonly title: string;
|
|
3348
|
+
readonly modelSelection: {
|
|
3349
|
+
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
3350
|
+
readonly model: string;
|
|
3351
|
+
readonly options?: readonly {
|
|
3352
|
+
readonly id: string;
|
|
3353
|
+
readonly value: string | boolean;
|
|
3354
|
+
}[];
|
|
3355
|
+
};
|
|
3356
|
+
readonly runtimeMode: "approval-required" | "auto" | "auto-accept-edits" | "full-access";
|
|
3357
|
+
readonly interactionMode: "default" | "plan";
|
|
3358
|
+
readonly branch: string | null;
|
|
3359
|
+
readonly worktreePath: string | null;
|
|
3360
|
+
readonly createdAt: string;
|
|
3361
|
+
} | {
|
|
3362
|
+
readonly type: "thread.delete";
|
|
3363
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3364
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3365
|
+
} | {
|
|
3366
|
+
readonly type: "thread.archive";
|
|
3367
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3368
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3369
|
+
} | {
|
|
3370
|
+
readonly type: "thread.unarchive";
|
|
3371
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3372
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3373
|
+
} | {
|
|
3374
|
+
readonly type: "thread.settle";
|
|
3375
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3376
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3377
|
+
} | {
|
|
3378
|
+
readonly type: "thread.unsettle";
|
|
3379
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3380
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3381
|
+
readonly reason: "user";
|
|
3382
|
+
} | {
|
|
3383
|
+
readonly type: "thread.snooze";
|
|
3384
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3385
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3386
|
+
readonly snoozedUntil: string;
|
|
3387
|
+
} | {
|
|
3388
|
+
readonly type: "thread.unsnooze";
|
|
3389
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3390
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3391
|
+
readonly reason: "user";
|
|
3392
|
+
} | {
|
|
3393
|
+
readonly type: "thread.pin";
|
|
3394
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3395
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3396
|
+
readonly orderKey?: string | undefined;
|
|
3397
|
+
} | {
|
|
3398
|
+
readonly type: "thread.unpin";
|
|
3399
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3400
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3401
|
+
} | {
|
|
3402
|
+
readonly type: "thread.pin.reorder";
|
|
3403
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3404
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3405
|
+
readonly orderKey: string;
|
|
3175
3406
|
} | {
|
|
3176
3407
|
readonly type: "thread.meta.update";
|
|
3177
3408
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3178
3409
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3179
3410
|
readonly title?: string | undefined;
|
|
3411
|
+
readonly regenerateTitle?: true | undefined;
|
|
3180
3412
|
readonly modelSelection?: {
|
|
3181
3413
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
3182
3414
|
readonly model: string;
|
|
3183
|
-
readonly options?: readonly
|
|
3184
|
-
readonly id:
|
|
3185
|
-
readonly value:
|
|
3186
|
-
}
|
|
3415
|
+
readonly options?: readonly {
|
|
3416
|
+
readonly id: string;
|
|
3417
|
+
readonly value: string | boolean;
|
|
3418
|
+
}[];
|
|
3187
3419
|
} | undefined;
|
|
3188
3420
|
readonly branch?: string | null | undefined;
|
|
3189
3421
|
readonly expectedBranch?: string | null | undefined;
|
|
3190
3422
|
readonly worktreePath?: string | null | undefined;
|
|
3423
|
+
} | {
|
|
3424
|
+
readonly type: "thread.runtime-mode.set";
|
|
3425
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3426
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3427
|
+
readonly runtimeMode: "approval-required" | "auto" | "auto-accept-edits" | "full-access";
|
|
3428
|
+
readonly createdAt: string;
|
|
3429
|
+
} | {
|
|
3430
|
+
readonly type: "thread.interaction-mode.set";
|
|
3431
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3432
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3433
|
+
readonly interactionMode: "default" | "plan";
|
|
3434
|
+
readonly createdAt: string;
|
|
3191
3435
|
} | {
|
|
3192
3436
|
readonly type: "thread.turn.start";
|
|
3193
3437
|
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3194
3438
|
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
|
-
}
|
|
3439
|
+
readonly message: {
|
|
3440
|
+
readonly messageId: string & import("effect/Brand").Brand<"MessageId">;
|
|
3441
|
+
readonly role: "user";
|
|
3442
|
+
readonly text: string;
|
|
3443
|
+
readonly attachments: readonly {
|
|
3444
|
+
readonly type: "image";
|
|
3445
|
+
readonly name: string;
|
|
3446
|
+
readonly mimeType: string;
|
|
3447
|
+
readonly sizeBytes: number;
|
|
3448
|
+
readonly dataUrl: string;
|
|
3449
|
+
}[];
|
|
3450
|
+
};
|
|
3207
3451
|
readonly modelSelection?: {
|
|
3208
3452
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
3209
3453
|
readonly model: string;
|
|
3210
|
-
readonly options?: readonly
|
|
3211
|
-
readonly id:
|
|
3212
|
-
readonly value:
|
|
3213
|
-
}
|
|
3454
|
+
readonly options?: readonly {
|
|
3455
|
+
readonly id: string;
|
|
3456
|
+
readonly value: string | boolean;
|
|
3457
|
+
}[];
|
|
3214
3458
|
} | undefined;
|
|
3215
3459
|
readonly titleSeed?: string | undefined;
|
|
3216
3460
|
readonly runtimeMode: "approval-required" | "auto" | "auto-accept-edits" | "full-access";
|
|
3217
3461
|
readonly interactionMode: "default" | "plan";
|
|
3218
3462
|
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;
|
|
3463
|
+
readonly createThread?: {
|
|
3464
|
+
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
3465
|
+
readonly title: string;
|
|
3466
|
+
readonly modelSelection: {
|
|
3467
|
+
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
3468
|
+
readonly model: string;
|
|
3469
|
+
readonly options?: readonly {
|
|
3470
|
+
readonly id: string;
|
|
3471
|
+
readonly value: string | boolean;
|
|
3472
|
+
}[];
|
|
3473
|
+
};
|
|
3474
|
+
readonly runtimeMode: "approval-required" | "auto" | "auto-accept-edits" | "full-access";
|
|
3475
|
+
readonly interactionMode: "default" | "plan";
|
|
3476
|
+
readonly branch: string | null;
|
|
3477
|
+
readonly worktreePath: string | null;
|
|
3478
|
+
readonly createdAt: string;
|
|
3479
|
+
} | undefined;
|
|
3244
3480
|
readonly prepareWorktree?: {
|
|
3245
3481
|
readonly projectCwd: string;
|
|
3246
3482
|
readonly baseBranch: string;
|
|
@@ -3249,10 +3485,10 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3249
3485
|
} | undefined;
|
|
3250
3486
|
readonly runSetupScript?: boolean | undefined;
|
|
3251
3487
|
} | undefined;
|
|
3252
|
-
readonly sourceProposedPlan?:
|
|
3253
|
-
readonly threadId: import("effect/
|
|
3254
|
-
readonly planId:
|
|
3255
|
-
}
|
|
3488
|
+
readonly sourceProposedPlan?: {
|
|
3489
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3490
|
+
readonly planId: string;
|
|
3491
|
+
} | undefined;
|
|
3256
3492
|
readonly createdAt: string;
|
|
3257
3493
|
} | {
|
|
3258
3494
|
readonly type: "thread.turn.interrupt";
|
|
@@ -3260,6 +3496,34 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3260
3496
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3261
3497
|
readonly turnId?: (string & import("effect/Brand").Brand<"TurnId">) | undefined;
|
|
3262
3498
|
readonly createdAt: string;
|
|
3499
|
+
} | {
|
|
3500
|
+
readonly type: "thread.approval.respond";
|
|
3501
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3502
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3503
|
+
readonly requestId: string & import("effect/Brand").Brand<"ApprovalRequestId">;
|
|
3504
|
+
readonly decision: "accept" | "acceptForSession" | "cancel" | "decline";
|
|
3505
|
+
readonly createdAt: string;
|
|
3506
|
+
} | {
|
|
3507
|
+
readonly type: "thread.user-input.respond";
|
|
3508
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3509
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3510
|
+
readonly requestId: string & import("effect/Brand").Brand<"ApprovalRequestId">;
|
|
3511
|
+
readonly answers: {
|
|
3512
|
+
readonly [x: string]: unknown;
|
|
3513
|
+
};
|
|
3514
|
+
readonly createdAt: string;
|
|
3515
|
+
} | {
|
|
3516
|
+
readonly type: "thread.checkpoint.revert";
|
|
3517
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3518
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3519
|
+
readonly turnCount: number;
|
|
3520
|
+
readonly createdAt: string;
|
|
3521
|
+
} | {
|
|
3522
|
+
readonly type: "thread.session.stop";
|
|
3523
|
+
readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3524
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3525
|
+
readonly createdAt: string;
|
|
3526
|
+
readonly onlyIfSettled?: boolean | undefined;
|
|
3263
3527
|
}, options?: {
|
|
3264
3528
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
3265
3529
|
readonly context?: Context.Context<never> | undefined;
|
|
@@ -3267,7 +3531,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3267
3531
|
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
3268
3532
|
readonly sequence: number;
|
|
3269
3533
|
}, 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:
|
|
3534
|
+
readonly "orchestration.getArchivedShellSnapshot": <const AsQueue extends boolean = false, const Discard = false>(input: {}, options?: {
|
|
3271
3535
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
3272
3536
|
readonly context?: Context.Context<never> | undefined;
|
|
3273
3537
|
readonly discard?: Discard | undefined;
|
|
@@ -3298,6 +3562,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3298
3562
|
readonly value: string | boolean;
|
|
3299
3563
|
}[];
|
|
3300
3564
|
} | null;
|
|
3565
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
3566
|
+
readonly faviconPath?: string | null | undefined;
|
|
3301
3567
|
readonly scripts: readonly {
|
|
3302
3568
|
readonly id: string;
|
|
3303
3569
|
readonly name: string;
|
|
@@ -3345,6 +3611,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3345
3611
|
readonly settledAt: string | null;
|
|
3346
3612
|
readonly snoozedUntil?: string | null | undefined;
|
|
3347
3613
|
readonly snoozedAt?: string | null | undefined;
|
|
3614
|
+
readonly pinnedAt?: string | null | undefined;
|
|
3615
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
3616
|
+
readonly titleRegeneration?: {
|
|
3617
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3618
|
+
readonly startedAt: string;
|
|
3619
|
+
} | null | undefined;
|
|
3348
3620
|
readonly session: {
|
|
3349
3621
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3350
3622
|
readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
|
|
@@ -3359,9 +3631,31 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3359
3631
|
readonly hasPendingApprovals: boolean;
|
|
3360
3632
|
readonly hasPendingUserInput: boolean;
|
|
3361
3633
|
readonly hasActionableProposedPlan: boolean;
|
|
3634
|
+
readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
|
|
3635
|
+
readonly planProgress?: {
|
|
3636
|
+
readonly step: string;
|
|
3637
|
+
readonly completedSteps: number;
|
|
3638
|
+
readonly totalSteps: number;
|
|
3639
|
+
} | null | undefined;
|
|
3362
3640
|
}[];
|
|
3363
3641
|
readonly updatedAt: string;
|
|
3364
3642
|
}, import("effect/unstable/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : EnvironmentAuthorizationError | OrchestrationGetSnapshotError), never>;
|
|
3643
|
+
readonly "orchestration.searchThreads": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
3644
|
+
readonly query: string;
|
|
3645
|
+
readonly limit?: number;
|
|
3646
|
+
}, options?: {
|
|
3647
|
+
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
3648
|
+
readonly context?: Context.Context<never> | undefined;
|
|
3649
|
+
readonly discard?: Discard | undefined;
|
|
3650
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
3651
|
+
readonly matches: readonly {
|
|
3652
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3653
|
+
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
3654
|
+
readonly source: "assistant" | "user";
|
|
3655
|
+
readonly snippet: string;
|
|
3656
|
+
readonly messageCreatedAt: string | null;
|
|
3657
|
+
}[];
|
|
3658
|
+
}, import("effect/unstable/rpc/RpcClientError").RpcClientError | (Discard extends true ? never : EnvironmentAuthorizationError | OrchestrationSearchThreadsError), never>;
|
|
3365
3659
|
readonly "orchestration.subscribeShell": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
3366
3660
|
readonly afterSequence?: number;
|
|
3367
3661
|
readonly requestCompletionMarker?: boolean;
|
|
@@ -3401,6 +3695,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3401
3695
|
readonly value: string | boolean;
|
|
3402
3696
|
}[];
|
|
3403
3697
|
} | null;
|
|
3698
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
3699
|
+
readonly faviconPath?: string | null | undefined;
|
|
3404
3700
|
readonly scripts: readonly {
|
|
3405
3701
|
readonly id: string;
|
|
3406
3702
|
readonly name: string;
|
|
@@ -3448,6 +3744,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3448
3744
|
readonly settledAt: string | null;
|
|
3449
3745
|
readonly snoozedUntil?: string | null | undefined;
|
|
3450
3746
|
readonly snoozedAt?: string | null | undefined;
|
|
3747
|
+
readonly pinnedAt?: string | null | undefined;
|
|
3748
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
3749
|
+
readonly titleRegeneration?: {
|
|
3750
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3751
|
+
readonly startedAt: string;
|
|
3752
|
+
} | null | undefined;
|
|
3451
3753
|
readonly session: {
|
|
3452
3754
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3453
3755
|
readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
|
|
@@ -3462,6 +3764,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3462
3764
|
readonly hasPendingApprovals: boolean;
|
|
3463
3765
|
readonly hasPendingUserInput: boolean;
|
|
3464
3766
|
readonly hasActionableProposedPlan: boolean;
|
|
3767
|
+
readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
|
|
3768
|
+
readonly planProgress?: {
|
|
3769
|
+
readonly step: string;
|
|
3770
|
+
readonly completedSteps: number;
|
|
3771
|
+
readonly totalSteps: number;
|
|
3772
|
+
} | null | undefined;
|
|
3465
3773
|
}[];
|
|
3466
3774
|
readonly updatedAt: string;
|
|
3467
3775
|
};
|
|
@@ -3493,6 +3801,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3493
3801
|
readonly value: string | boolean;
|
|
3494
3802
|
}[];
|
|
3495
3803
|
} | null;
|
|
3804
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
3805
|
+
readonly faviconPath?: string | null | undefined;
|
|
3496
3806
|
readonly scripts: readonly {
|
|
3497
3807
|
readonly id: string;
|
|
3498
3808
|
readonly name: string;
|
|
@@ -3547,6 +3857,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3547
3857
|
readonly settledAt: string | null;
|
|
3548
3858
|
readonly snoozedUntil?: string | null | undefined;
|
|
3549
3859
|
readonly snoozedAt?: string | null | undefined;
|
|
3860
|
+
readonly pinnedAt?: string | null | undefined;
|
|
3861
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
3862
|
+
readonly titleRegeneration?: {
|
|
3863
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3864
|
+
readonly startedAt: string;
|
|
3865
|
+
} | null | undefined;
|
|
3550
3866
|
readonly session: {
|
|
3551
3867
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3552
3868
|
readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
|
|
@@ -3561,6 +3877,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3561
3877
|
readonly hasPendingApprovals: boolean;
|
|
3562
3878
|
readonly hasPendingUserInput: boolean;
|
|
3563
3879
|
readonly hasActionableProposedPlan: boolean;
|
|
3880
|
+
readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
|
|
3881
|
+
readonly planProgress?: {
|
|
3882
|
+
readonly step: string;
|
|
3883
|
+
readonly completedSteps: number;
|
|
3884
|
+
readonly totalSteps: number;
|
|
3885
|
+
} | null | undefined;
|
|
3564
3886
|
};
|
|
3565
3887
|
} | {
|
|
3566
3888
|
readonly kind: "thread-removed";
|
|
@@ -3597,6 +3919,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3597
3919
|
readonly value: string | boolean;
|
|
3598
3920
|
}[];
|
|
3599
3921
|
} | null;
|
|
3922
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
3923
|
+
readonly faviconPath?: string | null | undefined;
|
|
3600
3924
|
readonly scripts: readonly {
|
|
3601
3925
|
readonly id: string;
|
|
3602
3926
|
readonly name: string;
|
|
@@ -3644,6 +3968,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3644
3968
|
readonly settledAt: string | null;
|
|
3645
3969
|
readonly snoozedUntil?: string | null | undefined;
|
|
3646
3970
|
readonly snoozedAt?: string | null | undefined;
|
|
3971
|
+
readonly pinnedAt?: string | null | undefined;
|
|
3972
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
3973
|
+
readonly titleRegeneration?: {
|
|
3974
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
3975
|
+
readonly startedAt: string;
|
|
3976
|
+
} | null | undefined;
|
|
3647
3977
|
readonly session: {
|
|
3648
3978
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3649
3979
|
readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
|
|
@@ -3658,6 +3988,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3658
3988
|
readonly hasPendingApprovals: boolean;
|
|
3659
3989
|
readonly hasPendingUserInput: boolean;
|
|
3660
3990
|
readonly hasActionableProposedPlan: boolean;
|
|
3991
|
+
readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
|
|
3992
|
+
readonly planProgress?: {
|
|
3993
|
+
readonly step: string;
|
|
3994
|
+
readonly completedSteps: number;
|
|
3995
|
+
readonly totalSteps: number;
|
|
3996
|
+
} | null | undefined;
|
|
3661
3997
|
}[];
|
|
3662
3998
|
readonly updatedAt: string;
|
|
3663
3999
|
};
|
|
@@ -3689,6 +4025,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3689
4025
|
readonly value: string | boolean;
|
|
3690
4026
|
}[];
|
|
3691
4027
|
} | null;
|
|
4028
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
4029
|
+
readonly faviconPath?: string | null | undefined;
|
|
3692
4030
|
readonly scripts: readonly {
|
|
3693
4031
|
readonly id: string;
|
|
3694
4032
|
readonly name: string;
|
|
@@ -3743,6 +4081,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3743
4081
|
readonly settledAt: string | null;
|
|
3744
4082
|
readonly snoozedUntil?: string | null | undefined;
|
|
3745
4083
|
readonly snoozedAt?: string | null | undefined;
|
|
4084
|
+
readonly pinnedAt?: string | null | undefined;
|
|
4085
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
4086
|
+
readonly titleRegeneration?: {
|
|
4087
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
4088
|
+
readonly startedAt: string;
|
|
4089
|
+
} | null | undefined;
|
|
3746
4090
|
readonly session: {
|
|
3747
4091
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3748
4092
|
readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
|
|
@@ -3757,6 +4101,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3757
4101
|
readonly hasPendingApprovals: boolean;
|
|
3758
4102
|
readonly hasPendingUserInput: boolean;
|
|
3759
4103
|
readonly hasActionableProposedPlan: boolean;
|
|
4104
|
+
readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
|
|
4105
|
+
readonly planProgress?: {
|
|
4106
|
+
readonly step: string;
|
|
4107
|
+
readonly completedSteps: number;
|
|
4108
|
+
readonly totalSteps: number;
|
|
4109
|
+
} | null | undefined;
|
|
3760
4110
|
};
|
|
3761
4111
|
} | {
|
|
3762
4112
|
readonly kind: "thread-removed";
|
|
@@ -3767,6 +4117,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3767
4117
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
3768
4118
|
readonly afterSequence?: number;
|
|
3769
4119
|
readonly requestCompletionMarker?: boolean;
|
|
4120
|
+
readonly turnLimit?: number;
|
|
3770
4121
|
}, options?: {
|
|
3771
4122
|
readonly asQueue?: AsQueue | undefined;
|
|
3772
4123
|
readonly streamBufferSize?: number | undefined;
|
|
@@ -3813,6 +4164,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3813
4164
|
readonly settledAt: string | null;
|
|
3814
4165
|
readonly snoozedUntil?: string | null | undefined;
|
|
3815
4166
|
readonly snoozedAt?: string | null | undefined;
|
|
4167
|
+
readonly pinnedAt?: string | null | undefined;
|
|
4168
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
4169
|
+
readonly titleRegeneration?: {
|
|
4170
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
4171
|
+
readonly startedAt: string;
|
|
4172
|
+
} | null | undefined;
|
|
3816
4173
|
readonly deletedAt: string | null;
|
|
3817
4174
|
readonly messages: readonly {
|
|
3818
4175
|
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
@@ -3874,6 +4231,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3874
4231
|
readonly updatedAt: string;
|
|
3875
4232
|
} | null;
|
|
3876
4233
|
};
|
|
4234
|
+
readonly page?: {
|
|
4235
|
+
readonly beforeCursor: string | null;
|
|
4236
|
+
readonly hasMore: boolean;
|
|
4237
|
+
readonly snapshotSequence: number;
|
|
4238
|
+
readonly threadSequence?: number;
|
|
4239
|
+
} | undefined;
|
|
3877
4240
|
};
|
|
3878
4241
|
} | {
|
|
3879
4242
|
readonly kind: "event";
|
|
@@ -3919,6 +4282,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3919
4282
|
readonly value: string | boolean;
|
|
3920
4283
|
}[];
|
|
3921
4284
|
} | null;
|
|
4285
|
+
readonly faviconPath?: string | null | undefined;
|
|
3922
4286
|
readonly scripts: readonly {
|
|
3923
4287
|
readonly id: string;
|
|
3924
4288
|
readonly name: string;
|
|
@@ -3973,6 +4337,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
3973
4337
|
readonly value: string | boolean;
|
|
3974
4338
|
}[];
|
|
3975
4339
|
} | null | undefined;
|
|
4340
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
4341
|
+
readonly faviconPath?: string | null | undefined;
|
|
3976
4342
|
readonly scripts?: readonly {
|
|
3977
4343
|
readonly id: string;
|
|
3978
4344
|
readonly name: string;
|
|
@@ -4194,6 +4560,72 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
4194
4560
|
readonly reason: "activity" | "user";
|
|
4195
4561
|
readonly updatedAt: string;
|
|
4196
4562
|
};
|
|
4563
|
+
} | {
|
|
4564
|
+
readonly sequence: number;
|
|
4565
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
4566
|
+
readonly aggregateKind: "project" | "thread";
|
|
4567
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
4568
|
+
readonly occurredAt: string;
|
|
4569
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
4570
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
4571
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
4572
|
+
readonly metadata: {
|
|
4573
|
+
readonly providerTurnId?: string | undefined;
|
|
4574
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
4575
|
+
readonly adapterKey?: string | undefined;
|
|
4576
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
4577
|
+
readonly ingestedAt?: string | undefined;
|
|
4578
|
+
};
|
|
4579
|
+
readonly type: "thread.pinned";
|
|
4580
|
+
readonly payload: {
|
|
4581
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
4582
|
+
readonly pinnedAt: string;
|
|
4583
|
+
readonly pinOrderKey?: string | undefined;
|
|
4584
|
+
readonly updatedAt: string;
|
|
4585
|
+
};
|
|
4586
|
+
} | {
|
|
4587
|
+
readonly sequence: number;
|
|
4588
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
4589
|
+
readonly aggregateKind: "project" | "thread";
|
|
4590
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
4591
|
+
readonly occurredAt: string;
|
|
4592
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
4593
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
4594
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
4595
|
+
readonly metadata: {
|
|
4596
|
+
readonly providerTurnId?: string | undefined;
|
|
4597
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
4598
|
+
readonly adapterKey?: string | undefined;
|
|
4599
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
4600
|
+
readonly ingestedAt?: string | undefined;
|
|
4601
|
+
};
|
|
4602
|
+
readonly type: "thread.unpinned";
|
|
4603
|
+
readonly payload: {
|
|
4604
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
4605
|
+
readonly updatedAt: string;
|
|
4606
|
+
};
|
|
4607
|
+
} | {
|
|
4608
|
+
readonly sequence: number;
|
|
4609
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
4610
|
+
readonly aggregateKind: "project" | "thread";
|
|
4611
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
4612
|
+
readonly occurredAt: string;
|
|
4613
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
4614
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
4615
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
4616
|
+
readonly metadata: {
|
|
4617
|
+
readonly providerTurnId?: string | undefined;
|
|
4618
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
4619
|
+
readonly adapterKey?: string | undefined;
|
|
4620
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
4621
|
+
readonly ingestedAt?: string | undefined;
|
|
4622
|
+
};
|
|
4623
|
+
readonly type: "thread.pin-reordered";
|
|
4624
|
+
readonly payload: {
|
|
4625
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
4626
|
+
readonly orderKey: string;
|
|
4627
|
+
readonly updatedAt: string;
|
|
4628
|
+
};
|
|
4197
4629
|
} | {
|
|
4198
4630
|
readonly sequence: number;
|
|
4199
4631
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -4214,6 +4646,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
4214
4646
|
readonly payload: {
|
|
4215
4647
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
4216
4648
|
readonly title?: string | undefined;
|
|
4649
|
+
readonly regenerateTitle?: true | undefined;
|
|
4650
|
+
readonly previousTitle?: string | undefined;
|
|
4651
|
+
readonly titleRegeneration?: {
|
|
4652
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
4653
|
+
readonly startedAt: string;
|
|
4654
|
+
} | null | undefined;
|
|
4217
4655
|
readonly modelSelection?: {
|
|
4218
4656
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
4219
4657
|
readonly model: string;
|
|
@@ -4638,6 +5076,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
4638
5076
|
readonly settledAt: string | null;
|
|
4639
5077
|
readonly snoozedUntil?: string | null | undefined;
|
|
4640
5078
|
readonly snoozedAt?: string | null | undefined;
|
|
5079
|
+
readonly pinnedAt?: string | null | undefined;
|
|
5080
|
+
readonly pinOrderKey?: string | null | undefined;
|
|
5081
|
+
readonly titleRegeneration?: {
|
|
5082
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
5083
|
+
readonly startedAt: string;
|
|
5084
|
+
} | null | undefined;
|
|
4641
5085
|
readonly deletedAt: string | null;
|
|
4642
5086
|
readonly messages: readonly {
|
|
4643
5087
|
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
@@ -4699,6 +5143,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
4699
5143
|
readonly updatedAt: string;
|
|
4700
5144
|
} | null;
|
|
4701
5145
|
};
|
|
5146
|
+
readonly page?: {
|
|
5147
|
+
readonly beforeCursor: string | null;
|
|
5148
|
+
readonly hasMore: boolean;
|
|
5149
|
+
readonly snapshotSequence: number;
|
|
5150
|
+
readonly threadSequence?: number;
|
|
5151
|
+
} | undefined;
|
|
4702
5152
|
};
|
|
4703
5153
|
} | {
|
|
4704
5154
|
readonly kind: "event";
|
|
@@ -4744,6 +5194,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
4744
5194
|
readonly value: string | boolean;
|
|
4745
5195
|
}[];
|
|
4746
5196
|
} | null;
|
|
5197
|
+
readonly faviconPath?: string | null | undefined;
|
|
4747
5198
|
readonly scripts: readonly {
|
|
4748
5199
|
readonly id: string;
|
|
4749
5200
|
readonly name: string;
|
|
@@ -4798,6 +5249,8 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
4798
5249
|
readonly value: string | boolean;
|
|
4799
5250
|
}[];
|
|
4800
5251
|
} | null | undefined;
|
|
5252
|
+
readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
|
|
5253
|
+
readonly faviconPath?: string | null | undefined;
|
|
4801
5254
|
readonly scripts?: readonly {
|
|
4802
5255
|
readonly id: string;
|
|
4803
5256
|
readonly name: string;
|
|
@@ -5019,6 +5472,72 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
5019
5472
|
readonly reason: "activity" | "user";
|
|
5020
5473
|
readonly updatedAt: string;
|
|
5021
5474
|
};
|
|
5475
|
+
} | {
|
|
5476
|
+
readonly sequence: number;
|
|
5477
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
5478
|
+
readonly aggregateKind: "project" | "thread";
|
|
5479
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
5480
|
+
readonly occurredAt: string;
|
|
5481
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
5482
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
5483
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
5484
|
+
readonly metadata: {
|
|
5485
|
+
readonly providerTurnId?: string | undefined;
|
|
5486
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
5487
|
+
readonly adapterKey?: string | undefined;
|
|
5488
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
5489
|
+
readonly ingestedAt?: string | undefined;
|
|
5490
|
+
};
|
|
5491
|
+
readonly type: "thread.pinned";
|
|
5492
|
+
readonly payload: {
|
|
5493
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
5494
|
+
readonly pinnedAt: string;
|
|
5495
|
+
readonly pinOrderKey?: string | undefined;
|
|
5496
|
+
readonly updatedAt: string;
|
|
5497
|
+
};
|
|
5498
|
+
} | {
|
|
5499
|
+
readonly sequence: number;
|
|
5500
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
5501
|
+
readonly aggregateKind: "project" | "thread";
|
|
5502
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
5503
|
+
readonly occurredAt: string;
|
|
5504
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
5505
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
5506
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
5507
|
+
readonly metadata: {
|
|
5508
|
+
readonly providerTurnId?: string | undefined;
|
|
5509
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
5510
|
+
readonly adapterKey?: string | undefined;
|
|
5511
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
5512
|
+
readonly ingestedAt?: string | undefined;
|
|
5513
|
+
};
|
|
5514
|
+
readonly type: "thread.unpinned";
|
|
5515
|
+
readonly payload: {
|
|
5516
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
5517
|
+
readonly updatedAt: string;
|
|
5518
|
+
};
|
|
5519
|
+
} | {
|
|
5520
|
+
readonly sequence: number;
|
|
5521
|
+
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
5522
|
+
readonly aggregateKind: "project" | "thread";
|
|
5523
|
+
readonly aggregateId: (string & import("effect/Brand").Brand<"ProjectId">) | (string & import("effect/Brand").Brand<"ThreadId">);
|
|
5524
|
+
readonly occurredAt: string;
|
|
5525
|
+
readonly commandId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
5526
|
+
readonly causationEventId: (string & import("effect/Brand").Brand<"EventId">) | null;
|
|
5527
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"CommandId">) | null;
|
|
5528
|
+
readonly metadata: {
|
|
5529
|
+
readonly providerTurnId?: string | undefined;
|
|
5530
|
+
readonly providerItemId?: (string & import("effect/Brand").Brand<"ProviderItemId">) | undefined;
|
|
5531
|
+
readonly adapterKey?: string | undefined;
|
|
5532
|
+
readonly requestId?: (string & import("effect/Brand").Brand<"ApprovalRequestId">) | undefined;
|
|
5533
|
+
readonly ingestedAt?: string | undefined;
|
|
5534
|
+
};
|
|
5535
|
+
readonly type: "thread.pin-reordered";
|
|
5536
|
+
readonly payload: {
|
|
5537
|
+
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
5538
|
+
readonly orderKey: string;
|
|
5539
|
+
readonly updatedAt: string;
|
|
5540
|
+
};
|
|
5022
5541
|
} | {
|
|
5023
5542
|
readonly sequence: number;
|
|
5024
5543
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -5039,6 +5558,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
5039
5558
|
readonly payload: {
|
|
5040
5559
|
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
5041
5560
|
readonly title?: string | undefined;
|
|
5561
|
+
readonly regenerateTitle?: true | undefined;
|
|
5562
|
+
readonly previousTitle?: string | undefined;
|
|
5563
|
+
readonly titleRegeneration?: {
|
|
5564
|
+
readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
|
|
5565
|
+
readonly startedAt: string;
|
|
5566
|
+
} | null | undefined;
|
|
5042
5567
|
readonly modelSelection?: {
|
|
5043
5568
|
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
5044
5569
|
readonly model: string;
|
|
@@ -5463,12 +5988,12 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
5463
5988
|
readonly timeoutMs: number;
|
|
5464
5989
|
};
|
|
5465
5990
|
}, 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
|
-
}
|
|
5991
|
+
readonly "previewAutomation.focusHost": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
5992
|
+
readonly clientId: string;
|
|
5993
|
+
readonly environmentId: string & import("effect/Brand").Brand<"EnvironmentId">;
|
|
5994
|
+
readonly connectionId: string;
|
|
5995
|
+
readonly focused: boolean;
|
|
5996
|
+
}, options?: {
|
|
5472
5997
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
5473
5998
|
readonly context?: Context.Context<never> | undefined;
|
|
5474
5999
|
readonly discard?: Discard | undefined;
|
|
@@ -5489,7 +6014,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
5489
6014
|
readonly context?: Context.Context<never> | undefined;
|
|
5490
6015
|
readonly discard?: Discard | undefined;
|
|
5491
6016
|
} | 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:
|
|
6017
|
+
readonly "server.getConfig": <const AsQueue extends boolean = false, const Discard = false>(input: {}, options?: {
|
|
5493
6018
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
5494
6019
|
readonly context?: Context.Context<never> | undefined;
|
|
5495
6020
|
readonly discard?: Discard | undefined;
|
|
@@ -5531,6 +6056,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
5531
6056
|
readonly subProvider?: string | undefined;
|
|
5532
6057
|
readonly isCustom: boolean;
|
|
5533
6058
|
readonly isDefault?: boolean | undefined;
|
|
6059
|
+
readonly isLegacy?: boolean | undefined;
|
|
5534
6060
|
readonly capabilities: {
|
|
5535
6061
|
readonly optionDescriptors?: readonly ({
|
|
5536
6062
|
readonly id: string;
|
|
@@ -5587,13 +6113,14 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
5587
6113
|
readonly output: string | null;
|
|
5588
6114
|
};
|
|
5589
6115
|
}[];
|
|
6116
|
+
readonly threadSnapshotPagination?: boolean;
|
|
5590
6117
|
}, 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:
|
|
6118
|
+
readonly "server.probe": <const AsQueue extends boolean = false, const Discard = false>(input: {}, options?: {
|
|
5592
6119
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
5593
6120
|
readonly context?: Context.Context<never> | undefined;
|
|
5594
6121
|
readonly discard?: Discard | undefined;
|
|
5595
6122
|
} | 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:
|
|
6123
|
+
readonly subscribeTerminalEvents: <const AsQueue extends boolean = false, const Discard = false>(input: {}, options?: {
|
|
5597
6124
|
readonly asQueue?: AsQueue | undefined;
|
|
5598
6125
|
readonly streamBufferSize?: number | undefined;
|
|
5599
6126
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
@@ -5747,7 +6274,7 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
5747
6274
|
readonly sequence?: number | undefined;
|
|
5748
6275
|
};
|
|
5749
6276
|
}, EnvironmentAuthorizationError | import("effect/unstable/rpc/RpcClientError").RpcClientError, never>;
|
|
5750
|
-
readonly subscribeTerminalMetadata: <const AsQueue extends boolean = false, const Discard = false>(input:
|
|
6277
|
+
readonly subscribeTerminalMetadata: <const AsQueue extends boolean = false, const Discard = false>(input: {}, options?: {
|
|
5751
6278
|
readonly asQueue?: AsQueue | undefined;
|
|
5752
6279
|
readonly streamBufferSize?: number | undefined;
|
|
5753
6280
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
@@ -6017,21 +6544,21 @@ declare const makeT3RpcLayer: () => Effect.Effect<{
|
|
|
6017
6544
|
readonly updatedAt: string;
|
|
6018
6545
|
readonly sequence?: number | undefined;
|
|
6019
6546
|
}, 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
|
-
}
|
|
6547
|
+
readonly "terminal.resize": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
6548
|
+
readonly threadId: string;
|
|
6549
|
+
readonly terminalId: string;
|
|
6550
|
+
readonly cols: number;
|
|
6551
|
+
readonly rows: number;
|
|
6552
|
+
}, options?: {
|
|
6026
6553
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
6027
6554
|
readonly context?: Context.Context<never> | undefined;
|
|
6028
6555
|
readonly discard?: Discard | undefined;
|
|
6029
6556
|
} | 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
|
-
}
|
|
6557
|
+
readonly "terminal.write": <const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
6558
|
+
readonly threadId: string;
|
|
6559
|
+
readonly terminalId: string;
|
|
6560
|
+
readonly data: string;
|
|
6561
|
+
}, options?: {
|
|
6035
6562
|
readonly headers?: import("effect/unstable/http/Headers").Input | undefined;
|
|
6036
6563
|
readonly context?: Context.Context<never> | undefined;
|
|
6037
6564
|
readonly discard?: Discard | undefined;
|