Feat/terminal title and cache prefix#169
Merged
Merged
Conversation
added 3 commits
July 11, 2026 11:55
The Anthropic cache breakpoint sat at the end of the whole system string, so the volatile per-run '# Environment' block (git status, rebuilt each turn) invalidated the large static base prompt across turns. Split the breakpoint onto the stable span before that marker; the two system text blocks concatenate byte-for-byte, so the model sees identical content. Within-turn caching is unchanged. Adds 2 tests.
Set the terminal tab/window title via OSC 0: a pulsing glyph + the user's current prompt while working, a static badge when idle. Auto-disabled on non-TTYs/dumb terminals. VS Code hides program-set titles by default, so first launch inside VS Code/Cursor/Windsurf safely configures terminal.integrated.tabs.title once (backup + re-parse validation, never overwrites a user value); /terminal-setup re-runs it. New config flag terminal_title (default on).
…behavior News entries (README + docs/news.md); reference.md gets a Terminal Tab Title section, the /terminal-setup command, and terminal_title/prompt_cache config keys; features.md gets terminal-title and prompt-caching rows.
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.
No description provided.