gooseworks 0.5.7 → 0.5.9-dev.53.c1bd6be2

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 (65) hide show
  1. package/dist/kit/core/progress.d.ts +23 -3
  2. package/dist/kit/core/progress.d.ts.map +1 -1
  3. package/dist/kit/core/progress.js +62 -18
  4. package/dist/kit/core/progress.js.map +1 -1
  5. package/dist/kit/core/run.d.ts +5 -1
  6. package/dist/kit/core/run.d.ts.map +1 -1
  7. package/dist/kit/core/run.js +17 -4
  8. package/dist/kit/core/run.js.map +1 -1
  9. package/dist/kit/core/style.d.ts +1 -0
  10. package/dist/kit/core/style.d.ts.map +1 -1
  11. package/dist/kit/maker/cues.d.ts +67 -0
  12. package/dist/kit/maker/cues.d.ts.map +1 -0
  13. package/dist/kit/maker/cues.js +204 -0
  14. package/dist/kit/maker/cues.js.map +1 -0
  15. package/dist/kit/maker/encode.d.ts +5 -0
  16. package/dist/kit/maker/encode.d.ts.map +1 -1
  17. package/dist/kit/maker/encode.js +7 -1
  18. package/dist/kit/maker/encode.js.map +1 -1
  19. package/dist/kit/maker/facts.d.ts +46 -0
  20. package/dist/kit/maker/facts.d.ts.map +1 -0
  21. package/dist/kit/maker/facts.js +159 -0
  22. package/dist/kit/maker/facts.js.map +1 -0
  23. package/dist/kit/maker/inputs.d.ts +48 -3
  24. package/dist/kit/maker/inputs.d.ts.map +1 -1
  25. package/dist/kit/maker/inputs.js +151 -22
  26. package/dist/kit/maker/inputs.js.map +1 -1
  27. package/dist/kit/maker/make.d.ts +20 -1
  28. package/dist/kit/maker/make.d.ts.map +1 -1
  29. package/dist/kit/maker/make.js +125 -19
  30. package/dist/kit/maker/make.js.map +1 -1
  31. package/dist/kit/maker/page.d.ts.map +1 -1
  32. package/dist/kit/maker/page.js +49 -1
  33. package/dist/kit/maker/page.js.map +1 -1
  34. package/dist/kit/maker/parts/html-frames/1.2.0/part.json +1083 -0
  35. package/dist/kit/maker/parts/html-frames/src/part.d.ts.map +1 -1
  36. package/dist/kit/maker/parts/html-frames/src/part.js +4 -1
  37. package/dist/kit/maker/parts/html-frames/src/part.js.map +1 -1
  38. package/dist/kit/maker/runtime.d.ts.map +1 -1
  39. package/dist/kit/maker/runtime.js +54 -7
  40. package/dist/kit/maker/runtime.js.map +1 -1
  41. package/dist/kit/maker/timing.d.ts +74 -0
  42. package/dist/kit/maker/timing.d.ts.map +1 -0
  43. package/dist/kit/maker/timing.js +152 -0
  44. package/dist/kit/maker/timing.js.map +1 -0
  45. package/dist/kit/maker/under.d.ts +126 -0
  46. package/dist/kit/maker/under.d.ts.map +1 -0
  47. package/dist/kit/maker/under.js +299 -0
  48. package/dist/kit/maker/under.js.map +1 -0
  49. package/dist/skills/master-skill.js +1 -1
  50. package/dist/skills/routes.js +2 -2
  51. package/dist/skills/routes.js.map +1 -1
  52. package/dist/skills/server-entry-skills.d.ts +6 -6
  53. package/dist/skills/server-entry-skills.d.ts.map +1 -1
  54. package/dist/skills/server-entry-skills.js +84 -55
  55. package/dist/skills/server-entry-skills.js.map +1 -1
  56. package/package.json +3 -3
  57. package/skills/goose-ads/SKILL.md +6 -6
  58. package/skills/goose-product-photos/SKILL.md +6 -6
  59. package/skills/goose-video/SKILL.md +23 -13
  60. package/skills/goose-video-local/SKILL.md +1 -1
  61. package/skills/gooseworks/SKILL.md +6 -6
  62. package/skills/make-custom-video/SKILL.md +42 -23
  63. package/skills/manifest.json +7 -7
  64. package/skills/routes.json +1 -1
  65. package/dist/kit/maker/parts/html-frames/1.1.0/part.json +0 -199
@@ -1,199 +0,0 @@
1
- {
2
- "interface": 1,
3
- "id": "html-frames",
4
- "version": "1.1.0",
5
- "kind": "render_html",
6
- "title": "HTML frames",
7
- "summary": "Lays out a style's frame page with the plan's scenes, products and brand in the kit's Chromium, steps a virtual clock frame by frame and encodes the frames to H.264.",
8
- "runtime": "node",
9
- "entry": "part.mjs",
10
- "files": ["part.mjs"],
11
- "kit": ">=1.0.0 <2.0.0",
12
- "needs": {
13
- "browser": true,
14
- "ffmpeg": { "filters": ["scale", "setsar", "format", "transpose", "hflip", "vflip"], "encoders": ["libx264", "png", "mjpeg"] },
15
- "network": false,
16
- "models": [],
17
- "disk_mb": 1024
18
- },
19
- "inputs": {
20
- "type": "object",
21
- "additionalProperties": false,
22
- "required": ["template", "scenes", "aspect", "max_words"],
23
- "oneOf": [{ "required": ["duration_s"] }, { "required": ["scene_s"] }],
24
- "properties": {
25
- "template": {
26
- "description": "The style's frame page. The maker puts the kit runtime first in its head; the page reads window.kit and draws each frame from kit.render(fn), renderAt(t), seek(ms), or CSS and Web Animations.",
27
- "type": "object",
28
- "x-kit-file": { "media": "html" }
29
- },
30
- "frames": {
31
- "description": "Every other file the page uses (css, js, json, svg, png, jpg, webp), kept at the same places relative to the template. The page can load nothing else.",
32
- "type": "array",
33
- "maxItems": 200,
34
- "items": {
35
- "anyOf": [
36
- { "type": "object", "x-kit-file": { "media": "html" } },
37
- { "type": "object", "x-kit-file": { "media": "text" } },
38
- { "type": "object", "x-kit-file": { "media": "json" } },
39
- { "type": "object", "x-kit-file": { "media": "image" } }
40
- ]
41
- }
42
- },
43
- "fonts": {
44
- "description": "The style's fonts (ttf, otf, woff, woff2). CSS uses each by its file name without the extension.",
45
- "type": "array",
46
- "maxItems": 20,
47
- "items": { "type": "object", "x-kit-file": { "media": "font" } }
48
- },
49
- "scenes": {
50
- "description": "plan.scenes, in order. The scenes share the video evenly; kit.scenes carries each one's start_s and end_s, and picture and image as URLs when they are files.",
51
- "type": "array",
52
- "minItems": 1,
53
- "maxItems": 30,
54
- "items": {
55
- "type": "object",
56
- "properties": {
57
- "id": { "type": ["string", "null"], "maxLength": 64 },
58
- "line": { "type": ["string", "null"], "maxLength": 2000 },
59
- "on_screen": { "type": ["string", "null"], "maxLength": 2000 },
60
- "picture": {
61
- "anyOf": [
62
- { "type": "null" },
63
- { "type": "string", "maxLength": 2000 },
64
- { "type": "object", "x-kit-file": { "media": "image" } }
65
- ]
66
- },
67
- "image": {
68
- "description": "A picture the customer uploaded for this scene, as kit.scenes[i].image (a URL the page can load).",
69
- "anyOf": [{ "type": "null" }, { "type": "object", "x-kit-file": { "media": "image" } }]
70
- }
71
- }
72
- }
73
- },
74
- "max_words": {
75
- "description": "The style's scenes.max_words. A scene whose line or on-screen text has more words is refused.",
76
- "type": "integer",
77
- "minimum": 1,
78
- "maximum": 200
79
- },
80
- "products": {
81
- "description": "plan.products, in the customer's order. A PNG, JPEG or WebP photo over 2048 px on its long side, as shown after its EXIF orientation, reaches the page turned upright and scaled down to 2048 px (a PNG or WebP as PNG, keeping its transparency).",
82
- "type": "array",
83
- "maxItems": 12,
84
- "items": {
85
- "type": "object",
86
- "required": ["id"],
87
- "properties": {
88
- "id": { "type": "string", "minLength": 1 },
89
- "name": { "type": ["string", "null"], "maxLength": 2000 },
90
- "images": {
91
- "type": "array",
92
- "maxItems": 20,
93
- "items": { "type": "object", "x-kit-file": { "media": "image" } }
94
- }
95
- }
96
- }
97
- },
98
- "brand": {
99
- "description": "The brand frozen at the yes ({\"from\": \"brand\"}): name, logo, colors, fonts (heading, body), cta. Colours become CSS variables (--brand-primary, ...); fonts are brand-heading and brand-body.",
100
- "type": ["object", "null"],
101
- "properties": {
102
- "name": { "type": ["string", "null"], "maxLength": 2000 },
103
- "logo": { "anyOf": [{ "type": "null" }, { "type": "object", "x-kit-file": { "media": "image" } }] },
104
- "colors": { "type": ["object", "null"] },
105
- "fonts": {
106
- "type": ["object", "null"],
107
- "properties": {
108
- "heading": { "anyOf": [{ "type": "null" }, { "type": "object", "x-kit-file": { "media": "font" } }] },
109
- "body": { "anyOf": [{ "type": "null" }, { "type": "object", "x-kit-file": { "media": "font" } }] }
110
- }
111
- },
112
- "cta": { "type": ["object", "null"] }
113
- }
114
- },
115
- "aspect": { "enum": ["9:16", "1:1", "4:5", "16:9"] },
116
- "duration_s": {
117
- "description": "Length of the whole video, in seconds. Give this or scene_s.",
118
- "type": "number",
119
- "minimum": 0.5,
120
- "maximum": 180
121
- },
122
- "scene_s": {
123
- "description": "Seconds per scene; the video is this times the number of scenes. Give this or duration_s.",
124
- "type": "number",
125
- "exclusiveMinimum": 0,
126
- "maximum": 60
127
- },
128
- "fps": { "type": "integer", "minimum": 1, "maximum": 60, "default": 30 },
129
- "short_side": {
130
- "description": "Pixels on the short side of the video. The page is always laid out at 1080 and scaled.",
131
- "enum": [720, 1080],
132
- "default": 1080
133
- },
134
- "values": {
135
- "description": "The style's own plain values for its page (labels, look choices), as kit.values.",
136
- "type": "object"
137
- }
138
- }
139
- },
140
- "outputs": {
141
- "type": "object",
142
- "additionalProperties": false,
143
- "required": ["video", "seconds", "timeline"],
144
- "properties": {
145
- "video": {
146
- "description": "H.264 in yuv420p, BT.709, no sound, at the aspect's size.",
147
- "type": "object",
148
- "x-kit-file": { "media": "video", "mime": ["video/mp4"] }
149
- },
150
- "seconds": { "type": "number", "exclusiveMinimum": 0 },
151
- "timeline": {
152
- "description": "duration_s, width, height, fps, scenes [{id, start_s, end_s}], an empty speech list and, when the page shows the brand's logo, safe_zones with its box in the video's pixels (the picture of kit.brand.logo as drawn on the last frame that shows it).",
153
- "type": "object",
154
- "required": ["duration_s", "width", "height", "fps", "scenes", "speech"],
155
- "properties": {
156
- "duration_s": { "type": "number" },
157
- "width": { "type": "integer" },
158
- "height": { "type": "integer" },
159
- "fps": { "type": "number" },
160
- "scenes": {
161
- "type": "array",
162
- "items": {
163
- "type": "object",
164
- "required": ["id", "start_s", "end_s"],
165
- "properties": {
166
- "id": { "type": "string" },
167
- "start_s": { "type": "number" },
168
- "end_s": { "type": "number" }
169
- }
170
- }
171
- },
172
- "speech": { "type": "array", "maxItems": 0 },
173
- "safe_zones": {
174
- "type": "array",
175
- "maxItems": 1,
176
- "items": {
177
- "type": "object",
178
- "additionalProperties": false,
179
- "required": ["use", "x", "y", "w", "h"],
180
- "properties": {
181
- "use": { "enum": ["logo"] },
182
- "x": { "type": "number", "minimum": 0 },
183
- "y": { "type": "number", "minimum": 0 },
184
- "w": { "type": "number", "exclusiveMinimum": 0 },
185
- "h": { "type": "number", "exclusiveMinimum": 0 }
186
- }
187
- }
188
- }
189
- }
190
- }
191
- }
192
- },
193
- "cost": { "basis": "free" },
194
- "determinism": "pure",
195
- "timing": { "typical_s": 90, "timeout_s": 1200 },
196
- "retry": { "transient": 1 },
197
- "replaces": ["render-html-frames", "render-search-grid", "render-photo-grid-card", "render-logo-equation-card", "create-kinetic-typography"],
198
- "x-determinism-scope": "pure within one render environment: the same inputs give the same bytes on the same operating system, Chromium build and fonts. The kit's toolchain id carries the browser's render fingerprint (version, platform and a hash of a probe page drawn with the system's fonts), so a cached step is never reused on a computer that would draw it differently."
199
- }