Skip to content

feat(status): choose when typing clears a blocked or completed status - #585

Merged
umputun merged 1 commit into
masterfrom
status-reset
Sep 10, 2026
Merged

feat(status): choose when typing clears a blocked or completed status#585
umputun merged 1 commit into
masterfrom
status-reset

Conversation

@umputun

@umputun umputun commented Sep 10, 2026

Copy link
Copy Markdown
Owner

adds Settings ▸ Agent Status ▸ Status reset: when typing into a blocked or completed session clears its glyph. On first key is the default and today's behavior; On Enter clears on a bare Return or keypad Enter only, so a reply you started and walked away from keeps the glyph until you send it; Disabled leaves the status to the agent's hooks and Clear Status. Esc and Ctrl-C keep clearing an active glyph in every mode, that rule is about a cancelled prompt no hook reports.

session type follows the same setting: a newline in the text counts as Return. Dictation and accessibility inserts never count as Return, including multiline text.

came out of a user typing a reply into a completed session, getting pulled away, and losing the marker on the first character.

adds Settings > Agent Status > Status reset with three values. On first key is the default and today's behavior. On Enter clears on a bare Return or keypad Enter only, so a reply started and abandoned keeps the glyph until it is sent. Disabled leaves the status to the agent's hooks and Clear Status. Esc and Ctrl-C keep clearing an active glyph in every mode; that rule covers a cancelled prompt no hook reports.

the keystroke path classifies each key as interrupt, submit or plain typing in agtermCore, and the pane-scoped clear reads the setting live from the app mirror. session type follows the same setting, a newline in the text counting as Return. Dictation and accessibility inserts never count as Return.
Copilot AI lite review requested due to automatic review settings September 10, 2026 22:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying agterm with  Cloudflare Pages  Cloudflare Pages

Latest commit: a184752
Status: ✅  Deploy successful!
Preview URL: https://5367ccc3.agterm.pages.dev
Branch Preview URL: https://status-reset.agterm.pages.dev

View logs

@umputun
umputun merged commit 4ef26bb into master Sep 10, 2026
8 checks passed
@umputun
umputun deleted the status-reset branch September 10, 2026 22:36
umputun added a commit that referenced this pull request Sep 11, 2026
0.29.0 added controls to both tabs: the Custom commands toggle (#582) made the title-bar group six rows and the Typing section (#585) added a picker with a hint. Both tabs overflowed the fixed 540x640 frame and scrolled. Raise the shared frame to 540x680 and drop the Typing hint. The header and the picker's choices carry the context.
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.

2 participants