Repository navigation
feat(events): a setting to fold each agent session into one row - #306
Open
adefreitas wants to merge 1 commit into
Open
adefreitas wants to merge 1 commit into
adefreitas wants to merge 1 commit into
Conversation
adefreitas
force-pushed
the
feat/fold-session-nudges
branch
from
December 3, 2026 11:00
18b6c1a to
498c604
Compare
Settings → Events → Fold each session (STACKNUDGE_FOLD_SESSIONS), off by default. On, a session's finished turns and other notices share one row showing the newest, with the earlier ones under it (Space or → expands). Permission prompts and questions keep their own rows, since ⏎ answers that one prompt. Event history still records every notice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
adefreitas
force-pushed
the
feat/fold-session-nudges
branch
from
December 3, 2026 11:21
498c604 to
a82fff0
Compare
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.
This PR adds a setting that gives each agent session one row in the Events tab instead of a stack of finished turns. It lives at Settings → Events → Fold each session (
STACKNUDGE_FOLD_SESSIONS) and is off by default, so nothing changes until you turn it on.With it on, a session's finished turns and other notices fold into one row showing the newest.
Spaceor→expands it to the earlier ones, using the same row expansion as folded PR comments. Permission prompts and questions keep their own rows, because⏎answers that one prompt. Event history still records every notice. MCP clients can read and write the setting through the settings registry.Before
Setting
After
Checks
make test-without-xcodepasses: 2151 tests, 0 failures. New tests check that folding is off by default, that one session folds newest first with the earlier notices as members, that two sessions stay apart, and that prompts and questions never fold.🤖 Generated with Claude Code