t3code-cli 0.13.0 → 0.14.1
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 +87 -1
- package/dist/application.d.ts +2 -0
- package/dist/application.js +1 -1
- package/dist/auth.d.ts +50 -0
- package/dist/auth.js +1 -1
- package/dist/bin.d.ts +1 -0
- package/dist/bin.js +355 -606
- package/dist/cli.d.ts +66 -0
- package/dist/cli.js +1 -1
- package/dist/client-runtime/authorization.d.ts +2 -0
- package/dist/client-runtime/authorization.js +2 -0
- package/dist/client-runtime/connection.d.ts +2 -0
- package/dist/client-runtime/connection.js +2 -0
- package/dist/client-runtime/environment.d.ts +57 -0
- package/dist/client-runtime/environment.js +2 -0
- package/dist/client-runtime/errors.d.ts +28 -0
- package/dist/client-runtime/errors.js +35 -0
- package/dist/client-runtime/operations/projects.d.ts +2 -0
- package/dist/client-runtime/operations/projects.js +2 -0
- package/dist/client-runtime/operations.d.ts +2 -0
- package/dist/client-runtime/operations.js +2 -0
- package/dist/client-runtime/platform.d.ts +26 -0
- package/dist/client-runtime/platform.js +74 -0
- package/dist/client-runtime/relay.d.ts +121 -0
- package/dist/client-runtime/relay.js +245 -0
- package/dist/client-runtime/rpc.d.ts +2 -0
- package/dist/client-runtime/rpc.js +2 -0
- package/dist/client-runtime/state/assets.d.ts +40 -0
- package/dist/client-runtime/state/assets.js +53 -0
- package/dist/client-runtime/state/auth.d.ts +98 -0
- package/dist/client-runtime/state/auth.js +48 -0
- package/dist/client-runtime/state/connections.d.ts +2 -0
- package/dist/client-runtime/state/connections.js +52 -0
- package/dist/client-runtime/state/entities.d.ts +33 -0
- package/dist/client-runtime/state/entities.js +2 -0
- package/dist/client-runtime/state/filesystem.d.ts +42 -0
- package/dist/client-runtime/state/filesystem.js +48 -0
- package/dist/client-runtime/state/git.d.ts +43 -0
- package/dist/client-runtime/state/git.js +18 -0
- package/dist/client-runtime/state/models.d.ts +2 -0
- package/dist/client-runtime/state/models.js +2 -0
- package/dist/client-runtime/state/orchestration.d.ts +128 -0
- package/dist/client-runtime/state/orchestration.js +20 -0
- package/dist/client-runtime/state/presentation.d.ts +277 -0
- package/dist/client-runtime/state/presentation.js +34 -0
- package/dist/client-runtime/state/preview.d.ts +447 -0
- package/dist/client-runtime/state/preview.js +103 -0
- package/dist/client-runtime/state/project-grouping.d.ts +26 -0
- package/dist/client-runtime/state/project-grouping.js +73 -0
- package/dist/client-runtime/state/projects.d.ts +192 -0
- package/dist/client-runtime/state/projects.js +2 -0
- package/dist/client-runtime/state/relay.d.ts +10 -0
- package/dist/client-runtime/state/relay.js +19 -0
- package/dist/client-runtime/state/review.d.ts +28 -0
- package/dist/client-runtime/state/review.js +11 -0
- package/dist/client-runtime/state/runtime.d.ts +2 -0
- package/dist/client-runtime/state/runtime.js +2 -0
- package/dist/client-runtime/state/server.d.ts +1495 -0
- package/dist/client-runtime/state/server.js +207 -0
- package/dist/client-runtime/state/session.d.ts +532 -0
- package/dist/client-runtime/state/session.js +21 -0
- package/dist/client-runtime/state/shell.d.ts +529 -0
- package/dist/client-runtime/state/shell.js +2 -0
- package/dist/client-runtime/state/source-control.d.ts +92 -0
- package/dist/client-runtime/state/source-control.js +36 -0
- package/dist/client-runtime/state/terminal.d.ts +237 -0
- package/dist/client-runtime/state/terminal.js +173 -0
- package/dist/client-runtime/state/thread-settled.d.ts +104 -0
- package/dist/client-runtime/state/thread-settled.js +157 -0
- package/dist/client-runtime/state/thread-sort.d.ts +23 -0
- package/dist/client-runtime/state/thread-sort.js +47 -0
- package/dist/client-runtime/state/threads.d.ts +538 -0
- package/dist/client-runtime/state/threads.js +934 -0
- package/dist/client-runtime/state/vcs.d.ts +442 -0
- package/dist/client-runtime/state/vcs.js +756 -0
- package/dist/config.d.ts +84 -0
- package/dist/config.js +1 -1
- package/dist/connection.d.ts +7 -0
- package/dist/connection.js +1 -1
- package/dist/contracts.d.ts +2 -0
- package/dist/contracts.js +2 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/node.d.ts +6 -0
- package/dist/node.js +1 -1
- package/dist/orchestration.d.ts +1420 -0
- package/dist/orchestration.js +1 -1
- package/dist/preview.d.ts +2 -0
- package/dist/preview.js +2 -0
- package/dist/rpc.d.ts +6043 -0
- package/dist/rpc.js +1 -1
- package/dist/runtime.d.ts +2 -0
- package/dist/runtime.js +2 -2
- package/dist/shared/DrainableWorker.d.ts +28 -0
- package/dist/shared/DrainableWorker.js +24 -0
- package/dist/shared/KeyedCoalescingWorker.d.ts +13 -0
- package/dist/shared/KeyedCoalescingWorker.js +89 -0
- package/dist/shared/Net.d.ts +43 -0
- package/dist/shared/Net.js +126 -0
- package/dist/shared/String.d.ts +4 -0
- package/dist/shared/String.js +8 -0
- package/dist/shared/Struct.d.ts +5 -0
- package/dist/shared/Struct.js +2 -0
- package/dist/shared/advertisedEndpoint.d.ts +2 -0
- package/dist/shared/advertisedEndpoint.js +2 -0
- package/dist/shared/agentAwareness.d.ts +27 -0
- package/dist/shared/agentAwareness.js +54 -0
- package/dist/shared/backgroundActivitySettings.d.ts +23 -0
- package/dist/shared/backgroundActivitySettings.js +2 -0
- package/dist/shared/chatList.d.ts +12 -0
- package/dist/shared/chatList.js +14 -0
- package/dist/shared/cliArgs.d.ts +33 -0
- package/dist/shared/cliArgs.js +103 -0
- package/dist/shared/composerInlineTokens.d.ts +20 -0
- package/dist/shared/composerInlineTokens.js +72 -0
- package/dist/shared/composerTrigger.d.ts +26 -0
- package/dist/shared/composerTrigger.js +97 -0
- package/dist/shared/connectAuth.d.ts +58 -0
- package/dist/shared/connectAuth.js +89 -0
- package/dist/shared/devHome.d.ts +21 -0
- package/dist/shared/devHome.js +65 -0
- package/dist/shared/devProxy.d.ts +15 -0
- package/dist/shared/devProxy.js +22 -0
- package/dist/shared/dpop.d.ts +32 -0
- package/dist/shared/dpop.js +2724 -0
- package/dist/shared/dpopCommon.d.ts +2 -0
- package/dist/shared/dpopCommon.js +2 -0
- package/dist/shared/filePreview.d.ts +8 -0
- package/dist/shared/filePreview.js +31 -0
- package/dist/shared/git.d.ts +41 -0
- package/dist/shared/git.js +2 -0
- package/dist/shared/hostProcess.d.ts +13 -0
- package/dist/shared/hostProcess.js +2 -0
- package/dist/shared/httpObservability.d.ts +5 -0
- package/dist/shared/httpObservability.js +2 -0
- package/dist/shared/httpReadiness.d.ts +38 -0
- package/dist/shared/httpReadiness.js +110 -0
- package/dist/shared/keybindings.d.ts +35 -0
- package/dist/shared/keybindings.js +330 -0
- package/dist/shared/logging.d.ts +39 -0
- package/dist/shared/logging.js +2 -0
- package/dist/shared/model.d.ts +44 -0
- package/dist/shared/model.js +2 -0
- package/dist/shared/oauthScope.d.ts +23 -0
- package/dist/shared/oauthScope.js +2 -0
- package/dist/shared/observability.d.ts +105 -0
- package/dist/shared/observability.js +346 -0
- package/dist/shared/orchestrationTiming.d.ts +16 -0
- package/dist/shared/orchestrationTiming.js +32 -0
- package/dist/shared/path.d.ts +2 -0
- package/dist/shared/path.js +2 -0
- package/dist/shared/preview.d.ts +35 -0
- package/dist/shared/preview.js +103 -0
- package/dist/shared/previewViewport.d.ts +16 -0
- package/dist/shared/previewViewport.js +159 -0
- package/dist/shared/projectFavicon.d.ts +5 -0
- package/dist/shared/projectFavicon.js +13 -0
- package/dist/shared/projectScripts.d.ts +19 -0
- package/dist/shared/projectScripts.js +18 -0
- package/dist/shared/qrCode.d.ts +87 -0
- package/dist/shared/qrCode.js +870 -0
- package/dist/shared/relayAuth.d.ts +27 -0
- package/dist/shared/relayAuth.js +83 -0
- package/dist/shared/relayClient.d.ts +58 -0
- package/dist/shared/relayClient.js +245 -0
- package/dist/shared/relayJwt.d.ts +39 -0
- package/dist/shared/relayJwt.js +2 -0
- package/dist/shared/relaySigning.d.ts +4 -0
- package/dist/shared/relaySigning.js +2 -0
- package/dist/shared/relayTracing.d.ts +25 -0
- package/dist/shared/relayTracing.js +2 -0
- package/dist/shared/relayUrl.d.ts +5 -0
- package/dist/shared/relayUrl.js +2 -0
- package/dist/shared/remote.d.ts +57 -0
- package/dist/shared/remote.js +2 -0
- package/dist/shared/schemaJson.d.ts +35 -0
- package/dist/shared/schemaJson.js +2 -0
- package/dist/shared/schemaYaml.d.ts +86 -0
- package/dist/shared/schemaYaml.js +99 -0
- package/dist/shared/searchRanking.d.ts +30 -0
- package/dist/shared/searchRanking.js +99 -0
- package/dist/shared/semver.d.ts +23 -0
- package/dist/shared/semver.js +124 -0
- package/dist/shared/serverSettings.d.ts +19 -0
- package/dist/shared/serverSettings.js +103 -0
- package/dist/shared/shell.d.ts +51 -0
- package/dist/shared/shell.js +408 -0
- package/dist/shared/sourceControl.d.ts +26 -0
- package/dist/shared/sourceControl.js +2 -0
- package/dist/shared/t3ProjectFile.d.ts +27 -0
- package/dist/shared/t3ProjectFile.js +25 -0
- package/dist/shared/terminalLabels.d.ts +16 -0
- package/dist/shared/terminalLabels.js +28 -0
- package/dist/shared/toolActivity.d.ts +16 -0
- package/dist/shared/toolActivity.js +159 -0
- package/dist/shared.d.ts +43036 -0
- package/dist/shared.js +25428 -12277
- package/dist/t3tools.d.ts +2 -0
- package/dist/t3tools.js +1 -1
- package/package.json +39 -21
- package/src/auth/index.ts +2 -0
- package/src/auth/pairing.ts +8 -5
- package/src/auth/service.ts +2 -1
- package/src/auth/transport.ts +4 -0
- package/src/auth/type.ts +6 -0
- package/src/bin.ts +10 -7
- package/src/cli/auth.ts +7 -1
- package/src/contracts/index.ts +8 -0
- package/src/orchestration/layer.ts +36 -0
- package/src/orchestration/service.ts +5 -0
- package/src/preview/index.ts +11 -0
- package/src/preview/service.ts +52 -0
- package/src/rpc/error.ts +2 -0
- package/src/rpc/layer.ts +5 -4
- package/src/rpc/operation.ts +5 -4
- package/src/rpc/ws-group.ts +6 -0
- package/src/runtime/index.ts +1 -0
- package/src/runtime/layer.ts +5 -0
- package/src/sql/node-sqlite-client.ts +3 -0
- package/dist/src/application/actions.d.ts +0 -25
- package/dist/src/application/error.d.ts +0 -3
- package/dist/src/application/index.d.ts +0 -4
- package/dist/src/application/layer.d.ts +0 -117
- package/dist/src/application/model-selection.d.ts +0 -34
- package/dist/src/application/models.d.ts +0 -8
- package/dist/src/application/project-commands.d.ts +0 -44
- package/dist/src/application/projects.d.ts +0 -23
- package/dist/src/application/service.d.ts +0 -243
- package/dist/src/application/shell-sequence.d.ts +0 -96
- package/dist/src/application/terminals.d.ts +0 -66
- package/dist/src/application/thread-commands.d.ts +0 -157
- package/dist/src/application/thread-update.d.ts +0 -8
- package/dist/src/application/thread-wait.d.ts +0 -106
- package/dist/src/application/threads.d.ts +0 -660
- package/dist/src/auth/error.d.ts +0 -50
- package/dist/src/auth/index.d.ts +0 -10
- package/dist/src/auth/layer.d.ts +0 -53
- package/dist/src/auth/local-base-dir.d.ts +0 -8
- package/dist/src/auth/local-origin.d.ts +0 -18
- package/dist/src/auth/local-token.d.ts +0 -26
- package/dist/src/auth/local.d.ts +0 -24
- package/dist/src/auth/pairing.d.ts +0 -22
- package/dist/src/auth/remote-error.d.ts +0 -3
- package/dist/src/auth/schema.d.ts +0 -58
- package/dist/src/auth/service.d.ts +0 -27
- package/dist/src/auth/transport.d.ts +0 -22
- package/dist/src/auth/type.d.ts +0 -83
- package/dist/src/cli/env/flag.d.ts +0 -2
- package/dist/src/cli/env/index.d.ts +0 -2
- package/dist/src/cli/env/selection-layer.d.ts +0 -3
- package/dist/src/cli/flags.d.ts +0 -20
- package/dist/src/cli/format/index.d.ts +0 -1
- package/dist/src/cli/format/output.d.ts +0 -12
- package/dist/src/cli/index.d.ts +0 -5
- package/dist/src/cli/runtime/index.d.ts +0 -1
- package/dist/src/cli/runtime/service.d.ts +0 -16
- package/dist/src/cli/scope/index.d.ts +0 -1
- package/dist/src/cli/scope/resolve.d.ts +0 -20
- package/dist/src/cli-path/layer.d.ts +0 -3
- package/dist/src/cli-path/service.d.ts +0 -8
- package/dist/src/config/config.d.ts +0 -49
- package/dist/src/config/credential/cipher-node.d.ts +0 -3
- package/dist/src/config/credential/cipher-web.d.ts +0 -3
- package/dist/src/config/credential/cipher.d.ts +0 -29
- package/dist/src/config/credential/env.d.ts +0 -3
- package/dist/src/config/credential/error.d.ts +0 -8
- package/dist/src/config/credential/index.d.ts +0 -6
- package/dist/src/config/credential/service.d.ts +0 -34
- package/dist/src/config/env/env.d.ts +0 -55
- package/dist/src/config/env/index.d.ts +0 -2
- package/dist/src/config/env/layout.d.ts +0 -11
- package/dist/src/config/environment-name/index.d.ts +0 -1
- package/dist/src/config/environment-name/name.d.ts +0 -10
- package/dist/src/config/error.d.ts +0 -11
- package/dist/src/config/index.d.ts +0 -10
- package/dist/src/config/keystore/error.d.ts +0 -8
- package/dist/src/config/keystore/file.d.ts +0 -9
- package/dist/src/config/keystore/index.d.ts +0 -4
- package/dist/src/config/keystore/keyring-node.d.ts +0 -4
- package/dist/src/config/keystore/service.d.ts +0 -33
- package/dist/src/config/paths/index.d.ts +0 -1
- package/dist/src/config/paths/paths.d.ts +0 -6
- package/dist/src/config/persist/file-mode.d.ts +0 -4
- package/dist/src/config/persist/migration.d.ts +0 -68
- package/dist/src/config/persist/persist.d.ts +0 -40
- package/dist/src/config/persist/schema.d.ts +0 -68
- package/dist/src/config/resolve/resolve.d.ts +0 -40
- package/dist/src/config/selection/index.d.ts +0 -1
- package/dist/src/config/selection/resolve.d.ts +0 -4
- package/dist/src/config/selection/service.d.ts +0 -10
- package/dist/src/config/types.d.ts +0 -36
- package/dist/src/config/url/error.d.ts +0 -10
- package/dist/src/config/url/index.d.ts +0 -2
- package/dist/src/config/url/url.d.ts +0 -6
- package/dist/src/connection/error.d.ts +0 -10
- package/dist/src/connection/index.d.ts +0 -4
- package/dist/src/connection/layer.d.ts +0 -3
- package/dist/src/connection/prepared.d.ts +0 -14
- package/dist/src/connection/service.d.ts +0 -13
- package/dist/src/connection/type.d.ts +0 -10
- package/dist/src/contracts/index.d.ts +0 -1
- package/dist/src/domain/error.d.ts +0 -57
- package/dist/src/domain/helpers.d.ts +0 -179
- package/dist/src/domain/model-config.d.ts +0 -330
- package/dist/src/domain/thread-activities.d.ts +0 -14
- package/dist/src/domain/thread-lifecycle.d.ts +0 -120
- package/dist/src/index.d.ts +0 -3
- package/dist/src/node/connection.d.ts +0 -2
- package/dist/src/node/index.d.ts +0 -1
- package/dist/src/orchestration/index.d.ts +0 -2
- package/dist/src/orchestration/layer.d.ts +0 -1419
- package/dist/src/orchestration/service.d.ts +0 -28
- package/dist/src/rpc/error.d.ts +0 -16
- package/dist/src/rpc/index.d.ts +0 -6
- package/dist/src/rpc/layer.d.ts +0 -5862
- package/dist/src/rpc/operation.d.ts +0 -24
- package/dist/src/rpc/service.d.ts +0 -15
- package/dist/src/rpc/session.d.ts +0 -22
- package/dist/src/rpc/ws-group.d.ts +0 -1984
- package/dist/src/runtime/index.d.ts +0 -1
- package/dist/src/runtime/layer.d.ts +0 -15
- package/dist/src/sql/node-sqlite-client.d.ts +0 -10
- package/dist/src/sql/service.d.ts +0 -17
- package/dist/src/t3tools/index.d.ts +0 -1
|
@@ -0,0 +1,1495 @@
|
|
|
1
|
+
import { Bl as ServerConfigStreamEvent, Ca as EnvironmentCacheStore, Eu as ServerSelfUpdateError, Fl as ServerConfig, Ju as KeybindingsConfigError, Ku as KeybindingWhenNode, Xl as ServerLifecycleWelcomePayload, Zt as EnvironmentRpcInput, _a as EnvironmentSupervisor, a_ as ServerSettingsError, bT as EnvironmentAuthorizationError, cs as WS_METHODS, f as AtomCommand, gu as ServerProviderUpdateError, ha as EnvironmentRegistry, ma as EnvironmentNotRegisteredError, on as EnvironmentRpcUnavailableError, zT as EnvironmentId } from "../../shared.js";
|
|
2
|
+
import * as Effect from "effect/Effect";
|
|
3
|
+
import * as Stream from "effect/Stream";
|
|
4
|
+
import * as Option from "effect/Option";
|
|
5
|
+
import * as SubscriptionRef from "effect/SubscriptionRef";
|
|
6
|
+
import { AsyncResult, Atom } from "effect/unstable/reactivity";
|
|
7
|
+
//#region upstream-t3code/packages/client-runtime/src/state/server.d.ts
|
|
8
|
+
interface ServerConfigProjection {
|
|
9
|
+
readonly config: ServerConfig;
|
|
10
|
+
readonly latestEvent: ServerConfigStreamEvent;
|
|
11
|
+
readonly source: "cache" | "live";
|
|
12
|
+
}
|
|
13
|
+
declare function applyServerConfigProjection(current: Option.Option<ServerConfigProjection>, event: ServerConfigStreamEvent): Option.Option<ServerConfigProjection>;
|
|
14
|
+
declare function projectServerConfig(current: Option.Option<ServerConfigProjection>, event: ServerConfigStreamEvent): readonly [Option.Option<ServerConfigProjection>, ReadonlyArray<ServerConfigProjection>];
|
|
15
|
+
/**
|
|
16
|
+
* Keeps a complete server configuration available during reconnects. Server
|
|
17
|
+
* config carries the provider/model catalogue used by task creation, so it is
|
|
18
|
+
* useful—and safe—to retain after a transport session ends.
|
|
19
|
+
*/
|
|
20
|
+
declare const makeEnvironmentServerConfigState: () => Effect.Effect<SubscriptionRef.SubscriptionRef<Option.Option<ServerConfigProjection>>, never, EnvironmentCacheStore | EnvironmentSupervisor | import("effect/Scope").Scope>;
|
|
21
|
+
declare function serverConfigStateChanges(environmentId: EnvironmentId): Stream.Stream<ServerConfigProjection, never, EnvironmentCacheStore | EnvironmentRegistry>;
|
|
22
|
+
declare function projectServerWelcome(current: Option.Option<ServerLifecycleWelcomePayload>, event: {
|
|
23
|
+
readonly type: "welcome" | "ready";
|
|
24
|
+
readonly payload: unknown;
|
|
25
|
+
}): readonly [Option.Option<ServerLifecycleWelcomePayload>, ReadonlyArray<ServerLifecycleWelcomePayload>];
|
|
26
|
+
declare function resolveServerConfigValue(projection: ServerConfigProjection | null, initialConfig: ServerConfig | null): ServerConfig | null;
|
|
27
|
+
declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<EnvironmentRegistry | EnvironmentCacheStore | R, E>, options: {
|
|
28
|
+
readonly initialConfigValueAtom: (environmentId: EnvironmentId) => Atom.Atom<ServerConfig | null>;
|
|
29
|
+
}): {
|
|
30
|
+
configValueAtom: (arg: (string & import("effect/Brand").Brand<"EnvironmentId">) | null) => Atom.Atom<{
|
|
31
|
+
readonly environment: {
|
|
32
|
+
readonly environmentId: string & import("effect/Brand").Brand<"EnvironmentId">;
|
|
33
|
+
readonly label: string;
|
|
34
|
+
readonly platform: {
|
|
35
|
+
readonly os: "darwin" | "linux" | "unknown" | "windows";
|
|
36
|
+
readonly arch: "arm64" | "other" | "x64";
|
|
37
|
+
};
|
|
38
|
+
readonly serverVersion: string;
|
|
39
|
+
readonly capabilities: {
|
|
40
|
+
readonly repositoryIdentity: boolean;
|
|
41
|
+
readonly connectionProbe?: boolean;
|
|
42
|
+
readonly threadSettlement?: boolean;
|
|
43
|
+
readonly threadSnooze?: boolean;
|
|
44
|
+
readonly serverSelfUpdate?: "boot-service" | "desktop-managed" | "respawn";
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
readonly auth: {
|
|
48
|
+
readonly policy: "desktop-managed-local" | "loopback-browser" | "remote-reachable" | "unsafe-no-auth";
|
|
49
|
+
readonly bootstrapMethods: readonly ("desktop-bootstrap" | "one-time-token")[];
|
|
50
|
+
readonly sessionMethods: readonly ("bearer-access-token" | "browser-session-cookie" | "dpop-access-token")[];
|
|
51
|
+
readonly sessionCookieName: string;
|
|
52
|
+
};
|
|
53
|
+
readonly cwd: string;
|
|
54
|
+
readonly keybindingsConfigPath: string;
|
|
55
|
+
readonly keybindings: readonly {
|
|
56
|
+
readonly command: "chat.new" | "chat.newLocal" | "commandPalette.toggle" | "composer.stash" | "diff.toggle" | "editor.openFavorite" | "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" | "modelPicker.toggle" | "preview.focusUrl" | "preview.refresh" | "preview.resetZoom" | "preview.toggle" | "preview.zoomIn" | "preview.zoomOut" | "rightPanel.toggle" | "sidebar.toggle" | "terminal.close" | "terminal.new" | "terminal.split" | "terminal.splitVertical" | "terminal.toggle" | "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" | "thread.next" | "thread.previous" | `script.${string}.run`;
|
|
57
|
+
readonly shortcut: {
|
|
58
|
+
readonly key: string;
|
|
59
|
+
readonly metaKey: boolean;
|
|
60
|
+
readonly ctrlKey: boolean;
|
|
61
|
+
readonly shiftKey: boolean;
|
|
62
|
+
readonly altKey: boolean;
|
|
63
|
+
readonly modKey: boolean;
|
|
64
|
+
};
|
|
65
|
+
readonly whenAst?: {
|
|
66
|
+
readonly type: "identifier";
|
|
67
|
+
readonly name: string;
|
|
68
|
+
} | {
|
|
69
|
+
readonly type: "not";
|
|
70
|
+
readonly node: KeybindingWhenNode;
|
|
71
|
+
} | {
|
|
72
|
+
readonly type: "and";
|
|
73
|
+
readonly left: KeybindingWhenNode;
|
|
74
|
+
readonly right: KeybindingWhenNode;
|
|
75
|
+
} | {
|
|
76
|
+
readonly type: "or";
|
|
77
|
+
readonly left: KeybindingWhenNode;
|
|
78
|
+
readonly right: KeybindingWhenNode;
|
|
79
|
+
} | undefined;
|
|
80
|
+
}[];
|
|
81
|
+
readonly issues: readonly ({
|
|
82
|
+
readonly kind: "keybindings.malformed-config";
|
|
83
|
+
readonly message: string;
|
|
84
|
+
} | {
|
|
85
|
+
readonly kind: "keybindings.invalid-entry";
|
|
86
|
+
readonly message: string;
|
|
87
|
+
readonly index: number;
|
|
88
|
+
})[];
|
|
89
|
+
readonly providers: readonly {
|
|
90
|
+
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
91
|
+
readonly driver: string & import("effect/Brand").Brand<"ProviderDriverKind">;
|
|
92
|
+
readonly displayName?: string | undefined;
|
|
93
|
+
readonly accentColor?: string | undefined;
|
|
94
|
+
readonly badgeLabel?: string | undefined;
|
|
95
|
+
readonly continuation?: {
|
|
96
|
+
readonly groupKey: string;
|
|
97
|
+
} | undefined;
|
|
98
|
+
readonly showInteractionModeToggle?: boolean | undefined;
|
|
99
|
+
readonly requiresNewThreadForModelChange?: boolean | undefined;
|
|
100
|
+
readonly enabled: boolean;
|
|
101
|
+
readonly installed: boolean;
|
|
102
|
+
readonly version: string | null;
|
|
103
|
+
readonly status: "disabled" | "error" | "ready" | "warning";
|
|
104
|
+
readonly auth: {
|
|
105
|
+
readonly status: "authenticated" | "unauthenticated" | "unknown";
|
|
106
|
+
readonly type?: string | undefined;
|
|
107
|
+
readonly label?: string | undefined;
|
|
108
|
+
readonly email?: string | undefined;
|
|
109
|
+
};
|
|
110
|
+
readonly checkedAt: string;
|
|
111
|
+
readonly message?: string | undefined;
|
|
112
|
+
readonly availability?: "available" | "unavailable" | undefined;
|
|
113
|
+
readonly unavailableReason?: string | undefined;
|
|
114
|
+
readonly models: readonly {
|
|
115
|
+
readonly slug: string;
|
|
116
|
+
readonly name: string;
|
|
117
|
+
readonly shortName?: string | undefined;
|
|
118
|
+
readonly subProvider?: string | undefined;
|
|
119
|
+
readonly isCustom: boolean;
|
|
120
|
+
readonly isDefault?: boolean | undefined;
|
|
121
|
+
readonly capabilities: {
|
|
122
|
+
readonly optionDescriptors?: readonly ({
|
|
123
|
+
readonly id: string;
|
|
124
|
+
readonly label: string;
|
|
125
|
+
readonly description?: string | undefined;
|
|
126
|
+
readonly type: "select";
|
|
127
|
+
readonly options: readonly {
|
|
128
|
+
readonly id: string;
|
|
129
|
+
readonly label: string;
|
|
130
|
+
readonly description?: string | undefined;
|
|
131
|
+
readonly isDefault?: boolean | undefined;
|
|
132
|
+
}[];
|
|
133
|
+
readonly currentValue?: string | undefined;
|
|
134
|
+
readonly promptInjectedValues?: readonly string[] | undefined;
|
|
135
|
+
} | {
|
|
136
|
+
readonly id: string;
|
|
137
|
+
readonly label: string;
|
|
138
|
+
readonly description?: string | undefined;
|
|
139
|
+
readonly type: "boolean";
|
|
140
|
+
readonly currentValue?: boolean | undefined;
|
|
141
|
+
})[] | undefined;
|
|
142
|
+
} | null;
|
|
143
|
+
}[];
|
|
144
|
+
readonly slashCommands: readonly {
|
|
145
|
+
readonly name: string;
|
|
146
|
+
readonly description?: string | undefined;
|
|
147
|
+
readonly input?: {
|
|
148
|
+
readonly hint: string;
|
|
149
|
+
} | undefined;
|
|
150
|
+
}[];
|
|
151
|
+
readonly skills: readonly {
|
|
152
|
+
readonly name: string;
|
|
153
|
+
readonly description?: string | undefined;
|
|
154
|
+
readonly path: string;
|
|
155
|
+
readonly scope?: string | undefined;
|
|
156
|
+
readonly enabled: boolean;
|
|
157
|
+
readonly displayName?: string | undefined;
|
|
158
|
+
readonly shortDescription?: string | undefined;
|
|
159
|
+
}[];
|
|
160
|
+
readonly versionAdvisory?: {
|
|
161
|
+
readonly status: "behind_latest" | "current" | "unknown";
|
|
162
|
+
readonly currentVersion: string | null;
|
|
163
|
+
readonly latestVersion: string | null;
|
|
164
|
+
readonly updateCommand: string | null;
|
|
165
|
+
readonly canUpdate: boolean;
|
|
166
|
+
readonly checkedAt: string | null;
|
|
167
|
+
readonly message: string | null;
|
|
168
|
+
};
|
|
169
|
+
readonly updateState?: {
|
|
170
|
+
readonly status: "failed" | "idle" | "queued" | "running" | "succeeded" | "unchanged";
|
|
171
|
+
readonly startedAt: string | null;
|
|
172
|
+
readonly finishedAt: string | null;
|
|
173
|
+
readonly message: string | null;
|
|
174
|
+
readonly output: string | null;
|
|
175
|
+
};
|
|
176
|
+
}[];
|
|
177
|
+
readonly availableEditors: readonly ("antigravity" | "aqua" | "clion" | "cursor" | "datagrip" | "dataspell" | "file-manager" | "goland" | "idea" | "kiro" | "phpstorm" | "pycharm" | "rider" | "rubymine" | "rustrover" | "trae" | "vscode" | "vscode-insiders" | "vscodium" | "webstorm" | "zed")[];
|
|
178
|
+
readonly observability: {
|
|
179
|
+
readonly logsDirectoryPath: string;
|
|
180
|
+
readonly localTracingEnabled: boolean;
|
|
181
|
+
readonly otlpTracesUrl?: string | undefined;
|
|
182
|
+
readonly otlpTracesEnabled: boolean;
|
|
183
|
+
readonly otlpMetricsUrl?: string | undefined;
|
|
184
|
+
readonly otlpMetricsEnabled: boolean;
|
|
185
|
+
};
|
|
186
|
+
readonly settings: {
|
|
187
|
+
readonly enableAssistantStreaming: boolean;
|
|
188
|
+
readonly enableProviderUpdateChecks: boolean;
|
|
189
|
+
readonly backgroundActivity: {
|
|
190
|
+
readonly schemaVersion: 1;
|
|
191
|
+
readonly profile: "balanced" | "battery-saver" | "custom" | "performance";
|
|
192
|
+
readonly baseProfile?: "balanced" | "battery-saver" | "performance";
|
|
193
|
+
readonly overrides: {
|
|
194
|
+
readonly automaticGitFetchInterval?: import("effect/Duration").Duration;
|
|
195
|
+
readonly providerHealthRefreshInterval?: import("effect/Duration").Duration;
|
|
196
|
+
readonly hostPowerMonitorActiveInterval?: import("effect/Duration").Duration;
|
|
197
|
+
readonly hostPowerMonitorIdleInterval?: import("effect/Duration").Duration;
|
|
198
|
+
readonly idleClientTtl?: import("effect/Duration").Duration;
|
|
199
|
+
readonly pauseWhenHostLocked?: boolean;
|
|
200
|
+
readonly pauseWhenHostLowPower?: boolean;
|
|
201
|
+
readonly pauseWhenClientLowPower?: boolean;
|
|
202
|
+
readonly pauseWhenOnBattery?: boolean;
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
readonly automaticGitFetchInterval: import("effect/Duration").Duration;
|
|
206
|
+
readonly providerHealthRefreshInterval: import("effect/Duration").Duration;
|
|
207
|
+
readonly backgroundActivityProfile: "balanced" | "battery-saver" | "performance";
|
|
208
|
+
readonly defaultThreadEnvMode: "local" | "worktree";
|
|
209
|
+
readonly newWorktreesStartFromOrigin: boolean;
|
|
210
|
+
readonly addProjectBaseDirectory: string;
|
|
211
|
+
readonly textGenerationModelSelection: {
|
|
212
|
+
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
213
|
+
readonly model: string;
|
|
214
|
+
readonly options?: readonly {
|
|
215
|
+
readonly id: string;
|
|
216
|
+
readonly value: string | boolean;
|
|
217
|
+
}[];
|
|
218
|
+
};
|
|
219
|
+
readonly sourceControlWritingStyle: {
|
|
220
|
+
readonly mode: "conventional_commits" | "custom" | "repo_conventions";
|
|
221
|
+
readonly customInstructions: string;
|
|
222
|
+
readonly followChangeRequestTemplates: boolean;
|
|
223
|
+
};
|
|
224
|
+
readonly sourceControlWriterModelSelection: {
|
|
225
|
+
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
226
|
+
readonly model: string;
|
|
227
|
+
readonly options?: readonly {
|
|
228
|
+
readonly id: string;
|
|
229
|
+
readonly value: string | boolean;
|
|
230
|
+
}[];
|
|
231
|
+
} | null;
|
|
232
|
+
readonly providers: {
|
|
233
|
+
readonly codex: {
|
|
234
|
+
readonly enabled: boolean;
|
|
235
|
+
readonly binaryPath: string;
|
|
236
|
+
readonly homePath: string;
|
|
237
|
+
readonly shadowHomePath: string;
|
|
238
|
+
readonly launchArgs: string;
|
|
239
|
+
readonly customModels: readonly string[];
|
|
240
|
+
};
|
|
241
|
+
readonly claudeAgent: {
|
|
242
|
+
readonly enabled: boolean;
|
|
243
|
+
readonly binaryPath: string;
|
|
244
|
+
readonly homePath: string;
|
|
245
|
+
readonly customModels: readonly string[];
|
|
246
|
+
readonly launchArgs: string;
|
|
247
|
+
};
|
|
248
|
+
readonly cursor: {
|
|
249
|
+
readonly enabled: boolean;
|
|
250
|
+
readonly binaryPath: string;
|
|
251
|
+
readonly apiEndpoint: string;
|
|
252
|
+
readonly customModels: readonly string[];
|
|
253
|
+
};
|
|
254
|
+
readonly grok: {
|
|
255
|
+
readonly enabled: boolean;
|
|
256
|
+
readonly binaryPath: string;
|
|
257
|
+
readonly customModels: readonly string[];
|
|
258
|
+
};
|
|
259
|
+
readonly opencode: {
|
|
260
|
+
readonly enabled: boolean;
|
|
261
|
+
readonly binaryPath: string;
|
|
262
|
+
readonly serverUrl: string;
|
|
263
|
+
readonly serverPassword: string;
|
|
264
|
+
readonly customModels: readonly string[];
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
readonly providerInstances: {
|
|
268
|
+
readonly [x: string & import("effect/Brand").Brand<"ProviderInstanceId">]: {
|
|
269
|
+
readonly driver: string & import("effect/Brand").Brand<"ProviderDriverKind">;
|
|
270
|
+
readonly displayName?: string | undefined;
|
|
271
|
+
readonly accentColor?: string | undefined;
|
|
272
|
+
readonly environment?: readonly {
|
|
273
|
+
readonly name: string;
|
|
274
|
+
readonly value: string;
|
|
275
|
+
readonly sensitive: boolean;
|
|
276
|
+
readonly valueRedacted?: boolean;
|
|
277
|
+
}[];
|
|
278
|
+
readonly enabled?: boolean;
|
|
279
|
+
readonly config?: unknown;
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
readonly observability: {
|
|
283
|
+
readonly otlpTracesUrl: string;
|
|
284
|
+
readonly otlpMetricsUrl: string;
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
readonly shellResumeCompletionMarker?: boolean;
|
|
288
|
+
readonly threadResumeCompletionMarker?: boolean;
|
|
289
|
+
} | null>;
|
|
290
|
+
settingsValueAtom: (arg: string & import("effect/Brand").Brand<"EnvironmentId">) => Atom.Atom<{
|
|
291
|
+
readonly enableAssistantStreaming: boolean;
|
|
292
|
+
readonly enableProviderUpdateChecks: boolean;
|
|
293
|
+
readonly backgroundActivity: {
|
|
294
|
+
readonly schemaVersion: 1;
|
|
295
|
+
readonly profile: "balanced" | "battery-saver" | "custom" | "performance";
|
|
296
|
+
readonly baseProfile?: "balanced" | "battery-saver" | "performance";
|
|
297
|
+
readonly overrides: {
|
|
298
|
+
readonly automaticGitFetchInterval?: import("effect/Duration").Duration;
|
|
299
|
+
readonly providerHealthRefreshInterval?: import("effect/Duration").Duration;
|
|
300
|
+
readonly hostPowerMonitorActiveInterval?: import("effect/Duration").Duration;
|
|
301
|
+
readonly hostPowerMonitorIdleInterval?: import("effect/Duration").Duration;
|
|
302
|
+
readonly idleClientTtl?: import("effect/Duration").Duration;
|
|
303
|
+
readonly pauseWhenHostLocked?: boolean;
|
|
304
|
+
readonly pauseWhenHostLowPower?: boolean;
|
|
305
|
+
readonly pauseWhenClientLowPower?: boolean;
|
|
306
|
+
readonly pauseWhenOnBattery?: boolean;
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
readonly automaticGitFetchInterval: import("effect/Duration").Duration;
|
|
310
|
+
readonly providerHealthRefreshInterval: import("effect/Duration").Duration;
|
|
311
|
+
readonly backgroundActivityProfile: "balanced" | "battery-saver" | "performance";
|
|
312
|
+
readonly defaultThreadEnvMode: "local" | "worktree";
|
|
313
|
+
readonly newWorktreesStartFromOrigin: boolean;
|
|
314
|
+
readonly addProjectBaseDirectory: string;
|
|
315
|
+
readonly textGenerationModelSelection: {
|
|
316
|
+
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
317
|
+
readonly model: string;
|
|
318
|
+
readonly options?: readonly {
|
|
319
|
+
readonly id: string;
|
|
320
|
+
readonly value: string | boolean;
|
|
321
|
+
}[];
|
|
322
|
+
};
|
|
323
|
+
readonly sourceControlWritingStyle: {
|
|
324
|
+
readonly mode: "conventional_commits" | "custom" | "repo_conventions";
|
|
325
|
+
readonly customInstructions: string;
|
|
326
|
+
readonly followChangeRequestTemplates: boolean;
|
|
327
|
+
};
|
|
328
|
+
readonly sourceControlWriterModelSelection: {
|
|
329
|
+
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
330
|
+
readonly model: string;
|
|
331
|
+
readonly options?: readonly {
|
|
332
|
+
readonly id: string;
|
|
333
|
+
readonly value: string | boolean;
|
|
334
|
+
}[];
|
|
335
|
+
} | null;
|
|
336
|
+
readonly providers: {
|
|
337
|
+
readonly codex: {
|
|
338
|
+
readonly enabled: boolean;
|
|
339
|
+
readonly binaryPath: string;
|
|
340
|
+
readonly homePath: string;
|
|
341
|
+
readonly shadowHomePath: string;
|
|
342
|
+
readonly launchArgs: string;
|
|
343
|
+
readonly customModels: readonly string[];
|
|
344
|
+
};
|
|
345
|
+
readonly claudeAgent: {
|
|
346
|
+
readonly enabled: boolean;
|
|
347
|
+
readonly binaryPath: string;
|
|
348
|
+
readonly homePath: string;
|
|
349
|
+
readonly customModels: readonly string[];
|
|
350
|
+
readonly launchArgs: string;
|
|
351
|
+
};
|
|
352
|
+
readonly cursor: {
|
|
353
|
+
readonly enabled: boolean;
|
|
354
|
+
readonly binaryPath: string;
|
|
355
|
+
readonly apiEndpoint: string;
|
|
356
|
+
readonly customModels: readonly string[];
|
|
357
|
+
};
|
|
358
|
+
readonly grok: {
|
|
359
|
+
readonly enabled: boolean;
|
|
360
|
+
readonly binaryPath: string;
|
|
361
|
+
readonly customModels: readonly string[];
|
|
362
|
+
};
|
|
363
|
+
readonly opencode: {
|
|
364
|
+
readonly enabled: boolean;
|
|
365
|
+
readonly binaryPath: string;
|
|
366
|
+
readonly serverUrl: string;
|
|
367
|
+
readonly serverPassword: string;
|
|
368
|
+
readonly customModels: readonly string[];
|
|
369
|
+
};
|
|
370
|
+
};
|
|
371
|
+
readonly providerInstances: {
|
|
372
|
+
readonly [x: string & import("effect/Brand").Brand<"ProviderInstanceId">]: {
|
|
373
|
+
readonly driver: string & import("effect/Brand").Brand<"ProviderDriverKind">;
|
|
374
|
+
readonly displayName?: string | undefined;
|
|
375
|
+
readonly accentColor?: string | undefined;
|
|
376
|
+
readonly environment?: readonly {
|
|
377
|
+
readonly name: string;
|
|
378
|
+
readonly value: string;
|
|
379
|
+
readonly sensitive: boolean;
|
|
380
|
+
readonly valueRedacted?: boolean;
|
|
381
|
+
}[];
|
|
382
|
+
readonly enabled?: boolean;
|
|
383
|
+
readonly config?: unknown;
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
readonly observability: {
|
|
387
|
+
readonly otlpTracesUrl: string;
|
|
388
|
+
readonly otlpMetricsUrl: string;
|
|
389
|
+
};
|
|
390
|
+
} | null>;
|
|
391
|
+
providersValueAtom: (arg: string & import("effect/Brand").Brand<"EnvironmentId">) => Atom.Atom<readonly {
|
|
392
|
+
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
393
|
+
readonly driver: string & import("effect/Brand").Brand<"ProviderDriverKind">;
|
|
394
|
+
readonly displayName?: string | undefined;
|
|
395
|
+
readonly accentColor?: string | undefined;
|
|
396
|
+
readonly badgeLabel?: string | undefined;
|
|
397
|
+
readonly continuation?: {
|
|
398
|
+
readonly groupKey: string;
|
|
399
|
+
} | undefined;
|
|
400
|
+
readonly showInteractionModeToggle?: boolean | undefined;
|
|
401
|
+
readonly requiresNewThreadForModelChange?: boolean | undefined;
|
|
402
|
+
readonly enabled: boolean;
|
|
403
|
+
readonly installed: boolean;
|
|
404
|
+
readonly version: string | null;
|
|
405
|
+
readonly status: "disabled" | "error" | "ready" | "warning";
|
|
406
|
+
readonly auth: {
|
|
407
|
+
readonly status: "authenticated" | "unauthenticated" | "unknown";
|
|
408
|
+
readonly type?: string | undefined;
|
|
409
|
+
readonly label?: string | undefined;
|
|
410
|
+
readonly email?: string | undefined;
|
|
411
|
+
};
|
|
412
|
+
readonly checkedAt: string;
|
|
413
|
+
readonly message?: string | undefined;
|
|
414
|
+
readonly availability?: "available" | "unavailable" | undefined;
|
|
415
|
+
readonly unavailableReason?: string | undefined;
|
|
416
|
+
readonly models: readonly {
|
|
417
|
+
readonly slug: string;
|
|
418
|
+
readonly name: string;
|
|
419
|
+
readonly shortName?: string | undefined;
|
|
420
|
+
readonly subProvider?: string | undefined;
|
|
421
|
+
readonly isCustom: boolean;
|
|
422
|
+
readonly isDefault?: boolean | undefined;
|
|
423
|
+
readonly capabilities: {
|
|
424
|
+
readonly optionDescriptors?: readonly ({
|
|
425
|
+
readonly id: string;
|
|
426
|
+
readonly label: string;
|
|
427
|
+
readonly description?: string | undefined;
|
|
428
|
+
readonly type: "select";
|
|
429
|
+
readonly options: readonly {
|
|
430
|
+
readonly id: string;
|
|
431
|
+
readonly label: string;
|
|
432
|
+
readonly description?: string | undefined;
|
|
433
|
+
readonly isDefault?: boolean | undefined;
|
|
434
|
+
}[];
|
|
435
|
+
readonly currentValue?: string | undefined;
|
|
436
|
+
readonly promptInjectedValues?: readonly string[] | undefined;
|
|
437
|
+
} | {
|
|
438
|
+
readonly id: string;
|
|
439
|
+
readonly label: string;
|
|
440
|
+
readonly description?: string | undefined;
|
|
441
|
+
readonly type: "boolean";
|
|
442
|
+
readonly currentValue?: boolean | undefined;
|
|
443
|
+
})[] | undefined;
|
|
444
|
+
} | null;
|
|
445
|
+
}[];
|
|
446
|
+
readonly slashCommands: readonly {
|
|
447
|
+
readonly name: string;
|
|
448
|
+
readonly description?: string | undefined;
|
|
449
|
+
readonly input?: {
|
|
450
|
+
readonly hint: string;
|
|
451
|
+
} | undefined;
|
|
452
|
+
}[];
|
|
453
|
+
readonly skills: readonly {
|
|
454
|
+
readonly name: string;
|
|
455
|
+
readonly description?: string | undefined;
|
|
456
|
+
readonly path: string;
|
|
457
|
+
readonly scope?: string | undefined;
|
|
458
|
+
readonly enabled: boolean;
|
|
459
|
+
readonly displayName?: string | undefined;
|
|
460
|
+
readonly shortDescription?: string | undefined;
|
|
461
|
+
}[];
|
|
462
|
+
readonly versionAdvisory?: {
|
|
463
|
+
readonly status: "behind_latest" | "current" | "unknown";
|
|
464
|
+
readonly currentVersion: string | null;
|
|
465
|
+
readonly latestVersion: string | null;
|
|
466
|
+
readonly updateCommand: string | null;
|
|
467
|
+
readonly canUpdate: boolean;
|
|
468
|
+
readonly checkedAt: string | null;
|
|
469
|
+
readonly message: string | null;
|
|
470
|
+
};
|
|
471
|
+
readonly updateState?: {
|
|
472
|
+
readonly status: "failed" | "idle" | "queued" | "running" | "succeeded" | "unchanged";
|
|
473
|
+
readonly startedAt: string | null;
|
|
474
|
+
readonly finishedAt: string | null;
|
|
475
|
+
readonly message: string | null;
|
|
476
|
+
readonly output: string | null;
|
|
477
|
+
};
|
|
478
|
+
}[] | null>;
|
|
479
|
+
traceDiagnostics: (target: {
|
|
480
|
+
readonly environmentId: EnvironmentId;
|
|
481
|
+
readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{}>;
|
|
482
|
+
}) => Atom.Atom<AsyncResult.AsyncResult<{
|
|
483
|
+
readonly traceFilePath: string;
|
|
484
|
+
readonly scannedFilePaths: readonly string[];
|
|
485
|
+
readonly readAt: import("effect/DateTime").Utc;
|
|
486
|
+
readonly recordCount: number;
|
|
487
|
+
readonly parseErrorCount: number;
|
|
488
|
+
readonly firstSpanAt: Option.Option<import("effect/DateTime").Utc>;
|
|
489
|
+
readonly lastSpanAt: Option.Option<import("effect/DateTime").Utc>;
|
|
490
|
+
readonly failureCount: number;
|
|
491
|
+
readonly interruptionCount: number;
|
|
492
|
+
readonly slowSpanThresholdMs: number;
|
|
493
|
+
readonly slowSpanCount: number;
|
|
494
|
+
readonly logLevelCounts: {
|
|
495
|
+
readonly [x: string]: number;
|
|
496
|
+
};
|
|
497
|
+
readonly topSpansByCount: readonly {
|
|
498
|
+
readonly name: string;
|
|
499
|
+
readonly count: number;
|
|
500
|
+
readonly failureCount: number;
|
|
501
|
+
readonly totalDurationMs: number;
|
|
502
|
+
readonly averageDurationMs: number;
|
|
503
|
+
readonly maxDurationMs: number;
|
|
504
|
+
}[];
|
|
505
|
+
readonly slowestSpans: readonly {
|
|
506
|
+
readonly name: string;
|
|
507
|
+
readonly durationMs: number;
|
|
508
|
+
readonly endedAt: import("effect/DateTime").Utc;
|
|
509
|
+
readonly traceId: string;
|
|
510
|
+
readonly spanId: string;
|
|
511
|
+
}[];
|
|
512
|
+
readonly commonFailures: readonly {
|
|
513
|
+
readonly name: string;
|
|
514
|
+
readonly cause: string;
|
|
515
|
+
readonly count: number;
|
|
516
|
+
readonly lastSeenAt: import("effect/DateTime").Utc;
|
|
517
|
+
readonly traceId: string;
|
|
518
|
+
readonly spanId: string;
|
|
519
|
+
}[];
|
|
520
|
+
readonly latestFailures: readonly {
|
|
521
|
+
readonly name: string;
|
|
522
|
+
readonly cause: string;
|
|
523
|
+
readonly durationMs: number;
|
|
524
|
+
readonly endedAt: import("effect/DateTime").Utc;
|
|
525
|
+
readonly traceId: string;
|
|
526
|
+
readonly spanId: string;
|
|
527
|
+
}[];
|
|
528
|
+
readonly latestWarningAndErrorLogs: readonly {
|
|
529
|
+
readonly spanName: string;
|
|
530
|
+
readonly level: string;
|
|
531
|
+
readonly message: string;
|
|
532
|
+
readonly seenAt: import("effect/DateTime").Utc;
|
|
533
|
+
readonly traceId: string;
|
|
534
|
+
readonly spanId: string;
|
|
535
|
+
}[];
|
|
536
|
+
readonly partialFailure: Option.Option<boolean>;
|
|
537
|
+
readonly error: Option.Option<{
|
|
538
|
+
readonly kind: "trace-file-not-found" | "trace-file-read-failed";
|
|
539
|
+
readonly message: string;
|
|
540
|
+
}>;
|
|
541
|
+
}, E | EnvironmentAuthorizationError | EnvironmentRpcUnavailableError | Error | import("effect/unstable/rpc/RpcClientError").RpcClientError>>;
|
|
542
|
+
processDiagnostics: (target: {
|
|
543
|
+
readonly environmentId: EnvironmentId;
|
|
544
|
+
readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{}>;
|
|
545
|
+
}) => Atom.Atom<AsyncResult.AsyncResult<{
|
|
546
|
+
readonly serverPid: number;
|
|
547
|
+
readonly readAt: import("effect/DateTime").Utc;
|
|
548
|
+
readonly processCount: number;
|
|
549
|
+
readonly totalRssBytes: number;
|
|
550
|
+
readonly totalCpuPercent: number;
|
|
551
|
+
readonly processes: readonly {
|
|
552
|
+
readonly pid: number;
|
|
553
|
+
readonly startTimeMs: number;
|
|
554
|
+
readonly ppid: number;
|
|
555
|
+
readonly pgid: Option.Option<number>;
|
|
556
|
+
readonly status: string;
|
|
557
|
+
readonly cpuPercent: number;
|
|
558
|
+
readonly rssBytes: number;
|
|
559
|
+
readonly elapsed: string;
|
|
560
|
+
readonly command: string;
|
|
561
|
+
readonly depth: number;
|
|
562
|
+
readonly childPids: readonly number[];
|
|
563
|
+
}[];
|
|
564
|
+
readonly error: Option.Option<{
|
|
565
|
+
readonly message: string;
|
|
566
|
+
}>;
|
|
567
|
+
}, E | EnvironmentAuthorizationError | EnvironmentRpcUnavailableError | Error | import("effect/unstable/rpc/RpcClientError").RpcClientError>>;
|
|
568
|
+
processResourceHistory: (target: {
|
|
569
|
+
readonly environmentId: EnvironmentId;
|
|
570
|
+
readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
571
|
+
readonly windowMs: import("effect/Schema").Int;
|
|
572
|
+
readonly bucketMs: import("effect/Schema").Int;
|
|
573
|
+
}>;
|
|
574
|
+
}) => Atom.Atom<AsyncResult.AsyncResult<{
|
|
575
|
+
readonly readAt: import("effect/DateTime").Utc;
|
|
576
|
+
readonly windowMs: number;
|
|
577
|
+
readonly bucketMs: number;
|
|
578
|
+
readonly sampleIntervalMs: number;
|
|
579
|
+
readonly retainedSampleCount: number;
|
|
580
|
+
readonly totalCpuSecondsApprox: number;
|
|
581
|
+
readonly buckets: readonly {
|
|
582
|
+
readonly startedAt: import("effect/DateTime").Utc;
|
|
583
|
+
readonly endedAt: import("effect/DateTime").Utc;
|
|
584
|
+
readonly avgCpuPercent: number;
|
|
585
|
+
readonly maxCpuPercent: number;
|
|
586
|
+
readonly maxRssBytes: number;
|
|
587
|
+
readonly maxProcessCount: number;
|
|
588
|
+
}[];
|
|
589
|
+
readonly topProcesses: readonly {
|
|
590
|
+
readonly processKey: string;
|
|
591
|
+
readonly pid: number;
|
|
592
|
+
readonly ppid: number;
|
|
593
|
+
readonly command: string;
|
|
594
|
+
readonly depth: number;
|
|
595
|
+
readonly isServerRoot: boolean;
|
|
596
|
+
readonly firstSeenAt: import("effect/DateTime").Utc;
|
|
597
|
+
readonly lastSeenAt: import("effect/DateTime").Utc;
|
|
598
|
+
readonly currentCpuPercent: number;
|
|
599
|
+
readonly avgCpuPercent: number;
|
|
600
|
+
readonly maxCpuPercent: number;
|
|
601
|
+
readonly cpuSecondsApprox: number;
|
|
602
|
+
readonly currentRssBytes: number;
|
|
603
|
+
readonly maxRssBytes: number;
|
|
604
|
+
readonly sampleCount: number;
|
|
605
|
+
}[];
|
|
606
|
+
readonly error: Option.Option<{
|
|
607
|
+
readonly failureTag: "ProcessDiagnosticsNotDescendantError" | "ProcessDiagnosticsQueryFailedError" | "ProcessDiagnosticsQueryTimeoutError" | "ProcessDiagnosticsServerProcessSignalError" | "ProcessDiagnosticsSignalFailedError";
|
|
608
|
+
readonly message: string;
|
|
609
|
+
}>;
|
|
610
|
+
}, E | EnvironmentAuthorizationError | EnvironmentRpcUnavailableError | Error | import("effect/unstable/rpc/RpcClientError").RpcClientError>>;
|
|
611
|
+
resourceTelemetry: (target: {
|
|
612
|
+
readonly environmentId: EnvironmentId;
|
|
613
|
+
readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{}>;
|
|
614
|
+
}) => Atom.Atom<AsyncResult.AsyncResult<{
|
|
615
|
+
readonly readAt: import("effect/DateTime").Utc;
|
|
616
|
+
readonly sampleIntervalMs: number;
|
|
617
|
+
readonly processes: readonly {
|
|
618
|
+
readonly identity: {
|
|
619
|
+
readonly pid: number;
|
|
620
|
+
readonly startTimeMs: number;
|
|
621
|
+
};
|
|
622
|
+
readonly ppid: number;
|
|
623
|
+
readonly childPids: readonly number[];
|
|
624
|
+
readonly depth: number;
|
|
625
|
+
readonly name: string;
|
|
626
|
+
readonly command: string;
|
|
627
|
+
readonly status: string;
|
|
628
|
+
readonly category: "electron-gpu" | "electron-main" | "electron-renderer" | "electron-utility" | "provider-root" | "resource-monitor" | "server" | "server-child" | "terminal-root" | "unknown-t3";
|
|
629
|
+
readonly electronType?: "Browser" | "GPU" | "Pepper Plugin" | "Pepper Plugin Broker" | "Sandbox helper" | "Tab" | "Unknown" | "Utility" | "Zygote";
|
|
630
|
+
readonly electronServiceName?: string;
|
|
631
|
+
readonly cpuPercent: number;
|
|
632
|
+
readonly cpuTimeMs: number;
|
|
633
|
+
readonly residentBytes: number;
|
|
634
|
+
readonly peakResidentBytes: number;
|
|
635
|
+
readonly virtualBytes: number;
|
|
636
|
+
readonly ioReadBytes: number;
|
|
637
|
+
readonly ioWriteBytes: number;
|
|
638
|
+
readonly ioReadBytesPerSecond: number;
|
|
639
|
+
readonly ioWriteBytesPerSecond: number;
|
|
640
|
+
readonly ioSemantics: "all-io" | "logical" | "storage" | "unavailable";
|
|
641
|
+
readonly idleWakeupsPerSecond?: number;
|
|
642
|
+
readonly runTimeMs: number;
|
|
643
|
+
readonly firstSeenAt: import("effect/DateTime").Utc;
|
|
644
|
+
readonly lastSeenAt: import("effect/DateTime").Utc;
|
|
645
|
+
}[];
|
|
646
|
+
readonly groups: {
|
|
647
|
+
readonly backend: {
|
|
648
|
+
readonly processCount: number;
|
|
649
|
+
readonly currentCpuPercent: number;
|
|
650
|
+
readonly cpuTimeMs: number;
|
|
651
|
+
readonly currentRssBytes: number;
|
|
652
|
+
readonly peakRssBytes: number;
|
|
653
|
+
readonly ioReadBytes: number;
|
|
654
|
+
readonly ioWriteBytes: number;
|
|
655
|
+
readonly ioReadBytesPerSecond: number;
|
|
656
|
+
readonly ioWriteBytesPerSecond: number;
|
|
657
|
+
readonly processStarts: number;
|
|
658
|
+
readonly processExits: number;
|
|
659
|
+
};
|
|
660
|
+
readonly electron: {
|
|
661
|
+
readonly processCount: number;
|
|
662
|
+
readonly currentCpuPercent: number;
|
|
663
|
+
readonly cpuTimeMs: number;
|
|
664
|
+
readonly currentRssBytes: number;
|
|
665
|
+
readonly peakRssBytes: number;
|
|
666
|
+
readonly ioReadBytes: number;
|
|
667
|
+
readonly ioWriteBytes: number;
|
|
668
|
+
readonly ioReadBytesPerSecond: number;
|
|
669
|
+
readonly ioWriteBytesPerSecond: number;
|
|
670
|
+
readonly processStarts: number;
|
|
671
|
+
readonly processExits: number;
|
|
672
|
+
};
|
|
673
|
+
readonly monitor: {
|
|
674
|
+
readonly processCount: number;
|
|
675
|
+
readonly currentCpuPercent: number;
|
|
676
|
+
readonly cpuTimeMs: number;
|
|
677
|
+
readonly currentRssBytes: number;
|
|
678
|
+
readonly peakRssBytes: number;
|
|
679
|
+
readonly ioReadBytes: number;
|
|
680
|
+
readonly ioWriteBytes: number;
|
|
681
|
+
readonly ioReadBytesPerSecond: number;
|
|
682
|
+
readonly ioWriteBytesPerSecond: number;
|
|
683
|
+
readonly processStarts: number;
|
|
684
|
+
readonly processExits: number;
|
|
685
|
+
};
|
|
686
|
+
readonly allT3: {
|
|
687
|
+
readonly processCount: number;
|
|
688
|
+
readonly currentCpuPercent: number;
|
|
689
|
+
readonly cpuTimeMs: number;
|
|
690
|
+
readonly currentRssBytes: number;
|
|
691
|
+
readonly peakRssBytes: number;
|
|
692
|
+
readonly ioReadBytes: number;
|
|
693
|
+
readonly ioWriteBytes: number;
|
|
694
|
+
readonly ioReadBytesPerSecond: number;
|
|
695
|
+
readonly ioWriteBytesPerSecond: number;
|
|
696
|
+
readonly processStarts: number;
|
|
697
|
+
readonly processExits: number;
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
readonly power: {
|
|
701
|
+
readonly source: "electron-main" | "node-linux" | "node-macos-native" | "node-macos-shell" | "node-windows" | "unknown";
|
|
702
|
+
readonly idle: "false" | "true" | "unknown";
|
|
703
|
+
readonly idleSeconds: number | null;
|
|
704
|
+
readonly locked: "false" | "true" | "unknown";
|
|
705
|
+
readonly suspended: boolean;
|
|
706
|
+
readonly onBattery: "false" | "true" | "unknown";
|
|
707
|
+
readonly lowPowerMode: "false" | "true" | "unknown";
|
|
708
|
+
readonly thermalState: "critical" | "fair" | "nominal" | "serious" | "unknown";
|
|
709
|
+
readonly stale: boolean;
|
|
710
|
+
readonly updatedAt: import("effect/DateTime").Utc;
|
|
711
|
+
};
|
|
712
|
+
readonly speedLimitPercent: Option.Option<number>;
|
|
713
|
+
readonly attribution: {
|
|
714
|
+
readonly readAt: import("effect/DateTime").Utc;
|
|
715
|
+
readonly entries: readonly {
|
|
716
|
+
readonly component: string;
|
|
717
|
+
readonly operation: string;
|
|
718
|
+
readonly logicalReadBytes: number;
|
|
719
|
+
readonly logicalWriteBytes: number;
|
|
720
|
+
readonly count: number;
|
|
721
|
+
readonly durationMs: number;
|
|
722
|
+
}[];
|
|
723
|
+
};
|
|
724
|
+
readonly health: {
|
|
725
|
+
readonly native: {
|
|
726
|
+
readonly status: "degraded" | "healthy" | "starting" | "stopped" | "unavailable";
|
|
727
|
+
readonly lastSampleAt: Option.Option<import("effect/DateTime").Utc>;
|
|
728
|
+
readonly lastError: Option.Option<string>;
|
|
729
|
+
};
|
|
730
|
+
readonly desktop: {
|
|
731
|
+
readonly status: "degraded" | "healthy" | "starting" | "stopped" | "unavailable";
|
|
732
|
+
readonly lastSampleAt: Option.Option<import("effect/DateTime").Utc>;
|
|
733
|
+
readonly lastError: Option.Option<string>;
|
|
734
|
+
};
|
|
735
|
+
readonly sidecarVersion: Option.Option<string>;
|
|
736
|
+
readonly sidecarPid: Option.Option<number>;
|
|
737
|
+
readonly restartCount: number;
|
|
738
|
+
readonly collectionDurationMicros: number;
|
|
739
|
+
readonly scannedProcessCount: number;
|
|
740
|
+
readonly retainedProcessCount: number;
|
|
741
|
+
readonly inaccessibleProcessCount: number;
|
|
742
|
+
};
|
|
743
|
+
}, E | EnvironmentAuthorizationError | import("effect/Cause").NoSuchElementError | import("effect/unstable/rpc/RpcClientError").RpcClientError>>;
|
|
744
|
+
resourceTelemetryHistory: (target: {
|
|
745
|
+
readonly environmentId: EnvironmentId;
|
|
746
|
+
readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
747
|
+
readonly windowMs: import("effect/Schema").Int;
|
|
748
|
+
readonly bucketMs: import("effect/Schema").Int;
|
|
749
|
+
}>;
|
|
750
|
+
}) => Atom.Atom<AsyncResult.AsyncResult<{
|
|
751
|
+
readonly readAt: import("effect/DateTime").Utc;
|
|
752
|
+
readonly windowMs: number;
|
|
753
|
+
readonly bucketMs: number;
|
|
754
|
+
readonly sampleIntervalMs: number;
|
|
755
|
+
readonly retainedSampleCount: number;
|
|
756
|
+
readonly buckets: readonly {
|
|
757
|
+
readonly startedAt: import("effect/DateTime").Utc;
|
|
758
|
+
readonly endedAt: import("effect/DateTime").Utc;
|
|
759
|
+
readonly avgCpuPercent: number;
|
|
760
|
+
readonly maxCpuPercent: number;
|
|
761
|
+
readonly maxRssBytes: number;
|
|
762
|
+
readonly ioReadBytes: number;
|
|
763
|
+
readonly ioWriteBytes: number;
|
|
764
|
+
readonly maxProcessCount: number;
|
|
765
|
+
}[];
|
|
766
|
+
readonly topProcesses: readonly {
|
|
767
|
+
readonly identity: {
|
|
768
|
+
readonly pid: number;
|
|
769
|
+
readonly startTimeMs: number;
|
|
770
|
+
};
|
|
771
|
+
readonly ppid: number;
|
|
772
|
+
readonly depth: number;
|
|
773
|
+
readonly name: string;
|
|
774
|
+
readonly command: string;
|
|
775
|
+
readonly category: "electron-gpu" | "electron-main" | "electron-renderer" | "electron-utility" | "provider-root" | "resource-monitor" | "server" | "server-child" | "terminal-root" | "unknown-t3";
|
|
776
|
+
readonly firstSeenAt: import("effect/DateTime").Utc;
|
|
777
|
+
readonly lastSeenAt: import("effect/DateTime").Utc;
|
|
778
|
+
readonly currentCpuPercent: number;
|
|
779
|
+
readonly avgCpuPercent: number;
|
|
780
|
+
readonly maxCpuPercent: number;
|
|
781
|
+
readonly cpuTimeMs: number;
|
|
782
|
+
readonly currentRssBytes: number;
|
|
783
|
+
readonly peakRssBytes: number;
|
|
784
|
+
readonly ioReadBytes: number;
|
|
785
|
+
readonly ioWriteBytes: number;
|
|
786
|
+
readonly ioSemantics: "all-io" | "logical" | "storage" | "unavailable";
|
|
787
|
+
readonly sampleCount: number;
|
|
788
|
+
}[];
|
|
789
|
+
readonly health: {
|
|
790
|
+
readonly native: {
|
|
791
|
+
readonly status: "degraded" | "healthy" | "starting" | "stopped" | "unavailable";
|
|
792
|
+
readonly lastSampleAt: Option.Option<import("effect/DateTime").Utc>;
|
|
793
|
+
readonly lastError: Option.Option<string>;
|
|
794
|
+
};
|
|
795
|
+
readonly desktop: {
|
|
796
|
+
readonly status: "degraded" | "healthy" | "starting" | "stopped" | "unavailable";
|
|
797
|
+
readonly lastSampleAt: Option.Option<import("effect/DateTime").Utc>;
|
|
798
|
+
readonly lastError: Option.Option<string>;
|
|
799
|
+
};
|
|
800
|
+
readonly sidecarVersion: Option.Option<string>;
|
|
801
|
+
readonly sidecarPid: Option.Option<number>;
|
|
802
|
+
readonly restartCount: number;
|
|
803
|
+
readonly collectionDurationMicros: number;
|
|
804
|
+
readonly scannedProcessCount: number;
|
|
805
|
+
readonly retainedProcessCount: number;
|
|
806
|
+
readonly inaccessibleProcessCount: number;
|
|
807
|
+
};
|
|
808
|
+
}, E | EnvironmentAuthorizationError | EnvironmentRpcUnavailableError | Error | import("effect/unstable/rpc/RpcClientError").RpcClientError>>;
|
|
809
|
+
configProjection: (target: {
|
|
810
|
+
readonly environmentId: EnvironmentId;
|
|
811
|
+
readonly input: EnvironmentRpcInput<typeof WS_METHODS.subscribeServerConfig>;
|
|
812
|
+
}) => Atom.Atom<AsyncResult.AsyncResult<ServerConfigProjection, E | import("effect/Cause").NoSuchElementError>>;
|
|
813
|
+
welcome: (target: {
|
|
814
|
+
readonly environmentId: EnvironmentId;
|
|
815
|
+
readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{}>;
|
|
816
|
+
}) => Atom.Atom<AsyncResult.AsyncResult<{
|
|
817
|
+
readonly environment: {
|
|
818
|
+
readonly environmentId: string & import("effect/Brand").Brand<"EnvironmentId">;
|
|
819
|
+
readonly label: string;
|
|
820
|
+
readonly platform: {
|
|
821
|
+
readonly os: "darwin" | "linux" | "unknown" | "windows";
|
|
822
|
+
readonly arch: "arm64" | "other" | "x64";
|
|
823
|
+
};
|
|
824
|
+
readonly serverVersion: string;
|
|
825
|
+
readonly capabilities: {
|
|
826
|
+
readonly repositoryIdentity: boolean;
|
|
827
|
+
readonly connectionProbe?: boolean;
|
|
828
|
+
readonly threadSettlement?: boolean;
|
|
829
|
+
readonly threadSnooze?: boolean;
|
|
830
|
+
readonly serverSelfUpdate?: "boot-service" | "desktop-managed" | "respawn";
|
|
831
|
+
};
|
|
832
|
+
};
|
|
833
|
+
readonly cwd: string;
|
|
834
|
+
readonly projectName: string;
|
|
835
|
+
readonly bootstrapProjectId?: (string & import("effect/Brand").Brand<"ProjectId">) | undefined;
|
|
836
|
+
readonly bootstrapThreadId?: (string & import("effect/Brand").Brand<"ThreadId">) | undefined;
|
|
837
|
+
}, E | EnvironmentAuthorizationError | import("effect/Cause").NoSuchElementError | import("effect/unstable/rpc/RpcClientError").RpcClientError>>;
|
|
838
|
+
refreshProviders: AtomCommand<{
|
|
839
|
+
readonly environmentId: EnvironmentId;
|
|
840
|
+
readonly input: {
|
|
841
|
+
readonly instanceId?: (string & import("effect/Brand").Brand<"ProviderInstanceId">) | undefined;
|
|
842
|
+
};
|
|
843
|
+
}, {
|
|
844
|
+
readonly providers: readonly {
|
|
845
|
+
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
846
|
+
readonly driver: string & import("effect/Brand").Brand<"ProviderDriverKind">;
|
|
847
|
+
readonly displayName?: string | undefined;
|
|
848
|
+
readonly accentColor?: string | undefined;
|
|
849
|
+
readonly badgeLabel?: string | undefined;
|
|
850
|
+
readonly continuation?: {
|
|
851
|
+
readonly groupKey: string;
|
|
852
|
+
} | undefined;
|
|
853
|
+
readonly showInteractionModeToggle?: boolean | undefined;
|
|
854
|
+
readonly requiresNewThreadForModelChange?: boolean | undefined;
|
|
855
|
+
readonly enabled: boolean;
|
|
856
|
+
readonly installed: boolean;
|
|
857
|
+
readonly version: string | null;
|
|
858
|
+
readonly status: "disabled" | "error" | "ready" | "warning";
|
|
859
|
+
readonly auth: {
|
|
860
|
+
readonly status: "authenticated" | "unauthenticated" | "unknown";
|
|
861
|
+
readonly type?: string | undefined;
|
|
862
|
+
readonly label?: string | undefined;
|
|
863
|
+
readonly email?: string | undefined;
|
|
864
|
+
};
|
|
865
|
+
readonly checkedAt: string;
|
|
866
|
+
readonly message?: string | undefined;
|
|
867
|
+
readonly availability?: "available" | "unavailable" | undefined;
|
|
868
|
+
readonly unavailableReason?: string | undefined;
|
|
869
|
+
readonly models: readonly {
|
|
870
|
+
readonly slug: string;
|
|
871
|
+
readonly name: string;
|
|
872
|
+
readonly shortName?: string | undefined;
|
|
873
|
+
readonly subProvider?: string | undefined;
|
|
874
|
+
readonly isCustom: boolean;
|
|
875
|
+
readonly isDefault?: boolean | undefined;
|
|
876
|
+
readonly capabilities: {
|
|
877
|
+
readonly optionDescriptors?: readonly ({
|
|
878
|
+
readonly id: string;
|
|
879
|
+
readonly label: string;
|
|
880
|
+
readonly description?: string | undefined;
|
|
881
|
+
readonly type: "select";
|
|
882
|
+
readonly options: readonly {
|
|
883
|
+
readonly id: string;
|
|
884
|
+
readonly label: string;
|
|
885
|
+
readonly description?: string | undefined;
|
|
886
|
+
readonly isDefault?: boolean | undefined;
|
|
887
|
+
}[];
|
|
888
|
+
readonly currentValue?: string | undefined;
|
|
889
|
+
readonly promptInjectedValues?: readonly string[] | undefined;
|
|
890
|
+
} | {
|
|
891
|
+
readonly id: string;
|
|
892
|
+
readonly label: string;
|
|
893
|
+
readonly description?: string | undefined;
|
|
894
|
+
readonly type: "boolean";
|
|
895
|
+
readonly currentValue?: boolean | undefined;
|
|
896
|
+
})[] | undefined;
|
|
897
|
+
} | null;
|
|
898
|
+
}[];
|
|
899
|
+
readonly slashCommands: readonly {
|
|
900
|
+
readonly name: string;
|
|
901
|
+
readonly description?: string | undefined;
|
|
902
|
+
readonly input?: {
|
|
903
|
+
readonly hint: string;
|
|
904
|
+
} | undefined;
|
|
905
|
+
}[];
|
|
906
|
+
readonly skills: readonly {
|
|
907
|
+
readonly name: string;
|
|
908
|
+
readonly description?: string | undefined;
|
|
909
|
+
readonly path: string;
|
|
910
|
+
readonly scope?: string | undefined;
|
|
911
|
+
readonly enabled: boolean;
|
|
912
|
+
readonly displayName?: string | undefined;
|
|
913
|
+
readonly shortDescription?: string | undefined;
|
|
914
|
+
}[];
|
|
915
|
+
readonly versionAdvisory?: {
|
|
916
|
+
readonly status: "behind_latest" | "current" | "unknown";
|
|
917
|
+
readonly currentVersion: string | null;
|
|
918
|
+
readonly latestVersion: string | null;
|
|
919
|
+
readonly updateCommand: string | null;
|
|
920
|
+
readonly canUpdate: boolean;
|
|
921
|
+
readonly checkedAt: string | null;
|
|
922
|
+
readonly message: string | null;
|
|
923
|
+
};
|
|
924
|
+
readonly updateState?: {
|
|
925
|
+
readonly status: "failed" | "idle" | "queued" | "running" | "succeeded" | "unchanged";
|
|
926
|
+
readonly startedAt: string | null;
|
|
927
|
+
readonly finishedAt: string | null;
|
|
928
|
+
readonly message: string | null;
|
|
929
|
+
readonly output: string | null;
|
|
930
|
+
};
|
|
931
|
+
}[];
|
|
932
|
+
}, E | EnvironmentAuthorizationError | EnvironmentNotRegisteredError | EnvironmentRpcUnavailableError | import("effect/unstable/rpc/RpcClientError").RpcClientError>;
|
|
933
|
+
updateProvider: AtomCommand<{
|
|
934
|
+
readonly environmentId: EnvironmentId;
|
|
935
|
+
readonly input: {
|
|
936
|
+
readonly provider: string & import("effect/Brand").Brand<"ProviderDriverKind">;
|
|
937
|
+
readonly instanceId?: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
938
|
+
};
|
|
939
|
+
}, {
|
|
940
|
+
readonly providers: readonly {
|
|
941
|
+
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
942
|
+
readonly driver: string & import("effect/Brand").Brand<"ProviderDriverKind">;
|
|
943
|
+
readonly displayName?: string | undefined;
|
|
944
|
+
readonly accentColor?: string | undefined;
|
|
945
|
+
readonly badgeLabel?: string | undefined;
|
|
946
|
+
readonly continuation?: {
|
|
947
|
+
readonly groupKey: string;
|
|
948
|
+
} | undefined;
|
|
949
|
+
readonly showInteractionModeToggle?: boolean | undefined;
|
|
950
|
+
readonly requiresNewThreadForModelChange?: boolean | undefined;
|
|
951
|
+
readonly enabled: boolean;
|
|
952
|
+
readonly installed: boolean;
|
|
953
|
+
readonly version: string | null;
|
|
954
|
+
readonly status: "disabled" | "error" | "ready" | "warning";
|
|
955
|
+
readonly auth: {
|
|
956
|
+
readonly status: "authenticated" | "unauthenticated" | "unknown";
|
|
957
|
+
readonly type?: string | undefined;
|
|
958
|
+
readonly label?: string | undefined;
|
|
959
|
+
readonly email?: string | undefined;
|
|
960
|
+
};
|
|
961
|
+
readonly checkedAt: string;
|
|
962
|
+
readonly message?: string | undefined;
|
|
963
|
+
readonly availability?: "available" | "unavailable" | undefined;
|
|
964
|
+
readonly unavailableReason?: string | undefined;
|
|
965
|
+
readonly models: readonly {
|
|
966
|
+
readonly slug: string;
|
|
967
|
+
readonly name: string;
|
|
968
|
+
readonly shortName?: string | undefined;
|
|
969
|
+
readonly subProvider?: string | undefined;
|
|
970
|
+
readonly isCustom: boolean;
|
|
971
|
+
readonly isDefault?: boolean | undefined;
|
|
972
|
+
readonly capabilities: {
|
|
973
|
+
readonly optionDescriptors?: readonly ({
|
|
974
|
+
readonly id: string;
|
|
975
|
+
readonly label: string;
|
|
976
|
+
readonly description?: string | undefined;
|
|
977
|
+
readonly type: "select";
|
|
978
|
+
readonly options: readonly {
|
|
979
|
+
readonly id: string;
|
|
980
|
+
readonly label: string;
|
|
981
|
+
readonly description?: string | undefined;
|
|
982
|
+
readonly isDefault?: boolean | undefined;
|
|
983
|
+
}[];
|
|
984
|
+
readonly currentValue?: string | undefined;
|
|
985
|
+
readonly promptInjectedValues?: readonly string[] | undefined;
|
|
986
|
+
} | {
|
|
987
|
+
readonly id: string;
|
|
988
|
+
readonly label: string;
|
|
989
|
+
readonly description?: string | undefined;
|
|
990
|
+
readonly type: "boolean";
|
|
991
|
+
readonly currentValue?: boolean | undefined;
|
|
992
|
+
})[] | undefined;
|
|
993
|
+
} | null;
|
|
994
|
+
}[];
|
|
995
|
+
readonly slashCommands: readonly {
|
|
996
|
+
readonly name: string;
|
|
997
|
+
readonly description?: string | undefined;
|
|
998
|
+
readonly input?: {
|
|
999
|
+
readonly hint: string;
|
|
1000
|
+
} | undefined;
|
|
1001
|
+
}[];
|
|
1002
|
+
readonly skills: readonly {
|
|
1003
|
+
readonly name: string;
|
|
1004
|
+
readonly description?: string | undefined;
|
|
1005
|
+
readonly path: string;
|
|
1006
|
+
readonly scope?: string | undefined;
|
|
1007
|
+
readonly enabled: boolean;
|
|
1008
|
+
readonly displayName?: string | undefined;
|
|
1009
|
+
readonly shortDescription?: string | undefined;
|
|
1010
|
+
}[];
|
|
1011
|
+
readonly versionAdvisory?: {
|
|
1012
|
+
readonly status: "behind_latest" | "current" | "unknown";
|
|
1013
|
+
readonly currentVersion: string | null;
|
|
1014
|
+
readonly latestVersion: string | null;
|
|
1015
|
+
readonly updateCommand: string | null;
|
|
1016
|
+
readonly canUpdate: boolean;
|
|
1017
|
+
readonly checkedAt: string | null;
|
|
1018
|
+
readonly message: string | null;
|
|
1019
|
+
};
|
|
1020
|
+
readonly updateState?: {
|
|
1021
|
+
readonly status: "failed" | "idle" | "queued" | "running" | "succeeded" | "unchanged";
|
|
1022
|
+
readonly startedAt: string | null;
|
|
1023
|
+
readonly finishedAt: string | null;
|
|
1024
|
+
readonly message: string | null;
|
|
1025
|
+
readonly output: string | null;
|
|
1026
|
+
};
|
|
1027
|
+
}[];
|
|
1028
|
+
}, E | EnvironmentAuthorizationError | EnvironmentNotRegisteredError | EnvironmentRpcUnavailableError | import("effect/unstable/rpc/RpcClientError").RpcClientError | ServerProviderUpdateError>;
|
|
1029
|
+
updateServer: AtomCommand<{
|
|
1030
|
+
readonly environmentId: EnvironmentId;
|
|
1031
|
+
readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
1032
|
+
readonly targetVersion: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
|
|
1033
|
+
}>;
|
|
1034
|
+
}, {
|
|
1035
|
+
readonly targetVersion: string;
|
|
1036
|
+
readonly method: "boot-service" | "respawn";
|
|
1037
|
+
}, E | EnvironmentAuthorizationError | EnvironmentNotRegisteredError | EnvironmentRpcUnavailableError | import("effect/unstable/rpc/RpcClientError").RpcClientError | ServerSelfUpdateError>;
|
|
1038
|
+
upsertKeybinding: AtomCommand<{
|
|
1039
|
+
readonly environmentId: EnvironmentId;
|
|
1040
|
+
readonly input: {
|
|
1041
|
+
readonly key: string;
|
|
1042
|
+
readonly command: "chat.new" | "chat.newLocal" | "commandPalette.toggle" | "composer.stash" | "diff.toggle" | "editor.openFavorite" | "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" | "modelPicker.toggle" | "preview.focusUrl" | "preview.refresh" | "preview.resetZoom" | "preview.toggle" | "preview.zoomIn" | "preview.zoomOut" | "rightPanel.toggle" | "sidebar.toggle" | "terminal.close" | "terminal.new" | "terminal.split" | "terminal.splitVertical" | "terminal.toggle" | "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" | "thread.next" | "thread.previous" | `script.${string}.run`;
|
|
1043
|
+
readonly when?: string | undefined;
|
|
1044
|
+
readonly replace?: {
|
|
1045
|
+
readonly key: string;
|
|
1046
|
+
readonly command: "chat.new" | "chat.newLocal" | "commandPalette.toggle" | "composer.stash" | "diff.toggle" | "editor.openFavorite" | "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" | "modelPicker.toggle" | "preview.focusUrl" | "preview.refresh" | "preview.resetZoom" | "preview.toggle" | "preview.zoomIn" | "preview.zoomOut" | "rightPanel.toggle" | "sidebar.toggle" | "terminal.close" | "terminal.new" | "terminal.split" | "terminal.splitVertical" | "terminal.toggle" | "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" | "thread.next" | "thread.previous" | `script.${string}.run`;
|
|
1047
|
+
readonly when?: string | undefined;
|
|
1048
|
+
} | undefined;
|
|
1049
|
+
};
|
|
1050
|
+
}, {
|
|
1051
|
+
readonly keybindings: readonly {
|
|
1052
|
+
readonly command: "chat.new" | "chat.newLocal" | "commandPalette.toggle" | "composer.stash" | "diff.toggle" | "editor.openFavorite" | "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" | "modelPicker.toggle" | "preview.focusUrl" | "preview.refresh" | "preview.resetZoom" | "preview.toggle" | "preview.zoomIn" | "preview.zoomOut" | "rightPanel.toggle" | "sidebar.toggle" | "terminal.close" | "terminal.new" | "terminal.split" | "terminal.splitVertical" | "terminal.toggle" | "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" | "thread.next" | "thread.previous" | `script.${string}.run`;
|
|
1053
|
+
readonly shortcut: {
|
|
1054
|
+
readonly key: string;
|
|
1055
|
+
readonly metaKey: boolean;
|
|
1056
|
+
readonly ctrlKey: boolean;
|
|
1057
|
+
readonly shiftKey: boolean;
|
|
1058
|
+
readonly altKey: boolean;
|
|
1059
|
+
readonly modKey: boolean;
|
|
1060
|
+
};
|
|
1061
|
+
readonly whenAst?: {
|
|
1062
|
+
readonly type: "identifier";
|
|
1063
|
+
readonly name: string;
|
|
1064
|
+
} | {
|
|
1065
|
+
readonly type: "not";
|
|
1066
|
+
readonly node: KeybindingWhenNode;
|
|
1067
|
+
} | {
|
|
1068
|
+
readonly type: "and";
|
|
1069
|
+
readonly left: KeybindingWhenNode;
|
|
1070
|
+
readonly right: KeybindingWhenNode;
|
|
1071
|
+
} | {
|
|
1072
|
+
readonly type: "or";
|
|
1073
|
+
readonly left: KeybindingWhenNode;
|
|
1074
|
+
readonly right: KeybindingWhenNode;
|
|
1075
|
+
} | undefined;
|
|
1076
|
+
}[];
|
|
1077
|
+
readonly issues: readonly ({
|
|
1078
|
+
readonly kind: "keybindings.malformed-config";
|
|
1079
|
+
readonly message: string;
|
|
1080
|
+
} | {
|
|
1081
|
+
readonly kind: "keybindings.invalid-entry";
|
|
1082
|
+
readonly message: string;
|
|
1083
|
+
readonly index: number;
|
|
1084
|
+
})[];
|
|
1085
|
+
}, E | EnvironmentAuthorizationError | EnvironmentNotRegisteredError | EnvironmentRpcUnavailableError | KeybindingsConfigError | import("effect/unstable/rpc/RpcClientError").RpcClientError>;
|
|
1086
|
+
removeKeybinding: AtomCommand<{
|
|
1087
|
+
readonly environmentId: EnvironmentId;
|
|
1088
|
+
readonly input: {
|
|
1089
|
+
readonly key: string;
|
|
1090
|
+
readonly command: "chat.new" | "chat.newLocal" | "commandPalette.toggle" | "composer.stash" | "diff.toggle" | "editor.openFavorite" | "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" | "modelPicker.toggle" | "preview.focusUrl" | "preview.refresh" | "preview.resetZoom" | "preview.toggle" | "preview.zoomIn" | "preview.zoomOut" | "rightPanel.toggle" | "sidebar.toggle" | "terminal.close" | "terminal.new" | "terminal.split" | "terminal.splitVertical" | "terminal.toggle" | "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" | "thread.next" | "thread.previous" | `script.${string}.run`;
|
|
1091
|
+
readonly when?: string | undefined;
|
|
1092
|
+
};
|
|
1093
|
+
}, {
|
|
1094
|
+
readonly keybindings: readonly {
|
|
1095
|
+
readonly command: "chat.new" | "chat.newLocal" | "commandPalette.toggle" | "composer.stash" | "diff.toggle" | "editor.openFavorite" | "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" | "modelPicker.toggle" | "preview.focusUrl" | "preview.refresh" | "preview.resetZoom" | "preview.toggle" | "preview.zoomIn" | "preview.zoomOut" | "rightPanel.toggle" | "sidebar.toggle" | "terminal.close" | "terminal.new" | "terminal.split" | "terminal.splitVertical" | "terminal.toggle" | "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" | "thread.next" | "thread.previous" | `script.${string}.run`;
|
|
1096
|
+
readonly shortcut: {
|
|
1097
|
+
readonly key: string;
|
|
1098
|
+
readonly metaKey: boolean;
|
|
1099
|
+
readonly ctrlKey: boolean;
|
|
1100
|
+
readonly shiftKey: boolean;
|
|
1101
|
+
readonly altKey: boolean;
|
|
1102
|
+
readonly modKey: boolean;
|
|
1103
|
+
};
|
|
1104
|
+
readonly whenAst?: {
|
|
1105
|
+
readonly type: "identifier";
|
|
1106
|
+
readonly name: string;
|
|
1107
|
+
} | {
|
|
1108
|
+
readonly type: "not";
|
|
1109
|
+
readonly node: KeybindingWhenNode;
|
|
1110
|
+
} | {
|
|
1111
|
+
readonly type: "and";
|
|
1112
|
+
readonly left: KeybindingWhenNode;
|
|
1113
|
+
readonly right: KeybindingWhenNode;
|
|
1114
|
+
} | {
|
|
1115
|
+
readonly type: "or";
|
|
1116
|
+
readonly left: KeybindingWhenNode;
|
|
1117
|
+
readonly right: KeybindingWhenNode;
|
|
1118
|
+
} | undefined;
|
|
1119
|
+
}[];
|
|
1120
|
+
readonly issues: readonly ({
|
|
1121
|
+
readonly kind: "keybindings.malformed-config";
|
|
1122
|
+
readonly message: string;
|
|
1123
|
+
} | {
|
|
1124
|
+
readonly kind: "keybindings.invalid-entry";
|
|
1125
|
+
readonly message: string;
|
|
1126
|
+
readonly index: number;
|
|
1127
|
+
})[];
|
|
1128
|
+
}, E | EnvironmentAuthorizationError | EnvironmentNotRegisteredError | EnvironmentRpcUnavailableError | KeybindingsConfigError | import("effect/unstable/rpc/RpcClientError").RpcClientError>;
|
|
1129
|
+
updateSettings: AtomCommand<{
|
|
1130
|
+
readonly environmentId: EnvironmentId;
|
|
1131
|
+
readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
1132
|
+
readonly patch: import("effect/Schema").Struct<{
|
|
1133
|
+
readonly enableAssistantStreaming: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
1134
|
+
readonly enableProviderUpdateChecks: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
1135
|
+
readonly backgroundActivity: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
1136
|
+
readonly schemaVersion: import("effect/Schema").optionalKey<import("effect/Schema").Literal<1>>;
|
|
1137
|
+
readonly profile: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["balanced", "performance", "battery-saver", "custom"]>>;
|
|
1138
|
+
readonly baseProfile: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["balanced", "performance", "battery-saver"]>>;
|
|
1139
|
+
readonly overrides: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
1140
|
+
readonly automaticGitFetchInterval: import("effect/Schema").optionalKey<import("effect/Schema").DurationFromMillis>;
|
|
1141
|
+
readonly providerHealthRefreshInterval: import("effect/Schema").optionalKey<import("effect/Schema").DurationFromMillis>;
|
|
1142
|
+
readonly hostPowerMonitorActiveInterval: import("effect/Schema").optionalKey<import("effect/Schema").DurationFromMillis>;
|
|
1143
|
+
readonly hostPowerMonitorIdleInterval: import("effect/Schema").optionalKey<import("effect/Schema").DurationFromMillis>;
|
|
1144
|
+
readonly idleClientTtl: import("effect/Schema").optionalKey<import("effect/Schema").DurationFromMillis>;
|
|
1145
|
+
readonly pauseWhenHostLocked: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
1146
|
+
readonly pauseWhenHostLowPower: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
1147
|
+
readonly pauseWhenClientLowPower: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
1148
|
+
readonly pauseWhenOnBattery: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
1149
|
+
}>>;
|
|
1150
|
+
}>>;
|
|
1151
|
+
readonly automaticGitFetchInterval: import("effect/Schema").optionalKey<import("effect/Schema").DurationFromMillis>;
|
|
1152
|
+
readonly providerHealthRefreshInterval: import("effect/Schema").optionalKey<import("effect/Schema").DurationFromMillis>;
|
|
1153
|
+
readonly backgroundActivityProfile: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["balanced", "performance", "battery-saver"]>>;
|
|
1154
|
+
readonly defaultThreadEnvMode: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["local", "worktree"]>>;
|
|
1155
|
+
readonly newWorktreesStartFromOrigin: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
1156
|
+
readonly addProjectBaseDirectory: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
1157
|
+
readonly textGenerationModelSelection: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
1158
|
+
readonly instanceId: import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ProviderInstanceId">>;
|
|
1159
|
+
readonly model: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
1160
|
+
readonly options: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1161
|
+
readonly id: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
|
|
1162
|
+
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]>;
|
|
1163
|
+
}>>, import("effect/Schema").decodeTo<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1164
|
+
readonly id: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
|
|
1165
|
+
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]>;
|
|
1166
|
+
}>>, import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>, never, never>]>>;
|
|
1167
|
+
}>>;
|
|
1168
|
+
readonly sourceControlWritingStyle: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
1169
|
+
readonly mode: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["repo_conventions", "conventional_commits", "custom"]>>;
|
|
1170
|
+
readonly customInstructions: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
1171
|
+
readonly followChangeRequestTemplates: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
1172
|
+
}>>;
|
|
1173
|
+
readonly sourceControlWriterModelSelection: import("effect/Schema").optionalKey<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
|
|
1174
|
+
readonly instanceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ProviderInstanceId">;
|
|
1175
|
+
readonly model: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
|
|
1176
|
+
readonly options: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1177
|
+
readonly id: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
|
|
1178
|
+
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]>;
|
|
1179
|
+
}>>, import("effect/Schema").decodeTo<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1180
|
+
readonly id: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
|
|
1181
|
+
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]>;
|
|
1182
|
+
}>>, import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>, never, never>]>>;
|
|
1183
|
+
}>, import("effect/Schema").Struct<{
|
|
1184
|
+
readonly provider: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
1185
|
+
readonly instanceId: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
1186
|
+
readonly model: import("effect/Schema").Unknown;
|
|
1187
|
+
readonly options: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
1188
|
+
}>, never, never>>>;
|
|
1189
|
+
readonly observability: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
1190
|
+
readonly otlpTracesUrl: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
1191
|
+
readonly otlpMetricsUrl: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
1192
|
+
}>>;
|
|
1193
|
+
readonly providers: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
1194
|
+
readonly codex: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
1195
|
+
readonly enabled: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
1196
|
+
readonly binaryPath: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
1197
|
+
readonly homePath: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
1198
|
+
readonly shadowHomePath: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
1199
|
+
readonly launchArgs: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
1200
|
+
readonly customModels: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1201
|
+
}>>;
|
|
1202
|
+
readonly claudeAgent: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
1203
|
+
readonly enabled: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
1204
|
+
readonly binaryPath: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
1205
|
+
readonly homePath: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
1206
|
+
readonly customModels: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1207
|
+
readonly launchArgs: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
1208
|
+
}>>;
|
|
1209
|
+
readonly cursor: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
1210
|
+
readonly enabled: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
1211
|
+
readonly binaryPath: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
1212
|
+
readonly apiEndpoint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
1213
|
+
readonly customModels: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1214
|
+
}>>;
|
|
1215
|
+
readonly grok: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
1216
|
+
readonly enabled: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
1217
|
+
readonly binaryPath: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
1218
|
+
readonly customModels: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1219
|
+
}>>;
|
|
1220
|
+
readonly opencode: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
1221
|
+
readonly enabled: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
1222
|
+
readonly binaryPath: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
1223
|
+
readonly serverUrl: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
1224
|
+
readonly serverPassword: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
1225
|
+
readonly customModels: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1226
|
+
}>>;
|
|
1227
|
+
}>>;
|
|
1228
|
+
readonly providerInstances: import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ProviderInstanceId">, import("effect/Schema").Struct<{
|
|
1229
|
+
readonly driver: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ProviderDriverKind">;
|
|
1230
|
+
readonly displayName: import("effect/Schema").optional<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
1231
|
+
readonly accentColor: import("effect/Schema").optional<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
|
|
1232
|
+
readonly environment: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1233
|
+
readonly name: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
|
|
1234
|
+
readonly value: import("effect/Schema").withDecodingDefault<import("effect/Schema").String, never>;
|
|
1235
|
+
readonly sensitive: import("effect/Schema").withDecodingDefault<import("effect/Schema").Boolean, never>;
|
|
1236
|
+
readonly valueRedacted: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
1237
|
+
}>>>;
|
|
1238
|
+
readonly enabled: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
1239
|
+
readonly config: import("effect/Schema").optionalKey<import("effect/Schema").Unknown>;
|
|
1240
|
+
}>>>;
|
|
1241
|
+
}>;
|
|
1242
|
+
}>;
|
|
1243
|
+
}, {
|
|
1244
|
+
readonly enableAssistantStreaming: boolean;
|
|
1245
|
+
readonly enableProviderUpdateChecks: boolean;
|
|
1246
|
+
readonly backgroundActivity: {
|
|
1247
|
+
readonly schemaVersion: 1;
|
|
1248
|
+
readonly profile: "balanced" | "battery-saver" | "custom" | "performance";
|
|
1249
|
+
readonly baseProfile?: "balanced" | "battery-saver" | "performance";
|
|
1250
|
+
readonly overrides: {
|
|
1251
|
+
readonly automaticGitFetchInterval?: import("effect/Duration").Duration;
|
|
1252
|
+
readonly providerHealthRefreshInterval?: import("effect/Duration").Duration;
|
|
1253
|
+
readonly hostPowerMonitorActiveInterval?: import("effect/Duration").Duration;
|
|
1254
|
+
readonly hostPowerMonitorIdleInterval?: import("effect/Duration").Duration;
|
|
1255
|
+
readonly idleClientTtl?: import("effect/Duration").Duration;
|
|
1256
|
+
readonly pauseWhenHostLocked?: boolean;
|
|
1257
|
+
readonly pauseWhenHostLowPower?: boolean;
|
|
1258
|
+
readonly pauseWhenClientLowPower?: boolean;
|
|
1259
|
+
readonly pauseWhenOnBattery?: boolean;
|
|
1260
|
+
};
|
|
1261
|
+
};
|
|
1262
|
+
readonly automaticGitFetchInterval: import("effect/Duration").Duration;
|
|
1263
|
+
readonly providerHealthRefreshInterval: import("effect/Duration").Duration;
|
|
1264
|
+
readonly backgroundActivityProfile: "balanced" | "battery-saver" | "performance";
|
|
1265
|
+
readonly defaultThreadEnvMode: "local" | "worktree";
|
|
1266
|
+
readonly newWorktreesStartFromOrigin: boolean;
|
|
1267
|
+
readonly addProjectBaseDirectory: string;
|
|
1268
|
+
readonly textGenerationModelSelection: {
|
|
1269
|
+
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
1270
|
+
readonly model: string;
|
|
1271
|
+
readonly options?: readonly {
|
|
1272
|
+
readonly id: string;
|
|
1273
|
+
readonly value: string | boolean;
|
|
1274
|
+
}[];
|
|
1275
|
+
};
|
|
1276
|
+
readonly sourceControlWritingStyle: {
|
|
1277
|
+
readonly mode: "conventional_commits" | "custom" | "repo_conventions";
|
|
1278
|
+
readonly customInstructions: string;
|
|
1279
|
+
readonly followChangeRequestTemplates: boolean;
|
|
1280
|
+
};
|
|
1281
|
+
readonly sourceControlWriterModelSelection: {
|
|
1282
|
+
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
1283
|
+
readonly model: string;
|
|
1284
|
+
readonly options?: readonly {
|
|
1285
|
+
readonly id: string;
|
|
1286
|
+
readonly value: string | boolean;
|
|
1287
|
+
}[];
|
|
1288
|
+
} | null;
|
|
1289
|
+
readonly providers: {
|
|
1290
|
+
readonly codex: {
|
|
1291
|
+
readonly enabled: boolean;
|
|
1292
|
+
readonly binaryPath: string;
|
|
1293
|
+
readonly homePath: string;
|
|
1294
|
+
readonly shadowHomePath: string;
|
|
1295
|
+
readonly launchArgs: string;
|
|
1296
|
+
readonly customModels: readonly string[];
|
|
1297
|
+
};
|
|
1298
|
+
readonly claudeAgent: {
|
|
1299
|
+
readonly enabled: boolean;
|
|
1300
|
+
readonly binaryPath: string;
|
|
1301
|
+
readonly homePath: string;
|
|
1302
|
+
readonly customModels: readonly string[];
|
|
1303
|
+
readonly launchArgs: string;
|
|
1304
|
+
};
|
|
1305
|
+
readonly cursor: {
|
|
1306
|
+
readonly enabled: boolean;
|
|
1307
|
+
readonly binaryPath: string;
|
|
1308
|
+
readonly apiEndpoint: string;
|
|
1309
|
+
readonly customModels: readonly string[];
|
|
1310
|
+
};
|
|
1311
|
+
readonly grok: {
|
|
1312
|
+
readonly enabled: boolean;
|
|
1313
|
+
readonly binaryPath: string;
|
|
1314
|
+
readonly customModels: readonly string[];
|
|
1315
|
+
};
|
|
1316
|
+
readonly opencode: {
|
|
1317
|
+
readonly enabled: boolean;
|
|
1318
|
+
readonly binaryPath: string;
|
|
1319
|
+
readonly serverUrl: string;
|
|
1320
|
+
readonly serverPassword: string;
|
|
1321
|
+
readonly customModels: readonly string[];
|
|
1322
|
+
};
|
|
1323
|
+
};
|
|
1324
|
+
readonly providerInstances: {
|
|
1325
|
+
readonly [x: string & import("effect/Brand").Brand<"ProviderInstanceId">]: {
|
|
1326
|
+
readonly driver: string & import("effect/Brand").Brand<"ProviderDriverKind">;
|
|
1327
|
+
readonly displayName?: string | undefined;
|
|
1328
|
+
readonly accentColor?: string | undefined;
|
|
1329
|
+
readonly environment?: readonly {
|
|
1330
|
+
readonly name: string;
|
|
1331
|
+
readonly value: string;
|
|
1332
|
+
readonly sensitive: boolean;
|
|
1333
|
+
readonly valueRedacted?: boolean;
|
|
1334
|
+
}[];
|
|
1335
|
+
readonly enabled?: boolean;
|
|
1336
|
+
readonly config?: unknown;
|
|
1337
|
+
};
|
|
1338
|
+
};
|
|
1339
|
+
readonly observability: {
|
|
1340
|
+
readonly otlpTracesUrl: string;
|
|
1341
|
+
readonly otlpMetricsUrl: string;
|
|
1342
|
+
};
|
|
1343
|
+
}, E | EnvironmentAuthorizationError | EnvironmentNotRegisteredError | EnvironmentRpcUnavailableError | import("effect/unstable/rpc/RpcClientError").RpcClientError | ServerSettingsError>;
|
|
1344
|
+
signalProcess: AtomCommand<{
|
|
1345
|
+
readonly environmentId: EnvironmentId;
|
|
1346
|
+
readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{
|
|
1347
|
+
readonly pid: import("effect/Schema").Int;
|
|
1348
|
+
readonly startTimeMs: import("effect/Schema").Int;
|
|
1349
|
+
readonly signal: import("effect/Schema").Literals<readonly ["SIGINT", "SIGKILL"]>;
|
|
1350
|
+
}>;
|
|
1351
|
+
}, {
|
|
1352
|
+
readonly pid: number;
|
|
1353
|
+
readonly signal: "SIGINT" | "SIGKILL";
|
|
1354
|
+
readonly signaled: boolean;
|
|
1355
|
+
readonly message: Option.Option<string>;
|
|
1356
|
+
}, E | EnvironmentAuthorizationError | EnvironmentNotRegisteredError | EnvironmentRpcUnavailableError | import("effect/unstable/rpc/RpcClientError").RpcClientError>;
|
|
1357
|
+
retryResourceTelemetry: AtomCommand<{
|
|
1358
|
+
readonly environmentId: EnvironmentId;
|
|
1359
|
+
readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{}>;
|
|
1360
|
+
}, {
|
|
1361
|
+
readonly accepted: boolean;
|
|
1362
|
+
readonly snapshot: {
|
|
1363
|
+
readonly readAt: import("effect/DateTime").Utc;
|
|
1364
|
+
readonly sampleIntervalMs: number;
|
|
1365
|
+
readonly processes: readonly {
|
|
1366
|
+
readonly identity: {
|
|
1367
|
+
readonly pid: number;
|
|
1368
|
+
readonly startTimeMs: number;
|
|
1369
|
+
};
|
|
1370
|
+
readonly ppid: number;
|
|
1371
|
+
readonly childPids: readonly number[];
|
|
1372
|
+
readonly depth: number;
|
|
1373
|
+
readonly name: string;
|
|
1374
|
+
readonly command: string;
|
|
1375
|
+
readonly status: string;
|
|
1376
|
+
readonly category: "electron-gpu" | "electron-main" | "electron-renderer" | "electron-utility" | "provider-root" | "resource-monitor" | "server" | "server-child" | "terminal-root" | "unknown-t3";
|
|
1377
|
+
readonly electronType?: "Browser" | "GPU" | "Pepper Plugin" | "Pepper Plugin Broker" | "Sandbox helper" | "Tab" | "Unknown" | "Utility" | "Zygote";
|
|
1378
|
+
readonly electronServiceName?: string;
|
|
1379
|
+
readonly cpuPercent: number;
|
|
1380
|
+
readonly cpuTimeMs: number;
|
|
1381
|
+
readonly residentBytes: number;
|
|
1382
|
+
readonly peakResidentBytes: number;
|
|
1383
|
+
readonly virtualBytes: number;
|
|
1384
|
+
readonly ioReadBytes: number;
|
|
1385
|
+
readonly ioWriteBytes: number;
|
|
1386
|
+
readonly ioReadBytesPerSecond: number;
|
|
1387
|
+
readonly ioWriteBytesPerSecond: number;
|
|
1388
|
+
readonly ioSemantics: "all-io" | "logical" | "storage" | "unavailable";
|
|
1389
|
+
readonly idleWakeupsPerSecond?: number;
|
|
1390
|
+
readonly runTimeMs: number;
|
|
1391
|
+
readonly firstSeenAt: import("effect/DateTime").Utc;
|
|
1392
|
+
readonly lastSeenAt: import("effect/DateTime").Utc;
|
|
1393
|
+
}[];
|
|
1394
|
+
readonly groups: {
|
|
1395
|
+
readonly backend: {
|
|
1396
|
+
readonly processCount: number;
|
|
1397
|
+
readonly currentCpuPercent: number;
|
|
1398
|
+
readonly cpuTimeMs: number;
|
|
1399
|
+
readonly currentRssBytes: number;
|
|
1400
|
+
readonly peakRssBytes: number;
|
|
1401
|
+
readonly ioReadBytes: number;
|
|
1402
|
+
readonly ioWriteBytes: number;
|
|
1403
|
+
readonly ioReadBytesPerSecond: number;
|
|
1404
|
+
readonly ioWriteBytesPerSecond: number;
|
|
1405
|
+
readonly processStarts: number;
|
|
1406
|
+
readonly processExits: number;
|
|
1407
|
+
};
|
|
1408
|
+
readonly electron: {
|
|
1409
|
+
readonly processCount: number;
|
|
1410
|
+
readonly currentCpuPercent: number;
|
|
1411
|
+
readonly cpuTimeMs: number;
|
|
1412
|
+
readonly currentRssBytes: number;
|
|
1413
|
+
readonly peakRssBytes: number;
|
|
1414
|
+
readonly ioReadBytes: number;
|
|
1415
|
+
readonly ioWriteBytes: number;
|
|
1416
|
+
readonly ioReadBytesPerSecond: number;
|
|
1417
|
+
readonly ioWriteBytesPerSecond: number;
|
|
1418
|
+
readonly processStarts: number;
|
|
1419
|
+
readonly processExits: number;
|
|
1420
|
+
};
|
|
1421
|
+
readonly monitor: {
|
|
1422
|
+
readonly processCount: number;
|
|
1423
|
+
readonly currentCpuPercent: number;
|
|
1424
|
+
readonly cpuTimeMs: number;
|
|
1425
|
+
readonly currentRssBytes: number;
|
|
1426
|
+
readonly peakRssBytes: number;
|
|
1427
|
+
readonly ioReadBytes: number;
|
|
1428
|
+
readonly ioWriteBytes: number;
|
|
1429
|
+
readonly ioReadBytesPerSecond: number;
|
|
1430
|
+
readonly ioWriteBytesPerSecond: number;
|
|
1431
|
+
readonly processStarts: number;
|
|
1432
|
+
readonly processExits: number;
|
|
1433
|
+
};
|
|
1434
|
+
readonly allT3: {
|
|
1435
|
+
readonly processCount: number;
|
|
1436
|
+
readonly currentCpuPercent: number;
|
|
1437
|
+
readonly cpuTimeMs: number;
|
|
1438
|
+
readonly currentRssBytes: number;
|
|
1439
|
+
readonly peakRssBytes: number;
|
|
1440
|
+
readonly ioReadBytes: number;
|
|
1441
|
+
readonly ioWriteBytes: number;
|
|
1442
|
+
readonly ioReadBytesPerSecond: number;
|
|
1443
|
+
readonly ioWriteBytesPerSecond: number;
|
|
1444
|
+
readonly processStarts: number;
|
|
1445
|
+
readonly processExits: number;
|
|
1446
|
+
};
|
|
1447
|
+
};
|
|
1448
|
+
readonly power: {
|
|
1449
|
+
readonly source: "electron-main" | "node-linux" | "node-macos-native" | "node-macos-shell" | "node-windows" | "unknown";
|
|
1450
|
+
readonly idle: "false" | "true" | "unknown";
|
|
1451
|
+
readonly idleSeconds: number | null;
|
|
1452
|
+
readonly locked: "false" | "true" | "unknown";
|
|
1453
|
+
readonly suspended: boolean;
|
|
1454
|
+
readonly onBattery: "false" | "true" | "unknown";
|
|
1455
|
+
readonly lowPowerMode: "false" | "true" | "unknown";
|
|
1456
|
+
readonly thermalState: "critical" | "fair" | "nominal" | "serious" | "unknown";
|
|
1457
|
+
readonly stale: boolean;
|
|
1458
|
+
readonly updatedAt: import("effect/DateTime").Utc;
|
|
1459
|
+
};
|
|
1460
|
+
readonly speedLimitPercent: Option.Option<number>;
|
|
1461
|
+
readonly attribution: {
|
|
1462
|
+
readonly readAt: import("effect/DateTime").Utc;
|
|
1463
|
+
readonly entries: readonly {
|
|
1464
|
+
readonly component: string;
|
|
1465
|
+
readonly operation: string;
|
|
1466
|
+
readonly logicalReadBytes: number;
|
|
1467
|
+
readonly logicalWriteBytes: number;
|
|
1468
|
+
readonly count: number;
|
|
1469
|
+
readonly durationMs: number;
|
|
1470
|
+
}[];
|
|
1471
|
+
};
|
|
1472
|
+
readonly health: {
|
|
1473
|
+
readonly native: {
|
|
1474
|
+
readonly status: "degraded" | "healthy" | "starting" | "stopped" | "unavailable";
|
|
1475
|
+
readonly lastSampleAt: Option.Option<import("effect/DateTime").Utc>;
|
|
1476
|
+
readonly lastError: Option.Option<string>;
|
|
1477
|
+
};
|
|
1478
|
+
readonly desktop: {
|
|
1479
|
+
readonly status: "degraded" | "healthy" | "starting" | "stopped" | "unavailable";
|
|
1480
|
+
readonly lastSampleAt: Option.Option<import("effect/DateTime").Utc>;
|
|
1481
|
+
readonly lastError: Option.Option<string>;
|
|
1482
|
+
};
|
|
1483
|
+
readonly sidecarVersion: Option.Option<string>;
|
|
1484
|
+
readonly sidecarPid: Option.Option<number>;
|
|
1485
|
+
readonly restartCount: number;
|
|
1486
|
+
readonly collectionDurationMicros: number;
|
|
1487
|
+
readonly scannedProcessCount: number;
|
|
1488
|
+
readonly retainedProcessCount: number;
|
|
1489
|
+
readonly inaccessibleProcessCount: number;
|
|
1490
|
+
};
|
|
1491
|
+
};
|
|
1492
|
+
}, E | EnvironmentAuthorizationError | EnvironmentNotRegisteredError | EnvironmentRpcUnavailableError | import("effect/unstable/rpc/RpcClientError").RpcClientError>;
|
|
1493
|
+
};
|
|
1494
|
+
//#endregion
|
|
1495
|
+
export { ServerConfigProjection, applyServerConfigProjection, createServerEnvironmentAtoms, makeEnvironmentServerConfigState, projectServerConfig, projectServerWelcome, resolveServerConfigValue, serverConfigStateChanges };
|