@kvasar/openclaw-storyblok-plugin 0.1.4 → 0.1.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 +2 -2
- package/package.json +1 -1
- package/skills/SKILL.md +0 -19
package/openclaw.plugin.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "openclaw-storyblok",
|
|
3
3
|
"name": "Storyblok Integration",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.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
|
"skills": ["skills"],
|
|
7
|
-
|
|
7
|
+
"configSchema": {
|
|
8
8
|
"type": "object",
|
|
9
9
|
"additionalProperties": false,
|
|
10
10
|
"properties": {
|
package/package.json
CHANGED
package/skills/SKILL.md
CHANGED
|
@@ -29,17 +29,6 @@ This skill package provides agents with the ability to work with **Storyblok CMS
|
|
|
29
29
|
3. **Page Generation** – Use AI-assisted reasoning to create new landing pages.
|
|
30
30
|
4. **Sync Workflow** – Synchronize content or schemas between Storyblok and a frontend repository.
|
|
31
31
|
|
|
32
|
-
## Prerequisites
|
|
33
|
-
|
|
34
|
-
The Storyblok plugin must be configured with valid credentials:
|
|
35
|
-
|
|
36
|
-
- `baseUrl` (default: https://api.storyblok.com)
|
|
37
|
-
- `spaceId`
|
|
38
|
-
- `managementToken` (required for write operations)
|
|
39
|
-
- `previewToken` (optional for read-only operations)
|
|
40
|
-
|
|
41
|
-
These are set when installing the plugin. Inside a session, the plugin config will be used automatically.
|
|
42
|
-
|
|
43
32
|
## Core Concepts
|
|
44
33
|
|
|
45
34
|
### Tools
|
|
@@ -64,14 +53,6 @@ All tools are provided by the `openclaw-storyblok` plugin:
|
|
|
64
53
|
- For `storyblok_list_stories`, you can filter by `folder_id`, `parent_id`, `status`, `tag`, `per_page`, `page`, `sort_by`, `direction`.
|
|
65
54
|
- For management tools, `story_id` can be numeric ID or UUID.
|
|
66
55
|
|
|
67
|
-
### Error Handling
|
|
68
|
-
|
|
69
|
-
All tools return a standardized response:
|
|
70
|
-
- Success: `{ content: [{type: "text", text: JSON}], metadata: {...} }`
|
|
71
|
-
- Error: `{ content: [{type: "text", text: "❌ Storyblok: ..."}], isError: true }`
|
|
72
|
-
|
|
73
|
-
Agents should check `isError` and display the error message to the user.
|
|
74
|
-
|
|
75
56
|
## Workflow Guides
|
|
76
57
|
|
|
77
58
|
### 1. Content Query
|