zerofront / module-zero-banner-ai-assistant
Zero for Magento Open Source: the AI Assistant's and the Claude connector's tools for Zero Banner: list banners and edit a slide's texts, period, position and picture.
Package info
github.com/zerofrontdev/module-zero-banner-ai-assistant
Type:magento2-module
pkg:composer/zerofront/module-zero-banner-ai-assistant
Requires
- php: ~8.2.0||~8.3.0||~8.4.0
- magento/framework: 103.0.*
- zerofront/module-zero-ai-assistant: ^1.3.11
- zerofront/module-zero-banner: ^1.3.11
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
- fixstacks/module-zero-banner-ai-assistant: 1.3.11
README
The AI Assistant's tools for Zero Banner: list_banners, save_slide.
A bridge module: Zero_AiAssistant (the chat, the tool pool) and Zero_Banner
(the data) stay independent of each other. Install this one when a store uses
both.
- Registers the tools in the
toolsargument ofZero\AiAssistant\Model\Tools(di.xml,\Proxyitems withsortOrder) and arequiresentry per tool: a tool shows only while Zero_Banner is enabled. - Tool names, ACL resources (
Zero_Banner::banner,Zero_Banner::banner_save) and areas are the ones the tools had inside Zero_AiAssistant, so roles and stored proposals keep working. The area's ACL resourceZero_AiAssistant::area_bannersstays in AiAssistant. module.xmlsequence: Zero_AiAssistant, Zero_Banner, so it loads after them.
Tests: Test/Unit.
Install
Requires Magento Open Source 2.4.7–2.4.9 and PHP 8.2–8.4 with the GD extension built with WebP (php -r 'var_dump(function_exists("imagewebp"));' says true; Magento's own PHP requirements cover the rest). Without WebP in GD, Zero skips its WebP image copies and serves the originals.
composer require zerofront/module-zero-banner-ai-assistant bin/magento setup:upgrade bin/magento setup:di:compile # production mode bin/magento setup:static-content:deploy # production mode bin/magento cache:flush
Composer installs zerofront/module-zero-ai-assistant, zerofront/module-zero-banner with it.
Part of zerofront/zero, which installs the Zero theme and every Zero module at once.
What changed in each release: CHANGELOG.md.
License
OSL-3.0 or AFL-3.0, your choice: see NOTICE.md.
Zero is made by Fixstacks. Documentation: https://zerofront.dev/docs. Demo store: https://demo.zerofront.dev.