feat: complete public entry point exports

This commit is contained in:
Tasnim Kabir Sadik
2026-05-16 16:11:05 +06:00
parent 573506b4c5
commit 1f74d48576
2 changed files with 65 additions and 62 deletions

2
.gitignore vendored
View File

@ -137,6 +137,6 @@ dist
.pnp.* .pnp.*
# AI agents # AI agents
.opencode .opencode*
# Added by code-review-graph # Added by code-review-graph
.code-review-graph/ .code-review-graph/

View File

@ -1,87 +1,90 @@
export type { HttpClientConfig, RequestOptions } from "./_shared/http.js";
export { HttpClient } from "./_shared/http.js";
export type { WsConnectionOpts } from "./_shared/websocket.js";
export { WsConnection } from "./_shared/websocket.js";
export type { export type {
CapsuleCreateOptions, CapsuleCreateOptions,
CapsuleInfo, CapsuleInfo,
CapsuleMetrics, CapsuleMetrics,
CapsuleMetricsOptions, CapsuleMetricsOptions,
CapsuleResumeOptions, CapsuleResumeOptions,
WaitForReadyOptions, WaitForReadyOptions,
} from "./capsule.js"; } from "./capsule.js";
export { Capsule, Sandbox } from "./capsule.js"; export { Capsule, Sandbox } from "./capsule.js";
export type { export type {
FileUploadInput, FileUploadInput,
OperationJsonBody, OperationJsonBody,
OperationJsonResponse, OperationJsonResponse,
OperationQueryParams, OperationQueryParams,
OperationRequestOptions, OperationRequestOptions,
} from "./client.js"; } from "./client.js";
export { export {
AccountResource, AccountResource,
APIKeysResource, APIKeysResource,
AuthResource, AuthResource,
CapsulesResource, CapsulesResource,
ChannelsResource, ChannelsResource,
FilesResource, FilesResource,
HostsResource, HostsResource,
SnapshotsResource, SnapshotsResource,
TeamsResource, TeamsResource,
UsersResource, UsersResource,
WrennClient, WrennClient,
} from "./client.js"; } from "./client.js";
export type { export type {
ExecCellOptions, ExecCellOptions,
ExecCellResult, ExecCellResult,
} from "./code-interpreter/index.js"; } from "./code-interpreter/index.js";
export { CodeInterpreter, Notebook } from "./code-interpreter/index.js"; export { CodeInterpreter, Notebook } from "./code-interpreter/index.js";
export type { export type {
BackgroundCommandOptions, BackgroundCommandOptions,
BackgroundProcess, BackgroundProcess,
CommandOptions, CommandOptions,
CommandResult, CommandResult,
CommandStreamEvent, CommandStreamEvent,
CommandStreamOptions, CommandStreamOptions,
ProcessList, ProcessList,
} from "./commands.js"; } from "./commands.js";
export { CommandManager } from "./commands.js"; export { CommandManager } from "./commands.js";
export type { ClientConfig, ResolvedClientConfig } from "./config.js"; export type { ClientConfig, ResolvedClientConfig } from "./config.js";
export { export {
DEFAULT_BASE_URL, DEFAULT_BASE_URL,
ENV_API_KEY, ENV_API_KEY,
ENV_BASE_URL, ENV_BASE_URL,
ENV_HOST_TOKEN, ENV_HOST_TOKEN,
ENV_TOKEN, ENV_TOKEN,
resolveConfig, resolveConfig,
} from "./config.js"; } from "./config.js";
export { export {
AuthenticationError, AuthenticationError,
BadRequestError, BadRequestError,
ConflictError, ConflictError,
ForbiddenError, ForbiddenError,
HostHasCapsulesError, HostHasCapsulesError,
NotFoundError, NotFoundError,
PayloadTooLargeError, PayloadTooLargeError,
ServerError, ServerError,
TimeoutError, TimeoutError,
throwErrorFromResponse, throwErrorFromResponse,
WrennError, WrennError,
} from "./exceptions.js"; } from "./exceptions.js";
export type { export type {
FileContent, FileContent,
FileList, FileList,
ListFilesOptions, ListFilesOptions,
MakeDirectoryResult, MakeDirectoryResult,
} from "./files.js"; } from "./files.js";
export { FileManager } from "./files.js"; export { FileManager } from "./files.js";
export type { export type {
GitCheckoutOptions, GitCheckoutOptions,
GitCloneOptions, GitCloneOptions,
GitLogOptions, GitLogOptions,
GitOptions, GitOptions,
GitRemoteBranchOptions, GitRemoteBranchOptions,
} from "./git/index.js"; } from "./git/index.js";
export { Git } from "./git/index.js"; export { Git } from "./git/index.js";
export type {
$defs,
components,
operations,
paths,
webhooks,
} from "./models/generated.js";
export type { PtyEvent, PtyStartOptions } from "./pty.js"; export type { PtyEvent, PtyStartOptions } from "./pty.js";
export { PtyManager, PtySession } from "./pty.js"; export { PtyManager, PtySession } from "./pty.js";