Commit graph

4 commits

Author SHA1 Message Date
mwiegand
7679cf9f4b
feat(statusline): reset countdowns, thinking fallback, color-grade percentages
- Replace fixed "5h"/"7d" window labels with hours/days remaining until
  the rate-limit window resets, derived from rate_limits.*.resets_at.
- Wire up the previously-captured-but-unused $thinking variable as a
  fallback marker when no explicit effort.level is present.
- Color-grade all three percentages (context, 5h, 7d): yellow >=80%,
  red >=90%. Uses \e[39m to restore default fg without losing the
  surrounding dim attribute.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-17 02:14:04 +02:00
mwiegand
8d5406b7ef
add Claude Code statusline script
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 22:59:51 +02:00
mwiegand
d97d9912b4
feat(agents): split global agent config into shared base + per-agent wrappers
- agents/AGENTS.md: shared, agent-agnostic personal preferences
- agents/AGENTS-claude.md: Claude Code wrapper (@AGENTS.md + @RTK.md)
- agents/AGENTS-opencode.md: OpenCode wrapper (@AGENTS.md)
- Old claude/CLAUDE.md removed; symlinks updated in ~/.claude and ~/.config/opencode

This lets each agent layer in tool-specific content (e.g. the Agent tool
tiering for Claude Code, RTK hooks) without leaking it into other agents.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 22:56:14 +02:00
mwiegand
c3edb9a12c
feat: add global Claude Code instructions
Tracks ~/.claude/CLAUDE.md in the repo under claude/CLAUDE.md.
The original is replaced by a symlink back to this file.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 22:32:14 +02:00