chore: version packages#139
Merged
Merged
Conversation
4480e27 to
eaa1710
Compare
eaa1710 to
78bb49b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@gemstack/ai-autopilot@0.3.0
Minor Changes
0823cfa: Runner:
DockerRunner— the first sandboxed adapter, running agent-authored code in a container.DockerRunnerboots each workspace as a container via thedockerCLI (no npm dependency), so untrusted, agent-authored code runs isolated from the host: its own filesystem, process space, and — withpreview— a published port mapped to an ephemeral host port. It satisfies the sameRunnercontract asLocalRunner(fs / exec / start / preview / dispose), so it drops in behind the seam unchanged:new DockerRunner({ image?, previewPort?, previewHost? }).Where
LocalRunnerruns commands unsandboxed on the host (trusted dev/CI),DockerRunneris the one to reach for when the code is untrusted. It requires a running Docker daemon and thedockerCLI onPATH; the defaultnode:20-alpinebase image carriesnode/npmand a POSIX shell.dockerAvailable()reports whether a daemon is reachable so callers (and the test suite) can skip cleanly when it isn't.WebContainer and Flue remain the still-parked sandboxed adapters (ai-autopilot: sandboxed runner adapters (Docker / WebContainer / Flue) #109).
7ce5bae: Runner seam: long-running processes + reachable previews (boot-and-serve).
RunnerSession.start(command)launches a long-running command (a dev server) in the background and returns aRunnerProcesshandle ({ command, exit, stop() }) — unlikeexec, which awaits the command to finish.preview({ waitMs })now waits for the port to accept connections before resolving, so the URL is live on return. Astart_serverrunner tool exposes this to agents.LocalRunnerimplements it for real:startspawns in its own process group sostop()(anddispose()) kill the whole tree;previewpolls the port.FakeRunnermirrors it for tests. This is the contract every sandboxed adapter (Docker / WebContainer / Flue) must satisfy, and it's what makes "produce a running app" reachable end to end.493cc11: Bootstrap:
serveCheck— a production-grade check that actually boots and serves the app.Until now the full-fledged loop gated on a prompt verdict (
loopChecklistasks the model whether the app is production-grade).serveCheck(session, { serve, install?, build?, port?, healthPath? })gives it teeth: inside the build's runner session it installs, optionally builds,starts the dev server,previews until the port is reachable, and fetches a health path — turning any failure (install error, server exits on boot, a 5xx, unreachable) into a concrete{ blockers }verdict the improve loop then addresses. It satisfies thecheckliststep contract, andmergeChecklists(...)unions several checks so a pass must BOTH read production-grade AND actually run:mergeChecklists(loopChecklist({ loop }), serveCheck(session, { serve: 'npm run dev' })). A runner that can'tstart/previewskips the check (passing, with a note) instead of blocking. Built on the Runner seam: long-running processes (start) + readiness-checked preview (boot-and-serve) #137 runner seam.@gemstack/example-autopilot-quickstart@0.0.2
Patch Changes
@gemstack/example-bootstrap-quickstart@0.0.2
Patch Changes