@xano/sdk 1.0.6 → 1.0.8

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 (242) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +32 -4
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/{agent-file-refresh-67QIX45H.js → agent-file-refresh-QJO3MT6Q.js} +13 -13
  5. package/dist/agent-skill-command-GBR4KUUG.js +414 -0
  6. package/dist/{answer-shape-UCDUKPAN.js → answer-shape-UMQRXMCX.js} +5 -5
  7. package/dist/{backend-dir-3LIL6SCT.js → backend-dir-PFUIPCV3.js} +15 -15
  8. package/dist/{backend-slot-JREP27UD.js → backend-slot-TTRNOQF5.js} +4 -4
  9. package/dist/bin.js +54 -53
  10. package/dist/{branch-2IPHOAYS.js → branch-Q7CDJRU6.js} +12 -11
  11. package/dist/{branch-commands-KTKAXBAN.js → branch-commands-CR3SAHMV.js} +27 -26
  12. package/dist/bundle.js +5 -5
  13. package/dist/{chunk-YKP4ZKVO.js → chunk-2HZDWZM2.js} +3 -3
  14. package/dist/{chunk-ZDP6GDAB.js → chunk-33KELF2X.js} +103 -94
  15. package/dist/{chunk-7VR4IO5B.js → chunk-3P35HT64.js} +2 -2
  16. package/dist/{chunk-2FLIJGBZ.js → chunk-3UZQ5TMG.js} +47 -8
  17. package/dist/{chunk-AWQ7BQTQ.js → chunk-4GPIOIAC.js} +6 -1
  18. package/dist/{chunk-YYLUBYXM.js → chunk-4JKXGPXB.js} +3 -3
  19. package/dist/{chunk-EQFYOOO6.js → chunk-5GIOCDUM.js} +829 -893
  20. package/dist/{chunk-26MOFAJT.js → chunk-5QOV52V4.js} +6 -3
  21. package/dist/{chunk-Q22BMRPF.js → chunk-5Y5HWQ2P.js} +2 -2
  22. package/dist/{chunk-T4LJ5UR2.js → chunk-6BOKCTCM.js} +52 -22
  23. package/dist/{chunk-FNLTFOUD.js → chunk-6NEV2PEC.js} +2 -2
  24. package/dist/{chunk-QJM5XZ4K.js → chunk-6PTITS3M.js} +8 -8
  25. package/dist/{chunk-N5I37JFB.js → chunk-6S263KTM.js} +2 -2
  26. package/dist/{chunk-JI3BLXWQ.js → chunk-6YOH2L3G.js} +11 -5
  27. package/dist/{chunk-5QMJOE2K.js → chunk-6ZFJEJXZ.js} +5 -3
  28. package/dist/{chunk-NPODGBVJ.js → chunk-75MKIQON.js} +4 -4
  29. package/dist/{chunk-SPITRSOF.js → chunk-76UAME77.js} +2 -2
  30. package/dist/{chunk-JRVQ7M7W.js → chunk-77GV772V.js} +8 -8
  31. package/dist/{chunk-GWTFI3GA.js → chunk-7JKNWDYN.js} +2 -2
  32. package/dist/{chunk-6X6BJN6Y.js → chunk-7MPI7NIW.js} +3 -3
  33. package/dist/{chunk-3II44CUJ.js → chunk-7UWUEUVJ.js} +24 -24
  34. package/dist/{chunk-ENMBEXOP.js → chunk-AS4G2MIE.js} +3 -3
  35. package/dist/{chunk-PMMHSX4H.js → chunk-B3NH5UBI.js} +4 -4
  36. package/dist/{chunk-SLGJIWCY.js → chunk-B5N6EWOM.js} +2 -2
  37. package/dist/chunk-BRANWM4U.js +853 -0
  38. package/dist/{chunk-6X3MY2JP.js → chunk-C2GHFADU.js} +2 -2
  39. package/dist/{chunk-CCU5CCRX.js → chunk-C2I4GC36.js} +8 -8
  40. package/dist/{chunk-D7BUMOKU.js → chunk-C6KBZH7M.js} +82 -6
  41. package/dist/{chunk-LAOMN6QQ.js → chunk-CRE7P7P2.js} +3 -3
  42. package/dist/{chunk-AVS4WPPY.js → chunk-DER2CVNC.js} +2 -2
  43. package/dist/{chunk-UIVMR7UK.js → chunk-DY3EJWWH.js} +2 -2
  44. package/dist/{chunk-SKEG3V2V.js → chunk-EKTIGGFO.js} +2 -2
  45. package/dist/{chunk-PL7AIAWS.js → chunk-F3IA3YWI.js} +4 -111
  46. package/dist/{chunk-FQ53GTII.js → chunk-F5RPNTN7.js} +6 -6
  47. package/dist/{chunk-2WBH5HUY.js → chunk-FHQYXGAY.js} +7 -7
  48. package/dist/{chunk-ND43ZOS3.js → chunk-FN7E6XGD.js} +7 -7
  49. package/dist/{chunk-3BBIDW3Y.js → chunk-GN5SQMIQ.js} +5 -5
  50. package/dist/{chunk-SSITMX7I.js → chunk-H3ZBAR2L.js} +16 -14
  51. package/dist/{chunk-OIKLDDYC.js → chunk-HFOGQIII.js} +3 -3
  52. package/dist/chunk-HKLBDSML.js +995 -0
  53. package/dist/{chunk-JXVJGF3Y.js → chunk-HQPL34O6.js} +2 -2
  54. package/dist/{chunk-CHINR7WD.js → chunk-HTP2CLRQ.js} +5 -5
  55. package/dist/{chunk-ROY4YAEQ.js → chunk-HU7F56VF.js} +22 -2
  56. package/dist/{chunk-TECTL2NU.js → chunk-HVPSDQJB.js} +4 -4
  57. package/dist/{chunk-IYXL5NYU.js → chunk-I53OTC3O.js} +2 -2
  58. package/dist/{chunk-M5CSVB23.js → chunk-IB6SKACE.js} +11 -8
  59. package/dist/{chunk-UD2Z7K6W.js → chunk-JG642U5D.js} +4 -4
  60. package/dist/{chunk-ZJSTUD6D.js → chunk-JJGK7XGC.js} +8 -8
  61. package/dist/{local-engine-command-RYLGMQ2O.js → chunk-JPRZ4ZGU.js} +22 -77
  62. package/dist/{chunk-QZEAANWP.js → chunk-K75BFHQQ.js} +8 -8
  63. package/dist/chunk-LCOCRJ4K.js +116 -0
  64. package/dist/{chunk-3EDSPMXN.js → chunk-LJM5CIY4.js} +5 -1
  65. package/dist/{chunk-D3KEPRRN.js → chunk-LTPF25L2.js} +2 -1
  66. package/dist/{chunk-HCG7NDIL.js → chunk-M3RLLT4O.js} +5 -5
  67. package/dist/{chunk-IXFJORNH.js → chunk-NFSUGVDY.js} +4 -4
  68. package/dist/{chunk-GHQ4BVI4.js → chunk-NFZUXS7D.js} +14 -14
  69. package/dist/{chunk-LBJA7IEM.js → chunk-O376UAZS.js} +2 -2
  70. package/dist/{chunk-LD6ARK3A.js → chunk-OBJ7FQDX.js} +2 -2
  71. package/dist/{chunk-VJFMUJWZ.js → chunk-OHTHG3LL.js} +2 -2
  72. package/dist/{chunk-U35MTOXQ.js → chunk-P5W6DBV6.js} +3 -3
  73. package/dist/{chunk-A7MRZ4GF.js → chunk-PAS5HOG3.js} +5 -5
  74. package/dist/{chunk-WZHLMU6T.js → chunk-PBK257CI.js} +2 -2
  75. package/dist/{chunk-SPKA2LV6.js → chunk-PFW7WFAT.js} +4 -4
  76. package/dist/{chunk-GOLFAEUV.js → chunk-QC3MKMDK.js} +2 -2
  77. package/dist/{chunk-YGLMRH5U.js → chunk-QE2GNFMP.js} +12 -12
  78. package/dist/{chunk-763M6LX3.js → chunk-QL3ZJWGG.js} +2 -2
  79. package/dist/{chunk-ITC2R2OT.js → chunk-QRKBFXIB.js} +7 -7
  80. package/dist/{chunk-KPFS3RGM.js → chunk-QTMXJQZN.js} +4 -4
  81. package/dist/{chunk-BTVUYHWV.js → chunk-QXOBZSQD.js} +4 -4
  82. package/dist/{chunk-NDWVJ2QZ.js → chunk-R3LANPQZ.js} +3 -3
  83. package/dist/{chunk-QXYMDARD.js → chunk-R4NOZBOY.js} +4 -4
  84. package/dist/{chunk-YYC2DZMG.js → chunk-RYMGK2K5.js} +6 -6
  85. package/dist/{chunk-IF4PEGVD.js → chunk-S2F7KVUL.js} +11 -11
  86. package/dist/{chunk-I3VHW6XM.js → chunk-S3STXOAO.js} +18 -18
  87. package/dist/{chunk-JFBRXRJD.js → chunk-S3WN6GGO.js} +40 -40
  88. package/dist/{chunk-U6MTGB46.js → chunk-S42TFTM5.js} +5 -5
  89. package/dist/{chunk-7GAIJW62.js → chunk-TG65NWUR.js} +2 -2
  90. package/dist/{chunk-YR2I5HGE.js → chunk-TR7EOUQE.js} +2 -2
  91. package/dist/{chunk-I3H3HCPY.js → chunk-U7XNJ33Q.js} +34 -31
  92. package/dist/{chunk-FU3VCE5A.js → chunk-UKJFCEMI.js} +13 -9
  93. package/dist/{chunk-5TVFLG3C.js → chunk-ULUUOUQX.js} +2 -2
  94. package/dist/{chunk-PFBXSVZF.js → chunk-UU7EEREQ.js} +7 -7
  95. package/dist/{chunk-ATJ2W7DC.js → chunk-V7KMIEMF.js} +286 -126
  96. package/dist/{chunk-VDHA5SSQ.js → chunk-VD7YTLWL.js} +2 -2
  97. package/dist/{chunk-EADVVTDK.js → chunk-VHV25AAO.js} +7 -7
  98. package/dist/{chunk-BL3AZ3AP.js → chunk-VJTTTIIB.js} +2 -2
  99. package/dist/{chunk-TTEIDD5Q.js → chunk-W2BVP27L.js} +4 -4
  100. package/dist/{chunk-GZHLCUZ6.js → chunk-WEQFI55W.js} +7 -7
  101. package/dist/{chunk-WBH4KJWM.js → chunk-XQO4A4Q4.js} +3 -3
  102. package/dist/{chunk-Z4ZGTCCD.js → chunk-XYTVP4WI.js} +6 -6
  103. package/dist/{chunk-5YQV35C2.js → chunk-Y5ET37NN.js} +7 -7
  104. package/dist/{chunk-VW4CWVYX.js → chunk-YE7MHW45.js} +4 -4
  105. package/dist/{chunk-YHB34BN6.js → chunk-YEH5OIPF.js} +2 -1
  106. package/dist/{chunk-GLY552SI.js → chunk-YG7S3N7P.js} +128 -60
  107. package/dist/{chunk-MBDFH7XB.js → chunk-YP76ZCQ5.js} +4 -4
  108. package/dist/{chunk-XFBGXB7X.js → chunk-ZJCHS7FM.js} +163 -107
  109. package/dist/{chunk-IMELQ2I6.js → chunk-ZO3QWFNV.js} +3 -3
  110. package/dist/{chunk-RIN4YY34.js → chunk-ZQ5WZWHF.js} +106 -69
  111. package/dist/{chunk-GW5RHGOB.js → chunk-ZT2B22VQ.js} +9 -9
  112. package/dist/cli.d.ts +32 -4
  113. package/dist/cli.js +51 -48
  114. package/dist/{codegen-command-R5IASBFC.js → codegen-command-4YXDJSLU.js} +69 -68
  115. package/dist/{commands-H7CPMMHH.js → commands-FOHIPDKZ.js} +3 -3
  116. package/dist/{completion-W5ZAI6TN.js → completion-XUBGMKGV.js} +9 -5
  117. package/dist/{config-MZ5KG4EP.js → config-544VCRKP.js} +8 -8
  118. package/dist/{deploy-command-34T2LKQ5.js → deploy-command-FIDS56ZC.js} +56 -55
  119. package/dist/{deploy-source-YLQ7WMYR.js → deploy-source-FPNNNNOW.js} +34 -33
  120. package/dist/{dev-env-sync-TMJTNU3U.js → dev-env-sync-RBJ2U3HG.js} +54 -53
  121. package/dist/{diagnostics-OMN5Y2AH.js → diagnostics-FNVNRYMB.js} +2 -2
  122. package/dist/{display-name-hint-ZJGFNJKQ.js → display-name-hint-EZQK2PDU.js} +14 -13
  123. package/dist/{emit-D125xxty.d.ts → emit-8lcNcRrd.d.ts} +12 -12
  124. package/dist/env-example-refresh-6UTTMDOI.js +134 -0
  125. package/dist/{env-pull-command-UTG6IC2K.js → env-pull-command-P5MATITQ.js} +46 -45
  126. package/dist/{env-target-FZROWYFS.js → env-target-F75YF25S.js} +13 -12
  127. package/dist/{env-var-command-VYDBQJJW.js → env-var-command-H3GHROVB.js} +50 -49
  128. package/dist/{ephemeral-BIE6FMJV.js → ephemeral-H24NF6WP.js} +11 -10
  129. package/dist/{ephemeral-command-OZ26RGXF.js → ephemeral-command-NH2XW3YK.js} +64 -63
  130. package/dist/{ephemeral-state-SNZOX2YK.js → ephemeral-state-YLZQIOBF.js} +11 -10
  131. package/dist/{generate-command-4HR7MR36.js → generate-command-IANKN6WV.js} +84 -82
  132. package/dist/{gitignore-EWQBXNX2.js → gitignore-FT2LVOMI.js} +19 -19
  133. package/dist/{guards-KYEOCVHN.js → guards-4VPSEOAI.js} +6 -4
  134. package/dist/{impersonate-command-WC7OGKUM.js → impersonate-command-7B67ICPL.js} +42 -41
  135. package/dist/{import-7Z4GCCPO.js → import-TXYVFYJS.js} +5 -5
  136. package/dist/index.d.ts +4 -4
  137. package/dist/index.js +8 -8
  138. package/dist/{init-command-HAO3WXH3.js → init-command-QOA4TJI2.js} +68 -53
  139. package/dist/{init-modules-NSKD4ASY.js → init-modules-KEEJ4HAF.js} +8 -8
  140. package/dist/{init-web-MKFFOQUU.js → init-web-MSXDARRF.js} +3 -3
  141. package/dist/internal.d.ts +4 -4
  142. package/dist/internal.js +10 -10
  143. package/dist/{keep-data-merge-QR2TMKEO.js → keep-data-merge-BIBW4QR4.js} +28 -28
  144. package/dist/{lambda-config-reconcile-7FJXXV6V.js → lambda-config-reconcile-47X5C2E4.js} +6 -5
  145. package/dist/{landing-record-MWXFIRCP.js → landing-record-DO3PM7QP.js} +22 -22
  146. package/dist/{live-diff-5E2BQWQ7.js → live-diff-CGTGOH3S.js} +3 -3
  147. package/dist/{local-engine-choice-VD5LNXJU.js → local-engine-choice-2UF7S5QZ.js} +37 -36
  148. package/dist/local-engine-command-WGMMZRQL.js +85 -0
  149. package/dist/{local-engine-config-W3KB7RWM.js → local-engine-config-6CB6FOEJ.js} +3 -2
  150. package/dist/{local-engine-deploy-6O7NKZCA.js → local-engine-deploy-ID4JJXB5.js} +18 -16
  151. package/dist/local-engine-lookup-IC7BKAYP.js +43 -0
  152. package/dist/local-engine-mcp-bridge-3SOJMZ5T.js +423 -0
  153. package/dist/local-engine-mcp-command-RMVUH4FL.js +181 -0
  154. package/dist/{local-engine-process-ZLLZEIRF.js → local-engine-process-HG5BGG3F.js} +12 -9
  155. package/dist/{local-engine-state-OCW5YDD7.js → local-engine-state-JZHTKHDG.js} +4 -3
  156. package/dist/{local-engine-update-check-LVX4HBBI.js → local-engine-update-check-SKZR7YSC.js} +7 -6
  157. package/dist/{lock-commands-X2OECR4R.js → lock-commands-5NMQWBGH.js} +57 -56
  158. package/dist/{login-command-RLLKD565.js → login-command-GLLFZWHT.js} +33 -33
  159. package/dist/{logout-command-XDMSXCDO.js → logout-command-NCMKMJWF.js} +16 -15
  160. package/dist/{loop-SUB6C2LK.js → loop-XFDS65OD.js} +3 -3
  161. package/dist/{marketplace-command-2NHHY2X3.js → marketplace-command-Y3RRUEWL.js} +34 -34
  162. package/dist/{marketplace-resolve-OTZYT4FG.js → marketplace-resolve-PWEYJ2XS.js} +6 -6
  163. package/dist/{meta-client-TMHVBZFY.js → meta-client-Y7N6WDS2.js} +14 -13
  164. package/dist/{module-manifest-FNMW23IX.js → module-manifest-KY7J63HG.js} +4 -4
  165. package/dist/node.d.ts +4 -4
  166. package/dist/node.js +60 -59
  167. package/dist/operation-outcome-4BFISK2R.js +53 -0
  168. package/dist/{output-target-MOLCTPBP.js → output-target-MFANTVGZ.js} +20 -20
  169. package/dist/{plan-disclosure-CY7AF6KP.js → plan-disclosure-GNLDYV2A.js} +17 -16
  170. package/dist/{plugin-contributions-WR26U7NT.js → plugin-contributions-PAGG6SUP.js} +6 -6
  171. package/dist/{plugin-prompt-ZUYQQIX4.js → plugin-prompt-2MX6LF6X.js} +5 -5
  172. package/dist/{plugin-questions-HAZOQ67R.js → plugin-questions-AP6VUTOB.js} +4 -4
  173. package/dist/{preflight-command-OHJXYND3.js → preflight-command-Q6XOKRM6.js} +61 -60
  174. package/dist/{profile-command-6JWT2BTL.js → profile-command-XPQIXFWN.js} +34 -34
  175. package/dist/{profile-pointer-PDA5XBIB.js → profile-pointer-4HJQH5ZR.js} +5 -4
  176. package/dist/{project-dependency-GZWWGWEW.js → project-dependency-ORX45I74.js} +7 -7
  177. package/dist/{project-sdk-3W72H5QO.js → project-sdk-IYMFVQRC.js} +4 -4
  178. package/dist/promote-command-DN64QK7O.js +147 -0
  179. package/dist/{prompt-U37K5RPQ.js → prompt-ZZUYWFQX.js} +4 -4
  180. package/dist/{publish-command-BUS27HGB.js → publish-command-SLE46MQX.js} +61 -60
  181. package/dist/{pull-command-ZGUNP27P.js → pull-command-UVK3IOXM.js} +72 -71
  182. package/dist/{pull-superseded-EZBGYRZF.js → pull-superseded-UZ3MB53B.js} +4 -4
  183. package/dist/{release-command-BQ6OHS3P.js → release-command-MKNESNGB.js} +67 -66
  184. package/dist/{release-ns-command-ATGVBVIU.js → release-ns-command-HLR46IKP.js} +92 -91
  185. package/dist/{retry-command-QJ57WVW7.js → retry-command-VZYLYDVX.js} +10 -9
  186. package/dist/{routes-manifest-YR4ZIMLM.js → routes-manifest-RIZGSOZC.js} +4 -4
  187. package/dist/{routes-manifest-file-UALYSZLY.js → routes-manifest-file-UHVVL2YB.js} +8 -8
  188. package/dist/scaffold.js +4 -4
  189. package/dist/secrets-IV4N5HYI.js +20 -0
  190. package/dist/{secrets-file-LMS7KX3E.js → secrets-file-HST7BMQC.js} +19 -19
  191. package/dist/{secrets-fill-command-QNBDGCGM.js → secrets-fill-command-FQJ4QFBP.js} +55 -54
  192. package/dist/{seed-SZ6OS5DQ.js → seed-KEPIS7UZ.js} +6 -6
  193. package/dist/{source-resolve-MKLNYFWG.js → source-resolve-LNRUITLS.js} +24 -22
  194. package/dist/{static-host-ONEHA4LI.js → static-host-JAOT3N3E.js} +5 -5
  195. package/dist/{status-command-XKIFKBGM.js → status-command-S5CBG2SW.js} +53 -52
  196. package/dist/{store-Bg4Na6Sm.d.ts → store-CuD1k4kV.d.ts} +1 -1
  197. package/dist/{store-X6ZH7EC3.js → store-YFNDD6GZ.js} +8 -7
  198. package/dist/{sync-baseline-DOV5AGIO.js → sync-baseline-3CDL4PKT.js} +7 -5
  199. package/dist/{sync-contributions-HNVHDIQW.js → sync-contributions-O5ZRM2JN.js} +10 -10
  200. package/dist/{sync-record-PRXHLK4S.js → sync-record-U65BCPSP.js} +14 -13
  201. package/dist/{table-DC36QA4Y.js → table-E5YTK7QX.js} +7 -7
  202. package/dist/{tables-command-UQLKTELN.js → tables-command-7KI2KZOS.js} +40 -39
  203. package/dist/{tenant-EKNQGG5A.js → tenant-DAXJ4P4D.js} +12 -11
  204. package/dist/{tenant-command-2LWP2MPB.js → tenant-command-MQTLNETR.js} +97 -96
  205. package/dist/{test-command-IU5MBBXY.js → test-command-NLYMAAPD.js} +42 -41
  206. package/dist/{tests-RG2Y5EQ4.js → tests-CLDZWLKF.js} +6 -6
  207. package/dist/{token-7AWSJLKO.js → token-3IPTVEEW.js} +12 -11
  208. package/dist/{toolchain-hooks-4ZMQLBPQ.js → toolchain-hooks-3ZAAAWPL.js} +7 -7
  209. package/dist/{toolchain-modules-VU7SURVJ.js → toolchain-modules-K46KYJ4G.js} +5 -5
  210. package/dist/{toolchain-peers-CIDNEEQV.js → toolchain-peers-AIKWKJH7.js} +8 -8
  211. package/dist/{tracked-backend-4BHSV7NC.js → tracked-backend-FQFXTTYZ.js} +37 -36
  212. package/dist/{update-check-A7FXIINW.js → update-check-FHRRUDEC.js} +52 -51
  213. package/dist/{upgrade-command-C5KBITFI.js → upgrade-command-WNBPKUXN.js} +58 -55
  214. package/dist/{whoami-command-7WQII2H4.js → whoami-command-DPGDK35H.js} +15 -14
  215. package/dist/{workspace-Z46PUZNI.js → workspace-2GMONZ2A.js} +5 -5
  216. package/dist/{workspace-binding-JE6YNDZJ.js → workspace-binding-PAUOIK3V.js} +14 -13
  217. package/dist/{workspace-command-FC4IMLAE.js → workspace-command-KEKL27Y4.js} +99 -103
  218. package/dist/{workspace-env-N4ZPFT6A.js → workspace-env-GGEZVZDY.js} +16 -16
  219. package/dist/{workspace-export-3A5BZTPS.js → workspace-export-UHY22VBI.js} +5 -5
  220. package/dist/{writable-D7KCZI5N.js → writable-2A6MBSFD.js} +4 -4
  221. package/dist/{xano-LCI7VWPS.js → xano-6T6L7TTI.js} +5 -5
  222. package/dist/{xanosdk-import-P2A2KSXM.js → xanosdk-import-HYHABD5U.js} +6 -6
  223. package/dist/{xanosdk-project-6AGMW2SL.js → xanosdk-project-2T56DRYS.js} +16 -16
  224. package/guides/README.md +2 -2
  225. package/guides/cli.md +69 -0
  226. package/guides/codegen.md +23 -5
  227. package/guides/codes.md +5 -1
  228. package/guides/coverage.md +5 -0
  229. package/guides/deploying.md +45 -1
  230. package/guides/scaffold.md +61 -10
  231. package/llms/errors.md +1 -1
  232. package/llms/kinds-agent-mcp.md +1 -1
  233. package/llms-full.txt +3 -3
  234. package/llms.txt +1 -1
  235. package/manifest.json +67 -5
  236. package/package.json +5 -2
  237. package/skills/xano-backend/SKILL.md +119 -0
  238. package/dist/chunk-LL7SGTRC.js +0 -663
  239. package/dist/chunk-M6ZFSTIZ.js +0 -630
  240. package/dist/env-example-refresh-CQP3ZMKM.js +0 -133
  241. package/dist/operation-outcome-RN62735X.js +0 -51
  242. package/dist/promote-command-UYAMUXKB.js +0 -146
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  contextFlags,
6
6
  isCredentialStoreCommand
7
- } from "./chunk-N5I37JFB.js";
7
+ } from "./chunk-6S263KTM.js";
8
8
  import {
9
9
  shellQuote
10
10
  } from "./chunk-5ZSO4T2G.js";
@@ -106,4 +106,4 @@ export {
106
106
  pipedYes,
107
107
  withheldNote
108
108
  };
109
- //# sourceMappingURL=chunk-6X3MY2JP.js.map
109
+ //# sourceMappingURL=chunk-C2GHFADU.js.map
@@ -1,19 +1,19 @@
1
+ import {
2
+ isHomeRelative
3
+ } from "./chunk-EUUUMY7J.js";
1
4
  import {
2
5
  backendDirIn
3
- } from "./chunk-TTEIDD5Q.js";
6
+ } from "./chunk-W2BVP27L.js";
4
7
  import {
5
8
  shellWord
6
9
  } from "./chunk-FWD7AL6N.js";
7
- import {
8
- isHomeRelative
9
- } from "./chunk-EUUUMY7J.js";
10
10
  import {
11
11
  pointerRootFor
12
- } from "./chunk-26MOFAJT.js";
12
+ } from "./chunk-5QOV52V4.js";
13
13
  import {
14
14
  UsageError,
15
15
  setTypedCwd
16
- } from "./chunk-D7BUMOKU.js";
16
+ } from "./chunk-C6KBZH7M.js";
17
17
 
18
18
  // src/emit/xanosdk-project.ts
19
19
  import { existsSync, realpathSync, statSync } from "fs";
@@ -31,7 +31,7 @@ function projectDirFrom(start) {
31
31
  dir = parent;
32
32
  }
33
33
  }
34
- var RELATIVE_PATH_ARGS = ["out", "lockPath", "entryPath", "static", "bundle", "envFile", "secretsFile", "backendDir", "emit", "path"];
34
+ var RELATIVE_PATH_ARGS = ["out", "lockPath", "entryPath", "static", "bundle", "envFile", "secretsFile", "backendDir", "emit", "path", "project"];
35
35
  var PATH_VARS = ["XANO_CONFIG", "XANO_GLOBAL_CONFIG", "XANO_CLIENT_FILE", "XANOSDK_UPDATE_CACHE", "XANOSDK_PROVE_DIFF", "XANOSDK_ENGINE_HOME", "XANOSDK_ENGINE_OVERRIDE"];
36
36
  function enterProjectRoot(args, cwd = process.cwd(), positional) {
37
37
  const here = resolve(cwd);
@@ -154,4 +154,4 @@ export {
154
154
  RELATIVE_PATH_ARGS,
155
155
  enterProjectRoot
156
156
  };
157
- //# sourceMappingURL=chunk-CCU5CCRX.js.map
157
+ //# sourceMappingURL=chunk-C2I4GC36.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  setDiagnosticSink
3
- } from "./chunk-YHB34BN6.js";
3
+ } from "./chunk-YEH5OIPF.js";
4
4
  import {
5
5
  suggest
6
6
  } from "./chunk-UTI5G6OJ.js";
@@ -196,6 +196,27 @@ function projectFileCli(dir, manager) {
196
196
  if (manager === "npm" || manager === "yarn") return "npx xanosdk";
197
197
  return listingWorkspaceRoot(resolve3(dir)) === void 0 ? "npx xanosdk" : "npx --workspaces=false xanosdk";
198
198
  }
199
+ var MCP_SERVER_NAME = "xano-local";
200
+ var MCP_CONFIGS = [
201
+ { path: ".mcp.json", agent: "Claude Code" },
202
+ { path: ".cursor/mcp.json", agent: "Cursor", workspaceFolder: "${workspaceFolder}" }
203
+ ];
204
+ function mcpServerCommand(dir, manager, opts = {}) {
205
+ const folder = opts.workspaceFolder;
206
+ const npx = [
207
+ "npx",
208
+ "--yes",
209
+ "--package",
210
+ "@xano/sdk",
211
+ ...projectFileCli(dir, manager) === "npx xanosdk" ? [] : ["--workspaces=false"],
212
+ "xanosdk",
213
+ "local",
214
+ "mcp",
215
+ "--stdio",
216
+ ...folder === void 0 ? [] : ["--project", folder]
217
+ ];
218
+ return (opts.platform ?? process.platform) === "win32" ? { command: "cmd", args: ["/c", ...npx] } : { command: npx[0], args: npx.slice(1) };
219
+ }
199
220
  function spellProjectCli(text2, cli) {
200
221
  return cli === void 0 || cli === "npx xanosdk" ? text2 : text2.replace(/\bnpx xanosdk(?=[\s`'")\]]|$)/g, cli);
201
222
  }
@@ -1521,6 +1542,14 @@ var FLAGS = {
1521
1542
  all: { spec: "--all", summary: "Every stored profile, not just the active one" },
1522
1543
  "all-workspaces": { spec: "--all-workspaces", summary: "Enumerate across every workspace, not just the token's" },
1523
1544
  guest: { spec: "--guest, -g", summary: "Mint a read-only guest session (browse only)" },
1545
+ stdio: {
1546
+ spec: "--stdio",
1547
+ summary: "Run as an MCP stdio server that forwards to the live engine with its current bearer \u2014 the command a coding agent's MCP config launches"
1548
+ },
1549
+ project: {
1550
+ spec: "--project <dir>",
1551
+ summary: "The project whose engine to reach, when the agent launches the bridge outside it (default: the current directory)"
1552
+ },
1524
1553
  "url-only": { spec: "--url-only, -u", summary: "Print the dashboard URL instead of opening a browser" },
1525
1554
  prompt: { spec: "--prompt", summary: "Print only the add-on wiring prompt, for piping to a coding agent" },
1526
1555
  port: { spec: "--port <n>", summary: "Loopback callback port (default: 47100)" },
@@ -1544,8 +1573,8 @@ var FLAGS = {
1544
1573
  name: { spec: "--name <n>", summary: "Name for what this command produces" },
1545
1574
  framework: {
1546
1575
  spec: "--framework <id>",
1547
- summary: "Frontend framework to scaffold: react (default), svelte",
1548
- values: ["react", "svelte"]
1576
+ summary: "Frontend to scaffold in a new project: react (default), svelte, or none for the backend only. A non-empty directory always gets the backend only",
1577
+ values: ["react", "svelte", "none"]
1549
1578
  },
1550
1579
  theme: {
1551
1580
  spec: "--theme <id>",
@@ -1633,6 +1662,10 @@ var FLAGS = {
1633
1662
  * takes both.
1634
1663
  */
1635
1664
  force: { spec: "--force", summary: "Overwrite something that already exists" },
1665
+ agent: {
1666
+ spec: "--agent <id>",
1667
+ summary: "Which agent to act for, instead of the ones detected (repeatable): claude-code, agents (the shared ~/.agents directory), codex, cursor, copilot, gemini, amp, opencode"
1668
+ },
1636
1669
  "backend-dir": {
1637
1670
  spec: "--backend-dir <path>",
1638
1671
  summary: "The backend directory to act on, when this project does not keep it in xano/ and nothing on disk says so"
@@ -1671,6 +1704,10 @@ var FLAGS = {
1671
1704
  spec: "--allow-shared-schema-changes",
1672
1705
  summary: "Proceed even though table/microservice changes reach every branch"
1673
1706
  },
1707
+ overwrite: {
1708
+ spec: "--overwrite",
1709
+ summary: "Deploy over objects changed in Xano since the last deploy or pull (see `workspace diff`)"
1710
+ },
1674
1711
  "allow-branch-deletion": {
1675
1712
  spec: "--allow-branch-deletion",
1676
1713
  summary: "Acknowledge that --replace permanently deletes the workspace's other branches"
@@ -1780,7 +1817,7 @@ var SCAFFOLD = [
1780
1817
  "ai",
1781
1818
  {
1782
1819
  key: "force",
1783
- summary: "Write into a non-empty target directory. Over an existing project it lists every file it would overwrite and confirms first (--yes without a terminal); files the scaffold does not write are kept"
1820
+ summary: "Write over what clashes when adding the backend to a non-empty target directory: an existing xano/, a file init would write, a xano:* script with another command. It lists every file and script it would overwrite and confirms first (--yes without a terminal); files the scaffold does not write are kept"
1784
1821
  },
1785
1822
  "no-install"
1786
1823
  ];
@@ -1865,7 +1902,7 @@ var COMMANDS = {
1865
1902
  // Toolchain modules contribute their own question flags; see the field's
1866
1903
  // doc for the obligation this takes on.
1867
1904
  deferUnknownFlags: true,
1868
- summary: "Scaffold a Xano SDK project \u2014 empty, or filled from an existing backend",
1905
+ summary: "Scaffold a Xano SDK project \u2014 empty, or filled from an existing backend. In a non-empty directory, add the backend to the project there",
1869
1906
  args: [{ name: "dir", required: false, path: true }],
1870
1907
  // Two axes on top of the shared scaffold flags: WHERE `xano/` comes from
1871
1908
  // (`--from`) and HOW the options were collected (`--web`). They compose —
@@ -2007,6 +2044,7 @@ var COMMANDS = {
2007
2044
  withToOnly("seed"),
2008
2045
  withToOnly("replace"),
2009
2046
  withToOnly("allow-shared-schema-changes"),
2047
+ withToOnly("overwrite"),
2010
2048
  withToOnly("allow-branch-deletion"),
2011
2049
  withToOnly("branch"),
2012
2050
  withToOnly("set-live"),
@@ -2492,6 +2530,15 @@ var COMMANDS = {
2492
2530
  args: [{ name: "name", required: false }],
2493
2531
  example: "XANO_META_TOKEN=$(xanosdk local token)"
2494
2532
  },
2533
+ mcp: {
2534
+ // Details by default, a bridge only on `--stdio`: an agent that runs
2535
+ // this through its own shell tool must get an answer, not a server
2536
+ // waiting on stdin.
2537
+ summary: "Print how a coding agent connects to a Xano Engine's MCP server (look at the backend, seed rows, run functions, tasks, triggers, endpoints and tests); `--stdio` runs the bridge the agent's MCP config launches (default: the engine this project deployed to)",
2538
+ args: [{ name: "name", required: false }],
2539
+ flags: ["stdio", "project"],
2540
+ example: "xanosdk local mcp"
2541
+ },
2495
2542
  stop: {
2496
2543
  // The name is optional because `--all` stands in for it — and `--all`
2497
2544
  // is the form most runs want, since it covers every project.
@@ -2781,6 +2828,32 @@ var COMMANDS = {
2781
2828
  flags: ["check"],
2782
2829
  example: "xanosdk upgrade --check"
2783
2830
  },
2831
+ "agent-skill": {
2832
+ group: "Maintenance",
2833
+ display: "agent-skill <install|uninstall|status>",
2834
+ summary: "Install the xano-backend skill into the coding agents on this machine",
2835
+ subcommands: {
2836
+ install: {
2837
+ summary: "Write the skill into the user-level skill directory of each detected agent; an edited copy is left alone unless --force",
2838
+ flags: [
2839
+ "agent",
2840
+ { key: "dry-run", summary: "Report what would change and write nothing" },
2841
+ { key: "force", summary: "Replace a copy that was edited since it was installed" }
2842
+ ],
2843
+ example: "xanosdk agent-skill install --agent claude-code"
2844
+ },
2845
+ uninstall: {
2846
+ summary: "Remove the copies install wrote; an edited copy is reported and kept",
2847
+ flags: ["agent", { key: "dry-run", summary: "Report what would be removed and remove nothing" }],
2848
+ example: "xanosdk agent-skill uninstall"
2849
+ },
2850
+ status: {
2851
+ summary: "Report each copy as current, stale, edited or absent",
2852
+ flags: ["agent"],
2853
+ example: "xanosdk agent-skill status --json"
2854
+ }
2855
+ }
2856
+ },
2784
2857
  help: {
2785
2858
  group: "Maintenance",
2786
2859
  display: "help",
@@ -2959,6 +3032,9 @@ export {
2959
3032
  setTypedCwd,
2960
3033
  pastePath,
2961
3034
  projectFileCli,
3035
+ MCP_SERVER_NAME,
3036
+ MCP_CONFIGS,
3037
+ mcpServerCommand,
2962
3038
  spellProjectCli,
2963
3039
  projectSdkDir,
2964
3040
  spellProjectSdkDir,
@@ -3040,4 +3116,4 @@ export {
3040
3116
  movedVerb,
3041
3117
  installCliDiagnosticSink
3042
3118
  };
3043
- //# sourceMappingURL=chunk-D7BUMOKU.js.map
3119
+ //# sourceMappingURL=chunk-C6KBZH7M.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  classifyFailure
3
- } from "./chunk-JRVQ7M7W.js";
3
+ } from "./chunk-77GV772V.js";
4
4
  import {
5
5
  describeWrite
6
6
  } from "./chunk-4KHEMC32.js";
@@ -14,7 +14,7 @@ import {
14
14
  warn,
15
15
  writeJson,
16
16
  writeTargetPayload
17
- } from "./chunk-D7BUMOKU.js";
17
+ } from "./chunk-C6KBZH7M.js";
18
18
 
19
19
  // src/emit/operation-result.ts
20
20
  var SERVER_PROCESSING_BOUND_MS = 6e5;
@@ -253,4 +253,4 @@ export {
253
253
  OperationError,
254
254
  runOperation
255
255
  };
256
- //# sourceMappingURL=chunk-LAOMN6QQ.js.map
256
+ //# sourceMappingURL=chunk-CRE7P7P2.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  encodeFunction
3
- } from "./chunk-FQ53GTII.js";
3
+ } from "./chunk-F5RPNTN7.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-AVS4WPPY.js.map
17
+ //# sourceMappingURL=chunk-DER2CVNC.js.map
@@ -2,7 +2,7 @@ import {
2
2
  UsageError,
3
3
  flagNames,
4
4
  unknownFlag
5
- } from "./chunk-D7BUMOKU.js";
5
+ } from "./chunk-C6KBZH7M.js";
6
6
 
7
7
  // src/emit/plugin-questions.ts
8
8
  function hostLabel(host) {
@@ -156,4 +156,4 @@ export {
156
156
  assertNoFlagCollisions,
157
157
  resolvePluginAnswers
158
158
  };
159
- //# sourceMappingURL=chunk-UIVMR7UK.js.map
159
+ //# sourceMappingURL=chunk-DY3EJWWH.js.map
@@ -3,7 +3,7 @@ import {
3
3
  HEADER_NAME,
4
4
  generated,
5
5
  literalText
6
- } from "./chunk-T4LJ5UR2.js";
6
+ } from "./chunk-6BOKCTCM.js";
7
7
  import {
8
8
  fl
9
9
  } from "./chunk-BEXZ4XRV.js";
@@ -238,4 +238,4 @@ export {
238
238
  TEST_EXPECT_TYPES,
239
239
  expect
240
240
  };
241
- //# sourceMappingURL=chunk-SKEG3V2V.js.map
241
+ //# sourceMappingURL=chunk-EKTIGGFO.js.map
@@ -1,3 +1,6 @@
1
+ import {
2
+ LOOPBACK_HOSTS
3
+ } from "./chunk-LCOCRJ4K.js";
1
4
  import {
2
5
  readEnvVar
3
6
  } from "./chunk-X2NL4KUO.js";
@@ -6,111 +9,6 @@ import {
6
9
  import { existsSync, readdirSync } from "fs";
7
10
  import { homedir } from "os";
8
11
  import { isAbsolute, join, resolve } from "path";
9
-
10
- // src/deploy/local-engine-handshake.ts
11
- var LOOPBACK_HOSTS = ["127.0.0.1", "::1", "localhost"];
12
- var ALLOWED_PROTOCOLS = ["http:", "https:"];
13
- function isLoopbackUrl(url) {
14
- let parsed;
15
- try {
16
- parsed = new URL(url);
17
- } catch {
18
- return false;
19
- }
20
- if (!ALLOWED_PROTOCOLS.includes(parsed.protocol)) return false;
21
- const host = parsed.hostname.replace(/^\[|\]$/g, "");
22
- if (!LOOPBACK_HOSTS.includes(host)) return false;
23
- return /^[0-9]+$/.test(parsed.port);
24
- }
25
- function assertLoopbackUrl(url, what) {
26
- if (isLoopbackUrl(url)) return;
27
- throw new Error(
28
- `${what} reports a url this SDK will not send a token to: ${url}
29
- A Xano Engine has to serve loopback over http on a port of its own \u2014 ${LOOPBACK_HOSTS.join(", ")} \u2014 and anything else is reachable from off this machine. Stop that engine and start a fresh one without binding it to all interfaces.`
30
- );
31
- }
32
- function requireString(raw, key, source) {
33
- const value = raw[key];
34
- if (typeof value !== "string" || value === "") {
35
- throw new Error(
36
- `${source} is missing \`${key}\`, or gave it as something other than text.
37
- That is not an engine this SDK knows how to drive \u2014 the engine on this machine is older or newer than the one it was built against. Move to a current one with \`xanosdk local update\`.`
38
- );
39
- }
40
- return value;
41
- }
42
- function requireNumber(raw, key, source) {
43
- const value = raw[key];
44
- if (typeof value !== "number" || !Number.isFinite(value)) {
45
- throw new Error(
46
- `${source} is missing \`${key}\`, or gave it as something other than a number.
47
- That is not an engine this SDK knows how to drive \u2014 the engine on this machine is older or newer than the one it was built against. Move to a current one with \`xanosdk local update\`.`
48
- );
49
- }
50
- return value;
51
- }
52
- function readEngine(value, source) {
53
- if (value === null || typeof value !== "object" || Array.isArray(value)) {
54
- throw new Error(
55
- `${source} did not print an engine description.
56
- Re-run, and if it happens again fetch a fresh copy with \`xanosdk local cache clear\`, then \`xanosdk deploy --local\`.`
57
- );
58
- }
59
- const raw = value;
60
- return {
61
- name: requireString(raw, "name", source),
62
- url: requireString(raw, "url", source),
63
- workspaceId: requireNumber(raw, "workspace_id", source),
64
- token: requireString(raw, "access_token", source),
65
- pid: requireNumber(raw, "pid", source),
66
- signInUrl: requireString(raw, "sign_in_url", source),
67
- loginLinkEndpoint: requireString(raw, "login_link_endpoint", source),
68
- logPath: requireString(raw, "log", source)
69
- };
70
- }
71
- var HANDSHAKE_SOURCE = "The engine's start handshake";
72
- var LISTING_SOURCE = "The engine's list of running engines";
73
- function parseEngineHandshake(stdout) {
74
- let value;
75
- try {
76
- value = JSON.parse(stdout.trim());
77
- } catch {
78
- throw new Error(
79
- `${HANDSHAKE_SOURCE} did not print an engine description.
80
- Re-run, and if it happens again fetch a fresh copy with \`xanosdk local cache clear\`, then \`xanosdk deploy --local\`.`
81
- );
82
- }
83
- const engine = readEngine(value, HANDSHAKE_SOURCE);
84
- assertLoopbackUrl(engine.url, "The engine that just started");
85
- return engine;
86
- }
87
- function parseEngineListing(stdout) {
88
- const text = stdout.trim();
89
- if (text === "") return [];
90
- let value;
91
- try {
92
- value = JSON.parse(text);
93
- } catch {
94
- throw new Error(
95
- `${LISTING_SOURCE} was not readable.
96
- Re-run, and if it happens again fetch a fresh copy with \`xanosdk local cache clear\`, then \`xanosdk deploy --local\`.`
97
- );
98
- }
99
- if (!Array.isArray(value)) {
100
- throw new Error(
101
- `${LISTING_SOURCE} was not a list.
102
- Re-run, and if it happens again fetch a fresh copy with \`xanosdk local cache clear\`, then \`xanosdk deploy --local\`.`
103
- );
104
- }
105
- return value.filter((entry) => !isForeignEngine(entry)).map((entry) => readEngine(entry, LISTING_SOURCE));
106
- }
107
- function isForeignEngine(entry) {
108
- if (entry === null || typeof entry !== "object" || Array.isArray(entry)) return false;
109
- const raw = entry;
110
- return raw.workspace_id === void 0 && raw.access_token === void 0;
111
- }
112
-
113
- // src/deploy/local-engine-config.ts
114
12
  var SUPPORTED_PLATFORMS = [
115
13
  "darwin-arm64",
116
14
  "linux-x64",
@@ -212,11 +110,6 @@ function resolveEngineSource(flagValue, env = process.env, pinned) {
212
110
  }
213
111
 
214
112
  export {
215
- LOOPBACK_HOSTS,
216
- isLoopbackUrl,
217
- assertLoopbackUrl,
218
- parseEngineHandshake,
219
- parseEngineListing,
220
113
  SUPPORTED_PLATFORMS,
221
114
  resolveEnginePlatform,
222
115
  LOCAL_ENGINE_HOME_ENV,
@@ -234,4 +127,4 @@ export {
234
127
  engineOverrideFromEnv,
235
128
  resolveEngineSource
236
129
  };
237
- //# sourceMappingURL=chunk-PL7AIAWS.js.map
130
+ //# sourceMappingURL=chunk-F3IA3YWI.js.map
@@ -7,7 +7,7 @@ import {
7
7
  parsePathParams,
8
8
  queryKind,
9
9
  warnUnboundReturn
10
- } from "./chunk-VJFMUJWZ.js";
10
+ } from "./chunk-OHTHG3LL.js";
11
11
  import {
12
12
  workspaceKind
13
13
  } from "./chunk-6JAEMMZ7.js";
@@ -16,7 +16,7 @@ import {
16
16
  encodeMcpOauth,
17
17
  refuseUnknown,
18
18
  standaloneDefKind
19
- } from "./chunk-5QMJOE2K.js";
19
+ } from "./chunk-6ZFJEJXZ.js";
20
20
  import {
21
21
  resolveAuthRef
22
22
  } from "./chunk-45ZUMF4E.js";
@@ -68,7 +68,7 @@ import {
68
68
  registerSpec,
69
69
  resolveEnumValue,
70
70
  throwError
71
- } from "./chunk-T4LJ5UR2.js";
71
+ } from "./chunk-6BOKCTCM.js";
72
72
  import {
73
73
  assertCanonical,
74
74
  assertStoredName,
@@ -83,7 +83,7 @@ import {
83
83
  encodeExpression,
84
84
  encodeRuntimeCondition,
85
85
  tableKind
86
- } from "./chunk-SLGJIWCY.js";
86
+ } from "./chunk-B5N6EWOM.js";
87
87
  import {
88
88
  brandDef
89
89
  } from "./chunk-ERVIASGL.js";
@@ -99,7 +99,7 @@ import {
99
99
  } from "./chunk-WTPZRR4I.js";
100
100
  import {
101
101
  emitDiagnostic
102
- } from "./chunk-YHB34BN6.js";
102
+ } from "./chunk-YEH5OIPF.js";
103
103
  import {
104
104
  lockKey
105
105
  } from "./chunk-5KJBWIDZ.js";
@@ -3058,4 +3058,4 @@ export {
3058
3058
  serializeBundle,
3059
3059
  emitBundle
3060
3060
  };
3061
- //# sourceMappingURL=chunk-FQ53GTII.js.map
3061
+ //# sourceMappingURL=chunk-F5RPNTN7.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ENV_WORKSPACE
3
- } from "./chunk-YGLMRH5U.js";
3
+ } from "./chunk-QE2GNFMP.js";
4
4
  import {
5
5
  credentialFileOf
6
- } from "./chunk-N5I37JFB.js";
6
+ } from "./chunk-6S263KTM.js";
7
7
  import {
8
8
  credentialFileFlag,
9
9
  globalAuthFilePath,
@@ -12,14 +12,14 @@ import {
12
12
  readProfile,
13
13
  recordedCredentialPath,
14
14
  sameOriginAs
15
- } from "./chunk-M5CSVB23.js";
15
+ } from "./chunk-IB6SKACE.js";
16
16
  import {
17
17
  readEnvVar
18
18
  } from "./chunk-X2NL4KUO.js";
19
19
  import {
20
20
  CliError,
21
21
  UsageError
22
- } from "./chunk-D7BUMOKU.js";
22
+ } from "./chunk-C6KBZH7M.js";
23
23
  import {
24
24
  shellQuote
25
25
  } from "./chunk-5ZSO4T2G.js";
@@ -65,7 +65,7 @@ async function readReachableWorkspaces(auth, timeoutMs = 3e4) {
65
65
  }
66
66
  }
67
67
  async function whereaboutsOf(auth, name, kinds) {
68
- const { listAllEphemeral } = await import("./ephemeral-BIE6FMJV.js");
68
+ const { listAllEphemeral } = await import("./ephemeral-H24NF6WP.js");
69
69
  const failures = [];
70
70
  const reason = (err) => (err instanceof Error ? err.message : String(err)).split("\n")[0].replace(/[.:]$/, "");
71
71
  const [all, ephemerals] = await Promise.all([
@@ -78,7 +78,7 @@ async function whereaboutsOf(auth, name, kinds) {
78
78
  const listed = ephemerals?.some((r) => r.name === name) === true;
79
79
  if (kinds === "ephemeral" && ephemerals !== void 0 && !listed) return { at: "nowhere" };
80
80
  if (all === void 0) failures.push("the workspace list could not be read");
81
- const { getTenant } = await import("./tenant-EKNQGG5A.js");
81
+ const { getTenant } = await import("./tenant-DAXJ4P4D.js");
82
82
  const others = (all ?? []).filter((w) => w.id !== auth.workspaceId);
83
83
  const found = await Promise.all(
84
84
  others.map(
@@ -162,4 +162,4 @@ export {
162
162
  rerunInWorkspace,
163
163
  heldElsewhereError
164
164
  };
165
- //# sourceMappingURL=chunk-2WBH5HUY.js.map
165
+ //# sourceMappingURL=chunk-FHQYXGAY.js.map
@@ -6,10 +6,7 @@ import {
6
6
  } from "./chunk-X4DVXBFY.js";
7
7
  import {
8
8
  ImportHttpError
9
- } from "./chunk-BL3AZ3AP.js";
10
- import {
11
- describeWrite
12
- } from "./chunk-4KHEMC32.js";
9
+ } from "./chunk-VJTTTIIB.js";
13
10
  import {
14
11
  TransportError,
15
12
  certificateFailureCode,
@@ -26,7 +23,10 @@ import {
26
23
  statusLabel,
27
24
  transportTarget,
28
25
  writeStatusAftermath
29
- } from "./chunk-YR2I5HGE.js";
26
+ } from "./chunk-TR7EOUQE.js";
27
+ import {
28
+ describeWrite
29
+ } from "./chunk-4KHEMC32.js";
30
30
  import {
31
31
  calcSignatureJson,
32
32
  signatureHolds
@@ -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-RN62735X.js");
464
+ const { classifyFailure } = await import("./operation-outcome-4BFISK2R.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-ND43ZOS3.js.map
560
+ //# sourceMappingURL=chunk-FN7E6XGD.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  repoBoundaryFrom
3
- } from "./chunk-ROY4YAEQ.js";
3
+ } from "./chunk-HU7F56VF.js";
4
4
  import {
5
5
  LocalFileNotFoundError
6
- } from "./chunk-D7BUMOKU.js";
6
+ } from "./chunk-C6KBZH7M.js";
7
7
  import {
8
8
  buildContentEnvelope
9
9
  } from "./chunk-7FIMUFBP.js";
@@ -17,10 +17,10 @@ import {
17
17
  seedFailure,
18
18
  tableColumns,
19
19
  tableIndexes
20
- } from "./chunk-SLGJIWCY.js";
20
+ } from "./chunk-B5N6EWOM.js";
21
21
  import {
22
22
  DiagnosticError
23
- } from "./chunk-YHB34BN6.js";
23
+ } from "./chunk-YEH5OIPF.js";
24
24
  import {
25
25
  HOSTED_FILE,
26
26
  HOSTED_FILE_SCHEME,
@@ -404,4 +404,4 @@ export {
404
404
  collectNonPublicSeedValues,
405
405
  seedRowsByTableGuid
406
406
  };
407
- //# sourceMappingURL=chunk-3BBIDW3Y.js.map
407
+ //# sourceMappingURL=chunk-GN5SQMIQ.js.map
@@ -6,13 +6,13 @@ import {
6
6
  startEngine,
7
7
  stopEngineNamed,
8
8
  stopOrphanedEngineProcesses
9
- } from "./chunk-2FLIJGBZ.js";
9
+ } from "./chunk-3UZQ5TMG.js";
10
10
  import {
11
11
  RELEASE_VERSION,
12
12
  readEngineEntry,
13
13
  stageEngine,
14
14
  verifiedEngineExecutable
15
- } from "./chunk-YYLUBYXM.js";
15
+ } from "./chunk-4JKXGPXB.js";
16
16
  import {
17
17
  sha256Hex
18
18
  } from "./chunk-64WWE3EF.js";
@@ -20,43 +20,45 @@ import {
20
20
  normalizeEngineVersion,
21
21
  resolveEngineRelease,
22
22
  usesCustomReleaseManager
23
- } from "./chunk-OIKLDDYC.js";
23
+ } from "./chunk-HFOGQIII.js";
24
24
  import {
25
25
  compareSemver,
26
26
  parseSemver
27
27
  } from "./chunk-2TFRR6JV.js";
28
28
  import {
29
29
  recordDeployed
30
- } from "./chunk-WZHLMU6T.js";
30
+ } from "./chunk-PBK257CI.js";
31
31
  import {
32
32
  ImportHttpError
33
- } from "./chunk-BL3AZ3AP.js";
33
+ } from "./chunk-VJTTTIIB.js";
34
34
  import {
35
35
  engineNameForProject,
36
36
  getEngineRecord,
37
37
  setEngineRecord
38
- } from "./chunk-Q22BMRPF.js";
38
+ } from "./chunk-5Y5HWQ2P.js";
39
39
  import {
40
40
  SUPPORTED_PLATFORMS,
41
- assertLoopbackUrl,
42
41
  expandArchivePath,
43
42
  isTrustedEngineUrl,
44
43
  resolveEnginePlatform
45
- } from "./chunk-PL7AIAWS.js";
44
+ } from "./chunk-F3IA3YWI.js";
46
45
  import {
47
- registerSecret,
48
- tokenTextProblem
49
- } from "./chunk-AWQ7BQTQ.js";
46
+ assertLoopbackUrl
47
+ } from "./chunk-LCOCRJ4K.js";
50
48
  import {
51
49
  TransportError,
52
50
  fetchOrExplain
53
- } from "./chunk-YR2I5HGE.js";
51
+ } from "./chunk-TR7EOUQE.js";
54
52
  import {
55
53
  readEnvVar
56
54
  } from "./chunk-X2NL4KUO.js";
55
+ import {
56
+ registerSecret,
57
+ tokenTextProblem
58
+ } from "./chunk-4GPIOIAC.js";
57
59
  import {
58
60
  UsageError
59
- } from "./chunk-D7BUMOKU.js";
61
+ } from "./chunk-C6KBZH7M.js";
60
62
 
61
63
  // src/deploy/local-engine-release.ts
62
64
  import { readFileSync } from "fs";
@@ -609,4 +611,4 @@ export {
609
611
  restartMismatchedEngine,
610
612
  explainUnsupportedEngineImport
611
613
  };
612
- //# sourceMappingURL=chunk-SSITMX7I.js.map
614
+ //# sourceMappingURL=chunk-H3ZBAR2L.js.map