Skip to content

Releases

1.x-1.1.2

Choose a tag to compare

@keiserjb keiserjb released this 20 Nov 18:24
5a63705

AI 1.x-1.1.2

Fixes

  • AI Alt fills in alt text for images uploaded or chosen in the CKEditor image dialog. The handlers never attached before, because core's jquery.once cannot mark document, so inline images never got alt text.

Documentation

  • Clearer AI setup guide and updated companion guides (README.md and docs/).

1.x-1.1.1

Choose a tag to compare

@keiserjb keiserjb released this 15 Nov 16:53
3486e3c

AI 1.x-1.1.1

Security

  • ai_image_to_text needs the new "use ai image to text tool" permission and always uses the site's configured model. Before, any caller who could view an image file could run paid vision requests with any model and prompt.
  • The Views inspection tools (list_views, get_view_info, list_views_base_tables, list_views_handlers) need "administer views". list_content_types, get_content_type_info, get_vocabularies and list_field_types need "access content overview".
  • get_user_info needs "access user profiles" and checks it before loading the account, so it no longer reveals which usernames exist.
  • Upgrade: grant these permissions to roles whose MCP servers or agents use the tools.

Reported by @stpaultim.

Hardening

  • Image inputs load through AIImageHelper::loadInputImage(), which accepts only data URLs, Backdrop stream URIs, this site's file URLs and public https URLs, and requires the bytes to be an image. AIApi and AIDecisionHelper use it.
  • AIImageHelper::download() connects to the address it validated, closing a DNS-rebinding gap.
  • No exploitable path exists in these modules. This protects custom code that passes user-supplied image sources to the AI API.

Changes

  • Tool arguments are checked against each tool's schema; wrong types return a clear error, and PHP exception messages are no longer returned to the caller.
  • MCP: tool errors are returned with isError: true; unknown and hidden tools return JSON-RPC -32602.
  • AI Alt explains why alt text generation failed, reads private and S3 files through their stream wrapper, and runs bulk actions as a batch.

1.x-1.1.0

Choose a tag to compare

@keiserjb keiserjb released this 28 Oct 18:42
b3cea29

AI 1.x-1.1.0

Security

  • AI Explorer: generated images and text-to-speech audio were saved to the default file scheme under predictable names, so on a public scheme anyone could fetch them. Output is now stored in private:// (temporary:// when no private path is set) under a random name, as a temporary file owned by the user who generated it, and requires the "access ai explorer" permission to download. Cron removes these files after the temporary file age.

Changes

  • AI Upgrade downloads replacement projects that are missing, including their dependencies, using the newest stable release (or the newest pre-release when there is no stable one). The confirm form lists the releases and warns about pre-releases.
  • AI Upgrade skips a module whose replacement or dependencies are missing, or that an enabled module still depends on, and reports it as a warning instead of stopping the whole upgrade.
  • Submodule display names now match their machine names (for example "AI CKEditor", "AI Upgrade").

1.x-1.0.0

Choose a tag to compare

@keiserjb keiserjb released this 27 Oct 18:49
98f7a70

AI 1.x-1.0.0

First release. Provider-agnostic AI foundation for Backdrop CMS, and the successor to the legacy openai module family: it moves from the openai namespace to ai and supports multiple providers through separate ai_provider_* modules.

Upgrading from the legacy openai modules

  • Install a provider module (e.g. ai_provider_openai) before using ai.
  • Enable ai_upgrade and run its migration (admin UI or the bee command). It copies legacy openai* config and tables, converts CKEditor text formats, and converts Milvus servers.
  • Leave the legacy openai_* modules disabled after cut-over.

Features

  • Provider-neutral API with capability discovery and per-module model selection, including a "Use site default" option.
  • Per-provider model capability overrides in the admin UI.
  • Model catalog and cheaper-model switching.
  • Function-calling framework (ai_tools) with node create/publish, menu, layout, alt text, webform, and Paragraphs tools.
  • ai_mcp: exposes tools as an MCP-compatible HTTP endpoint; Bearer tokens are stored as hashes.
  • ai_usage (experimental): usage ledger, pricing, budgets, and alerts.
  • Admin menu grouped into categories.

Included submodules

  • AI Alt and AI Alt Text Bulk: alt text generation
  • AI Alt Tools, AI Paragraphs Tools, AI Webform Tools (under AI Tools)
  • AI CKEditor integration, AI Content Editing Tools, AI Translate
  • AI Moderation, AI Guardrails, AI Privacy, AI Rate Limit
  • AI MCP Server, AI Usage, AI Site Context
  • AI Explorer, AI Devel Generate, AI Error Log Analyzer
  • AI Upgrade UI: migration from legacy openai_* modules

Requirements

Backdrop 1.x, PHP 8.2+, key, and at least one ai_provider_* module.