@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.
Files changed (31) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +6 -0
  3. package/dist/chunk-ENGUNMFI.js +196 -0
  4. package/dist/index.d.ts +11 -0
  5. package/dist/index.js +781 -0
  6. package/dist/setup-entry.d.ts +11 -0
  7. package/dist/setup-entry.js +20 -0
  8. package/openclaw.plugin.json +98 -0
  9. package/package.json +58 -0
  10. package/skills/indream-editor-json/SKILL.md +157 -0
  11. package/skills/indream-editor-json/references/asset-mapping.md +147 -0
  12. package/skills/indream-editor-json/references/common-items.md +280 -0
  13. package/skills/indream-editor-json/references/editor-state.v1.schema.json +1491 -0
  14. package/skills/indream-editor-json/references/keyframes.md +102 -0
  15. package/skills/indream-editor-json/references/material-libraries.md +97 -0
  16. package/skills/indream-editor-json/references/minimal-editor-state.json +36 -0
  17. package/skills/indream-editor-json/references/motion-effects-and-transitions.md +235 -0
  18. package/skills/indream-editor-json/references/recipes.md +122 -0
  19. package/skills/indream-editor-json/references/structure-and-principles.md +159 -0
  20. package/skills/indream-editor-json/references/template-catalog.md +45 -0
  21. package/skills/indream-editor-json/references/templates/chart-showcase.json +654 -0
  22. package/skills/indream-editor-json/references/templates/gallery-carousel.json +538 -0
  23. package/skills/indream-editor-json/references/templates/hello-world.json +212 -0
  24. package/skills/indream-editor-json/references/templates/illustration-board.json +480 -0
  25. package/skills/indream-editor-json/references/templates/keyframe-motion-lab.json +362 -0
  26. package/skills/indream-editor-json/references/templates/product-intro.json +614 -0
  27. package/skills/indream-editor-json/references/templates/subtitle-promo.json +341 -0
  28. package/skills/indream-editor-json/references/text-and-captions.md +211 -0
  29. package/skills/indream-editor-json/references/validation-repair.md +134 -0
  30. package/skills/indream-render-workflow/SKILL.md +57 -0
  31. package/skills/indream-render-workflow/references/workflow.md +19 -0
@@ -0,0 +1,280 @@
1
+ # Core Timeline Items
2
+
3
+ Every item must include:
4
+
5
+ - `id`
6
+ - `type`
7
+ - `startTicks`
8
+ - `durationTicks`
9
+ - `isDraggingInTimeline`
10
+
11
+ Most visible items also require animated geometry fields:
12
+
13
+ - `top`
14
+ - `left`
15
+ - `width`
16
+ - `height`
17
+ - `scaleX`
18
+ - `scaleY`
19
+ - `opacity`
20
+
21
+ Use `{ "value": number, "keyframes": [] }` for static fields.
22
+
23
+ ## Image item
24
+
25
+ Use for still images, posters, product shots, screenshots, and cutouts.
26
+
27
+ Required fields:
28
+
29
+ - `type: "image"`
30
+ - `assetId`
31
+ - `keepAspectRatio`
32
+ - `borderRadius`
33
+ - `rotation`
34
+ - full base geometry fields
35
+
36
+ Common optional fields:
37
+
38
+ - `cropLeft`
39
+ - `cropTop`
40
+ - `cropRight`
41
+ - `cropBottom`
42
+ - `animations`
43
+ - `stickerId`
44
+ - `stickerVersion`
45
+
46
+ ## Video item
47
+
48
+ Use for normal footage and motion clips with optional embedded audio.
49
+
50
+ Required fields:
51
+
52
+ - `type: "video"`
53
+ - `assetId`
54
+ - `keepAspectRatio`
55
+ - `borderRadius`
56
+ - `rotation`
57
+ - `videoStartFromInSeconds`
58
+ - `decibelAdjustment`
59
+ - `playbackRate`
60
+ - `audioFadeInDurationInSeconds`
61
+ - `audioFadeOutDurationInSeconds`
62
+ - full base geometry fields
63
+
64
+ Common optional fields:
65
+
66
+ - `cropLeft`
67
+ - `cropTop`
68
+ - `cropRight`
69
+ - `cropBottom`
70
+ - `animations`
71
+
72
+ Practical notes:
73
+
74
+ - Use `playbackRate: 1` unless the user asked for speed changes.
75
+ - Use `decibelAdjustment` as an animated number track even for static volume.
76
+ - Keep `audioFadeInDurationInSeconds` and `audioFadeOutDurationInSeconds` at `0` unless the user asked for fades.
77
+
78
+ ## GIF item
79
+
80
+ Use for looping motion graphics stored as GIF.
81
+
82
+ Required fields:
83
+
84
+ - `type: "gif"`
85
+ - `assetId`
86
+ - `keepAspectRatio`
87
+ - `borderRadius`
88
+ - `rotation`
89
+ - `gifStartFromInSeconds`
90
+ - `playbackRate`
91
+ - full base geometry fields
92
+
93
+ Common optional fields:
94
+
95
+ - `cropLeft`
96
+ - `cropTop`
97
+ - `cropRight`
98
+ - `cropBottom`
99
+ - `animations`
100
+
101
+ ## Lottie item
102
+
103
+ Use for Lottie or SVG-based animated assets.
104
+
105
+ Required fields:
106
+
107
+ - `type: "lottie"`
108
+ - `assetId`
109
+ - `keepAspectRatio`
110
+ - `rotation`
111
+ - `lottieStartFromInSeconds`
112
+ - `playbackRate`
113
+ - full base geometry fields
114
+
115
+ Common optional fields:
116
+
117
+ - `animations`
118
+
119
+ ## Audio item
120
+
121
+ Use for music tracks, narration, or voice-over.
122
+
123
+ Required fields:
124
+
125
+ - `type: "audio"`
126
+ - `assetId`
127
+ - `audioStartFromInSeconds`
128
+ - `decibelAdjustment`
129
+ - `playbackRate`
130
+ - `audioFadeInDurationInSeconds`
131
+ - `audioFadeOutDurationInSeconds`
132
+ - full base geometry fields
133
+
134
+ Practical notes:
135
+
136
+ - Audio items still inherit the base item geometry fields from the schema.
137
+ - Use harmless static defaults for geometry when the item is audio-only.
138
+ - Keep `opacity` at `1` and geometry at stable defaults unless a house convention says otherwise.
139
+
140
+ ## Solid item
141
+
142
+ Use for color cards, full-screen backgrounds, blocks, lower thirds, separators, and shape masks.
143
+
144
+ Required fields:
145
+
146
+ - `type: "solid"`
147
+ - `color`
148
+ - `shape`
149
+ - `keepAspectRatio`
150
+ - `borderRadius`
151
+ - `rotation`
152
+ - full base geometry fields
153
+
154
+ Supported `shape` values:
155
+
156
+ - `rectangle`
157
+ - `circle`
158
+ - `triangle`
159
+ - `star`
160
+
161
+ Common optional fields:
162
+
163
+ - `animations`
164
+
165
+ ## Illustration item
166
+
167
+ Use for product illustrations or decorative vector-like library art.
168
+
169
+ Required fields:
170
+
171
+ - `type: "illustration"`
172
+ - `illustrationName`
173
+ - `color`
174
+ - `keepAspectRatio`
175
+ - `rotation`
176
+ - full base geometry fields
177
+
178
+ Common optional fields:
179
+
180
+ - `animations`
181
+
182
+ Important:
183
+
184
+ - `illustrationName` should come from `indream_editor_capabilities` or from a known existing draft.
185
+
186
+ ## Effect item
187
+
188
+ Use for timeline-scoped visual effects that apply over a time range.
189
+
190
+ Required fields:
191
+
192
+ - `type: "effect"`
193
+ - `effectType`
194
+ - `intensity`
195
+ - `startTicks`
196
+ - `durationTicks`
197
+ - `isDraggingInTimeline`
198
+
199
+ Supported schema values:
200
+
201
+ - `flash-to-black`
202
+ - `blur`
203
+ - `blurred-opening`
204
+ - `fade-in`
205
+ - `fade-out`
206
+
207
+ Common optional fields:
208
+
209
+ - `params`
210
+
211
+ Practical notes:
212
+
213
+ - Effects are timeline items, not transitions.
214
+ - Effects do not require `assetId`.
215
+ - Use capability results as the source of truth if the runtime exposes a narrower or richer allowed set.
216
+
217
+ ## Filter item
218
+
219
+ Use for timed look treatments that apply over a time range.
220
+
221
+ Required fields:
222
+
223
+ - `type: "filter"`
224
+ - `filterType`
225
+ - `intensity`
226
+ - `startTicks`
227
+ - `durationTicks`
228
+ - `isDraggingInTimeline`
229
+
230
+ Supported schema values:
231
+
232
+ - `verdant-glow`
233
+ - `cyberpunk-neon`
234
+ - `vaporwave-blue`
235
+ - `sunset-orange`
236
+ - `lemon-cyan`
237
+ - `absolute-red`
238
+ - `sakura-pink`
239
+ - `twilight-dusk`
240
+
241
+ Common optional fields:
242
+
243
+ - `params`
244
+
245
+ Practical notes:
246
+
247
+ - `params.blend` is a common example pattern, but do not invent unknown parameter names.
248
+ - Keep filter windows aligned with the exact clips or moments the user described.
249
+
250
+ ## Chart item
251
+
252
+ Use for data-driven visualizations.
253
+
254
+ Required fields:
255
+
256
+ - `type: "chart"`
257
+ - `chartType`
258
+ - `themeColor`
259
+ - `data`
260
+ - `animationDurationTicks`
261
+ - `keepAspectRatio`
262
+ - `rotation`
263
+ - full base geometry fields
264
+
265
+ Common optional fields:
266
+
267
+ - `animations`
268
+
269
+ Practical notes:
270
+
271
+ - `chartType` is a free string in the schema, but the current editor implementation uses these practical values:
272
+ - `line`
273
+ - `bar`
274
+ - `area`
275
+ - `pie`
276
+ - `radar`
277
+ - `scatter`
278
+ - Use the user's requested chart type when they specify it.
279
+ - If the user asked for a generic chart and no product-specific convention exists, `bar` is a safe default because it appears in fixtures and product code.
280
+ - Keep `data` close to the user's source numbers instead of transforming it unnecessarily.