feat(cli): add sim cli search and default output to JSON - #8426
Conversation
- sim cli search ranks every command in the tree against a plain-language query, locally via minisearch, and returns the top 5 - root and group --help open with a discovery note when a coding agent runs the CLI, pointing it at sim cli search - default output format is now json; table stays available via --output, SIM_OUTPUT, or sim configure --set-output - reword command descriptions that lacked the words people search with
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
All reported issues were addressed across 31 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
|
…ivacy claim to the query
|
@cubic-dev-ai review this PR |
@TheodoreSpeaks I have started the AI code review. It will take a few minutes to complete. |
|
@cubic-dev-ai review this PR |
@TheodoreSpeaks I have started the AI code review. It will take a few minutes to complete. |
Summary
sim cli search "<task>": ranks every command in the tree against a plain-language query and returns the top 5. Runs locally (minisearch), nothing is sent--helpopen with a discovery note pointing atsim cli searchwhen a coding agent runs the CLI; people never see itjsoninstead oftable.--output,SIM_OUTPUT, andsim configure --set-output tablestill override itfiles get→ download,logs list→ failed runs,secrets set→ environment variable, etc.)Behavior change for anyone without a saved format: output is JSON,
sim chatprints the finished reply as JSON instead of streaming, and errors go to stderr as JSON.Type of Change
Testing
check:auditspassChecklist
🤖 Generated with Claude Code
https://claude.ai/code/session_01SZ5zfNhp5e4Mrood4jKdy7