Skip to content

rightsize 0.9.0

Choose a tag to compare

@archid21 archid21 released this 05 Nov 22:48
· 101 commits to main since this release
v0.9.0
26a2475
  • New tagline and README. "Make every Claude token count." The README opens with the benefits (same outcome at up to 30% lower cost from an Opus start; stronger reviews, possibly at a higher cost, from a Sonnet start; less manual switching; lower cache and compact costs), a feature table with how to use each feature, and a note that rightsize works better with whatsnext. The sections on how it works, what it runs and its limits now cover compacting, the context warning and whatsnext.
  • Haiku is priced by prompt length everywhere. Over 100,000 tokens a Haiku request pays $0.50 input, $0.625 / $1.00 cache write (5-minute / 1-hour), $0.05 cache read and $2.50 output, against $0.10, $0.125 / $0.20, $0.01 and $0.50 below it; the prompt counts cache reads and writes. rightsize priced only a Haiku compact figure this way. It now prices every Haiku request by its own prompt: the cost of real responses, a Haiku helper whose prompt grows past 100K, and a cold return or keep-warm ping on a Haiku session. prices.json haiku.over100k now holds all four prices, and the monthly price check compares all of them. Helper work that stays under 100K is unchanged.
  • whatsnext decides "installed". rightsize reads project from compact-instructions --json instead of looking for .whatsnext/config.json.
  • One fallback compact for the limit button and the idle compact, with whatsnext's own keep/drop text.
  • Wrap-up ordering. After wrap up, at each turn end rightsize asks whatsnext again and compacts only when no wrap-up is missing; after 2 turns it gives up with a band note. With under 40,000 tokens of room it skips wrap up and says "no fresh handoff".
  • Keep warm vs compact by expected idle time. When Before the cache goes cold is the profile's keep warm, rightsize compacts instead if keeping warm over the usual idle time (median of the last 20 gaps in the project, at most 8 hours) costs at least 3 times a compaction and its summary.
  • Context-size warning. At the end of a turn, when the conversation first reaches 40, 50, 60, 70, 80 or 90% of the window, the cache row says so with a Compact now button, once per step. Steps at or above Claude Code's auto-compact point are skipped. It compacts only when you press the button; ⋯ has Why? and Don't show again.
  • No 200K ceiling on the idle note or the cache row.
  • Plainer paused-hand-down text. When the pause is for prompts the rater could not sort into a kind, the report says "unclassified work" instead of "other work".
  • Removed the last mentions of the old handoff plugin from the docs.