@agent-native/core 0.80.8 → 0.80.10

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 (359) hide show
  1. package/corpus/README.md +2 -2
  2. package/corpus/core/CHANGELOG.md +19 -0
  3. package/corpus/core/docs/content/locales/ar-SA/template-design.mdx +6 -0
  4. package/corpus/core/docs/content/locales/de-DE/template-design.mdx +8 -0
  5. package/corpus/core/docs/content/locales/es-ES/template-design.mdx +10 -2
  6. package/corpus/core/docs/content/locales/fr-FR/template-design.mdx +10 -2
  7. package/corpus/core/docs/content/locales/hi-IN/template-design.mdx +7 -0
  8. package/corpus/core/docs/content/locales/ja-JP/template-design.mdx +7 -0
  9. package/corpus/core/docs/content/locales/ko-KR/template-design.mdx +7 -0
  10. package/corpus/core/docs/content/locales/pt-BR/template-design.mdx +9 -2
  11. package/corpus/core/docs/content/locales/zh-CN/template-design.mdx +6 -0
  12. package/corpus/core/docs/content/locales/zh-TW/template-design.mdx +6 -0
  13. package/corpus/core/docs/content/template-design.mdx +9 -2
  14. package/corpus/core/package.json +1 -1
  15. package/corpus/core/src/cli/design-connect.ts +28 -2
  16. package/corpus/core/src/cli/mcp.ts +10 -0
  17. package/corpus/core/src/cli/skills.ts +103 -36
  18. package/corpus/core/src/client/error-format.ts +25 -0
  19. package/corpus/core/src/client/extensions/ExtensionViewer.tsx +13 -11
  20. package/corpus/core/src/client/guided-questions.tsx +32 -4
  21. package/corpus/core/src/client/onboarding/OnboardingPanel.tsx +33 -1
  22. package/corpus/core/src/client/resources/BuiltinCapabilityDetail.tsx +8 -0
  23. package/corpus/core/src/client/resources/use-builtin-capabilities.ts +4 -2
  24. package/corpus/core/src/client/session-replay.ts +34 -0
  25. package/corpus/core/src/client/sharing/ShareButton.tsx +106 -21
  26. package/corpus/core/src/coding-tools/index.ts +1 -1
  27. package/corpus/core/src/mcp/index.ts +2 -0
  28. package/corpus/core/src/mcp/screen-memory-stdio.ts +290 -0
  29. package/corpus/core/src/mcp-client/builtin-capabilities.ts +13 -1
  30. package/corpus/core/src/mcp-client/index.ts +9 -0
  31. package/corpus/core/src/mcp-client/screen-memory-local.ts +461 -0
  32. package/corpus/core/src/onboarding/types.ts +7 -0
  33. package/corpus/core/src/server/agent-chat-plugin.ts +25 -0
  34. package/corpus/core/src/server/agents-bundle.ts +35 -7
  35. package/corpus/core/src/styles/agent-native.css +5 -0
  36. package/corpus/core/src/templates/default/app/global.css +35 -35
  37. package/corpus/templates/analytics/AGENTS.md +6 -0
  38. package/corpus/templates/analytics/actions/github-repo-files.ts +9 -0
  39. package/corpus/templates/analytics/app/components/layout/Layout.tsx +4 -4
  40. package/corpus/templates/analytics/app/global.css +144 -40
  41. package/corpus/templates/analytics/app/pages/adhoc/explorer/index.tsx +1 -1
  42. package/corpus/templates/analytics/app/pages/adhoc/explorer-dashboard/ChartCard.tsx +1 -1
  43. package/corpus/templates/analytics/app/pages/adhoc/explorer-dashboard/index.tsx +1 -1
  44. package/corpus/templates/analytics/app/pages/sessions/SessionDetailPage.tsx +4 -4
  45. package/corpus/templates/analytics/app/pages/sessions/SessionsPage.tsx +9 -9
  46. package/corpus/templates/analytics/changelog/2026-06-29-agents-can-search-and-read-connected-github-repositories-whe.md +6 -0
  47. package/corpus/templates/analytics/changelog/2026-06-29-sessions-and-explorer-layouts-adapt-when-the-agent-sidebar-is.md +6 -0
  48. package/corpus/templates/assets/app/components/layout/Layout.tsx +3 -1
  49. package/corpus/templates/assets/app/components/library/LibraryPresetGrid.tsx +1 -1
  50. package/corpus/templates/assets/app/global.css +99 -35
  51. package/corpus/templates/assets/app/routes/asset.$id.tsx +2 -2
  52. package/corpus/templates/assets/app/routes/brand-kits.$id.tsx +4 -4
  53. package/corpus/templates/assets/app/routes/library.tsx +4 -4
  54. package/corpus/templates/assets/changelog/2026-06-29-asset-library-and-detail-layouts-adapt-when-the-agent-sidebar.md +6 -0
  55. package/corpus/templates/brain/app/components/layout/Layout.tsx +1 -1
  56. package/corpus/templates/brain/app/global.css +63 -35
  57. package/corpus/templates/brain/app/routes/search.tsx +1 -1
  58. package/corpus/templates/brain/app/routes/settings.tsx +1 -1
  59. package/corpus/templates/brain/app/routes/sources.tsx +2 -2
  60. package/corpus/templates/brain/changelog/2026-06-29-search-settings-and-source-layouts-adapt-when-the-agent-sidebar.md +6 -0
  61. package/corpus/templates/calendar/app/components/calendar/EventDetailPanel.tsx +4 -4
  62. package/corpus/templates/calendar/app/components/calendar/FindTimePanel.tsx +3 -2
  63. package/corpus/templates/calendar/app/components/layout/AppLayout.tsx +4 -2
  64. package/corpus/templates/calendar/app/global.css +69 -35
  65. package/corpus/templates/calendar/changelog/2026-06-29-event-and-find-time-layouts-adapt-when-the-agent-sidebar-is.md +6 -0
  66. package/corpus/templates/chat/app/components/layout/Layout.tsx +1 -1
  67. package/corpus/templates/chat/app/global.css +35 -35
  68. package/corpus/templates/chat/changelog/2026-06-29-chat-layouts-adapt-when-the-agent-sidebar-is-open.md +6 -0
  69. package/corpus/templates/clips/AGENTS.md +13 -0
  70. package/corpus/templates/clips/actions/get-screen-memory-status.ts +12 -0
  71. package/corpus/templates/clips/actions/query-screen-memory-context.ts +29 -0
  72. package/corpus/templates/clips/actions/view-screen.ts +2 -2
  73. package/corpus/templates/clips/app/components/library/library-layout.tsx +1 -1
  74. package/corpus/templates/clips/app/global.css +47 -35
  75. package/corpus/templates/clips/app/routes/_app.meetings.$meetingId.tsx +3 -3
  76. package/corpus/templates/clips/app/routes/r.$recordingId.tsx +45 -18
  77. package/corpus/templates/clips/changelog/2026-06-29-meeting-detail-layouts-adapt-when-the-agent-sidebar-is-open.md +6 -0
  78. package/corpus/templates/clips/changelog/2026-06-29-screen-memory-keeps-a-local-rolling-screen-buffer-for-agent-context.md +5 -0
  79. package/corpus/templates/clips/changelog/2026-06-29-video-chat-is-easier-to-find-on-recording-pages-and-s3-setup.md +6 -0
  80. package/corpus/templates/clips/chrome-extension/src/styles.css +39 -39
  81. package/corpus/templates/clips/desktop/src/app.tsx +290 -1
  82. package/corpus/templates/clips/desktop/src/shared/config.ts +83 -0
  83. package/corpus/templates/clips/desktop/src/styles.css +67 -52
  84. package/corpus/templates/clips/desktop/src-tauri/src/config.rs +50 -0
  85. package/corpus/templates/clips/desktop/src-tauri/src/lib.rs +17 -0
  86. package/corpus/templates/clips/desktop/src-tauri/src/native_screen.rs +13 -13
  87. package/corpus/templates/clips/desktop/src-tauri/src/screen_memory.rs +990 -0
  88. package/corpus/templates/clips/server/plugins/onboarding.ts +2 -0
  89. package/corpus/templates/content/app/components/editor/database/DatabaseView.tsx +3 -3
  90. package/corpus/templates/content/app/components/layout/Layout.tsx +1 -1
  91. package/corpus/templates/content/app/global.css +29 -15
  92. package/corpus/templates/content/changelog/2026-06-29-database-gallery-layouts-adapt-when-the-agent-sidebar-is-open.md +6 -0
  93. package/corpus/templates/design/.agents/skills/design-generation/SKILL.md +25 -20
  94. package/corpus/templates/design/.agents/skills/design-systems/SKILL.md +8 -0
  95. package/corpus/templates/design/.agents/skills/export-handoff/SKILL.md +8 -0
  96. package/corpus/templates/design/.agents/skills/visual-edit/SKILL.md +13 -0
  97. package/corpus/templates/design/AGENTS.md +20 -12
  98. package/corpus/templates/design/CODE_NATIVE_DESIGN_STUDIO_IMPLEMENTATION_PLAN.md +1054 -0
  99. package/corpus/templates/design/DESIGN-STUDIO-PLAN.md +717 -0
  100. package/corpus/templates/design/actions/add-breakpoint.ts +143 -0
  101. package/corpus/templates/design/actions/add-localhost-screens.ts +5 -0
  102. package/corpus/templates/design/actions/apply-a11y-fix.ts +317 -0
  103. package/corpus/templates/design/actions/apply-component-prop-edit.ts +433 -0
  104. package/corpus/templates/design/actions/apply-design-state.ts +200 -0
  105. package/corpus/templates/design/actions/apply-design-token-edit.ts +202 -0
  106. package/corpus/templates/design/actions/apply-motion-edit.ts +450 -0
  107. package/corpus/templates/design/actions/apply-shader-fill.ts +404 -0
  108. package/corpus/templates/design/actions/apply-visual-edit.ts +214 -8
  109. package/corpus/templates/design/actions/capture-design-state.ts +224 -0
  110. package/corpus/templates/design/actions/connect-builder-app.ts +162 -0
  111. package/corpus/templates/design/actions/create-component.ts +447 -0
  112. package/corpus/templates/design/actions/create-design-branch.ts +263 -0
  113. package/corpus/templates/design/actions/create-design-state.ts +162 -0
  114. package/corpus/templates/design/actions/delete-design-state.ts +55 -0
  115. package/corpus/templates/design/actions/deploy-design-preview.ts +275 -0
  116. package/corpus/templates/design/actions/export-coding-handoff.ts +12 -4
  117. package/corpus/templates/design/actions/generate-design.ts +6 -21
  118. package/corpus/templates/design/actions/generate-screens.ts +43 -2
  119. package/corpus/templates/design/actions/get-component-details.ts +242 -0
  120. package/corpus/templates/design/actions/get-design-branch-diff.ts +362 -0
  121. package/corpus/templates/design/actions/get-design-review.ts +314 -0
  122. package/corpus/templates/design/actions/get-design-surface-index.ts +582 -0
  123. package/corpus/templates/design/actions/get-design.ts +1 -0
  124. package/corpus/templates/design/actions/get-motion-timeline.ts +99 -0
  125. package/corpus/templates/design/actions/index-components.ts +258 -0
  126. package/corpus/templates/design/actions/index-design-tokens.ts +273 -0
  127. package/corpus/templates/design/actions/list-design-extensions.ts +309 -0
  128. package/corpus/templates/design/actions/list-design-source-capabilities.ts +153 -0
  129. package/corpus/templates/design/actions/list-design-states.ts +72 -0
  130. package/corpus/templates/design/actions/migrate-inline-design-to-app.ts +298 -0
  131. package/corpus/templates/design/actions/open-component-source.ts +237 -0
  132. package/corpus/templates/design/actions/present-design-variants.ts +355 -30
  133. package/corpus/templates/design/actions/preview-component-prop-edit.ts +254 -0
  134. package/corpus/templates/design/actions/preview-design-token-edit.ts +113 -0
  135. package/corpus/templates/design/actions/preview-shader-fill.ts +189 -0
  136. package/corpus/templates/design/actions/remove-breakpoint.ts +103 -0
  137. package/corpus/templates/design/actions/remove-motion-timeline.ts +196 -0
  138. package/corpus/templates/design/actions/run-design-audit.ts +421 -0
  139. package/corpus/templates/design/actions/run-design-extension-action.ts +284 -0
  140. package/corpus/templates/design/actions/set-active-breakpoint.ts +39 -0
  141. package/corpus/templates/design/actions/view-screen.ts +75 -31
  142. package/corpus/templates/design/app/components/design/DesignCanvas.tsx +1738 -135
  143. package/corpus/templates/design/app/components/design/DesignEditorSkeleton.tsx +1 -1
  144. package/corpus/templates/design/app/components/design/DesignExtensionsPanel.tsx +632 -43
  145. package/corpus/templates/design/app/components/design/DrawOverlay.tsx +1 -1
  146. package/corpus/templates/design/app/components/design/EditPanel.tsx +1873 -132
  147. package/corpus/templates/design/app/components/design/LayersPanel.tsx +384 -219
  148. package/corpus/templates/design/app/components/design/LocalSourceEditBanner.tsx +157 -0
  149. package/corpus/templates/design/app/components/design/MotionDock.tsx +1062 -0
  150. package/corpus/templates/design/app/components/design/MultiScreenCanvas.tsx +2103 -295
  151. package/corpus/templates/design/app/components/design/QuestionFlow.tsx +83 -206
  152. package/corpus/templates/design/app/components/design/ReviewPanel.tsx +759 -0
  153. package/corpus/templates/design/app/components/design/StatesPanel.tsx +579 -0
  154. package/corpus/templates/design/app/components/design/TokensPanel.tsx +573 -0
  155. package/corpus/templates/design/app/components/design/TweaksPanel.tsx +1 -1
  156. package/corpus/templates/design/app/components/design/canvas-primitive-style.ts +241 -0
  157. package/corpus/templates/design/app/components/design/index.ts +16 -1
  158. package/corpus/templates/design/app/components/design/inspector/AutoLayoutMatrix.tsx +238 -137
  159. package/corpus/templates/design/app/components/design/inspector/DesignColorPicker.tsx +188 -14
  160. package/corpus/templates/design/app/components/design/inspector/ExportSettingsPanel.tsx +24 -5
  161. package/corpus/templates/design/app/components/design/inspector/ImageFillControls.tsx +57 -1
  162. package/corpus/templates/design/app/components/design/inspector/InspectorAiActions.tsx +145 -0
  163. package/corpus/templates/design/app/components/design/inspector/SHADER_INTEGRATION.md +42 -12
  164. package/corpus/templates/design/app/components/design/inspector/ScrubInput.tsx +37 -12
  165. package/corpus/templates/design/app/components/design/inspector/index.ts +1 -0
  166. package/corpus/templates/design/app/components/design/inspector/scrub-input-utils.ts +12 -5
  167. package/corpus/templates/design/app/components/design/types.ts +9 -0
  168. package/corpus/templates/design/app/components/layout/Layout.tsx +23 -5
  169. package/corpus/templates/design/app/components/visual-editor/DrawOverlay.tsx +1 -1
  170. package/corpus/templates/design/app/global.css +77 -49
  171. package/corpus/templates/design/app/hooks/use-question-flow.ts +2 -2
  172. package/corpus/templates/design/app/hooks/useAgentEditRequest.ts +131 -0
  173. package/corpus/templates/design/app/hooks/useDesignHotkeys.ts +11 -2
  174. package/corpus/templates/design/app/i18n/zh-TW.ts +34 -0
  175. package/corpus/templates/design/app/i18n-data.ts +314 -3
  176. package/corpus/templates/design/app/pages/DesignEditor.tsx +4929 -892
  177. package/corpus/templates/design/app/root.tsx +1 -1
  178. package/corpus/templates/design/changelog/2026-06-29-added-a-review-panel-in-the-design-editor-s-inspector-with-a.md +6 -0
  179. package/corpus/templates/design/changelog/2026-06-29-containers-no-longer-block-selecting-nested-elements-and-nor.md +6 -0
  180. package/corpus/templates/design/changelog/2026-06-29-copying-and-pasting-layers-no-longer-shows-success-notificat.md +6 -0
  181. package/corpus/templates/design/changelog/2026-06-29-design-agents-now-generate-and-refine-variants-from-stronger.md +6 -0
  182. package/corpus/templates/design/changelog/2026-06-29-design-inspector-controls-now-match-figmas-softer-dark-chrome.md +6 -0
  183. package/corpus/templates/design/changelog/2026-06-29-design-questions-now-appear-as-a-cleaner-canvas-intake-with-.md +6 -0
  184. package/corpus/templates/design/changelog/2026-06-29-design-variant-directions-now-appear-as-board-screens-with-chat-buttons.md +5 -0
  185. package/corpus/templates/design/changelog/2026-06-29-device-presets-in-all-screens-view-resize-the-selected-previ.md +6 -0
  186. package/corpus/templates/design/changelog/2026-06-29-element-selection-no-longer-snaps-back-to-the-previous-layer.md +6 -0
  187. package/corpus/templates/design/changelog/2026-06-29-frame-resize-measurements-now-stay-beside-the-cursor-while-d.md +6 -0
  188. package/corpus/templates/design/changelog/2026-06-29-inspector-number-fields-have-cleaner-tooltips-and-draggable-.md +6 -0
  189. package/corpus/templates/design/changelog/2026-06-29-layer-and-canvas-drags-keep-the-layer-list-stable-while-chan.md +6 -0
  190. package/corpus/templates/design/changelog/2026-06-29-layer-locking-layer-nesting-generated-question-intake-and-im.md +6 -0
  191. package/corpus/templates/design/changelog/2026-06-29-layer-moves-can-be-undone-and-redone-without-flashing-the-ca.md +6 -0
  192. package/corpus/templates/design/changelog/2026-06-29-layer-names-in-the-sidebar-can-scroll-horizontally-instead-o.md +6 -0
  193. package/corpus/templates/design/changelog/2026-06-29-layer-nesting-in-the-sidebar-now-uses-tighter-spacing-so-nam.md +6 -0
  194. package/corpus/templates/design/changelog/2026-06-29-layers-no-longer-repeat-document-wrapper-rows-when-a-screen-.md +6 -0
  195. package/corpus/templates/design/changelog/2026-06-29-overview-previews-now-keep-element-hover-and-selection-tied-.md +6 -0
  196. package/corpus/templates/design/changelog/2026-06-29-pressing-escape-now-cancels-a-stuck-screen-drag-in-the-overv.md +6 -0
  197. package/corpus/templates/design/changelog/2026-06-29-screen-overview-is-easier-to-find-and-named-screens-open-dir.md +6 -0
  198. package/corpus/templates/design/changelog/2026-06-29-screen-overview-only-highlights-screens-when-the-frame-or-ti.md +6 -0
  199. package/corpus/templates/design/changelog/2026-06-29-screen-overview-previews-now-resize-to-match-the-selected-de.md +6 -0
  200. package/corpus/templates/design/changelog/2026-06-29-screen-overview-selection-now-uses-a-pointer-cursor-instead-.md +6 -0
  201. package/corpus/templates/design/changelog/2026-06-29-screen-overview-selection-outlines-now-stay-locked-to-the-se.md +6 -0
  202. package/corpus/templates/design/changelog/2026-06-29-screen-overview-zoom-now-reports-real-screen-scale-separatel.md +6 -0
  203. package/corpus/templates/design/changelog/2026-06-29-screen-overview-zooming-feels-smoother-and-selection-outline.md +6 -0
  204. package/corpus/templates/design/changelog/2026-06-29-screen-overview-zooming-now-stays-on-the-overview-canvas-ins.md +6 -0
  205. package/corpus/templates/design/changelog/2026-06-29-screen-previews-use-a-single-blue-hover-border-in-all-screen.md +6 -0
  206. package/corpus/templates/design/changelog/2026-06-29-selected-containers-show-draggable-padding-and-gap-guides-on.md +6 -0
  207. package/corpus/templates/design/changelog/2026-06-29-selecting-a-nested-layer-from-all-screens-now-keeps-you-in-a.md +6 -0
  208. package/corpus/templates/design/changelog/2026-06-29-share-now-groups-link-sharing-exports-and-agent-handoff.md +6 -0
  209. package/corpus/templates/design/changelog/2026-06-29-the-design-editor-adds-a-studio-layer-with-tokens-respon.md +6 -0
  210. package/corpus/templates/design/changelog/2026-06-29-the-design-editor-loading-skeleton-now-uses-a-softer-charcoa.md +6 -0
  211. package/corpus/templates/design/changelog/2026-06-29-the-device-preview-menu-now-sits-next-to-the-preview-button-.md +6 -0
  212. package/corpus/templates/design/changelog/2026-06-29-the-inspector-stays-read-only-while-an-empty-design-is-still.md +6 -0
  213. package/corpus/templates/design/changelog/2026-06-29-the-missing-design-view-now-matches-the-rest-of-the-editor-c.md +6 -0
  214. package/corpus/templates/design/changelog/2026-06-29-the-pen-tool-icon-and-tool-option-menus-better-match-the-edi.md +6 -0
  215. package/corpus/templates/design/changelog/2026-06-29-typography-controls-now-keep-the-font-name-visible-and-move-.md +6 -0
  216. package/corpus/templates/design/changelog/2026-06-30-accessibility-findings-now-offer-a-one-click-fix.md +6 -0
  217. package/corpus/templates/design/changelog/2026-06-30-component-instances-now-have-editable-props-in-the-inspe.md +6 -0
  218. package/corpus/templates/design/changelog/2026-06-30-inspect-code-now-shows-the-elements-opening-tag-at-a-gla.md +6 -0
  219. package/corpus/templates/design/changelog/2026-06-30-shader-fill-presets-can-now-be-applied-to-an-element.md +6 -0
  220. package/corpus/templates/design/changelog/2026-06-30-the-motion-timeline-can-now-add-a-track-to-any-element-a.md +6 -0
  221. package/corpus/templates/design/changelog/2026-06-30-visual-editor-selection-layer-paint-and-drawing-controls-are-more-reliable.md +6 -0
  222. package/corpus/templates/design/e2e/README.md +3 -3
  223. package/corpus/templates/design/e2e/global-setup.ts +11 -22
  224. package/corpus/templates/design/e2e/helpers.ts +128 -11
  225. package/corpus/templates/design/playwright.config.ts +9 -3
  226. package/corpus/templates/design/server/db/schema.ts +123 -0
  227. package/corpus/templates/design/server/lib/coding-handoff.ts +126 -2
  228. package/corpus/templates/design/server/plugins/core-routes.ts +1 -2
  229. package/corpus/templates/design/server/plugins/db.ts +90 -0
  230. package/corpus/templates/design/server/routes/api/design-handoff/[id].zip.get.ts +86 -0
  231. package/corpus/templates/design/shared/builder-app.ts +297 -0
  232. package/corpus/templates/design/shared/capability-resolver.ts +123 -0
  233. package/corpus/templates/design/shared/capture-sanitize.ts +70 -0
  234. package/corpus/templates/design/shared/code-layer.ts +1141 -93
  235. package/corpus/templates/design/shared/component-model.ts +239 -0
  236. package/corpus/templates/design/shared/design-review.ts +275 -0
  237. package/corpus/templates/design/shared/design-source-capabilities.ts +286 -0
  238. package/corpus/templates/design/shared/design-state.ts +112 -0
  239. package/corpus/templates/design/shared/design-surface-index.ts +258 -0
  240. package/corpus/templates/design/shared/generation-session.ts +41 -0
  241. package/corpus/templates/design/shared/motion-compiler.ts +278 -0
  242. package/corpus/templates/design/shared/motion-timeline.ts +193 -0
  243. package/corpus/templates/design/shared/responsive-classes.ts +452 -0
  244. package/corpus/templates/design/shared/shader-fill.ts +323 -0
  245. package/corpus/templates/design/shared/source-mode.ts +245 -0
  246. package/corpus/templates/dispatch/app/global.css +79 -35
  247. package/corpus/templates/dispatch/app/routes/integrations.tsx +8 -7
  248. package/corpus/templates/dispatch/changelog/2026-06-29-integration-layouts-adapt-when-the-agent-sidebar-is-open.md +6 -0
  249. package/corpus/templates/forms/app/components/layout/Layout.tsx +6 -2
  250. package/corpus/templates/forms/app/global.css +64 -35
  251. package/corpus/templates/forms/app/pages/FormsListPage.tsx +2 -2
  252. package/corpus/templates/forms/app/pages/ResponseInsightsPage.tsx +3 -3
  253. package/corpus/templates/forms/changelog/2026-06-29-form-list-and-insight-layouts-adapt-when-the-agent-sidebar.md +6 -0
  254. package/corpus/templates/macros/app/components/layout/AppLayout.tsx +3 -1
  255. package/corpus/templates/macros/app/global.css +25 -9
  256. package/corpus/templates/macros/changelog/2026-06-29-macro-layouts-adapt-when-the-agent-sidebar-is-open.md +6 -0
  257. package/corpus/templates/mail/app/components/layout/AppLayout.tsx +6 -2
  258. package/corpus/templates/mail/app/global.css +42 -36
  259. package/corpus/templates/mail/app/pages/InboxPage.tsx +1 -1
  260. package/corpus/templates/mail/changelog/2026-06-29-the-contact-panel-now-adapts-to-the-available-mail-pane-width.md +6 -0
  261. package/corpus/templates/plan/app/components/layout/Layout.tsx +3 -1
  262. package/corpus/templates/plan/app/components/plan/CanvasArea.tsx +6 -2
  263. package/corpus/templates/plan/app/components/plan/DocumentArea.tsx +6 -7
  264. package/corpus/templates/plan/app/global.css +74 -42
  265. package/corpus/templates/plan/changelog/2026-06-29-plan-canvases-open-without-an-initial-pan-and-zoom-flicker.md +6 -0
  266. package/corpus/templates/plan/changelog/2026-06-29-plan-document-blocks-adapt-to-the-available-document-width.md +6 -0
  267. package/corpus/templates/plan/changelog/2026-06-29-plan-titles-and-summaries-can-be-edited-inline-without-focus.md +6 -0
  268. package/corpus/templates/slides/app/components/layout/Layout.tsx +3 -1
  269. package/corpus/templates/slides/app/global.css +49 -33
  270. package/corpus/templates/slides/changelog/2026-06-29-slide-layouts-adapt-when-the-agent-sidebar-is-open.md +6 -0
  271. package/corpus/templates/videos/app/components/layout/Layout.tsx +3 -1
  272. package/corpus/templates/videos/app/global.css +35 -35
  273. package/corpus/templates/videos/changelog/2026-06-29-video-layouts-adapt-when-the-agent-sidebar-is-open.md +6 -0
  274. package/dist/cli/design-connect.d.ts.map +1 -1
  275. package/dist/cli/design-connect.js +28 -2
  276. package/dist/cli/design-connect.js.map +1 -1
  277. package/dist/cli/mcp.d.ts.map +1 -1
  278. package/dist/cli/mcp.js +10 -0
  279. package/dist/cli/mcp.js.map +1 -1
  280. package/dist/cli/skills.d.ts.map +1 -1
  281. package/dist/cli/skills.js +95 -33
  282. package/dist/cli/skills.js.map +1 -1
  283. package/dist/client/error-format.d.ts.map +1 -1
  284. package/dist/client/error-format.js +17 -0
  285. package/dist/client/error-format.js.map +1 -1
  286. package/dist/client/extensions/ExtensionViewer.d.ts.map +1 -1
  287. package/dist/client/extensions/ExtensionViewer.js +3 -4
  288. package/dist/client/extensions/ExtensionViewer.js.map +1 -1
  289. package/dist/client/guided-questions.d.ts +4 -0
  290. package/dist/client/guided-questions.d.ts.map +1 -1
  291. package/dist/client/guided-questions.js +16 -7
  292. package/dist/client/guided-questions.js.map +1 -1
  293. package/dist/client/onboarding/OnboardingPanel.js +26 -1
  294. package/dist/client/onboarding/OnboardingPanel.js.map +1 -1
  295. package/dist/client/resources/BuiltinCapabilityDetail.d.ts.map +1 -1
  296. package/dist/client/resources/BuiltinCapabilityDetail.js +1 -1
  297. package/dist/client/resources/BuiltinCapabilityDetail.js.map +1 -1
  298. package/dist/client/resources/use-builtin-capabilities.d.ts +1 -1
  299. package/dist/client/resources/use-builtin-capabilities.d.ts.map +1 -1
  300. package/dist/client/resources/use-builtin-capabilities.js +2 -1
  301. package/dist/client/resources/use-builtin-capabilities.js.map +1 -1
  302. package/dist/client/session-replay.d.ts.map +1 -1
  303. package/dist/client/session-replay.js +31 -0
  304. package/dist/client/session-replay.js.map +1 -1
  305. package/dist/client/sharing/ShareButton.d.ts +14 -0
  306. package/dist/client/sharing/ShareButton.d.ts.map +1 -1
  307. package/dist/client/sharing/ShareButton.js +36 -7
  308. package/dist/client/sharing/ShareButton.js.map +1 -1
  309. package/dist/coding-tools/index.js +1 -1
  310. package/dist/coding-tools/index.js.map +1 -1
  311. package/dist/mcp/index.d.ts +2 -0
  312. package/dist/mcp/index.d.ts.map +1 -1
  313. package/dist/mcp/index.js +1 -0
  314. package/dist/mcp/index.js.map +1 -1
  315. package/dist/mcp/screen-memory-stdio.d.ts +6 -0
  316. package/dist/mcp/screen-memory-stdio.d.ts.map +1 -0
  317. package/dist/mcp/screen-memory-stdio.js +213 -0
  318. package/dist/mcp/screen-memory-stdio.js.map +1 -0
  319. package/dist/mcp-client/builtin-capabilities.d.ts +1 -1
  320. package/dist/mcp-client/builtin-capabilities.d.ts.map +1 -1
  321. package/dist/mcp-client/builtin-capabilities.js +10 -0
  322. package/dist/mcp-client/builtin-capabilities.js.map +1 -1
  323. package/dist/mcp-client/index.d.ts +1 -0
  324. package/dist/mcp-client/index.d.ts.map +1 -1
  325. package/dist/mcp-client/index.js +1 -0
  326. package/dist/mcp-client/index.js.map +1 -1
  327. package/dist/mcp-client/screen-memory-local.d.ts +61 -0
  328. package/dist/mcp-client/screen-memory-local.d.ts.map +1 -0
  329. package/dist/mcp-client/screen-memory-local.js +336 -0
  330. package/dist/mcp-client/screen-memory-local.js.map +1 -0
  331. package/dist/observability/routes.d.ts +3 -3
  332. package/dist/onboarding/types.d.ts +7 -0
  333. package/dist/onboarding/types.d.ts.map +1 -1
  334. package/dist/onboarding/types.js.map +1 -1
  335. package/dist/server/agent-chat-plugin.d.ts.map +1 -1
  336. package/dist/server/agent-chat-plugin.js +26 -0
  337. package/dist/server/agent-chat-plugin.js.map +1 -1
  338. package/dist/server/agent-engine-api-key-route.d.ts +1 -1
  339. package/dist/server/agents-bundle.d.ts.map +1 -1
  340. package/dist/server/agents-bundle.js +22 -7
  341. package/dist/server/agents-bundle.js.map +1 -1
  342. package/dist/styles/agent-native.css +5 -0
  343. package/dist/templates/default/app/global.css +35 -35
  344. package/docs/content/locales/ar-SA/template-design.mdx +6 -0
  345. package/docs/content/locales/de-DE/template-design.mdx +8 -0
  346. package/docs/content/locales/es-ES/template-design.mdx +10 -2
  347. package/docs/content/locales/fr-FR/template-design.mdx +10 -2
  348. package/docs/content/locales/hi-IN/template-design.mdx +7 -0
  349. package/docs/content/locales/ja-JP/template-design.mdx +7 -0
  350. package/docs/content/locales/ko-KR/template-design.mdx +7 -0
  351. package/docs/content/locales/pt-BR/template-design.mdx +9 -2
  352. package/docs/content/locales/zh-CN/template-design.mdx +6 -0
  353. package/docs/content/locales/zh-TW/template-design.mdx +6 -0
  354. package/docs/content/template-design.mdx +9 -2
  355. package/package.json +1 -1
  356. package/src/templates/default/app/global.css +35 -35
  357. package/corpus/templates/design/app/components/design/VariantGrid.tsx +0 -189
  358. package/corpus/templates/design/app/components/design/VariantHandoffCard.tsx +0 -115
  359. package/corpus/templates/design/app/hooks/use-variant-flow.ts +0 -342
@@ -239,6 +239,18 @@ const messages = {
239
239
  },
240
240
  },
241
241
  designEditor: {
242
+ askAgent: "詢問代理",
243
+ tokens: {
244
+ title: "權杖",
245
+ newToken: "新增權杖",
246
+ cssVar: "CSS 變數",
247
+ value: "值",
248
+ add: "新增權杖",
249
+ refresh: "重新整理權杖",
250
+ empty: "尚無權杖",
251
+ emptyHint: "新增設計權杖以重複使用顏色、間距等。",
252
+ applying: "套用中…",
253
+ },
242
254
  generationMayHaveStopped:
243
255
  "生成可能在建立檔案前停止。請檢視代理訊息或重試。",
244
256
  generationMayHaveStoppedToast: "生成可能在建立檔案前停止。",
@@ -383,6 +395,8 @@ const messages = {
383
395
  "agent-structural-edit": "結構移動需要代理",
384
396
  },
385
397
  toasts: {
398
+ componentCreated: "元件已建立",
399
+ componentCreateFailed: "無法建立元件",
386
400
  codingHandoffError: "無法建立編碼交接",
387
401
  codingHandoffCopied: "編碼交接已複製",
388
402
  clipboardBlocked: "剪貼簿被阻止",
@@ -412,10 +426,30 @@ const messages = {
412
426
  duplicateElementFailed: "無法複製該元素",
413
427
  saveCopyError: "無法儲存這個設計的副本",
414
428
  },
429
+ localSourceEdit: {
430
+ bannerNotice: "對已連結本機程式碼的編輯由 AI 代理套用,不會直接寫入。",
431
+ askAiToEdit: "請 AI 編輯",
432
+ copyPrompt: "複製提示",
433
+ dialogTitle: "請 AI 編輯已連結的來源",
434
+ requestPlaceholder: "將按鈕顏色改成藍色、更新標題文字…",
435
+ askAi: "詢問 AI",
436
+ applyWithAi: "用 AI 套用",
437
+ copyPromptTooltip: "將提示複製到剪貼簿",
438
+ targeting: "目標:",
439
+ describeElementChange: "描述要對此元素進行的變更…",
440
+ describeChange: "描述您想要變更的內容…",
441
+ dialogDescription:
442
+ "描述您想要變更的內容。代理會先呼叫 view-screen,再透過程式碼編輯器套用編輯。",
443
+ dialogDescriptionFile:
444
+ "描述您想在「{{file}}」中變更的內容。代理會先呼叫 view-screen,再透過程式碼編輯器套用編輯。",
445
+ },
446
+ inspectorLockedTitle: "產生中,檢查器已鎖定",
447
+ inspectorLockedDescription: "第一個畫面準備好後即可使用控制項。",
415
448
  },
416
449
  layersPanel: {
417
450
  title: "圖層",
418
451
  screens: "畫面",
452
+ allScreens: "所有畫面",
419
453
  thumbnail: "縮圖",
420
454
  addScreen: "新增畫面",
421
455
  searchPlaceholder: "搜尋圖層...",
@@ -244,6 +244,18 @@ const enUS = {
244
244
  },
245
245
  },
246
246
  designEditor: {
247
+ askAgent: "Ask agent",
248
+ tokens: {
249
+ title: "Tokens",
250
+ newToken: "New token",
251
+ cssVar: "CSS variable",
252
+ value: "Value",
253
+ add: "Add token",
254
+ refresh: "Refresh tokens",
255
+ empty: "No tokens yet",
256
+ emptyHint: "Add design tokens to reuse colors, spacing, and more.",
257
+ applying: "Applying…",
258
+ },
247
259
  generationMayHaveStopped:
248
260
  "Generation may have stopped before creating files. Check the agent message or try again.",
249
261
  generationMayHaveStoppedToast:
@@ -319,7 +331,7 @@ const enUS = {
319
331
  downloadZip: "Download ZIP",
320
332
  exportHtml: "Export HTML",
321
333
  exportPdf: "Export PDF",
322
- copyCodingHandoff: "Copy coding handoff",
334
+ copyCodingHandoff: "Copy agent prompt",
323
335
  designTools: "Design tools",
324
336
  drawOnCanvas: "Draw on canvas",
325
337
  dropCommentPin: "Drop comment pin",
@@ -330,6 +342,9 @@ const enUS = {
330
342
  variations: "{{count}} variations",
331
343
  close: "Close",
332
344
  generating: "Generating design...",
345
+ inspectorLockedTitle: "Inspector locked while generating",
346
+ inspectorLockedDescription:
347
+ "Controls unlock when the first screen is ready.",
333
348
  noFiles: "No files yet. Ask the agent to generate a design.",
334
349
  tryAgain: "Try again",
335
350
  newPrompt: "New prompt",
@@ -395,8 +410,8 @@ const enUS = {
395
410
  "agent-structural-edit": "Agent needed for structural move",
396
411
  },
397
412
  toasts: {
398
- codingHandoffError: "Could not create coding handoff",
399
- codingHandoffCopied: "Coding handoff copied",
413
+ codingHandoffError: "Could not create agent handoff",
414
+ codingHandoffCopied: "Agent prompt copied",
400
415
  clipboardBlocked: "Clipboard blocked",
401
416
  htmlCreateError: "Could not create HTML download",
402
417
  htmlDownloaded: "HTML downloaded",
@@ -423,11 +438,33 @@ const enUS = {
423
438
  layerMoveFailed: "Could not move that layer",
424
439
  duplicateElementFailed: "Could not duplicate that element",
425
440
  saveCopyError: "Could not save a copy of this design",
441
+ componentCreated: "Component created",
442
+ componentCreateFailed: "Could not create component",
443
+ },
444
+ localSourceEdit: {
445
+ bannerNotice:
446
+ "Edits to connected local code are applied by the AI agent, not written directly.",
447
+ askAiToEdit: "Ask AI to edit",
448
+ copyPrompt: "Copy prompt",
449
+ dialogTitle: "Ask AI to edit connected source",
450
+ requestPlaceholder:
451
+ "Change the button color to blue, update the heading text…",
452
+ askAi: "Ask AI",
453
+ applyWithAi: "Apply with AI",
454
+ copyPromptTooltip: "Copy prompt to clipboard",
455
+ targeting: "Targeting:",
456
+ describeElementChange: "Describe the change for this element…",
457
+ describeChange: "Describe what you want to change…",
458
+ dialogDescription:
459
+ "Describe what you want to change. The agent will call view-screen first, then apply edits through the code editor.",
460
+ dialogDescriptionFile:
461
+ 'Describe what you want to change in "{{file}}". The agent will call view-screen first, then apply edits through the code editor.',
426
462
  },
427
463
  },
428
464
  layersPanel: {
429
465
  title: "Layers",
430
466
  screens: "Screens",
467
+ allScreens: "All screens",
431
468
  thumbnail: "Thumbnail",
432
469
  addScreen: "Add screen",
433
470
  searchPlaceholder: "Search layers...",
@@ -8072,6 +8109,8 @@ const designModeFeatureOverrides = {
8072
8109
  const designCanvasFeatureOverrides = {
8073
8110
  "zh-TW": {
8074
8111
  designEditor: {
8112
+ inspectorLockedTitle: "產生中,檢查器已鎖定",
8113
+ inspectorLockedDescription: "第一個畫面準備好後即可使用控制項。",
8075
8114
  toasts: {
8076
8115
  propsCopied: "屬性已複製",
8077
8116
  propsPasted: "屬性已貼上",
@@ -8080,6 +8119,7 @@ const designCanvasFeatureOverrides = {
8080
8119
  layersPanel: {
8081
8120
  title: "圖層",
8082
8121
  screens: "畫面",
8122
+ allScreens: "所有畫面",
8083
8123
  thumbnail: "縮圖",
8084
8124
  addScreen: "新增畫面",
8085
8125
  searchPlaceholder: "搜尋圖層...",
@@ -8100,6 +8140,8 @@ const designCanvasFeatureOverrides = {
8100
8140
  },
8101
8141
  "zh-CN": {
8102
8142
  designEditor: {
8143
+ inspectorLockedTitle: "生成期间检查器已锁定",
8144
+ inspectorLockedDescription: "第一个屏幕准备好后即可使用控件。",
8103
8145
  toasts: {
8104
8146
  propsCopied: "属性已复制",
8105
8147
  propsPasted: "属性已粘贴",
@@ -8139,6 +8181,7 @@ const designCanvasFeatureOverrides = {
8139
8181
  layersPanel: {
8140
8182
  title: "图层",
8141
8183
  screens: "屏幕",
8184
+ allScreens: "所有屏幕",
8142
8185
  thumbnail: "缩略图",
8143
8186
  addScreen: "添加屏幕",
8144
8187
  searchPlaceholder: "搜索图层...",
@@ -8159,6 +8202,9 @@ const designCanvasFeatureOverrides = {
8159
8202
  },
8160
8203
  "es-ES": {
8161
8204
  designEditor: {
8205
+ inspectorLockedTitle: "Inspector bloqueado durante la generación",
8206
+ inspectorLockedDescription:
8207
+ "Los controles se desbloquean cuando la primera pantalla esté lista.",
8162
8208
  toasts: {
8163
8209
  propsCopied: "Propiedades copiadas",
8164
8210
  propsPasted: "Propiedades pegadas",
@@ -8198,6 +8244,7 @@ const designCanvasFeatureOverrides = {
8198
8244
  layersPanel: {
8199
8245
  title: "Capas",
8200
8246
  screens: "Pantallas",
8247
+ allScreens: "Todas las pantallas",
8201
8248
  thumbnail: "Miniatura",
8202
8249
  addScreen: "Añadir pantalla",
8203
8250
  searchPlaceholder: "Buscar capas...",
@@ -8218,6 +8265,9 @@ const designCanvasFeatureOverrides = {
8218
8265
  },
8219
8266
  "fr-FR": {
8220
8267
  designEditor: {
8268
+ inspectorLockedTitle: "Inspecteur verrouillé pendant la génération",
8269
+ inspectorLockedDescription:
8270
+ "Les contrôles se déverrouillent lorsque le premier écran est prêt.",
8221
8271
  toasts: {
8222
8272
  propsCopied: "Propriétés copiées",
8223
8273
  propsPasted: "Propriétés collées",
@@ -8257,6 +8307,7 @@ const designCanvasFeatureOverrides = {
8257
8307
  layersPanel: {
8258
8308
  title: "Calques",
8259
8309
  screens: "Écrans",
8310
+ allScreens: "Tous les écrans",
8260
8311
  thumbnail: "Miniature",
8261
8312
  addScreen: "Ajouter un écran",
8262
8313
  searchPlaceholder: "Rechercher des calques...",
@@ -8277,6 +8328,9 @@ const designCanvasFeatureOverrides = {
8277
8328
  },
8278
8329
  "de-DE": {
8279
8330
  designEditor: {
8331
+ inspectorLockedTitle: "Inspektor während der Generierung gesperrt",
8332
+ inspectorLockedDescription:
8333
+ "Die Steuerelemente werden freigeschaltet, sobald der erste Screen bereit ist.",
8280
8334
  toasts: {
8281
8335
  propsCopied: "Eigenschaften kopiert",
8282
8336
  propsPasted: "Eigenschaften eingefügt",
@@ -8317,6 +8371,7 @@ const designCanvasFeatureOverrides = {
8317
8371
  layersPanel: {
8318
8372
  title: "Ebenen",
8319
8373
  screens: "Screens",
8374
+ allScreens: "Alle Screens",
8320
8375
  thumbnail: "Miniaturansicht",
8321
8376
  addScreen: "Screen hinzufügen",
8322
8377
  searchPlaceholder: "Ebenen suchen...",
@@ -8337,6 +8392,9 @@ const designCanvasFeatureOverrides = {
8337
8392
  },
8338
8393
  "ja-JP": {
8339
8394
  designEditor: {
8395
+ inspectorLockedTitle: "生成中はインスペクターがロックされています",
8396
+ inspectorLockedDescription:
8397
+ "最初の画面の準備ができるとコントロールが使えます。",
8340
8398
  toasts: {
8341
8399
  propsCopied: "プロパティをコピーしました",
8342
8400
  propsPasted: "プロパティを貼り付けました",
@@ -8376,6 +8434,7 @@ const designCanvasFeatureOverrides = {
8376
8434
  layersPanel: {
8377
8435
  title: "レイヤー",
8378
8436
  screens: "画面",
8437
+ allScreens: "すべての画面",
8379
8438
  thumbnail: "サムネイル",
8380
8439
  addScreen: "画面を追加",
8381
8440
  searchPlaceholder: "レイヤーを検索...",
@@ -8396,6 +8455,9 @@ const designCanvasFeatureOverrides = {
8396
8455
  },
8397
8456
  "ko-KR": {
8398
8457
  designEditor: {
8458
+ inspectorLockedTitle: "생성 중에는 인스펙터가 잠겨 있습니다",
8459
+ inspectorLockedDescription:
8460
+ "첫 화면이 준비되면 컨트롤이 잠금 해제됩니다.",
8399
8461
  toasts: {
8400
8462
  propsCopied: "속성이 복사됨",
8401
8463
  propsPasted: "속성이 붙여넣어짐",
@@ -8435,6 +8497,7 @@ const designCanvasFeatureOverrides = {
8435
8497
  layersPanel: {
8436
8498
  title: "레이어",
8437
8499
  screens: "화면",
8500
+ allScreens: "모든 화면",
8438
8501
  thumbnail: "썸네일",
8439
8502
  addScreen: "화면 추가",
8440
8503
  searchPlaceholder: "레이어 검색...",
@@ -8455,6 +8518,9 @@ const designCanvasFeatureOverrides = {
8455
8518
  },
8456
8519
  "pt-BR": {
8457
8520
  designEditor: {
8521
+ inspectorLockedTitle: "Inspetor bloqueado durante a geração",
8522
+ inspectorLockedDescription:
8523
+ "Os controles são desbloqueados quando a primeira tela estiver pronta.",
8458
8524
  toasts: {
8459
8525
  propsCopied: "Propriedades copiadas",
8460
8526
  propsPasted: "Propriedades coladas",
@@ -8494,6 +8560,7 @@ const designCanvasFeatureOverrides = {
8494
8560
  layersPanel: {
8495
8561
  title: "Camadas",
8496
8562
  screens: "Telas",
8563
+ allScreens: "Todas as telas",
8497
8564
  thumbnail: "Miniatura",
8498
8565
  addScreen: "Adicionar tela",
8499
8566
  searchPlaceholder: "Buscar camadas...",
@@ -8514,6 +8581,9 @@ const designCanvasFeatureOverrides = {
8514
8581
  },
8515
8582
  "hi-IN": {
8516
8583
  designEditor: {
8584
+ inspectorLockedTitle: "जनरेट करते समय इंस्पेक्टर लॉक है",
8585
+ inspectorLockedDescription:
8586
+ "पहली स्क्रीन तैयार होने पर नियंत्रण अनलॉक हो जाएंगे.",
8517
8587
  toasts: {
8518
8588
  propsCopied: "गुण कॉपी किए गए",
8519
8589
  propsPasted: "गुण चिपकाए गए",
@@ -8553,6 +8623,7 @@ const designCanvasFeatureOverrides = {
8553
8623
  layersPanel: {
8554
8624
  title: "परतें",
8555
8625
  screens: "स्क्रीन",
8626
+ allScreens: "सभी स्क्रीन",
8556
8627
  thumbnail: "थंबनेल",
8557
8628
  addScreen: "स्क्रीन जोड़ें",
8558
8629
  searchPlaceholder: "परतें खोजें...",
@@ -8573,6 +8644,9 @@ const designCanvasFeatureOverrides = {
8573
8644
  },
8574
8645
  "ar-SA": {
8575
8646
  designEditor: {
8647
+ inspectorLockedTitle: "المفتش مقفل أثناء الإنشاء",
8648
+ inspectorLockedDescription:
8649
+ "تُفتح عناصر التحكم عندما تكون الشاشة الأولى جاهزة.",
8576
8650
  toasts: {
8577
8651
  propsCopied: "تم نسخ الخصائص",
8578
8652
  propsPasted: "تم لصق الخصائص",
@@ -8612,6 +8686,7 @@ const designCanvasFeatureOverrides = {
8612
8686
  layersPanel: {
8613
8687
  title: "الطبقات",
8614
8688
  screens: "الشاشات",
8689
+ allScreens: "كل الشاشات",
8615
8690
  thumbnail: "الصورة المصغرة",
8616
8691
  addScreen: "إضافة شاشة",
8617
8692
  searchPlaceholder: "البحث في الطبقات...",
@@ -9281,6 +9356,232 @@ const designVisualEditOverrides = {
9281
9356
  },
9282
9357
  } satisfies Record<Exclude<LocaleCode, "en-US">, PartialMessages>;
9283
9358
 
9359
+ const designLocalSourceEditOverrides = {
9360
+ "zh-TW": {
9361
+ designEditor: {
9362
+ localSourceEdit: {
9363
+ bannerNotice: "對已連結本機程式碼的編輯由 AI 代理套用,不會直接寫入。",
9364
+ askAiToEdit: "請 AI 編輯",
9365
+ copyPrompt: "複製提示",
9366
+ dialogTitle: "請 AI 編輯已連結的來源",
9367
+ requestPlaceholder: "將按鈕顏色改成藍色、更新標題文字…",
9368
+ askAi: "詢問 AI",
9369
+ applyWithAi: "用 AI 套用",
9370
+ copyPromptTooltip: "將提示複製到剪貼簿",
9371
+ targeting: "目標:",
9372
+ describeElementChange: "描述要對此元素進行的更改…",
9373
+ describeChange: "描述您想要更改的內容…",
9374
+ dialogDescription:
9375
+ "描述您想要更改的內容。代理會先呼叫 view-screen,再透過程式碼編輯器套用編輯。",
9376
+ dialogDescriptionFile:
9377
+ "描述您想在「{{file}}」中更改的內容。代理會先呼叫 view-screen,再透過程式碼編輯器套用編輯。",
9378
+ },
9379
+ },
9380
+ },
9381
+ "zh-CN": {
9382
+ designEditor: {
9383
+ localSourceEdit: {
9384
+ bannerNotice: "对已连接本地代码的编辑由 AI 代理应用,不会直接写入。",
9385
+ askAiToEdit: "请 AI 编辑",
9386
+ copyPrompt: "复制提示",
9387
+ dialogTitle: "请 AI 编辑已连接的源码",
9388
+ requestPlaceholder: "将按钮颜色改成蓝色、更新标题文字…",
9389
+ askAi: "询问 AI",
9390
+ applyWithAi: "用 AI 应用",
9391
+ copyPromptTooltip: "将提示复制到剪贴板",
9392
+ targeting: "目标:",
9393
+ describeElementChange: "描述要对此元素进行的更改…",
9394
+ describeChange: "描述您想要更改的内容…",
9395
+ dialogDescription:
9396
+ "描述您想要更改的内容。代理会先调用 view-screen,再通过代码编辑器应用编辑。",
9397
+ dialogDescriptionFile:
9398
+ "描述您想在“{{file}}”中更改的内容。代理会先调用 view-screen,再通过代码编辑器应用编辑。",
9399
+ },
9400
+ },
9401
+ },
9402
+ "es-ES": {
9403
+ designEditor: {
9404
+ localSourceEdit: {
9405
+ bannerNotice:
9406
+ "Las ediciones del código local conectado las aplica el agente de IA, no se escriben directamente.",
9407
+ askAiToEdit: "Pedir edición a la IA",
9408
+ copyPrompt: "Copiar prompt",
9409
+ dialogTitle: "Pedir a la IA que edite el código conectado",
9410
+ requestPlaceholder:
9411
+ "Cambia el color del botón a azul, actualiza el texto del título…",
9412
+ askAi: "Preguntar a la IA",
9413
+ applyWithAi: "Aplicar con IA",
9414
+ copyPromptTooltip: "Copiar prompt al portapapeles",
9415
+ targeting: "Objetivo:",
9416
+ describeElementChange: "Describe el cambio para este elemento…",
9417
+ describeChange: "Describe lo que quieres cambiar…",
9418
+ dialogDescription:
9419
+ "Describe lo que quieres cambiar. El agente llamará a view-screen primero y luego aplicará los cambios a través del editor de código.",
9420
+ dialogDescriptionFile:
9421
+ 'Describe lo que quieres cambiar en "{{file}}". El agente llamará a view-screen primero y luego aplicará los cambios a través del editor de código.',
9422
+ },
9423
+ },
9424
+ },
9425
+ "fr-FR": {
9426
+ designEditor: {
9427
+ localSourceEdit: {
9428
+ bannerNotice:
9429
+ "Les modifications du code local connecté sont appliquées par l'agent IA, pas écrites directement.",
9430
+ askAiToEdit: "Demander à l'IA de modifier",
9431
+ copyPrompt: "Copier le prompt",
9432
+ dialogTitle: "Demander à l'IA de modifier la source connectée",
9433
+ requestPlaceholder:
9434
+ "Change la couleur du bouton en bleu, mets à jour le titre…",
9435
+ askAi: "Demander à l'IA",
9436
+ applyWithAi: "Appliquer avec l'IA",
9437
+ copyPromptTooltip: "Copier le prompt dans le presse-papiers",
9438
+ targeting: "Cible :",
9439
+ describeElementChange: "Décrivez la modification pour cet élément…",
9440
+ describeChange: "Décrivez ce que vous voulez changer…",
9441
+ dialogDescription:
9442
+ "Décrivez ce que vous voulez changer. L'agent appellera d'abord view-screen, puis appliquera les modifications via l'éditeur de code.",
9443
+ dialogDescriptionFile:
9444
+ "Décrivez ce que vous voulez changer dans \"{{file}}\". L'agent appellera d'abord view-screen, puis appliquera les modifications via l'éditeur de code.",
9445
+ },
9446
+ },
9447
+ },
9448
+ "de-DE": {
9449
+ designEditor: {
9450
+ localSourceEdit: {
9451
+ bannerNotice:
9452
+ "Änderungen am verbundenen lokalen Code werden vom KI-Agenten angewendet, nicht direkt geschrieben.",
9453
+ askAiToEdit: "KI um Änderung bitten",
9454
+ copyPrompt: "Prompt kopieren",
9455
+ dialogTitle: "KI um Bearbeitung der verbundenen Quelle bitten",
9456
+ requestPlaceholder:
9457
+ "Ändere die Button-Farbe in Blau, aktualisiere den Überschriftstext…",
9458
+ askAi: "KI fragen",
9459
+ applyWithAi: "Mit KI anwenden",
9460
+ copyPromptTooltip: "Prompt in die Zwischenablage kopieren",
9461
+ targeting: "Ziel:",
9462
+ describeElementChange: "Beschreibe die Änderung für dieses Element…",
9463
+ describeChange: "Beschreibe, was du ändern möchtest…",
9464
+ dialogDescription:
9465
+ "Beschreibe, was du ändern möchtest. Der Agent ruft zuerst view-screen auf und wendet die Änderungen dann über den Code-Editor an.",
9466
+ dialogDescriptionFile:
9467
+ 'Beschreibe, was du in "{{file}}" ändern möchtest. Der Agent ruft zuerst view-screen auf und wendet die Änderungen dann über den Code-Editor an.',
9468
+ },
9469
+ },
9470
+ },
9471
+ "ja-JP": {
9472
+ designEditor: {
9473
+ localSourceEdit: {
9474
+ bannerNotice:
9475
+ "接続済みローカルコードの編集は AI エージェントが適用し、直接は書き込みません。",
9476
+ askAiToEdit: "AI に編集を依頼",
9477
+ copyPrompt: "プロンプトをコピー",
9478
+ dialogTitle: "接続済みソースの編集を AI に依頼",
9479
+ requestPlaceholder: "ボタンの色を青に変更、見出しテキストを更新…",
9480
+ askAi: "AI に質問",
9481
+ applyWithAi: "AI で適用",
9482
+ copyPromptTooltip: "プロンプトをクリップボードにコピー",
9483
+ targeting: "対象:",
9484
+ describeElementChange: "この要素への変更を説明してください…",
9485
+ describeChange: "変更したい内容を説明してください…",
9486
+ dialogDescription:
9487
+ "変更したい内容を説明してください。エージェントはまず view-screen を呼び出し、その後コードエディターで編集を適用します。",
9488
+ dialogDescriptionFile:
9489
+ "「{{file}}」で変更したい内容を説明してください。エージェントはまず view-screen を呼び出し、その後コードエディターで編集を適用します。",
9490
+ },
9491
+ },
9492
+ },
9493
+ "ko-KR": {
9494
+ designEditor: {
9495
+ localSourceEdit: {
9496
+ bannerNotice:
9497
+ "연결된 로컬 코드 편집은 AI 에이전트가 적용하며 직접 작성하지 않습니다.",
9498
+ askAiToEdit: "AI에 편집 요청",
9499
+ copyPrompt: "프롬프트 복사",
9500
+ dialogTitle: "연결된 소스 편집을 AI에 요청",
9501
+ requestPlaceholder:
9502
+ "버튼 색상을 파란색으로 변경, 제목 텍스트 업데이트…",
9503
+ askAi: "AI에 질문",
9504
+ applyWithAi: "AI로 적용",
9505
+ copyPromptTooltip: "프롬프트를 클립보드에 복사",
9506
+ targeting: "대상:",
9507
+ describeElementChange: "이 요소에 대한 변경 사항을 설명하세요…",
9508
+ describeChange: "변경하려는 내용을 설명하세요…",
9509
+ dialogDescription:
9510
+ "변경하려는 내용을 설명하세요. 에이전트가 먼저 view-screen을 호출한 다음 코드 편집기로 편집을 적용합니다.",
9511
+ dialogDescriptionFile:
9512
+ "“{{file}}”에서 변경하려는 내용을 설명하세요. 에이전트가 먼저 view-screen을 호출한 다음 코드 편집기로 편집을 적용합니다.",
9513
+ },
9514
+ },
9515
+ },
9516
+ "pt-BR": {
9517
+ designEditor: {
9518
+ localSourceEdit: {
9519
+ bannerNotice:
9520
+ "As edições do código local conectado são aplicadas pelo agente de IA, não escritas diretamente.",
9521
+ askAiToEdit: "Pedir edição à IA",
9522
+ copyPrompt: "Copiar prompt",
9523
+ dialogTitle: "Pedir à IA para editar a fonte conectada",
9524
+ requestPlaceholder:
9525
+ "Mude a cor do botão para azul, atualize o texto do título…",
9526
+ askAi: "Perguntar à IA",
9527
+ applyWithAi: "Aplicar com IA",
9528
+ copyPromptTooltip: "Copiar prompt para a área de transferência",
9529
+ targeting: "Alvo:",
9530
+ describeElementChange: "Descreva a alteração para este elemento…",
9531
+ describeChange: "Descreva o que você quer mudar…",
9532
+ dialogDescription:
9533
+ "Descreva o que você quer mudar. O agente chamará view-screen primeiro e depois aplicará as edições pelo editor de código.",
9534
+ dialogDescriptionFile:
9535
+ 'Descreva o que você quer mudar em "{{file}}". O agente chamará view-screen primeiro e depois aplicará as edições pelo editor de código.',
9536
+ },
9537
+ },
9538
+ },
9539
+ "hi-IN": {
9540
+ designEditor: {
9541
+ localSourceEdit: {
9542
+ bannerNotice:
9543
+ "जुड़े हुए local code में बदलाव AI agent लागू करता है, सीधे नहीं लिखे जाते।",
9544
+ askAiToEdit: "AI से edit करने को कहें",
9545
+ copyPrompt: "Prompt कॉपी करें",
9546
+ dialogTitle: "जुड़े हुए source को edit करने के लिए AI से कहें",
9547
+ requestPlaceholder: "बटन का रंग नीला करें, heading text अपडेट करें…",
9548
+ askAi: "AI से पूछें",
9549
+ applyWithAi: "AI से लागू करें",
9550
+ copyPromptTooltip: "Prompt को clipboard पर कॉपी करें",
9551
+ targeting: "लक्ष्य:",
9552
+ describeElementChange: "इस element के लिए बदलाव बताएं…",
9553
+ describeChange: "आप क्या बदलना चाहते हैं, बताएं…",
9554
+ dialogDescription:
9555
+ "आप क्या बदलना चाहते हैं, बताएं। Agent पहले view-screen को call करेगा, फिर code editor से बदलाव लागू करेगा।",
9556
+ dialogDescriptionFile:
9557
+ '"{{file}}" में आप क्या बदलना चाहते हैं, बताएं। Agent पहले view-screen को call करेगा, फिर code editor से बदलाव लागू करेगा।',
9558
+ },
9559
+ },
9560
+ },
9561
+ "ar-SA": {
9562
+ designEditor: {
9563
+ localSourceEdit: {
9564
+ bannerNotice:
9565
+ "يطبّق وكيل الذكاء الاصطناعي التعديلات على الكود المحلي المتصل، ولا تُكتب مباشرة.",
9566
+ askAiToEdit: "اطلب من الذكاء الاصطناعي التعديل",
9567
+ copyPrompt: "نسخ الموجّه",
9568
+ dialogTitle: "اطلب من الذكاء الاصطناعي تعديل المصدر المتصل",
9569
+ requestPlaceholder: "غيّر لون الزر إلى الأزرق، وحدّث نص العنوان…",
9570
+ askAi: "اسأل الذكاء الاصطناعي",
9571
+ applyWithAi: "تطبيق بالذكاء الاصطناعي",
9572
+ copyPromptTooltip: "نسخ الموجّه إلى الحافظة",
9573
+ targeting: "الهدف:",
9574
+ describeElementChange: "صف التغيير المطلوب على هذا العنصر…",
9575
+ describeChange: "صف ما تريد تغييره…",
9576
+ dialogDescription:
9577
+ "صف ما تريد تغييره. سيستدعي الوكيل view-screen أولاً ثم يطبّق التعديلات عبر محرر الكود.",
9578
+ dialogDescriptionFile:
9579
+ 'صف ما تريد تغييره في "{{file}}". سيستدعي الوكيل view-screen أولاً ثم يطبّق التعديلات عبر محرر الكود.',
9580
+ },
9581
+ },
9582
+ },
9583
+ } satisfies Record<Exclude<LocaleCode, "en-US">, PartialMessages>;
9584
+
9284
9585
  export const messagesByLocale = {
9285
9586
  "en-US": enUS,
9286
9587
  "zh-TW": mergeMessages(
@@ -9290,6 +9591,7 @@ export const messagesByLocale = {
9290
9591
  designShapeToolOverrides["zh-TW"],
9291
9592
  designPublicShareOverrides["zh-TW"],
9292
9593
  designVisualEditOverrides["zh-TW"],
9594
+ designLocalSourceEditOverrides["zh-TW"],
9293
9595
  ),
9294
9596
  ),
9295
9597
  "zh-CN": mergeMessages(
@@ -9302,6 +9604,7 @@ export const messagesByLocale = {
9302
9604
  designShapeToolOverrides["zh-CN"],
9303
9605
  designPublicShareOverrides["zh-CN"],
9304
9606
  designVisualEditOverrides["zh-CN"],
9607
+ designLocalSourceEditOverrides["zh-CN"],
9305
9608
  {
9306
9609
  root: {
9307
9610
  commandActions: "操作",
@@ -9353,6 +9656,7 @@ export const messagesByLocale = {
9353
9656
  designShapeToolOverrides["es-ES"],
9354
9657
  designPublicShareOverrides["es-ES"],
9355
9658
  designVisualEditOverrides["es-ES"],
9659
+ designLocalSourceEditOverrides["es-ES"],
9356
9660
  {
9357
9661
  root: {
9358
9662
  commandActions: "Acciones",
@@ -9404,6 +9708,7 @@ export const messagesByLocale = {
9404
9708
  designShapeToolOverrides["fr-FR"],
9405
9709
  designPublicShareOverrides["fr-FR"],
9406
9710
  designVisualEditOverrides["fr-FR"],
9711
+ designLocalSourceEditOverrides["fr-FR"],
9407
9712
  {
9408
9713
  root: {
9409
9714
  commandActions: "Actions",
@@ -9455,6 +9760,7 @@ export const messagesByLocale = {
9455
9760
  designShapeToolOverrides["de-DE"],
9456
9761
  designPublicShareOverrides["de-DE"],
9457
9762
  designVisualEditOverrides["de-DE"],
9763
+ designLocalSourceEditOverrides["de-DE"],
9458
9764
  {
9459
9765
  root: {
9460
9766
  commandActions: "Aktionen",
@@ -9506,6 +9812,7 @@ export const messagesByLocale = {
9506
9812
  designShapeToolOverrides["ja-JP"],
9507
9813
  designPublicShareOverrides["ja-JP"],
9508
9814
  designVisualEditOverrides["ja-JP"],
9815
+ designLocalSourceEditOverrides["ja-JP"],
9509
9816
  {
9510
9817
  root: {
9511
9818
  commandActions: "操作",
@@ -9558,6 +9865,7 @@ export const messagesByLocale = {
9558
9865
  designShapeToolOverrides["ko-KR"],
9559
9866
  designPublicShareOverrides["ko-KR"],
9560
9867
  designVisualEditOverrides["ko-KR"],
9868
+ designLocalSourceEditOverrides["ko-KR"],
9561
9869
  {
9562
9870
  root: {
9563
9871
  commandActions: "작업",
@@ -9608,6 +9916,7 @@ export const messagesByLocale = {
9608
9916
  designShapeToolOverrides["pt-BR"],
9609
9917
  designPublicShareOverrides["pt-BR"],
9610
9918
  designVisualEditOverrides["pt-BR"],
9919
+ designLocalSourceEditOverrides["pt-BR"],
9611
9920
  {
9612
9921
  root: {
9613
9922
  commandActions: "Ações",
@@ -9659,6 +9968,7 @@ export const messagesByLocale = {
9659
9968
  designShapeToolOverrides["hi-IN"],
9660
9969
  designPublicShareOverrides["hi-IN"],
9661
9970
  designVisualEditOverrides["hi-IN"],
9971
+ designLocalSourceEditOverrides["hi-IN"],
9662
9972
  {
9663
9973
  root: {
9664
9974
  commandActions: "क्रियाएं",
@@ -9710,6 +10020,7 @@ export const messagesByLocale = {
9710
10020
  designShapeToolOverrides["ar-SA"],
9711
10021
  designPublicShareOverrides["ar-SA"],
9712
10022
  designVisualEditOverrides["ar-SA"],
10023
+ designLocalSourceEditOverrides["ar-SA"],
9713
10024
  {
9714
10025
  root: {
9715
10026
  commandActions: "الإجراءات",