Skip to content

0.5.0: the model's token counts, how it is paid for and the agent's own memory travel beside a sitting - #12

Merged
Blapi merged 2 commits into
mainfrom
release-0.5.0
Nov 23, 2026
Merged

Blapi merged 2 commits into
mainfrom
release-0.5.0

Conversation

@Blapi

@Blapi Blapi commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

What changes

  • Beside each sitting and each recall, the plugin sends a few facts about the model, which past.dev uses to show what it saved you on the project's Dashboard: the model's name, the token counts Claude Code recorded for the sitting (input, cached input, cache writes and output for each model, subagents included), how you pay for the model (by the token, through a cloud provider or with a subscription) and whether Claude Code's own memory is on.
  • How you pay is read from whether an API key or a cloud provider is set, never from a key's value.
  • A cache write Claude Code kept for an hour is counted as one.
  • Once, after the update to 0.5.0, the plugin sends the token counts of the sittings it had already sent: their ids and the counts, with no text.
  • "modelUsage": false in ~/.past/config.json sends none of this.

What does not change

A sitting's content is the same, byte for byte: the counts and the facts travel beside it and never in it, so no sitting is sent again. The description and the engines range are 0.4.2's.

What it repairs

0.4.2 left the script at 0.4.1, so the User-Agent of every call and the recall tool's server name 0.4.1. In 0.5.0 the manifest, the marketplace entry and the script all read 0.5.0, and CLAUDE.md states the rule: the script's VERSION is the manifest's version in every release.

Checked

  • claude plugin validate . passes on Claude Code 2.1.329, and node --check passes on the script.
  • The old and the new script, side by side in throwaway homes over 17 sittings: with the counts removed, the request bodies match.
  • Not run for this pull request: a session on the installed 0.5.0.

🤖 Generated with Claude Code

Blapi and others added 2 commits November 23, 2026 16:47
…wn memory travel beside a sitting

Beside each sitting and each recall the plugin sends the model's name, the
token counts Claude Code recorded for the sitting, how the model is paid for
and whether Claude Code's own memory is on. past.dev uses them to show what it
saved on the project's Dashboard. They travel beside a sitting's content and
never in it, so no sitting is sent again.

Once, after the update, the token counts of the sittings already sent go too:
their ids and the counts, with no text. "modelUsage": false in
~/.past/config.json sends none of this.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…y release

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@Blapi
Blapi changed the base branch from release-0.4.2 to main November 23, 2026 23:00
@Blapi
Blapi marked this pull request as ready for review November 23, 2026 23:05
@Blapi
Blapi merged commit cc72c57 into main Nov 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant