@pairdraw/vue 0.21.1 → 0.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/dist/canvas/index.d.ts +2 -1
  2. package/dist/canvas/index.js +2 -1
  3. package/dist/canvas/pointer/drag-move.js +2 -2
  4. package/dist/canvas/pointer/drag-move.js.map +1 -1
  5. package/dist/canvas/surface/color-space.d.ts.map +1 -1
  6. package/dist/canvas/surface/color-space.js +3 -19
  7. package/dist/canvas/surface/color-space.js.map +1 -1
  8. package/dist/canvas/surface/kit-loader.d.ts +10 -0
  9. package/dist/canvas/surface/kit-loader.d.ts.map +1 -0
  10. package/dist/canvas/surface/kit-loader.js +11 -2
  11. package/dist/canvas/surface/kit-loader.js.map +1 -1
  12. package/dist/canvas/tools/registry.js +1 -0
  13. package/dist/canvas/tools/registry.js.map +1 -1
  14. package/dist/canvas/useCanvasInput.d.ts +420 -0
  15. package/dist/controls/appearance/use.d.ts +1 -1
  16. package/dist/controls/layout/helpers.js +28 -9
  17. package/dist/controls/layout/helpers.js.map +1 -1
  18. package/dist/controls/layout/use.d.ts +2 -0
  19. package/dist/controls/layout/use.d.ts.map +1 -1
  20. package/dist/controls/layout/use.js +3 -1
  21. package/dist/controls/layout/use.js.map +1 -1
  22. package/dist/controls/node-props/helpers.d.ts.map +1 -1
  23. package/dist/controls/node-props/helpers.js +1 -1
  24. package/dist/controls/node-props/helpers.js.map +1 -1
  25. package/dist/controls/number-variable-binding/index.d.ts +2 -2
  26. package/dist/controls/number-variable-binding/index.js +2 -2
  27. package/dist/controls/number-variable-binding/use.d.ts +7 -2
  28. package/dist/controls/number-variable-binding/use.d.ts.map +1 -1
  29. package/dist/controls/number-variable-binding/use.js +9 -1
  30. package/dist/controls/number-variable-binding/use.js.map +1 -1
  31. package/dist/controls/position/use.d.ts +1 -1
  32. package/dist/controls/typography/arrivals.js +35 -0
  33. package/dist/controls/typography/arrivals.js.map +1 -0
  34. package/dist/controls/typography/axes.d.ts.map +1 -1
  35. package/dist/controls/typography/axes.js +3 -0
  36. package/dist/controls/typography/axes.js.map +1 -1
  37. package/dist/controls/typography/faces.js +4 -15
  38. package/dist/controls/typography/faces.js.map +1 -1
  39. package/dist/controls/typography/features.d.ts.map +1 -1
  40. package/dist/controls/typography/features.js +3 -17
  41. package/dist/controls/typography/features.js.map +1 -1
  42. package/dist/editor/commands/actions.d.ts +10 -0
  43. package/dist/editor/commands/actions.d.ts.map +1 -0
  44. package/dist/editor/commands/actions.js +9 -1
  45. package/dist/editor/commands/actions.js.map +1 -1
  46. package/dist/editor/commands/index.d.ts +3 -1
  47. package/dist/editor/commands/index.js +3 -1
  48. package/dist/editor/commands/refusals.d.ts +18 -0
  49. package/dist/editor/commands/refusals.d.ts.map +1 -0
  50. package/dist/editor/commands/refusals.js +16 -0
  51. package/dist/editor/commands/refusals.js.map +1 -0
  52. package/dist/editor/commands/registry.d.ts +4 -1
  53. package/dist/editor/commands/registry.d.ts.map +1 -1
  54. package/dist/editor/commands/registry.js +2 -1
  55. package/dist/editor/commands/registry.js.map +1 -1
  56. package/dist/editor/commands/selection.js +11 -0
  57. package/dist/editor/commands/selection.js.map +1 -1
  58. package/dist/editor/commands/types.d.ts +1 -1
  59. package/dist/editor/commands/types.d.ts.map +1 -1
  60. package/dist/editor/selection-capabilities/use.d.ts +2 -0
  61. package/dist/editor/selection-capabilities/use.d.ts.map +1 -1
  62. package/dist/editor/selection-capabilities/use.js +38 -11
  63. package/dist/editor/selection-capabilities/use.js.map +1 -1
  64. package/dist/editor/selection-state/use.js +1 -5
  65. package/dist/editor/selection-state/use.js.map +1 -1
  66. package/dist/editor/tool-cursor/index.d.ts.map +1 -1
  67. package/dist/editor/tool-cursor/index.js +1 -0
  68. package/dist/editor/tool-cursor/index.js.map +1 -1
  69. package/dist/i18n/locales/de/ai.json.js +4 -11
  70. package/dist/i18n/locales/de/automation.json.js +6 -1
  71. package/dist/i18n/locales/de/commands.json.js +4 -2
  72. package/dist/i18n/locales/de/files.json.js +21 -1
  73. package/dist/i18n/locales/de/menu.json.js +2 -0
  74. package/dist/i18n/locales/de/panels.json.js +77 -2
  75. package/dist/i18n/locales/de/tools.json.js +1 -0
  76. package/dist/i18n/locales/es/ai.json.js +4 -11
  77. package/dist/i18n/locales/es/automation.json.js +6 -1
  78. package/dist/i18n/locales/es/commands.json.js +4 -2
  79. package/dist/i18n/locales/es/files.json.js +21 -1
  80. package/dist/i18n/locales/es/menu.json.js +2 -0
  81. package/dist/i18n/locales/es/panels.json.js +77 -2
  82. package/dist/i18n/locales/es/tools.json.js +1 -0
  83. package/dist/i18n/locales/fr/ai.json.js +4 -11
  84. package/dist/i18n/locales/fr/automation.json.js +6 -1
  85. package/dist/i18n/locales/fr/commands.json.js +4 -2
  86. package/dist/i18n/locales/fr/files.json.js +21 -1
  87. package/dist/i18n/locales/fr/menu.json.js +2 -0
  88. package/dist/i18n/locales/fr/panels.json.js +77 -2
  89. package/dist/i18n/locales/fr/tools.json.js +1 -0
  90. package/dist/i18n/locales/id/ai.json.js +4 -11
  91. package/dist/i18n/locales/id/automation.json.js +6 -1
  92. package/dist/i18n/locales/id/commands.json.js +4 -2
  93. package/dist/i18n/locales/id/files.json.js +21 -1
  94. package/dist/i18n/locales/id/menu.json.js +2 -0
  95. package/dist/i18n/locales/id/panels.json.js +77 -2
  96. package/dist/i18n/locales/id/tools.json.js +1 -0
  97. package/dist/i18n/locales/it/ai.json.js +4 -11
  98. package/dist/i18n/locales/it/automation.json.js +6 -1
  99. package/dist/i18n/locales/it/commands.json.js +4 -2
  100. package/dist/i18n/locales/it/files.json.js +21 -1
  101. package/dist/i18n/locales/it/menu.json.js +2 -0
  102. package/dist/i18n/locales/it/panels.json.js +77 -2
  103. package/dist/i18n/locales/it/tools.json.js +1 -0
  104. package/dist/i18n/locales/ja/ai.json.js +4 -11
  105. package/dist/i18n/locales/ja/automation.json.js +6 -1
  106. package/dist/i18n/locales/ja/commands.json.js +4 -2
  107. package/dist/i18n/locales/ja/files.json.js +21 -1
  108. package/dist/i18n/locales/ja/menu.json.js +2 -0
  109. package/dist/i18n/locales/ja/panels.json.js +77 -2
  110. package/dist/i18n/locales/ja/tools.json.js +1 -0
  111. package/dist/i18n/locales/pl/ai.json.js +4 -11
  112. package/dist/i18n/locales/pl/automation.json.js +6 -1
  113. package/dist/i18n/locales/pl/commands.json.js +4 -2
  114. package/dist/i18n/locales/pl/files.json.js +21 -1
  115. package/dist/i18n/locales/pl/menu.json.js +2 -0
  116. package/dist/i18n/locales/pl/panels.json.js +77 -2
  117. package/dist/i18n/locales/pl/tools.json.js +1 -0
  118. package/dist/i18n/locales/ru/ai.json.js +4 -11
  119. package/dist/i18n/locales/ru/automation.json.js +6 -1
  120. package/dist/i18n/locales/ru/commands.json.js +4 -2
  121. package/dist/i18n/locales/ru/files.json.js +21 -1
  122. package/dist/i18n/locales/ru/menu.json.js +2 -0
  123. package/dist/i18n/locales/ru/panels.json.js +77 -2
  124. package/dist/i18n/locales/ru/tools.json.js +1 -0
  125. package/dist/i18n/locales/zh-cn/ai.json.js +4 -11
  126. package/dist/i18n/locales/zh-cn/automation.json.js +6 -1
  127. package/dist/i18n/locales/zh-cn/commands.json.js +4 -2
  128. package/dist/i18n/locales/zh-cn/files.json.js +21 -1
  129. package/dist/i18n/locales/zh-cn/menu.json.js +2 -0
  130. package/dist/i18n/locales/zh-cn/panels.json.js +77 -2
  131. package/dist/i18n/locales/zh-cn/tools.json.js +1 -0
  132. package/dist/i18n/messages/ai.d.ts +10 -11
  133. package/dist/i18n/messages/ai.js +4 -11
  134. package/dist/i18n/messages/ai.js.map +1 -1
  135. package/dist/i18n/messages/automation.d.ts +9 -0
  136. package/dist/i18n/messages/automation.d.ts.map +1 -1
  137. package/dist/i18n/messages/automation.js +6 -1
  138. package/dist/i18n/messages/automation.js.map +1 -1
  139. package/dist/i18n/messages/commands.d.ts +3 -1
  140. package/dist/i18n/messages/commands.d.ts.map +1 -1
  141. package/dist/i18n/messages/commands.js +3 -1
  142. package/dist/i18n/messages/commands.js.map +1 -1
  143. package/dist/i18n/messages/files.d.ts +34 -0
  144. package/dist/i18n/messages/files.d.ts.map +1 -1
  145. package/dist/i18n/messages/files.js +20 -0
  146. package/dist/i18n/messages/files.js.map +1 -1
  147. package/dist/i18n/messages/menu.d.ts +2 -0
  148. package/dist/i18n/messages/menu.d.ts.map +1 -1
  149. package/dist/i18n/messages/menu.js +2 -0
  150. package/dist/i18n/messages/menu.js.map +1 -1
  151. package/dist/i18n/messages/panels.d.ts +77 -0
  152. package/dist/i18n/messages/panels.d.ts.map +1 -1
  153. package/dist/i18n/messages/panels.js +75 -0
  154. package/dist/i18n/messages/panels.js.map +1 -1
  155. package/dist/i18n/messages/tools.d.ts +1 -0
  156. package/dist/i18n/messages/tools.d.ts.map +1 -1
  157. package/dist/i18n/messages/tools.js +1 -0
  158. package/dist/i18n/messages/tools.js.map +1 -1
  159. package/dist/i18n/messages.d.ts +136 -12
  160. package/dist/i18n/useI18n.d.ts +544 -48
  161. package/dist/i18n/useI18n.d.ts.map +1 -1
  162. package/dist/primitives/LayerTree/LayerTreeRoot.vue.d.ts +1 -1
  163. package/dist/primitives/LayoutControls/LayoutControlsRoot.vue.d.ts.map +1 -1
  164. package/dist/primitives/LayoutControls/LayoutControlsRoot.vue.js +2 -0
  165. package/dist/primitives/LayoutControls/LayoutControlsRoot.vue.js.map +1 -1
  166. package/dist/shared/input/resize.js +28 -12
  167. package/dist/shared/input/resize.js.map +1 -1
  168. package/dist/shared/input/types.js +1 -0
  169. package/dist/shared/input/types.js.map +1 -1
  170. package/package.json +4 -4
@@ -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 turnRenders: 'Changed frames in chat',\n turnRendersHint:\n 'A reply that changed frames shows small before and after renders of them, below its text.',\n turnRendersTitle: 'Changed frames',\n turnRendersMore: params('+{count} more frames'),\n turnRendersRendering: 'Rendering changes…',\n turnRendersCleared: 'Renders cleared to save memory',\n turnRendersUnavailable: 'Renders are unavailable here',\n turnRendersCount: params('{count} frames changed'),\n turnRenderWidth: params('{width}px wide'),\n turnRenderNewFrame: 'New frame',\n turnRenderDeleted: 'Deleted',\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 /** Under a thread's heading when the person circled an area instead of just clicking. */\n commentPromptRegion: params(\n 'Marked area: x {minX} to {maxX}, y {minY} to {maxY} on the page. Change only what is inside it.'\n ),\n /** Added only when a crop of that area travels with the prompt. */\n commentPromptRegionImage: 'An image of the marked area is attached as a crop.',\n commentPromptRegionLayers: params('Layers inside the marked area: {layers}'),\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 designModelName: '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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AkB;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 turnRenders: 'Changed frames in chat',\n turnRendersHint:\n 'A reply that changed frames shows small before and after renders of them, below its text.',\n turnRendersTitle: 'Changed frames',\n turnRendersMore: params('+{count} more frames'),\n turnRendersRendering: 'Rendering changes…',\n turnRendersCleared: 'Renders cleared to save memory',\n turnRendersUnavailable: 'Renders are unavailable here',\n turnRendersCount: params('{count} frames changed'),\n turnRenderWidth: params('{width}px wide'),\n turnRenderNewFrame: 'New frame',\n turnRenderDeleted: 'Deleted',\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 /** Under a thread's heading when the person circled an area instead of just clicking. */\n commentPromptRegion: params(\n 'Marked area: x {minX} to {maxX}, y {minY} to {maxY} on the page. Change only what is inside it.'\n ),\n /** Added only when a crop of that area travels with the prompt. */\n commentPromptRegionImage: 'An image of the marked area is attached as a crop.',\n commentPromptRegionLayers: params('Layers inside the marked area: {layers}'),\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 designModelName: '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 chatRateLimitedWait: params(\n 'The provider is rate-limiting this account. Try again in {seconds}s.'\n ),\n chatRateLimitedWaitMinutes: params(\n 'The provider is rate-limiting this account. Try again in {minutes} min.'\n ),\n chatRateLimitedWaitHours: params(\n 'The provider is rate-limiting this account. Try again in {hours} h.'\n ),\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 skillsUseDescriptionManual:\n 'Offered by name; the AI chat does not list it or load it on its own.',\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 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,OAAO,mCAAmC;CAC1D,iBAAiB;CACjB,uBAAuB,OAAO,6CAA6C;CAC3E,uBAAuB,OACrB,oGACF;CACA,iBAAiB,OAAO,oBAAoB;CAC5C,wBAAwB,OACtB,sFACF;CACA,kBAAkB;CAClB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;CACrB,wBAAwB;CACxB,uBAAuB;CACvB,yBACE;CACF,qBAAqB;CACrB,oBAAoB;CACpB,qBAAqB;CACrB,uBAAuB;CACvB,mBAAmB,OAAO,qBAAqB;CAC/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,4BACE;CACF,iBAAiB;CACjB,eAAe;CACf,kBAAkB;CAClB,gBAAgB;CAChB,qBAAqB;CACrB,WAAW;CACX,kBAAkB;CAClB,mBAAmB;CACnB,iBAAiB;CACjB,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"}
@@ -12,6 +12,15 @@ declare const automationMessages: import("@nanostores/i18n").Messages<{
12
12
  } & {
13
13
  version: string | number;
14
14
  } & object], string>;
15
+ readonly mcpUpdateInProgress: "Updating the MCP server…";
16
+ readonly mcpUpdateInProgressHint: "Pairdraw is updating the MCP server to match this version. It restarts when the update finishes.";
17
+ readonly mcpFailureUpdateFailed: "MCP server could not be updated automatically";
18
+ readonly mcpFailureUpdateFailedHint: import("@nanostores/i18n").TranslationFunction<[{
19
+ version: string | number;
20
+ } & object], string>;
21
+ readonly mcpFailureUpdateFailedReason: import("@nanostores/i18n").TranslationFunction<[{
22
+ reason: string | number;
23
+ } & object], string>;
15
24
  readonly mcpInstallByHand: "Install it from a terminal, or copy a prompt that asks your agent to do it.";
16
25
  readonly mcpCopyAgentPrompt: "Copy prompt for your agent";
17
26
  readonly mcpUpdating: "Updating…";
@@ -1 +1 @@
1
- {"version":3,"file":"automation.d.ts","names":[],"sources":["../../../src/i18n/messages/automation.ts"],"mappings":";cAoLa,+CAAkB"}
1
+ {"version":3,"file":"automation.d.ts","names":[],"sources":["../../../src/i18n/messages/automation.ts"],"mappings":";cA4La,+CAAkB"}
@@ -9,7 +9,12 @@ const automationMessageDefaults = {
9
9
  mcpFailureNotInstalled: "MCP server is not installed",
10
10
  mcpFailureNotInstalledHint: "To keep the Pairdraw download small, the MCP server is installed separately.",
11
11
  mcpFailureOutdated: "MCP server does not match this version of Pairdraw",
12
- mcpFailureOutdatedHint: params("The installed MCP server is {running}, and this version of Pairdraw needs {version}. The server is installed separately to keep the download small, so it does not update with the app."),
12
+ mcpFailureOutdatedHint: params("The installed MCP server is {running}, and this version of Pairdraw needs {version}. Pairdraw updates installed companions automatically when the app updates; press Update to try now, or install it from a terminal."),
13
+ mcpUpdateInProgress: "Updating the MCP server…",
14
+ mcpUpdateInProgressHint: "Pairdraw is updating the MCP server to match this version. It restarts when the update finishes.",
15
+ mcpFailureUpdateFailed: "MCP server could not be updated automatically",
16
+ mcpFailureUpdateFailedHint: params("Pairdraw tried to update the MCP server to {version} but could not. Press Update to try again, or install it from a terminal."),
17
+ mcpFailureUpdateFailedReason: params("The package manager reported: {reason}"),
13
18
  mcpInstallByHand: "Install it from a terminal, or copy a prompt that asks your agent to do it.",
14
19
  mcpCopyAgentPrompt: "Copy prompt for your agent",
15
20
  mcpUpdating: "Updating…",
@@ -1 +1 @@
1
- {"version":3,"file":"automation.js","names":[],"sources":["../../../src/i18n/messages/automation.ts"],"sourcesContent":["import { params } from '@nanostores/i18n'\n\nimport { i18n } from '#vue/i18n/create'\n\nexport const automationMessageDefaults = {\n restoreToolDefaults: 'Restore defaults',\n aiToolAccessDescription:\n 'Choose tools for direct AI model connections. ACP and Pi agents use MCP access instead.',\n mcpToolAccessDescription:\n 'Choose tools advertised by the local server to connected agents and clients.',\n aiToolsNotice:\n 'Changes apply to your next message. Tool switches are not a sandbox: enabled script tools can still perform other design operations.',\n mcpFailureNotInstalled: 'MCP server is not installed',\n mcpFailureNotInstalledHint:\n 'To keep the Pairdraw download small, the MCP server is installed separately.',\n mcpFailureOutdated: 'MCP server does not match this version of Pairdraw',\n mcpFailureOutdatedHint: params(\n 'The installed MCP server is {running}, and this version of Pairdraw needs {version}. The server is installed separately to keep the download small, so it does not update with the app.'\n ),\n mcpInstallByHand: 'Install it from a terminal, or copy a prompt that asks your agent to do it.',\n mcpCopyAgentPrompt: 'Copy prompt for your agent',\n mcpUpdating: 'Updating…',\n mcpFailurePermission: 'Pairdraw cannot start the MCP server',\n mcpFailurePermissionHint:\n 'The system denied the command. Reinstall Pairdraw with its shell permissions, or start the server manually.',\n mcpFailureExited: 'MCP server stopped during startup',\n mcpFailureExitedHint: 'The process exited before it became ready.',\n mcpFailureRestartExhausted: 'MCP server kept stopping',\n mcpFailureRestartExhaustedHint:\n 'It was started again several times and did not stay running. Restart it from Settings, or restart the app.',\n mcpFailureTimeout: 'MCP server did not respond in time',\n mcpFailureTimeoutHint: 'It did not become ready within the startup timeout.',\n mcpFailureRejected: 'MCP server rejected the local connection',\n mcpFailureRejectedHint: 'Restart the MCP server to issue a new token.',\n mcpFailureMalformed: 'MCP server returned an unexpected response',\n mcpFailureMalformedHint:\n 'Restart it. If this keeps happening, copy the details and report the problem.',\n mcpFailureUnreachable: 'MCP server is not reachable',\n mcpFailureUnreachableHint: params(\n 'Nothing answers at {endpoint}. Restart the server; if another app uses this address, close it first.'\n ),\n mcpFailureUnknown: 'MCP server could not start',\n mcpFailureUnknownHint: 'Start it again, or check the diagnostic details below.',\n mcpFailureDetails: 'Details',\n mcpFailureCopy: 'Copy details',\n localServer: 'Local server',\n localServerDesktopOnly:\n 'The local MCP server runs with the Pairdraw desktop app. In the browser, use WebMCP below.',\n webmcpDescription:\n 'Let browser agents use this document directly, without a local MCP server or bearer token. Local server settings do not apply here.',\n browserAccess: 'Browser agent access',\n accessOff: 'Off',\n accessInspect: 'Inspect',\n accessEdit: 'Edit',\n accessOffDescription: 'No tools are exposed to browser agents.',\n accessInspectDescription: 'Agents can inspect the document but cannot change it.',\n accessEditDescription:\n 'Agents can also edit existing properties, text, and variable values. Edits are undoable; creating or deleting content, scripts, and file access are excluded.',\n webmcpFailed: 'WebMCP could not start',\n webmcpUnsupported:\n 'This browser does not expose WebMCP. Use a supported Chrome version and enable WebMCP testing, then relaunch the browser.',\n noMatchingTools: 'No tools match your search.',\n connections: 'MCP connections',\n connectionsDescription:\n 'Give the AI chat and coding agents access to trusted tools and services.',\n addConnection: 'Add connection',\n addServerConnection: 'Add MCP connection',\n editConnection: 'Edit MCP connection',\n connectionName: 'Connection name',\n connectionNameHint: 'Use a unique name, up to 80 characters. The name pairdraw is reserved.',\n connectionNameInvalid: 'Choose a unique name of at most 80 characters, other than pairdraw.',\n serverURLHint:\n 'The server must support Streamable HTTP. Use HTTPS. HTTP is allowed only for localhost or a loopback address. Do not include credentials in the URL.',\n serverURL: 'MCP server URL',\n enableConnection: 'Enable for AI chat and agents',\n bearerToken: 'Bearer token',\n bearerTokenPlaceholder: 'Enter bearer token',\n bearerTokenRequired: 'Enter a bearer token before enabling this connection.',\n deleteConnection: 'Delete connection',\n deleteConnectionDescription: 'Delete this MCP connection and remove its saved credentials?',\n noConnections: 'No external MCP connections configured.',\n transportType: 'Connection type',\n transportHTTP: 'Remote server',\n transportStdio: 'Local command',\n transportStdioDesktopOnly: 'Local commands run only in the Pairdraw desktop app.',\n command: 'Command',\n commandHint:\n 'The program that starts the server, such as npx or uvx. Pairdraw asks before it runs a command for the first time.',\n commandRequired: 'Enter the command that starts the server.',\n commandArguments: 'Arguments',\n commandArgumentsHint: 'One argument per line.',\n environment: 'Environment variables',\n environmentHint: 'One NAME=value per line. Values are saved with your other credentials.',\n environmentSavedHint:\n 'Variables are saved. Enter new ones to replace them, or leave this empty to keep them.',\n environmentInvalid:\n 'Use NAME=value lines. Names use letters, digits, and underscores; PATH and variables that load code are not allowed.',\n authenticationType: 'Authentication',\n authenticationNone: 'None',\n authenticationBearer: 'Bearer token',\n authenticationOAuth: 'OAuth sign-in',\n oauthHint: 'For hosted servers that ask you to sign in, such as Notion or Linear.',\n oauthSignIn: 'Sign in',\n oauthSignInAgain: 'Sign in again',\n oauthSignOut: 'Sign out',\n oauthSignedIn: 'Signed in',\n oauthNotSignedIn: 'Not signed in',\n oauthSaveFirst: 'Save the connection, then sign in.',\n oauthWaiting: 'Finish signing in in your browser…',\n oauthReopen: 'Open sign-in page again',\n oauthCancelled: 'Sign-in was cancelled.',\n oauthExpired: 'Sign-in took too long. Try again.',\n oauthBlocked:\n 'The browser blocked the sign-in window. Allow pop-ups for Pairdraw, then try again.',\n oauthFailed:\n 'Sign-in did not finish. Check that the server supports OAuth sign-in, then try again.',\n connectionTestSaveFirst: 'Save your changes before testing.',\n connectionTestSuccess: params('Connected. Tools available: {count}.'),\n connectionTestSignIn: 'The server needs you to sign in.',\n connectionTestCredential: 'Enter the bearer token, then save.',\n connectionTestDeclined: 'Running the command was not allowed.',\n connectionTestFailed: 'Could not connect. Check the address or command, then try again.',\n description: 'Monitor and restart the local MCP server used by agents and automation.',\n status: 'Status',\n port: 'Port',\n address: 'Address',\n version: 'Version',\n authentication: 'Require authentication',\n authenticationDescription:\n 'Protect the localhost MCP endpoint with a bearer token. Disable only on a trusted machine. Restart the server to apply changes.',\n selectionScope: 'Share only the selection',\n selectionScopeDescription:\n 'Let MCP clients read only the layers you select, with get_selection, get_node, get_page_tree, describe, and export_image, and no other tools. Restart the server to apply changes.',\n rootDirectory: 'MCP root directory',\n rootDirectoryDefault: 'Server default directory',\n chooseRootDirectory: 'Choose folder',\n useDefaultRoot: 'Use default',\n rootDirectoryDescription:\n 'File tools are limited to this folder. Restart the MCP server to apply changes.',\n tools: 'Available tools',\n toolsEnabled: params('{enabled} of {total} enabled'),\n searchTools: 'Search tools',\n readOnlyTools: 'Read-only tools',\n sideEffectTools: 'Tools with side effects',\n toolsRestartNotice:\n 'Restart the MCP server, then reconnect stdio clients, to apply tool availability changes.',\n externalRestartNotice:\n 'This server is managed by another process. Restart that process to apply changes.',\n restart: 'Restart MCP server',\n externallyManaged: 'Managed externally',\n starting: 'Starting…',\n statusIdle: 'Not initialized',\n statusStarting: 'Starting',\n statusRunning: 'Running',\n statusStopped: 'Stopped',\n statusError: 'Error',\n mcpClientsTitle: 'Other apps',\n mcpClientsDescription: params(\n 'Add the {server} server to agents you run outside Pairdraw; they start it with {command}. Only that entry changes, and each file is backed up before its first change.'\n ),\n mcpClientsRefresh: 'Check again',\n mcpClientToggle: params('Connect {client}'),\n mcpClientNotInstalled: 'Not found on this computer',\n mcpClientCustom: 'Added with a different command',\n mcpClientManual: 'Added by hand; edit the file to change it',\n mcpClientInvalid: 'The file has errors; fix it to change this here',\n mcpClientUnreadable: 'The file cannot be read',\n mcpClientAdded: params('Added to {client}'),\n mcpClientRemoved: params('Removed from {client}'),\n mcpClientRestartHint: params('Restart {client}, or reload its servers, to apply the change.'),\n mcpClientBackup: params('The original file is kept as {path}.'),\n mcpClientFailed: params('Could not change {client}'),\n mcpClientFailedChanged: 'The file changed while it was being edited. Try again.',\n mcpClientFailedInvalid: 'The file has errors, so it was left unchanged. Fix it, then try again.',\n mcpClientFailedManual:\n 'The entry was written by hand in a form that is not changed here. Edit the file instead.',\n mcpClientFailedTooLarge: 'The file is too large to edit here.',\n mcpClientFailedWrite: 'The file could not be written and was left unchanged.'\n} as const\n\nexport const automationMessages = i18n('automation', automationMessageDefaults)\n"],"mappings":";;;AAIA,MAAa,4BAA4B;CACvC,qBAAqB;CACrB,yBACE;CACF,0BACE;CACF,eACE;CACF,wBAAwB;CACxB,4BACE;CACF,oBAAoB;CACpB,wBAAwB,OACtB,yLACF;CACA,kBAAkB;CAClB,oBAAoB;CACpB,aAAa;CACb,sBAAsB;CACtB,0BACE;CACF,kBAAkB;CAClB,sBAAsB;CACtB,4BAA4B;CAC5B,gCACE;CACF,mBAAmB;CACnB,uBAAuB;CACvB,oBAAoB;CACpB,wBAAwB;CACxB,qBAAqB;CACrB,yBACE;CACF,uBAAuB;CACvB,2BAA2B,OACzB,sGACF;CACA,mBAAmB;CACnB,uBAAuB;CACvB,mBAAmB;CACnB,gBAAgB;CAChB,aAAa;CACb,wBACE;CACF,mBACE;CACF,eAAe;CACf,WAAW;CACX,eAAe;CACf,YAAY;CACZ,sBAAsB;CACtB,0BAA0B;CAC1B,uBACE;CACF,cAAc;CACd,mBACE;CACF,iBAAiB;CACjB,aAAa;CACb,wBACE;CACF,eAAe;CACf,qBAAqB;CACrB,gBAAgB;CAChB,gBAAgB;CAChB,oBAAoB;CACpB,uBAAuB;CACvB,eACE;CACF,WAAW;CACX,kBAAkB;CAClB,aAAa;CACb,wBAAwB;CACxB,qBAAqB;CACrB,kBAAkB;CAClB,6BAA6B;CAC7B,eAAe;CACf,eAAe;CACf,eAAe;CACf,gBAAgB;CAChB,2BAA2B;CAC3B,SAAS;CACT,aACE;CACF,iBAAiB;CACjB,kBAAkB;CAClB,sBAAsB;CACtB,aAAa;CACb,iBAAiB;CACjB,sBACE;CACF,oBACE;CACF,oBAAoB;CACpB,oBAAoB;CACpB,sBAAsB;CACtB,qBAAqB;CACrB,WAAW;CACX,aAAa;CACb,kBAAkB;CAClB,cAAc;CACd,eAAe;CACf,kBAAkB;CAClB,gBAAgB;CAChB,cAAc;CACd,aAAa;CACb,gBAAgB;CAChB,cAAc;CACd,cACE;CACF,aACE;CACF,yBAAyB;CACzB,uBAAuB,OAAO,sCAAsC;CACpE,sBAAsB;CACtB,0BAA0B;CAC1B,wBAAwB;CACxB,sBAAsB;CACtB,aAAa;CACb,QAAQ;CACR,MAAM;CACN,SAAS;CACT,SAAS;CACT,gBAAgB;CAChB,2BACE;CACF,gBAAgB;CAChB,2BACE;CACF,eAAe;CACf,sBAAsB;CACtB,qBAAqB;CACrB,gBAAgB;CAChB,0BACE;CACF,OAAO;CACP,cAAc,OAAO,8BAA8B;CACnD,aAAa;CACb,eAAe;CACf,iBAAiB;CACjB,oBACE;CACF,uBACE;CACF,SAAS;CACT,mBAAmB;CACnB,UAAU;CACV,YAAY;CACZ,gBAAgB;CAChB,eAAe;CACf,eAAe;CACf,aAAa;CACb,iBAAiB;CACjB,uBAAuB,OACrB,wKACF;CACA,mBAAmB;CACnB,iBAAiB,OAAO,kBAAkB;CAC1C,uBAAuB;CACvB,iBAAiB;CACjB,iBAAiB;CACjB,kBAAkB;CAClB,qBAAqB;CACrB,gBAAgB,OAAO,mBAAmB;CAC1C,kBAAkB,OAAO,uBAAuB;CAChD,sBAAsB,OAAO,+DAA+D;CAC5F,iBAAiB,OAAO,sCAAsC;CAC9D,iBAAiB,OAAO,2BAA2B;CACnD,wBAAwB;CACxB,wBAAwB;CACxB,uBACE;CACF,yBAAyB;CACzB,sBAAsB;AACxB;AAEA,MAAa,qBAAqB,KAAK,cAAc,yBAAyB"}
1
+ {"version":3,"file":"automation.js","names":[],"sources":["../../../src/i18n/messages/automation.ts"],"sourcesContent":["import { params } from '@nanostores/i18n'\n\nimport { i18n } from '#vue/i18n/create'\n\nexport const automationMessageDefaults = {\n restoreToolDefaults: 'Restore defaults',\n aiToolAccessDescription:\n 'Choose tools for direct AI model connections. ACP and Pi agents use MCP access instead.',\n mcpToolAccessDescription:\n 'Choose tools advertised by the local server to connected agents and clients.',\n aiToolsNotice:\n 'Changes apply to your next message. Tool switches are not a sandbox: enabled script tools can still perform other design operations.',\n mcpFailureNotInstalled: 'MCP server is not installed',\n mcpFailureNotInstalledHint:\n 'To keep the Pairdraw download small, the MCP server is installed separately.',\n mcpFailureOutdated: 'MCP server does not match this version of Pairdraw',\n mcpFailureOutdatedHint: params(\n 'The installed MCP server is {running}, and this version of Pairdraw needs {version}. Pairdraw updates installed companions automatically when the app updates; press Update to try now, or install it from a terminal.'\n ),\n mcpUpdateInProgress: 'Updating the MCP server…',\n mcpUpdateInProgressHint:\n 'Pairdraw is updating the MCP server to match this version. It restarts when the update finishes.',\n mcpFailureUpdateFailed: 'MCP server could not be updated automatically',\n mcpFailureUpdateFailedHint: params(\n 'Pairdraw tried to update the MCP server to {version} but could not. Press Update to try again, or install it from a terminal.'\n ),\n mcpFailureUpdateFailedReason: params('The package manager reported: {reason}'),\n mcpInstallByHand: 'Install it from a terminal, or copy a prompt that asks your agent to do it.',\n mcpCopyAgentPrompt: 'Copy prompt for your agent',\n mcpUpdating: 'Updating…',\n mcpFailurePermission: 'Pairdraw cannot start the MCP server',\n mcpFailurePermissionHint:\n 'The system denied the command. Reinstall Pairdraw with its shell permissions, or start the server manually.',\n mcpFailureExited: 'MCP server stopped during startup',\n mcpFailureExitedHint: 'The process exited before it became ready.',\n mcpFailureRestartExhausted: 'MCP server kept stopping',\n mcpFailureRestartExhaustedHint:\n 'It was started again several times and did not stay running. Restart it from Settings, or restart the app.',\n mcpFailureTimeout: 'MCP server did not respond in time',\n mcpFailureTimeoutHint: 'It did not become ready within the startup timeout.',\n mcpFailureRejected: 'MCP server rejected the local connection',\n mcpFailureRejectedHint: 'Restart the MCP server to issue a new token.',\n mcpFailureMalformed: 'MCP server returned an unexpected response',\n mcpFailureMalformedHint:\n 'Restart it. If this keeps happening, copy the details and report the problem.',\n mcpFailureUnreachable: 'MCP server is not reachable',\n mcpFailureUnreachableHint: params(\n 'Nothing answers at {endpoint}. Restart the server; if another app uses this address, close it first.'\n ),\n mcpFailureUnknown: 'MCP server could not start',\n mcpFailureUnknownHint: 'Start it again, or check the diagnostic details below.',\n mcpFailureDetails: 'Details',\n mcpFailureCopy: 'Copy details',\n localServer: 'Local server',\n localServerDesktopOnly:\n 'The local MCP server runs with the Pairdraw desktop app. In the browser, use WebMCP below.',\n webmcpDescription:\n 'Let browser agents use this document directly, without a local MCP server or bearer token. Local server settings do not apply here.',\n browserAccess: 'Browser agent access',\n accessOff: 'Off',\n accessInspect: 'Inspect',\n accessEdit: 'Edit',\n accessOffDescription: 'No tools are exposed to browser agents.',\n accessInspectDescription: 'Agents can inspect the document but cannot change it.',\n accessEditDescription:\n 'Agents can also edit existing properties, text, and variable values. Edits are undoable; creating or deleting content, scripts, and file access are excluded.',\n webmcpFailed: 'WebMCP could not start',\n webmcpUnsupported:\n 'This browser does not expose WebMCP. Use a supported Chrome version and enable WebMCP testing, then relaunch the browser.',\n noMatchingTools: 'No tools match your search.',\n connections: 'MCP connections',\n connectionsDescription:\n 'Give the AI chat and coding agents access to trusted tools and services.',\n addConnection: 'Add connection',\n addServerConnection: 'Add MCP connection',\n editConnection: 'Edit MCP connection',\n connectionName: 'Connection name',\n connectionNameHint: 'Use a unique name, up to 80 characters. The name pairdraw is reserved.',\n connectionNameInvalid: 'Choose a unique name of at most 80 characters, other than pairdraw.',\n serverURLHint:\n 'The server must support Streamable HTTP. Use HTTPS. HTTP is allowed only for localhost or a loopback address. Do not include credentials in the URL.',\n serverURL: 'MCP server URL',\n enableConnection: 'Enable for AI chat and agents',\n bearerToken: 'Bearer token',\n bearerTokenPlaceholder: 'Enter bearer token',\n bearerTokenRequired: 'Enter a bearer token before enabling this connection.',\n deleteConnection: 'Delete connection',\n deleteConnectionDescription: 'Delete this MCP connection and remove its saved credentials?',\n noConnections: 'No external MCP connections configured.',\n transportType: 'Connection type',\n transportHTTP: 'Remote server',\n transportStdio: 'Local command',\n transportStdioDesktopOnly: 'Local commands run only in the Pairdraw desktop app.',\n command: 'Command',\n commandHint:\n 'The program that starts the server, such as npx or uvx. Pairdraw asks before it runs a command for the first time.',\n commandRequired: 'Enter the command that starts the server.',\n commandArguments: 'Arguments',\n commandArgumentsHint: 'One argument per line.',\n environment: 'Environment variables',\n environmentHint: 'One NAME=value per line. Values are saved with your other credentials.',\n environmentSavedHint:\n 'Variables are saved. Enter new ones to replace them, or leave this empty to keep them.',\n environmentInvalid:\n 'Use NAME=value lines. Names use letters, digits, and underscores; PATH and variables that load code are not allowed.',\n authenticationType: 'Authentication',\n authenticationNone: 'None',\n authenticationBearer: 'Bearer token',\n authenticationOAuth: 'OAuth sign-in',\n oauthHint: 'For hosted servers that ask you to sign in, such as Notion or Linear.',\n oauthSignIn: 'Sign in',\n oauthSignInAgain: 'Sign in again',\n oauthSignOut: 'Sign out',\n oauthSignedIn: 'Signed in',\n oauthNotSignedIn: 'Not signed in',\n oauthSaveFirst: 'Save the connection, then sign in.',\n oauthWaiting: 'Finish signing in in your browser…',\n oauthReopen: 'Open sign-in page again',\n oauthCancelled: 'Sign-in was cancelled.',\n oauthExpired: 'Sign-in took too long. Try again.',\n oauthBlocked:\n 'The browser blocked the sign-in window. Allow pop-ups for Pairdraw, then try again.',\n oauthFailed:\n 'Sign-in did not finish. Check that the server supports OAuth sign-in, then try again.',\n connectionTestSaveFirst: 'Save your changes before testing.',\n connectionTestSuccess: params('Connected. Tools available: {count}.'),\n connectionTestSignIn: 'The server needs you to sign in.',\n connectionTestCredential: 'Enter the bearer token, then save.',\n connectionTestDeclined: 'Running the command was not allowed.',\n connectionTestFailed: 'Could not connect. Check the address or command, then try again.',\n description: 'Monitor and restart the local MCP server used by agents and automation.',\n status: 'Status',\n port: 'Port',\n address: 'Address',\n version: 'Version',\n authentication: 'Require authentication',\n authenticationDescription:\n 'Protect the localhost MCP endpoint with a bearer token. Disable only on a trusted machine. Restart the server to apply changes.',\n selectionScope: 'Share only the selection',\n selectionScopeDescription:\n 'Let MCP clients read only the layers you select, with get_selection, get_node, get_page_tree, describe, and export_image, and no other tools. Restart the server to apply changes.',\n rootDirectory: 'MCP root directory',\n rootDirectoryDefault: 'Server default directory',\n chooseRootDirectory: 'Choose folder',\n useDefaultRoot: 'Use default',\n rootDirectoryDescription:\n 'File tools are limited to this folder. Restart the MCP server to apply changes.',\n tools: 'Available tools',\n toolsEnabled: params('{enabled} of {total} enabled'),\n searchTools: 'Search tools',\n readOnlyTools: 'Read-only tools',\n sideEffectTools: 'Tools with side effects',\n toolsRestartNotice:\n 'Restart the MCP server, then reconnect stdio clients, to apply tool availability changes.',\n externalRestartNotice:\n 'This server is managed by another process. Restart that process to apply changes.',\n restart: 'Restart MCP server',\n externallyManaged: 'Managed externally',\n starting: 'Starting…',\n statusIdle: 'Not initialized',\n statusStarting: 'Starting',\n statusRunning: 'Running',\n statusStopped: 'Stopped',\n statusError: 'Error',\n mcpClientsTitle: 'Other apps',\n mcpClientsDescription: params(\n 'Add the {server} server to agents you run outside Pairdraw; they start it with {command}. Only that entry changes, and each file is backed up before its first change.'\n ),\n mcpClientsRefresh: 'Check again',\n mcpClientToggle: params('Connect {client}'),\n mcpClientNotInstalled: 'Not found on this computer',\n mcpClientCustom: 'Added with a different command',\n mcpClientManual: 'Added by hand; edit the file to change it',\n mcpClientInvalid: 'The file has errors; fix it to change this here',\n mcpClientUnreadable: 'The file cannot be read',\n mcpClientAdded: params('Added to {client}'),\n mcpClientRemoved: params('Removed from {client}'),\n mcpClientRestartHint: params('Restart {client}, or reload its servers, to apply the change.'),\n mcpClientBackup: params('The original file is kept as {path}.'),\n mcpClientFailed: params('Could not change {client}'),\n mcpClientFailedChanged: 'The file changed while it was being edited. Try again.',\n mcpClientFailedInvalid: 'The file has errors, so it was left unchanged. Fix it, then try again.',\n mcpClientFailedManual:\n 'The entry was written by hand in a form that is not changed here. Edit the file instead.',\n mcpClientFailedTooLarge: 'The file is too large to edit here.',\n mcpClientFailedWrite: 'The file could not be written and was left unchanged.'\n} as const\n\nexport const automationMessages = i18n('automation', automationMessageDefaults)\n"],"mappings":";;;AAIA,MAAa,4BAA4B;CACvC,qBAAqB;CACrB,yBACE;CACF,0BACE;CACF,eACE;CACF,wBAAwB;CACxB,4BACE;CACF,oBAAoB;CACpB,wBAAwB,OACtB,wNACF;CACA,qBAAqB;CACrB,yBACE;CACF,wBAAwB;CACxB,4BAA4B,OAC1B,+HACF;CACA,8BAA8B,OAAO,wCAAwC;CAC7E,kBAAkB;CAClB,oBAAoB;CACpB,aAAa;CACb,sBAAsB;CACtB,0BACE;CACF,kBAAkB;CAClB,sBAAsB;CACtB,4BAA4B;CAC5B,gCACE;CACF,mBAAmB;CACnB,uBAAuB;CACvB,oBAAoB;CACpB,wBAAwB;CACxB,qBAAqB;CACrB,yBACE;CACF,uBAAuB;CACvB,2BAA2B,OACzB,sGACF;CACA,mBAAmB;CACnB,uBAAuB;CACvB,mBAAmB;CACnB,gBAAgB;CAChB,aAAa;CACb,wBACE;CACF,mBACE;CACF,eAAe;CACf,WAAW;CACX,eAAe;CACf,YAAY;CACZ,sBAAsB;CACtB,0BAA0B;CAC1B,uBACE;CACF,cAAc;CACd,mBACE;CACF,iBAAiB;CACjB,aAAa;CACb,wBACE;CACF,eAAe;CACf,qBAAqB;CACrB,gBAAgB;CAChB,gBAAgB;CAChB,oBAAoB;CACpB,uBAAuB;CACvB,eACE;CACF,WAAW;CACX,kBAAkB;CAClB,aAAa;CACb,wBAAwB;CACxB,qBAAqB;CACrB,kBAAkB;CAClB,6BAA6B;CAC7B,eAAe;CACf,eAAe;CACf,eAAe;CACf,gBAAgB;CAChB,2BAA2B;CAC3B,SAAS;CACT,aACE;CACF,iBAAiB;CACjB,kBAAkB;CAClB,sBAAsB;CACtB,aAAa;CACb,iBAAiB;CACjB,sBACE;CACF,oBACE;CACF,oBAAoB;CACpB,oBAAoB;CACpB,sBAAsB;CACtB,qBAAqB;CACrB,WAAW;CACX,aAAa;CACb,kBAAkB;CAClB,cAAc;CACd,eAAe;CACf,kBAAkB;CAClB,gBAAgB;CAChB,cAAc;CACd,aAAa;CACb,gBAAgB;CAChB,cAAc;CACd,cACE;CACF,aACE;CACF,yBAAyB;CACzB,uBAAuB,OAAO,sCAAsC;CACpE,sBAAsB;CACtB,0BAA0B;CAC1B,wBAAwB;CACxB,sBAAsB;CACtB,aAAa;CACb,QAAQ;CACR,MAAM;CACN,SAAS;CACT,SAAS;CACT,gBAAgB;CAChB,2BACE;CACF,gBAAgB;CAChB,2BACE;CACF,eAAe;CACf,sBAAsB;CACtB,qBAAqB;CACrB,gBAAgB;CAChB,0BACE;CACF,OAAO;CACP,cAAc,OAAO,8BAA8B;CACnD,aAAa;CACb,eAAe;CACf,iBAAiB;CACjB,oBACE;CACF,uBACE;CACF,SAAS;CACT,mBAAmB;CACnB,UAAU;CACV,YAAY;CACZ,gBAAgB;CAChB,eAAe;CACf,eAAe;CACf,aAAa;CACb,iBAAiB;CACjB,uBAAuB,OACrB,wKACF;CACA,mBAAmB;CACnB,iBAAiB,OAAO,kBAAkB;CAC1C,uBAAuB;CACvB,iBAAiB;CACjB,iBAAiB;CACjB,kBAAkB;CAClB,qBAAqB;CACrB,gBAAgB,OAAO,mBAAmB;CAC1C,kBAAkB,OAAO,uBAAuB;CAChD,sBAAsB,OAAO,+DAA+D;CAC5F,iBAAiB,OAAO,sCAAsC;CAC9D,iBAAiB,OAAO,2BAA2B;CACnD,wBAAwB;CACxB,wBAAwB;CACxB,uBACE;CACF,yBAAyB;CACzB,sBAAsB;AACxB;AAEA,MAAa,qBAAqB,KAAK,cAAc,yBAAyB"}
@@ -14,12 +14,14 @@ declare const commandMessages: import("@nanostores/i18n").Messages<{
14
14
  readonly createComponent: "Create component";
15
15
  readonly convertToFrame: "Convert to frame";
16
16
  readonly createSlot: "Create slot";
17
- readonly createComponentSet: "Create component set";
17
+ readonly createComponentSet: "Combine as variants";
18
18
  readonly createInstance: "Create instance";
19
19
  readonly detachInstance: "Detach instance";
20
20
  readonly detachIcon: "Detach icon";
21
21
  readonly goToMainComponent: "Go to main component";
22
22
  readonly resetAllChanges: "Reset all changes";
23
+ readonly resetLayerChanges: "Reset layer changes";
24
+ readonly lockedInsideInstance: "This layer is inside an instance; put it in a slot or detach the instance first.";
23
25
  readonly pushChangesToMainComponent: "Push changes to main component";
24
26
  readonly addAutoLayout: "Add auto layout";
25
27
  readonly useAsMask: "Use as mask";
@@ -1 +1 @@
1
- {"version":3,"file":"commands.d.ts","names":[],"sources":["../../../src/i18n/messages/commands.ts"],"mappings":";cA6Ga,4CAAe"}
1
+ {"version":3,"file":"commands.d.ts","names":[],"sources":["../../../src/i18n/messages/commands.ts"],"mappings":";cAgHa,4CAAe"}
@@ -15,12 +15,14 @@ const commandMessageDefaults = {
15
15
  createComponent: "Create component",
16
16
  convertToFrame: "Convert to frame",
17
17
  createSlot: "Create slot",
18
- createComponentSet: "Create component set",
18
+ createComponentSet: "Combine as variants",
19
19
  createInstance: "Create instance",
20
20
  detachInstance: "Detach instance",
21
21
  detachIcon: "Detach icon",
22
22
  goToMainComponent: "Go to main component",
23
23
  resetAllChanges: "Reset all changes",
24
+ resetLayerChanges: "Reset layer changes",
25
+ lockedInsideInstance: "This layer is inside an instance; put it in a slot or detach the instance first.",
24
26
  pushChangesToMainComponent: "Push changes to main component",
25
27
  addAutoLayout: "Add auto layout",
26
28
  useAsMask: "Use as 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 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,yBAAyB;CACpC,MAAM;CACN,MAAM;CACN,WAAW;CACX,eAAe;CACf,WAAW;CACX,sBAAsB;CACtB,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,4BAA4B;CAC5B,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: 'Combine as variants',\n createInstance: 'Create instance',\n detachInstance: 'Detach instance',\n detachIcon: 'Detach icon',\n goToMainComponent: 'Go to main component',\n resetAllChanges: 'Reset all changes',\n resetLayerChanges: 'Reset layer changes',\n lockedInsideInstance:\n 'This layer is inside an instance; put it in a slot or detach the instance first.',\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,yBAAyB;CACpC,MAAM;CACN,MAAM;CACN,WAAW;CACX,eAAe;CACf,WAAW;CACX,sBAAsB;CACtB,QAAQ;CACR,OAAO;CACP,gBAAgB;CAChB,gBA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zB,mBAAmB;CACnB,8BAA8B;CAC9B,oBAAoB;AACtB;AAEA,MAAa,kBAAkB,KAAK,YAAY,sBAAsB"}
@@ -19,9 +19,33 @@ declare const filesMessages: import("@nanostores/i18n").Messages<{
19
19
  readonly clipboardImagesFetchFailed: import("@nanostores/i18n").TranslationFunction<[{
20
20
  count: string | number;
21
21
  } & object], string>;
22
+ readonly clipboardPatternSourceMissing: "Pasted design includes a pattern fill whose source layer is not in this file, so it draws its colour instead; copy the design together with the layer its pattern uses to keep it.";
23
+ readonly clipboardPatternSourcesMissing: import("@nanostores/i18n").TranslationFunction<[{
24
+ count: string | number;
25
+ } & object], string>;
22
26
  readonly mermaidPasteFailed: import("@nanostores/i18n").TranslationFunction<[{
23
27
  error: string | number;
24
28
  } & object], string>;
29
+ readonly codePasteUnreadable: "This text is not code Pairdraw can read as layers.";
30
+ readonly codePasteTooLarge: "This paste is too large to read as layers. Paste a smaller part of it.";
31
+ readonly codePasteLayers: import("@nanostores/i18n").TranslationFunction<[{
32
+ count: string | number;
33
+ } & object], string>;
34
+ readonly codePasteComponents: import("@nanostores/i18n").TranslationFunction<[{
35
+ count: string | number;
36
+ } & object], string>;
37
+ readonly codePastePlaceholders: import("@nanostores/i18n").TranslationFunction<[{
38
+ count: string | number;
39
+ } & object], string>;
40
+ readonly codePasteDropped: import("@nanostores/i18n").TranslationFunction<[{
41
+ count: string | number;
42
+ } & object], string>;
43
+ readonly codePasteTokens: import("@nanostores/i18n").TranslationFunction<[{
44
+ count: string | number;
45
+ } & object], string>;
46
+ readonly codePasteImages: import("@nanostores/i18n").TranslationFunction<[{
47
+ count: string | number;
48
+ } & object], string>;
25
49
  readonly webPasteFailed: import("@nanostores/i18n").TranslationFunction<[{
26
50
  error: string | number;
27
51
  } & object], string>;
@@ -92,6 +116,16 @@ declare const filesMessages: import("@nanostores/i18n").Messages<{
92
116
  readonly loadingDesignSystems: "Loading design systems…";
93
117
  readonly saveAsPrompt: "Save as:";
94
118
  readonly preparingDocument: "Preparing document";
119
+ readonly loading: "Loading…";
120
+ readonly preparationReading: "Reading document";
121
+ readonly preparationDecoding: "Decoding Figma document";
122
+ readonly preparationMaterializing: "Preparing layers";
123
+ readonly preparationPopulatingPage: "Preparing page";
124
+ readonly preparationResolvingFonts: "Resolving fonts";
125
+ readonly preparationResolvingFallbacks: "Finalizing typography";
126
+ readonly preparationLayout: "Computing layout";
127
+ readonly preparationDrawingShaders: "Drawing shaders";
128
+ readonly preparationPreparingRender: "Preparing canvas";
95
129
  readonly browserFileAPINotSupported: "Your browser doesn't support the local file API. Files will be downloaded instead of saved in place.";
96
130
  readonly fileChangedOnDisk: import("@nanostores/i18n").TranslationFunction<[{
97
131
  name: string | number;
@@ -1 +1 @@
1
- {"version":3,"file":"files.d.ts","names":[],"sources":["../../../src/i18n/messages/files.ts"],"mappings":";cAuGa,0CAAa"}
1
+ {"version":3,"file":"files.d.ts","names":[],"sources":["../../../src/i18n/messages/files.ts"],"mappings":";cA8Ha,0CAAa"}
@@ -13,7 +13,17 @@ const filesMessageDefaults = {
13
13
  clipboardImagesUnavailableWeb: params("Pasted design includes {count} images that cannot be loaded in the web app. Use the desktop app to include them."),
14
14
  clipboardImageFetchFailed: "Failed to fetch 1 image from Figma. Check that the source file is accessible and try again.",
15
15
  clipboardImagesFetchFailed: params("Failed to fetch {count} images from Figma. Check that the source file is accessible and try again."),
16
+ clipboardPatternSourceMissing: "Pasted design includes a pattern fill whose source layer is not in this file, so it draws its colour instead; copy the design together with the layer its pattern uses to keep it.",
17
+ clipboardPatternSourcesMissing: params("Pasted design includes {count} pattern fills whose source layers are not in this file, so they draw their colour instead; copy the design together with the layers their patterns use to keep them."),
16
18
  mermaidPasteFailed: params("Could not read the Mermaid diagram. {error}"),
19
+ codePasteUnreadable: "This text is not code Pairdraw can read as layers.",
20
+ codePasteTooLarge: "This paste is too large to read as layers. Paste a smaller part of it.",
21
+ codePasteLayers: params("Pasted {count} layers"),
22
+ codePasteComponents: params("{count} components as frames"),
23
+ codePastePlaceholders: params("{count} placeholders"),
24
+ codePasteDropped: params("{count} dropped"),
25
+ codePasteTokens: params("{count} tokens bound"),
26
+ codePasteImages: params("{count} images as placeholders"),
17
27
  webPasteFailed: params("Could not paste the web content. {error}"),
18
28
  webCaptureUnreadable: "The copied web capture could not be read. Capture the page again.",
19
29
  webCaptureNewer: "The copied web capture is from a newer capture extension. Update Pairdraw to paste it.",
@@ -71,6 +81,16 @@ const filesMessageDefaults = {
71
81
  loadingDesignSystems: "Loading design systems…",
72
82
  saveAsPrompt: "Save as:",
73
83
  preparingDocument: "Preparing document",
84
+ loading: "Loading…",
85
+ preparationReading: "Reading document",
86
+ preparationDecoding: "Decoding Figma document",
87
+ preparationMaterializing: "Preparing layers",
88
+ preparationPopulatingPage: "Preparing page",
89
+ preparationResolvingFonts: "Resolving fonts",
90
+ preparationResolvingFallbacks: "Finalizing typography",
91
+ preparationLayout: "Computing layout",
92
+ preparationDrawingShaders: "Drawing shaders",
93
+ preparationPreparingRender: "Preparing canvas",
74
94
  browserFileAPINotSupported: "Your browser doesn't support the local file API. Files will be downloaded instead of saved in place.",
75
95
  fileChangedOnDisk: params("“{name}” changed on disk"),
76
96
  fileChangedOnDiskDescription: "Another app changed this file while you have unsaved edits. Reload to open the file’s version and discard your edits, or ignore the change and keep editing. Saving replaces the file with your version.",
@@ -1 +1 @@
1
- {"version":3,"file":"files.js","names":[],"sources":["../../../src/i18n/messages/files.ts"],"sourcesContent":["import { count, params } from '@nanostores/i18n'\n\nimport { i18n } from '#vue/i18n/create'\n\nexport const filesMessageDefaults = {\n newTab: 'New tab',\n home: 'Home',\n closeTab: params('Close {name}'),\n unsavedChanges: 'Unsaved changes',\n saveBeforeClosing: params('Save changes to “{name}”?'),\n saveBeforeClosingDescription: 'Your changes will be discarded if you close without saving.',\n discard: 'Don’t Save',\n clipboardImageUnavailableWeb:\n 'Pasted design includes 1 image that cannot be loaded in the web app. Use the desktop app to include it.',\n clipboardImagesUnavailableWeb: params(\n 'Pasted design includes {count} images that cannot be loaded in the web app. Use the desktop app to include them.'\n ),\n clipboardImageFetchFailed:\n 'Failed to fetch 1 image from Figma. Check that the source file is accessible and try again.',\n clipboardImagesFetchFailed: params(\n 'Failed to fetch {count} images from Figma. Check that the source file is accessible and try again.'\n ),\n mermaidPasteFailed: params('Could not read the Mermaid diagram. {error}'),\n webPasteFailed: params('Could not paste the web content. {error}'),\n webCaptureUnreadable: 'The copied web capture could not be read. Capture the page again.',\n webCaptureNewer:\n 'The copied web capture is from a newer capture extension. Update Pairdraw to paste it.',\n webCaptureTruncated: 'The page was too large to capture whole, so part of it was left out.',\n recentFiles: 'Recent files',\n recentFilesDescription: 'Continue working on a design or start a new one.',\n noRecentFiles: 'No recent files yet',\n noRecentFilesDescription: 'Files you open in the desktop app will appear here.',\n searchFiles: 'Search files…',\n searchRecentAndStorageFiles: 'Search recent and storage files…',\n newDesign: 'New design',\n newFile: 'New file',\n createDesign: 'Design',\n createBoard: 'Board',\n createIn: params('Creates it in {place}'),\n noMatchingFiles: params('No files match “{query}”.'),\n documentActions: params('Actions for {name}'),\n deleteDocument: 'Delete',\n deleteDocumentConfirmation: params('Delete “{name}”?'),\n deleteDocumentDescription:\n 'The document is deleted for everyone who can open it. This can’t be undone.',\n deleteDocumentFailed: params('Couldn’t delete “{name}”. Try again.'),\n deleteDocumentsConfirmation: count({\n one: 'Delete {count} document?',\n many: 'Delete {count} documents?'\n }),\n deleteDocumentsDescription:\n 'The documents are deleted for everyone who can open them. This can’t be undone.',\n sortFiles: params('Sort by {order}'),\n sortByName: 'Name',\n sortByLastUsed: 'Last used',\n sortByCreated: 'Created',\n selectDocument: 'Select',\n deselectDocument: 'Deselect',\n documentSelected: 'Selected',\n selectAllDocuments: 'Select all',\n clearDocumentSelection: 'Clear selection',\n selectedDocuments: count({ one: '{count} selected', many: '{count} selected' }),\n selectionActions: 'Selected files',\n openSelectedDocuments: 'Open',\n removeFromRecents: 'Remove from Recents',\n saveDocumentAs: 'Save As…',\n savedDocumentAs: params('Saved a copy as “{name}”.'),\n saveDocumentAsFailed: params('Couldn’t save a copy of “{name}”. {error}'),\n designSystems: 'Design systems',\n designSystemsDescription: 'Start a new design with the components of a published library.',\n noDesignSystems: 'No design systems yet',\n noDesignSystemsDescription:\n 'Publish a library from a document’s Assets panel to start new designs from it here.',\n designSystemComponents: count({ one: '{count} component', many: '{count} components' }),\n newDesignWith: params('New design with {name}'),\n loadingDesignSystems: 'Loading design systems…',\n saveAsPrompt: 'Save as:',\n preparingDocument: 'Preparing document',\n browserFileAPINotSupported:\n \"Your browser doesn't support the local file API. Files will be downloaded instead of saved in place.\",\n fileChangedOnDisk: params('“{name}” changed on disk'),\n fileChangedOnDiskDescription:\n 'Another app changed this file while you have unsaved edits. Reload to open the file’s version and discard your edits, or ignore the change and keep editing. Saving replaces the file with your version.',\n reloadFromDisk: 'Reload',\n ignoreDiskChange: 'Ignore',\n pasteImportHeading: 'Import variables and styles?',\n pasteImportDescription:\n 'These layers use variables or styles from another document. Import them to keep the layers linked to them, or paste the layers as they look.',\n pasteImportConflicts: 'Already in this document',\n pasteImportConflictsHint:\n 'Use the ones this document has, or add the copied ones under a new name.',\n pasteImportUseExisting: 'Use existing',\n pasteImportAddRenamed: 'Add renamed',\n pasteImportVariables: count({ one: '{count} variable', many: '{count} variables' }),\n pasteImportFillStyle: 'Color style',\n pasteImportTextStyle: 'Text style',\n pasteImportEffectStyle: 'Effect style',\n pasteImportGridStyle: 'Grid style',\n pasteImportChoiceLabel: params('{name}: use existing or add renamed'),\n pasteImportAsIs: 'Paste as is',\n pasteImportConfirm: 'Yes, import'\n} as const\n\nexport const filesMessages = i18n('files', filesMessageDefaults)\n"],"mappings":";;;AAIA,MAAa,uBAAuB;CAClC,QAAQ;CACR,MAAM;CACN,UAAU,OAAO,cAAc;CAC/B,gBAAgB;CAChB,mBAAmB,OAAO,2BAA2B;CACrD,8BAA8B;CAC9B,SAAS;CACT,8BACE;CACF,+BAA+B,OAC7B,kHACF;CACA,2BACE;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,sBAAsB;CACtB,wBAAwB,OAAO,qCAAqC;CACpE,iBAAiB;CACjB,oBAAoB;AACtB;AAEA,MAAa,gBAAgB,KAAK,SAAS,oBAAoB"}
1
+ {"version":3,"file":"files.js","names":[],"sources":["../../../src/i18n/messages/files.ts"],"sourcesContent":["import { count, params } from '@nanostores/i18n'\n\nimport { i18n } from '#vue/i18n/create'\n\nexport const filesMessageDefaults = {\n newTab: 'New tab',\n home: 'Home',\n closeTab: params('Close {name}'),\n unsavedChanges: 'Unsaved changes',\n saveBeforeClosing: params('Save changes to “{name}”?'),\n saveBeforeClosingDescription: 'Your changes will be discarded if you close without saving.',\n discard: 'Don’t Save',\n clipboardImageUnavailableWeb:\n 'Pasted design includes 1 image that cannot be loaded in the web app. Use the desktop app to include it.',\n clipboardImagesUnavailableWeb: params(\n 'Pasted design includes {count} images that cannot be loaded in the web app. Use the desktop app to include them.'\n ),\n clipboardImageFetchFailed:\n 'Failed to fetch 1 image from Figma. Check that the source file is accessible and try again.',\n clipboardImagesFetchFailed: params(\n 'Failed to fetch {count} images from Figma. Check that the source file is accessible and try again.'\n ),\n clipboardPatternSourceMissing:\n 'Pasted design includes a pattern fill whose source layer is not in this file, so it draws its colour instead; copy the design together with the layer its pattern uses to keep it.',\n clipboardPatternSourcesMissing: params(\n 'Pasted design includes {count} pattern fills whose source layers are not in this file, so they draw their colour instead; copy the design together with the layers their patterns use to keep them.'\n ),\n mermaidPasteFailed: params('Could not read the Mermaid diagram. {error}'),\n codePasteUnreadable: 'This text is not code Pairdraw can read as layers.',\n codePasteTooLarge: 'This paste is too large to read as layers. Paste a smaller part of it.',\n codePasteLayers: params('Pasted {count} layers'),\n codePasteComponents: params('{count} components as frames'),\n codePastePlaceholders: params('{count} placeholders'),\n codePasteDropped: params('{count} dropped'),\n codePasteTokens: params('{count} tokens bound'),\n codePasteImages: params('{count} images as placeholders'),\n webPasteFailed: params('Could not paste the web content. {error}'),\n webCaptureUnreadable: 'The copied web capture could not be read. Capture the page again.',\n webCaptureNewer:\n 'The copied web capture is from a newer capture extension. Update Pairdraw to paste it.',\n webCaptureTruncated: 'The page was too large to capture whole, so part of it was left out.',\n recentFiles: 'Recent files',\n recentFilesDescription: 'Continue working on a design or start a new one.',\n noRecentFiles: 'No recent files yet',\n noRecentFilesDescription: 'Files you open in the desktop app will appear here.',\n searchFiles: 'Search files…',\n searchRecentAndStorageFiles: 'Search recent and storage files…',\n newDesign: 'New design',\n newFile: 'New file',\n createDesign: 'Design',\n createBoard: 'Board',\n createIn: params('Creates it in {place}'),\n noMatchingFiles: params('No files match “{query}”.'),\n documentActions: params('Actions for {name}'),\n deleteDocument: 'Delete',\n deleteDocumentConfirmation: params('Delete “{name}”?'),\n deleteDocumentDescription:\n 'The document is deleted for everyone who can open it. This can’t be undone.',\n deleteDocumentFailed: params('Couldn’t delete “{name}”. Try again.'),\n deleteDocumentsConfirmation: count({\n one: 'Delete {count} document?',\n many: 'Delete {count} documents?'\n }),\n deleteDocumentsDescription:\n 'The documents are deleted for everyone who can open them. This can’t be undone.',\n sortFiles: params('Sort by {order}'),\n sortByName: 'Name',\n sortByLastUsed: 'Last used',\n sortByCreated: 'Created',\n selectDocument: 'Select',\n deselectDocument: 'Deselect',\n documentSelected: 'Selected',\n selectAllDocuments: 'Select all',\n clearDocumentSelection: 'Clear selection',\n selectedDocuments: count({ one: '{count} selected', many: '{count} selected' }),\n selectionActions: 'Selected files',\n openSelectedDocuments: 'Open',\n removeFromRecents: 'Remove from Recents',\n saveDocumentAs: 'Save As…',\n savedDocumentAs: params('Saved a copy as “{name}”.'),\n saveDocumentAsFailed: params('Couldn’t save a copy of “{name}”. {error}'),\n designSystems: 'Design systems',\n designSystemsDescription: 'Start a new design with the components of a published library.',\n noDesignSystems: 'No design systems yet',\n noDesignSystemsDescription:\n 'Publish a library from a document’s Assets panel to start new designs from it here.',\n designSystemComponents: count({ one: '{count} component', many: '{count} components' }),\n newDesignWith: params('New design with {name}'),\n loadingDesignSystems: 'Loading design systems…',\n saveAsPrompt: 'Save as:',\n preparingDocument: 'Preparing document',\n loading: 'Loading…',\n preparationReading: 'Reading document',\n preparationDecoding: 'Decoding Figma document',\n preparationMaterializing: 'Preparing layers',\n preparationPopulatingPage: 'Preparing page',\n preparationResolvingFonts: 'Resolving fonts',\n preparationResolvingFallbacks: 'Finalizing typography',\n preparationLayout: 'Computing layout',\n preparationDrawingShaders: 'Drawing shaders',\n preparationPreparingRender: 'Preparing canvas',\n browserFileAPINotSupported:\n \"Your browser doesn't support the local file API. Files will be downloaded instead of saved in place.\",\n fileChangedOnDisk: params('“{name}” changed on disk'),\n fileChangedOnDiskDescription:\n 'Another app changed this file while you have unsaved edits. Reload to open the file’s version and discard your edits, or ignore the change and keep editing. Saving replaces the file with your version.',\n reloadFromDisk: 'Reload',\n ignoreDiskChange: 'Ignore',\n pasteImportHeading: 'Import variables and styles?',\n pasteImportDescription:\n 'These layers use variables or styles from another document. Import them to keep the layers linked to them, or paste the layers as they look.',\n pasteImportConflicts: 'Already in this document',\n pasteImportConflictsHint:\n 'Use the ones this document has, or add the copied ones under a new name.',\n pasteImportUseExisting: 'Use existing',\n pasteImportAddRenamed: 'Add renamed',\n pasteImportVariables: count({ one: '{count} variable', many: '{count} variables' }),\n pasteImportFillStyle: 'Color style',\n pasteImportTextStyle: 'Text style',\n pasteImportEffectStyle: 'Effect style',\n pasteImportGridStyle: 'Grid style',\n pasteImportChoiceLabel: params('{name}: use existing or add renamed'),\n pasteImportAsIs: 'Paste as is',\n pasteImportConfirm: 'Yes, import'\n} as const\n\nexport const filesMessages = i18n('files', filesMessageDefaults)\n"],"mappings":";;;AAIA,MAAa,uBAAuB;CAClC,QAAQ;CACR,MAAM;CACN,UAAU,OAAO,cAAc;CAC/B,gBAAgB;CAChB,mBAAmB,OAAO,2BAA2B;CACrD,8BAA8B;CAC9B,SAAS;CACT,8BACE;CACF,+BAA+B,OAC7B,kHACF;CACA,2BACE;CACF,4BAA4B,OAC1B,oGACF;CACA,+BACE;CACF,gCA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B;CAC3B,2BAA2B;CAC3B,+BAA+B;CAC/B,mBAAmB;CACnB,2BAA2B;CAC3B,4BAA4B;CAC5B,4BACE;CACF,mBAAmB,OAAO,0BAA0B;CACpD,8BACE;CACF,gBAAgB;CAChB,kBAAkB;CAClB,oBAAoB;CACpB,wBACE;CACF,sBAAsB;CACtB,0BACE;CACF,wBAAwB;CACxB,uBAAuB;CACvB,sBAAsB,MAAM;EAAE,KAAK;EAAoB,MAAM;CAAoB,CAAC;CAClF,sBAAsB;CACtB,sBAAsB;CACtB,wBAAwB;CACxB,sBAAsB;CACtB,wBAAwB,OAAO,qCAAqC;CACpE,iBAAiB;CACjB,oBAAoB;AACtB;AAEA,MAAa,gBAAgB,KAAK,SAAS,oBAAoB"}
@@ -71,6 +71,8 @@ declare const menuMessages: import("@nanostores/i18n").Messages<{
71
71
  readonly underline: "Underline";
72
72
  readonly strikethrough: "Strikethrough";
73
73
  readonly pasteHere: "Paste here";
74
+ readonly pasteAsCode: "Paste as code";
75
+ readonly pasteAsText: "Paste as text";
74
76
  readonly pasteToReplace: "Paste to replace";
75
77
  readonly replaceInInstance: "Replace inside instance";
76
78
  readonly copyProperties: "Copy properties";
@@ -1 +1 @@
1
- {"version":3,"file":"menu.d.ts","names":[],"sources":["../../../src/i18n/messages/menu.ts"],"mappings":";cAgIa,yCAAY"}
1
+ {"version":3,"file":"menu.d.ts","names":[],"sources":["../../../src/i18n/messages/menu.ts"],"mappings":";cAkIa,yCAAY"}