@kvasar/openclaw-storyblok-plugin 0.2.2 → 0.2.3
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 +1 -1
- package/package.json +1 -1
- package/skills/storyblok/SKILL.md +1 -35
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.3",
|
|
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
|
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
|
|
5
5
|
|
|
6
6
|
author: Jordi Marti
|
|
7
|
-
version: "2.
|
|
7
|
+
version: "2.2"
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
|
|
@@ -377,18 +377,6 @@ After schema updates:
|
|
|
377
377
|
|
|
378
378
|
Existing story values are preserved automatically.
|
|
379
379
|
|
|
380
|
-
#### Example usage
|
|
381
|
-
|
|
382
|
-
```sh
|
|
383
|
-
# Add a new translatable field to component 4123
|
|
384
|
-
storyblok_update_component component_id="4123" schema={"subheadline":{"type":"text","pos":1,"translatable":true},"image":{"type":"asset","pos":2,"filetypes":["images"]}}
|
|
385
|
-
```
|
|
386
|
-
|
|
387
|
-
```sh
|
|
388
|
-
# Update component display name and icon
|
|
389
|
-
storyblok_update_component component_id="4123" display_name="Hero Section" icon="photo" color="#ff6600"
|
|
390
|
-
```
|
|
391
|
-
|
|
392
380
|
#### i18n Component Schema Rules
|
|
393
381
|
|
|
394
382
|
When creating or updating schemas:
|
|
@@ -499,31 +487,9 @@ Components define the content structure of your space. Always design the schema
|
|
|
499
487
|
|
|
500
488
|
This skill is designed to work in both main and sub-agent sessions. It can be used directly or spawned via `sessions_spawn` for parallel or isolated execution. When spawning, pass the same tool permissions to ensure access to Storyblok tools.
|
|
501
489
|
|
|
502
|
-
## README Usage Examples
|
|
503
|
-
|
|
504
|
-
### Quick Query
|
|
505
490
|
|
|
506
|
-
```
|
|
507
|
-
User: What stories are in folder 123?
|
|
508
|
-
Agent: storyblok_list_stories folder_id=123
|
|
509
|
-
```
|
|
510
|
-
|
|
511
|
-
### Create and Publish
|
|
512
|
-
|
|
513
|
-
```
|
|
514
|
-
User: Create a blog post titled "Latest Updates" with body "We've improved performance."
|
|
515
|
-
Agent: storyblok_create_story name="Latest Updates" content={"post_content":"We've improved performance."} publish=true
|
|
516
|
-
```
|
|
517
491
|
|
|
518
|
-
### Generate a Landing Page
|
|
519
492
|
|
|
520
|
-
```
|
|
521
|
-
User: Generate a landing page for our summer sale.
|
|
522
|
-
Agent: (fetches components, designs structure, creates story)
|
|
523
|
-
storyblok_get_components
|
|
524
|
-
storyblok_create_story name="Summer Sale 2026" content={...}
|
|
525
|
-
storyblok_publish_story story_id="..."
|
|
526
|
-
```
|
|
527
493
|
|
|
528
494
|
|
|
529
495
|
|