Skip to content

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 16 Apr 02:57
· 11 commits to main since this release

Added

  • Content filter — prompts containing API keys (sk-ant-, sk-or-, AKIA..., ghp_, gho_, glpat-, xoxb-, xoxp-), private key headers (-----BEGIN RSA PRIVATE, etc.) are blocked before being sent to any backend. Shows which pattern matched. Override with --allow-sensitive.

Improved

  • System prompt compressed — ~600 tokens → ~120 tokens, saving ~480 input tokens per request. Prompt text is stable to maximize OpenRouter's automatic 5-minute cache TTL.
  • max_tokens reduced — 512 → 256. Shell commands are rarely > 50 tokens; tighter cap reduces latency and cost.
  • HTTP-Referer/X-Title headers — updated from old ait branding to hey-cli.