Repository navigation
bones v4.0.0
Releases are source, and bones-develop is how bones is installed and used (ADR-046, ADR-047). A major version because bones-cli is renamed bones-develop with no alias and releases no longer carry binary archives; bones:extension stays at 1.0.0.
Added (ABI)
- Caller-aware OS completions on
os/replycarry the host-stamped requester and request ID. Existingos/requestandos/resultbytes and the WIT interface version are unchanged.
Fixed
- An extension that misses its load deadline is reported as exactly that, with the fix: raise
extension_load_timeout_msinbones.tomlorKernel::extension_load_timeout. It used to read as a trap in whatever host callinitwas making, such assubscribe. - File-triggered reload calls the old extension's shutdown hook exactly once, through the same replacement path as commanded reload. Replacement init precedes old shutdown; state needed during init must be persisted during normal operation.
- OS work is bounded to 16 active requests without a waiting queue. Busy, worker-creation and backend-panic errors name the caller and remedy. Shutdown suppresses late replies without waiting for blocked native operations.
Added
Changed
bones-developinstalls the engine (ADR-047).cargo install --git https://github.com/an-dr/bones bones-developis the one install step:engine install/list/removebuilds engines from a tag into~/.bones;dev,screenshot, and MCP'slaunchrun the engine the project pins, building it on first use;new --tagwrites a project from that tag's templates and agent files, and--submodulevendors bones in it instead;upgrade <tag>moves a project, and its agent files, to another tag;addmakes an existing program an embedder;self-updatereinstalls the tool. CI checks the engine builds throughengine installon every platform.- A bones-develop manual and a standard release footer. docs/manual/bones-develop.md is the user manual; every GitHub Release ends with this release's install command and a link to the manual at its tag. The crate README is now for working on the tool.
bones-cliis nowbones-develop. The crate, the binary, and thecommandin a new project's.mcp.jsonare renamed; there is nobones-clialias. Editbones-clitobones-developin an existing project's.mcp.json.- Releases publish source, not binary archives (ADR-046). A GitHub Release carries the tag's changelog section and GitHub's source archives. Build the engine and
bones-cliat a tag withcargo xtask dist; CI still builds every platform and variant on every push and uploads nothing. Kernel::devtools_redacting(predicate)keeps matching envelopes' payloads out of the channeldevtools_from_envopens, andbones_kernel::devtools::LogHistoryis re-exported, so an application that redacts secrets no longer builds the channel by hand or depends onbones-module-devtoolsdirectly.bones_test::Stubanswers the direct sends an extension makes ininitwith a fixed reply and records them, so a test no longer writes a native module for each endpoint it does not compose.Kernel::required_extension(name)loads that extension at startup and failsbuildwhen it is not in the catalog or does not load, so an app whose window the extension drives reports the error instead of opening blank.
Get this release
Install the tools of this release, then follow the bones-develop manual:
cargo install --git https://github.com/an-dr/bones --tag v4.0.0 bones-develop
bones-develop new my-game # a project pinned to v4.0.0An existing project moves here with bones-develop upgrade v4.0.0. An embedder pins bones-kernel = { git = "https://github.com/an-dr/bones", tag = "v4.0.0" }.