@dfosco/storyboard 0.5.0-alpha.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 (592) hide show
  1. package/commandpalette.config.json +152 -0
  2. package/dist/storyboard-ui.css +1 -0
  3. package/dist/storyboard-ui.js +21328 -0
  4. package/dist/storyboard-ui.js.map +1 -0
  5. package/dist/tailwind.css +2 -0
  6. package/dist/tiny-canvas.css +1 -0
  7. package/dist/tiny-canvas.js +389 -0
  8. package/package.json +121 -0
  9. package/paste.config.json +67 -0
  10. package/scaffold/AGENTS.md +432 -0
  11. package/scaffold/agents/prompt-agent.agent.md +181 -0
  12. package/scaffold/agents/terminal-agent.agent.md +351 -0
  13. package/scaffold/codex/config.toml +246 -0
  14. package/scaffold/deploy.yml +103 -0
  15. package/scaffold/githooks/pre-push +114 -0
  16. package/scaffold/gitignore +64 -0
  17. package/scaffold/manifest.json +56 -0
  18. package/scaffold/preview.yml +181 -0
  19. package/scaffold/scripts/link.sh +26 -0
  20. package/scaffold/scripts/unlink.sh +10 -0
  21. package/scaffold/skills/agent-browser/SKILL.md +260 -0
  22. package/scaffold/skills/canvas/SKILL.md +364 -0
  23. package/scaffold/skills/create/SKILL.md +501 -0
  24. package/scaffold/skills/ship/SKILL.md +237 -0
  25. package/scaffold/skills/storyboard/SKILL.md +360 -0
  26. package/scaffold/skills/update-storyboard/SKILL.md +16 -0
  27. package/scaffold/skills/update-storyboard/update-storyboard-packages.sh +26 -0
  28. package/scaffold/skills/vitest/GENERATION.md +5 -0
  29. package/scaffold/skills/vitest/SKILL.md +52 -0
  30. package/scaffold/skills/vitest/references/advanced-environments.md +264 -0
  31. package/scaffold/skills/vitest/references/advanced-projects.md +300 -0
  32. package/scaffold/skills/vitest/references/advanced-type-testing.md +237 -0
  33. package/scaffold/skills/vitest/references/advanced-vi.md +249 -0
  34. package/scaffold/skills/vitest/references/core-cli.md +166 -0
  35. package/scaffold/skills/vitest/references/core-config.md +174 -0
  36. package/scaffold/skills/vitest/references/core-describe.md +193 -0
  37. package/scaffold/skills/vitest/references/core-expect.md +219 -0
  38. package/scaffold/skills/vitest/references/core-hooks.md +244 -0
  39. package/scaffold/skills/vitest/references/core-test-api.md +233 -0
  40. package/scaffold/skills/vitest/references/features-concurrency.md +250 -0
  41. package/scaffold/skills/vitest/references/features-context.md +238 -0
  42. package/scaffold/skills/vitest/references/features-coverage.md +207 -0
  43. package/scaffold/skills/vitest/references/features-filtering.md +211 -0
  44. package/scaffold/skills/vitest/references/features-mocking.md +265 -0
  45. package/scaffold/skills/vitest/references/features-snapshots.md +207 -0
  46. package/scaffold/skills/worktree/SKILL.md +93 -0
  47. package/scaffold/storyboard.config.json +44 -0
  48. package/src/canvas/Canvas.jsx +78 -0
  49. package/src/canvas/Draggable.jsx +235 -0
  50. package/src/canvas/index.d.ts +41 -0
  51. package/src/canvas/index.js +6 -0
  52. package/src/canvas/style.css +118 -0
  53. package/src/canvas/useResetCanvas.js +17 -0
  54. package/src/canvas/utils.js +136 -0
  55. package/src/core/assets/fonts/IoskeleyMono-Bold.woff2 +0 -0
  56. package/src/core/assets/fonts/IoskeleyMono-Italic.woff2 +0 -0
  57. package/src/core/assets/fonts/IoskeleyMono-Medium.woff2 +0 -0
  58. package/src/core/assets/fonts/IoskeleyMono-Regular.woff2 +0 -0
  59. package/src/core/assets/fonts/IoskeleyMono-SemiBold.woff2 +0 -0
  60. package/src/core/autosync/server.js +714 -0
  61. package/src/core/autosync/server.test.js +158 -0
  62. package/src/core/canvas/__tests__/agent-integration.test.js +596 -0
  63. package/src/core/canvas/__tests__/helpers/browser.js +95 -0
  64. package/src/core/canvas/__tests__/helpers/canvas-api.js +129 -0
  65. package/src/core/canvas/__tests__/helpers/perf.js +118 -0
  66. package/src/core/canvas/__tests__/helpers/setup.js +176 -0
  67. package/src/core/canvas/__tests__/helpers/tmux.js +130 -0
  68. package/src/core/canvas/__tests__/helpers/transcript.js +132 -0
  69. package/src/core/canvas/__tests__/terminal-integration.test.js +177 -0
  70. package/src/core/canvas/collision.js +292 -0
  71. package/src/core/canvas/collision.test.js +371 -0
  72. package/src/core/canvas/compact.js +83 -0
  73. package/src/core/canvas/deriveCanvasId.test.js +40 -0
  74. package/src/core/canvas/githubEmbeds.js +527 -0
  75. package/src/core/canvas/githubEmbeds.test.js +302 -0
  76. package/src/core/canvas/hot-pool.js +766 -0
  77. package/src/core/canvas/identity.js +107 -0
  78. package/src/core/canvas/identity.test.js +100 -0
  79. package/src/core/canvas/materializer.js +259 -0
  80. package/src/core/canvas/materializer.test.js +356 -0
  81. package/src/core/canvas/selectedWidgets.js +270 -0
  82. package/src/core/canvas/selectedWidgets.test.js +321 -0
  83. package/src/core/canvas/server.js +3134 -0
  84. package/src/core/canvas/server.test.js +379 -0
  85. package/src/core/canvas/terminal-config.js +330 -0
  86. package/src/core/canvas/terminal-registry.js +465 -0
  87. package/src/core/canvas/terminal-server.js +1436 -0
  88. package/src/core/canvas/writeGuard.js +53 -0
  89. package/src/core/cli/agent.js +85 -0
  90. package/src/core/cli/branch.js +386 -0
  91. package/src/core/cli/canvasAdd.js +241 -0
  92. package/src/core/cli/canvasBatch.js +98 -0
  93. package/src/core/cli/canvasBounds.js +160 -0
  94. package/src/core/cli/canvasRead.js +236 -0
  95. package/src/core/cli/canvasUpdate.js +179 -0
  96. package/src/core/cli/code.js +67 -0
  97. package/src/core/cli/compact.js +62 -0
  98. package/src/core/cli/create.js +674 -0
  99. package/src/core/cli/dev-helpers.js +53 -0
  100. package/src/core/cli/dev-helpers.test.js +53 -0
  101. package/src/core/cli/dev.js +430 -0
  102. package/src/core/cli/exit.js +38 -0
  103. package/src/core/cli/flags.js +174 -0
  104. package/src/core/cli/flags.test.js +155 -0
  105. package/src/core/cli/index.js +233 -0
  106. package/src/core/cli/intro.js +37 -0
  107. package/src/core/cli/proxy.js +319 -0
  108. package/src/core/cli/proxy.test.js +63 -0
  109. package/src/core/cli/schemas.js +223 -0
  110. package/src/core/cli/server.js +192 -0
  111. package/src/core/cli/serverUrl.js +61 -0
  112. package/src/core/cli/sessions.js +459 -0
  113. package/src/core/cli/setup.js +404 -0
  114. package/src/core/cli/terminal-commands.js +287 -0
  115. package/src/core/cli/terminal-messaging.js +231 -0
  116. package/src/core/cli/terminal-welcome.js +515 -0
  117. package/src/core/cli/updateVersion.js +124 -0
  118. package/src/core/comments/api.js +284 -0
  119. package/src/core/comments/api.test.js +282 -0
  120. package/src/core/comments/auth.js +151 -0
  121. package/src/core/comments/auth.test.js +167 -0
  122. package/src/core/comments/commentCache.js +109 -0
  123. package/src/core/comments/commentCache.test.js +48 -0
  124. package/src/core/comments/commentDrafts.js +68 -0
  125. package/src/core/comments/commentMode.js +63 -0
  126. package/src/core/comments/commentMode.test.js +90 -0
  127. package/src/core/comments/config.js +47 -0
  128. package/src/core/comments/config.test.js +77 -0
  129. package/src/core/comments/graphql.js +65 -0
  130. package/src/core/comments/graphql.test.js +95 -0
  131. package/src/core/comments/index.js +42 -0
  132. package/src/core/comments/metadata.js +52 -0
  133. package/src/core/comments/metadata.test.js +110 -0
  134. package/src/core/comments/queries.js +245 -0
  135. package/src/core/comments/ui/AuthModal.jsx +114 -0
  136. package/src/core/comments/ui/CommentOverlay.js +52 -0
  137. package/src/core/comments/ui/CommentWindow.jsx +329 -0
  138. package/src/core/comments/ui/CommentsDrawer.jsx +102 -0
  139. package/src/core/comments/ui/Composer.jsx +64 -0
  140. package/src/core/comments/ui/authModal.js +66 -0
  141. package/src/core/comments/ui/authModal.test.js +76 -0
  142. package/src/core/comments/ui/comment-cursor-dark.svg +1 -0
  143. package/src/core/comments/ui/comment-cursor.svg +1 -0
  144. package/src/core/comments/ui/comment-layout.css +142 -0
  145. package/src/core/comments/ui/commentWindow.js +121 -0
  146. package/src/core/comments/ui/comments.css +242 -0
  147. package/src/core/comments/ui/commentsDrawer.js +84 -0
  148. package/src/core/comments/ui/composer.js +136 -0
  149. package/src/core/comments/ui/index.js +14 -0
  150. package/src/core/comments/ui/mount.js +687 -0
  151. package/src/core/comments/ui/mount.test.js +336 -0
  152. package/src/core/data/dotPath.js +53 -0
  153. package/src/core/data/dotPath.test.js +114 -0
  154. package/src/core/data/loader.js +409 -0
  155. package/src/core/data/loader.test.js +599 -0
  156. package/src/core/data/viewfinder.js +363 -0
  157. package/src/core/data/viewfinder.test.js +456 -0
  158. package/src/core/devtools/devtools-consumer.js +28 -0
  159. package/src/core/devtools/devtools.js +144 -0
  160. package/src/core/devtools/devtools.test.js +75 -0
  161. package/src/core/devtools/sceneDebug.js +112 -0
  162. package/src/core/devtools/sceneDebug.test.js +141 -0
  163. package/src/core/index.js +124 -0
  164. package/src/core/inspector/fiberWalker.js +239 -0
  165. package/src/core/inspector/highlighter.js +275 -0
  166. package/src/core/inspector/mouseMode.js +259 -0
  167. package/src/core/lib/components/ui/alert/alert-action.jsx +11 -0
  168. package/src/core/lib/components/ui/alert/alert-description.jsx +11 -0
  169. package/src/core/lib/components/ui/alert/alert-title.jsx +11 -0
  170. package/src/core/lib/components/ui/alert/alert.jsx +25 -0
  171. package/src/core/lib/components/ui/alert/index.js +17 -0
  172. package/src/core/lib/components/ui/avatar/avatar-badge.jsx +22 -0
  173. package/src/core/lib/components/ui/avatar/avatar-fallback.jsx +18 -0
  174. package/src/core/lib/components/ui/avatar/avatar-group-count.jsx +19 -0
  175. package/src/core/lib/components/ui/avatar/avatar-group.jsx +19 -0
  176. package/src/core/lib/components/ui/avatar/avatar-image.jsx +15 -0
  177. package/src/core/lib/components/ui/avatar/avatar.jsx +19 -0
  178. package/src/core/lib/components/ui/avatar/index.js +22 -0
  179. package/src/core/lib/components/ui/badge/badge.jsx +31 -0
  180. package/src/core/lib/components/ui/badge/index.js +2 -0
  181. package/src/core/lib/components/ui/button/button.jsx +100 -0
  182. package/src/core/lib/components/ui/button/index.js +12 -0
  183. package/src/core/lib/components/ui/card/card-action.jsx +11 -0
  184. package/src/core/lib/components/ui/card/card-content.jsx +11 -0
  185. package/src/core/lib/components/ui/card/card-description.jsx +11 -0
  186. package/src/core/lib/components/ui/card/card-footer.jsx +11 -0
  187. package/src/core/lib/components/ui/card/card-header.jsx +19 -0
  188. package/src/core/lib/components/ui/card/card-title.jsx +11 -0
  189. package/src/core/lib/components/ui/card/card.jsx +17 -0
  190. package/src/core/lib/components/ui/card/index.js +25 -0
  191. package/src/core/lib/components/ui/checkbox/checkbox.jsx +29 -0
  192. package/src/core/lib/components/ui/checkbox/index.js +6 -0
  193. package/src/core/lib/components/ui/collapsible/collapsible-content.jsx +7 -0
  194. package/src/core/lib/components/ui/collapsible/collapsible-trigger.jsx +7 -0
  195. package/src/core/lib/components/ui/collapsible/collapsible.jsx +7 -0
  196. package/src/core/lib/components/ui/collapsible/index.js +13 -0
  197. package/src/core/lib/components/ui/dialog/dialog-close.jsx +7 -0
  198. package/src/core/lib/components/ui/dialog/dialog-content.jsx +34 -0
  199. package/src/core/lib/components/ui/dialog/dialog-description.jsx +15 -0
  200. package/src/core/lib/components/ui/dialog/dialog-footer.jsx +23 -0
  201. package/src/core/lib/components/ui/dialog/dialog-header.jsx +11 -0
  202. package/src/core/lib/components/ui/dialog/dialog-overlay.jsx +15 -0
  203. package/src/core/lib/components/ui/dialog/dialog-portal.jsx +4 -0
  204. package/src/core/lib/components/ui/dialog/dialog-title.jsx +15 -0
  205. package/src/core/lib/components/ui/dialog/dialog-trigger.jsx +7 -0
  206. package/src/core/lib/components/ui/dialog/dialog.jsx +4 -0
  207. package/src/core/lib/components/ui/dialog/index.js +34 -0
  208. package/src/core/lib/components/ui/dropdown-menu/dropdown-menu-checkbox-group.jsx +8 -0
  209. package/src/core/lib/components/ui/dropdown-menu/dropdown-menu-checkbox-item.jsx +30 -0
  210. package/src/core/lib/components/ui/dropdown-menu/dropdown-menu-content.jsx +22 -0
  211. package/src/core/lib/components/ui/dropdown-menu/dropdown-menu-group-heading.jsx +16 -0
  212. package/src/core/lib/components/ui/dropdown-menu/dropdown-menu-group.jsx +7 -0
  213. package/src/core/lib/components/ui/dropdown-menu/dropdown-menu-item.jsx +20 -0
  214. package/src/core/lib/components/ui/dropdown-menu/dropdown-menu-label.jsx +17 -0
  215. package/src/core/lib/components/ui/dropdown-menu/dropdown-menu-portal.jsx +4 -0
  216. package/src/core/lib/components/ui/dropdown-menu/dropdown-menu-radio-group.jsx +7 -0
  217. package/src/core/lib/components/ui/dropdown-menu/dropdown-menu-radio-item.jsx +29 -0
  218. package/src/core/lib/components/ui/dropdown-menu/dropdown-menu-separator.jsx +15 -0
  219. package/src/core/lib/components/ui/dropdown-menu/dropdown-menu-shortcut.jsx +16 -0
  220. package/src/core/lib/components/ui/dropdown-menu/dropdown-menu-sub-content.jsx +15 -0
  221. package/src/core/lib/components/ui/dropdown-menu/dropdown-menu-sub-trigger.jsx +23 -0
  222. package/src/core/lib/components/ui/dropdown-menu/dropdown-menu-sub.jsx +4 -0
  223. package/src/core/lib/components/ui/dropdown-menu/dropdown-menu-trigger.jsx +7 -0
  224. package/src/core/lib/components/ui/dropdown-menu/dropdown-menu.jsx +4 -0
  225. package/src/core/lib/components/ui/dropdown-menu/index.js +54 -0
  226. package/src/core/lib/components/ui/input/index.js +7 -0
  227. package/src/core/lib/components/ui/input/input.jsx +19 -0
  228. package/src/core/lib/components/ui/label/index.js +7 -0
  229. package/src/core/lib/components/ui/label/label.jsx +19 -0
  230. package/src/core/lib/components/ui/panel/index.js +24 -0
  231. package/src/core/lib/components/ui/panel/panel-body.jsx +11 -0
  232. package/src/core/lib/components/ui/panel/panel-close.jsx +16 -0
  233. package/src/core/lib/components/ui/panel/panel-content.jsx +29 -0
  234. package/src/core/lib/components/ui/panel/panel-footer.jsx +11 -0
  235. package/src/core/lib/components/ui/panel/panel-header.jsx +11 -0
  236. package/src/core/lib/components/ui/panel/panel-title.jsx +12 -0
  237. package/src/core/lib/components/ui/panel/panel.jsx +4 -0
  238. package/src/core/lib/components/ui/popover/index.js +28 -0
  239. package/src/core/lib/components/ui/popover/popover-close.jsx +7 -0
  240. package/src/core/lib/components/ui/popover/popover-content.jsx +22 -0
  241. package/src/core/lib/components/ui/popover/popover-description.jsx +11 -0
  242. package/src/core/lib/components/ui/popover/popover-header.jsx +11 -0
  243. package/src/core/lib/components/ui/popover/popover-portal.jsx +4 -0
  244. package/src/core/lib/components/ui/popover/popover-title.jsx +11 -0
  245. package/src/core/lib/components/ui/popover/popover-trigger.jsx +8 -0
  246. package/src/core/lib/components/ui/popover/popover.jsx +4 -0
  247. package/src/core/lib/components/ui/searchable-list.jsx +160 -0
  248. package/src/core/lib/components/ui/select/index.js +37 -0
  249. package/src/core/lib/components/ui/select/select-content.jsx +30 -0
  250. package/src/core/lib/components/ui/select/select-group-heading.jsx +17 -0
  251. package/src/core/lib/components/ui/select/select-group.jsx +15 -0
  252. package/src/core/lib/components/ui/select/select-item.jsx +26 -0
  253. package/src/core/lib/components/ui/select/select-label.jsx +11 -0
  254. package/src/core/lib/components/ui/select/select-portal.jsx +4 -0
  255. package/src/core/lib/components/ui/select/select-scroll-down-button.jsx +18 -0
  256. package/src/core/lib/components/ui/select/select-scroll-up-button.jsx +18 -0
  257. package/src/core/lib/components/ui/select/select-separator.jsx +15 -0
  258. package/src/core/lib/components/ui/select/select-trigger.jsx +25 -0
  259. package/src/core/lib/components/ui/select/select.jsx +4 -0
  260. package/src/core/lib/components/ui/separator/index.js +7 -0
  261. package/src/core/lib/components/ui/separator/separator.jsx +22 -0
  262. package/src/core/lib/components/ui/sheet/index.js +34 -0
  263. package/src/core/lib/components/ui/sheet/sheet-close.jsx +7 -0
  264. package/src/core/lib/components/ui/sheet/sheet-content.jsx +35 -0
  265. package/src/core/lib/components/ui/sheet/sheet-description.jsx +15 -0
  266. package/src/core/lib/components/ui/sheet/sheet-footer.jsx +11 -0
  267. package/src/core/lib/components/ui/sheet/sheet-header.jsx +11 -0
  268. package/src/core/lib/components/ui/sheet/sheet-overlay.jsx +15 -0
  269. package/src/core/lib/components/ui/sheet/sheet-portal.jsx +4 -0
  270. package/src/core/lib/components/ui/sheet/sheet-title.jsx +15 -0
  271. package/src/core/lib/components/ui/sheet/sheet-trigger.jsx +7 -0
  272. package/src/core/lib/components/ui/sheet/sheet.jsx +4 -0
  273. package/src/core/lib/components/ui/textarea/index.js +7 -0
  274. package/src/core/lib/components/ui/textarea/textarea.jsx +18 -0
  275. package/src/core/lib/components/ui/toggle/index.js +8 -0
  276. package/src/core/lib/components/ui/toggle/toggle.jsx +36 -0
  277. package/src/core/lib/components/ui/toggle-group/index.js +10 -0
  278. package/src/core/lib/components/ui/toggle-group/toggle-group-item.jsx +29 -0
  279. package/src/core/lib/components/ui/toggle-group/toggle-group.jsx +43 -0
  280. package/src/core/lib/components/ui/tooltip/index.js +3 -0
  281. package/src/core/lib/components/ui/tooltip/tooltip-content.jsx +21 -0
  282. package/src/core/lib/components/ui/tooltip/tooltip-trigger.jsx +23 -0
  283. package/src/core/lib/components/ui/tooltip/tooltip.jsx +11 -0
  284. package/src/core/lib/components/ui/trigger-button/index.js +6 -0
  285. package/src/core/lib/components/ui/trigger-button/trigger-button.css +38 -0
  286. package/src/core/lib/components/ui/trigger-button/trigger-button.jsx +63 -0
  287. package/src/core/lib/utils/index.js +6 -0
  288. package/src/core/logger/devLogger.js +238 -0
  289. package/src/core/logger/devLogger.test.js +193 -0
  290. package/src/core/modes/modes.css +98 -0
  291. package/src/core/modes/modes.js +492 -0
  292. package/src/core/modes/modes.test.js +562 -0
  293. package/src/core/mountStoryboardCore.js +478 -0
  294. package/src/core/rename-watcher/config.json +23 -0
  295. package/src/core/rename-watcher/watcher.js +531 -0
  296. package/src/core/scaffold.js +100 -0
  297. package/src/core/server/index.js +391 -0
  298. package/src/core/session/bodyClasses.js +128 -0
  299. package/src/core/session/bodyClasses.test.js +192 -0
  300. package/src/core/session/hashSubscribe.js +19 -0
  301. package/src/core/session/hashSubscribe.test.js +62 -0
  302. package/src/core/session/hideMode.js +424 -0
  303. package/src/core/session/hideMode.test.js +268 -0
  304. package/src/core/session/interceptHideParams.js +35 -0
  305. package/src/core/session/interceptHideParams.test.js +90 -0
  306. package/src/core/session/localStorage.js +134 -0
  307. package/src/core/session/localStorage.test.js +148 -0
  308. package/src/core/session/session.js +76 -0
  309. package/src/core/session/session.test.js +91 -0
  310. package/src/core/stores/canvasConfig.js +134 -0
  311. package/src/core/stores/canvasConfig.test.js +120 -0
  312. package/src/core/stores/commandActions.js +284 -0
  313. package/src/core/stores/commandPaletteConfig.js +31 -0
  314. package/src/core/stores/configSchema.js +232 -0
  315. package/src/core/stores/configSchema.test.js +72 -0
  316. package/src/core/stores/configStore.js +161 -0
  317. package/src/core/stores/customerModeConfig.js +30 -0
  318. package/src/core/stores/featureFlags.js +127 -0
  319. package/src/core/stores/paletteProviders.js +360 -0
  320. package/src/core/stores/paletteProviders.test.js +186 -0
  321. package/src/core/stores/plugins.js +40 -0
  322. package/src/core/stores/plugins.test.js +68 -0
  323. package/src/core/stores/recentArtifacts.js +68 -0
  324. package/src/core/stores/recentArtifacts.test.js +71 -0
  325. package/src/core/stores/sidePanelStore.ts +143 -0
  326. package/src/core/stores/themeStore.ts +291 -0
  327. package/src/core/stores/toolRegistry.js +227 -0
  328. package/src/core/stores/toolStateStore.js +183 -0
  329. package/src/core/stores/toolStateStore.test.js +220 -0
  330. package/src/core/stores/toolbarConfigStore.js +165 -0
  331. package/src/core/stores/uiConfig.js +64 -0
  332. package/src/core/stores/uiConfig.test.js +63 -0
  333. package/src/core/styles/tailwind.css +204 -0
  334. package/src/core/tools/handlers/autosync.js +12 -0
  335. package/src/core/tools/handlers/canvasAddWidget.js +11 -0
  336. package/src/core/tools/handlers/canvasAgents.js +20 -0
  337. package/src/core/tools/handlers/canvasToolbar.js +56 -0
  338. package/src/core/tools/handlers/commandPalette.js +9 -0
  339. package/src/core/tools/handlers/comments.js +16 -0
  340. package/src/core/tools/handlers/create.js +39 -0
  341. package/src/core/tools/handlers/devtools.js +122 -0
  342. package/src/core/tools/handlers/devtools.test.js +87 -0
  343. package/src/core/tools/handlers/featureFlags.js +21 -0
  344. package/src/core/tools/handlers/flows.js +68 -0
  345. package/src/core/tools/handlers/hideChrome.js +9 -0
  346. package/src/core/tools/handlers/hideToolbars.js +25 -0
  347. package/src/core/tools/handlers/inspector.js +19 -0
  348. package/src/core/tools/handlers/paletteTheme.js +35 -0
  349. package/src/core/tools/handlers/theme.js +9 -0
  350. package/src/core/tools/registry.js +26 -0
  351. package/src/core/tools/surfaces/canvasToolbar.js +10 -0
  352. package/src/core/tools/surfaces/commandList.js +10 -0
  353. package/src/core/tools/surfaces/mainToolbar.js +11 -0
  354. package/src/core/tools/surfaces/registry.js +19 -0
  355. package/src/core/ui/ActionMenuButton.jsx +114 -0
  356. package/src/core/ui/AutosyncMenuButton.css +67 -0
  357. package/src/core/ui/AutosyncMenuButton.jsx +242 -0
  358. package/src/core/ui/BranchSelect.jsx +29 -0
  359. package/src/core/ui/BranchSelect.module.css +30 -0
  360. package/src/core/ui/CanvasAgentsMenu.jsx +89 -0
  361. package/src/core/ui/CanvasCreateMenu.jsx +611 -0
  362. package/src/core/ui/CanvasSnap.css +27 -0
  363. package/src/core/ui/CanvasSnap.jsx +51 -0
  364. package/src/core/ui/CanvasUndoRedo.css +36 -0
  365. package/src/core/ui/CanvasUndoRedo.jsx +62 -0
  366. package/src/core/ui/CanvasZoomControl.css +53 -0
  367. package/src/core/ui/CanvasZoomControl.jsx +49 -0
  368. package/src/core/ui/CanvasZoomToFit.css +18 -0
  369. package/src/core/ui/CanvasZoomToFit.jsx +26 -0
  370. package/src/core/ui/CommandMenu.css +8 -0
  371. package/src/core/ui/CommandMenu.jsx +287 -0
  372. package/src/core/ui/CommandPalette.jsx +35 -0
  373. package/src/core/ui/CommandPaletteTrigger.jsx +25 -0
  374. package/src/core/ui/CommentsMenuButton.jsx +40 -0
  375. package/src/core/ui/CoreUIBar.css +47 -0
  376. package/src/core/ui/CoreUIBar.jsx +905 -0
  377. package/src/core/ui/CreateMenuButton.jsx +117 -0
  378. package/src/core/ui/HideChromeTrigger.jsx +48 -0
  379. package/src/core/ui/Icon.jsx +279 -0
  380. package/src/core/ui/InspectorPanel.css +109 -0
  381. package/src/core/ui/InspectorPanel.jsx +632 -0
  382. package/src/core/ui/PwaInstallBanner.css +42 -0
  383. package/src/core/ui/PwaInstallBanner.jsx +124 -0
  384. package/src/core/ui/SidePanel.jsx +261 -0
  385. package/src/core/ui/ThemeMenuButton.jsx +139 -0
  386. package/src/core/ui/core-ui-colors.css +129 -0
  387. package/src/core/ui/design-modes.ts +7 -0
  388. package/src/core/ui/sidepanel.css +301 -0
  389. package/src/core/ui/viewfinder.ts +7 -0
  390. package/src/core/ui-entry.js +30 -0
  391. package/src/core/utils/fuzzySearch.js +117 -0
  392. package/src/core/utils/fuzzySearch.test.js +119 -0
  393. package/src/core/utils/mobileViewport.js +57 -0
  394. package/src/core/utils/mobileViewport.test.js +68 -0
  395. package/src/core/utils/prodMode.js +38 -0
  396. package/src/core/utils/smoothCorners.js +20 -0
  397. package/src/core/vite/docs-handler.js +155 -0
  398. package/src/core/vite/server-plugin.js +797 -0
  399. package/src/core/workshop/features/createCanvas/CreateCanvasForm.jsx +260 -0
  400. package/src/core/workshop/features/createCanvas/index.js +14 -0
  401. package/src/core/workshop/features/createFlow/CreateFlowForm.jsx +334 -0
  402. package/src/core/workshop/features/createFlow/index.js +19 -0
  403. package/src/core/workshop/features/createFlow/server.js +663 -0
  404. package/src/core/workshop/features/createPage/CreatePageForm.jsx +304 -0
  405. package/src/core/workshop/features/createPage/index.js +11 -0
  406. package/src/core/workshop/features/createPrototype/CreatePrototypeForm.jsx +289 -0
  407. package/src/core/workshop/features/createPrototype/index.js +19 -0
  408. package/src/core/workshop/features/createPrototype/server.js +433 -0
  409. package/src/core/workshop/features/createStory/CreateStoryForm.jsx +208 -0
  410. package/src/core/workshop/features/createStory/index.js +14 -0
  411. package/src/core/workshop/features/registry-server.js +22 -0
  412. package/src/core/workshop/features/registry.js +28 -0
  413. package/src/core/workshop/features/templateIndex.js +155 -0
  414. package/src/core/workshop/ui/WorkshopPanel.jsx +98 -0
  415. package/src/core/workshop/ui/mount.ts +6 -0
  416. package/src/core/worktree/port.js +268 -0
  417. package/src/core/worktree/port.test.js +222 -0
  418. package/src/core/worktree/serverRegistry.js +120 -0
  419. package/src/internals/AuthModal/AuthModal.jsx +132 -0
  420. package/src/internals/AuthModal/AuthModal.module.css +221 -0
  421. package/src/internals/BranchBar/BranchBar.jsx +87 -0
  422. package/src/internals/BranchBar/BranchBar.module.css +247 -0
  423. package/src/internals/BranchBar/useBranches.js +93 -0
  424. package/src/internals/BranchBar/useBranches.test.js +68 -0
  425. package/src/internals/CommandPalette/CommandPalette.jsx +1361 -0
  426. package/src/internals/CommandPalette/CreateDialog.jsx +219 -0
  427. package/src/internals/CommandPalette/command-palette.css +180 -0
  428. package/src/internals/FlowError.module.css +30 -0
  429. package/src/internals/Icon.jsx +279 -0
  430. package/src/internals/StoryboardContext.js +3 -0
  431. package/src/internals/Viewfinder.jsx +1479 -0
  432. package/src/internals/Viewfinder.module.css +1540 -0
  433. package/src/internals/Workspace.jsx +7 -0
  434. package/src/internals/__mocks__/virtual-storyboard-data-index.js +4 -0
  435. package/src/internals/canvas/CanvasControls.jsx +112 -0
  436. package/src/internals/canvas/CanvasControls.module.css +135 -0
  437. package/src/internals/canvas/CanvasPage.bridge.test.jsx +387 -0
  438. package/src/internals/canvas/CanvasPage.dragdrop.test.jsx +350 -0
  439. package/src/internals/canvas/CanvasPage.jsx +3092 -0
  440. package/src/internals/canvas/CanvasPage.module.css +187 -0
  441. package/src/internals/canvas/CanvasPage.multiselect.test.jsx +358 -0
  442. package/src/internals/canvas/CanvasToolbar.jsx +73 -0
  443. package/src/internals/canvas/CanvasToolbar.module.css +92 -0
  444. package/src/internals/canvas/ComponentErrorBoundary.jsx +50 -0
  445. package/src/internals/canvas/ConnectorLayer.jsx +208 -0
  446. package/src/internals/canvas/ConnectorLayer.module.css +129 -0
  447. package/src/internals/canvas/MarqueeOverlay.jsx +20 -0
  448. package/src/internals/canvas/PageSelector.jsx +587 -0
  449. package/src/internals/canvas/PageSelector.module.css +261 -0
  450. package/src/internals/canvas/PageSelector.test.jsx +113 -0
  451. package/src/internals/canvas/WebGLContextPool.jsx +292 -0
  452. package/src/internals/canvas/WebGLContextPool.test.jsx +165 -0
  453. package/src/internals/canvas/canvasApi.js +164 -0
  454. package/src/internals/canvas/canvasReloadGuard.js +37 -0
  455. package/src/internals/canvas/canvasReloadGuard.test.js +27 -0
  456. package/src/internals/canvas/canvasTheme.js +118 -0
  457. package/src/internals/canvas/componentIsolate.jsx +165 -0
  458. package/src/internals/canvas/componentSetIsolate.jsx +257 -0
  459. package/src/internals/canvas/computeCanvasBounds.test.js +121 -0
  460. package/src/internals/canvas/connectorGeometry.js +132 -0
  461. package/src/internals/canvas/hotPoolDevLogs.js +25 -0
  462. package/src/internals/canvas/textSelection.js +10 -0
  463. package/src/internals/canvas/textSelection.test.js +26 -0
  464. package/src/internals/canvas/useCanvas.js +126 -0
  465. package/src/internals/canvas/useCanvas.test.js +26 -0
  466. package/src/internals/canvas/useMarqueeSelect.js +213 -0
  467. package/src/internals/canvas/useMarqueeSelect.test.js +78 -0
  468. package/src/internals/canvas/useUndoRedo.js +86 -0
  469. package/src/internals/canvas/useUndoRedo.test.js +231 -0
  470. package/src/internals/canvas/widgets/CodePenEmbed.jsx +293 -0
  471. package/src/internals/canvas/widgets/CodePenEmbed.module.css +161 -0
  472. package/src/internals/canvas/widgets/ComponentSetWidget.jsx +2 -0
  473. package/src/internals/canvas/widgets/ComponentSetWidget.module.css +89 -0
  474. package/src/internals/canvas/widgets/ComponentWidget.jsx +14 -0
  475. package/src/internals/canvas/widgets/ComponentWidget.module.css +0 -0
  476. package/src/internals/canvas/widgets/CropOverlay.jsx +179 -0
  477. package/src/internals/canvas/widgets/CropOverlay.module.css +154 -0
  478. package/src/internals/canvas/widgets/ExpandedPane.jsx +474 -0
  479. package/src/internals/canvas/widgets/ExpandedPane.module.css +179 -0
  480. package/src/internals/canvas/widgets/ExpandedPane.test.jsx +240 -0
  481. package/src/internals/canvas/widgets/ExpandedPaneTopBar.jsx +111 -0
  482. package/src/internals/canvas/widgets/ExpandedPaneTopBar.module.css +59 -0
  483. package/src/internals/canvas/widgets/ExpandedPaneTopBar.test.jsx +45 -0
  484. package/src/internals/canvas/widgets/FigmaEmbed.jsx +296 -0
  485. package/src/internals/canvas/widgets/FigmaEmbed.module.css +222 -0
  486. package/src/internals/canvas/widgets/FrozenTerminalOverlay.jsx +151 -0
  487. package/src/internals/canvas/widgets/FrozenTerminalOverlay.module.css +83 -0
  488. package/src/internals/canvas/widgets/ImageWidget.jsx +287 -0
  489. package/src/internals/canvas/widgets/ImageWidget.module.css +81 -0
  490. package/src/internals/canvas/widgets/LinkPreview.jsx +439 -0
  491. package/src/internals/canvas/widgets/LinkPreview.module.css +585 -0
  492. package/src/internals/canvas/widgets/LinkPreview.test.jsx +193 -0
  493. package/src/internals/canvas/widgets/MarkdownBlock.jsx +354 -0
  494. package/src/internals/canvas/widgets/MarkdownBlock.module.css +377 -0
  495. package/src/internals/canvas/widgets/MarkdownBlock.test.jsx +92 -0
  496. package/src/internals/canvas/widgets/PromptWidget.jsx +428 -0
  497. package/src/internals/canvas/widgets/PromptWidget.module.css +273 -0
  498. package/src/internals/canvas/widgets/PrototypeEmbed.jsx +463 -0
  499. package/src/internals/canvas/widgets/PrototypeEmbed.module.css +579 -0
  500. package/src/internals/canvas/widgets/PrototypeEmbed.test.jsx +10 -0
  501. package/src/internals/canvas/widgets/ResizeHandle.jsx +67 -0
  502. package/src/internals/canvas/widgets/ResizeHandle.module.css +29 -0
  503. package/src/internals/canvas/widgets/StickyNote.jsx +92 -0
  504. package/src/internals/canvas/widgets/StickyNote.module.css +70 -0
  505. package/src/internals/canvas/widgets/StickyNote.test.jsx +116 -0
  506. package/src/internals/canvas/widgets/StorySetWidget.jsx +208 -0
  507. package/src/internals/canvas/widgets/StorySetWidget.module.css +89 -0
  508. package/src/internals/canvas/widgets/StoryWidget.jsx +334 -0
  509. package/src/internals/canvas/widgets/StoryWidget.module.css +211 -0
  510. package/src/internals/canvas/widgets/TerminalReadWidget.jsx +146 -0
  511. package/src/internals/canvas/widgets/TerminalReadWidget.module.css +94 -0
  512. package/src/internals/canvas/widgets/TerminalWidget.jsx +704 -0
  513. package/src/internals/canvas/widgets/TerminalWidget.module.css +444 -0
  514. package/src/internals/canvas/widgets/TilesWidget.jsx +300 -0
  515. package/src/internals/canvas/widgets/TilesWidget.module.css +133 -0
  516. package/src/internals/canvas/widgets/WidgetChrome.jsx +580 -0
  517. package/src/internals/canvas/widgets/WidgetChrome.module.css +421 -0
  518. package/src/internals/canvas/widgets/WidgetWrapper.jsx +15 -0
  519. package/src/internals/canvas/widgets/WidgetWrapper.module.css +25 -0
  520. package/src/internals/canvas/widgets/codepenUrl.js +75 -0
  521. package/src/internals/canvas/widgets/codepenUrl.test.js +76 -0
  522. package/src/internals/canvas/widgets/embedInteraction.test.jsx +173 -0
  523. package/src/internals/canvas/widgets/embedOverlay.module.css +35 -0
  524. package/src/internals/canvas/widgets/embedTheme.js +148 -0
  525. package/src/internals/canvas/widgets/expandUtils.js +559 -0
  526. package/src/internals/canvas/widgets/expandUtils.test.js +155 -0
  527. package/src/internals/canvas/widgets/figmaUrl.js +118 -0
  528. package/src/internals/canvas/widgets/figmaUrl.test.js +139 -0
  529. package/src/internals/canvas/widgets/githubUrl.js +82 -0
  530. package/src/internals/canvas/widgets/githubUrl.test.js +74 -0
  531. package/src/internals/canvas/widgets/iframeDevLogs.js +49 -0
  532. package/src/internals/canvas/widgets/iframeDevLogs.test.jsx +81 -0
  533. package/src/internals/canvas/widgets/index.js +42 -0
  534. package/src/internals/canvas/widgets/pasteRules.js +295 -0
  535. package/src/internals/canvas/widgets/pasteRules.test.js +474 -0
  536. package/src/internals/canvas/widgets/snapshotDisplay.test.jsx +211 -0
  537. package/src/internals/canvas/widgets/tilePool.js +23 -0
  538. package/src/internals/canvas/widgets/tiles/diagonal-bl.png +0 -0
  539. package/src/internals/canvas/widgets/tiles/diagonal-br.png +0 -0
  540. package/src/internals/canvas/widgets/tiles/diagonal-tl.png +0 -0
  541. package/src/internals/canvas/widgets/tiles/leaf.png +0 -0
  542. package/src/internals/canvas/widgets/tiles/quarter-tl.png +0 -0
  543. package/src/internals/canvas/widgets/tiles/quarter-tr.png +0 -0
  544. package/src/internals/canvas/widgets/tiles/solid-a.png +0 -0
  545. package/src/internals/canvas/widgets/tiles/solid-b.png +0 -0
  546. package/src/internals/canvas/widgets/widgetConfig.js +291 -0
  547. package/src/internals/canvas/widgets/widgetConfig.test.js +68 -0
  548. package/src/internals/canvas/widgets/widgetIcons.jsx +190 -0
  549. package/src/internals/canvas/widgets/widgetProps.js +133 -0
  550. package/src/internals/context/FormContext.js +13 -0
  551. package/src/internals/context/FormContext.test.js +48 -0
  552. package/src/internals/context.jsx +481 -0
  553. package/src/internals/context.test.jsx +296 -0
  554. package/src/internals/hashPreserver.js +73 -0
  555. package/src/internals/hashPreserver.test.js +107 -0
  556. package/src/internals/hooks/useConfig.js +14 -0
  557. package/src/internals/hooks/useFeatureFlag.js +14 -0
  558. package/src/internals/hooks/useFlows.js +50 -0
  559. package/src/internals/hooks/useFlows.test.js +134 -0
  560. package/src/internals/hooks/useHideMode.js +31 -0
  561. package/src/internals/hooks/useHideMode.test.js +43 -0
  562. package/src/internals/hooks/useLocalStorage.js +57 -0
  563. package/src/internals/hooks/useLocalStorage.test.js +75 -0
  564. package/src/internals/hooks/useMode.js +43 -0
  565. package/src/internals/hooks/useObject.js +101 -0
  566. package/src/internals/hooks/useObject.test.js +74 -0
  567. package/src/internals/hooks/useOverride.js +84 -0
  568. package/src/internals/hooks/useOverride.test.js +71 -0
  569. package/src/internals/hooks/usePrototypeReloadGuard.js +64 -0
  570. package/src/internals/hooks/useRecord.js +158 -0
  571. package/src/internals/hooks/useRecord.test.js +221 -0
  572. package/src/internals/hooks/useScene.js +38 -0
  573. package/src/internals/hooks/useScene.test.js +66 -0
  574. package/src/internals/hooks/useSceneData.js +108 -0
  575. package/src/internals/hooks/useSceneData.test.js +136 -0
  576. package/src/internals/hooks/useSession.js +4 -0
  577. package/src/internals/hooks/useSession.test.js +8 -0
  578. package/src/internals/hooks/useThemeState.js +61 -0
  579. package/src/internals/hooks/useThemeState.test.js +66 -0
  580. package/src/internals/hooks/useUndoRedo.js +28 -0
  581. package/src/internals/hooks/useUndoRedo.test.js +64 -0
  582. package/src/internals/index.js +58 -0
  583. package/src/internals/story/ComponentSetPage.jsx +198 -0
  584. package/src/internals/story/ComponentSetPage.module.css +129 -0
  585. package/src/internals/story/StoryPage.jsx +147 -0
  586. package/src/internals/story/StoryPage.module.css +18 -0
  587. package/src/internals/test-utils.js +45 -0
  588. package/src/internals/vite/data-plugin.js +1508 -0
  589. package/src/internals/vite/data-plugin.test.js +1223 -0
  590. package/src/test-utils.js +44 -0
  591. package/toolbar.config.json +271 -0
  592. package/widgets.config.json +1537 -0
@@ -0,0 +1,1537 @@
1
+ {
2
+ "variables": {
3
+ "label:duplicate": "Duplicate",
4
+ "label:copy-link": "Copy widget link",
5
+ "label:delete": "Delete",
6
+ "label:open-ext": "Open in new tab",
7
+ "label:edit": "Edit",
8
+ "label:download": "Download image",
9
+ "label:copy-png": "Copy as image",
10
+ "label:copy-path": "Copy file path",
11
+ "label:expand": "Expand",
12
+ "label:copy-id": "Copy widget ID",
13
+ "label:copy-text": "Copy text"
14
+ },
15
+ "connectorDefaults": {
16
+ "controlOffset": 120,
17
+ "stroke": "var(--fgColor-accent, #0969da)",
18
+ "strokeWidth": 4,
19
+ "hoverStroke": "var(--fgColor-danger, #cf222e)",
20
+ "hoverStrokeWidth": 5,
21
+ "endpointRadius": 6,
22
+ "endpointFill": "var(--fgColor-accent, #0969da)",
23
+ "endpointStroke": "var(--bgColor-default, #ffffff)",
24
+ "endpointStrokeWidth": 3,
25
+ "hitAreaStrokeWidth": 16,
26
+ "dragStroke": "var(--fgColor-accent, #0969da)",
27
+ "dragStrokeWidth": 2,
28
+ "dragDasharray": "6 4",
29
+ "dragOpacity": 0.7,
30
+ "startEndpoint": "circle",
31
+ "endEndpoint": "circle"
32
+ },
33
+ "widgets": {
34
+ "sticky-note": {
35
+ "label": "Sticky Note",
36
+ "icon": "\ud83d\udcdd",
37
+ "resize": {
38
+ "enabled": true,
39
+ "prod": false
40
+ },
41
+ "props": {
42
+ "text": {
43
+ "type": "text",
44
+ "label": "Text",
45
+ "category": "content",
46
+ "default": ""
47
+ },
48
+ "color": {
49
+ "type": "select",
50
+ "label": "Color",
51
+ "category": "settings",
52
+ "default": "yellow",
53
+ "options": [
54
+ "yellow",
55
+ "blue",
56
+ "green",
57
+ "pink",
58
+ "purple",
59
+ "orange"
60
+ ]
61
+ },
62
+ "width": {
63
+ "type": "number",
64
+ "label": "Width",
65
+ "category": "size",
66
+ "min": 180,
67
+ "default": 270
68
+ },
69
+ "height": {
70
+ "type": "number",
71
+ "label": "Height",
72
+ "category": "size",
73
+ "min": 60,
74
+ "default": 170
75
+ }
76
+ },
77
+ "features": [
78
+ {
79
+ "id": "color",
80
+ "type": "color-picker",
81
+ "prop": "color"
82
+ },
83
+ {
84
+ "id": "copy",
85
+ "type": "action",
86
+ "action": "copy",
87
+ "label": "$label:duplicate",
88
+ "icon": "copy"
89
+ },
90
+ {
91
+ "id": "copy-text",
92
+ "type": "action",
93
+ "action": "copy-text",
94
+ "label": "$label:copy-text",
95
+ "icon": "unwrap",
96
+ "menu": true,
97
+ "prod": true
98
+ },
99
+ {
100
+ "id": "copy-link",
101
+ "type": "action",
102
+ "action": "copy-link",
103
+ "label": "$label:copy-link",
104
+ "icon": "link",
105
+ "menu": true,
106
+ "prod": true,
107
+ "alt": {
108
+ "label": "$label:copy-id",
109
+ "action": "copy-widget-id"
110
+ }
111
+ },
112
+ {
113
+ "id": "delete",
114
+ "type": "action",
115
+ "action": "delete",
116
+ "label": "$label:delete",
117
+ "icon": "trash",
118
+ "menu": true
119
+ }
120
+ ],
121
+ "connectors": {
122
+ "anchors": {
123
+ "top": "available",
124
+ "bottom": "available",
125
+ "left": "available",
126
+ "right": "available"
127
+ },
128
+ "accept": [
129
+ "*"
130
+ ],
131
+ "exclude": []
132
+ }
133
+ },
134
+ "markdown": {
135
+ "label": "Markdown",
136
+ "icon": "\ud83d\udcc4",
137
+ "expandable": true,
138
+ "splitScreen": true,
139
+ "resize": {
140
+ "enabled": true,
141
+ "prod": false
142
+ },
143
+ "props": {
144
+ "content": {
145
+ "type": "text",
146
+ "label": "Content",
147
+ "category": "content",
148
+ "default": ""
149
+ },
150
+ "width": {
151
+ "type": "number",
152
+ "label": "Width",
153
+ "category": "size",
154
+ "default": 530,
155
+ "min": 200,
156
+ "max": 1200
157
+ },
158
+ "height": {
159
+ "type": "number",
160
+ "label": "Height",
161
+ "category": "size",
162
+ "min": 60
163
+ }
164
+ },
165
+ "features": [
166
+ {
167
+ "id": "toggle-edit",
168
+ "type": "action",
169
+ "action": "toggle-edit",
170
+ "label": "Edit",
171
+ "icon": "edit",
172
+ "surfaces": [
173
+ "fullbar",
174
+ "splitbar"
175
+ ],
176
+ "toggle": {
177
+ "stateKey": "editing",
178
+ "activeIcon": "eye",
179
+ "activeLabel": "Preview"
180
+ }
181
+ },
182
+ {
183
+ "id": "expand",
184
+ "type": "action",
185
+ "action": "expand",
186
+ "label": "$label:expand",
187
+ "icon": "expand",
188
+ "prod": true
189
+ },
190
+ {
191
+ "id": "toggle-collapse",
192
+ "type": "action",
193
+ "action": "toggle-collapse",
194
+ "label": "Collapse height",
195
+ "icon": "fold"
196
+ },
197
+ {
198
+ "id": "copy",
199
+ "type": "action",
200
+ "action": "copy",
201
+ "label": "$label:duplicate",
202
+ "icon": "copy"
203
+ },
204
+ {
205
+ "id": "copy-text",
206
+ "type": "action",
207
+ "action": "copy-text",
208
+ "label": "Copy Markdown",
209
+ "icon": "unwrap",
210
+ "menu": true,
211
+ "prod": true
212
+ },
213
+ {
214
+ "id": "copy-link",
215
+ "type": "action",
216
+ "action": "copy-link",
217
+ "label": "$label:copy-link",
218
+ "icon": "link",
219
+ "menu": true,
220
+ "prod": true,
221
+ "alt": {
222
+ "label": "$label:copy-id",
223
+ "action": "copy-widget-id"
224
+ }
225
+ },
226
+ {
227
+ "id": "delete",
228
+ "type": "action",
229
+ "action": "delete",
230
+ "label": "$label:delete",
231
+ "icon": "trash",
232
+ "menu": true
233
+ }
234
+ ],
235
+ "connectors": {
236
+ "anchors": {
237
+ "top": "available",
238
+ "bottom": "available",
239
+ "left": "available",
240
+ "right": "available"
241
+ },
242
+ "accept": [
243
+ "*"
244
+ ],
245
+ "exclude": []
246
+ }
247
+ },
248
+ "prototype": {
249
+ "label": "Prototype",
250
+ "icon": "\ud83d\udda5\ufe0f",
251
+ "expandable": true,
252
+ "splitScreen": true,
253
+ "resize": {
254
+ "enabled": true,
255
+ "prod": false
256
+ },
257
+ "props": {
258
+ "src": {
259
+ "type": "url",
260
+ "label": "URL",
261
+ "category": "content",
262
+ "default": ""
263
+ },
264
+ "originalSrc": {
265
+ "type": "url",
266
+ "label": "Original URL",
267
+ "category": "content",
268
+ "default": ""
269
+ },
270
+ "label": {
271
+ "type": "text",
272
+ "label": "Label",
273
+ "category": "settings",
274
+ "default": ""
275
+ },
276
+ "zoom": {
277
+ "type": "number",
278
+ "label": "Zoom",
279
+ "category": "settings",
280
+ "default": 100,
281
+ "min": 25,
282
+ "max": 200
283
+ },
284
+ "width": {
285
+ "type": "number",
286
+ "label": "Width",
287
+ "category": "size",
288
+ "default": 800,
289
+ "min": 200,
290
+ "max": 2000
291
+ },
292
+ "height": {
293
+ "type": "number",
294
+ "label": "Height",
295
+ "category": "size",
296
+ "default": 600,
297
+ "min": 200,
298
+ "max": 1500
299
+ }
300
+ },
301
+ "features": [
302
+ {
303
+ "id": "open-external",
304
+ "type": "action",
305
+ "action": "open-external",
306
+ "label": "$label:open-ext",
307
+ "icon": "open-external",
308
+ "prod": true
309
+ },
310
+ {
311
+ "id": "edit-url",
312
+ "type": "action",
313
+ "action": "edit",
314
+ "label": "$label:edit",
315
+ "icon": "edit"
316
+ },
317
+ {
318
+ "id": "expand",
319
+ "type": "action",
320
+ "action": "expand",
321
+ "label": "$label:expand",
322
+ "icon": "expand",
323
+ "prod": true
324
+ },
325
+ {
326
+ "id": "copy",
327
+ "type": "action",
328
+ "action": "copy",
329
+ "label": "$label:duplicate",
330
+ "icon": "copy"
331
+ },
332
+ {
333
+ "id": "copy-link",
334
+ "type": "action",
335
+ "action": "copy-link",
336
+ "label": "$label:copy-link",
337
+ "icon": "link",
338
+ "menu": true,
339
+ "prod": true,
340
+ "alt": {
341
+ "label": "$label:copy-id",
342
+ "action": "copy-widget-id"
343
+ }
344
+ },
345
+ {
346
+ "id": "delete",
347
+ "type": "action",
348
+ "action": "delete",
349
+ "label": "$label:delete",
350
+ "icon": "trash",
351
+ "menu": true
352
+ }
353
+ ],
354
+ "connectors": {
355
+ "anchors": {
356
+ "top": "available",
357
+ "bottom": "available",
358
+ "left": "available",
359
+ "right": "available"
360
+ },
361
+ "accept": [
362
+ "*"
363
+ ],
364
+ "exclude": []
365
+ }
366
+ },
367
+ "figma-embed": {
368
+ "label": "Figma Embed",
369
+ "icon": "\ud83c\udfa8",
370
+ "expandable": true,
371
+ "splitScreen": true,
372
+ "resize": {
373
+ "enabled": true,
374
+ "prod": false
375
+ },
376
+ "props": {
377
+ "url": {
378
+ "type": "url",
379
+ "label": "URL",
380
+ "category": "content",
381
+ "default": ""
382
+ },
383
+ "width": {
384
+ "type": "number",
385
+ "label": "Width",
386
+ "category": "size",
387
+ "default": 800,
388
+ "min": 200,
389
+ "max": 2000
390
+ },
391
+ "height": {
392
+ "type": "number",
393
+ "label": "Height",
394
+ "category": "size",
395
+ "default": 450,
396
+ "min": 150,
397
+ "max": 1500
398
+ }
399
+ },
400
+ "features": [
401
+ {
402
+ "id": "open-external",
403
+ "type": "action",
404
+ "action": "open-external",
405
+ "label": "$label:open-ext",
406
+ "icon": "open-external",
407
+ "prod": true
408
+ },
409
+ {
410
+ "id": "expand",
411
+ "type": "action",
412
+ "action": "expand",
413
+ "label": "$label:expand",
414
+ "icon": "expand",
415
+ "prod": true
416
+ },
417
+ {
418
+ "id": "copy",
419
+ "type": "action",
420
+ "action": "copy",
421
+ "label": "$label:duplicate",
422
+ "icon": "copy"
423
+ },
424
+ {
425
+ "id": "copy-link",
426
+ "type": "action",
427
+ "action": "copy-link",
428
+ "label": "$label:copy-link",
429
+ "icon": "link",
430
+ "menu": true,
431
+ "prod": true,
432
+ "alt": {
433
+ "label": "$label:copy-id",
434
+ "action": "copy-widget-id"
435
+ }
436
+ },
437
+ {
438
+ "id": "delete",
439
+ "type": "action",
440
+ "action": "delete",
441
+ "label": "$label:delete",
442
+ "icon": "trash",
443
+ "menu": true
444
+ }
445
+ ],
446
+ "connectors": {
447
+ "anchors": {
448
+ "top": "available",
449
+ "bottom": "available",
450
+ "left": "available",
451
+ "right": "available"
452
+ },
453
+ "accept": [
454
+ "*"
455
+ ],
456
+ "exclude": []
457
+ }
458
+ },
459
+ "codepen-embed": {
460
+ "label": "CodePen Embed",
461
+ "icon": "\u270f\ufe0f",
462
+ "expandable": true,
463
+ "splitScreen": true,
464
+ "resize": {
465
+ "enabled": true,
466
+ "prod": false
467
+ },
468
+ "props": {
469
+ "url": {
470
+ "type": "url",
471
+ "label": "URL",
472
+ "category": "content",
473
+ "default": ""
474
+ },
475
+ "width": {
476
+ "type": "number",
477
+ "label": "Width",
478
+ "category": "size",
479
+ "default": 800,
480
+ "min": 200,
481
+ "max": 2000
482
+ },
483
+ "height": {
484
+ "type": "number",
485
+ "label": "Height",
486
+ "category": "size",
487
+ "default": 450,
488
+ "min": 150,
489
+ "max": 1500
490
+ }
491
+ },
492
+ "features": [
493
+ {
494
+ "id": "open-external",
495
+ "type": "action",
496
+ "action": "open-external",
497
+ "label": "$label:open-ext",
498
+ "icon": "open-external",
499
+ "prod": true
500
+ },
501
+ {
502
+ "id": "expand",
503
+ "type": "action",
504
+ "action": "expand",
505
+ "label": "$label:expand",
506
+ "icon": "expand",
507
+ "prod": true
508
+ },
509
+ {
510
+ "id": "copy",
511
+ "type": "action",
512
+ "action": "copy",
513
+ "label": "$label:duplicate",
514
+ "icon": "copy"
515
+ },
516
+ {
517
+ "id": "copy-link",
518
+ "type": "action",
519
+ "action": "copy-link",
520
+ "label": "$label:copy-link",
521
+ "icon": "link",
522
+ "menu": true,
523
+ "prod": true,
524
+ "alt": {
525
+ "label": "$label:copy-id",
526
+ "action": "copy-widget-id"
527
+ }
528
+ },
529
+ {
530
+ "id": "delete",
531
+ "type": "action",
532
+ "action": "delete",
533
+ "label": "$label:delete",
534
+ "icon": "trash",
535
+ "menu": true
536
+ }
537
+ ],
538
+ "connectors": {
539
+ "anchors": {
540
+ "top": "available",
541
+ "bottom": "available",
542
+ "left": "available",
543
+ "right": "available"
544
+ },
545
+ "accept": [
546
+ "*"
547
+ ],
548
+ "exclude": []
549
+ }
550
+ },
551
+ "link-preview": {
552
+ "label": "Link Preview",
553
+ "icon": "\ud83d\udd17",
554
+ "expandable": true,
555
+ "splitScreen": true,
556
+ "resize": {
557
+ "enabled": false,
558
+ "prod": false
559
+ },
560
+ "props": {
561
+ "url": {
562
+ "type": "url",
563
+ "label": "URL",
564
+ "category": "content",
565
+ "default": ""
566
+ },
567
+ "title": {
568
+ "type": "text",
569
+ "label": "Title",
570
+ "category": "content",
571
+ "default": ""
572
+ },
573
+ "description": {
574
+ "type": "text",
575
+ "label": "Description",
576
+ "category": "content",
577
+ "default": ""
578
+ },
579
+ "ogImage": {
580
+ "type": "url",
581
+ "label": "OG Image",
582
+ "category": "content",
583
+ "default": ""
584
+ },
585
+ "width": {
586
+ "type": "number",
587
+ "label": "Width",
588
+ "category": "size",
589
+ "min": 200,
590
+ "default": 320
591
+ },
592
+ "height": {
593
+ "type": "number",
594
+ "label": "Height",
595
+ "category": "size",
596
+ "min": 80
597
+ }
598
+ },
599
+ "features": [
600
+ {
601
+ "id": "open-external",
602
+ "type": "action",
603
+ "action": "open-external",
604
+ "label": "$label:open-ext",
605
+ "icon": "open-external",
606
+ "prod": true
607
+ },
608
+ {
609
+ "id": "expand",
610
+ "type": "action",
611
+ "action": "expand",
612
+ "label": "$label:expand",
613
+ "icon": "expand",
614
+ "prod": true
615
+ },
616
+ {
617
+ "id": "toggle-collapse",
618
+ "type": "action",
619
+ "action": "toggle-collapse",
620
+ "label": "Collapse height",
621
+ "icon": "fold"
622
+ },
623
+ {
624
+ "id": "refresh-github",
625
+ "type": "action",
626
+ "action": "refresh-github",
627
+ "label": "Refresh data",
628
+ "icon": "sync"
629
+ },
630
+ {
631
+ "id": "copy",
632
+ "type": "action",
633
+ "action": "copy",
634
+ "label": "$label:duplicate",
635
+ "icon": "copy",
636
+ "menu": true
637
+ },
638
+ {
639
+ "id": "copy-text",
640
+ "type": "action",
641
+ "action": "copy-text",
642
+ "label": "Copy Markdown",
643
+ "icon": "unwrap",
644
+ "menu": true,
645
+ "prod": true
646
+ },
647
+ {
648
+ "id": "copy-link",
649
+ "type": "action",
650
+ "action": "copy-link",
651
+ "label": "$label:copy-link",
652
+ "icon": "link",
653
+ "menu": true,
654
+ "prod": true,
655
+ "alt": {
656
+ "label": "$label:copy-id",
657
+ "action": "copy-widget-id"
658
+ }
659
+ },
660
+ {
661
+ "id": "delete",
662
+ "type": "action",
663
+ "action": "delete",
664
+ "label": "$label:delete",
665
+ "icon": "trash",
666
+ "menu": true
667
+ }
668
+ ],
669
+ "connectors": {
670
+ "anchors": {
671
+ "top": "available",
672
+ "bottom": "available",
673
+ "left": "available",
674
+ "right": "available"
675
+ },
676
+ "accept": [
677
+ "*"
678
+ ],
679
+ "exclude": []
680
+ }
681
+ },
682
+ "component": {
683
+ "label": "Component",
684
+ "icon": "iconoir/keyframe",
685
+ "resize": {
686
+ "enabled": true,
687
+ "prod": false
688
+ },
689
+ "props": {
690
+ "width": {
691
+ "type": "number",
692
+ "label": "Width",
693
+ "category": "size",
694
+ "min": 100
695
+ },
696
+ "height": {
697
+ "type": "number",
698
+ "label": "Height",
699
+ "category": "size",
700
+ "min": 60
701
+ }
702
+ },
703
+ "features": [
704
+ {
705
+ "id": "copy-link",
706
+ "type": "action",
707
+ "action": "copy-link",
708
+ "label": "$label:copy-link",
709
+ "icon": "link",
710
+ "menu": true,
711
+ "prod": true,
712
+ "alt": {
713
+ "label": "$label:copy-id",
714
+ "action": "copy-widget-id"
715
+ }
716
+ }
717
+ ],
718
+ "connectors": {
719
+ "anchors": {
720
+ "top": "available",
721
+ "bottom": "available",
722
+ "left": "available",
723
+ "right": "available"
724
+ },
725
+ "accept": [
726
+ "*"
727
+ ],
728
+ "exclude": []
729
+ }
730
+ },
731
+ "story": {
732
+ "label": "Story",
733
+ "icon": "\ud83d\udcd6",
734
+ "splitScreen": true,
735
+ "resize": {
736
+ "enabled": true,
737
+ "prod": false
738
+ },
739
+ "props": {
740
+ "storyId": {
741
+ "type": "text",
742
+ "label": "Story",
743
+ "category": "content",
744
+ "default": ""
745
+ },
746
+ "exportName": {
747
+ "type": "text",
748
+ "label": "Export",
749
+ "category": "content",
750
+ "default": ""
751
+ },
752
+ "width": {
753
+ "type": "number",
754
+ "label": "Width",
755
+ "category": "size",
756
+ "min": 100
757
+ },
758
+ "height": {
759
+ "type": "number",
760
+ "label": "Height",
761
+ "category": "size",
762
+ "min": 60
763
+ },
764
+ "showCode": {
765
+ "type": "boolean",
766
+ "label": "Show code",
767
+ "category": "settings",
768
+ "default": false
769
+ }
770
+ },
771
+ "features": [
772
+ {
773
+ "id": "expand",
774
+ "type": "action",
775
+ "action": "expand",
776
+ "label": "$label:expand",
777
+ "icon": "expand",
778
+ "prod": true
779
+ },
780
+ {
781
+ "id": "show-code",
782
+ "type": "action",
783
+ "action": "show-code",
784
+ "label": "Show code",
785
+ "icon": "code",
786
+ "prod": true
787
+ },
788
+ {
789
+ "id": "copy",
790
+ "type": "action",
791
+ "action": "copy",
792
+ "label": "$label:duplicate",
793
+ "icon": "copy"
794
+ },
795
+ {
796
+ "id": "open-external",
797
+ "type": "action",
798
+ "action": "open-external",
799
+ "label": "$label:open-ext",
800
+ "icon": "open-external",
801
+ "prod": true
802
+ },
803
+ {
804
+ "id": "copy-code",
805
+ "type": "action",
806
+ "action": "copy-code",
807
+ "label": "Copy code",
808
+ "icon": "code",
809
+ "menu": true,
810
+ "prod": true
811
+ },
812
+ {
813
+ "id": "copy-link",
814
+ "type": "action",
815
+ "action": "copy-link",
816
+ "label": "$label:copy-link",
817
+ "icon": "link",
818
+ "menu": true,
819
+ "prod": true,
820
+ "alt": {
821
+ "label": "$label:copy-id",
822
+ "action": "copy-widget-id"
823
+ }
824
+ },
825
+ {
826
+ "id": "delete",
827
+ "type": "action",
828
+ "action": "delete",
829
+ "label": "$label:delete",
830
+ "icon": "trash",
831
+ "menu": true
832
+ }
833
+ ],
834
+ "connectors": {
835
+ "anchors": {
836
+ "top": "available",
837
+ "bottom": "available",
838
+ "left": "available",
839
+ "right": "available"
840
+ },
841
+ "accept": [
842
+ "*"
843
+ ],
844
+ "exclude": []
845
+ },
846
+ "expandable": true
847
+ },
848
+ "component-set": {
849
+ "label": "Component Set",
850
+ "icon": "\u229e",
851
+ "resize": {
852
+ "enabled": true,
853
+ "prod": false
854
+ },
855
+ "interactGate": true,
856
+ "interactGateLabel": "Click to interact",
857
+ "props": {
858
+ "storyId": {
859
+ "type": "text",
860
+ "label": "Story",
861
+ "category": "content",
862
+ "default": ""
863
+ },
864
+ "layout": {
865
+ "type": "text",
866
+ "label": "Layout",
867
+ "category": "settings",
868
+ "default": "horizontal"
869
+ },
870
+ "selected": {
871
+ "type": "text",
872
+ "label": "Selected export",
873
+ "category": "state",
874
+ "default": ""
875
+ },
876
+ "width": {
877
+ "type": "number",
878
+ "label": "Width",
879
+ "category": "size",
880
+ "min": 200
881
+ },
882
+ "height": {
883
+ "type": "number",
884
+ "label": "Height",
885
+ "category": "size",
886
+ "min": 120
887
+ }
888
+ },
889
+ "features": [
890
+ {
891
+ "id": "flip-layout",
892
+ "type": "action",
893
+ "action": "flip-layout",
894
+ "label": "Flip layout",
895
+ "icon": "mirror"
896
+ },
897
+ {
898
+ "id": "copy",
899
+ "type": "action",
900
+ "action": "copy",
901
+ "label": "$label:duplicate",
902
+ "icon": "copy"
903
+ },
904
+ {
905
+ "id": "open-external",
906
+ "type": "action",
907
+ "action": "open-external",
908
+ "label": "$label:open-ext",
909
+ "icon": "open-external",
910
+ "prod": true
911
+ },
912
+ {
913
+ "id": "copy-link",
914
+ "type": "action",
915
+ "action": "copy-link",
916
+ "label": "$label:copy-link",
917
+ "icon": "link",
918
+ "menu": true,
919
+ "prod": true,
920
+ "alt": {
921
+ "label": "$label:copy-id",
922
+ "action": "copy-widget-id"
923
+ }
924
+ },
925
+ {
926
+ "id": "delete",
927
+ "type": "action",
928
+ "action": "delete",
929
+ "label": "$label:delete",
930
+ "icon": "trash",
931
+ "menu": true
932
+ }
933
+ ],
934
+ "connectors": {
935
+ "anchors": {
936
+ "top": "available",
937
+ "bottom": "available",
938
+ "left": "available",
939
+ "right": "available"
940
+ },
941
+ "accept": [
942
+ "*"
943
+ ],
944
+ "exclude": []
945
+ }
946
+ },
947
+ "prompt": {
948
+ "label": "Prompt",
949
+ "icon": "zap",
950
+ "resize": {
951
+ "enabled": true,
952
+ "prod": false
953
+ },
954
+ "execution": {
955
+ "default": "copilot",
956
+ "agents": {
957
+ "copilot": {
958
+ "command": "copilot --agent prompt-agent -p \"${prompt}\" --allow-all"
959
+ },
960
+ "claude": {
961
+ "command": "claude --agent prompt-agent -p \"${prompt}\" --dangerously-skip-permissions"
962
+ }
963
+ }
964
+ },
965
+ "props": {
966
+ "text": {
967
+ "type": "text",
968
+ "label": "Prompt text",
969
+ "category": "content",
970
+ "default": ""
971
+ },
972
+ "status": {
973
+ "type": "text",
974
+ "label": "Status",
975
+ "category": "settings",
976
+ "default": "idle"
977
+ },
978
+ "sessionId": {
979
+ "type": "text",
980
+ "label": "Session ID",
981
+ "category": "settings",
982
+ "default": ""
983
+ },
984
+ "resultWidgetId": {
985
+ "type": "text",
986
+ "label": "Result Widget ID",
987
+ "category": "settings",
988
+ "default": ""
989
+ },
990
+ "errorMessage": {
991
+ "type": "text",
992
+ "label": "Error Message",
993
+ "category": "settings",
994
+ "default": ""
995
+ },
996
+ "connections": {
997
+ "type": "text",
998
+ "label": "Connections",
999
+ "category": "settings",
1000
+ "default": ""
1001
+ },
1002
+ "width": {
1003
+ "type": "number",
1004
+ "label": "Width",
1005
+ "category": "size",
1006
+ "default": 320,
1007
+ "min": 200
1008
+ },
1009
+ "height": {
1010
+ "type": "number",
1011
+ "label": "Height",
1012
+ "category": "size",
1013
+ "default": 180,
1014
+ "min": 80
1015
+ }
1016
+ },
1017
+ "features": [
1018
+ {
1019
+ "id": "copy",
1020
+ "type": "action",
1021
+ "action": "copy",
1022
+ "label": "$label:duplicate",
1023
+ "icon": "copy"
1024
+ },
1025
+ {
1026
+ "id": "expand-output",
1027
+ "type": "action",
1028
+ "action": "expand-output",
1029
+ "label": "Show output",
1030
+ "icon": "unfold"
1031
+ },
1032
+ {
1033
+ "id": "copy-link",
1034
+ "type": "action",
1035
+ "action": "copy-link",
1036
+ "label": "$label:copy-link",
1037
+ "icon": "link",
1038
+ "menu": true,
1039
+ "prod": true
1040
+ },
1041
+ {
1042
+ "id": "delete",
1043
+ "type": "action",
1044
+ "action": "delete",
1045
+ "label": "$label:delete",
1046
+ "icon": "trash",
1047
+ "menu": true
1048
+ }
1049
+ ]
1050
+ },
1051
+ "image": {
1052
+ "label": "Image",
1053
+ "icon": "\ud83d\uddbc\ufe0f",
1054
+ "splitScreen": true,
1055
+ "expandable": true,
1056
+ "resize": {
1057
+ "enabled": true,
1058
+ "prod": false
1059
+ },
1060
+ "props": {
1061
+ "src": {
1062
+ "type": "text",
1063
+ "label": "Source",
1064
+ "category": "content",
1065
+ "default": ""
1066
+ },
1067
+ "private": {
1068
+ "type": "boolean",
1069
+ "label": "Private",
1070
+ "category": "settings",
1071
+ "default": false
1072
+ },
1073
+ "width": {
1074
+ "type": "number",
1075
+ "label": "Width",
1076
+ "category": "size",
1077
+ "min": 100
1078
+ },
1079
+ "height": {
1080
+ "type": "number",
1081
+ "label": "Height",
1082
+ "category": "size",
1083
+ "min": 60
1084
+ }
1085
+ },
1086
+ "features": [
1087
+ {
1088
+ "id": "toggle-private",
1089
+ "type": "action",
1090
+ "action": "toggle-private",
1091
+ "label": "Make private",
1092
+ "icon": "eye"
1093
+ },
1094
+ {
1095
+ "id": "expand",
1096
+ "type": "action",
1097
+ "action": "expand",
1098
+ "label": "$label:expand",
1099
+ "icon": "expand"
1100
+ },
1101
+ {
1102
+ "id": "copy",
1103
+ "type": "action",
1104
+ "action": "copy",
1105
+ "label": "$label:duplicate",
1106
+ "icon": "copy"
1107
+ },
1108
+ {
1109
+ "id": "image-actions",
1110
+ "type": "dropdown",
1111
+ "icon": "image",
1112
+ "label": "Image actions",
1113
+ "items": [
1114
+ {
1115
+ "action": "crop-image",
1116
+ "label": "Crop",
1117
+ "icon": "crop"
1118
+ },
1119
+ {
1120
+ "action": "download-image",
1121
+ "label": "$label:download",
1122
+ "icon": "download"
1123
+ },
1124
+ {
1125
+ "action": "copy-as-png",
1126
+ "label": "$label:copy-png",
1127
+ "icon": "copy",
1128
+ "alt": {
1129
+ "label": "$label:copy-path",
1130
+ "action": "copy-file-path"
1131
+ }
1132
+ }
1133
+ ]
1134
+ },
1135
+ {
1136
+ "id": "copy-link",
1137
+ "type": "action",
1138
+ "action": "copy-link",
1139
+ "label": "$label:copy-link",
1140
+ "icon": "link",
1141
+ "menu": true,
1142
+ "prod": true,
1143
+ "alt": {
1144
+ "label": "$label:copy-id",
1145
+ "action": "copy-widget-id"
1146
+ }
1147
+ },
1148
+ {
1149
+ "id": "delete",
1150
+ "type": "action",
1151
+ "action": "delete",
1152
+ "label": "$label:delete",
1153
+ "icon": "trash",
1154
+ "menu": true
1155
+ }
1156
+ ],
1157
+ "connectors": {
1158
+ "anchors": {
1159
+ "top": "available",
1160
+ "bottom": "available",
1161
+ "left": "available",
1162
+ "right": "available"
1163
+ },
1164
+ "accept": [
1165
+ "*"
1166
+ ],
1167
+ "exclude": []
1168
+ }
1169
+ },
1170
+ "terminal": {
1171
+ "label": "Terminal",
1172
+ "icon": "\u2b1b",
1173
+ "expandable": true,
1174
+ "splitScreen": true,
1175
+ "resize": {
1176
+ "prod": false
1177
+ },
1178
+ "props": {
1179
+ "private": {
1180
+ "type": "boolean",
1181
+ "label": "Private",
1182
+ "category": "settings",
1183
+ "default": false
1184
+ },
1185
+ "width": {
1186
+ "type": "number",
1187
+ "label": "Width",
1188
+ "category": "size",
1189
+ "min": 300,
1190
+ "default": 800
1191
+ },
1192
+ "height": {
1193
+ "type": "number",
1194
+ "label": "Height",
1195
+ "category": "size",
1196
+ "min": 200,
1197
+ "default": 450
1198
+ }
1199
+ },
1200
+ "features": [
1201
+ {
1202
+ "id": "toggle-private",
1203
+ "type": "action",
1204
+ "action": "toggle-private",
1205
+ "label": "Make private",
1206
+ "icon": "eye"
1207
+ },
1208
+ {
1209
+ "id": "expand",
1210
+ "type": "action",
1211
+ "action": "expand",
1212
+ "label": "$label:expand",
1213
+ "icon": "expand"
1214
+ },
1215
+ {
1216
+ "id": "copy",
1217
+ "type": "action",
1218
+ "action": "copy",
1219
+ "label": "$label:duplicate",
1220
+ "icon": "copy"
1221
+ },
1222
+ {
1223
+ "id": "copy-link",
1224
+ "type": "action",
1225
+ "action": "copy-link",
1226
+ "label": "$label:copy-link",
1227
+ "icon": "link",
1228
+ "menu": true,
1229
+ "alt": {
1230
+ "label": "$label:copy-id",
1231
+ "action": "copy-widget-id"
1232
+ }
1233
+ },
1234
+ {
1235
+ "id": "delete",
1236
+ "type": "action",
1237
+ "action": "delete",
1238
+ "label": "$label:delete",
1239
+ "icon": "trash",
1240
+ "menu": true
1241
+ }
1242
+ ],
1243
+ "connectors": {
1244
+ "anchors": {
1245
+ "top": "available",
1246
+ "bottom": "available",
1247
+ "left": "available",
1248
+ "right": "available"
1249
+ },
1250
+ "accept": [
1251
+ "*"
1252
+ ],
1253
+ "exclude": []
1254
+ },
1255
+ "interactGate": false
1256
+ },
1257
+ "terminal-read": {
1258
+ "label": "Terminal",
1259
+ "icon": "\u2b1b",
1260
+ "expandable": true,
1261
+ "splitScreen": true,
1262
+ "resize": {
1263
+ "enabled": false,
1264
+ "prod": false
1265
+ },
1266
+ "props": {
1267
+ "width": {
1268
+ "type": "number",
1269
+ "label": "Width",
1270
+ "category": "size",
1271
+ "min": 300,
1272
+ "default": 800
1273
+ },
1274
+ "height": {
1275
+ "type": "number",
1276
+ "label": "Height",
1277
+ "category": "size",
1278
+ "min": 200,
1279
+ "default": 450
1280
+ }
1281
+ },
1282
+ "features": [
1283
+ {
1284
+ "id": "expand",
1285
+ "type": "action",
1286
+ "action": "expand",
1287
+ "label": "$label:expand",
1288
+ "icon": "expand"
1289
+ },
1290
+ {
1291
+ "id": "copy-link",
1292
+ "type": "action",
1293
+ "action": "copy-link",
1294
+ "label": "$label:copy-link",
1295
+ "icon": "link",
1296
+ "menu": true,
1297
+ "alt": {
1298
+ "label": "$label:copy-id",
1299
+ "action": "copy-widget-id"
1300
+ }
1301
+ }
1302
+ ],
1303
+ "connectors": {
1304
+ "anchors": {
1305
+ "top": "available",
1306
+ "bottom": "available",
1307
+ "left": "available",
1308
+ "right": "available"
1309
+ },
1310
+ "accept": [
1311
+ "*"
1312
+ ],
1313
+ "exclude": []
1314
+ },
1315
+ "interactGate": false
1316
+ },
1317
+ "agent": {
1318
+ "label": "Agent",
1319
+ "icon": "agents",
1320
+ "expandable": true,
1321
+ "splitScreen": true,
1322
+ "resize": {
1323
+ "enabled": false,
1324
+ "prod": false
1325
+ },
1326
+ "props": {
1327
+ "agentId": {
1328
+ "type": "text",
1329
+ "label": "Agent",
1330
+ "category": "settings",
1331
+ "default": ""
1332
+ },
1333
+ "startupCommand": {
1334
+ "type": "text",
1335
+ "label": "Startup Command",
1336
+ "category": "settings",
1337
+ "default": ""
1338
+ },
1339
+ "width": {
1340
+ "type": "number",
1341
+ "label": "Width",
1342
+ "category": "size",
1343
+ "min": 300,
1344
+ "default": 1200
1345
+ },
1346
+ "height": {
1347
+ "type": "number",
1348
+ "label": "Height",
1349
+ "category": "size",
1350
+ "min": 200,
1351
+ "default": 450
1352
+ }
1353
+ },
1354
+ "features": [
1355
+ {
1356
+ "id": "expand",
1357
+ "type": "action",
1358
+ "action": "expand",
1359
+ "label": "$label:expand",
1360
+ "icon": "expand"
1361
+ },
1362
+ {
1363
+ "id": "copy",
1364
+ "type": "action",
1365
+ "action": "copy",
1366
+ "label": "$label:duplicate",
1367
+ "icon": "copy"
1368
+ },
1369
+ {
1370
+ "id": "copy-link",
1371
+ "type": "action",
1372
+ "action": "copy-link",
1373
+ "label": "$label:copy-link",
1374
+ "icon": "link",
1375
+ "menu": true,
1376
+ "alt": {
1377
+ "label": "$label:copy-id",
1378
+ "action": "copy-widget-id"
1379
+ }
1380
+ },
1381
+ {
1382
+ "id": "delete",
1383
+ "type": "action",
1384
+ "action": "delete",
1385
+ "label": "$label:delete",
1386
+ "icon": "trash",
1387
+ "menu": true
1388
+ }
1389
+ ],
1390
+ "connectors": {
1391
+ "anchors": {
1392
+ "top": "available",
1393
+ "bottom": "available",
1394
+ "left": "available",
1395
+ "right": "available"
1396
+ },
1397
+ "accept": [
1398
+ "*"
1399
+ ],
1400
+ "exclude": []
1401
+ },
1402
+ "interactGate": false
1403
+ },
1404
+ "tiles": {
1405
+ "label": "Tiles",
1406
+ "icon": "\ud83d\udd32",
1407
+ "unlisted": true,
1408
+ "interactGate": true,
1409
+ "interactGateLabel": "Click to interact",
1410
+ "resize": {
1411
+ "enabled": true,
1412
+ "prod": false
1413
+ },
1414
+ "props": {
1415
+ "tiles": {
1416
+ "type": "text",
1417
+ "label": "Tiles",
1418
+ "category": "content",
1419
+ "default": []
1420
+ },
1421
+ "columns": {
1422
+ "type": "number",
1423
+ "label": "Columns",
1424
+ "category": "settings",
1425
+ "default": 3,
1426
+ "min": 1,
1427
+ "max": 20
1428
+ },
1429
+ "rows": {
1430
+ "type": "number",
1431
+ "label": "Rows",
1432
+ "category": "settings",
1433
+ "default": 3,
1434
+ "min": 1,
1435
+ "max": 20
1436
+ },
1437
+ "tileSize": {
1438
+ "type": "number",
1439
+ "label": "Tile size",
1440
+ "category": "settings",
1441
+ "default": 80,
1442
+ "min": 40,
1443
+ "max": 300
1444
+ },
1445
+ "width": {
1446
+ "type": "number",
1447
+ "label": "Width",
1448
+ "category": "size",
1449
+ "min": 200
1450
+ },
1451
+ "height": {
1452
+ "type": "number",
1453
+ "label": "Height",
1454
+ "category": "size",
1455
+ "min": 100
1456
+ }
1457
+ },
1458
+ "features": [
1459
+ {
1460
+ "id": "grid-actions",
1461
+ "type": "dropdown",
1462
+ "icon": "grid",
1463
+ "label": "Grid",
1464
+ "items": [
1465
+ {
1466
+ "action": "add-column",
1467
+ "label": "Add column",
1468
+ "icon": "plus"
1469
+ },
1470
+ {
1471
+ "action": "remove-column",
1472
+ "label": "Remove column",
1473
+ "icon": "dash"
1474
+ },
1475
+ {
1476
+ "action": "add-row",
1477
+ "label": "Add row",
1478
+ "icon": "plus"
1479
+ },
1480
+ {
1481
+ "action": "remove-row",
1482
+ "label": "Remove row",
1483
+ "icon": "dash"
1484
+ }
1485
+ ]
1486
+ },
1487
+ {
1488
+ "id": "randomize",
1489
+ "type": "action",
1490
+ "action": "randomize",
1491
+ "label": "Randomize",
1492
+ "icon": "sync"
1493
+ },
1494
+ {
1495
+ "id": "copy",
1496
+ "type": "action",
1497
+ "action": "copy",
1498
+ "label": "$label:duplicate",
1499
+ "icon": "copy"
1500
+ },
1501
+ {
1502
+ "id": "copy-link",
1503
+ "type": "action",
1504
+ "action": "copy-link",
1505
+ "label": "$label:copy-link",
1506
+ "icon": "link",
1507
+ "menu": true,
1508
+ "prod": true,
1509
+ "alt": {
1510
+ "label": "$label:copy-id",
1511
+ "action": "copy-widget-id"
1512
+ }
1513
+ },
1514
+ {
1515
+ "id": "delete",
1516
+ "type": "action",
1517
+ "action": "delete",
1518
+ "label": "$label:delete",
1519
+ "icon": "trash",
1520
+ "menu": true
1521
+ }
1522
+ ],
1523
+ "connectors": {
1524
+ "anchors": {
1525
+ "top": "available",
1526
+ "bottom": "available",
1527
+ "left": "available",
1528
+ "right": "available"
1529
+ },
1530
+ "accept": [
1531
+ "*"
1532
+ ],
1533
+ "exclude": []
1534
+ }
1535
+ }
1536
+ }
1537
+ }