@kvasar/openclaw-storyblok-plugin 0.2.4 → 0.2.5
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/openclaw.plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "openclaw-storyblok",
|
|
3
3
|
"name": "Storyblok Integration",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.5",
|
|
5
5
|
"description": "Provides tools to interact with Storyblok CMS via Management API and Delivery API. Supports stories, components, and space management.",
|
|
6
6
|
"activation": {
|
|
7
7
|
"onStartup": false
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@ description: Comprehensive skill for interacting with Storyblok CMS: query conte
|
|
|
4
4
|
license: Proprietary
|
|
5
5
|
metadata:
|
|
6
6
|
author: Jordi Marti
|
|
7
|
-
version: "2.
|
|
7
|
+
version: "2.5"
|
|
8
8
|
allowed-tools: storyblok_get_space, storyblok_get_story, storyblok_list_stories, storyblok_get_components, storyblok_get_component, storyblok_create_story, storyblok_update_story, storyblok_publish_story, storyblok_unpublish_story, storyblok_create_asset_folder, storyblok_delete_asset_folder, storyblok_get_asset_folder, storyblok_create_component, storyblok_get_content_folders, storyblok_update_component, storyblok_update_component_folder, sessions_spawn, read, write, edit
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -38,8 +38,8 @@ Non-obvious behaviors that cause silent mistakes:
|
|
|
38
38
|
| Edit story | `storyblok_update_story` |
|
|
39
39
|
| Publish | `storyblok_publish_story` or `publish=true` on create/update |
|
|
40
40
|
| Unpublish | `storyblok_unpublish_story` only |
|
|
41
|
-
| Create
|
|
42
|
-
|
|
41
|
+
| Create Component | `storyblok_create_component` |
|
|
42
|
+
| Update the values of a component. |`storyblok_update_component` |
|
|
43
43
|
---
|
|
44
44
|
|
|
45
45
|
## Workflows
|
|
@@ -56,7 +56,7 @@ Non-obvious behaviors that cause silent mistakes:
|
|
|
56
56
|
|
|
57
57
|
1. Run `storyblok_get_components` to check if a component with the same name already exists.
|
|
58
58
|
2. Decide type (`is_root`, `is_nestable`) before creating — restructuring after stories use it can break content.
|
|
59
|
-
3.
|
|
59
|
+
3. To update the entire story content `use storyblok_update_story` (full object required). To update only component schema fields use `storyblok_update_component` (partial, only what you pass changes). Never update partial using `storyblok_update_story`
|
|
60
60
|
4. Mark user-facing text fields `"translatable": true`; leave technical fields non-translatable.
|
|
61
61
|
5. Do not create or delete components without user confirmation.
|
|
62
62
|
|