@xano/sdk 1.0.18 → 1.0.20

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 (236) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +5 -2
  3. package/dist/.build-fingerprint +1 -0
  4. package/dist/{agent-file-refresh-SGM3523M.js → agent-file-refresh-MOEDX5OL.js} +13 -12
  5. package/dist/{agent-skill-command-PZXX7LJD.js → agent-skill-command-A4QEVNTP.js} +49 -52
  6. package/dist/ai-models-command-SN2UKVC5.js +270 -0
  7. package/dist/{answer-shape-ZRQS7ZC4.js → answer-shape-BCGPH73R.js} +5 -5
  8. package/dist/{backend-dir-AZIVCH6Y.js → backend-dir-66VVLCUF.js} +16 -15
  9. package/dist/{backend-slot-7BATLL3X.js → backend-slot-WSWAHL2W.js} +3 -3
  10. package/dist/bin.js +53 -52
  11. package/dist/{branch-SJKKUCMZ.js → branch-6DBHVVUT.js} +11 -11
  12. package/dist/{branch-commands-JE5RDJPH.js → branch-commands-KUEGS6XL.js} +29 -29
  13. package/dist/bundle.js +3 -3
  14. package/dist/{chunk-77QKU5H6.js → chunk-2SWJ3267.js} +40 -22
  15. package/dist/{chunk-DCD3KJ4B.js → chunk-2VHEZDZZ.js} +35 -35
  16. package/dist/{chunk-HFH72FBC.js → chunk-34OZQNKR.js} +4 -4
  17. package/dist/chunk-37BT62SX.js +17 -0
  18. package/dist/{chunk-CF26RMO5.js → chunk-3H765RXT.js} +7 -7
  19. package/dist/{chunk-2IC3K22K.js → chunk-3HK7VELD.js} +2 -2
  20. package/dist/{chunk-XBCTTJSQ.js → chunk-3OR2RCXJ.js} +118 -94
  21. package/dist/{chunk-ZYZ7GRX3.js → chunk-4DVP42ZC.js} +2 -2
  22. package/dist/{chunk-NJCHWEPU.js → chunk-4GI22VPJ.js} +6 -6
  23. package/dist/{chunk-UIHLO3HJ.js → chunk-4PHCBKJI.js} +7 -7
  24. package/dist/{chunk-ROWYW3JF.js → chunk-4QRDNBPY.js} +2 -2
  25. package/dist/{chunk-SINL5WMI.js → chunk-4Y3SWNPE.js} +2 -2
  26. package/dist/{chunk-6SEPZQYB.js → chunk-4ZV4MDKP.js} +2 -2
  27. package/dist/{chunk-LLJL44WF.js → chunk-52VELHIH.js} +3 -3
  28. package/dist/{chunk-IFHFJR5O.js → chunk-5ABAIJVV.js} +6 -6
  29. package/dist/{chunk-MCISY4QC.js → chunk-5BLBX2Q5.js} +13 -10
  30. package/dist/chunk-5KSVMHFS.js +81 -0
  31. package/dist/{chunk-MOVRSULZ.js → chunk-5Z4WQQHC.js} +2 -2
  32. package/dist/{chunk-ZHFSIQ6E.js → chunk-6534P3VH.js} +25 -2
  33. package/dist/{chunk-Q6AKSLD2.js → chunk-6L32HAIP.js} +2 -2
  34. package/dist/chunk-6SXKKDGF.js +9 -0
  35. package/dist/{chunk-OTQF4B37.js → chunk-6TAYTKFM.js} +4 -4
  36. package/dist/{chunk-7UQZ7C4W.js → chunk-745NOWB7.js} +6 -6
  37. package/dist/{chunk-XAE4NIZ2.js → chunk-7J7YRAZB.js} +4 -4
  38. package/dist/{chunk-E34VGSCI.js → chunk-7LLVSTXY.js} +9 -1
  39. package/dist/{chunk-OJFBI5C6.js → chunk-7Z43XRBL.js} +14 -14
  40. package/dist/{chunk-BWD5H7AW.js → chunk-AD7YILOU.js} +10 -10
  41. package/dist/{chunk-AICWDCLJ.js → chunk-BBFHZMQA.js} +2 -2
  42. package/dist/{chunk-CRCYD6AK.js → chunk-BFM2P47R.js} +6 -6
  43. package/dist/{chunk-BQMX7PYG.js → chunk-C6ERQFEB.js} +4 -4
  44. package/dist/{chunk-54CJ74BH.js → chunk-C7KO5KKB.js} +4 -4
  45. package/dist/chunk-CBACTYIC.js +278 -0
  46. package/dist/{chunk-V2MIBJZU.js → chunk-CGLYG2VF.js} +2 -2
  47. package/dist/{chunk-Z73I7Q2H.js → chunk-CJ5WRCVE.js} +80 -2
  48. package/dist/{chunk-JTUMJXFN.js → chunk-CJIXD67B.js} +6 -6
  49. package/dist/{chunk-S4ZWOBRO.js → chunk-CP7OSHLK.js} +8 -8
  50. package/dist/{chunk-E3OLY3J4.js → chunk-CPR2F3WN.js} +9 -9
  51. package/dist/{chunk-WGKKDGSA.js → chunk-DAXFWXSV.js} +8 -8
  52. package/dist/{chunk-MSYMEP7Y.js → chunk-DJ7JH4UE.js} +7 -7
  53. package/dist/{chunk-XDGLYIB2.js → chunk-DORGB2Y2.js} +2 -2
  54. package/dist/{chunk-NEPSEJRV.js → chunk-E7YXNU57.js} +7 -7
  55. package/dist/{chunk-GA6HTO3O.js → chunk-EBSJUSID.js} +2 -2
  56. package/dist/{chunk-UBM7L5KL.js → chunk-EJXJE2H3.js} +49 -49
  57. package/dist/{chunk-O2BLNQEC.js → chunk-EME5G4YP.js} +2 -2
  58. package/dist/{chunk-RVWWNNZQ.js → chunk-EOWNLLLV.js} +4 -4
  59. package/dist/{chunk-QIT2GGNB.js → chunk-EPD5J3WA.js} +2 -2
  60. package/dist/{chunk-7B2KH733.js → chunk-EQ2KB5YF.js} +4 -13
  61. package/dist/{chunk-GT7PZCTK.js → chunk-FVBJKM6N.js} +3 -3
  62. package/dist/{chunk-F3IA3YWI.js → chunk-FVZ5C3PF.js} +22 -2
  63. package/dist/{chunk-LMCZQLM4.js → chunk-G3ZUGFIS.js} +9 -9
  64. package/dist/{chunk-RKTVXFBV.js → chunk-GUHJV7C5.js} +31 -3
  65. package/dist/{chunk-VVZFTYQ3.js → chunk-HGUQIBYY.js} +8 -8
  66. package/dist/{chunk-FCAKYFC6.js → chunk-HUXMRYUX.js} +3 -3
  67. package/dist/{chunk-G2XSDIYS.js → chunk-I52AKG2O.js} +4 -4
  68. package/dist/{chunk-VCFRALU7.js → chunk-I5YD7QPI.js} +28 -11
  69. package/dist/{chunk-YYBBJPCL.js → chunk-IUBGFCJJ.js} +14 -18
  70. package/dist/{chunk-UH5VQGNR.js → chunk-JXX2QXPP.js} +2 -2
  71. package/dist/{chunk-2DUYJR5N.js → chunk-KHX6VQ4M.js} +2 -2
  72. package/dist/{chunk-7SDCWYAQ.js → chunk-KMXXOJL2.js} +21 -19
  73. package/dist/{chunk-IFNSUPQL.js → chunk-KNLPGIRY.js} +8 -8
  74. package/dist/{chunk-ID7MIDLG.js → chunk-LLG33KGY.js} +26 -26
  75. package/dist/{chunk-WGGATSIP.js → chunk-LMX4VE4H.js} +2 -2
  76. package/dist/{chunk-DXUICABI.js → chunk-LZDH5COS.js} +21 -2
  77. package/dist/{chunk-E5M5P23K.js → chunk-M5GXZEX7.js} +21 -215
  78. package/dist/{chunk-OO2JDYQH.js → chunk-MAAQ4ZSN.js} +73 -73
  79. package/dist/{chunk-Q4LJCCH5.js → chunk-MGC5S6OE.js} +75 -9
  80. package/dist/{chunk-5Y5HWQ2P.js → chunk-MKRREVNB.js} +4 -4
  81. package/dist/{chunk-H4CS4WPM.js → chunk-OAWBNCME.js} +24 -24
  82. package/dist/{chunk-64UVVLDT.js → chunk-OG6WYZNA.js} +7 -7
  83. package/dist/{chunk-AJBOGO5U.js → chunk-OQMXCNN7.js} +59 -31
  84. package/dist/{chunk-EPB6FAR5.js → chunk-OSMPI45P.js} +3 -3
  85. package/dist/{chunk-3X4B5GWY.js → chunk-P3WIMLG2.js} +3 -3
  86. package/dist/{chunk-GJZMKMWO.js → chunk-PC7XEO7F.js} +2 -2
  87. package/dist/{chunk-MF4W6FHU.js → chunk-Q4R2ABFL.js} +1 -1
  88. package/dist/{chunk-SJW6R6P4.js → chunk-QBSSSKIC.js} +3 -3
  89. package/dist/{chunk-NH5Z2NOD.js → chunk-QZ2PC6B7.js} +3 -3
  90. package/dist/{chunk-LCOCRJ4K.js → chunk-RQGSZ7AR.js} +16 -2
  91. package/dist/{chunk-ZNHO535R.js → chunk-RSWPVU6X.js} +8 -8
  92. package/dist/chunk-RVBDZMCC.js +264 -0
  93. package/dist/{chunk-WLZSKD7E.js → chunk-SQVETROU.js} +3 -3
  94. package/dist/{chunk-HERXDPZS.js → chunk-SWQA6SZI.js} +113 -94
  95. package/dist/{chunk-EXY42CTV.js → chunk-T6GI2AFJ.js} +16 -16
  96. package/dist/{chunk-FRJB3NTE.js → chunk-T6KQYCAU.js} +3 -3
  97. package/dist/{chunk-YYDM4DNP.js → chunk-TDSRZDQP.js} +2 -2
  98. package/dist/{chunk-YQQSFS7S.js → chunk-TEZKQQDT.js} +46 -44
  99. package/dist/{chunk-X2IQOLQD.js → chunk-TN7ZBZRW.js} +3 -3
  100. package/dist/{chunk-X4G7FGHS.js → chunk-UN73LNM5.js} +4 -4
  101. package/dist/{chunk-RKNCISPM.js → chunk-VEA6EXJL.js} +3 -3
  102. package/dist/{chunk-6FCAFWD5.js → chunk-VO62TKK5.js} +3 -77
  103. package/dist/{chunk-HM5X73PY.js → chunk-WK5QDV25.js} +2 -2
  104. package/dist/{chunk-Q2KVGISJ.js → chunk-X3LYWTZ5.js} +3 -3
  105. package/dist/{chunk-CO7US54H.js → chunk-X7IBJLAD.js} +2 -2
  106. package/dist/{chunk-PKBC7G5H.js → chunk-XDIPEWLU.js} +25 -1
  107. package/dist/{chunk-OJ6YGRPV.js → chunk-YAZEB255.js} +3 -3
  108. package/dist/{chunk-RGPHFHJU.js → chunk-YFVD3LNL.js} +2 -2
  109. package/dist/{chunk-NAXUCAOK.js → chunk-YRLSJBSY.js} +71 -49
  110. package/dist/{chunk-35SI4GBM.js → chunk-YSSAJQH4.js} +3 -3
  111. package/dist/{chunk-UQNDODRU.js → chunk-Z7IINILG.js} +5 -5
  112. package/dist/{chunk-PRSNMSVG.js → chunk-ZCXWOGFL.js} +3 -3
  113. package/dist/cli.d.ts +10 -1
  114. package/dist/cli.js +48 -47
  115. package/dist/{codegen-command-YGGEC2DV.js → codegen-command-GGGU6YAP.js} +68 -67
  116. package/dist/{commands-Z2QZOORB.js → commands-EN4RLPOP.js} +2 -2
  117. package/dist/{completion-LFXXNQGR.js → completion-KH45QD3E.js} +2 -2
  118. package/dist/{config-7GGINOFY.js → config-AKHBFTKA.js} +8 -8
  119. package/dist/{deploy-command-SX4DWRVS.js → deploy-command-WOHYD22D.js} +55 -54
  120. package/dist/{deploy-source-T6BR3APS.js → deploy-source-QK7Y4Y3V.js} +34 -34
  121. package/dist/{dev-env-sync-4XFB63CM.js → dev-env-sync-AMFPULCP.js} +51 -50
  122. package/dist/{display-name-hint-5GLJGPQ6.js → display-name-hint-QMT562BI.js} +13 -13
  123. package/dist/{emit-DlOKIJER.d.ts → emit-BfHifhJy.d.ts} +120 -7
  124. package/dist/{env-example-refresh-N3JPECAZ.js → env-example-refresh-F5RTDVJ5.js} +69 -68
  125. package/dist/{env-pull-command-EAWIS3IW.js → env-pull-command-J2ARE33T.js} +52 -51
  126. package/dist/{env-target-RZBM6SOB.js → env-target-WA4BR6GW.js} +13 -13
  127. package/dist/{env-var-command-K2OASTSZ.js → env-var-command-WEC22FI5.js} +55 -55
  128. package/dist/{ephemeral-2DXWP3VK.js → ephemeral-MNHEWSZ6.js} +11 -11
  129. package/dist/{ephemeral-command-FZLJJICY.js → ephemeral-command-EJLS42VJ.js} +64 -63
  130. package/dist/{ephemeral-state-56XEDUJW.js → ephemeral-state-QTT5JHD5.js} +11 -11
  131. package/dist/{generate-command-IQVETHTK.js → generate-command-2WHFL4CB.js} +77 -76
  132. package/dist/{gitignore-3REKZPQI.js → gitignore-OKB3X335.js} +19 -18
  133. package/dist/{guards-LQ7PSXOL.js → guards-N4PUFKN5.js} +3 -2
  134. package/dist/{impersonate-command-K4775AUM.js → impersonate-command-EIWI3FBD.js} +44 -43
  135. package/dist/{import-VJQGIS33.js → import-7HFTOT7M.js} +5 -5
  136. package/dist/index.d.ts +142 -7
  137. package/dist/index.js +7 -6
  138. package/dist/{init-command-SODVHEI6.js → init-command-POIWZKZ4.js} +52 -51
  139. package/dist/{init-modules-WJOEK2YW.js → init-modules-S7BR4NIJ.js} +11 -9
  140. package/dist/{init-web-25QJ4JWB.js → init-web-YCPD6BYN.js} +2 -2
  141. package/dist/internal.d.ts +4 -4
  142. package/dist/internal.js +169 -30
  143. package/dist/{keep-data-merge-CHOKIJS5.js → keep-data-merge-NXP77QML.js} +32 -31
  144. package/dist/{landing-record-KJTRWFK6.js → landing-record-MK44WCRY.js} +23 -22
  145. package/dist/{live-diff-YOFOJCFX.js → live-diff-GZ6JUNP6.js} +5 -4
  146. package/dist/local-engine-ai-3XLJLOBP.js +47 -0
  147. package/dist/{local-engine-choice-4K5FTSHE.js → local-engine-choice-7QBML5XF.js} +43 -37
  148. package/dist/local-engine-command-N7VDPABW.js +93 -0
  149. package/dist/{local-engine-config-6CB6FOEJ.js → local-engine-config-MVNWKHZ4.js} +15 -3
  150. package/dist/{local-engine-deploy-XAEDT55W.js → local-engine-deploy-RYZZYEDQ.js} +21 -18
  151. package/dist/{local-engine-lookup-WBYTY2JE.js → local-engine-lookup-2VSUWEQY.js} +6 -6
  152. package/dist/{local-engine-mcp-bridge-3H5OXBWQ.js → local-engine-mcp-bridge-ECGTK7LF.js} +6 -6
  153. package/dist/{local-engine-mcp-command-FM4FOZ42.js → local-engine-mcp-command-A257D3WK.js} +52 -45
  154. package/dist/{local-engine-process-35B2KQED.js → local-engine-process-P5T2766M.js} +19 -11
  155. package/dist/local-engine-release-OK6GKULS.js +40 -0
  156. package/dist/{local-engine-state-JZHTKHDG.js → local-engine-state-BOKHLNRQ.js} +4 -4
  157. package/dist/{local-engine-update-check-VXJZSIJU.js → local-engine-update-check-C72LSVUQ.js} +7 -7
  158. package/dist/{lock-commands-BLCJIVCC.js → lock-commands-KMWLIGT2.js} +55 -54
  159. package/dist/{login-command-PTYSRF45.js → login-command-E2KMN6DV.js} +39 -33
  160. package/dist/{logout-command-BIO63CXY.js → logout-command-AIB446AQ.js} +16 -17
  161. package/dist/{loop-CLLBQSJF.js → loop-EMTBWN4X.js} +5 -4
  162. package/dist/{marketplace-command-TEUCQBL5.js → marketplace-command-YLBFUBHL.js} +42 -41
  163. package/dist/{marketplace-resolve-63QWMQZU.js → marketplace-resolve-LT76KHJD.js} +9 -7
  164. package/dist/{meta-client-JY7JXDU2.js → meta-client-AOPF5IQN.js} +15 -15
  165. package/dist/{module-manifest-NWJWAQLQ.js → module-manifest-B432UFBK.js} +3 -3
  166. package/dist/node.d.ts +5 -5
  167. package/dist/node.js +61 -60
  168. package/dist/{operation-outcome-ATGF6RR4.js → operation-outcome-GBSISFAP.js} +26 -26
  169. package/dist/{output-target-ZCM4XYQA.js → output-target-NHJLT4YI.js} +20 -19
  170. package/dist/{plan-disclosure-XTAEE4BE.js → plan-disclosure-5HM7CMRW.js} +19 -18
  171. package/dist/{plugin-contributions-DD6R6RL6.js → plugin-contributions-MEXUR7TY.js} +4 -4
  172. package/dist/{plugin-prompt-UX2TT5NS.js → plugin-prompt-XM4ATAWA.js} +4 -4
  173. package/dist/{plugin-questions-WE2F4ZC4.js → plugin-questions-VGU3B4LE.js} +3 -3
  174. package/dist/{preflight-command-AXBQADFL.js → preflight-command-O52GLYGA.js} +60 -59
  175. package/dist/{profile-command-JZ5PLHJH.js → profile-command-NOKUVV3M.js} +38 -37
  176. package/dist/{profile-pointer-RCPHVTJV.js → profile-pointer-DHOU26Q2.js} +5 -5
  177. package/dist/{profile-select-45G5VPJK.js → profile-select-ZANK43KE.js} +2 -2
  178. package/dist/project-config-SGRYMHBT.js +37 -0
  179. package/dist/{project-dependency-TPVV3YIX.js → project-dependency-WTH776QE.js} +10 -8
  180. package/dist/{project-sdk-DKZBK5H5.js → project-sdk-FYNY7RTO.js} +3 -3
  181. package/dist/promote-command-2NMTINVS.js +150 -0
  182. package/dist/{prompt-OYQHQWKI.js → prompt-JVYQH4OR.js} +3 -3
  183. package/dist/{publish-command-VBFNWVEF.js → publish-command-LB2XULJA.js} +65 -64
  184. package/dist/{pull-command-4YGZSRGU.js → pull-command-UVNPFY2E.js} +71 -70
  185. package/dist/{pull-superseded-3SSM3JFT.js → pull-superseded-7EZ7M54I.js} +3 -3
  186. package/dist/{release-command-SSRQMIT2.js → release-command-BGSDY3BE.js} +66 -65
  187. package/dist/{release-ns-command-ISFM36YJ.js → release-ns-command-IVXK7HEG.js} +93 -92
  188. package/dist/{retry-command-WP4ZI6CJ.js → retry-command-HG4IFE65.js} +10 -10
  189. package/dist/{routes-manifest-file-ZZS5TNGT.js → routes-manifest-file-3MDX3JB3.js} +4 -4
  190. package/dist/{secrets-file-JFCORQT7.js → secrets-file-NFNUKRGZ.js} +19 -18
  191. package/dist/{secrets-fill-command-5RJ2HSI5.js → secrets-fill-command-U5L7IKUO.js} +52 -51
  192. package/dist/{seed-W5FNE6IB.js → seed-M33F4OJW.js} +3 -3
  193. package/dist/{source-resolve-LP6MCOQX.js → source-resolve-MAMVIHDF.js} +24 -24
  194. package/dist/{static-host-3HPZKVKK.js → static-host-HCKD26Q3.js} +5 -5
  195. package/dist/{status-command-GXX4MZBC.js → status-command-VXIN37ET.js} +53 -78
  196. package/dist/{store-Dg9FLJkx.d.ts → store-Dt-5vOSe.d.ts} +149 -1
  197. package/dist/{store-B63BQV6R.js → store-ZWQFSXH5.js} +8 -8
  198. package/dist/{sync-baseline-LSGKNCKM.js → sync-baseline-XLRJQZCS.js} +7 -6
  199. package/dist/{sync-contributions-PQTTCY2O.js → sync-contributions-PGMYJKLG.js} +17 -13
  200. package/dist/{sync-record-AWFCSS4D.js → sync-record-UFEJDNLR.js} +13 -13
  201. package/dist/{table-WJ7YDJ6Q.js → table-JHPGUJ2Z.js} +6 -6
  202. package/dist/{tables-command-5MLGODGI.js → tables-command-FNBHVJG3.js} +41 -41
  203. package/dist/{tenant-IXIW3FOI.js → tenant-SSWC7B3V.js} +12 -12
  204. package/dist/{tenant-command-UDZUIOTO.js → tenant-command-PHNX3PXS.js} +96 -95
  205. package/dist/{test-command-7CUROW3U.js → test-command-DMMF3RMK.js} +44 -44
  206. package/dist/{tests-N4MMBABH.js → tests-ZFQWDWS2.js} +6 -6
  207. package/dist/{token-DTFJJYQH.js → token-IHOPB74T.js} +14 -13
  208. package/dist/{toolchain-hooks-IJWV3ZQS.js → toolchain-hooks-IRPM6LYL.js} +3 -3
  209. package/dist/{toolchain-modules-GQIMMMZL.js → toolchain-modules-V56JXU2E.js} +9 -5
  210. package/dist/{toolchain-peers-EMOYN4U7.js → toolchain-peers-NOIM44ED.js} +11 -9
  211. package/dist/{tracked-backend-2MG4D4ZJ.js → tracked-backend-VKWZKKBG.js} +39 -37
  212. package/dist/{update-check-H774KJVG.js → update-check-DZ4YVDNS.js} +51 -50
  213. package/dist/{upgrade-command-MLBXEIKR.js → upgrade-command-EP5WQWFA.js} +55 -54
  214. package/dist/{whoami-command-SYRDCTDK.js → whoami-command-UV6EEDBY.js} +15 -16
  215. package/dist/{workspace-RMSSZKNV.js → workspace-6LVJ3LZE.js} +5 -5
  216. package/dist/{workspace-binding-ZQSANRJF.js → workspace-binding-AUZIERMF.js} +14 -15
  217. package/dist/{workspace-command-X3ACS6X4.js → workspace-command-VXOY6KPE.js} +96 -95
  218. package/dist/{workspace-env-XA57JKVH.js → workspace-env-ZNGE3DFN.js} +17 -16
  219. package/dist/{workspace-export-3KMWNZDD.js → workspace-export-A4L6272C.js} +5 -5
  220. package/dist/{writable-X7BCN7XE.js → writable-762DMPHW.js} +3 -3
  221. package/dist/{xano-RLSNDM7O.js → xano-XZN5SRDH.js} +4 -3
  222. package/dist/{xanosdk-import-562F4G3K.js → xanosdk-import-FENZ7XMW.js} +6 -6
  223. package/dist/{xanosdk-project-J2JVTSVJ.js → xanosdk-project-K4RKLLNO.js} +16 -15
  224. package/guides/cli.md +3 -0
  225. package/guides/coverage.md +4 -4
  226. package/llms/kinds-agent-mcp.md +3 -1
  227. package/llms/statements-ai.md +21 -0
  228. package/llms/statements-catalog.md +1 -8
  229. package/llms-full.txt +33 -18
  230. package/llms.txt +7 -9
  231. package/manifest.json +651 -3
  232. package/package.json +2 -1
  233. package/skills/xano-backend/SKILL.md +2 -4
  234. package/dist/chunk-VYJYDMY6.js +0 -9
  235. package/dist/local-engine-command-CUBWYENJ.js +0 -86
  236. package/dist/promote-command-25OWDQVE.js +0 -149
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  retryCommand,
3
3
  withheldNote
4
- } from "./chunk-GJZMKMWO.js";
4
+ } from "./chunk-PC7XEO7F.js";
5
5
  import {
6
6
  contextFlags
7
- } from "./chunk-ZYZ7GRX3.js";
7
+ } from "./chunk-4DVP42ZC.js";
8
8
  import {
9
9
  READ_AFTERMATH,
10
10
  SENT_AFTERMATH,
11
11
  closeSentence
12
- } from "./chunk-NH5Z2NOD.js";
12
+ } from "./chunk-QZ2PC6B7.js";
13
13
  import {
14
14
  UsageError,
15
15
  detail,
16
16
  pastePath,
17
17
  warn
18
- } from "./chunk-ZHFSIQ6E.js";
18
+ } from "./chunk-6534P3VH.js";
19
19
  import {
20
20
  shellQuote
21
21
  } from "./chunk-5ZSO4T2G.js";
22
22
 
23
23
  // src/emit/static-teardown.ts
24
24
  async function readStaticTeardown(auth, target, recorded) {
25
- const { listServingStaticHosts } = await import("./static-host-3HPZKVKK.js");
25
+ const { listServingStaticHosts } = await import("./static-host-HCKD26Q3.js");
26
26
  try {
27
27
  const serving = await listServingStaticHosts({ ...target, accessToken: auth.access_token });
28
28
  const urls = serving.map((s) => s.url);
@@ -130,7 +130,7 @@ function survivingRemedy(args, command) {
130
130
  async function assertStaticHostExists(args, auth, target) {
131
131
  const host = namedStaticHost(args);
132
132
  if (host === void 0) return;
133
- const { listStaticHostNames, StaticHostNotFoundError } = await import("./static-host-3HPZKVKK.js");
133
+ const { listStaticHostNames, StaticHostNotFoundError } = await import("./static-host-HCKD26Q3.js");
134
134
  let names;
135
135
  try {
136
136
  names = await listStaticHostNames({ ...target, accessToken: auth.access_token });
@@ -215,4 +215,4 @@ export {
215
215
  EXIT_STATIC_FAILED,
216
216
  unknownStaticOutcome
217
217
  };
218
- //# sourceMappingURL=chunk-MSYMEP7Y.js.map
218
+ //# sourceMappingURL=chunk-DJ7JH4UE.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-WAVNUTMT.js";
4
4
  import {
5
5
  UsageError
6
- } from "./chunk-ZHFSIQ6E.js";
6
+ } from "./chunk-6534P3VH.js";
7
7
 
8
8
  // src/emit/module-manifest.ts
9
9
  import { existsSync, readFileSync, statSync } from "fs";
@@ -179,4 +179,4 @@ export {
179
179
  loadFile,
180
180
  homepageOf
181
181
  };
182
- //# sourceMappingURL=chunk-XDGLYIB2.js.map
182
+ //# sourceMappingURL=chunk-DORGB2Y2.js.map
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  contextFlags
3
- } from "./chunk-ZYZ7GRX3.js";
3
+ } from "./chunk-4DVP42ZC.js";
4
4
  import {
5
5
  backendDirFor,
6
6
  backendDirIn
7
- } from "./chunk-Q2KVGISJ.js";
8
- import {
9
- atomicWrite
10
- } from "./chunk-LLNZGEFK.js";
7
+ } from "./chunk-X3LYWTZ5.js";
11
8
  import {
12
9
  projectRootFrom
13
10
  } from "./chunk-HU7F56VF.js";
11
+ import {
12
+ atomicWrite
13
+ } from "./chunk-LLNZGEFK.js";
14
14
  import {
15
15
  LocalFileNotFoundError,
16
16
  displayPath,
17
17
  relForwardSlash
18
- } from "./chunk-ZHFSIQ6E.js";
18
+ } from "./chunk-6534P3VH.js";
19
19
  import {
20
20
  normalizeDocumentationScopeKey
21
21
  } from "./chunk-3JDU4VRL.js";
@@ -127,4 +127,4 @@ export {
127
127
  entryWordOf,
128
128
  readSecretsFile
129
129
  };
130
- //# sourceMappingURL=chunk-NEPSEJRV.js.map
130
+ //# sourceMappingURL=chunk-E7YXNU57.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  httpFailure
3
- } from "./chunk-NH5Z2NOD.js";
3
+ } from "./chunk-QZ2PC6B7.js";
4
4
 
5
5
  // src/deploy/import.ts
6
6
  var ImportHttpError = class extends Error {
@@ -23,4 +23,4 @@ export {
23
23
  ImportHttpError,
24
24
  isSignatureRefusal
25
25
  };
26
- //# sourceMappingURL=chunk-GA6HTO3O.js.map
26
+ //# sourceMappingURL=chunk-EBSJUSID.js.map
@@ -3,21 +3,21 @@ import {
3
3
  } from "./chunk-SVQMDVND.js";
4
4
  import {
5
5
  questionOrCancel
6
- } from "./chunk-AICWDCLJ.js";
6
+ } from "./chunk-BBFHZMQA.js";
7
7
  import {
8
8
  ensureWorkspaceEnvGitignored
9
- } from "./chunk-HFH72FBC.js";
9
+ } from "./chunk-34OZQNKR.js";
10
10
  import {
11
11
  readVersion
12
- } from "./chunk-XBCTTJSQ.js";
12
+ } from "./chunk-3OR2RCXJ.js";
13
13
  import {
14
14
  WORKSPACE_ENV_EXAMPLE_FILE,
15
15
  renderWorkspaceEnvExample
16
- } from "./chunk-X4G7FGHS.js";
16
+ } from "./chunk-UN73LNM5.js";
17
17
  import {
18
18
  parseSlot,
19
19
  requireBackendSlot
20
- } from "./chunk-V2MIBJZU.js";
20
+ } from "./chunk-CGLYG2VF.js";
21
21
  import {
22
22
  MERGED_IN_EXISTING,
23
23
  XANO_DIR,
@@ -26,7 +26,7 @@ import {
26
26
  existingProjectClashes,
27
27
  isNonEmptyDir,
28
28
  scaffoldProject
29
- } from "./chunk-7B2KH733.js";
29
+ } from "./chunk-EQ2KB5YF.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-JTUMJXFN.js";
37
+ } from "./chunk-CJIXD67B.js";
38
38
  import {
39
39
  npmViewVersion
40
40
  } from "./chunk-ZFDZKNGG.js";
@@ -43,14 +43,7 @@ import {
43
43
  } from "./chunk-FWD7AL6N.js";
44
44
  import {
45
45
  isLocalSpecifier
46
- } from "./chunk-YYBBJPCL.js";
47
- import {
48
- readToolchainBlock,
49
- readToolchainConfig
50
- } from "./chunk-DXUICABI.js";
51
- import {
52
- statusLabel
53
- } from "./chunk-NH5Z2NOD.js";
46
+ } from "./chunk-IUBGFCJJ.js";
54
47
  import {
55
48
  detectInstallRoot,
56
49
  detectPackageManager,
@@ -62,7 +55,14 @@ import {
62
55
  localPathOf,
63
56
  packageNameOf,
64
57
  readInstalledManifestState
65
- } from "./chunk-XDGLYIB2.js";
58
+ } from "./chunk-DORGB2Y2.js";
59
+ import {
60
+ readToolchainBlock,
61
+ readToolchainConfig
62
+ } from "./chunk-LZDH5COS.js";
63
+ import {
64
+ statusLabel
65
+ } from "./chunk-QZ2PC6B7.js";
66
66
  import {
67
67
  readEnvVar
68
68
  } from "./chunk-X2NL4KUO.js";
@@ -128,7 +128,7 @@ import {
128
128
  unknownFlag,
129
129
  warn,
130
130
  writeJson
131
- } from "./chunk-ZHFSIQ6E.js";
131
+ } from "./chunk-6534P3VH.js";
132
132
  import {
133
133
  suggest
134
134
  } from "./chunk-UTI5G6OJ.js";
@@ -649,8 +649,8 @@ Nothing was written. ` + (process.stdin.isTTY === true ? `Re-run with --force to
649
649
  ...listed.length > 30 ? [`\u2026 and ${listed.length - 30} more`] : []
650
650
  ]);
651
651
  if (args.yes === true) return scripts;
652
- const { confirm } = await import("./prompt-OYQHQWKI.js");
653
- const { yesRerun } = await import("./retry-command-WP4ZI6CJ.js");
652
+ const { confirm } = await import("./prompt-JVYQH4OR.js");
653
+ const { yesRerun } = await import("./retry-command-HG4IFE65.js");
654
654
  const { rerun, note } = yesRerun(args, "init");
655
655
  const noun = scripts.length === 0 ? "file" : changed.length === 0 ? "script" : "file and script";
656
656
  const ok = await confirm(
@@ -725,7 +725,7 @@ async function runInitCommand(args) {
725
725
  }
726
726
  const source = resolveFromSource(args.from);
727
727
  if (source.kind === "file") await refuseUnknownProfileFlag(args, resolve(args.positionals[0] ?? "."));
728
- const { runInitFromCommand } = await import("./codegen-command-YGGEC2DV.js");
728
+ const { runInitFromCommand } = await import("./codegen-command-GGGU6YAP.js");
729
729
  return runInitFromCommand(args, source);
730
730
  }
731
731
  rejectPullOnlyFlags(args);
@@ -745,10 +745,10 @@ async function runInitCommand(args) {
745
745
  return flagNames().includes(bare) || bare.startsWith("no-") && flagNames().includes(bare.slice(3));
746
746
  });
747
747
  if (unclaimable.length > 0) throw unknownFlag(unclaimable, { command: "init" });
748
- const { refusePlugAndPlay } = await import("./project-dependency-TPVV3YIX.js");
749
- const { retryCommand } = await import("./retry-command-WP4ZI6CJ.js");
748
+ const { refusePlugAndPlay } = await import("./project-dependency-WTH776QE.js");
749
+ const { retryCommand } = await import("./retry-command-HG4IFE65.js");
750
750
  refusePlugAndPlay(targetDir, retryCommand(args, { command: "init" }).command);
751
- const { resolveMarketplaceSpecs, withCatalogueRerun } = await import("./marketplace-resolve-63QWMQZU.js");
751
+ const { resolveMarketplaceSpecs, withCatalogueRerun } = await import("./marketplace-resolve-LT76KHJD.js");
752
752
  const resolvedModules = typedModules.length === 0 ? [] : await resolveMarketplaceSpecs(typedModules, "xanosdk init --marketplace").catch(async (err) => {
753
753
  throw await withCatalogueRerun(err, args, "init");
754
754
  });
@@ -782,20 +782,20 @@ async function runInitCommand(args) {
782
782
  blank();
783
783
  moduleOutcome = await installModules(targetDir, modules);
784
784
  if (moduleOutcome.toolchain.length > 0) {
785
- const { addToolchainPeers } = await import("./toolchain-peers-EMOYN4U7.js");
785
+ const { addToolchainPeers } = await import("./toolchain-peers-NOIM44ED.js");
786
786
  const rerun = retryCommand(args, { command: "init" }).command;
787
787
  for (const pkg of moduleOutcome.toolchain) await addToolchainPeers(targetDir, pkg, rerun);
788
788
  }
789
789
  }
790
790
  let scaffolded = false;
791
791
  try {
792
- const { discoverToolchainPlugins } = await import("./toolchain-modules-GQIMMMZL.js");
792
+ const { discoverToolchainPlugins } = await import("./toolchain-modules-V56JXU2E.js");
793
793
  const toolchain = await discoverToolchainPlugins(targetDir, { frozen: false, configuring: true });
794
794
  const preset = flagFrontend !== void 0 ? flagFrontend : await resolveFrontendPreset(args.framework);
795
795
  if (preset === null && flagFrontend === void 0) refuseFrontendOnlyFlags(args, "no frontend was chosen");
796
796
  const choice = await resolveThemeChoice(args);
797
- const { pluginPrompter } = await import("./plugin-prompt-UX2TT5NS.js");
798
- const { contributionOutcomes, recordedConfig, runPluginQuestionnaire } = await import("./plugin-contributions-DD6R6RL6.js");
797
+ const { pluginPrompter } = await import("./plugin-prompt-XM4ATAWA.js");
798
+ const { contributionOutcomes, recordedConfig, runPluginQuestionnaire } = await import("./plugin-contributions-MEXUR7TY.js");
799
799
  const { answers: pluginAnswers } = await runPluginQuestionnaire(toolchain.loaded, {
800
800
  host: "init",
801
801
  unknownFlags: args.unknownFlags,
@@ -921,10 +921,10 @@ async function runInitCommand(args) {
921
921
  }
922
922
  }
923
923
  if (result.install === "installed") {
924
- const { skewedProjectSdk } = await import("./project-sdk-DKZBK5H5.js");
924
+ const { skewedProjectSdk } = await import("./project-sdk-FYNY7RTO.js");
925
925
  const installedSdk = skewedProjectSdk(targetDir, readVersion());
926
926
  if (installedSdk !== void 0) {
927
- const { reconcileWithInstalled } = await import("./upgrade-command-MLBXEIKR.js");
927
+ const { reconcileWithInstalled } = await import("./upgrade-command-EP5WQWFA.js");
928
928
  const rendered = reconcileWithInstalled(targetDir);
929
929
  if (rendered.length > 0) {
930
930
  info(`Rendered ${rendered.join(", ")} with the installed @xano/sdk ${installedSdk.version} (this CLI is ${readVersion()}).`);
@@ -1062,20 +1062,20 @@ async function writeDerivedFiles(targetDir, renderIndexWithEnv, toolchain) {
1062
1062
  const routesPath = join(targetDir, ROUTES_REL);
1063
1063
  try {
1064
1064
  const { loadDefault, checkStandInTokens } = await import("./cli.js");
1065
- const { Xano } = await import("./xano-RLSNDM7O.js");
1065
+ const { Xano } = await import("./xano-XZN5SRDH.js");
1066
1066
  const { createLockContext, lockKey, mergeObserved } = await import("./lock-JBKTDEDO.js");
1067
1067
  const { resetLockOverrides, seedLockOverrides } = await import("./store-6VNCD4D7.js");
1068
1068
  const { readLockFile, writeLockFile } = await import("./io-47TFRYDB.js");
1069
1069
  const { setDiagnosticSink } = await import("./diagnostics-T3RN3372.js");
1070
1070
  const { planRouteManifest } = await import("./routes-manifest-N73THJB3.js");
1071
- const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-ZZS5TNGT.js");
1072
- const { isEnabled } = await import("./toolchain-modules-GQIMMMZL.js");
1071
+ const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-3MDX3JB3.js");
1072
+ const { isEnabled } = await import("./toolchain-modules-V56JXU2E.js");
1073
1073
  const existing = existsSync(lockPath) ? readLockFile(lockPath) : void 0;
1074
1074
  resetLockOverrides();
1075
1075
  if (existing !== void 0) seedLockOverrides(existing);
1076
1076
  const ctx = createLockContext(existing);
1077
- const { envNamesRead } = await import("./guards-LQ7PSXOL.js");
1078
- const { refreshEnvExample } = await import("./env-example-refresh-N3JPECAZ.js");
1077
+ const { envNamesRead } = await import("./guards-N4PUFKN5.js");
1078
+ const { refreshEnvExample } = await import("./env-example-refresh-F5RTDVJ5.js");
1079
1079
  const def = await loadDefault(join(targetDir, XANO_DIR, "index.ts"));
1080
1080
  if (!Xano.isXano(def)) return { written, env: declaredEnv };
1081
1081
  const previousSink = setDiagnosticSink(() => {
@@ -1128,21 +1128,21 @@ async function writeDerivedFiles(targetDir, renderIndexWithEnv, toolchain) {
1128
1128
  return { written, env: declaredEnv };
1129
1129
  }
1130
1130
  async function refuseUnknownProfileFlag(args, targetDir) {
1131
- const { ENV_PROFILE } = await import("./profile-select-45G5VPJK.js");
1131
+ const { ENV_PROFILE } = await import("./profile-select-ZANK43KE.js");
1132
1132
  const envRaw = readEnvVar(ENV_PROFILE)?.trim();
1133
1133
  const fromEnv = args.profile === void 0 && envRaw !== void 0;
1134
1134
  const name = args.profile ?? (fromEnv ? envRaw : void 0);
1135
1135
  if (name === void 0) return;
1136
1136
  if (fromEnv && targetDir !== void 0) {
1137
- const { POINTER_FILE } = await import("./profile-pointer-RCPHVTJV.js");
1137
+ const { POINTER_FILE } = await import("./profile-pointer-DHOU26Q2.js");
1138
1138
  if (existsSync(join(targetDir, POINTER_FILE))) return;
1139
1139
  }
1140
- const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-B63BQV6R.js");
1140
+ const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-ZWQFSXH5.js");
1141
1141
  const path = resolveAuthFilePath(args, "read");
1142
1142
  const file = readCredentialFile(path);
1143
1143
  const stored = file === null ? [] : profileNames(file);
1144
1144
  if (stored.includes(name)) return;
1145
- const { ProfileNotFoundError } = await import("./token-DTFJJYQH.js");
1145
+ const { ProfileNotFoundError } = await import("./token-IHOPB74T.js");
1146
1146
  const have = stored.length === 0 ? "Nothing is signed in on this machine." : `Stored profiles: ${quotedNames(stored)}.`;
1147
1147
  throw new ProfileNotFoundError(
1148
1148
  `No credential profile "${name}" in ${path} (from ${fromEnv ? `$${ENV_PROFILE}` : "--profile"}), so there is nothing to pin this project to. ${have} Run ${loginHint(name)} to add it, or name a stored one${fromEnv ? ` (or unset ${ENV_PROFILE})` : ""}.`,
@@ -1151,7 +1151,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
1151
1151
  );
1152
1152
  }
1153
1153
  async function envCredentialSet() {
1154
- const { envMetaCredentialVarsSet } = await import("./token-DTFJJYQH.js");
1154
+ const { envMetaCredentialVarsSet } = await import("./token-IHOPB74T.js");
1155
1155
  return envMetaCredentialVarsSet().length > 0;
1156
1156
  }
1157
1157
  function loginNextStep(pin) {
@@ -1171,8 +1171,8 @@ function runFromHere(text, targetDir) {
1171
1171
  return text.replace(/`npx @xano\/sdk /g, `\`${inProject(targetDir)}xanosdk `);
1172
1172
  }
1173
1173
  async function planProfilePin(args, targetDir, opts = {}) {
1174
- const { POINTER_FILE, readPointerFile } = await import("./profile-pointer-RCPHVTJV.js");
1175
- const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-B63BQV6R.js");
1174
+ const { POINTER_FILE, readPointerFile } = await import("./profile-pointer-DHOU26Q2.js");
1175
+ const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-ZWQFSXH5.js");
1176
1176
  const credentialPath = resolveAuthFilePath(args, "read");
1177
1177
  const file = readCredentialFile(credentialPath);
1178
1178
  const signedIn = file !== null && profileNames(file).length > 0 || await envCredentialSet();
@@ -1202,7 +1202,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
1202
1202
  };
1203
1203
  }
1204
1204
  if (opts.credentialRead === true) {
1205
- const { environmentCredentialVars } = await import("./token-DTFJJYQH.js");
1205
+ const { environmentCredentialVars } = await import("./token-IHOPB74T.js");
1206
1206
  const env = environmentCredentialVars();
1207
1207
  if (env.complete) {
1208
1208
  return {
@@ -1215,7 +1215,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
1215
1215
  };
1216
1216
  }
1217
1217
  }
1218
- const { resolveActiveProfile } = await import("./profile-select-45G5VPJK.js");
1218
+ const { resolveActiveProfile } = await import("./profile-select-ZANK43KE.js");
1219
1219
  const selection = resolveActiveProfile({
1220
1220
  flag: args.profile,
1221
1221
  fileDefault: file?.default,
@@ -1225,7 +1225,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
1225
1225
  });
1226
1226
  const stored = file === null ? [] : profileNames(file);
1227
1227
  if (!stored.includes(selection.name)) {
1228
- const env = stored.length === 0 ? (await import("./token-DTFJJYQH.js")).environmentCredentialVars() : void 0;
1228
+ const env = stored.length === 0 ? (await import("./token-IHOPB74T.js")).environmentCredentialVars() : void 0;
1229
1229
  const storeEnv = env?.complete === true ? await storeEnvCredentialCommand(credentialPath, targetDir) : "";
1230
1230
  return {
1231
1231
  name: null,
@@ -1249,7 +1249,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
1249
1249
  };
1250
1250
  }
1251
1251
  }
1252
- const { writePointerFile } = await import("./profile-pointer-RCPHVTJV.js");
1252
+ const { writePointerFile } = await import("./profile-pointer-DHOU26Q2.js");
1253
1253
  return {
1254
1254
  name: selection.name,
1255
1255
  signedIn,
@@ -1266,7 +1266,7 @@ async function envAddressesElsewhere(file, name, credentialPath) {
1266
1266
  const instance = readEnvVar("XANO_INSTANCE_URL")?.trim();
1267
1267
  const workspace = readEnvVar("XANO_WORKSPACE_ID")?.trim();
1268
1268
  if (instance === void 0 || workspace === void 0 || readEnvVar("XANO_META_TOKEN") === void 0) return null;
1269
- const { readProfile, sameOriginAs } = await import("./store-B63BQV6R.js");
1269
+ const { readProfile, sameOriginAs } = await import("./store-ZWQFSXH5.js");
1270
1270
  let record;
1271
1271
  try {
1272
1272
  record = readProfile(file, name, credentialPath);
@@ -1282,8 +1282,8 @@ async function envAddressesElsewhere(file, name, credentialPath) {
1282
1282
  };
1283
1283
  }
1284
1284
  async function storeEnvCredentialCommand(credentialPath, targetDir) {
1285
- const { credentialFileFlag, profileAddCommand } = await import("./store-B63BQV6R.js");
1286
- const { DEFAULT_PROFILE } = await import("./profile-select-45G5VPJK.js");
1285
+ const { credentialFileFlag, profileAddCommand } = await import("./store-ZWQFSXH5.js");
1286
+ const { DEFAULT_PROFILE } = await import("./profile-select-ZANK43KE.js");
1287
1287
  const instance = readEnvVar("XANO_INSTANCE_URL");
1288
1288
  const workspaceId = readEnvVar("XANO_WORKSPACE_ID");
1289
1289
  const flag = credentialFileFlag(credentialPath);
@@ -1317,4 +1317,4 @@ export {
1317
1317
  runFiles,
1318
1318
  planProfilePin
1319
1319
  };
1320
- //# sourceMappingURL=chunk-UBM7L5KL.js.map
1320
+ //# sourceMappingURL=chunk-EJXJE2H3.js.map
@@ -85,7 +85,7 @@ import {
85
85
  postEnvelopeMisreads,
86
86
  unnestedEnvelopeReads,
87
87
  walkNodes
88
- } from "./chunk-Z73I7Q2H.js";
88
+ } from "./chunk-CJ5WRCVE.js";
89
89
  import {
90
90
  obj
91
91
  } from "./chunk-U56HK2RG.js";
@@ -2115,4 +2115,4 @@ export {
2115
2115
  Xano,
2116
2116
  workspace
2117
2117
  };
2118
- //# sourceMappingURL=chunk-O2BLNQEC.js.map
2118
+ //# sourceMappingURL=chunk-EME5G4YP.js.map
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  hasString,
3
3
  listAnswer
4
- } from "./chunk-SINL5WMI.js";
4
+ } from "./chunk-4Y3SWNPE.js";
5
5
  import {
6
6
  READ_AFTERMATH,
7
7
  explainFetchFailure,
8
8
  httpFailure,
9
9
  readBodyText
10
- } from "./chunk-NH5Z2NOD.js";
10
+ } from "./chunk-QZ2PC6B7.js";
11
11
  import {
12
12
  detail,
13
13
  info,
14
14
  warn
15
- } from "./chunk-ZHFSIQ6E.js";
15
+ } from "./chunk-6534P3VH.js";
16
16
 
17
17
  // src/deploy/microservice-status.ts
18
18
  var TIMEOUT_MS = 3e4;
@@ -168,4 +168,4 @@ export {
168
168
  readyRatio,
169
169
  printMicroserviceSection
170
170
  };
171
- //# sourceMappingURL=chunk-RVWWNNZQ.js.map
171
+ //# sourceMappingURL=chunk-EOWNLLLV.js.map
@@ -16,7 +16,7 @@ import {
16
16
  detail,
17
17
  info,
18
18
  warn
19
- } from "./chunk-ZHFSIQ6E.js";
19
+ } from "./chunk-6534P3VH.js";
20
20
 
21
21
  // src/emit/routes-manifest-modules.ts
22
22
  var MODULE_DIALECT = {
@@ -254,4 +254,4 @@ export {
254
254
  fireRoutesManifest,
255
255
  anyDeclares
256
256
  };
257
- //# sourceMappingURL=chunk-QIT2GGNB.js.map
257
+ //# sourceMappingURL=chunk-EPD5J3WA.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  classifyNpmFailure
3
- } from "./chunk-JTUMJXFN.js";
3
+ } from "./chunk-CJIXD67B.js";
4
4
  import {
5
5
  condenseNpmError,
6
6
  runNpmQuiet,
@@ -23,9 +23,6 @@ import {
23
23
  htmlDialect,
24
24
  upsertBlock
25
25
  } from "./chunk-LJM5CIY4.js";
26
- import {
27
- AGENT_SIGNUP_URL
28
- } from "./chunk-VYJYDMY6.js";
29
26
  import {
30
27
  MCP_CONFIGS,
31
28
  MCP_SERVER_NAME,
@@ -38,7 +35,7 @@ import {
38
35
  success,
39
36
  warn,
40
37
  withSpinner
41
- } from "./chunk-ZHFSIQ6E.js";
38
+ } from "./chunk-6534P3VH.js";
42
39
  import {
43
40
  defaultThemeChoice,
44
41
  themeGuidanceSection
@@ -72,7 +69,7 @@ writing:
72
69
  conditions are for.
73
70
  3. \`node_modules/@xano/sdk/manifest.json\` \u2014 only for per-entry detail neither
74
71
  carries: a statement's full field schema with engine defaults, a filter's
75
- complete argument list. Grep or \`jq\` the one entry you need; it is ~70k
72
+ complete argument list. Grep or \`jq\` the one entry you need; it is ~80k
76
73
  tokens, so never read it whole.
77
74
 
78
75
  The published types and JSDoc (\`node_modules/@xano/sdk/**/*.d.ts\`) are that
@@ -138,9 +135,6 @@ npm run dev # the frontend, pointed at the engine through .env.local
138
135
  - \`npx @xano/sdk login\` then \`npm run xano:deploy:ephemeral\` \u2014 ship the backend + static
139
136
  frontend to a disposable **ephemeral** environment on Xano's cloud;
140
137
  \`npm run xano:deploy:frontend\` republishes only the frontend.
141
- - Not signed in? Ask the user whether they have a Xano account; don't guess from context.
142
- If not, sign them up via ${AGENT_SIGNUP_URL} (needs only their email; they
143
- confirm from an emailed link). If so, they run \`npx @xano/sdk login\`.
144
138
  ${pullBullet(mode)}- \`npx @xano/sdk status\` says who you are, which workspace, and the environment this project
145
139
  last deployed to; \`npx @xano/sdk routes ./xano/index.ts\`, \`npx @xano/sdk tables\`,
146
140
  \`npx @xano/sdk test list\` and \`npx @xano/sdk local list\` inspect without changing anything.
@@ -200,9 +194,6 @@ npm run xano:deploy # typecheck, then deploy the backend to the Xano Engine o
200
194
  nothing and needs no secrets. Run it before calling the work done, and again after any merge.
201
195
  - \`npx @xano/sdk login\` then \`npm run xano:deploy:ephemeral\` \u2014 ship the backend to a
202
196
  disposable **ephemeral** environment on Xano's cloud.
203
- - Not signed in? Ask the user whether they have a Xano account; don't guess from context.
204
- If not, sign them up via ${AGENT_SIGNUP_URL} (needs only their email; they
205
- confirm from an emailed link). If so, they run \`npx @xano/sdk login\`.
206
197
  ${pullBullet(mode)}- \`npx @xano/sdk status\` says who you are, which workspace, and the environment this project
207
198
  last deployed to; \`npx @xano/sdk routes ./xano/index.ts\`, \`npx @xano/sdk tables\`,
208
199
  \`npx @xano/sdk test list\` and \`npx @xano/sdk local list\` inspect without changing anything.
@@ -1006,4 +997,4 @@ export {
1006
997
  changedOnDisk,
1007
998
  scaffoldProject
1008
999
  };
1009
- //# sourceMappingURL=chunk-7B2KH733.js.map
1000
+ //# sourceMappingURL=chunk-EQ2KB5YF.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  LOOPBACK_HOSTS
3
- } from "./chunk-LCOCRJ4K.js";
3
+ } from "./chunk-RQGSZ7AR.js";
4
4
  import {
5
5
  TransportError,
6
6
  describeTransportFailure,
7
7
  fetchOrExplain
8
- } from "./chunk-NH5Z2NOD.js";
8
+ } from "./chunk-QZ2PC6B7.js";
9
9
  import {
10
10
  readEnvVar
11
11
  } from "./chunk-X2NL4KUO.js";
@@ -179,4 +179,4 @@ export {
179
179
  EngineReleaseNotFoundError,
180
180
  resolveEngineRelease
181
181
  };
182
- //# sourceMappingURL=chunk-GT7PZCTK.js.map
182
+ //# sourceMappingURL=chunk-FVBJKM6N.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  LOOPBACK_HOSTS
3
- } from "./chunk-LCOCRJ4K.js";
3
+ } from "./chunk-RQGSZ7AR.js";
4
4
  import {
5
5
  readEnvVar
6
6
  } from "./chunk-X2NL4KUO.js";
@@ -40,6 +40,20 @@ function legacyRuntimeDirs(env = process.env, platform = process.platform) {
40
40
  }
41
41
  return names.map((name) => join(cache, name)).filter((dir) => ["dist", "instances", "logs"].every((sub) => existsSync(join(dir, sub))));
42
42
  }
43
+ function engineAiDir(env = process.env) {
44
+ return join(localEngineHome(env), "ai");
45
+ }
46
+ function engineAiTokenPath(name, env = process.env) {
47
+ return join(engineAiDir(env), `${name}.token`);
48
+ }
49
+ function machineIdPath(env = process.env) {
50
+ return join(localEngineHome(env), "machine-id");
51
+ }
52
+ var ENGINE_AI_MIN_TTL_S = 60;
53
+ var ENGINE_AI_MAX_TTL_S = 86400;
54
+ function clampEngineAiTtl(seconds) {
55
+ return Math.min(ENGINE_AI_MAX_TTL_S, Math.max(ENGINE_AI_MIN_TTL_S, Math.ceil(seconds)));
56
+ }
43
57
  function localEngineBinDir(env = process.env) {
44
58
  return join(localEngineHome(env), "bin");
45
59
  }
@@ -117,6 +131,12 @@ export {
117
131
  engineRunHome,
118
132
  engineCacheDir,
119
133
  legacyRuntimeDirs,
134
+ engineAiDir,
135
+ engineAiTokenPath,
136
+ machineIdPath,
137
+ ENGINE_AI_MIN_TTL_S,
138
+ ENGINE_AI_MAX_TTL_S,
139
+ clampEngineAiTtl,
120
140
  localEngineBinDir,
121
141
  LOCAL_ENGINE_OVERRIDE_ENV,
122
142
  isTrustedEngineUrl,
@@ -127,4 +147,4 @@ export {
127
147
  engineOverrideFromEnv,
128
148
  resolveEngineSource
129
149
  };
130
- //# sourceMappingURL=chunk-F3IA3YWI.js.map
150
+ //# sourceMappingURL=chunk-FVZ5C3PF.js.map
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  projectSdkVersion
3
- } from "./chunk-Q6AKSLD2.js";
3
+ } from "./chunk-6L32HAIP.js";
4
4
  import {
5
5
  compareSemver,
6
6
  parseSemver
7
7
  } from "./chunk-2TFRR6JV.js";
8
8
  import {
9
9
  readVersion
10
- } from "./chunk-XBCTTJSQ.js";
10
+ } from "./chunk-3OR2RCXJ.js";
11
11
  import {
12
12
  readPathEnvVar
13
13
  } from "./chunk-EUUUMY7J.js";
14
14
  import {
15
- serverMessage
16
- } from "./chunk-NH5Z2NOD.js";
15
+ registerSecret
16
+ } from "./chunk-4GPIOIAC.js";
17
17
  import {
18
18
  atomicWrite
19
19
  } from "./chunk-LLNZGEFK.js";
20
+ import {
21
+ serverMessage
22
+ } from "./chunk-QZ2PC6B7.js";
20
23
  import {
21
24
  envFlagSet,
22
25
  readEnvVar
23
26
  } from "./chunk-X2NL4KUO.js";
24
- import {
25
- registerSecret
26
- } from "./chunk-4GPIOIAC.js";
27
27
  import {
28
28
  blank,
29
29
  noteRunWarning,
30
30
  style,
31
31
  warn
32
- } from "./chunk-ZHFSIQ6E.js";
32
+ } from "./chunk-6534P3VH.js";
33
33
 
34
34
  // src/emit/update-check.ts
35
35
  import { existsSync, readFileSync, mkdirSync } from "fs";
@@ -351,4 +351,4 @@ export {
351
351
  runExitedClean,
352
352
  maybeNotifyUpdate
353
353
  };
354
- //# sourceMappingURL=chunk-LMCZQLM4.js.map
354
+ //# sourceMappingURL=chunk-G3ZUGFIS.js.map