OpenSpec v0.12.0: Droid CLI & Factory Functions

OpenSpec v0.12.0 adds factory functions for dynamic slash commands and non-interactive init flags for CI/CD automation.

OpenSpec v0.12.0: Droid CLI & Factory Functions

TL;DR

  • Factory function support for slash commands — define commands dynamically
  • Non-interactive init flags for CI/CD automation — --tools, --all-tools, --skip-tools
  • Backward compatible with existing interactive mode

New

  • Factory function support for slash commands — Slash commands can now be defined as functions that return command objects, enabling dynamic command configuration based on runtime conditions.
  • Non-interactive init options — Added --tools, --all-tools, and --skip-tools CLI flags to openspec init for automated initialization in CI/CD pipelines without user prompts.

Update: npm install openspec@0.12.0 or check the full release.

Source: OpenSpec