* feat(agent): add semantic search as an agent action
An agent's builder can add the enterprise semantic search service as an
action: the model supplies the query, the builder picks the Local Baserow
integration, table and fields. The search runs with the integration's
authority.
An action type now says whether it changes data. A type that only reads
starts with Ask first off and is never held behind another held call.
Every registered action type is offered, also when the workspace's license
locks it. A locked type shows the upgrade modal instead of being added, and
a locked action can only be renamed, switched or deleted until its type is
usable again. The model never gets a locked action.
* Fixed some bugs
* Run action with workspace identity
* fix(agent): keep a search match whose files or links don't fit
A row whose non-text values took more than the space left could not be cut,
so the result lost it and every row after it. Values that don't fit are now
cut to "…" like texts, so the best match is still read.
* test(agent): cover the semantic search card acting as the run identity
The spec still expected the removed integration picker. It now checks the
form gets the tables the run identity can read, the link to set up workspace
access without one, and the reload when the identity changes.
* fix(agent): don't offer action inputs in search filters
A filter is resolved when the call is sent, without the call's inputs, so
picking an input there only produced a configuration error. A host can now
narrow what filter values read, and the action card offers them none.
* refactor(agent): name the workspace check of an action type is_usable
available_action_types now lists the locked types too, so is_available named
the opposite of what it returned for them.
* refactor(agent): one limit on what the model reads of an action result
HTTP request and semantic search each defined the same 20,000 characters.
* refactor(agent): drop what the integration picker of actions needed
No action wraps its form anymore and Agents no longer hold Local Baserow
integrations, so the presenter hook and the test changes for them go.
* docs(agent): actions on Baserow data act as the Run as identity
State the rule for every action whose service reads or changes Baserow data:
no integration to pick, permissions on the identity alone. Actions on other
services keep their integration. Drop the integration and form wrapper parts
that no longer hold, and say how to bound a result.
* fix(agent): log why a tool or run failed in debug mode
Tool, preview, step, web fetch, trigger message, MCP and chat run failures
logged only the exception class, so a failed semantic search showed nothing
but its name. They now share the reply's helper, which adds the exception
text in debug mode.
---------
Co-authored-by: Bram Wiepjes <bramw@protonmail.com>