@indreamai/openclaw-plugin 0.1.0
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/LICENSE +21 -0
- package/README.md +6 -0
- package/dist/chunk-ENGUNMFI.js +196 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +781 -0
- package/dist/setup-entry.d.ts +11 -0
- package/dist/setup-entry.js +20 -0
- package/openclaw.plugin.json +98 -0
- package/package.json +58 -0
- package/skills/indream-editor-json/SKILL.md +157 -0
- package/skills/indream-editor-json/references/asset-mapping.md +147 -0
- package/skills/indream-editor-json/references/common-items.md +280 -0
- package/skills/indream-editor-json/references/editor-state.v1.schema.json +1491 -0
- package/skills/indream-editor-json/references/keyframes.md +102 -0
- package/skills/indream-editor-json/references/material-libraries.md +97 -0
- package/skills/indream-editor-json/references/minimal-editor-state.json +36 -0
- package/skills/indream-editor-json/references/motion-effects-and-transitions.md +235 -0
- package/skills/indream-editor-json/references/recipes.md +122 -0
- package/skills/indream-editor-json/references/structure-and-principles.md +159 -0
- package/skills/indream-editor-json/references/template-catalog.md +45 -0
- package/skills/indream-editor-json/references/templates/chart-showcase.json +654 -0
- package/skills/indream-editor-json/references/templates/gallery-carousel.json +538 -0
- package/skills/indream-editor-json/references/templates/hello-world.json +212 -0
- package/skills/indream-editor-json/references/templates/illustration-board.json +480 -0
- package/skills/indream-editor-json/references/templates/keyframe-motion-lab.json +362 -0
- package/skills/indream-editor-json/references/templates/product-intro.json +614 -0
- package/skills/indream-editor-json/references/templates/subtitle-promo.json +341 -0
- package/skills/indream-editor-json/references/text-and-captions.md +211 -0
- package/skills/indream-editor-json/references/validation-repair.md +134 -0
- package/skills/indream-render-workflow/SKILL.md +57 -0
- package/skills/indream-render-workflow/references/workflow.md +19 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: indream-render-workflow
|
|
3
|
+
description: Run the complete Indream project, upload, validate, export, and wait workflow from OpenClaw.
|
|
4
|
+
metadata:
|
|
5
|
+
{
|
|
6
|
+
"openclaw":
|
|
7
|
+
{
|
|
8
|
+
"emoji": "☁️",
|
|
9
|
+
"requires":
|
|
10
|
+
{
|
|
11
|
+
"config": ["plugins.entries.indream.config.apiKey"],
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
}
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# Indream Render Workflow
|
|
18
|
+
|
|
19
|
+
Use this skill when the user wants a full render pipeline, not just raw editor JSON.
|
|
20
|
+
|
|
21
|
+
## Workflow
|
|
22
|
+
|
|
23
|
+
1. If the user starts from scratch, create a project with `indream_projects_create`.
|
|
24
|
+
2. Upload media with `indream_assets_upload`.
|
|
25
|
+
3. Write upload mapping into editor JSON:
|
|
26
|
+
- `fileUrl` -> `remoteUrl`
|
|
27
|
+
- `fileKey` -> `remoteKey`
|
|
28
|
+
4. Persist autosave state with `indream_projects_sync` when the project should own the latest draft.
|
|
29
|
+
5. Run `indream_editor_validate`.
|
|
30
|
+
6. Export:
|
|
31
|
+
- use `indream_projects_create_export` for project-based exports
|
|
32
|
+
- use `indream_exports_create` for stateless one-off exports
|
|
33
|
+
7. Poll with `indream_exports_wait`.
|
|
34
|
+
8. If needed, inspect history with `indream_exports_get` or `indream_exports_list`.
|
|
35
|
+
|
|
36
|
+
## When to use project exports
|
|
37
|
+
|
|
38
|
+
Prefer project exports when the user needs:
|
|
39
|
+
|
|
40
|
+
- autosave
|
|
41
|
+
- reusable uploads
|
|
42
|
+
- multiple exports from one saved draft
|
|
43
|
+
- task history correlated back to one project
|
|
44
|
+
|
|
45
|
+
Prefer stateless exports when the user only has one final JSON payload and does not need server-side draft state.
|
|
46
|
+
|
|
47
|
+
## Optional tool allowlist
|
|
48
|
+
|
|
49
|
+
Write tools are registered as optional OpenClaw tools.
|
|
50
|
+
If OpenClaw blocks a write step, tell the user to allow either:
|
|
51
|
+
|
|
52
|
+
- the whole plugin id: `indream`
|
|
53
|
+
- or the specific write tool name under `tools.allow`
|
|
54
|
+
|
|
55
|
+
## Reference file
|
|
56
|
+
|
|
57
|
+
- `references/workflow.md`
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Workflow Reference
|
|
2
|
+
|
|
3
|
+
## Typical path
|
|
4
|
+
|
|
5
|
+
1. `indream_projects_create`
|
|
6
|
+
2. `indream_assets_upload`
|
|
7
|
+
3. update editor JSON assets and items
|
|
8
|
+
4. `indream_projects_sync`
|
|
9
|
+
5. `indream_editor_validate`
|
|
10
|
+
6. `indream_projects_create_export`
|
|
11
|
+
7. `indream_exports_wait`
|
|
12
|
+
|
|
13
|
+
## Useful recovery actions
|
|
14
|
+
|
|
15
|
+
- `indream_projects_get` to re-read the latest project state
|
|
16
|
+
- `indream_projects_list_assets` to inspect attached assets
|
|
17
|
+
- `indream_assets_get` to inspect asset metadata
|
|
18
|
+
- `indream_exports_get` to inspect one task
|
|
19
|
+
- `indream_exports_list` to inspect task history
|