diff --git a/.changeset/autopilot-docker-export.md b/.changeset/autopilot-docker-export.md new file mode 100644 index 0000000..5e6ecca --- /dev/null +++ b/.changeset/autopilot-docker-export.md @@ -0,0 +1,7 @@ +--- +'@gemstack/ai-autopilot': patch +--- + +Export `DockerRunner`, `DockerRunnerSession`, `dockerAvailable`, and `DockerRunnerOptions` from the package entry. + +The runner barrel exported these symbols, but the main entry point omitted them, so the shipped `DockerRunner` adapter could not actually be imported from `@gemstack/ai-autopilot`. They are now reachable alongside `FakeRunner`/`LocalRunner`. diff --git a/packages/ai-autopilot/src/index.ts b/packages/ai-autopilot/src/index.ts index 04aa63b..eda5e9b 100644 --- a/packages/ai-autopilot/src/index.ts +++ b/packages/ai-autopilot/src/index.ts @@ -27,6 +27,7 @@ * * - {@link FakeRunner} — in-memory runner for tests * - {@link LocalRunner} — real host workspace (fs + child processes); the first real adapter + * - {@link DockerRunner} — sandboxed workspace in a container (via the `docker` CLI) * - {@link runnerTools} — expose a booted session to an agent as sandbox tools * * Surfaces run the same autopilot in the terminal, an in-page UI, or a @@ -118,6 +119,9 @@ export { FakeRunnerSession, LocalRunner, LocalRunnerSession, + DockerRunner, + DockerRunnerSession, + dockerAvailable, RunnerError, runnerTools, type Runner, @@ -135,6 +139,7 @@ export { type RecordedExec, type RecordedStart, type LocalRunnerOptions, + type DockerRunnerOptions, type RunnerToolsOptions, } from './runner/index.js' export {