@remotedraw/cli 0.1.3 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,414 @@
1
+ /**
2
+ * English is the source catalog. Every other locale is a partial overlay on
3
+ * top of it, so a key that is missing or not yet translated renders the
4
+ * English string instead of a raw message id.
5
+ *
6
+ * Adding a language means adding one file next to this one and one line in
7
+ * `./index.ts` — never a change at a call site.
8
+ *
9
+ * Scope note: this catalog covers CLI chrome only. Generated project files
10
+ * (code, comments, README, package.json fields) and API payload content stay
11
+ * English in every locale. See `docs`/the CLI README for the rationale.
12
+ */
13
+ export declare const en: {
14
+ readonly "language.word": "Language";
15
+ readonly "language.prompt.helper": "Sets the language of the RemoteDraw CLI. Generated code and files stay in English.";
16
+ readonly "language.saved": "Language set to {language}. Change it any time with: remotedraw language";
17
+ readonly "language.current": "Language: {language} ({locale})";
18
+ readonly "language.source.flag": "Set for this run by --language.";
19
+ readonly "language.source.env": "Set for this run by {variable}.";
20
+ readonly "language.source.config": "Stored in {path}.";
21
+ readonly "language.source.default": "Not chosen yet; defaulting to English.";
22
+ readonly "language.available": "Available languages:";
23
+ readonly "language.unknown": "Unknown language \"{value}\". Supported: {supported}. Use one of those codes with --language or {variable}.";
24
+ readonly "language.saveFailed": "Could not save the language choice ({reason}). Using {language} for this run only.";
25
+ readonly "language.help.title": "Choose the language of the RemoteDraw CLI";
26
+ readonly "language.help.usage.list": " remotedraw language";
27
+ readonly "language.help.usage.set": " remotedraw language <code>";
28
+ readonly "language.help.body": "Run without a code to pick interactively. The choice is stored in your user config directory and reused by every later command.";
29
+ readonly "language.help.override": "Non-interactive runs can override it per command with --language <code> or the REMOTEDRAW_LANGUAGE environment variable.";
30
+ readonly "word.usage": "Usage:";
31
+ readonly "word.options": "Options:";
32
+ readonly "word.commands": "Commands:";
33
+ readonly "word.next": "Next:";
34
+ readonly "word.examples": "Examples: {list}";
35
+ readonly "help.title": "RemoteDraw CLI";
36
+ readonly "help.usage.main": " remotedraw <command> [options]";
37
+ readonly "help.command.guide": "Choose an integration path and SDK.";
38
+ readonly "help.command.options": "Print setup choices and compatibility metadata.";
39
+ readonly "help.command.language": "Choose the language of this CLI.";
40
+ readonly "help.command.login": "Authorize this computer through the dashboard.";
41
+ readonly "help.command.logout": "Revoke and remove this computer's CLI credential.";
42
+ readonly "help.command.whoami": "Show the signed-in RemoteDraw account.";
43
+ readonly "help.command.new": "Create a new app with RemoteDraw starter code.";
44
+ readonly "help.command.init": "Add RemoteDraw starter code to an existing project.";
45
+ readonly "help.command.dev": "Print the local sandbox workflow for an integration.";
46
+ readonly "help.command.doctor": "Check project config, packages, and environment variables.";
47
+ readonly "help.command.update": "Install the latest published RemoteDraw CLI.";
48
+ readonly "help.command.createInput": "Create or print a test input request payload.";
49
+ readonly "help.command.examples": "List or install example projects.";
50
+ readonly "help.command.agent": "Print or install the RemoteDraw agent skill.";
51
+ readonly "help.startHere": "Start here:";
52
+ readonly "guide.title": "RemoteDraw integration guide";
53
+ readonly "guide.intro": "Choose the surface your customer already has:";
54
+ readonly "guide.path.webIos": " Web app receiver + RemoteDraw iOS app sender";
55
+ readonly "guide.path.webOwned": " Web app receiver + your own web sender UI";
56
+ readonly "guide.path.svelteIos": " Svelte app receiver + RemoteDraw iOS app sender";
57
+ readonly "guide.path.desktop": " Desktop app receiver with raw HTTP";
58
+ readonly "guide.path.ownIos": " Your own iOS sender app";
59
+ readonly "guide.note.keys": "API keys stay on trusted backend code. Receivers get receiver tokens, senders get join URLs or sender tokens.";
60
+ readonly "guide.note.provisioning": "remotedraw new and init create a dashboard project, mint a project-scoped development API key, and write it to .env.local by default.";
61
+ readonly "guide.note.offline": "Use --offline when you intentionally want local scaffolding only.";
62
+ readonly "options.title": "RemoteDraw setup options";
63
+ readonly "options.machineReadable": "For machine-readable metadata: remotedraw options --format json";
64
+ readonly "options.help.body": "Prints every setup choice, compatibility rule, default, explanation, and documentation URL.";
65
+ readonly "field.appName": "Project name";
66
+ readonly "field.target": "Project type";
67
+ readonly "field.sender": "Phone sender";
68
+ readonly "field.sdk": "UI framework / SDK";
69
+ readonly "field.preset": "Starting point";
70
+ readonly "field.packageManager": "Package manager";
71
+ readonly "field.apiBaseUrl": "API endpoint";
72
+ readonly "field.project": "Project";
73
+ readonly "field.folder": "Folder";
74
+ readonly "field.sdkShort": "SDK";
75
+ readonly "field.sender.helper": "Choose where drawing input will run.";
76
+ readonly "field.sdk.helper": "Pick the SDK that matches your receiver UI.";
77
+ readonly "field.appName.error": "Enter a project name.";
78
+ readonly "field.appName.preview": "folder ./{slug} · package {slug}";
79
+ readonly "choice.target.web.label": "Web app";
80
+ readonly "choice.target.web.summary": "For web apps with a drawing surface in the browser.";
81
+ readonly "choice.target.web.explanation": "Choose this when your website or web app displays the drawings. The phone can use the RemoteDraw iOS app or an embedded web sender.";
82
+ readonly "choice.target.web.docs": "Open web app docs";
83
+ readonly "choice.target.desktop.label": "Desktop or custom app";
84
+ readonly "choice.target.desktop.summary": "For desktop apps and other custom interfaces.";
85
+ readonly "choice.target.desktop.explanation": "Choose this for Electron, Tauri, a native desktop app, or an existing non-web interface. You connect the receiver through the JavaScript client or the HTTP API.";
86
+ readonly "choice.target.desktop.docs": "Open desktop docs";
87
+ readonly "choice.target.ios.label": "iOS sender app";
88
+ readonly "choice.target.ios.summary": "For your own iOS app acting as the phone sender.";
89
+ readonly "choice.target.ios.explanation": "Choose this when you own the native drawing experience, navigation, and styling on the iPhone. The wizard generates Swift helpers.";
90
+ readonly "choice.target.ios.docs": "Open iOS docs";
91
+ readonly "choice.target.headless.label": "Headless service";
92
+ readonly "choice.target.headless.summary": "For backends, automation, and services without an interface.";
93
+ readonly "choice.target.headless.explanation": "Choose this when you handle sessions and drawing data straight through the HTTP API and need no standard receiver or sender interface.";
94
+ readonly "choice.target.headless.docs": "Open headless docs";
95
+ readonly "choice.sender.remotedrawIos.label": "RemoteDraw iOS app";
96
+ readonly "choice.sender.remotedrawIos.hint.scan": "Fastest path: scan the receiver QR code.";
97
+ readonly "choice.sender.remotedrawIos.hint.joinUrl": "Show a join URL or QR code from your receiver.";
98
+ readonly "choice.sender.remotedrawIos.summary": "The official RemoteDraw app is the drawing sender on the phone.";
99
+ readonly "choice.sender.remotedrawIos.explanation": "This is the fastest path. Your receiver shows a QR code or join link; the RemoteDraw iOS app handles the drawing interface and syncing.";
100
+ readonly "choice.sender.remotedrawIos.docs": "Open iOS sender docs";
101
+ readonly "choice.sender.embeddedWeb.label": "Own web sender";
102
+ readonly "choice.sender.embeddedWeb.hint": "Use a web sender component or raw sender helpers.";
103
+ readonly "choice.sender.embeddedWeb.summary": "A web sender that is part of your own product.";
104
+ readonly "choice.sender.embeddedWeb.explanation": "Choose this when you want to design the phone interface yourself in React or another web stack. Your app handles the join link and sender state.";
105
+ readonly "choice.sender.embeddedWeb.docs": "Open web sender docs";
106
+ readonly "choice.sender.ownIos.label": "Own iOS sender";
107
+ readonly "choice.sender.ownIos.hint": "Use Swift join-link and sender request helpers.";
108
+ readonly "choice.sender.ownIos.summary": "A native iOS sender you fully control.";
109
+ readonly "choice.sender.ownIos.explanation": "Choose this for your own navigation, branding, push notifications, or app routing. You get Swift helpers for join links and sender requests.";
110
+ readonly "choice.sender.ownIos.docs": "Open Swift sender docs";
111
+ readonly "choice.sender.headless.label": "Headless/custom sender";
112
+ readonly "choice.sender.headless.hint.noUi": "No hosted phone UI.";
113
+ readonly "choice.sender.headless.hint.httpRoutes": "Build directly on the HTTP sender routes.";
114
+ readonly "choice.sender.headless.summary": "Your own sender without a RemoteDraw-provided interface.";
115
+ readonly "choice.sender.headless.explanation": "Choose this when you work straight against the HTTP sender routes, for example from automation, hardware, or a fully custom client.";
116
+ readonly "choice.sender.headless.docs": "Open HTTP sender docs";
117
+ readonly "choice.sdk.react.label": "React SDK";
118
+ readonly "choice.sdk.react.hint": "Receiver, pairing, and optional embedded sender components.";
119
+ readonly "choice.sdk.react.summary": "React components for pairing, receiver, and sender.";
120
+ readonly "choice.sdk.react.explanation": "Choose this for React or Next.js. The starter uses the components and hooks from @remotedraw/react for session state and live drawings.";
121
+ readonly "choice.sdk.react.docs": "Open React SDK docs";
122
+ readonly "choice.sdk.svelte.label": "Svelte SDK";
123
+ readonly "choice.sdk.svelte.hint": "Svelte receiver store plus shared HTTP clients.";
124
+ readonly "choice.sdk.svelte.summary": "A Svelte store on top of the framework-free client.";
125
+ readonly "choice.sdk.svelte.explanation": "Choose this for Svelte or SvelteKit. You own the markup and bind session, drawing, and sender state through the Svelte store.";
126
+ readonly "choice.sdk.svelte.docs": "Open Svelte SDK docs";
127
+ readonly "choice.sdk.js.label.client": "JavaScript client";
128
+ readonly "choice.sdk.js.label.noFramework": "No framework";
129
+ readonly "choice.sdk.js.hint.client": "Framework-free HTTP clients and protocol types.";
130
+ readonly "choice.sdk.js.hint.noFramework": "Framework-free clients and raw HTTP starter files.";
131
+ readonly "choice.sdk.js.summary": "Framework-free JavaScript clients and protocol types.";
132
+ readonly "choice.sdk.js.explanation": "Choose this for desktop apps, other web frameworks, or custom clients. The starter uses fetch and the shared RemoteDraw contracts.";
133
+ readonly "choice.sdk.js.docs": "Open JavaScript docs";
134
+ readonly "choice.sdk.swift.label": "Swift helpers";
135
+ readonly "choice.sdk.swift.hint": "For customer-owned iOS sender apps.";
136
+ readonly "choice.sdk.swift.summary": "Native Swift helpers for your own iOS sender.";
137
+ readonly "choice.sdk.swift.explanation": "Choose this when you build your sender in Swift or SwiftUI. The starter includes join-link parsing and typed sender requests.";
138
+ readonly "choice.sdk.swift.docs": "Open Swift SDK docs";
139
+ readonly "choice.sdk.headless.label": "Config only";
140
+ readonly "choice.sdk.headless.hint": "No UI package dependency.";
141
+ readonly "choice.sdk.headless.summary": "Config only, without a UI package.";
142
+ readonly "choice.sdk.headless.explanation": "Choose this when another language or a custom client calls the HTTP API. The wizard adds no framework dependency.";
143
+ readonly "choice.sdk.headless.docs": "Open HTTP API docs";
144
+ readonly "choice.preset.approval.summary": "Free drawing input for a visual sign-off.";
145
+ readonly "choice.preset.approval.explanation": "Use this for approvals where a check, initial, or short mark is enough and your workflow owns the status.";
146
+ readonly "choice.preset.approval.docs": "Open approval docs";
147
+ readonly "choice.preset.sketch.label": "Custom drawing surface";
148
+ readonly "choice.preset.sketch.hint": "Flexible normalized input for your own receiver UI.";
149
+ readonly "choice.preset.sketch.summary": "Normalized input for your own receiver surface.";
150
+ readonly "choice.preset.sketch.explanation": "Choose this when your product owns the photo, map, PDF, canvas, or other receiver UI. RemoteDraw supplies the input primitives without prescribing a component design.";
151
+ readonly "choice.preset.sketch.docs": "Open sketch docs";
152
+ readonly "choice.preset.photoMarkup.summary": "Annotations on top of a photo.";
153
+ readonly "choice.preset.photoMarkup.explanation": "Use this for inspections, feedback, or instructions on imagery. Your app supplies the photo and keeps the link with the drawings.";
154
+ readonly "choice.preset.photoMarkup.docs": "Open photo markup docs";
155
+ readonly "choice.preset.pdfMarkup.summary": "Annotations on a PDF page.";
156
+ readonly "choice.preset.pdfMarkup.explanation": "Use this for document review. Your app renders the right page and maps RemoteDraw coordinates onto that fixed view.";
157
+ readonly "choice.preset.pdfMarkup.docs": "Open PDF markup docs";
158
+ readonly "choice.preset.mapMarkup.summary": "Drawings and directions on a map.";
159
+ readonly "choice.preset.mapMarkup.explanation": "Use this for routes, locations, or spatial feedback. Your app owns the map and viewport; RemoteDraw syncs the input.";
160
+ readonly "choice.preset.mapMarkup.docs": "Open map markup docs";
161
+ readonly "choice.preset.screenMarkup.label": "Screen annotation";
162
+ readonly "choice.preset.screenMarkup.hint": "Mark up a screen or window your receiver shares.";
163
+ readonly "choice.preset.screenMarkup.summary": "Annotations on a screen or application view.";
164
+ readonly "choice.preset.screenMarkup.explanation": "Use this for support, demos, and UI feedback. Your receiver supplies the screen image the phone marks are projected onto.";
165
+ readonly "choice.preset.screenMarkup.docs": "Open screen markup docs";
166
+ readonly "choice.preset.designReview.summary": "Focused visual feedback on a design.";
167
+ readonly "choice.preset.designReview.explanation": "Use this for design reviews with arrows, shapes, and freehand lines. Your product owns comments, versions, and decisions.";
168
+ readonly "choice.preset.designReview.docs": "Open design review docs";
169
+ readonly "choice.preset.pointer.summary": "Live pointing without persistent ink.";
170
+ readonly "choice.preset.pointer.explanation": "Use this for presentations and guidance where the phone acts as a pointer and movement matters more than stored ink.";
171
+ readonly "choice.preset.pointer.docs": "Open pointer docs";
172
+ readonly "choice.packageManager.npm.summary": "The default package manager that ships with Node.js.";
173
+ readonly "choice.packageManager.npm.explanation": "Choose npm when your project uses package-lock.json or has no preference. The wizard uses npm for install and follow-up commands.";
174
+ readonly "choice.packageManager.npm.docs": "Open npm docs";
175
+ readonly "choice.packageManager.pnpm.summary": "A fast package manager with a shared package store.";
176
+ readonly "choice.packageManager.pnpm.explanation": "Choose pnpm when your project uses pnpm-lock.yaml, wants strict dependency isolation, or is already part of a pnpm workspace.";
177
+ readonly "choice.packageManager.pnpm.docs": "Open pnpm docs";
178
+ readonly "choice.packageManager.yarn.summary": "A package manager with workspace and Plug'n'Play support.";
179
+ readonly "choice.packageManager.yarn.explanation": "Choose Yarn when your project uses yarn.lock. The wizard follows the existing Yarn version and project configuration.";
180
+ readonly "choice.packageManager.yarn.docs": "Open Yarn docs";
181
+ readonly "choice.packageManager.bun.summary": "The fast package manager built into the Bun runtime.";
182
+ readonly "choice.packageManager.bun.explanation": "Choose Bun when your project uses bun.lock or already uses Bun for scripts, tests, and dependency installs.";
183
+ readonly "choice.packageManager.bun.docs": "Open Bun docs";
184
+ readonly "wizard.title.setup": "Create a RemoteDraw project";
185
+ readonly "wizard.title.review": "Review project";
186
+ readonly "wizard.title.confirm": "Create project files?";
187
+ readonly "wizard.title.executing": "Creating project…";
188
+ readonly "wizard.title.success": "RemoteDraw project created";
189
+ readonly "wizard.title.error": "Could not create the project";
190
+ readonly "wizard.title.interrupted": "Setup interrupted";
191
+ readonly "wizard.title.cancelled": "Setup cancelled";
192
+ readonly "wizard.confirm.no": "No, cancel";
193
+ readonly "wizard.confirm.yes": "Yes, create the project";
194
+ readonly "wizard.hint.replaceDefault": "Type to replace the default name";
195
+ readonly "wizard.hint.edit": "Type to change";
196
+ readonly "wizard.control.next": "Enter next";
197
+ readonly "wizard.control.back": "Esc back";
198
+ readonly "wizard.control.quitCtrlC": "Ctrl+C quit";
199
+ readonly "wizard.control.quitQ": "q quit";
200
+ readonly "wizard.control.move": "↑/↓ move";
201
+ readonly "wizard.control.steps": "←/→ steps";
202
+ readonly "wizard.control.choose": "↑/↓ choose";
203
+ readonly "wizard.control.docs": "d open docs";
204
+ readonly "wizard.control.forward": "→/Enter continue";
205
+ readonly "wizard.control.backArrow": "←/Esc back";
206
+ readonly "wizard.control.confirm": "Enter confirm";
207
+ readonly "wizard.progress.step": "Step {current}/{total}";
208
+ readonly "wizard.card.help": "Choice help";
209
+ readonly "wizard.card.summary": "Summary";
210
+ readonly "wizard.value.default": "(default)";
211
+ readonly "wizard.executing.detail": "Writing files, linking keys, and saving configuration…";
212
+ readonly "wizard.created.at": "Created in:";
213
+ readonly "wizard.next.command": "Next command:";
214
+ readonly "wizard.docs.line": "Documentation: https://docs.remotedraw.com";
215
+ readonly "wizard.tagline.setup": "phone → canvas · project setup";
216
+ readonly "wizard.tagline": "phone → canvas";
217
+ readonly "wizard.docs.openFailed": "Could not open the documentation. Use {url}";
218
+ readonly "wizard.docs.button": "[ {label} ↗ ]";
219
+ readonly "new.help.usage.bare": " remotedraw new";
220
+ readonly "new.help.usage.named": " remotedraw new --app-name <name> [options]";
221
+ readonly "new.help.interactive": "Run without options for the interactive setup flow.";
222
+ readonly "new.help.option.path": "Output directory. Defaults to an app-name slug.";
223
+ readonly "new.help.option.target": "web, desktop, ios, or headless.";
224
+ readonly "new.help.option.sender": "remotedraw-ios, embedded-web, own-ios, or headless.";
225
+ readonly "new.help.option.sdk": "react, svelte, js, swift, or headless.";
226
+ readonly "new.help.option.preset": "sketch or screenMarkup. The other API presets remain accepted for existing integrations.";
227
+ readonly "new.help.option.packageManager": "npm, pnpm, yarn, or bun.";
228
+ readonly "new.help.option.apiBaseUrl": "Default API origin for generated config.";
229
+ readonly "new.help.option.force": "Overwrite generated files and existing RemoteDraw .env.local values.";
230
+ readonly "new.help.option.offline": "Scaffold locally without login, dashboard project, or API key creation.";
231
+ readonly "new.help.option.nonInteractive": "Never prompt; fail when required input is missing.";
232
+ readonly "new.help.option.format": "Human-readable or machine-readable result.";
233
+ readonly "new.help.option.dryRun": "Print files that would be written.";
234
+ readonly "new.help.option.language": "CLI language code. Defaults to your saved choice, then English.";
235
+ readonly "init.help.usage": " remotedraw init [options]";
236
+ readonly "init.help.body": "Options match remotedraw new. init writes remotedraw.config.json, .env.example, and src/remotedraw starter files into an existing project.";
237
+ readonly "prompt.control.move": "move";
238
+ readonly "prompt.control.select": "select";
239
+ readonly "prompt.control.quit": "quit";
240
+ readonly "prompt.intro.setup": "RemoteDraw project setup";
241
+ readonly "scaffold.verb.created": "Created";
242
+ readonly "scaffold.verb.initialized": "Initialized";
243
+ readonly "scaffold.verb.installedExample": "Installed example";
244
+ readonly "scaffold.headline": "{verb} RemoteDraw {target} integration in {dir}";
245
+ readonly "scaffold.choices": "Choices:";
246
+ readonly "scaffold.choice.app": " App: {value}";
247
+ readonly "scaffold.choice.sdk": " SDK: {value}";
248
+ readonly "scaffold.choice.sender": " Sender: {value}";
249
+ readonly "scaffold.choice.starter": " Starter: {value}";
250
+ readonly "scaffold.wrote": "Wrote:";
251
+ readonly "scaffold.wouldWrite": "Would write:";
252
+ readonly "scaffold.next.install": " 1. {command}";
253
+ readonly "scaffold.next.secrets": " 2. Set REMOTEDRAW_API_BASE_URL and REMOTEDRAW_API_KEY in backend secrets.";
254
+ readonly "scaffold.next.createInput": " 3. Create an input request from backend code or run remotedraw create-input --json.";
255
+ readonly "scaffold.next.render": " 4. Render the returned HTTPS joinUrl in your receiver UI.";
256
+ readonly "cloud.skipped": "Cloud setup skipped (--offline). Run remotedraw init later to create a dashboard project.";
257
+ readonly "cloud.dashboardProject": "Dashboard project: {url}";
258
+ readonly "cloud.devKey": "Development API key: written to .env.local (server-side only)";
259
+ readonly "cloud.projectId": "Project ID: {id}";
260
+ readonly "cloud.warning.placeholder": "Replace the deployment API placeholder before making live requests.";
261
+ readonly "cloud.warning.offline": "Cloud provisioning was skipped; no dashboard project or API key was created.";
262
+ readonly "cloud.warning.dryRun": "Cloud authentication and provisioning were not executed during dry-run.";
263
+ readonly "login.already": "Already logged in.";
264
+ readonly "login.complete": "RemoteDraw login complete.";
265
+ readonly "login.credential": "Credential: {path}";
266
+ readonly "login.help.title": "Authorize the RemoteDraw CLI";
267
+ readonly "login.help.usage": " remotedraw login [--no-open] [--force] [--api-base-url <origin>]";
268
+ readonly "login.help.body": "The browser confirms your account. A revocable CLI credential is stored in your user config directory, never in the project.";
269
+ readonly "logout.done": "Logged out from {url}.";
270
+ readonly "logout.none": "No stored credential for {url}.";
271
+ readonly "logout.help.title": "Revoke the RemoteDraw CLI credential";
272
+ readonly "logout.help.usage": " remotedraw logout [--api-base-url <origin>]";
273
+ readonly "whoami.notLoggedIn": "Not logged in to {url}. Run remotedraw login.";
274
+ readonly "whoami.api": "API: {url}";
275
+ readonly "whoami.anonymous": "RemoteDraw user";
276
+ readonly "whoami.help.title": "Show the active RemoteDraw CLI account";
277
+ readonly "whoami.help.usage": " remotedraw whoami [--api-base-url <origin>]";
278
+ readonly "doctor.title": "RemoteDraw doctor";
279
+ readonly "doctor.config.ok": "Project is linked to a local integration profile.";
280
+ readonly "doctor.config.missing": "Run remotedraw init to create one.";
281
+ readonly "doctor.package.ok": "Package metadata found.";
282
+ readonly "doctor.package.missing": "No package.json found in this directory.";
283
+ readonly "doctor.sdk.ok": "{package} is listed in package.json dependencies.";
284
+ readonly "doctor.sdk.missing": "Add {package}@{range} to dependencies or rerun remotedraw init.";
285
+ readonly "doctor.apiKey.ok": "Server-side API key shape looks correct.";
286
+ readonly "doctor.apiKey.missing": "Keep an rd_sk_... key in backend secrets only.";
287
+ readonly "doctor.label.deployment": "deployment";
288
+ readonly "doctor.label.deploymentReachable": "deployment reachable";
289
+ readonly "doctor.label.apiKeyAccepted": "API key accepted";
290
+ readonly "doctor.label.cliVersion": "CLI version";
291
+ readonly "doctor.network.offline": "Skipped network checks (--offline). Rerun without --offline to verify the key against the deployment.";
292
+ readonly "doctor.network.noOrigin": "Skipped network checks because REMOTEDRAW_API_BASE_URL is not a usable HTTP origin.";
293
+ readonly "doctor.health.ok": "{url} answered /health.";
294
+ readonly "doctor.health.failed": "{url} did not answer /health: {reason}";
295
+ readonly "doctor.key.skippedNoKey": "Skipped because no rd_sk_... key was found in this project's environment.";
296
+ readonly "doctor.key.skippedNoHealth": "Skipped because the deployment did not answer.";
297
+ readonly "doctor.key.liveOne": "Key is live. {count} recent API session visible.";
298
+ readonly "doctor.key.liveMany": "Key is live. {count} recent API sessions visible.";
299
+ readonly "doctor.version.offline": "Running {version}. Skipped the update check (--offline).";
300
+ readonly "doctor.version.unknown": "Running {version}. Could not reach the npm registry to check for updates.";
301
+ readonly "doctor.version.stale": "Running {current}; {latest} is published. Run remotedraw update.";
302
+ readonly "doctor.version.latest": "Running {current}, the latest published version.";
303
+ readonly "doctor.probe.noNetwork": "this runtime cannot make network requests";
304
+ readonly "doctor.probe.noNetworkKey": "This runtime cannot make network requests.";
305
+ readonly "doctor.probe.nonJson": "Deployment returned a non-JSON response (HTTP {status}).";
306
+ readonly "doctor.probe.rejected": "Deployment rejected the key (HTTP {status}).";
307
+ readonly "doctor.baseUrl.placeholder": "Still the {value} placeholder. Replace it with {defaultUrl}.";
308
+ readonly "doctor.baseUrl.invalid": "{value} is not an HTTP origin. Set it to {defaultUrl}.";
309
+ readonly "doctor.baseUrl.default": "Using {url} (RemoteDraw production API; nothing overrides it here).";
310
+ readonly "doctor.baseUrl.production": "Using {url} (production API, set by {origin}).";
311
+ readonly "doctor.baseUrl.override": "Using {url} (override from {origin}, not the {defaultUrl} production API).";
312
+ readonly "doctor.baseUrl.origin.flag": "--api-base-url";
313
+ readonly "doctor.baseUrl.origin.project": "this project's environment";
314
+ readonly "doctor.help.usage": " remotedraw doctor [--path <dir>] [--api-base-url <url>] [--format text|json] [--offline]";
315
+ readonly "doctor.help.checks": "Checks local config, package.json dependencies, and the REMOTEDRAW_API_BASE_URL / REMOTEDRAW_API_KEY environment variables.";
316
+ readonly "doctor.help.baseUrl": "Without an override the API base URL is {url}; doctor names the source so a non-production URL is visible.";
317
+ readonly "doctor.help.network": "Then reaches the deployment: GET /health, and a free POST /v1/sessions/list to confirm the API key is live.";
318
+ readonly "doctor.help.version": "It also compares this CLI against the latest published version.";
319
+ readonly "doctor.help.offline": "Pass --offline to skip the network checks.";
320
+ readonly "update.unreachable": "Could not reach the npm registry to check for {package} updates. Run {command} to update anyway.";
321
+ readonly "update.alreadyLatest": "{package} {version} is already the latest version.";
322
+ readonly "update.available": "Update available: {current} -> {latest}.";
323
+ readonly "update.ephemeral": "This CLI was run through npx/bunx, which resolves a version per run. Use {package}@latest instead of updating in place.";
324
+ readonly "update.runToInstall": "Run {command} to install it.";
325
+ readonly "update.availableRun": "Update available: {current} -> {latest}. Run {command} to install it.";
326
+ readonly "update.failed": "{command} failed with exit code {code}.";
327
+ readonly "update.done": "Updated {package} to {version}.";
328
+ readonly "update.help.usage": " remotedraw update [--check] [--format text|json]";
329
+ readonly "update.help.body": "Compares this CLI against the latest {package} on the npm registry and installs it with the package manager that owns this binary.";
330
+ readonly "update.help.global": "Global installs never refresh on their own, so this is the only in-place update path.";
331
+ readonly "update.help.check": "Pass --check to report the available version without installing.";
332
+ readonly "update.help.silence": "The passive 'update available' notice on other commands can be silenced with REMOTEDRAW_CLI_NO_UPDATE_CHECK=1.";
333
+ readonly "dev.title": "RemoteDraw local development workflow";
334
+ readonly "dev.apiBaseUrl": "API base URL: {url}";
335
+ readonly "dev.hosted": "RemoteDraw is a hosted API. There is no RemoteDraw server or database to run yourself.";
336
+ readonly "dev.step1": "1. Start your app's dev server.";
337
+ readonly "dev.step1.detail": " Use the package manager and dev script generated by remotedraw new/init.";
338
+ readonly "dev.step2": "2. Create a test input request from trusted backend code.";
339
+ readonly "dev.step3": "3. Show the returned HTTPS joinUrl in your receiver UI.";
340
+ readonly "dev.step3.detail": " Use the RemoteDraw iOS app for remotedraw-ios sender flows; owned web senders open the hosted /join page or build on the headless sender client.";
341
+ readonly "dev.help.usage": " remotedraw dev [--api-base-url <url>]";
342
+ readonly "dev.help.body": "Prints the local test workflow for pairing, input request creation, and receiver rendering.";
343
+ readonly "createInput.title": "RemoteDraw test input request";
344
+ readonly "createInput.warning": "Create this from trusted backend code. Do not run API-key requests in a browser client.";
345
+ readonly "createInput.footer": "Use --json to print only the request body or --execute to call the API with REMOTEDRAW_API_KEY.";
346
+ readonly "createInput.error.noFetch": "This runtime cannot execute HTTP requests.";
347
+ readonly "createInput.error.noKey": "create-input --execute requires --api-key or REMOTEDRAW_API_KEY with an rd_sk_... server key.";
348
+ readonly "createInput.error.apiStatus": "RemoteDraw API returned {status}.";
349
+ readonly "createInput.help.usage": " remotedraw create-input [--preset sketch] [--json|--curl|--execute]";
350
+ readonly "createInput.help.option.preset": "Session/input preset.";
351
+ readonly "createInput.help.option.label": "Receiver target label.";
352
+ readonly "createInput.help.option.externalId": "App-owned correlation id.";
353
+ readonly "createInput.help.option.apiBaseUrl": "RemoteDraw API origin.";
354
+ readonly "createInput.help.option.apiKey": "Server API key for --execute.";
355
+ readonly "createInput.help.option.expiresInMs": "Optional session TTL.";
356
+ readonly "examples.title": "RemoteDraw examples";
357
+ readonly "examples.reactIos": "Web receiver using the RemoteDraw iOS app as sender.";
358
+ readonly "examples.reactOwnedSender": "Web receiver plus a headless sender hook for owned web input.";
359
+ readonly "examples.rawHttp": "Package-free backend/receiver/sender route fixtures.";
360
+ readonly "examples.iosOwnedSender": "Swift join-link and sender request helper starter.";
361
+ readonly "examples.installOne": "Install one:";
362
+ readonly "examples.help.usage.list": " remotedraw examples [--list]";
363
+ readonly "examples.help.usage.install": " remotedraw examples --install <example> --path <dir>";
364
+ readonly "agent.title": "RemoteDraw agent setup";
365
+ readonly "agent.intro": "Use this when an AI coding agent needs to add RemoteDraw to a customer app.";
366
+ readonly "agent.printSkill": "Print the skill:";
367
+ readonly "agent.installSkill": "Install the skill file:";
368
+ readonly "agent.wouldWrite": "Would write {path}";
369
+ readonly "agent.installed": "Installed RemoteDraw agent skill at {path}";
370
+ readonly "agent.next": " Ask your agent to use the RemoteDraw skill before editing API, CLI, sender, receiver, or iOS integration code.";
371
+ readonly "agent.error.exists": "SKILL.md already exists. Pass --force to replace it.";
372
+ readonly "agent.help.usage.bare": " remotedraw agent";
373
+ readonly "agent.help.usage.print": " remotedraw agent --print-skill";
374
+ readonly "agent.help.usage.install": " remotedraw agent --path <dir> [--force] [--dry-run]";
375
+ readonly "agent.help.paths": "Install into .agents/skills/<name> or .claude/skills/<name> so the agent runtime finds it.";
376
+ readonly "agent.help.body": "Writes a SKILL.md file that tells coding agents how to choose an SDK, use the CLI, keep API keys server-side, and verify RemoteDraw integrations.";
377
+ readonly "cloud.authorize": "Authorize this CLI at {url}\nConfirmation code: {code}";
378
+ readonly "cloud.browserOpened": "Opened the browser. Waiting for authorization...";
379
+ readonly "cloud.browserFailed": "Could not open the browser automatically; use the URL above.";
380
+ readonly "cloud.error.notLoggedIn": "Not logged in. Run remotedraw login, or set REMOTEDRAW_CLI_TOKEN for non-interactive use.";
381
+ readonly "cloud.error.authStatus": "CLI authorization {status}. Run remotedraw login again.";
382
+ readonly "cloud.error.authExpired": "CLI authorization expired. Run remotedraw login again.";
383
+ readonly "cloud.error.noFetch": "This runtime cannot access RemoteDraw.";
384
+ readonly "cloud.error.unreachable": "Could not reach {url}: {reason}";
385
+ readonly "cloud.error.endpointMissing": "RemoteDraw CLI endpoint {path} was not found at {url}. Unset REMOTEDRAW_API_BASE_URL to use {defaultUrl}, or update this CLI.";
386
+ readonly "cloud.error.invalidResponse": "RemoteDraw returned an invalid response ({status}).";
387
+ readonly "cloud.error.requestFailed": "RemoteDraw request failed ({status}).";
388
+ readonly "cloud.error.badOrigin": "Expected an HTTP API origin, received {value}.";
389
+ readonly "cloud.error.configUnreadable": "Could not read RemoteDraw CLI credentials from {path}. Remove or repair that file.";
390
+ readonly "cloud.error.envConflict": "{name} is already set in .env.local. Pass --force to replace it or use --offline to keep setup local-only.";
391
+ readonly "notice.update.available": "Update available: {package} {current} -> {latest}";
392
+ readonly "notice.update.ephemeral": "Run remotedraw with {package}@latest to pick it up.";
393
+ readonly "notice.update.install": "Run remotedraw update (or {command}).";
394
+ readonly "error.appNameRequired": "--app-name is required.";
395
+ readonly "error.plan.ownIosNeedsSwift": "--sender own-ios requires --sdk swift.";
396
+ readonly "error.plan.swiftNeedsOwnIos": "--sdk swift is only supported with --sender own-ios.";
397
+ readonly "error.plan.iosNeedsOwnIos": "--target ios requires --sender own-ios.";
398
+ readonly "error.plan.headlessSenderSdk": "--sender headless requires --sdk js or --sdk headless.";
399
+ readonly "error.unknownChoice": "Unknown {label} \"{value}\". Expected one of: {expected}.";
400
+ readonly "error.refuseOverwrite": "Refusing to overwrite {file}. Pass --force to replace generated files.";
401
+ readonly "error.expectedHttpOrigin": "Expected an HTTP(S) API base URL.";
402
+ readonly "error.expectedBareOrigin": "Expected API base URL to be an origin without a path, query, or hash.";
403
+ readonly "error.noHome": "Cannot expand ~ because HOME is not set.";
404
+ readonly "error.unknownCommand": "Unknown command \"{command}\". Run remotedraw --help.";
405
+ readonly "error.unsupportedOption": "Unsupported option \"--{name}\".";
406
+ readonly "error.optionNoValue": "--{name} does not accept a value.";
407
+ readonly "error.optionNeedsValue": "--{name} requires a value.";
408
+ readonly "error.expiresInMs": "--expires-in-ms requires a positive integer.";
409
+ readonly "error.interactiveNeedsTty": "Interactive setup requires a TTY.";
410
+ readonly "error.noChoices": "No choices available for {message}.";
411
+ readonly "error.httpsDocsOnly": "Only HTTPS documentation links can be opened.";
412
+ readonly "error.httpUrlsOnly": "Only HTTP(S) URLs can be opened.";
413
+ };
414
+ //# sourceMappingURL=en.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/locales/en.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2kBL,CAAC"}