t3code-cli 0.1.3 → 0.3.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/dist/bin.js +2 -2
- package/dist/index.js +1 -1
- package/dist/{runtime-0wuYCEoH.js → runtime-CMPZpQaG.js} +35 -31
- package/dist/src/application/error.d.ts +3 -0
- package/dist/src/application/layer.d.ts +776 -0
- package/dist/src/application/model-selection.d.ts +19 -0
- package/dist/src/application/models.d.ts +93 -0
- package/dist/src/application/project-commands.d.ts +15 -0
- package/dist/src/application/projects.d.ts +136 -0
- package/dist/src/application/service.d.ts +72 -0
- package/dist/src/application/shell-sequence.d.ts +91 -0
- package/dist/src/application/thread-commands.d.ts +84 -0
- package/dist/src/application/thread-wait.d.ts +104 -0
- package/dist/src/application/threads.d.ts +563 -0
- package/dist/src/auth/error.d.ts +31 -0
- package/dist/src/auth/layer.d.ts +36 -0
- package/dist/src/auth/local.d.ts +19 -0
- package/dist/src/auth/pairing.d.ts +4 -0
- package/dist/src/auth/schema.d.ts +67 -0
- package/dist/src/auth/service.d.ts +14 -0
- package/dist/src/auth/transport.d.ts +26 -0
- package/dist/src/auth/type.d.ts +26 -0
- package/dist/src/config/error.d.ts +18 -0
- package/dist/src/config/layer.d.ts +20 -0
- package/dist/src/config/service.d.ts +20 -0
- package/dist/src/config/url.d.ts +6 -0
- package/dist/src/domain/error.d.ts +31 -0
- package/dist/src/domain/helpers.d.ts +38 -0
- package/dist/src/domain/model-config.d.ts +293 -0
- package/dist/src/domain/thread-lifecycle.d.ts +114 -0
- package/dist/src/environment/layer.d.ts +3 -0
- package/dist/src/environment/service.d.ts +12 -0
- package/dist/src/index.d.ts +6 -0
- package/dist/src/orchestration/layer.d.ts +2128 -0
- package/dist/src/orchestration/service.d.ts +27 -0
- package/dist/src/rpc/error.d.ts +15 -0
- package/dist/src/rpc/layer.d.ts +4678 -0
- package/dist/src/rpc/service.d.ts +15 -0
- package/dist/src/rpc/ws-group.d.ts +2238 -0
- package/dist/src/runtime.d.ts +3 -0
- package/dist/upstream-t3code/packages/contracts/src/auth.d.ts +439 -0
- package/dist/upstream-t3code/packages/contracts/src/baseSchemas.d.ts +38 -0
- package/dist/upstream-t3code/packages/contracts/src/desktopBootstrap.d.ts +14 -0
- package/dist/upstream-t3code/packages/contracts/src/editor.d.ts +124 -0
- package/dist/upstream-t3code/packages/contracts/src/environment.d.ts +64 -0
- package/dist/upstream-t3code/packages/contracts/src/environmentHttp.d.ts +602 -0
- package/dist/upstream-t3code/packages/contracts/src/filesystem.d.ts +26 -0
- package/dist/upstream-t3code/packages/contracts/src/git.d.ts +500 -0
- package/dist/upstream-t3code/packages/contracts/src/index.d.ts +24 -0
- package/dist/upstream-t3code/packages/contracts/src/ipc.d.ts +466 -0
- package/dist/upstream-t3code/packages/contracts/src/keybindings.d.ts +133 -0
- package/dist/upstream-t3code/packages/contracts/src/model.d.ts +112 -0
- package/dist/upstream-t3code/packages/contracts/src/orchestration.d.ts +6682 -0
- package/dist/upstream-t3code/packages/contracts/src/project.d.ts +45 -0
- package/dist/upstream-t3code/packages/contracts/src/provider.d.ts +116 -0
- package/dist/upstream-t3code/packages/contracts/src/providerInstance.d.ts +99 -0
- package/dist/upstream-t3code/packages/contracts/src/providerRuntime.d.ts +4186 -0
- package/dist/upstream-t3code/packages/contracts/src/remoteAccess.d.ts +45 -0
- package/dist/upstream-t3code/packages/contracts/src/review.d.ts +37 -0
- package/dist/upstream-t3code/packages/contracts/src/rpc.d.ts +8149 -0
- package/dist/upstream-t3code/packages/contracts/src/server.d.ts +2291 -0
- package/dist/upstream-t3code/packages/contracts/src/settings.d.ts +271 -0
- package/dist/upstream-t3code/packages/contracts/src/sourceControl.d.ts +177 -0
- package/dist/upstream-t3code/packages/contracts/src/terminal.d.ts +330 -0
- package/dist/upstream-t3code/packages/contracts/src/vcs.d.ts +148 -0
- package/package.json +15 -7
- package/src/application/model-selection.ts +2 -2
- package/src/application/project-commands.ts +1 -1
- package/src/application/service.ts +1 -1
- package/src/application/shell-sequence.ts +1 -1
- package/src/application/thread-commands.ts +1 -1
- package/src/application/thread-wait.ts +1 -1
- package/src/auth/error.ts +5 -1
- package/src/auth/pairing.ts +6 -2
- package/src/auth/transport.ts +21 -10
- package/src/cli/model-format.ts +1 -1
- package/src/cli/project-format.ts +1 -1
- package/src/cli/thread-format.ts +1 -1
- package/src/config/url.ts +46 -2
- package/src/domain/helpers.ts +1 -1
- package/src/domain/model-config.ts +1 -1
- package/src/domain/thread-lifecycle.ts +1 -1
- package/src/index.ts +3 -3
- package/src/orchestration/layer.ts +1 -1
- package/src/orchestration/service.ts +1 -1
- package/src/rpc/error.ts +1 -1
- package/src/rpc/layer.ts +2 -2
- package/src/rpc/ws-group.ts +1 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const AdvertisedEndpointProviderKind: Schema.Literals<readonly ["core", "private-network", "tunnel", "manual"]>;
|
|
3
|
+
export type AdvertisedEndpointProviderKind = typeof AdvertisedEndpointProviderKind.Type;
|
|
4
|
+
export declare const AdvertisedEndpointReachability: Schema.Literals<readonly ["loopback", "lan", "private-network", "public"]>;
|
|
5
|
+
export type AdvertisedEndpointReachability = typeof AdvertisedEndpointReachability.Type;
|
|
6
|
+
export declare const AdvertisedEndpointHostedHttpsCompatibility: Schema.Literals<readonly ["compatible", "mixed-content-blocked", "requires-configuration", "unknown"]>;
|
|
7
|
+
export type AdvertisedEndpointHostedHttpsCompatibility = typeof AdvertisedEndpointHostedHttpsCompatibility.Type;
|
|
8
|
+
export declare const AdvertisedEndpointStatus: Schema.Literals<readonly ["available", "unavailable", "unknown"]>;
|
|
9
|
+
export type AdvertisedEndpointStatus = typeof AdvertisedEndpointStatus.Type;
|
|
10
|
+
export declare const AdvertisedEndpointSource: Schema.Literals<readonly ["desktop-core", "desktop-addon", "server", "user"]>;
|
|
11
|
+
export type AdvertisedEndpointSource = typeof AdvertisedEndpointSource.Type;
|
|
12
|
+
export declare const AdvertisedEndpointProvider: Schema.Struct<{
|
|
13
|
+
readonly id: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
14
|
+
readonly label: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
15
|
+
readonly kind: Schema.Literals<readonly ["core", "private-network", "tunnel", "manual"]>;
|
|
16
|
+
readonly isAddon: Schema.Boolean;
|
|
17
|
+
}>;
|
|
18
|
+
export type AdvertisedEndpointProvider = typeof AdvertisedEndpointProvider.Type;
|
|
19
|
+
export declare const AdvertisedEndpointCompatibility: Schema.Struct<{
|
|
20
|
+
readonly hostedHttpsApp: Schema.Literals<readonly ["compatible", "mixed-content-blocked", "requires-configuration", "unknown"]>;
|
|
21
|
+
readonly desktopApp: Schema.Literals<readonly ["compatible", "unknown"]>;
|
|
22
|
+
}>;
|
|
23
|
+
export type AdvertisedEndpointCompatibility = typeof AdvertisedEndpointCompatibility.Type;
|
|
24
|
+
export declare const AdvertisedEndpoint: Schema.Struct<{
|
|
25
|
+
readonly id: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
26
|
+
readonly label: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
27
|
+
readonly provider: Schema.Struct<{
|
|
28
|
+
readonly id: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
29
|
+
readonly label: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
30
|
+
readonly kind: Schema.Literals<readonly ["core", "private-network", "tunnel", "manual"]>;
|
|
31
|
+
readonly isAddon: Schema.Boolean;
|
|
32
|
+
}>;
|
|
33
|
+
readonly httpBaseUrl: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
34
|
+
readonly wsBaseUrl: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
35
|
+
readonly reachability: Schema.Literals<readonly ["loopback", "lan", "private-network", "public"]>;
|
|
36
|
+
readonly compatibility: Schema.Struct<{
|
|
37
|
+
readonly hostedHttpsApp: Schema.Literals<readonly ["compatible", "mixed-content-blocked", "requires-configuration", "unknown"]>;
|
|
38
|
+
readonly desktopApp: Schema.Literals<readonly ["compatible", "unknown"]>;
|
|
39
|
+
}>;
|
|
40
|
+
readonly source: Schema.Literals<readonly ["desktop-core", "desktop-addon", "server", "user"]>;
|
|
41
|
+
readonly status: Schema.Literals<readonly ["available", "unavailable", "unknown"]>;
|
|
42
|
+
readonly isDefault: Schema.optional<Schema.Boolean>;
|
|
43
|
+
readonly description: Schema.optional<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
44
|
+
}>;
|
|
45
|
+
export type AdvertisedEndpoint = typeof AdvertisedEndpoint.Type;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { GitCommandError } from "./git.ts";
|
|
3
|
+
export declare const ReviewDiffPreviewInput: Schema.Struct<{
|
|
4
|
+
readonly cwd: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
5
|
+
readonly baseRef: Schema.optional<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
6
|
+
}>;
|
|
7
|
+
export type ReviewDiffPreviewInput = typeof ReviewDiffPreviewInput.Type;
|
|
8
|
+
export declare const ReviewDiffPreviewSourceKind: Schema.Literals<readonly ["working-tree", "branch-range"]>;
|
|
9
|
+
export type ReviewDiffPreviewSourceKind = typeof ReviewDiffPreviewSourceKind.Type;
|
|
10
|
+
export declare const ReviewDiffPreviewSource: Schema.Struct<{
|
|
11
|
+
readonly id: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
12
|
+
readonly kind: Schema.Literals<readonly ["working-tree", "branch-range"]>;
|
|
13
|
+
readonly title: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
14
|
+
readonly baseRef: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
15
|
+
readonly headRef: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
16
|
+
readonly diff: Schema.String;
|
|
17
|
+
readonly diffHash: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
18
|
+
readonly truncated: Schema.Boolean;
|
|
19
|
+
}>;
|
|
20
|
+
export type ReviewDiffPreviewSource = typeof ReviewDiffPreviewSource.Type;
|
|
21
|
+
export declare const ReviewDiffPreviewResult: Schema.Struct<{
|
|
22
|
+
readonly cwd: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
23
|
+
readonly generatedAt: Schema.DateTimeUtc;
|
|
24
|
+
readonly sources: Schema.$Array<Schema.Struct<{
|
|
25
|
+
readonly id: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
26
|
+
readonly kind: Schema.Literals<readonly ["working-tree", "branch-range"]>;
|
|
27
|
+
readonly title: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
28
|
+
readonly baseRef: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
29
|
+
readonly headRef: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
30
|
+
readonly diff: Schema.String;
|
|
31
|
+
readonly diffHash: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
32
|
+
readonly truncated: Schema.Boolean;
|
|
33
|
+
}>>;
|
|
34
|
+
}>;
|
|
35
|
+
export type ReviewDiffPreviewResult = typeof ReviewDiffPreviewResult.Type;
|
|
36
|
+
export declare const ReviewDiffPreviewError: Schema.Union<readonly [Schema.Union<readonly [typeof import("./vcs.ts").VcsProcessSpawnError, typeof import("./vcs.ts").VcsProcessExitError, typeof import("./vcs.ts").VcsProcessTimeoutError, typeof import("./vcs.ts").VcsOutputDecodeError, typeof import("./vcs.ts").VcsRepositoryDetectionError, typeof import("./vcs.ts").VcsUnsupportedOperationError]>, typeof GitCommandError]>;
|
|
37
|
+
export type ReviewDiffPreviewError = typeof ReviewDiffPreviewError.Type;
|