@ikenga/pkg-studio 0.2.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.
@@ -0,0 +1,19 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <title>Studio · Ikenga</title>
7
+ <!--
8
+ All visual tokens come from @ikenga/tokens via src/studio/styles/index.css
9
+ (imported by main.tsx). That import is the iframe-side fix for G21: the
10
+ pkg_content sandbox must own its var(--*) namespace; the shell's chrome
11
+ tokens don't bleed through.
12
+ -->
13
+ <script type="module" crossorigin src="./assets/index-BhGjiVVg.js"></script>
14
+ <link rel="stylesheet" crossorigin href="./assets/index-CU3hFKgx.css">
15
+ </head>
16
+ <body>
17
+ <div id="root"></div>
18
+ </body>
19
+ </html>
package/manifest.json ADDED
@@ -0,0 +1,219 @@
1
+ {
2
+ "id": "com.ikenga.studio",
3
+ "name": "Studio",
4
+ "version": "0.2.0",
5
+ "ikenga_api": "1",
6
+ "kind": "embedded",
7
+ "author": {
8
+ "name": "Royalti",
9
+ "key": "royalti"
10
+ },
11
+ "requires": [
12
+ {
13
+ "kind": "bundle",
14
+ "name": "studio-archetypes",
15
+ "source": "npx"
16
+ },
17
+ {
18
+ "kind": "bundle",
19
+ "name": "studio-toolchain",
20
+ "source": "npx"
21
+ },
22
+ {
23
+ "kind": "skill",
24
+ "name": "studio-beat-detect",
25
+ "source": "npx"
26
+ },
27
+ {
28
+ "kind": "skill",
29
+ "name": "studio-doctor",
30
+ "source": "npx"
31
+ },
32
+ {
33
+ "kind": "skill",
34
+ "name": "video-script-structure",
35
+ "source": "npx"
36
+ },
37
+ {
38
+ "kind": "skill",
39
+ "name": "storyboard-workflow",
40
+ "source": "npx"
41
+ }
42
+ ],
43
+ "ui": {
44
+ "nav": [
45
+ {
46
+ "id": "studio.index",
47
+ "label": "Studio",
48
+ "icon": "clapperboard",
49
+ "section": "ops",
50
+ "route": "/pkg/com.ikenga.studio/studio"
51
+ }
52
+ ],
53
+ "routes": [
54
+ {
55
+ "path": "/studio",
56
+ "kind": "iframe",
57
+ "source": "dist/index.html"
58
+ }
59
+ ],
60
+ "csp": {
61
+ "default-src": [
62
+ "'self'"
63
+ ],
64
+ "script-src": [
65
+ "'self'",
66
+ "'unsafe-inline'",
67
+ "https://esm.sh",
68
+ "https://cdn.jsdelivr.net",
69
+ "https://cdn.tailwindcss.com"
70
+ ],
71
+ "style-src": [
72
+ "'self'",
73
+ "'unsafe-inline'",
74
+ "https://esm.sh",
75
+ "https://cdn.jsdelivr.net",
76
+ "https://cdn.tailwindcss.com"
77
+ ],
78
+ "font-src": [
79
+ "'self'",
80
+ "https://esm.sh",
81
+ "https://cdn.jsdelivr.net",
82
+ "data:"
83
+ ],
84
+ "img-src": [
85
+ "'self'",
86
+ "data:",
87
+ "blob:",
88
+ "file:"
89
+ ],
90
+ "media-src": [
91
+ "'self'",
92
+ "blob:",
93
+ "file:"
94
+ ],
95
+ "connect-src": [
96
+ "'self'",
97
+ "http://127.0.0.1:*",
98
+ "https://esm.sh",
99
+ "https://cdn.jsdelivr.net",
100
+ "https://*.supabase.co",
101
+ "wss://*.supabase.co"
102
+ ]
103
+ }
104
+ },
105
+ "sidecars": [
106
+ {
107
+ "name": "pa-com-ikenga-studio-project",
108
+ "bin": "sidecars/project/dist/sidecar.js",
109
+ "stdio": "json",
110
+ "restart_when_changed": [
111
+ "sidecars/project/dist/sidecar.js"
112
+ ],
113
+ "auto_restart": true
114
+ }
115
+ ],
116
+ "mcp": [
117
+ {
118
+ "name": "studio",
119
+ "command": "node",
120
+ "args": [
121
+ "mcp/dist/index.js"
122
+ ],
123
+ "lifecycle": "long-lived",
124
+ "restart_when_changed": [
125
+ "mcp/dist/index.js"
126
+ ],
127
+ "auto_restart": true,
128
+ "env": {
129
+ "STUDIO_TRUST_STUB": "1"
130
+ }
131
+ }
132
+ ],
133
+ "iyke": {
134
+ "routes": [
135
+ {
136
+ "method": "POST",
137
+ "path": "/pkg/com.ikenga.studio/project/open",
138
+ "handler": "sidecar:pa-com-ikenga-studio-project project.open"
139
+ },
140
+ {
141
+ "method": "POST",
142
+ "path": "/pkg/com.ikenga.studio/project/close",
143
+ "handler": "sidecar:pa-com-ikenga-studio-project project.close"
144
+ },
145
+ {
146
+ "method": "GET",
147
+ "path": "/pkg/com.ikenga.studio/project/list",
148
+ "handler": "sidecar:pa-com-ikenga-studio-project project.list"
149
+ },
150
+ {
151
+ "method": "POST",
152
+ "path": "/pkg/com.ikenga.studio/render/enqueue",
153
+ "handler": "sidecar:pa-com-ikenga-studio-project render.enqueue"
154
+ }
155
+ ],
156
+ "events": [
157
+ "pkg://com.ikenga.studio/cells/changed",
158
+ "pkg://com.ikenga.studio/render/progress",
159
+ "pkg://com.ikenga.studio/render/done"
160
+ ]
161
+ },
162
+ "settings": {
163
+ "schema": [
164
+ {
165
+ "key": "default_engine",
166
+ "type": "string",
167
+ "label": "Default render engine",
168
+ "default": "auto",
169
+ "description": "Renderer used when a cell does not pin one. 'auto' resolves the best available adapter."
170
+ },
171
+ {
172
+ "key": "veo_api_key",
173
+ "type": "secret",
174
+ "label": "Veo API key",
175
+ "description": "Phase 3 \u2014 Google Veo AI-generation adapter. Unused in Phase 1."
176
+ },
177
+ {
178
+ "key": "kling_api_key",
179
+ "type": "secret",
180
+ "label": "Kling API key",
181
+ "description": "Phase 3 \u2014 Kling AI-generation adapter. Unused in Phase 1."
182
+ },
183
+ {
184
+ "key": "runway_api_key",
185
+ "type": "secret",
186
+ "label": "Runway API key",
187
+ "description": "Phase 3 \u2014 Runway AI-generation adapter. Unused in Phase 1."
188
+ }
189
+ ]
190
+ },
191
+ "permissions": {
192
+ "shell.execute": [
193
+ "bun",
194
+ "npx",
195
+ "node",
196
+ "ffmpeg",
197
+ "chromium",
198
+ "python3"
199
+ ],
200
+ "fs.read": [
201
+ "$pkg_data/**"
202
+ ],
203
+ "fs.write": [
204
+ "$pkg_data/**"
205
+ ],
206
+ "net": [
207
+ "http://127.0.0.1:*",
208
+ "https://esm.sh",
209
+ "https://cdn.jsdelivr.net",
210
+ "https://cdn.tailwindcss.com",
211
+ "https://*.supabase.co"
212
+ ],
213
+ "vault.keys": [
214
+ "studio.veo",
215
+ "studio.kling",
216
+ "studio.runway"
217
+ ]
218
+ }
219
+ }