Package Exports
- @jasperdevs/brokecli
Readme
brokecli
A terminal-first AI coding CLI with budget-aware model routing.
Install
npm install -g @jasperdevs/brokecliStart
brokecli
brokecli --brokeOr run one-shot mode:
brokecli -p "summarize this repo"
brokecli --broke -p "summarize this repo"Inside the app:
/login <provider>for supported native/OAuth login flows/modelto switch models/packagesto inspect installed packages or search/install from npm/settingsto change runtime behavior- custom providers and model overrides via
docs/models.md
Verify
Run the local quality gate before sending changes:
npm run verifyThat is the canonical CI-level gate: build, typecheck, quality checks, circular-dependency checks, unused-file checks, the test suite, pack dry run, CLI help smoke test, and release smoke test.
CI runs npm run verify on Node 20 across macOS, Linux, and Windows, plus a separate minimum Node 18 build/test smoke.
Features
Budget-aware routingPick providers and models directly, or use broke mode to bias toward cheaper capable options. |
|
Caveman modeUltra, lite, and auto output compression when you want less filler and faster reads. |
|
Sidebar + workspace stateThe TUI keeps model, provider, workspace, and session state visible instead of hiding everything behind a blank prompt. |
|
30+ slash commands + settingsBuilt-in workflows like/login, /model, /settings, /packages, /btw, /budget, /export, and /resume.
|
|
Provider + session toolsNative/OAuth logins, local runtimes, session persistence, branch forking in the session tree, exports, self-update, and benchmark tasks in one CLI. |
License
MIT