@pairdraw/vue 0.16.2 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/canvas/CanvasRoot.vue.js +3 -1
- package/dist/canvas/CanvasRoot.vue.js.map +1 -1
- package/dist/canvas/surface/kit-loader.js +22 -14
- package/dist/canvas/surface/kit-loader.js.map +1 -1
- package/dist/canvas/surface/lifecycle.js +36 -3
- package/dist/canvas/surface/lifecycle.js.map +1 -1
- package/dist/canvas/surface/types.d.ts +11 -0
- package/dist/canvas/surface/types.d.ts.map +1 -1
- package/dist/canvas/surface/use.js +2 -1
- package/dist/canvas/surface/use.js.map +1 -1
- package/dist/canvas/useCanvasInput.d.ts +20 -0
- package/dist/controls/appearance/use.d.ts +1 -1
- package/dist/controls/binding-provider/create.js +18 -0
- package/dist/controls/binding-provider/create.js.map +1 -0
- package/dist/controls/number-variable-binding/index.d.ts +2 -1
- package/dist/controls/number-variable-binding/index.js +2 -1
- package/dist/controls/number-variable-binding/scale.d.ts +19 -0
- package/dist/controls/number-variable-binding/scale.d.ts.map +1 -0
- package/dist/controls/number-variable-binding/scale.js +25 -0
- package/dist/controls/number-variable-binding/scale.js.map +1 -0
- package/dist/controls/selection-layout/use.d.ts.map +1 -1
- package/dist/controls/selection-layout/use.js +1 -1
- package/dist/controls/selection-layout/use.js.map +1 -1
- package/dist/i18n/locales/de/ai.json.js +13 -1
- package/dist/i18n/locales/de/automation.json.js +2 -0
- package/dist/i18n/locales/de/diagnostics.json.js +1 -0
- package/dist/i18n/locales/es/ai.json.js +13 -1
- package/dist/i18n/locales/es/automation.json.js +2 -0
- package/dist/i18n/locales/es/diagnostics.json.js +1 -0
- package/dist/i18n/locales/fr/ai.json.js +13 -1
- package/dist/i18n/locales/fr/automation.json.js +2 -0
- package/dist/i18n/locales/fr/diagnostics.json.js +1 -0
- package/dist/i18n/locales/it/ai.json.js +13 -1
- package/dist/i18n/locales/it/automation.json.js +2 -0
- package/dist/i18n/locales/it/diagnostics.json.js +1 -0
- package/dist/i18n/locales/ja/ai.json.js +13 -1
- package/dist/i18n/locales/ja/automation.json.js +2 -0
- package/dist/i18n/locales/ja/diagnostics.json.js +1 -0
- package/dist/i18n/locales/pl/ai.json.js +13 -1
- package/dist/i18n/locales/pl/automation.json.js +2 -0
- package/dist/i18n/locales/pl/diagnostics.json.js +1 -0
- package/dist/i18n/locales/ru/ai.json.js +13 -1
- package/dist/i18n/locales/ru/automation.json.js +2 -0
- package/dist/i18n/locales/ru/diagnostics.json.js +1 -0
- package/dist/i18n/locales/zh-cn/ai.json.js +13 -1
- package/dist/i18n/locales/zh-cn/automation.json.js +2 -0
- package/dist/i18n/locales/zh-cn/diagnostics.json.js +1 -0
- package/dist/i18n/messages/ai.d.ts +28 -0
- package/dist/i18n/messages/ai.d.ts.map +1 -1
- package/dist/i18n/messages/ai.js +12 -0
- package/dist/i18n/messages/ai.js.map +1 -1
- package/dist/i18n/messages/automation.d.ts +2 -0
- package/dist/i18n/messages/automation.d.ts.map +1 -1
- package/dist/i18n/messages/automation.js +2 -0
- package/dist/i18n/messages/automation.js.map +1 -1
- package/dist/i18n/messages/diagnostics.d.ts +1 -0
- package/dist/i18n/messages/diagnostics.d.ts.map +1 -1
- package/dist/i18n/messages/diagnostics.js +1 -0
- package/dist/i18n/messages/diagnostics.js.map +1 -1
- package/dist/i18n/messages.d.ts +31 -0
- package/dist/i18n/useI18n.d.ts +124 -0
- package/dist/i18n/useI18n.d.ts.map +1 -1
- package/dist/primitives/BindableValue/BindableValueRoot.vue.d.ts.map +1 -1
- package/dist/primitives/BindableValue/BindableValueRoot.vue.js +3 -3
- package/dist/primitives/BindableValue/BindableValueRoot.vue.js.map +1 -1
- 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 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 chatAgentWorkingOn: params('{agent} is working on “{page}”'),\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 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: 'Steer the agent… Alt+Enter 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 toolInput: 'Input',\n toolOutput: 'Output',\n toolDetails: 'Tool call details',\n toolSteps: params('Earlier steps: {count}'),\n toolStepsFailed: params('failed: {count}'),\n showNodeOnCanvas: params('Show {name} on canvas'),\n toolChanges: 'Changes',\n changeHighlight: 'Highlight',\n changeBefore: 'Before',\n changeAfter: 'After',\n changeSplit: 'Before and after split',\n changeStructure: 'Structure changes',\n changedPixels: params('{percent}% of pixels changed'),\n noVisibleChange: 'No visible change',\n changePreview: 'Change previews',\n changePreviewHint:\n 'Before and after images kept with each AI edit in the chat history. Larger previews take more storage.',\n changePreviewOff: 'Off, structure only',\n /** Home's prompt that starts a new design in the AI chat. */\n promptStartTitle: 'What do you want to design?',\n promptStartLabel: 'Describe a design',\n promptStartPlaceholder: 'A sign-in screen for a banking app, a pricing section, a dashboard…',\n /** The prompt over an empty page that starts the AI chat. */\n canvasPromptTitle: 'Start with a prompt',\n canvasPromptDescription: 'Describe what to design, and the AI agent builds it on this page.',\n canvasPromptClose: 'Hide prompt',\n /** Example prompts under Home's and the empty page's prompt; picking one fills the field. */\n promptExamples: 'Examples',\n promptExampleLanding: 'Landing page',\n promptExampleLandingPrompt:\n 'A landing page for a coffee subscription with a hero, three plan cards, testimonials, and a footer',\n promptExampleSignIn: 'Sign-in screen',\n promptExampleSignInPrompt:\n 'A mobile sign-in screen for a banking app with email and password fields, a Face ID button, and a sign-up link',\n promptExampleDashboard: 'Dashboard',\n promptExampleDashboardPrompt:\n 'An analytics dashboard with a sidebar, four KPI cards, a revenue line chart, and a table of recent orders',\n promptExamplePricing: 'Pricing',\n promptExamplePricingPrompt:\n 'A pricing section with three plans, a monthly and yearly switch, and the recommended plan highlighted',\n /** What Home offers to create, as chips above its prompt; the choice guides the agent. */\n creationKinds: 'What to create',\n creationLanding: 'Landing page',\n creationMobile: 'Mobile app',\n creationWeb: 'Web app',\n creationSlides: 'Slides',\n creationDashboard: 'Dashboard',\n creationOther: 'Something else…',\n /** Heads the guide a chosen kind adds to the prompt; `kind` is the chip's name. */\n creationGuide: params('Creation guide — {kind}:'),\n /** Home's ways to start from something that exists. */\n importFromFigma: 'Import from Figma',\n importFromBrowser: 'Import from browser',\n recreateScreenshot: 'Recreate a screenshot',\n recreateScreenshotPrompt: 'Recreate this screenshot as an editable design.',\n /** After a sticky note's text sent as a prompt; `note` is a reference to the note. */\n stickyPromptSource: params('From the sticky note {note}'),\n /** What the chat is asked when comment threads are applied with AI; the threads follow. */\n commentPromptApply:\n 'Apply the feedback in this comment thread, then reply to it with what you changed and resolve it.',\n commentPromptApplyAll:\n 'Apply the feedback in these comment threads, then reply to each with what you changed and resolve it.',\n commentPromptThread: params('Thread {id}'),\n commentPromptThreadOnLayer: params('Thread {id} on {layer}'),\n canvasPrompt: 'Prompt on the canvas',\n canvasPromptHint:\n 'Show a prompt at the bottom of the canvas while the chat is closed. What you write there goes to the chat.',\n animateEdits: 'Animate AI edits',\n animateEditsHint:\n 'Layers the AI adds trace in one after another, and the frames it works in shimmer until it finishes. Follows the Animations setting.',\n /** The notice once an agent's run of edits ends; its action shows the layers it touched. */\n editSummary: params('AI edits done · new layers: {added} · changed: {changed}'),\n editSummaryAdded: params('AI edits done · new layers: {added}'),\n editSummaryChanged: params('AI edits done · changed layers: {changed}'),\n editSummaryShow: 'Show',\n changePreviewSmall: 'Small (240 px)',\n changePreviewMedium: 'Medium (480 px)',\n changePreviewLarge: 'Large (960 px)',\n unknownTool: 'Unknown tool',\n permissionRequestTitle: 'Permission request',\n permissionRequest: params('{tool} is requesting permission.'),\n baseURLPlaceholder: 'Base URL (e.g. http://localhost:11434/v1)',\n provider: 'AI Provider',\n providerSettings: 'Provider settings',\n openProviderSettings: 'Open provider settings',\n modelsTitle: 'Models',\n modelsDescription: 'Configure reusable models and their provider connections.',\n addModel: 'Add model',\n editModel: 'Edit model',\n modelName: 'Name',\n modelConfiguration: 'Model',\n connectionSettings: 'Connection',\n modelCapabilities: 'Capabilities',\n modelCapabilitiesDetected: 'Detected from the selected model.',\n modelCapabilitiesManual: 'Declare compatibility for this custom model.',\n modelCapabilityTools: 'Tool calling',\n modelCapabilityVision: 'Image input',\n modelCapabilityToolsShort: 'Tools',\n modelCapabilityVisionShort: 'Vision',\n selectDesignModel: 'Select design model',\n modelNeedsCredential: 'Needs key',\n modelAgentConnection: 'Agent',\n modelConnectionChecking: 'Checking…',\n modelNotInstalled: 'Not installed',\n modelInstalled: 'Installed',\n modelSignedOut: 'Signed out',\n modelToolsUnreachable: 'Tools unreachable',\n modelExternalConfig: 'External config',\n thinkingLevel: 'Thinking level',\n thinkingLevelDescription:\n 'How much the model reasons before answering. You can change it for each message in the chat.',\n thinkingDefault: 'Default',\n thinkingOff: 'Off',\n thinkingMinimal: 'Minimal',\n thinkingLow: 'Low',\n thinkingMedium: 'Medium',\n thinkingHigh: 'High',\n thinkingExtraHigh: 'Extra high',\n harnessToolPermissions: 'Tool permissions',\n harnessPermissionReads: 'Ask before edits and commands',\n harnessPermissionEdits: 'Ask before commands',\n harnessPermissionAll: 'Allow all tools',\n saveModel: 'Save model',\n deleteModel: 'Delete model',\n deleteModelDescription: 'Delete this model and remove its role assignments?',\n manageModelsAndRoles: 'Manage models and roles…',\n modelAssignments: 'Assignments',\n modelAssignmentsDescription: 'Choose which configured model handles each type of work.',\n modelRoleDesign: 'Design agent',\n modelRoleReview: 'Review',\n modelRoleFast: 'Fast tasks',\n modelRoleVision: 'Vision',\n modelRoleDesignDescription: 'AI chat and canvas edits',\n modelRoleReviewDescription: 'Explicit plan and design reviews',\n modelRoleFastDescription: 'Low-cost background work',\n modelRoleVisionDescription: 'Screenshots and image references',\n modelRoleUseDesign: 'Same as Design',\n noModel: 'None',\n apiKey: 'API Key',\n apiType: 'API Type',\n baseURL: 'Base URL',\n modelID: 'Model ID',\n selectModel: 'Select a model',\n searchModels: 'Search models…',\n recommendedModels: 'Recommended',\n latestModels: 'Latest',\n allModels: 'All models',\n latest: 'Latest',\n customModelID: 'Custom model ID',\n customModel: 'Custom model…',\n customModelGroup: 'Custom model',\n outputLimit: 'Output limit',\n outputLimitAutomatic: 'Automatic recommendation',\n maxOutputTokens: 'Max output tokens',\n chatAuthenticationFailed: 'Your provider API key is invalid or expired. Replace it in Settings.',\n chatSignInExpired: 'Your sign-in has expired. Sign in again in Settings.',\n chatPlanForbidden: 'Your plan can’t use the selected model. Choose another model in Settings.',\n chatForbidden: 'This API key cannot use the selected model. Check its model access.',\n chatInsufficientCredit:\n 'The provider account has insufficient credit or quota. Top it up and try again.',\n chatOutputLimit:\n 'The model ran out of output tokens while reasoning. Raise Max output tokens or lower reasoning effort.',\n chatModelNotFound: 'The selected model is unavailable. Choose another model in Settings.',\n chatNetworkFailed: 'Pairdraw could not reach the provider. Check your connection and endpoint.',\n chatRateLimited: 'The provider rate limit was reached. Wait a moment and try again.',\n chatRequestFailed: 'The model request failed. Check the provider settings and try again.',\n 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 chatPiSignIn:\n 'Pi isn’t signed in to a provider. Run pi in a terminal and type /login, or add an AI Gateway key.',\n chatPiModel:\n 'Pi has no model to use. Run pi in a terminal and type /model, or choose one in Settings.',\n completions: 'Completions',\n responses: 'Responses',\n aiSetupProgress: params('Step {current} of {total}'),\n aiSetupAdvanced: 'Advanced settings',\n aiSetupContinue: 'Continue',\n aiSetupGoalsTitle: 'What should AI help with?',\n aiSetupGoalDesign: 'Create and edit designs',\n aiSetupGoalDesignDescription: 'Describe a change and let AI edit the canvas.',\n aiSetupGoalVision: 'Review designs visually',\n aiSetupGoalVisionDescription:\n 'Let AI look at your designs to check spacing, alignment, and hierarchy.',\n aiSetupAccessTitle: 'What do you already use?',\n aiSetupAccessDescription: 'Select everything you have. If you have nothing yet, continue.',\n aiSetupAccessAgents: 'Coding agents on this computer',\n aiSetupAccessAgentsDescription:\n 'Use your existing subscription. The agent chooses its own model.',\n aiSetupAccessAgentsDesktop: 'Coding agents are available in the Pairdraw desktop app.',\n modelProviderSetUp: 'Set up',\n aiSetupAccessAPI: 'API accounts',\n aiSetupAccessServer: 'Local model or company server',\n aiSetupAccessMore: 'More providers',\n providerGroupAgents: 'Your agents',\n providerGroupProviders: 'Providers',\n aiSetupServerOther: 'Other server',\n aiSetupAccessServerDescription:\n 'Any server that speaks the OpenAI API, such as Ollama or LM Studio.',\n aiSetupConnectTitle: 'Connect your AI',\n aiSetupNothingDescription: 'Go back to choose other access, or set up AI in advanced settings.',\n aiSetupAgentDescription: params(\n 'Pairdraw starts {agent} when you send a message, with the account {agent} is signed in to.'\n ),\n aiSetupAgentOwnCredentials: params(\n 'Pairdraw starts {agent} when you send a message, with the providers and model set up in {agent}.'\n ),\n aiSetupAgentInstall: 'If it is not installed yet, run:',\n aiSetupAgentInstallSupported: 'Install the supported adapter:',\n aiSetupAgentChecking: 'Checking this computer…',\n aiSetupAgentInstalled: 'installed',\n aiSetupAgentNotFound: 'not found',\n aiSetupAgentMCP: 'Pairdraw MCP server',\n aiSetupAgentMCPInstall:\n 'Coding agents reach the canvas through Pairdraw’s MCP server. Install it with:',\n aiSetupAgentPromptHint: params(\n 'Already using {agent} or another coding agent? Copy the setup prompt and paste it there; it installs what Pairdraw needs.'\n ),\n aiSetupAgentInstallMCP: 'Install MCP server',\n aiSetupAgentUpdateMCP: 'Update MCP server',\n aiSetupAgentOutdated: 'update needed',\n aiSetupAgentInstalling: 'Installing…',\n aiSetupAgentGetCLI: params('Install {agent}'),\n aiSetupAgentNeedsNpm:\n 'Installing needs npm, which comes with Node.js. Install Node.js, then check again.',\n aiSetupAgentNeedsAdmin:\n 'Installing needs administrator rights, because npm keeps global packages in a protected folder. Run the command below in a terminal, or let your agent set up a folder you own.',\n aiSetupAgentInstallFailed:\n 'The installation didn’t finish. Check your connection, or run the command yourself.',\n aiSetupAgentMCPStartFailed:\n 'The MCP server is installed but didn’t start. Restart Pairdraw, then check again.',\n aiSetupAgentLookupFailed: 'Couldn’t check this computer. Try again.',\n aiSetupProblemInstallNeeded: params('{agent} needs its connector installed first.'),\n aiSetupAgentCopyPrompt: 'Copy setup prompt',\n aiSetupAgentCheckAgain: 'Check again',\n aiSetupAgentInstallRuns: params('Installing runs {command}.'),\n aiSetupDetectNotFound: 'Not found on this computer',\n aiSetupDetectFound: 'Found on this computer',\n aiSetupDetectSignedOut: 'Found · not signed in',\n aiSetupDetectSignedIn: 'Signed in',\n aiSetupDetectSignedInAs: params('Signed in · {account}'),\n aiSetupDetectExternalConfig: params('External config · {cloud}'),\n aiSetupAgentSignInBrowser: 'Finish signing in in your browser.',\n aiSetupAgentSignInOpenPage: 'Open the sign-in page',\n aiSetupAgentSignInCode: 'Code from the sign-in page, if it shows one',\n aiSetupAgentSignInSubmitCode: 'Submit code',\n aiSetupAgentSignInFailed: params('Couldn’t sign in to {agent}. Try again.'),\n aiSetupAgentToolsFailed: params(\n '{agent} can’t reach Pairdraw’s tools, so chats with it won’t start.'\n ),\n aiSetupAgentToolsHint:\n 'Check that Pairdraw’s MCP server is running in Settings → MCP, then press Retry.',\n aiSetupAgentAdapterMismatch: params(\n 'Pairdraw found {path}, another adapter it doesn’t support. Install the supported one, then remove this one or move it later on your PATH.'\n ),\n aiSetupConnect: params('Connect {agent}'),\n aiSetupConnecting: 'Connecting…',\n aiSetupConnectStepDetect: 'Check this computer',\n aiSetupConnectStepInstall: params('Install {agent} and Pairdraw’s MCP server'),\n aiSetupConnectStepSignIn: params('Sign in to {agent}'),\n aiSetupConnectStepTools: 'Reach Pairdraw’s tools',\n aiSetupConnectStepActivate: 'Use it in the chat',\n aiSetupConnectStepDone: 'done',\n aiSetupConnectStepRunning: 'in progress',\n aiSetupConnectStepFailed: 'needs attention',\n aiSetupConnectStepManual: 'run it yourself',\n aiSetupConnectStepPending: 'not started',\n aiSetupConnectSignInCommand: 'To sign in, run this in a terminal and choose a sign-in method:',\n aiSetupConnectCLIMissing: params('{agent} isn’t installed. Install it, then press Retry.'),\n aiSetupConnectCheckFailed: params('Couldn’t start {agent} to check its account. Try again.'),\n aiSetupConnectSignedOut: params('{agent} isn’t signed in yet. Press Retry to sign in.'),\n aiSetupConnectActivateFailed: params('Couldn’t switch the chat to {agent}. Try again.'),\n aiSetupPiDescription:\n 'Pairdraw runs Pi through its Harness companion and uses the providers you signed in to in Pi.',\n aiSetupPiCompanion: 'Harness companion',\n aiSetupPiInstallCompanion: 'Install companion',\n aiSetupPiUpdateCompanion: 'Update companion',\n aiSetupPiModel: params('Pi’s default model: {model}'),\n aiSetupPiNoModel: 'No default model set in Pi',\n piModelHint: 'A Pi model such as provider/model. Leave empty to use Pi’s default model.',\n aiSetupPiSignIn:\n 'To sign in to a provider or pick a default model, run pi in a terminal and type /login or /model.',\n aiSetupGetDesktop: 'Get the desktop app',\n companionPairTitle: 'Connect this tab to your computer?',\n companionPairDescription: params(\n 'Pairdraw’s companion will run coding agents on your computer for this tab. Connect only if you just started it and its terminal shows {fingerprint}.'\n ),\n companionPairPortWarning: params(\n 'This link uses port {port} instead of 7600. Connect only if you started the companion on that port.'\n ),\n companionPairConfirm: 'Connect',\n aiSetupCompanionDescription:\n 'In the browser, agents run on your computer through Pairdraw’s companion. Run this command in a terminal, then open the link it prints.',\n aiSetupCompanionConnected: params('Connected to your computer · companion {version}'),\n aiSetupCompanionDisconnect: 'Disconnect',\n aiSetupCompanionPairing: 'Connecting to your computer…',\n aiSetupCompanionRejected:\n 'That link expired or was already used. Press Enter in the companion’s terminal for a new one.',\n aiSetupCompanionRateLimited:\n 'Too many attempts. Wait a minute, then open a new link from the companion.',\n aiSetupCompanionUnreachable:\n 'The companion isn’t running. Start it again and open the link it prints.',\n aiSetupCompanionExpired: 'The companion restarted. Open the new link it printed.',\n aiSetupCompanionSafari:\n 'Safari doesn’t let websites reach programs on your computer. Use Chrome, Edge, or Firefox, or the desktop app.',\n aiSetupCompanionOutdated:\n 'The companion’s version doesn’t match this app. Stop it and start it again with this command:',\n aiSetupMeteredNote:\n 'OpenRouter gives you models from several vendors with one account and one key.',\n aiSetupSkillsTitle: 'Skills from your coding agents',\n aiSetupSkillsDescription:\n 'The design chat can use skills your coding agents installed. Most are coding workflows, so pick only the ones that help with design; Settings › Skills changes them later.',\n aiSetupReviewTitle: 'Review your setup',\n aiSetupAgentModel: 'Model chosen by the agent',\n aiSetupFinish: 'Finish setup',\n aiSetupSavedTitle: 'AI is ready',\n aiSetupSavedDescription: 'You can change models and roles anytime in Settings.',\n aiSetupRun: 'Run guided setup',\n aiSetupServerKeyHint: 'If your server does not check keys, enter any value.',\n aiSetupGapDesign: 'Nothing you selected can create and edit designs.',\n aiSetupGapVision: 'Nothing you selected can review images, so visual review would stay off.',\n aiSetupGapContinue: 'You can continue without it and add it later in Settings.',\n aiSetupGapAddOpenRouter: 'Add OpenRouter (pay as you go)',\n aiSetupGapRemoveOpenRouter: 'Don’t use OpenRouter',\n aiSetupGapCoveredByOpenRouter:\n 'OpenRouter will cover what your other choices can’t, billed per request.',\n aiSetupServerVision: 'This model can read images',\n aiSetupSavedKeyHint: 'Leave blank to keep the saved key.',\n aiSetupAlreadyConnected: 'Everything you selected is already connected.',\n aiSetupOpenRouterSignIn: 'Sign in with OpenRouter',\n aiSetupOpenRouterWaiting: 'Finish signing in to OpenRouter in your browser.',\n aiSetupSignInReopen: 'Open again',\n aiSetupOpenRouterOrKey: 'Or paste an API key',\n aiSetupOpenRouterBlocked:\n 'Your browser blocked the sign-in window. Allow pop-ups for Pairdraw and try again.',\n aiSetupSignInCancelled: 'Sign-in was cancelled.',\n aiSetupSignInExpired: 'Sign-in took too long. Try again.',\n aiSetupOpenRouterFailed: 'Couldn’t sign in to OpenRouter. Try again or paste an API key.',\n aiSetupOpenRouterSignedInTitle: 'Signed in to OpenRouter',\n aiSetupOpenRouterKeyLabel: params('· key “{label}”'),\n aiSetupOpenRouterVerifying: 'Checking your OpenRouter key…',\n aiSetupOpenRouterNoCredits:\n 'This OpenRouter account has no credits yet. Add credits on OpenRouter to use paid models such as the recommended one.',\n aiSetupSignInChange: 'Use a different account',\n aiSetupSignOut: 'Sign out',\n aiSetupAccessSubscriptions: 'Subscriptions',\n aiSetupAccessChatGPT: 'Use your ChatGPT plan’s models in Pairdraw’s own agent.',\n aiSetupChatGPTSignIn: 'Sign in with ChatGPT',\n aiSetupChatGPTWaiting: 'Finish signing in to ChatGPT in your browser.',\n aiSetupChatGPTSignedInTitle: 'Signed in to ChatGPT',\n aiSetupChatGPTFailed: 'Couldn’t sign in to ChatGPT. Try again.',\n aiSetupChatGPTPortInUse:\n 'Another sign-in, such as `codex login`, is using port 1455. Finish or close it, then try again.',\n aiSetupCallbackSignedIn: params(\n 'Signed in to {provider}. You can close this tab and return to Pairdraw.'\n ),\n aiSetupCallbackCancelled: params('{provider} sign-in was cancelled. You can close this tab.'),\n aiSetupCallbackStale:\n 'This sign-in link belongs to an earlier attempt. Start again from Pairdraw.',\n aiSetupChatGPTUsage: 'Replies count toward your ChatGPT plan’s usage limits.',\n aiSetupSavedSignInHint: 'Your saved sign-in will be used.',\n aiSetupUseRecommended: 'Use recommended setup',\n aiSetupRolesDescription:\n 'Choose a model for each kind of work. We picked recommended ones from what you connected; anything else you configured stays as it is.',\n chatReferenceLayers: 'Layers',\n chatReferencePages: 'Pages',\n chatReferenceSkills: 'Skills',\n chatReferenceCommands: 'Commands',\n openSkillSettings: params('Open skill “{name}”'),\n skillsDescription:\n 'Instructions the AI chat loads when a request matches their description. Upload a ZIP of a skill’s folder or a SKILL.md, or use the skills your coding agents installed.',\n skillsEnabledCount: params('{enabled} of {total} enabled'),\n searchSkills: 'Search skills',\n noMatchingSkills: 'No skills match your search.',\n skillsUpload: 'Upload skill',\n skillsUploadedSource: 'Uploaded',\n skillsProjectSource: 'Next to this document',\n skillsTrustFolder: 'Trust folder',\n skillsStopTrusting: 'Stop trusting',\n skillsTrustTitle: 'Trust this folder?',\n skillsTrustDescription: params(\n 'Skills in {folder} give the AI chat instructions it follows. Trust a folder only if you know where its skills come from.'\n ),\n skillsFolderUntrusted: 'Trust its folder to use this skill.',\n skillsAgentsSource: 'Shared agent skills',\n skillsClaudeSource: 'Claude Code skills',\n skillsNoUploads: 'No uploaded skills yet.',\n skillsNoneInFolder: 'No skills in this folder.',\n skillsProblems: 'Some folders could not be read as skills',\n skillsUploadFailed: 'Could not upload the skill',\n skillsUploadTooLarge: 'The file is larger than 10 MB.',\n skillsUploadNoSkill: 'The archive has no SKILL.md.',\n skillsUploadSeveral: 'The archive holds more than one skill. Upload them one at a time.',\n skillsUploadUnreadable: 'Choose a ZIP archive or a SKILL.md text file.',\n skillsDelete: 'Delete skill',\n skillsDeleteDescription: params('“{name}” will be removed from Pairdraw.'),\n skillsLocation: 'Location',\n skillsFiles: 'Files',\n skillsInstructions: 'Instructions',\n skillsWarnings: 'This skill departs from the Agent Skills specification',\n skillsUse: 'Use this skill',\n skillsUseDescription: 'The AI chat lists it and loads its instructions when a request matches.',\n skillsSourceOff: 'Skills from this folder are turned off.',\n skillsNotUsed: 'Not used',\n skillsNotTrusted: 'Not trusted',\n skillsShadowed: 'A skill with the same name from a source above is used instead.',\n skillsBuiltinSource: 'Built-in',\n pickSkill: 'Pick a skill',\n skillPickerYours: 'Your skills',\n skillPickerManage: 'Manage skills…',\n skillPickerNone: 'No skills are turned on.',\n builtinSkillLandingPage: 'Design a marketing landing page, from hero to footer.',\n builtinSkillMobileApp: 'Design phone app screens and flows for iOS or Android.',\n builtinSkillWebApp: 'Design web app screens around a shared app shell.',\n builtinSkillDashboard: 'Design dashboards with KPI tiles, charts, and tables.',\n builtinSkillSlides: 'Build a 16:9 slide deck with a consistent layout.',\n builtinSkillDesignSystem: 'Create light and dark tokens and core components.',\n builtinSkillTailwindV4: 'Design for a clean Tailwind CSS v4 export.',\n builtinSkillLayout: 'Fix spacing, alignment, and auto layout.',\n builtinSkillRestyle: 'Give an existing design a new visual direction.',\n builtinSkillDarkMode: 'Add a dark mode with color variables.',\n builtinSkillDesignReview: 'Review a design and list prioritized findings.',\n skillWarningPlainFrontmatter:\n 'The frontmatter is not valid YAML, so it was read line by line. Quote values that contain “: ”.',\n skillWarningNameFromFolder: 'The frontmatter has no name, so the folder name is used.',\n skillWarningLongName: params('The name is longer than {max} characters.'),\n skillWarningNameFormat: 'The name should use only lowercase letters, digits, and single hyphens.',\n skillWarningNameMismatch: 'The name does not match the folder name.',\n skillWarningLongDescription: params('The description is longer than {max} characters.'),\n skillErrorNoFrontmatter: 'SKILL.md does not start with YAML frontmatter between --- lines.',\n skillErrorInvalidFrontmatter: params('The SKILL.md frontmatter is invalid: {detail}'),\n skillErrorNoDescription: 'The SKILL.md frontmatter has no description.',\n skillErrorNoName: 'The SKILL.md frontmatter has no name.',\n chatReferenceCitations: 'Citations',\n researchSource: 'Source',\n researchRead: 'Read'\n} as const\n\nexport const aiMessages = i18n('ai', aiMessageDefaults)\n"],"mappings":";;;AAIA,MAAa,oBAAoB;CAC/B,cAAc;CACd,cAAc;CACd,mBAAmB;CACnB,kBAAkB;CAClB,sBAAsB;CACtB,gBAAgB;CAChB,cAAc;CACd,oBAAoB;CACpB,wBAAwB;CACxB,sBACE;CACF,0BAA0B;CAC1B,yBAAyB;CACzB,aAAa,OAAO,sBAAsB;CAC1C,kBAAkB;CAClB,wBAAwB,OAAO,+BAA+B;CAC9D,qBAAqB;CACrB,mBAAmB;CACnB,eAAe;CACf,qBAAqB;CACrB,mBACE;CACF,oBAAoB,OAAO,2CAA2C;CACtE,kBAAkB;CAClB,oBAAoB;CACpB,wBAAwB;CACxB,mBAAmB;CACnB,cAAc;CACd,aAAa;CACb,WAAW;CACX,cAAc;CACd,cAAc;CACd,cAAc;CACd,aAAa;CACb,aAAa;CACb,SAAS;CACT,cAAc;CACd,qBAAqB;CACrB,YAAY;CACZ,eAAe;CACf,iBAAiB;CACjB,YAAY;CACZ,WAAW;CACX,eAAe;CACf,kBAAkB;CAClB,wBAAwB;CACxB,uBAAuB,OAAO,gEAAgE;CAC9F,cAAc;CACd,mBACE;CACF,mBAAmB;CACnB,mBAAmB;CACnB,iBAAiB;CACjB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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 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: 'Steer the agent… Alt+Enter 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 toolInput: 'Input',\n toolOutput: 'Output',\n toolDetails: 'Tool call details',\n toolSteps: params('Earlier steps: {count}'),\n toolStepsFailed: params('failed: {count}'),\n showNodeOnCanvas: params('Show {name} on canvas'),\n toolChanges: 'Changes',\n changeHighlight: 'Highlight',\n changeBefore: 'Before',\n changeAfter: 'After',\n changeSplit: 'Before and after split',\n changeStructure: 'Structure changes',\n changedPixels: params('{percent}% of pixels changed'),\n noVisibleChange: 'No visible change',\n changePreview: 'Change previews',\n changePreviewHint:\n 'Before and after images kept with each AI edit in the chat history. Larger previews take more storage.',\n changePreviewOff: 'Off, structure only',\n /** Home's prompt that starts a new design in the AI chat. */\n promptStartTitle: 'What do you want to design?',\n promptStartLabel: 'Describe a design',\n promptStartPlaceholder: 'A sign-in screen for a banking app, a pricing section, a dashboard…',\n /** The prompt over an empty page that starts the AI chat. */\n canvasPromptTitle: 'Start with a prompt',\n canvasPromptDescription: 'Describe what to design, and the AI agent builds it on this page.',\n canvasPromptClose: 'Hide prompt',\n /** Example prompts under Home's and the empty page's prompt; picking one fills the field. */\n promptExamples: 'Examples',\n promptExampleLanding: 'Landing page',\n promptExampleLandingPrompt:\n 'A landing page for a coffee subscription with a hero, three plan cards, testimonials, and a footer',\n promptExampleSignIn: 'Sign-in screen',\n promptExampleSignInPrompt:\n 'A mobile sign-in screen for a banking app with email and password fields, a Face ID button, and a sign-up link',\n promptExampleDashboard: 'Dashboard',\n promptExampleDashboardPrompt:\n 'An analytics dashboard with a sidebar, four KPI cards, a revenue line chart, and a table of recent orders',\n promptExamplePricing: 'Pricing',\n promptExamplePricingPrompt:\n 'A pricing section with three plans, a monthly and yearly switch, and the recommended plan highlighted',\n /** What Home offers to create, as chips above its prompt; the choice guides the agent. */\n creationKinds: 'What to create',\n creationLanding: 'Landing page',\n creationMobile: 'Mobile app',\n creationWeb: 'Web app',\n creationSlides: 'Slides',\n creationDashboard: 'Dashboard',\n creationOther: 'Something else…',\n /** Heads the guide a chosen kind adds to the prompt; `kind` is the chip's name. */\n creationGuide: params('Creation guide — {kind}:'),\n /** Home's ways to start from something that exists. */\n importFromFigma: 'Import from Figma',\n importFromBrowser: 'Import from browser',\n recreateScreenshot: 'Recreate a screenshot',\n recreateScreenshotPrompt: 'Recreate this screenshot as an editable design.',\n /** After a sticky note's text sent as a prompt; `note` is a reference to the note. */\n stickyPromptSource: params('From the sticky note {note}'),\n /** What the chat is asked when comment threads are applied with AI; the threads follow. */\n commentPromptApply:\n 'Apply the feedback in this comment thread, then reply to it with what you changed and resolve it.',\n commentPromptApplyAll:\n 'Apply the feedback in these comment threads, then reply to each with what you changed and resolve it.',\n commentPromptThread: params('Thread {id}'),\n commentPromptThreadOnLayer: params('Thread {id} on {layer}'),\n canvasPrompt: 'Prompt on the canvas',\n canvasPromptHint:\n 'Show a prompt at the bottom of the canvas while the chat is closed. What you write there goes to the chat.',\n animateEdits: 'Animate AI edits',\n animateEditsHint:\n 'Layers the AI adds trace in one after another, and the frames it works in shimmer until it finishes. Follows the Animations setting.',\n /** The notice once an agent's run of edits ends; its action shows the layers it touched. */\n editSummary: params('AI edits done · new layers: {added} · changed: {changed}'),\n editSummaryAdded: params('AI edits done · new layers: {added}'),\n editSummaryChanged: params('AI edits done · changed layers: {changed}'),\n editSummaryShow: 'Show',\n changePreviewSmall: 'Small (240 px)',\n changePreviewMedium: 'Medium (480 px)',\n changePreviewLarge: 'Large (960 px)',\n unknownTool: 'Unknown tool',\n permissionRequestTitle: 'Permission request',\n permissionRequest: params('{tool} is requesting permission.'),\n baseURLPlaceholder: 'Base URL (e.g. http://localhost:11434/v1)',\n provider: 'AI Provider',\n providerSettings: 'Provider settings',\n openProviderSettings: 'Open provider settings',\n modelsTitle: 'Models',\n modelsDescription: 'Configure reusable models and their provider connections.',\n addModel: 'Add model',\n editModel: 'Edit model',\n modelName: 'Name',\n modelConfiguration: 'Model',\n connectionSettings: 'Connection',\n modelCapabilities: 'Capabilities',\n modelCapabilitiesDetected: 'Detected from the selected model.',\n modelCapabilitiesManual: 'Declare compatibility for this custom model.',\n modelCapabilityTools: 'Tool calling',\n modelCapabilityVision: 'Image input',\n modelCapabilityToolsShort: 'Tools',\n modelCapabilityVisionShort: 'Vision',\n selectDesignModel: 'Select design model',\n modelNeedsCredential: 'Needs key',\n modelAgentConnection: 'Agent',\n modelConnectionChecking: 'Checking…',\n modelNotInstalled: 'Not installed',\n modelInstalled: 'Installed',\n modelSignedOut: 'Signed out',\n modelToolsUnreachable: 'Tools unreachable',\n modelExternalConfig: 'External config',\n thinkingLevel: 'Thinking level',\n thinkingLevelDescription:\n 'How much the model reasons before answering. You can change it for each message in the chat.',\n thinkingDefault: 'Default',\n thinkingOff: 'Off',\n thinkingMinimal: 'Minimal',\n thinkingLow: 'Low',\n thinkingMedium: 'Medium',\n thinkingHigh: 'High',\n thinkingExtraHigh: 'Extra high',\n harnessToolPermissions: 'Tool permissions',\n harnessPermissionReads: 'Ask before edits and commands',\n harnessPermissionEdits: 'Ask before commands',\n harnessPermissionAll: 'Allow all tools',\n saveModel: 'Save model',\n deleteModel: 'Delete model',\n deleteModelDescription: 'Delete this model and remove its role assignments?',\n manageModelsAndRoles: 'Manage models and roles…',\n modelAssignments: 'Assignments',\n modelAssignmentsDescription: 'Choose which configured model handles each type of work.',\n modelRoleDesign: 'Design agent',\n modelRoleReview: 'Review',\n modelRoleFast: 'Fast tasks',\n modelRoleVision: 'Vision',\n modelRoleDesignDescription: 'AI chat and canvas edits',\n modelRoleReviewDescription: 'Explicit plan and design reviews',\n modelRoleFastDescription: 'Low-cost background work',\n modelRoleVisionDescription: 'Screenshots and image references',\n modelRoleUseDesign: 'Same as Design',\n noModel: 'None',\n apiKey: 'API Key',\n apiType: 'API Type',\n baseURL: 'Base URL',\n modelID: 'Model ID',\n selectModel: 'Select a model',\n searchModels: 'Search models…',\n recommendedModels: 'Recommended',\n latestModels: 'Latest',\n allModels: 'All models',\n latest: 'Latest',\n customModelID: 'Custom model ID',\n customModel: 'Custom model…',\n customModelGroup: 'Custom model',\n outputLimit: 'Output limit',\n outputLimitAutomatic: 'Automatic recommendation',\n maxOutputTokens: 'Max output tokens',\n chatAuthenticationFailed: 'Your provider API key is invalid or expired. Replace it in Settings.',\n chatSignInExpired: 'Your sign-in has expired. Sign in again in Settings.',\n chatPlanForbidden: 'Your plan can’t use the selected model. Choose another model in Settings.',\n chatForbidden: 'This API key cannot use the selected model. Check its model access.',\n chatInsufficientCredit:\n 'The provider account has insufficient credit or quota. Top it up and try again.',\n chatOutputLimit:\n 'The model ran out of output tokens while reasoning. Raise Max output tokens or lower reasoning effort.',\n chatModelNotFound: 'The selected model is unavailable. Choose another model in Settings.',\n chatNetworkFailed: 'Pairdraw could not reach the provider. Check your connection and endpoint.',\n chatRateLimited: 'The provider rate limit was reached. Wait a moment and try again.',\n chatRequestFailed: 'The model request failed. Check the provider settings and try again.',\n chatProviderStalled: 'The provider stopped responding. Check your connection and try again.',\n chatEmptyReply: 'The model returned no reply. Try again.',\n chatAgentStartTimeout:\n 'The coding agent did not start in time. Check that it runs on this computer and try again.',\n openProviderSettingsAction: 'Open settings',\n cloudWorkspace: 'Workspace',\n cloudWorkspaceHint: 'The workspace whose plan pays for these requests.',\n cloudAIUnavailable: 'Sign in to a Pairdraw Cloud server that offers AI to use these models.',\n cloudAINoWorkspace: 'None of your workspaces on this server includes AI.',\n cloudAICatalogFailed:\n 'Pairdraw Cloud could not list its models. Check your connection and try again.',\n cloudAIWorkspacesFailed:\n 'Pairdraw Cloud could not check which of your workspaces include AI. Check your connection and try again.',\n chatCloudCreditsExhausted:\n 'This workspace has used this month’s AI credits. Manage its plan to add more.',\n chatCloudAllowanceUsed:\n 'This workspace has used this month’s AI allowance. Ask your Cloud administrator to raise it.',\n chatCloudAllowanceUsedUntil: params(\n 'This workspace has used this month’s AI allowance. It renews on {date}. Ask your Cloud administrator to raise it sooner.'\n ),\n connectionTestCloudCreditsExhausted: 'This workspace has no AI credits left this month.',\n cloudCreditsLeft: params('{credits} credits left'),\n cloudCreditsRenew: params('Renews {date}'),\n manageCloudPlanAction: 'Manage plan',\n chatCloudUnavailable:\n 'Pairdraw Cloud AI is unavailable. Sign in to Pairdraw Cloud and choose a workspace in Settings.',\n visionModelUnavailable: 'Choose a Vision model in Settings before attaching images.',\n chatPiCompanionMissing: 'Pi needs the Harness companion. Run guided setup to install it.',\n chatPiCompanionOutdated:\n 'The Harness companion doesn’t match this version of Pairdraw. Run guided setup to update it.',\n chatMCPOutdated:\n 'Pairdraw’s MCP server doesn’t match this version of Pairdraw. Run guided setup to update it.',\n 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,sBA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,mBAAmB;CACnB,oBAAoB;CACpB,kBAAkB;CAClB,wBAAwB,OACtB,0HACF;CACA,uBAAuB;CACvB,oBAAoB;CACpB,oBAAoB;CACpB,iBAAiB;CACjB,oBAAoB;CACpB,gBAAgB;CAChB,oBAAoB;CACpB,sBAAsB;CACtB,qBAAqB;CACrB,qBAAqB;CACrB,wBAAwB;CACxB,cAAc;CACd,yBAAyB,OAAO,yCAAyC;CACzE,gBAAgB;CAChB,aAAa;CACb,oBAAoB;CACpB,gBAAgB;CAChB,WAAW;CACX,sBAAsB;CACtB,iBAAiB;CACjB,eAAe;CACf,kBAAkB;CAClB,gBAAgB;CAChB,qBAAqB;CACrB,WAAW;CACX,kBAAkB;CAClB,mBAAmB;CACnB,iBAAiB;CACjB,yBAAyB;CACzB,uBAAuB;CACvB,oBAAoB;CACpB,uBAAuB;CACvB,oBAAoB;CACpB,0BAA0B;CAC1B,wBAAwB;CACxB,oBAAoB;CACpB,qBAAqB;CACrB,sBAAsB;CACtB,0BAA0B;CAC1B,8BACE;CACF,4BAA4B;CAC5B,sBAAsB,OAAO,2CAA2C;CACxE,wBAAwB;CACxB,0BAA0B;CAC1B,6BAA6B,OAAO,kDAAkD;CACtF,yBAAyB;CACzB,8BAA8B,OAAO,+CAA+C;CACpF,yBAAyB;CACzB,kBAAkB;CAClB,wBAAwB;CACxB,gBAAgB;CAChB,cAAc;AAChB;AAEA,MAAa,aAAa,KAAK,MAAM,iBAAiB"}
|
|
@@ -19,6 +19,8 @@ declare const automationMessages: import("@nanostores/i18n").Messages<{
|
|
|
19
19
|
readonly mcpFailurePermissionHint: "The system denied the command. Reinstall Pairdraw with its shell permissions, or start the server manually.";
|
|
20
20
|
readonly mcpFailureExited: "MCP server stopped during startup";
|
|
21
21
|
readonly mcpFailureExitedHint: "The process exited before it became ready.";
|
|
22
|
+
readonly mcpFailureRestartExhausted: "MCP server kept stopping";
|
|
23
|
+
readonly mcpFailureRestartExhaustedHint: "It was started again several times and did not stay running. Restart it from Settings, or restart the app.";
|
|
22
24
|
readonly mcpFailureTimeout: "MCP server did not respond in time";
|
|
23
25
|
readonly mcpFailureTimeoutHint: "It did not become ready within the startup timeout.";
|
|
24
26
|
readonly mcpFailureRejected: "MCP server rejected the local connection";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automation.d.ts","names":[],"sources":["../../../src/i18n/messages/automation.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"automation.d.ts","names":[],"sources":["../../../src/i18n/messages/automation.ts"],"mappings":";cAoLa,+CAAkB"}
|
|
@@ -17,6 +17,8 @@ const automationMessageDefaults = {
|
|
|
17
17
|
mcpFailurePermissionHint: "The system denied the command. Reinstall Pairdraw with its shell permissions, or start the server manually.",
|
|
18
18
|
mcpFailureExited: "MCP server stopped during startup",
|
|
19
19
|
mcpFailureExitedHint: "The process exited before it became ready.",
|
|
20
|
+
mcpFailureRestartExhausted: "MCP server kept stopping",
|
|
21
|
+
mcpFailureRestartExhaustedHint: "It was started again several times and did not stay running. Restart it from Settings, or restart the app.",
|
|
20
22
|
mcpFailureTimeout: "MCP server did not respond in time",
|
|
21
23
|
mcpFailureTimeoutHint: "It did not become ready within the startup timeout.",
|
|
22
24
|
mcpFailureRejected: "MCP server rejected the local connection",
|
|
@@ -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 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,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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,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}. 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"}
|
|
@@ -19,6 +19,7 @@ declare const diagnosticsMessages: import("@nanostores/i18n").Messages<{
|
|
|
19
19
|
readonly documentFailed: "Document operation failed";
|
|
20
20
|
readonly acpFailed: "ACP transport failed";
|
|
21
21
|
readonly mcpFailed: "MCP connection failed";
|
|
22
|
+
readonly mcpServerExited: "MCP server exited";
|
|
22
23
|
readonly modelStep: import("@nanostores/i18n").TranslationFunction<[{
|
|
23
24
|
model: string | number;
|
|
24
25
|
} & object], string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diagnostics.d.ts","names":[],"sources":["../../../src/i18n/messages/diagnostics.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"diagnostics.d.ts","names":[],"sources":["../../../src/i18n/messages/diagnostics.ts"],"mappings":";cA+Ea,gDAAmB"}
|
|
@@ -21,6 +21,7 @@ const diagnosticsMessageDefaults = {
|
|
|
21
21
|
documentFailed: "Document operation failed",
|
|
22
22
|
acpFailed: "ACP transport failed",
|
|
23
23
|
mcpFailed: "MCP connection failed",
|
|
24
|
+
mcpServerExited: "MCP server exited",
|
|
24
25
|
modelStep: params("Model step · {model}"),
|
|
25
26
|
modelStepTokens: params("{input} in · {output} out tokens"),
|
|
26
27
|
toolCompleted: params("Tool: {tool}"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diagnostics.js","names":[],"sources":["../../../src/i18n/messages/diagnostics.ts"],"sourcesContent":["import { params } from '@nanostores/i18n'\n\nimport { i18n } from '#vue/i18n/create'\n\nexport const diagnosticsMessageDefaults = {\n usageDescription: 'Local usage summaries from recorded AI requests.',\n usageRequests: 'Requests',\n usageCompleted: 'Completed',\n usageInputTokens: 'Input tokens',\n usageOutputTokens: 'Output tokens',\n usageCachedInputTokens: 'Cached input tokens',\n usageCacheWriteTokens: 'Cache write tokens',\n usageByModel: 'By model',\n usageNoData: 'No usage data recorded.',\n usageNotReported: 'Not reported',\n usageCacheNote: 'Cache values are shown only when the provider reports them.',\n title: 'Diagnostics',\n chatCompleted: 'AI chat completed',\n chatStopped: 'AI chat stopped',\n chatFailed: 'AI chat failed',\n storageFailed: 'Storage operation failed',\n documentFailed: 'Document operation failed',\n acpFailed: 'ACP transport failed',\n mcpFailed: 'MCP connection failed',\n modelStep: params('Model step · {model}'),\n modelStepTokens: params('{input} in · {output} out tokens'),\n toolCompleted: params('Tool: {tool}'),\n toolFailed: params('Tool failed: {tool}'),\n durationMs: params('{ms} ms'),\n runtimeError: params('Error: {name}'),\n preparationDocumentOpen: 'Open document',\n preparationDocumentReload: 'Reload document',\n preparationRecoveryRestore: 'Restore recovered document',\n preparationStorageOpen: 'Open from cloud storage',\n preparationPageSwitch: 'Switch page',\n preparationFontRetry: 'Retry fonts',\n preparationDomImport: 'Import HTML',\n preparationDemoLoad: 'Load demo document',\n preparationCompleted: params('Completed · {duration}'),\n preparationCancelled: params('Cancelled: {reason} · {duration}'),\n preparationFailed: params('Failed: {code} · {duration}'),\n filterLevel: 'Event level',\n filterAll: 'All',\n filterProblems: 'Errors and warnings',\n filterCategory: 'Event category',\n allCategories: 'All categories',\n categoryAI: 'AI',\n categoryDocument: 'Document',\n categoryRenderer: 'Renderer',\n categoryStorage: 'Storage',\n categorySync: 'Sync',\n categoryMCP: 'MCP',\n categoryRecovery: 'Recovery',\n categoryPerformance: 'Performance',\n categoryRuntime: 'Runtime',\n noMatchingEvents: 'No events match these filters.',\n showMore: 'Show more',\n showingEvents: params('{shown} of {total}'),\n retention: 'Diagnostics retention',\n retentionCustom: 'Custom…',\n retentionRange: params('Enter a whole number from {min} to {max}.'),\n retentionDescription: 'Keep up to this many recent events locally.',\n description:\n 'Store technical events locally to help troubleshoot Pairdraw. Prompts, design content, credentials, and API keys are excluded.',\n localDiagnostics: 'Local diagnostics',\n localDiagnosticsDescription: 'Keep recent technical events on this device.',\n usageHistory: 'Usage history',\n usageHistoryDescription: 'Keep local AI usage summaries.',\n eventCount: params('{count} events · {size} KB'),\n copy: 'Copy diagnostics',\n save: 'Save diagnostics…',\n clear: 'Clear',\n clearDescription: 'This removes locally stored diagnostic events from this device.',\n cleared: 'Diagnostics cleared.',\n copyFailed: 'Could not copy diagnostics to the clipboard.',\n saveFailed: 'Could not save diagnostics.'\n} as const\n\nexport const diagnosticsMessages = i18n('diagnostics', diagnosticsMessageDefaults)\n"],"mappings":";;;AAIA,MAAa,6BAA6B;CACxC,kBAAkB;CAClB,eAAe;CACf,gBAAgB;CAChB,kBAAkB;CAClB,mBAAmB;CACnB,wBAAwB;CACxB,uBAAuB;CACvB,cAAc;CACd,aAAa;CACb,kBAAkB;CAClB,gBAAgB;CAChB,OAAO;CACP,eAAe;CACf,aAAa;CACb,YAAY;CACZ,eAAe;CACf,gBAAgB;CAChB,WAAW;CACX,WAAW;CACX,WAAW,OAAO,sBAAsB;CACxC,iBAAiB,OAAO,kCAAkC;CAC1D,eAAe,OAAO,cAAc;CACpC,YAAY,OAAO,qBAAqB;CACxC,YAAY,OAAO,SAAS;CAC5B,cAAc,OAAO,eAAe;CACpC,yBAAyB;CACzB,2BAA2B;CAC3B,4BAA4B;CAC5B,wBAAwB;CACxB,uBAAuB;CACvB,sBAAsB;CACtB,sBAAsB;CACtB,qBAAqB;CACrB,sBAAsB,OAAO,wBAAwB;CACrD,sBAAsB,OAAO,kCAAkC;CAC/D,mBAAmB,OAAO,6BAA6B;CACvD,aAAa;CACb,WAAW;CACX,gBAAgB;CAChB,gBAAgB;CAChB,eAAe;CACf,YAAY;CACZ,kBAAkB;CAClB,kBAAkB;CAClB,iBAAiB;CACjB,cAAc;CACd,aAAa;CACb,kBAAkB;CAClB,qBAAqB;CACrB,iBAAiB;CACjB,kBAAkB;CAClB,UAAU;CACV,eAAe,OAAO,oBAAoB;CAC1C,WAAW;CACX,iBAAiB;CACjB,gBAAgB,OAAO,2CAA2C;CAClE,sBAAsB;CACtB,aACE;CACF,kBAAkB;CAClB,6BAA6B;CAC7B,cAAc;CACd,yBAAyB;CACzB,YAAY,OAAO,4BAA4B;CAC/C,MAAM;CACN,MAAM;CACN,OAAO;CACP,kBAAkB;CAClB,SAAS;CACT,YAAY;CACZ,YAAY;AACd;AAEA,MAAa,sBAAsB,KAAK,eAAe,0BAA0B"}
|
|
1
|
+
{"version":3,"file":"diagnostics.js","names":[],"sources":["../../../src/i18n/messages/diagnostics.ts"],"sourcesContent":["import { params } from '@nanostores/i18n'\n\nimport { i18n } from '#vue/i18n/create'\n\nexport const diagnosticsMessageDefaults = {\n usageDescription: 'Local usage summaries from recorded AI requests.',\n usageRequests: 'Requests',\n usageCompleted: 'Completed',\n usageInputTokens: 'Input tokens',\n usageOutputTokens: 'Output tokens',\n usageCachedInputTokens: 'Cached input tokens',\n usageCacheWriteTokens: 'Cache write tokens',\n usageByModel: 'By model',\n usageNoData: 'No usage data recorded.',\n usageNotReported: 'Not reported',\n usageCacheNote: 'Cache values are shown only when the provider reports them.',\n title: 'Diagnostics',\n chatCompleted: 'AI chat completed',\n chatStopped: 'AI chat stopped',\n chatFailed: 'AI chat failed',\n storageFailed: 'Storage operation failed',\n documentFailed: 'Document operation failed',\n acpFailed: 'ACP transport failed',\n mcpFailed: 'MCP connection failed',\n mcpServerExited: 'MCP server exited',\n modelStep: params('Model step · {model}'),\n modelStepTokens: params('{input} in · {output} out tokens'),\n toolCompleted: params('Tool: {tool}'),\n toolFailed: params('Tool failed: {tool}'),\n durationMs: params('{ms} ms'),\n runtimeError: params('Error: {name}'),\n preparationDocumentOpen: 'Open document',\n preparationDocumentReload: 'Reload document',\n preparationRecoveryRestore: 'Restore recovered document',\n preparationStorageOpen: 'Open from cloud storage',\n preparationPageSwitch: 'Switch page',\n preparationFontRetry: 'Retry fonts',\n preparationDomImport: 'Import HTML',\n preparationDemoLoad: 'Load demo document',\n preparationCompleted: params('Completed · {duration}'),\n preparationCancelled: params('Cancelled: {reason} · {duration}'),\n preparationFailed: params('Failed: {code} · {duration}'),\n filterLevel: 'Event level',\n filterAll: 'All',\n filterProblems: 'Errors and warnings',\n filterCategory: 'Event category',\n allCategories: 'All categories',\n categoryAI: 'AI',\n categoryDocument: 'Document',\n categoryRenderer: 'Renderer',\n categoryStorage: 'Storage',\n categorySync: 'Sync',\n categoryMCP: 'MCP',\n categoryRecovery: 'Recovery',\n categoryPerformance: 'Performance',\n categoryRuntime: 'Runtime',\n noMatchingEvents: 'No events match these filters.',\n showMore: 'Show more',\n showingEvents: params('{shown} of {total}'),\n retention: 'Diagnostics retention',\n retentionCustom: 'Custom…',\n retentionRange: params('Enter a whole number from {min} to {max}.'),\n retentionDescription: 'Keep up to this many recent events locally.',\n description:\n 'Store technical events locally to help troubleshoot Pairdraw. Prompts, design content, credentials, and API keys are excluded.',\n localDiagnostics: 'Local diagnostics',\n localDiagnosticsDescription: 'Keep recent technical events on this device.',\n usageHistory: 'Usage history',\n usageHistoryDescription: 'Keep local AI usage summaries.',\n eventCount: params('{count} events · {size} KB'),\n copy: 'Copy diagnostics',\n save: 'Save diagnostics…',\n clear: 'Clear',\n clearDescription: 'This removes locally stored diagnostic events from this device.',\n cleared: 'Diagnostics cleared.',\n copyFailed: 'Could not copy diagnostics to the clipboard.',\n saveFailed: 'Could not save diagnostics.'\n} as const\n\nexport const diagnosticsMessages = i18n('diagnostics', diagnosticsMessageDefaults)\n"],"mappings":";;;AAIA,MAAa,6BAA6B;CACxC,kBAAkB;CAClB,eAAe;CACf,gBAAgB;CAChB,kBAAkB;CAClB,mBAAmB;CACnB,wBAAwB;CACxB,uBAAuB;CACvB,cAAc;CACd,aAAa;CACb,kBAAkB;CAClB,gBAAgB;CAChB,OAAO;CACP,eAAe;CACf,aAAa;CACb,YAAY;CACZ,eAAe;CACf,gBAAgB;CAChB,WAAW;CACX,WAAW;CACX,iBAAiB;CACjB,WAAW,OAAO,sBAAsB;CACxC,iBAAiB,OAAO,kCAAkC;CAC1D,eAAe,OAAO,cAAc;CACpC,YAAY,OAAO,qBAAqB;CACxC,YAAY,OAAO,SAAS;CAC5B,cAAc,OAAO,eAAe;CACpC,yBAAyB;CACzB,2BAA2B;CAC3B,4BAA4B;CAC5B,wBAAwB;CACxB,uBAAuB;CACvB,sBAAsB;CACtB,sBAAsB;CACtB,qBAAqB;CACrB,sBAAsB,OAAO,wBAAwB;CACrD,sBAAsB,OAAO,kCAAkC;CAC/D,mBAAmB,OAAO,6BAA6B;CACvD,aAAa;CACb,WAAW;CACX,gBAAgB;CAChB,gBAAgB;CAChB,eAAe;CACf,YAAY;CACZ,kBAAkB;CAClB,kBAAkB;CAClB,iBAAiB;CACjB,cAAc;CACd,aAAa;CACb,kBAAkB;CAClB,qBAAqB;CACrB,iBAAiB;CACjB,kBAAkB;CAClB,UAAU;CACV,eAAe,OAAO,oBAAoB;CAC1C,WAAW;CACX,iBAAiB;CACjB,gBAAgB,OAAO,2CAA2C;CAClE,sBAAsB;CACtB,aACE;CACF,kBAAkB;CAClB,6BAA6B;CAC7B,cAAc;CACd,yBAAyB;CACzB,YAAY,OAAO,4BAA4B;CAC/C,MAAM;CACN,MAAM;CACN,OAAO;CACP,kBAAkB;CAClB,SAAS;CACT,YAAY;CACZ,YAAY;AACd;AAEA,MAAa,sBAAsB,KAAK,eAAe,0BAA0B"}
|
package/dist/i18n/messages.d.ts
CHANGED
|
@@ -158,11 +158,22 @@ declare const messageDefaults: {
|
|
|
158
158
|
readonly chatStorageFailed: "Chat history could not be saved. Keep this window open and try again.";
|
|
159
159
|
readonly chatHistoryFailed: "Could not update chat history. Try again.";
|
|
160
160
|
readonly chatInterrupted: "This response was interrupted.";
|
|
161
|
+
readonly chatAgentQuiet: import("@nanostores/i18n").TranslationFunction<[{
|
|
162
|
+
agent: string | number;
|
|
163
|
+
} & {
|
|
164
|
+
since: string | number;
|
|
165
|
+
} & object], string>;
|
|
166
|
+
readonly chatAgentWorkingIn: import("@nanostores/i18n").TranslationFunction<[{
|
|
167
|
+
agent: string | number;
|
|
168
|
+
} & {
|
|
169
|
+
document: string | number;
|
|
170
|
+
} & object], string>;
|
|
161
171
|
readonly chatAgentWorkingOn: import("@nanostores/i18n").TranslationFunction<[{
|
|
162
172
|
agent: string | number;
|
|
163
173
|
} & {
|
|
164
174
|
page: string | number;
|
|
165
175
|
} & object], string>;
|
|
176
|
+
readonly chatGoToDocument: "Go to document";
|
|
166
177
|
readonly chatGoToPage: "Go to page";
|
|
167
178
|
readonly chatAgentDetecting: "Looking for coding agents on this computer…";
|
|
168
179
|
readonly chatAgentUsing: import("@nanostores/i18n").TranslationFunction<[{
|
|
@@ -186,6 +197,20 @@ declare const messageDefaults: {
|
|
|
186
197
|
package: string | number;
|
|
187
198
|
} & object], string>;
|
|
188
199
|
readonly chatAgentInstall: "Install and connect";
|
|
200
|
+
readonly chatAcpNotRunning: "MCP server is not running. Make sure the editor is open.";
|
|
201
|
+
readonly chatAcpTimeout: "MCP server did not respond in time.";
|
|
202
|
+
readonly chatAcpNotInstalled: "ACP agent CLI is not installed.";
|
|
203
|
+
readonly chatAcpInstallAndRestart: import("@nanostores/i18n").TranslationFunction<[{
|
|
204
|
+
command: string | number;
|
|
205
|
+
} & object], string>;
|
|
206
|
+
readonly chatAcpInstallWith: import("@nanostores/i18n").TranslationFunction<[{
|
|
207
|
+
command: string | number;
|
|
208
|
+
} & {
|
|
209
|
+
installCommand: string | number;
|
|
210
|
+
} & object], string>;
|
|
211
|
+
readonly chatAcpSignInRequired: import("@nanostores/i18n").TranslationFunction<[{
|
|
212
|
+
agent: string | number;
|
|
213
|
+
} & object], string>;
|
|
189
214
|
readonly chatAgentPromptWaiting: import("@nanostores/i18n").TranslationFunction<[{
|
|
190
215
|
agent: string | number;
|
|
191
216
|
} & object], string>;
|
|
@@ -476,6 +501,9 @@ declare const messageDefaults: {
|
|
|
476
501
|
readonly chatNetworkFailed: "Pairdraw could not reach the provider. Check your connection and endpoint.";
|
|
477
502
|
readonly chatRateLimited: "The provider rate limit was reached. Wait a moment and try again.";
|
|
478
503
|
readonly chatRequestFailed: "The model request failed. Check the provider settings and try again.";
|
|
504
|
+
readonly chatProviderStalled: "The provider stopped responding. Check your connection and try again.";
|
|
505
|
+
readonly chatEmptyReply: "The model returned no reply. Try again.";
|
|
506
|
+
readonly chatAgentStartTimeout: "The coding agent did not start in time. Check that it runs on this computer and try again.";
|
|
479
507
|
readonly openProviderSettingsAction: "Open settings";
|
|
480
508
|
readonly cloudWorkspace: "Workspace";
|
|
481
509
|
readonly cloudWorkspaceHint: "The workspace whose plan pays for these requests.";
|
|
@@ -816,6 +844,8 @@ declare const messageDefaults: {
|
|
|
816
844
|
readonly mcpFailurePermissionHint: "The system denied the command. Reinstall Pairdraw with its shell permissions, or start the server manually.";
|
|
817
845
|
readonly mcpFailureExited: "MCP server stopped during startup";
|
|
818
846
|
readonly mcpFailureExitedHint: "The process exited before it became ready.";
|
|
847
|
+
readonly mcpFailureRestartExhausted: "MCP server kept stopping";
|
|
848
|
+
readonly mcpFailureRestartExhaustedHint: "It was started again several times and did not stay running. Restart it from Settings, or restart the app.";
|
|
819
849
|
readonly mcpFailureTimeout: "MCP server did not respond in time";
|
|
820
850
|
readonly mcpFailureTimeoutHint: "It did not become ready within the startup timeout.";
|
|
821
851
|
readonly mcpFailureRejected: "MCP server rejected the local connection";
|
|
@@ -1596,6 +1626,7 @@ declare const messageDefaults: {
|
|
|
1596
1626
|
readonly documentFailed: "Document operation failed";
|
|
1597
1627
|
readonly acpFailed: "ACP transport failed";
|
|
1598
1628
|
readonly mcpFailed: "MCP connection failed";
|
|
1629
|
+
readonly mcpServerExited: "MCP server exited";
|
|
1599
1630
|
readonly modelStep: import("@nanostores/i18n").TranslationFunction<[{
|
|
1600
1631
|
model: string | number;
|
|
1601
1632
|
} & object], string>;
|