pypi / bashkit
bashkit
What changed in bashkit 0.2 to 0.21, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-05.
63 breaking28 security1 deprecations68 new APIs and options9 performance34 behavior and defaults8 tooling121 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initbashkit 0.2118 changes
Breaking changes 7
Network path rules now refuse encoded slashes.
Caller-supplied Host headers are dropped before credential injection.
Applications enabling the python or typescript feature must install bashkit::MeteredAllocator as the global allocator; otherwise python3 or ts refuses to run.
The time limit now bounds wall-clock time across host calls.
Embedded runtime time limits now exit with status 124.
Setuid bits are dropped on real mounts.
The TypeScript runtime time limit now bounds wall-clock time across host calls.
Security 1
Embedded Python runs on the Monty 1.5 fork, with memory charged per run so one tenant cannot exhaust another tenant's budget or abort the shared process.
New APIs and options 1
Custom builtins in language bindings gain execution-scoped cancellation.
Performance 1
rg searches each file as it is read instead of holding every file's text.
Behavior and default changes 5
Recursion in eval, compgen, and path scripts is bounded, with stack growth on demand.
The TypeScript padStart and padEnd builtins are capped.
The approximately 95-call cap per session is removed.
In the Python package, timeout_seconds raises the embedded runtime time limit.
TypeScript runs now enforce max_memory using a per-run heap meter, preventing memory-heavy operations from aborting the shared process.
Fixes and other changes 3
json.dumps preflights indent and separators.
markkit and fetchkit now honor the exec deadline off the async worker.
Blocked Python imports are found by parsing rather than by checking line prefixes.
bashkit 0.2022 changes
Breaking changes 2
Replaces the static-analysis enum
analysis::CommandContext; update imports, enum references andAnalyzedCommand.contextannotations.The root
bashkit::CommandContextnow describes a live host-command invocation, rather than the static-analysis enum.
Security 3
The sandbox engine and embedded CPython artifact use Wasmtime 48.0.8, addressing three security advisories.
Windows native modules in release wheels receive Authenticode signatures and timestamps, verified before the final wheel is tested and published.
Node is supplied by the embedding application; use a patched supported runtime because compatibility with Node 18/20 does not imply security support.
New APIs and options 10
The Deep Agents backend adds base64 binary reads.
Deep Agents supports per-call timeouts that can only tighten the configured limit.
An opt-in builtin registers fetchkit with the same CLI as the standalone binary; files come from the VFS and HTTP hops use the sandbox HTTP client.
An opt-in builtin registers markkit with the same CLI as the standalone binary; files come from the VFS and HTTP hops use the sandbox HTTP client.
Execution output can be written to a capped VFS file; Python execute and execute_sync also accept output_file, and Deep Agents can offload large output natively.
The Deep Agents backend adds structured error codes for file operations.
The Python Deep Agents backend supports per-call timeouts that can only tighten the configured limit.
Python and TypeScript scripts can call application-provided functions across native and browser bindings.
Rust, Python, JavaScript, C and browser WASM consumers can stream command input and output while preserving shell routing and execution budgets.
Feature-enabled runtimes can be initialized before serving requests.
Performance 1
Tree-walking commands use a bounded bulk walk hook, trust read_dir metadata, and stay within memory and entry budgets to reduce round trips on remote backends.
Fixes and other changes 6
Abandoned async callback dispatch is drained before interpreter exit, preventing a timeout race that could abort CPython versions below 3.13.
cp -r source/. destination copies directory contents into an existing destination without adding a source-directory layer.
curl downloads and curl/wget stdout preserve bytes through redirections and pipelines, including compressed responses.
The host-callback timeout is sized for the slowest shipped lane.
The npm publish artifact includes this file and its declarations so importing the package succeeds.
Embedded CPython builds avoid unsupported over-aligned statics on Windows, keeping Python and the hosted integration catalog available.
bashkit 0.1932 changes
Breaking changes 5
ScriptedTool moved to its own Rust package; callers replace the bashkit scripted_tool feature and imports with this crate.
Python ScriptedTool imports move from bashkit to bashkit.scripted.
JavaScript ScriptedTool imports move from @everruns/bashkit to this subpath.
Rust callers install the registry with registry.install(builder) instead of builder.tool_registry(registry).
Allocation, recursion, input, and output accounting makes resource refusals explicit instead of silently truncating or allowing unbounded growth.
Security 2
Reduces browser transfer size and verifies package identity.
NAT64 and 6to4 addresses are classified by their embedded IPv4 address, and reserved ranges are blocked.
New APIs and options 10
Interactive shell support adds history, fc, completion, bind, and prompts.
Enables Python and TypeScript in BashTool.
The opt-in feature runs CPython 3.14 as python3 through WebAssembly, with VFS access and HTTP routed through Bashkit's egress boundary.
An opt-in cpython-native feature is available.
A default root filesystem including /etc, /proc, and /usr/bin is available.
Python requests and httpx modules can make HTTP requests through Bashkit's egress boundary.
The jq builtin adds halt and debug, several output and input modes, $__loc__, and ?//, with date and base64 fixes.
A GNU make subset is available in the sandbox shell.
An in-process interactive terminal provides screen text, scrollback, input, interrupts, and editor and pager commands.
A terminal tool for LLM agents is available, with support for multiple terminal sessions.
Behavior and default changes 5
The awk builtin was rewritten to match gawk 5.2 and can run gawk, mawk, and nawk scripts.
Background jobs run concurrently.
Pipeline stages run concurrently and stream data through pipelines with SIGPIPE behavior.
Additional everyday commands and GNU-oriented coreutils behavior improve compatibility for shell scripts.
The VFS can follow symlinks.
Fixes and other changes 10
Expands aliases per line and closes remaining Oils specification gaps.
Unifies indirect subscript consumption and preserves nested subscripts with a complete-reference boundary.
Reads a backquoted substitution after a quoted segment.
Interpreter and parser behavior was brought closer to bash across expansion, arrays, redirects, traps, shell options, and diagnostics.
Coprocesses run concurrently over in-process pipes.
Accepts HH:MM date-times and zone suffixes, and reads weekday names instead of returning the current time.
Truncates array targets at the first ] to stop operand recursion and preserves nested subscripts.
Ignores invalid stdin when stdin is unread under -n.
Releases mapfile budgets and surfaces refusals.
Falls back to a direct write when creation of a hidden temporary file is refused.
bashkit 0.1820 changes
Breaking changes 2
Untrusted workflow code no longer receives the checkout token.
With additionalProperties set to false, unrecognised flags now produce an error naming the valid flags instead of silently dropping the property.
Security 1
A host-environment hole in builtins is closed.
New APIs and options 5
Adds GNU-style case conversion escapes for uppercasing and lowercasing text.
Adds GNU-style getopt support, including -s, -z, -f, -l, and attached -i.bak.
Registers a raw-argv builtin alongside ToolDef tools, enabling positionals, short flags, --, and parse-time required-argument checking inside a ScriptedTool.
The C ABI now exposes host-directory mounts, bringing native embeddings to parity with other host bindings.
Bindings now support read-only filesystem mounts.
Behavior and default changes 2
The -i option now writes files atomically.
Clap output is stripped of ANSI codes.
Fixes and other changes 10
Verification now outlasts the registry cache, improving release pipeline reliability.
Adds the missing GNU sed commands: y, =, l, n, N, P, D, T, z, F, r, R, w, and W.
Implements GNU range-address semantics, bringing sed address behavior closer to GNU sed 4.9.
Preserves a missing final newline instead of adding one.
VFS paths now use forward slashes on every host, fixing Windows path handling.
The number lexer no longer swallows following + or - operators.
Execution deadlines are now enforced while a host call is parked.
RealFs now sets modification times with FILE_WRITE_ATTRIBUTES on Windows.
Runtime mount replay keys are canonicalized.
SQLite budgets now account for work performed inside a single engine step.
bashkit 0.1726 changes
Breaking changes 7
Reads through backend symlinks are refused.
Oversized scripts are rejected before UTF-8 validation.
Without tzdata, date no longer silently formats a named timezone as UTC; it reports that it cannot honour the zone and exits 1.
Non-ASCII domain names are rejected rather than normalized; allowlists relying on internationalized domain names must use their punycode form.
Referenced input schemas are now enforced.
Select the rustls crypto backend with the ring feature when enabling http_client; consumers using --no-default-features must now choose ring or aws-lc-rs.
YAML aliases are rejected before parsing.
Security 3
Validation work is bounded to prevent CPU amplification from untrusted input.
The host bridge no longer interpolates into a shell, preventing shell injection at the host boundary.
VFS paths are normalized before mapping to prevent host traversal.
New APIs and options 2
Timezone data is now controlled by the tzdata feature, which is on by default; no-default-features builds using named TZ zones must enable it.
Bashkit can run as a plain WebAssembly component exposing shell execution over WIT, without a JavaScript engine or WASI implementation.
Performance 2
Reuse pre-built clap Command definitions instead of rebuilding them per invocation.
Append memory use is bounded by streaming data into staging.
Behavior and default changes 4
Select aws-lc-rs as the rustls crypto backend when enabling http_client; consumers using --no-default-features must choose it or ring.
CLI host stdin reads are bounded by the execution timeout.
Pipeline stderr aggregation is bounded.
Archive buffer resource budgets are checked before allocation.
Tooling 2
Checks release workflows against CI for runtime-version, shared-test-suite gating, and Rust toolchain pin drift.
Static analysis now flags arithmetic command substitutions.
Fixes and other changes 6
Binary lines are consumed by byte offset.
Panics from CommandResolver are contained by the interpreter.
Host environment and mounts applied after construction now survive reset.
printf formatting is synchronized with uutils 0.10.
Redirection failures now use bash's strerror wording.
Filesystem limits are enforced before expanding v2 snapshot chunks.
bashkit 0.1624 changes
Breaking changes 6
Execution-scoped host access expires with the request; extension and callback consumers must use revocation-aware access methods.
Pipelines, redirects, command results, callbacks, custom builtins, and language bindings preserve NUL, invalid UTF-8, and high bytes without lossy text conversion.
Public Rust stream fields that previously used String now use StreamData; callers pass bytes through StreamData and convert to text explicitly at the application boundary.
ToolArgs context getters are revocation-aware because execution-scoped host access expires with the request.
The nonstandard yaml builtin is removed; enable the existing jq feature and invoke yq with jq-style filters.
YAML is converted through a JSON value model, so comments, styles, anchors, and source key order are not preserved; unsupported tags and non-string keys fail closed.
Security 4
Hosts that need session-lived raw VFS access must register through insert_trusted.
A command-wrapper list is published for permission gating.
Filesystem security invariants are certified.
Windows path containment is hardened.
New APIs and options 9
Browser bindings add analysis, cancellation, streaming, snapshots, and binary VFS APIs to reach native-binding parity.
Browser bindings accept asynchronous filesystem adapters for host-owned storage such as Durable Objects, IndexedDB, and OPFS.
CommandResolver provides last-chance name resolution.
curl supports ordered data options.
Typed execution profiles configure coherent limits across runtimes.
A host mount table is published for VFS-to-host path mapping.
Hosts can suspend a live shell for a process-local callback and resume it with byte-exact input and output.
Language bindings retain their text views and add raw-byte stdout/stderr fields.
A jq-backed builtin handles YAML and JSON files and streams, with selection, mapping, assignment, format conversion, and atomic in-place updates under shared resource limits.
Behavior and default changes 1
One request budget follows work across subsystem boundaries.
Fixes and other changes 4
Buffer growth is charged before allocation.
GNU-compatible bzip2 archives and standalone compression commands interoperate with system tools.
time reports elapsed time, status, and Bashkit-owned work counters without fabricating host CPU or memory data.
Timezone handling is sandboxed.
bashkit 0.1513 changes
Breaking changes 7
Compound assignment and prefix/postfix increment and decrement wrap with Bash-compatible integer semantics at 64-bit boundaries instead of panicking.
Writes the v2 content-addressed container. Existing snapshots still restore, but snapshots written by this release require Bashkit 0.14.5 or newer.
Invalid command substitution syntax now fails closed instead of inventing a command name for permission analysis.
Expand every path component instead of only the trailing one.
Defaults to
CheckoutPolicy::Supersetand rejects restore when the runtime lacks a recorded builtin, feature, or filesystem capability.Adds a typed snapshot error for runtime capability mismatches; exhaustive matches on
bashkit::Errormust handle it.Rejects reserved internal lexer/expansion sentinel bytes, unterminated quote segments, and malformed heredoc reinjection that inserts command-name characters.
New APIs and options 5
Adds a capability gate that can refuse to restore a session into an environment missing required builtins or features.
Adds a native C ABI with opaque handles, binary-safe VFS access, and explicit ownership.
Allows callers to select a checkout policy;
CheckoutPolicy::Forcecan be used when the host deliberately accepts a capability mismatch.Adds ancestry, diffs, reachability, and lazy fetch planning for content-addressed snapshots.
Adds a typed error for snapshots requiring a newer reader.
Behavior and default changes 1
Script arguments populate
$0and positional parameters, piped stdin reaches the script, and stdout/stderr stream before completion or resource-limit failure.
bashkit 0.1420 changes
Breaking changes 7
Async custom builtins are rejected before executeSync invocation.
Copy operations are blocked from using namespace nodes as destinations.
The WebAssembly runtime rejects timeout guarantees it cannot enforce because it is single-threaded.
Unrecognized shell invocation options now print a Bash-style diagnostic and exit non-zero instead of being silently ignored.
Unknown options to 26 builtins now produce GNU coreutils-style diagnostics and non-zero exit codes instead of being silently ignored.
The browser/WebAssembly npm package was renamed from @everruns/bashkit-web to @everruns/bashkit-wasm; it runs in JavaScript runtimes beyond browsers.
Directory limits now apply to add_dir.
Security 1
Rust, Node, and Python gain analyze() for static reports of script commands, arguments, redirect targets, and function definitions; opaque cases are marked with is_opaque.
Deprecations 1
The blocking constructor is deprecated; async embedders should use RealFs::open.
New APIs and options 3
Async embedders should use RealFs::open for filesystem access.
A slim, single-threaded WebAssembly package runs Bashkit in browsers without SharedArrayBuffer or COOP/COEP headers, with async custom builtins and live VFS access.
Mount independent filesystems under virtual path prefixes, with longest-prefix routing and rebasing.
Performance 1
RealFs path resolution and metadata operations use asynchronous host filesystem I/O, so they no longer block current-thread runtimes.
Behavior and default changes 2
Snapshots can now be read in the new content-addressed object graph format, allowing deployments to upgrade before a later release starts writing it.
The browser example stores its virtual filesystem in browser storage so files can persist across sessions.
Tooling 1
Python wheels use CPython's stable ABI: one cp39-abi3 wheel per platform supports Python 3.9 onward, reducing release artifacts and preventing partial PyPI publications.
Fixes and other changes 4
The browser example tolerates environments where storage access is blocked.
Core shell features now run inline on single-threaded browser wasm instead of assuming a multi-threaded tokio runtime, preventing hard panics and module poisoning.
Publication of the browser package is fixed after the v0.14.0 release build failed.
Glob backtracking now correctly restores bracket-match cache state.
bashkit 0.1313 changes
Breaking changes 3
Replace this builder method with BashBuilder::http_transport; there is no compatibility shim.
Replace this client method with HttpClient::set_transport; there is no compatibility shim.
HttpHandler is removed without a compatibility shim; implement HttpTransport instead.
Security 2
Inject a pluggable HTTP transport for sandbox HTTP egress while bashkit enforces policy before each dispatch.
Matching is linear-time instead of using pathological backtracking that allowed exponential blowup on adversarial patterns.
New APIs and options 3
List directories themselves instead of listing their contents.
Run command batches concurrently by setting the maximum number of processes.
Expose the process slot index to each child command.
Behavior and default changes 2
The LLM eval harness is reimplemented on the mira framework.
bashkit runs on wasm32-unknown-unknown by routing clock reads through web-time.
Fixes and other changes 3
The parser treats do and done as words inside a for/select in-list.
The user home directory is provisioned so that $HOME is writable.
ls long format renders actual UTC calendar dates.
bashkit 0.1218 changes
Breaking changes 5
Literal case patterns are no longer expanded.
CSV quote matches must be balanced.
Limit fields moved under common: RuntimeLimits; code reading fields such as max_memory must now access them through .common.
Expansion fails closed when quote markers collide and preserves quoted operands in collision cases.
Limit fields moved under common: RuntimeLimits; code reading fields such as max_memory must now access them through .common.
Security 1
Dependency security advisories were patched.
New APIs and options 2
LLM-tool callers can access the complete BashBuilder surface when wiring up a tool.
A request struct provides an extensible way to configure a run through the new exec_with_options entry point.
Behavior and default changes 1
The BashTool wrapper is gated behind the default bash_tool feature.
Fixes and other changes 9
Restored snapshots now validate the directory stack.
String handling now preserves the double-dash delimiter.
The ERR trap is suppressed in conditions.
The getopts cursor resets across shell boundaries.
Expanded backslashes are preserved in glob directories.
Trailing IFS whitespace is trimmed when assigning the final variable, and mixed-word IFS boundaries are preserved.
Restored snapshots now validate the last background process ID.
Implicit REPLY assignment now preserves whitespace.
The delimiter scan skips option values.
bashkit 0.117 changes
New APIs and options 2
Node and Python callers can set the starting working directory at Bash construction time instead of using a leading cd prelude on every run.
Node and Python callers can set the initial environment at Bash construction time instead of using an export prelude on every run.
Fixes and other changes 5
The parser now escapes ANSI-C NUL sentinel collisions.
Multi-subscript arrays are capped.
compgen lists builtins from the live registry rather than hardcoded copies.
The paste command now handles a trailing -d flag.
Recursive delete now preserves child whiteouts.
bashkit 0.104 changes
Breaking changes 1
Security and resource-safety hardening adds caps and budget enforcement across the interpreter, parser, builtins, VFS, streaming callbacks, and snapshot/restore.
New APIs and options 1
Python custom_builtins callbacks can use ctx.fs to read and write the VFS through a live, sandbox-respecting filesystem handle.
Fixes and other changes 2
grep -P uses real PCRE via fancy-regex.
JS bindings close parity gaps with the Python API, including filesystem access, network access, and shellState for custom builtins.
bashkit 0.927 changes
Breaking changes 1
Chained range patterns in awk are rejected.
Security 2
BashTool snapshots are authenticated.
Parsed array flag inputs are bounded.
New APIs and options 1
A reduced-feature Python wheel is now available for wasm32-unknown-emscripten, enabling the embedded Python builtin in browser and wasm hosts.
Performance 1
rg summary scans stream results instead of eagerly allocating lines.
Fixes and other changes 22
Environment updates are gated by allexport.
Arithmetic variable expansion is bounded.
Brace step overflow is prevented.
Parser limits are enforced for coproc.
Deferred process substitutions are scoped.
Traces are isolated between scripted-tool extension invocations.
Function source bytes are included in snapshot accounting.
Heredoc reinjection consumes parser fuel.
IFS nameref recursion is avoided.
JavaScript exposes keyed snapshot APIs.
Legacy nameref targets are preserved.
Budgets are enforced for local compound arrays.
Nested process substitutions debit their budgets.
The output callback is cleared when execution is cancelled.
Per-element replacement growth is capped.
Replacement expansion in rg is capped.
Resource use by rg ignore rules is bounded.
Snapshot counters are preserved on resume.
The sqlite engine cache is invalidated when a snapshot is restored.
Memory growth from sqlite results is capped.
Transient stdin is cleared after timeouts.
Word-split array assignments are capped.
bashkit 0.85 changes
Fixes and other changes 5
VFS-backed open() and Path.open() now support read, write, and append in the embedded Python builtin, so scripts using with open("/tmp/...") run. Host filesystem and network access remain unavailable to Python.
Negative persistent file descriptors are now rejected.
The default type globs for r and tf are aligned with ripgrep.
JSON context event fanout is capped.
Variable attributes and namerefs now persist across shell state restore.
bashkit 0.733 changes
Breaking changes 1
Commands run with bash -c are isolated from parent shell state.
Security 4
Persistent file descriptors are capped.
Parsing is bounded and invalid specification text is sanitized in output.
Hyperlink URL interpolation is hardened.
readonly_filesystem now reliably blocks writes to runtime live mounts.
New APIs and options 2
Embedders can use a host-owned mutable registry to add or remove builtins throughout an interpreter's lifetime, without rebuilding the interpreter and losing its in-memory VFS.
The rg builtin gains broad ripgrep compatibility, including PCRE2 and multiline search, encoding, expanded glob and file-type support, ignore-file precedence, preprocessing controls, color and hyperlink output, sorting, stats, size limits, gzip search, and symlink following; output-mode and binary-search behavior are…
Performance 3
Glob toggle recompilation avoids quadratic behavior.
Match vectors are no longer allocated eagerly.
Copy-on-write subshell snapshots improve performance.
Fixes and other changes 23
Array elements are now resolved in arithmetic parameter expansion.
Tool hooks are enforced for host-builtins invoked through command.
Color match amplification is bounded for dense patterns.
Indexed prefiltering is skipped for CRLF searches.
Value arguments no longer trigger false generate-option detection.
Negation clears explicit line-number state.
The maximum count is applied after multiline inversion.
The option is honored between files.
Parent dot-ignore rules remain active.
Indexed prefiltering is skipped for non-literal queries when Unicode is disabled.
Ignore classes for -u now align with --no-ignore.
Unrestricted flags are counted independently.
Ignore rule parsing and traversal memory are bounded.
Brace alternation recursion depth is capped.
Type filters are resolved after type database mutations.
Explicit path sets now receive global sorting.
Explicit file paths now have parity with expected behavior.
Output mode precedence is corrected.
Collected diagnostics are preserved on quiet match paths.
Commands run with sh -c are isolated from parent shell state.
Reversal preserves an unterminated final line.
A guardrail prevents deadlocks when executeSync is used with a custom builtin.
Date formatting is forced to UTC under virtual clock modes.
bashkit 0.621 changes
Breaking changes 8
The CLI MCP server subcommand and bundled transport have been removed; MCP integrations should embed bashkit through library bindings.
With -f, ln now surfaces remove failures instead of falling through to creating a symlink.
SSRF prechecks now fail closed, and IPv4-mapped IPv6 addresses are normalized when checking for private IPs.
Filesystem stat, read_link, and remove use a no-follow resolver; writes to leaf symlinks are rejected.
SQLite rejects VACUUM and VACUUM INTO, enforces row caps while stepping, and invalidates cached engines when VFS files change.
SFTP ls paths are shell-escaped, and SSH tries none-auth before password or key authentication.
Tool definitions reject bare array flags without values and bound aggregate JSON flag coercion.
Snapshot restore now fails closed and applies changes atomically.
Security 1
jq replaces halt to prevent sandbox escape via process::exit, and limits fancy-regex execution and file-binding memory.
Behavior and default changes 3
The env builtin now ports the uutils env-default surface through a virtual-env shim.
printf now runs on a vendored copy of uucore's format implementation; float exponent magnitude is capped during format validation.
The stat builtin now flows through code generation; its filesystem handling also uses a no-follow resolver.
Tooling 4
The mktemp builtin now flows through code generation as part of the coreutils adoption experiment.
The od builtin now flows through code generation as part of the coreutils adoption experiment.
The realpath builtin now flows through code generation as part of the coreutils adoption experiment.
The tee builtin now flows through code generation as part of the coreutils adoption experiment.
Fixes and other changes 5
The rustls provider is installed for library providers, and initialization is idempotent.
Successful exports are synchronized even when readonly arguments fail, and invalid identifiers no longer leave stale environment synchronization.
Extension invocation traces are isolated and bounded.
shuf caps range and repeat-output allocations.
truncate enforces VFS limits before resizing.
bashkit 0.57 changes
New APIs and options 3
Object and array flags now accept the --flag key=value... syntax.
shuf was added via codegen with helper-function inlining.
truncate was added via a codegen-ported argument surface.
Behavior and default changes 2
cat now uses a codegen-ported uutils argument surface, giving it the real coreutils argument shape.
tac now uses a codegen-ported uutils argument surface, giving it the real coreutils argument shape.
Tooling 1
readlink migrated to the codegen-ported argument surface.
Fixes and other changes 1
Stringified JSON is now coerced for array and object flag schemas.
bashkit 0.48 changes
Security 1
Parsing now handles SQL comments and quoted, bracketed, and backtick identifiers, closing a PRAGMA main."cache_size" bypass.
New APIs and options 3
Custom builtins can be defined declaratively against a clap parser instead of using hand-rolled argument parsing.
A public trait groups related builtins for one-call registration on BashBuilder and BashToolBuilder.
ScriptedTool reuses a shared extension for its per-call logic shell.
Behavior and default changes 2
The builtin keeps a session-scoped engine alive across exec() calls, allowing transactions and prepared state to survive multiple shell invocations in one session.
TypeScript registration now flows through TypeScriptExtension.
Fixes and other changes 2
The crate packaging was fixed so the clap-builtins guide is included, addressing the crates.io publish failure.
The database size limit is enforced consistently across VFS writes, truncates, and memory-backend persistence.
bashkit 0.312 changes
Breaking changes 1
The SQLite builtin blocks ATTACH and DETACH and adds a deny list for dangerous PRAGMA statements.
Security 2
Orchestrator scripts can run in a restricted mode that disables shell features unrelated to control flow, narrowing the attack surface for LLM-authored scripts.
Runtime errors become short and jq-style, with a cross-tool guard against Debug output leaking.
New APIs and options 6
Adds the credential_placeholders= keyword argument to Bash(network=...) for Python network policy.
Adds the credentials= keyword argument to Bash(network=...) for Python network policy.
Adds the jq-style @csv definition.
Adds an embedded SQLite builtin via Turso, with MemoryIO and VfsIO backends and the .tables, .schema, and .dump dot-commands.
The SQLite builtin is exposed to Python and JavaScript bindings.
Adds the jq-style @tsv definition.
Behavior and default changes 3
curl uses a curl user agent by default.
Expands filter parity with real jq and uses fancy-regex for advanced patterns, including lookaround and backreferences.
Python execution is enabled by default in the CLI.
bashkit 0.22 changes
Behavior and default changes 1
rustls switches to the pure-Rust ring crypto provider, replacing the aws-lc-rs/aws-lc-sys C crypto stack and unblocking the aarch64 manylinux wheel build.
Fixes and other changes 1
Mount paths are validated with Path::has_root instead of Path::is_absolute, allowing POSIX-style mount points like /workspace on every host.