You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(cortex-cli): implement 10 additional open PR features (#185) (#185)
This commit implements the following open PRs for cortex-cli:
1. PR #117 - Validate --days parameter range (1-3650)
- Added value_parser to validate days is within 1-3650 range
- Provides clear error messages for invalid values
2. PR #120 - Add pricing information to models --json output
- Added input_cost_per_million and output_cost_per_million fields
- Populated pricing for all cloud-hosted models
- Local Ollama models show null (no API cost)
3. PR #121 - Add --compact flag for minified JSON config output
- Added --compact flag to config command (requires --json)
- Outputs single-line JSON instead of pretty-printed
4. PR #123 - Add explanation for Native field in agent show output
- Changed from 'Native: true/false' to 'Native: yes/no (explanation)'
- Shows 'built-in agent bundled with Cortex' or 'user-defined agent'
5. PR #125 - Add --diff flag to debug config command
- Compares local project config with global config
- Shows lines unique to each config and unified diff
- Supports JSON output format
6. PR #128 - Display helpful error when running in non-TTY context
- Checks for terminal support before starting TUI
- Provides guidance to use 'cortex run <prompt>' for non-interactive use
7. PR #131 - Add help text explaining -- separator for mcp add command
- Added after_help with examples showing correct usage
- Explains the -- separator requirement for stdio servers
8. PR #132 - Defer success message until config write succeeds
- Success messages now only print after std::fs::write() succeeds
- Prevents misleading output when config write fails
9. PR #119 - Add OAuth authentication status column to mcp list output
- Added 'Auth' column showing authentication status for HTTP servers
- Stdio servers display 'N/A' (OAuth only applies to HTTP)
10. PR #116 - Return non-zero exit code when github status detects missing workflow
- Now exits with code 1 if workflow is not installed
- Works for both human-readable and JSON output modes
Co-authored-by: Droid Agent <droid@factory.ai>
0 commit comments