Repository navigation
Releases
Releases · aartintelligent/fastsandbox
v0.3.0
0.3.0 (2026-11-30)
⚠ BREAKING CHANGES
- client:
exec(),attach()andagent_session()raiseTypeErrorwhen a fullExecSpec,AttachSpecorAgentSessionSpeccomes withuser,working_dir,env,ttyorsize, which they ignored before. Set them on the spec instead.
Added
- framework: warn when the allowances of a run restrict nothing (#76) (f5d738a), closes #66
- native: forward the logs of the crates to Python logging (#78) (24abcdf), closes #69
Fixed
- agents: keep the exit wait of a prompt apart from its timeout (#74) (6bbfc6e), closes #65
- client: delete the sandbox of a creation block by its identifier (#71) (3f3f881)
- client: refuse keyword arguments given along with a full spec (#77) (401480a), closes #68
- cli: report invalid inputs without a traceback, and the notes of an error (#73) (d88c0a9), closes #62
- framework: keep one bound per event loop with loops in several threads (#75) (4757f94), closes #67
- native: take the crates of docker-sandbox 0.5.2 (#79) (cf94be4)
- native: wait for the cleanups of the crates before the exit (#80) (a23f17f), closes #70
- policy: give HTTP rule changes the path /** by default (#72) (1756adb), closes #64
v0.2.0
0.2.0 (2026-11-29)
⚠ BREAKING CHANGES
- tasks:
allow_agent_hostsis removed: the kit of an agent declares its hosts.Networkno longer holds rule changes (changes,apply(sandbox)):allow_httpanddeny_httprequiremethods. A host that is no host pattern raisesInvalidSpecError, and a rule the daemon refusesLaunchError, in place ofInvalidRequestErrorandOperationFailedError. The keys of an agent are pushed as custom secrets, not service secrets. - kits: an
McpServernames itskind:McpServer(name=..., url=...)is no longer one; build it withMcpServer.host(),remote()orstdio(). - agents:
AGENTS,AgentProfile,Credentialandagent_profileare removed:Agentholds the profiles.AgentRunner(sandbox, agent, kit_agent)takes theAgent, and itsagentattribute is theAgentrather than theKitAgent, nowkit_agent;profileis gone.Task.agentis anAgent, whosenameis the name of its member (CLAUDE): its value is the name of the agent. - kits: kits are read as the CLI reads them. A base kit named without a slash that is not an agent
sbxknows raisesInvalidKitError(it was the imagedocker.io/sbx/<name>); a base kit given as a path raisesKitForgeErrorfor the forge, whether the directory exists or not; a mixin that names no directory, or names an image or a Git repository, raisesInvalidKitError.Kit.cache_keyis removed, and a cache names the directories of its packages itself. A forged package suits the daemon it was forged for only while fastsandbox binds the same version of the crates. - the modules of the package moved into their subpackage.
fastsandbox.mixinsisfastsandbox.kits, andfastsandbox.agents,applications,tasks,context,network,paramsanddependenciesare underfastsandbox.framework;fastsandbox.clientandfastsandbox.kitsare subpackages that re-export what their modules held. - KitCache no longer compiles with the sbx CLI unless given it, and keeps its packages in memory unless given a directory; KitPackage.dir and PackageImage.path are None for a package held in memory.
Added
- agents: give an agent task MCP servers, and each run their tokens (#32) (e90e155)
- blueprint: describe a sandbox as data, check it and launch it (#30) (b088795)
- blueprint: launch a spec on a package held in memory (#43) (3f8380d)
- client: read creation lines, check host patterns, stream exports, keep secrets as given (#48) (539cc3a)
- forge kits without the sbx CLI by default (#11) (5355a4f)
- give the agent MCP servers through a mixin (#13) (0b0df2e)
- kits: forge mixins over every kit of a compiled package (#44) (c735114)
- kits: MCP servers of three kinds, for claude, copilot and opencode (#29) (f772f70)
- kits: read kits as the CLI does, and assemble packages by hand (#47) (5e1d097)
- move to docker-sandbox 0.3.0 and report withheld credentials (#9) (388b0cc)
- testing: fake attached commands and agent sessions (#38) (2134a26)
- write kit mixins in Python (#12) (18df267)
Fixed
- client: keep the error of a block when the cleanup of its sandbox fails too (#52) (11aedf7)
- client: keep the value of a service credential given as a
SecretStr(d6b6c29) - client: warn of a daemon outside the supported API range when
version_policyiswarn(d6b6c29) - cli: print the supported API range with its maximum excluded, and input annotations as written (d6b6c29)
- give the path of an error as a string, as documented (#20) (58657ef)
- kits: keep the packages of a kit cache apart and compiled when asked (#19) (64e8408)
- kits: read the images of a package kept in a directory (#14) (9d06fee)
- native: wait for the results under way before the interpreter exits (08f4f88)
- tasks: bound the runs of an application per event loop (#37) (2743c6e)
- tasks: give an agent task its keys whatever its kit, and refuse mounts without a workspace (#36) (34f814b)
- tasks: report only the deadline of a task as its timeout, not a timeout raised inside it (d6b6c29)
- tasks: report the credentials the daemon withholds from the sandbox of a run (#18) (d6574c0)
Documentation
- align the pages with the host checks and withheld credentials of 0.2.0 (#16) (0c1b084)
- correct the pages, the docstrings and the API reference against the code, and test every snippet against the fake daemon (d6b6c29)
- examples: check MCP servers with the client of the official MCP Python SDK (#50) (64aae0a)
- examples: check the MCP server of agent-kit-forge with the client of the examples (#17) (3d37679)
- examples: give the agents their keys through the proxy, as the examples of docker-sandbox do (#33) (5aa37d6)
- examples: keep the examples in step with the crates and their rewritten twins (#45) (2aaf5b6)
- examples: show the forge, kit mixins in Python and withheld credentials (#15) (4c36913)
- examples: take the steps of the twins that the bindings now allow (#49) (8146e9a)
- examples: write each example as a tutorial, and cover the whole library ([18ff3f9](18ff3f97ab6807770981ab...