Skip to content

revert: pkg/tui lean-mode machinery from #3724#3729

Merged
rumpl merged 1 commit into
mainfrom
revert/tui-lean-mode-3724
Jul 17, 2026
Merged

revert: pkg/tui lean-mode machinery from #3724#3729
rumpl merged 1 commit into
mainfrom
revert/tui-lean-mode-3724

Conversation

@aheritier

Copy link
Copy Markdown
Contributor

Reverts #3724

Closes #3725

The live --lean flow uses pkg/leantui, not pkg/tui with tui.WithLeanMode(). The pkg/leantui frontend already omits /settings from its command list, so the filtering in pkg/tui was applied to an inactive code path. Additionally, the global slash-command text filter would also suppress any agent-defined custom command named settings.

@aheritier
aheritier marked this pull request as ready for review July 17, 2026 19:14
@aheritier
aheritier requested a review from a team as a code owner July 17, 2026 19:14
@aheritier
aheritier requested a review from rumpl July 17, 2026 19:24
…op-commands"

This reverts commit eba9421, reversing
changes made to d771c13.
@aheritier
aheritier force-pushed the revert/tui-lean-mode-3724 branch from 5d93128 to af59005 Compare July 17, 2026 19:32
@aheritier aheritier added area/tui For features/issues/fixes related to the TUI kind/fix PR fixes a bug (maps to fix:). Use on PRs only. labels Jul 17, 2026

@rumpl rumpl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

@rumpl
rumpl merged commit dff7df8 into main Jul 17, 2026
12 checks passed
@rumpl
rumpl deleted the revert/tui-lean-mode-3724 branch July 17, 2026 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/tui For features/issues/fixes related to the TUI kind/fix PR fixes a bug (maps to fix:). Use on PRs only.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

follow-up(tui): #3724 targets inactive lean-mode path and risks hiding valid custom /settings command

2 participants