@remotedraw/cli 0.3.6 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +8 -4
  3. package/dist/cli.d.ts +0 -0
  4. package/dist/cli.d.ts.map +1 -1
  5. package/dist/cli.js +46 -5
  6. package/dist/cloud.d.ts +0 -0
  7. package/dist/cloud.d.ts.map +0 -0
  8. package/dist/cloud.js +0 -0
  9. package/dist/errors.d.ts +0 -0
  10. package/dist/errors.d.ts.map +0 -0
  11. package/dist/errors.js +0 -0
  12. package/dist/generated/agent-skill.d.ts +0 -0
  13. package/dist/generated/agent-skill.d.ts.map +0 -0
  14. package/dist/generated/agent-skill.js +0 -0
  15. package/dist/i18n.d.ts +0 -0
  16. package/dist/i18n.d.ts.map +0 -0
  17. package/dist/i18n.js +0 -0
  18. package/dist/index.d.ts +0 -0
  19. package/dist/index.d.ts.map +0 -0
  20. package/dist/index.js +0 -0
  21. package/dist/locales/catalog.d.ts +0 -0
  22. package/dist/locales/catalog.d.ts.map +0 -0
  23. package/dist/locales/catalog.js +0 -0
  24. package/dist/locales/en.d.ts +7 -0
  25. package/dist/locales/en.d.ts.map +1 -1
  26. package/dist/locales/en.js +7 -0
  27. package/dist/locales/index.d.ts +8 -1
  28. package/dist/locales/index.d.ts.map +1 -1
  29. package/dist/locales/index.js +0 -0
  30. package/dist/locales/nl.d.ts +0 -0
  31. package/dist/locales/nl.d.ts.map +1 -1
  32. package/dist/locales/nl.js +7 -0
  33. package/dist/packageManagers.d.ts +0 -0
  34. package/dist/packageManagers.d.ts.map +0 -0
  35. package/dist/packageManagers.js +0 -0
  36. package/dist/scan.d.ts +0 -0
  37. package/dist/scan.d.ts.map +0 -0
  38. package/dist/scan.js +0 -0
  39. package/dist/setup-wizard.d.ts +0 -0
  40. package/dist/setup-wizard.d.ts.map +0 -0
  41. package/dist/setup-wizard.js +0 -0
  42. package/dist/telemetry.d.ts +0 -0
  43. package/dist/telemetry.d.ts.map +0 -0
  44. package/dist/telemetry.js +0 -0
  45. package/dist/update.d.ts +1 -1
  46. package/dist/update.d.ts.map +0 -0
  47. package/dist/update.js +0 -0
  48. package/package.json +1 -1
package/LICENSE CHANGED
File without changes
package/README.md CHANGED
@@ -36,10 +36,14 @@ Run the guided setup:
36
36
  remotedraw
37
37
  ```
38
38
 
39
- On the first run, the CLI opens `dashboard.remotedraw.com` and displays a
40
- short confirmation code. Approve that code in the browser, then return to the
41
- terminal. The setup wizard will help you choose a target, sender experience,
42
- SDK, and starter preset before it writes anything.
39
+ In an existing project, the CLI detects local RemoteDraw configuration and
40
+ shows commands to check the integration. For an unconfigured app, it suggests
41
+ `scan` and `init`. Detection checks the current directory and ancestors up to
42
+ the repository boundary, without network requests or a recursive scan.
43
+
44
+ In an empty directory, the setup wizard helps you choose a target, sender,
45
+ SDK, and starter preset. Browser login starts only after you confirm creation.
46
+ To deliberately create a separate app and cloud project, use `remotedraw new`.
43
47
 
44
48
  To see the available integration paths without starting the wizard:
45
49
 
package/dist/cli.d.ts CHANGED
File without changes
package/dist/cli.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AASA,OAAO,EAIL,KAAK,gBAAgB,EAGrB,KAAK,cAAc,EAEpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAaL,KAAK,YAAY,EAElB,MAAM,YAAY,CAAC;AA0BpB,OAAO,EAOL,KAAK,aAAa,EACnB,MAAM,aAAa,CAAC;AAMrB,eAAO,MAAM,WAAW,QAGT,CAAC;AAQhB,eAAO,MAAM,oBAAoB,WAAW,CAAC;AAC7C,eAAO,MAAM,oBAAoB,WAAW,CAAC;AAE7C,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAA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AO,GACvD,gBAAgB,CAsDlB;AAypCD,KAAK,cAAc,GAAG;IACpB,MAAM,EAAE,YAAY,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAuCF,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmB3D;AA+FD;;;;;GAKG;AACH,wBAAgB,kBAAkB,WAEjC"}
package/dist/cli.js CHANGED
@@ -317,6 +317,9 @@ export async function runCli(args, runtime = createNodeRuntime()) {
317
317
  const command = cliArgs[0];
318
318
  const commandArgs = cliArgs.slice(1);
319
319
  if (command == null) {
320
+ const context = await existingProjectContext(runtime);
321
+ if (context)
322
+ return ok(existingProjectText(context));
320
323
  if (runtime.wizardTerminal) {
321
324
  return await setupWizardCommand(runtime, askLanguage);
322
325
  }
@@ -386,6 +389,45 @@ function cliTelemetryEnvironment(runtime) {
386
389
  fetch: runtime.fetch,
387
390
  };
388
391
  }
392
+ // Inspect only known files on the ancestor chain. Startup must not recursively
393
+ // scan a monorepo or contact the cloud just to decide what to show.
394
+ async function existingProjectContext(runtime) {
395
+ let dir = path.resolve(runtime.cwd);
396
+ let project;
397
+ while (true) {
398
+ if (await runtime.exists(path.join(dir, "convex/http.ts")) &&
399
+ await runtime.exists(path.join(dir, "packages/cli/src/index.ts"))) {
400
+ return { dir, configured: false, source: true };
401
+ }
402
+ const env = await environmentForProject(dir, { ...runtime, env: {} });
403
+ const configured = await runtime.exists(path.join(dir, "remotedraw.config.json")) ||
404
+ [env.REMOTEDRAW_PROJECT_ID, env.REMOTEDRAW_API_KEY].some((value) => value && !value.includes("replace_me") &&
405
+ !value.includes("<") && value !== "rd_sk_...");
406
+ if (configured)
407
+ return { dir, configured: true };
408
+ if (!project && await runtime.exists(path.join(dir, "package.json"))) {
409
+ project = { dir, configured: false };
410
+ }
411
+ const parent = path.dirname(dir);
412
+ if (parent === dir || await runtime.exists(path.join(dir, ".git")))
413
+ break;
414
+ dir = parent;
415
+ }
416
+ return project;
417
+ }
418
+ function existingProjectText(context) {
419
+ const location = shellQuote(context.dir);
420
+ return [
421
+ t(context.source ? "entry.source" : context.configured ? "entry.configured" : "entry.existing", { path: context.dir }),
422
+ "",
423
+ t(context.configured ? "entry.check" : "entry.scan"),
424
+ ` remotedraw ${context.configured ? "doctor" : "scan"} --path ${location}`,
425
+ ...(!context.configured && !context.source ? [t("entry.init"), ` remotedraw init --path ${location}`] : []),
426
+ "",
427
+ t("entry.new"),
428
+ " remotedraw new",
429
+ ].join("\n");
430
+ }
389
431
  async function setupWizardCommand(runtime, askLanguage) {
390
432
  const terminal = runtime.wizardTerminal;
391
433
  if (!terminal)
@@ -393,10 +435,6 @@ async function setupWizardCommand(runtime, askLanguage) {
393
435
  // Before login, before the first field: nothing the reader has to understand
394
436
  // is printed until the language is settled.
395
437
  await ensureLanguageChosen(runtime, askLanguage);
396
- if (!cloudSetupDisabled(runtime)) {
397
- const apiBaseUrl = remoteDrawApiBaseUrl(runtime.env);
398
- await loginToRemoteDraw(runtime, apiBaseUrl);
399
- }
400
438
  const result = await runSetupWizard({
401
439
  definition: projectSetupDefinition({
402
440
  packageManager: await projectPackageManager(runtime.cwd, runtime),
@@ -1313,13 +1351,16 @@ async function projectCommand(args, runtime) {
1313
1351
  runtime.env.REMOTEDRAW_API_BASE_URL ??
1314
1352
  DEFAULT_REMOTEDRAW_API_BASE_URL;
1315
1353
  const keyName = readString(parsed, "key-name");
1354
+ const envDir = readString(parsed, "env");
1355
+ if (envDir != null) {
1356
+ await assertEnvCanAcceptProvisioning(runtime, path.resolve(runtime.cwd, envDir), apiBaseUrl, parsed.booleans.has("force"));
1357
+ }
1316
1358
  // Provisioning is separate from scaffolding on purpose: an integration that
1317
1359
  // already has its files must not have to --force-overwrite them to get a key.
1318
1360
  const provisioning = await provisionRemoteDrawProject(runtime, apiBaseUrl, {
1319
1361
  name,
1320
1362
  ...(keyName ? { keyName } : {}),
1321
1363
  });
1322
- const envDir = readString(parsed, "env");
1323
1364
  let envPath;
1324
1365
  if (envDir != null) {
1325
1366
  const outputDir = path.resolve(runtime.cwd, envDir);
package/dist/cloud.d.ts CHANGED
File without changes
File without changes
package/dist/cloud.js CHANGED
File without changes
package/dist/errors.d.ts CHANGED
File without changes
File without changes
package/dist/errors.js CHANGED
File without changes
File without changes
File without changes
File without changes
package/dist/i18n.d.ts CHANGED
File without changes
File without changes
package/dist/i18n.js CHANGED
File without changes
package/dist/index.d.ts CHANGED
File without changes
File without changes
package/dist/index.js CHANGED
File without changes
File without changes
File without changes
File without changes
@@ -11,6 +11,13 @@
11
11
  * English in every locale. See `docs`/the CLI README for the rationale.
12
12
  */
13
13
  export declare const en: {
14
+ readonly "entry.source": "RemoteDraw source repository found in {path}. This repository develops the platform itself.";
15
+ readonly "entry.configured": "RemoteDraw configuration found in {path}.";
16
+ readonly "entry.existing": "Existing project found in {path}.";
17
+ readonly "entry.check": "Check this integration:";
18
+ readonly "entry.scan": "Inspect this project before choosing an integration:";
19
+ readonly "entry.init": "Add RemoteDraw to this project (creates a cloud project unless --offline):";
20
+ readonly "entry.new": "To create a separate app and cloud project, run:";
14
21
  readonly "language.word": "Language";
15
22
  readonly "language.saved": "Language set to {language}. Change it any time with: remotedraw language";
16
23
  readonly "language.current": "Language: {language} ({locale})";
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/locales/en.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4lBL,CAAC"}
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/locales/en.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmmBL,CAAC"}
@@ -11,6 +11,13 @@
11
11
  * English in every locale. See `docs`/the CLI README for the rationale.
12
12
  */
13
13
  export const en = {
14
+ "entry.source": "RemoteDraw source repository found in {path}. This repository develops the platform itself.",
15
+ "entry.configured": "RemoteDraw configuration found in {path}.",
16
+ "entry.existing": "Existing project found in {path}.",
17
+ "entry.check": "Check this integration:",
18
+ "entry.scan": "Inspect this project before choosing an integration:",
19
+ "entry.init": "Add RemoteDraw to this project (creates a cloud project unless --offline):",
20
+ "entry.new": "To create a separate app and cloud project, run:",
14
21
  // ── Language selection ────────────────────────────────────────────────
15
22
  // `language.word` is special: the picker joins this key from *every*
16
23
  // installed locale into its prompt, so the question reads no matter which
@@ -14,6 +14,13 @@ export declare const LOCALES: {
14
14
  tags: string[];
15
15
  aliases: string[];
16
16
  catalog: {
17
+ readonly "entry.source": "RemoteDraw source repository found in {path}. This repository develops the platform itself.";
18
+ readonly "entry.configured": "RemoteDraw configuration found in {path}.";
19
+ readonly "entry.existing": "Existing project found in {path}.";
20
+ readonly "entry.check": "Check this integration:";
21
+ readonly "entry.scan": "Inspect this project before choosing an integration:";
22
+ readonly "entry.init": "Add RemoteDraw to this project (creates a cloud project unless --offline):";
23
+ readonly "entry.new": "To create a separate app and cloud project, run:";
17
24
  readonly "language.word": "Language";
18
25
  readonly "language.saved": "Language set to {language}. Change it any time with: remotedraw language";
19
26
  readonly "language.current": "Language: {language} ({locale})";
@@ -434,7 +441,7 @@ export declare const LOCALES: {
434
441
  endonym: string;
435
442
  tags: string[];
436
443
  aliases: string[];
437
- catalog: Partial<Record<"language.word" | "language.saved" | "language.current" | "language.source.flag" | "language.source.env" | "language.source.config" | "language.source.default" | "language.available" | "language.unknown" | "language.saveFailed" | "language.help.title" | "language.help.usage.list" | "language.help.usage.set" | "language.help.body" | "language.help.override" | "word.usage" | "word.options" | "word.commands" | "word.next" | "word.examples" | "help.title" | "help.usage.main" | "help.command.guide" | "help.command.options" | "help.command.language" | "help.command.login" | "help.command.logout" | "help.command.whoami" | "help.command.new" | "help.command.init" | "help.command.dev" | "help.command.doctor" | "help.command.update" | "help.command.createInput" | "help.command.examples" | "help.command.agent" | "help.command.scan" | "help.command.project" | "project.help.usage" | "project.help.body" | "project.help.env" | "project.help.auth" | "project.error.unknownSubcommand" | "project.error.nameRequired" | "project.created" | "project.keyWritten" | "project.keyOnce" | "project.keyRule" | "cloud.warning.clientTree" | "scan.help.usage" | "scan.help.body" | "scan.help.privacy" | "scan.help.json" | "scan.error.missingPath" | "help.startHere" | "guide.title" | "guide.intro" | "guide.path.webIos" | "guide.path.webOwned" | "guide.path.svelteIos" | "guide.path.desktop" | "guide.path.ownIos" | "guide.note.keys" | "guide.note.provisioning" | "guide.note.offline" | "options.title" | "options.machineReadable" | "options.help.body" | "field.appName" | "field.target" | "field.sender" | "field.sdk" | "field.preset" | "field.packageManager" | "field.apiBaseUrl" | "field.project" | "field.folder" | "field.sdkShort" | "field.sender.helper" | "field.sdk.helper" | "field.appName.error" | "field.appName.preview" | "choice.target.web.label" | "choice.target.web.summary" | "choice.target.web.explanation" | "choice.target.web.docs" | "choice.target.desktop.label" | "choice.target.desktop.summary" | "choice.target.desktop.explanation" | "choice.target.desktop.docs" | "choice.target.ios.label" | "choice.target.ios.summary" | "choice.target.ios.explanation" | "choice.target.ios.docs" | "choice.target.headless.label" | "choice.target.headless.summary" | "choice.target.headless.explanation" | "choice.target.headless.docs" | "choice.sender.remotedrawIos.label" | "choice.sender.remotedrawIos.hint.scan" | "choice.sender.remotedrawIos.hint.joinUrl" | "choice.sender.remotedrawIos.summary" | "choice.sender.remotedrawIos.explanation" | "choice.sender.remotedrawIos.docs" | "choice.sender.embeddedWeb.label" | "choice.sender.embeddedWeb.hint" | "choice.sender.embeddedWeb.summary" | "choice.sender.embeddedWeb.explanation" | "choice.sender.embeddedWeb.docs" | "choice.sender.ownIos.label" | "choice.sender.ownIos.hint" | "choice.sender.ownIos.summary" | "choice.sender.ownIos.explanation" | "choice.sender.ownIos.docs" | "choice.sender.headless.label" | "choice.sender.headless.hint.noUi" | "choice.sender.headless.hint.httpRoutes" | "choice.sender.headless.summary" | "choice.sender.headless.explanation" | "choice.sender.headless.docs" | "choice.sdk.react.label" | "choice.sdk.react.hint" | "choice.sdk.react.summary" | "choice.sdk.react.explanation" | "choice.sdk.react.docs" | "choice.sdk.svelte.label" | "choice.sdk.svelte.hint" | "choice.sdk.svelte.summary" | "choice.sdk.svelte.explanation" | "choice.sdk.svelte.docs" | "choice.sdk.js.label.client" | "choice.sdk.js.label.noFramework" | "choice.sdk.js.hint.client" | "choice.sdk.js.hint.noFramework" | "choice.sdk.js.summary" | "choice.sdk.js.explanation" | "choice.sdk.js.docs" | "choice.sdk.swift.label" | "choice.sdk.swift.hint" | "choice.sdk.swift.summary" | "choice.sdk.swift.explanation" | "choice.sdk.swift.docs" | "choice.sdk.headless.label" | "choice.sdk.headless.hint" | "choice.sdk.headless.summary" | "choice.sdk.headless.explanation" | "choice.sdk.headless.docs" | "choice.preset.approval.summary" | "choice.preset.approval.explanation" | "choice.preset.approval.docs" | "choice.preset.sketch.label" | "choice.preset.sketch.hint" | "choice.preset.sketch.summary" | "choice.preset.sketch.explanation" | "choice.preset.sketch.docs" | "choice.preset.photoMarkup.summary" | "choice.preset.photoMarkup.explanation" | "choice.preset.photoMarkup.docs" | "choice.preset.pdfMarkup.summary" | "choice.preset.pdfMarkup.explanation" | "choice.preset.pdfMarkup.docs" | "choice.preset.mapMarkup.summary" | "choice.preset.mapMarkup.explanation" | "choice.preset.mapMarkup.docs" | "choice.preset.screenMarkup.label" | "choice.preset.screenMarkup.hint" | "choice.preset.screenMarkup.summary" | "choice.preset.screenMarkup.explanation" | "choice.preset.screenMarkup.docs" | "choice.preset.designReview.summary" | "choice.preset.designReview.explanation" | "choice.preset.designReview.docs" | "choice.preset.pointer.summary" | "choice.preset.pointer.explanation" | "choice.preset.pointer.docs" | "choice.packageManager.npm.summary" | "choice.packageManager.npm.explanation" | "choice.packageManager.npm.docs" | "choice.packageManager.pnpm.summary" | "choice.packageManager.pnpm.explanation" | "choice.packageManager.pnpm.docs" | "choice.packageManager.yarn.summary" | "choice.packageManager.yarn.explanation" | "choice.packageManager.yarn.docs" | "choice.packageManager.bun.summary" | "choice.packageManager.bun.explanation" | "choice.packageManager.bun.docs" | "wizard.title.setup" | "wizard.title.review" | "wizard.title.confirm" | "wizard.title.executing" | "wizard.title.success" | "wizard.title.error" | "wizard.title.interrupted" | "wizard.title.cancelled" | "wizard.confirm.no" | "wizard.confirm.yes" | "wizard.hint.replaceDefault" | "wizard.hint.edit" | "wizard.control.next" | "wizard.control.back" | "wizard.control.quitCtrlC" | "wizard.control.quitQ" | "wizard.control.steps" | "wizard.control.choose" | "wizard.control.docs" | "wizard.control.forward" | "wizard.control.backArrow" | "wizard.control.confirm" | "wizard.progress.step" | "wizard.card.help" | "wizard.card.summary" | "wizard.value.default" | "wizard.executing.detail" | "wizard.created.at" | "wizard.next.command" | "wizard.docs.line" | "wizard.tagline.setup" | "wizard.tagline" | "wizard.docs.openFailed" | "new.help.usage.bare" | "new.help.usage.named" | "new.help.interactive" | "new.help.option.path" | "new.help.option.target" | "new.help.option.sender" | "new.help.option.sdk" | "new.help.option.preset" | "new.help.option.packageManager" | "new.help.option.apiBaseUrl" | "new.help.option.force" | "new.help.option.offline" | "new.help.option.nonInteractive" | "new.help.option.format" | "new.help.option.dryRun" | "new.help.option.language" | "init.help.usage" | "init.help.body" | "prompt.control.move" | "prompt.control.select" | "prompt.control.quit" | "prompt.intro.setup" | "scaffold.verb.created" | "scaffold.verb.initialized" | "scaffold.verb.installedExample" | "scaffold.headline" | "scaffold.choices" | "scaffold.choice.app" | "scaffold.choice.sdk" | "scaffold.choice.sender" | "scaffold.choice.starter" | "scaffold.wrote" | "scaffold.wouldWrite" | "scaffold.next.install" | "scaffold.next.secrets" | "scaffold.next.createInput" | "scaffold.next.render" | "cloud.skipped" | "cloud.dashboardProject" | "cloud.devKey" | "cloud.projectId" | "cloud.warning.placeholder" | "cloud.warning.offline" | "cloud.warning.dryRun" | "login.already" | "login.complete" | "login.credential" | "login.help.title" | "login.help.usage" | "login.help.body" | "logout.done" | "logout.none" | "logout.help.title" | "logout.help.usage" | "whoami.notLoggedIn" | "whoami.api" | "whoami.anonymous" | "whoami.help.title" | "whoami.help.usage" | "doctor.title" | "doctor.config.ok" | "doctor.config.missing" | "doctor.package.ok" | "doctor.package.missing" | "doctor.sdk.ok" | "doctor.sdk.missing" | "doctor.apiKey.ok" | "doctor.apiKey.missing" | "doctor.label.deployment" | "doctor.label.deploymentReachable" | "doctor.label.apiKeyAccepted" | "doctor.label.cliVersion" | "doctor.network.offline" | "doctor.network.noOrigin" | "doctor.health.ok" | "doctor.health.failed" | "doctor.key.skippedNoKey" | "doctor.key.skippedNoHealth" | "doctor.key.liveOne" | "doctor.key.liveMany" | "doctor.version.offline" | "doctor.version.unknown" | "doctor.version.stale" | "doctor.version.latest" | "doctor.probe.noNetwork" | "doctor.probe.noNetworkKey" | "doctor.probe.nonJson" | "doctor.probe.rejected" | "doctor.baseUrl.placeholder" | "doctor.baseUrl.invalid" | "doctor.baseUrl.default" | "doctor.baseUrl.production" | "doctor.baseUrl.override" | "doctor.baseUrl.origin.flag" | "doctor.baseUrl.origin.project" | "doctor.help.usage" | "doctor.help.checks" | "doctor.help.baseUrl" | "doctor.help.network" | "doctor.help.version" | "doctor.help.offline" | "update.unreachable" | "update.alreadyLatest" | "update.available" | "update.ephemeral" | "update.runToInstall" | "update.availableRun" | "update.failed" | "update.done" | "update.help.usage" | "update.help.body" | "update.help.global" | "update.help.check" | "update.help.silence" | "dev.title" | "dev.apiBaseUrl" | "dev.hosted" | "dev.step1" | "dev.step1.detail" | "dev.step2" | "dev.step3" | "dev.step3.detail" | "dev.help.usage" | "dev.help.body" | "createInput.title" | "createInput.warning" | "createInput.footer" | "createInput.error.noFetch" | "createInput.error.noKey" | "createInput.error.apiStatus" | "createInput.help.usage" | "createInput.help.option.preset" | "createInput.help.option.label" | "createInput.help.option.externalId" | "createInput.help.option.apiBaseUrl" | "createInput.help.option.apiKey" | "createInput.help.option.expiresInMs" | "examples.title" | "examples.reactIos" | "examples.reactOwnedSender" | "examples.rawHttp" | "examples.iosOwnedSender" | "examples.installOne" | "examples.help.usage.list" | "examples.help.usage.install" | "agent.title" | "agent.intro" | "agent.printSkill" | "agent.installSkill" | "agent.wouldWrite" | "agent.installed" | "agent.next" | "agent.error.exists" | "agent.help.usage.bare" | "agent.help.usage.print" | "agent.help.usage.install" | "agent.help.paths" | "agent.help.body" | "cloud.authorize" | "cloud.browserOpened" | "cloud.browserFailed" | "cloud.error.notLoggedIn" | "cloud.error.authStatus" | "cloud.error.authExpired" | "cloud.error.noFetch" | "cloud.error.unreachable" | "cloud.error.endpointMissing" | "cloud.error.invalidResponse" | "cloud.error.requestFailed" | "cloud.error.badOrigin" | "cloud.error.configUnreadable" | "cloud.error.envConflict" | "notice.update.available" | "notice.update.ephemeral" | "notice.update.install" | "error.appNameRequired" | "error.plan.ownIosNeedsSwift" | "error.plan.swiftNeedsOwnIos" | "error.plan.iosNeedsOwnIos" | "error.plan.headlessSenderSdk" | "error.unknownChoice" | "error.refuseOverwrite" | "error.expectedHttpOrigin" | "error.expectedBareOrigin" | "error.noHome" | "error.unknownCommand" | "error.unsupportedOption" | "error.optionNoValue" | "error.optionNeedsValue" | "error.expiresInMs" | "error.interactiveNeedsTty" | "error.noChoices" | "error.httpsDocsOnly" | "error.httpUrlsOnly", string>>;
444
+ catalog: Partial<Record<"entry.source" | "entry.configured" | "entry.existing" | "entry.check" | "entry.scan" | "entry.init" | "entry.new" | "language.word" | "language.saved" | "language.current" | "language.source.flag" | "language.source.env" | "language.source.config" | "language.source.default" | "language.available" | "language.unknown" | "language.saveFailed" | "language.help.title" | "language.help.usage.list" | "language.help.usage.set" | "language.help.body" | "language.help.override" | "word.usage" | "word.options" | "word.commands" | "word.next" | "word.examples" | "help.title" | "help.usage.main" | "help.command.guide" | "help.command.options" | "help.command.language" | "help.command.login" | "help.command.logout" | "help.command.whoami" | "help.command.new" | "help.command.init" | "help.command.dev" | "help.command.doctor" | "help.command.update" | "help.command.createInput" | "help.command.examples" | "help.command.agent" | "help.command.scan" | "help.command.project" | "project.help.usage" | "project.help.body" | "project.help.env" | "project.help.auth" | "project.error.unknownSubcommand" | "project.error.nameRequired" | "project.created" | "project.keyWritten" | "project.keyOnce" | "project.keyRule" | "cloud.warning.clientTree" | "scan.help.usage" | "scan.help.body" | "scan.help.privacy" | "scan.help.json" | "scan.error.missingPath" | "help.startHere" | "guide.title" | "guide.intro" | "guide.path.webIos" | "guide.path.webOwned" | "guide.path.svelteIos" | "guide.path.desktop" | "guide.path.ownIos" | "guide.note.keys" | "guide.note.provisioning" | "guide.note.offline" | "options.title" | "options.machineReadable" | "options.help.body" | "field.appName" | "field.target" | "field.sender" | "field.sdk" | "field.preset" | "field.packageManager" | "field.apiBaseUrl" | "field.project" | "field.folder" | "field.sdkShort" | "field.sender.helper" | "field.sdk.helper" | "field.appName.error" | "field.appName.preview" | "choice.target.web.label" | "choice.target.web.summary" | "choice.target.web.explanation" | "choice.target.web.docs" | "choice.target.desktop.label" | "choice.target.desktop.summary" | "choice.target.desktop.explanation" | "choice.target.desktop.docs" | "choice.target.ios.label" | "choice.target.ios.summary" | "choice.target.ios.explanation" | "choice.target.ios.docs" | "choice.target.headless.label" | "choice.target.headless.summary" | "choice.target.headless.explanation" | "choice.target.headless.docs" | "choice.sender.remotedrawIos.label" | "choice.sender.remotedrawIos.hint.scan" | "choice.sender.remotedrawIos.hint.joinUrl" | "choice.sender.remotedrawIos.summary" | "choice.sender.remotedrawIos.explanation" | "choice.sender.remotedrawIos.docs" | "choice.sender.embeddedWeb.label" | "choice.sender.embeddedWeb.hint" | "choice.sender.embeddedWeb.summary" | "choice.sender.embeddedWeb.explanation" | "choice.sender.embeddedWeb.docs" | "choice.sender.ownIos.label" | "choice.sender.ownIos.hint" | "choice.sender.ownIos.summary" | "choice.sender.ownIos.explanation" | "choice.sender.ownIos.docs" | "choice.sender.headless.label" | "choice.sender.headless.hint.noUi" | "choice.sender.headless.hint.httpRoutes" | "choice.sender.headless.summary" | "choice.sender.headless.explanation" | "choice.sender.headless.docs" | "choice.sdk.react.label" | "choice.sdk.react.hint" | "choice.sdk.react.summary" | "choice.sdk.react.explanation" | "choice.sdk.react.docs" | "choice.sdk.svelte.label" | "choice.sdk.svelte.hint" | "choice.sdk.svelte.summary" | "choice.sdk.svelte.explanation" | "choice.sdk.svelte.docs" | "choice.sdk.js.label.client" | "choice.sdk.js.label.noFramework" | "choice.sdk.js.hint.client" | "choice.sdk.js.hint.noFramework" | "choice.sdk.js.summary" | "choice.sdk.js.explanation" | "choice.sdk.js.docs" | "choice.sdk.swift.label" | "choice.sdk.swift.hint" | "choice.sdk.swift.summary" | "choice.sdk.swift.explanation" | "choice.sdk.swift.docs" | "choice.sdk.headless.label" | "choice.sdk.headless.hint" | "choice.sdk.headless.summary" | "choice.sdk.headless.explanation" | "choice.sdk.headless.docs" | "choice.preset.approval.summary" | "choice.preset.approval.explanation" | "choice.preset.approval.docs" | "choice.preset.sketch.label" | "choice.preset.sketch.hint" | "choice.preset.sketch.summary" | "choice.preset.sketch.explanation" | "choice.preset.sketch.docs" | "choice.preset.photoMarkup.summary" | "choice.preset.photoMarkup.explanation" | "choice.preset.photoMarkup.docs" | "choice.preset.pdfMarkup.summary" | "choice.preset.pdfMarkup.explanation" | "choice.preset.pdfMarkup.docs" | "choice.preset.mapMarkup.summary" | "choice.preset.mapMarkup.explanation" | "choice.preset.mapMarkup.docs" | "choice.preset.screenMarkup.label" | "choice.preset.screenMarkup.hint" | "choice.preset.screenMarkup.summary" | "choice.preset.screenMarkup.explanation" | "choice.preset.screenMarkup.docs" | "choice.preset.designReview.summary" | "choice.preset.designReview.explanation" | "choice.preset.designReview.docs" | "choice.preset.pointer.summary" | "choice.preset.pointer.explanation" | "choice.preset.pointer.docs" | "choice.packageManager.npm.summary" | "choice.packageManager.npm.explanation" | "choice.packageManager.npm.docs" | "choice.packageManager.pnpm.summary" | "choice.packageManager.pnpm.explanation" | "choice.packageManager.pnpm.docs" | "choice.packageManager.yarn.summary" | "choice.packageManager.yarn.explanation" | "choice.packageManager.yarn.docs" | "choice.packageManager.bun.summary" | "choice.packageManager.bun.explanation" | "choice.packageManager.bun.docs" | "wizard.title.setup" | "wizard.title.review" | "wizard.title.confirm" | "wizard.title.executing" | "wizard.title.success" | "wizard.title.error" | "wizard.title.interrupted" | "wizard.title.cancelled" | "wizard.confirm.no" | "wizard.confirm.yes" | "wizard.hint.replaceDefault" | "wizard.hint.edit" | "wizard.control.next" | "wizard.control.back" | "wizard.control.quitCtrlC" | "wizard.control.quitQ" | "wizard.control.steps" | "wizard.control.choose" | "wizard.control.docs" | "wizard.control.forward" | "wizard.control.backArrow" | "wizard.control.confirm" | "wizard.progress.step" | "wizard.card.help" | "wizard.card.summary" | "wizard.value.default" | "wizard.executing.detail" | "wizard.created.at" | "wizard.next.command" | "wizard.docs.line" | "wizard.tagline.setup" | "wizard.tagline" | "wizard.docs.openFailed" | "new.help.usage.bare" | "new.help.usage.named" | "new.help.interactive" | "new.help.option.path" | "new.help.option.target" | "new.help.option.sender" | "new.help.option.sdk" | "new.help.option.preset" | "new.help.option.packageManager" | "new.help.option.apiBaseUrl" | "new.help.option.force" | "new.help.option.offline" | "new.help.option.nonInteractive" | "new.help.option.format" | "new.help.option.dryRun" | "new.help.option.language" | "init.help.usage" | "init.help.body" | "prompt.control.move" | "prompt.control.select" | "prompt.control.quit" | "prompt.intro.setup" | "scaffold.verb.created" | "scaffold.verb.initialized" | "scaffold.verb.installedExample" | "scaffold.headline" | "scaffold.choices" | "scaffold.choice.app" | "scaffold.choice.sdk" | "scaffold.choice.sender" | "scaffold.choice.starter" | "scaffold.wrote" | "scaffold.wouldWrite" | "scaffold.next.install" | "scaffold.next.secrets" | "scaffold.next.createInput" | "scaffold.next.render" | "cloud.skipped" | "cloud.dashboardProject" | "cloud.devKey" | "cloud.projectId" | "cloud.warning.placeholder" | "cloud.warning.offline" | "cloud.warning.dryRun" | "login.already" | "login.complete" | "login.credential" | "login.help.title" | "login.help.usage" | "login.help.body" | "logout.done" | "logout.none" | "logout.help.title" | "logout.help.usage" | "whoami.notLoggedIn" | "whoami.api" | "whoami.anonymous" | "whoami.help.title" | "whoami.help.usage" | "doctor.title" | "doctor.config.ok" | "doctor.config.missing" | "doctor.package.ok" | "doctor.package.missing" | "doctor.sdk.ok" | "doctor.sdk.missing" | "doctor.apiKey.ok" | "doctor.apiKey.missing" | "doctor.label.deployment" | "doctor.label.deploymentReachable" | "doctor.label.apiKeyAccepted" | "doctor.label.cliVersion" | "doctor.network.offline" | "doctor.network.noOrigin" | "doctor.health.ok" | "doctor.health.failed" | "doctor.key.skippedNoKey" | "doctor.key.skippedNoHealth" | "doctor.key.liveOne" | "doctor.key.liveMany" | "doctor.version.offline" | "doctor.version.unknown" | "doctor.version.stale" | "doctor.version.latest" | "doctor.probe.noNetwork" | "doctor.probe.noNetworkKey" | "doctor.probe.nonJson" | "doctor.probe.rejected" | "doctor.baseUrl.placeholder" | "doctor.baseUrl.invalid" | "doctor.baseUrl.default" | "doctor.baseUrl.production" | "doctor.baseUrl.override" | "doctor.baseUrl.origin.flag" | "doctor.baseUrl.origin.project" | "doctor.help.usage" | "doctor.help.checks" | "doctor.help.baseUrl" | "doctor.help.network" | "doctor.help.version" | "doctor.help.offline" | "update.unreachable" | "update.alreadyLatest" | "update.available" | "update.ephemeral" | "update.runToInstall" | "update.availableRun" | "update.failed" | "update.done" | "update.help.usage" | "update.help.body" | "update.help.global" | "update.help.check" | "update.help.silence" | "dev.title" | "dev.apiBaseUrl" | "dev.hosted" | "dev.step1" | "dev.step1.detail" | "dev.step2" | "dev.step3" | "dev.step3.detail" | "dev.help.usage" | "dev.help.body" | "createInput.title" | "createInput.warning" | "createInput.footer" | "createInput.error.noFetch" | "createInput.error.noKey" | "createInput.error.apiStatus" | "createInput.help.usage" | "createInput.help.option.preset" | "createInput.help.option.label" | "createInput.help.option.externalId" | "createInput.help.option.apiBaseUrl" | "createInput.help.option.apiKey" | "createInput.help.option.expiresInMs" | "examples.title" | "examples.reactIos" | "examples.reactOwnedSender" | "examples.rawHttp" | "examples.iosOwnedSender" | "examples.installOne" | "examples.help.usage.list" | "examples.help.usage.install" | "agent.title" | "agent.intro" | "agent.printSkill" | "agent.installSkill" | "agent.wouldWrite" | "agent.installed" | "agent.next" | "agent.error.exists" | "agent.help.usage.bare" | "agent.help.usage.print" | "agent.help.usage.install" | "agent.help.paths" | "agent.help.body" | "cloud.authorize" | "cloud.browserOpened" | "cloud.browserFailed" | "cloud.error.notLoggedIn" | "cloud.error.authStatus" | "cloud.error.authExpired" | "cloud.error.noFetch" | "cloud.error.unreachable" | "cloud.error.endpointMissing" | "cloud.error.invalidResponse" | "cloud.error.requestFailed" | "cloud.error.badOrigin" | "cloud.error.configUnreadable" | "cloud.error.envConflict" | "notice.update.available" | "notice.update.ephemeral" | "notice.update.install" | "error.appNameRequired" | "error.plan.ownIosNeedsSwift" | "error.plan.swiftNeedsOwnIos" | "error.plan.iosNeedsOwnIos" | "error.plan.headlessSenderSdk" | "error.unknownChoice" | "error.refuseOverwrite" | "error.expectedHttpOrigin" | "error.expectedBareOrigin" | "error.noHome" | "error.unknownCommand" | "error.unsupportedOption" | "error.optionNoValue" | "error.optionNeedsValue" | "error.expiresInMs" | "error.interactiveNeedsTty" | "error.noChoices" | "error.httpsDocsOnly" | "error.httpUrlsOnly", string>>;
438
445
  };
439
446
  };
440
447
  export type Locale = keyof typeof LOCALES;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/locales/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAC7B,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAG7B,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE/E;;;;;;GAMG;AACH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAawB,CAAC;AAE7C,MAAM,MAAM,MAAM,GAAG,MAAM,OAAO,OAAO,CAAC;AAE1C,6EAA6E;AAC7E,eAAO,MAAM,aAAa,EAAE,MAAa,CAAC;AAE1C,eAAO,MAAM,iBAAiB,EAA2B,MAAM,EAAE,CAAC;AAElE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC"}
File without changes
File without changes
@@ -1 +1 @@
1
- {"version":3,"file":"nl.d.ts","sourceRoot":"","sources":["../../src/locales/nl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD;;;;;;GAMG;AACH,eAAO,MAAM,EAAE,EAAE,aA8mBhB,CAAC"}
1
+ {"version":3,"file":"nl.d.ts","sourceRoot":"","sources":["../../src/locales/nl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD;;;;;;GAMG;AACH,eAAO,MAAM,EAAE,EAAE,aAqnBhB,CAAC"}
@@ -6,6 +6,13 @@
6
6
  * `tests/i18n.test.ts` asserts this catalog stays complete.
7
7
  */
8
8
  export const nl = {
9
+ "entry.source": "RemoteDraw-bronrepository gevonden in {path}. In deze repository wordt het platform zelf ontwikkeld.",
10
+ "entry.configured": "RemoteDraw-configuratie gevonden in {path}.",
11
+ "entry.existing": "Bestaand project gevonden in {path}.",
12
+ "entry.check": "Controleer deze integratie:",
13
+ "entry.scan": "Bekijk dit project voordat je een integratie kiest:",
14
+ "entry.init": "Voeg RemoteDraw toe aan dit project (maakt een cloudproject, tenzij je --offline gebruikt):",
15
+ "entry.new": "Voer dit uit om een aparte app en een cloudproject te maken:",
9
16
  // ── Taalkeuze ─────────────────────────────────────────────────────────
10
17
  "language.word": "Taal",
11
18
  "language.saved": "Taal ingesteld op {language}. Wijzig dit wanneer je wilt met: remotedraw language",
File without changes
File without changes
File without changes
package/dist/scan.d.ts CHANGED
File without changes
File without changes
package/dist/scan.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/telemetry.js CHANGED
File without changes
package/dist/update.d.ts CHANGED
@@ -32,7 +32,7 @@ export declare function parseVersion(value: string): {
32
32
  numbers: number[];
33
33
  prerelease: string;
34
34
  };
35
- export declare function compareVersions(a: string, b: string): 0 | 1 | -1;
35
+ export declare function compareVersions(a: string, b: string): 1 | 0 | -1;
36
36
  /**
37
37
  * Derives the update command from where the running binary lives, falling back
38
38
  * to the manager that invoked us. Guessing wrong only prints the wrong
File without changes
package/dist/update.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotedraw/cli",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "Command-line tools for creating and inspecting RemoteDraw integrations.",
5
5
  "type": "module",
6
6
  "bin": {