/** * `@indigoai-us/hq-cloud/outposts` — the portable Outpost control-plane client. * * This entry point is deliberately free of Node built-ins, CLI dependencies, and * module-level side effects, so it can be imported straight into a Next.js server * action, a route handler, or an edge function. It is also why the subpath exists * at all: the package root (`@indigoai-us/hq-cloud`) pulls in the AWS SDK, * `chokidar`, and `pino`, none of which belong in a web app's module graph. * * Server-side only. Every call carries a bearer token, so none of this may run in * a client component. * * ```ts * // app/lib/outposts.ts * import { OutpostsClient, createOutpostTransport } from "@indigoai-us/hq-cloud/outposts"; * * export const outposts = new OutpostsClient({ * transport: createOutpostTransport(), * token: async () => (await auth())!.idToken, * }); * ``` * * Node-only helpers (SSH exec, the self-hosting installer, the box-side * heartbeat) live at `@indigoai-us/hq-cloud/outposts/node`. The `hq outposts` * command tree lives at `@indigoai-us/hq-cloud/outposts/cli`. */ export { OutpostsClient, EXEC_MAX_TIMEOUT_SECONDS } from "./client.js"; export type { OutpostsClientOptions, OutpostTokenSource, WaitForExecOptions, } from "./client.js"; export { createOutpostTransport, defaultOutpostApiUrl, } from "./transport.js"; export type { FetchLike, OutpostRequest, OutpostTransport, } from "./transport.js"; export { OutpostHttpError, parseCappedPayload, parseBillingPayload, isBillingSetupAction, } from "./errors.js"; export { joinCommandParts, withRemoteHqDir, REMOTE_HQ_DIR_PREFIX, } from "./remote-command.js"; export { AGENT_PRICE_CENTS, OUTPOST_PRICE_CENTS, formatUsd, mintPaymentLink, } from "./billing.js"; export type { PaidResource } from "./billing.js"; export type { BillingErrorPayload, BillingSetupAction, OutpostAgentRuntime, OutpostCappedPayload, OutpostExecAsyncResult, OutpostExecResult, OutpostExecStage, OutpostExecSubmission, OutpostSshAccess, OutpostSummary, OutpostTerminalMode, OutpostTerminalSession, OutpostTerminalStarting, ProvisionOutpostInput, } from "./types.js"; //# sourceMappingURL=index.d.ts.map