mirror of
https://github.com/NCBM/plyngent.git
synced 2026-11-07 15:37:55 +08:00
docs: document SIGINT routing and MCP process-group isolation
Ctrl+C now cancels the turn (or the auto-retry countdown), cancels a poll-based prompt read such as wait's, and is ignored with a hint for off-loop readline prompts; it never exits the REPL and never reaches MCP servers, which spawn in their own session. Also drop ask_into_pty's stale "Ctrl+C cancels" claim: that prompt is readline-based and empty input is its cancel.
This commit is contained in:
@@ -54,7 +54,7 @@ async def ask_into_pty(
|
||||
|
||||
``message`` is shown to the human (what to enter), not the secret itself.
|
||||
``secret=true`` uses no-echo input. ``submit=true`` (default) appends a
|
||||
newline after the answer. Empty input and Ctrl+C cancel without writing.
|
||||
newline after the answer. Empty input cancels without writing.
|
||||
"""
|
||||
label = message.strip() or ("Secret" if secret else "Input")
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user