feat(cli): welcome banner + mcp command (5.10.0) - #94
Closed
abhishekmishragithub wants to merge 1 commit into
Closed
feat(cli): welcome banner + mcp command (5.10.0)#94abhishekmishragithub wants to merge 1 commit into
abhishekmishragithub wants to merge 1 commit into
Conversation
- Bare `smallestai` now prints an ASCII banner + a tidy command list (via an invoke_without_command callback) instead of erroring with "Missing command". - New `smallestai mcp` command group to set up/run the Smallest AI MCP server (npm @smallest-ai/mcp-server): `mcp` prints the client config + `claude mcp add` line, `mcp run` launches via npx (Node 18+), `mcp config` prints the mcp.json. Version 5.10.0.
Collaborator
Author
|
Superseded by the consolidated release PR release/5.10.0 (single review + single version bump). Branch kept. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two DevX polish items.
1. Bare
smallestaishows a banner, not an errorPreviously
smallestaiwith no command errored with "Missing command". Now it prints an ASCII banner + a tidy command list (via aninvoke_without_commandcallback), exit 0.--helpand subcommands are unchanged.2.
smallestai mcpHelper for the (Node) MCP server
@smallest-ai/mcp-server:smallestai mcp— prints the client config +claude mcp add smallest-ai -- npx -y @smallest-ai/mcp-server.smallestai mcp run— launches it via npx (Node 18+; warns ifSMALLEST_API_KEYunset).smallestai mcp config— prints themcp.jsonsnippet.Checks
pytest tests/custom/test_cli_banner_mcp.py— 3 passed (bare = banner not error; mcp config present).mypyclean;--help+ subcommands verified.Note: touches
cli/main.py, which the telemetry PR (#93) also edits — trivial merge. Version 5.10.0 assumes the other CLI/feature PRs merge first.Draft — merging bumps version + auto-publishes. Hold for your review.