@xano/sdk 1.0.12 → 1.0.13

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 (121) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +8 -8
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/{agent-file-refresh-YM5VRRHE.js → agent-file-refresh-DAFGNMQX.js} +4 -4
  5. package/dist/{agent-skill-command-GVVCBAGF.js → agent-skill-command-6M46ZGOL.js} +13 -13
  6. package/dist/{backend-dir-NZOLU7TL.js → backend-dir-J2J7JNS6.js} +4 -4
  7. package/dist/bin.js +13 -13
  8. package/dist/{branch-commands-Q46PCVHU.js → branch-commands-BUKVE637.js} +3 -3
  9. package/dist/{chunk-2PAVJ3QD.js → chunk-5ONWBQ2C.js} +2 -2
  10. package/dist/{chunk-ETMP7SJ3.js → chunk-5SMUND4J.js} +3 -3
  11. package/dist/{chunk-UZ55F3UK.js → chunk-5XDKKE5Y.js} +2 -2
  12. package/dist/{chunk-WXLZCBPG.js → chunk-6HTXQAMG.js} +2 -2
  13. package/dist/{chunk-PBIV4DE2.js → chunk-6OOZJQJK.js} +39 -39
  14. package/dist/{chunk-2RDZDDPR.js → chunk-CGZSF756.js} +12 -12
  15. package/dist/{chunk-G3A3XKCS.js → chunk-DPSR5GRE.js} +20 -20
  16. package/dist/{chunk-DH32QXVI.js → chunk-EKS7SAZS.js} +16 -16
  17. package/dist/{chunk-2K2G5TSR.js → chunk-ENAUSLMP.js} +3 -3
  18. package/dist/{chunk-5RSPMSSQ.js → chunk-ENBGJJJH.js} +3 -3
  19. package/dist/{chunk-5SZSLAAC.js → chunk-FBWMKHLO.js} +1 -1
  20. package/dist/{chunk-MFEO3EHL.js → chunk-GRWYO2MS.js} +2 -2
  21. package/dist/{chunk-OKR66IGL.js → chunk-H6VVSGKN.js} +2 -2
  22. package/dist/{chunk-SAKWZG5I.js → chunk-HDANNK4A.js} +2 -2
  23. package/dist/{chunk-RNVGXJJZ.js → chunk-HEMWBHQS.js} +7 -7
  24. package/dist/{chunk-HA5Y645X.js → chunk-MLKJUEG3.js} +12 -12
  25. package/dist/{chunk-ANBIMJPM.js → chunk-NMHTB346.js} +3 -3
  26. package/dist/{chunk-RFB4EXM5.js → chunk-O6PWEJUV.js} +2 -2
  27. package/dist/{chunk-CPFWVB3V.js → chunk-P6HXDOFG.js} +6 -6
  28. package/dist/{chunk-7XOQXZ6W.js → chunk-QWWQM4XZ.js} +2 -2
  29. package/dist/{chunk-OK7CBTFW.js → chunk-RAGFXELQ.js} +2 -2
  30. package/dist/{chunk-4GSXWOBS.js → chunk-RQHXYL77.js} +2 -2
  31. package/dist/{chunk-HJSAGGHU.js → chunk-SBS2IYTN.js} +2 -2
  32. package/dist/{chunk-AMHAGMJM.js → chunk-TANWE2ZY.js} +53 -53
  33. package/dist/{chunk-EC5P4W2D.js → chunk-U4BGBU3R.js} +15 -15
  34. package/dist/{chunk-4COXXP55.js → chunk-UDCKYLBW.js} +2 -2
  35. package/dist/{chunk-EMAFZROF.js → chunk-UECNKDDA.js} +2 -2
  36. package/dist/{chunk-6IOBEJWA.js → chunk-UKC65HBQ.js} +2 -2
  37. package/dist/{chunk-JPAUQ7MK.js → chunk-VFRL4G72.js} +2 -2
  38. package/dist/{chunk-74NRFGL7.js → chunk-WQZCFVAD.js} +2 -2
  39. package/dist/{chunk-TOW4EJON.js → chunk-XL7EA62X.js} +2 -2
  40. package/dist/{chunk-SAYHY2N3.js → chunk-XYVPF63S.js} +2 -2
  41. package/dist/{chunk-WQNN6WLB.js → chunk-ZACMAKZE.js} +5 -5
  42. package/dist/{chunk-U5CTYBAN.js → chunk-ZGNWMGN3.js} +4 -4
  43. package/dist/{chunk-3XZ44H2E.js → chunk-ZISPEBNM.js} +5 -2
  44. package/dist/{chunk-LDSZPRGV.js → chunk-ZSMHS7BU.js} +2 -2
  45. package/dist/cli.js +12 -12
  46. package/dist/{codegen-command-H3HO7UFA.js → codegen-command-BAFON45M.js} +19 -19
  47. package/dist/{deploy-command-7PWQJ4VV.js → deploy-command-JW7R3BPW.js} +16 -16
  48. package/dist/{deploy-source-CJHEVGOS.js → deploy-source-ZUPLAL7L.js} +7 -7
  49. package/dist/{dev-env-sync-VVLYQUPR.js → dev-env-sync-W7OTV7OD.js} +13 -13
  50. package/dist/{env-example-refresh-GLFC2FTE.js → env-example-refresh-TS7WBVZQ.js} +20 -20
  51. package/dist/{env-pull-command-OY3SXNJC.js → env-pull-command-5IYXQ2WK.js} +13 -13
  52. package/dist/{env-target-PDDDAA5I.js → env-target-TQBPLU2S.js} +2 -2
  53. package/dist/{env-var-command-UTYDJN24.js → env-var-command-AKCWYZPB.js} +13 -13
  54. package/dist/{ephemeral-command-ALIHUF7G.js → ephemeral-command-SJYH6XRS.js} +14 -14
  55. package/dist/{generate-command-S37XFYPD.js → generate-command-FSCFZPOJ.js} +23 -23
  56. package/dist/{gitignore-DKDWGWPS.js → gitignore-6IJ66XME.js} +6 -6
  57. package/dist/{impersonate-command-HPCSKJAV.js → impersonate-command-IH4HMSS3.js} +9 -9
  58. package/dist/{init-command-RWXBXJPG.js → init-command-STB4YSAK.js} +15 -15
  59. package/dist/{init-modules-LFLW2PQC.js → init-modules-YIZYPCMM.js} +2 -2
  60. package/dist/internal.js +4 -4
  61. package/dist/{keep-data-merge-7JGGZKDM.js → keep-data-merge-VRKS64JK.js} +4 -4
  62. package/dist/{landing-record-QJV7KNS4.js → landing-record-5EFK7RI6.js} +5 -5
  63. package/dist/{local-engine-choice-NNSHE5FO.js → local-engine-choice-TRTEJVMV.js} +8 -8
  64. package/dist/{local-engine-command-UGIZ4UO6.js → local-engine-command-2FK2PE2P.js} +9 -9
  65. package/dist/{local-engine-mcp-command-YUSZC7MF.js → local-engine-mcp-command-FB7EOGG6.js} +9 -9
  66. package/dist/{lock-commands-VT4R2DEE.js → lock-commands-7PBZIRWR.js} +13 -13
  67. package/dist/{login-command-4D3KPQUY.js → login-command-2O6GRMTH.js} +9 -9
  68. package/dist/{logout-command-ALKHCJKS.js → logout-command-RZXGW3O2.js} +3 -3
  69. package/dist/{marketplace-command-64TE2NGV.js → marketplace-command-NCMLGIMS.js} +13 -13
  70. package/dist/{meta-client-7MLLUZB4.js → meta-client-DYYM5F5G.js} +2 -2
  71. package/dist/node.js +14 -14
  72. package/dist/{operation-outcome-TYAOVNOM.js → operation-outcome-SHNROAFA.js} +4 -4
  73. package/dist/{output-target-63ECBUX2.js → output-target-PSSR3E4N.js} +7 -7
  74. package/dist/plugin.d.ts +2 -1
  75. package/dist/{preflight-command-OUVAX5IJ.js → preflight-command-6F7JF3YQ.js} +18 -18
  76. package/dist/{profile-command-NUO5U2HQ.js → profile-command-5AOGD6GV.js} +10 -10
  77. package/dist/{promote-command-MGLAYQDY.js → promote-command-O2NRRFLK.js} +26 -26
  78. package/dist/{publish-command-KVGNFBSU.js → publish-command-6VVSJPLI.js} +16 -16
  79. package/dist/{pull-command-OVXIMVUB.js → pull-command-GE2WUEUF.js} +21 -21
  80. package/dist/{release-command-E54WUJKB.js → release-command-55RTR674.js} +18 -18
  81. package/dist/{release-ns-command-SLRL3O3W.js → release-ns-command-5XPZ2B6N.js} +31 -31
  82. package/dist/{routes-manifest-file-IX4TOZCO.js → routes-manifest-file-42FTJHRY.js} +2 -2
  83. package/dist/{secrets-file-4NQWGCJG.js → secrets-file-N5IF265R.js} +5 -5
  84. package/dist/{secrets-fill-command-5NNHSYFX.js → secrets-fill-command-35WKBURT.js} +15 -15
  85. package/dist/{source-resolve-HSJSVKUC.js → source-resolve-JXGOVJD3.js} +3 -3
  86. package/dist/{status-command-UFIMW7SZ.js → status-command-G3DFRMU7.js} +12 -12
  87. package/dist/{sync-contributions-35ZAYBUH.js → sync-contributions-7T4CSPVQ.js} +2 -2
  88. package/dist/{tables-command-TISOU6DR.js → tables-command-7NUOZBHX.js} +10 -10
  89. package/dist/{tenant-command-ITCPN43T.js → tenant-command-JGEHRKN7.js} +32 -32
  90. package/dist/{test-command-7SFAJ6HX.js → test-command-2LNEA6GK.js} +10 -10
  91. package/dist/{token-OXGOA6WE.js → token-DWNH44NW.js} +2 -2
  92. package/dist/{toolchain-modules-Q3Z6APPF.js → toolchain-modules-F4DUMWTO.js} +2 -2
  93. package/dist/{tracked-backend-IYTIZZYV.js → tracked-backend-ZFXVLBBJ.js} +9 -9
  94. package/dist/{update-check-LSCQRDRR.js → update-check-KBHT63GJ.js} +14 -14
  95. package/dist/{upgrade-command-RQEQJO5Y.js → upgrade-command-CI543AZP.js} +16 -16
  96. package/dist/{whoami-command-NT3FVBZM.js → whoami-command-77DXENWD.js} +4 -4
  97. package/dist/{workspace-5RHOJC7K.js → workspace-RI5C77BZ.js} +2 -2
  98. package/dist/{workspace-binding-YUU6KB53.js → workspace-binding-PR57NBGH.js} +3 -3
  99. package/dist/{workspace-command-QSJHX5RS.js → workspace-command-6HHVFQKW.js} +27 -27
  100. package/dist/{workspace-env-M7RYVJB3.js → workspace-env-2APJEASO.js} +5 -5
  101. package/dist/{xanosdk-import-4TLNYFKC.js → xanosdk-import-HBQH3ZBS.js} +2 -2
  102. package/dist/{xanosdk-project-4NH6332J.js → xanosdk-project-W45IR3Q7.js} +5 -5
  103. package/guides/authoring.md +13 -7
  104. package/guides/bundle.md +1 -1
  105. package/guides/cli.md +28 -18
  106. package/guides/codegen.md +3 -2
  107. package/guides/coverage.md +4 -3
  108. package/guides/deploying.md +17 -10
  109. package/guides/environment.md +12 -12
  110. package/guides/marketplace.md +12 -6
  111. package/guides/module-contract.md +11 -6
  112. package/guides/object-kinds.md +8 -5
  113. package/guides/scaffold.md +24 -12
  114. package/guides/typed-frontend.md +7 -6
  115. package/llms/kinds-knowledge.md +2 -2
  116. package/llms/object-kinds.md +2 -2
  117. package/llms-full.txt +6 -6
  118. package/llms.txt +2 -2
  119. package/manifest.json +2 -2
  120. package/package.json +1 -1
  121. package/skills/xano-backend/SKILL.md +2 -2
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  createOperation,
3
3
  runOperation
4
- } from "./chunk-HJSAGGHU.js";
4
+ } from "./chunk-SBS2IYTN.js";
5
5
  import {
6
6
  fetchWorkspaceBundle
7
- } from "./chunk-EC5P4W2D.js";
7
+ } from "./chunk-U4BGBU3R.js";
8
8
  import {
9
9
  assertReleaseIdentitiesFree,
10
10
  pinnedCanonicalGuids,
11
11
  setLiveRollback
12
- } from "./chunk-G3A3XKCS.js";
12
+ } from "./chunk-DPSR5GRE.js";
13
13
  import {
14
14
  objectDigests,
15
15
  syncDigests
@@ -17,11 +17,11 @@ import {
17
17
  import {
18
18
  asWorkspaceArchive,
19
19
  resolveProjectEntry
20
- } from "./chunk-ETMP7SJ3.js";
20
+ } from "./chunk-5SMUND4J.js";
21
21
  import {
22
22
  liveBranchMismatch,
23
23
  liveMismatch
24
- } from "./chunk-WQNN6WLB.js";
24
+ } from "./chunk-ZACMAKZE.js";
25
25
  import {
26
26
  confirm
27
27
  } from "./chunk-XFQAA2SU.js";
@@ -50,14 +50,14 @@ import {
50
50
  import {
51
51
  landingLockPath,
52
52
  recordForeignLanding
53
- } from "./chunk-TOW4EJON.js";
53
+ } from "./chunk-XL7EA62X.js";
54
54
  import {
55
55
  recordSync
56
56
  } from "./chunk-VA4JK4TW.js";
57
57
  import {
58
58
  SettledWriteFailure,
59
59
  classifyFailure
60
- } from "./chunk-SAYHY2N3.js";
60
+ } from "./chunk-XYVPF63S.js";
61
61
  import {
62
62
  exportWorkspaceBundle
63
63
  } from "./chunk-R7XZW4SB.js";
@@ -83,7 +83,7 @@ import {
83
83
  } from "./chunk-K6BQPFRS.js";
84
84
  import {
85
85
  resolveSource
86
- } from "./chunk-WXLZCBPG.js";
86
+ } from "./chunk-6HTXQAMG.js";
87
87
  import {
88
88
  ReleaseHttpError,
89
89
  UNPROMOTABLE_RELEASE_PARTS,
@@ -95,7 +95,7 @@ import {
95
95
  } from "./chunk-H7GMGZHI.js";
96
96
  import {
97
97
  getAccessToken
98
- } from "./chunk-ANBIMJPM.js";
98
+ } from "./chunk-NMHTB346.js";
99
99
  import {
100
100
  readLockFile
101
101
  } from "./chunk-CJDPSCMX.js";
@@ -472,7 +472,7 @@ async function runPromoteCommand(args) {
472
472
  discloseWriteTarget(destination);
473
473
  const lockPath = landingLockPath(args, args.entryPath === void 0 ? {} : { entryFile: args.entryPath });
474
474
  if (lockPath === void 0 && args.noLock !== true) {
475
- const { nestedBackendEntries } = await import("./tracked-backend-IYTIZZYV.js");
475
+ const { nestedBackendEntries } = await import("./tracked-backend-ZFXVLBBJ.js");
476
476
  const nested = nestedBackendEntries(process.cwd());
477
477
  if (nested.length > 0) {
478
478
  warn(
@@ -935,7 +935,7 @@ Nothing was switched. Serve it deliberately with \`xanosdk workspace branch set-
935
935
  }
936
936
  }
937
937
  async function unansweredBranchRead(err, args, what) {
938
- const { LookupFailedError, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-HSJSVKUC.js");
938
+ const { LookupFailedError, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-JXGOVJD3.js");
939
939
  const transport = isTransportFailure(err);
940
940
  if (!transport && !isServerError(err)) return err;
941
941
  const first = what !== void 0 ? `could not read ${what}` : ((err instanceof Error ? err.message : String(err)).trim().split("\n")[0] ?? "").replace(/[.:]$/, "");
@@ -961,4 +961,4 @@ export {
961
961
  reportNotRun,
962
962
  runPromoteCommand
963
963
  };
964
- //# sourceMappingURL=chunk-2RDZDDPR.js.map
964
+ //# sourceMappingURL=chunk-CGZSF756.js.map
@@ -16,10 +16,10 @@ import {
16
16
  } from "./chunk-JFPLHK6Y.js";
17
17
  import {
18
18
  archiveSeedContent
19
- } from "./chunk-ETMP7SJ3.js";
19
+ } from "./chunk-5SMUND4J.js";
20
20
  import {
21
21
  shownLabel
22
- } from "./chunk-WQNN6WLB.js";
22
+ } from "./chunk-ZACMAKZE.js";
23
23
  import {
24
24
  confirm,
25
25
  needsConfirmation
@@ -40,7 +40,7 @@ import {
40
40
  landingLockPath,
41
41
  recordForeignLanding,
42
42
  recordLanding
43
- } from "./chunk-TOW4EJON.js";
43
+ } from "./chunk-XL7EA62X.js";
44
44
  import {
45
45
  recordSync
46
46
  } from "./chunk-VA4JK4TW.js";
@@ -49,7 +49,7 @@ import {
49
49
  XANOSDK_IMPORT_UNIQUENESS_CODE,
50
50
  XanoSdkImportRefusal,
51
51
  xanosdkImport
52
- } from "./chunk-UZ55F3UK.js";
52
+ } from "./chunk-5XDKKE5Y.js";
53
53
  import {
54
54
  encodeWorkspaceArchive
55
55
  } from "./chunk-3DRXWLJ5.js";
@@ -79,18 +79,18 @@ import {
79
79
  assertBundleInput,
80
80
  loadBundleText,
81
81
  resolveLockPath
82
- } from "./chunk-AMHAGMJM.js";
82
+ } from "./chunk-TANWE2ZY.js";
83
83
  import {
84
84
  LookupFailedError,
85
85
  isUnansweredLookup,
86
86
  unansweredCause
87
- } from "./chunk-WXLZCBPG.js";
87
+ } from "./chunk-6HTXQAMG.js";
88
88
  import {
89
89
  isSignatureRefusal
90
90
  } from "./chunk-6QJORUHC.js";
91
91
  import {
92
92
  getAccessToken
93
- } from "./chunk-ANBIMJPM.js";
93
+ } from "./chunk-NMHTB346.js";
94
94
  import {
95
95
  readLockFile
96
96
  } from "./chunk-CJDPSCMX.js";
@@ -107,7 +107,7 @@ import {
107
107
  } from "./chunk-A3CT26GX.js";
108
108
  import {
109
109
  backendDirIn
110
- } from "./chunk-MFEO3EHL.js";
110
+ } from "./chunk-GRWYO2MS.js";
111
111
  import {
112
112
  shellWord
113
113
  } from "./chunk-FWD7AL6N.js";
@@ -793,7 +793,7 @@ function markUnchanged(presented, unchanged, noun) {
793
793
  }
794
794
  var REPLACE_DROPS = "which deletes every table's rows there (only seed rows come back)";
795
795
  async function replaceCommandHint(args) {
796
- const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-7PWQJ4VV.js");
796
+ const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-JW7R3BPW.js");
797
797
  const valued = /* @__PURE__ */ new Set(["--branch", "--backup-branch", "--expect-live"]);
798
798
  const dropped = /* @__PURE__ */ new Set(["--prune", "--reset-data", "--seed", "--set-live", "--dry-run", "--replace", "--yes", "-y"]);
799
799
  const argv = [];
@@ -1609,7 +1609,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
1609
1609
  const held = guidsOf(live);
1610
1610
  const codePinned = codePinnedTables(outgoingDoc, lock, classified);
1611
1611
  const { orphanFixUps } = await import("./cli.js");
1612
- const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-7JGGZKDM.js");
1612
+ const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-VRKS64JK.js");
1613
1613
  const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
1614
1614
  const out = [];
1615
1615
  const seen = /* @__PURE__ */ new Set();
@@ -1653,7 +1653,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
1653
1653
  return out;
1654
1654
  }
1655
1655
  async function pendingRenameRefusal(frame, pending, prune, branch) {
1656
- const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-7JGGZKDM.js");
1656
+ const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-VRKS64JK.js");
1657
1657
  const one = pending.length === 1;
1658
1658
  const lines = pending.flatMap(
1659
1659
  (p) => pendingRenameLines(
@@ -2109,7 +2109,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
2109
2109
  assertBundleFile(args, { command: "deploy" });
2110
2110
  const auth = opts.auth ?? await getAccessToken(args);
2111
2111
  const withSeed = req.mode === "replace" || req.records === true;
2112
- const { discoverToolchainPlugins } = await import("./toolchain-modules-Q3Z6APPF.js");
2112
+ const { discoverToolchainPlugins } = await import("./toolchain-modules-F4DUMWTO.js");
2113
2113
  const toolchain = await discoverToolchainPlugins(process.cwd(), { frozen: args.frozenLock === true });
2114
2114
  const loaded = await loadBundleText(
2115
2115
  args.dryRun ? { ...args, lockReadOnly: true } : args,
@@ -2135,11 +2135,11 @@ async function runReleaseCommand(args, dest, opts = {}) {
2135
2135
  });
2136
2136
  };
2137
2137
  if (!args.dryRun && args.file !== void 0) {
2138
- const { ignoreBackendSecretFilesRead } = await import("./deploy-command-7PWQJ4VV.js");
2138
+ const { ignoreBackendSecretFilesRead } = await import("./deploy-command-JW7R3BPW.js");
2139
2139
  await ignoreBackendSecretFilesRead(args);
2140
2140
  }
2141
2141
  if (args.static !== void 0) {
2142
- const { assertNoSeedLeaks } = await import("./deploy-command-7PWQJ4VV.js");
2142
+ const { assertNoSeedLeaks } = await import("./deploy-command-JW7R3BPW.js");
2143
2143
  await assertNoSeedLeaks(args.static, nonPublicSeedValues);
2144
2144
  }
2145
2145
  {
@@ -2249,7 +2249,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
2249
2249
  pinned: pinned.map((p) => p.guid).filter((g) => g !== void 0)
2250
2250
  }).catch(async (err) => {
2251
2251
  if (err instanceof XanoSdkImportRefusal && err.retryable) {
2252
- const { importInProgressError } = await import("./keep-data-merge-7JGGZKDM.js");
2252
+ const { importInProgressError } = await import("./keep-data-merge-VRKS64JK.js");
2253
2253
  const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-S5QALD5Z.js");
2254
2254
  const retry = retryCommand2(args);
2255
2255
  throw importInProgressError(
@@ -2384,7 +2384,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
2384
2384
  });
2385
2385
  })() : [];
2386
2386
  if (req.mode === "merge" && destIsTenant && live !== void 0 && !dryRunUpToDate) {
2387
- const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-7JGGZKDM.js");
2387
+ const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-VRKS64JK.js");
2388
2388
  const triggers = liveTableTriggers(live);
2389
2389
  if (triggers.length > 0) {
2390
2390
  const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-S5QALD5Z.js");
@@ -2767,7 +2767,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
2767
2767
  if (isMachineOutput(args)) writeJson(summary);
2768
2768
  assertStaticMatchesServedUrls(servedDifferences, planContext);
2769
2769
  }
2770
- const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-7PWQJ4VV.js");
2770
+ const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-JW7R3BPW.js");
2771
2771
  const env = buildStaticEnv(destBase, args.staticEnv);
2772
2772
  const explicit = Object.keys(args.staticEnv).length > 0;
2773
2773
  const to = dest?.kind === "tenant" ? `${dest.type === "ephemeral" ? "ephemeral" : "tenant"}:${dest.name ?? ""}` : "workspace";
@@ -2819,14 +2819,14 @@ function setLiveRollback(previous, args) {
2819
2819
  async function assertReleaseIdentitiesFree(args, auth, opts) {
2820
2820
  const tenant = opts.tenant;
2821
2821
  const target = tenant === void 0 ? { baseUrl: auth.instance, workspaceId: auth.workspaceId } : { baseUrl: tenant.base, workspaceId: tenant.workspaceId };
2822
- const { detectXanoSdkImportRoute } = await import("./xanosdk-import-4TLNYFKC.js");
2822
+ const { detectXanoSdkImportRoute } = await import("./xanosdk-import-HBQH3ZBS.js");
2823
2823
  let capable;
2824
2824
  try {
2825
2825
  capable = await detectXanoSdkImportRoute(auth, target);
2826
2826
  } catch (err) {
2827
2827
  if (err?.status === 501) capable = false;
2828
2828
  else {
2829
- const { unreachableProbeError } = await import("./keep-data-merge-7JGGZKDM.js");
2829
+ const { unreachableProbeError } = await import("./keep-data-merge-VRKS64JK.js");
2830
2830
  const retry = retryCommand(args, {
2831
2831
  add: pipedYes(args) === "" ? [] : ["--yes"],
2832
2832
  command: [opts.verb, ...args.positionals.map(shellWord)].join(" ")
@@ -2915,4 +2915,4 @@ export {
2915
2915
  setLiveRollback,
2916
2916
  assertReleaseIdentitiesFree
2917
2917
  };
2918
- //# sourceMappingURL=chunk-G3A3XKCS.js.map
2918
+ //# sourceMappingURL=chunk-DPSR5GRE.js.map
@@ -6,14 +6,14 @@ import {
6
6
  } from "./chunk-XFQAA2SU.js";
7
7
  import {
8
8
  ensureWorkspaceEnvGitignored
9
- } from "./chunk-LDSZPRGV.js";
9
+ } from "./chunk-ZSMHS7BU.js";
10
10
  import {
11
11
  readVersion
12
- } from "./chunk-AMHAGMJM.js";
12
+ } from "./chunk-TANWE2ZY.js";
13
13
  import {
14
14
  WORKSPACE_ENV_EXAMPLE_FILE,
15
15
  renderWorkspaceEnvExample
16
- } from "./chunk-5RSPMSSQ.js";
16
+ } from "./chunk-ENBGJJJH.js";
17
17
  import {
18
18
  parseSlot,
19
19
  requireBackendSlot
@@ -26,7 +26,7 @@ import {
26
26
  existingProjectClashes,
27
27
  isNonEmptyDir,
28
28
  scaffoldProject
29
- } from "./chunk-3XZ44H2E.js";
29
+ } from "./chunk-ZISPEBNM.js";
30
30
  import {
31
31
  inProject,
32
32
  installModules,
@@ -34,7 +34,7 @@ import {
34
34
  preflightPackages,
35
35
  rebaseLocalSpec,
36
36
  renderXanoIndexWithModules
37
- } from "./chunk-SAKWZG5I.js";
37
+ } from "./chunk-HDANNK4A.js";
38
38
  import {
39
39
  npmViewVersion
40
40
  } from "./chunk-ZFDZKNGG.js";
@@ -728,7 +728,7 @@ async function runInitCommand(args) {
728
728
  }
729
729
  const source = resolveFromSource(args.from);
730
730
  if (source.kind === "file") await refuseUnknownProfileFlag(args, resolve(args.positionals[0] ?? "."));
731
- const { runInitFromCommand } = await import("./codegen-command-H3HO7UFA.js");
731
+ const { runInitFromCommand } = await import("./codegen-command-BAFON45M.js");
732
732
  return runInitFromCommand(args, source);
733
733
  }
734
734
  rejectPullOnlyFlags(args);
@@ -792,7 +792,7 @@ async function runInitCommand(args) {
792
792
  }
793
793
  let scaffolded = false;
794
794
  try {
795
- const { discoverToolchainPlugins } = await import("./toolchain-modules-Q3Z6APPF.js");
795
+ const { discoverToolchainPlugins } = await import("./toolchain-modules-F4DUMWTO.js");
796
796
  const toolchain = await discoverToolchainPlugins(targetDir, { frozen: false, configuring: true });
797
797
  const preset = flagFrontend !== void 0 ? flagFrontend : await resolveFrontendPreset(args.framework);
798
798
  if (preset === null && flagFrontend === void 0) refuseFrontendOnlyFlags(args, "no frontend was chosen");
@@ -927,7 +927,7 @@ async function runInitCommand(args) {
927
927
  const { skewedProjectSdk } = await import("./project-sdk-ZGJM4WYQ.js");
928
928
  const installedSdk = skewedProjectSdk(targetDir, readVersion());
929
929
  if (installedSdk !== void 0) {
930
- const { reconcileWithInstalled } = await import("./upgrade-command-RQEQJO5Y.js");
930
+ const { reconcileWithInstalled } = await import("./upgrade-command-CI543AZP.js");
931
931
  const rendered = reconcileWithInstalled(targetDir);
932
932
  if (rendered.length > 0) {
933
933
  info(`Rendered ${rendered.join(", ")} with the installed @xano/sdk ${installedSdk.version} (this CLI is ${readVersion()}).`);
@@ -1071,14 +1071,14 @@ async function writeDerivedFiles(targetDir, renderIndexWithEnv, toolchain) {
1071
1071
  const { readLockFile, writeLockFile } = await import("./io-PGTCBSIQ.js");
1072
1072
  const { setDiagnosticSink } = await import("./diagnostics-FNVNRYMB.js");
1073
1073
  const { planRouteManifest } = await import("./routes-manifest-ET2TTSCL.js");
1074
- const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-IX4TOZCO.js");
1075
- const { isEnabled } = await import("./toolchain-modules-Q3Z6APPF.js");
1074
+ const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-42FTJHRY.js");
1075
+ const { isEnabled } = await import("./toolchain-modules-F4DUMWTO.js");
1076
1076
  const existing = existsSync(lockPath) ? readLockFile(lockPath) : void 0;
1077
1077
  resetLockOverrides();
1078
1078
  if (existing !== void 0) seedLockOverrides(existing);
1079
1079
  const ctx = createLockContext(existing);
1080
1080
  const { envNamesRead } = await import("./guards-RU4C7TFG.js");
1081
- const { refreshEnvExample } = await import("./env-example-refresh-GLFC2FTE.js");
1081
+ const { refreshEnvExample } = await import("./env-example-refresh-TS7WBVZQ.js");
1082
1082
  const def = await loadDefault(join(targetDir, XANO_DIR, "index.ts"));
1083
1083
  if (!Xano.isXano(def)) return { written, env: declaredEnv };
1084
1084
  const previousSink = setDiagnosticSink(() => {
@@ -1145,7 +1145,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
1145
1145
  const file = readCredentialFile(path);
1146
1146
  const stored = file === null ? [] : profileNames(file);
1147
1147
  if (stored.includes(name)) return;
1148
- const { ProfileNotFoundError } = await import("./token-OXGOA6WE.js");
1148
+ const { ProfileNotFoundError } = await import("./token-DWNH44NW.js");
1149
1149
  const have = stored.length === 0 ? "Nothing is signed in on this machine." : `Stored profiles: ${quotedNames(stored)}.`;
1150
1150
  throw new ProfileNotFoundError(
1151
1151
  `No credential profile "${name}" in ${path} (from ${fromEnv ? `$${ENV_PROFILE}` : "--profile"}), so there is nothing to pin this project to. ${have} Run ${loginHint(name)} to add it, or name a stored one${fromEnv ? ` (or unset ${ENV_PROFILE})` : ""}.`,
@@ -1154,7 +1154,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
1154
1154
  );
1155
1155
  }
1156
1156
  async function envCredentialSet() {
1157
- const { envMetaCredentialVarsSet } = await import("./token-OXGOA6WE.js");
1157
+ const { envMetaCredentialVarsSet } = await import("./token-DWNH44NW.js");
1158
1158
  return envMetaCredentialVarsSet().length > 0;
1159
1159
  }
1160
1160
  function loginNextStep(pin, projectDir) {
@@ -1209,7 +1209,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
1209
1209
  };
1210
1210
  }
1211
1211
  if (opts.credentialRead === true) {
1212
- const { environmentCredentialVars } = await import("./token-OXGOA6WE.js");
1212
+ const { environmentCredentialVars } = await import("./token-DWNH44NW.js");
1213
1213
  const env = environmentCredentialVars();
1214
1214
  if (env.complete) {
1215
1215
  return {
@@ -1232,7 +1232,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
1232
1232
  });
1233
1233
  const stored = file === null ? [] : profileNames(file);
1234
1234
  if (!stored.includes(selection.name)) {
1235
- const env = stored.length === 0 ? (await import("./token-OXGOA6WE.js")).environmentCredentialVars() : void 0;
1235
+ const env = stored.length === 0 ? (await import("./token-DWNH44NW.js")).environmentCredentialVars() : void 0;
1236
1236
  const storeEnv = env?.complete === true ? await storeEnvCredentialCommand(credentialPath, targetDir) : "";
1237
1237
  return {
1238
1238
  name: null,
@@ -1325,4 +1325,4 @@ export {
1325
1325
  projectCli,
1326
1326
  planProfilePin
1327
1327
  };
1328
- //# sourceMappingURL=chunk-DH32QXVI.js.map
1328
+ //# sourceMappingURL=chunk-EKS7SAZS.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  envExampleNames
3
- } from "./chunk-EC5P4W2D.js";
3
+ } from "./chunk-U4BGBU3R.js";
4
4
  import {
5
5
  WORKSPACE_ENV_EXAMPLE_BASENAME,
6
6
  renderWorkspaceEnvExample
7
- } from "./chunk-5RSPMSSQ.js";
7
+ } from "./chunk-ENBGJJJH.js";
8
8
  import {
9
9
  atomicWrite
10
10
  } from "./chunk-LLNZGEFK.js";
@@ -54,4 +54,4 @@ export {
54
54
  refreshEnvExample,
55
55
  bundleEnvNames
56
56
  };
57
- //# sourceMappingURL=chunk-2K2G5TSR.js.map
57
+ //# sourceMappingURL=chunk-ENAUSLMP.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  backendDirFor,
3
3
  backendDirIn
4
- } from "./chunk-MFEO3EHL.js";
4
+ } from "./chunk-GRWYO2MS.js";
5
5
  import {
6
6
  XANO_DIR
7
- } from "./chunk-3XZ44H2E.js";
7
+ } from "./chunk-ZISPEBNM.js";
8
8
  import {
9
9
  projectRootFrom
10
10
  } from "./chunk-HU7F56VF.js";
@@ -242,4 +242,4 @@ export {
242
242
  namesInEnvExample,
243
243
  renderWorkspaceEnvFile
244
244
  };
245
- //# sourceMappingURL=chunk-5RSPMSSQ.js.map
245
+ //# sourceMappingURL=chunk-ENBGJJJH.js.map
@@ -193,4 +193,4 @@ export {
193
193
  sdkPeerSkew,
194
194
  discoverToolchainPlugins
195
195
  };
196
- //# sourceMappingURL=chunk-5SZSLAAC.js.map
196
+ //# sourceMappingURL=chunk-FBWMKHLO.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  XANO_DIR
3
- } from "./chunk-3XZ44H2E.js";
3
+ } from "./chunk-ZISPEBNM.js";
4
4
  import {
5
5
  projectRootFrom
6
6
  } from "./chunk-HU7F56VF.js";
@@ -67,4 +67,4 @@ export {
67
67
  backendDirIn,
68
68
  resolveBackendDir
69
69
  };
70
- //# sourceMappingURL=chunk-MFEO3EHL.js.map
70
+ //# sourceMappingURL=chunk-GRWYO2MS.js.map
@@ -5,7 +5,7 @@ import {
5
5
  ProfileNotFoundError,
6
6
  describeRefreshAnswer,
7
7
  environmentCredentialVars
8
- } from "./chunk-ANBIMJPM.js";
8
+ } from "./chunk-NMHTB346.js";
9
9
  import {
10
10
  yesRerun
11
11
  } from "./chunk-N3XSXGAL.js";
@@ -429,4 +429,4 @@ export {
429
429
  salvageRevocable,
430
430
  signInAgain
431
431
  };
432
- //# sourceMappingURL=chunk-OKR66IGL.js.map
432
+ //# sourceMappingURL=chunk-H6VVSGKN.js.map
@@ -448,7 +448,7 @@ async function sdkPeerSkewOf(dir, pkg) {
448
448
  const manifest = readInstalledManifest(dir, pkg);
449
449
  if (manifest === null) return null;
450
450
  const [{ sdkPeerSkew }, { readVersion }] = await Promise.all([
451
- import("./toolchain-modules-Q3Z6APPF.js"),
451
+ import("./toolchain-modules-F4DUMWTO.js"),
452
452
  import("./cli.js")
453
453
  ]);
454
454
  const sdkVersion = readVersion();
@@ -480,4 +480,4 @@ export {
480
480
  inProject,
481
481
  installModules
482
482
  };
483
- //# sourceMappingURL=chunk-SAKWZG5I.js.map
483
+ //# sourceMappingURL=chunk-HDANNK4A.js.map
@@ -5,16 +5,16 @@ import {
5
5
  LookupFailedError,
6
6
  SourceError,
7
7
  resolveSource
8
- } from "./chunk-WXLZCBPG.js";
8
+ } from "./chunk-6HTXQAMG.js";
9
9
  import {
10
10
  isProjectDir
11
- } from "./chunk-6IOBEJWA.js";
11
+ } from "./chunk-UKC65HBQ.js";
12
12
  import {
13
13
  NotSignedInError
14
- } from "./chunk-ANBIMJPM.js";
14
+ } from "./chunk-NMHTB346.js";
15
15
  import {
16
16
  otherCredentialRefusal
17
- } from "./chunk-7XOQXZ6W.js";
17
+ } from "./chunk-QWWQM4XZ.js";
18
18
  import {
19
19
  getEngineRecord
20
20
  } from "./chunk-5Y5HWQ2P.js";
@@ -47,7 +47,7 @@ import {
47
47
  } from "./chunk-P5JF3U65.js";
48
48
  import {
49
49
  backendDirIn
50
- } from "./chunk-MFEO3EHL.js";
50
+ } from "./chunk-GRWYO2MS.js";
51
51
  import {
52
52
  UsageError,
53
53
  displayPath,
@@ -86,7 +86,7 @@ async function selectBackend(slot, raw, ctx) {
86
86
  }
87
87
  const decided = decide({ cwd, pointer, state, scope, engineRecorded: getEngineRecord(cwd, env) !== void 0 }, slot);
88
88
  if ("refusal" in decided) {
89
- const { reachableFirst } = await import("./env-target-PDDDAA5I.js");
89
+ const { reachableFirst } = await import("./env-target-TQBPLU2S.js");
90
90
  throw await reachableFirst(decided.refusal, scope);
91
91
  }
92
92
  refuseUnservable(slot, decided.kind);
@@ -368,4 +368,4 @@ export {
368
368
  NothingTrackedError,
369
369
  nestedBackendEntries
370
370
  };
371
- //# sourceMappingURL=chunk-RNVGXJJZ.js.map
371
+ //# sourceMappingURL=chunk-HEMWBHQS.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-4CS4DKQC.js";
6
6
  import {
7
7
  rerenderEnvExample
8
- } from "./chunk-2K2G5TSR.js";
8
+ } from "./chunk-ENAUSLMP.js";
9
9
  import {
10
10
  carriedSeedRows,
11
11
  decodeBundle,
@@ -17,7 +17,7 @@ import {
17
17
  verifyPulledTree,
18
18
  withSourceIdentities,
19
19
  writeDocumentationTokens
20
- } from "./chunk-EC5P4W2D.js";
20
+ } from "./chunk-U4BGBU3R.js";
21
21
  import {
22
22
  ROUTES_MANIFEST_BASENAME
23
23
  } from "./chunk-U4DSFCH5.js";
@@ -26,7 +26,7 @@ import {
26
26
  } from "./chunk-JFPLHK6Y.js";
27
27
  import {
28
28
  fetchSourceArchive
29
- } from "./chunk-ETMP7SJ3.js";
29
+ } from "./chunk-5SMUND4J.js";
30
30
  import {
31
31
  confirm
32
32
  } from "./chunk-XFQAA2SU.js";
@@ -40,25 +40,25 @@ import {
40
40
  } from "./chunk-3DRXWLJ5.js";
41
41
  import {
42
42
  ensureSecretPathGitignored
43
- } from "./chunk-LDSZPRGV.js";
43
+ } from "./chunk-ZSMHS7BU.js";
44
44
  import {
45
45
  readVersion,
46
46
  refreshAgentGuidance
47
- } from "./chunk-AMHAGMJM.js";
47
+ } from "./chunk-TANWE2ZY.js";
48
48
  import {
49
49
  WORKSPACE_ENV_BASENAME,
50
50
  WORKSPACE_ENV_EXAMPLE_BASENAME,
51
51
  namesInEnvExample,
52
52
  readWorkspaceEnvFile
53
- } from "./chunk-5RSPMSSQ.js";
53
+ } from "./chunk-ENBGJJJH.js";
54
54
  import {
55
55
  memoCredential,
56
56
  refuseProfileForLocal,
57
57
  selectBackend
58
- } from "./chunk-RNVGXJJZ.js";
58
+ } from "./chunk-HEMWBHQS.js";
59
59
  import {
60
60
  getAccessToken
61
- } from "./chunk-ANBIMJPM.js";
61
+ } from "./chunk-NMHTB346.js";
62
62
  import {
63
63
  readLockFile,
64
64
  writeLockFile
@@ -72,7 +72,7 @@ import {
72
72
  import {
73
73
  backendDirIn,
74
74
  resolveBackendDir
75
- } from "./chunk-MFEO3EHL.js";
75
+ } from "./chunk-GRWYO2MS.js";
76
76
  import {
77
77
  CODEGEN_MARKER,
78
78
  DECODE_MARKER,
@@ -87,7 +87,7 @@ import {
87
87
  readDecodeRecord,
88
88
  removeEmptiedDirs,
89
89
  removeFiles
90
- } from "./chunk-3XZ44H2E.js";
90
+ } from "./chunk-ZISPEBNM.js";
91
91
  import {
92
92
  holdsProjectManifest
93
93
  } from "./chunk-HU7F56VF.js";
@@ -319,7 +319,7 @@ async function runPullCommand(args) {
319
319
  });
320
320
  refuseDuplicateSourceGuids(project);
321
321
  const seedRows = carriedSeedRows(fetched.archive, bundle.payload);
322
- const { discoverManifestModules } = await import("./routes-manifest-file-IX4TOZCO.js");
322
+ const { discoverManifestModules } = await import("./routes-manifest-file-42FTJHRY.js");
323
323
  const modules = await discoverManifestModules(cwd, join(cwd, backendDir, ROUTES_MANIFEST_BASENAME), readVersion());
324
324
  const placed = placeGeneratedFiles(project, backendDir, void 0, void 0, modules);
325
325
  const settings = source.kind === "release" ? keepProjectSettings(placed, backendDir, join(cwd, backendDir)) : { files: placed, kept: false, lost: [], from: WORKSPACE_SETTINGS_FILE };
@@ -944,4 +944,4 @@ export {
944
944
  projectWorkspaceName,
945
945
  envFillRemedy
946
946
  };
947
- //# sourceMappingURL=chunk-HA5Y645X.js.map
947
+ //# sourceMappingURL=chunk-MLKJUEG3.js.map
@@ -381,7 +381,7 @@ The refresh token may be expired or already spent \u2014 refresh tokens rotate o
381
381
  );
382
382
  }
383
383
  assertHttpsOrigin(instance, "instance");
384
- const { resolveScopedWorkspaceId } = await import("./workspace-5RHOJC7K.js");
384
+ const { resolveScopedWorkspaceId } = await import("./workspace-RI5C77BZ.js");
385
385
  const workspaceId = await resolveScopedWorkspaceId({ access_token: set.access_token, instance });
386
386
  return { access_token: set.access_token, instance, workspaceId, credentialType: "oauth-refresh" };
387
387
  }
@@ -499,7 +499,7 @@ async function warnIfUnpinnedMachineDefault(file, selection, pin, saved, path) {
499
499
  if (selection.source !== "file-default" && selection.source !== "implicit") return;
500
500
  const stored = file === null ? [] : profileNames(file);
501
501
  if (stored.length < 2) return;
502
- const { projectDirFrom } = await import("./xanosdk-project-4NH6332J.js");
502
+ const { projectDirFrom } = await import("./xanosdk-project-W45IR3Q7.js");
503
503
  if (projectDirFrom(process.cwd()) === void 0) return;
504
504
  const target = targetOf(saved);
505
505
  credentialWarning(
@@ -862,4 +862,4 @@ export {
862
862
  notSignedIn,
863
863
  assertStoredAuthHost
864
864
  };
865
- //# sourceMappingURL=chunk-ANBIMJPM.js.map
865
+ //# sourceMappingURL=chunk-NMHTB346.js.map
@@ -9,7 +9,7 @@ import {
9
9
  isUnansweredLookup,
10
10
  lookupFailed,
11
11
  unansweredCause
12
- } from "./chunk-WXLZCBPG.js";
12
+ } from "./chunk-6HTXQAMG.js";
13
13
  import {
14
14
  findRelease
15
15
  } from "./chunk-H7GMGZHI.js";
@@ -215,4 +215,4 @@ export {
215
215
  readUnanswered,
216
216
  lookupRelease
217
217
  };
218
- //# sourceMappingURL=chunk-RFB4EXM5.js.map
218
+ //# sourceMappingURL=chunk-O6PWEJUV.js.map