diff --git a/Boot.php b/Boot.php index 7532798..1e13af4 100644 --- a/Boot.php +++ b/Boot.php @@ -127,8 +127,7 @@ class Boot extends ServiceProvider * Handle API routes registration event. * * Registers REST API endpoints for go-agentic Client consumption. - * LifecycleEventProvider wraps with 'api' middleware + '/api' prefix, - * so routes end up at /api/v1/*. Go client sets BaseURL to .../api. + * Routes at /v1/* — Go client uses BaseURL + "/v1/plans" directly. */ public function onApiRoutes(ApiRoutesRegistering $event): void { diff --git a/Routes/api.php b/Routes/api.php index d4392ad..9be59da 100644 --- a/Routes/api.php +++ b/Routes/api.php @@ -14,7 +14,7 @@ use Illuminate\Support\Facades\Route; | REST endpoints for the go-agentic Client (dispatch watch). | Protected by AgentApiAuth middleware with Bearer token. | -| Routes at /api/v1/* (Go client sets BaseURL to .../api) +| Routes at /v1/* (Go client uses BaseURL + "/v1/...") | */