@1agh/maude 2.0.8 → 2.1.1

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 (401) hide show
  1. package/README.md +2 -1
  2. package/apps/hub/src/project-transactions/kernel.mjs +13 -7
  3. package/apps/studio/access/closure.ts +86 -10
  4. package/apps/studio/access/filters.ts +18 -1
  5. package/apps/studio/access/request.ts +8 -0
  6. package/apps/studio/acp/design-write-verb.ts +12 -2
  7. package/apps/studio/acp/env.ts +7 -2
  8. package/apps/studio/acp/index.ts +15 -4
  9. package/apps/studio/acp/login-state.ts +22 -5
  10. package/apps/studio/acp/may-scope.ts +38 -1
  11. package/apps/studio/acp/plugin-bootstrap.ts +13 -1
  12. package/apps/studio/acp/probe.ts +11 -4
  13. package/apps/studio/actions/agents.ts +110 -28
  14. package/apps/studio/actions/canvas-keys.ts +4 -2
  15. package/apps/studio/actions/ctx.ts +3 -0
  16. package/apps/studio/actions/defs/annotation.ts +84 -2
  17. package/apps/studio/actions/defs/app.ts +28 -1
  18. package/apps/studio/actions/defs/edit.ts +13 -0
  19. package/apps/studio/actions/defs/export.ts +12 -0
  20. package/apps/studio/actions/defs/sync.ts +18 -0
  21. package/apps/studio/actions/defs/video.ts +9 -0
  22. package/apps/studio/actions/documents.ts +6 -1
  23. package/apps/studio/actions/keymap.gen.ts +147 -9
  24. package/apps/studio/actions/menu.ts +5 -1
  25. package/apps/studio/actions/types.ts +4 -2
  26. package/apps/studio/actions/verbs.ts +9 -0
  27. package/apps/studio/actions.manifest.json +300 -45
  28. package/apps/studio/actions.parity.json +19 -1
  29. package/apps/studio/ai/save-hold.ts +2 -1
  30. package/apps/studio/ai/write-claim-scope.ts +7 -1
  31. package/apps/studio/ai/write-claim.ts +154 -3
  32. package/apps/studio/annotations/ai-read.ts +42 -6
  33. package/apps/studio/annotations/ai-write.ts +145 -2
  34. package/apps/studio/annotations/board-ops.ts +34 -3
  35. package/apps/studio/annotations/checklist-ops.ts +374 -0
  36. package/apps/studio/annotations/elements/checkitem.model.ts +129 -0
  37. package/apps/studio/annotations/elements/sticky.model.ts +54 -2
  38. package/apps/studio/annotations/ops.ts +30 -0
  39. package/apps/studio/annotations/registry.ts +9 -1
  40. package/apps/studio/annotations/templates.ts +4 -2
  41. package/apps/studio/annotations/text-steps.ts +114 -10
  42. package/apps/studio/annotations/ui/checklist-wire.ts +129 -0
  43. package/apps/studio/annotations/ui/checklist.tsx +429 -0
  44. package/apps/studio/annotations/ui/element-node.tsx +48 -2
  45. package/apps/studio/annotations/ui/template-place.ts +11 -1
  46. package/apps/studio/annotations/v1-adapter.ts +22 -3
  47. package/apps/studio/annotations-context-toolbar.tsx +12 -0
  48. package/apps/studio/annotations-layer.tsx +442 -49
  49. package/apps/studio/annotations-model.ts +4 -2
  50. package/apps/studio/api.ts +148 -21
  51. package/apps/studio/artboard-live-gate.tsx +54 -17
  52. package/apps/studio/artboard-still-persist.ts +166 -0
  53. package/apps/studio/artboard-still-raster.ts +6 -2
  54. package/apps/studio/artboard-still.ts +390 -20
  55. package/apps/studio/asset-added.ts +154 -0
  56. package/apps/studio/asset-details.ts +46 -3
  57. package/apps/studio/asset-origins.ts +5 -3
  58. package/apps/studio/asset-trash.ts +6 -1
  59. package/apps/studio/bin/_agent-browser-safe.mjs +3 -4
  60. package/apps/studio/bin/_annotate-post.mjs +14 -5
  61. package/apps/studio/bin/_audio-search.mjs +8 -2
  62. package/apps/studio/bin/_curl-local.mjs +7 -4
  63. package/apps/studio/bin/_desktop-locate.sh +145 -0
  64. package/apps/studio/bin/_ds-check-live.mjs +2 -1
  65. package/apps/studio/bin/_exports.mjs +38 -2
  66. package/apps/studio/bin/_history.mjs +79 -8
  67. package/apps/studio/bin/_import-asset.mjs +14 -9
  68. package/apps/studio/bin/_import-figma.mjs +510 -98
  69. package/apps/studio/bin/_index-cli.mjs +10 -21
  70. package/apps/studio/bin/_ingest-footage.mjs +24 -6
  71. package/apps/studio/bin/_media-probe.mjs +232 -0
  72. package/apps/studio/bin/_perf-probe-open.mjs +6 -0
  73. package/apps/studio/bin/_perf-probe-safari.mjs +6 -0
  74. package/apps/studio/bin/_perf-probe-studio.mjs +6 -1
  75. package/apps/studio/bin/_perf-probe.mjs +8 -3
  76. package/apps/studio/bin/_perf-sweep-shared.mjs +789 -0
  77. package/apps/studio/bin/_perf-sweep.mjs +240 -0
  78. package/apps/studio/bin/_record-shot.sh +33 -8
  79. package/apps/studio/bin/_screenshot-playwright.mjs +45 -2
  80. package/apps/studio/bin/_studio-verb.mjs +8 -3
  81. package/apps/studio/bin/_thumb-route.mjs +21 -0
  82. package/apps/studio/bin/_thumbs-playwright.mjs +83 -1
  83. package/apps/studio/bin/_transcribe.mjs +22 -6
  84. package/apps/studio/bin/_unsynced-refs.mjs +22 -0
  85. package/apps/studio/bin/_url-guard.mjs +120 -5
  86. package/apps/studio/bin/_url-guard.sh +29 -7
  87. package/apps/studio/bin/_video-limits.mjs +104 -0
  88. package/apps/studio/bin/_video-playwright.mjs +119 -19
  89. package/apps/studio/bin/_video-proxy.mjs +130 -0
  90. package/apps/studio/bin/_write-claim.mjs +38 -16
  91. package/apps/studio/bin/annotate.mjs +12 -2
  92. package/apps/studio/bin/canvas-rects.sh +19 -4
  93. package/apps/studio/bin/chat-open.sh +7 -1
  94. package/apps/studio/bin/draw-proof.sh +6 -2
  95. package/apps/studio/bin/generate.sh +32 -10
  96. package/apps/studio/bin/handoff.sh +2 -2
  97. package/apps/studio/bin/perf.sh +96 -15
  98. package/apps/studio/bin/photo-adjust.sh +6 -3
  99. package/apps/studio/bin/photo-bg-remove.sh +2 -2
  100. package/apps/studio/bin/prep.sh +21 -4
  101. package/apps/studio/bin/read-annotations.mjs +3 -0
  102. package/apps/studio/bin/runtime-health.sh +27 -1
  103. package/apps/studio/bin/screenshot.sh +152 -12
  104. package/apps/studio/bin/server-up.sh +64 -6
  105. package/apps/studio/bin/smoke.sh +43 -8
  106. package/apps/studio/bin/to-lottie.sh +3 -2
  107. package/apps/studio/bin/video-proxy.sh +27 -0
  108. package/apps/studio/bin/visual-sanity.sh +3 -1
  109. package/apps/studio/bridge/dgn-protocol.ts +157 -1
  110. package/apps/studio/bridge/mode-shows.ts +8 -6
  111. package/apps/studio/bridge/still-webp.ts +233 -0
  112. package/apps/studio/build.ts +18 -0
  113. package/apps/studio/canvas-build.ts +93 -11
  114. package/apps/studio/canvas-comment-mount.tsx +53 -8
  115. package/apps/studio/canvas-edit.ts +34 -1
  116. package/apps/studio/canvas-lib-module.ts +210 -0
  117. package/apps/studio/canvas-lib.tsx +3 -12
  118. package/apps/studio/canvas-pipeline.ts +111 -5
  119. package/apps/studio/canvas-shell.tsx +8 -11
  120. package/apps/studio/canvas-theme-pill.tsx +5 -3
  121. package/apps/studio/check/index.ts +12 -5
  122. package/apps/studio/check/video.ts +18 -2
  123. package/apps/studio/client/app.jsx +65 -7
  124. package/apps/studio/client/clipboard-relay.ts +193 -16
  125. package/apps/studio/client/comments-overlay.css +18 -0
  126. package/apps/studio/client/export-center.jsx +30 -0
  127. package/apps/studio/client/generate-dialog.jsx +49 -4
  128. package/apps/studio/client/github.js +7 -0
  129. package/apps/studio/client/home/HomeAccountsRow.jsx +221 -0
  130. package/apps/studio/client/home/HomeConnection.jsx +111 -0
  131. package/apps/studio/client/home/home-accounts-model.js +110 -1
  132. package/apps/studio/client/home/home-api.js +9 -2
  133. package/apps/studio/client/home/home-app.jsx +126 -13
  134. package/apps/studio/client/home/home-model.js +69 -1
  135. package/apps/studio/client/home/home-where-model.js +105 -0
  136. package/apps/studio/client/home/home.css +239 -1
  137. package/apps/studio/client/hooks/use-canvas-bridge.jsx +173 -98
  138. package/apps/studio/client/hooks/use-palette-and-panels.jsx +5 -1
  139. package/apps/studio/client/hooks/use-tabs.jsx +11 -4
  140. package/apps/studio/client/panels/DiffView.jsx +7 -1
  141. package/apps/studio/client/panels/TeamProjects.jsx +137 -134
  142. package/apps/studio/client/panels/chat-context.js +2 -0
  143. package/apps/studio/client/panels/slash-commands.gen.js +13 -13
  144. package/apps/studio/client/selection-scope.js +16 -9
  145. package/apps/studio/client/share-link.js +12 -0
  146. package/apps/studio/client/shell/viewport.jsx +11 -1
  147. package/apps/studio/client/shell-events.js +8 -0
  148. package/apps/studio/client/styles/3-kit-maude-v2.css +16 -0
  149. package/apps/studio/client/styles/_index.css +4 -0
  150. package/apps/studio/client/v2/ai/Feed.jsx +1 -1
  151. package/apps/studio/client/v2/ai/OfferCard.jsx +34 -0
  152. package/apps/studio/client/v2/ai/activity-line.js +54 -1
  153. package/apps/studio/client/v2/ai/ai-offer.js +21 -1
  154. package/apps/studio/client/v2/ai/run-model.js +3 -1
  155. package/apps/studio/client/v2/annotations/vote-store.js +28 -4
  156. package/apps/studio/client/v2/assets/asset-drop-session.js +37 -2
  157. package/apps/studio/client/v2/assets/canvas-drop-catcher.jsx +7 -5
  158. package/apps/studio/client/v2/assets/details-model.js +1 -1
  159. package/apps/studio/client/v2/assets/details.jsx +5 -0
  160. package/apps/studio/client/v2/assets/tile-drag.js +11 -7
  161. package/apps/studio/client/v2/comments/comments-panel.jsx +22 -3
  162. package/apps/studio/client/v2/create/duplicate-done.js +6 -2
  163. package/apps/studio/client/v2/diagnostics/diagnostics-host.jsx +1 -0
  164. package/apps/studio/client/v2/diagnostics/diagnostics-model.js +32 -2
  165. package/apps/studio/client/v2/diagnostics/diagnostics-sheet.jsx +35 -8
  166. package/apps/studio/client/v2/diagnostics/diagnostics.css +34 -0
  167. package/apps/studio/client/v2/diagnostics/sync-details/sync-details-model.js +113 -3
  168. package/apps/studio/client/v2/diagnostics/sync-details/sync-details.jsx +343 -6
  169. package/apps/studio/client/v2/diagnostics/sync-details/unsynced-refs.js +55 -0
  170. package/apps/studio/client/v2/ds/review.css +1 -1
  171. package/apps/studio/client/v2/export/exports-model.js +7 -0
  172. package/apps/studio/client/v2/export/exports-panel.jsx +1 -0
  173. package/apps/studio/client/v2/export/job-row.jsx +32 -2
  174. package/apps/studio/client/v2/handoff/ready-card.jsx +1 -1
  175. package/apps/studio/client/v2/history/compare-view.jsx +1 -0
  176. package/apps/studio/client/v2/inspector/css-write.js +6 -1
  177. package/apps/studio/client/v2/inspector/frame.jsx +28 -4
  178. package/apps/studio/client/v2/inspector/kinds/clip-model.js +51 -0
  179. package/apps/studio/client/v2/inspector/kinds/clip.jsx +75 -2
  180. package/apps/studio/client/v2/inspector/model.js +21 -0
  181. package/apps/studio/client/v2/inspector/sections/fill.jsx +12 -3
  182. package/apps/studio/client/v2/inspector/sections/recent-colours.js +8 -5
  183. package/apps/studio/client/v2/inspector/view-mode.jsx +11 -1
  184. package/apps/studio/client/v2/link-server/LinkServerDialog.jsx +492 -0
  185. package/apps/studio/client/v2/link-server/LinkServerHost.jsx +42 -0
  186. package/apps/studio/client/v2/link-server/link-server-api.js +142 -0
  187. package/apps/studio/client/v2/link-server/link-server-model.js +438 -0
  188. package/apps/studio/client/v2/link-server/link-server.css +109 -0
  189. package/apps/studio/client/v2/onboarding/AdvancedSheets.jsx +31 -86
  190. package/apps/studio/client/v2/onboarding/onboarding-model.js +1 -18
  191. package/apps/studio/client/v2/preview/link-follow.js +4 -2
  192. package/apps/studio/client/v2/preview/preview-chrome-host.jsx +16 -6
  193. package/apps/studio/client/v2/search/help-model.js +2 -0
  194. package/apps/studio/client/v2/search/search-keywords.js +3 -2
  195. package/apps/studio/client/v2/settings/account.jsx +4 -2
  196. package/apps/studio/client/v2/settings/advanced-section.jsx +344 -137
  197. package/apps/studio/client/v2/settings/connection-row.jsx +3 -59
  198. package/apps/studio/client/v2/settings/connections-section.jsx +118 -425
  199. package/apps/studio/client/v2/settings/general-section.jsx +155 -24
  200. package/apps/studio/client/v2/settings/project-sync-settings.jsx +4 -3
  201. package/apps/studio/client/v2/settings/reset-section.jsx +14 -3
  202. package/apps/studio/client/v2/settings/settings-card.jsx +142 -0
  203. package/apps/studio/client/v2/settings/settings-cards.js +220 -0
  204. package/apps/studio/client/v2/settings/settings-handlers.js +7 -6
  205. package/apps/studio/client/v2/settings/settings-model.js +100 -31
  206. package/apps/studio/client/v2/settings/settings-sheet.jsx +25 -6
  207. package/apps/studio/client/v2/settings/settings.css +374 -64
  208. package/apps/studio/client/v2/settings/this-project-card.jsx +730 -0
  209. package/apps/studio/client/v2/settings/this-project-model.js +172 -0
  210. package/apps/studio/client/v2/settings/use-connections.js +3 -2
  211. package/apps/studio/client/v2/settings/use-open-card.js +37 -0
  212. package/apps/studio/client/v2/share/share-sheet.jsx +28 -11
  213. package/apps/studio/client/v2/shell/api-session-boot.js +6 -0
  214. package/apps/studio/client/v2/shell/api-session.js +126 -0
  215. package/apps/studio/client/v2/shell/connection-state.js +197 -0
  216. package/apps/studio/client/v2/shell/floating-panels.css +31 -1
  217. package/apps/studio/client/v2/shell/image-pick.js +61 -8
  218. package/apps/studio/client/v2/shell/menu-aim.js +43 -0
  219. package/apps/studio/client/v2/shell/menu-runner.js +25 -7
  220. package/apps/studio/client/v2/shell/occlusion-insets.js +18 -1
  221. package/apps/studio/client/v2/shell/project-account-bus.js +36 -0
  222. package/apps/studio/client/v2/shell/project-account-card.jsx +357 -148
  223. package/apps/studio/client/v2/shell/project-account-model.js +272 -149
  224. package/apps/studio/client/v2/shell/project-account-toast.js +66 -0
  225. package/apps/studio/client/v2/shell/project-account.css +237 -0
  226. package/apps/studio/client/v2/shell/project-pill.jsx +52 -6
  227. package/apps/studio/client/v2/shell/share-cluster-host.jsx +166 -83
  228. package/apps/studio/client/v2/shell/shell-parity.js +3 -2
  229. package/apps/studio/client/v2/shell/shell-parity.json +71 -36
  230. package/apps/studio/client/v2/shell/still-bridge.js +194 -0
  231. package/apps/studio/client/v2/shell/still-store.js +319 -0
  232. package/apps/studio/client/v2/shell/use-account.js +2 -0
  233. package/apps/studio/client/v2/shell/use-tool-panels.js +2 -1
  234. package/apps/studio/client/v2/signin/use-signin.js +1 -1
  235. package/apps/studio/client/v2/timeline/Timeline.jsx +15 -0
  236. package/apps/studio/client/v2/timeline/frame-handle-model.js +142 -0
  237. package/apps/studio/client/v2/timeline/frame-handle.jsx +151 -0
  238. package/apps/studio/clip-ops.ts +126 -8
  239. package/apps/studio/cloud/endpoints.ts +29 -4
  240. package/apps/studio/collab/ai-activity.ts +10 -8
  241. package/apps/studio/collab/awareness-bridge.ts +34 -9
  242. package/apps/studio/collab/index.ts +3 -0
  243. package/apps/studio/collab/registry.ts +41 -10
  244. package/apps/studio/comment-reattach.ts +149 -0
  245. package/apps/studio/comments/mine-stamp.ts +15 -7
  246. package/apps/studio/comments/ops.ts +52 -8
  247. package/apps/studio/comments-overlay.tsx +146 -9
  248. package/apps/studio/dist/client.bundle.js +892 -885
  249. package/apps/studio/dist/comment-mount.js +2 -2
  250. package/apps/studio/dist/styles.css +1 -1
  251. package/apps/studio/dom-selection.ts +87 -18
  252. package/apps/studio/ds/board/directions.css +8 -0
  253. package/apps/studio/ds/board/outline.tsx +16 -0
  254. package/apps/studio/ds/canvas-check.ts +6 -0
  255. package/apps/studio/edit-ops/clip/reframe.ts +19 -3
  256. package/apps/studio/edit-ops/clip-carry.ts +602 -0
  257. package/apps/studio/edit-ops/clipboard.ts +318 -23
  258. package/apps/studio/edit-ops/dispatch.ts +20 -2
  259. package/apps/studio/edit-ops/scope-names.ts +249 -40
  260. package/apps/studio/edit-ops/slot-defaults.ts +3 -0
  261. package/apps/studio/edit-ops/types.ts +6 -0
  262. package/apps/studio/editing/align-bar.tsx +33 -9
  263. package/apps/studio/editing/artboard-actions.ts +5 -0
  264. package/apps/studio/editing/artboard-menu.tsx +6 -2
  265. package/apps/studio/editing/click-to-type.ts +1 -1
  266. package/apps/studio/editing/clip-words.ts +48 -0
  267. package/apps/studio/editing/clipboard.ts +21 -6
  268. package/apps/studio/editing/declared-background.ts +25 -0
  269. package/apps/studio/editing/index.tsx +3 -0
  270. package/apps/studio/editing/object-keys.ts +4 -4
  271. package/apps/studio/editing/object-menu.tsx +13 -3
  272. package/apps/studio/editing/pen/points.tsx +61 -0
  273. package/apps/studio/editing/text-in-place.tsx +11 -0
  274. package/apps/studio/editing/video-frame-handle.tsx +425 -0
  275. package/apps/studio/exporters/capture-prepass.ts +374 -0
  276. package/apps/studio/exporters/degraded.ts +148 -0
  277. package/apps/studio/exporters/hub-render-door.ts +28 -2
  278. package/apps/studio/exporters/index.ts +3 -1
  279. package/apps/studio/exporters/job-budget.ts +93 -0
  280. package/apps/studio/exporters/jobs.ts +215 -28
  281. package/apps/studio/exporters/parity-check.ts +254 -0
  282. package/apps/studio/exporters/remote.ts +209 -15
  283. package/apps/studio/exporters/svg-inline.ts +87 -0
  284. package/apps/studio/exporters/video-render-lib.ts +88 -26
  285. package/apps/studio/exporters/video.ts +29 -6
  286. package/apps/studio/figma/assets.ts +58 -43
  287. package/apps/studio/figma/codegen-fonts.ts +100 -0
  288. package/apps/studio/figma/fig-decode.ts +390 -25
  289. package/apps/studio/figma/fig-kiwi.ts +18 -4
  290. package/apps/studio/figma/fig-vector.ts +59 -3
  291. package/apps/studio/figma/sanitize.ts +2 -0
  292. package/apps/studio/figma/style-map.ts +293 -48
  293. package/apps/studio/figma/to-artboard.ts +455 -69
  294. package/apps/studio/figma/to-strokes.ts +44 -11
  295. package/apps/studio/figma/types.ts +13 -0
  296. package/apps/studio/footage/schema.ts +3 -3
  297. package/apps/studio/generation/adapters/elevenlabs.ts +7 -1
  298. package/apps/studio/generation/adapters/groq.ts +8 -1
  299. package/apps/studio/generation/spend.ts +312 -0
  300. package/apps/studio/generation/types.ts +12 -0
  301. package/apps/studio/handoff/run.ts +1 -1
  302. package/apps/studio/handoff/targets.ts +2 -2
  303. package/apps/studio/handoff/write-scopes.ts +1 -1
  304. package/apps/studio/history/describe-annotations.ts +4 -0
  305. package/apps/studio/home/accounts.ts +30 -11
  306. package/apps/studio/home/cloud.ts +6 -1
  307. package/apps/studio/home/create-local.ts +32 -3
  308. package/apps/studio/home/hub-health.ts +76 -0
  309. package/apps/studio/home/routes.ts +15 -4
  310. package/apps/studio/http.ts +438 -86
  311. package/apps/studio/imported-module-ids.ts +91 -0
  312. package/apps/studio/inspect.ts +2 -0
  313. package/apps/studio/migrate/hub.ts +8 -1
  314. package/apps/studio/notifications.tsx +47 -5
  315. package/apps/studio/paths.ts +10 -1
  316. package/apps/studio/port.ts +3 -2
  317. package/apps/studio/preview/preview-camera.tsx +15 -382
  318. package/apps/studio/readiness.ts +10 -1
  319. package/apps/studio/release-build.ts +51 -0
  320. package/apps/studio/routes/agent.ts +188 -9
  321. package/apps/studio/routes/ai.ts +43 -11
  322. package/apps/studio/routes/annotations.ts +27 -1
  323. package/apps/studio/routes/assets.ts +18 -1
  324. package/apps/studio/routes/canvas-origin.ts +12 -9
  325. package/apps/studio/routes/cloud-move.ts +15 -0
  326. package/apps/studio/routes/edit.ts +3 -0
  327. package/apps/studio/routes/export.ts +51 -0
  328. package/apps/studio/routes/generate.ts +42 -12
  329. package/apps/studio/routes/hub-link-folder.ts +334 -0
  330. package/apps/studio/routes/hub-signin.ts +78 -1
  331. package/apps/studio/routes/index.ts +9 -1
  332. package/apps/studio/routes/shell.ts +217 -5
  333. package/apps/studio/routes/sync.ts +136 -8
  334. package/apps/studio/routes/votes.ts +2 -1
  335. package/apps/studio/schema/annotations.v2.schema.json +143 -1
  336. package/apps/studio/schema/beats.v1.schema.json +1 -1
  337. package/apps/studio/schema/edl.v1.schema.json +1 -1
  338. package/apps/studio/schema/formats.ts +3 -3
  339. package/apps/studio/schema/transcript.v1.schema.json +1 -1
  340. package/apps/studio/server.ts +142 -43
  341. package/apps/studio/shell/api-key.ts +503 -0
  342. package/apps/studio/shell/attest.ts +59 -0
  343. package/apps/studio/shell/capture-url.ts +20 -0
  344. package/apps/studio/shell/cli-yield.ts +276 -0
  345. package/apps/studio/shell/clip-transfer.ts +302 -0
  346. package/apps/studio/shell/key-file.ts +108 -0
  347. package/apps/studio/shell/server-json.ts +75 -0
  348. package/apps/studio/shell/worktree.ts +19 -0
  349. package/apps/studio/spoof-chars.ts +9 -0
  350. package/apps/studio/studio-page-host.ts +1 -1
  351. package/apps/studio/sync/accepted-cold-start.ts +144 -8
  352. package/apps/studio/sync/accepted-link.ts +76 -29
  353. package/apps/studio/sync/action-stage.ts +575 -44
  354. package/apps/studio/sync/adopt-held.ts +85 -0
  355. package/apps/studio/sync/ctl-heal.ts +58 -0
  356. package/apps/studio/sync/file-ledger.ts +38 -4
  357. package/apps/studio/sync/file-membership.ts +16 -1
  358. package/apps/studio/sync/file-plane.ts +289 -22
  359. package/apps/studio/sync/held-deletes.ts +86 -5
  360. package/apps/studio/sync/hub-link.ts +8 -0
  361. package/apps/studio/sync/index.ts +196 -12
  362. package/apps/studio/sync/journal-client.ts +50 -4
  363. package/apps/studio/sync/link-consent.ts +22 -75
  364. package/apps/studio/sync/link-survey.ts +252 -0
  365. package/apps/studio/sync/local-kernel.ts +296 -8
  366. package/apps/studio/sync/projection.ts +22 -3
  367. package/apps/studio/sync/seed-progress.ts +12 -0
  368. package/apps/studio/sync/source-recovery.ts +59 -3
  369. package/apps/studio/sync/status.ts +19 -2
  370. package/apps/studio/sync/unsynced-refs.ts +397 -0
  371. package/apps/studio/sync/writer-registry.ts +20 -0
  372. package/apps/studio/thumbs/service.ts +4 -1
  373. package/apps/studio/tool-palette.tsx +23 -0
  374. package/apps/studio/ui-prefs.ts +40 -0
  375. package/apps/studio/use-agent-presence.tsx +2 -2
  376. package/apps/studio/use-canvas-keys.ts +6 -1
  377. package/apps/studio/video/format-ids.ts +2 -2
  378. package/apps/studio/video/inject.ts +31 -0
  379. package/apps/studio/video/media-risk.ts +58 -0
  380. package/apps/studio/video/object-fit.ts +137 -0
  381. package/apps/studio/video/provider-transcript.ts +141 -0
  382. package/apps/studio/whats-new.json +137 -0
  383. package/apps/studio/workspace-mode.ts +1 -0
  384. package/apps/studio/ws.ts +5 -0
  385. package/cli/commands/design.mjs +119 -8
  386. package/cli/lib/bash-guard.mjs +366 -6
  387. package/cli/lib/confine-read.mjs +1 -0
  388. package/cli/lib/design-help.gen.mjs +3 -2
  389. package/cli/lib/design-hook.mjs +387 -81
  390. package/cli/lib/design-link.mjs +16 -1
  391. package/cli/lib/design-open.mjs +49 -3
  392. package/cli/lib/desktop-locate.mjs +770 -0
  393. package/cli/lib/handoff.mjs +1 -1
  394. package/cli/lib/hook-state.mjs +291 -0
  395. package/cli/lib/pkg-root.mjs +65 -13
  396. package/cli/lib/studio-locate.mjs +59 -16
  397. package/package.json +15 -8
  398. package/plugins/design/templates/_shell.html +13 -0
  399. package/apps/studio/client/v2/onboarding/HubSheet.jsx +0 -212
  400. package/apps/studio/client/v2/shell/account-card-model.js +0 -114
  401. package/apps/studio/client/v2/shell/account-card.jsx +0 -189
@@ -487,21 +487,6 @@
487
487
  /* room under the last row, so a scrolled sheet never ends mid-row at its edge */
488
488
  padding: var(--space-4) var(--space-5) var(--space-7, 32px);
489
489
  }
490
- /* Advanced: This Mac · Engines · This project (06 .ad-sg-cols) */
491
- .v2s-cols {
492
- display: grid;
493
- grid-template-columns: repeat(3, minmax(0, 1fr));
494
- gap: var(--space-6, 24px);
495
- align-items: start;
496
- }
497
- .v2s-col {
498
- min-width: 0;
499
- }
500
- @media (max-width: 1100px) {
501
- .v2s-cols {
502
- grid-template-columns: minmax(0, 1fr);
503
- }
504
- }
505
490
  .v2s-panel[hidden] {
506
491
  display: none;
507
492
  }
@@ -749,6 +734,375 @@
749
734
  }
750
735
  }
751
736
 
737
+ /* ── 2.1.1 T6 (canvas 17 · 08 · 10 · 11): one column of cards in every tab — the Connections row made
738
+ expandable (settings-card.jsx). Lifted from the canvas's `.ac-card*`; the tokens are the shell's. ── */
739
+ @layer components {
740
+ .v2s-cards {
741
+ display: flex;
742
+ flex-direction: column;
743
+ gap: var(--space-2);
744
+ max-width: 760px;
745
+ margin: 0 auto;
746
+ }
747
+ .v2s-card {
748
+ border-radius: var(--radius-lg, 10px);
749
+ background: var(--bg-1);
750
+ box-shadow: inset 0 0 0 0.5px var(--border-default);
751
+ }
752
+ .v2s-card[data-open] {
753
+ box-shadow:
754
+ var(--shadow-sm),
755
+ inset 0 0 0 0.5px var(--border-strong);
756
+ }
757
+ .v2s-card-r {
758
+ display: flex;
759
+ align-items: center;
760
+ gap: var(--space-2);
761
+ min-height: 72px;
762
+ padding: var(--space-3) var(--space-4) var(--space-3) var(--space-3);
763
+ }
764
+ /* the header is one button: the icon, the words, the status — Enter / Space toggle it */
765
+ .v2s-card-h {
766
+ flex: 1;
767
+ min-width: 0;
768
+ display: flex;
769
+ align-items: center;
770
+ gap: var(--space-3);
771
+ padding: 0;
772
+ border: 0;
773
+ border-radius: var(--radius-md);
774
+ background: none;
775
+ font: inherit;
776
+ color: inherit;
777
+ text-align: left;
778
+ cursor: pointer;
779
+ }
780
+ .v2s-card-h:focus-visible {
781
+ outline: 2px solid var(--focus-ring);
782
+ outline-offset: 4px;
783
+ }
784
+ .v2s-card-ic {
785
+ display: grid;
786
+ place-items: center;
787
+ flex: none;
788
+ width: 32px;
789
+ height: 32px;
790
+ border-radius: var(--radius-md);
791
+ background: var(--bg-3);
792
+ color: var(--fg-1);
793
+ }
794
+ .v2s-card-ic--bare {
795
+ background: none;
796
+ }
797
+ .v2s-card-t {
798
+ flex: 1;
799
+ min-width: 0;
800
+ display: flex;
801
+ flex-direction: column;
802
+ gap: 1px;
803
+ }
804
+ .v2s-card-tt {
805
+ font-size: var(--type-sm);
806
+ font-weight: var(--w-semibold);
807
+ color: var(--fg-0);
808
+ }
809
+ .v2s-card-q {
810
+ margin-left: var(--space-1);
811
+ font-weight: var(--w-regular, 400);
812
+ color: var(--fg-2);
813
+ }
814
+ .v2s-card-d,
815
+ .v2s-card-s {
816
+ overflow: hidden;
817
+ text-overflow: ellipsis;
818
+ white-space: nowrap;
819
+ font-size: var(--type-xs);
820
+ }
821
+ .v2s-card-d {
822
+ color: var(--fg-2);
823
+ }
824
+ .v2s-card-s {
825
+ display: inline-flex;
826
+ align-items: center;
827
+ gap: var(--space-1);
828
+ min-width: 0;
829
+ color: var(--fg-1);
830
+ }
831
+ .v2s-card-s-t {
832
+ min-width: 0;
833
+ overflow: hidden;
834
+ text-overflow: ellipsis;
835
+ }
836
+ /* a status is a word with a dot, never hue alone (canvas 17 `StatusWord`) */
837
+ .v2s-dot {
838
+ flex: none;
839
+ width: 6px;
840
+ height: 6px;
841
+ border-radius: 50%;
842
+ background: var(--fg-2);
843
+ }
844
+ .v2s-card-s[data-sw="ok"] .v2s-dot {
845
+ background: var(--status-success);
846
+ }
847
+ .v2s-card-s[data-sw="busy"] .v2s-dot {
848
+ background: var(--accent);
849
+ }
850
+ .v2s-card-s[data-sw="warn"] .v2s-dot {
851
+ background: var(--status-warn);
852
+ }
853
+ .v2s-card-s[data-sw="error"] .v2s-dot {
854
+ background: var(--status-error);
855
+ }
856
+ .v2s-card--bad .v2s-card-t .v2s-card-s,
857
+ .v2s-card-s[data-sw="error"] {
858
+ color: var(--status-error-text);
859
+ }
860
+ .v2s-card-a {
861
+ display: flex;
862
+ flex: none;
863
+ gap: var(--space-1);
864
+ }
865
+ .v2s-card-ch {
866
+ display: grid;
867
+ flex: none;
868
+ color: var(--fg-2);
869
+ cursor: pointer;
870
+ transition: rotate var(--dur-flip, 120ms) var(--ease-out, ease-out);
871
+ }
872
+ .v2s-card[data-open] .v2s-card-ch {
873
+ rotate: 90deg;
874
+ }
875
+ .v2s-card-b {
876
+ display: flex;
877
+ flex-direction: column;
878
+ gap: 2px;
879
+ padding: 0 var(--space-4) var(--space-4) 60px;
880
+ }
881
+ .v2s-card-b[hidden] {
882
+ display: none;
883
+ }
884
+ .v2s-card-fold {
885
+ margin-top: var(--space-2);
886
+ border-top: 1px solid var(--border-subtle);
887
+ padding-top: var(--space-1);
888
+ }
889
+ .v2s-card-cols {
890
+ display: grid;
891
+ grid-template-columns: repeat(2, minmax(0, 1fr));
892
+ gap: var(--space-6, 24px);
893
+ }
894
+ @media (max-width: 900px) {
895
+ .v2s-card-cols {
896
+ grid-template-columns: minmax(0, 1fr);
897
+ }
898
+ }
899
+ .v2s-card-row {
900
+ display: flex;
901
+ align-items: center;
902
+ gap: var(--space-3);
903
+ min-height: 32px;
904
+ font-size: var(--type-sm);
905
+ }
906
+ .v2s-card-row-k {
907
+ flex: none;
908
+ width: 112px;
909
+ color: var(--fg-1);
910
+ white-space: nowrap;
911
+ }
912
+ .v2s-card-row-v {
913
+ flex: 1;
914
+ min-width: 0;
915
+ display: flex;
916
+ align-items: center;
917
+ color: var(--fg-0);
918
+ }
919
+ .v2s-card-row-a {
920
+ flex: none;
921
+ }
922
+ .v2s-cards-foot {
923
+ padding: var(--space-1) var(--space-3) 0;
924
+ }
925
+
926
+ /* This project (08 · 09): the project's square, the account's face, the place chip, the broken-sign-in callout */
927
+ .v2s-sq {
928
+ display: grid;
929
+ place-items: center;
930
+ width: 32px;
931
+ height: 32px;
932
+ border-radius: var(--radius-md);
933
+ background: var(--accent-soft);
934
+ color: var(--fg-0);
935
+ font-size: var(--type-xs);
936
+ font-weight: var(--w-semibold);
937
+ }
938
+ .v2s-face {
939
+ display: inline-grid;
940
+ place-items: center;
941
+ flex: none;
942
+ width: 18px;
943
+ height: 18px;
944
+ margin-right: var(--space-2);
945
+ border-radius: 50%;
946
+ background: var(--bg-3);
947
+ color: var(--fg-1);
948
+ font-size: 10px;
949
+ font-weight: var(--w-semibold);
950
+ }
951
+ .v2s-face--mac {
952
+ border-radius: var(--radius-sm);
953
+ }
954
+ .v2s-place {
955
+ display: inline-flex;
956
+ align-items: center;
957
+ gap: var(--space-1);
958
+ max-width: 100%;
959
+ height: 22px;
960
+ padding: 0 var(--space-2);
961
+ border-radius: var(--radius-sm);
962
+ background: var(--bg-3);
963
+ font-size: var(--type-xs);
964
+ color: var(--fg-1);
965
+ white-space: nowrap;
966
+ overflow: hidden;
967
+ }
968
+ .v2s-place-path {
969
+ min-width: 0;
970
+ overflow: hidden;
971
+ text-overflow: ellipsis;
972
+ font-family: var(--font-mono, ui-monospace, monospace);
973
+ color: var(--fg-2);
974
+ }
975
+ .v2s-callout {
976
+ display: flex;
977
+ align-items: center;
978
+ gap: var(--space-3);
979
+ margin-top: var(--space-2);
980
+ padding: var(--space-3);
981
+ border-radius: var(--radius-md);
982
+ background: var(--status-error-soft, color-mix(in oklch, var(--status-error) 12%, transparent));
983
+ }
984
+ .v2s-callout-ic {
985
+ display: grid;
986
+ place-items: center;
987
+ flex: none;
988
+ width: 24px;
989
+ height: 24px;
990
+ border-radius: 50%;
991
+ background: var(--status-error);
992
+ color: var(--status-error-fg, #fff);
993
+ }
994
+ .v2s-callout-t {
995
+ flex: 1;
996
+ min-width: 0;
997
+ display: flex;
998
+ flex-direction: column;
999
+ gap: 2px;
1000
+ font-size: var(--type-xs);
1001
+ color: var(--fg-1);
1002
+ }
1003
+ .v2s-callout-t strong {
1004
+ font-size: var(--type-sm);
1005
+ font-weight: var(--w-semibold);
1006
+ color: var(--fg-0);
1007
+ }
1008
+ .v2s-card-b .v2s-acts .btn {
1009
+ display: inline-flex;
1010
+ align-items: center;
1011
+ gap: var(--space-1);
1012
+ }
1013
+ /* Change… — where the project lives (09) */
1014
+ .v2s-menu-host {
1015
+ position: relative;
1016
+ }
1017
+ .v2s-menu {
1018
+ position: absolute;
1019
+ right: 0;
1020
+ top: calc(100% + 4px);
1021
+ z-index: 5;
1022
+ min-width: 260px;
1023
+ padding: var(--space-1);
1024
+ border-radius: var(--radius-md);
1025
+ background: var(--bg-1);
1026
+ box-shadow:
1027
+ var(--shadow-md, var(--shadow-sm)),
1028
+ inset 0 0 0 0.5px var(--border-strong);
1029
+ }
1030
+ .v2s-menu-h {
1031
+ margin: 0;
1032
+ padding: var(--space-1) var(--space-2);
1033
+ font-size: var(--type-xs);
1034
+ color: var(--fg-2);
1035
+ }
1036
+ .v2s-menu-i {
1037
+ display: flex;
1038
+ align-items: center;
1039
+ gap: var(--space-2);
1040
+ width: 100%;
1041
+ padding: var(--space-1) var(--space-2);
1042
+ border: 0;
1043
+ border-radius: var(--radius-sm);
1044
+ background: none;
1045
+ font: inherit;
1046
+ font-size: var(--type-sm);
1047
+ color: var(--fg-0);
1048
+ text-align: left;
1049
+ }
1050
+ button.v2s-menu-i {
1051
+ cursor: pointer;
1052
+ }
1053
+ button.v2s-menu-i:hover,
1054
+ button.v2s-menu-i:focus-visible {
1055
+ background: var(--bg-3);
1056
+ }
1057
+ .v2s-menu-ck {
1058
+ display: grid;
1059
+ place-items: center;
1060
+ width: 14px;
1061
+ flex: none;
1062
+ color: var(--fg-1);
1063
+ }
1064
+ .v2s-menu-d {
1065
+ margin-left: auto;
1066
+ font-size: var(--type-xs);
1067
+ color: var(--fg-2);
1068
+ }
1069
+ .v2s-menu-sep {
1070
+ display: block;
1071
+ height: 1px;
1072
+ margin: var(--space-1) 0;
1073
+ background: var(--border-subtle);
1074
+ }
1075
+ /* Sync details: the switches, then Maude Cloud, then your server */
1076
+ .v2s-sync-details {
1077
+ display: flex;
1078
+ flex-direction: column;
1079
+ gap: var(--space-3);
1080
+ }
1081
+ .v2s-sub {
1082
+ display: flex;
1083
+ flex-direction: column;
1084
+ gap: var(--space-1);
1085
+ }
1086
+ .v2s-sub-t {
1087
+ margin: 0;
1088
+ font-size: var(--type-xs);
1089
+ font-weight: var(--w-semibold);
1090
+ color: var(--fg-2);
1091
+ }
1092
+ .v2s-sub-r {
1093
+ display: flex;
1094
+ align-items: center;
1095
+ justify-content: space-between;
1096
+ gap: var(--space-2);
1097
+ }
1098
+ .v2s-sub .v2s-conn-body {
1099
+ margin-left: 0;
1100
+ }
1101
+ .v2s-card-b .v2s-group {
1102
+ margin: var(--space-2) 0 0;
1103
+ }
1104
+ }
1105
+
752
1106
  /* The v1 cards Settings reuses (provider keys, engines, theme radios, model list, readiness) carry
753
1107
  `font-family: var(--font-mono)` in the components layer, which a shell-layer rule cannot beat. Same
754
1108
  layer, one class more of specificity; `:where()` keeps the list from adding any. Commands, paths and
@@ -816,43 +1170,8 @@
816
1170
  cursor: pointer;
817
1171
  }
818
1172
 
819
- /* ── S11.14 Connections (06 ad-edge-hub): one row per connection, each with its own Advanced ── */
820
- .v2s-conns {
821
- display: flex;
822
- flex-direction: column;
823
- }
824
- .v2s-conn {
825
- padding: var(--space-3) 0;
826
- border-bottom: 1px solid var(--border-subtle);
827
- }
828
- .v2s-conn-r {
829
- display: flex;
830
- align-items: center;
831
- gap: var(--space-3);
832
- }
833
- .v2s-conn-ic {
834
- flex: none;
835
- display: grid;
836
- place-items: center;
837
- width: 28px;
838
- height: 28px;
839
- border-radius: var(--radius-sm);
840
- background: var(--bg-2);
841
- color: var(--fg-1);
842
- }
843
- .v2s-conn-t {
844
- display: flex;
845
- flex-direction: column;
846
- gap: 2px;
847
- min-width: 0;
848
- flex: 1;
849
- font-size: var(--type-sm);
850
- color: var(--fg-0);
851
- }
852
- .v2s-conn-d {
853
- font-size: var(--type-xs);
854
- color: var(--fg-2);
855
- }
1173
+ /* ── S11.14 Connections (06 ad-edge-hub) — the parts that live on inside the cards (2.1.1 T6): the cloud
1174
+ project list, the key cards, the mono "k · value" lines under a card's Advanced ── */
856
1175
  .v2s-conn-s {
857
1176
  font-size: var(--type-xs);
858
1177
  color: var(--fg-2);
@@ -867,22 +1186,13 @@
867
1186
  background: var(--status-success);
868
1187
  vertical-align: middle;
869
1188
  }
870
- .v2s-conn-a {
871
- flex: none;
872
- display: inline-flex;
873
- gap: var(--space-2);
874
- }
875
- .v2s-conn-fold,
876
1189
  .v2s-conn-list,
877
1190
  .v2s-conn-keys,
878
- .v2s-conn > .v2s-conn-replace,
879
- .v2s-conn > .v2s-hint,
880
- .v2s-conn > .v2s-conn-err,
881
1191
  .v2s-conn-more {
882
- margin: var(--space-2) 0 0 calc(28px + var(--space-3));
1192
+ margin: var(--space-2) 0 0;
883
1193
  }
884
- .v2s-conn-body {
885
- margin-left: calc(28px + var(--space-3));
1194
+ .v2s-conn-more {
1195
+ align-self: flex-start;
886
1196
  }
887
1197
  .v2s-conn-body > .v2s-conn-list {
888
1198
  margin-left: 0;