t3code-cli 0.10.0 → 0.12.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 +75 -11
- package/dist/application.js +2 -2
- package/dist/auth.js +1 -1
- package/dist/bin.js +86754 -2675
- package/dist/cli.js +15 -2
- package/dist/config.js +120 -2
- package/dist/connection.js +2 -12
- package/dist/index.js +1 -1
- package/dist/node.js +6 -0
- package/dist/orchestration.js +2 -2
- package/dist/rpc.js +2 -2
- package/dist/runtime.js +2 -2
- package/dist/shared.js +43850 -38040
- package/dist/src/application/actions.d.ts +25 -0
- package/dist/src/application/index.d.ts +3 -2
- package/dist/src/application/layer.d.ts +99 -842
- package/dist/src/application/model-selection.d.ts +17 -2
- package/dist/src/application/models.d.ts +1 -87
- package/dist/src/application/project-commands.d.ts +31 -2
- package/dist/src/application/projects.d.ts +15 -137
- package/dist/src/application/service.d.ts +147 -5
- package/dist/src/application/shell-sequence.d.ts +5 -4
- package/dist/src/application/terminals.d.ts +66 -0
- package/dist/src/application/thread-commands.d.ts +48 -1
- package/dist/src/application/thread-update.d.ts +8 -0
- package/dist/src/application/thread-wait.d.ts +4 -6
- package/dist/src/application/threads.d.ts +36 -14
- package/dist/src/auth/error.d.ts +2 -1
- package/dist/src/auth/index.d.ts +1 -1
- package/dist/src/auth/layer.d.ts +34 -6
- package/dist/src/auth/local-base-dir.d.ts +5 -2
- package/dist/src/auth/local-origin.d.ts +3 -3
- package/dist/src/auth/local-token.d.ts +3 -3
- package/dist/src/auth/service.d.ts +15 -3
- package/dist/src/auth/type.d.ts +40 -1
- package/dist/src/cli/env/flag.d.ts +2 -0
- package/dist/src/cli/env/index.d.ts +2 -0
- package/dist/src/cli/env/selection-layer.d.ts +3 -0
- package/dist/src/cli/flags.d.ts +5 -0
- package/dist/src/cli/format/index.d.ts +1 -0
- package/dist/src/cli/format/output.d.ts +12 -0
- package/dist/src/cli/index.d.ts +4 -0
- package/dist/src/cli/runtime/index.d.ts +1 -0
- package/dist/src/cli/runtime/service.d.ts +16 -0
- package/dist/src/{scope → cli/scope}/resolve.d.ts +5 -4
- package/dist/src/config/config.d.ts +49 -0
- package/dist/src/config/credential/cipher-node.d.ts +3 -0
- package/dist/src/config/credential/cipher-web.d.ts +3 -0
- package/dist/src/config/credential/cipher.d.ts +29 -0
- package/dist/src/config/credential/env.d.ts +3 -0
- package/dist/src/config/credential/error.d.ts +8 -0
- package/dist/src/config/credential/index.d.ts +6 -0
- package/dist/src/config/credential/service.d.ts +34 -0
- package/dist/src/config/env/env.d.ts +55 -0
- package/dist/src/config/env/index.d.ts +2 -0
- package/dist/src/{layout/base-dir.d.ts → config/env/layout.d.ts} +0 -1
- package/dist/src/config/environment-name/index.d.ts +1 -0
- package/dist/src/config/environment-name/name.d.ts +10 -0
- package/dist/src/config/error.d.ts +4 -11
- package/dist/src/config/index.d.ts +10 -5
- package/dist/src/config/keystore/error.d.ts +8 -0
- package/dist/src/config/keystore/file.d.ts +9 -0
- package/dist/src/config/keystore/index.d.ts +4 -0
- package/dist/src/config/keystore/keyring-node.d.ts +4 -0
- package/dist/src/config/keystore/service.d.ts +33 -0
- package/dist/src/config/paths/index.d.ts +1 -0
- package/dist/src/config/paths/paths.d.ts +6 -0
- package/dist/src/config/persist/file-mode.d.ts +4 -0
- package/dist/src/config/persist/migration.d.ts +68 -0
- package/dist/src/config/persist/persist.d.ts +40 -0
- package/dist/src/config/persist/schema.d.ts +68 -0
- package/dist/src/config/resolve/resolve.d.ts +40 -0
- package/dist/src/config/selection/index.d.ts +1 -0
- package/dist/src/config/selection/resolve.d.ts +4 -0
- package/dist/src/config/selection/service.d.ts +10 -0
- package/dist/src/config/types.d.ts +36 -0
- package/dist/src/config/url/error.d.ts +10 -0
- package/dist/src/config/url/index.d.ts +2 -0
- package/dist/src/connection/index.d.ts +0 -1
- package/dist/src/contracts/index.d.ts +1 -1
- package/dist/src/domain/error.d.ts +27 -1
- package/dist/src/domain/helpers.d.ts +8 -2
- package/dist/src/domain/model-config.d.ts +30 -1
- package/dist/src/domain/thread-activities.d.ts +1 -1
- package/dist/src/domain/thread-lifecycle.d.ts +3 -2
- package/dist/src/index.d.ts +1 -2
- package/dist/src/{connection/node.d.ts → node/connection.d.ts} +1 -1
- package/dist/src/node/index.d.ts +1 -0
- package/dist/src/orchestration/index.d.ts +1 -1
- package/dist/src/orchestration/layer.d.ts +120 -829
- package/dist/src/orchestration/service.d.ts +2 -1
- package/dist/src/rpc/error.d.ts +5 -3
- package/dist/src/rpc/index.d.ts +5 -1
- package/dist/src/rpc/layer.d.ts +1166 -40
- package/dist/src/rpc/operation.d.ts +6280 -0
- package/dist/src/rpc/ws-group.d.ts +372 -27
- package/dist/src/runtime/index.d.ts +1 -2
- package/dist/src/runtime/layer.d.ts +12 -8
- package/dist/src/t3tools/index.d.ts +1 -1
- package/dist/t3tools.js +2 -2
- package/package.json +27 -19
- package/src/application/actions.test.ts +328 -0
- package/src/application/actions.ts +475 -0
- package/src/application/index.ts +32 -2
- package/src/application/layer.ts +43 -5
- package/src/application/model-selection.ts +70 -4
- package/src/application/models.ts +14 -14
- package/src/application/project-commands.ts +38 -5
- package/src/application/projects.ts +49 -20
- package/src/application/service.ts +275 -78
- package/src/application/shell-sequence.ts +6 -8
- package/src/application/terminals.ts +208 -0
- package/src/application/thread-commands.test.ts +43 -0
- package/src/application/thread-commands.ts +82 -1
- package/src/application/thread-update.ts +72 -0
- package/src/application/thread-wait.ts +47 -48
- package/src/application/threads.test.ts +172 -0
- package/src/application/threads.ts +128 -45
- package/src/auth/error.ts +2 -1
- package/src/auth/index.ts +7 -0
- package/src/auth/layer.test-utils.ts +34 -0
- package/src/auth/layer.ts +116 -34
- package/src/auth/local-base-dir.ts +13 -6
- package/src/auth/local-origin.ts +10 -7
- package/src/auth/local-token.ts +28 -23
- package/src/auth/service.test.ts +200 -0
- package/src/auth/service.ts +27 -3
- package/src/auth/transport.ts +2 -2
- package/src/auth/type.ts +47 -1
- package/src/bin.ts +26 -6
- package/src/cli/action-format.ts +110 -0
- package/src/cli/action.ts +398 -0
- package/src/cli/app.ts +8 -0
- package/src/cli/auth.ts +76 -23
- package/src/cli/env/flag.ts +8 -0
- package/src/cli/env/index.ts +2 -0
- package/src/cli/env/selection-layer.test.ts +49 -0
- package/src/cli/env/selection-layer.ts +27 -0
- package/src/cli/env.ts +107 -0
- package/src/cli/error.ts +26 -3
- package/src/cli/extra-args.test.ts +32 -0
- package/src/cli/extra-args.ts +22 -0
- package/src/cli/flags.ts +26 -1
- package/src/cli/format/auth.ts +92 -0
- package/src/cli/format/human.ts +131 -0
- package/src/cli/format/index.ts +12 -0
- package/src/cli/format/model.ts +29 -0
- package/src/cli/format/output.ts +51 -0
- package/src/cli/format/project.ts +32 -0
- package/src/cli/format/terminal.ts +87 -0
- package/src/cli/format/thread.test.ts +34 -0
- package/src/cli/format/thread.ts +185 -0
- package/src/cli/index.ts +20 -0
- package/src/cli/input/layer.ts +20 -0
- package/src/cli/input/service.ts +1 -0
- package/src/cli/interaction/confirm.ts +64 -0
- package/src/cli/interaction/self-action.ts +36 -0
- package/src/cli/message-input.ts +1 -1
- package/src/cli/model.ts +9 -5
- package/src/cli/project.ts +15 -8
- package/src/cli/projects/delete.ts +51 -0
- package/src/cli/require.ts +9 -7
- package/src/cli/runtime/index.ts +1 -0
- package/src/cli/runtime/service.ts +28 -0
- package/src/{scope → cli/scope}/resolve.ts +11 -9
- package/src/cli/terminal/attach.ts +29 -0
- package/src/cli/terminal/create.ts +55 -0
- package/src/cli/terminal/destroy.ts +62 -0
- package/src/cli/terminal/encoding.test.ts +63 -0
- package/src/cli/terminal/encoding.ts +23 -0
- package/src/cli/terminal/error.ts +14 -0
- package/src/cli/terminal/io-node-layer.ts +82 -0
- package/src/cli/terminal/io-service.ts +25 -0
- package/src/cli/terminal/list.ts +36 -0
- package/src/cli/terminal/read.test-utils.ts +48 -0
- package/src/cli/terminal/read.test.ts +35 -0
- package/src/cli/terminal/read.ts +99 -0
- package/src/cli/terminal/scope.ts +35 -0
- package/src/cli/terminal/shared.ts +250 -0
- package/src/cli/terminal/stream.ts +61 -0
- package/src/cli/terminal/wait.test.ts +148 -0
- package/src/cli/terminal/wait.ts +223 -0
- package/src/cli/terminal/write.test.ts +34 -0
- package/src/cli/terminal/write.ts +133 -0
- package/src/cli/terminal.ts +26 -0
- package/src/cli/thread.ts +8 -0
- package/src/cli/threads/approve.ts +11 -7
- package/src/cli/threads/archive.ts +23 -25
- package/src/cli/threads/callback.ts +6 -4
- package/src/cli/threads/delete.ts +67 -0
- package/src/cli/threads/interrupt.ts +57 -0
- package/src/cli/threads/list.test.ts +71 -0
- package/src/cli/threads/list.ts +25 -13
- package/src/cli/threads/messages.ts +11 -7
- package/src/cli/threads/respond.ts +11 -7
- package/src/cli/threads/send.ts +39 -9
- package/src/cli/threads/show.ts +11 -7
- package/src/cli/threads/start.ts +18 -13
- package/src/cli/threads/unarchive.ts +48 -0
- package/src/cli/threads/update.ts +155 -0
- package/src/cli/threads/wait.ts +11 -7
- package/src/cli/wait-events.ts +1 -1
- package/src/config/config.ts +260 -0
- package/src/config/credential/cipher-node.ts +40 -0
- package/src/config/credential/cipher-web.ts +82 -0
- package/src/config/credential/cipher.ts +39 -0
- package/src/config/credential/env.ts +13 -0
- package/src/config/credential/error.ts +9 -0
- package/src/config/credential/index.ts +6 -0
- package/src/config/credential/service.test-utils.ts +25 -0
- package/src/config/credential/service.test.ts +116 -0
- package/src/config/credential/service.ts +205 -0
- package/src/config/env/env.test-utils.ts +14 -0
- package/src/config/env/env.ts +81 -0
- package/src/config/env/index.ts +2 -0
- package/src/{layout/base-dir.ts → config/env/layout.ts} +0 -9
- package/src/config/environment-name/index.ts +7 -0
- package/src/config/environment-name/name.test.ts +66 -0
- package/src/config/environment-name/name.ts +49 -0
- package/src/config/error.ts +6 -8
- package/src/config/index.ts +16 -5
- package/src/config/keystore/error.ts +9 -0
- package/src/config/keystore/file.ts +96 -0
- package/src/config/keystore/index.ts +4 -0
- package/src/config/keystore/keyring-node.test.ts +12 -0
- package/src/config/keystore/keyring-node.ts +100 -0
- package/src/config/keystore/service.test-utils.ts +15 -0
- package/src/config/keystore/service.test.ts +18 -0
- package/src/config/keystore/service.ts +29 -0
- package/src/config/layer.test-utils.ts +45 -0
- package/src/config/layer.test.ts +209 -0
- package/src/config/paths/index.ts +1 -0
- package/src/config/paths/paths.ts +36 -0
- package/src/config/persist/file-mode.ts +21 -0
- package/src/config/persist/migration.test.ts +71 -0
- package/src/config/persist/migration.ts +82 -0
- package/src/config/persist/persist.test.ts +113 -0
- package/src/config/persist/persist.ts +65 -0
- package/src/config/persist/schema.ts +37 -0
- package/src/config/platform.test-utils.ts +20 -0
- package/src/config/resolve/resolve.test-utils.ts +20 -0
- package/src/config/resolve/resolve.test.ts +137 -0
- package/src/config/resolve/resolve.ts +104 -0
- package/src/config/selection/index.ts +1 -0
- package/src/config/selection/resolve.ts +14 -0
- package/src/config/selection/service.ts +29 -0
- package/src/config/temp-home.test-utils.ts +7 -0
- package/src/config/types.ts +49 -0
- package/src/config/url/error.ts +8 -0
- package/src/config/url/index.ts +7 -0
- package/src/config/url/url.test.ts +31 -0
- package/src/connection/index.ts +0 -1
- package/src/contracts/index.ts +1 -1
- package/src/domain/error.ts +39 -1
- package/src/domain/helpers.test.ts +1 -1
- package/src/domain/helpers.ts +1 -1
- package/src/domain/model-config.ts +5 -1
- package/src/domain/thread-activities.test.ts +1 -1
- package/src/domain/thread-activities.ts +1 -1
- package/src/domain/thread-lifecycle.test.ts +1 -1
- package/src/domain/thread-lifecycle.ts +15 -1
- package/src/effect.test-utils.ts +25 -0
- package/src/index.ts +1 -1
- package/src/{connection/node.ts → node/connection.ts} +1 -1
- package/src/node/index.ts +1 -0
- package/src/orchestration/index.ts +1 -1
- package/src/orchestration/layer.ts +34 -86
- package/src/orchestration/service.ts +5 -1
- package/src/rpc/error.ts +12 -2
- package/src/rpc/index.ts +5 -1
- package/src/rpc/layer.ts +1 -1
- package/src/rpc/operation.ts +83 -0
- package/src/rpc/ws-group.ts +25 -1
- package/src/runtime/index.ts +2 -1
- package/src/runtime/layer.test-utils.ts +32 -0
- package/src/runtime/layer.test.ts +66 -0
- package/src/runtime/layer.ts +22 -11
- package/src/t3tools/index.ts +1 -1
- package/src/types/marked-terminal.d.ts +11 -0
- package/dist/layout.js +0 -2
- package/dist/scope.js +0 -2
- package/dist/src/cli/output-format.d.ts +0 -9
- package/dist/src/config/layer.d.ts +0 -22
- package/dist/src/config/service.d.ts +0 -22
- package/dist/src/environment/layer.d.ts +0 -3
- package/dist/src/environment/service.d.ts +0 -12
- package/dist/src/layout/index.d.ts +0 -1
- package/dist/upstream-t3code/packages/contracts/src/auth.d.ts +0 -441
- package/dist/upstream-t3code/packages/contracts/src/baseSchemas.d.ts +0 -38
- package/dist/upstream-t3code/packages/contracts/src/desktopBootstrap.d.ts +0 -14
- package/dist/upstream-t3code/packages/contracts/src/editor.d.ts +0 -124
- package/dist/upstream-t3code/packages/contracts/src/environment.d.ts +0 -64
- package/dist/upstream-t3code/packages/contracts/src/environmentHttp.d.ts +0 -785
- package/dist/upstream-t3code/packages/contracts/src/filesystem.d.ts +0 -26
- package/dist/upstream-t3code/packages/contracts/src/git.d.ts +0 -500
- package/dist/upstream-t3code/packages/contracts/src/index.d.ts +0 -25
- package/dist/upstream-t3code/packages/contracts/src/ipc.d.ts +0 -496
- package/dist/upstream-t3code/packages/contracts/src/keybindings.d.ts +0 -133
- package/dist/upstream-t3code/packages/contracts/src/model.d.ts +0 -112
- package/dist/upstream-t3code/packages/contracts/src/orchestration.d.ts +0 -7338
- package/dist/upstream-t3code/packages/contracts/src/project.d.ts +0 -45
- package/dist/upstream-t3code/packages/contracts/src/provider.d.ts +0 -130
- package/dist/upstream-t3code/packages/contracts/src/providerInstance.d.ts +0 -99
- package/dist/upstream-t3code/packages/contracts/src/providerRuntime.d.ts +0 -4450
- package/dist/upstream-t3code/packages/contracts/src/relay.d.ts +0 -1262
- package/dist/upstream-t3code/packages/contracts/src/relayClient.d.ts +0 -48
- package/dist/upstream-t3code/packages/contracts/src/remoteAccess.d.ts +0 -45
- package/dist/upstream-t3code/packages/contracts/src/review.d.ts +0 -37
- package/dist/upstream-t3code/packages/contracts/src/rpc.d.ts +0 -8710
- package/dist/upstream-t3code/packages/contracts/src/server.d.ts +0 -2336
- package/dist/upstream-t3code/packages/contracts/src/settings.d.ts +0 -292
- package/dist/upstream-t3code/packages/contracts/src/sourceControl.d.ts +0 -177
- package/dist/upstream-t3code/packages/contracts/src/terminal.d.ts +0 -333
- package/dist/upstream-t3code/packages/contracts/src/vcs.d.ts +0 -148
- package/src/cli/auth-format.ts +0 -45
- package/src/cli/model-format.ts +0 -18
- package/src/cli/output-format.ts +0 -41
- package/src/cli/project-format.ts +0 -11
- package/src/cli/thread-format.ts +0 -121
- package/src/config/layer.ts +0 -105
- package/src/config/service.ts +0 -26
- package/src/environment/layer.ts +0 -12
- package/src/environment/service.ts +0 -13
- package/src/layout/index.ts +0 -1
- /package/dist/src/{scope → cli/scope}/index.d.ts +0 -0
- /package/dist/src/config/{url.d.ts → url/url.d.ts} +0 -0
- /package/src/{scope → cli/scope}/index.ts +0 -0
- /package/src/config/{url.ts → url/url.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EnvironmentAuthorizationError, KeybindingsConfigError, OrchestrationDispatchCommandError, OrchestrationGetSnapshotError, ServerSettingsError } from "
|
|
1
|
+
import { EnvironmentAuthorizationError, KeybindingsConfigError, OrchestrationDispatchCommandError, OrchestrationGetSnapshotError, ServerSettingsError, TerminalCwdError, TerminalHistoryError, TerminalNotRunningError, TerminalSessionLookupError } from "@t3tools/contracts";
|
|
2
2
|
import * as Schema from "effect/Schema";
|
|
3
3
|
import { Rpc, RpcGroup } from "effect/unstable/rpc";
|
|
4
4
|
export declare const FallbackServerConfig: Schema.Struct<{
|
|
@@ -113,7 +113,7 @@ export declare const CliServerConfig: Schema.Union<readonly [Schema.Struct<{
|
|
|
113
113
|
readonly cwd: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
114
114
|
readonly keybindingsConfigPath: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
115
115
|
readonly keybindings: Schema.$Array<Schema.Struct<{
|
|
116
|
-
readonly command: Schema.Union<readonly [Schema.Literals<readonly ["terminal.toggle", "terminal.split", "terminal.new", "terminal.close", "diff.toggle", "commandPalette.toggle", "chat.new", "chat.newLocal", "editor.openFavorite", "modelPicker.toggle", "modelPicker.jump.1", "modelPicker.jump.2", "modelPicker.jump.3", "modelPicker.jump.4", "modelPicker.jump.5", "modelPicker.jump.6", "modelPicker.jump.7", "modelPicker.jump.8", "modelPicker.jump.9", "thread.previous", "thread.next", "thread.jump.1", "thread.jump.2", "thread.jump.3", "thread.jump.4", "thread.jump.5", "thread.jump.6", "thread.jump.7", "thread.jump.8", "thread.jump.9"]>, Schema.TemplateLiteral<readonly [Schema.Literal<"script.">, Schema.NonEmptyString, Schema.Literal<".run">]>]>;
|
|
116
|
+
readonly command: Schema.Union<readonly [Schema.Literals<readonly ["terminal.toggle", "terminal.split", "terminal.splitVertical", "terminal.new", "terminal.close", "rightPanel.toggle", "diff.toggle", "preview.toggle", "preview.refresh", "preview.focusUrl", "preview.zoomIn", "preview.zoomOut", "preview.resetZoom", "commandPalette.toggle", "chat.new", "chat.newLocal", "editor.openFavorite", "modelPicker.toggle", "modelPicker.jump.1", "modelPicker.jump.2", "modelPicker.jump.3", "modelPicker.jump.4", "modelPicker.jump.5", "modelPicker.jump.6", "modelPicker.jump.7", "modelPicker.jump.8", "modelPicker.jump.9", "thread.previous", "thread.next", "thread.jump.1", "thread.jump.2", "thread.jump.3", "thread.jump.4", "thread.jump.5", "thread.jump.6", "thread.jump.7", "thread.jump.8", "thread.jump.9"]>, Schema.TemplateLiteral<readonly [Schema.Literal<"script.">, Schema.NonEmptyString, Schema.Literal<".run">]>]>;
|
|
117
117
|
readonly shortcut: Schema.Struct<{
|
|
118
118
|
readonly key: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
119
119
|
readonly metaKey: Schema.Boolean;
|
|
@@ -127,15 +127,15 @@ export declare const CliServerConfig: Schema.Union<readonly [Schema.Struct<{
|
|
|
127
127
|
readonly name: Schema.NonEmptyString;
|
|
128
128
|
}>, Schema.Struct<{
|
|
129
129
|
readonly type: Schema.Literal<"not">;
|
|
130
|
-
readonly node: Schema.suspend<Schema.Codec<import("
|
|
130
|
+
readonly node: Schema.suspend<Schema.Codec<import("@t3tools/contracts").KeybindingWhenNode, import("@t3tools/contracts").KeybindingWhenNode, never, never>>;
|
|
131
131
|
}>, Schema.Struct<{
|
|
132
132
|
readonly type: Schema.Literal<"and">;
|
|
133
|
-
readonly left: Schema.suspend<Schema.Codec<import("
|
|
134
|
-
readonly right: Schema.suspend<Schema.Codec<import("
|
|
133
|
+
readonly left: Schema.suspend<Schema.Codec<import("@t3tools/contracts").KeybindingWhenNode, import("@t3tools/contracts").KeybindingWhenNode, never, never>>;
|
|
134
|
+
readonly right: Schema.suspend<Schema.Codec<import("@t3tools/contracts").KeybindingWhenNode, import("@t3tools/contracts").KeybindingWhenNode, never, never>>;
|
|
135
135
|
}>, Schema.Struct<{
|
|
136
136
|
readonly type: Schema.Literal<"or">;
|
|
137
|
-
readonly left: Schema.suspend<Schema.Codec<import("
|
|
138
|
-
readonly right: Schema.suspend<Schema.Codec<import("
|
|
137
|
+
readonly left: Schema.suspend<Schema.Codec<import("@t3tools/contracts").KeybindingWhenNode, import("@t3tools/contracts").KeybindingWhenNode, never, never>>;
|
|
138
|
+
readonly right: Schema.suspend<Schema.Codec<import("@t3tools/contracts").KeybindingWhenNode, import("@t3tools/contracts").KeybindingWhenNode, never, never>>;
|
|
139
139
|
}>]>>;
|
|
140
140
|
}>>;
|
|
141
141
|
readonly issues: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
@@ -427,7 +427,7 @@ export declare const WsServerGetConfigRpc: Rpc.Rpc<"server.getConfig", Schema.St
|
|
|
427
427
|
readonly cwd: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
428
428
|
readonly keybindingsConfigPath: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
429
429
|
readonly keybindings: Schema.$Array<Schema.Struct<{
|
|
430
|
-
readonly command: Schema.Union<readonly [Schema.Literals<readonly ["terminal.toggle", "terminal.split", "terminal.new", "terminal.close", "diff.toggle", "commandPalette.toggle", "chat.new", "chat.newLocal", "editor.openFavorite", "modelPicker.toggle", "modelPicker.jump.1", "modelPicker.jump.2", "modelPicker.jump.3", "modelPicker.jump.4", "modelPicker.jump.5", "modelPicker.jump.6", "modelPicker.jump.7", "modelPicker.jump.8", "modelPicker.jump.9", "thread.previous", "thread.next", "thread.jump.1", "thread.jump.2", "thread.jump.3", "thread.jump.4", "thread.jump.5", "thread.jump.6", "thread.jump.7", "thread.jump.8", "thread.jump.9"]>, Schema.TemplateLiteral<readonly [Schema.Literal<"script.">, Schema.NonEmptyString, Schema.Literal<".run">]>]>;
|
|
430
|
+
readonly command: Schema.Union<readonly [Schema.Literals<readonly ["terminal.toggle", "terminal.split", "terminal.splitVertical", "terminal.new", "terminal.close", "rightPanel.toggle", "diff.toggle", "preview.toggle", "preview.refresh", "preview.focusUrl", "preview.zoomIn", "preview.zoomOut", "preview.resetZoom", "commandPalette.toggle", "chat.new", "chat.newLocal", "editor.openFavorite", "modelPicker.toggle", "modelPicker.jump.1", "modelPicker.jump.2", "modelPicker.jump.3", "modelPicker.jump.4", "modelPicker.jump.5", "modelPicker.jump.6", "modelPicker.jump.7", "modelPicker.jump.8", "modelPicker.jump.9", "thread.previous", "thread.next", "thread.jump.1", "thread.jump.2", "thread.jump.3", "thread.jump.4", "thread.jump.5", "thread.jump.6", "thread.jump.7", "thread.jump.8", "thread.jump.9"]>, Schema.TemplateLiteral<readonly [Schema.Literal<"script.">, Schema.NonEmptyString, Schema.Literal<".run">]>]>;
|
|
431
431
|
readonly shortcut: Schema.Struct<{
|
|
432
432
|
readonly key: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
433
433
|
readonly metaKey: Schema.Boolean;
|
|
@@ -441,15 +441,15 @@ export declare const WsServerGetConfigRpc: Rpc.Rpc<"server.getConfig", Schema.St
|
|
|
441
441
|
readonly name: Schema.NonEmptyString;
|
|
442
442
|
}>, Schema.Struct<{
|
|
443
443
|
readonly type: Schema.Literal<"not">;
|
|
444
|
-
readonly node: Schema.suspend<Schema.Codec<import("
|
|
444
|
+
readonly node: Schema.suspend<Schema.Codec<import("@t3tools/contracts").KeybindingWhenNode, import("@t3tools/contracts").KeybindingWhenNode, never, never>>;
|
|
445
445
|
}>, Schema.Struct<{
|
|
446
446
|
readonly type: Schema.Literal<"and">;
|
|
447
|
-
readonly left: Schema.suspend<Schema.Codec<import("
|
|
448
|
-
readonly right: Schema.suspend<Schema.Codec<import("
|
|
447
|
+
readonly left: Schema.suspend<Schema.Codec<import("@t3tools/contracts").KeybindingWhenNode, import("@t3tools/contracts").KeybindingWhenNode, never, never>>;
|
|
448
|
+
readonly right: Schema.suspend<Schema.Codec<import("@t3tools/contracts").KeybindingWhenNode, import("@t3tools/contracts").KeybindingWhenNode, never, never>>;
|
|
449
449
|
}>, Schema.Struct<{
|
|
450
450
|
readonly type: Schema.Literal<"or">;
|
|
451
|
-
readonly left: Schema.suspend<Schema.Codec<import("
|
|
452
|
-
readonly right: Schema.suspend<Schema.Codec<import("
|
|
451
|
+
readonly left: Schema.suspend<Schema.Codec<import("@t3tools/contracts").KeybindingWhenNode, import("@t3tools/contracts").KeybindingWhenNode, never, never>>;
|
|
452
|
+
readonly right: Schema.suspend<Schema.Codec<import("@t3tools/contracts").KeybindingWhenNode, import("@t3tools/contracts").KeybindingWhenNode, never, never>>;
|
|
453
453
|
}>]>>;
|
|
454
454
|
}>>;
|
|
455
455
|
readonly issues: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
@@ -718,7 +718,123 @@ export declare const WsServerGetConfigRpc: Rpc.Rpc<"server.getConfig", Schema.St
|
|
|
718
718
|
}>>;
|
|
719
719
|
}>>;
|
|
720
720
|
}>]>, Schema.Union<readonly [typeof KeybindingsConfigError, typeof ServerSettingsError, typeof EnvironmentAuthorizationError]>, never, never>;
|
|
721
|
-
export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"
|
|
721
|
+
export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"terminal.open", Schema.Struct<{
|
|
722
|
+
readonly cwd: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
723
|
+
readonly worktreePath: Schema.optional<Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>>;
|
|
724
|
+
readonly cols: Schema.optional<Schema.Int>;
|
|
725
|
+
readonly rows: Schema.optional<Schema.Int>;
|
|
726
|
+
readonly env: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
727
|
+
readonly projectId: Schema.optional<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ProjectId">>;
|
|
728
|
+
readonly terminalId: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
729
|
+
readonly threadId: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
730
|
+
}>, Schema.Struct<{
|
|
731
|
+
readonly threadId: Schema.String;
|
|
732
|
+
readonly terminalId: Schema.String;
|
|
733
|
+
readonly cwd: Schema.String;
|
|
734
|
+
readonly worktreePath: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
735
|
+
readonly status: Schema.Literals<readonly ["starting", "running", "exited", "error"]>;
|
|
736
|
+
readonly pid: Schema.NullOr<Schema.Int>;
|
|
737
|
+
readonly history: Schema.String;
|
|
738
|
+
readonly exitCode: Schema.NullOr<Schema.Int>;
|
|
739
|
+
readonly exitSignal: Schema.NullOr<Schema.Int>;
|
|
740
|
+
readonly label: Schema.String;
|
|
741
|
+
readonly updatedAt: Schema.String;
|
|
742
|
+
readonly sequence: Schema.optional<Schema.Int>;
|
|
743
|
+
}>, Schema.Union<readonly [Schema.Union<readonly [typeof TerminalCwdError, typeof TerminalHistoryError, typeof TerminalSessionLookupError, typeof TerminalNotRunningError]>, typeof EnvironmentAuthorizationError]>, never, never> | Rpc.Rpc<"terminal.attach", Schema.Struct<{
|
|
744
|
+
readonly cwd: Schema.optional<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
745
|
+
readonly worktreePath: Schema.optional<Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>>;
|
|
746
|
+
readonly cols: Schema.optional<Schema.Int>;
|
|
747
|
+
readonly rows: Schema.optional<Schema.Int>;
|
|
748
|
+
readonly env: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
749
|
+
readonly restartIfNotRunning: Schema.optional<Schema.Boolean>;
|
|
750
|
+
readonly projectId: Schema.optional<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ProjectId">>;
|
|
751
|
+
readonly terminalId: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
752
|
+
readonly threadId: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
753
|
+
}>, import("effect/unstable/rpc/RpcSchema").Stream<Schema.Union<readonly [Schema.Struct<{
|
|
754
|
+
readonly type: Schema.Literal<"snapshot">;
|
|
755
|
+
readonly snapshot: Schema.Struct<{
|
|
756
|
+
readonly threadId: Schema.String;
|
|
757
|
+
readonly terminalId: Schema.String;
|
|
758
|
+
readonly cwd: Schema.String;
|
|
759
|
+
readonly worktreePath: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
760
|
+
readonly status: Schema.Literals<readonly ["starting", "running", "exited", "error"]>;
|
|
761
|
+
readonly pid: Schema.NullOr<Schema.Int>;
|
|
762
|
+
readonly history: Schema.String;
|
|
763
|
+
readonly exitCode: Schema.NullOr<Schema.Int>;
|
|
764
|
+
readonly exitSignal: Schema.NullOr<Schema.Int>;
|
|
765
|
+
readonly label: Schema.String;
|
|
766
|
+
readonly updatedAt: Schema.String;
|
|
767
|
+
readonly sequence: Schema.optional<Schema.Int>;
|
|
768
|
+
}>;
|
|
769
|
+
}>, Schema.Struct<{
|
|
770
|
+
readonly type: Schema.Literal<"output">;
|
|
771
|
+
readonly data: Schema.String;
|
|
772
|
+
readonly threadId: Schema.String;
|
|
773
|
+
readonly terminalId: Schema.String;
|
|
774
|
+
readonly sequence: Schema.optional<Schema.Int>;
|
|
775
|
+
}>, Schema.Struct<{
|
|
776
|
+
readonly type: Schema.Literal<"exited">;
|
|
777
|
+
readonly exitCode: Schema.NullOr<Schema.Int>;
|
|
778
|
+
readonly exitSignal: Schema.NullOr<Schema.Int>;
|
|
779
|
+
readonly threadId: Schema.String;
|
|
780
|
+
readonly terminalId: Schema.String;
|
|
781
|
+
readonly sequence: Schema.optional<Schema.Int>;
|
|
782
|
+
}>, Schema.Struct<{
|
|
783
|
+
readonly type: Schema.Literal<"closed">;
|
|
784
|
+
readonly threadId: Schema.String;
|
|
785
|
+
readonly terminalId: Schema.String;
|
|
786
|
+
readonly sequence: Schema.optional<Schema.Int>;
|
|
787
|
+
}>, Schema.Struct<{
|
|
788
|
+
readonly type: Schema.Literal<"error">;
|
|
789
|
+
readonly message: Schema.String;
|
|
790
|
+
readonly threadId: Schema.String;
|
|
791
|
+
readonly terminalId: Schema.String;
|
|
792
|
+
readonly sequence: Schema.optional<Schema.Int>;
|
|
793
|
+
}>, Schema.Struct<{
|
|
794
|
+
readonly type: Schema.Literal<"cleared">;
|
|
795
|
+
readonly threadId: Schema.String;
|
|
796
|
+
readonly terminalId: Schema.String;
|
|
797
|
+
readonly sequence: Schema.optional<Schema.Int>;
|
|
798
|
+
}>, Schema.Struct<{
|
|
799
|
+
readonly type: Schema.Literal<"restarted">;
|
|
800
|
+
readonly snapshot: Schema.Struct<{
|
|
801
|
+
readonly threadId: Schema.String;
|
|
802
|
+
readonly terminalId: Schema.String;
|
|
803
|
+
readonly cwd: Schema.String;
|
|
804
|
+
readonly worktreePath: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
805
|
+
readonly status: Schema.Literals<readonly ["starting", "running", "exited", "error"]>;
|
|
806
|
+
readonly pid: Schema.NullOr<Schema.Int>;
|
|
807
|
+
readonly history: Schema.String;
|
|
808
|
+
readonly exitCode: Schema.NullOr<Schema.Int>;
|
|
809
|
+
readonly exitSignal: Schema.NullOr<Schema.Int>;
|
|
810
|
+
readonly label: Schema.String;
|
|
811
|
+
readonly updatedAt: Schema.String;
|
|
812
|
+
readonly sequence: Schema.optional<Schema.Int>;
|
|
813
|
+
}>;
|
|
814
|
+
readonly threadId: Schema.String;
|
|
815
|
+
readonly terminalId: Schema.String;
|
|
816
|
+
readonly sequence: Schema.optional<Schema.Int>;
|
|
817
|
+
}>, Schema.Struct<{
|
|
818
|
+
readonly type: Schema.Literal<"activity">;
|
|
819
|
+
readonly hasRunningSubprocess: Schema.Boolean;
|
|
820
|
+
readonly label: Schema.String;
|
|
821
|
+
readonly threadId: Schema.String;
|
|
822
|
+
readonly terminalId: Schema.String;
|
|
823
|
+
readonly sequence: Schema.optional<Schema.Int>;
|
|
824
|
+
}>]>, Schema.Union<readonly [Schema.Union<readonly [typeof TerminalCwdError, typeof TerminalHistoryError, typeof TerminalSessionLookupError, typeof TerminalNotRunningError]>, typeof EnvironmentAuthorizationError]>>, Schema.Never, never, never> | Rpc.Rpc<"terminal.write", Schema.Struct<{
|
|
825
|
+
readonly data: Schema.String;
|
|
826
|
+
readonly terminalId: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
827
|
+
readonly threadId: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
828
|
+
}>, Schema.Void, Schema.Union<readonly [Schema.Union<readonly [typeof TerminalCwdError, typeof TerminalHistoryError, typeof TerminalSessionLookupError, typeof TerminalNotRunningError]>, typeof EnvironmentAuthorizationError]>, never, never> | Rpc.Rpc<"terminal.resize", Schema.Struct<{
|
|
829
|
+
readonly cols: Schema.Int;
|
|
830
|
+
readonly rows: Schema.Int;
|
|
831
|
+
readonly terminalId: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
832
|
+
readonly threadId: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
833
|
+
}>, Schema.Void, Schema.Union<readonly [Schema.Union<readonly [typeof TerminalCwdError, typeof TerminalHistoryError, typeof TerminalSessionLookupError, typeof TerminalNotRunningError]>, typeof EnvironmentAuthorizationError]>, never, never> | Rpc.Rpc<"terminal.close", Schema.Struct<{
|
|
834
|
+
readonly terminalId: Schema.optional<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
835
|
+
readonly deleteHistory: Schema.optional<Schema.Boolean>;
|
|
836
|
+
readonly threadId: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
837
|
+
}>, Schema.Void, Schema.Union<readonly [Schema.Union<readonly [typeof TerminalCwdError, typeof TerminalHistoryError, typeof TerminalSessionLookupError, typeof TerminalNotRunningError]>, typeof EnvironmentAuthorizationError]>, never, never> | Rpc.Rpc<"orchestration.dispatchCommand", Schema.Union<readonly [Schema.Struct<{
|
|
722
838
|
readonly type: Schema.Literal<"project.create">;
|
|
723
839
|
readonly commandId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "CommandId">;
|
|
724
840
|
readonly projectId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ProjectId">;
|
|
@@ -770,6 +886,8 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
|
|
|
770
886
|
readonly command: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
771
887
|
readonly icon: Schema.Literals<readonly ["play", "test", "lint", "configure", "build", "debug"]>;
|
|
772
888
|
readonly runOnWorktreeCreate: Schema.Boolean;
|
|
889
|
+
readonly previewUrl: Schema.optional<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
890
|
+
readonly autoOpenPreview: Schema.optional<Schema.Boolean>;
|
|
773
891
|
}>>>;
|
|
774
892
|
}>, Schema.Struct<{
|
|
775
893
|
readonly type: Schema.Literal<"project.delete">;
|
|
@@ -970,7 +1088,118 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
|
|
|
970
1088
|
readonly createdAt: Schema.String;
|
|
971
1089
|
}>]>, Schema.Struct<{
|
|
972
1090
|
readonly sequence: Schema.Int;
|
|
973
|
-
}>, Schema.Union<readonly [typeof OrchestrationDispatchCommandError, typeof EnvironmentAuthorizationError]>, never, never> | Rpc.Rpc<"orchestration.
|
|
1091
|
+
}>, Schema.Union<readonly [typeof OrchestrationDispatchCommandError, typeof EnvironmentAuthorizationError]>, never, never> | Rpc.Rpc<"orchestration.getArchivedShellSnapshot", Schema.Struct<{}>, Schema.Struct<{
|
|
1092
|
+
readonly snapshotSequence: Schema.Int;
|
|
1093
|
+
readonly projects: Schema.$Array<Schema.Struct<{
|
|
1094
|
+
readonly id: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ProjectId">;
|
|
1095
|
+
readonly title: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1096
|
+
readonly workspaceRoot: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1097
|
+
readonly repositoryIdentity: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
1098
|
+
readonly canonicalKey: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1099
|
+
readonly locator: Schema.Struct<{
|
|
1100
|
+
readonly source: Schema.Literal<"git-remote">;
|
|
1101
|
+
readonly remoteName: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1102
|
+
readonly remoteUrl: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1103
|
+
}>;
|
|
1104
|
+
readonly rootPath: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1105
|
+
readonly displayName: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1106
|
+
readonly provider: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1107
|
+
readonly owner: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1108
|
+
readonly name: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1109
|
+
}>>>;
|
|
1110
|
+
readonly defaultModelSelection: Schema.NullOr<Schema.decodeTo<Schema.Struct<{
|
|
1111
|
+
readonly instanceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ProviderInstanceId">;
|
|
1112
|
+
readonly model: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1113
|
+
readonly options: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Struct<{
|
|
1114
|
+
readonly id: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1115
|
+
readonly value: Schema.Union<readonly [Schema.decodeTo<Schema.String, Schema.String, never, never>, Schema.Boolean]>;
|
|
1116
|
+
}>>, Schema.decodeTo<Schema.$Array<Schema.Struct<{
|
|
1117
|
+
readonly id: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1118
|
+
readonly value: Schema.Union<readonly [Schema.decodeTo<Schema.String, Schema.String, never, never>, Schema.Boolean]>;
|
|
1119
|
+
}>>, Schema.$Record<Schema.String, Schema.Unknown>, never, never>]>>;
|
|
1120
|
+
}>, Schema.Struct<{
|
|
1121
|
+
readonly provider: Schema.optional<Schema.Unknown>;
|
|
1122
|
+
readonly instanceId: Schema.optional<Schema.Unknown>;
|
|
1123
|
+
readonly model: Schema.Unknown;
|
|
1124
|
+
readonly options: Schema.optional<Schema.Unknown>;
|
|
1125
|
+
}>, never, never>>;
|
|
1126
|
+
readonly scripts: Schema.$Array<Schema.Struct<{
|
|
1127
|
+
readonly id: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1128
|
+
readonly name: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1129
|
+
readonly command: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1130
|
+
readonly icon: Schema.Literals<readonly ["play", "test", "lint", "configure", "build", "debug"]>;
|
|
1131
|
+
readonly runOnWorktreeCreate: Schema.Boolean;
|
|
1132
|
+
readonly previewUrl: Schema.optional<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1133
|
+
readonly autoOpenPreview: Schema.optional<Schema.Boolean>;
|
|
1134
|
+
}>>;
|
|
1135
|
+
readonly createdAt: Schema.String;
|
|
1136
|
+
readonly updatedAt: Schema.String;
|
|
1137
|
+
}>>;
|
|
1138
|
+
readonly threads: Schema.$Array<Schema.Struct<{
|
|
1139
|
+
readonly id: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ThreadId">;
|
|
1140
|
+
readonly projectId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ProjectId">;
|
|
1141
|
+
readonly title: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1142
|
+
readonly modelSelection: Schema.decodeTo<Schema.Struct<{
|
|
1143
|
+
readonly instanceId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ProviderInstanceId">;
|
|
1144
|
+
readonly model: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1145
|
+
readonly options: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Struct<{
|
|
1146
|
+
readonly id: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1147
|
+
readonly value: Schema.Union<readonly [Schema.decodeTo<Schema.String, Schema.String, never, never>, Schema.Boolean]>;
|
|
1148
|
+
}>>, Schema.decodeTo<Schema.$Array<Schema.Struct<{
|
|
1149
|
+
readonly id: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1150
|
+
readonly value: Schema.Union<readonly [Schema.decodeTo<Schema.String, Schema.String, never, never>, Schema.Boolean]>;
|
|
1151
|
+
}>>, Schema.$Record<Schema.String, Schema.Unknown>, never, never>]>>;
|
|
1152
|
+
}>, Schema.Struct<{
|
|
1153
|
+
readonly provider: Schema.optional<Schema.Unknown>;
|
|
1154
|
+
readonly instanceId: Schema.optional<Schema.Unknown>;
|
|
1155
|
+
readonly model: Schema.Unknown;
|
|
1156
|
+
readonly options: Schema.optional<Schema.Unknown>;
|
|
1157
|
+
}>, never, never>;
|
|
1158
|
+
readonly runtimeMode: Schema.Literals<readonly ["approval-required", "auto-accept-edits", "full-access"]>;
|
|
1159
|
+
readonly interactionMode: Schema.withDecodingDefault<Schema.Literals<readonly ["default", "plan"]>, never>;
|
|
1160
|
+
readonly branch: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1161
|
+
readonly worktreePath: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1162
|
+
readonly latestTurn: Schema.NullOr<Schema.Struct<{
|
|
1163
|
+
readonly turnId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "TurnId">;
|
|
1164
|
+
readonly state: Schema.Literals<readonly ["running", "interrupted", "completed", "error"]>;
|
|
1165
|
+
readonly requestedAt: Schema.String;
|
|
1166
|
+
readonly startedAt: Schema.NullOr<Schema.String>;
|
|
1167
|
+
readonly completedAt: Schema.NullOr<Schema.String>;
|
|
1168
|
+
readonly assistantMessageId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "MessageId">>;
|
|
1169
|
+
readonly sourceProposedPlan: Schema.optional<Schema.Struct<{
|
|
1170
|
+
readonly threadId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ThreadId">;
|
|
1171
|
+
readonly planId: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1172
|
+
}>>;
|
|
1173
|
+
}>>;
|
|
1174
|
+
readonly createdAt: Schema.String;
|
|
1175
|
+
readonly updatedAt: Schema.String;
|
|
1176
|
+
readonly archivedAt: Schema.withDecodingDefault<Schema.NullOr<Schema.String>, never>;
|
|
1177
|
+
readonly session: Schema.NullOr<Schema.Struct<{
|
|
1178
|
+
readonly threadId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ThreadId">;
|
|
1179
|
+
readonly status: Schema.Literals<readonly ["idle", "starting", "running", "ready", "interrupted", "stopped", "error"]>;
|
|
1180
|
+
readonly providerName: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1181
|
+
readonly providerInstanceId: Schema.optional<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ProviderInstanceId">>;
|
|
1182
|
+
readonly runtimeMode: Schema.withDecodingDefault<Schema.Literals<readonly ["approval-required", "auto-accept-edits", "full-access"]>, never>;
|
|
1183
|
+
readonly activeTurnId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "TurnId">>;
|
|
1184
|
+
readonly lastError: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1185
|
+
readonly updatedAt: Schema.String;
|
|
1186
|
+
}>>;
|
|
1187
|
+
readonly goal: Schema.withDecodingDefault<Schema.NullOr<Schema.Struct<{
|
|
1188
|
+
readonly objective: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1189
|
+
readonly status: Schema.Literals<readonly ["active", "paused", "blocked", "usageLimited", "budgetLimited", "complete"]>;
|
|
1190
|
+
readonly tokensUsed: Schema.Int;
|
|
1191
|
+
readonly tokenBudget: Schema.NullOr<Schema.Int>;
|
|
1192
|
+
readonly timeUsedSeconds: Schema.Int;
|
|
1193
|
+
readonly createdAt: Schema.String;
|
|
1194
|
+
readonly updatedAt: Schema.String;
|
|
1195
|
+
}>>, never>;
|
|
1196
|
+
readonly latestUserMessageAt: Schema.NullOr<Schema.String>;
|
|
1197
|
+
readonly hasPendingApprovals: Schema.Boolean;
|
|
1198
|
+
readonly hasPendingUserInput: Schema.Boolean;
|
|
1199
|
+
readonly hasActionableProposedPlan: Schema.Boolean;
|
|
1200
|
+
}>>;
|
|
1201
|
+
readonly updatedAt: Schema.String;
|
|
1202
|
+
}>, Schema.Union<readonly [typeof OrchestrationGetSnapshotError, typeof EnvironmentAuthorizationError]>, never, never> | Rpc.Rpc<"orchestration.subscribeShell", Schema.Struct<{}>, import("effect/unstable/rpc/RpcSchema").Stream<Schema.Union<readonly [Schema.Struct<{
|
|
974
1203
|
readonly kind: Schema.Literal<"snapshot">;
|
|
975
1204
|
readonly snapshot: Schema.Struct<{
|
|
976
1205
|
readonly snapshotSequence: Schema.Int;
|
|
@@ -1013,6 +1242,8 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
|
|
|
1013
1242
|
readonly command: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1014
1243
|
readonly icon: Schema.Literals<readonly ["play", "test", "lint", "configure", "build", "debug"]>;
|
|
1015
1244
|
readonly runOnWorktreeCreate: Schema.Boolean;
|
|
1245
|
+
readonly previewUrl: Schema.optional<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1246
|
+
readonly autoOpenPreview: Schema.optional<Schema.Boolean>;
|
|
1016
1247
|
}>>;
|
|
1017
1248
|
readonly createdAt: Schema.String;
|
|
1018
1249
|
readonly updatedAt: Schema.String;
|
|
@@ -1068,7 +1299,7 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
|
|
|
1068
1299
|
}>>;
|
|
1069
1300
|
readonly goal: Schema.withDecodingDefault<Schema.NullOr<Schema.Struct<{
|
|
1070
1301
|
readonly objective: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1071
|
-
readonly status: Schema.Literals<readonly ["active", "paused", "budgetLimited", "complete"]>;
|
|
1302
|
+
readonly status: Schema.Literals<readonly ["active", "paused", "blocked", "usageLimited", "budgetLimited", "complete"]>;
|
|
1072
1303
|
readonly tokensUsed: Schema.Int;
|
|
1073
1304
|
readonly tokenBudget: Schema.NullOr<Schema.Int>;
|
|
1074
1305
|
readonly timeUsedSeconds: Schema.Int;
|
|
@@ -1124,6 +1355,8 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
|
|
|
1124
1355
|
readonly command: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1125
1356
|
readonly icon: Schema.Literals<readonly ["play", "test", "lint", "configure", "build", "debug"]>;
|
|
1126
1357
|
readonly runOnWorktreeCreate: Schema.Boolean;
|
|
1358
|
+
readonly previewUrl: Schema.optional<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1359
|
+
readonly autoOpenPreview: Schema.optional<Schema.Boolean>;
|
|
1127
1360
|
}>>;
|
|
1128
1361
|
readonly createdAt: Schema.String;
|
|
1129
1362
|
readonly updatedAt: Schema.String;
|
|
@@ -1186,7 +1419,7 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
|
|
|
1186
1419
|
}>>;
|
|
1187
1420
|
readonly goal: Schema.withDecodingDefault<Schema.NullOr<Schema.Struct<{
|
|
1188
1421
|
readonly objective: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1189
|
-
readonly status: Schema.Literals<readonly ["active", "paused", "budgetLimited", "complete"]>;
|
|
1422
|
+
readonly status: Schema.Literals<readonly ["active", "paused", "blocked", "usageLimited", "budgetLimited", "complete"]>;
|
|
1190
1423
|
readonly tokensUsed: Schema.Int;
|
|
1191
1424
|
readonly tokenBudget: Schema.NullOr<Schema.Int>;
|
|
1192
1425
|
readonly timeUsedSeconds: Schema.Int;
|
|
@@ -1250,7 +1483,7 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
|
|
|
1250
1483
|
readonly deletedAt: Schema.NullOr<Schema.String>;
|
|
1251
1484
|
readonly goal: Schema.withDecodingDefault<Schema.NullOr<Schema.Struct<{
|
|
1252
1485
|
readonly objective: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1253
|
-
readonly status: Schema.Literals<readonly ["active", "paused", "budgetLimited", "complete"]>;
|
|
1486
|
+
readonly status: Schema.Literals<readonly ["active", "paused", "blocked", "usageLimited", "budgetLimited", "complete"]>;
|
|
1254
1487
|
readonly tokensUsed: Schema.Int;
|
|
1255
1488
|
readonly tokenBudget: Schema.NullOr<Schema.Int>;
|
|
1256
1489
|
readonly timeUsedSeconds: Schema.Int;
|
|
@@ -1361,6 +1594,8 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
|
|
|
1361
1594
|
readonly command: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1362
1595
|
readonly icon: Schema.Literals<readonly ["play", "test", "lint", "configure", "build", "debug"]>;
|
|
1363
1596
|
readonly runOnWorktreeCreate: Schema.Boolean;
|
|
1597
|
+
readonly previewUrl: Schema.optional<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1598
|
+
readonly autoOpenPreview: Schema.optional<Schema.Boolean>;
|
|
1364
1599
|
}>>;
|
|
1365
1600
|
readonly createdAt: Schema.String;
|
|
1366
1601
|
readonly updatedAt: Schema.String;
|
|
@@ -1421,6 +1656,8 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
|
|
|
1421
1656
|
readonly command: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1422
1657
|
readonly icon: Schema.Literals<readonly ["play", "test", "lint", "configure", "build", "debug"]>;
|
|
1423
1658
|
readonly runOnWorktreeCreate: Schema.Boolean;
|
|
1659
|
+
readonly previewUrl: Schema.optional<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1660
|
+
readonly autoOpenPreview: Schema.optional<Schema.Boolean>;
|
|
1424
1661
|
}>>>;
|
|
1425
1662
|
readonly updatedAt: Schema.String;
|
|
1426
1663
|
}>;
|
|
@@ -1929,7 +2166,7 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
|
|
|
1929
2166
|
readonly threadId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ThreadId">;
|
|
1930
2167
|
readonly goal: Schema.Struct<{
|
|
1931
2168
|
readonly objective: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1932
|
-
readonly status: Schema.Literals<readonly ["active", "paused", "budgetLimited", "complete"]>;
|
|
2169
|
+
readonly status: Schema.Literals<readonly ["active", "paused", "blocked", "usageLimited", "budgetLimited", "complete"]>;
|
|
1933
2170
|
readonly tokensUsed: Schema.Int;
|
|
1934
2171
|
readonly tokenBudget: Schema.NullOr<Schema.Int>;
|
|
1935
2172
|
readonly timeUsedSeconds: Schema.Int;
|
|
@@ -2064,7 +2301,115 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
|
|
|
2064
2301
|
readonly ingestedAt: Schema.optional<Schema.String>;
|
|
2065
2302
|
}>;
|
|
2066
2303
|
}>]>;
|
|
2067
|
-
}>]>, Schema.Union<readonly [typeof OrchestrationGetSnapshotError, typeof EnvironmentAuthorizationError]>>, Schema.Never, never, never> | Rpc.Rpc<"
|
|
2304
|
+
}>]>, Schema.Union<readonly [typeof OrchestrationGetSnapshotError, typeof EnvironmentAuthorizationError]>>, Schema.Never, never, never> | Rpc.Rpc<"subscribeTerminalEvents", Schema.Struct<{}>, import("effect/unstable/rpc/RpcSchema").Stream<Schema.Union<readonly [Schema.Struct<{
|
|
2305
|
+
readonly type: Schema.Literal<"started">;
|
|
2306
|
+
readonly snapshot: Schema.Struct<{
|
|
2307
|
+
readonly threadId: Schema.String;
|
|
2308
|
+
readonly terminalId: Schema.String;
|
|
2309
|
+
readonly cwd: Schema.String;
|
|
2310
|
+
readonly worktreePath: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
2311
|
+
readonly status: Schema.Literals<readonly ["starting", "running", "exited", "error"]>;
|
|
2312
|
+
readonly pid: Schema.NullOr<Schema.Int>;
|
|
2313
|
+
readonly history: Schema.String;
|
|
2314
|
+
readonly exitCode: Schema.NullOr<Schema.Int>;
|
|
2315
|
+
readonly exitSignal: Schema.NullOr<Schema.Int>;
|
|
2316
|
+
readonly label: Schema.String;
|
|
2317
|
+
readonly updatedAt: Schema.String;
|
|
2318
|
+
readonly sequence: Schema.optional<Schema.Int>;
|
|
2319
|
+
}>;
|
|
2320
|
+
readonly threadId: Schema.String;
|
|
2321
|
+
readonly terminalId: Schema.String;
|
|
2322
|
+
readonly sequence: Schema.optional<Schema.Int>;
|
|
2323
|
+
}>, Schema.Struct<{
|
|
2324
|
+
readonly type: Schema.Literal<"output">;
|
|
2325
|
+
readonly data: Schema.String;
|
|
2326
|
+
readonly threadId: Schema.String;
|
|
2327
|
+
readonly terminalId: Schema.String;
|
|
2328
|
+
readonly sequence: Schema.optional<Schema.Int>;
|
|
2329
|
+
}>, Schema.Struct<{
|
|
2330
|
+
readonly type: Schema.Literal<"exited">;
|
|
2331
|
+
readonly exitCode: Schema.NullOr<Schema.Int>;
|
|
2332
|
+
readonly exitSignal: Schema.NullOr<Schema.Int>;
|
|
2333
|
+
readonly threadId: Schema.String;
|
|
2334
|
+
readonly terminalId: Schema.String;
|
|
2335
|
+
readonly sequence: Schema.optional<Schema.Int>;
|
|
2336
|
+
}>, Schema.Struct<{
|
|
2337
|
+
readonly type: Schema.Literal<"closed">;
|
|
2338
|
+
readonly threadId: Schema.String;
|
|
2339
|
+
readonly terminalId: Schema.String;
|
|
2340
|
+
readonly sequence: Schema.optional<Schema.Int>;
|
|
2341
|
+
}>, Schema.Struct<{
|
|
2342
|
+
readonly type: Schema.Literal<"error">;
|
|
2343
|
+
readonly message: Schema.String;
|
|
2344
|
+
readonly threadId: Schema.String;
|
|
2345
|
+
readonly terminalId: Schema.String;
|
|
2346
|
+
readonly sequence: Schema.optional<Schema.Int>;
|
|
2347
|
+
}>, Schema.Struct<{
|
|
2348
|
+
readonly type: Schema.Literal<"cleared">;
|
|
2349
|
+
readonly threadId: Schema.String;
|
|
2350
|
+
readonly terminalId: Schema.String;
|
|
2351
|
+
readonly sequence: Schema.optional<Schema.Int>;
|
|
2352
|
+
}>, Schema.Struct<{
|
|
2353
|
+
readonly type: Schema.Literal<"restarted">;
|
|
2354
|
+
readonly snapshot: Schema.Struct<{
|
|
2355
|
+
readonly threadId: Schema.String;
|
|
2356
|
+
readonly terminalId: Schema.String;
|
|
2357
|
+
readonly cwd: Schema.String;
|
|
2358
|
+
readonly worktreePath: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
2359
|
+
readonly status: Schema.Literals<readonly ["starting", "running", "exited", "error"]>;
|
|
2360
|
+
readonly pid: Schema.NullOr<Schema.Int>;
|
|
2361
|
+
readonly history: Schema.String;
|
|
2362
|
+
readonly exitCode: Schema.NullOr<Schema.Int>;
|
|
2363
|
+
readonly exitSignal: Schema.NullOr<Schema.Int>;
|
|
2364
|
+
readonly label: Schema.String;
|
|
2365
|
+
readonly updatedAt: Schema.String;
|
|
2366
|
+
readonly sequence: Schema.optional<Schema.Int>;
|
|
2367
|
+
}>;
|
|
2368
|
+
readonly threadId: Schema.String;
|
|
2369
|
+
readonly terminalId: Schema.String;
|
|
2370
|
+
readonly sequence: Schema.optional<Schema.Int>;
|
|
2371
|
+
}>, Schema.Struct<{
|
|
2372
|
+
readonly type: Schema.Literal<"activity">;
|
|
2373
|
+
readonly hasRunningSubprocess: Schema.Boolean;
|
|
2374
|
+
readonly label: Schema.String;
|
|
2375
|
+
readonly threadId: Schema.String;
|
|
2376
|
+
readonly terminalId: Schema.String;
|
|
2377
|
+
readonly sequence: Schema.optional<Schema.Int>;
|
|
2378
|
+
}>]>, typeof EnvironmentAuthorizationError>, Schema.Never, never, never> | Rpc.Rpc<"subscribeTerminalMetadata", Schema.Struct<{}>, import("effect/unstable/rpc/RpcSchema").Stream<Schema.Union<readonly [Schema.Struct<{
|
|
2379
|
+
readonly type: Schema.Literal<"snapshot">;
|
|
2380
|
+
readonly terminals: Schema.$Array<Schema.Struct<{
|
|
2381
|
+
readonly threadId: Schema.String;
|
|
2382
|
+
readonly terminalId: Schema.String;
|
|
2383
|
+
readonly cwd: Schema.String;
|
|
2384
|
+
readonly worktreePath: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
2385
|
+
readonly status: Schema.Literals<readonly ["starting", "running", "exited", "error"]>;
|
|
2386
|
+
readonly pid: Schema.NullOr<Schema.Int>;
|
|
2387
|
+
readonly exitCode: Schema.NullOr<Schema.Int>;
|
|
2388
|
+
readonly exitSignal: Schema.NullOr<Schema.Int>;
|
|
2389
|
+
readonly hasRunningSubprocess: Schema.Boolean;
|
|
2390
|
+
readonly label: Schema.String;
|
|
2391
|
+
readonly updatedAt: Schema.String;
|
|
2392
|
+
}>>;
|
|
2393
|
+
}>, Schema.Struct<{
|
|
2394
|
+
readonly type: Schema.Literal<"upsert">;
|
|
2395
|
+
readonly terminal: Schema.Struct<{
|
|
2396
|
+
readonly threadId: Schema.String;
|
|
2397
|
+
readonly terminalId: Schema.String;
|
|
2398
|
+
readonly cwd: Schema.String;
|
|
2399
|
+
readonly worktreePath: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
2400
|
+
readonly status: Schema.Literals<readonly ["starting", "running", "exited", "error"]>;
|
|
2401
|
+
readonly pid: Schema.NullOr<Schema.Int>;
|
|
2402
|
+
readonly exitCode: Schema.NullOr<Schema.Int>;
|
|
2403
|
+
readonly exitSignal: Schema.NullOr<Schema.Int>;
|
|
2404
|
+
readonly hasRunningSubprocess: Schema.Boolean;
|
|
2405
|
+
readonly label: Schema.String;
|
|
2406
|
+
readonly updatedAt: Schema.String;
|
|
2407
|
+
}>;
|
|
2408
|
+
}>, Schema.Struct<{
|
|
2409
|
+
readonly type: Schema.Literal<"remove">;
|
|
2410
|
+
readonly threadId: Schema.String;
|
|
2411
|
+
readonly terminalId: Schema.String;
|
|
2412
|
+
}>]>, typeof EnvironmentAuthorizationError>, Schema.Never, never, never> | Rpc.Rpc<"server.getConfig", Schema.Struct<{}>, Schema.Union<readonly [Schema.Struct<{
|
|
2068
2413
|
readonly environment: Schema.Struct<{
|
|
2069
2414
|
readonly environmentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EnvironmentId">;
|
|
2070
2415
|
readonly label: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
@@ -2086,7 +2431,7 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
|
|
|
2086
2431
|
readonly cwd: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
2087
2432
|
readonly keybindingsConfigPath: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
2088
2433
|
readonly keybindings: Schema.$Array<Schema.Struct<{
|
|
2089
|
-
readonly command: Schema.Union<readonly [Schema.Literals<readonly ["terminal.toggle", "terminal.split", "terminal.new", "terminal.close", "diff.toggle", "commandPalette.toggle", "chat.new", "chat.newLocal", "editor.openFavorite", "modelPicker.toggle", "modelPicker.jump.1", "modelPicker.jump.2", "modelPicker.jump.3", "modelPicker.jump.4", "modelPicker.jump.5", "modelPicker.jump.6", "modelPicker.jump.7", "modelPicker.jump.8", "modelPicker.jump.9", "thread.previous", "thread.next", "thread.jump.1", "thread.jump.2", "thread.jump.3", "thread.jump.4", "thread.jump.5", "thread.jump.6", "thread.jump.7", "thread.jump.8", "thread.jump.9"]>, Schema.TemplateLiteral<readonly [Schema.Literal<"script.">, Schema.NonEmptyString, Schema.Literal<".run">]>]>;
|
|
2434
|
+
readonly command: Schema.Union<readonly [Schema.Literals<readonly ["terminal.toggle", "terminal.split", "terminal.splitVertical", "terminal.new", "terminal.close", "rightPanel.toggle", "diff.toggle", "preview.toggle", "preview.refresh", "preview.focusUrl", "preview.zoomIn", "preview.zoomOut", "preview.resetZoom", "commandPalette.toggle", "chat.new", "chat.newLocal", "editor.openFavorite", "modelPicker.toggle", "modelPicker.jump.1", "modelPicker.jump.2", "modelPicker.jump.3", "modelPicker.jump.4", "modelPicker.jump.5", "modelPicker.jump.6", "modelPicker.jump.7", "modelPicker.jump.8", "modelPicker.jump.9", "thread.previous", "thread.next", "thread.jump.1", "thread.jump.2", "thread.jump.3", "thread.jump.4", "thread.jump.5", "thread.jump.6", "thread.jump.7", "thread.jump.8", "thread.jump.9"]>, Schema.TemplateLiteral<readonly [Schema.Literal<"script.">, Schema.NonEmptyString, Schema.Literal<".run">]>]>;
|
|
2090
2435
|
readonly shortcut: Schema.Struct<{
|
|
2091
2436
|
readonly key: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
2092
2437
|
readonly metaKey: Schema.Boolean;
|
|
@@ -2100,15 +2445,15 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
|
|
|
2100
2445
|
readonly name: Schema.NonEmptyString;
|
|
2101
2446
|
}>, Schema.Struct<{
|
|
2102
2447
|
readonly type: Schema.Literal<"not">;
|
|
2103
|
-
readonly node: Schema.suspend<Schema.Codec<import("
|
|
2448
|
+
readonly node: Schema.suspend<Schema.Codec<import("@t3tools/contracts").KeybindingWhenNode, import("@t3tools/contracts").KeybindingWhenNode, never, never>>;
|
|
2104
2449
|
}>, Schema.Struct<{
|
|
2105
2450
|
readonly type: Schema.Literal<"and">;
|
|
2106
|
-
readonly left: Schema.suspend<Schema.Codec<import("
|
|
2107
|
-
readonly right: Schema.suspend<Schema.Codec<import("
|
|
2451
|
+
readonly left: Schema.suspend<Schema.Codec<import("@t3tools/contracts").KeybindingWhenNode, import("@t3tools/contracts").KeybindingWhenNode, never, never>>;
|
|
2452
|
+
readonly right: Schema.suspend<Schema.Codec<import("@t3tools/contracts").KeybindingWhenNode, import("@t3tools/contracts").KeybindingWhenNode, never, never>>;
|
|
2108
2453
|
}>, Schema.Struct<{
|
|
2109
2454
|
readonly type: Schema.Literal<"or">;
|
|
2110
|
-
readonly left: Schema.suspend<Schema.Codec<import("
|
|
2111
|
-
readonly right: Schema.suspend<Schema.Codec<import("
|
|
2455
|
+
readonly left: Schema.suspend<Schema.Codec<import("@t3tools/contracts").KeybindingWhenNode, import("@t3tools/contracts").KeybindingWhenNode, never, never>>;
|
|
2456
|
+
readonly right: Schema.suspend<Schema.Codec<import("@t3tools/contracts").KeybindingWhenNode, import("@t3tools/contracts").KeybindingWhenNode, never, never>>;
|
|
2112
2457
|
}>]>>;
|
|
2113
2458
|
}>>;
|
|
2114
2459
|
readonly issues: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
@@ -2377,4 +2722,4 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
|
|
|
2377
2722
|
}>>;
|
|
2378
2723
|
}>>;
|
|
2379
2724
|
}>]>, Schema.Union<readonly [typeof KeybindingsConfigError, typeof ServerSettingsError, typeof EnvironmentAuthorizationError]>, never, never>>;
|
|
2380
|
-
export type CliRpcRequestError = EnvironmentAuthorizationError | KeybindingsConfigError | OrchestrationDispatchCommandError | OrchestrationGetSnapshotError | ServerSettingsError;
|
|
2725
|
+
export type CliRpcRequestError = EnvironmentAuthorizationError | KeybindingsConfigError | OrchestrationDispatchCommandError | OrchestrationGetSnapshotError | TerminalCwdError | TerminalHistoryError | TerminalNotRunningError | TerminalSessionLookupError | ServerSettingsError;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { AppLayer, AuthAppLayer, T3AuthLayer, T3AuthPairingLayer, T3AuthTransportLayer, T3LocalAuthLayer, T3LocalAuthOriginLayer, T3LocalAuthTokenLayer, T3OrchestrationLayer, } from "./layer.ts";
|
|
2
|
-
export { NodeEnvironmentLive } from "../environment/layer.ts";
|
|
1
|
+
export { AppLayer, AuthAppLayer, BaseAppLayer, BaseAuthAppLayer, T3AuthLayer, T3AuthPairingLayer, T3AuthTransportLayer, T3LocalAuthLayer, T3LocalAuthOriginLayer, T3LocalAuthTokenLayer, T3OrchestrationLayer, } from "./layer.ts";
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import * as Layer from "effect/Layer";
|
|
2
|
-
import
|
|
2
|
+
import * as Config from "../config/config.ts";
|
|
3
|
+
import * as Selection from "../config/selection/service.ts";
|
|
4
|
+
export declare const T3ConfigLayer: Layer.Layer<Config.T3Config, import("../config/error.ts").ConfigError | import("effect/Config").ConfigError, import("effect/Path").Path | import("effect/Crypto").Crypto | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory | import("effect/FileSystem").FileSystem | Selection.T3ConfigSelection>;
|
|
3
5
|
export declare const T3AuthTransportLayer: Layer.Layer<import("../auth/transport.ts").T3AuthTransport, never, never>;
|
|
4
|
-
export declare const T3LocalAuthOriginLayer: Layer.Layer<import("../auth/local-origin.ts").T3LocalAuthOrigin,
|
|
5
|
-
export declare const T3LocalAuthTokenLayer: Layer.Layer<import("../auth/local-token.ts").T3LocalAuthToken,
|
|
6
|
-
export declare const T3LocalAuthLayer: Layer.Layer<import("../auth/local.ts").T3LocalAuth,
|
|
6
|
+
export declare const T3LocalAuthOriginLayer: Layer.Layer<import("../auth/local-origin.ts").T3LocalAuthOrigin, import("effect/Config").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Path").Path | import("effect/FileSystem").FileSystem>;
|
|
7
|
+
export declare const T3LocalAuthTokenLayer: Layer.Layer<import("../auth/local-token.ts").T3LocalAuthToken, import("effect/Config").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Path").Path | import("effect/Crypto").Crypto | import("effect/FileSystem").FileSystem>;
|
|
8
|
+
export declare const T3LocalAuthLayer: Layer.Layer<import("../auth/local.ts").T3LocalAuth, import("effect/Config").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Path").Path | import("effect/Crypto").Crypto | import("effect/FileSystem").FileSystem>;
|
|
7
9
|
export declare const T3AuthPairingLayer: Layer.Layer<import("../auth/pairing.ts").T3AuthPairing, never, never>;
|
|
8
|
-
export declare const T3AuthLayer: Layer.Layer<import("../auth/service.ts").T3Auth,
|
|
9
|
-
export declare const T3OrchestrationLayer: Layer.Layer<import("../orchestration/service.ts").T3Orchestration,
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
10
|
+
export declare const T3AuthLayer: Layer.Layer<import("../auth/service.ts").T3Auth, import("../config/error.ts").ConfigError | import("effect/Config").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Path").Path | import("effect/Crypto").Crypto | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory | import("effect/FileSystem").FileSystem | Selection.T3ConfigSelection>;
|
|
11
|
+
export declare const T3OrchestrationLayer: Layer.Layer<import("../orchestration/service.ts").T3Orchestration, import("../config/error.ts").ConfigError | import("effect/Config").ConfigError, import("effect/Path").Path | import("effect/Crypto").Crypto | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory | import("effect/FileSystem").FileSystem | Selection.T3ConfigSelection>;
|
|
12
|
+
export declare const BaseAppLayer: Layer.Layer<import("../orchestration/service.ts").T3Orchestration | import("../index.ts").T3Application | import("../rpc/service.ts").T3Rpc | import("../rpc/operation.ts").T3RpcOperations | Config.T3Config | import("../auth/service.ts").T3Auth | import("../cli-path/service.ts").CliPath, import("../config/error.ts").ConfigError | import("effect/Config").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Path").Path | import("effect/Crypto").Crypto | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory | import("effect/FileSystem").FileSystem | Selection.T3ConfigSelection>;
|
|
13
|
+
export declare const BaseAuthAppLayer: Layer.Layer<Config.T3Config | import("../auth/service.ts").T3Auth, import("../config/error.ts").ConfigError | import("effect/Config").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Path").Path | import("effect/Crypto").Crypto | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory | import("effect/FileSystem").FileSystem | Selection.T3ConfigSelection>;
|
|
14
|
+
export declare const AuthAppLayer: Layer.Layer<Selection.T3ConfigSelection | Config.T3Config | import("../auth/service.ts").T3Auth, import("../config/error.ts").ConfigError | import("effect/Config").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Path").Path | import("effect/Crypto").Crypto | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory | import("effect/FileSystem").FileSystem>;
|
|
15
|
+
export declare const AppLayer: Layer.Layer<import("../orchestration/service.ts").T3Orchestration | import("../index.ts").T3Application | import("../rpc/service.ts").T3Rpc | import("../rpc/operation.ts").T3RpcOperations | Selection.T3ConfigSelection | Config.T3Config | import("../auth/service.ts").T3Auth | import("../cli-path/service.ts").CliPath, import("../config/error.ts").ConfigError | import("effect/Config").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Path").Path | import("effect/Crypto").Crypto | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory | import("effect/FileSystem").FileSystem>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "
|
|
1
|
+
export * from "@t3tools/contracts";
|