mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 08:18:42 +00:00
* refactor(mcp): share the tool error messages The row comment, row colour and audit log tools need licence errors to reach the client, and the item error helper outside automation. * fix(assistant): show shared tool errors to Kuma A licence or input error from a shared tool ended the chat run instead of reaching the model. * feat(mcp): search the workspace Lets MCP clients and Kuma find a table or row by name without walking every database. * feat(mcp): read and post row comments Lets MCP clients and Kuma read what people said about a row and add to it, in plain text. * feat(mcp): change view sorts, field visibility and row colours Lets MCP clients and Kuma configure views, and delete views and filters. list_views now returns the ids those tools take. * feat(mcp): read the workspace audit log Lets MCP clients and Kuma answer who did what in a workspace. It stays off until a user turns it on, even though it only reads. * fix(mcp): run the field visibility change in a transaction Over MCP and Kuma it failed on select_for_update, as they call tools outside a transaction. * fix(mcp): only take row colours a row can show A row takes its colour from a CSS class per palette name, so a hex value reported success and coloured nothing. * fix(mcp): undo a row colour that fails halfway The tool adds to a view's colours, so a client retrying after an error would end up with a second colour. * fix(mcp): show how a view's filters combine A view matching any filter, or one with filter groups, read as one matching all of them. * fix(mcp): mark set_view_sorts as overwriting It replaces a view's sorts and an empty list removes them, so clients should confirm it. * fix(mcp): read comments with a mention without a label The API accepts such a mention, and one of them made every comment of the row unreadable. * fix(mcp): refuse a blank workspace search The API trims the query too, and a space would match most names. * docs(mcp): say why reordered sorts are recreated * test(mcp): expect how filters combine in the listed views * fix(mcp): handle bad input to the audit log tools A reversed range and a blank query read as nothing having happened, and an unknown browser timezone ended Kuma's run. * fix(mcp): read comments with no content The API accepts such a comment, and one of them made every comment on the page unreadable. * fix(mcp): show when a view's filters are switched off Those filters hide no rows, so listing them as active misled the client. * docs(mcp): correct what the view tools say they do Row colours work on every view with rows, and Kuma was told to skip list_views when it needs the filters and colours. * fix(mcp): leave IP addresses out of the audit log tools Who did what doesn't need them, and Kuma sends tool results to the LLM provider. * fix(mcp): keep what a restricted view hides out of the view tools A member below builder could read a restricted view's filters, hidden sorts and colours from list_views, and a field's name from an error before permissions were checked. * fix(mcp): replace a view's sorts one call at a time Two calls could each read the old sorts and add to them, leaving a list neither asked for. * fix(mcp): read a mention whose label isn't a string The API accepts such a label, and one comment holding it stopped the row's comments from being listed. * fix(mcp): limit the row comments of a call to 100 Each comment runs about nine queries in its own transaction, and a commenter could ask for any number. * fix(mcp): show Kuma that set_field_visibility needs a field Both clients now reject an empty list from the schema, so the checks after it can't run. * docs(mcp): correct the audit log tools' licence and fields An advanced licence also has the audit log, and entries no longer hold an IP address. * refactor(mcp): rename set_row_colours to add_row_colours It adds to the colours a view has, while set_view_sorts replaces the sorts. * fix(mcp): stop set_view_sorts deadlocking with a new sort A new sort checks its view when it commits, which the view lock blocked while the sort rows it needed were held. Sort writers now share a weaker view lock. * fix(mcp): title add_row_colours Add row colours * refactor(mcp): merge search_audit_log into list_audit_log The two differed only by a text query and a 90 day cap. Timestamps now need an offset, as nothing tells MCP the user's timezone. * feat(mcp): let a date filter carry its timezone MCP has no timezone for the user, so relative date modes would follow UTC. An offset can't express those, so the caller names the IANA timezone.