Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
说明如何将 Laravel Copilot SDK 发出的 Laravel 事件用于日志收集、调试和异步处理。
src/ ├── Events/ │ ├── Client/ │ │ ├── ClientStarted.php │ │ ├── ToolCall.php │ │ └── PingPong.php │ ├── JsonRpc/ │ │ ├── MessageReceived.php │ │ ├── MessageSending.php │ │ └── ResponseReceived.php │ ├── Process/ │ │ └── ProcessStarted.php │ └── Session/ │ ├── CreateSession.php │ ├── MessageSend.php │ ├── MessageSendAndWait.php │ ├── SessionEventReceived.php │ └── ResumeSession.php
defer
Copilot::run()
MessageSendAndWait
dispatch(fn() => Copilot::run(''));
use function Illuminate\Support\defer; defer(fn() => Copilot::run(''));