Skip to content

Conversation

@chughtapan
Copy link
Owner

  • Delete wags init command (redundant with quickstart)
  • Consolidate quickstart: delete quickstart.py and server_template.py
  • Move utilities: resolve_server_name to config.py, introspect_server to handlers_generator.py
  • Rewrite quickstart to use Jinja2 templates and extract helper functions
  • Update templates to support quickstart use case
  • Add per-file lint ignores for handlers and CLI
  • Fix todo.py line length with noqa comment
  • Delete redundant test_non_file_roots.py (covered by test_github_server.py)

Eliminates ~500+ lines of duplication and fixes all 18 lint errors.

🤖 Generated with Claude Code

Tapan Chugh and others added 4 commits October 7, 2025 16:57
- Delete wags init command (redundant with quickstart)
- Consolidate quickstart: delete quickstart.py and server_template.py
- Move utilities: resolve_server_name to config.py, introspect_server to handlers_generator.py
- Rewrite quickstart to use Jinja2 templates and extract helper functions
- Update templates to support quickstart use case
- Add per-file lint ignores for handlers and CLI
- Fix todo.py line length with noqa comment
- Delete redundant test_non_file_roots.py (covered by test_github_server.py)

Eliminates ~500+ lines of duplication and fixes all 18 lint errors.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
- Replace npx external dependency with local FastMCP test server
- Create reusable test fixtures in tests/integration/fixtures/
- Consolidate test_quickstart.py into test_cli.py with cleaner structure
- Simplify main.py template: use mcp.run() instead of asyncio.run(mcp.run_stdio_async())
- Make quickstart command async-aware using ThreadPoolExecutor for nested event loops
- Update pre-commit config to use 'uv run' with local ruff/mypy (exclude servers/)
- Add proper type hints: list[Tool] instead of list
- All 23 integration tests now pass in ~3 seconds (previously hung indefinitely)
- All 61 unit tests pass

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
- Run pre-commit hooks (ruff, mypy) on all files
- Run unit tests (61 tests)
- Run integration tests (23 tests)
- Trigger on PRs to main and manual workflow dispatch
- Use uv for fast package installation
- Python 3.13 required

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
- Move BFCL and fast-agent evaluation deps to [evals] group
- Keep dev group lean for CI (pytest, ruff, mypy only)
- Update installation docs to show both options:
  - uv pip install -e ".[dev]" - for development
  - uv pip install -e ".[dev,evals]" - for benchmarks
- Update README.md and CLAUDE.md with new install commands

This reduces CI installation time by avoiding heavy BFCL dependencies
when running unit/integration tests.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@chughtapan chughtapan changed the title Fix lint errors and consolidate quickstart command Fix lint errors, setup CI, consolidate quickstart command, Oct 8, 2025
@chughtapan chughtapan merged commit 1b2b935 into main Oct 8, 2025
2 checks passed
@chughtapan chughtapan deleted the fix-lint-consolidate-quickstart branch October 8, 2025 19:33
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.

2 participants