t3code-cli 0.12.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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 +392 -630
- 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/rolldown-runtime.js +1 -1
- 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 +36722 -13117
- package/dist/t3tools.d.ts +2 -0
- package/dist/t3tools.js +2 -2
- package/package.json +46 -27
- package/src/application/thread-wait.ts +4 -0
- package/src/auth/error.ts +2 -8
- package/src/auth/index.ts +2 -0
- package/src/auth/pairing.ts +8 -5
- package/src/auth/remote-error.ts +17 -0
- package/src/auth/service.ts +2 -1
- package/src/auth/transport.ts +49 -114
- package/src/auth/type.ts +6 -0
- package/src/cli/auth.ts +7 -1
- package/src/connection/error.ts +4 -1
- package/src/connection/layer.ts +5 -2
- package/src/connection/prepared.ts +83 -0
- package/src/contracts/index.ts +8 -0
- package/src/orchestration/layer.ts +38 -1
- 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 +11 -16
- package/src/rpc/index.ts +3 -2
- package/src/rpc/layer.ts +18 -51
- package/src/rpc/operation.ts +21 -6
- package/src/rpc/service.ts +2 -1
- package/src/rpc/session.ts +168 -0
- package/src/rpc/ws-group.ts +18 -26
- package/src/runtime/index.ts +1 -0
- package/src/runtime/layer.ts +11 -3
- 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 -101
- 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 -111
- package/dist/src/application/threads.d.ts +0 -685
- package/dist/src/auth/error.d.ts +0 -51
- 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/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 -8
- package/dist/src/connection/index.d.ts +0 -4
- package/dist/src/connection/layer.d.ts +0 -3
- 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 -184
- package/dist/src/domain/model-config.d.ts +0 -325
- package/dist/src/domain/thread-activities.d.ts +0 -14
- package/dist/src/domain/thread-lifecycle.d.ts +0 -125
- 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 -1634
- package/dist/src/orchestration/service.d.ts +0 -28
- package/dist/src/rpc/error.d.ts +0 -18
- package/dist/src/rpc/index.d.ts +0 -5
- package/dist/src/rpc/layer.d.ts +0 -6271
- package/dist/src/rpc/operation.d.ts +0 -6280
- package/dist/src/rpc/service.d.ts +0 -15
- package/dist/src/rpc/ws-group.d.ts +0 -2725
- 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
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Fi as CliRuntime, Ii as layer$1, Un as T3CliEnvScope, Wn as T3CliEnvShape, fr as T3ConfigSelection } from "./shared.js";
|
|
2
|
+
import * as Layer from "effect/Layer";
|
|
3
|
+
import { Flag, GlobalFlag } from "effect/unstable/cli";
|
|
4
|
+
//#region src/cli/flags.d.ts
|
|
5
|
+
declare const projectFlag: Flag.Flag<import("effect/Option").Option<string>>;
|
|
6
|
+
declare const threadFlag: Flag.Flag<import("effect/Option").Option<string>>;
|
|
7
|
+
declare const worktreeFlag: Flag.Flag<import("effect/Option").Option<string>>;
|
|
8
|
+
declare const projectPathFlag: Flag.Flag<string>;
|
|
9
|
+
declare const formatFlag: Flag.Flag<"auto" | "human" | "json">;
|
|
10
|
+
declare const threadFormatFlag: Flag.Flag<"auto" | "human" | "json" | "ndjson">;
|
|
11
|
+
declare const waitFormatFlag: Flag.Flag<"auto" | "human" | "ndjson">;
|
|
12
|
+
declare const modelFlags: {
|
|
13
|
+
readonly option: Flag.Flag<import("effect/Option").Option<Record<string, string>>>;
|
|
14
|
+
readonly reasoningEffort: Flag.Flag<import("effect/Option").Option<string>>;
|
|
15
|
+
readonly effort: Flag.Flag<import("effect/Option").Option<string>>;
|
|
16
|
+
readonly fastMode: Flag.Flag<import("effect/Option").Option<boolean>>;
|
|
17
|
+
readonly thinking: Flag.Flag<import("effect/Option").Option<boolean>>;
|
|
18
|
+
};
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region src/cli/env/flag.d.ts
|
|
21
|
+
declare const cliEnvironmentSetting: GlobalFlag.Setting<"environment", import("effect/Option").Option<string>>;
|
|
22
|
+
declare namespace selection_layer_d_exports {
|
|
23
|
+
export { layer };
|
|
24
|
+
}
|
|
25
|
+
declare const layer: Layer.Layer<T3ConfigSelection, import("effect/Config").ConfigError, never>;
|
|
26
|
+
declare namespace index_d_exports {
|
|
27
|
+
export { selection_layer_d_exports as Selection, cliEnvironmentSetting };
|
|
28
|
+
}
|
|
29
|
+
declare namespace index_d_exports$1 {
|
|
30
|
+
export { CliRuntime, layer$1 as layer };
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/cli/scope/resolve.d.ts
|
|
34
|
+
declare function resolveProjectRef(input: {
|
|
35
|
+
readonly value: string | undefined;
|
|
36
|
+
readonly scope: T3CliEnvScope;
|
|
37
|
+
}): string | undefined;
|
|
38
|
+
declare function resolveCommandProjectRef(input: {
|
|
39
|
+
readonly value: string | undefined;
|
|
40
|
+
readonly scope: T3CliEnvScope;
|
|
41
|
+
readonly cwd: string;
|
|
42
|
+
readonly isLocal?: boolean;
|
|
43
|
+
}): string | undefined;
|
|
44
|
+
declare function resolveWorktreePath(input: {
|
|
45
|
+
readonly value: string | undefined;
|
|
46
|
+
readonly scope: T3CliEnvScope;
|
|
47
|
+
readonly inferred?: string;
|
|
48
|
+
}): string | undefined;
|
|
49
|
+
declare function resolveThreadId(input: {
|
|
50
|
+
readonly value: string | undefined;
|
|
51
|
+
readonly scope: T3CliEnvScope;
|
|
52
|
+
}): string | undefined;
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region src/cli/format/output.d.ts
|
|
55
|
+
declare const humanJsonFormatChoices: readonly ["auto", "human", "json"];
|
|
56
|
+
declare const humanNdjsonFormatChoices: readonly ["auto", "human", "ndjson"];
|
|
57
|
+
declare const humanJsonNdjsonFormatChoices: readonly ["auto", "human", "json", "ndjson"];
|
|
58
|
+
type HumanJsonFormat = (typeof humanJsonFormatChoices)[number];
|
|
59
|
+
type HumanNdjsonFormat = (typeof humanNdjsonFormatChoices)[number];
|
|
60
|
+
type HumanJsonNdjsonFormat = (typeof humanJsonNdjsonFormatChoices)[number];
|
|
61
|
+
declare function resolveOutputFormat<T extends "json" | "ndjson">(format: "auto" | "human" | T, cliRuntime: CliRuntime["Service"], t3CliEnv: T3CliEnvShape, nonHumanFormat: T): "human" | T;
|
|
62
|
+
declare function canRenderLiveTerminal(cliRuntime: CliRuntime["Service"], t3CliEnv: T3CliEnvShape): boolean;
|
|
63
|
+
declare function isInteractiveHumanTerminal(cliRuntime: CliRuntime["Service"], t3CliEnv: T3CliEnvShape): boolean;
|
|
64
|
+
declare function isAgentEnvironment(t3CliEnv: T3CliEnvShape): boolean;
|
|
65
|
+
//#endregion
|
|
66
|
+
export { index_d_exports as Env, type HumanJsonFormat, type HumanJsonNdjsonFormat, type HumanNdjsonFormat, index_d_exports$1 as Runtime, canRenderLiveTerminal, formatFlag, humanJsonFormatChoices, humanJsonNdjsonFormatChoices, humanNdjsonFormatChoices, isAgentEnvironment, isInteractiveHumanTerminal, modelFlags, projectFlag, projectPathFlag, resolveCommandProjectRef, resolveOutputFormat, resolveProjectRef, resolveThreadId, resolveWorktreePath, threadFlag, threadFormatFlag, waitFormatFlag, worktreeFlag };
|
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __exportAll } from "./rolldown-runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Ms as selection_layer_exports, SC as layer, Sw as resolveOutputFormat, _C as resolveThreadId, _w as humanJsonFormatChoices, aw as formatFlag, bw as isAgentEnvironment, cw as projectPathFlag, dw as threadFlag, fw as threadFormatFlag, gC as resolveProjectRef, gw as canRenderLiveTerminal, hC as resolveCommandProjectRef, mw as worktreeFlag, ow as modelFlags, pC as cliEnvironmentSetting, pw as waitFormatFlag, sw as projectFlag, vC as resolveWorktreePath, vw as humanJsonNdjsonFormatChoices, xC as CliRuntime, xw as isInteractiveHumanTerminal, yw as humanNdjsonFormatChoices } from "./shared.js";
|
|
3
3
|
//#region src/cli/env/index.ts
|
|
4
4
|
var env_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
Selection: () => selection_layer_exports,
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { Aa as RemoteEnvironmentAuthError, Ba as RemoteEnvironmentAuthInvalidJsonError, Fa as issueRemoteDpopWebSocketTicket, Ha as RemoteEnvironmentAuthUndeclaredStatusError, Ia as issueRemoteWebSocketTicket, La as resolveRemoteDpopWebSocketConnectionUrl, Ma as exchangeRemoteDpopAccessToken, Na as fetchRemoteDpopSessionState, Pa as fetchRemoteSessionState, Ra as resolveRemoteWebSocketConnectionUrl, Va as RemoteEnvironmentAuthTimeoutError, io as RemoteEnvironmentAuthorization, ja as bootstrapRemoteBearerSession, no as AuthorizedRemoteEnvironment, oo as tokenStore_d_exports, ro as RelayEnvironmentAuthorization, za as RemoteEnvironmentAuthFetchError } from "../shared.js";
|
|
2
|
+
export { type AuthorizedRemoteEnvironment, type RelayEnvironmentAuthorization, RemoteEnvironmentAuthError, RemoteEnvironmentAuthFetchError, RemoteEnvironmentAuthInvalidJsonError, RemoteEnvironmentAuthTimeoutError, RemoteEnvironmentAuthUndeclaredStatusError, RemoteEnvironmentAuthorization, tokenStore_d_exports as TokenStore, bootstrapRemoteBearerSession, exchangeRemoteDpopAccessToken, fetchRemoteDpopSessionState, fetchRemoteSessionState, issueRemoteDpopWebSocketTicket, issueRemoteWebSocketTicket, resolveRemoteDpopWebSocketConnectionUrl, resolveRemoteWebSocketConnectionUrl };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { Ao as RemoteEnvironmentAuthTimeoutError, Co as fetchRemoteSessionState, Do as resolveRemoteWebSocketConnectionUrl, Eo as resolveRemoteDpopWebSocketConnectionUrl, Ka as tokenStore_exports, Oo as RemoteEnvironmentAuthFetchError, So as fetchRemoteDpopSessionState, To as issueRemoteWebSocketTicket, Wa as RemoteEnvironmentAuthorization, bo as bootstrapRemoteBearerSession, jo as RemoteEnvironmentAuthUndeclaredStatusError, ko as RemoteEnvironmentAuthInvalidJsonError, wo as issueRemoteDpopWebSocketTicket, xo as exchangeRemoteDpopAccessToken } from "../shared.js";
|
|
2
|
+
export { RemoteEnvironmentAuthFetchError, RemoteEnvironmentAuthInvalidJsonError, RemoteEnvironmentAuthTimeoutError, RemoteEnvironmentAuthUndeclaredStatusError, RemoteEnvironmentAuthorization, tokenStore_exports as TokenStore, bootstrapRemoteBearerSession, exchangeRemoteDpopAccessToken, fetchRemoteDpopSessionState, fetchRemoteSessionState, issueRemoteDpopWebSocketTicket, issueRemoteWebSocketTicket, resolveRemoteDpopWebSocketConnectionUrl, resolveRemoteWebSocketConnectionUrl };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { $i as layer_d_exports, $o as PersistedConnectionTarget, Ao as ConnectionCatalogEntry, Bo as connectionRegistrationTarget, Da as mapManagedRelayError, Do as BearerConnectionCredential, Ea as environmentMismatchError, Eo as connectivity_d_exports, Fo as PrimaryConnectionRegistration, Gi as EnvironmentConnectionPresentation, Go as ConnectionBlockedError, Ho as BearerConnectionTarget, Io as RelayConnectionRegistration, Ja as ConnectionDriverProgress, Ji as connectionPhaseMessage, Jo as ConnectionTarget, Ki as EnvironmentPresentation, Ko as ConnectionBlockedReason, Lo as SshConnectionProfile, Mo as ConnectionProfile, No as ConnectionRegistration, Oa as mapRemoteEnvironmentError, Oo as BearerConnectionProfile, Po as PlatformConnectionRegistration, Qi as presentEnvironmentConnection, Qo as NetworkStatus, Ro as SshConnectionRegistration, Ta as credentialMissingError, To as credentialStore_d_exports, Uo as ConnectionAttemptError, Vo as AVAILABLE_CONNECTION_STATE, Wi as EnvironmentConnectionPhase, Wo as ConnectionAttemptStage, Xi as connectionStatusTitle, Xo as ConnectionTransientError, Ya as EnvironmentConnectionLease, Yi as connectionStatusText, Yo as ConnectionTargetKind, Zi as presentConnectionState, Zo as ConnectionTransientReason, _a as EnvironmentSupervisor, aa as ConnectionOnboarding, as as SupervisorConnectionPhase, ca as prepareBearerConnectionUpdate, da as registerPairingConnection, eo as ConnectionResolver, es as PreparedConnection, fa as registerSshConnection, ga as PlatformEnvironmentRemovalError, ha as EnvironmentRegistry, ia as BearerConnectionUpdateInput, is as SshConnectionTarget, jo as ConnectionCredential, ka as profileMissingError, ko as BearerConnectionRegistration, la as preparePairingRegistration, ma as EnvironmentNotRegisteredError, ns as PrimaryConnectionTarget, oa as PairingConnectionInput, os as SupervisorConnectionState, pa as updateBearerConnection, qa as ConnectionDriver, qi as connectionCatalogDisplayUrl, qo as ConnectionProjectionPhase, rs as RelayConnectionTarget, sa as SshConnectionInput, ss as connectionProjectionPhase, to as profileStore_d_exports, ts as PreparedHttpAuthorization, ua as prepareSshRegistration, va as EnvironmentSupervisorOptions, ya as wakeups_d_exports, zo as connectionRegistrationCatalogEntry } from "../shared.js";
|
|
2
|
+
export { AVAILABLE_CONNECTION_STATE, BearerConnectionCredential, BearerConnectionProfile, BearerConnectionRegistration, BearerConnectionTarget, type BearerConnectionUpdateInput, layer_d_exports as Connection, ConnectionAttemptError, ConnectionAttemptStage, ConnectionBlockedError, ConnectionBlockedReason, ConnectionCatalogEntry, ConnectionCredential, ConnectionDriver, type ConnectionDriverProgress, ConnectionOnboarding, ConnectionProfile, ConnectionProjectionPhase, ConnectionRegistration, ConnectionResolver, ConnectionTarget, ConnectionTargetKind, ConnectionTransientError, ConnectionTransientReason, connectivity_d_exports as Connectivity, credentialStore_d_exports as CredentialStore, type EnvironmentConnectionLease, EnvironmentConnectionPhase, EnvironmentConnectionPresentation, EnvironmentNotRegisteredError, EnvironmentPresentation, EnvironmentRegistry, EnvironmentSupervisor, type EnvironmentSupervisorOptions, NetworkStatus, type PairingConnectionInput, PersistedConnectionTarget, PlatformConnectionRegistration, PlatformEnvironmentRemovalError, PreparedConnection, PreparedHttpAuthorization, PrimaryConnectionRegistration, PrimaryConnectionTarget, profileStore_d_exports as ProfileStore, RelayConnectionRegistration, RelayConnectionTarget, type SshConnectionInput, SshConnectionProfile, SshConnectionRegistration, SshConnectionTarget, SupervisorConnectionPhase, SupervisorConnectionState, wakeups_d_exports as Wakeups, connectionCatalogDisplayUrl, connectionPhaseMessage, connectionProjectionPhase, connectionRegistrationCatalogEntry, connectionRegistrationTarget, connectionStatusText, connectionStatusTitle, credentialMissingError, environmentMismatchError, mapManagedRelayError, mapRemoteEnvironmentError, prepareBearerConnectionUpdate, preparePairingRegistration, prepareSshRegistration, presentConnectionState, presentEnvironmentConnection, profileMissingError, registerPairingConnection, registerSshConnection, updateBearerConnection };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { $i as connectionStatusText, $o as BearerConnectionRegistration, Aa as EnvironmentSupervisor, Da as EnvironmentNotRegisteredError, Ha as ConnectionResolver, Ma as wakeups_exports, Oa as EnvironmentRegistry, Qi as connectionPhaseMessage, Qo as BearerConnectionProfile, Ua as profileStore_exports, Xo as connectivity_exports, Yo as credentialStore_exports, Zi as connectionCatalogDisplayUrl, Zo as BearerConnectionCredential, _o as mapManagedRelayError, _s as PersistedConnectionTarget, as as RelayConnectionRegistration, bs as SshConnectionTarget, ca as ConnectionOnboarding, cs as connectionRegistrationCatalogEntry, da as prepareSshRegistration, ds as BearerConnectionTarget, ea as connectionStatusTitle, es as ConnectionCredential, fa as registerPairingConnection, fs as ConnectionBlockedError, go as environmentMismatchError, gs as ConnectionTransientReason, ho as credentialMissingError, hs as ConnectionTransientError, is as PrimaryConnectionRegistration, ka as PlatformEnvironmentRemovalError, la as prepareBearerConnectionUpdate, ls as connectionRegistrationTarget, ma as updateBearerConnection, ms as ConnectionTarget, na as presentEnvironmentConnection, ns as ConnectionRegistration, os as SshConnectionProfile, pa as registerSshConnection, ps as ConnectionBlockedReason, ra as layer_exports, rs as PlatformConnectionRegistration, ss as SshConnectionRegistration, ta as presentConnectionState, ts as ConnectionProfile, ua as preparePairingRegistration, us as AVAILABLE_CONNECTION_STATE, vo as mapRemoteEnvironmentError, vs as PrimaryConnectionTarget, xs as connectionProjectionPhase, yo as profileMissingError, ys as RelayConnectionTarget, za as ConnectionDriver } from "../shared.js";
|
|
2
|
+
export { AVAILABLE_CONNECTION_STATE, BearerConnectionCredential, BearerConnectionProfile, BearerConnectionRegistration, BearerConnectionTarget, layer_exports as Connection, ConnectionBlockedError, ConnectionBlockedReason, ConnectionCredential, ConnectionDriver, ConnectionOnboarding, ConnectionProfile, ConnectionRegistration, ConnectionResolver, ConnectionTarget, ConnectionTransientError, ConnectionTransientReason, connectivity_exports as Connectivity, credentialStore_exports as CredentialStore, EnvironmentNotRegisteredError, EnvironmentRegistry, EnvironmentSupervisor, PersistedConnectionTarget, PlatformConnectionRegistration, PlatformEnvironmentRemovalError, PrimaryConnectionRegistration, PrimaryConnectionTarget, profileStore_exports as ProfileStore, RelayConnectionRegistration, RelayConnectionTarget, SshConnectionProfile, SshConnectionRegistration, SshConnectionTarget, wakeups_exports as Wakeups, connectionCatalogDisplayUrl, connectionPhaseMessage, connectionProjectionPhase, connectionRegistrationCatalogEntry, connectionRegistrationTarget, connectionStatusText, connectionStatusTitle, credentialMissingError, environmentMismatchError, mapManagedRelayError, mapRemoteEnvironmentError, prepareBearerConnectionUpdate, preparePairingRegistration, prepareSshRegistration, presentConnectionState, presentEnvironmentConnection, profileMissingError, registerPairingConnection, registerSshConnection, updateBearerConnection };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { $T as ThreadId, KT as ProjectId, Mw as ScopedThreadRef, Tw as ExecutionEnvironmentDescriptor, Ua as RemoteEnvironmentRequestError, _n as classifyHostedHttpsCompatibility, bn as normalizeHttpBaseUrl, gn as CreateAdvertisedEndpointInput, jw as ScopedProjectRef, vn as createAdvertisedEndpoint, yn as deriveWsBaseUrl, zT as EnvironmentId } from "../shared.js";
|
|
2
|
+
import * as Effect from "effect/Effect";
|
|
3
|
+
//#region upstream-t3code/packages/client-runtime/src/environment/descriptor.d.ts
|
|
4
|
+
declare const fetchRemoteEnvironmentDescriptor: (input: {
|
|
5
|
+
readonly httpBaseUrl: string;
|
|
6
|
+
readonly timeoutMs?: number;
|
|
7
|
+
}) => Effect.Effect<{
|
|
8
|
+
readonly environmentId: string & import("effect/Brand").Brand<"EnvironmentId">;
|
|
9
|
+
readonly label: string;
|
|
10
|
+
readonly platform: {
|
|
11
|
+
readonly os: "darwin" | "linux" | "unknown" | "windows";
|
|
12
|
+
readonly arch: "arm64" | "other" | "x64";
|
|
13
|
+
};
|
|
14
|
+
readonly serverVersion: string;
|
|
15
|
+
readonly capabilities: {
|
|
16
|
+
readonly repositoryIdentity: boolean;
|
|
17
|
+
readonly connectionProbe?: boolean;
|
|
18
|
+
readonly threadSettlement?: boolean;
|
|
19
|
+
readonly threadSnooze?: boolean;
|
|
20
|
+
readonly serverSelfUpdate?: "boot-service" | "desktop-managed" | "respawn";
|
|
21
|
+
};
|
|
22
|
+
}, RemoteEnvironmentRequestError, import("effect/unstable/http/HttpClient").HttpClient>;
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region upstream-t3code/packages/client-runtime/src/environment/endpoint.d.ts
|
|
25
|
+
declare const environmentEndpointUrl: (httpBaseUrl: string, pathname: string) => string;
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region upstream-t3code/packages/client-runtime/src/environment/knownEnvironment.d.ts
|
|
28
|
+
interface KnownEnvironmentConnectionTarget {
|
|
29
|
+
readonly httpBaseUrl: string;
|
|
30
|
+
readonly wsBaseUrl: string;
|
|
31
|
+
}
|
|
32
|
+
type KnownEnvironmentSource = "configured" | "desktop-managed" | "manual" | "window-origin";
|
|
33
|
+
interface KnownEnvironment {
|
|
34
|
+
readonly id: string;
|
|
35
|
+
readonly label: string;
|
|
36
|
+
readonly source: KnownEnvironmentSource;
|
|
37
|
+
readonly environmentId?: EnvironmentId;
|
|
38
|
+
readonly target: KnownEnvironmentConnectionTarget;
|
|
39
|
+
}
|
|
40
|
+
declare function createKnownEnvironment(input: {
|
|
41
|
+
readonly id?: string;
|
|
42
|
+
readonly label: string;
|
|
43
|
+
readonly source?: KnownEnvironmentSource;
|
|
44
|
+
readonly target: KnownEnvironmentConnectionTarget;
|
|
45
|
+
}): KnownEnvironment;
|
|
46
|
+
declare function attachEnvironmentDescriptor(environment: KnownEnvironment, descriptor: ExecutionEnvironmentDescriptor): KnownEnvironment;
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region upstream-t3code/packages/client-runtime/src/environment/scoped.d.ts
|
|
49
|
+
declare function scopeProjectRef(environmentId: EnvironmentId, projectId: ProjectId): ScopedProjectRef;
|
|
50
|
+
declare function scopeThreadRef(environmentId: EnvironmentId, threadId: ThreadId): ScopedThreadRef;
|
|
51
|
+
declare function scopedRefKey(ref: ScopedProjectRef | ScopedThreadRef): string;
|
|
52
|
+
declare function scopedProjectKey(ref: ScopedProjectRef): string;
|
|
53
|
+
declare function scopedThreadKey(ref: ScopedThreadRef): string;
|
|
54
|
+
declare function parseScopedProjectKey(key: string): ScopedProjectRef | null;
|
|
55
|
+
declare function parseScopedThreadKey(key: string): ScopedThreadRef | null;
|
|
56
|
+
//#endregion
|
|
57
|
+
export { CreateAdvertisedEndpointInput, KnownEnvironment, KnownEnvironmentConnectionTarget, KnownEnvironmentSource, attachEnvironmentDescriptor, classifyHostedHttpsCompatibility, createAdvertisedEndpoint, createKnownEnvironment, deriveWsBaseUrl, environmentEndpointUrl, fetchRemoteEnvironmentDescriptor, normalizeHttpBaseUrl, parseScopedProjectKey, parseScopedThreadKey, scopeProjectRef, scopeThreadRef, scopedProjectKey, scopedRefKey, scopedThreadKey };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { Bo as normalizeHttpBaseUrl, Io as environmentEndpointUrl, Lo as classifyHostedHttpsCompatibility, Ro as createAdvertisedEndpoint, ai as parseScopedProjectKey, ci as scopeThreadRef, di as scopedThreadKey, fi as attachEnvironmentDescriptor, li as scopedProjectKey, mo as fetchRemoteEnvironmentDescriptor, oi as parseScopedThreadKey, pi as createKnownEnvironment, si as scopeProjectRef, ui as scopedRefKey, zo as deriveWsBaseUrl } from "../shared.js";
|
|
2
|
+
export { attachEnvironmentDescriptor, classifyHostedHttpsCompatibility, createAdvertisedEndpoint, createKnownEnvironment, deriveWsBaseUrl, environmentEndpointUrl, fetchRemoteEnvironmentDescriptor, normalizeHttpBaseUrl, parseScopedProjectKey, parseScopedThreadKey, scopeProjectRef, scopeThreadRef, scopedProjectKey, scopedRefKey, scopedThreadKey };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
//#region upstream-t3code/packages/client-runtime/src/errors/errorTrace.d.ts
|
|
2
|
+
declare function findErrorTraceId(error: unknown): string | null;
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region upstream-t3code/packages/client-runtime/src/errors/safeLog.d.ts
|
|
5
|
+
interface SafeErrorLogAttributes {
|
|
6
|
+
readonly errorType: "error" | "array" | "null" | "object" | "primitive";
|
|
7
|
+
readonly errorName?: string;
|
|
8
|
+
readonly errorTag?: string;
|
|
9
|
+
readonly traceId?: string;
|
|
10
|
+
readonly stack?: string;
|
|
11
|
+
}
|
|
12
|
+
declare function safeErrorLogAttributes(error: unknown): SafeErrorLogAttributes;
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region upstream-t3code/packages/client-runtime/src/errors/transport.d.ts
|
|
15
|
+
/**
|
|
16
|
+
* Check whether an error message originates from a transport-level connection
|
|
17
|
+
* failure (socket close, socket open, ping timeout, etc.) rather than a
|
|
18
|
+
* business-logic error.
|
|
19
|
+
*/
|
|
20
|
+
declare function isTransportConnectionErrorMessage(message: string | null | undefined): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Strip transport connection errors from user-facing error messages.
|
|
23
|
+
* Returns `null` for transport errors so the UI can distinguish between
|
|
24
|
+
* real errors and transient connection issues.
|
|
25
|
+
*/
|
|
26
|
+
declare function sanitizeThreadErrorMessage(message: string | null | undefined): string | null;
|
|
27
|
+
//#endregion
|
|
28
|
+
export { SafeErrorLogAttributes, findErrorTraceId, isTransportConnectionErrorMessage, safeErrorLogAttributes, sanitizeThreadErrorMessage };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { An as findErrorTraceId, Na as safeErrorLogAttributes } from "../shared.js";
|
|
2
|
+
//#region upstream-t3code/packages/client-runtime/src/errors/transport.ts
|
|
3
|
+
const TRANSPORT_ERROR_PATTERNS = [
|
|
4
|
+
/\bSocketCloseError\b/i,
|
|
5
|
+
/\bSocketOpenError\b/i,
|
|
6
|
+
/\bSocket is not connected\b/i,
|
|
7
|
+
/Unable to connect to the T3 server WebSocket\./i,
|
|
8
|
+
/\bis not connected\.$/i,
|
|
9
|
+
/\bdisconnected\.$/i,
|
|
10
|
+
/\bcould not establish a WebSocket connection\.$/i,
|
|
11
|
+
/\bClientProtocolError\b/i,
|
|
12
|
+
/\bRpcClientError\b/i,
|
|
13
|
+
/\bping timeout\b/i
|
|
14
|
+
];
|
|
15
|
+
/**
|
|
16
|
+
* Check whether an error message originates from a transport-level connection
|
|
17
|
+
* failure (socket close, socket open, ping timeout, etc.) rather than a
|
|
18
|
+
* business-logic error.
|
|
19
|
+
*/
|
|
20
|
+
function isTransportConnectionErrorMessage(message) {
|
|
21
|
+
if (typeof message !== "string") return false;
|
|
22
|
+
const normalizedMessage = message.trim();
|
|
23
|
+
if (normalizedMessage.length === 0) return false;
|
|
24
|
+
return TRANSPORT_ERROR_PATTERNS.some((pattern) => pattern.test(normalizedMessage));
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Strip transport connection errors from user-facing error messages.
|
|
28
|
+
* Returns `null` for transport errors so the UI can distinguish between
|
|
29
|
+
* real errors and transient connection issues.
|
|
30
|
+
*/
|
|
31
|
+
function sanitizeThreadErrorMessage(message) {
|
|
32
|
+
return isTransportConnectionErrorMessage(message) ? null : message ?? null;
|
|
33
|
+
}
|
|
34
|
+
//#endregion
|
|
35
|
+
export { findErrorTraceId, isTransportConnectionErrorMessage, safeErrorLogAttributes, sanitizeThreadErrorMessage };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { $ as getAddProjectInitialQuery, G as AddProjectRemoteSource, J as addProjectRemoteSourcePathHint, K as AddProjectRemoteSourceReadiness, Q as findExistingAddProject, U as AddProjectCloneFlow, W as AddProjectRemoteProviderKind, X as buildAddProjectRemoteSourceReadiness, Y as addProjectRemoteSourceProvider, Z as buildProjectCreateCommand, et as resolveAddProjectPath, q as addProjectRemoteSourceLabel, tt as sortAddProjectProviderSources } from "../../shared.js";
|
|
2
|
+
export { AddProjectCloneFlow, AddProjectRemoteProviderKind, AddProjectRemoteSource, AddProjectRemoteSourceReadiness, addProjectRemoteSourceLabel, addProjectRemoteSourcePathHint, addProjectRemoteSourceProvider, buildAddProjectRemoteSourceReadiness, buildProjectCreateCommand, findExistingAddProject, getAddProjectInitialQuery, resolveAddProjectPath, sortAddProjectProviderSources };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { At as resolveAddProjectPath, Ct as addProjectRemoteSourceLabel, Dt as buildProjectCreateCommand, Et as buildAddProjectRemoteSourceReadiness, Ot as findExistingAddProject, Tt as addProjectRemoteSourceProvider, jt as sortAddProjectProviderSources, kt as getAddProjectInitialQuery, wt as addProjectRemoteSourcePathHint } from "../../shared.js";
|
|
2
|
+
export { addProjectRemoteSourceLabel, addProjectRemoteSourcePathHint, addProjectRemoteSourceProvider, buildAddProjectRemoteSourceReadiness, buildProjectCreateCommand, findExistingAddProject, getAddProjectInitialQuery, resolveAddProjectPath, sortAddProjectProviderSources };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { $ as getAddProjectInitialQuery, At as archiveThread, Bt as setThreadRuntimeMode, Ct as StartThreadTurnInput, Dt as UnsnoozeThreadInput, Et as UnsettleThreadInput, Ft as interruptThreadTurn, G as AddProjectRemoteSource, Gt as unarchiveThread, Ht as snoozeThread, It as respondToThreadApproval, J as addProjectRemoteSourcePathHint, Jt as updateProject, K as AddProjectRemoteSourceReadiness, Kt as unsettleThread, Lt as respondToThreadUserInput, Mt as createThread, Nt as deleteProject, Ot as UpdateProjectInput, Pt as deleteThread, Q as findExistingAddProject, Rt as revertThreadCheckpoint, St as SnoozeThreadInput, Tt as UnarchiveThreadInput, U as AddProjectCloneFlow, Ut as startThreadTurn, Vt as settleThread, W as AddProjectRemoteProviderKind, Wt as stopThreadSession, X as buildAddProjectRemoteSourceReadiness, Y as addProjectRemoteSourceProvider, Yt as updateThreadMetadata, Z as buildProjectCreateCommand, _t as RespondToThreadUserInputInput, bt as SetThreadRuntimeModeInput, dt as CreateProjectInput, et as resolveAddProjectPath, ft as CreateThreadInput, gt as RespondToThreadApprovalInput, ht as InterruptThreadTurnInput, jt as createProject, kt as UpdateThreadMetadataInput, mt as DeleteThreadInput, pt as DeleteProjectInput, q as addProjectRemoteSourceLabel, qt as unsnoozeThread, tt as sortAddProjectProviderSources, ut as ArchiveThreadInput, vt as RevertThreadCheckpointInput, wt as StopThreadSessionInput, xt as SettleThreadInput, yt as SetThreadInteractionModeInput, zt as setThreadInteractionMode } from "../shared.js";
|
|
2
|
+
export { AddProjectCloneFlow, AddProjectRemoteProviderKind, AddProjectRemoteSource, AddProjectRemoteSourceReadiness, ArchiveThreadInput, CreateProjectInput, CreateThreadInput, DeleteProjectInput, DeleteThreadInput, InterruptThreadTurnInput, RespondToThreadApprovalInput, RespondToThreadUserInputInput, RevertThreadCheckpointInput, SetThreadInteractionModeInput, SetThreadRuntimeModeInput, SettleThreadInput, SnoozeThreadInput, StartThreadTurnInput, StopThreadSessionInput, UnarchiveThreadInput, UnsettleThreadInput, UnsnoozeThreadInput, UpdateProjectInput, UpdateThreadMetadataInput, addProjectRemoteSourceLabel, addProjectRemoteSourcePathHint, addProjectRemoteSourceProvider, archiveThread, buildAddProjectRemoteSourceReadiness, buildProjectCreateCommand, createProject, createThread, deleteProject, deleteThread, findExistingAddProject, getAddProjectInitialQuery, interruptThreadTurn, resolveAddProjectPath, respondToThreadApproval, respondToThreadUserInput, revertThreadCheckpoint, setThreadInteractionMode, setThreadRuntimeMode, settleThread, snoozeThread, sortAddProjectProviderSources, startThreadTurn, stopThreadSession, unarchiveThread, unsettleThread, unsnoozeThread, updateProject, updateThreadMetadata };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { At as resolveAddProjectPath, Cn as startThreadTurn, Ct as addProjectRemoteSourceLabel, Dn as unsnoozeThread, Dt as buildProjectCreateCommand, En as unsettleThread, Et as buildAddProjectRemoteSourceReadiness, On as updateProject, Ot as findExistingAddProject, Sn as snoozeThread, Tn as unarchiveThread, Tt as addProjectRemoteSourceProvider, _n as respondToThreadUserInput, bn as setThreadRuntimeMode, dn as createProject, fn as createThread, gn as respondToThreadApproval, hn as interruptThreadTurn, jt as sortAddProjectProviderSources, kn as updateThreadMetadata, kt as getAddProjectInitialQuery, mn as deleteThread, pn as deleteProject, un as archiveThread, vn as revertThreadCheckpoint, wn as stopThreadSession, wt as addProjectRemoteSourcePathHint, xn as settleThread, yn as setThreadInteractionMode } from "../shared.js";
|
|
2
|
+
export { addProjectRemoteSourceLabel, addProjectRemoteSourcePathHint, addProjectRemoteSourceProvider, archiveThread, buildAddProjectRemoteSourceReadiness, buildProjectCreateCommand, createProject, createThread, deleteProject, deleteThread, findExistingAddProject, getAddProjectInitialQuery, interruptThreadTurn, resolveAddProjectPath, respondToThreadApproval, respondToThreadUserInput, revertThreadCheckpoint, setThreadInteractionMode, setThreadRuntimeMode, settleThread, snoozeThread, sortAddProjectProviderSources, startThreadTurn, stopThreadSession, unarchiveThread, unsettleThread, unsnoozeThread, updateProject, updateThreadMetadata };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Ca as EnvironmentCacheStore, Co as SshEnvironmentGateway, Do as BearerConnectionCredential, Ho as BearerConnectionTarget, Jo as ConnectionTarget, Lo as SshConnectionProfile, No as ConnectionRegistration, Oo as BearerConnectionProfile, Sa as ConnectionTargetStore, So as RelayDeviceIdentity, _o as ClientPresentation, ao as RemoteDpopAccessToken, ba as ConnectionPersistenceError, bo as PrimaryEnvironmentAuth, is as SshConnectionTarget, ra as PlatformConnectionSource, rs as RelayConnectionTarget, vo as CloudSession, wa as EnvironmentOwnedDataCleanup, xa as ConnectionRegistrationStore, xo as ProvisionedSshEnvironment, yo as PreparedSshEnvironment } from "../shared.js";
|
|
2
|
+
import * as Schema from "effect/Schema";
|
|
3
|
+
//#region upstream-t3code/packages/client-runtime/src/platform/storageDocument.d.ts
|
|
4
|
+
declare const StoredConnectionCredential: Schema.Struct<{
|
|
5
|
+
readonly connectionId: Schema.String;
|
|
6
|
+
readonly credential: Schema.Union<readonly [typeof BearerConnectionCredential]>;
|
|
7
|
+
}>;
|
|
8
|
+
type StoredConnectionCredential = typeof StoredConnectionCredential.Type;
|
|
9
|
+
declare const ConnectionCatalogDocument: Schema.Struct<{
|
|
10
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
11
|
+
readonly targets: Schema.$Array<Schema.Union<readonly [typeof BearerConnectionTarget, typeof RelayConnectionTarget, typeof SshConnectionTarget]>>;
|
|
12
|
+
readonly profiles: Schema.$Array<Schema.Union<readonly [typeof BearerConnectionProfile, typeof SshConnectionProfile]>>;
|
|
13
|
+
readonly credentials: Schema.$Array<Schema.Struct<{
|
|
14
|
+
readonly connectionId: Schema.String;
|
|
15
|
+
readonly credential: Schema.Union<readonly [typeof BearerConnectionCredential]>;
|
|
16
|
+
}>>;
|
|
17
|
+
readonly remoteDpopTokens: Schema.$Array<typeof RemoteDpopAccessToken>;
|
|
18
|
+
}>;
|
|
19
|
+
type ConnectionCatalogDocument = typeof ConnectionCatalogDocument.Type;
|
|
20
|
+
declare const EMPTY_CONNECTION_CATALOG_DOCUMENT: ConnectionCatalogDocument;
|
|
21
|
+
declare function replaceCatalogValue<A>(values: ReadonlyArray<A>, key: (value: A) => string, next: A): ReadonlyArray<A>;
|
|
22
|
+
declare function removeCatalogValue<A>(values: ReadonlyArray<A>, key: (value: A) => string, removedKey: string): ReadonlyArray<A>;
|
|
23
|
+
declare function registerConnectionInCatalog(document: ConnectionCatalogDocument, registration: ConnectionRegistration): ConnectionCatalogDocument;
|
|
24
|
+
declare function removeConnectionFromCatalog(document: ConnectionCatalogDocument, target: ConnectionTarget): ConnectionCatalogDocument;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { ClientPresentation, CloudSession, ConnectionCatalogDocument, ConnectionPersistenceError, ConnectionRegistrationStore, ConnectionTargetStore, EMPTY_CONNECTION_CATALOG_DOCUMENT, EnvironmentCacheStore, EnvironmentOwnedDataCleanup, PlatformConnectionSource, PreparedSshEnvironment, PrimaryEnvironmentAuth, ProvisionedSshEnvironment, RelayDeviceIdentity, SshEnvironmentGateway, StoredConnectionCredential, registerConnectionInCatalog, removeCatalogValue, removeConnectionFromCatalog, replaceCatalogValue };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { $T as Struct, Fa as ConnectionRegistrationStore, Ga as RemoteDpopAccessToken, Ia as ConnectionTargetStore, La as EnvironmentCacheStore, Pa as ConnectionPersistenceError, QT as String, Ra as EnvironmentOwnedDataCleanup, WT as ArraySchema, _s as PersistedConnectionTarget, do as PrimaryEnvironmentAuth, es as ConnectionCredential, fo as RelayDeviceIdentity, lo as ClientPresentation, po as SshEnvironmentGateway, qT as Literal, sa as PlatformConnectionSource, ts as ConnectionProfile, uo as CloudSession } from "../shared.js";
|
|
2
|
+
//#region upstream-t3code/packages/client-runtime/src/platform/storageDocument.ts
|
|
3
|
+
const StoredConnectionCredential = Struct({
|
|
4
|
+
connectionId: String,
|
|
5
|
+
credential: ConnectionCredential
|
|
6
|
+
});
|
|
7
|
+
const ConnectionCatalogDocument = Struct({
|
|
8
|
+
schemaVersion: Literal(1),
|
|
9
|
+
targets: ArraySchema(PersistedConnectionTarget),
|
|
10
|
+
profiles: ArraySchema(ConnectionProfile),
|
|
11
|
+
credentials: ArraySchema(StoredConnectionCredential),
|
|
12
|
+
remoteDpopTokens: ArraySchema(RemoteDpopAccessToken)
|
|
13
|
+
});
|
|
14
|
+
const EMPTY_CONNECTION_CATALOG_DOCUMENT = Object.freeze({
|
|
15
|
+
schemaVersion: 1,
|
|
16
|
+
targets: [],
|
|
17
|
+
profiles: [],
|
|
18
|
+
credentials: [],
|
|
19
|
+
remoteDpopTokens: []
|
|
20
|
+
});
|
|
21
|
+
function replaceCatalogValue(values, key, next) {
|
|
22
|
+
const nextKey = key(next);
|
|
23
|
+
return [...values.filter((value) => key(value) !== nextKey), next];
|
|
24
|
+
}
|
|
25
|
+
function removeCatalogValue(values, key, removedKey) {
|
|
26
|
+
return values.filter((value) => key(value) !== removedKey);
|
|
27
|
+
}
|
|
28
|
+
function connectionIdOf(target) {
|
|
29
|
+
switch (target._tag) {
|
|
30
|
+
case "PrimaryConnectionTarget":
|
|
31
|
+
case "RelayConnectionTarget": return null;
|
|
32
|
+
case "BearerConnectionTarget":
|
|
33
|
+
case "SshConnectionTarget": return target.connectionId;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
function removeConnectionMetadata(document, target, removeRemoteToken) {
|
|
37
|
+
const connectionId = connectionIdOf(target);
|
|
38
|
+
return {
|
|
39
|
+
...document,
|
|
40
|
+
targets: removeCatalogValue(document.targets, (value) => value.environmentId, target.environmentId),
|
|
41
|
+
profiles: connectionId === null ? document.profiles : removeCatalogValue(document.profiles, (value) => value.connectionId, connectionId),
|
|
42
|
+
credentials: connectionId === null ? document.credentials : removeCatalogValue(document.credentials, (value) => value.connectionId, connectionId),
|
|
43
|
+
remoteDpopTokens: removeRemoteToken ? removeCatalogValue(document.remoteDpopTokens, (value) => value.environmentId, target.environmentId) : document.remoteDpopTokens
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function registerConnectionInCatalog(document, registration) {
|
|
47
|
+
const target = registration.target;
|
|
48
|
+
const previous = document.targets.find((candidate) => candidate.environmentId === target.environmentId);
|
|
49
|
+
const cleaned = previous === void 0 ? document : removeConnectionMetadata(document, previous, false);
|
|
50
|
+
const next = {
|
|
51
|
+
...cleaned,
|
|
52
|
+
targets: replaceCatalogValue(cleaned.targets, (value) => value.environmentId, target)
|
|
53
|
+
};
|
|
54
|
+
switch (registration._tag) {
|
|
55
|
+
case "RelayConnectionRegistration": return next;
|
|
56
|
+
case "BearerConnectionRegistration": return {
|
|
57
|
+
...next,
|
|
58
|
+
profiles: replaceCatalogValue(next.profiles, (value) => value.connectionId, registration.profile),
|
|
59
|
+
credentials: replaceCatalogValue(next.credentials, (value) => value.connectionId, {
|
|
60
|
+
connectionId: registration.target.connectionId,
|
|
61
|
+
credential: registration.credential
|
|
62
|
+
})
|
|
63
|
+
};
|
|
64
|
+
case "SshConnectionRegistration": return {
|
|
65
|
+
...next,
|
|
66
|
+
profiles: replaceCatalogValue(next.profiles, (value) => value.connectionId, registration.profile)
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
function removeConnectionFromCatalog(document, target) {
|
|
71
|
+
return removeConnectionMetadata(document, target, true);
|
|
72
|
+
}
|
|
73
|
+
//#endregion
|
|
74
|
+
export { ClientPresentation, CloudSession, ConnectionCatalogDocument, ConnectionPersistenceError, ConnectionRegistrationStore, ConnectionTargetStore, EMPTY_CONNECTION_CATALOG_DOCUMENT, EnvironmentCacheStore, EnvironmentOwnedDataCleanup, PlatformConnectionSource, PrimaryEnvironmentAuth, RelayDeviceIdentity, SshEnvironmentGateway, StoredConnectionCredential, registerConnectionInCatalog, removeCatalogValue, removeConnectionFromCatalog, replaceCatalogValue };
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { co as ManagedRelayClient, do as ManagedRelayRequestFailedError, fo as ManagedRelayRequestProofCreationError, go as managedRelay_d_exports, ho as ManagedRelayUrlInvalidError, lo as ManagedRelayDpopKeyLoadError, mo as ManagedRelayTokenProofCreationError, na as discovery_d_exports, po as ManagedRelayRequestTimeoutError, so as ManagedRelayAccessTokenScopesUnexpectedError, wo as RelayClientEnvironmentRecord } from "../shared.js";
|
|
2
|
+
import * as Effect from "effect/Effect";
|
|
3
|
+
import * as Stream from "effect/Stream";
|
|
4
|
+
import * as Cause from "effect/Cause";
|
|
5
|
+
import { AsyncResult, Atom, AtomRegistry } from "effect/unstable/reactivity";
|
|
6
|
+
//#region upstream-t3code/packages/client-runtime/src/relay/managedRelayState.d.ts
|
|
7
|
+
interface ManagedRelaySession {
|
|
8
|
+
readonly accountId: string;
|
|
9
|
+
readonly readClerkToken: () => Effect.Effect<string | null, ManagedRelaySessionError>;
|
|
10
|
+
}
|
|
11
|
+
interface ManagedRelaySessionInput {
|
|
12
|
+
readonly accountId: string;
|
|
13
|
+
readonly readClerkToken: () => Promise<string | null>;
|
|
14
|
+
}
|
|
15
|
+
interface ManagedRelaySnapshotState<A> {
|
|
16
|
+
readonly data: A | null;
|
|
17
|
+
readonly error: string | null;
|
|
18
|
+
readonly errorTraceId: string | null;
|
|
19
|
+
readonly isPending: boolean;
|
|
20
|
+
}
|
|
21
|
+
interface ManagedRelayQueryEvent {
|
|
22
|
+
readonly operation: "environments" | "devices" | "environment-status";
|
|
23
|
+
readonly stage: "clerk-token" | "relay-request" | "validation";
|
|
24
|
+
readonly phase: "start" | "success" | "failure";
|
|
25
|
+
readonly accountId: string;
|
|
26
|
+
readonly environmentId?: string;
|
|
27
|
+
readonly message?: string;
|
|
28
|
+
readonly traceId?: string | null;
|
|
29
|
+
}
|
|
30
|
+
declare const ManagedRelaySessionError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => Cause.YieldableError & {
|
|
31
|
+
readonly _tag: "ManagedRelaySessionError";
|
|
32
|
+
} & Readonly<A>;
|
|
33
|
+
declare class ManagedRelaySessionError extends ManagedRelaySessionError_base<{
|
|
34
|
+
readonly message: string;
|
|
35
|
+
readonly cause?: unknown;
|
|
36
|
+
}> {}
|
|
37
|
+
declare const ManagedRelaySnapshotError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => Cause.YieldableError & {
|
|
38
|
+
readonly _tag: "ManagedRelaySnapshotError";
|
|
39
|
+
} & Readonly<A>;
|
|
40
|
+
declare class ManagedRelaySnapshotError extends ManagedRelaySnapshotError_base<{
|
|
41
|
+
readonly message: string;
|
|
42
|
+
}> {}
|
|
43
|
+
declare const managedRelaySessionAtom: Atom.Writable<ManagedRelaySession | null, ManagedRelaySession | null>;
|
|
44
|
+
declare function createManagedRelaySession(input: ManagedRelaySessionInput): ManagedRelaySession;
|
|
45
|
+
declare function setManagedRelaySession(registry: AtomRegistry.AtomRegistry, input: ManagedRelaySessionInput | null): void;
|
|
46
|
+
declare function managedRelayAccountChanges(registry: AtomRegistry.AtomRegistry): Stream.Stream<string | null>;
|
|
47
|
+
declare const waitForManagedRelayClerkToken: (registry: AtomRegistry.AtomRegistry) => Effect.Effect<string, ManagedRelaySessionError, never>;
|
|
48
|
+
declare function readManagedRelaySnapshotState<A>(result: AsyncResult.AsyncResult<A, unknown>): ManagedRelaySnapshotState<A>;
|
|
49
|
+
declare function createManagedRelayQueryManager(runtime: Atom.AtomRuntime<ManagedRelayClient>, options?: {
|
|
50
|
+
readonly staleTimeMs?: number;
|
|
51
|
+
readonly idleTtlMs?: number;
|
|
52
|
+
readonly onQueryEvent?: (event: ManagedRelayQueryEvent) => void;
|
|
53
|
+
}): {
|
|
54
|
+
environmentsAtom: (arg: string) => Atom.Atom<AsyncResult.AsyncResult<readonly {
|
|
55
|
+
readonly environmentId: string & import("effect/Brand").Brand<"EnvironmentId">;
|
|
56
|
+
readonly label: string;
|
|
57
|
+
readonly endpoint: {
|
|
58
|
+
readonly httpBaseUrl: string;
|
|
59
|
+
readonly wsBaseUrl: string;
|
|
60
|
+
readonly providerKind: "cloudflare_tunnel" | "manual" | "t3_relay";
|
|
61
|
+
};
|
|
62
|
+
readonly linkedAt: string;
|
|
63
|
+
}[], ManagedRelayAccessTokenScopesUnexpectedError | ManagedRelayDpopKeyLoadError | ManagedRelayRequestFailedError | ManagedRelayRequestProofCreationError | ManagedRelayRequestTimeoutError | ManagedRelaySessionError | ManagedRelayTokenProofCreationError | ManagedRelayUrlInvalidError>>;
|
|
64
|
+
devicesAtom: (arg: string) => Atom.Atom<AsyncResult.AsyncResult<readonly {
|
|
65
|
+
readonly deviceId: string;
|
|
66
|
+
readonly label: string;
|
|
67
|
+
readonly platform: "ios";
|
|
68
|
+
readonly iosMajorVersion: number;
|
|
69
|
+
readonly appVersion: string | null;
|
|
70
|
+
readonly notifications: {
|
|
71
|
+
readonly enabled: boolean;
|
|
72
|
+
readonly notifyOnApproval: boolean;
|
|
73
|
+
readonly notifyOnInput: boolean;
|
|
74
|
+
readonly notifyOnCompletion: boolean;
|
|
75
|
+
readonly notifyOnFailure: boolean;
|
|
76
|
+
};
|
|
77
|
+
readonly liveActivities: {
|
|
78
|
+
readonly enabled: boolean;
|
|
79
|
+
};
|
|
80
|
+
readonly updatedAt: string;
|
|
81
|
+
}[], ManagedRelayAccessTokenScopesUnexpectedError | ManagedRelayDpopKeyLoadError | ManagedRelayRequestFailedError | ManagedRelayRequestProofCreationError | ManagedRelayRequestTimeoutError | ManagedRelaySessionError | ManagedRelayTokenProofCreationError | ManagedRelayUrlInvalidError>>;
|
|
82
|
+
environmentStatusAtom: (input: {
|
|
83
|
+
readonly accountId: string;
|
|
84
|
+
readonly environment: RelayClientEnvironmentRecord;
|
|
85
|
+
}) => Atom.Atom<AsyncResult.AsyncResult<{
|
|
86
|
+
readonly environmentId: string & import("effect/Brand").Brand<"EnvironmentId">;
|
|
87
|
+
readonly endpoint: {
|
|
88
|
+
readonly httpBaseUrl: string;
|
|
89
|
+
readonly wsBaseUrl: string;
|
|
90
|
+
readonly providerKind: "cloudflare_tunnel" | "manual" | "t3_relay";
|
|
91
|
+
};
|
|
92
|
+
readonly status: "offline" | "online";
|
|
93
|
+
readonly checkedAt: string;
|
|
94
|
+
readonly descriptor?: {
|
|
95
|
+
readonly environmentId: string & import("effect/Brand").Brand<"EnvironmentId">;
|
|
96
|
+
readonly label: string;
|
|
97
|
+
readonly platform: {
|
|
98
|
+
readonly os: "darwin" | "linux" | "unknown" | "windows";
|
|
99
|
+
readonly arch: "arm64" | "other" | "x64";
|
|
100
|
+
};
|
|
101
|
+
readonly serverVersion: string;
|
|
102
|
+
readonly capabilities: {
|
|
103
|
+
readonly repositoryIdentity: boolean;
|
|
104
|
+
readonly connectionProbe?: boolean;
|
|
105
|
+
readonly threadSettlement?: boolean;
|
|
106
|
+
readonly threadSnooze?: boolean;
|
|
107
|
+
readonly serverSelfUpdate?: "boot-service" | "desktop-managed" | "respawn";
|
|
108
|
+
};
|
|
109
|
+
} | undefined;
|
|
110
|
+
readonly error?: string | undefined;
|
|
111
|
+
readonly traceId?: string | undefined;
|
|
112
|
+
}, ManagedRelayAccessTokenScopesUnexpectedError | ManagedRelayDpopKeyLoadError | ManagedRelayRequestFailedError | ManagedRelayRequestProofCreationError | ManagedRelayRequestTimeoutError | ManagedRelaySessionError | ManagedRelaySnapshotError | ManagedRelayTokenProofCreationError | ManagedRelayUrlInvalidError>>;
|
|
113
|
+
refreshEnvironments(registry: AtomRegistry.AtomRegistry, accountId: string): void;
|
|
114
|
+
refreshDevices(registry: AtomRegistry.AtomRegistry, accountId: string): void;
|
|
115
|
+
refreshEnvironmentStatus(registry: AtomRegistry.AtomRegistry, input: {
|
|
116
|
+
readonly accountId: string;
|
|
117
|
+
readonly environment: RelayClientEnvironmentRecord;
|
|
118
|
+
}): void;
|
|
119
|
+
};
|
|
120
|
+
//#endregion
|
|
121
|
+
export { discovery_d_exports as Discovery, managedRelay_d_exports as ManagedRelay, ManagedRelayQueryEvent, ManagedRelaySession, ManagedRelaySessionError, ManagedRelaySessionInput, ManagedRelaySnapshotError, ManagedRelaySnapshotState, createManagedRelayQueryManager, createManagedRelaySession, managedRelayAccountChanges, managedRelaySessionAtom, readManagedRelaySnapshotState, setManagedRelaySession, waitForManagedRelayClerkToken };
|