Repository navigation
0.4.0
Interrupt recovery, bounded output and owned session state.
interrupt_command_by_idnow cancels the read loop, so an interrupted command no longer leaves the session wedged; the 30-second auto-recovery path does the same- a second reader can no longer race the previous worker for the same channel; the cancelled worker settles on
INTERRUPTEDwith exit code130 OutputBufferreplacesOutputLimiter: head 8 KB + tail 32 KB stay in memory, anything past 64 KB spills to a file whose path is returned instead of borrowing exit code124- truncation actually reaches the caller:
truncated/spilled_pathnow travel from the worker throughget_command_status()intoExecutionResultandCommandResult SessionRegistrycollects the twelve pieces of per-session state, removes cross-module private access and adds a per-session execution lock- output limits honour
MCP_SSH_MAX_OUTPUT_BYTES, and the head/tail windows are clamped to it
Full Changelog: 0.3.0...0.4.0