@xano/sdk 1.0.17 → 1.0.18

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 (117) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{agent-file-refresh-QTFMNYPY.js → agent-file-refresh-SGM3523M.js} +4 -4
  3. package/dist/{agent-skill-command-XZVBG34H.js → agent-skill-command-PZXX7LJD.js} +13 -13
  4. package/dist/{backend-dir-DCT3T6HP.js → backend-dir-AZIVCH6Y.js} +4 -4
  5. package/dist/bin.js +13 -13
  6. package/dist/{branch-commands-OEMOFAKC.js → branch-commands-JE5RDJPH.js} +7 -7
  7. package/dist/bundle.js +2 -2
  8. package/dist/{chunk-RIT3WBBX.js → chunk-3X4B5GWY.js} +2 -2
  9. package/dist/{chunk-EXJ4Q5F6.js → chunk-6SEPZQYB.js} +2 -2
  10. package/dist/{chunk-WDN4QIJ4.js → chunk-77QKU5H6.js} +6 -6
  11. package/dist/{chunk-RH3NQTGQ.js → chunk-7B2KH733.js} +2 -2
  12. package/dist/{chunk-3QQFP3AD.js → chunk-7SDCWYAQ.js} +7 -7
  13. package/dist/{chunk-GBPIFCWL.js → chunk-BQMX7PYG.js} +2 -2
  14. package/dist/{chunk-ZQUBCGGR.js → chunk-BWD5H7AW.js} +2 -2
  15. package/dist/{chunk-573RRKNT.js → chunk-CF26RMO5.js} +2 -2
  16. package/dist/{chunk-SOAZIMWL.js → chunk-CO7US54H.js} +2 -2
  17. package/dist/{chunk-DNUU4IEM.js → chunk-CRCYD6AK.js} +3 -3
  18. package/dist/{chunk-CWC6HE66.js → chunk-DCD3KJ4B.js} +16 -16
  19. package/dist/{chunk-QYZSNN35.js → chunk-E3OLY3J4.js} +1 -1
  20. package/dist/{chunk-4LT5AVHF.js → chunk-EXY42CTV.js} +7 -7
  21. package/dist/{chunk-Q3CBDXKL.js → chunk-FCAKYFC6.js} +2 -2
  22. package/dist/{chunk-PCY4IPXK.js → chunk-H4CS4WPM.js} +13 -13
  23. package/dist/{chunk-R7Y6S7FF.js → chunk-HERXDPZS.js} +40 -40
  24. package/dist/{chunk-LXJ72GY2.js → chunk-HFH72FBC.js} +2 -2
  25. package/dist/{chunk-V4466NNS.js → chunk-ID7MIDLG.js} +2 -2
  26. package/dist/{chunk-HXFUCPZO.js → chunk-IFNSUPQL.js} +2 -2
  27. package/dist/{chunk-M2IB6N4V.js → chunk-JTUMJXFN.js} +2 -2
  28. package/dist/{chunk-H3R4PAOI.js → chunk-LLJL44WF.js} +2 -2
  29. package/dist/{chunk-GYM22X2X.js → chunk-LMCZQLM4.js} +2 -2
  30. package/dist/{chunk-ACFBRMCS.js → chunk-MCISY4QC.js} +2 -2
  31. package/dist/{chunk-J2KY2VNC.js → chunk-NAXUCAOK.js} +19 -19
  32. package/dist/{chunk-PODT53SQ.js → chunk-NEPSEJRV.js} +2 -2
  33. package/dist/{chunk-FYPTWYCU.js → chunk-NJCHWEPU.js} +2 -2
  34. package/dist/{chunk-4XGZ325S.js → chunk-OJ6YGRPV.js} +3 -3
  35. package/dist/{chunk-ANUBTY3C.js → chunk-OJFBI5C6.js} +2 -2
  36. package/dist/{chunk-HMV2VGTU.js → chunk-OO2JDYQH.js} +28 -28
  37. package/dist/{chunk-FIOC7RSU.js → chunk-PKBC7G5H.js} +12 -1
  38. package/dist/{chunk-NLWYNVJV.js → chunk-Q2KVGISJ.js} +2 -2
  39. package/dist/{chunk-LWGCUB2A.js → chunk-S4ZWOBRO.js} +2 -2
  40. package/dist/{chunk-7NKC4MBT.js → chunk-SJW6R6P4.js} +3 -3
  41. package/dist/{chunk-C6RBLPFY.js → chunk-UBM7L5KL.js} +16 -16
  42. package/dist/{chunk-ES6FBPLY.js → chunk-UIHLO3HJ.js} +2 -2
  43. package/dist/{chunk-UDW2KAVF.js → chunk-UQNDODRU.js} +2 -2
  44. package/dist/{chunk-CNNGNK46.js → chunk-VVZFTYQ3.js} +4 -4
  45. package/dist/{chunk-6DSA6W4O.js → chunk-X2IQOLQD.js} +2 -2
  46. package/dist/{chunk-5AVFVC22.js → chunk-X4G7FGHS.js} +3 -3
  47. package/dist/{chunk-H5OM5G3O.js → chunk-XBCTTJSQ.js} +55 -55
  48. package/dist/{chunk-GUC73LRA.js → chunk-YQQSFS7S.js} +3 -3
  49. package/dist/{chunk-QTOW6YXL.js → chunk-ZNHO535R.js} +2 -2
  50. package/dist/cli.js +12 -12
  51. package/dist/{codegen-command-HCHTNHDF.js → codegen-command-YGGEC2DV.js} +24 -24
  52. package/dist/{deploy-command-LYZ76OBA.js → deploy-command-SX4DWRVS.js} +16 -16
  53. package/dist/{deploy-source-AJESF6J2.js → deploy-source-T6BR3APS.js} +7 -7
  54. package/dist/{dev-env-sync-PZEIRCFC.js → dev-env-sync-4XFB63CM.js} +13 -13
  55. package/dist/{env-example-refresh-HLE2HRV4.js → env-example-refresh-N3JPECAZ.js} +25 -25
  56. package/dist/{env-pull-command-OTTZHTLK.js → env-pull-command-EAWIS3IW.js} +15 -15
  57. package/dist/{env-target-VXOMKCMO.js → env-target-RZBM6SOB.js} +2 -2
  58. package/dist/{env-var-command-TDVSO3JY.js → env-var-command-K2OASTSZ.js} +13 -13
  59. package/dist/{ephemeral-command-AX5TRR23.js → ephemeral-command-FZLJJICY.js} +16 -16
  60. package/dist/{generate-command-LMSKMR4J.js → generate-command-IQVETHTK.js} +28 -28
  61. package/dist/{gitignore-GKM5G2DJ.js → gitignore-3REKZPQI.js} +6 -6
  62. package/dist/{impersonate-command-QTEOBL5N.js → impersonate-command-K4775AUM.js} +9 -9
  63. package/dist/{init-command-OMZVE54Z.js → init-command-SODVHEI6.js} +15 -15
  64. package/dist/{init-modules-OTISW6LL.js → init-modules-WJOEK2YW.js} +2 -2
  65. package/dist/internal.js +0 -10
  66. package/dist/{keep-data-merge-ECLY5DYP.js → keep-data-merge-CHOKIJS5.js} +8 -8
  67. package/dist/{landing-record-RVE5WLFS.js → landing-record-KJTRWFK6.js} +5 -5
  68. package/dist/{live-diff-KJ2TWWWT.js → live-diff-YOFOJCFX.js} +3 -3
  69. package/dist/{local-engine-choice-CMG5V7RL.js → local-engine-choice-4K5FTSHE.js} +8 -8
  70. package/dist/{local-engine-command-UMY37AZL.js → local-engine-command-CUBWYENJ.js} +9 -9
  71. package/dist/{local-engine-mcp-command-AV2T3U4B.js → local-engine-mcp-command-FM4FOZ42.js} +9 -9
  72. package/dist/{lock-commands-PSKHBOKS.js → lock-commands-BLCJIVCC.js} +13 -13
  73. package/dist/{login-command-M7RKU3DR.js → login-command-PTYSRF45.js} +9 -9
  74. package/dist/{logout-command-DAC3XKLT.js → logout-command-BIO63CXY.js} +3 -3
  75. package/dist/{loop-HILLODVH.js → loop-CLLBQSJF.js} +3 -3
  76. package/dist/{marketplace-command-2M33OTSN.js → marketplace-command-TEUCQBL5.js} +13 -13
  77. package/dist/{meta-client-FC4DWPAC.js → meta-client-JY7JXDU2.js} +2 -2
  78. package/dist/node.js +16 -16
  79. package/dist/{operation-outcome-3V4G7QD3.js → operation-outcome-ATGF6RR4.js} +4 -4
  80. package/dist/{output-target-LTU4L3IA.js → output-target-ZCM4XYQA.js} +7 -7
  81. package/dist/{plan-disclosure-6MG4YYJV.js → plan-disclosure-XTAEE4BE.js} +5 -5
  82. package/dist/{preflight-command-724B7Y73.js → preflight-command-AXBQADFL.js} +21 -21
  83. package/dist/{profile-command-REIJ4F3Y.js → profile-command-JZ5PLHJH.js} +10 -10
  84. package/dist/{promote-command-5FK2NFHG.js → promote-command-25OWDQVE.js} +32 -32
  85. package/dist/{publish-command-VEDUWLVB.js → publish-command-VBFNWVEF.js} +16 -16
  86. package/dist/{pull-command-UXNEJSDI.js → pull-command-4YGZSRGU.js} +26 -26
  87. package/dist/{release-command-BCKJ4BUN.js → release-command-SSRQMIT2.js} +24 -24
  88. package/dist/{release-ns-command-VFI4PPSX.js → release-ns-command-ISFM36YJ.js} +33 -33
  89. package/dist/{routes-manifest-file-R3JLJ5CA.js → routes-manifest-file-ZZS5TNGT.js} +2 -2
  90. package/dist/{secrets-file-GF46TDY7.js → secrets-file-JFCORQT7.js} +5 -5
  91. package/dist/{secrets-fill-command-HKNROT6W.js → secrets-fill-command-5RJ2HSI5.js} +15 -15
  92. package/dist/{source-resolve-QYSVNJMY.js → source-resolve-LP6MCOQX.js} +3 -3
  93. package/dist/{status-command-RLXDDCZA.js → status-command-GXX4MZBC.js} +12 -12
  94. package/dist/{sync-baseline-GRS33AB5.js → sync-baseline-LSGKNCKM.js} +5 -5
  95. package/dist/{sync-contributions-BV7DFWBZ.js → sync-contributions-PQTTCY2O.js} +2 -2
  96. package/dist/{tables-command-EXHXLLN6.js → tables-command-5MLGODGI.js} +10 -10
  97. package/dist/{tenant-command-D5H7MR3C.js → tenant-command-UDZUIOTO.js} +38 -38
  98. package/dist/{test-command-ORMWZXC3.js → test-command-7CUROW3U.js} +10 -10
  99. package/dist/{token-EFSD6WSQ.js → token-DTFJJYQH.js} +2 -2
  100. package/dist/{toolchain-modules-BC37MYYD.js → toolchain-modules-GQIMMMZL.js} +2 -2
  101. package/dist/{tracked-backend-IPEGNGNI.js → tracked-backend-2MG4D4ZJ.js} +9 -9
  102. package/dist/{update-check-4YTFF7NB.js → update-check-H774KJVG.js} +14 -14
  103. package/dist/{upgrade-command-J4CPYEGO.js → upgrade-command-MLBXEIKR.js} +16 -16
  104. package/dist/{whoami-command-XGVTKQSL.js → whoami-command-SYRDCTDK.js} +4 -4
  105. package/dist/{workspace-JGUNVFRE.js → workspace-RMSSZKNV.js} +2 -2
  106. package/dist/{workspace-binding-MQ2QIWOJ.js → workspace-binding-ZQSANRJF.js} +3 -3
  107. package/dist/{workspace-command-LSEG62RA.js → workspace-command-X3ACS6X4.js} +34 -34
  108. package/dist/{workspace-env-7U7OLRUO.js → workspace-env-XA57JKVH.js} +5 -5
  109. package/dist/{xanosdk-import-Y5SBF4LP.js → xanosdk-import-562F4G3K.js} +2 -2
  110. package/dist/{xanosdk-project-5XARMFZ7.js → xanosdk-project-J2JVTSVJ.js} +5 -5
  111. package/guides/coverage.md +9 -12
  112. package/llms-full.txt +2 -2
  113. package/llms.txt +2 -2
  114. package/manifest.json +2 -10
  115. package/package.json +1 -1
  116. package/skills/xano-backend/SKILL.md +2 -2
  117. package/dist/.build-fingerprint +0 -1
@@ -6,10 +6,10 @@ import {
6
6
  rowLabeler,
7
7
  sectionKind,
8
8
  sectionOmission
9
- } from "./chunk-RIT3WBBX.js";
9
+ } from "./chunk-3X4B5GWY.js";
10
10
  import {
11
11
  canonicalJson
12
- } from "./chunk-EXJ4Q5F6.js";
12
+ } from "./chunk-6SEPZQYB.js";
13
13
  import {
14
14
  md5Hex
15
15
  } from "./chunk-OHX6MIUZ.js";
@@ -110,4 +110,4 @@ export {
110
110
  syncDirection,
111
111
  directedComparison
112
112
  };
113
- //# sourceMappingURL=chunk-4XGZ325S.js.map
113
+ //# sourceMappingURL=chunk-OJ6YGRPV.js.map
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-ZYZ7GRX3.js";
16
16
  import {
17
17
  backendDirIn
18
- } from "./chunk-NLWYNVJV.js";
18
+ } from "./chunk-Q2KVGISJ.js";
19
19
  import {
20
20
  destinationKey,
21
21
  isEphemeralDestinationKey,
@@ -260,4 +260,4 @@ export {
260
260
  holdsLanding,
261
261
  forgetLanding
262
262
  };
263
- //# sourceMappingURL=chunk-ANUBTY3C.js.map
263
+ //# sourceMappingURL=chunk-OJFBI5C6.js.map
@@ -13,13 +13,13 @@ import {
13
13
  import {
14
14
  objectDigests,
15
15
  syncDigests
16
- } from "./chunk-4XGZ325S.js";
16
+ } from "./chunk-OJ6YGRPV.js";
17
17
  import {
18
18
  archiveSeedContent
19
- } from "./chunk-DNUU4IEM.js";
19
+ } from "./chunk-CRCYD6AK.js";
20
20
  import {
21
21
  shownLabel
22
- } from "./chunk-4LT5AVHF.js";
22
+ } from "./chunk-EXY42CTV.js";
23
23
  import {
24
24
  confirm,
25
25
  needsConfirmation
@@ -29,7 +29,7 @@ import {
29
29
  discloseCanonicalMoves,
30
30
  movesClause,
31
31
  storageChangesPayload
32
- } from "./chunk-UDW2KAVF.js";
32
+ } from "./chunk-UQNDODRU.js";
33
33
  import {
34
34
  listTables,
35
35
  tableRowCounter,
@@ -40,7 +40,7 @@ import {
40
40
  landingLockPath,
41
41
  recordForeignLanding,
42
42
  recordLanding
43
- } from "./chunk-ANUBTY3C.js";
43
+ } from "./chunk-OJFBI5C6.js";
44
44
  import {
45
45
  recordSync
46
46
  } from "./chunk-EPB6FAR5.js";
@@ -49,7 +49,7 @@ import {
49
49
  XANOSDK_IMPORT_UNIQUENESS_CODE,
50
50
  XanoSdkImportRefusal,
51
51
  xanosdkImport
52
- } from "./chunk-ES6FBPLY.js";
52
+ } from "./chunk-UIHLO3HJ.js";
53
53
  import {
54
54
  encodeWorkspaceArchive
55
55
  } from "./chunk-3DRXWLJ5.js";
@@ -73,24 +73,24 @@ import {
73
73
  sharedSchemaChanges,
74
74
  storedColumnsAfter,
75
75
  uniqueIndexLabels
76
- } from "./chunk-RIT3WBBX.js";
76
+ } from "./chunk-3X4B5GWY.js";
77
77
  import {
78
78
  assertBundleFile,
79
79
  assertBundleInput,
80
80
  loadBundleText,
81
81
  resolveLockPath
82
- } from "./chunk-H5OM5G3O.js";
82
+ } from "./chunk-XBCTTJSQ.js";
83
83
  import {
84
84
  LookupFailedError,
85
85
  isUnansweredLookup,
86
86
  unansweredCause
87
- } from "./chunk-V4466NNS.js";
87
+ } from "./chunk-ID7MIDLG.js";
88
88
  import {
89
89
  isSignatureRefusal
90
90
  } from "./chunk-GA6HTO3O.js";
91
91
  import {
92
92
  getAccessToken
93
- } from "./chunk-GUC73LRA.js";
93
+ } from "./chunk-YQQSFS7S.js";
94
94
  import {
95
95
  readLockFile
96
96
  } from "./chunk-7ZVQIKNL.js";
@@ -107,7 +107,7 @@ import {
107
107
  } from "./chunk-ZYZ7GRX3.js";
108
108
  import {
109
109
  backendDirIn
110
- } from "./chunk-NLWYNVJV.js";
110
+ } from "./chunk-Q2KVGISJ.js";
111
111
  import {
112
112
  shellWord
113
113
  } from "./chunk-FWD7AL6N.js";
@@ -744,7 +744,7 @@ function targetIsEmpty(live) {
744
744
  async function convergedWithLive(live, req, outgoingBundle, pinned) {
745
745
  if (live === void 0 || req.mode !== "merge") return false;
746
746
  if (req.records === true || req.truncate === true) return false;
747
- const { compareToLive: compareToLive2 } = await import("./live-diff-KJ2TWWWT.js");
747
+ const { compareToLive: compareToLive2 } = await import("./live-diff-YOFOJCFX.js");
748
748
  let result;
749
749
  try {
750
750
  result = compareToLive2(
@@ -765,7 +765,7 @@ async function convergedWithLive(live, req, outgoingBundle, pinned) {
765
765
  async function unchangedWithLive(live, req, outgoingBundle, pinned) {
766
766
  if (live === void 0 || req.mode !== "merge") return void 0;
767
767
  if (req.records === true || req.truncate === true) return void 0;
768
- const { compareToLive: compareToLive2, declaredLabels, payloadOf: payloadOf2, SETTINGS_LABEL } = await import("./live-diff-KJ2TWWWT.js");
768
+ const { compareToLive: compareToLive2, declaredLabels, payloadOf: payloadOf2, SETTINGS_LABEL } = await import("./live-diff-YOFOJCFX.js");
769
769
  try {
770
770
  const outgoing = JSON.parse(outgoingBundle);
771
771
  const result = compareToLive2(outgoing, live, new Set(pinned.map((p) => `${p.payloadKey}:${p.name}`)), {
@@ -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-LYZ76OBA.js");
796
+ const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-SX4DWRVS.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 = [];
@@ -824,7 +824,7 @@ function landingTableFields(losses) {
824
824
  };
825
825
  }
826
826
  async function warnAboutLiveLosses(live, req, outgoingBundle, setWhere = "workspace", fromBundle = false, replaceHint = "`xanosdk deploy <source> --to <destination> --replace`.", noun = "workspace", failure, stored) {
827
- const { NO_TABLE_EFFECTS, tableEffectsOf, discloseTableEffects, tableEffectFields, alteringChanges, droppedAndAdded } = await import("./plan-disclosure-6MG4YYJV.js");
827
+ const { NO_TABLE_EFFECTS, tableEffectsOf, discloseTableEffects, tableEffectFields, alteringChanges, droppedAndAdded } = await import("./plan-disclosure-XTAEE4BE.js");
828
828
  const none = {
829
829
  ...tableEffectFields(NO_TABLE_EFFECTS),
830
830
  renamedTables: [],
@@ -843,7 +843,7 @@ async function warnAboutLiveLosses(live, req, outgoingBundle, setWhere = "worksp
843
843
  blank();
844
844
  return none;
845
845
  }
846
- const { diffAgainstLive, tableAdditions } = await import("./live-diff-KJ2TWWWT.js");
846
+ const { diffAgainstLive, tableAdditions } = await import("./live-diff-YOFOJCFX.js");
847
847
  let diff;
848
848
  let additions;
849
849
  try {
@@ -1276,7 +1276,7 @@ async function assertWorkspaceUnchanged(args, ctx) {
1276
1276
  const { readSyncBaseline } = await import("./sync-record-AWFCSS4D.js");
1277
1277
  const baseline = readSyncBaseline(ctx.lockPath, ctx.target);
1278
1278
  if (baseline === void 0) return [];
1279
- const { directedComparison } = await import("./sync-baseline-GRS33AB5.js");
1279
+ const { directedComparison } = await import("./sync-baseline-LSGKNCKM.js");
1280
1280
  let compared;
1281
1281
  try {
1282
1282
  compared = directedComparison(
@@ -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-ECLY5DYP.js");
1612
+ const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-CHOKIJS5.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-ECLY5DYP.js");
1656
+ const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-CHOKIJS5.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-BC37MYYD.js");
2112
+ const { discoverToolchainPlugins } = await import("./toolchain-modules-GQIMMMZL.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-LYZ76OBA.js");
2138
+ const { ignoreBackendSecretFilesRead } = await import("./deploy-command-SX4DWRVS.js");
2139
2139
  await ignoreBackendSecretFilesRead(args);
2140
2140
  }
2141
2141
  if (args.static !== void 0) {
2142
- const { assertNoSeedLeaks } = await import("./deploy-command-LYZ76OBA.js");
2142
+ const { assertNoSeedLeaks } = await import("./deploy-command-SX4DWRVS.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-ECLY5DYP.js");
2252
+ const { importInProgressError } = await import("./keep-data-merge-CHOKIJS5.js");
2253
2253
  const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-WP4ZI6CJ.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-ECLY5DYP.js");
2387
+ const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-CHOKIJS5.js");
2388
2388
  const triggers = liveTableTriggers(live);
2389
2389
  if (triggers.length > 0) {
2390
2390
  const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-WP4ZI6CJ.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-LYZ76OBA.js");
2770
+ const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-SX4DWRVS.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-Y5SBF4LP.js");
2822
+ const { detectXanoSdkImportRoute } = await import("./xanosdk-import-562F4G3K.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-ECLY5DYP.js");
2829
+ const { unreachableProbeError } = await import("./keep-data-merge-CHOKIJS5.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-HMV2VGTU.js.map
2918
+ //# sourceMappingURL=chunk-OO2JDYQH.js.map
@@ -285,6 +285,13 @@ var DEFAULT_CORS = {
285
285
  };
286
286
  var DEFAULT_DOCUMENTATION = { require_token: false, token: "" };
287
287
  var DEFAULT_MIDDLEWARE = { pre: [], post: [], pre_customize: false, post_customize: false };
288
+ function isDefaultMesh0Block(v) {
289
+ if (isEmptyArray(v)) return true;
290
+ if (v === null || typeof v !== "object" || Array.isArray(v)) return false;
291
+ return Object.entries(v).every(
292
+ ([member, value]) => member === "inherit" ? value === true : /^(?:[a-z]+_)?logging$/.test(member) && value === "inherit"
293
+ );
294
+ }
288
295
  function isRawSqlContext(container) {
289
296
  return container !== null && typeof container === "object" && typeof container.code === "string";
290
297
  }
@@ -437,6 +444,10 @@ function isDefaultEnvelopeMember(key, v) {
437
444
  // customized to run nothing still compares — that is not inheriting.
438
445
  case "middleware":
439
446
  return isEmptyArray(v) || deepEqual(normalize(v), normalize(DEFAULT_MIDDLEWARE));
447
+ // An object's or container's telemetry block, when it only inherits. See
448
+ // {@link isDefaultMesh0Block}.
449
+ case "mesh0":
450
+ return isDefaultMesh0Block(v);
440
451
  // Two unrelated `offset`s, both at a default. An addon's is the response path
441
452
  // its rows are spliced into, `""` when spliced at the root. A list context's
442
453
  // paging offset is declared to default to 0. Neither carries information at
@@ -1063,4 +1074,4 @@ export {
1063
1074
  filledContext,
1064
1075
  normalize
1065
1076
  };
1066
- //# sourceMappingURL=chunk-FIOC7RSU.js.map
1077
+ //# sourceMappingURL=chunk-PKBC7G5H.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  XANO_DIR
3
- } from "./chunk-RH3NQTGQ.js";
3
+ } from "./chunk-7B2KH733.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-NLWYNVJV.js.map
70
+ //# sourceMappingURL=chunk-Q2KVGISJ.js.map
@@ -142,7 +142,7 @@ var SENDS_ELSEWHERE = /* @__PURE__ */ new WeakSet();
142
142
  async function reachableFirst(refusal, auth) {
143
143
  if (!(refusal instanceof Error) || !SENDS_ELSEWHERE.has(refusal)) return refusal;
144
144
  if (auth === void 0 || !("access_token" in auth)) return refusal;
145
- const { refuseUnreachableWorkspace } = await import("./workspace-binding-MQ2QIWOJ.js");
145
+ const { refuseUnreachableWorkspace } = await import("./workspace-binding-ZQSANRJF.js");
146
146
  try {
147
147
  await refuseUnreachableWorkspace(auth);
148
148
  } catch (unreachable) {
@@ -167,4 +167,4 @@ export {
167
167
  otherCredentialRefusal,
168
168
  reachableFirst
169
169
  };
170
- //# sourceMappingURL=chunk-LWGCUB2A.js.map
170
+ //# sourceMappingURL=chunk-S4ZWOBRO.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  envExampleNames
3
- } from "./chunk-J2KY2VNC.js";
3
+ } from "./chunk-NAXUCAOK.js";
4
4
  import {
5
5
  WORKSPACE_ENV_EXAMPLE_BASENAME,
6
6
  renderWorkspaceEnvExample
7
- } from "./chunk-5AVFVC22.js";
7
+ } from "./chunk-X4G7FGHS.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-7NKC4MBT.js.map
57
+ //# sourceMappingURL=chunk-SJW6R6P4.js.map
@@ -6,14 +6,14 @@ import {
6
6
  } from "./chunk-AICWDCLJ.js";
7
7
  import {
8
8
  ensureWorkspaceEnvGitignored
9
- } from "./chunk-LXJ72GY2.js";
9
+ } from "./chunk-HFH72FBC.js";
10
10
  import {
11
11
  readVersion
12
- } from "./chunk-H5OM5G3O.js";
12
+ } from "./chunk-XBCTTJSQ.js";
13
13
  import {
14
14
  WORKSPACE_ENV_EXAMPLE_FILE,
15
15
  renderWorkspaceEnvExample
16
- } from "./chunk-5AVFVC22.js";
16
+ } from "./chunk-X4G7FGHS.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-RH3NQTGQ.js";
29
+ } from "./chunk-7B2KH733.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-M2IB6N4V.js";
37
+ } from "./chunk-JTUMJXFN.js";
38
38
  import {
39
39
  npmViewVersion
40
40
  } from "./chunk-ZFDZKNGG.js";
@@ -725,7 +725,7 @@ async function runInitCommand(args) {
725
725
  }
726
726
  const source = resolveFromSource(args.from);
727
727
  if (source.kind === "file") await refuseUnknownProfileFlag(args, resolve(args.positionals[0] ?? "."));
728
- const { runInitFromCommand } = await import("./codegen-command-HCHTNHDF.js");
728
+ const { runInitFromCommand } = await import("./codegen-command-YGGEC2DV.js");
729
729
  return runInitFromCommand(args, source);
730
730
  }
731
731
  rejectPullOnlyFlags(args);
@@ -789,7 +789,7 @@ async function runInitCommand(args) {
789
789
  }
790
790
  let scaffolded = false;
791
791
  try {
792
- const { discoverToolchainPlugins } = await import("./toolchain-modules-BC37MYYD.js");
792
+ const { discoverToolchainPlugins } = await import("./toolchain-modules-GQIMMMZL.js");
793
793
  const toolchain = await discoverToolchainPlugins(targetDir, { frozen: false, configuring: true });
794
794
  const preset = flagFrontend !== void 0 ? flagFrontend : await resolveFrontendPreset(args.framework);
795
795
  if (preset === null && flagFrontend === void 0) refuseFrontendOnlyFlags(args, "no frontend was chosen");
@@ -924,7 +924,7 @@ async function runInitCommand(args) {
924
924
  const { skewedProjectSdk } = await import("./project-sdk-DKZBK5H5.js");
925
925
  const installedSdk = skewedProjectSdk(targetDir, readVersion());
926
926
  if (installedSdk !== void 0) {
927
- const { reconcileWithInstalled } = await import("./upgrade-command-J4CPYEGO.js");
927
+ const { reconcileWithInstalled } = await import("./upgrade-command-MLBXEIKR.js");
928
928
  const rendered = reconcileWithInstalled(targetDir);
929
929
  if (rendered.length > 0) {
930
930
  info(`Rendered ${rendered.join(", ")} with the installed @xano/sdk ${installedSdk.version} (this CLI is ${readVersion()}).`);
@@ -1068,14 +1068,14 @@ async function writeDerivedFiles(targetDir, renderIndexWithEnv, toolchain) {
1068
1068
  const { readLockFile, writeLockFile } = await import("./io-47TFRYDB.js");
1069
1069
  const { setDiagnosticSink } = await import("./diagnostics-T3RN3372.js");
1070
1070
  const { planRouteManifest } = await import("./routes-manifest-N73THJB3.js");
1071
- const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-R3JLJ5CA.js");
1072
- const { isEnabled } = await import("./toolchain-modules-BC37MYYD.js");
1071
+ const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-ZZS5TNGT.js");
1072
+ const { isEnabled } = await import("./toolchain-modules-GQIMMMZL.js");
1073
1073
  const existing = existsSync(lockPath) ? readLockFile(lockPath) : void 0;
1074
1074
  resetLockOverrides();
1075
1075
  if (existing !== void 0) seedLockOverrides(existing);
1076
1076
  const ctx = createLockContext(existing);
1077
1077
  const { envNamesRead } = await import("./guards-LQ7PSXOL.js");
1078
- const { refreshEnvExample } = await import("./env-example-refresh-HLE2HRV4.js");
1078
+ const { refreshEnvExample } = await import("./env-example-refresh-N3JPECAZ.js");
1079
1079
  const def = await loadDefault(join(targetDir, XANO_DIR, "index.ts"));
1080
1080
  if (!Xano.isXano(def)) return { written, env: declaredEnv };
1081
1081
  const previousSink = setDiagnosticSink(() => {
@@ -1142,7 +1142,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
1142
1142
  const file = readCredentialFile(path);
1143
1143
  const stored = file === null ? [] : profileNames(file);
1144
1144
  if (stored.includes(name)) return;
1145
- const { ProfileNotFoundError } = await import("./token-EFSD6WSQ.js");
1145
+ const { ProfileNotFoundError } = await import("./token-DTFJJYQH.js");
1146
1146
  const have = stored.length === 0 ? "Nothing is signed in on this machine." : `Stored profiles: ${quotedNames(stored)}.`;
1147
1147
  throw new ProfileNotFoundError(
1148
1148
  `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})` : ""}.`,
@@ -1151,7 +1151,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
1151
1151
  );
1152
1152
  }
1153
1153
  async function envCredentialSet() {
1154
- const { envMetaCredentialVarsSet } = await import("./token-EFSD6WSQ.js");
1154
+ const { envMetaCredentialVarsSet } = await import("./token-DTFJJYQH.js");
1155
1155
  return envMetaCredentialVarsSet().length > 0;
1156
1156
  }
1157
1157
  function loginNextStep(pin) {
@@ -1202,7 +1202,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
1202
1202
  };
1203
1203
  }
1204
1204
  if (opts.credentialRead === true) {
1205
- const { environmentCredentialVars } = await import("./token-EFSD6WSQ.js");
1205
+ const { environmentCredentialVars } = await import("./token-DTFJJYQH.js");
1206
1206
  const env = environmentCredentialVars();
1207
1207
  if (env.complete) {
1208
1208
  return {
@@ -1225,7 +1225,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
1225
1225
  });
1226
1226
  const stored = file === null ? [] : profileNames(file);
1227
1227
  if (!stored.includes(selection.name)) {
1228
- const env = stored.length === 0 ? (await import("./token-EFSD6WSQ.js")).environmentCredentialVars() : void 0;
1228
+ const env = stored.length === 0 ? (await import("./token-DTFJJYQH.js")).environmentCredentialVars() : void 0;
1229
1229
  const storeEnv = env?.complete === true ? await storeEnvCredentialCommand(credentialPath, targetDir) : "";
1230
1230
  return {
1231
1231
  name: null,
@@ -1317,4 +1317,4 @@ export {
1317
1317
  runFiles,
1318
1318
  planProfilePin
1319
1319
  };
1320
- //# sourceMappingURL=chunk-C6RBLPFY.js.map
1320
+ //# sourceMappingURL=chunk-UBM7L5KL.js.map
@@ -461,7 +461,7 @@ async function post(auth, url, opts, action) {
461
461
  const aftermath = !writes ? `A dry run writes nothing, so ${target} is untouched. Retry when the instance is reachable.` : opts.mode === "replace" ? `The request did not complete, so the import may or may not have landed, in whole or in part. A replace rewrites all of ${target}, so it is safe to run again once the instance is reachable.` : `The request did not complete, so the import may or may not have landed, in whole or in part.` + (opts.stateCheck !== void 0 ? ` ${opts.stateCheck}` : "");
462
462
  const where = `${transportTarget(url)}${opts.label !== void 0 ? ` (${opts.label})` : ""}`;
463
463
  if (res === void 0) {
464
- const { classifyFailure } = await import("./operation-outcome-3V4G7QD3.js");
464
+ const { classifyFailure } = await import("./operation-outcome-ATGF6RR4.js");
465
465
  if (writes && !isTimeoutError(failure) && classifyFailure(failure, { writeSent: true }) === "no") {
466
466
  const untrusted = certificateFailureCode(failure) !== void 0;
467
467
  throw new ImportNotSentError(
@@ -557,4 +557,4 @@ export {
557
557
  withDefaultBranchPointer,
558
558
  xanosdkImport
559
559
  };
560
- //# sourceMappingURL=chunk-ES6FBPLY.js.map
560
+ //# sourceMappingURL=chunk-UIHLO3HJ.js.map
@@ -4,7 +4,7 @@ import {
4
4
  sectionKind,
5
5
  tableAdditions,
6
6
  vectorSize
7
- } from "./chunk-RIT3WBBX.js";
7
+ } from "./chunk-3X4B5GWY.js";
8
8
  import {
9
9
  ReleaseHttpError
10
10
  } from "./chunk-UH5VQGNR.js";
@@ -677,4 +677,4 @@ export {
677
677
  CONSTRAINT_PHRASE,
678
678
  CONSTRAINT_FIX
679
679
  };
680
- //# sourceMappingURL=chunk-UDW2KAVF.js.map
680
+ //# sourceMappingURL=chunk-UQNDODRU.js.map
@@ -3,11 +3,11 @@ import {
3
3
  reachableLines,
4
4
  readReachableWorkspaces,
5
5
  workspaceIdFix
6
- } from "./chunk-573RRKNT.js";
6
+ } from "./chunk-CF26RMO5.js";
7
7
  import {
8
8
  credentialRejected,
9
9
  getAccessToken
10
- } from "./chunk-GUC73LRA.js";
10
+ } from "./chunk-YQQSFS7S.js";
11
11
  import {
12
12
  CREDENTIAL_FILE_VERSION,
13
13
  DEFAULT_AUTH_HOST,
@@ -183,7 +183,7 @@ function prettyProfile(p) {
183
183
  }
184
184
  async function runWhoamiCommand(args) {
185
185
  const profile = await fetchProfile(args).catch(async (err) => {
186
- const { unansweredRead } = await import("./source-resolve-QYSVNJMY.js");
186
+ const { unansweredRead } = await import("./source-resolve-LP6MCOQX.js");
187
187
  throw unansweredRead(err, "read the signed-in user", "workspace");
188
188
  });
189
189
  if (isMachineOutput(args)) {
@@ -203,4 +203,4 @@ export {
203
203
  profileValue,
204
204
  runWhoamiCommand
205
205
  };
206
- //# sourceMappingURL=chunk-CNNGNK46.js.map
206
+ //# sourceMappingURL=chunk-VVZFTYQ3.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  classifyFailure
3
- } from "./chunk-ZQUBCGGR.js";
3
+ } from "./chunk-BWD5H7AW.js";
4
4
  import {
5
5
  describeWrite
6
6
  } from "./chunk-4KHEMC32.js";
@@ -253,4 +253,4 @@ export {
253
253
  OperationError,
254
254
  runOperation
255
255
  };
256
- //# sourceMappingURL=chunk-6DSA6W4O.js.map
256
+ //# sourceMappingURL=chunk-X2IQOLQD.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  backendDirFor,
3
3
  backendDirIn
4
- } from "./chunk-NLWYNVJV.js";
4
+ } from "./chunk-Q2KVGISJ.js";
5
5
  import {
6
6
  XANO_DIR
7
- } from "./chunk-RH3NQTGQ.js";
7
+ } from "./chunk-7B2KH733.js";
8
8
  import {
9
9
  projectRootFrom
10
10
  } from "./chunk-HU7F56VF.js";
@@ -258,4 +258,4 @@ export {
258
258
  namesInEnvExample,
259
259
  renderWorkspaceEnvFile
260
260
  };
261
- //# sourceMappingURL=chunk-5AVFVC22.js.map
261
+ //# sourceMappingURL=chunk-X4G7FGHS.js.map