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
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
declare const ProjectLookupError_base: Schema.Class<ProjectLookupError, Schema.TaggedStruct<"ProjectLookupError", {
|
|
3
|
-
readonly message: Schema.String;
|
|
4
|
-
readonly ref: Schema.String;
|
|
5
|
-
}>, import("effect/Cause").YieldableError>;
|
|
6
|
-
export declare class ProjectLookupError extends ProjectLookupError_base {
|
|
7
|
-
}
|
|
8
|
-
declare const ModelSelectionError_base: Schema.Class<ModelSelectionError, Schema.TaggedStruct<"ModelSelectionError", {
|
|
9
|
-
readonly message: Schema.String;
|
|
10
|
-
}>, import("effect/Cause").YieldableError>;
|
|
11
|
-
export declare class ModelSelectionError extends ModelSelectionError_base {
|
|
12
|
-
}
|
|
13
|
-
declare const ThreadEventError_base: Schema.Class<ThreadEventError, Schema.TaggedStruct<"ThreadEventError", {
|
|
14
|
-
readonly message: Schema.String;
|
|
15
|
-
}>, import("effect/Cause").YieldableError>;
|
|
16
|
-
export declare class ThreadEventError extends ThreadEventError_base {
|
|
17
|
-
}
|
|
18
|
-
declare const ThreadSessionError_base: Schema.Class<ThreadSessionError, Schema.TaggedStruct<"ThreadSessionError", {
|
|
19
|
-
readonly message: Schema.String;
|
|
20
|
-
readonly threadId: Schema.String;
|
|
21
|
-
}>, import("effect/Cause").YieldableError>;
|
|
22
|
-
export declare class ThreadSessionError extends ThreadSessionError_base {
|
|
23
|
-
}
|
|
24
|
-
declare const ThreadLookupError_base: Schema.Class<ThreadLookupError, Schema.TaggedStruct<"ThreadLookupError", {
|
|
25
|
-
readonly message: Schema.String;
|
|
26
|
-
readonly threadId: Schema.String;
|
|
27
|
-
}>, import("effect/Cause").YieldableError>;
|
|
28
|
-
export declare class ThreadLookupError extends ThreadLookupError_base {
|
|
29
|
-
}
|
|
30
|
-
declare const ProjectCreateVisibilityError_base: Schema.Class<ProjectCreateVisibilityError, Schema.TaggedStruct<"ProjectCreateVisibilityError", {
|
|
31
|
-
readonly message: Schema.String;
|
|
32
|
-
readonly projectId: Schema.String;
|
|
33
|
-
}>, import("effect/Cause").YieldableError>;
|
|
34
|
-
export declare class ProjectCreateVisibilityError extends ProjectCreateVisibilityError_base {
|
|
35
|
-
}
|
|
36
|
-
declare const TerminalLookupError_base: Schema.Class<TerminalLookupError, Schema.TaggedStruct<"TerminalLookupError", {
|
|
37
|
-
readonly message: Schema.String;
|
|
38
|
-
readonly threadId: Schema.String;
|
|
39
|
-
readonly terminalId: Schema.String;
|
|
40
|
-
}>, import("effect/Cause").YieldableError>;
|
|
41
|
-
export declare class TerminalLookupError extends TerminalLookupError_base {
|
|
42
|
-
}
|
|
43
|
-
declare const ProjectActionLookupError_base: Schema.Class<ProjectActionLookupError, Schema.TaggedStruct<"ProjectActionLookupError", {
|
|
44
|
-
readonly message: Schema.String;
|
|
45
|
-
readonly projectId: Schema.String;
|
|
46
|
-
readonly selector: Schema.String;
|
|
47
|
-
}>, import("effect/Cause").YieldableError>;
|
|
48
|
-
export declare class ProjectActionLookupError extends ProjectActionLookupError_base {
|
|
49
|
-
}
|
|
50
|
-
declare const ProjectActionValidationError_base: Schema.Class<ProjectActionValidationError, Schema.TaggedStruct<"ProjectActionValidationError", {
|
|
51
|
-
readonly message: Schema.String;
|
|
52
|
-
readonly projectId: Schema.String;
|
|
53
|
-
}>, import("effect/Cause").YieldableError>;
|
|
54
|
-
export declare class ProjectActionValidationError extends ProjectActionValidationError_base {
|
|
55
|
-
}
|
|
56
|
-
export type DomainError = ProjectLookupError | ModelSelectionError | ThreadEventError | ThreadSessionError | ThreadLookupError | ProjectCreateVisibilityError | TerminalLookupError | ProjectActionLookupError | ProjectActionValidationError;
|
|
57
|
-
export {};
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as Path from "effect/Path";
|
|
3
|
-
import type { OrchestrationProjectShell, OrchestrationShellSnapshot } from "@t3tools/contracts";
|
|
4
|
-
export type ResolvedProjectScope = {
|
|
5
|
-
readonly project: OrchestrationProjectShell;
|
|
6
|
-
readonly inferredWorktreePath?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const resolveProjectScope: (snapshot: {
|
|
9
|
-
readonly snapshotSequence: number;
|
|
10
|
-
readonly projects: readonly {
|
|
11
|
-
readonly id: string & import("effect/Brand").Brand<"ProjectId">;
|
|
12
|
-
readonly title: string;
|
|
13
|
-
readonly workspaceRoot: string;
|
|
14
|
-
readonly defaultModelSelection: {
|
|
15
|
-
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
16
|
-
readonly model: string;
|
|
17
|
-
readonly options?: readonly {
|
|
18
|
-
readonly id: string;
|
|
19
|
-
readonly value: string | boolean;
|
|
20
|
-
}[];
|
|
21
|
-
} | null;
|
|
22
|
-
readonly scripts: readonly {
|
|
23
|
-
readonly id: string;
|
|
24
|
-
readonly name: string;
|
|
25
|
-
readonly command: string;
|
|
26
|
-
readonly icon: "play" | "test" | "lint" | "configure" | "build" | "debug";
|
|
27
|
-
readonly runOnWorktreeCreate: boolean;
|
|
28
|
-
readonly previewUrl?: string | undefined;
|
|
29
|
-
readonly autoOpenPreview?: boolean | undefined;
|
|
30
|
-
}[];
|
|
31
|
-
readonly createdAt: string;
|
|
32
|
-
readonly updatedAt: string;
|
|
33
|
-
readonly repositoryIdentity?: {
|
|
34
|
-
readonly canonicalKey: string;
|
|
35
|
-
readonly locator: {
|
|
36
|
-
readonly source: "git-remote";
|
|
37
|
-
readonly remoteName: string;
|
|
38
|
-
readonly remoteUrl: string;
|
|
39
|
-
};
|
|
40
|
-
readonly rootPath?: string;
|
|
41
|
-
readonly displayName?: string;
|
|
42
|
-
readonly provider?: string;
|
|
43
|
-
readonly owner?: string;
|
|
44
|
-
readonly name?: string;
|
|
45
|
-
} | null | undefined;
|
|
46
|
-
}[];
|
|
47
|
-
readonly threads: readonly {
|
|
48
|
-
readonly id: string & import("effect/Brand").Brand<"ThreadId">;
|
|
49
|
-
readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
|
|
50
|
-
readonly title: string;
|
|
51
|
-
readonly modelSelection: {
|
|
52
|
-
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
53
|
-
readonly model: string;
|
|
54
|
-
readonly options?: readonly {
|
|
55
|
-
readonly id: string;
|
|
56
|
-
readonly value: string | boolean;
|
|
57
|
-
}[];
|
|
58
|
-
};
|
|
59
|
-
readonly runtimeMode: "approval-required" | "auto-accept-edits" | "full-access";
|
|
60
|
-
readonly interactionMode: "default" | "plan";
|
|
61
|
-
readonly branch: string | null;
|
|
62
|
-
readonly worktreePath: string | null;
|
|
63
|
-
readonly latestTurn: {
|
|
64
|
-
readonly turnId: string & import("effect/Brand").Brand<"TurnId">;
|
|
65
|
-
readonly state: "error" | "running" | "interrupted" | "completed";
|
|
66
|
-
readonly requestedAt: string;
|
|
67
|
-
readonly startedAt: string | null;
|
|
68
|
-
readonly completedAt: string | null;
|
|
69
|
-
readonly assistantMessageId: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
70
|
-
readonly sourceProposedPlan?: {
|
|
71
|
-
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
72
|
-
readonly planId: string;
|
|
73
|
-
} | undefined;
|
|
74
|
-
} | null;
|
|
75
|
-
readonly createdAt: string;
|
|
76
|
-
readonly updatedAt: string;
|
|
77
|
-
readonly archivedAt: string | null;
|
|
78
|
-
readonly session: {
|
|
79
|
-
readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
|
|
80
|
-
readonly status: "error" | "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped";
|
|
81
|
-
readonly providerName: string | null;
|
|
82
|
-
readonly runtimeMode: "approval-required" | "auto-accept-edits" | "full-access";
|
|
83
|
-
readonly activeTurnId: (string & import("effect/Brand").Brand<"TurnId">) | null;
|
|
84
|
-
readonly lastError: string | null;
|
|
85
|
-
readonly updatedAt: string;
|
|
86
|
-
readonly providerInstanceId?: (string & import("effect/Brand").Brand<"ProviderInstanceId">) | undefined;
|
|
87
|
-
} | null;
|
|
88
|
-
readonly goal: {
|
|
89
|
-
readonly objective: string;
|
|
90
|
-
readonly status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete";
|
|
91
|
-
readonly tokensUsed: number;
|
|
92
|
-
readonly tokenBudget: number | null;
|
|
93
|
-
readonly timeUsedSeconds: number;
|
|
94
|
-
readonly createdAt: string;
|
|
95
|
-
readonly updatedAt: string;
|
|
96
|
-
} | null;
|
|
97
|
-
readonly latestUserMessageAt: string | null;
|
|
98
|
-
readonly hasPendingApprovals: boolean;
|
|
99
|
-
readonly hasPendingUserInput: boolean;
|
|
100
|
-
readonly hasActionableProposedPlan: boolean;
|
|
101
|
-
}[];
|
|
102
|
-
readonly updatedAt: string;
|
|
103
|
-
}, input: {
|
|
104
|
-
readonly ref: string;
|
|
105
|
-
}) => Effect.Effect<{
|
|
106
|
-
project: {
|
|
107
|
-
readonly id: string & import("effect/Brand").Brand<"ProjectId">;
|
|
108
|
-
readonly title: string;
|
|
109
|
-
readonly workspaceRoot: string;
|
|
110
|
-
readonly defaultModelSelection: {
|
|
111
|
-
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
112
|
-
readonly model: string;
|
|
113
|
-
readonly options?: readonly {
|
|
114
|
-
readonly id: string;
|
|
115
|
-
readonly value: string | boolean;
|
|
116
|
-
}[];
|
|
117
|
-
} | null;
|
|
118
|
-
readonly scripts: readonly {
|
|
119
|
-
readonly id: string;
|
|
120
|
-
readonly name: string;
|
|
121
|
-
readonly command: string;
|
|
122
|
-
readonly icon: "play" | "test" | "lint" | "configure" | "build" | "debug";
|
|
123
|
-
readonly runOnWorktreeCreate: boolean;
|
|
124
|
-
readonly previewUrl?: string | undefined;
|
|
125
|
-
readonly autoOpenPreview?: boolean | undefined;
|
|
126
|
-
}[];
|
|
127
|
-
readonly createdAt: string;
|
|
128
|
-
readonly updatedAt: string;
|
|
129
|
-
readonly repositoryIdentity?: {
|
|
130
|
-
readonly canonicalKey: string;
|
|
131
|
-
readonly locator: {
|
|
132
|
-
readonly source: "git-remote";
|
|
133
|
-
readonly remoteName: string;
|
|
134
|
-
readonly remoteUrl: string;
|
|
135
|
-
};
|
|
136
|
-
readonly rootPath?: string;
|
|
137
|
-
readonly displayName?: string;
|
|
138
|
-
readonly provider?: string;
|
|
139
|
-
readonly owner?: string;
|
|
140
|
-
readonly name?: string;
|
|
141
|
-
} | null | undefined;
|
|
142
|
-
};
|
|
143
|
-
inferredWorktreePath: string;
|
|
144
|
-
} | {
|
|
145
|
-
project: {
|
|
146
|
-
readonly id: string & import("effect/Brand").Brand<"ProjectId">;
|
|
147
|
-
readonly title: string;
|
|
148
|
-
readonly workspaceRoot: string;
|
|
149
|
-
readonly defaultModelSelection: {
|
|
150
|
-
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
151
|
-
readonly model: string;
|
|
152
|
-
readonly options?: readonly {
|
|
153
|
-
readonly id: string;
|
|
154
|
-
readonly value: string | boolean;
|
|
155
|
-
}[];
|
|
156
|
-
} | null;
|
|
157
|
-
readonly scripts: readonly {
|
|
158
|
-
readonly id: string;
|
|
159
|
-
readonly name: string;
|
|
160
|
-
readonly command: string;
|
|
161
|
-
readonly icon: "play" | "test" | "lint" | "configure" | "build" | "debug";
|
|
162
|
-
readonly runOnWorktreeCreate: boolean;
|
|
163
|
-
readonly previewUrl?: string | undefined;
|
|
164
|
-
readonly autoOpenPreview?: boolean | undefined;
|
|
165
|
-
}[];
|
|
166
|
-
readonly createdAt: string;
|
|
167
|
-
readonly updatedAt: string;
|
|
168
|
-
readonly repositoryIdentity?: {
|
|
169
|
-
readonly canonicalKey: string;
|
|
170
|
-
readonly locator: {
|
|
171
|
-
readonly source: "git-remote";
|
|
172
|
-
readonly remoteName: string;
|
|
173
|
-
readonly remoteUrl: string;
|
|
174
|
-
};
|
|
175
|
-
readonly rootPath?: string;
|
|
176
|
-
readonly displayName?: string;
|
|
177
|
-
readonly provider?: string;
|
|
178
|
-
readonly owner?: string;
|
|
179
|
-
readonly name?: string;
|
|
180
|
-
} | null | undefined;
|
|
181
|
-
};
|
|
182
|
-
inferredWorktreePath?: never;
|
|
183
|
-
} | undefined, never, Path.Path>;
|
|
184
|
-
export declare function findProjectById(snapshot: OrchestrationShellSnapshot, projectId: string): OrchestrationProjectShell | null;
|
|
@@ -1,325 +0,0 @@
|
|
|
1
|
-
import type { ServerProvider } from "@t3tools/contracts";
|
|
2
|
-
export declare function isSelectableProvider(provider: ServerProvider): boolean;
|
|
3
|
-
export declare function firstSelectableProvider(providers: ReadonlyArray<ServerProvider>): {
|
|
4
|
-
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
5
|
-
readonly driver: string & import("effect/Brand").Brand<"ProviderDriverKind">;
|
|
6
|
-
readonly enabled: boolean;
|
|
7
|
-
readonly installed: boolean;
|
|
8
|
-
readonly version: string | null;
|
|
9
|
-
readonly status: "error" | "ready" | "warning" | "disabled";
|
|
10
|
-
readonly auth: {
|
|
11
|
-
readonly status: "authenticated" | "unknown" | "unauthenticated";
|
|
12
|
-
readonly type?: string | undefined;
|
|
13
|
-
readonly label?: string | undefined;
|
|
14
|
-
readonly email?: string | undefined;
|
|
15
|
-
};
|
|
16
|
-
readonly checkedAt: string;
|
|
17
|
-
readonly models: readonly {
|
|
18
|
-
readonly slug: string;
|
|
19
|
-
readonly name: string;
|
|
20
|
-
readonly isCustom: boolean;
|
|
21
|
-
readonly capabilities: {
|
|
22
|
-
readonly optionDescriptors?: readonly ({
|
|
23
|
-
readonly type: "select";
|
|
24
|
-
readonly options: readonly {
|
|
25
|
-
readonly id: string;
|
|
26
|
-
readonly label: string;
|
|
27
|
-
readonly description?: string | undefined;
|
|
28
|
-
readonly isDefault?: boolean | undefined;
|
|
29
|
-
}[];
|
|
30
|
-
readonly id: string;
|
|
31
|
-
readonly label: string;
|
|
32
|
-
readonly currentValue?: string | undefined;
|
|
33
|
-
readonly promptInjectedValues?: readonly string[] | undefined;
|
|
34
|
-
readonly description?: string | undefined;
|
|
35
|
-
} | {
|
|
36
|
-
readonly type: "boolean";
|
|
37
|
-
readonly id: string;
|
|
38
|
-
readonly label: string;
|
|
39
|
-
readonly currentValue?: boolean | undefined;
|
|
40
|
-
readonly description?: string | undefined;
|
|
41
|
-
})[] | undefined;
|
|
42
|
-
} | null;
|
|
43
|
-
readonly shortName?: string | undefined;
|
|
44
|
-
readonly subProvider?: string | undefined;
|
|
45
|
-
}[];
|
|
46
|
-
readonly slashCommands: readonly {
|
|
47
|
-
readonly name: string;
|
|
48
|
-
readonly description?: string | undefined;
|
|
49
|
-
readonly input?: {
|
|
50
|
-
readonly hint: string;
|
|
51
|
-
} | undefined;
|
|
52
|
-
}[];
|
|
53
|
-
readonly skills: readonly {
|
|
54
|
-
readonly name: string;
|
|
55
|
-
readonly path: string;
|
|
56
|
-
readonly enabled: boolean;
|
|
57
|
-
readonly description?: string | undefined;
|
|
58
|
-
readonly scope?: string | undefined;
|
|
59
|
-
readonly displayName?: string | undefined;
|
|
60
|
-
readonly shortDescription?: string | undefined;
|
|
61
|
-
}[];
|
|
62
|
-
readonly displayName?: string | undefined;
|
|
63
|
-
readonly accentColor?: string | undefined;
|
|
64
|
-
readonly badgeLabel?: string | undefined;
|
|
65
|
-
readonly continuation?: {
|
|
66
|
-
readonly groupKey: string;
|
|
67
|
-
} | undefined;
|
|
68
|
-
readonly showInteractionModeToggle?: boolean | undefined;
|
|
69
|
-
readonly requiresNewThreadForModelChange?: boolean | undefined;
|
|
70
|
-
readonly message?: string | undefined;
|
|
71
|
-
readonly availability?: "available" | "unavailable" | undefined;
|
|
72
|
-
readonly unavailableReason?: string | undefined;
|
|
73
|
-
readonly versionAdvisory?: {
|
|
74
|
-
readonly status: "unknown" | "current" | "behind_latest";
|
|
75
|
-
readonly currentVersion: string | null;
|
|
76
|
-
readonly latestVersion: string | null;
|
|
77
|
-
readonly updateCommand: string | null;
|
|
78
|
-
readonly canUpdate: boolean;
|
|
79
|
-
readonly checkedAt: string | null;
|
|
80
|
-
readonly message: string | null;
|
|
81
|
-
};
|
|
82
|
-
readonly updateState?: {
|
|
83
|
-
readonly status: "idle" | "running" | "failed" | "queued" | "succeeded" | "unchanged";
|
|
84
|
-
readonly startedAt: string | null;
|
|
85
|
-
readonly finishedAt: string | null;
|
|
86
|
-
readonly message: string | null;
|
|
87
|
-
readonly output: string | null;
|
|
88
|
-
};
|
|
89
|
-
} | undefined;
|
|
90
|
-
export declare function firstSelectableModel(provider: ServerProvider): {
|
|
91
|
-
readonly slug: string;
|
|
92
|
-
readonly name: string;
|
|
93
|
-
readonly isCustom: boolean;
|
|
94
|
-
readonly capabilities: {
|
|
95
|
-
readonly optionDescriptors?: readonly ({
|
|
96
|
-
readonly type: "select";
|
|
97
|
-
readonly options: readonly {
|
|
98
|
-
readonly id: string;
|
|
99
|
-
readonly label: string;
|
|
100
|
-
readonly description?: string | undefined;
|
|
101
|
-
readonly isDefault?: boolean | undefined;
|
|
102
|
-
}[];
|
|
103
|
-
readonly id: string;
|
|
104
|
-
readonly label: string;
|
|
105
|
-
readonly currentValue?: string | undefined;
|
|
106
|
-
readonly promptInjectedValues?: readonly string[] | undefined;
|
|
107
|
-
readonly description?: string | undefined;
|
|
108
|
-
} | {
|
|
109
|
-
readonly type: "boolean";
|
|
110
|
-
readonly id: string;
|
|
111
|
-
readonly label: string;
|
|
112
|
-
readonly currentValue?: boolean | undefined;
|
|
113
|
-
readonly description?: string | undefined;
|
|
114
|
-
})[] | undefined;
|
|
115
|
-
} | null;
|
|
116
|
-
readonly shortName?: string | undefined;
|
|
117
|
-
readonly subProvider?: string | undefined;
|
|
118
|
-
} | undefined;
|
|
119
|
-
export declare function findSelectableModel(provider: ServerProvider, slug: string): {
|
|
120
|
-
readonly slug: string;
|
|
121
|
-
readonly name: string;
|
|
122
|
-
readonly isCustom: boolean;
|
|
123
|
-
readonly capabilities: {
|
|
124
|
-
readonly optionDescriptors?: readonly ({
|
|
125
|
-
readonly type: "select";
|
|
126
|
-
readonly options: readonly {
|
|
127
|
-
readonly id: string;
|
|
128
|
-
readonly label: string;
|
|
129
|
-
readonly description?: string | undefined;
|
|
130
|
-
readonly isDefault?: boolean | undefined;
|
|
131
|
-
}[];
|
|
132
|
-
readonly id: string;
|
|
133
|
-
readonly label: string;
|
|
134
|
-
readonly currentValue?: string | undefined;
|
|
135
|
-
readonly promptInjectedValues?: readonly string[] | undefined;
|
|
136
|
-
readonly description?: string | undefined;
|
|
137
|
-
} | {
|
|
138
|
-
readonly type: "boolean";
|
|
139
|
-
readonly id: string;
|
|
140
|
-
readonly label: string;
|
|
141
|
-
readonly currentValue?: boolean | undefined;
|
|
142
|
-
readonly description?: string | undefined;
|
|
143
|
-
})[] | undefined;
|
|
144
|
-
} | null;
|
|
145
|
-
readonly shortName?: string | undefined;
|
|
146
|
-
readonly subProvider?: string | undefined;
|
|
147
|
-
} | undefined;
|
|
148
|
-
export declare function findSelectableProvider(providers: ReadonlyArray<ServerProvider>, instanceId: string): {
|
|
149
|
-
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
150
|
-
readonly driver: string & import("effect/Brand").Brand<"ProviderDriverKind">;
|
|
151
|
-
readonly enabled: boolean;
|
|
152
|
-
readonly installed: boolean;
|
|
153
|
-
readonly version: string | null;
|
|
154
|
-
readonly status: "error" | "ready" | "warning" | "disabled";
|
|
155
|
-
readonly auth: {
|
|
156
|
-
readonly status: "authenticated" | "unknown" | "unauthenticated";
|
|
157
|
-
readonly type?: string | undefined;
|
|
158
|
-
readonly label?: string | undefined;
|
|
159
|
-
readonly email?: string | undefined;
|
|
160
|
-
};
|
|
161
|
-
readonly checkedAt: string;
|
|
162
|
-
readonly models: readonly {
|
|
163
|
-
readonly slug: string;
|
|
164
|
-
readonly name: string;
|
|
165
|
-
readonly isCustom: boolean;
|
|
166
|
-
readonly capabilities: {
|
|
167
|
-
readonly optionDescriptors?: readonly ({
|
|
168
|
-
readonly type: "select";
|
|
169
|
-
readonly options: readonly {
|
|
170
|
-
readonly id: string;
|
|
171
|
-
readonly label: string;
|
|
172
|
-
readonly description?: string | undefined;
|
|
173
|
-
readonly isDefault?: boolean | undefined;
|
|
174
|
-
}[];
|
|
175
|
-
readonly id: string;
|
|
176
|
-
readonly label: string;
|
|
177
|
-
readonly currentValue?: string | undefined;
|
|
178
|
-
readonly promptInjectedValues?: readonly string[] | undefined;
|
|
179
|
-
readonly description?: string | undefined;
|
|
180
|
-
} | {
|
|
181
|
-
readonly type: "boolean";
|
|
182
|
-
readonly id: string;
|
|
183
|
-
readonly label: string;
|
|
184
|
-
readonly currentValue?: boolean | undefined;
|
|
185
|
-
readonly description?: string | undefined;
|
|
186
|
-
})[] | undefined;
|
|
187
|
-
} | null;
|
|
188
|
-
readonly shortName?: string | undefined;
|
|
189
|
-
readonly subProvider?: string | undefined;
|
|
190
|
-
}[];
|
|
191
|
-
readonly slashCommands: readonly {
|
|
192
|
-
readonly name: string;
|
|
193
|
-
readonly description?: string | undefined;
|
|
194
|
-
readonly input?: {
|
|
195
|
-
readonly hint: string;
|
|
196
|
-
} | undefined;
|
|
197
|
-
}[];
|
|
198
|
-
readonly skills: readonly {
|
|
199
|
-
readonly name: string;
|
|
200
|
-
readonly path: string;
|
|
201
|
-
readonly enabled: boolean;
|
|
202
|
-
readonly description?: string | undefined;
|
|
203
|
-
readonly scope?: string | undefined;
|
|
204
|
-
readonly displayName?: string | undefined;
|
|
205
|
-
readonly shortDescription?: string | undefined;
|
|
206
|
-
}[];
|
|
207
|
-
readonly displayName?: string | undefined;
|
|
208
|
-
readonly accentColor?: string | undefined;
|
|
209
|
-
readonly badgeLabel?: string | undefined;
|
|
210
|
-
readonly continuation?: {
|
|
211
|
-
readonly groupKey: string;
|
|
212
|
-
} | undefined;
|
|
213
|
-
readonly showInteractionModeToggle?: boolean | undefined;
|
|
214
|
-
readonly requiresNewThreadForModelChange?: boolean | undefined;
|
|
215
|
-
readonly message?: string | undefined;
|
|
216
|
-
readonly availability?: "available" | "unavailable" | undefined;
|
|
217
|
-
readonly unavailableReason?: string | undefined;
|
|
218
|
-
readonly versionAdvisory?: {
|
|
219
|
-
readonly status: "unknown" | "current" | "behind_latest";
|
|
220
|
-
readonly currentVersion: string | null;
|
|
221
|
-
readonly latestVersion: string | null;
|
|
222
|
-
readonly updateCommand: string | null;
|
|
223
|
-
readonly canUpdate: boolean;
|
|
224
|
-
readonly checkedAt: string | null;
|
|
225
|
-
readonly message: string | null;
|
|
226
|
-
};
|
|
227
|
-
readonly updateState?: {
|
|
228
|
-
readonly status: "idle" | "running" | "failed" | "queued" | "succeeded" | "unchanged";
|
|
229
|
-
readonly startedAt: string | null;
|
|
230
|
-
readonly finishedAt: string | null;
|
|
231
|
-
readonly message: string | null;
|
|
232
|
-
readonly output: string | null;
|
|
233
|
-
};
|
|
234
|
-
} | undefined;
|
|
235
|
-
export declare function filterProvidersForModelListing(input: {
|
|
236
|
-
readonly providers: ReadonlyArray<ServerProvider>;
|
|
237
|
-
readonly all: boolean;
|
|
238
|
-
readonly provider?: string;
|
|
239
|
-
}): {
|
|
240
|
-
readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
|
|
241
|
-
readonly driver: string & import("effect/Brand").Brand<"ProviderDriverKind">;
|
|
242
|
-
readonly enabled: boolean;
|
|
243
|
-
readonly installed: boolean;
|
|
244
|
-
readonly version: string | null;
|
|
245
|
-
readonly status: "error" | "ready" | "warning" | "disabled";
|
|
246
|
-
readonly auth: {
|
|
247
|
-
readonly status: "authenticated" | "unknown" | "unauthenticated";
|
|
248
|
-
readonly type?: string | undefined;
|
|
249
|
-
readonly label?: string | undefined;
|
|
250
|
-
readonly email?: string | undefined;
|
|
251
|
-
};
|
|
252
|
-
readonly checkedAt: string;
|
|
253
|
-
readonly models: readonly {
|
|
254
|
-
readonly slug: string;
|
|
255
|
-
readonly name: string;
|
|
256
|
-
readonly isCustom: boolean;
|
|
257
|
-
readonly capabilities: {
|
|
258
|
-
readonly optionDescriptors?: readonly ({
|
|
259
|
-
readonly type: "select";
|
|
260
|
-
readonly options: readonly {
|
|
261
|
-
readonly id: string;
|
|
262
|
-
readonly label: string;
|
|
263
|
-
readonly description?: string | undefined;
|
|
264
|
-
readonly isDefault?: boolean | undefined;
|
|
265
|
-
}[];
|
|
266
|
-
readonly id: string;
|
|
267
|
-
readonly label: string;
|
|
268
|
-
readonly currentValue?: string | undefined;
|
|
269
|
-
readonly promptInjectedValues?: readonly string[] | undefined;
|
|
270
|
-
readonly description?: string | undefined;
|
|
271
|
-
} | {
|
|
272
|
-
readonly type: "boolean";
|
|
273
|
-
readonly id: string;
|
|
274
|
-
readonly label: string;
|
|
275
|
-
readonly currentValue?: boolean | undefined;
|
|
276
|
-
readonly description?: string | undefined;
|
|
277
|
-
})[] | undefined;
|
|
278
|
-
} | null;
|
|
279
|
-
readonly shortName?: string | undefined;
|
|
280
|
-
readonly subProvider?: string | undefined;
|
|
281
|
-
}[];
|
|
282
|
-
readonly slashCommands: readonly {
|
|
283
|
-
readonly name: string;
|
|
284
|
-
readonly description?: string | undefined;
|
|
285
|
-
readonly input?: {
|
|
286
|
-
readonly hint: string;
|
|
287
|
-
} | undefined;
|
|
288
|
-
}[];
|
|
289
|
-
readonly skills: readonly {
|
|
290
|
-
readonly name: string;
|
|
291
|
-
readonly path: string;
|
|
292
|
-
readonly enabled: boolean;
|
|
293
|
-
readonly description?: string | undefined;
|
|
294
|
-
readonly scope?: string | undefined;
|
|
295
|
-
readonly displayName?: string | undefined;
|
|
296
|
-
readonly shortDescription?: string | undefined;
|
|
297
|
-
}[];
|
|
298
|
-
readonly displayName?: string | undefined;
|
|
299
|
-
readonly accentColor?: string | undefined;
|
|
300
|
-
readonly badgeLabel?: string | undefined;
|
|
301
|
-
readonly continuation?: {
|
|
302
|
-
readonly groupKey: string;
|
|
303
|
-
} | undefined;
|
|
304
|
-
readonly showInteractionModeToggle?: boolean | undefined;
|
|
305
|
-
readonly requiresNewThreadForModelChange?: boolean | undefined;
|
|
306
|
-
readonly message?: string | undefined;
|
|
307
|
-
readonly availability?: "available" | "unavailable" | undefined;
|
|
308
|
-
readonly unavailableReason?: string | undefined;
|
|
309
|
-
readonly versionAdvisory?: {
|
|
310
|
-
readonly status: "unknown" | "current" | "behind_latest";
|
|
311
|
-
readonly currentVersion: string | null;
|
|
312
|
-
readonly latestVersion: string | null;
|
|
313
|
-
readonly updateCommand: string | null;
|
|
314
|
-
readonly canUpdate: boolean;
|
|
315
|
-
readonly checkedAt: string | null;
|
|
316
|
-
readonly message: string | null;
|
|
317
|
-
};
|
|
318
|
-
readonly updateState?: {
|
|
319
|
-
readonly status: "idle" | "running" | "failed" | "queued" | "succeeded" | "unchanged";
|
|
320
|
-
readonly startedAt: string | null;
|
|
321
|
-
readonly finishedAt: string | null;
|
|
322
|
-
readonly message: string | null;
|
|
323
|
-
readonly output: string | null;
|
|
324
|
-
};
|
|
325
|
-
}[];
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ApprovalRequestId, type OrchestrationThreadActivity, type UserInputQuestion } from "@t3tools/contracts";
|
|
2
|
-
export type PendingApproval = {
|
|
3
|
-
readonly requestId: ApprovalRequestId;
|
|
4
|
-
readonly requestKind: "command" | "file-read" | "file-change";
|
|
5
|
-
readonly createdAt: string;
|
|
6
|
-
readonly detail?: string;
|
|
7
|
-
};
|
|
8
|
-
export type PendingUserInput = {
|
|
9
|
-
readonly requestId: ApprovalRequestId;
|
|
10
|
-
readonly createdAt: string;
|
|
11
|
-
readonly questions: ReadonlyArray<UserInputQuestion>;
|
|
12
|
-
};
|
|
13
|
-
export declare function derivePendingApprovals(activities: ReadonlyArray<OrchestrationThreadActivity>): ReadonlyArray<PendingApproval>;
|
|
14
|
-
export declare function derivePendingUserInputs(activities: ReadonlyArray<OrchestrationThreadActivity>): ReadonlyArray<PendingUserInput>;
|