From 0d5852c516faa0bec16a8a64fce8ed145f12490c Mon Sep 17 00:00:00 2001 From: Suleiman Shahbari Date: Fri, 3 Jul 2026 00:47:13 +0300 Subject: [PATCH 1/2] fix(ai-autopilot): export DockerRunner from package entry The runner barrel exported DockerRunner, DockerRunnerSession, dockerAvailable, and DockerRunnerOptions, but the main entry point omitted them, so the shipped adapter could not be imported from @gemstack/ai-autopilot. Add them alongside FakeRunner/LocalRunner. Closes #150 --- .changeset/autopilot-docker-export.md | 7 +++++++ packages/ai-autopilot/src/index.ts | 4 ++++ 2 files changed, 11 insertions(+) create mode 100644 .changeset/autopilot-docker-export.md 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..0ebdcca 100644 --- a/packages/ai-autopilot/src/index.ts +++ b/packages/ai-autopilot/src/index.ts @@ -118,6 +118,9 @@ export { FakeRunnerSession, LocalRunner, LocalRunnerSession, + DockerRunner, + DockerRunnerSession, + dockerAvailable, RunnerError, runnerTools, type Runner, @@ -135,6 +138,7 @@ export { type RecordedExec, type RecordedStart, type LocalRunnerOptions, + type DockerRunnerOptions, type RunnerToolsOptions, } from './runner/index.js' export { From d1586fe862a1eb7c981419bb2c264e2263f09766 Mon Sep 17 00:00:00 2001 From: Suleiman Shahbari Date: Fri, 3 Jul 2026 00:48:32 +0300 Subject: [PATCH 2/2] docs(ai-autopilot): list DockerRunner in the runner module doc --- packages/ai-autopilot/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ai-autopilot/src/index.ts b/packages/ai-autopilot/src/index.ts index 0ebdcca..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