Repository navigation
Conversation
…the open sitting for an hour, and a credit refusal pauses the operation A sitting also closes once it holds `sittingKilobytes` of prose (50 by default, 10 at least), once Codex has answered, so a thread that never goes quiet is cut all the same; the size is pinned per session, and a session already sent keeps the cut it was sent with. PreCompact sends the sittings that closed since the last send, once each, and the one still open only when the session's last send is an hour old. After `402 out-of-credits` the refused operation pauses and the balance is checked at most every five minutes (`$past:status --refresh` checks it now). A waiter started by an earlier version is replaced. hooks/hooks.json is untouched. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Contributor
Author
|
Superseded by #5: the Codex plugin takes the same version number as the Claude Code plugin, 0.4.0, and there is no 0.3.x. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
sittingKilobytesin~/.past/config.json, 50 by default, 10 at least), once Codex has answered. A thread that never goes quiet, an agent at work for hours, is cut all the same, and a send of it carries one sitting again rather than the whole. The size is pinned per session besidesittingMinutes: a session already sent keeps the cut it was sent with, so nothing already in past.dev moves and backfill re-sends nothing.402 out-of-creditsthe plugin keeps unsent sessions locally and checks the balance at most once every five minutes per paused operation; a write refusal does not pause recall.$past:status --refreshreads the balance now and clears the pause once it suffices.$past:status.hooks/hooks.jsonis untouched, so no hook's trust is reset.Checked by hand, as
AGENTS.mddescribes: the old and the new script over the same real transcripts in throwaway homes against a local stand-in for the API, comparing whatcutprints, what each request carries and whatstate.jsonkeeps; Node 14 parses the script and Node 16 prints the samecutas Node 22.🤖 Generated with Claude Code