@imgly/plugin-ai-apps-web 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +20 -2
- package/dist/index.mjs +49 -49
- package/dist/index.mjs.map +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.2.4] - 2025-08-07
|
|
6
|
+
|
|
7
|
+
### New Features
|
|
8
|
+
|
|
9
|
+
- [all] **Provider Label Translations**: Added support for provider label translations
|
|
10
|
+
- [all] **Extended Provider Configuration**: Added support for `history` and `supportedQuickActions` configuration fields in `CommonProviderConfiguration`, allowing customers to:
|
|
11
|
+
- Override provider's default history asset source (`history` field) - can be set to `false` to disable history, `'@imgly/local'` for temporary storage, `'@imgly/indexedDB'` for persistent browser storage, or any custom asset source ID
|
|
12
|
+
- Configure supported quick actions (`supportedQuickActions` field) - can disable quick actions by setting to `false`/`null`, keep defaults with `true`, or override with custom mappings and configurations
|
|
13
|
+
- Both fields are optional and maintain backward compatibility with existing provider configurations
|
|
14
|
+
- [generation-web] **Utility Function**: Added `mergeQuickActionsConfig` utility function for merging provider defaults with user configuration overrides, exported from `@imgly/plugin-ai-generation-web` with comprehensive Jest test coverage
|
|
15
|
+
|
|
16
|
+
## [0.2.3] - 2025-07-23
|
|
17
|
+
|
|
18
|
+
- [all] **Automatic History Asset Library Entries**: Composite history asset sources now automatically have corresponding asset library entries created with the same IDs (e.g., `ly.img.ai.image-generation.history`)
|
|
19
|
+
- [all] **Provider Selection in Expanded Quick Actions**: When a quick action is expanded, users can now switch between all providers that support that specific quick action, enhancing flexibility in provider selection
|
|
20
|
+
- [all] **Quick Action Can Disable Lock**: Some quick actions can now decide to not lock the block when operating on a block. Examples are `CreateVariant` and `CombineImages`.
|
|
21
|
+
- [image-generation] **Ideogram V3**: Added support for Ideogram V3 provider for image generation, which supports text-to-image and image-to-image generation
|
|
22
|
+
|
|
5
23
|
## [0.2.2] - 2025-07-16
|
|
6
24
|
|
|
7
25
|
- [ai-apps] Fix issue with undefined `cesdk` instance
|
package/README.md
CHANGED
|
@@ -218,14 +218,22 @@ cesdk.ui.setDockOrder(currentOrder);
|
|
|
218
218
|
|
|
219
219
|
## Asset History Integration
|
|
220
220
|
|
|
221
|
-
The plugin automatically integrates generated assets into the appropriate asset libraries
|
|
221
|
+
The plugin automatically integrates generated assets into the appropriate asset libraries. For each generation type, both a history asset source and a corresponding asset library entry are automatically created with the same ID:
|
|
222
222
|
|
|
223
223
|
- **Image Generation History**: `ly.img.ai.image-generation.history`
|
|
224
224
|
- **Video Generation History**: `ly.img.ai.video-generation.history`
|
|
225
225
|
- **Audio Generation History**: `ly.img.ai.audio-generation.history`
|
|
226
226
|
- **Sticker Generation History**: `ly.img.ai.sticker-generation.history`
|
|
227
227
|
|
|
228
|
-
|
|
228
|
+
These asset library entries are automatically configured with:
|
|
229
|
+
- Sorted by insertion date (newest first)
|
|
230
|
+
- Square grid item height
|
|
231
|
+
- Cover background type
|
|
232
|
+
- Removable items
|
|
233
|
+
|
|
234
|
+
### Integrating with Default Asset Libraries
|
|
235
|
+
|
|
236
|
+
To add these history sources to CE.SDK's default asset library entries, use the following approach:
|
|
229
237
|
|
|
230
238
|
```typescript
|
|
231
239
|
// Add AI image history to the default image asset library
|
|
@@ -504,6 +512,16 @@ CreativeEditorSDK.create(domElement, {
|
|
|
504
512
|
});
|
|
505
513
|
```
|
|
506
514
|
|
|
515
|
+
## Translations
|
|
516
|
+
|
|
517
|
+
The AI Apps plugin uses translations from individual AI generation plugins. For customization, refer to the respective translation files:
|
|
518
|
+
|
|
519
|
+
- [Base translations](https://github.com/imgly/plugins/tree/main/packages/plugin-ai-generation-web/translations.json) - Core translation keys
|
|
520
|
+
- [Image generation translations](https://github.com/imgly/plugins/tree/main/packages/plugin-ai-image-generation-web/translations.json) - Image generation interfaces
|
|
521
|
+
- [Video generation translations](https://github.com/imgly/plugins/tree/main/packages/plugin-ai-video-generation-web/translations.json) - Video generation interfaces
|
|
522
|
+
- [Text generation translations](https://github.com/imgly/plugins/tree/main/packages/plugin-ai-text-generation-web/translations.json) - Text generation interfaces
|
|
523
|
+
- [Audio generation translations](https://github.com/imgly/plugins/tree/main/packages/plugin-ai-audio-generation-web/translations.json) - Audio generation interfaces
|
|
524
|
+
|
|
507
525
|
## License
|
|
508
526
|
|
|
509
527
|
This plugin is part of the IMG.LY plugin ecosystem for CreativeEditor SDK. Please refer to the license terms in the package.
|