Skip to content

Conversation

@prosdev
Copy link
Collaborator

@prosdev prosdev commented Dec 1, 2025

Summary

This PR fixes the dev init command to include all 9 MCP adapters by default and adds storage size reporting to dev index.

Changes

Bug Fixes

  • Default config now includes all 9 MCP adapters: dev init previously only enabled 4 adapters (search, explore, plan, status). Now all 9 tools are enabled by default:
    • search, refs, map, history, plan, explore, github, status, health

Features

  • Index size reporting: dev index now calculates and displays actual storage size after indexing
    Storage size:        2.5 MB
    

Documentation

  • Updated TROUBLESHOOTING.md (6 → 9 tools)
  • Updated CLAUDE.md (6 → 9 adapters)

Tests

  • Unit tests for getDirectorySize and formatBytes utilities
  • Integration test verifying storage size appears in index output
  • Test ensuring all 9 adapters are present in default config

Commits

  • bf5de85 fix(cli): include all 9 adapters in default init config
  • aa6d6a1 feat(cli): report actual index storage size
  • 3dd26a2 test(cli): add tests for getDirectorySize and formatBytes
  • f0b13b4 test(cli): add integration test for index command storage size
  • 552fc88 chore: add changeset and update CLAUDE.md adapter count

- Add refs, map, history, health adapters to getDefaultConfig()
- Enable status adapter by default (was false)
- Add test to verify all 9 adapters are present
- Fix TROUBLESHOOTING.md reference from 6 to 9 tools
- Calculate and display storage size after indexing (#104)
- Move getDirectorySize and formatBytes to shared utils
- Replace TODO placeholder with actual size calculation
- Test formatBytes with various sizes (B, KB, MB, GB)
- Test getDirectorySize with empty, single file, recursive directories
- Test edge cases: non-existent paths, single files
- Verify index command displays storage size after indexing
- Create sample TypeScript file, run indexer, check output
- Uses --no-git --no-github for faster test execution
- Document init config fix and index size feature
- Fix CLAUDE.md reference from 6 to 9 adapters
@prosdev prosdev merged commit 5918edb into main Dec 1, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant