Skip to content

v0.12.8: hive ps + routing fix + LLM cost docs

Choose a tag to compare

@joryeugene joryeugene released this 20 Feb 04:51
· 314 commits to main since this release

What's new

hive ps — local hive map

New deterministic command showing active claude processes, current project git branch and worktree count, today's command activity, and other hives active in the last 7 days.

Routing fix: no more silent API billing

ANTHROPIC_API_KEY is now ignored from a terminal or hook context. It is only consulted when running inside an active Claude Code session (CLAUDECODE set). Users who have an API key in their shell env for other tools can no longer accidentally get billed on every hive command or PreCompact hook fire.

LLM cost documentation

New ## LLM features section in the README with a clear two-tier table, per-command model/cost breakdown, and a free-command list. TL;DR: if you have Claude Code, you pay nothing extra.

Changes

  • src/keephive/claude.py: routing rewrite — inside_cc gates all API usage
  • src/keephive/commands/ps.py: new command
  • src/keephive/cli.py: register ps
  • src/keephive/data/guides/keephive-guide.md: LLM cost section added
  • README.md: LLM features section + config row update
  • tests/test_ps.py: 19 new unit tests
  • tests/test_claude_pipe.py: routing tests inverted to match correct behavior