@xano/sdk 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/CHANGELOG.md +9 -776
  2. package/dist/.build-fingerprint +1 -1
  3. package/dist/{agent-file-refresh-ZEMK33AX.js → agent-file-refresh-T7BL3JDV.js} +4 -4
  4. package/dist/{backend-dir-2U53CIAL.js → backend-dir-2EYNX36R.js} +4 -4
  5. package/dist/bin.js +14 -14
  6. package/dist/{branch-commands-ACIRCEQJ.js → branch-commands-D7MVAOSY.js} +3 -3
  7. package/dist/{chunk-UVHDMMIP.js → chunk-2KETYQPN.js} +4 -4
  8. package/dist/{chunk-LRN4ZJCQ.js → chunk-AAX2S6OU.js} +14 -14
  9. package/dist/{chunk-AHJWCYQO.js → chunk-AWMTT5U7.js} +2 -2
  10. package/dist/{chunk-AOSYVMUS.js → chunk-BU5GWPBO.js} +3 -3
  11. package/dist/{chunk-SWBF2LTK.js → chunk-CHRP4RHP.js} +2 -2
  12. package/dist/{chunk-W3HBUKFO.js → chunk-DBMN5YLZ.js} +3 -3
  13. package/dist/{chunk-QCNYHBL7.js → chunk-ES3TNTLS.js} +5 -5
  14. package/dist/{chunk-WKQLGKCL.js → chunk-FXGJ7TEQ.js} +20 -20
  15. package/dist/{chunk-I4F5TCJH.js → chunk-HSBVDFU2.js} +2 -2
  16. package/dist/{chunk-4Q2GN7NW.js → chunk-IC23IKRU.js} +1 -1
  17. package/dist/{chunk-BAUZOWGX.js → chunk-IFSNSRUJ.js} +7 -4
  18. package/dist/{chunk-ETO6LGLD.js → chunk-JLUAWKX2.js} +48 -48
  19. package/dist/{chunk-DAD3ONIS.js → chunk-JTGBGL37.js} +3 -3
  20. package/dist/{chunk-5A2PLKZB.js → chunk-KUI7V576.js} +2 -2
  21. package/dist/{chunk-KTSDSD36.js → chunk-LCMQNVHL.js} +2 -2
  22. package/dist/{chunk-XBKMWY7F.js → chunk-MZ4EQX7X.js} +3 -3
  23. package/dist/{chunk-X677DMZM.js → chunk-NK2633D7.js} +15 -15
  24. package/dist/{chunk-Q325JKYB.js → chunk-NM2X7SQ3.js} +2 -2
  25. package/dist/{chunk-YHEFQUQB.js → chunk-OFEID2IX.js} +2 -2
  26. package/dist/{chunk-CGVQZXYG.js → chunk-OFISBMQ6.js} +2 -2
  27. package/dist/{chunk-BHACRS6R.js → chunk-OIQH34Q5.js} +12 -12
  28. package/dist/{chunk-SFLHVCKX.js → chunk-PA43WZWS.js} +2 -2
  29. package/dist/{chunk-ET4Y4XCB.js → chunk-PV7BGEF2.js} +3 -3
  30. package/dist/{chunk-DX4QR4B2.js → chunk-RLHYFD2R.js} +2 -2
  31. package/dist/{chunk-HHN734BU.js → chunk-SAC4DYYP.js} +8 -8
  32. package/dist/{chunk-K4WX6UUU.js → chunk-SKMZGS3L.js} +11 -11
  33. package/dist/{chunk-AWEIIR2U.js → chunk-TGPYAMVT.js} +2 -2
  34. package/dist/{chunk-WZDJ2LLX.js → chunk-TLJWHLBK.js} +43 -43
  35. package/dist/{chunk-6NNTNXN7.js → chunk-TNM7VE7N.js} +2 -2
  36. package/dist/{chunk-A6E77GDW.js → chunk-TPCOHYPG.js} +2 -2
  37. package/dist/{chunk-K6RXBGUB.js → chunk-UCZZ6KRR.js} +5 -5
  38. package/dist/{chunk-SAVJUS2X.js → chunk-UF7TI3BS.js} +2 -2
  39. package/dist/{chunk-ELP2HMXC.js → chunk-VAL32UEI.js} +2 -2
  40. package/dist/{chunk-3M4LFYNQ.js → chunk-WL2DSNJV.js} +55 -22
  41. package/dist/{chunk-LIEOKXKD.js → chunk-YY2UY7PZ.js} +2 -2
  42. package/dist/{chunk-TLHIFK4M.js → chunk-ZFKZMSM3.js} +2 -2
  43. package/dist/{chunk-WQFNASK4.js → chunk-ZPSPKPXK.js} +2 -2
  44. package/dist/cli.js +13 -13
  45. package/dist/{codegen-command-VR2GWR6C.js → codegen-command-XEHCGZHH.js} +19 -19
  46. package/dist/{deploy-command-JVZPWHMK.js → deploy-command-V2EMVVK2.js} +17 -17
  47. package/dist/{deploy-source-3W45CXMP.js → deploy-source-4BRH7JMY.js} +8 -8
  48. package/dist/{dev-env-sync-HN44K4D5.js → dev-env-sync-4334IEDW.js} +14 -14
  49. package/dist/{env-example-refresh-ET5HMMDW.js → env-example-refresh-GQKAQDWO.js} +20 -20
  50. package/dist/{env-pull-command-TNMNB3CV.js → env-pull-command-E6UITJ75.js} +14 -14
  51. package/dist/{env-target-O4HRKTGZ.js → env-target-76MVYUD4.js} +2 -2
  52. package/dist/{env-var-command-ZIRDCAZA.js → env-var-command-J2LKNUEQ.js} +14 -14
  53. package/dist/{ephemeral-command-CLJJKOFT.js → ephemeral-command-YZATIADS.js} +15 -15
  54. package/dist/{generate-command-AYEOLA26.js → generate-command-XSKLN7ST.js} +22 -22
  55. package/dist/{gitignore-3SJ3WNRG.js → gitignore-W23MIWX6.js} +6 -6
  56. package/dist/{impersonate-command-5JAS3WSV.js → impersonate-command-YZMTA7NW.js} +11 -11
  57. package/dist/{init-command-X2FR4UAK.js → init-command-CEYEFIS2.js} +16 -16
  58. package/dist/{init-modules-RY7UHAOL.js → init-modules-IAVCXWX3.js} +2 -2
  59. package/dist/{keep-data-merge-7MPLVAVI.js → keep-data-merge-M4ULDZB6.js} +4 -4
  60. package/dist/{landing-record-SU52SKXU.js → landing-record-JLN6BCQY.js} +5 -5
  61. package/dist/{local-engine-choice-CH5X3W7E.js → local-engine-choice-QOQJZ5P2.js} +9 -9
  62. package/dist/{local-engine-command-Z3OL7VOD.js → local-engine-command-YVNO5ETS.js} +16 -21
  63. package/dist/{local-engine-deploy-PCQ4SNPB.js → local-engine-deploy-AWA65WR2.js} +5 -4
  64. package/dist/{local-engine-process-EHTE5LLU.js → local-engine-process-SQLSK3AB.js} +4 -3
  65. package/dist/{local-engine-state-A4FTRFAF.js → local-engine-state-TJWPWCC4.js} +5 -2
  66. package/dist/{lock-commands-2QG25HL7.js → lock-commands-GU3TKPWU.js} +14 -14
  67. package/dist/{login-command-QPYRWOXZ.js → login-command-FPKDGYUR.js} +9 -9
  68. package/dist/{logout-command-WOIQLDP6.js → logout-command-MQD3L46D.js} +3 -3
  69. package/dist/{marketplace-command-K5YL42NO.js → marketplace-command-25ZYWSHI.js} +13 -31
  70. package/dist/{meta-client-YXGPW53C.js → meta-client-JPGG2ZHS.js} +2 -2
  71. package/dist/node.js +15 -15
  72. package/dist/{operation-outcome-TZSESNC7.js → operation-outcome-QH6IZEV5.js} +5 -5
  73. package/dist/{output-target-AL3I44GG.js → output-target-NTJAO4VA.js} +7 -7
  74. package/dist/{preflight-command-2T5Z36MI.js → preflight-command-OPIVTVIJ.js} +19 -19
  75. package/dist/{profile-command-AH3PIM4X.js → profile-command-RW7LJZWN.js} +10 -10
  76. package/dist/{promote-command-PCWT5N6S.js → promote-command-TYPJDNRW.js} +26 -26
  77. package/dist/{publish-command-TTDUUJI5.js → publish-command-WIQCLPIU.js} +17 -17
  78. package/dist/{pull-command-VBO7C4S3.js → pull-command-4LVTKE4S.js} +21 -21
  79. package/dist/{release-command-N4ZPKMHR.js → release-command-JJ3QDX3T.js} +19 -19
  80. package/dist/{release-ns-command-3KFDMZ6G.js → release-ns-command-HGKCE56Y.js} +32 -32
  81. package/dist/{secrets-file-LVZD6IIM.js → secrets-file-O5GABAHH.js} +5 -5
  82. package/dist/{secrets-fill-command-TTCPSVXN.js → secrets-fill-command-XSONDOOT.js} +16 -16
  83. package/dist/{source-resolve-S2XA3XZF.js → source-resolve-UE7DHWYR.js} +4 -4
  84. package/dist/{status-command-RUDXTF7I.js → status-command-QIC7QCWJ.js} +14 -14
  85. package/dist/{sync-contributions-UCEROO26.js → sync-contributions-WEKCYMP6.js} +2 -2
  86. package/dist/{tables-command-GUPXXSB5.js → tables-command-VBIAU4HI.js} +11 -11
  87. package/dist/{tenant-command-D5HGI2X4.js → tenant-command-JXDHHIZH.js} +32 -32
  88. package/dist/{test-command-TIKZMDPZ.js → test-command-ST2BXOEH.js} +11 -11
  89. package/dist/{token-NICJUTMT.js → token-OZV2UJQA.js} +2 -2
  90. package/dist/{toolchain-modules-5EAZUONB.js → toolchain-modules-DCKB4AVK.js} +2 -2
  91. package/dist/{tracked-backend-EIBUMDZA.js → tracked-backend-JX2YUXTZ.js} +10 -10
  92. package/dist/{update-check-2W2NLDTC.js → update-check-K557PAI7.js} +15 -15
  93. package/dist/{upgrade-command-QHNFWM7O.js → upgrade-command-PKZPJKAV.js} +17 -17
  94. package/dist/{whoami-command-STGINTXH.js → whoami-command-IN2DJHSI.js} +4 -4
  95. package/dist/{workspace-2CLHU2LK.js → workspace-4STTFOPC.js} +2 -2
  96. package/dist/{workspace-binding-56PIIPCP.js → workspace-binding-T3HVSO4V.js} +3 -3
  97. package/dist/{workspace-command-JEXQETJD.js → workspace-command-3NQQRB7E.js} +26 -26
  98. package/dist/{workspace-env-F2RFMSC5.js → workspace-env-MWJFQ6O3.js} +5 -5
  99. package/dist/{xanosdk-import-GN42TO2B.js → xanosdk-import-N6OTERC6.js} +2 -2
  100. package/dist/{xanosdk-project-S6DXJONQ.js → xanosdk-project-7RIKS2ZQ.js} +5 -5
  101. package/llms-full.txt +1 -1
  102. package/llms.txt +1 -1
  103. package/manifest.json +1 -1
  104. package/package.json +1 -1
@@ -10,13 +10,13 @@ import {
10
10
  namesInEnvExample,
11
11
  parseEnvFile,
12
12
  readWorkspaceEnvFile
13
- } from "./chunk-DAD3ONIS.js";
13
+ } from "./chunk-JTGBGL37.js";
14
14
  import {
15
15
  readTrackedBackend
16
- } from "./chunk-HHN734BU.js";
16
+ } from "./chunk-SAC4DYYP.js";
17
17
  import {
18
18
  isCI
19
- } from "./chunk-Q325JKYB.js";
19
+ } from "./chunk-NM2X7SQ3.js";
20
20
  import {
21
21
  backendSlotForFlag,
22
22
  slotValueMissing
@@ -24,7 +24,7 @@ import {
24
24
  import {
25
25
  defaultWorkspaceSecretsPath,
26
26
  readSecretsFile
27
- } from "./chunk-I4F5TCJH.js";
27
+ } from "./chunk-HSBVDFU2.js";
28
28
  import {
29
29
  allLandings,
30
30
  getEnvironment,
@@ -2477,7 +2477,7 @@ async function tsxRemedy(file) {
2477
2477
  );
2478
2478
  if (!declared) return fallback;
2479
2479
  const { detectPackageManager } = await import("./package-manager-PRAHUSCN.js");
2480
- const { inProject } = await import("./init-modules-RY7UHAOL.js");
2480
+ const { inProject } = await import("./init-modules-IAVCXWX3.js");
2481
2481
  return `This project's package.json declares it, but its dependencies are not installed \u2014 run \`${inProject(dir)}${detectPackageManager(dir)} install\` first.`;
2482
2482
  }
2483
2483
  if (dirname2(dir) === dir) return fallback;
@@ -3098,7 +3098,7 @@ async function explainUnreachableWorkspace(err) {
3098
3098
  let verdict = unreachableVerdicts.get(auth);
3099
3099
  if (verdict === void 0) {
3100
3100
  verdict = (async () => {
3101
- const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-56PIIPCP.js");
3101
+ const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-T3HVSO4V.js");
3102
3102
  const all = await readReachableWorkspaces(auth, 15e3);
3103
3103
  if (all === void 0 || all.length === 0 || all.some((w) => w.id === auth.workspaceId)) return void 0;
3104
3104
  return new UsageError(unreachableWorkspaceMessage(auth, all));
@@ -3112,7 +3112,7 @@ async function explainRejectedCredential(err) {
3112
3112
  if (!(err instanceof Error) || resolved === void 0) return err;
3113
3113
  const [first = "", ...rest] = err.message.split("\n");
3114
3114
  if (!/\(401\b[^)]*\)|\banswered (HTTP )?401\b/.test(first) || /\brejected\b/.test(err.message)) return err;
3115
- const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-STGINTXH.js");
3115
+ const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-IN2DJHSI.js");
3116
3116
  const { auth, args } = resolved;
3117
3117
  err.message = [first, rejectedRemedy(auth, args), ...rest].join("\n");
3118
3118
  if (failureCode(err) === "SDK_ERROR") asRejectedCredential(err, auth, args);
@@ -3150,10 +3150,10 @@ function withoutSecretValue(args) {
3150
3150
  }
3151
3151
  async function nameLookupRerun(failure) {
3152
3152
  if (!(failure instanceof Error) || runArgs?.argv === void 0) return failure;
3153
- const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-S2XA3XZF.js");
3153
+ const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-UE7DHWYR.js");
3154
3154
  const err = rateLimitedFailure(failure);
3155
3155
  if (!(err instanceof LookupFailedError)) return err;
3156
- const { retryCommand, withheldNote } = await import("./deploy-command-JVZPWHMK.js");
3156
+ const { retryCommand, withheldNote } = await import("./deploy-command-V2EMVVK2.js");
3157
3157
  if (runArgs.command === "env" && runArgs.subcommand === "set") {
3158
3158
  const retry2 = retryCommand(withoutSecretValue(runArgs));
3159
3159
  return err.withRerun(
@@ -3208,7 +3208,7 @@ function isPathlessRun(args) {
3208
3208
  return PATHLESS_COMMANDS.has(command) || PATHLESS_VERBS[command]?.has(args.subcommand ?? "") === true;
3209
3209
  }
3210
3210
  async function atProjectRoot(args, command, positional) {
3211
- const { enterProjectRoot } = await import("./xanosdk-project-S6DXJONQ.js");
3211
+ const { enterProjectRoot } = await import("./xanosdk-project-7RIKS2ZQ.js");
3212
3212
  const entered = enterProjectRoot(args, process.cwd(), positional);
3213
3213
  if (entered === void 0) return command(args);
3214
3214
  if (isPathlessRun(args)) {
@@ -3348,7 +3348,7 @@ async function dispatch(rawArgv) {
3348
3348
  setHintContext(args);
3349
3349
  runArgs = args;
3350
3350
  noteRunArgs(args);
3351
- if (isMachineOutput(args)) (await import("./update-check-2W2NLDTC.js")).routeUpdateNoticeToDocument();
3351
+ if (isMachineOutput(args)) (await import("./update-check-K557PAI7.js")).routeUpdateNoticeToDocument();
3352
3352
  const { command } = args;
3353
3353
  const out = args.out === "-" ? void 0 : args.out;
3354
3354
  if (command === void 0) {
@@ -3369,7 +3369,7 @@ async function dispatch(rawArgv) {
3369
3369
  return;
3370
3370
  }
3371
3371
  if (command === "init") {
3372
- const { runInitCommand } = await import("./init-command-X2FR4UAK.js");
3372
+ const { runInitCommand } = await import("./init-command-CEYEFIS2.js");
3373
3373
  return runInitCommand(args);
3374
3374
  }
3375
3375
  if (command === "completion") {
@@ -3392,110 +3392,110 @@ async function dispatch(rawArgv) {
3392
3392
  return runCompletionCommand(shell);
3393
3393
  }
3394
3394
  if (command === "upgrade") {
3395
- const { runUpgradeCommand } = await import("./upgrade-command-QHNFWM7O.js");
3395
+ const { runUpgradeCommand } = await import("./upgrade-command-PKZPJKAV.js");
3396
3396
  return runUpgradeCommand(args);
3397
3397
  }
3398
3398
  if (command === "lock") {
3399
- const { runLockCommand } = await import("./lock-commands-2QG25HL7.js");
3399
+ const { runLockCommand } = await import("./lock-commands-GU3TKPWU.js");
3400
3400
  const verb = args.positionals[0];
3401
- const { isProjectDir } = await import("./xanosdk-project-S6DXJONQ.js");
3401
+ const { isProjectDir } = await import("./xanosdk-project-7RIKS2ZQ.js");
3402
3402
  const here = verb !== "prune" && args.lockPath === void 0 && args.entryPath === void 0 && existsSync2("xano.lock") && !isProjectDir(process.cwd()) ? { ...args, lockPath: "xano.lock" } : args;
3403
3403
  return atProjectRoot(here, runLockCommand, verb === "prune" || verb === "import" ? "verb-path" : void 0);
3404
3404
  }
3405
3405
  if (command === "login") {
3406
- const { runLoginCommand } = await import("./login-command-QPYRWOXZ.js");
3406
+ const { runLoginCommand } = await import("./login-command-FPKDGYUR.js");
3407
3407
  return runLoginCommand(args);
3408
3408
  }
3409
3409
  if (command === "logout") {
3410
- const { runLogoutCommand } = await import("./logout-command-WOIQLDP6.js");
3410
+ const { runLogoutCommand } = await import("./logout-command-MQD3L46D.js");
3411
3411
  return runLogoutCommand(args);
3412
3412
  }
3413
3413
  if (command === "deploy") {
3414
- const { runDeployCommand } = await import("./deploy-command-JVZPWHMK.js");
3414
+ const { runDeployCommand } = await import("./deploy-command-V2EMVVK2.js");
3415
3415
  return atProjectRoot(args, runDeployCommand, entryPositional(args));
3416
3416
  }
3417
3417
  if (command === "ephemeral") {
3418
- const { runEphemeralCommand } = await import("./ephemeral-command-CLJJKOFT.js");
3418
+ const { runEphemeralCommand } = await import("./ephemeral-command-YZATIADS.js");
3419
3419
  return atProjectRoot(args, runEphemeralCommand);
3420
3420
  }
3421
3421
  if (command === "local-engine") {
3422
- const { runLocalEngineCommand } = await import("./local-engine-command-Z3OL7VOD.js");
3422
+ const { runLocalEngineCommand } = await import("./local-engine-command-YVNO5ETS.js");
3423
3423
  const project = ["token", "stop", "update"].includes(args.subcommand ?? "");
3424
3424
  return project ? atProjectRoot(args, runLocalEngineCommand) : runLocalEngineCommand(args);
3425
3425
  }
3426
3426
  if (command === "env") {
3427
3427
  if (args.subcommand === "set" || args.subcommand === "unset") {
3428
- const { runEnvVarCommand } = await import("./env-var-command-ZIRDCAZA.js");
3428
+ const { runEnvVarCommand } = await import("./env-var-command-J2LKNUEQ.js");
3429
3429
  return atProjectRoot(args, (a) => runEnvVarCommand(a, args.subcommand));
3430
3430
  }
3431
3431
  if (args.subcommand !== "pull") throw unknownSubcommand("env", args.subcommand);
3432
- const { runEnvPullCommand } = await import("./env-pull-command-TNMNB3CV.js");
3432
+ const { runEnvPullCommand } = await import("./env-pull-command-E6UITJ75.js");
3433
3433
  return atProjectRoot(args, runEnvPullCommand);
3434
3434
  }
3435
3435
  if (command === "secrets") {
3436
3436
  if (args.subcommand !== "fill") throw unknownSubcommand("secrets", args.subcommand);
3437
- const { runSecretsFillCommand } = await import("./secrets-fill-command-TTCPSVXN.js");
3437
+ const { runSecretsFillCommand } = await import("./secrets-fill-command-XSONDOOT.js");
3438
3438
  return atProjectRoot(args, runSecretsFillCommand, entryPositional(args));
3439
3439
  }
3440
3440
  if (command === "release") {
3441
- const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-3KFDMZ6G.js");
3441
+ const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-HGKCE56Y.js");
3442
3442
  return atProjectRoot(args, runReleaseNs);
3443
3443
  }
3444
3444
  if (command === "pull") {
3445
- const { runPullCommand } = await import("./pull-command-VBO7C4S3.js");
3445
+ const { runPullCommand } = await import("./pull-command-4LVTKE4S.js");
3446
3446
  const first = args.positionals[0];
3447
3447
  const file = first !== void 0 && !isKindShaped(first) && (/\.json$/i.test(first) || /[\\/]/.test(first));
3448
3448
  return file ? runPullCommand(args) : atProjectRoot(args, runPullCommand);
3449
3449
  }
3450
3450
  if (command === "generate") {
3451
- const { runGenerateCommand } = await import("./generate-command-AYEOLA26.js");
3451
+ const { runGenerateCommand } = await import("./generate-command-XSKLN7ST.js");
3452
3452
  return runGenerateCommand(args);
3453
3453
  }
3454
3454
  if (command === "tables") {
3455
- const { runTablesCommand } = await import("./tables-command-GUPXXSB5.js");
3455
+ const { runTablesCommand } = await import("./tables-command-VBIAU4HI.js");
3456
3456
  return atProjectRoot(args, runTablesCommand);
3457
3457
  }
3458
3458
  if (command === "impersonate") {
3459
- const { runImpersonateCommand } = await import("./impersonate-command-5JAS3WSV.js");
3459
+ const { runImpersonateCommand } = await import("./impersonate-command-YZMTA7NW.js");
3460
3460
  return atProjectRoot(args, runImpersonateCommand);
3461
3461
  }
3462
3462
  if (command === "promote") {
3463
- const { runPromoteCommand } = await import("./promote-command-PCWT5N6S.js");
3463
+ const { runPromoteCommand } = await import("./promote-command-TYPJDNRW.js");
3464
3464
  return atProjectRoot(args, runPromoteCommand);
3465
3465
  }
3466
3466
  if (command === "publish") {
3467
- const { runPublishCommand } = await import("./publish-command-TTDUUJI5.js");
3467
+ const { runPublishCommand } = await import("./publish-command-WIQCLPIU.js");
3468
3468
  return atProjectRoot(args, runPublishCommand, "path");
3469
3469
  }
3470
3470
  if (command === "tenant") {
3471
- const { runTenantCommand } = await import("./tenant-command-D5HGI2X4.js");
3471
+ const { runTenantCommand } = await import("./tenant-command-JXDHHIZH.js");
3472
3472
  return atProjectRoot(args, runTenantCommand);
3473
3473
  }
3474
3474
  if (command === "test") {
3475
- const { runTestCommand } = await import("./test-command-TIKZMDPZ.js");
3475
+ const { runTestCommand } = await import("./test-command-ST2BXOEH.js");
3476
3476
  return atProjectRoot(args, runTestCommand);
3477
3477
  }
3478
3478
  if (command === "workspace") {
3479
- const { runWorkspaceCommand } = await import("./workspace-command-JEXQETJD.js");
3479
+ const { runWorkspaceCommand } = await import("./workspace-command-3NQQRB7E.js");
3480
3480
  return runWorkspaceCommand(args);
3481
3481
  }
3482
3482
  if (command === "status") {
3483
- const { runStatusCommand } = await import("./status-command-RUDXTF7I.js");
3483
+ const { runStatusCommand } = await import("./status-command-QIC7QCWJ.js");
3484
3484
  return runStatusCommand(args);
3485
3485
  }
3486
3486
  if (command === "whoami") {
3487
- const { runWhoamiCommand } = await import("./whoami-command-STGINTXH.js");
3487
+ const { runWhoamiCommand } = await import("./whoami-command-IN2DJHSI.js");
3488
3488
  return runWhoamiCommand(args);
3489
3489
  }
3490
3490
  if (command === "profile") {
3491
- const { runProfileCommand } = await import("./profile-command-AH3PIM4X.js");
3491
+ const { runProfileCommand } = await import("./profile-command-RW7LJZWN.js");
3492
3492
  return runProfileCommand(args);
3493
3493
  }
3494
3494
  if (command === "marketplace") {
3495
3495
  if (!["list", "search", "details", "install", "reinstall", "remove"].includes(args.subcommand ?? "")) {
3496
3496
  throw unknownSubcommand("marketplace", args.subcommand);
3497
3497
  }
3498
- const marketplace = await import("./marketplace-command-K5YL42NO.js");
3498
+ const marketplace = await import("./marketplace-command-25ZYWSHI.js");
3499
3499
  const { withCatalogueRerun } = await import("./marketplace-resolve-LY32JES5.js");
3500
3500
  try {
3501
3501
  if (args.subcommand === "list") return await marketplace.runMarketplaceListCommand(args);
@@ -3509,7 +3509,7 @@ async function dispatch(rawArgv) {
3509
3509
  }
3510
3510
  }
3511
3511
  if (command === "preflight") {
3512
- const { runPreflightCommand } = await import("./preflight-command-2T5Z36MI.js");
3512
+ const { runPreflightCommand } = await import("./preflight-command-OPIVTVIJ.js");
3513
3513
  return runPreflightCommand(args);
3514
3514
  }
3515
3515
  if (command !== "compile" && command !== "export" && command !== "paths" && command !== "routes") {
@@ -3524,12 +3524,12 @@ async function dispatch(rawArgv) {
3524
3524
  if (command === "paths" || command === "routes") {
3525
3525
  return runPaths(args);
3526
3526
  }
3527
- const { discoverToolchainPlugins } = await import("./toolchain-modules-5EAZUONB.js");
3527
+ const { discoverToolchainPlugins } = await import("./toolchain-modules-DCKB4AVK.js");
3528
3528
  const toolchain = await discoverToolchainPlugins(process.cwd(), {
3529
3529
  frozen: args.frozenLock === true || args.check === true
3530
3530
  });
3531
3531
  if (out && !args.check) {
3532
- const { assertWritableTarget } = await import("./output-target-AL3I44GG.js");
3532
+ const { assertWritableTarget } = await import("./output-target-NTJAO4VA.js");
3533
3533
  assertWritableTarget(out, "--out");
3534
3534
  }
3535
3535
  const { bundle: json, bundleObject, omittedSeedTables, lock: lockOutcome, declaredEnvNames } = await compileBundle(args);
@@ -3560,8 +3560,8 @@ async function dispatch(rawArgv) {
3560
3560
  },
3561
3561
  ""
3562
3562
  );
3563
- const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-ET5HMMDW.js");
3564
- const { backendDirFor } = await import("./backend-dir-2U53CIAL.js");
3563
+ const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-GQKAQDWO.js");
3564
+ const { backendDirFor } = await import("./backend-dir-2EYNX36R.js");
3565
3565
  const declaredSet = new Set(declaredEnvNames);
3566
3566
  const templateDir = backendDirFor(args.file);
3567
3567
  const ownsTemplate = isWithin(resolve2(args.file), templateDir) && (dirname2(resolve2(args.file)) === templateDir || !existsSync2(join2(templateDir, "index.ts")));
@@ -3620,14 +3620,14 @@ async function dispatch(rawArgv) {
3620
3620
  }
3621
3621
  if (out) {
3622
3622
  const { secretsCarriedBy } = await import("./live-diff-YONW2VI3.js");
3623
- const { writeExportFile } = await import("./output-target-AL3I44GG.js");
3623
+ const { writeExportFile } = await import("./output-target-NTJAO4VA.js");
3624
3624
  const written = lockOutcome?.changed ? `Only ${lockOutcome.path} was written` : void 0;
3625
3625
  writeExportFile(out, json + "\n", secretsCarriedBy(bundleObject), "--out", written);
3626
3626
  reportWrote(args, out, lockOutcome);
3627
3627
  } else {
3628
3628
  process.stdout.write(json + "\n");
3629
3629
  const { secretsCarriedBy } = await import("./live-diff-YONW2VI3.js");
3630
- const { secretsPhrase } = await import("./output-target-AL3I44GG.js");
3630
+ const { secretsPhrase } = await import("./output-target-NTJAO4VA.js");
3631
3631
  const secrets = secretsCarriedBy(bundleObject);
3632
3632
  if (secrets.length > 0) {
3633
3633
  warn(
@@ -3650,7 +3650,7 @@ async function refreshAgentGuidance(args) {
3650
3650
  const entryProject = args.file === void 0 ? void 0 : installedSdk(dirname2(resolve2(args.file)))?.root;
3651
3651
  const projectDir = existsSync2(join2(process.cwd(), "AGENTS.md")) || entryProject === void 0 ? process.cwd() : entryProject;
3652
3652
  const projectSdk = skewedProjectSdk(projectDir, readVersion());
3653
- const { refreshAgentFiles } = await import("./agent-file-refresh-ZEMK33AX.js");
3653
+ const { refreshAgentFiles } = await import("./agent-file-refresh-T7BL3JDV.js");
3654
3654
  if (projectSdk !== void 0) {
3655
3655
  const stale = refreshAgentFiles({ projectDir, sdkVersion: readVersion(), write: false });
3656
3656
  const file = args.file;
@@ -4029,7 +4029,7 @@ async function refreshRouteManifest(entry, emit2) {
4029
4029
  } finally {
4030
4030
  setDiagnosticSink(previousSink);
4031
4031
  }
4032
- const { pulledIdentities } = await import("./pull-command-VBO7C4S3.js");
4032
+ const { pulledIdentities } = await import("./pull-command-4LVTKE4S.js");
4033
4033
  const live = pulledIdentities(payload);
4034
4034
  const lockOrphans = lockModel === void 0 ? 0 : Object.keys(lockModel.objects).filter((k) => k !== WORKSPACE_KEY && !live.has(k)).length;
4035
4035
  if (!existsSync2(emit2)) return { manifest: "absent", lockOrphans };
@@ -4544,7 +4544,7 @@ async function refineGonePullHint(err) {
4544
4544
  if (offer === void 0 || auth === void 0 || !(err instanceof Error) || !err.message.includes(offer.clause)) return;
4545
4545
  let gone;
4546
4546
  try {
4547
- const { lookupEphemeral } = await import("./source-resolve-S2XA3XZF.js");
4547
+ const { lookupEphemeral } = await import("./source-resolve-UE7DHWYR.js");
4548
4548
  gone = await lookupEphemeral(auth, offer.name) === null;
4549
4549
  } catch {
4550
4550
  return;
@@ -4747,4 +4747,4 @@ export {
4747
4747
  docTokenRefusalIfReplaced,
4748
4748
  envRefusalIfReplaced
4749
4749
  };
4750
- //# sourceMappingURL=chunk-ETO6LGLD.js.map
4750
+ //# sourceMappingURL=chunk-JLUAWKX2.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  backendDirFor,
3
3
  backendDirIn
4
- } from "./chunk-5A2PLKZB.js";
4
+ } from "./chunk-KUI7V576.js";
5
5
  import {
6
6
  XANO_DIR
7
- } from "./chunk-AHJWCYQO.js";
7
+ } from "./chunk-AWMTT5U7.js";
8
8
  import {
9
9
  projectRootFrom
10
10
  } from "./chunk-ROY4YAEQ.js";
@@ -242,4 +242,4 @@ export {
242
242
  namesInEnvExample,
243
243
  renderWorkspaceEnvFile
244
244
  };
245
- //# sourceMappingURL=chunk-DAD3ONIS.js.map
245
+ //# sourceMappingURL=chunk-JTGBGL37.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  XANO_DIR
3
- } from "./chunk-AHJWCYQO.js";
3
+ } from "./chunk-AWMTT5U7.js";
4
4
  import {
5
5
  projectRootFrom
6
6
  } from "./chunk-ROY4YAEQ.js";
@@ -67,4 +67,4 @@ export {
67
67
  backendDirIn,
68
68
  resolveBackendDir
69
69
  };
70
- //# sourceMappingURL=chunk-5A2PLKZB.js.map
70
+ //# sourceMappingURL=chunk-KUI7V576.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ENV_WORKSPACE
3
- } from "./chunk-ET4Y4XCB.js";
3
+ } from "./chunk-PV7BGEF2.js";
4
4
  import {
5
5
  credentialFileOf
6
6
  } from "./chunk-NAQDMEHV.js";
@@ -162,4 +162,4 @@ export {
162
162
  rerunInWorkspace,
163
163
  heldElsewhereError
164
164
  };
165
- //# sourceMappingURL=chunk-KTSDSD36.js.map
165
+ //# sourceMappingURL=chunk-LCMQNVHL.js.map
@@ -6,7 +6,7 @@ import {
6
6
  startEngine,
7
7
  stopEngineNamed,
8
8
  stopOrphanedEngineProcesses
9
- } from "./chunk-BAUZOWGX.js";
9
+ } from "./chunk-IFSNSRUJ.js";
10
10
  import {
11
11
  RELEASE_VERSION,
12
12
  readEngineEntry,
@@ -35,7 +35,7 @@ import {
35
35
  engineNameForProject,
36
36
  getEngineRecord,
37
37
  setEngineRecord
38
- } from "./chunk-3M4LFYNQ.js";
38
+ } from "./chunk-WL2DSNJV.js";
39
39
  import {
40
40
  SUPPORTED_PLATFORMS,
41
41
  assertLoopbackUrl,
@@ -609,4 +609,4 @@ export {
609
609
  restartMismatchedEngine,
610
610
  explainUnsupportedEngineImport
611
611
  };
612
- //# sourceMappingURL=chunk-XBKMWY7F.js.map
612
+ //# sourceMappingURL=chunk-MZ4EQX7X.js.map
@@ -8,7 +8,7 @@ import {
8
8
  resolveThemeChoice,
9
9
  sanitizeAppName,
10
10
  templateVarsFor
11
- } from "./chunk-LRN4ZJCQ.js";
11
+ } from "./chunk-AAX2S6OU.js";
12
12
  import {
13
13
  ROUTES_MANIFEST_BASENAME,
14
14
  RouteManifestError,
@@ -56,7 +56,7 @@ import {
56
56
  import {
57
57
  archiveSeedContent,
58
58
  fetchSourceArchive
59
- } from "./chunk-AOSYVMUS.js";
59
+ } from "./chunk-BU5GWPBO.js";
60
60
  import {
61
61
  assertBranchReadSupported,
62
62
  exportWorkspaceBundle
@@ -70,7 +70,7 @@ import {
70
70
  } from "./chunk-TRJCALW3.js";
71
71
  import {
72
72
  detectInstallMode
73
- } from "./chunk-LIEOKXKD.js";
73
+ } from "./chunk-YY2UY7PZ.js";
74
74
  import {
75
75
  UNSUPPORTED_SECTIONS,
76
76
  decodedCounts,
@@ -85,29 +85,29 @@ import {
85
85
  import {
86
86
  ensureWorkspaceEnvGitignored,
87
87
  requireSecretPathGitignored
88
- } from "./chunk-YHEFQUQB.js";
88
+ } from "./chunk-OFEID2IX.js";
89
89
  import {
90
90
  loadDefault,
91
91
  readVersion,
92
92
  resolveKnowledge
93
- } from "./chunk-ETO6LGLD.js";
93
+ } from "./chunk-JLUAWKX2.js";
94
94
  import {
95
95
  WORKSPACE_ENV_BASENAME,
96
96
  WORKSPACE_ENV_EXAMPLE_BASENAME,
97
97
  renderWorkspaceEnvExample,
98
98
  renderWorkspaceEnvFile,
99
99
  valueProblem
100
- } from "./chunk-DAD3ONIS.js";
100
+ } from "./chunk-JTGBGL37.js";
101
101
  import {
102
102
  memoCredential,
103
103
  refuseProfileForLocal
104
- } from "./chunk-HHN734BU.js";
104
+ } from "./chunk-SAC4DYYP.js";
105
105
  import {
106
106
  getAccessToken
107
- } from "./chunk-ET4Y4XCB.js";
107
+ } from "./chunk-PV7BGEF2.js";
108
108
  import {
109
109
  getEngineRecord
110
- } from "./chunk-3M4LFYNQ.js";
110
+ } from "./chunk-WL2DSNJV.js";
111
111
  import {
112
112
  requireBackendSlot
113
113
  } from "./chunk-STSFNCY4.js";
@@ -115,7 +115,7 @@ import {
115
115
  SECRETS_FILE_VERSION,
116
116
  workspaceSecretsPathIn,
117
117
  writeSecretsFile
118
- } from "./chunk-I4F5TCJH.js";
118
+ } from "./chunk-HSBVDFU2.js";
119
119
  import {
120
120
  yesRerun
121
121
  } from "./chunk-T5KELPAR.js";
@@ -136,7 +136,7 @@ import {
136
136
  plannedAgentsMd,
137
137
  readDecodeRecord,
138
138
  scaffoldProject
139
- } from "./chunk-AHJWCYQO.js";
139
+ } from "./chunk-AWMTT5U7.js";
140
140
  import {
141
141
  shellWord
142
142
  } from "./chunk-FWD7AL6N.js";
@@ -6133,7 +6133,7 @@ async function fetchBundle(args, source) {
6133
6133
  credentialRead
6134
6134
  };
6135
6135
  }
6136
- const { projectDirFrom } = await import("./xanosdk-project-S6DXJONQ.js");
6136
+ const { projectDirFrom } = await import("./xanosdk-project-7RIKS2ZQ.js");
6137
6137
  const cwd = projectDirFrom(process.cwd()) ?? process.cwd();
6138
6138
  const raw2 = "name" in source && source.name !== void 0 ? `${source.kind}:${source.name}` : source.kind;
6139
6139
  step(`Reading ${raw2}`);
@@ -6594,7 +6594,7 @@ async function runInitFromCommand(args, source) {
6594
6594
  for (const line of routesDeferred) warn(line, "routes.not-written");
6595
6595
  if (seed !== void 0) reportSeedRows(seed.rows, seed.label, seed.provenance, XANO_DIR, contextFlags(args));
6596
6596
  if (replace.lock !== void 0) {
6597
- const { reconciledLock } = await import("./pull-command-VBO7C4S3.js");
6597
+ const { reconciledLock } = await import("./pull-command-4LVTKE4S.js");
6598
6598
  writeLockFile(
6599
6599
  replace.lock.path,
6600
6600
  reconciledLock(replace.lock.model, replace.lock.reconciliation, bundle.payload)
@@ -6695,7 +6695,7 @@ async function planXanoReplace(out, files, payload, args, label, agentsMd) {
6695
6695
  if (shell.length > 0 && !await confirmShellOverwrite(out, shell, args, label)) return "cancelled";
6696
6696
  return { removals: void 0, removedEdited: [], rewrittenEdited: [], kept: [] };
6697
6697
  }
6698
- const { backendDirCleanliness, noneOfTheIdentities, pulledIdentities, reconcileLock } = await import("./pull-command-VBO7C4S3.js");
6698
+ const { backendDirCleanliness, noneOfTheIdentities, pulledIdentities, reconcileLock } = await import("./pull-command-4LVTKE4S.js");
6699
6699
  const prefix = `${XANO_DIR}/`;
6700
6700
  const incoming = new Map(
6701
6701
  files.filter((f) => f.path.startsWith(prefix)).map((f) => [f.path.slice(prefix.length), f.content])
@@ -7047,4 +7047,4 @@ export {
7047
7047
  seedRowsListed,
7048
7048
  seedRowsLanding
7049
7049
  };
7050
- //# sourceMappingURL=chunk-X677DMZM.js.map
7050
+ //# sourceMappingURL=chunk-NK2633D7.js.map
@@ -4,7 +4,7 @@ import {
4
4
  managedBlockVersion,
5
5
  renderAgentsMd,
6
6
  upsertManagedBlock
7
- } from "./chunk-AHJWCYQO.js";
7
+ } from "./chunk-AWMTT5U7.js";
8
8
  import {
9
9
  detectPackageManager
10
10
  } from "./chunk-WRBKLYSJ.js";
@@ -186,4 +186,4 @@ export {
186
186
  isCI,
187
187
  refreshAgentFiles
188
188
  };
189
- //# sourceMappingURL=chunk-Q325JKYB.js.map
189
+ //# sourceMappingURL=chunk-NM2X7SQ3.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  workspaceEnvPathIn
3
- } from "./chunk-DAD3ONIS.js";
3
+ } from "./chunk-JTGBGL37.js";
4
4
  import {
5
5
  addGitignoreRule,
6
6
  ensureGitignored,
@@ -183,4 +183,4 @@ export {
183
183
  secretPathLabel,
184
184
  refuseIfTracked
185
185
  };
186
- //# sourceMappingURL=chunk-YHEFQUQB.js.map
186
+ //# sourceMappingURL=chunk-OFEID2IX.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-NAQDMEHV.js";
10
10
  import {
11
11
  backendDirIn
12
- } from "./chunk-5A2PLKZB.js";
12
+ } from "./chunk-KUI7V576.js";
13
13
  import {
14
14
  forgetPrunedInLockFile,
15
15
  readLockFile,
@@ -260,4 +260,4 @@ export {
260
260
  holdsLanding,
261
261
  forgetLanding
262
262
  };
263
- //# sourceMappingURL=chunk-CGVQZXYG.js.map
263
+ //# sourceMappingURL=chunk-OFISBMQ6.js.map
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  createOperation,
3
3
  runOperation
4
- } from "./chunk-TLHIFK4M.js";
4
+ } from "./chunk-ZFKZMSM3.js";
5
5
  import {
6
6
  fetchWorkspaceBundle
7
- } from "./chunk-X677DMZM.js";
7
+ } from "./chunk-NK2633D7.js";
8
8
  import {
9
9
  assertReleaseIdentitiesFree,
10
10
  pinnedCanonicalGuids,
11
11
  setLiveRollback
12
- } from "./chunk-WKQLGKCL.js";
12
+ } from "./chunk-FXGJ7TEQ.js";
13
13
  import {
14
14
  liveBranchMismatch,
15
15
  liveMismatch
16
- } from "./chunk-K6RXBGUB.js";
16
+ } from "./chunk-UCZZ6KRR.js";
17
17
  import {
18
18
  confirm
19
19
  } from "./chunk-65HWOMGV.js";
20
20
  import {
21
21
  landingLockPath,
22
22
  recordForeignLanding
23
- } from "./chunk-CGVQZXYG.js";
23
+ } from "./chunk-OFISBMQ6.js";
24
24
  import {
25
25
  CONSTRAINT_FIX,
26
26
  CONSTRAINT_PHRASE,
@@ -46,7 +46,7 @@ import {
46
46
  import {
47
47
  asWorkspaceArchive,
48
48
  resolveProjectEntry
49
- } from "./chunk-AOSYVMUS.js";
49
+ } from "./chunk-BU5GWPBO.js";
50
50
  import {
51
51
  exportWorkspaceBundle
52
52
  } from "./chunk-CJHQKJU4.js";
@@ -56,7 +56,7 @@ import {
56
56
  import {
57
57
  SettledWriteFailure,
58
58
  classifyFailure
59
- } from "./chunk-A6E77GDW.js";
59
+ } from "./chunk-TPCOHYPG.js";
60
60
  import {
61
61
  BranchTakenError,
62
62
  assertBranchAbsent,
@@ -76,7 +76,7 @@ import {
76
76
  } from "./chunk-ZIY7RNUT.js";
77
77
  import {
78
78
  resolveSource
79
- } from "./chunk-QCNYHBL7.js";
79
+ } from "./chunk-ES3TNTLS.js";
80
80
  import {
81
81
  ReleaseHttpError,
82
82
  UNPROMOTABLE_RELEASE_PARTS,
@@ -88,7 +88,7 @@ import {
88
88
  } from "./chunk-2ZUEE4EK.js";
89
89
  import {
90
90
  getAccessToken
91
- } from "./chunk-ET4Y4XCB.js";
91
+ } from "./chunk-PV7BGEF2.js";
92
92
  import {
93
93
  pipedYes,
94
94
  retryCommand,
@@ -464,7 +464,7 @@ async function runPromoteCommand(args) {
464
464
  discloseWriteTarget(destination);
465
465
  const lockPath = landingLockPath(args, args.entryPath === void 0 ? {} : { entryFile: args.entryPath });
466
466
  if (lockPath === void 0 && args.noLock !== true) {
467
- const { nestedBackendEntries } = await import("./tracked-backend-EIBUMDZA.js");
467
+ const { nestedBackendEntries } = await import("./tracked-backend-JX2YUXTZ.js");
468
468
  const nested = nestedBackendEntries(process.cwd());
469
469
  if (nested.length > 0) {
470
470
  warn(
@@ -911,7 +911,7 @@ Nothing was switched. Serve it deliberately with \`xanosdk workspace branch set-
911
911
  }
912
912
  }
913
913
  async function unansweredBranchRead(err, args, what) {
914
- const { LookupFailedError, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-S2XA3XZF.js");
914
+ const { LookupFailedError, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-UE7DHWYR.js");
915
915
  const transport = isTransportFailure(err);
916
916
  if (!transport && !isServerError(err)) return err;
917
917
  const first = what !== void 0 ? `could not read ${what}` : ((err instanceof Error ? err.message : String(err)).trim().split("\n")[0] ?? "").replace(/[.:]$/, "");
@@ -937,4 +937,4 @@ export {
937
937
  reportNotRun,
938
938
  runPromoteCommand
939
939
  };
940
- //# sourceMappingURL=chunk-BHACRS6R.js.map
940
+ //# sourceMappingURL=chunk-OIQH34Q5.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveProjectEntry
3
- } from "./chunk-AOSYVMUS.js";
3
+ } from "./chunk-BU5GWPBO.js";
4
4
  import {
5
5
  isUnusablePin,
6
6
  readPin,
@@ -170,4 +170,4 @@ export {
170
170
  pinAfterAcquire,
171
171
  pinWrittenText
172
172
  };
173
- //# sourceMappingURL=chunk-SFLHVCKX.js.map
173
+ //# sourceMappingURL=chunk-PA43WZWS.js.map