Repository navigation
0.8.10
StopSignal can now be injected when creating the TUI, alongside commands, session storage and message processors.
Breaking API change
Tui::setStopSignal() has been removed. Pass stopSignal: to Tui::make() or the constructor.
Before:
Tui::make($agent)
->setStopSignal($stopSignal)
->run();After:
Tui::make(
$agent,
stopSignal: $stopSignal,
)->run();Pass the same StopSignal instance used by the provider’s StoppableHttpClient. The parameter is optional and defaults to null; applications that do not configure a stop signal require no changes.
The full and stop examples have been updated. HTTP stop behavior remains unchanged.