Repository navigation
fix(tui): /resume, /new, /learn, /refine, /heartbeat every complete as they run; MCP sign-in asks for the resource's scope - #39
Merged
Conversation
…e as they run; MCP sign-in asks for the resource's scope - /resume offered `latest` on a blank, so Enter resumed it and the session picker was out of reach; sessions are now offered once their name is begun, and a command whose blank offers nothing (/resume, /learn) runs on Enter once its name is complete. - Right after a command its blank offers the flags too (/refine, /new); Enter there runs the line as typed unless the highlight was moved to a flag. Later blanks are free text: a flag shows once its dash is typed. - /heartbeat every <interval> and /schedule add <when> type a space after the value and wait for the instruction instead of running without one. - Typing while a reference panel (/features, /help) is open closes it, so the composer shows its cursor and menu again. - MCP OAuth asks for the scope the server's challenge names, else the resource metadata's scopes_supported, not the authorization server's whole list: Vercel's lists ema_issuer:manage and refused it as invalid_scope. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # docs/guides/OPERATOR_GUIDE.en.md # docs/guides/OPERATOR_GUIDE.vi.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Slash-menu fixes, plus a fix for MCP OAuth scope selection.
/resume: Enter on the bare command opens the session picker again. Before, the menu completed tolatest.latestand the session ids are still offered once you start typing./new: Enter first shows its flags (--name,--). A second Enter starts the session. A flag is applied only if you move the highlight onto it./heartbeat every//schedule add: accepting an interval (5m,@daily,in 10m) leaves a trailing space and waits for the instruction. Before, it ran with an empty instruction ("RLM heartbeat instruction cannot be empty")./refine: the blank right after the command shows its flags. Later blanks are free text, where flags appear only once you type-./learn,/name: commands with nothing to choose on a blank run on Enter (commands::runs_bare).Reference panels (
/features,/help, …): typing a printable key closes the panel, so the cursor and the completion menu show again.MCP sign-in (Vercel
invalid_scope): the requested scope is chosen in this order:scopein the WWW-Authenticate challenge;scopes_supported;scopes_supported.Before, every scope the authorization server listed was requested.
OPERATOR_GUIDE.en/.vi: the completion rules, the/refineand/resumerows, and MCP scope selection.Tests
cargo fmt --all --check: passed.cargo clippy --locked --workspace --all-targets -- -D warnings: passed.cargo test --locked --workspace --no-fail-fast -j 2: 2685 passed, 0 failed, 64 ignored.New unit tests cover
runs_bare, the flags on a blank, waiting after an interval, Enter on/resume,/newand/refine, typing closing a panel, andchosen_scope.pty_probe on the release
ha.exe(sandboxHA_HOME):/resume+ Enter opens the agents-view picker;/newlists its flags;/heartbeat every 5mwaits for the instruction;/refinelists 4 flags;/featuresbrings back the menu.The probe ran on the build before the clippy-only commit 8c13027, SHA-256
3e87892734390b5c7d28ad78a1049d9fe4d4d8147613daa6d7c960a3123f14eb.No live suites ran: this is a UI/TUI fix. The maintainer merges it and runs live once on the merged master.
🤖 Generated with Claude Code