Task: Run API operations for assistants 

Description 

The core can run an API operation, named by its operationId, inside the request of an AI assistant (AssistantCall). It runs as a sub-request with the caller's token and company, so the operation's access declaration, validation, idempotency key, rate limit and activity log apply exactly as to a call of the API; a refusal comes back as the operation's problem document.

The listeners that guard the API used to skip every sub-request, as an error page is rendered in one. They now also check a sub-request marked as an assistant's call, which an employee could otherwise use to read what only admins may. A read-only personal access token stays read-only in such a call; an endpoint that only runs operations, such as an assistant's, may admit read-only tokens with #[AllowsReadOnlyTokens].

Impact 

None for API clients. Packages offering assistant tools call operations through AssistantCall only.