Releases: codervisor/lean-spec
v0.2.21
v0.2.20
What's New in v0.2.20
AI Chat Configuration Improvements (Spec 224)
- Multi-provider support with configuration via
~/.leanspec/chat-config.json - Support for OpenAI, Anthropic, Deepseek, OpenRouter, and any OpenAI-compatible API
- ModelPicker component for quick provider/model selection
- Full Settings page with CRUD operations for providers and models
- Config hot-reload without server restart
- i18n support (English and Chinese)
IPC-Based AI Chat Bridge (Spec 237)
- Unified Rust HTTP server with Node.js AI worker via IPC
- JSON Lines protocol for efficient communication
- Automatic worker spawning on first chat request
- Node.js version detection with tiered warnings
UI Component Consolidation (Spec 238)
- All shadcn/ui components consolidated into
@leanspec/ui-components - 48 ai-elements wrappers integrated into
@leanspec/ui-components - Cleaner architecture with better separation of concerns
Other Improvements
- HTTP Server Auto-Installation for seamless UI startup
- Mermaid diagram theme enhancements
- Dependency graph self-references filtering
- Settings page layout improvements
See CHANGELOG.md for full details.
v0.2.19
Release v0.2.10: Inline Metadata Editing, MCP Auto-Setup, Multi-Project Improvements
Release v0.2.10 - 2025-12-05
π Major Features
Inline Metadata Editing in Web UI (spec 134)
- Edit spec metadata directly in the browser
- Status dropdown with color-coded badges (planned, in-progress, complete, archived)
- Priority selector (low, medium, high, critical)
- Tags editor with add/remove functionality and autocomplete suggestions
- Inline dependency editor with add/remove support
- Optimistic updates with automatic rollback on error
- Works in both filesystem and multi-project modes
MCP Config Auto-Setup During Init (spec 145)
lean-spec initnow offers to configure MCP for detected AI tools- Supports Claude Code (
.mcp.json), VS Code (.vscode/mcp.json), Cursor (.cursor/mcp.json) - Generates correct MCP config entries with proper absolute paths
- Zero manual configuration needed after init for workspace-local tools
Backfill Command Bootstrap Mode (spec 144)
- New
--bootstrapflag creates frontmatter for specs without any - Auto-infers
statusandcreatedfrom git history - Supports legacy formats (ADR, RFC, inline metadata like
**Status**: Complete) - Maps ADR statuses: acceptedβcomplete, proposedβplanned, supersededβarchived
β¨ Enhancements
-
Multi-project Management UI Improvements (spec 141)
- "Manage Projects" option in project switcher dropdown
- Inline project name editing on /projects page
- Color picker for project customization
- Project path validation with status indicators
-
Multi-project Mode Improvements (spec 142, spec 149)
- All navigation links now use project-scoped URLs
- Added SSR for multi-project dependencies, stats, and context pages
- Projects page has dedicated layout without sidebar
- Fixed path overflow in Add Project dialog
- Dependency graph now works in multi-project mode
-
Performance Optimization
- Lightweight specs for list views - reduces initial load by ~90%
- Spec list API no longer returns full
contentMd
π Bug Fixes
- Dependencies page now works on custom ports (
lean-spec ui --port 3002) - Spec detail dependencies now available in multi-project mode
- MCP
depstool now correctly resolves spec paths by sequence number - Fixed duplicate icons in Status/Priority editors
- Dependencies page light theme contrast improved
- Fixed
lspecβlean-speccommand references - Project switcher navigation fixed
π¦ Published Packages
@leanspec/[email protected][email protected]@leanspec/[email protected]@leanspec/[email protected]
π Links
v0.2.9: Dependency Visualization & Simplified Relationships
What's New in v0.2.9
π― Project-wide Dependency Visualization
New /dependencies page in the Web UI for visualizing your entire project's dependency structure:
- Bird's-eye view of all specs and their relationships using DAG layout
- Interactive graph with zoom/pan controls powered by ReactFlow
- Click to navigate directly to spec details
- Filter by status, priority, and tags
- Color-coded nodes: amber=planned, blue=in-progress, green=complete
- Spec selector to focus on a specific spec's dependency chain
- Critical path highlighting for transitive dependencies
π Simplified Spec Relationships
Breaking Change: We've removed the related field, keeping only depends_on.
- Cleaner DAG-only visualization (no more cluttered network graphs)
- Simpler mental model: every edge means "blocking dependency"
- Tags + search now recommended for discovery instead of explicit
relatedlinks - Better AI agent guidance with a single relationship type
- Removed
--relatedflag fromlean-spec linkandlean-spec unlinkcommands
π Bug Fixes
- Chinese/Unicode spec name support - Fixed sequence number detection for non-ASCII spec names (e.g.,
001-ζ΅θ―) - Spec frontmatter validation - Fixed YAML parsing errors from orphaned array items
- Docs-site integration - Converted from submodule to direct inclusion for simpler maintenance
π¦ Packages
[email protected]@leanspec/[email protected]@leanspec/[email protected]@leanspec/[email protected]
Full Changelog: v0.2.8...v0.2.9
v0.2.8
What's New
Added
- Safe re-initialization workflow (spec 127) - Improved
lean-spec initfor existing projects with upgrade/reset/full-reset strategies - MCP
linkandunlinktools (spec 129) - Manage spec relationships directly from AI agents - Project context visibility in Web UI (spec 131) - View AGENTS.md, README.md from the web interface
- Focus mode in spec detail view - Distraction-free reading experience
- Directory-based template support (spec 128) - Templates can be organized in subdirectories
Changed
- Testing infrastructure overhaul (spec 130) - Comprehensive test strategy with new regression templates
Fixed
- Tutorial URLs, analytics tracking, README link formatting
Install/Update
npm install -g [email protected]Full Changelog: v0.2.7...v0.2.8
Release v0.2.7: AI Tool Auto-detection, MCP-first Agent Experience, Advanced Search
Release v0.2.7 - 2025-11-26
π Major Features
-
AI Tool Auto-detection (spec 126) - Smart defaults for
lean-spec init- Auto-detect installed AI CLI tools (Aider, Claude, Codex, Copilot, Cursor, Droid, Gemini, OpenCode, Windsurf)
- Pre-selects detected tools in checkbox for better UX
- Fallback to
copilotonly (AGENTS.md) when nothing detected
-
MCP-first Agent Experience (spec 121) - Enhanced AI agent workflow with better SDD compliance
- Multi-tool symlink support:
lean-spec initcreates tool-specific symlinks (CLAUDE.md, GEMINI.md β AGENTS.md) - New
--agent-toolsflag for non-interactive mode - New MCP prompts:
checkpoint,create-spec - Stale spec warnings in board output
- Multi-tool symlink support:
-
Dependency Alignment Validation (spec 122) - Automated detection of content/frontmatter misalignment
- New
--check-depsflag forlean-spec validatecommand - Detects patterns like "spec 045", "depends on", "related to"
- Outputs actionable fix commands
- New
-
Advanced Search Capabilities (spec 124) - Enhanced search for power users
- Cross-field term matching
- Boolean operators:
AND,OR,NOT - Field-specific search:
status:in-progress,tag:api,priority:high - Date range filters:
created:>2025-11-01 - Fuzzy matching with
~suffix
-
Native Diagram Rendering (spec 119) - Mermaid diagram support in Web UI
- Client-side Mermaid rendering for flowcharts, sequence diagrams, etc.
- Dark mode theme support
β¨ Other Enhancements
- Parallel spec implementation workflow documentation (spec 118)
- AI coding agent integration guidance (spec 123)
- Onboarding project context clarity improvements (spec 125)
- AGENTS.md restructured for MCP-first approach
π¦ Published Packages
@leanspec/[email protected][email protected]@leanspec/[email protected]@leanspec/[email protected]
π Links
Release v0.2.6: Example Projects, Template Simplification & JSON Output
Release v0.2.6 - 2025-11-25
π Major Changes
Example Projects & Tutorial Support
- Scaffold complete tutorial projects with
lean-spec init --example - Three ready-to-use examples: dark-theme, dashboard-widgets, api-refactor
- Interactive example selection mode
- Automatic LeanSpec initialization in scaffolded projects
- New
lean-spec examplescommand to list available examples
Template System Simplification
- Removed Handlebars template engine layer (15+ component files eliminated)
- Direct maintenance of 2 templates:
standard(default) anddetailed(sub-specs demo) - Faster iteration without build step - edit files directly
- Improved AI workflow with stronger CLI command emphasis
- Shared AGENTS.md across templates for consistency
JSON Output Support
- Added
--jsonflag to 8 CLI commands for programmatic use - Machine-readable output for automation and scripting
- Commands: list, board, search, check, files, timeline, backfill, gantt
β¨ Enhancements
Chinese Translation Quality
- Comprehensive translation guidelines in documentation
- Professional localization standards with 40+ technical terms
- Natural Chinese expression patterns for better readability
- Quality checklist for translation validation
π¦ Published Packages
@leanspec/[email protected][email protected]@leanspec/[email protected]@leanspec/[email protected]
π Links
π Installation
# Install globally
npm install -g [email protected]
# Try an example project
npx lean-spec init --example dark-theme
# Launch web UI
npx lean-spec uiπ Thank You
Thank you to all contributors and users who provided feedback to make this release possible!
Release v0.2.5: UI Consolidation & MCP Package
Release v0.2.5 - November 18, 2025
π Major Changes
UI Package Consolidation (spec 103)
- Merged
@leanspec/webinto@leanspec/uifor simpler architecture - Eliminated complex symlink handling and node_modules distribution issues
- Single publishable Next.js app package instead of separate packages
- No breaking changes to user-facing
lean-spec uicommand
New: @leanspec/mcp Package (spec 102)
- Dedicated npm package for MCP server integration with AI assistants
- Simpler onboarding: Use
npx @leanspec/mcpdirectly in IDE configs - Zero-config setup for Claude Desktop, Cline, and Zed
- Pure passthrough design with automatic dependency management
π Bug Fixes
Critical: @leanspec/ui Packaging (spec 104)
- Fixed "Cannot find module 'next'" error in published package
- Now correctly bundles all Next.js dependencies (~18.3 MB compressed)
- Users can successfully run
lean-spec uivia published npm package
UI Command Improvements
- Better signal handling for Ctrl+C and Ctrl+D
- Proper process cleanup and graceful shutdown
β¨ Enhancements
Enhanced Dependency Commands (spec 099)
- Improved CLI and MCP tools for managing spec relationships
- Better dependency graph visualization
- Enhanced
linkandunlinkcommands with better error handling
Automated Publishing
- GitHub Action workflow for dev releases
- Package preparation scripts for handling workspace dependencies
π¦ Published Packages
@leanspec/[email protected][email protected](CLI)@leanspec/[email protected](NEW!)@leanspec/[email protected]
π Links
v0.2.4 - Bug Fixes and UI Improvements
Fixed
- CLI
lean-spec uipnpm flow - Removedpnpm dlx --prefer-offlineforcing offline cache, so the UI command now fetches@leanspec/uion demand and no longer fails when the package is missing locally. - Web filesystem relationship parsing - UI development mode now respects the
SPECS_DIRenvironment variable, so relationships and sub-spec counts resolve correctly when serving specs from an external workspace (fixes ENOENT errors when pointing the UI at another repo). - Web sidebar scroll position drift - Eliminated scroll position jumping during navigation
- Fixed React 19
useSyncExternalStoreinfinite loop by stabilizing server snapshot references - Isolated scroll persistence to prevent global store re-renders on every scroll event
- Implemented component-local scroll management with
useIsomorphicLayoutEffectfor flicker-free restoration - Added guarded auto-anchoring that centers active spec on page refresh without disrupting user scrolling
- Validated smooth scrolling for 100+ spec lists with no drift during rapid navigation or filtering
- Fixed React 19
- Web spec detail page sub-specs display - Fixed missing sub-specs tabs and count indicator
- Sub-specs tabs now correctly display when available
- Sidebar shows sub-spec count (e.g., "+3") for specs with additional markdown files
- Added
getSpecsWithSubSpecCount()function for efficient sub-spec counting - Enhanced
SidebarSpectype to includesubSpecsCountfield
@leanspec/uipackage build - Fixed static asset bundling for npm distribution- Changed from symlinks to copying static assets into standalone build
- Ensures Next.js static files and public assets are included in published package
- Fixed 404 errors for
/_next/static/*and/public/*assets - Cross-platform compatible (Windows, macOS, Linux)
Full Changelog: https://github.com/codervisor/lean-spec/blob/main/CHANGELOG.md\#024---2025-11-17