@xano/sdk 1.0.8 → 1.0.10

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 (123) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +85 -86
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/{agent-file-refresh-QJO3MT6Q.js → agent-file-refresh-VOGTQ3JE.js} +6 -6
  5. package/dist/{agent-skill-command-GBR4KUUG.js → agent-skill-command-LDT5JXIO.js} +16 -16
  6. package/dist/{backend-dir-PFUIPCV3.js → backend-dir-UNUO7TNL.js} +5 -5
  7. package/dist/bin.js +16 -16
  8. package/dist/{branch-commands-CR3SAHMV.js → branch-commands-IJ7SK5AM.js} +3 -3
  9. package/dist/{chunk-QRKBFXIB.js → chunk-2ND7WS3E.js} +2 -2
  10. package/dist/{chunk-CRE7P7P2.js → chunk-3IFRZXHN.js} +2 -2
  11. package/dist/{chunk-Y5ET37NN.js → chunk-3TTR4BHW.js} +2 -2
  12. package/dist/{chunk-K75BFHQQ.js → chunk-3TWQDGQY.js} +2 -2
  13. package/dist/{chunk-ZT2B22VQ.js → chunk-436AOVZS.js} +2 -2
  14. package/dist/{chunk-ZJCHS7FM.js → chunk-45A3AF2B.js} +54 -54
  15. package/dist/{chunk-XYTVP4WI.js → chunk-5DLDRUCQ.js} +3 -3
  16. package/dist/{chunk-NFZUXS7D.js → chunk-6BIOLAJ4.js} +5 -5
  17. package/dist/{chunk-S3WN6GGO.js → chunk-6NXIRULE.js} +12 -12
  18. package/dist/{chunk-W2BVP27L.js → chunk-77IFWJ53.js} +2 -2
  19. package/dist/{chunk-ZQ5WZWHF.js → chunk-BYYVOX2P.js} +17 -17
  20. package/dist/{chunk-BRANWM4U.js → chunk-C2SAVXAB.js} +2 -2
  21. package/dist/{chunk-QE2GNFMP.js → chunk-CTKBGPM6.js} +3 -3
  22. package/dist/{chunk-77GV772V.js → chunk-DHU3EGGF.js} +2 -2
  23. package/dist/{chunk-DER2CVNC.js → chunk-DSD2NNTX.js} +2 -2
  24. package/dist/{chunk-V7KMIEMF.js → chunk-DW47JVXI.js} +18 -18
  25. package/dist/{chunk-FHQYXGAY.js → chunk-ECGRCTVI.js} +2 -2
  26. package/dist/{chunk-FN7E6XGD.js → chunk-FDZ2ANSS.js} +2 -2
  27. package/dist/{chunk-UU7EEREQ.js → chunk-FZGK4VM5.js} +2 -2
  28. package/dist/{chunk-UKJFCEMI.js → chunk-GDAWYDHY.js} +4 -4
  29. package/dist/{chunk-2HZDWZM2.js → chunk-HDKSHL4Z.js} +1 -1
  30. package/dist/{chunk-33KELF2X.js → chunk-HMFEWTI7.js} +39 -39
  31. package/dist/{chunk-7UWUEUVJ.js → chunk-HU6D6PYT.js} +2 -2
  32. package/dist/{chunk-JG642U5D.js → chunk-IIAF7VKN.js} +2 -2
  33. package/dist/{chunk-AS4G2MIE.js → chunk-IW6E3LES.js} +2 -2
  34. package/dist/{chunk-5GIOCDUM.js → chunk-IZI3SYXH.js} +3 -3
  35. package/dist/{chunk-S3STXOAO.js → chunk-JE7BL5IF.js} +7 -7
  36. package/dist/{chunk-HKLBDSML.js → chunk-JSPFDMTV.js} +5 -5
  37. package/dist/{chunk-S2F7KVUL.js → chunk-KA3JN4SH.js} +2 -2
  38. package/dist/{chunk-P5W6DBV6.js → chunk-KCCZGDQG.js} +3 -3
  39. package/dist/{chunk-PAS5HOG3.js → chunk-KSGITXNE.js} +2 -2
  40. package/dist/{chunk-C2I4GC36.js → chunk-NIANORYB.js} +2 -2
  41. package/dist/{chunk-YG7S3N7P.js → chunk-PPI647YF.js} +20 -20
  42. package/dist/{chunk-F5RPNTN7.js → chunk-T3ZVNOJC.js} +1 -1
  43. package/dist/{chunk-WEQFI55W.js → chunk-THGELNPV.js} +4 -4
  44. package/dist/{chunk-U7XNJ33Q.js → chunk-TWBENPZR.js} +13 -13
  45. package/dist/{chunk-RYMGK2K5.js → chunk-U4JD5NMP.js} +2 -2
  46. package/dist/{chunk-JJGK7XGC.js → chunk-V5RXO5AK.js} +2 -2
  47. package/dist/{chunk-M3RLLT4O.js → chunk-XUSL2Z5C.js} +3 -3
  48. package/dist/{chunk-JPRZ4ZGU.js → chunk-Z52FKP34.js} +6 -6
  49. package/dist/cli.d.ts +1 -1
  50. package/dist/cli.js +15 -15
  51. package/dist/{codegen-command-4YXDJSLU.js → codegen-command-A7M5JLLY.js} +22 -22
  52. package/dist/{deploy-command-FIDS56ZC.js → deploy-command-RP7Q4XBE.js} +19 -19
  53. package/dist/{deploy-source-FPNNNNOW.js → deploy-source-ITSAHJW7.js} +8 -8
  54. package/dist/{dev-env-sync-RBJ2U3HG.js → dev-env-sync-SN6TL22O.js} +16 -16
  55. package/dist/{emit-8lcNcRrd.d.ts → emit-D-a6JznN.d.ts} +10 -4
  56. package/dist/{env-example-refresh-6UTTMDOI.js → env-example-refresh-USAGYVJ2.js} +23 -23
  57. package/dist/{env-pull-command-P5MATITQ.js → env-pull-command-6KEESNVU.js} +14 -14
  58. package/dist/{env-target-F75YF25S.js → env-target-HOGLLJN5.js} +2 -2
  59. package/dist/{env-var-command-H3GHROVB.js → env-var-command-VOAINMHX.js} +14 -14
  60. package/dist/{ephemeral-command-NH2XW3YK.js → ephemeral-command-I7VPCBVQ.js} +15 -15
  61. package/dist/{generate-command-IANKN6WV.js → generate-command-G7EJ7GW4.js} +26 -26
  62. package/dist/{gitignore-FT2LVOMI.js → gitignore-WFZ2BTMS.js} +7 -7
  63. package/dist/{impersonate-command-7B67ICPL.js → impersonate-command-ZJDK7ZYO.js} +10 -10
  64. package/dist/index.d.ts +4 -4
  65. package/dist/index.js +2 -2
  66. package/dist/{init-command-QOA4TJI2.js → init-command-CTWDNYAZ.js} +18 -18
  67. package/dist/{init-modules-KEEJ4HAF.js → init-modules-FJITJ6IB.js} +2 -2
  68. package/dist/internal.d.ts +4 -4
  69. package/dist/internal.js +27 -9
  70. package/dist/{keep-data-merge-BIBW4QR4.js → keep-data-merge-KLNLVBYK.js} +4 -4
  71. package/dist/{lambda-config-reconcile-47X5C2E4.js → lambda-config-reconcile-FXPDH2U5.js} +3 -3
  72. package/dist/{landing-record-DO3PM7QP.js → landing-record-ZB4OJQF2.js} +6 -6
  73. package/dist/{local-engine-choice-2UF7S5QZ.js → local-engine-choice-FO7LABXX.js} +9 -9
  74. package/dist/{local-engine-command-WGMMZRQL.js → local-engine-command-LI7HUH5Y.js} +10 -10
  75. package/dist/{local-engine-mcp-command-RMVUH4FL.js → local-engine-mcp-command-EVYRLPE7.js} +10 -10
  76. package/dist/{lock-commands-5NMQWBGH.js → lock-commands-I4RARW5F.js} +16 -16
  77. package/dist/{login-command-GLLFZWHT.js → login-command-MJT5CCXL.js} +10 -10
  78. package/dist/{logout-command-NCMKMJWF.js → logout-command-GSQ2R3XL.js} +3 -3
  79. package/dist/{marketplace-command-Y3RRUEWL.js → marketplace-command-GK4F5ZZ2.js} +14 -14
  80. package/dist/{meta-client-Y7N6WDS2.js → meta-client-2A7LYGUQ.js} +2 -2
  81. package/dist/node.d.ts +4 -4
  82. package/dist/node.js +18 -18
  83. package/dist/{operation-outcome-4BFISK2R.js → operation-outcome-UK5ALWRE.js} +4 -4
  84. package/dist/{output-target-MFANTVGZ.js → output-target-GFPSLLEJ.js} +8 -8
  85. package/dist/{preflight-command-Q6XOKRM6.js → preflight-command-LP5D6UOD.js} +21 -21
  86. package/dist/{profile-command-XPQIXFWN.js → profile-command-R7XLNTY6.js} +11 -11
  87. package/dist/{promote-command-DN64QK7O.js → promote-command-TEVVCM77.js} +29 -29
  88. package/dist/{publish-command-SLE46MQX.js → publish-command-WTVINN5E.js} +19 -19
  89. package/dist/{pull-command-UVK3IOXM.js → pull-command-KFHHW2BA.js} +24 -24
  90. package/dist/{release-command-MKNESNGB.js → release-command-QUKHOKIY.js} +21 -21
  91. package/dist/{release-ns-command-HLR46IKP.js → release-ns-command-T4R3VODA.js} +34 -34
  92. package/dist/{routes-manifest-file-UHVVL2YB.js → routes-manifest-file-QFPNFJMZ.js} +2 -2
  93. package/dist/scaffold.js +2 -2
  94. package/dist/{secrets-file-HST7BMQC.js → secrets-file-J4KFYNFP.js} +6 -6
  95. package/dist/{secrets-fill-command-FQJ4QFBP.js → secrets-fill-command-YIU6ESFN.js} +18 -18
  96. package/dist/{source-resolve-LNRUITLS.js → source-resolve-WHXNMVJT.js} +3 -3
  97. package/dist/{status-command-S5CBG2SW.js → status-command-DIDOS3JC.js} +13 -13
  98. package/dist/{store-CuD1k4kV.d.ts → store-xUySg-KR.d.ts} +1 -1
  99. package/dist/{sync-contributions-O5ZRM2JN.js → sync-contributions-VAGROOWY.js} +2 -2
  100. package/dist/{tables-command-7KI2KZOS.js → tables-command-UJLYYMME.js} +11 -11
  101. package/dist/{tenant-command-MQTLNETR.js → tenant-command-NGKJD3AX.js} +35 -35
  102. package/dist/{test-command-NLYMAAPD.js → test-command-JOPQCHJA.js} +11 -11
  103. package/dist/{token-3IPTVEEW.js → token-NJ5XPGGM.js} +2 -2
  104. package/dist/{toolchain-modules-K46KYJ4G.js → toolchain-modules-4KS3SSJW.js} +2 -2
  105. package/dist/{tracked-backend-FQFXTTYZ.js → tracked-backend-3U4T6ZA7.js} +10 -10
  106. package/dist/{update-check-FHRRUDEC.js → update-check-5KCA4TE6.js} +17 -17
  107. package/dist/{upgrade-command-WNBPKUXN.js → upgrade-command-MNP6G752.js} +20 -20
  108. package/dist/{whoami-command-DPGDK35H.js → whoami-command-E5CSF3E6.js} +4 -4
  109. package/dist/{workspace-2GMONZ2A.js → workspace-WZMBLK4P.js} +2 -2
  110. package/dist/{workspace-binding-PAUOIK3V.js → workspace-binding-JT4EK4HU.js} +3 -3
  111. package/dist/{workspace-command-KEKL27Y4.js → workspace-command-Z7BUA6A5.js} +30 -30
  112. package/dist/{workspace-env-GGEZVZDY.js → workspace-env-KFWW2G7G.js} +6 -6
  113. package/dist/{xanosdk-import-HYHABD5U.js → xanosdk-import-FUS3ZGGQ.js} +2 -2
  114. package/dist/{xanosdk-project-2T56DRYS.js → xanosdk-project-NM2J5YFK.js} +6 -6
  115. package/guides/cli.md +8 -7
  116. package/guides/deploying.md +11 -8
  117. package/llms/kinds-agent-mcp.md +3 -2
  118. package/llms/object-kinds.md +14 -0
  119. package/llms-full.txt +25 -9
  120. package/llms.txt +8 -7
  121. package/manifest.json +1 -1
  122. package/package.json +2 -2
  123. package/skills/xano-backend/SKILL.md +2 -2
@@ -16,11 +16,11 @@ import {
16
16
  sanitizeAppName,
17
17
  settleClashes,
18
18
  templateVarsFor
19
- } from "./chunk-V7KMIEMF.js";
19
+ } from "./chunk-DW47JVXI.js";
20
20
  import {
21
21
  renderManifestFile,
22
22
  reportModuleFailures
23
- } from "./chunk-PAS5HOG3.js";
23
+ } from "./chunk-KSGITXNE.js";
24
24
  import {
25
25
  ROUTES_MANIFEST_BASENAME,
26
26
  RouteManifestError,
@@ -32,7 +32,7 @@ import {
32
32
  import {
33
33
  archiveSeedContent,
34
34
  fetchSourceArchive
35
- } from "./chunk-XYTVP4WI.js";
35
+ } from "./chunk-5DLDRUCQ.js";
36
36
  import {
37
37
  confirm
38
38
  } from "./chunk-HQPL34O6.js";
@@ -89,7 +89,7 @@ import {
89
89
  } from "./chunk-75MKIQON.js";
90
90
  import {
91
91
  detectInstallMode
92
- } from "./chunk-K75BFHQQ.js";
92
+ } from "./chunk-3TWQDGQY.js";
93
93
  import {
94
94
  UNSUPPORTED_SECTIONS,
95
95
  decodedCounts,
@@ -104,26 +104,26 @@ import {
104
104
  import {
105
105
  ensureWorkspaceEnvGitignored,
106
106
  requireSecretPathGitignored
107
- } from "./chunk-JG642U5D.js";
107
+ } from "./chunk-IIAF7VKN.js";
108
108
  import {
109
109
  loadDefault,
110
110
  readVersion,
111
111
  resolveKnowledge
112
- } from "./chunk-ZJCHS7FM.js";
112
+ } from "./chunk-45A3AF2B.js";
113
113
  import {
114
114
  WORKSPACE_ENV_BASENAME,
115
115
  WORKSPACE_ENV_EXAMPLE_BASENAME,
116
116
  renderWorkspaceEnvExample,
117
117
  renderWorkspaceEnvFile,
118
118
  valueProblem
119
- } from "./chunk-M3RLLT4O.js";
119
+ } from "./chunk-XUSL2Z5C.js";
120
120
  import {
121
121
  memoCredential,
122
122
  refuseProfileForLocal
123
- } from "./chunk-S3STXOAO.js";
123
+ } from "./chunk-JE7BL5IF.js";
124
124
  import {
125
125
  getAccessToken
126
- } from "./chunk-QE2GNFMP.js";
126
+ } from "./chunk-CTKBGPM6.js";
127
127
  import {
128
128
  getEngineRecord
129
129
  } from "./chunk-5Y5HWQ2P.js";
@@ -138,7 +138,7 @@ import {
138
138
  SECRETS_FILE_VERSION,
139
139
  workspaceSecretsPathIn,
140
140
  writeSecretsFile
141
- } from "./chunk-UU7EEREQ.js";
141
+ } from "./chunk-FZGK4VM5.js";
142
142
  import {
143
143
  yesRerun
144
144
  } from "./chunk-C2GHFADU.js";
@@ -161,7 +161,7 @@ import {
161
161
  plannedAgentsMd,
162
162
  readDecodeRecord,
163
163
  scaffoldProject
164
- } from "./chunk-HKLBDSML.js";
164
+ } from "./chunk-JSPFDMTV.js";
165
165
  import {
166
166
  shellWord
167
167
  } from "./chunk-FWD7AL6N.js";
@@ -192,7 +192,7 @@ import {
192
192
  describeOrigin,
193
193
  renderCodegenMarker,
194
194
  renderCodegenReadme
195
- } from "./chunk-5GIOCDUM.js";
195
+ } from "./chunk-IZI3SYXH.js";
196
196
  import {
197
197
  SUPERSEDED_STATEMENTS,
198
198
  supersededBy
@@ -227,7 +227,7 @@ import {
227
227
  s,
228
228
  tableTrigger,
229
229
  workspaceTrigger
230
- } from "./chunk-F5RPNTN7.js";
230
+ } from "./chunk-T3ZVNOJC.js";
231
231
  import {
232
232
  parsePathParams,
233
233
  unboundPathParams
@@ -6303,7 +6303,7 @@ async function fetchBundle(args, source) {
6303
6303
  ...branch === void 0 ? {} : { syncTarget: { instance: auth.instance, workspaceId: auth.workspaceId, branch } }
6304
6304
  };
6305
6305
  }
6306
- const { projectDirFrom } = await import("./xanosdk-project-2T56DRYS.js");
6306
+ const { projectDirFrom } = await import("./xanosdk-project-NM2J5YFK.js");
6307
6307
  const cwd = projectDirFrom(process.cwd()) ?? process.cwd();
6308
6308
  const raw2 = "name" in source && source.name !== void 0 ? `${source.kind}:${source.name}` : source.kind;
6309
6309
  step(`Reading ${raw2}`);
@@ -6783,7 +6783,7 @@ async function runInitFromCommand(args, source) {
6783
6783
  for (const line of routesDeferred) warn(line, "routes.not-written");
6784
6784
  if (seed !== void 0) reportSeedRows(seed.rows, seed.label, seed.provenance, XANO_DIR, contextFlags(args));
6785
6785
  if (replace.lock !== void 0) {
6786
- const { reconciledLock } = await import("./pull-command-UVK3IOXM.js");
6786
+ const { reconciledLock } = await import("./pull-command-KFHHW2BA.js");
6787
6787
  writeLockFile(
6788
6788
  replace.lock.path,
6789
6789
  reconciledLock(replace.lock.model, replace.lock.reconciliation, bundle.payload)
@@ -6894,7 +6894,7 @@ async function planXanoReplace(out, files, payload, args, label, agentsMd) {
6894
6894
  if (shell.length > 0 && !await confirmShellOverwrite(out, shell, args, label)) return "cancelled";
6895
6895
  return { removals: void 0, removedEdited: [], rewrittenEdited: [], kept: [] };
6896
6896
  }
6897
- const { backendDirCleanliness, noneOfTheIdentities, pulledIdentities, reconcileLock } = await import("./pull-command-UVK3IOXM.js");
6897
+ const { backendDirCleanliness, noneOfTheIdentities, pulledIdentities, reconcileLock } = await import("./pull-command-KFHHW2BA.js");
6898
6898
  const prefix = `${XANO_DIR}/`;
6899
6899
  const incoming = new Map(
6900
6900
  files.filter((f) => f.path.startsWith(prefix)).map((f) => [f.path.slice(prefix.length), f.content])
@@ -7247,4 +7247,4 @@ export {
7247
7247
  seedRowsListed,
7248
7248
  seedRowsLanding
7249
7249
  };
7250
- //# sourceMappingURL=chunk-ZQ5WZWHF.js.map
7250
+ //# sourceMappingURL=chunk-BYYVOX2P.js.map
@@ -2,7 +2,7 @@ import {
2
2
  iconLibraryOf,
3
3
  reactPreset,
4
4
  renderThemeScript
5
- } from "./chunk-5GIOCDUM.js";
5
+ } from "./chunk-IZI3SYXH.js";
6
6
  import {
7
7
  defaultThemeChoice
8
8
  } from "./chunk-TFFGOFVZ.js";
@@ -850,4 +850,4 @@ export {
850
850
  allFrontendPresets,
851
851
  resolveFrameworkFlag
852
852
  };
853
- //# sourceMappingURL=chunk-BRANWM4U.js.map
853
+ //# sourceMappingURL=chunk-C2SAVXAB.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-2GMONZ2A.js");
384
+ const { resolveScopedWorkspaceId } = await import("./workspace-WZMBLK4P.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-2T56DRYS.js");
502
+ const { projectDirFrom } = await import("./xanosdk-project-NM2J5YFK.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-QE2GNFMP.js.map
865
+ //# sourceMappingURL=chunk-CTKBGPM6.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-75MKIQON.js";
5
5
  import {
6
6
  SourceError
7
- } from "./chunk-7UWUEUVJ.js";
7
+ } from "./chunk-HU6D6PYT.js";
8
8
  import {
9
9
  ReleaseHttpError
10
10
  } from "./chunk-7JKNWDYN.js";
@@ -82,4 +82,4 @@ export {
82
82
  SettledWriteFailure,
83
83
  classifyFailure
84
84
  };
85
- //# sourceMappingURL=chunk-77GV772V.js.map
85
+ //# sourceMappingURL=chunk-DHU3EGGF.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  encodeFunction
3
- } from "./chunk-F5RPNTN7.js";
3
+ } from "./chunk-T3ZVNOJC.js";
4
4
  import {
5
5
  assertNoProtoKeys
6
6
  } from "./chunk-VTMTIBKP.js";
@@ -14,4 +14,4 @@ function compile(fn) {
14
14
  export {
15
15
  compile
16
16
  };
17
- //# sourceMappingURL=chunk-DER2CVNC.js.map
17
+ //# sourceMappingURL=chunk-DSD2NNTX.js.map
@@ -6,14 +6,14 @@ import {
6
6
  } from "./chunk-HQPL34O6.js";
7
7
  import {
8
8
  ensureWorkspaceEnvGitignored
9
- } from "./chunk-JG642U5D.js";
9
+ } from "./chunk-IIAF7VKN.js";
10
10
  import {
11
11
  readVersion
12
- } from "./chunk-ZJCHS7FM.js";
12
+ } from "./chunk-45A3AF2B.js";
13
13
  import {
14
14
  WORKSPACE_ENV_EXAMPLE_FILE,
15
15
  renderWorkspaceEnvExample
16
- } from "./chunk-M3RLLT4O.js";
16
+ } from "./chunk-XUSL2Z5C.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-HKLBDSML.js";
29
+ } from "./chunk-JSPFDMTV.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-RYMGK2K5.js";
37
+ } from "./chunk-U4JD5NMP.js";
38
38
  import {
39
39
  npmViewVersion
40
40
  } from "./chunk-ZFDZKNGG.js";
@@ -71,7 +71,7 @@ import {
71
71
  FRAMEWORKS,
72
72
  allFrontendPresets,
73
73
  findFrontendPreset
74
- } from "./chunk-BRANWM4U.js";
74
+ } from "./chunk-C2SAVXAB.js";
75
75
  import {
76
76
  BACKEND_TSCONFIG_PATH,
77
77
  ICON_LIBRARIES,
@@ -102,7 +102,7 @@ import {
102
102
  renderXanoIndex,
103
103
  resolveIconsFlag,
104
104
  sdkDep
105
- } from "./chunk-5GIOCDUM.js";
105
+ } from "./chunk-IZI3SYXH.js";
106
106
  import {
107
107
  composeBlock,
108
108
  gitattributesSpec,
@@ -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-4YXDJSLU.js");
731
+ const { runInitFromCommand } = await import("./codegen-command-A7M5JLLY.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-K46KYJ4G.js");
795
+ const { discoverToolchainPlugins } = await import("./toolchain-modules-4KS3SSJW.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-IYMFVQRC.js");
928
928
  const installedSdk = skewedProjectSdk(targetDir, readVersion());
929
929
  if (installedSdk !== void 0) {
930
- const { reconcileWithInstalled } = await import("./upgrade-command-WNBPKUXN.js");
930
+ const { reconcileWithInstalled } = await import("./upgrade-command-MNP6G752.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-RIZGSOZC.js");
1074
- const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-UHVVL2YB.js");
1075
- const { isEnabled } = await import("./toolchain-modules-K46KYJ4G.js");
1074
+ const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-QFPNFJMZ.js");
1075
+ const { isEnabled } = await import("./toolchain-modules-4KS3SSJW.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-4VPSEOAI.js");
1081
- const { refreshEnvExample } = await import("./env-example-refresh-6UTTMDOI.js");
1081
+ const { refreshEnvExample } = await import("./env-example-refresh-USAGYVJ2.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-3IPTVEEW.js");
1148
+ const { ProfileNotFoundError } = await import("./token-NJ5XPGGM.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-3IPTVEEW.js");
1157
+ const { envMetaCredentialVarsSet } = await import("./token-NJ5XPGGM.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-3IPTVEEW.js");
1212
+ const { environmentCredentialVars } = await import("./token-NJ5XPGGM.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-3IPTVEEW.js")).environmentCredentialVars() : void 0;
1235
+ const env = stored.length === 0 ? (await import("./token-NJ5XPGGM.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-V7KMIEMF.js.map
1328
+ //# sourceMappingURL=chunk-DW47JVXI.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ENV_WORKSPACE
3
- } from "./chunk-QE2GNFMP.js";
3
+ } from "./chunk-CTKBGPM6.js";
4
4
  import {
5
5
  credentialFileOf
6
6
  } from "./chunk-6S263KTM.js";
@@ -162,4 +162,4 @@ export {
162
162
  rerunInWorkspace,
163
163
  heldElsewhereError
164
164
  };
165
- //# sourceMappingURL=chunk-FHQYXGAY.js.map
165
+ //# sourceMappingURL=chunk-ECGRCTVI.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-4BFISK2R.js");
464
+ const { classifyFailure } = await import("./operation-outcome-UK5ALWRE.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-FN7E6XGD.js.map
560
+ //# sourceMappingURL=chunk-FDZ2ANSS.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  backendDirFor,
6
6
  backendDirIn
7
- } from "./chunk-W2BVP27L.js";
7
+ } from "./chunk-77IFWJ53.js";
8
8
  import {
9
9
  atomicWrite
10
10
  } from "./chunk-LLNZGEFK.js";
@@ -127,4 +127,4 @@ export {
127
127
  entryWordOf,
128
128
  readSecretsFile
129
129
  };
130
- //# sourceMappingURL=chunk-UU7EEREQ.js.map
130
+ //# sourceMappingURL=chunk-FZGK4VM5.js.map
@@ -4,19 +4,19 @@ import {
4
4
  managedBlockVersion,
5
5
  renderAgentsMd,
6
6
  upsertManagedBlock
7
- } from "./chunk-HKLBDSML.js";
7
+ } from "./chunk-JSPFDMTV.js";
8
8
  import {
9
9
  detectPackageManager
10
10
  } from "./chunk-DNBP4GJN.js";
11
11
  import {
12
12
  allFrontendPresets
13
- } from "./chunk-BRANWM4U.js";
13
+ } from "./chunk-C2SAVXAB.js";
14
14
  import {
15
15
  README_PATH,
16
16
  allIconLibraries,
17
17
  readmeBuiltWithVersion,
18
18
  refreshReadmeBuiltWith
19
- } from "./chunk-5GIOCDUM.js";
19
+ } from "./chunk-IZI3SYXH.js";
20
20
  import {
21
21
  projectFileCli,
22
22
  projectSdkDir,
@@ -209,4 +209,4 @@ export {
209
209
  isCI,
210
210
  refreshAgentFiles
211
211
  };
212
- //# sourceMappingURL=chunk-UKJFCEMI.js.map
212
+ //# sourceMappingURL=chunk-GDAWYDHY.js.map
@@ -193,4 +193,4 @@ export {
193
193
  sdkPeerSkew,
194
194
  discoverToolchainPlugins
195
195
  };
196
- //# sourceMappingURL=chunk-2HZDWZM2.js.map
196
+ //# sourceMappingURL=chunk-HDKSHL4Z.js.map