@xano/sdk 1.0.8 → 1.0.9

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 (118) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/.build-fingerprint +1 -1
  3. package/dist/{agent-file-refresh-QJO3MT6Q.js → agent-file-refresh-XXCQOTWN.js} +4 -4
  4. package/dist/{agent-skill-command-GBR4KUUG.js → agent-skill-command-VDSMXH4M.js} +14 -14
  5. package/dist/{backend-dir-PFUIPCV3.js → backend-dir-G44PETFO.js} +4 -4
  6. package/dist/bin.js +14 -14
  7. package/dist/{branch-commands-CR3SAHMV.js → branch-commands-Q6E66PMM.js} +3 -3
  8. package/dist/{chunk-QRKBFXIB.js → chunk-2VWSUG2B.js} +2 -2
  9. package/dist/{chunk-FN7E6XGD.js → chunk-3XSTC3TM.js} +2 -2
  10. package/dist/{chunk-RYMGK2K5.js → chunk-5BEK7YKY.js} +2 -2
  11. package/dist/{chunk-C2I4GC36.js → chunk-5VOGPS5O.js} +2 -2
  12. package/dist/{chunk-W2BVP27L.js → chunk-6IOQRBRX.js} +2 -2
  13. package/dist/{chunk-P5W6DBV6.js → chunk-ADKC3EII.js} +3 -3
  14. package/dist/{chunk-Y5ET37NN.js → chunk-BUTGFWWA.js} +2 -2
  15. package/dist/{chunk-UU7EEREQ.js → chunk-CXWCWYX3.js} +2 -2
  16. package/dist/{chunk-JPRZ4ZGU.js → chunk-DDUOMOIP.js} +6 -6
  17. package/dist/{chunk-DER2CVNC.js → chunk-DSD2NNTX.js} +2 -2
  18. package/dist/{chunk-JJGK7XGC.js → chunk-FFB3YCUO.js} +2 -2
  19. package/dist/{chunk-PAS5HOG3.js → chunk-GAU2FCT7.js} +2 -2
  20. package/dist/{chunk-XYTVP4WI.js → chunk-GHPC52TD.js} +3 -3
  21. package/dist/{chunk-CRE7P7P2.js → chunk-HBFXR4OJ.js} +2 -2
  22. package/dist/{chunk-JG642U5D.js → chunk-HETQSTGG.js} +2 -2
  23. package/dist/{chunk-V7KMIEMF.js → chunk-HVSIS47X.js} +16 -16
  24. package/dist/{chunk-QE2GNFMP.js → chunk-IFCQCM2Q.js} +3 -3
  25. package/dist/{chunk-7UWUEUVJ.js → chunk-INAM6KR6.js} +2 -2
  26. package/dist/{chunk-HKLBDSML.js → chunk-KDS4PDFD.js} +2 -2
  27. package/dist/{chunk-UKJFCEMI.js → chunk-NI56XX5Z.js} +2 -2
  28. package/dist/{chunk-77GV772V.js → chunk-OYRQLU66.js} +2 -2
  29. package/dist/{chunk-S3WN6GGO.js → chunk-QGDT52FA.js} +12 -12
  30. package/dist/{chunk-AS4G2MIE.js → chunk-S5RZYUP2.js} +2 -2
  31. package/dist/{chunk-S3STXOAO.js → chunk-SGYDFEXD.js} +7 -7
  32. package/dist/{chunk-ZT2B22VQ.js → chunk-SSOTLVOJ.js} +2 -2
  33. package/dist/{chunk-F5RPNTN7.js → chunk-T3ZVNOJC.js} +1 -1
  34. package/dist/{chunk-ZJCHS7FM.js → chunk-U7XSQXOA.js} +54 -54
  35. package/dist/{chunk-YG7S3N7P.js → chunk-UZUY6VPB.js} +20 -20
  36. package/dist/{chunk-NFZUXS7D.js → chunk-WKCA66SH.js} +5 -5
  37. package/dist/{chunk-FHQYXGAY.js → chunk-WLFANUXE.js} +2 -2
  38. package/dist/{chunk-U7XNJ33Q.js → chunk-XLQT3CCF.js} +12 -12
  39. package/dist/{chunk-WEQFI55W.js → chunk-XPLBTV77.js} +4 -4
  40. package/dist/{chunk-ZQ5WZWHF.js → chunk-XTUYIX5H.js} +16 -16
  41. package/dist/{chunk-M3RLLT4O.js → chunk-Y2LKSXFK.js} +3 -3
  42. package/dist/{chunk-2HZDWZM2.js → chunk-Y3FM4BSZ.js} +1 -1
  43. package/dist/{chunk-33KELF2X.js → chunk-YMVCKGY2.js} +39 -39
  44. package/dist/{chunk-K75BFHQQ.js → chunk-YVXUYDHC.js} +2 -2
  45. package/dist/{chunk-S2F7KVUL.js → chunk-ZYPEH64F.js} +2 -2
  46. package/dist/cli.d.ts +1 -1
  47. package/dist/cli.js +13 -13
  48. package/dist/{codegen-command-4YXDJSLU.js → codegen-command-KZJ7LYHW.js} +20 -20
  49. package/dist/{deploy-command-FIDS56ZC.js → deploy-command-RXPJAM7M.js} +17 -17
  50. package/dist/{deploy-source-FPNNNNOW.js → deploy-source-TD77W4SA.js} +7 -7
  51. package/dist/{dev-env-sync-RBJ2U3HG.js → dev-env-sync-2UCNSIJL.js} +14 -14
  52. package/dist/{emit-8lcNcRrd.d.ts → emit-D-a6JznN.d.ts} +10 -4
  53. package/dist/{env-example-refresh-6UTTMDOI.js → env-example-refresh-QKZI26F2.js} +21 -21
  54. package/dist/{env-pull-command-P5MATITQ.js → env-pull-command-72PQOMKW.js} +13 -13
  55. package/dist/{env-target-F75YF25S.js → env-target-AZJ4JXT7.js} +2 -2
  56. package/dist/{env-var-command-H3GHROVB.js → env-var-command-ALJITZDL.js} +13 -13
  57. package/dist/{ephemeral-command-NH2XW3YK.js → ephemeral-command-T276HQBO.js} +14 -14
  58. package/dist/{generate-command-IANKN6WV.js → generate-command-M6LAT4XU.js} +24 -24
  59. package/dist/{gitignore-FT2LVOMI.js → gitignore-V6QHYKIR.js} +6 -6
  60. package/dist/{impersonate-command-7B67ICPL.js → impersonate-command-S6PYDMHQ.js} +9 -9
  61. package/dist/index.d.ts +4 -4
  62. package/dist/index.js +2 -2
  63. package/dist/{init-command-QOA4TJI2.js → init-command-ENAZKPZA.js} +16 -16
  64. package/dist/{init-modules-KEEJ4HAF.js → init-modules-AIKWWTVQ.js} +2 -2
  65. package/dist/internal.d.ts +4 -4
  66. package/dist/internal.js +21 -4
  67. package/dist/{keep-data-merge-BIBW4QR4.js → keep-data-merge-3WPUPPTY.js} +4 -4
  68. package/dist/{landing-record-DO3PM7QP.js → landing-record-SJ5HG7T5.js} +5 -5
  69. package/dist/{local-engine-choice-2UF7S5QZ.js → local-engine-choice-BD5O7SAU.js} +8 -8
  70. package/dist/{local-engine-command-WGMMZRQL.js → local-engine-command-MXQUXXAA.js} +9 -9
  71. package/dist/{local-engine-mcp-command-RMVUH4FL.js → local-engine-mcp-command-6G3TDWDI.js} +9 -9
  72. package/dist/{lock-commands-5NMQWBGH.js → lock-commands-SUPQOEVU.js} +14 -14
  73. package/dist/{login-command-GLLFZWHT.js → login-command-LTYO3EK7.js} +9 -9
  74. package/dist/{logout-command-NCMKMJWF.js → logout-command-QRRT36DY.js} +3 -3
  75. package/dist/{marketplace-command-Y3RRUEWL.js → marketplace-command-POQH5GVT.js} +13 -13
  76. package/dist/{meta-client-Y7N6WDS2.js → meta-client-PDUP4EOW.js} +2 -2
  77. package/dist/node.d.ts +4 -4
  78. package/dist/node.js +16 -16
  79. package/dist/{operation-outcome-4BFISK2R.js → operation-outcome-IXMC5SBN.js} +4 -4
  80. package/dist/{output-target-MFANTVGZ.js → output-target-4XN43WIB.js} +7 -7
  81. package/dist/{preflight-command-Q6XOKRM6.js → preflight-command-QWZL4O2N.js} +19 -19
  82. package/dist/{profile-command-XPQIXFWN.js → profile-command-V6WFDYZW.js} +10 -10
  83. package/dist/{promote-command-DN64QK7O.js → promote-command-B3QODJNT.js} +27 -27
  84. package/dist/{publish-command-SLE46MQX.js → publish-command-JOL6LXH6.js} +17 -17
  85. package/dist/{pull-command-UVK3IOXM.js → pull-command-RPGL6LXP.js} +22 -22
  86. package/dist/{release-command-MKNESNGB.js → release-command-USZAWVXO.js} +19 -19
  87. package/dist/{release-ns-command-HLR46IKP.js → release-ns-command-3XDRQKJD.js} +32 -32
  88. package/dist/{routes-manifest-file-UHVVL2YB.js → routes-manifest-file-V5JJVIPH.js} +2 -2
  89. package/dist/{secrets-file-HST7BMQC.js → secrets-file-ZA6K4J6W.js} +5 -5
  90. package/dist/{secrets-fill-command-FQJ4QFBP.js → secrets-fill-command-MH53XR45.js} +16 -16
  91. package/dist/{source-resolve-LNRUITLS.js → source-resolve-I55GN6ZC.js} +3 -3
  92. package/dist/{status-command-S5CBG2SW.js → status-command-I6S2TVAY.js} +12 -12
  93. package/dist/{store-CuD1k4kV.d.ts → store-xUySg-KR.d.ts} +1 -1
  94. package/dist/{sync-contributions-O5ZRM2JN.js → sync-contributions-4HHBUGJ4.js} +2 -2
  95. package/dist/{tables-command-7KI2KZOS.js → tables-command-L4JRA7JF.js} +10 -10
  96. package/dist/{tenant-command-MQTLNETR.js → tenant-command-IZ3R4BDG.js} +33 -33
  97. package/dist/{test-command-NLYMAAPD.js → test-command-GCKZRRSL.js} +10 -10
  98. package/dist/{token-3IPTVEEW.js → token-XQCIFX7R.js} +2 -2
  99. package/dist/{toolchain-modules-K46KYJ4G.js → toolchain-modules-C53NXT3S.js} +2 -2
  100. package/dist/{tracked-backend-FQFXTTYZ.js → tracked-backend-UHKPD2JU.js} +9 -9
  101. package/dist/{update-check-FHRRUDEC.js → update-check-KMAC4VEJ.js} +15 -15
  102. package/dist/{upgrade-command-WNBPKUXN.js → upgrade-command-HQBSUFNE.js} +17 -17
  103. package/dist/{whoami-command-DPGDK35H.js → whoami-command-23UXAC6F.js} +4 -4
  104. package/dist/{workspace-2GMONZ2A.js → workspace-TZMAJ7NF.js} +2 -2
  105. package/dist/{workspace-binding-PAUOIK3V.js → workspace-binding-RBU22BBX.js} +3 -3
  106. package/dist/{workspace-command-KEKL27Y4.js → workspace-command-N4BTEHSW.js} +28 -28
  107. package/dist/{workspace-env-GGEZVZDY.js → workspace-env-O3RK26FR.js} +5 -5
  108. package/dist/{xanosdk-import-HYHABD5U.js → xanosdk-import-WPCHIVP6.js} +2 -2
  109. package/dist/{xanosdk-project-2T56DRYS.js → xanosdk-project-TEAXYQZW.js} +5 -5
  110. package/guides/cli.md +8 -7
  111. package/guides/deploying.md +11 -8
  112. package/llms/kinds-agent-mcp.md +3 -2
  113. package/llms/object-kinds.md +14 -0
  114. package/llms-full.txt +19 -4
  115. package/llms.txt +2 -2
  116. package/manifest.json +1 -1
  117. package/package.json +1 -1
  118. package/skills/xano-backend/SKILL.md +2 -2
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  classifyNpmFailure
3
- } from "./chunk-RYMGK2K5.js";
3
+ } from "./chunk-5BEK7YKY.js";
4
4
  import {
5
5
  condenseNpmError,
6
6
  runNpmQuiet,
@@ -992,4 +992,4 @@ export {
992
992
  changedOnDisk,
993
993
  scaffoldProject
994
994
  };
995
- //# sourceMappingURL=chunk-HKLBDSML.js.map
995
+ //# sourceMappingURL=chunk-KDS4PDFD.js.map
@@ -4,7 +4,7 @@ import {
4
4
  managedBlockVersion,
5
5
  renderAgentsMd,
6
6
  upsertManagedBlock
7
- } from "./chunk-HKLBDSML.js";
7
+ } from "./chunk-KDS4PDFD.js";
8
8
  import {
9
9
  detectPackageManager
10
10
  } from "./chunk-DNBP4GJN.js";
@@ -209,4 +209,4 @@ export {
209
209
  isCI,
210
210
  refreshAgentFiles
211
211
  };
212
- //# sourceMappingURL=chunk-UKJFCEMI.js.map
212
+ //# sourceMappingURL=chunk-NI56XX5Z.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-INAM6KR6.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-OYRQLU66.js.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  createOperation,
3
3
  runOperation
4
- } from "./chunk-CRE7P7P2.js";
4
+ } from "./chunk-HBFXR4OJ.js";
5
5
  import {
6
6
  fetchWorkspaceBundle
7
- } from "./chunk-ZQ5WZWHF.js";
7
+ } from "./chunk-XTUYIX5H.js";
8
8
  import {
9
9
  assertReleaseIdentitiesFree,
10
10
  pinnedCanonicalGuids,
11
11
  setLiveRollback
12
- } from "./chunk-YG7S3N7P.js";
12
+ } from "./chunk-UZUY6VPB.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-XYTVP4WI.js";
20
+ } from "./chunk-GHPC52TD.js";
21
21
  import {
22
22
  liveBranchMismatch,
23
23
  liveMismatch
24
- } from "./chunk-NFZUXS7D.js";
24
+ } from "./chunk-WKCA66SH.js";
25
25
  import {
26
26
  confirm
27
27
  } from "./chunk-HQPL34O6.js";
@@ -50,14 +50,14 @@ import {
50
50
  import {
51
51
  landingLockPath,
52
52
  recordForeignLanding
53
- } from "./chunk-S2F7KVUL.js";
53
+ } from "./chunk-ZYPEH64F.js";
54
54
  import {
55
55
  recordSync
56
56
  } from "./chunk-R3LANPQZ.js";
57
57
  import {
58
58
  SettledWriteFailure,
59
59
  classifyFailure
60
- } from "./chunk-77GV772V.js";
60
+ } from "./chunk-OYRQLU66.js";
61
61
  import {
62
62
  exportWorkspaceBundle
63
63
  } from "./chunk-QC3MKMDK.js";
@@ -83,7 +83,7 @@ import {
83
83
  } from "./chunk-XQO4A4Q4.js";
84
84
  import {
85
85
  resolveSource
86
- } from "./chunk-7UWUEUVJ.js";
86
+ } from "./chunk-INAM6KR6.js";
87
87
  import {
88
88
  ReleaseHttpError,
89
89
  UNPROMOTABLE_RELEASE_PARTS,
@@ -95,7 +95,7 @@ import {
95
95
  } from "./chunk-7JKNWDYN.js";
96
96
  import {
97
97
  getAccessToken
98
- } from "./chunk-QE2GNFMP.js";
98
+ } from "./chunk-IFCQCM2Q.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-FQFXTTYZ.js");
475
+ const { nestedBackendEntries } = await import("./tracked-backend-UHKPD2JU.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-LNRUITLS.js");
938
+ const { LookupFailedError, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-I55GN6ZC.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-S3WN6GGO.js.map
964
+ //# sourceMappingURL=chunk-QGDT52FA.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ensureExportGitignored
3
- } from "./chunk-JG642U5D.js";
3
+ } from "./chunk-HETQSTGG.js";
4
4
  import {
5
5
  andList
6
6
  } from "./chunk-622HUCZT.js";
@@ -125,4 +125,4 @@ export {
125
125
  secretsPhrase,
126
126
  assertWritableTarget
127
127
  };
128
- //# sourceMappingURL=chunk-AS4G2MIE.js.map
128
+ //# sourceMappingURL=chunk-S5RZYUP2.js.map
@@ -5,16 +5,16 @@ import {
5
5
  LookupFailedError,
6
6
  SourceError,
7
7
  resolveSource
8
- } from "./chunk-7UWUEUVJ.js";
8
+ } from "./chunk-INAM6KR6.js";
9
9
  import {
10
10
  isProjectDir
11
- } from "./chunk-C2I4GC36.js";
11
+ } from "./chunk-5VOGPS5O.js";
12
12
  import {
13
13
  NotSignedInError
14
- } from "./chunk-QE2GNFMP.js";
14
+ } from "./chunk-IFCQCM2Q.js";
15
15
  import {
16
16
  otherCredentialRefusal
17
- } from "./chunk-QRKBFXIB.js";
17
+ } from "./chunk-2VWSUG2B.js";
18
18
  import {
19
19
  getEngineRecord
20
20
  } from "./chunk-5Y5HWQ2P.js";
@@ -47,7 +47,7 @@ import {
47
47
  } from "./chunk-IB6SKACE.js";
48
48
  import {
49
49
  backendDirIn
50
- } from "./chunk-W2BVP27L.js";
50
+ } from "./chunk-6IOQRBRX.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-F75YF25S.js");
89
+ const { reachableFirst } = await import("./env-target-AZJ4JXT7.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-S3STXOAO.js.map
371
+ //# sourceMappingURL=chunk-SGYDFEXD.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveProjectEntry
3
- } from "./chunk-XYTVP4WI.js";
3
+ } from "./chunk-GHPC52TD.js";
4
4
  import {
5
5
  isUnusablePin,
6
6
  readPin,
@@ -170,4 +170,4 @@ export {
170
170
  pinAfterAcquire,
171
171
  pinWrittenText
172
172
  };
173
- //# sourceMappingURL=chunk-ZT2B22VQ.js.map
173
+ //# sourceMappingURL=chunk-SSOTLVOJ.js.map
@@ -3058,4 +3058,4 @@ export {
3058
3058
  serializeBundle,
3059
3059
  emitBundle
3060
3060
  };
3061
- //# sourceMappingURL=chunk-F5RPNTN7.js.map
3061
+ //# sourceMappingURL=chunk-T3ZVNOJC.js.map
@@ -10,10 +10,10 @@ import {
10
10
  namesInEnvExample,
11
11
  parseEnvFile,
12
12
  readWorkspaceEnvFile
13
- } from "./chunk-M3RLLT4O.js";
13
+ } from "./chunk-Y2LKSXFK.js";
14
14
  import {
15
15
  readTrackedBackend
16
- } from "./chunk-S3STXOAO.js";
16
+ } from "./chunk-SGYDFEXD.js";
17
17
  import {
18
18
  isExpired
19
19
  } from "./chunk-PFW7WFAT.js";
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-CJDPSCMX.js";
25
25
  import {
26
26
  isCI
27
- } from "./chunk-UKJFCEMI.js";
27
+ } from "./chunk-NI56XX5Z.js";
28
28
  import {
29
29
  backendSlotForFlag,
30
30
  slotValueMissing
@@ -32,7 +32,7 @@ import {
32
32
  import {
33
33
  defaultWorkspaceSecretsPath,
34
34
  readSecretsFile
35
- } from "./chunk-UU7EEREQ.js";
35
+ } from "./chunk-CXWCWYX3.js";
36
36
  import {
37
37
  allLandings,
38
38
  getEnvironment,
@@ -143,7 +143,7 @@ import {
143
143
  isOsMetadataFile,
144
144
  registerAllKinds,
145
145
  serializeBundle
146
- } from "./chunk-F5RPNTN7.js";
146
+ } from "./chunk-T3ZVNOJC.js";
147
147
  import {
148
148
  Xano,
149
149
  checkFilterOperands,
@@ -2552,7 +2552,7 @@ async function tsxRemedy(file) {
2552
2552
  );
2553
2553
  if (!declared) return fallback;
2554
2554
  const { detectPackageManager } = await import("./package-manager-K762W7XT.js");
2555
- const { inProject } = await import("./init-modules-KEEJ4HAF.js");
2555
+ const { inProject } = await import("./init-modules-AIKWWTVQ.js");
2556
2556
  return `This project's package.json declares it, but its dependencies are not installed \u2014 run \`${inProject(dir)}${detectPackageManager(dir)} install\` first.`;
2557
2557
  }
2558
2558
  if (dirname2(dir) === dir) return fallback;
@@ -3173,7 +3173,7 @@ async function explainUnreachableWorkspace(err) {
3173
3173
  let verdict = unreachableVerdicts.get(auth);
3174
3174
  if (verdict === void 0) {
3175
3175
  verdict = (async () => {
3176
- const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-PAUOIK3V.js");
3176
+ const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-RBU22BBX.js");
3177
3177
  const all = await readReachableWorkspaces(auth, 15e3);
3178
3178
  if (all === void 0 || all.length === 0 || all.some((w) => w.id === auth.workspaceId)) return void 0;
3179
3179
  return new UsageError(unreachableWorkspaceMessage(auth, all));
@@ -3187,7 +3187,7 @@ async function explainRejectedCredential(err) {
3187
3187
  if (!(err instanceof Error) || resolved === void 0) return err;
3188
3188
  const [first = "", ...rest] = err.message.split("\n");
3189
3189
  if (!/\(401\b[^)]*\)|\banswered (HTTP )?401\b/.test(first) || /\brejected\b/.test(err.message)) return err;
3190
- const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-DPGDK35H.js");
3190
+ const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-23UXAC6F.js");
3191
3191
  const { auth, args } = resolved;
3192
3192
  err.message = [first, rejectedRemedy(auth, args), ...rest].join("\n");
3193
3193
  if (failureCode(err) === "SDK_ERROR") asRejectedCredential(err, auth, args);
@@ -3225,10 +3225,10 @@ function withoutSecretValue(args) {
3225
3225
  }
3226
3226
  async function nameLookupRerun(failure) {
3227
3227
  if (!(failure instanceof Error) || runArgs?.argv === void 0) return failure;
3228
- const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-LNRUITLS.js");
3228
+ const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-I55GN6ZC.js");
3229
3229
  const err = rateLimitedFailure(failure);
3230
3230
  if (!(err instanceof LookupFailedError)) return err;
3231
- const { retryCommand, withheldNote } = await import("./deploy-command-FIDS56ZC.js");
3231
+ const { retryCommand, withheldNote } = await import("./deploy-command-RXPJAM7M.js");
3232
3232
  if (runArgs.command === "env" && runArgs.subcommand === "set") {
3233
3233
  const retry2 = retryCommand(withoutSecretValue(runArgs));
3234
3234
  return err.withRerun(
@@ -3283,7 +3283,7 @@ function isPathlessRun(args) {
3283
3283
  return PATHLESS_COMMANDS.has(command) || PATHLESS_VERBS[command]?.has(args.subcommand ?? "") === true;
3284
3284
  }
3285
3285
  async function atProjectRoot(args, command, positional) {
3286
- const { enterProjectRoot } = await import("./xanosdk-project-2T56DRYS.js");
3286
+ const { enterProjectRoot } = await import("./xanosdk-project-TEAXYQZW.js");
3287
3287
  const entered = enterProjectRoot(args, process.cwd(), positional);
3288
3288
  if (entered === void 0) return command(args);
3289
3289
  if (isPathlessRun(args)) {
@@ -3423,7 +3423,7 @@ async function dispatch(rawArgv) {
3423
3423
  setHintContext(args);
3424
3424
  runArgs = args;
3425
3425
  noteRunArgs(args);
3426
- if (isMachineOutput(args)) (await import("./update-check-FHRRUDEC.js")).routeUpdateNoticeToDocument();
3426
+ if (isMachineOutput(args)) (await import("./update-check-KMAC4VEJ.js")).routeUpdateNoticeToDocument();
3427
3427
  const { command } = args;
3428
3428
  const out = args.out === "-" ? void 0 : args.out;
3429
3429
  if (command === void 0) {
@@ -3444,7 +3444,7 @@ async function dispatch(rawArgv) {
3444
3444
  return;
3445
3445
  }
3446
3446
  if (command === "init") {
3447
- const { runInitCommand } = await import("./init-command-QOA4TJI2.js");
3447
+ const { runInitCommand } = await import("./init-command-ENAZKPZA.js");
3448
3448
  return runInitCommand(args);
3449
3449
  }
3450
3450
  if (command === "completion") {
@@ -3467,114 +3467,114 @@ async function dispatch(rawArgv) {
3467
3467
  return runCompletionCommand(shell);
3468
3468
  }
3469
3469
  if (command === "agent-skill") {
3470
- const { runAgentSkillCommand } = await import("./agent-skill-command-GBR4KUUG.js");
3470
+ const { runAgentSkillCommand } = await import("./agent-skill-command-VDSMXH4M.js");
3471
3471
  return runAgentSkillCommand(args);
3472
3472
  }
3473
3473
  if (command === "upgrade") {
3474
- const { runUpgradeCommand } = await import("./upgrade-command-WNBPKUXN.js");
3474
+ const { runUpgradeCommand } = await import("./upgrade-command-HQBSUFNE.js");
3475
3475
  return runUpgradeCommand(args);
3476
3476
  }
3477
3477
  if (command === "lock") {
3478
- const { runLockCommand } = await import("./lock-commands-5NMQWBGH.js");
3478
+ const { runLockCommand } = await import("./lock-commands-SUPQOEVU.js");
3479
3479
  const verb = args.positionals[0];
3480
- const { isProjectDir } = await import("./xanosdk-project-2T56DRYS.js");
3480
+ const { isProjectDir } = await import("./xanosdk-project-TEAXYQZW.js");
3481
3481
  const here = verb !== "prune" && args.lockPath === void 0 && args.entryPath === void 0 && existsSync2("xano.lock") && !isProjectDir(process.cwd()) ? { ...args, lockPath: "xano.lock" } : args;
3482
3482
  return atProjectRoot(here, runLockCommand, verb === "prune" || verb === "import" ? "verb-path" : void 0);
3483
3483
  }
3484
3484
  if (command === "login") {
3485
- const { runLoginCommand } = await import("./login-command-GLLFZWHT.js");
3485
+ const { runLoginCommand } = await import("./login-command-LTYO3EK7.js");
3486
3486
  return runLoginCommand(args);
3487
3487
  }
3488
3488
  if (command === "logout") {
3489
- const { runLogoutCommand } = await import("./logout-command-NCMKMJWF.js");
3489
+ const { runLogoutCommand } = await import("./logout-command-QRRT36DY.js");
3490
3490
  return runLogoutCommand(args);
3491
3491
  }
3492
3492
  if (command === "deploy") {
3493
- const { runDeployCommand } = await import("./deploy-command-FIDS56ZC.js");
3493
+ const { runDeployCommand } = await import("./deploy-command-RXPJAM7M.js");
3494
3494
  return atProjectRoot(args, runDeployCommand, entryPositional(args));
3495
3495
  }
3496
3496
  if (command === "ephemeral") {
3497
- const { runEphemeralCommand } = await import("./ephemeral-command-NH2XW3YK.js");
3497
+ const { runEphemeralCommand } = await import("./ephemeral-command-T276HQBO.js");
3498
3498
  return atProjectRoot(args, runEphemeralCommand);
3499
3499
  }
3500
3500
  if (command === "local") {
3501
- const { runLocalEngineCommand } = await import("./local-engine-command-WGMMZRQL.js");
3501
+ const { runLocalEngineCommand } = await import("./local-engine-command-MXQUXXAA.js");
3502
3502
  const readsProject = ["token", "stop", "update", "mcp"].includes(args.subcommand ?? "");
3503
3503
  return readsProject ? atProjectRoot(args, runLocalEngineCommand) : runLocalEngineCommand(args);
3504
3504
  }
3505
3505
  if (command === "env") {
3506
3506
  if (args.subcommand === "set" || args.subcommand === "unset") {
3507
- const { runEnvVarCommand } = await import("./env-var-command-H3GHROVB.js");
3507
+ const { runEnvVarCommand } = await import("./env-var-command-ALJITZDL.js");
3508
3508
  return atProjectRoot(args, (a) => runEnvVarCommand(a, args.subcommand));
3509
3509
  }
3510
3510
  if (args.subcommand !== "pull") throw unknownSubcommand("env", args.subcommand);
3511
- const { runEnvPullCommand } = await import("./env-pull-command-P5MATITQ.js");
3511
+ const { runEnvPullCommand } = await import("./env-pull-command-72PQOMKW.js");
3512
3512
  return atProjectRoot(args, runEnvPullCommand);
3513
3513
  }
3514
3514
  if (command === "secrets") {
3515
3515
  if (args.subcommand !== "fill") throw unknownSubcommand("secrets", args.subcommand);
3516
- const { runSecretsFillCommand } = await import("./secrets-fill-command-FQJ4QFBP.js");
3516
+ const { runSecretsFillCommand } = await import("./secrets-fill-command-MH53XR45.js");
3517
3517
  return atProjectRoot(args, runSecretsFillCommand, entryPositional(args));
3518
3518
  }
3519
3519
  if (command === "release") {
3520
- const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-HLR46IKP.js");
3520
+ const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-3XDRQKJD.js");
3521
3521
  return atProjectRoot(args, runReleaseNs);
3522
3522
  }
3523
3523
  if (command === "pull") {
3524
- const { runPullCommand } = await import("./pull-command-UVK3IOXM.js");
3524
+ const { runPullCommand } = await import("./pull-command-RPGL6LXP.js");
3525
3525
  const first = args.positionals[0];
3526
3526
  const file = first !== void 0 && !isKindShaped(first) && (/\.json$/i.test(first) || /[\\/]/.test(first));
3527
3527
  return file ? runPullCommand(args) : atProjectRoot(args, runPullCommand);
3528
3528
  }
3529
3529
  if (command === "generate") {
3530
- const { runGenerateCommand } = await import("./generate-command-IANKN6WV.js");
3530
+ const { runGenerateCommand } = await import("./generate-command-M6LAT4XU.js");
3531
3531
  return runGenerateCommand(args);
3532
3532
  }
3533
3533
  if (command === "tables") {
3534
- const { runTablesCommand } = await import("./tables-command-7KI2KZOS.js");
3534
+ const { runTablesCommand } = await import("./tables-command-L4JRA7JF.js");
3535
3535
  return atProjectRoot(args, runTablesCommand);
3536
3536
  }
3537
3537
  if (command === "impersonate") {
3538
- const { runImpersonateCommand } = await import("./impersonate-command-7B67ICPL.js");
3538
+ const { runImpersonateCommand } = await import("./impersonate-command-S6PYDMHQ.js");
3539
3539
  return atProjectRoot(args, runImpersonateCommand);
3540
3540
  }
3541
3541
  if (command === "promote") {
3542
- const { runPromoteCommand } = await import("./promote-command-DN64QK7O.js");
3542
+ const { runPromoteCommand } = await import("./promote-command-B3QODJNT.js");
3543
3543
  return atProjectRoot(args, runPromoteCommand);
3544
3544
  }
3545
3545
  if (command === "publish") {
3546
- const { runPublishCommand } = await import("./publish-command-SLE46MQX.js");
3546
+ const { runPublishCommand } = await import("./publish-command-JOL6LXH6.js");
3547
3547
  return atProjectRoot(args, runPublishCommand, "path");
3548
3548
  }
3549
3549
  if (command === "tenant") {
3550
- const { runTenantCommand } = await import("./tenant-command-MQTLNETR.js");
3550
+ const { runTenantCommand } = await import("./tenant-command-IZ3R4BDG.js");
3551
3551
  return atProjectRoot(args, runTenantCommand);
3552
3552
  }
3553
3553
  if (command === "test") {
3554
- const { runTestCommand } = await import("./test-command-NLYMAAPD.js");
3554
+ const { runTestCommand } = await import("./test-command-GCKZRRSL.js");
3555
3555
  return atProjectRoot(args, runTestCommand);
3556
3556
  }
3557
3557
  if (command === "workspace") {
3558
- const { runWorkspaceCommand } = await import("./workspace-command-KEKL27Y4.js");
3558
+ const { runWorkspaceCommand } = await import("./workspace-command-N4BTEHSW.js");
3559
3559
  return runWorkspaceCommand(args);
3560
3560
  }
3561
3561
  if (command === "status") {
3562
- const { runStatusCommand } = await import("./status-command-S5CBG2SW.js");
3562
+ const { runStatusCommand } = await import("./status-command-I6S2TVAY.js");
3563
3563
  return runStatusCommand(args);
3564
3564
  }
3565
3565
  if (command === "whoami") {
3566
- const { runWhoamiCommand } = await import("./whoami-command-DPGDK35H.js");
3566
+ const { runWhoamiCommand } = await import("./whoami-command-23UXAC6F.js");
3567
3567
  return runWhoamiCommand(args);
3568
3568
  }
3569
3569
  if (command === "profile") {
3570
- const { runProfileCommand } = await import("./profile-command-XPQIXFWN.js");
3570
+ const { runProfileCommand } = await import("./profile-command-V6WFDYZW.js");
3571
3571
  return runProfileCommand(args);
3572
3572
  }
3573
3573
  if (command === "marketplace") {
3574
3574
  if (!["list", "search", "details", "install", "reinstall", "remove"].includes(args.subcommand ?? "")) {
3575
3575
  throw unknownSubcommand("marketplace", args.subcommand);
3576
3576
  }
3577
- const marketplace = await import("./marketplace-command-Y3RRUEWL.js");
3577
+ const marketplace = await import("./marketplace-command-POQH5GVT.js");
3578
3578
  const { withCatalogueRerun } = await import("./marketplace-resolve-PWEYJ2XS.js");
3579
3579
  try {
3580
3580
  if (args.subcommand === "list") return await marketplace.runMarketplaceListCommand(args);
@@ -3588,7 +3588,7 @@ async function dispatch(rawArgv) {
3588
3588
  }
3589
3589
  }
3590
3590
  if (command === "preflight") {
3591
- const { runPreflightCommand } = await import("./preflight-command-Q6XOKRM6.js");
3591
+ const { runPreflightCommand } = await import("./preflight-command-QWZL4O2N.js");
3592
3592
  return runPreflightCommand(args);
3593
3593
  }
3594
3594
  if (command !== "compile" && command !== "export" && command !== "paths" && command !== "routes") {
@@ -3603,12 +3603,12 @@ async function dispatch(rawArgv) {
3603
3603
  if (command === "paths" || command === "routes") {
3604
3604
  return runPaths(args);
3605
3605
  }
3606
- const { discoverToolchainPlugins } = await import("./toolchain-modules-K46KYJ4G.js");
3606
+ const { discoverToolchainPlugins } = await import("./toolchain-modules-C53NXT3S.js");
3607
3607
  const toolchain = await discoverToolchainPlugins(process.cwd(), {
3608
3608
  frozen: args.frozenLock === true || args.check === true
3609
3609
  });
3610
3610
  if (out && !args.check) {
3611
- const { assertWritableTarget } = await import("./output-target-MFANTVGZ.js");
3611
+ const { assertWritableTarget } = await import("./output-target-4XN43WIB.js");
3612
3612
  assertWritableTarget(out, "--out");
3613
3613
  }
3614
3614
  const { bundle: json, bundleObject, omittedSeedTables, lock: lockOutcome, declaredEnvNames } = await compileBundle(args);
@@ -3639,8 +3639,8 @@ async function dispatch(rawArgv) {
3639
3639
  },
3640
3640
  ""
3641
3641
  );
3642
- const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-6UTTMDOI.js");
3643
- const { backendDirFor } = await import("./backend-dir-PFUIPCV3.js");
3642
+ const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-QKZI26F2.js");
3643
+ const { backendDirFor } = await import("./backend-dir-G44PETFO.js");
3644
3644
  const declaredSet = new Set(declaredEnvNames);
3645
3645
  const templateDir = backendDirFor(args.file);
3646
3646
  const ownsTemplate = isWithin(resolve2(args.file), templateDir) && (dirname2(resolve2(args.file)) === templateDir || !existsSync2(join2(templateDir, "index.ts")));
@@ -3699,14 +3699,14 @@ async function dispatch(rawArgv) {
3699
3699
  }
3700
3700
  if (out) {
3701
3701
  const { secretsCarriedBy } = await import("./live-diff-CGTGOH3S.js");
3702
- const { writeExportFile } = await import("./output-target-MFANTVGZ.js");
3702
+ const { writeExportFile } = await import("./output-target-4XN43WIB.js");
3703
3703
  const written = lockOutcome?.changed ? `Only ${lockOutcome.path} was written` : void 0;
3704
3704
  writeExportFile(out, json + "\n", secretsCarriedBy(bundleObject), "--out", written);
3705
3705
  reportWrote(args, out, lockOutcome);
3706
3706
  } else {
3707
3707
  process.stdout.write(json + "\n");
3708
3708
  const { secretsCarriedBy } = await import("./live-diff-CGTGOH3S.js");
3709
- const { secretsPhrase } = await import("./output-target-MFANTVGZ.js");
3709
+ const { secretsPhrase } = await import("./output-target-4XN43WIB.js");
3710
3710
  const secrets = secretsCarriedBy(bundleObject);
3711
3711
  if (secrets.length > 0) {
3712
3712
  warn(
@@ -3729,7 +3729,7 @@ async function refreshAgentGuidance(args) {
3729
3729
  const entryProject = args.file === void 0 ? void 0 : installedSdk(dirname2(resolve2(args.file)))?.root;
3730
3730
  const projectDir = existsSync2(join2(process.cwd(), "AGENTS.md")) || entryProject === void 0 ? process.cwd() : entryProject;
3731
3731
  const projectSdk = skewedProjectSdk(projectDir, readVersion());
3732
- const { refreshAgentFiles } = await import("./agent-file-refresh-QJO3MT6Q.js");
3732
+ const { refreshAgentFiles } = await import("./agent-file-refresh-XXCQOTWN.js");
3733
3733
  if (projectSdk !== void 0) {
3734
3734
  const stale = refreshAgentFiles({ projectDir, sdkVersion: readVersion(), write: false });
3735
3735
  const file = args.file;
@@ -3963,7 +3963,7 @@ async function runPaths(args) {
3963
3963
  const lockPath = resolveLockPath(args, file);
3964
3964
  resetLockOverrides();
3965
3965
  const lockModel = existsSync2(lockPath) ? readLockFile(lockPath) : void 0;
3966
- const toolchain = args.emit !== void 0 ? await (await import("./toolchain-modules-K46KYJ4G.js")).discoverToolchainPlugins(emitProjectDir(args.emit, file), {
3966
+ const toolchain = args.emit !== void 0 ? await (await import("./toolchain-modules-C53NXT3S.js")).discoverToolchainPlugins(emitProjectDir(args.emit, file), {
3967
3967
  frozen: args.strict === true,
3968
3968
  // A module outside its SDK peer range keeps its block and is named,
3969
3969
  // as any other skip is; it does not abort every `dev` and `build`.
@@ -4021,7 +4021,7 @@ async function runPaths(args) {
4021
4021
  if (machine && args.emit !== "-") writeJson({ emit: resolve2(args.emit), written: false, routes: 0, channels: 0 });
4022
4022
  return;
4023
4023
  }
4024
- const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-UHVVL2YB.js");
4024
+ const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-V5JJVIPH.js");
4025
4025
  const loaded = toolchain?.loaded ?? [];
4026
4026
  const skipped = toolchain?.skipped ?? [];
4027
4027
  const rendered = renderManifestFile(
@@ -4126,7 +4126,7 @@ async function refreshRouteManifest(entry, emit2, projectDir) {
4126
4126
  resetLockOverrides();
4127
4127
  const lockPath = join2(dirname2(resolve2(entry)), "xano.lock");
4128
4128
  const lockModel = existsSync2(lockPath) ? readLockFile(lockPath) : void 0;
4129
- const { discoverToolchainPlugins } = await import("./toolchain-modules-K46KYJ4G.js");
4129
+ const { discoverToolchainPlugins } = await import("./toolchain-modules-C53NXT3S.js");
4130
4130
  const toolchain = existsSync2(emit2) ? await discoverToolchainPlugins(projectDir, { frozen: false, configuring: true, peerSkew: "skip" }) : void 0;
4131
4131
  const def = await loadDefault(entry);
4132
4132
  if (!Xano.isXano(def)) return { manifest: "absent", lockOrphans: 0 };
@@ -4138,12 +4138,12 @@ async function refreshRouteManifest(entry, emit2, projectDir) {
4138
4138
  } finally {
4139
4139
  setDiagnosticSink(previousSink);
4140
4140
  }
4141
- const { pulledIdentities } = await import("./pull-command-UVK3IOXM.js");
4141
+ const { pulledIdentities } = await import("./pull-command-RPGL6LXP.js");
4142
4142
  const live = pulledIdentities(payload);
4143
4143
  const lockOrphans = lockModel === void 0 ? 0 : Object.keys(lockModel.objects).filter((k) => k !== WORKSPACE_KEY && !live.has(k)).length;
4144
4144
  if (!existsSync2(emit2)) return { manifest: "absent", lockOrphans };
4145
4145
  const { planRouteManifest, RouteManifestError } = await import("./routes-manifest-RIZGSOZC.js");
4146
- const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-UHVVL2YB.js");
4146
+ const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-V5JJVIPH.js");
4147
4147
  const plan = planRouteManifest(payload, (kind, name) => lockModel?.objects[lockKey(kind, name)]?.canonical);
4148
4148
  if (plan.unresolved.length > 0) return { manifest: "skipped", lockOrphans };
4149
4149
  const current = readFileSync3(emit2, "utf8");
@@ -4667,7 +4667,7 @@ async function refineGonePullHint(err) {
4667
4667
  if (offer === void 0 || auth === void 0 || !(err instanceof Error) || !err.message.includes(offer.clause)) return;
4668
4668
  let gone;
4669
4669
  try {
4670
- const { lookupEphemeral } = await import("./source-resolve-LNRUITLS.js");
4670
+ const { lookupEphemeral } = await import("./source-resolve-I55GN6ZC.js");
4671
4671
  gone = await lookupEphemeral(auth, offer.name) === null;
4672
4672
  } catch {
4673
4673
  return;
@@ -4871,4 +4871,4 @@ export {
4871
4871
  docTokenRefusalIfReplaced,
4872
4872
  envRefusalIfReplaced
4873
4873
  };
4874
- //# sourceMappingURL=chunk-ZJCHS7FM.js.map
4874
+ //# sourceMappingURL=chunk-U7XSQXOA.js.map