Skip to content

v0.22.0 — Consolidated project setup

Choose a tag to compare

@turbyho turbyho released this 13 Jul 23:08
v0.22.0

Overview

fw-context project-init has been merged into fw-context init. A single command now handles everything: MCP registration, instruction injection, config file creation, .gitignore management, and diagnostic output (build system, compile_commands.json status, index health).

Changes

Features

  • Unified project setupfw-context init now creates config files, manages .gitignore, validates config keys, and prints diagnostics in one step
  • Diagnostic output — build system detection, compile_commands.json status, and index health are shown after setup, even when no AI tools are detected
  • Auto-fix mode — missing config keys and .gitignore entries are fixed automatically during init

Fixes

  • DB connection properly closed — connection cleanup moved to finally block
  • Consistent project_root resolution — uses resolve_project_root() like other commands
  • No duplicate build system scan — detect_build_system() called once
File Change
src/fw_context_mcp/cli.py Merged project-init into init, removed cmd_project_init
docs/tools.md Removed project-init section
docs/configuration.md Updated reference from project-init to init
tests/test_system_indexing.py Fallback to manual config in CI without AI tools

Breaking changes

  • fw-context project-init removed — use fw-context init instead
  • No read-only verify mode — init always applies fixes (config, .gitignore)