Skip to content

tokendoctor 0.7.0

Choose a tag to compare

@rsaryev rsaryev released this 26 Nov 14:39
· 100 commits to main since this release
70baadc

The prompt cache can stay warm through a break.

  • Keep the cache warm (/tokendoctor keepalive on, off by default). Come back after the prompt cache's hour and the next message writes the whole conversation into it again, at twice the input price. Six minutes before the hour runs out, tokendoctor sends a one-word fork of the conversation, which reads it from the cache and starts the hour again. Only for conversations of 200K tokens or more, and only when it knows the cache is still warm; anything it cannot read, a ping that had to write the conversation back, a rate limit or an error, and it stops until your next message. Checked on a live session on Sonnet 5.5: a message 70 minutes after the one before it, with a ping at minute 54, still read the whole conversation from the cache.
  • /tokendoctor:sessions says what it would have saved you (keepalive-would-save), replaying the same rules over your past pauses.
  • Docs: tokendoctor.localix.ai/docs/keepalive, and every docs page now has a Copy page button.

Update: claude plugin marketplace update tokendoctor. Full notes in CHANGELOG.md.