@pairdraw/vue 0.19.2 → 0.20.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 (302) hide show
  1. package/dist/canvas/CanvasRoot.vue.js +2 -0
  2. package/dist/canvas/CanvasRoot.vue.js.map +1 -1
  3. package/dist/canvas/auto-layout/value-edit.js +1 -1
  4. package/dist/canvas/auto-layout/value-edit.js.map +1 -1
  5. package/dist/canvas/eyedropper/index.d.ts +26 -0
  6. package/dist/canvas/eyedropper/index.d.ts.map +1 -0
  7. package/dist/canvas/eyedropper/index.js +62 -0
  8. package/dist/canvas/eyedropper/index.js.map +1 -0
  9. package/dist/canvas/eyedropper/sample.js +13 -0
  10. package/dist/canvas/eyedropper/sample.js.map +1 -0
  11. package/dist/canvas/eyedropper/use.d.ts +33 -0
  12. package/dist/canvas/eyedropper/use.d.ts.map +1 -0
  13. package/dist/canvas/eyedropper/use.js +52 -0
  14. package/dist/canvas/eyedropper/use.js.map +1 -0
  15. package/dist/canvas/pointer/drag-move.js +4 -0
  16. package/dist/canvas/pointer/drag-move.js.map +1 -1
  17. package/dist/canvas/surface/kit-loader.js +2 -3
  18. package/dist/canvas/surface/kit-loader.js.map +1 -1
  19. package/dist/canvas/surface/lifecycle.js +30 -1
  20. package/dist/canvas/surface/lifecycle.js.map +1 -1
  21. package/dist/canvas/surface/types.d.ts +9 -0
  22. package/dist/canvas/surface/types.d.ts.map +1 -1
  23. package/dist/canvas/text-edit/textarea.d.ts +1 -0
  24. package/dist/canvas/text-edit/textarea.d.ts.map +1 -1
  25. package/dist/canvas/tools/registry.js +5 -1
  26. package/dist/canvas/tools/registry.js.map +1 -1
  27. package/dist/canvas/useCanvasInput.d.ts +152 -10
  28. package/dist/canvas/useCanvasInput.d.ts.map +1 -1
  29. package/dist/canvas/useCanvasInput.js +3 -2
  30. package/dist/canvas/useCanvasInput.js.map +1 -1
  31. package/dist/controls/document-colors/index.d.ts +2 -0
  32. package/dist/controls/document-colors/index.js +2 -0
  33. package/dist/controls/document-colors/use.d.ts +14 -0
  34. package/dist/controls/document-colors/use.d.ts.map +1 -0
  35. package/dist/controls/document-colors/use.js +27 -0
  36. package/dist/controls/document-colors/use.js.map +1 -0
  37. package/dist/controls/effects/helpers.d.ts +13 -2
  38. package/dist/controls/effects/helpers.d.ts.map +1 -1
  39. package/dist/controls/effects/helpers.js +89 -34
  40. package/dist/controls/effects/helpers.js.map +1 -1
  41. package/dist/controls/effects/index.d.ts +2 -1
  42. package/dist/controls/effects/index.js +2 -1
  43. package/dist/controls/effects/use.d.ts +9 -7
  44. package/dist/controls/effects/use.d.ts.map +1 -1
  45. package/dist/controls/effects/use.js +6 -3
  46. package/dist/controls/effects/use.js.map +1 -1
  47. package/dist/controls/node-props/use.d.ts +3 -3
  48. package/dist/controls/position/use.d.ts +1 -1
  49. package/dist/controls/typography/features.d.ts +24 -0
  50. package/dist/controls/typography/features.d.ts.map +1 -0
  51. package/dist/controls/typography/features.js +130 -0
  52. package/dist/controls/typography/features.js.map +1 -0
  53. package/dist/controls/typography/index.d.ts +2 -1
  54. package/dist/controls/typography/index.js +2 -1
  55. package/dist/controls/typography/use.d.ts +6 -0
  56. package/dist/controls/typography/use.d.ts.map +1 -1
  57. package/dist/controls/typography/use.js +4 -1
  58. package/dist/controls/typography/use.js.map +1 -1
  59. package/dist/editor/commands/registry.d.ts +4 -0
  60. package/dist/editor/commands/registry.d.ts.map +1 -1
  61. package/dist/editor/commands/registry.js +2 -0
  62. package/dist/editor/commands/registry.js.map +1 -1
  63. package/dist/editor/commands/selection.js +22 -0
  64. package/dist/editor/commands/selection.js.map +1 -1
  65. package/dist/editor/commands/types.d.ts +1 -1
  66. package/dist/editor/commands/types.d.ts.map +1 -1
  67. package/dist/editor/menu-model/canvas.d.ts.map +1 -1
  68. package/dist/editor/menu-model/canvas.js +7 -1
  69. package/dist/editor/menu-model/canvas.js.map +1 -1
  70. package/dist/editor/selection-capabilities/use.d.ts +2 -0
  71. package/dist/editor/selection-capabilities/use.js +5 -0
  72. package/dist/editor/selection-capabilities/use.js.map +1 -1
  73. package/dist/editor/selection-state/use.d.ts +1 -0
  74. package/dist/editor/selection-state/use.js +5 -0
  75. package/dist/editor/selection-state/use.js.map +1 -1
  76. package/dist/editor/tool-cursor/index.d.ts.map +1 -1
  77. package/dist/editor/tool-cursor/index.js +5 -1
  78. package/dist/editor/tool-cursor/index.js.map +1 -1
  79. package/dist/i18n/index.d.ts +5 -2
  80. package/dist/i18n/index.js +5 -2
  81. package/dist/i18n/locales/de/ai.json.js +53 -2
  82. package/dist/i18n/locales/de/commands.json.js +2 -0
  83. package/dist/i18n/locales/de/design-check.json.js +13 -1
  84. package/dist/i18n/locales/de/design-memory.json.js +82 -0
  85. package/dist/i18n/locales/de/design-memory.json.js.map +1 -0
  86. package/dist/i18n/locales/de/fonts.json.js +10 -0
  87. package/dist/i18n/locales/de/index.js +5 -1
  88. package/dist/i18n/locales/de/index.js.map +1 -1
  89. package/dist/i18n/locales/de/menu.json.js +2 -0
  90. package/dist/i18n/locales/de/panels.json.js +94 -1
  91. package/dist/i18n/locales/de/settings.json.js +1 -0
  92. package/dist/i18n/locales/de/tools.json.js +3 -1
  93. package/dist/i18n/locales/de/variables/panel.json.js +20 -0
  94. package/dist/i18n/locales/de/variations.json.js +23 -0
  95. package/dist/i18n/locales/de/variations.json.js.map +1 -0
  96. package/dist/i18n/locales/es/ai.json.js +52 -1
  97. package/dist/i18n/locales/es/commands.json.js +2 -0
  98. package/dist/i18n/locales/es/design-check.json.js +13 -1
  99. package/dist/i18n/locales/es/design-memory.json.js +82 -0
  100. package/dist/i18n/locales/es/design-memory.json.js.map +1 -0
  101. package/dist/i18n/locales/es/fonts.json.js +10 -0
  102. package/dist/i18n/locales/es/index.js +5 -1
  103. package/dist/i18n/locales/es/index.js.map +1 -1
  104. package/dist/i18n/locales/es/menu.json.js +2 -0
  105. package/dist/i18n/locales/es/panels.json.js +94 -1
  106. package/dist/i18n/locales/es/settings.json.js +1 -0
  107. package/dist/i18n/locales/es/tools.json.js +3 -1
  108. package/dist/i18n/locales/es/variables/panel.json.js +20 -0
  109. package/dist/i18n/locales/es/variations.json.js +23 -0
  110. package/dist/i18n/locales/es/variations.json.js.map +1 -0
  111. package/dist/i18n/locales/fr/ai.json.js +53 -2
  112. package/dist/i18n/locales/fr/commands.json.js +2 -0
  113. package/dist/i18n/locales/fr/design-check.json.js +13 -1
  114. package/dist/i18n/locales/fr/design-memory.json.js +82 -0
  115. package/dist/i18n/locales/fr/design-memory.json.js.map +1 -0
  116. package/dist/i18n/locales/fr/fonts.json.js +10 -0
  117. package/dist/i18n/locales/fr/index.js +5 -1
  118. package/dist/i18n/locales/fr/index.js.map +1 -1
  119. package/dist/i18n/locales/fr/menu.json.js +2 -0
  120. package/dist/i18n/locales/fr/panels.json.js +94 -1
  121. package/dist/i18n/locales/fr/settings.json.js +1 -0
  122. package/dist/i18n/locales/fr/tools.json.js +3 -1
  123. package/dist/i18n/locales/fr/variables/panel.json.js +20 -0
  124. package/dist/i18n/locales/fr/variations.json.js +23 -0
  125. package/dist/i18n/locales/fr/variations.json.js.map +1 -0
  126. package/dist/i18n/locales/it/ai.json.js +53 -2
  127. package/dist/i18n/locales/it/commands.json.js +2 -0
  128. package/dist/i18n/locales/it/design-check.json.js +13 -1
  129. package/dist/i18n/locales/it/design-memory.json.js +82 -0
  130. package/dist/i18n/locales/it/design-memory.json.js.map +1 -0
  131. package/dist/i18n/locales/it/fonts.json.js +10 -0
  132. package/dist/i18n/locales/it/index.js +5 -1
  133. package/dist/i18n/locales/it/index.js.map +1 -1
  134. package/dist/i18n/locales/it/menu.json.js +2 -0
  135. package/dist/i18n/locales/it/panels.json.js +94 -1
  136. package/dist/i18n/locales/it/settings.json.js +1 -0
  137. package/dist/i18n/locales/it/tools.json.js +3 -1
  138. package/dist/i18n/locales/it/variables/panel.json.js +20 -0
  139. package/dist/i18n/locales/it/variations.json.js +23 -0
  140. package/dist/i18n/locales/it/variations.json.js.map +1 -0
  141. package/dist/i18n/locales/ja/ai.json.js +53 -2
  142. package/dist/i18n/locales/ja/commands.json.js +2 -0
  143. package/dist/i18n/locales/ja/design-check.json.js +13 -1
  144. package/dist/i18n/locales/ja/design-memory.json.js +61 -0
  145. package/dist/i18n/locales/ja/design-memory.json.js.map +1 -0
  146. package/dist/i18n/locales/ja/fonts.json.js +10 -0
  147. package/dist/i18n/locales/ja/index.js +5 -1
  148. package/dist/i18n/locales/ja/index.js.map +1 -1
  149. package/dist/i18n/locales/ja/menu.json.js +2 -0
  150. package/dist/i18n/locales/ja/panels.json.js +91 -1
  151. package/dist/i18n/locales/ja/settings.json.js +1 -0
  152. package/dist/i18n/locales/ja/tools.json.js +3 -1
  153. package/dist/i18n/locales/ja/variables/panel.json.js +20 -0
  154. package/dist/i18n/locales/ja/variations.json.js +23 -0
  155. package/dist/i18n/locales/ja/variations.json.js.map +1 -0
  156. package/dist/i18n/locales/pl/ai.json.js +53 -2
  157. package/dist/i18n/locales/pl/commands.json.js +2 -0
  158. package/dist/i18n/locales/pl/design-check.json.js +13 -1
  159. package/dist/i18n/locales/pl/design-memory.json.js +89 -0
  160. package/dist/i18n/locales/pl/design-memory.json.js.map +1 -0
  161. package/dist/i18n/locales/pl/fonts.json.js +10 -0
  162. package/dist/i18n/locales/pl/index.js +5 -1
  163. package/dist/i18n/locales/pl/index.js.map +1 -1
  164. package/dist/i18n/locales/pl/menu.json.js +2 -0
  165. package/dist/i18n/locales/pl/panels.json.js +95 -1
  166. package/dist/i18n/locales/pl/settings.json.js +1 -0
  167. package/dist/i18n/locales/pl/tools.json.js +3 -1
  168. package/dist/i18n/locales/pl/variables/panel.json.js +20 -0
  169. package/dist/i18n/locales/pl/variations.json.js +23 -0
  170. package/dist/i18n/locales/pl/variations.json.js.map +1 -0
  171. package/dist/i18n/locales/ru/ai.json.js +53 -2
  172. package/dist/i18n/locales/ru/commands.json.js +3 -1
  173. package/dist/i18n/locales/ru/design-check.json.js +13 -1
  174. package/dist/i18n/locales/ru/design-memory.json.js +89 -0
  175. package/dist/i18n/locales/ru/design-memory.json.js.map +1 -0
  176. package/dist/i18n/locales/ru/fonts.json.js +10 -0
  177. package/dist/i18n/locales/ru/index.js +5 -1
  178. package/dist/i18n/locales/ru/index.js.map +1 -1
  179. package/dist/i18n/locales/ru/menu.json.js +2 -0
  180. package/dist/i18n/locales/ru/panels.json.js +95 -1
  181. package/dist/i18n/locales/ru/settings.json.js +1 -0
  182. package/dist/i18n/locales/ru/tools.json.js +3 -1
  183. package/dist/i18n/locales/ru/variables/panel.json.js +20 -0
  184. package/dist/i18n/locales/ru/variations.json.js +23 -0
  185. package/dist/i18n/locales/ru/variations.json.js.map +1 -0
  186. package/dist/i18n/locales/zh-cn/ai.json.js +53 -2
  187. package/dist/i18n/locales/zh-cn/commands.json.js +2 -0
  188. package/dist/i18n/locales/zh-cn/design-check.json.js +13 -1
  189. package/dist/i18n/locales/zh-cn/design-memory.json.js +61 -0
  190. package/dist/i18n/locales/zh-cn/design-memory.json.js.map +1 -0
  191. package/dist/i18n/locales/zh-cn/fonts.json.js +10 -0
  192. package/dist/i18n/locales/zh-cn/index.js +5 -1
  193. package/dist/i18n/locales/zh-cn/index.js.map +1 -1
  194. package/dist/i18n/locales/zh-cn/menu.json.js +2 -0
  195. package/dist/i18n/locales/zh-cn/panels.json.js +91 -1
  196. package/dist/i18n/locales/zh-cn/settings.json.js +1 -0
  197. package/dist/i18n/locales/zh-cn/tools.json.js +3 -1
  198. package/dist/i18n/locales/zh-cn/variables/panel.json.js +20 -0
  199. package/dist/i18n/locales/zh-cn/variations.json.js +23 -0
  200. package/dist/i18n/locales/zh-cn/variations.json.js.map +1 -0
  201. package/dist/i18n/messages/ai.d.ts +65 -2
  202. package/dist/i18n/messages/ai.d.ts.map +1 -1
  203. package/dist/i18n/messages/ai.js +53 -2
  204. package/dist/i18n/messages/ai.js.map +1 -1
  205. package/dist/i18n/messages/chat-usage.d.ts +34 -0
  206. package/dist/i18n/messages/chat-usage.d.ts.map +1 -0
  207. package/dist/i18n/messages/chat-usage.js +25 -0
  208. package/dist/i18n/messages/chat-usage.js.map +1 -0
  209. package/dist/i18n/messages/commands.d.ts +2 -0
  210. package/dist/i18n/messages/commands.d.ts.map +1 -1
  211. package/dist/i18n/messages/commands.js +2 -0
  212. package/dist/i18n/messages/commands.js.map +1 -1
  213. package/dist/i18n/messages/design-check.d.ts +12 -0
  214. package/dist/i18n/messages/design-check.d.ts.map +1 -1
  215. package/dist/i18n/messages/design-check.js +13 -1
  216. package/dist/i18n/messages/design-check.js.map +1 -1
  217. package/dist/i18n/messages/design-memory.d.ts +68 -0
  218. package/dist/i18n/messages/design-memory.d.ts.map +1 -0
  219. package/dist/i18n/messages/design-memory.js +85 -0
  220. package/dist/i18n/messages/design-memory.js.map +1 -0
  221. package/dist/i18n/messages/fonts.d.ts +12 -0
  222. package/dist/i18n/messages/fonts.d.ts.map +1 -1
  223. package/dist/i18n/messages/fonts.js +10 -0
  224. package/dist/i18n/messages/fonts.js.map +1 -1
  225. package/dist/i18n/messages/menu.d.ts +2 -0
  226. package/dist/i18n/messages/menu.d.ts.map +1 -1
  227. package/dist/i18n/messages/menu.js +2 -0
  228. package/dist/i18n/messages/menu.js.map +1 -1
  229. package/dist/i18n/messages/panels.d.ts +114 -0
  230. package/dist/i18n/messages/panels.d.ts.map +1 -1
  231. package/dist/i18n/messages/panels.js +94 -1
  232. package/dist/i18n/messages/panels.js.map +1 -1
  233. package/dist/i18n/messages/settings.d.ts +1 -0
  234. package/dist/i18n/messages/settings.d.ts.map +1 -1
  235. package/dist/i18n/messages/settings.js +1 -0
  236. package/dist/i18n/messages/settings.js.map +1 -1
  237. package/dist/i18n/messages/tools.d.ts +2 -0
  238. package/dist/i18n/messages/tools.d.ts.map +1 -1
  239. package/dist/i18n/messages/tools.js +3 -1
  240. package/dist/i18n/messages/tools.js.map +1 -1
  241. package/dist/i18n/messages/variables/panel.d.ts +24 -0
  242. package/dist/i18n/messages/variables/panel.d.ts.map +1 -1
  243. package/dist/i18n/messages/variables/panel.js +20 -0
  244. package/dist/i18n/messages/variables/panel.js.map +1 -1
  245. package/dist/i18n/messages/variations.d.ts +28 -0
  246. package/dist/i18n/messages/variations.d.ts.map +1 -0
  247. package/dist/i18n/messages/variations.js +26 -0
  248. package/dist/i18n/messages/variations.js.map +1 -0
  249. package/dist/i18n/messages.d.ts +356 -3
  250. package/dist/i18n/messages.d.ts.map +1 -1
  251. package/dist/i18n/messages.js +8 -2
  252. package/dist/i18n/messages.js.map +1 -1
  253. package/dist/i18n/useI18n.d.ts +1193 -9
  254. package/dist/i18n/useI18n.d.ts.map +1 -1
  255. package/dist/i18n/useI18n.js +8 -1
  256. package/dist/i18n/useI18n.js.map +1 -1
  257. package/dist/primitives/ColorPicker/ColorPickerRoot.vue.d.ts +5 -2
  258. package/dist/primitives/ColorPicker/ColorPickerRoot.vue.d.ts.map +1 -1
  259. package/dist/primitives/ColorPicker/ColorPickerRoot.vue.js +12 -3
  260. package/dist/primitives/ColorPicker/ColorPickerRoot.vue.js.map +1 -1
  261. package/dist/primitives/ColorPicker/index.d.ts +2 -1
  262. package/dist/primitives/ColorPicker/index.js +2 -1
  263. package/dist/primitives/ColorPicker/outside.d.ts +16 -0
  264. package/dist/primitives/ColorPicker/outside.d.ts.map +1 -0
  265. package/dist/primitives/ColorPicker/outside.js +20 -0
  266. package/dist/primitives/ColorPicker/outside.js.map +1 -0
  267. package/dist/primitives/FontPicker/FontPickerRoot.vue.d.ts +5 -0
  268. package/dist/primitives/FontPicker/FontPickerRoot.vue.d.ts.map +1 -1
  269. package/dist/primitives/FontPicker/FontPickerRoot.vue.js +63 -56
  270. package/dist/primitives/FontPicker/FontPickerRoot.vue.js.map +1 -1
  271. package/dist/primitives/LayerTree/LayerTreeRoot.vue.d.ts +1 -1
  272. package/dist/primitives/TypographyControls/TypographyControlsRoot.vue.d.ts +3 -0
  273. package/dist/primitives/TypographyControls/TypographyControlsRoot.vue.d.ts.map +1 -1
  274. package/dist/primitives/TypographyControls/TypographyControlsRoot.vue.js +3 -1
  275. package/dist/primitives/TypographyControls/TypographyControlsRoot.vue.js.map +1 -1
  276. package/dist/shared/assets/cursors/eyedropper.svg.js +6 -0
  277. package/dist/shared/assets/cursors/eyedropper.svg.js.map +1 -0
  278. package/dist/shared/frame.d.ts +28 -0
  279. package/dist/shared/frame.d.ts.map +1 -0
  280. package/dist/shared/frame.js +92 -0
  281. package/dist/shared/frame.js.map +1 -0
  282. package/dist/shared/input/auto-layout/drag.js +71 -0
  283. package/dist/shared/input/auto-layout/drag.js.map +1 -0
  284. package/dist/shared/input/{auto-layout-hover.d.ts → auto-layout/hover.d.ts} +3 -3
  285. package/dist/shared/input/auto-layout/hover.d.ts.map +1 -0
  286. package/dist/shared/input/{auto-layout-hover.js → auto-layout/hover.js} +42 -86
  287. package/dist/shared/input/auto-layout/hover.js.map +1 -0
  288. package/dist/shared/input/{auto-layout.js → auto-layout/index.js} +2 -2
  289. package/dist/shared/input/auto-layout/index.js.map +1 -0
  290. package/dist/shared/input/index.d.ts +1 -1
  291. package/dist/shared/input/index.js +1 -1
  292. package/dist/shared/input/move/drag.js +1 -1
  293. package/dist/shared/input/resize.js +1 -1
  294. package/dist/shared/input/select.js +5 -3
  295. package/dist/shared/input/select.js.map +1 -1
  296. package/dist/shared/input/types.d.ts +10 -2
  297. package/dist/shared/input/types.d.ts.map +1 -1
  298. package/dist/shared/input/types.js.map +1 -1
  299. package/package.json +19 -4
  300. package/dist/shared/input/auto-layout-hover.d.ts.map +0 -1
  301. package/dist/shared/input/auto-layout-hover.js.map +0 -1
  302. package/dist/shared/input/auto-layout.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ai.js","names":[],"sources":["../../../src/i18n/messages/ai.ts"],"sourcesContent":["import { params } from '@nanostores/i18n'\n\nimport { i18n } from '#vue/i18n/create'\n\nexport const aiMessageDefaults = {\n jumpToLatest: 'Jump to latest',\n chatSettings: 'Chat',\n notificationsHint: 'Sent only while Pairdraw is in the background or shows another document.',\n notifyNeedsInput: 'An agent needs you',\n notifyNeedsInputHint: 'A permission request has waited a few seconds without an answer.',\n notifyFinished: 'A reply finished',\n notifyFailed: 'A reply failed',\n notificationsAllow: 'Allow notifications',\n notificationsAllowHint: 'Your browser asks once whether Pairdraw may show notifications.',\n notificationsBlocked:\n 'Notifications are blocked for this site. Allow them in the browser’s site settings.',\n notificationsUnsupported: 'This browser cannot show notifications.',\n notificationsSystemHint: 'If none appear, allow Pairdraw in your system’s notification settings.',\n notifyTitle: params('{agent} · {document}'),\n notifyPermission: 'Asks for permission.',\n notifyPermissionAction: params('Asks for permission: {action}'),\n notifyReplyFinished: 'The AI reply finished.',\n notifyReplyFailed: 'The AI reply stopped with an error.',\n maxAgentSteps: 'Maximum steps per message',\n maxAgentStepsCustom: 'Custom…',\n maxAgentStepsHint:\n 'For built-in AI only; ACP and Pi control their own limits. Saved on Enter or when you leave the field, and applied to the next message. Higher limits can increase cost.',\n maxAgentStepsRange: params('Enter a whole number from {min} to {max}.'),\n reasoningDisplay: 'Reasoning display',\n reasoningCollapsed: 'Collapsed by default',\n reasoningWhileThinking: 'Expand while thinking',\n reasoningExpanded: 'Expanded by default',\n continueChat: 'Continue',\n searchChats: 'Search conversations…',\n chatScope: 'Conversation scope',\n thisDocument: 'This document',\n allDocuments: 'All documents',\n noChatsFound: 'No conversations found.',\n chatActions: 'Conversation actions',\n chatHistory: 'Conversation history',\n newChat: 'New chat',\n followAgents: 'Follow agents as they work',\n stopFollowingAgents: 'Stop following agents as they work',\n renameChat: 'Rename',\n saveChatTrace: 'Save trace…',\n chatTraceFailed: 'The chat trace could not be saved.',\n deleteChat: 'Delete',\n chatTitle: 'Conversation title',\n saveChatTitle: 'Save',\n cancelChatAction: 'Cancel',\n deleteChatConfirmation: 'Delete this conversation permanently?',\n deleteChatDescription: params('“{title}” and its messages are removed. This cannot be undone.'),\n chatReadOnly: 'This conversation belongs to another document. Open its document to continue.',\n chatAgentReadOnly:\n 'This agent transcript is saved, but its session cannot be resumed here yet. Start a new chat to continue working.',\n chatAgentExited: 'Agent process exited unexpectedly.',\n chatStorageFailed: 'Chat history could not be saved. Keep this window open and try again.',\n chatHistoryFailed: 'Could not update chat history. Try again.',\n chatInterrupted: 'This response was interrupted.',\n chatAgentQuiet: params('{agent} has been quiet since {since}. It may still be working.'),\n chatAgentWorkingIn: params('{agent} is working in “{document}”'),\n chatAgentWorkingOn: params('{agent} is working on “{page}”'),\n chatGoToDocument: 'Go to document',\n chatGoToPage: 'Go to page',\n chatAgentDetecting: 'Looking for coding agents on this computer…',\n chatAgentUsing: params('Using {agent} from this computer.'),\n chatAgentChange: 'Change',\n chatAgentSignInNeeded: params('{agent} is on this computer but signed out.'),\n chatAgentUnconfigured: params(\n '{agent} found no provider credentials to use. Set one up in {agent}, then send your message again.'\n ),\n chatAgentSignIn: params('Sign in to {agent}'),\n chatAgentInstallNeeded: params(\n '{agent} is on this computer. Pairdraw needs its connector ({package}) to talk to it.'\n ),\n chatAgentInstall: 'Install and connect',\n chatAcpNotRunning: 'MCP server is not running. Make sure the editor is open.',\n chatAcpTimeout: 'MCP server did not respond in time.',\n chatAcpNotInstalled: 'ACP agent CLI is not installed.',\n chatAcpInstallAndRestart: params(\n '\"{command}\" is not installed. Install it and restart Pairdraw.'\n ),\n chatAcpInstallWith: params('\"{command}\" is not installed. Install it with: {installCommand}'),\n chatAcpSignInRequired: params(\n '{agent} is not signed in. Sign in from Set up AI, then try again.'\n ),\n chatAgentPromptWaiting: params('Your prompt is sent once {agent} is connected.'),\n chatAgentPromptWaitingSetup: 'Your prompt is sent once AI is set up.',\n chatAgentNoneFound: 'No coding agent found on this computer.',\n chatAgentSetUp: 'Set up AI',\n chatAgentOnThisComputer: 'On this computer',\n connectProvider: 'Connect an AI provider to start chatting.',\n connectionTestSuccess: 'Connected successfully. Model is reachable.',\n connectionTestMissingAPIKey: 'Enter an API key before testing.',\n connectionTestMissingSignIn: 'Sign in before testing.',\n connectionTestMissingBaseURL: 'Enter a base URL before testing.',\n connectionTestMissingModel: 'Enter a model ID before testing.',\n connectionTestInvalidBaseURL:\n 'Base URL is invalid. Use a full URL like https://api.example.com/v1.',\n connectionTestAuthFailed: 'Authentication failed. Check your API key.',\n connectionTestSignInExpired: 'The sign-in has expired. Sign in again.',\n connectionTestPlanForbidden: 'Your plan can’t use this model. Choose another model.',\n connectionTestInsufficientCredit:\n 'The provider account has insufficient credit or quota. Top it up and try again.',\n connectionTestModelNotFound: 'Model not found. Check the model ID.',\n connectionTestAPITypeMismatch:\n 'This endpoint does not appear to support the selected API type. Try Completions or Responses.',\n connectionTestBrowserNetworkFailed:\n 'Could not reach this endpoint from the browser. Try the desktop app or use an endpoint with CORS enabled.',\n connectionTestNetworkFailed:\n 'Could not reach the endpoint. Check the URL and your network connection.',\n connectionTestUnknownFailed: 'Connection test failed. Check the provider settings and try again.',\n describeChange: 'Describe a change…',\n describeCreateOrChange: 'Describe what you want to create or change.',\n stopGenerating: 'Stop generating',\n sendMessage: 'Send message',\n removeImageAttachment: params('Remove image {name}'),\n dropImagesToAttach: 'Drop images to attach',\n queueMessage: params('Steer the agent… {shortcut} waits until it is done'),\n queuedSteer: 'Sends after the current step',\n queuedFollowUp: 'Sends when the agent is done',\n removeQueuedMessage: 'Remove waiting message',\n dropImagesAfterReply: 'Attach images after the reply',\n dropImagesLimit: params('Up to {count} images per message'),\n viewAttachment: params('View attachment {name}'),\n attachmentPreview: 'Attachment preview',\n closeAttachmentPreview: 'Close attachment preview',\n attachFiles: 'Attach images or files',\n removeFileAttachment: params('Remove file {name}'),\n dropFilesToAttach: 'Drop images or files to attach',\n dropFilesAfterReply: 'Attach files after the reply',\n dropFilesLimit: params('Up to {count} files per message'),\n fileAttachmentUnsupported: params(\n '{name} can’t be attached. Attach images, or text files such as Markdown, CSS, or code.'\n ),\n fileAttachmentTooLarge: params('{name} is too large. Text files can be up to {size} KB.'),\n fileAttachmentNotText: params('{name} isn’t a text file.'),\n fileAttachmentLimit: params('{name} wasn’t attached: up to {count} files per message.'),\n fileAttachmentDetails: params('{type} · {size} KB'),\n revealLocalFile: params('Show {path} in its folder'),\n revealLocalFileFailed: params('Couldn’t show {path}. It may have been moved or deleted.'),\n switchProfileHeading: params('Switch to {name}?'),\n switchProfileDescription: params(\n '{name} won’t see the messages above. A coding agent keeps a conversation in its own session, so it isn’t carried across a switch. Start a new chat to keep this one as it is.'\n ),\n switchProfileAgentSessionDescription: params(\n '{name} will see the messages above, but not what the agent’s own session held, such as the files it read and its tool results.'\n ),\n switchProfileConfirm: 'Switch',\n mentionSelection: 'Mention the selected layers',\n thinking: 'Thinking…',\n reasoning: 'Reasoning',\n thoughtFor: params('Thought for {seconds}s'),\n copyResponse: 'Copy response',\n revertTurn: 'Revert changes',\n turnReverted: 'Changes reverted',\n turnPartlyUndone: params('{undone} of {total} changes undone'),\n turnStopped: 'Stopped',\n restoreTurn: 'Restore changes',\n regenerate: 'Regenerate',\n revertAndRegenerate: 'Revert and regenerate',\n retryRequest: 'Retry',\n editMessage: 'Edit message',\n cancelEdit: 'Cancel',\n resendMessage: 'Send again',\n responseCopied: 'Response copied',\n toolFinished: 'Done',\n toolUndone: 'Undone',\n toolRunning: 'Running…',\n toolError: 'Error',\n toolErrorShowAll: 'Show all',\n toolErrorShowLess: 'Show less',\n toolInput: 'Input',\n toolOutput: 'Output',\n toolDetails: 'Tool call details',\n toolSteps: params('Earlier steps: {count}'),\n toolStepsFailed: params('failed: {count}'),\n showNodeOnCanvas: params('Show {name} on canvas'),\n toolChanges: 'Changes',\n changeHighlight: 'Highlight',\n changeBefore: 'Before',\n changeAfter: 'After',\n changeSplit: 'Before and after split',\n changeStructure: 'Structure changes',\n changedPixels: params('{percent}% of pixels changed'),\n noVisibleChange: 'No visible change',\n changePreview: 'Change previews',\n changePreviewHint:\n 'Before and after images kept with each AI edit in the chat history. Larger previews take more storage.',\n changePreviewOff: 'Off, structure only',\n /** Home's prompt that starts a new design in the AI chat. */\n promptStartTitle: 'What do you want to design?',\n promptStartLabel: 'Describe a design',\n promptStartPlaceholder: 'A sign-in screen for a banking app, a pricing section, a dashboard…',\n /** The prompt over an empty page that starts the AI chat. */\n canvasPromptTitle: 'Start with a prompt',\n canvasPromptDescription: 'Describe what to design, and the AI agent builds it on this page.',\n canvasPromptClose: 'Hide prompt',\n /** Example prompts under Home's and the empty page's prompt; picking one fills the field. */\n promptExamples: 'Examples',\n promptExampleLanding: 'Landing page',\n promptExampleLandingPrompt:\n 'A landing page for a coffee subscription with a hero, three plan cards, testimonials, and a footer',\n promptExampleSignIn: 'Sign-in screen',\n promptExampleSignInPrompt:\n 'A mobile sign-in screen for a banking app with email and password fields, a Face ID button, and a sign-up link',\n promptExampleDashboard: 'Dashboard',\n promptExampleDashboardPrompt:\n 'An analytics dashboard with a sidebar, four KPI cards, a revenue line chart, and a table of recent orders',\n promptExamplePricing: 'Pricing',\n promptExamplePricingPrompt:\n 'A pricing section with three plans, a monthly and yearly switch, and the recommended plan highlighted',\n /** What Home offers to create, as chips above its prompt; the choice guides the agent. */\n creationKinds: 'What to create',\n creationLanding: 'Landing page',\n creationMobile: 'Mobile app',\n creationWeb: 'Web app',\n creationSlides: 'Slides',\n creationDashboard: 'Dashboard',\n creationOther: 'Something else…',\n /** Heads the guide a chosen kind adds to the prompt; `kind` is the chip's name. */\n creationGuide: params('Creation guide — {kind}:'),\n /** Home's ways to start from something that exists. */\n importFromFigma: 'Import from Figma',\n importFromBrowser: 'Import from browser',\n recreateScreenshot: 'Recreate a screenshot',\n recreateScreenshotPrompt: 'Recreate this screenshot as an editable design.',\n /** After a sticky note's text sent as a prompt; `note` is a reference to the note. */\n stickyPromptSource: params('From the sticky note {note}'),\n /** What the chat is asked when comment threads are applied with AI; the threads follow. */\n commentPromptApply:\n 'Apply the feedback in this comment thread, then reply to it with what you changed and resolve it.',\n commentPromptApplyAll:\n 'Apply the feedback in these comment threads, then reply to each with what you changed and resolve it.',\n commentPromptThread: params('Thread {id}'),\n commentPromptThreadOnLayer: params('Thread {id} on {layer}'),\n canvasPrompt: 'Prompt on the canvas',\n canvasPromptHint:\n 'Show a prompt at the bottom of the canvas while the chat is closed. What you write there goes to the chat.',\n animateEdits: 'Animate AI edits',\n animateEditsHint:\n 'Layers the AI adds trace in one after another, and the frames it works in shimmer until it finishes. Follows the Animations setting.',\n /** The notice once an agent's run of edits ends; its action shows the layers it touched. */\n editSummary: params('AI edits done · new layers: {added} · changed: {changed}'),\n editSummaryAdded: params('AI edits done · new layers: {added}'),\n editSummaryChanged: params('AI edits done · changed layers: {changed}'),\n /** Names the other document the edits are in, which Show brings to front. */\n editSummaryIn: params('in {document}'),\n editSummaryShow: 'Show',\n changePreviewSmall: 'Small (240 px)',\n changePreviewMedium: 'Medium (480 px)',\n changePreviewLarge: 'Large (960 px)',\n unknownTool: 'Unknown tool',\n permissionRequestTitle: 'Permission request',\n permissionRequest: params('{tool} is requesting permission.'),\n baseURLPlaceholder: 'Base URL (e.g. http://localhost:11434/v1)',\n provider: 'AI Provider',\n providerSettings: 'Provider settings',\n openProviderSettings: 'Open provider settings',\n modelsTitle: 'Models',\n modelsDescription: 'Configure reusable models and their provider connections.',\n addModel: 'Add model',\n editModel: 'Edit model',\n modelName: 'Name',\n modelConfiguration: 'Model',\n connectionSettings: 'Connection',\n modelCapabilities: 'Capabilities',\n modelCapabilitiesDetected: 'Detected from the selected model.',\n modelCapabilitiesManual: 'Declare compatibility for this custom model.',\n modelCapabilityTools: 'Tool calling',\n modelCapabilityVision: 'Image input',\n modelCapabilityToolsShort: 'Tools',\n modelCapabilityVisionShort: 'Vision',\n selectDesignModel: 'Select design model',\n modelNeedsCredential: 'Needs key',\n modelAgentConnection: 'Agent',\n modelConnectionChecking: 'Checking…',\n modelNotInstalled: 'Not installed',\n modelInstalled: 'Installed',\n modelSignedOut: 'Signed out',\n modelToolsUnreachable: 'Tools unreachable',\n modelExternalConfig: 'External config',\n thinkingLevel: 'Thinking level',\n thinkingLevelDescription:\n 'How much the model reasons before answering. You can change it for each message in the chat.',\n thinkingDefault: 'Default',\n thinkingOff: 'Off',\n thinkingMinimal: 'Minimal',\n thinkingLow: 'Low',\n thinkingMedium: 'Medium',\n thinkingHigh: 'High',\n thinkingExtraHigh: 'Extra high',\n harnessToolPermissions: 'Tool permissions',\n harnessPermissionReads: 'Ask before edits and commands',\n harnessPermissionEdits: 'Ask before commands',\n harnessPermissionAll: 'Allow all tools',\n saveModel: 'Save model',\n deleteModel: 'Delete model',\n deleteModelDescription: 'Delete this model and remove its role assignments?',\n manageModelsAndRoles: 'Manage models and roles…',\n modelAssignments: 'Assignments',\n modelAssignmentsDescription: 'Choose which configured model handles each type of work.',\n modelRoleDesign: 'Design agent',\n modelRoleReview: 'Review',\n modelRoleFast: 'Fast tasks',\n modelRoleVision: 'Vision',\n modelRoleDesignDescription: 'AI chat and canvas edits',\n modelRoleReviewDescription: 'Explicit plan and design reviews',\n modelRoleFastDescription: 'Low-cost background work',\n modelRoleVisionDescription: 'Screenshots and image references',\n modelRoleUseDesign: 'Same as Design',\n noModel: 'None',\n apiKey: 'API Key',\n apiType: 'API Type',\n baseURL: 'Base URL',\n modelID: 'Model ID',\n selectModel: 'Select a model',\n searchModels: 'Search models…',\n recommendedModels: 'Recommended',\n latestModels: 'Latest',\n allModels: 'All models',\n latest: 'Latest',\n customModelID: 'Custom model ID',\n customModel: 'Custom model…',\n customModelGroup: 'Custom model',\n outputLimit: 'Output limit',\n outputLimitAutomatic: 'Automatic recommendation',\n maxOutputTokens: 'Max output tokens',\n chatAuthenticationFailed: 'Your provider API key is invalid or expired. Replace it in Settings.',\n chatSignInExpired: 'Your sign-in has expired. Sign in again in Settings.',\n chatPlanForbidden: 'Your plan can’t use the selected model. Choose another model in Settings.',\n chatForbidden: 'This API key cannot use the selected model. Check its model access.',\n chatInsufficientCredit:\n 'The provider account has insufficient credit or quota. Top it up and try again.',\n chatOutputLimit:\n 'The model ran out of output tokens while reasoning. Raise Max output tokens or lower reasoning effort.',\n chatModelNotFound: 'The selected model is unavailable. Choose another model in Settings.',\n chatNetworkFailed: 'Pairdraw could not reach the provider. Check your connection and endpoint.',\n chatRateLimited: 'The provider rate limit was reached. Wait a moment and try again.',\n chatRequestFailed: 'The model request failed. Check the provider settings and try again.',\n chatProviderStalled: 'The provider stopped responding. Check your connection and try again.',\n chatEmptyReply: 'The model returned no reply. Try again.',\n chatAgentStartTimeout:\n 'The coding agent did not start in time. Check that it runs on this computer and try again.',\n openProviderSettingsAction: 'Open settings',\n cloudWorkspace: 'Workspace',\n cloudWorkspaceHint: 'The workspace whose plan pays for these requests.',\n cloudAIUnavailable: 'Sign in to a Pairdraw Cloud server that offers AI to use these models.',\n cloudAINoWorkspace: 'None of your workspaces on this server includes AI.',\n cloudAICatalogFailed:\n 'Pairdraw Cloud could not list its models. Check your connection and try again.',\n cloudAIWorkspacesFailed:\n 'Pairdraw Cloud could not check which of your workspaces include AI. Check your connection and try again.',\n chatCloudCreditsExhausted:\n 'This workspace has used this month’s AI credits. Manage its plan to add more.',\n chatCloudAllowanceUsed:\n 'This workspace has used this month’s AI allowance. Ask your Cloud administrator to raise it.',\n chatCloudAllowanceUsedUntil: params(\n 'This workspace has used this month’s AI allowance. It renews on {date}. Ask your Cloud administrator to raise it sooner.'\n ),\n connectionTestCloudCreditsExhausted: 'This workspace has no AI credits left this month.',\n cloudCreditsLeft: params('{credits} credits left'),\n cloudCreditsRenew: params('Renews {date}'),\n manageCloudPlanAction: 'Manage plan',\n chatCloudUnavailable:\n 'Pairdraw Cloud AI is unavailable. Sign in to Pairdraw Cloud and choose a workspace in Settings.',\n visionModelUnavailable: 'Choose a Vision model in Settings before attaching images.',\n chatPiCompanionMissing: 'Pi needs the Harness companion. Run guided setup to install it.',\n chatPiCompanionOutdated:\n 'The Harness companion doesn’t match this version of Pairdraw. Run guided setup to update it.',\n chatMCPOutdated:\n 'Pairdraw’s MCP server doesn’t match this version of Pairdraw. Run guided setup to update it.',\n chatCompanionsUpdating: 'Updating Pairdraw’s command-line tools to match this version…',\n chatCompanionsUpdated: 'Pairdraw’s command-line tools now match this version.',\n chatPiSignIn:\n 'Pi isn’t signed in to a provider. Run pi in a terminal and type /login, or add an AI Gateway key.',\n chatPiModel:\n 'Pi has no model to use. Run pi in a terminal and type /model, or choose one in Settings.',\n completions: 'Completions',\n responses: 'Responses',\n aiSetupProgress: params('Step {current} of {total}'),\n aiSetupAdvanced: 'Advanced settings',\n aiSetupContinue: 'Continue',\n aiSetupGoalsTitle: 'What should AI help with?',\n aiSetupGoalDesign: 'Create and edit designs',\n aiSetupGoalDesignDescription: 'Describe a change and let AI edit the canvas.',\n aiSetupGoalVision: 'Review designs visually',\n aiSetupGoalVisionDescription:\n 'Let AI look at your designs to check spacing, alignment, and hierarchy.',\n aiSetupAccessTitle: 'What do you already use?',\n aiSetupAccessDescription: 'Select everything you have. If you have nothing yet, continue.',\n aiSetupAccessAgents: 'Coding agents on this computer',\n aiSetupAccessAgentsDescription:\n 'Use your existing subscription. The agent chooses its own model.',\n aiSetupAccessAgentsDesktop: 'Coding agents are available in the Pairdraw desktop app.',\n modelProviderSetUp: 'Set up',\n aiSetupAccessAPI: 'API accounts',\n aiSetupAccessServer: 'Local model or company server',\n aiSetupAccessMore: 'More providers',\n providerGroupAgents: 'Your agents',\n providerGroupProviders: 'Providers',\n aiSetupServerOther: 'Other server',\n aiSetupAccessServerDescription:\n 'Any server that speaks the OpenAI API, such as Ollama or LM Studio.',\n aiSetupConnectTitle: 'Connect your AI',\n aiSetupNothingDescription: 'Go back to choose other access, or set up AI in advanced settings.',\n aiSetupAgentDescription: params(\n 'Pairdraw starts {agent} when you send a message, with the account {agent} is signed in to.'\n ),\n aiSetupAgentOwnCredentials: params(\n 'Pairdraw starts {agent} when you send a message, with the providers and model set up in {agent}.'\n ),\n aiSetupAgentInstall: 'If it is not installed yet, run:',\n aiSetupAgentInstallSupported: 'Install the supported adapter:',\n aiSetupAgentChecking: 'Checking this computer…',\n aiSetupAgentInstalled: 'installed',\n aiSetupAgentNotFound: 'not found',\n aiSetupAgentMCP: 'Pairdraw MCP server',\n aiSetupAgentMCPInstall:\n 'Coding agents reach the canvas through Pairdraw’s MCP server. Install it with:',\n aiSetupAgentPromptHint: params(\n 'Already using {agent} or another coding agent? Copy the setup prompt and paste it there; it installs what Pairdraw needs.'\n ),\n aiSetupAgentInstallMCP: 'Install MCP server',\n aiSetupAgentUpdateMCP: 'Update MCP server',\n aiSetupAgentOutdated: 'update needed',\n aiSetupAgentInstalling: 'Installing…',\n aiSetupAgentGetCLI: params('Install {agent}'),\n aiSetupAgentNeedsNpm:\n 'Installing needs npm, which comes with Node.js. Install Node.js, then check again.',\n aiSetupAgentNeedsAdmin:\n 'Installing needs administrator rights, because npm keeps global packages in a protected folder. Run the command below in a terminal, or let your agent set up a folder you own.',\n aiSetupAgentInstallFailed:\n 'The installation didn’t finish. Check your connection, or run the command yourself.',\n aiSetupAgentMCPStartFailed:\n 'The MCP server is installed but didn’t start. Restart Pairdraw, then check again.',\n aiSetupAgentLookupFailed: 'Couldn’t check this computer. Try again.',\n aiSetupProblemInstallNeeded: params('{agent} needs its connector installed first.'),\n aiSetupAgentCopyPrompt: 'Copy setup prompt',\n aiSetupAgentCheckAgain: 'Check again',\n aiSetupAgentInstallRuns: params('Installing runs {command}.'),\n aiSetupDetectNotFound: 'Not found on this computer',\n aiSetupDetectFound: 'Found on this computer',\n aiSetupDetectSignedOut: 'Found · not signed in',\n aiSetupDetectSignedIn: 'Signed in',\n aiSetupDetectSignedInAs: params('Signed in · {account}'),\n aiSetupDetectExternalConfig: params('External config · {cloud}'),\n aiSetupAgentSignInBrowser: 'Finish signing in in your browser.',\n aiSetupAgentSignInOpenPage: 'Open the sign-in page',\n aiSetupAgentSignInCode: 'Code from the sign-in page, if it shows one',\n aiSetupAgentSignInSubmitCode: 'Submit code',\n aiSetupAgentSignInFailed: params('Couldn’t sign in to {agent}. Try again.'),\n aiSetupAgentToolsFailed: params(\n '{agent} can’t reach Pairdraw’s tools, so chats with it won’t start.'\n ),\n aiSetupAgentToolsHint:\n 'Check that Pairdraw’s MCP server is running in Settings → MCP, then press Retry.',\n aiSetupAgentAdapterMismatch: params(\n 'Pairdraw found {path}, another adapter it doesn’t support. Install the supported one, then remove this one or move it later on your PATH.'\n ),\n aiSetupConnect: params('Connect {agent}'),\n aiSetupConnecting: 'Connecting…',\n aiSetupConnectStepDetect: 'Check this computer',\n aiSetupConnectStepInstall: params('Install {agent} and Pairdraw’s MCP server'),\n aiSetupConnectStepSignIn: params('Sign in to {agent}'),\n aiSetupConnectStepTools: 'Reach Pairdraw’s tools',\n aiSetupConnectStepActivate: 'Use it in the chat',\n aiSetupConnectStepDone: 'done',\n aiSetupConnectStepRunning: 'in progress',\n aiSetupConnectStepFailed: 'needs attention',\n aiSetupConnectStepManual: 'run it yourself',\n aiSetupConnectStepPending: 'not started',\n aiSetupConnectSignInCommand: 'To sign in, run this in a terminal and choose a sign-in method:',\n aiSetupConnectCLIMissing: params('{agent} isn’t installed. Install it, then press Retry.'),\n aiSetupConnectCheckFailed: params('Couldn’t start {agent} to check its account. Try again.'),\n aiSetupConnectSignedOut: params('{agent} isn’t signed in yet. Press Retry to sign in.'),\n aiSetupConnectActivateFailed: params('Couldn’t switch the chat to {agent}. Try again.'),\n aiSetupPiDescription:\n 'Pairdraw runs Pi through its Harness companion and uses the providers you signed in to in Pi.',\n aiSetupPiCompanion: 'Harness companion',\n aiSetupPiInstallCompanion: 'Install companion',\n aiSetupPiUpdateCompanion: 'Update companion',\n aiSetupPiModel: params('Pi’s default model: {model}'),\n aiSetupPiNoModel: 'No default model set in Pi',\n piModelHint: 'A Pi model such as provider/model. Leave empty to use Pi’s default model.',\n aiSetupPiSignIn:\n 'To sign in to a provider or pick a default model, run pi in a terminal and type /login or /model.',\n aiSetupGetDesktop: 'Get the desktop app',\n companionPairTitle: 'Connect this tab to your computer?',\n companionPairDescription: params(\n 'Pairdraw’s companion will run coding agents on your computer for this tab. Connect only if you just started it and its terminal shows {fingerprint}.'\n ),\n companionPairPortWarning: params(\n 'This link uses port {port} instead of 7600. Connect only if you started the companion on that port.'\n ),\n companionPairConfirm: 'Connect',\n aiSetupCompanionDescription:\n 'In the browser, agents run on your computer through Pairdraw’s companion. Run this command in a terminal, then open the link it prints.',\n aiSetupCompanionConnected: params('Connected to your computer · companion {version}'),\n aiSetupCompanionDisconnect: 'Disconnect',\n aiSetupCompanionPairing: 'Connecting to your computer…',\n aiSetupCompanionRejected:\n 'That link expired or was already used. Press Enter in the companion’s terminal for a new one.',\n aiSetupCompanionRateLimited:\n 'Too many attempts. Wait a minute, then open a new link from the companion.',\n aiSetupCompanionUnreachable:\n 'The companion isn’t running. Start it again and open the link it prints.',\n aiSetupCompanionExpired: 'The companion restarted. Open the new link it printed.',\n aiSetupCompanionSafari:\n 'Safari doesn’t let websites reach programs on your computer. Use Chrome, Edge, or Firefox, or the desktop app.',\n aiSetupCompanionOutdated:\n 'The companion’s version doesn’t match this app. Stop it and start it again with this command:',\n aiSetupMeteredNote:\n 'OpenRouter gives you models from several vendors with one account and one key.',\n aiSetupSkillsTitle: 'Skills from your coding agents',\n aiSetupSkillsDescription:\n 'The design chat can use skills your coding agents installed. Most are coding workflows, so pick only the ones that help with design; Settings › Skills changes them later.',\n aiSetupReviewTitle: 'Review your setup',\n aiSetupAgentModel: 'Model chosen by the agent',\n aiSetupFinish: 'Finish setup',\n aiSetupSavedTitle: 'AI is ready',\n aiSetupSavedDescription: 'You can change models and roles anytime in Settings.',\n aiSetupRun: 'Run guided setup',\n aiSetupServerKeyHint: 'If your server does not check keys, enter any value.',\n aiSetupGapDesign: 'Nothing you selected can create and edit designs.',\n aiSetupGapVision: 'Nothing you selected can review images, so visual review would stay off.',\n aiSetupGapContinue: 'You can continue without it and add it later in Settings.',\n aiSetupGapAddOpenRouter: 'Add OpenRouter (pay as you go)',\n aiSetupGapRemoveOpenRouter: 'Don’t use OpenRouter',\n aiSetupGapCoveredByOpenRouter:\n 'OpenRouter will cover what your other choices can’t, billed per request.',\n aiSetupServerVision: 'This model can read images',\n aiSetupSavedKeyHint: 'Leave blank to keep the saved key.',\n aiSetupAlreadyConnected: 'Everything you selected is already connected.',\n aiSetupOpenRouterSignIn: 'Sign in with OpenRouter',\n aiSetupOpenRouterWaiting: 'Finish signing in to OpenRouter in your browser.',\n aiSetupSignInReopen: 'Open again',\n aiSetupOpenRouterOrKey: 'Or paste an API key',\n aiSetupOpenRouterBlocked:\n 'Your browser blocked the sign-in window. Allow pop-ups for Pairdraw and try again.',\n aiSetupSignInCancelled: 'Sign-in was cancelled.',\n aiSetupSignInExpired: 'Sign-in took too long. Try again.',\n aiSetupOpenRouterFailed: 'Couldn’t sign in to OpenRouter. Try again or paste an API key.',\n aiSetupOpenRouterSignedInTitle: 'Signed in to OpenRouter',\n aiSetupOpenRouterKeyLabel: params('· key “{label}”'),\n aiSetupOpenRouterVerifying: 'Checking your OpenRouter key…',\n aiSetupOpenRouterNoCredits:\n 'This OpenRouter account has no credits yet. Add credits on OpenRouter to use paid models such as the recommended one.',\n aiSetupSignInChange: 'Use a different account',\n aiSetupSignOut: 'Sign out',\n aiSetupAccessSubscriptions: 'Subscriptions',\n aiSetupAccessChatGPT: 'Use your ChatGPT plan’s models in Pairdraw’s own agent.',\n aiSetupChatGPTSignIn: 'Sign in with ChatGPT',\n aiSetupChatGPTWaiting: 'Finish signing in to ChatGPT in your browser.',\n aiSetupChatGPTSignedInTitle: 'Signed in to ChatGPT',\n aiSetupChatGPTFailed: 'Couldn’t sign in to ChatGPT. Try again.',\n aiSetupChatGPTPortInUse:\n 'Another sign-in, such as `codex login`, is using port 1455. Finish or close it, then try again.',\n aiSetupCallbackSignedIn: params(\n 'Signed in to {provider}. You can close this tab and return to Pairdraw.'\n ),\n aiSetupCallbackCancelled: params('{provider} sign-in was cancelled. You can close this tab.'),\n aiSetupCallbackStale:\n 'This sign-in link belongs to an earlier attempt. Start again from Pairdraw.',\n aiSetupChatGPTUsage: 'Replies count toward your ChatGPT plan’s usage limits.',\n aiSetupSavedSignInHint: 'Your saved sign-in will be used.',\n aiSetupUseRecommended: 'Use recommended setup',\n aiSetupRolesDescription:\n 'Choose a model for each kind of work. We picked recommended ones from what you connected; anything else you configured stays as it is.',\n chatReferenceLayers: 'Layers',\n chatReferencePages: 'Pages',\n chatReferenceSkills: 'Skills',\n chatReferenceCommands: 'Commands',\n openSkillSettings: params('Open skill “{name}”'),\n skillsDescription:\n 'Instructions the AI chat loads when a request matches their description. Upload a ZIP of a skill’s folder or a SKILL.md, or use the skills your coding agents installed.',\n skillsEnabledCount: params('{enabled} of {total} enabled'),\n searchSkills: 'Search skills',\n noMatchingSkills: 'No skills match your search.',\n skillsUpload: 'Upload skill',\n skillsUploadedSource: 'Uploaded',\n skillsProjectSource: 'Next to this document',\n skillsTrustFolder: 'Trust folder',\n skillsStopTrusting: 'Stop trusting',\n skillsTrustTitle: 'Trust this folder?',\n skillsTrustDescription: params(\n 'Skills in {folder} give the AI chat instructions it follows. Trust a folder only if you know where its skills come from.'\n ),\n skillsFolderUntrusted: 'Trust its folder to use this skill.',\n skillsAgentsSource: 'Shared agent skills',\n skillsClaudeSource: 'Claude Code skills',\n skillsNoUploads: 'No uploaded skills yet.',\n skillsNoneInFolder: 'No skills in this folder.',\n skillsProblems: 'Some folders could not be read as skills',\n skillsUploadFailed: 'Could not upload the skill',\n skillsUploadTooLarge: 'The file is larger than 10 MB.',\n skillsUploadNoSkill: 'The archive has no SKILL.md.',\n skillsUploadSeveral: 'The archive holds more than one skill. Upload them one at a time.',\n skillsUploadUnreadable: 'Choose a ZIP archive or a SKILL.md text file.',\n skillsDelete: 'Delete skill',\n skillsDeleteDescription: params('“{name}” will be removed from Pairdraw.'),\n skillsLocation: 'Location',\n skillsFiles: 'Files',\n skillsInstructions: 'Instructions',\n skillsWarnings: 'This skill departs from the Agent Skills specification',\n skillsUse: 'Use this skill',\n skillsUseDescription: 'The AI chat lists it and loads its instructions when a request matches.',\n skillsSourceOff: 'Skills from this folder are turned off.',\n skillsNotUsed: 'Not used',\n skillsNotTrusted: 'Not trusted',\n skillsShadowed: 'A skill with the same name from a source above is used instead.',\n skillsBuiltinSource: 'Built-in',\n pickSkill: 'Pick a skill',\n skillPickerYours: 'Your skills',\n skillPickerManage: 'Manage skills…',\n skillPickerNone: 'No skills are turned on.',\n builtinSkillLandingPage: 'Design a marketing landing page, from hero to footer.',\n builtinSkillMobileApp: 'Design phone app screens and flows for iOS or Android.',\n builtinSkillWebApp: 'Design web app screens around a shared app shell.',\n builtinSkillDashboard: 'Design dashboards with KPI tiles, charts, and tables.',\n builtinSkillSlides: 'Build a 16:9 slide deck with a consistent layout.',\n builtinSkillDesignSystem: 'Create light and dark tokens and core components.',\n builtinSkillTailwindV4: 'Design for a clean Tailwind CSS v4 export.',\n builtinSkillLayout: 'Fix spacing, alignment, and auto layout.',\n builtinSkillRestyle: 'Give an existing design a new visual direction.',\n builtinSkillDarkMode: 'Add a dark mode with color variables.',\n builtinSkillDesignReview: 'Review a design and list prioritized findings.',\n skillWarningPlainFrontmatter:\n 'The frontmatter is not valid YAML, so it was read line by line. Quote values that contain “: ”.',\n skillWarningNameFromFolder: 'The frontmatter has no name, so the folder name is used.',\n skillWarningLongName: params('The name is longer than {max} characters.'),\n skillWarningNameFormat: 'The name should use only lowercase letters, digits, and single hyphens.',\n skillWarningNameMismatch: 'The name does not match the folder name.',\n skillWarningLongDescription: params('The description is longer than {max} characters.'),\n skillErrorNoFrontmatter: 'SKILL.md does not start with YAML frontmatter between --- lines.',\n skillErrorInvalidFrontmatter: params('The SKILL.md frontmatter is invalid: {detail}'),\n skillErrorNoDescription: 'The SKILL.md frontmatter has no description.',\n skillErrorNoName: 'The SKILL.md frontmatter has no name.',\n chatReferenceCitations: 'Citations',\n researchSource: 'Source',\n researchRead: 'Read'\n} as const\n\nexport const aiMessages = i18n('ai', aiMessageDefaults)\n"],"mappings":";;;AAIA,MAAa,oBAAoB;CAC/B,cAAc;CACd,cAAc;CACd,mBAAmB;CACnB,kBAAkB;CAClB,sBAAsB;C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C/C,mBACE;CACF,oBAAoB,OAAO,8BAA8B;CACzD,cAAc;CACd,kBAAkB;CAClB,cAAc;CACd,sBAAsB;CACtB,qBAAqB;CACrB,mBAAmB;CACnB,oBAAoB;CACpB,kBAAkB;CAClB,wBAAwB,OACtB,0HACF;CACA,uBAAuB;CACvB,oBAAoB;CACpB,oBAAoB;CACpB,iBAAiB;CACjB,oBAAoB;CACpB,gBAAgB;CAChB,oBAAoB;CACpB,sBAAsB;CACtB,qBAAqB;CACrB,qBAAqB;CACrB,wBAAwB;CACxB,cAAc;CACd,yBAAyB,OAAO,yCAAyC;CACzE,gBAAgB;CAChB,aAAa;CACb,oBAAoB;CACpB,gBAAgB;CAChB,WAAW;CACX,sBAAsB;CACtB,iBAAiB;CACjB,eAAe;CACf,kBAAkB;CAClB,gBAAgB;CAChB,qBAAqB;CACrB,WAAW;CACX,kBAAkB;CAClB,mBAAmB;CACnB,iBAAiB;CACjB,yBAAyB;CACzB,uBAAuB;CACvB,oBAAoB;CACpB,uBAAuB;CACvB,oBAAoB;CACpB,0BAA0B;CAC1B,wBAAwB;CACxB,oBAAoB;CACpB,qBAAqB;CACrB,sBAAsB;CACtB,0BAA0B;CAC1B,8BACE;CACF,4BAA4B;CAC5B,sBAAsB,OAAO,2CAA2C;CACxE,wBAAwB;CACxB,0BAA0B;CAC1B,6BAA6B,OAAO,kDAAkD;CACtF,yBAAyB;CACzB,8BAA8B,OAAO,+CAA+C;CACpF,yBAAyB;CACzB,kBAAkB;CAClB,wBAAwB;CACxB,gBAAgB;CAChB,cAAc;AAChB;AAEA,MAAa,aAAa,KAAK,MAAM,iBAAiB"}
1
+ {"version":3,"file":"ai.js","names":[],"sources":["../../../src/i18n/messages/ai.ts"],"sourcesContent":["import { params } from '@nanostores/i18n'\n\nimport { i18n } from '#vue/i18n/create'\n\nexport const aiMessageDefaults = {\n jumpToLatest: 'Jump to latest',\n chatSettings: 'Chat',\n notificationsHint: 'Sent only while Pairdraw is in the background or shows another document.',\n notifyNeedsInput: 'An agent needs you',\n notifyNeedsInputHint: 'A permission request has waited a few seconds without an answer.',\n notifyFinished: 'A reply finished',\n notifyFailed: 'A reply failed',\n notificationsAllow: 'Allow notifications',\n notificationsAllowHint: 'Your browser asks once whether Pairdraw may show notifications.',\n notificationsBlocked:\n 'Notifications are blocked for this site. Allow them in the browser’s site settings.',\n notificationsUnsupported: 'This browser cannot show notifications.',\n notificationsSystemHint: 'If none appear, allow Pairdraw in your system’s notification settings.',\n notifyTitle: params('{agent} · {document}'),\n notifyPermission: 'Asks for permission.',\n notifyPermissionAction: params('Asks for permission: {action}'),\n notifyReplyFinished: 'The AI reply finished.',\n notifyReplyFailed: 'The AI reply stopped with an error.',\n maxAgentSteps: 'Maximum steps per message',\n maxAgentStepsCustom: 'Custom…',\n maxAgentStepsHint:\n 'For built-in AI only; ACP and Pi control their own limits. Saved on Enter or when you leave the field, and applied to the next message. Higher limits can increase cost.',\n maxAgentStepsRange: params('Enter a whole number from {min} to {max}.'),\n reasoningDisplay: 'Reasoning display',\n reasoningCollapsed: 'Collapsed by default',\n reasoningWhileThinking: 'Expand while thinking',\n reasoningExpanded: 'Expanded by default',\n continueChat: 'Continue',\n searchChats: 'Search conversations…',\n chatScope: 'Conversation scope',\n thisDocument: 'This document',\n allDocuments: 'All documents',\n noChatsFound: 'No conversations found.',\n chatActions: 'Conversation actions',\n chatHistory: 'Conversation history',\n newChat: 'New chat',\n followAgents: 'Follow agents as they work',\n stopFollowingAgents: 'Stop following agents as they work',\n renameChat: 'Rename',\n saveChatTrace: 'Save trace…',\n chatTraceFailed: 'The chat trace could not be saved.',\n deleteChat: 'Delete',\n chatTitle: 'Conversation title',\n saveChatTitle: 'Save',\n cancelChatAction: 'Cancel',\n deleteChatConfirmation: 'Delete this conversation permanently?',\n deleteChatDescription: params('“{title}” and its messages are removed. This cannot be undone.'),\n chatReadOnly: 'This conversation belongs to another document. Open its document to continue.',\n chatAgentReadOnly:\n 'This agent transcript is saved, but its session cannot be resumed here yet. Start a new chat to continue working.',\n chatAgentExited: 'Agent process exited unexpectedly.',\n chatStorageFailed: 'Chat history could not be saved. Keep this window open and try again.',\n chatHistoryFailed: 'Could not update chat history. Try again.',\n chatInterrupted: 'This response was interrupted.',\n chatAgentQuiet: params('{agent} has been quiet since {since}. It may still be working.'),\n chatAgentWorkingIn: params('{agent} is working in “{document}”'),\n chatAgentWorkingOn: params('{agent} is working on “{page}”'),\n chatGoToDocument: 'Go to document',\n chatGoToPage: 'Go to page',\n chatAgentDetecting: 'Looking for coding agents on this computer…',\n chatAgentUsing: params('Using {agent} from this computer.'),\n chatAgentChange: 'Change',\n chatAgentSignInNeeded: params('{agent} is on this computer but signed out.'),\n chatAgentUnconfigured: params(\n '{agent} found no provider credentials to use. Set one up in {agent}, then send your message again.'\n ),\n chatAgentSignIn: params('Sign in to {agent}'),\n chatAgentInstallNeeded: params(\n '{agent} is on this computer. Pairdraw needs its connector ({package}) to talk to it.'\n ),\n chatAgentInstall: 'Install and connect',\n chatAcpNotRunning: 'MCP server is not running. Make sure the editor is open.',\n chatAcpTimeout: 'MCP server did not respond in time.',\n chatAcpNotInstalled: 'ACP agent CLI is not installed.',\n chatAcpInstallAndRestart: params(\n '\"{command}\" is not installed. Install it and restart Pairdraw.'\n ),\n chatAcpInstallWith: params('\"{command}\" is not installed. Install it with: {installCommand}'),\n chatAcpSignInRequired: params(\n '{agent} is not signed in. Sign in from Set up AI, then try again.'\n ),\n chatAgentPromptWaiting: params('Your prompt is sent once {agent} is connected.'),\n chatAgentPromptWaitingSetup: 'Your prompt is sent once AI is set up.',\n chatAgentNoneFound: 'No coding agent found on this computer.',\n chatAgentSetUp: 'Set up AI',\n chatAgentOnThisComputer: 'On this computer',\n connectProvider: 'Connect an AI provider to start chatting.',\n connectionTestSuccess: 'Connected successfully. Model is reachable.',\n connectionTestMissingAPIKey: 'Enter an API key before testing.',\n connectionTestMissingSignIn: 'Sign in before testing.',\n connectionTestMissingBaseURL: 'Enter a base URL before testing.',\n connectionTestMissingModel: 'Enter a model ID before testing.',\n connectionTestInvalidBaseURL:\n 'Base URL is invalid. Use a full URL like https://api.example.com/v1.',\n connectionTestAuthFailed: 'Authentication failed. Check your API key.',\n connectionTestSignInExpired: 'The sign-in has expired. Sign in again.',\n connectionTestPlanForbidden: 'Your plan can’t use this model. Choose another model.',\n connectionTestInsufficientCredit:\n 'The provider account has insufficient credit or quota. Top it up and try again.',\n connectionTestModelNotFound: 'Model not found. Check the model ID.',\n connectionTestAPITypeMismatch:\n 'This endpoint does not appear to support the selected API type. Try Completions or Responses.',\n connectionTestBrowserNetworkFailed:\n 'Could not reach this endpoint from the browser. Try the desktop app or use an endpoint with CORS enabled.',\n connectionTestNetworkFailed:\n 'Could not reach the endpoint. Check the URL and your network connection.',\n connectionTestUnknownFailed: 'Connection test failed. Check the provider settings and try again.',\n describeChange: 'Describe a change…',\n describeCreateOrChange: 'Describe what you want to create or change.',\n stopGenerating: 'Stop generating',\n sendMessage: 'Send message',\n removeImageAttachment: params('Remove image {name}'),\n dropImagesToAttach: 'Drop images to attach',\n queueMessage: params('Steer the agent… {shortcut} waits until it is done'),\n queuedSteer: 'Sends after the current step',\n queuedFollowUp: 'Sends when the agent is done',\n removeQueuedMessage: 'Remove waiting message',\n dropImagesAfterReply: 'Attach images after the reply',\n dropImagesLimit: params('Up to {count} images per message'),\n viewAttachment: params('View attachment {name}'),\n attachmentPreview: 'Attachment preview',\n closeAttachmentPreview: 'Close attachment preview',\n attachFiles: 'Attach images or files',\n removeFileAttachment: params('Remove file {name}'),\n dropFilesToAttach: 'Drop images or files to attach',\n dropFilesAfterReply: 'Attach files after the reply',\n dropFilesLimit: params('Up to {count} files per message'),\n fileAttachmentUnsupported: params(\n '{name} can’t be attached. Attach images, or text files such as Markdown, CSS, or code.'\n ),\n fileAttachmentTooLarge: params('{name} is too large. Text files can be up to {size} KB.'),\n fileAttachmentNotText: params('{name} isn’t a text file.'),\n fileAttachmentLimit: params('{name} wasn’t attached: up to {count} files per message.'),\n fileAttachmentDetails: params('{type} · {size} KB'),\n revealLocalFile: params('Show {path} in its folder'),\n revealLocalFileFailed: params('Couldn’t show {path}. It may have been moved or deleted.'),\n switchProfileHeading: params('Switch to {name}?'),\n switchProfileDescription: params(\n '{name} won’t see the messages above. A coding agent keeps a conversation in its own session, so it isn’t carried across a switch. Start a new chat to keep this one as it is.'\n ),\n switchProfileAgentSessionDescription: params(\n '{name} will see the messages above, but not what the agent’s own session held, such as the files it read and its tool results.'\n ),\n switchProfileConfirm: 'Switch',\n mentionSelection: 'Mention the selected layers',\n thinking: 'Thinking…',\n reasoning: 'Reasoning',\n thoughtFor: params('Thought for {seconds}s'),\n copyResponse: 'Copy response',\n revertTurn: 'Revert changes',\n turnReverted: 'Changes reverted',\n turnPartlyUndone: params('{undone} of {total} changes undone'),\n turnStopped: 'Stopped',\n restoreTurn: 'Restore changes',\n regenerate: 'Regenerate',\n revertAndRegenerate: 'Revert and regenerate',\n retryRequest: 'Retry',\n editMessage: 'Edit message',\n cancelEdit: 'Cancel',\n resendMessage: 'Send again',\n responseCopied: 'Response copied',\n toolFinished: 'Done',\n toolUndone: 'Undone',\n toolRunning: 'Running…',\n toolError: 'Error',\n toolErrorShowAll: 'Show all',\n toolErrorShowLess: 'Show less',\n toolInput: 'Input',\n toolOutput: 'Output',\n toolDetails: 'Tool call details',\n toolSteps: params('Earlier steps: {count}'),\n toolStepsFailed: params('failed: {count}'),\n showNodeOnCanvas: params('Show {name} on canvas'),\n toolChanges: 'Changes',\n changeHighlight: 'Highlight',\n changeBefore: 'Before',\n changeAfter: 'After',\n changeSplit: 'Before and after split',\n changeStructure: 'Structure changes',\n changedPixels: params('{percent}% of pixels changed'),\n noVisibleChange: 'No visible change',\n changePreview: 'Change previews',\n changePreviewHint:\n 'Before and after images kept with each AI edit in the chat history. Larger previews take more storage.',\n changePreviewOff: 'Off, structure only',\n /** Home's prompt that starts a new design in the AI chat. */\n promptStartTitle: 'What do you want to design?',\n promptStartLabel: 'Describe a design',\n promptStartPlaceholder: 'A sign-in screen for a banking app, a pricing section, a dashboard…',\n /** The prompt over an empty page that starts the AI chat. */\n canvasPromptTitle: 'Start with a prompt',\n canvasPromptDescription: 'Describe what to design, and the AI agent builds it on this page.',\n canvasPromptClose: 'Hide prompt',\n /** Example prompts under Home's and the empty page's prompt; picking one fills the field. */\n promptExamples: 'Examples',\n promptExampleLanding: 'Landing page',\n promptExampleLandingPrompt:\n 'A landing page for a coffee subscription with a hero, three plan cards, testimonials, and a footer',\n promptExampleSignIn: 'Sign-in screen',\n promptExampleSignInPrompt:\n 'A mobile sign-in screen for a banking app with email and password fields, a Face ID button, and a sign-up link',\n promptExampleDashboard: 'Dashboard',\n promptExampleDashboardPrompt:\n 'An analytics dashboard with a sidebar, four KPI cards, a revenue line chart, and a table of recent orders',\n promptExamplePricing: 'Pricing',\n promptExamplePricingPrompt:\n 'A pricing section with three plans, a monthly and yearly switch, and the recommended plan highlighted',\n /** What Home offers to create, as chips above its prompt; the choice guides the agent. */\n creationKinds: 'What to create',\n creationLanding: 'Landing page',\n creationMobile: 'Mobile app',\n creationWeb: 'Web app',\n creationSlides: 'Slides',\n creationDashboard: 'Dashboard',\n creationOther: 'Something else…',\n /** Heads the guide a chosen kind adds to the prompt; `kind` is the chip's name. */\n creationGuide: params('Creation guide — {kind}:'),\n /** Home's ways to start from something that exists. */\n importFromFigma: 'Import from Figma',\n importFromBrowser: 'Import from browser',\n recreateScreenshot: 'Recreate a screenshot',\n recreateScreenshotPrompt: 'Recreate this screenshot as an editable design.',\n /** After a sticky note's text sent as a prompt; `note` is a reference to the note. */\n stickyPromptSource: params('From the sticky note {note}'),\n /** What the chat is asked when comment threads are applied with AI; the threads follow. */\n commentPromptApply:\n 'Apply the feedback in this comment thread, then reply to it with what you changed and resolve it.',\n commentPromptApplyAll:\n 'Apply the feedback in these comment threads, then reply to each with what you changed and resolve it.',\n commentPromptThread: params('Thread {id}'),\n commentPromptThreadOnLayer: params('Thread {id} on {layer}'),\n canvasPrompt: 'Prompt on the canvas',\n canvasPromptHint:\n 'Show a prompt at the bottom of the canvas while the chat is closed. What you write there goes to the chat.',\n animateEdits: 'Animate AI edits',\n animateEditsHint:\n 'Layers the AI adds trace in one after another, and the frames it works in shimmer until it finishes. Follows the Animations setting.',\n showTokenUsage: 'Show token usage and cost',\n showTokenUsageHint:\n 'Show the tokens each reply spent and the conversation’s running total, with an estimated cost when the model’s price is known.',\n /** The notice once an agent's run of edits ends; its action shows the layers it touched. */\n editSummary: params('AI edits done · new layers: {added} · changed: {changed}'),\n editSummaryAdded: params('AI edits done · new layers: {added}'),\n editSummaryChanged: params('AI edits done · changed layers: {changed}'),\n /** Names the other document the edits are in, which Show brings to front. */\n editSummaryIn: params('in {document}'),\n editSummaryShow: 'Show',\n changePreviewSmall: 'Small (240 px)',\n changePreviewMedium: 'Medium (480 px)',\n changePreviewLarge: 'Large (960 px)',\n unknownTool: 'Unknown tool',\n permissionRequestTitle: 'Permission request',\n permissionRequest: params('{tool} is requesting permission.'),\n baseURLPlaceholder: 'Base URL (e.g. http://localhost:11434/v1)',\n provider: 'AI Provider',\n providerSettings: 'Provider settings',\n openProviderSettings: 'Open provider settings',\n modelsTitle: 'Models',\n modelsDescription: 'Configure reusable models and their provider connections.',\n addModel: 'Add model',\n editModel: 'Edit model',\n modelName: 'Name',\n modelConfiguration: 'Model',\n connectionSettings: 'Connection',\n modelCapabilities: 'Capabilities',\n modelCapabilitiesDetected: 'Detected from the selected model.',\n modelCapabilitiesManual: 'Declare compatibility for this custom model.',\n modelCapabilityTools: 'Tool calling',\n modelCapabilityVision: 'Image input',\n modelCapabilityToolsShort: 'Tools',\n modelCapabilityVisionShort: 'Vision',\n selectDesignModel: 'Select design model',\n modelNeedsCredential: 'Needs key',\n modelAgentConnection: 'Agent',\n modelConnectionChecking: 'Checking…',\n modelNotInstalled: 'Not installed',\n modelInstalled: 'Installed',\n modelSignedOut: 'Signed out',\n modelToolsUnreachable: 'Tools unreachable',\n modelExternalConfig: 'External config',\n thinkingLevel: 'Thinking level',\n thinkingLevelDescription:\n 'How much the model reasons before answering. You can change it for each message in the chat.',\n thinkingDefault: 'Default',\n thinkingOff: 'Off',\n thinkingMinimal: 'Minimal',\n thinkingLow: 'Low',\n thinkingMedium: 'Medium',\n thinkingHigh: 'High',\n thinkingExtraHigh: 'Extra high',\n harnessToolPermissions: 'Tool permissions',\n harnessPermissionReads: 'Ask before edits and commands',\n harnessPermissionEdits: 'Ask before commands',\n harnessPermissionAll: 'Allow all tools',\n saveModel: 'Save model',\n deleteModel: 'Delete model',\n deleteModelDescription: 'Delete this model and remove its role assignments?',\n manageModelsAndRoles: 'Manage models and roles…',\n modelAssignments: 'Assignments',\n modelAssignmentsDescription: 'Choose which configured model handles each type of work.',\n modelRoleDesign: 'Design agent',\n modelRoleReview: 'Review',\n modelRoleFast: 'Fast tasks',\n modelRoleVision: 'Vision',\n modelRoleDesignDescription: 'AI chat and canvas edits',\n modelRoleReviewDescription: 'Design reviews you ask for',\n modelRoleFastDescription: 'Chat titles and compaction summaries',\n modelRoleVisionDescription: 'Screenshots and image references',\n modelRoleUseDesign: 'Same as Design',\n noModel: 'None',\n apiKey: 'API Key',\n apiType: 'API Type',\n baseURL: 'Base URL',\n modelID: 'Model ID',\n selectModel: 'Select a model',\n searchModels: 'Search models…',\n recommendedModels: 'Recommended',\n latestModels: 'Latest',\n allModels: 'All models',\n latest: 'Latest',\n customModelID: 'Custom model ID',\n customModel: 'Custom model…',\n customModelGroup: 'Custom model',\n outputLimit: 'Output limit',\n outputLimitAutomatic: 'Automatic recommendation',\n maxOutputTokens: 'Max output tokens',\n chatAuthenticationFailed: 'Your provider API key is invalid or expired. Replace it in Settings.',\n chatSignInExpired: 'Your sign-in has expired. Sign in again in Settings.',\n chatPlanForbidden: 'Your plan can’t use the selected model. Choose another model in Settings.',\n chatForbidden: 'This API key cannot use the selected model. Check its model access.',\n chatInsufficientCredit:\n 'The provider account has insufficient credit or quota. Top it up and try again.',\n chatOutputLimit:\n 'The model ran out of output tokens while reasoning. Raise Max output tokens or lower reasoning effort.',\n chatModelNotFound: 'The selected model is unavailable. Choose another model in Settings.',\n chatNetworkFailed: 'Pairdraw could not reach the provider. Check your connection and endpoint.',\n chatRateLimited: 'The provider rate limit was reached. Wait a moment and try again.',\n chatRequestFailed: 'The model request failed. Check the provider settings and try again.',\n chatProviderStalled: 'The provider stopped responding. Check your connection and try again.',\n chatEmptyReply: 'The model returned no reply. Try again.',\n chatContextLimit: 'The conversation is longer than the model can read.',\n compactCommand: 'Summarize the conversation so far; text after it says what to keep',\n compactAutomatically: 'Compact automatically',\n compactAutomaticallyHint: 'Summarizes older messages when the context window fills up.',\n compacting: 'Compacting the conversation…',\n compactionFailed: 'The conversation could not be compacted. Nothing was changed.',\n compactAndRetry: 'Compact and retry',\n conversationCompacted: 'Conversation compacted',\n compactionKeepsMessages:\n 'The model now gets this summary instead of the messages above; you still see them.',\n agentCompactionKeepsMessages:\n 'The agent now works from its own summary of the messages above; you still see them.',\n compactionTokens: params('{before} → {after} tokens'),\n reviewCommand:\n 'Review the selection or page with the Review model; text after it says what to focus on',\n reviewing: 'Reviewing the design…',\n designReview: 'Design review',\n changeReview: 'Change review',\n reviewChange: 'Review this change',\n reviewFix: 'Fix these',\n reviewFixRequest: params('Fix the issues this design review found:\\n\\n{findings}'),\n reviewFailed: 'The design could not be reviewed.',\n reviewNoModel: 'Assign a model to Review or Design in Settings to review designs.',\n reviewImagesUnreadable:\n 'The Review model cannot read images, so it cannot compare the design with an attached image.',\n reviewEmpty: 'There is nothing on this page to review.',\n reviewUnsupported: 'This model cannot review designs. Assign an API model to Review in Settings.',\n promptDesignDescription:\n 'Your own instructions for the chat, after Pairdraw’s or in their place. The design JSX reference always follows.',\n promptDesignMode: 'Your instructions',\n promptDesignPlaceholder:\n 'For example: Use our 8px spacing scale and the brand colors from the Tokens page.',\n promptDesignAdd: 'Add to Pairdraw’s',\n promptDesignReplace: 'Replace Pairdraw’s',\n promptDesignStart: 'Start from Pairdraw’s',\n promptDesignReplaced: 'Pairdraw’s instructions are off',\n promptDesignReplaceWarning:\n 'Without them the model may use its tools poorly. Reset brings them back.',\n promptReviewDescription: 'What the Review model is told for /review and Review this change.',\n promptTitle: 'Chat titles',\n promptTitleDescription: 'What the Fast tasks model is asked to name a conversation.',\n promptSummary: 'Compaction summaries',\n promptSummaryDescription:\n 'What the model is told when it summarizes a conversation to compact it.',\n promptVariablesAndPreview: 'Variables and preview',\n promptVariableLanguage: 'The language to write in when the request names none',\n promptVariableFocus: 'What the person asked the review to look at, or empty',\n promptVariableSeesImages: 'Whether the model is shown images of the design',\n promptVariableReferences: 'How many reference images follow the design',\n promptVariableEdit: 'Whether this reviews the agent’s own last change, not a whole design',\n promptVariableRequest: 'The conversation’s first request',\n promptVariableReply: 'The beginning of the first reply',\n promptPreview: 'Preview with sample values',\n promptUnknownVariable: params('{name} is not a variable of this prompt, so it stays empty.'),\n promptErrors: 'This prompt has errors',\n promptErrorsHint: 'Pairdraw’s is used until they are fixed.',\n promptErrorAt: params('Line {line}: {message}.'),\n chatAgentStartTimeout:\n 'The coding agent did not start in time. Check that it runs on this computer and try again.',\n openProviderSettingsAction: 'Open settings',\n cloudWorkspace: 'Workspace',\n cloudWorkspaceHint: 'The workspace whose plan pays for these requests.',\n cloudAIUnavailable: 'Sign in to a Pairdraw Cloud server that offers AI to use these models.',\n cloudAINoWorkspace: 'None of your workspaces on this server includes AI.',\n cloudAICatalogFailed:\n 'Pairdraw Cloud could not list its models. Check your connection and try again.',\n cloudAIWorkspacesFailed:\n 'Pairdraw Cloud could not check which of your workspaces include AI. Check your connection and try again.',\n chatCloudCreditsExhausted:\n 'This workspace has used this month’s AI credits. Manage its plan to add more.',\n chatCloudAllowanceUsed:\n 'This workspace has used this month’s AI allowance. Ask your Cloud administrator to raise it.',\n chatCloudAllowanceUsedUntil: params(\n 'This workspace has used this month’s AI allowance. It renews on {date}. Ask your Cloud administrator to raise it sooner.'\n ),\n connectionTestCloudCreditsExhausted: 'This workspace has no AI credits left this month.',\n cloudCreditsLeft: params('{credits} credits left'),\n cloudCreditsRenew: params('Renews {date}'),\n manageCloudPlanAction: 'Manage plan',\n chatCloudUnavailable:\n 'Pairdraw Cloud AI is unavailable. Sign in to Pairdraw Cloud and choose a workspace in Settings.',\n visionModelUnavailable: 'Choose a Vision model in Settings before attaching images.',\n chatPiCompanionMissing: 'Pi needs the Harness companion. Run guided setup to install it.',\n chatPiCompanionOutdated:\n 'The Harness companion doesn’t match this version of Pairdraw. Run guided setup to update it.',\n chatMCPOutdated:\n 'Pairdraw’s MCP server doesn’t match this version of Pairdraw. Run guided setup to update it.',\n chatCompanionsUpdating: 'Updating Pairdraw’s command-line tools to match this version…',\n chatCompanionsUpdated: 'Pairdraw’s command-line tools now match this version.',\n chatPiSignIn:\n 'Pi isn’t signed in to a provider. Run pi in a terminal and type /login, or add an AI Gateway key.',\n chatPiModel:\n 'Pi has no model to use. Run pi in a terminal and type /model, or choose one in Settings.',\n completions: 'Completions',\n responses: 'Responses',\n aiSetupProgress: params('Step {current} of {total}'),\n aiSetupAdvanced: 'Advanced settings',\n aiSetupContinue: 'Continue',\n aiSetupGoalsTitle: 'What should AI help with?',\n aiSetupGoalDesign: 'Create and edit designs',\n aiSetupGoalDesignDescription: 'Describe a change and let AI edit the canvas.',\n aiSetupGoalVision: 'Review designs visually',\n aiSetupGoalVisionDescription:\n 'Let AI look at your designs to check spacing, alignment, and hierarchy.',\n aiSetupAccessTitle: 'What do you already use?',\n aiSetupAccessDescription: 'Select everything you have. If you have nothing yet, continue.',\n aiSetupAccessAgents: 'Coding agents on this computer',\n aiSetupAccessAgentsDescription:\n 'Use your existing subscription. The agent chooses its own model.',\n aiSetupAccessAgentsDesktop: 'Coding agents are available in the Pairdraw desktop app.',\n modelProviderSetUp: 'Set up',\n aiSetupAccessAPI: 'API accounts',\n aiSetupAccessServer: 'Local model or company server',\n aiSetupAccessMore: 'More providers',\n providerGroupAgents: 'Your agents',\n providerGroupProviders: 'Providers',\n aiSetupServerOther: 'Other server',\n aiSetupAccessServerDescription:\n 'Any server that speaks the OpenAI API, such as Ollama or LM Studio.',\n aiSetupConnectTitle: 'Connect your AI',\n aiSetupNothingDescription: 'Go back to choose other access, or set up AI in advanced settings.',\n aiSetupAgentDescription: params(\n 'Pairdraw starts {agent} when you send a message, with the account {agent} is signed in to.'\n ),\n aiSetupAgentOwnCredentials: params(\n 'Pairdraw starts {agent} when you send a message, with the providers and model set up in {agent}.'\n ),\n aiSetupAgentInstall: 'If it is not installed yet, run:',\n aiSetupAgentInstallSupported: 'Install the supported adapter:',\n aiSetupAgentChecking: 'Checking this computer…',\n aiSetupAgentInstalled: 'installed',\n aiSetupAgentNotFound: 'not found',\n aiSetupAgentMCP: 'Pairdraw MCP server',\n aiSetupAgentMCPInstall:\n 'Coding agents reach the canvas through Pairdraw’s MCP server. Install it with:',\n aiSetupAgentPromptHint: params(\n 'Already using {agent} or another coding agent? Copy the setup prompt and paste it there; it installs what Pairdraw needs.'\n ),\n aiSetupAgentInstallMCP: 'Install MCP server',\n aiSetupAgentUpdateMCP: 'Update MCP server',\n aiSetupAgentOutdated: 'update needed',\n aiSetupAgentInstalling: 'Installing…',\n aiSetupAgentGetCLI: params('Install {agent}'),\n aiSetupAgentNeedsNpm:\n 'Installing needs npm, which comes with Node.js. Install Node.js, then check again.',\n aiSetupAgentNeedsAdmin:\n 'Installing needs administrator rights, because npm keeps global packages in a protected folder. Run the command below in a terminal, or let your agent set up a folder you own.',\n aiSetupAgentInstallFailed:\n 'The installation didn’t finish. Check your connection, or run the command yourself.',\n aiSetupAgentMCPStartFailed:\n 'The MCP server is installed but didn’t start. Restart Pairdraw, then check again.',\n aiSetupAgentLookupFailed: 'Couldn’t check this computer. Try again.',\n aiSetupProblemInstallNeeded: params('{agent} needs its connector installed first.'),\n aiSetupAgentCopyPrompt: 'Copy setup prompt',\n aiSetupAgentCheckAgain: 'Check again',\n aiSetupAgentInstallRuns: params('Installing runs {command}.'),\n aiSetupDetectNotFound: 'Not found on this computer',\n aiSetupDetectFound: 'Found on this computer',\n aiSetupDetectSignedOut: 'Found · not signed in',\n aiSetupDetectSignedIn: 'Signed in',\n aiSetupDetectSignedInAs: params('Signed in · {account}'),\n aiSetupDetectExternalConfig: params('External config · {cloud}'),\n aiSetupAgentSignInBrowser: 'Finish signing in in your browser.',\n aiSetupAgentSignInOpenPage: 'Open the sign-in page',\n aiSetupAgentSignInCode: 'Code from the sign-in page, if it shows one',\n aiSetupAgentSignInSubmitCode: 'Submit code',\n aiSetupAgentSignInFailed: params('Couldn’t sign in to {agent}. Try again.'),\n aiSetupAgentToolsFailed: params(\n '{agent} can’t reach Pairdraw’s tools, so chats with it won’t start.'\n ),\n aiSetupAgentToolsHint:\n 'Check that Pairdraw’s MCP server is running in Settings → MCP, then press Retry.',\n aiSetupAgentAdapterMismatch: params(\n 'Pairdraw found {path}, another adapter it doesn’t support. Install the supported one, then remove this one or move it later on your PATH.'\n ),\n aiSetupConnect: params('Connect {agent}'),\n aiSetupConnecting: 'Connecting…',\n aiSetupConnectStepDetect: 'Check this computer',\n aiSetupConnectStepInstall: params('Install {agent} and Pairdraw’s MCP server'),\n aiSetupConnectStepSignIn: params('Sign in to {agent}'),\n aiSetupConnectStepTools: 'Reach Pairdraw’s tools',\n aiSetupConnectStepActivate: 'Use it in the chat',\n aiSetupConnectStepDone: 'done',\n aiSetupConnectStepRunning: 'in progress',\n aiSetupConnectStepFailed: 'needs attention',\n aiSetupConnectStepManual: 'run it yourself',\n aiSetupConnectStepPending: 'not started',\n aiSetupConnectSignInCommand: 'To sign in, run this in a terminal and choose a sign-in method:',\n aiSetupConnectCLIMissing: params('{agent} isn’t installed. Install it, then press Retry.'),\n aiSetupConnectCheckFailed: params('Couldn’t start {agent} to check its account. Try again.'),\n aiSetupConnectSignedOut: params('{agent} isn’t signed in yet. Press Retry to sign in.'),\n aiSetupConnectActivateFailed: params('Couldn’t switch the chat to {agent}. Try again.'),\n aiSetupPiDescription:\n 'Pairdraw runs Pi through its Harness companion and uses the providers you signed in to in Pi.',\n aiSetupPiCompanion: 'Harness companion',\n aiSetupPiInstallCompanion: 'Install companion',\n aiSetupPiUpdateCompanion: 'Update companion',\n aiSetupPiModel: params('Pi’s default model: {model}'),\n aiSetupPiNoModel: 'No default model set in Pi',\n piModelHint: 'A Pi model such as provider/model. Leave empty to use Pi’s default model.',\n aiSetupPiSignIn:\n 'To sign in to a provider or pick a default model, run pi in a terminal and type /login or /model.',\n aiSetupGetDesktop: 'Get the desktop app',\n companionPairTitle: 'Connect this tab to your computer?',\n companionPairDescription: params(\n 'Pairdraw’s companion will run coding agents on your computer for this tab. Connect only if you just started it and its terminal shows {fingerprint}.'\n ),\n companionPairPortWarning: params(\n 'This link uses port {port} instead of 7600. Connect only if you started the companion on that port.'\n ),\n companionPairConfirm: 'Connect',\n aiSetupCompanionDescription:\n 'In the browser, agents run on your computer through Pairdraw’s companion. Run this command in a terminal, then open the link it prints.',\n aiSetupCompanionConnected: params('Connected to your computer · companion {version}'),\n aiSetupCompanionDisconnect: 'Disconnect',\n aiSetupCompanionPairing: 'Connecting to your computer…',\n aiSetupCompanionRejected:\n 'That link expired or was already used. Press Enter in the companion’s terminal for a new one.',\n aiSetupCompanionRateLimited:\n 'Too many attempts. Wait a minute, then open a new link from the companion.',\n aiSetupCompanionUnreachable:\n 'The companion isn’t running. Start it again and open the link it prints.',\n aiSetupCompanionExpired: 'The companion restarted. Open the new link it printed.',\n aiSetupCompanionSafari:\n 'Safari doesn’t let websites reach programs on your computer. Use Chrome, Edge, or Firefox, or the desktop app.',\n aiSetupCompanionOutdated:\n 'The companion’s version doesn’t match this app. Stop it and start it again with this command:',\n aiSetupMeteredNote:\n 'OpenRouter gives you models from several vendors with one account and one key.',\n aiSetupSkillsTitle: 'Skills from your coding agents',\n aiSetupSkillsDescription:\n 'The design chat can use skills your coding agents installed. Most are coding workflows, so pick only the ones that help with design; Settings › Skills changes them later.',\n aiSetupReviewTitle: 'Review your setup',\n aiSetupAgentModel: 'Model chosen by the agent',\n aiSetupFinish: 'Finish setup',\n aiSetupSavedTitle: 'AI is ready',\n aiSetupSavedDescription: 'You can change models and roles anytime in Settings.',\n aiSetupRun: 'Run guided setup',\n aiSetupServerKeyHint: 'If your server does not check keys, enter any value.',\n aiSetupGapDesign: 'Nothing you selected can create and edit designs.',\n aiSetupGapVision: 'Nothing you selected can review images, so visual review would stay off.',\n aiSetupGapContinue: 'You can continue without it and add it later in Settings.',\n aiSetupGapAddOpenRouter: 'Add OpenRouter (pay as you go)',\n aiSetupGapRemoveOpenRouter: 'Don’t use OpenRouter',\n aiSetupGapCoveredByOpenRouter:\n 'OpenRouter will cover what your other choices can’t, billed per request.',\n aiSetupServerVision: 'This model can read images',\n aiSetupSavedKeyHint: 'Leave blank to keep the saved key.',\n aiSetupAlreadyConnected: 'Everything you selected is already connected.',\n aiSetupOpenRouterSignIn: 'Sign in with OpenRouter',\n aiSetupOpenRouterWaiting: 'Finish signing in to OpenRouter in your browser.',\n aiSetupSignInReopen: 'Open again',\n aiSetupOpenRouterOrKey: 'Or paste an API key',\n aiSetupOpenRouterBlocked:\n 'Your browser blocked the sign-in window. Allow pop-ups for Pairdraw and try again.',\n aiSetupSignInCancelled: 'Sign-in was cancelled.',\n aiSetupSignInExpired: 'Sign-in took too long. Try again.',\n aiSetupOpenRouterFailed: 'Couldn’t sign in to OpenRouter. Try again or paste an API key.',\n aiSetupOpenRouterSignedInTitle: 'Signed in to OpenRouter',\n aiSetupOpenRouterKeyLabel: params('· key “{label}”'),\n aiSetupOpenRouterVerifying: 'Checking your OpenRouter key…',\n aiSetupOpenRouterNoCredits:\n 'This OpenRouter account has no credits yet. Add credits on OpenRouter to use paid models such as the recommended one.',\n aiSetupSignInChange: 'Use a different account',\n aiSetupSignOut: 'Sign out',\n aiSetupAccessSubscriptions: 'Subscriptions',\n aiSetupAccessChatGPT: 'Use your ChatGPT plan’s models in Pairdraw’s own agent.',\n aiSetupChatGPTSignIn: 'Sign in with ChatGPT',\n aiSetupChatGPTWaiting: 'Finish signing in to ChatGPT in your browser.',\n aiSetupChatGPTSignedInTitle: 'Signed in to ChatGPT',\n aiSetupChatGPTFailed: 'Couldn’t sign in to ChatGPT. Try again.',\n aiSetupChatGPTPortInUse:\n 'Another sign-in, such as `codex login`, is using port 1455. Finish or close it, then try again.',\n aiSetupCallbackSignedIn: params(\n 'Signed in to {provider}. You can close this tab and return to Pairdraw.'\n ),\n aiSetupCallbackCancelled: params('{provider} sign-in was cancelled. You can close this tab.'),\n aiSetupCallbackStale:\n 'This sign-in link belongs to an earlier attempt. Start again from Pairdraw.',\n aiSetupChatGPTUsage: 'Replies count toward your ChatGPT plan’s usage limits.',\n aiSetupSavedSignInHint: 'Your saved sign-in will be used.',\n aiSetupUseRecommended: 'Use recommended setup',\n aiSetupRolesDescription:\n 'Choose a model for each kind of work. We picked recommended ones from what you connected; anything else you configured stays as it is.',\n chatReferenceLayers: 'Layers',\n chatReferencePages: 'Pages',\n chatReferenceSkills: 'Skills',\n chatReferenceCommands: 'Commands',\n openSkillSettings: params('Open skill “{name}”'),\n skillsDescription:\n 'Instructions the AI chat loads when a request matches their description. Upload a ZIP of a skill’s folder or a SKILL.md, or use the skills your coding agents installed.',\n skillsEnabledCount: params('{enabled} of {total} enabled'),\n searchSkills: 'Search skills',\n noMatchingSkills: 'No skills match your search.',\n skillsUpload: 'Upload skill',\n skillsUploadedSource: 'Uploaded',\n skillsProjectSource: 'Next to this document',\n skillsTrustFolder: 'Trust folder',\n skillsStopTrusting: 'Stop trusting',\n skillsTrustTitle: 'Trust this folder?',\n skillsTrustDescription: params(\n 'Skills in {folder} give the AI chat instructions it follows. Trust a folder only if you know where its skills come from.'\n ),\n skillsFolderUntrusted: 'Trust its folder to use this skill.',\n skillsAgentsSource: 'Shared agent skills',\n skillsClaudeSource: 'Claude Code skills',\n skillsNoUploads: 'No uploaded skills yet.',\n skillsNoneInFolder: 'No skills in this folder.',\n skillsProblems: 'Some folders could not be read as skills',\n skillsUploadFailed: 'Could not upload the skill',\n skillsUploadTooLarge: 'The file is larger than 10 MB.',\n skillsUploadNoSkill: 'The archive has no SKILL.md.',\n skillsUploadSeveral: 'The archive holds more than one skill. Upload them one at a time.',\n skillsUploadUnreadable: 'Choose a ZIP archive or a SKILL.md text file.',\n skillsDelete: 'Delete skill',\n skillsDeleteDescription: params('“{name}” will be removed from Pairdraw.'),\n skillsLocation: 'Location',\n skillsFiles: 'Files',\n skillsInstructions: 'Instructions',\n skillsWarnings: 'This skill departs from the Agent Skills specification',\n skillsUse: 'Use this skill',\n skillsUseDescription: 'The AI chat lists it and loads its instructions when a request matches.',\n skillsSourceOff: 'Skills from this folder are turned off.',\n skillsNotUsed: 'Not used',\n skillsNotTrusted: 'Not trusted',\n skillsShadowed: 'A skill with the same name from a source above is used instead.',\n skillsBuiltinSource: 'Built-in',\n pickSkill: 'Pick a skill',\n skillPickerYours: 'Your skills',\n skillPickerManage: 'Manage skills…',\n skillPickerNone: 'No skills are turned on.',\n builtinSkillLandingPage: 'Design a marketing landing page, from hero to footer.',\n builtinSkillMobileApp: 'Design phone app screens and flows for iOS or Android.',\n builtinSkillWebApp: 'Design web app screens around a shared app shell.',\n builtinSkillDashboard: 'Design dashboards with KPI tiles, charts, and tables.',\n builtinSkillSlides: 'Build a 16:9 slide deck with a consistent layout.',\n builtinSkillDesignSystem: 'Create light and dark tokens and core components.',\n builtinSkillTailwindV4: 'Design for a clean Tailwind CSS v4 export.',\n builtinSkillLayout: 'Fix spacing, alignment, and auto layout.',\n builtinSkillRestyle: 'Give an existing design a new visual direction.',\n builtinSkillDarkMode: 'Add a dark mode with color variables.',\n builtinSkillDesignReview: 'Review a design and list prioritized findings.',\n skillWarningPlainFrontmatter:\n 'The frontmatter is not valid YAML, so it was read line by line. Quote values that contain “: ”.',\n skillWarningNameFromFolder: 'The frontmatter has no name, so the folder name is used.',\n skillWarningLongName: params('The name is longer than {max} characters.'),\n skillWarningNameFormat: 'The name should use only lowercase letters, digits, and single hyphens.',\n skillWarningNameMismatch: 'The name does not match the folder name.',\n skillWarningLongDescription: params('The description is longer than {max} characters.'),\n skillErrorNoFrontmatter: 'SKILL.md does not start with YAML frontmatter between --- lines.',\n skillErrorInvalidFrontmatter: params('The SKILL.md frontmatter is invalid: {detail}'),\n skillErrorNoDescription: 'The SKILL.md frontmatter has no description.',\n skillErrorNoName: 'The SKILL.md frontmatter has no name.',\n chatReferenceCitations: 'Citations',\n researchSource: 'Source',\n researchRead: 'Read'\n} as const\n\nexport const aiMessages = i18n('ai', aiMessageDefaults)\n"],"mappings":";;;AAIA,MAAa,oBAAoB;CAC/B,cAAc;CACd,cAAc;CACd,mBAAmB;CACnB,kBAAkB;CAClB,sBAAsB;CACtB,gBAAgB;CAChB,cAAc;CACd,oBAAoB;CACpB,wBAAwB;CACxB,sBACE;CACF,0BAA0B;CAC1B,yBAAyB;CACzB,aAAa,OAAO,sBAAsB;CAC1C,kBAAkB;CAClB,wBAAwB,OAAO,+BAA+B;CAC9D,qBAAqB;CACrB,mBAAmB;CACnB,eAAe;CACf,qBAAqB;CACrB,mBACE;CACF,oBAAoB,OAAO,2CAA2C;CACtE,kBAAkB;CAClB,oBAAoB;CACpB,wBAAwB;CACxB,mBAAmB;CACnB,cAAc;CACd,aAAa;CACb,WAAW;CACX,cAAc;CACd,cAAc;CACd,cAAc;CACd,aAAa;CACb,aAAa;CACb,SAAS;CACT,cAAc;CACd,qBAAqB;CACrB,YAAY;CACZ,eAAe;CACf,iBAAiB;CACjB,YAAY;CACZ,WAAW;CACX,eAAe;CACf,kBAAkB;CAClB,wBAAwB;CACxB,uBAAuB,OAAO,gEAAgE;CAC9F,cAAc;CACd,mBACE;CACF,iBAAiB;CACjB,mBAAmB;CACnB,mBAAmB;CACnB,iBAAiB;CACjB,gBAAgB,OAAO,gEAAgE;CACvF,oBAAoB,OAAO,oCAAoC;CAC/D,oBAAoB,OAAO,gCAAgC;CAC3D,kBAAkB;CAClB,cAAc;CACd,oBAAoB;CACpB,gBAAgB,O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;CACd,sBAAsB;CACtB,qBAAqB;CACrB,mBAAmB;CACnB,oBAAoB;CACpB,kBAAkB;CAClB,wBAAwB,OACtB,0HACF;CACA,uBAAuB;CACvB,oBAAoB;CACpB,oBAAoB;CACpB,iBAAiB;CACjB,oBAAoB;CACpB,gBAAgB;CAChB,oBAAoB;CACpB,sBAAsB;CACtB,qBAAqB;CACrB,qBAAqB;CACrB,wBAAwB;CACxB,cAAc;CACd,yBAAyB,OAAO,yCAAyC;CACzE,gBAAgB;CAChB,aAAa;CACb,oBAAoB;CACpB,gBAAgB;CAChB,WAAW;CACX,sBAAsB;CACtB,iBAAiB;CACjB,eAAe;CACf,kBAAkB;CAClB,gBAAgB;CAChB,qBAAqB;CACrB,WAAW;CACX,kBAAkB;CAClB,mBAAmB;CACnB,iBAAiB;CACjB,yBAAyB;CACzB,uBAAuB;CACvB,oBAAoB;CACpB,uBAAuB;CACvB,oBAAoB;CACpB,0BAA0B;CAC1B,wBAAwB;CACxB,oBAAoB;CACpB,qBAAqB;CACrB,sBAAsB;CACtB,0BAA0B;CAC1B,8BACE;CACF,4BAA4B;CAC5B,sBAAsB,OAAO,2CAA2C;CACxE,wBAAwB;CACxB,0BAA0B;CAC1B,6BAA6B,OAAO,kDAAkD;CACtF,yBAAyB;CACzB,8BAA8B,OAAO,+CAA+C;CACpF,yBAAyB;CACzB,kBAAkB;CAClB,wBAAwB;CACxB,gBAAgB;CAChB,cAAc;AAChB;AAEA,MAAa,aAAa,KAAK,MAAM,iBAAiB"}
@@ -0,0 +1,34 @@
1
+ //#region src/i18n/messages/chat-usage.d.ts
2
+ declare const chatUsageMessages: import("@nanostores/i18n").Messages<{
3
+ readonly usageLabel: "Token usage";
4
+ readonly turnTokens: import("@nanostores/i18n").TranslationFunction<[{
5
+ tokens: string | number;
6
+ } & object], string>;
7
+ readonly turnTokensCost: import("@nanostores/i18n").TranslationFunction<[{
8
+ tokens: string | number;
9
+ } & {
10
+ cost: string | number;
11
+ } & object], string>;
12
+ readonly chatTokens: import("@nanostores/i18n").TranslationFunction<[{
13
+ tokens: string | number;
14
+ } & object], string>;
15
+ readonly chatTokensCost: import("@nanostores/i18n").TranslationFunction<[{
16
+ tokens: string | number;
17
+ } & {
18
+ cost: string | number;
19
+ } & object], string>;
20
+ readonly usageInput: "Input";
21
+ readonly usageCachedInput: "Cached input";
22
+ readonly usageOutput: "Output";
23
+ readonly usageReasoning: "Reasoning";
24
+ readonly usageCost: "Estimated cost";
25
+ readonly usageTurns: import("@nanostores/i18n").TranslationFunction<[{
26
+ count: string | number;
27
+ } & object], string>;
28
+ readonly usageHint: "Counted from the tokens each reply reported. Cost is an estimate at the model’s list price.";
29
+ readonly usageNoCost: "No price is listed for this model, so only tokens are shown.";
30
+ readonly usageAgentHint: "Counted from the tokens the agent reported. Coding agents carry no dollar price.";
31
+ }>;
32
+ //#endregion
33
+ export { chatUsageMessages };
34
+ //# sourceMappingURL=chat-usage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-usage.d.ts","names":[],"sources":["../../../src/i18n/messages/chat-usage.ts"],"mappings":";cAuBa,8CAAiB"}
@@ -0,0 +1,25 @@
1
+ import { i18n } from "../create.js";
2
+ import { params } from "@nanostores/i18n";
3
+ //#region src/i18n/messages/chat-usage.ts
4
+ /** The chat's token and cost meter: what each reply spent and the conversation's running total. */
5
+ const chatUsageMessageDefaults = {
6
+ usageLabel: "Token usage",
7
+ turnTokens: params("{tokens} tokens"),
8
+ turnTokensCost: params("{tokens} tokens · {cost}"),
9
+ chatTokens: params("{tokens} tokens this chat"),
10
+ chatTokensCost: params("{tokens} tokens · {cost} this chat"),
11
+ usageInput: "Input",
12
+ usageCachedInput: "Cached input",
13
+ usageOutput: "Output",
14
+ usageReasoning: "Reasoning",
15
+ usageCost: "Estimated cost",
16
+ usageTurns: params("{count} replies"),
17
+ usageHint: "Counted from the tokens each reply reported. Cost is an estimate at the model’s list price.",
18
+ usageNoCost: "No price is listed for this model, so only tokens are shown.",
19
+ usageAgentHint: "Counted from the tokens the agent reported. Coding agents carry no dollar price."
20
+ };
21
+ const chatUsageMessages = i18n("chatUsage", chatUsageMessageDefaults);
22
+ //#endregion
23
+ export { chatUsageMessageDefaults, chatUsageMessages };
24
+
25
+ //# sourceMappingURL=chat-usage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-usage.js","names":[],"sources":["../../../src/i18n/messages/chat-usage.ts"],"sourcesContent":["import { params } from '@nanostores/i18n'\n\nimport { i18n } from '#vue/i18n/create'\n\n/** The chat's token and cost meter: what each reply spent and the conversation's running total. */\nexport const chatUsageMessageDefaults = {\n usageLabel: 'Token usage',\n turnTokens: params('{tokens} tokens'),\n turnTokensCost: params('{tokens} tokens · {cost}'),\n chatTokens: params('{tokens} tokens this chat'),\n chatTokensCost: params('{tokens} tokens · {cost} this chat'),\n usageInput: 'Input',\n usageCachedInput: 'Cached input',\n usageOutput: 'Output',\n usageReasoning: 'Reasoning',\n usageCost: 'Estimated cost',\n usageTurns: params('{count} replies'),\n usageHint:\n 'Counted from the tokens each reply reported. Cost is an estimate at the model’s list price.',\n usageNoCost: 'No price is listed for this model, so only tokens are shown.',\n usageAgentHint: 'Counted from the tokens the agent reported. Coding agents carry no dollar price.'\n} as const\n\nexport const chatUsageMessages = i18n('chatUsage', chatUsageMessageDefaults)\n"],"mappings":";;;;AAKA,MAAa,2BAA2B;CACtC,YAAY;CACZ,YAAY,OAAO,iBAAiB;CACpC,gBAAgB,OAAO,0BAA0B;CACjD,YAAY,OAAO,2BAA2B;CAC9C,gBAAgB,OAAO,oCAAoC;CAC3D,YAAY;CACZ,kBAAkB;CAClB,aAAa;CACb,gBAAgB;CAChB,WAAW;CACX,YAAY,OAAO,iBAAiB;CACpC,WACE;CACF,aAAa;CACb,gBAAgB;AAClB;AAEA,MAAa,oBAAoB,KAAK,aAAa,wBAAwB"}
@@ -5,6 +5,7 @@ declare const commandMessages: import("@nanostores/i18n").Messages<{
5
5
  readonly selectAll: "Select all";
6
6
  readonly selectInverse: "Select inverse";
7
7
  readonly duplicate: "Duplicate";
8
+ readonly duplicateAsVariation: "Duplicate as variation";
8
9
  readonly delete: "Delete";
9
10
  readonly group: "Group";
10
11
  readonly groupSelection: "Group selection";
@@ -19,6 +20,7 @@ declare const commandMessages: import("@nanostores/i18n").Messages<{
19
20
  readonly detachIcon: "Detach icon";
20
21
  readonly goToMainComponent: "Go to main component";
21
22
  readonly resetAllChanges: "Reset all changes";
23
+ readonly pushChangesToMainComponent: "Push changes to main component";
22
24
  readonly addAutoLayout: "Add auto layout";
23
25
  readonly useAsMask: "Use as mask";
24
26
  readonly removeMask: "Remove mask";
@@ -1 +1 @@
1
- {"version":3,"file":"commands.d.ts","names":[],"sources":["../../../src/i18n/messages/commands.ts"],"mappings":";cA2Ga,4CAAe"}
1
+ {"version":3,"file":"commands.d.ts","names":[],"sources":["../../../src/i18n/messages/commands.ts"],"mappings":";cA6Ga,4CAAe"}
@@ -6,6 +6,7 @@ const commandMessageDefaults = {
6
6
  selectAll: "Select all",
7
7
  selectInverse: "Select inverse",
8
8
  duplicate: "Duplicate",
9
+ duplicateAsVariation: "Duplicate as variation",
9
10
  delete: "Delete",
10
11
  group: "Group",
11
12
  groupSelection: "Group selection",
@@ -20,6 +21,7 @@ const commandMessageDefaults = {
20
21
  detachIcon: "Detach icon",
21
22
  goToMainComponent: "Go to main component",
22
23
  resetAllChanges: "Reset all changes",
24
+ pushChangesToMainComponent: "Push changes to main component",
23
25
  addAutoLayout: "Add auto layout",
24
26
  useAsMask: "Use as mask",
25
27
  removeMask: "Remove mask",
@@ -1 +1 @@
1
- {"version":3,"file":"commands.js","names":[],"sources":["../../../src/i18n/messages/commands.ts"],"sourcesContent":["import { i18n } from '#vue/i18n/create'\n\nexport const commandMessageDefaults = {\n undo: 'Undo',\n redo: 'Redo',\n selectAll: 'Select all',\n selectInverse: 'Select inverse',\n duplicate: 'Duplicate',\n delete: 'Delete',\n group: 'Group',\n groupSelection: 'Group selection',\n frameSelection: 'Frame selection',\n ungroup: 'Ungroup',\n createComponent: 'Create component',\n convertToFrame: 'Convert to frame',\n createSlot: 'Create slot',\n createComponentSet: 'Create component set',\n createInstance: 'Create instance',\n detachInstance: 'Detach instance',\n detachIcon: 'Detach icon',\n goToMainComponent: 'Go to main component',\n resetAllChanges: 'Reset all changes',\n addAutoLayout: 'Add auto layout',\n useAsMask: 'Use as mask',\n removeMask: 'Remove mask',\n bringForward: 'Bring forward',\n bringToFront: 'Bring to front',\n sendBackward: 'Send backward',\n sendToBack: 'Send to back',\n showHide: 'Show/Hide',\n lockUnlock: 'Lock/Unlock',\n unionSelection: 'Union selection',\n subtractSelection: 'Subtract selection',\n intersectSelection: 'Intersect selection',\n excludeSelection: 'Exclude selection',\n flattenSelection: 'Flatten',\n outlineText: 'Outline text',\n outlineStroke: 'Outline stroke',\n cropImage: 'Crop image',\n booleanOperations: 'Boolean operations',\n flipHorizontal: 'Flip horizontal',\n flipVertical: 'Flip vertical',\n distributeHorizontal: 'Distribute horizontal spacing',\n distributeVertical: 'Distribute vertical spacing',\n tidyUp: 'Tidy up',\n packHorizontal: 'Pack horizontal',\n packVertical: 'Pack vertical',\n arrangeSpread: 'Spread apart',\n arrangeCompact: 'Spread and compact',\n arrangePack: 'Pack into rows',\n arrangeFlowDown: 'Flow, top to bottom',\n arrangeFlowRight: 'Flow, left to right',\n arrangeTreeDown: 'Tree, top to bottom',\n arrangeTreeRight: 'Tree, left to right',\n arrangeRadial: 'Radial map',\n arrangeNetwork: 'Network',\n moveToPage: 'Move to page',\n setOpacity: 'Set opacity',\n zoomTo50: 'Zoom to 50%',\n zoomTo100: 'Zoom to 100%',\n zoomTo200: 'Zoom to 200%',\n zoomToFit: 'Zoom to fit',\n zoomToSelection: 'Zoom to selection',\n selectChildren: 'Select children',\n selectParent: 'Select parent',\n selectNextSibling: 'Select next sibling',\n selectPreviousSibling: 'Select previous sibling',\n zoomToNextFrame: 'Zoom to next frame',\n zoomToPreviousFrame: 'Zoom to previous frame',\n nextPage: 'Next page',\n previousPage: 'Previous page',\n paletteSearchPlaceholder: 'Type a command or search…',\n paletteAriaLabel: 'Command palette',\n paletteSearchAriaLabel: 'Search commands',\n paletteDescription: 'Search and run Pairdraw commands.',\n paletteNoCommands: 'No commands found.',\n paletteBack: 'Back',\n findLayersTitle: 'Find layers',\n findLayersDescription: 'Search the layers on this page by name and go to one.',\n findLayersPlaceholder: 'Find a layer on this page…',\n findLayersEmpty: 'No layers found.',\n shortcutSheet: 'Keyboard shortcuts',\n shortcutSheetDescription: 'Keys that work while the canvas has focus.',\n shortcutSheetSearch: 'Search shortcuts',\n shortcutSheetEmpty: 'No shortcuts found.',\n shortcutSheetTools: 'Tools',\n shortcutSheetCanvas: 'Canvas and selection',\n toggleAIChat: 'Show or hide AI chat',\n nudgeSelection: 'Nudge selection',\n nudgeSelectionFurther: 'Nudge selection further',\n panWhileHeld: 'Pan while held',\n shortcutSheetVectorEdit: 'Vector edit mode',\n vectorCutTool: 'Cut tool',\n vectorJoinEndpoints: 'Join end points',\n vectorNudgePoints: 'Nudge points',\n vectorNudgePointsFurther: 'Nudge points further',\n vectorDuplicatePoints: 'Duplicate points',\n vectorStraightenSegment: 'Straighten segment',\n vectorSmoothCorner: 'Switch point between smooth and corner',\n gestureDrag: 'drag',\n gestureDoubleClickSegment: 'double-click a segment',\n gestureDoubleClickPoint: 'double-click a point',\n vectorBendSegment: 'Bend segment',\n vectorBendSegmentKeepHandles: 'Bend segment, keeping neighboring handles',\n gestureDragSegment: 'drag a segment'\n} as const\n\nexport const commandMessages = i18n('commands', commandMessageDefaults)\n"],"mappings":";;AAEA,MAAa,yBAAyB;CACpC,MAAM;CACN,MAAM;CACN,WAAW;CACX,eAAe;CACf,WAAW;CACX,QAAQ;CACR,OAAO;CACP,gBAAgB;CAChB,gBAAgB;CAChB,SAAS;CACT,iBAAiB;CACjB,gBAAgB;CAChB,YAAY;CACZ,oBAAoB;CACpB,gBAAgB;CAChB,gBAAgB;CAChB,YAAY;CACZ,mBAAmB;CACnB,iBAAiB;CACjB,eAAe;CACf,WAAW;CACX,YAAY;CACZ,cAAc;CACd,cAAc;CACd,cAAc;CACd,YAAY;CACZ,UAAU;CACV,YAAY;CACZ,gBAAgB;CAChB,mBAAmB;CACnB,oBAAoB;CACpB,kBAAkB;CAClB,kBAAkB;CAClB,aAAa;CACb,eAAe;CACf,WAAW;CACX,mBAAmB;CACnB,gBAAgB;CAChB,cAAc;CACd,sBAAsB;CACtB,oBAAoB;CACpB,QAAQ;CACR,gBAAgB;CAChB,cAAc;CACd,eAAe;CACf,gBAAgB;CAChB,aAAa;CACb,iBAAiB;CACjB,kBAAkB;CAClB,iBAAiB;CACjB,kBAAkB;CAClB,eAAe;CACf,gBAAgB;CAChB,YAAY;CACZ,YAAY;CACZ,UAAU;CACV,WAAW;CACX,WAAW;CACX,WAAW;CACX,iBAAiB;CACjB,gBAAgB;CAChB,cAAc;CACd,mBAAmB;CACnB,uBAAuB;CACvB,iBAAiB;CACjB,qBAAqB;CACrB,UAAU;CACV,cAAc;CACd,0BAA0B;CAC1B,kBAAkB;CAClB,wBAAwB;CACxB,oBAAoB;CACpB,mBAAmB;CACnB,aAAa;CACb,iBAAiB;CACjB,uBAAuB;CACvB,uBAAuB;CACvB,iBAAiB;CACjB,eAAe;CACf,0BAA0B;CAC1B,qBAAqB;CACrB,oBAAoB;CACpB,oBAAoB;CACpB,qBAAqB;CACrB,cAAc;CACd,gBAAgB;CAChB,uBAAuB;CACvB,cAAc;CACd,yBAAyB;CACzB,eAAe;CACf,qBAAqB;CACrB,mBAAmB;CACnB,0BAA0B;CAC1B,uBAAuB;CACvB,yBAAyB;CACzB,oBAAoB;CACpB,aAAa;CACb,2BAA2B;CAC3B,yBAAyB;CACzB,mBAAmB;CACnB,8BAA8B;CAC9B,oBAAoB;AACtB;AAEA,MAAa,kBAAkB,KAAK,YAAY,sBAAsB"}
1
+ {"version":3,"file":"commands.js","names":[],"sources":["../../../src/i18n/messages/commands.ts"],"sourcesContent":["import { i18n } from '#vue/i18n/create'\n\nexport const commandMessageDefaults = {\n undo: 'Undo',\n redo: 'Redo',\n selectAll: 'Select all',\n selectInverse: 'Select inverse',\n duplicate: 'Duplicate',\n duplicateAsVariation: 'Duplicate as variation',\n delete: 'Delete',\n group: 'Group',\n groupSelection: 'Group selection',\n frameSelection: 'Frame selection',\n ungroup: 'Ungroup',\n createComponent: 'Create component',\n convertToFrame: 'Convert to frame',\n createSlot: 'Create slot',\n createComponentSet: 'Create component set',\n createInstance: 'Create instance',\n detachInstance: 'Detach instance',\n detachIcon: 'Detach icon',\n goToMainComponent: 'Go to main component',\n resetAllChanges: 'Reset all changes',\n pushChangesToMainComponent: 'Push changes to main component',\n addAutoLayout: 'Add auto layout',\n useAsMask: 'Use as mask',\n removeMask: 'Remove mask',\n bringForward: 'Bring forward',\n bringToFront: 'Bring to front',\n sendBackward: 'Send backward',\n sendToBack: 'Send to back',\n showHide: 'Show/Hide',\n lockUnlock: 'Lock/Unlock',\n unionSelection: 'Union selection',\n subtractSelection: 'Subtract selection',\n intersectSelection: 'Intersect selection',\n excludeSelection: 'Exclude selection',\n flattenSelection: 'Flatten',\n outlineText: 'Outline text',\n outlineStroke: 'Outline stroke',\n cropImage: 'Crop image',\n booleanOperations: 'Boolean operations',\n flipHorizontal: 'Flip horizontal',\n flipVertical: 'Flip vertical',\n distributeHorizontal: 'Distribute horizontal spacing',\n distributeVertical: 'Distribute vertical spacing',\n tidyUp: 'Tidy up',\n packHorizontal: 'Pack horizontal',\n packVertical: 'Pack vertical',\n arrangeSpread: 'Spread apart',\n arrangeCompact: 'Spread and compact',\n arrangePack: 'Pack into rows',\n arrangeFlowDown: 'Flow, top to bottom',\n arrangeFlowRight: 'Flow, left to right',\n arrangeTreeDown: 'Tree, top to bottom',\n arrangeTreeRight: 'Tree, left to right',\n arrangeRadial: 'Radial map',\n arrangeNetwork: 'Network',\n moveToPage: 'Move to page',\n setOpacity: 'Set opacity',\n zoomTo50: 'Zoom to 50%',\n zoomTo100: 'Zoom to 100%',\n zoomTo200: 'Zoom to 200%',\n zoomToFit: 'Zoom to fit',\n zoomToSelection: 'Zoom to selection',\n selectChildren: 'Select children',\n selectParent: 'Select parent',\n selectNextSibling: 'Select next sibling',\n selectPreviousSibling: 'Select previous sibling',\n zoomToNextFrame: 'Zoom to next frame',\n zoomToPreviousFrame: 'Zoom to previous frame',\n nextPage: 'Next page',\n previousPage: 'Previous page',\n paletteSearchPlaceholder: 'Type a command or search…',\n paletteAriaLabel: 'Command palette',\n paletteSearchAriaLabel: 'Search commands',\n paletteDescription: 'Search and run Pairdraw commands.',\n paletteNoCommands: 'No commands found.',\n paletteBack: 'Back',\n findLayersTitle: 'Find layers',\n findLayersDescription: 'Search the layers on this page by name and go to one.',\n findLayersPlaceholder: 'Find a layer on this page…',\n findLayersEmpty: 'No layers found.',\n shortcutSheet: 'Keyboard shortcuts',\n shortcutSheetDescription: 'Keys that work while the canvas has focus.',\n shortcutSheetSearch: 'Search shortcuts',\n shortcutSheetEmpty: 'No shortcuts found.',\n shortcutSheetTools: 'Tools',\n shortcutSheetCanvas: 'Canvas and selection',\n toggleAIChat: 'Show or hide AI chat',\n nudgeSelection: 'Nudge selection',\n nudgeSelectionFurther: 'Nudge selection further',\n panWhileHeld: 'Pan while held',\n shortcutSheetVectorEdit: 'Vector edit mode',\n vectorCutTool: 'Cut tool',\n vectorJoinEndpoints: 'Join end points',\n vectorNudgePoints: 'Nudge points',\n vectorNudgePointsFurther: 'Nudge points further',\n vectorDuplicatePoints: 'Duplicate points',\n vectorStraightenSegment: 'Straighten segment',\n vectorSmoothCorner: 'Switch point between smooth and corner',\n gestureDrag: 'drag',\n gestureDoubleClickSegment: 'double-click a segment',\n gestureDoubleClickPoint: 'double-click a point',\n vectorBendSegment: 'Bend segment',\n vectorBendSegmentKeepHandles: 'Bend segment, keeping neighboring handles',\n gestureDragSegment: 'drag a segment'\n} as const\n\nexport const commandMessages = i18n('commands', commandMessageDefaults)\n"],"mappings":";;AAEA,MAAa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nB,0BAA0B;CAC1B,uBAAuB;CACvB,yBAAyB;CACzB,oBAAoB;CACpB,aAAa;CACb,2BAA2B;CAC3B,yBAAyB;CACzB,mBAAmB;CACnB,8BAA8B;CAC9B,oBAAoB;AACtB;AAEA,MAAa,kBAAkB,KAAK,YAAY,sBAAsB"}
@@ -73,6 +73,8 @@ declare const designCheckMessages: import("@nanostores/i18n").Messages<{
73
73
  readonly ruleConsistentRadiusHelp: "Corner radius should come from the radius scale or a variable.";
74
74
  readonly ruleNoHardcodedColors: "Unbound color";
75
75
  readonly ruleNoHardcodedColorsHelp: "This color matches a color variable. Bind it so theme and palette changes reach this layer.";
76
+ readonly ruleNoUnboundTokenValues: "Unbound token value";
77
+ readonly ruleNoUnboundTokenValuesHelp: "This radius, spacing, or font size equals a token. Bind it so changes to the token reach this layer.";
76
78
  readonly detailStrokeColor: import("@nanostores/i18n").TranslationFunction<[{
77
79
  variable: string | number;
78
80
  } & object], string>;
@@ -120,6 +122,16 @@ declare const designCheckMessages: import("@nanostores/i18n").Messages<{
120
122
  readonly ruleNoMixedStylesHelp: "Several styles in one text layer are easy to break when editing.";
121
123
  readonly ruleNoDetachedInstances: "Looks like a component";
122
124
  readonly ruleNoDetachedInstancesHelp: "This frame looks like a reusable element. Use a component instance.";
125
+ readonly ruleDesignMemoryColors: "Color outside the design memory";
126
+ readonly ruleDesignMemoryColorsHelp: "Use a color the design memory allows, or allow this one.";
127
+ readonly ruleDesignMemoryFonts: "Font outside the design memory";
128
+ readonly ruleDesignMemoryFontsHelp: "Use a font the design memory allows, or allow this one.";
129
+ readonly ruleDesignMemoryFontSizes: "Font size outside the design memory";
130
+ readonly ruleDesignMemoryFontSizesHelp: "Use a font size from the design memory, or allow this one.";
131
+ readonly ruleDesignMemorySpacing: "Spacing outside the design memory";
132
+ readonly ruleDesignMemorySpacingHelp: "Use a spacing step from the design memory, or allow this one.";
133
+ readonly ruleDesignMemoryRadius: "Radius outside the design memory";
134
+ readonly ruleDesignMemoryRadiusHelp: "Use a corner radius from the design memory, or allow this one.";
123
135
  }>;
124
136
  //#endregion
125
137
  export { designCheckMessages };
@@ -1 +1 @@
1
- {"version":3,"file":"design-check.d.ts","names":[],"sources":["../../../src/i18n/messages/design-check.ts"],"mappings":";cAgGa,gDAAmB"}
1
+ {"version":3,"file":"design-check.d.ts","names":[],"sources":["../../../src/i18n/messages/design-check.ts"],"mappings":";cA8Ga,gDAAmB"}
@@ -51,6 +51,8 @@ const designCheckMessageDefaults = {
51
51
  ruleConsistentRadiusHelp: "Corner radius should come from the radius scale or a variable.",
52
52
  ruleNoHardcodedColors: "Unbound color",
53
53
  ruleNoHardcodedColorsHelp: "This color matches a color variable. Bind it so theme and palette changes reach this layer.",
54
+ ruleNoUnboundTokenValues: "Unbound token value",
55
+ ruleNoUnboundTokenValuesHelp: "This radius, spacing, or font size equals a token. Bind it so changes to the token reach this layer.",
54
56
  detailStrokeColor: params("Stroke: {variable}"),
55
57
  bindVariable: params("Bind to {variable}"),
56
58
  bindAll: params("Bind all {count}"),
@@ -83,7 +85,17 @@ const designCheckMessageDefaults = {
83
85
  ruleNoMixedStyles: "Mixed text styles",
84
86
  ruleNoMixedStylesHelp: "Several styles in one text layer are easy to break when editing.",
85
87
  ruleNoDetachedInstances: "Looks like a component",
86
- ruleNoDetachedInstancesHelp: "This frame looks like a reusable element. Use a component instance."
88
+ ruleNoDetachedInstancesHelp: "This frame looks like a reusable element. Use a component instance.",
89
+ ruleDesignMemoryColors: "Color outside the design memory",
90
+ ruleDesignMemoryColorsHelp: "Use a color the design memory allows, or allow this one.",
91
+ ruleDesignMemoryFonts: "Font outside the design memory",
92
+ ruleDesignMemoryFontsHelp: "Use a font the design memory allows, or allow this one.",
93
+ ruleDesignMemoryFontSizes: "Font size outside the design memory",
94
+ ruleDesignMemoryFontSizesHelp: "Use a font size from the design memory, or allow this one.",
95
+ ruleDesignMemorySpacing: "Spacing outside the design memory",
96
+ ruleDesignMemorySpacingHelp: "Use a spacing step from the design memory, or allow this one.",
97
+ ruleDesignMemoryRadius: "Radius outside the design memory",
98
+ ruleDesignMemoryRadiusHelp: "Use a corner radius from the design memory, or allow this one."
87
99
  };
88
100
  const designCheckMessages = i18n("designCheck", designCheckMessageDefaults);
89
101
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"design-check.js","names":[],"sources":["../../../src/i18n/messages/design-check.ts"],"sourcesContent":["import { params } from '@nanostores/i18n'\n\nimport { i18n } from '#vue/i18n/create'\n\nexport const designCheckMessageDefaults = {\n tab: 'Lint',\n tabCount: params('errors and warnings: {count}'),\n scope: 'Scope',\n scopePage: 'Page',\n scopeSelection: 'Selection',\n scopeDocument: 'Document',\n errors: 'Errors',\n warnings: 'Warnings',\n suggestions: 'Suggestions',\n filterBySeverity: params('Show {severity}'),\n filterSeverities: 'Filter by severity',\n rules: 'Rules',\n presetRecommended: 'Recommended',\n presetStrict: 'Strict',\n presetAccessibility: 'Accessibility',\n ruleActions: 'Rule actions',\n turnOffRule: 'Turn off rule',\n turnOnRules: params('Turn on {count} turned-off rules'),\n checking: 'Checking…',\n emptyPage: 'No issues on this page',\n emptySelection: 'No issues in the selection',\n emptyDocument: 'No issues in this document',\n documentUnchecked: params('Pages not checked yet: {count}'),\n onPage: params('On {page}'),\n emptyDescription: params('Checked with {preset} rules.'),\n noSelection: 'Select layers to check them',\n noSelectionDescription: 'Issues inside the selected layers appear here.',\n noFilteredIssues: 'No issues match the filters',\n clearFilters: 'Show all issues',\n showMore: params('Show {count} more'),\n hiddenLayer: 'Hidden',\n missingLayer: 'Deleted layer',\n ruleColorContrast: 'Low text contrast',\n ruleColorContrastHelp:\n 'Text needs a contrast ratio of at least 4.5:1 with its background to meet WCAG AA.',\n ruleTouchTargetSize: 'Small touch target',\n ruleTouchTargetSizeHelp:\n 'Buttons, links and other controls need room to tap: at least 24 × 24 for WCAG AA, 44 × 44 for AAA.',\n ruleMinTextSize: 'Small text',\n ruleMinTextSizeHelp: 'Text smaller than 12 px is hard to read on most screens.',\n ruleConsistentSpacing: 'Off-scale spacing',\n ruleConsistentSpacingHelp:\n 'Auto layout gaps and padding should come from the spacing scale or a multiple of 4.',\n detailSpacingGap: params('Gap {value}'),\n detailSpacingTop: params('Top padding {value}'),\n detailSpacingRight: params('Right padding {value}'),\n detailSpacingBottom: params('Bottom padding {value}'),\n detailSpacingLeft: params('Left padding {value}'),\n ruleConsistentRadius: 'Off-scale corner radius',\n ruleConsistentRadiusHelp: 'Corner radius should come from the radius scale or a variable.',\n ruleNoHardcodedColors: 'Unbound color',\n ruleNoHardcodedColorsHelp:\n 'This color matches a color variable. Bind it so theme and palette changes reach this layer.',\n detailStrokeColor: params('Stroke: {variable}'),\n bindVariable: params('Bind to {variable}'),\n bindAll: params('Bind all {count}'),\n fixRoundPixels: 'Round to whole pixels',\n fixUseValue: params('Change to {value}'),\n fixFullRadius: 'Use full radius',\n fixConvertToFrame: 'Convert to frame',\n fixDeleteLayer: 'Delete layer',\n fixAll: params('Fix all {count}'),\n ruleNoDefaultNames: 'Default layer name',\n ruleNoDefaultNamesHelp: 'Descriptive names make layers easier to find, hand off and reuse.',\n rulePreferAutoLayout: 'No auto layout',\n rulePreferAutoLayoutHelp: 'Frames that stack several layers resize better with auto layout.',\n detailChildren: params('{children} layers'),\n ruleTextStyleRequired: 'Unbound text style',\n ruleTextStyleRequiredHelp:\n 'Bind font size or family to a variable to keep typography consistent.',\n ruleNoHiddenLayers: 'Hidden layer',\n ruleNoHiddenLayersHelp:\n 'Hidden layers are often leftovers. Delete them unless a state needs them.',\n ruleNoDeeplyNested: 'Deep nesting',\n ruleNoDeeplyNestedHelp:\n 'Deeply nested layers are hard to edit. Flatten them or extract a component.',\n detailDepth: params('{depth} levels'),\n ruleNoEmptyFrames: 'Empty frame',\n ruleNoEmptyFramesHelp: 'Frames without content or fill are usually leftovers.',\n rulePixelPerfect: 'Subpixel geometry',\n rulePixelPerfectHelp: 'Whole-pixel positions and sizes render crisply.',\n ruleNoGroups: 'Group',\n ruleNoGroupsHelp: 'Frames support auto layout and constraints; groups do not.',\n ruleEffectStyleRequired: 'Unshared effect',\n ruleEffectStyleRequiredHelp: 'Reuse shadows and blurs through shared presets or variables.',\n ruleNoMixedStyles: 'Mixed text styles',\n ruleNoMixedStylesHelp: 'Several styles in one text layer are easy to break when editing.',\n ruleNoDetachedInstances: 'Looks like a component',\n ruleNoDetachedInstancesHelp: 'This frame looks like a reusable element. Use a component instance.'\n} as const\n\nexport const designCheckMessages = i18n('designCheck', designCheckMessageDefaults)\n"],"mappings":";;;AAIA,MAAa,6BAA6B;CACxC,KAAK;CACL,UAAU,OAAO,8BAA8B;CAC/C,OAAO;CACP,WAAW;CACX,gBAAgB;CAChB,eAAe;CACf,QAAQ;CACR,UAAU;CACV,aAAa;CACb,kBAAkB,OAAO,iBAAiB;CAC1C,kBAAkB;CAClB,OAAO;CACP,mBAAmB;CACnB,cAAc;CACd,qBAAqB;CACrB,aAAa;CACb,aAAa;CACb,aAAa,OAAO,kCAAkC;CACtD,UAAU;CACV,WAAW;CACX,gBAAgB;CAChB,eAAe;CACf,mBAAmB,OAAO,gCAAgC;CAC1D,QAAQ,OAAO,WAAW;CAC1B,kBAAkB,OAAO,8BAA8B;CACvD,aAAa;CACb,wBAAwB;CACxB,kBAAkB;CAClB,cAAc;CACd,UAAU,OAAO,mBAAmB;CACpC,aAAa;CACb,cAAc;CACd,mBAAmB;CACnB,uBACE;CACF,qBAAqB;CACrB,yBACE;CACF,iBAAiB;CACjB,qBAAqB;CACrB,uBAAuB;CACvB,2BACE;CACF,kBAAkB,OAAO,aAAa;CACtC,kBAAkB,OAAO,qBAAqB;CAC9C,oBAAoB,OAAO,uBAAuB;CAClD,qBAAqB,OAAO,wBAAwB;CACpD,mBAAmB,OAAO,sBAAsB;CAChD,sBAAsB;CACtB,0BAA0B;CAC1B,uBAAuB;CACvB,2BACE;CACF,mBAAmB,OAAO,oBAAoB;CAC9C,cAAc,OAAO,oBAAoB;CACzC,SAAS,OAAO,kBAAkB;CAClC,gBAAgB;CAChB,aAAa,OAAO,mBAAmB;CACvC,eAAe;CACf,mBAAmB;CACnB,gBAAgB;CAChB,QAAQ,OAAO,iBAAiB;CAChC,oBAAoB;CACpB,wBAAwB;CACxB,sBAAsB;CACtB,0BAA0B;CAC1B,gBAAgB,OAAO,mBAAmB;CAC1C,uBAAuB;CACvB,2BACE;CACF,oBAAoB;CACpB,wBACE;CACF,oBAAoB;CACpB,wBACE;CACF,aAAa,OAAO,gBAAgB;CACpC,mBAAmB;CACnB,uBAAuB;CACvB,kBAAkB;CAClB,sBAAsB;CACtB,cAAc;CACd,kBAAkB;CAClB,yBAAyB;CACzB,6BAA6B;CAC7B,mBAAmB;CACnB,uBAAuB;CACvB,yBAAyB;CACzB,6BAA6B;AAC/B;AAEA,MAAa,sBAAsB,KAAK,eAAe,0BAA0B"}
1
+ {"version":3,"file":"design-check.js","names":[],"sources":["../../../src/i18n/messages/design-check.ts"],"sourcesContent":["import { params } from '@nanostores/i18n'\n\nimport { i18n } from '#vue/i18n/create'\n\nexport const designCheckMessageDefaults = {\n tab: 'Lint',\n tabCount: params('errors and warnings: {count}'),\n scope: 'Scope',\n scopePage: 'Page',\n scopeSelection: 'Selection',\n scopeDocument: 'Document',\n errors: 'Errors',\n warnings: 'Warnings',\n suggestions: 'Suggestions',\n filterBySeverity: params('Show {severity}'),\n filterSeverities: 'Filter by severity',\n rules: 'Rules',\n presetRecommended: 'Recommended',\n presetStrict: 'Strict',\n presetAccessibility: 'Accessibility',\n ruleActions: 'Rule actions',\n turnOffRule: 'Turn off rule',\n turnOnRules: params('Turn on {count} turned-off rules'),\n checking: 'Checking…',\n emptyPage: 'No issues on this page',\n emptySelection: 'No issues in the selection',\n emptyDocument: 'No issues in this document',\n documentUnchecked: params('Pages not checked yet: {count}'),\n onPage: params('On {page}'),\n emptyDescription: params('Checked with {preset} rules.'),\n noSelection: 'Select layers to check them',\n noSelectionDescription: 'Issues inside the selected layers appear here.',\n noFilteredIssues: 'No issues match the filters',\n clearFilters: 'Show all issues',\n showMore: params('Show {count} more'),\n hiddenLayer: 'Hidden',\n missingLayer: 'Deleted layer',\n ruleColorContrast: 'Low text contrast',\n ruleColorContrastHelp:\n 'Text needs a contrast ratio of at least 4.5:1 with its background to meet WCAG AA.',\n ruleTouchTargetSize: 'Small touch target',\n ruleTouchTargetSizeHelp:\n 'Buttons, links and other controls need room to tap: at least 24 × 24 for WCAG AA, 44 × 44 for AAA.',\n ruleMinTextSize: 'Small text',\n ruleMinTextSizeHelp: 'Text smaller than 12 px is hard to read on most screens.',\n ruleConsistentSpacing: 'Off-scale spacing',\n ruleConsistentSpacingHelp:\n 'Auto layout gaps and padding should come from the spacing scale or a multiple of 4.',\n detailSpacingGap: params('Gap {value}'),\n detailSpacingTop: params('Top padding {value}'),\n detailSpacingRight: params('Right padding {value}'),\n detailSpacingBottom: params('Bottom padding {value}'),\n detailSpacingLeft: params('Left padding {value}'),\n ruleConsistentRadius: 'Off-scale corner radius',\n ruleConsistentRadiusHelp: 'Corner radius should come from the radius scale or a variable.',\n ruleNoHardcodedColors: 'Unbound color',\n ruleNoHardcodedColorsHelp:\n 'This color matches a color variable. Bind it so theme and palette changes reach this layer.',\n ruleNoUnboundTokenValues: 'Unbound token value',\n ruleNoUnboundTokenValuesHelp:\n 'This radius, spacing, or font size equals a token. Bind it so changes to the token reach this layer.',\n detailStrokeColor: params('Stroke: {variable}'),\n bindVariable: params('Bind to {variable}'),\n bindAll: params('Bind all {count}'),\n fixRoundPixels: 'Round to whole pixels',\n fixUseValue: params('Change to {value}'),\n fixFullRadius: 'Use full radius',\n fixConvertToFrame: 'Convert to frame',\n fixDeleteLayer: 'Delete layer',\n fixAll: params('Fix all {count}'),\n ruleNoDefaultNames: 'Default layer name',\n ruleNoDefaultNamesHelp: 'Descriptive names make layers easier to find, hand off and reuse.',\n rulePreferAutoLayout: 'No auto layout',\n rulePreferAutoLayoutHelp: 'Frames that stack several layers resize better with auto layout.',\n detailChildren: params('{children} layers'),\n ruleTextStyleRequired: 'Unbound text style',\n ruleTextStyleRequiredHelp:\n 'Bind font size or family to a variable to keep typography consistent.',\n ruleNoHiddenLayers: 'Hidden layer',\n ruleNoHiddenLayersHelp:\n 'Hidden layers are often leftovers. Delete them unless a state needs them.',\n ruleNoDeeplyNested: 'Deep nesting',\n ruleNoDeeplyNestedHelp:\n 'Deeply nested layers are hard to edit. Flatten them or extract a component.',\n detailDepth: params('{depth} levels'),\n ruleNoEmptyFrames: 'Empty frame',\n ruleNoEmptyFramesHelp: 'Frames without content or fill are usually leftovers.',\n rulePixelPerfect: 'Subpixel geometry',\n rulePixelPerfectHelp: 'Whole-pixel positions and sizes render crisply.',\n ruleNoGroups: 'Group',\n ruleNoGroupsHelp: 'Frames support auto layout and constraints; groups do not.',\n ruleEffectStyleRequired: 'Unshared effect',\n ruleEffectStyleRequiredHelp: 'Reuse shadows and blurs through shared presets or variables.',\n ruleNoMixedStyles: 'Mixed text styles',\n ruleNoMixedStylesHelp: 'Several styles in one text layer are easy to break when editing.',\n ruleNoDetachedInstances: 'Looks like a component',\n ruleNoDetachedInstancesHelp:\n 'This frame looks like a reusable element. Use a component instance.',\n ruleDesignMemoryColors: 'Color outside the design memory',\n ruleDesignMemoryColorsHelp: 'Use a color the design memory allows, or allow this one.',\n ruleDesignMemoryFonts: 'Font outside the design memory',\n ruleDesignMemoryFontsHelp: 'Use a font the design memory allows, or allow this one.',\n ruleDesignMemoryFontSizes: 'Font size outside the design memory',\n ruleDesignMemoryFontSizesHelp: 'Use a font size from the design memory, or allow this one.',\n ruleDesignMemorySpacing: 'Spacing outside the design memory',\n ruleDesignMemorySpacingHelp: 'Use a spacing step from the design memory, or allow this one.',\n ruleDesignMemoryRadius: 'Radius outside the design memory',\n ruleDesignMemoryRadiusHelp: 'Use a corner radius from the design memory, or allow this one.'\n} as const\n\nexport const designCheckMessages = i18n('designCheck', designCheckMessageDefaults)\n"],"mappings":";;;AAIA,MAAa,6BAA6B;CACxC,KAAK;CACL,UAAU,OAAO,8BAA8B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,cAAc;CACd,kBAAkB;CAClB,yBAAyB;CACzB,6BAA6B;CAC7B,mBAAmB;CACnB,uBAAuB;CACvB,yBAAyB;CACzB,6BACE;CACF,wBAAwB;CACxB,4BAA4B;CAC5B,uBAAuB;CACvB,2BAA2B;CAC3B,2BAA2B;CAC3B,+BAA+B;CAC/B,yBAAyB;CACzB,6BAA6B;CAC7B,wBAAwB;CACxB,4BAA4B;AAC9B;AAEA,MAAa,sBAAsB,KAAK,eAAe,0BAA0B"}
@@ -0,0 +1,68 @@
1
+ //#region src/i18n/messages/design-memory.d.ts
2
+ declare const designMemoryMessages: import("@nanostores/i18n").Messages<{
3
+ readonly designMemory: "Design memory";
4
+ readonly editDesignMemory: "Edit design memory…";
5
+ readonly createFromDocument: "Create from this document";
6
+ readonly emptyHint: "Colors, fonts, and spacing that agents must follow in this document.";
7
+ readonly colorCount: import("@nanostores/i18n").TranslationFunction<[number], string>;
8
+ readonly fontCount: import("@nanostores/i18n").TranslationFunction<[number], string>;
9
+ readonly sizeCount: import("@nanostores/i18n").TranslationFunction<[number], string>;
10
+ readonly decisionCount: import("@nanostores/i18n").TranslationFunction<[number], string>;
11
+ readonly exampleCount: import("@nanostores/i18n").TranslationFunction<[number], string>;
12
+ readonly rules: "Rules";
13
+ readonly decisions: "Decisions";
14
+ readonly examples: "Examples";
15
+ readonly colors: "Colors";
16
+ readonly fonts: "Fonts";
17
+ readonly fontSizes: "Font sizes";
18
+ readonly spacing: "Spacing";
19
+ readonly radius: "Corner radius";
20
+ readonly fromSystem: "Include variables and styles";
21
+ readonly fromSystemCount: import("@nanostores/i18n").TranslationFunction<[number], string>;
22
+ readonly enforcement: "When an agent uses another value";
23
+ readonly refuse: "Undo the edit";
24
+ readonly warn: "Warn";
25
+ readonly off: "Off";
26
+ readonly notChecked: "Nothing allowed yet, so this is not checked";
27
+ readonly addValue: "Add value";
28
+ readonly pickColor: "Pick a color";
29
+ readonly moreValues: import("@nanostores/i18n").TranslationFunction<[{
30
+ count: string | number;
31
+ } & object], string>;
32
+ readonly removeValue: import("@nanostores/i18n").TranslationFunction<[{
33
+ value: string | number;
34
+ } & object], string>;
35
+ readonly newDecision: "Write a decision agents should follow";
36
+ readonly addDecision: "Add decision";
37
+ readonly removeDecision: "Remove decision";
38
+ readonly byAgent: "Agent";
39
+ readonly noDecisionsYet: "No decisions yet";
40
+ readonly editDecision: "Edit decision";
41
+ readonly moveUp: "Move up";
42
+ readonly moveDown: "Move down";
43
+ readonly noDecisions: "Write down choices agents should follow, such as which color marks the main action.";
44
+ readonly noExamplesYet: "No examples yet";
45
+ readonly noExamples: "Select a frame that shows the design done right and pin it as an example.";
46
+ readonly pinExample: "Pin as example";
47
+ readonly unpinExample: "Unpin example";
48
+ readonly showExample: "Show";
49
+ readonly removeExample: "Remove example";
50
+ readonly missingExample: "No longer in the document";
51
+ readonly learn: "Learn from selection";
52
+ readonly learnHeading: "Values the selection uses";
53
+ readonly learnHint: "Values used only once start unchecked.";
54
+ readonly uses: import("@nanostores/i18n").TranslationFunction<[number], string>;
55
+ readonly addChecked: "Add checked values";
56
+ readonly nothingToLearn: "The selection uses no values the memory does not already allow.";
57
+ readonly deleteMemory: "Delete design memory";
58
+ readonly allow: import("@nanostores/i18n").TranslationFunction<[{
59
+ value: string | number;
60
+ } & object], string>;
61
+ readonly allowed: import("@nanostores/i18n").TranslationFunction<[{
62
+ value: string | number;
63
+ } & object], string>;
64
+ readonly refused: "Undone by the design memory";
65
+ }>;
66
+ //#endregion
67
+ export { designMemoryMessages };
68
+ //# sourceMappingURL=design-memory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"design-memory.d.ts","names":[],"sources":["../../../src/i18n/messages/design-memory.ts"],"mappings":";cAiEa,iDAAoB"}