Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 07 Jul 19:34
Immutable release. Only release title and notes can be modified.
1b2938b

v0.2.0: Batteries-included standalone binary

This release makes the cospec standalone binary truly self-contained: it now embeds the pinned OpenSpec CLI and runs it with its own bun runtime, so wrapped commands work with no JS runtime and no project install.

Added

  • Self-contained standalone binary (#13 by @replygirl) — previously the binary resolved @fission-ai/openspec only from your project's node_modules, so a mise-only install still needed npm i -D @fission-ai/openspec before wrapped commands (new, validate, apply, archive, …) would run. That caveat is gone. The binary now embeds the pinned OpenSpec CLI (1.5.0) as a minified single-file bundle and extracts + spawns it on demand under ${XDG_CACHE_HOME:-~/.cache}/cospec/. A fresh, runtime-free install just works:

    mise use github:aligned-team/cospec
    cospec init
    cospec new feat demo

    A project-installed @fission-ai/openspec (any >=1.0.0 <2.0.0) still takes precedence — you keep your pin override and existing dev behavior — with the embedded copy used only as a fallback. (cospec doctor still resolves OpenSpec from node_modules and needs a project install.) The bundled OpenSpec dependency closure's MIT/ISC/Apache license notices ship as a generated THIRD-PARTY-LICENSES.md alongside the main package, all seven platform packages, and every release archive.

Fixed

  • --json corruption on a fresh HOME (#13 by @replygirl) — OpenSpec prints its first-run telemetry notice to stdout, which corrupted every --json read for standalone users (who always start from a fresh HOME). Wrapped calls now set OPENSPEC_TELEMETRY=0.

Full Changelog: v0.1.1...v0.2.0