t3code-cli 0.12.0 → 0.13.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/application.js +1 -1
- package/dist/auth.js +1 -1
- package/dist/bin.js +48 -31
- package/dist/cli.js +1 -1
- package/dist/config.js +1 -1
- package/dist/connection.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node.js +1 -1
- package/dist/rolldown-runtime.js +1 -1
- package/dist/rpc.js +1 -1
- package/dist/shared.js +11971 -1517
- package/dist/src/application/actions.d.ts +1 -1
- package/dist/src/application/layer.d.ts +42 -42
- package/dist/src/application/project-commands.d.ts +3 -3
- package/dist/src/application/projects.d.ts +1 -1
- package/dist/src/application/shell-sequence.d.ts +23 -28
- package/dist/src/application/terminals.d.ts +6 -6
- package/dist/src/application/thread-commands.d.ts +18 -18
- package/dist/src/application/thread-update.d.ts +1 -1
- package/dist/src/application/thread-wait.d.ts +19 -24
- package/dist/src/application/threads.d.ts +124 -149
- package/dist/src/auth/error.d.ts +1 -2
- package/dist/src/auth/layer.d.ts +2 -2
- package/dist/src/auth/local-origin.d.ts +2 -2
- package/dist/src/auth/local-token.d.ts +2 -2
- package/dist/src/auth/remote-error.d.ts +3 -0
- package/dist/src/config/config.d.ts +2 -2
- package/dist/src/config/credential/service.d.ts +2 -2
- package/dist/src/config/keystore/file.d.ts +1 -1
- package/dist/src/config/persist/migration.d.ts +3 -3
- package/dist/src/config/persist/persist.d.ts +4 -4
- package/dist/src/connection/error.d.ts +3 -1
- package/dist/src/connection/prepared.d.ts +14 -0
- package/dist/src/domain/helpers.d.ts +46 -51
- package/dist/src/domain/model-config.d.ts +91 -86
- package/dist/src/domain/thread-lifecycle.d.ts +23 -28
- package/dist/src/orchestration/layer.d.ts +308 -523
- package/dist/src/rpc/error.d.ts +4 -6
- package/dist/src/rpc/index.d.ts +3 -2
- package/dist/src/rpc/layer.d.ts +1890 -2299
- package/dist/src/rpc/operation.d.ts +4 -6260
- package/dist/src/rpc/service.d.ts +1 -1
- package/dist/src/rpc/session.d.ts +22 -0
- package/dist/src/rpc/ws-group.d.ts +439 -1180
- package/dist/src/runtime/layer.d.ts +10 -10
- package/dist/src/sql/node-sqlite-client.d.ts +1 -1
- package/dist/t3tools.js +2 -2
- package/package.json +8 -7
- package/src/application/thread-wait.ts +4 -0
- package/src/auth/error.ts +2 -8
- package/src/auth/remote-error.ts +17 -0
- package/src/auth/transport.ts +45 -114
- package/src/connection/error.ts +4 -1
- package/src/connection/layer.ts +5 -2
- package/src/connection/prepared.ts +83 -0
- package/src/orchestration/layer.ts +2 -1
- package/src/rpc/error.ts +9 -16
- package/src/rpc/index.ts +3 -2
- package/src/rpc/layer.ts +17 -51
- package/src/rpc/operation.ts +16 -2
- package/src/rpc/service.ts +2 -1
- package/src/rpc/session.ts +168 -0
- package/src/rpc/ws-group.ts +12 -26
- package/src/runtime/layer.ts +6 -3
package/dist/src/rpc/error.d.ts
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
|
+
import { ConnectionBlockedError, ConnectionTransientError } from "@t3tools/client-runtime/connection";
|
|
2
|
+
import { EnvironmentAuthorizationError, KeybindingsConfigError, OrchestrationDispatchCommandError, OrchestrationGetSnapshotError, ServerSettingsError } from "@t3tools/contracts";
|
|
1
3
|
import * as Schema from "effect/Schema";
|
|
2
|
-
import { EnvironmentAuthorizationError, KeybindingsConfigError, OrchestrationDispatchCommandError, OrchestrationGetSnapshotError, ServerSettingsError, TerminalCwdError, TerminalHistoryError, TerminalNotRunningError, TerminalSessionLookupError } from "@t3tools/contracts";
|
|
3
|
-
import { HttpClientError } from "effect/unstable/http";
|
|
4
4
|
import { RpcClientError } from "effect/unstable/rpc";
|
|
5
|
-
import { AuthTransportError } from "../auth/error.ts";
|
|
6
5
|
import { T3CodeConnectionError } from "../connection/error.ts";
|
|
7
|
-
import
|
|
8
|
-
declare const RpcErrorCauseSchema: Schema.Union<readonly [typeof RpcClientError.RpcClientError, typeof EnvironmentAuthorizationError, typeof KeybindingsConfigError, typeof OrchestrationDispatchCommandError, typeof OrchestrationGetSnapshotError, typeof ServerSettingsError, typeof TerminalCwdError, typeof TerminalHistoryError, typeof TerminalNotRunningError, typeof TerminalSessionLookupError, typeof AuthTransportError, typeof T3CodeConnectionError, typeof HttpClientError.HttpClientErrorSchema, typeof UrlError, Schema.instanceOf<Schema.SchemaError, unknown>]>;
|
|
6
|
+
declare const RpcErrorCauseSchema: Schema.Union<readonly [typeof RpcClientError.RpcClientError, typeof EnvironmentAuthorizationError, typeof KeybindingsConfigError, typeof OrchestrationDispatchCommandError, typeof OrchestrationGetSnapshotError, typeof ServerSettingsError, Schema.Union<readonly [Schema.Union<readonly [typeof import("@t3tools/contracts").TerminalCwdNotFoundError, typeof import("@t3tools/contracts").TerminalCwdNotDirectoryError, typeof import("@t3tools/contracts").TerminalCwdStatError]>, typeof import("@t3tools/contracts").TerminalHistoryError, typeof import("@t3tools/contracts").TerminalSessionLookupError, typeof import("@t3tools/contracts").TerminalNotRunningError, typeof import("@t3tools/contracts").TerminalWriteError, typeof import("@t3tools/contracts").TerminalResizeError]>, typeof ConnectionBlockedError, typeof ConnectionTransientError, typeof T3CodeConnectionError]>;
|
|
9
7
|
export type RpcKnownCause = Schema.Schema.Type<typeof RpcErrorCauseSchema>;
|
|
10
8
|
declare const RpcError_base: Schema.Class<RpcError, Schema.TaggedStruct<"RpcError", {
|
|
11
9
|
readonly message: Schema.String;
|
|
12
10
|
readonly method: Schema.optionalKey<Schema.String>;
|
|
13
|
-
readonly cause: Schema.optionalKey<Schema.Union<readonly [typeof RpcClientError.RpcClientError, typeof EnvironmentAuthorizationError, typeof KeybindingsConfigError, typeof OrchestrationDispatchCommandError, typeof OrchestrationGetSnapshotError, typeof ServerSettingsError, typeof
|
|
11
|
+
readonly cause: Schema.optionalKey<Schema.Union<readonly [typeof RpcClientError.RpcClientError, typeof EnvironmentAuthorizationError, typeof KeybindingsConfigError, typeof OrchestrationDispatchCommandError, typeof OrchestrationGetSnapshotError, typeof ServerSettingsError, Schema.Union<readonly [Schema.Union<readonly [typeof import("@t3tools/contracts").TerminalCwdNotFoundError, typeof import("@t3tools/contracts").TerminalCwdNotDirectoryError, typeof import("@t3tools/contracts").TerminalCwdStatError]>, typeof import("@t3tools/contracts").TerminalHistoryError, typeof import("@t3tools/contracts").TerminalSessionLookupError, typeof import("@t3tools/contracts").TerminalNotRunningError, typeof import("@t3tools/contracts").TerminalWriteError, typeof import("@t3tools/contracts").TerminalResizeError]>, typeof ConnectionBlockedError, typeof ConnectionTransientError, typeof T3CodeConnectionError]>>;
|
|
14
12
|
}>, import("effect/Cause").YieldableError>;
|
|
15
13
|
export declare class RpcError extends RpcError_base {
|
|
16
14
|
}
|
package/dist/src/rpc/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { RpcError } from "./error.ts";
|
|
1
|
+
export { RpcError, type OrchestrationError } from "./error.ts";
|
|
2
2
|
export { makeT3RpcLayer, T3RpcLive } from "./layer.ts";
|
|
3
3
|
export { T3RpcOperations, T3RpcOperationsLive, makeT3RpcOperations } from "./operation.ts";
|
|
4
|
+
export type { T3RpcOperationsService } from "./operation.ts";
|
|
4
5
|
export { T3Rpc } from "./service.ts";
|
|
5
|
-
export type { WsClient } from "./service.ts";
|
|
6
|
+
export type { T3RpcService, WsClient } from "./service.ts";
|