Changelog
All notable changes to SharedOS are recorded here. The packages share one
version and are published together under npm's next dist-tag.
SharedOS is a 0.x prerelease: contracts may change between prereleases, and
each entry calls out what a host has to update.
Unreleased
Added
- A quickstart with two working programs, an HTTP API reference covering every
route and status code, a tool catalog covering the twelve
filestools and how to register your own, and a reason/error code reference. None of this was documented outside the source before. pnpm release:promote-latest <version>moves thelatestdist-tag across the whole package set in one command, refusing to act unless every package has published that version.
Fixed
- The client example in the host integration guide passed a
tokenoption thatSharedOSClientOptionshas never had. It isheaders, which accepts a value or an async function. - Publish verification retried the same registry URL with default caching, so a
CDN edge holding a pre-publish
404made the whole window unwinnable and a successful release reported failure. It now backs off up to five minutes and requests an uncached response each time.
0.1.0-alpha.2
Added
deriveGrantandGrantChainResolverin@aicoo/sharedos-core: a grant holder can pass on a strictly narrower slice of what it holds without the resource owner writing the row. Every axis — path, actions, scope, purpose, time window, and chain length — is checked separately, and a request that is not within the parent is refused rather than clamped. The chain is bound at use time, so a later revocation or expiry upstream still invalidates everything derived from it. (#8)examples/fleet-delegation, a runnable delegation walkthrough in workcell vocabulary. (#8)examples/reference-host, a working host: a filesystemfilesprovider covering all twelve actions with path-escape defences, durable SQLite stores for bounded uses, revocation, namespace settings and audit, and anAgentTurnDriverover a live model.
Changed
@aicoo/sharedos-contractsowns the context capsule that crosses an agent boundary. (#9)
Host notes
CapabilityAuthorizeracceptschainResolver. A host that issues derived grants must supply one; without it, derived grants are denied withdelegation_chain_unavailable.- A bounded (
maxUses) grant cannot be delegated. Sharing one use budget across a chain needs usage accounting that spans grants, soderiveGrantrefuses withbounded_parent_not_delegableinstead of multiplying the budget by the number of delegates.
0.1.0-alpha.1
Added
- Pluggable runtimes inside a fixed security envelope:
RuntimePlugin,RuntimeRegistry,SharedOSExecutor, andStandardRuntime(ADR 0007). - The
@aicoo/sharedos-httptransport adapter and the@aicoo/sharedos-clienttyped client over the same contracts.
0.1.0-alpha.0
First public prerelease of the eight @aicoo/sharedos-* packages under
Apache-2.0.