fix(tui): accept goal requests during active turns (#5981)

* fix(tui): accept goal requests during active turns

* fix(goal): reuse live input routing and remove busy guards

* test(goal): cover followup streams across iteration budgets

* refactor(goal): expand slash commands into hidden agent input

* fix(goal): keep generated input permission scoped to users

* refactor(agent): encapsulate goal input permission scope

* refactor(goal): preserve task text without prompt wrapper

* test(goal): consolidate coverage and exercise restart recovery

* test(goal): wait for recovery reply without task registry race
This commit is contained in:
chengyongru authored and GitHub committed 2026-09-30 13:08:13 +08:00
1 parent b46d4dfd7d
commit 99ba062a97
15 files changed
+613 -360

No files matched your search

+2 -1
View File
@@ -59,7 +59,8 @@ Type `@` to complete installed CLI apps, configured MCP servers, or saved sessio
same gateway metadata used by the WebUI. While nanobot is working, `Enter` sends immediately,
`Tab` waits until the current response is finished, and `Option+Up` on macOS (`Alt+Up` on
Windows/Linux) returns the latest waiting message to the composer for editing. Waiting messages
stay visible above the composer.
stay visible above the composer. `/goal <task>` follows the same keys: `Enter` sends the goal
into the running conversation, while `Tab` waits for the current response to finish.
Use `Shift+Enter` for a newline; `Ctrl+J` is the universal fallback when a terminal cannot
distinguish modified Enter keys. `Alt+Enter` and `Ctrl+Enter` are also accepted when distinguishable.
Unsent prompts return to the composer if the turn stops or fails.