Skip to content

feat: implement CLI wrapper for unified binary - #3

Merged
mrsimpson merged 7 commits into
mainfrom
publish-cli
Oct 22, 2025
Merged

feat: implement CLI wrapper for unified binary#3
mrsimpson merged 7 commits into
mainfrom
publish-cli

Conversation

@mrsimpson

Copy link
Copy Markdown
Collaborator
  • Add router entry point that routes to MCP server (no args) or CLI (with args)
  • Update package.json bin configuration to use new router
  • Add MCP server dependency to CLI package
  • Follow responsible-vibe pattern for unified package publishing
  • Update architecture and design documentation

Resolves CLI wrapper requirement for proper package publishing

- Add router entry point that routes to MCP server (no args) or CLI (with args)
- Update package.json bin configuration to use new router
- Add MCP server dependency to CLI package
- Follow responsible-vibe pattern for unified package publishing
- Update architecture and design documentation

Resolves CLI wrapper requirement for proper package publishing
- Fix references to web_sources -> sources in config manager
- Add proper null checks in path calculator
- Update MCP server to use calculateLocalPath instead of docset.local_path
- Temporarily disable build check in pre-commit (CLI commands need separate update)
- CLI wrapper functionality remains working and tested
- Replace web_sources with sources array in all CLI commands
- Update create command to use new SourceConfig structure
- Fix init, refresh, status commands to work with sources
- Update metadata fields: web_sources_count -> sources_count
- Fix type issues and variable references
- Build now passes successfully with pre-commit hook enabled
- Update test fixtures to use sources instead of web_sources
- Update CLI command descriptions to match test expectations
- Fix test expectations for new terminology (sources vs web_sources)
- Note: Some integration tests still need updates for CLI wrapper behavior
@mrsimpson
mrsimpson merged commit b49be2a into main Oct 22, 2025
1 check passed
@mrsimpson
mrsimpson deleted the publish-cli branch October 22, 2025 06:05
@mrsimpson
mrsimpson restored the publish-cli branch October 22, 2025 06:35
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