feat(cli): DevX pass — version, grouped help, --agent-id, --json, convenience commands - #107
Open
abhishekmishragithub wants to merge 2 commits into
Open
feat(cli): DevX pass — version, grouped help, --agent-id, --json, convenience commands#107abhishekmishragithub wants to merge 2 commits into
abhishekmishragithub wants to merge 2 commits into
Conversation
…venience commands Tier 1+2 of the CLI UX redesign (CLI_UX_REDESIGN.md): - version command + --version/-V (backed by smallestai.__version__). - Grouped, airbyte/gh-style welcome help (BUILD & DEPLOY / VOICE AGENTS / TELEPHONY / SPEECH / SETUP) via a data-driven _GROUPS table. - Fix misleading error strings: 'smallestai agent init' -> the real 'smallestai agent-crew init', now also naming --agent-id (was a bug). - --agent-id on agent-crew deploy/builds/logs via a shared _resolve_agent_id, so crew commands work from CI / outside a project dir. - --json on agents list/get and agent-crew builds; builds skips the interactive picker in --json or non-TTY (it would hang in CI). - New convenience commands: whoami, status, open, docs, top-level doctor (env/connectivity diagnostics). - Confirmation prompt before Take Down (taking a live build offline). All additive/non-breaking; the waves->models group already keeps a hidden alias. Tier 3 (agent-crew cancel) is blocked on a platform cancel endpoint; Tier 4 (breaking) is gated to 6.0.
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.
Tiers 1 + 2 of the CLI UX redesign (
CLI_UX_REDESIGN.md). All additive / non-breaking.What's new
version+--version/-V— backed bysmallestai.__version__._GROUPStable.agent-crew deploy/buildsprinted "Run 'smallestai agent init'", but the command isagent-crew init. Now correct and also names--agent-id.--agent-idonagent-crew deploy/builds/logs(shared_resolve_agent_id), so crew commands work from CI or outside a project dir, not just where.smallestai/config.tomllives.--jsononagents list/getandagent-crew builds;buildsskips the interactive picker under--jsonor a non-TTY (it would otherwise hang in CI).whoami,status(login/account/linked-agent/version, for bug reports),open(dashboard),docs, and a top-leveldoctor(env + connectivity diagnostics: key, API reach, PyPI version, npx).Tests
New
test_cli_ux.py(version, grouped help, docs/open URL fallback, --agent-id/--json presence). Full custom suite: 135 passed. ruff clean.Out of scope here
agent-crew cancel <build-id>is blocked on a platform cancel endpoint (separate atoms-platform PR in flight for cancel + stuck-build auto-timeout).