CLI reference
Local CLI checks: bundle secret scanning, API retirement checks, and the Self-Repair prototype. The CLI is not yet published on npm; access is by request.
Note: The CLI and SDK are not yet published to npm. Request access to receive private-beta access instructions.
Caps and spend
During the private beta, RaksHex manages caps and reports spend for the hosted gateway. The CLI's budgets and costs commands do not work with the hosted gateway yet.
rakshex secrets
Scan built output (.next/static, dist, build) for exposed API keys (OpenAI incl. sk-proj, Anthropic, Google/Gemini, Stripe, AWS, GitHub, Slack).
rakshex secrets --bundle
rakshex retirements
Scan code for calls hit by API retirements (OpenAI Assistants API shut down 2026-08-26; GPT-4o/4.1 API retirement reported for 2027-01-14, verify on OpenAI's deprecations page; Stripe Endive).
rakshex retirements
rakshex repair
Prototype command: locate affected TypeScript call sites, generate the minimal fix, check compilation with tsc --noEmit, and propose a draft pull request (today: Stripe 2026-09-30.endive).
rakshex repair