@xano/sdk 1.0.4 → 1.0.5

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 (239) hide show
  1. package/CHANGELOG.md +17 -5
  2. package/README.md +232 -334
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/{agent-file-refresh-LB6KIMFY.js → agent-file-refresh-KVLR7M5Y.js} +13 -13
  5. package/dist/{answer-shape-LVV2SVBK.js → answer-shape-XGR2DGWY.js} +5 -5
  6. package/dist/{backend-dir-WZADOK3L.js → backend-dir-IE4RMUFH.js} +12 -12
  7. package/dist/{backend-slot-NSCTWCUX.js → backend-slot-6HBWG5FN.js} +3 -3
  8. package/dist/bin.js +52 -52
  9. package/dist/{branch-ONWPJ4V6.js → branch-T2APKPVG.js} +9 -9
  10. package/dist/{branch-commands-ZT2MJIRS.js → branch-commands-HXXTCSOO.js} +26 -26
  11. package/dist/{capture-3JNUA6C2.js → capture-HBXFXZEW.js} +4 -4
  12. package/dist/{chunk-A6QTTJUI.js → chunk-3BJYQGAZ.js} +2 -2
  13. package/dist/{chunk-5W7DOMIU.js → chunk-3IYVHVM6.js} +2 -2
  14. package/dist/{chunk-S7E2AHV3.js → chunk-3VX7VAQT.js} +4 -4
  15. package/dist/{chunk-Y2ZLKBM6.js → chunk-3WHWOKU4.js} +4 -4
  16. package/dist/{chunk-LXNQWHZM.js → chunk-44CWK6YC.js} +3 -3
  17. package/dist/{chunk-KCAL4QYP.js → chunk-4GDEEY2U.js} +4 -4
  18. package/dist/{chunk-KTGRGWZW.js → chunk-4NEBBKOP.js} +7 -7
  19. package/dist/{chunk-UKUIUS3E.js → chunk-4QBGE3EO.js} +5 -5
  20. package/dist/{chunk-IVKRT476.js → chunk-4QFBEKXI.js} +2 -2
  21. package/dist/{chunk-OOXWYAA4.js → chunk-57A5ZKPO.js} +1 -1
  22. package/dist/{chunk-2B22WWKL.js → chunk-57B56I4B.js} +29 -29
  23. package/dist/{chunk-OPHB5ORL.js → chunk-57HMNJGB.js} +120 -76
  24. package/dist/{chunk-O5V3YH5P.js → chunk-5D6DGF3W.js} +8 -8
  25. package/dist/{chunk-E65QIWOO.js → chunk-5RLAF6RL.js} +4 -4
  26. package/dist/{chunk-MEE5RZ6G.js → chunk-5XVBT6CQ.js} +2 -2
  27. package/dist/{chunk-RX3EMQGN.js → chunk-5YBNXNKU.js} +2 -2
  28. package/dist/{chunk-NA3PXMEF.js → chunk-64WWE3EF.js} +1 -1
  29. package/dist/{chunk-2LVTBPW2.js → chunk-65SW2BA5.js} +3 -3
  30. package/dist/{chunk-ET5DSBAC.js → chunk-7DBM6XHR.js} +8 -8
  31. package/dist/{chunk-DIG3NITC.js → chunk-A4NNCI4O.js} +3 -3
  32. package/dist/{chunk-4APOHK7Y.js → chunk-AESE434J.js} +2 -2
  33. package/dist/{chunk-E6H5ZEV3.js → chunk-AGD7F7YI.js} +3 -3
  34. package/dist/{chunk-44B4V2LR.js → chunk-AGSCOISO.js} +139 -139
  35. package/dist/{chunk-MLGI2SRQ.js → chunk-AMBEITWL.js} +4 -4
  36. package/dist/{chunk-5T2CTWTB.js → chunk-BBPAXOU6.js} +5 -5
  37. package/dist/{chunk-5WGVIXMD.js → chunk-BMCZQZMI.js} +4 -4
  38. package/dist/{chunk-LUTMOHOW.js → chunk-CJ76PSJT.js} +9 -9
  39. package/dist/{chunk-D5ZEAF4G.js → chunk-CV54PASI.js} +53 -50
  40. package/dist/{chunk-MLPDSGJQ.js → chunk-DEVGLLNZ.js} +5 -5
  41. package/dist/{chunk-JTUKLCXS.js → chunk-DXUICABI.js} +1 -1
  42. package/dist/{chunk-C4FHQA7R.js → chunk-ES5A66IH.js} +8 -8
  43. package/dist/{chunk-UDE5C2XN.js → chunk-F3557PVM.js} +3 -3
  44. package/dist/{chunk-HUSH7LRI.js → chunk-F6IKWAIU.js} +21 -17
  45. package/dist/{chunk-II747OWE.js → chunk-FV55SRQU.js} +7 -7
  46. package/dist/{chunk-SEUCZZCP.js → chunk-G57RYMKB.js} +3 -3
  47. package/dist/{chunk-MNVDVR3M.js → chunk-GMVW6ZZK.js} +4 -4
  48. package/dist/{chunk-MN2PB6WB.js → chunk-HLQH3AXB.js} +3 -3
  49. package/dist/{chunk-HSEQYBDO.js → chunk-HOOOOJJP.js} +3 -3
  50. package/dist/{chunk-IXUPUFCG.js → chunk-I5VEROXW.js} +2 -2
  51. package/dist/{chunk-UI4OPTYR.js → chunk-IV446ZLJ.js} +2 -2
  52. package/dist/{chunk-CYB7UQA2.js → chunk-JQOX6HW4.js} +5 -5
  53. package/dist/{chunk-OPG4DYX2.js → chunk-JSEVKRVJ.js} +3 -3
  54. package/dist/{chunk-2AUV6NXK.js → chunk-JXKO6JT7.js} +36 -36
  55. package/dist/{chunk-FPBGAT5D.js → chunk-JZWUAEMO.js} +3 -3
  56. package/dist/{chunk-6R7S775T.js → chunk-K6CB5TKM.js} +2 -2
  57. package/dist/{chunk-MCTIKRMN.js → chunk-K6PRKPFX.js} +8 -8
  58. package/dist/{chunk-W5ONYLOP.js → chunk-KQLACS4Q.js} +4 -4
  59. package/dist/{chunk-LIVN53UV.js → chunk-KUU7T4ZE.js} +31 -31
  60. package/dist/{chunk-WFMVKY7I.js → chunk-L3BDO2BI.js} +9 -9
  61. package/dist/{chunk-664LSWE5.js → chunk-LLS2WO2K.js} +4 -4
  62. package/dist/{chunk-ESZ2FF57.js → chunk-LZDA6SVD.js} +46 -45
  63. package/dist/{chunk-UCQ2VUTG.js → chunk-M6ZFSTIZ.js} +2 -2
  64. package/dist/{chunk-DYG5D3FD.js → chunk-M7GJ6YUF.js} +2 -2
  65. package/dist/{chunk-XXZZGXW2.js → chunk-MEIJDRHU.js} +2 -2
  66. package/dist/{chunk-QXTKSOFI.js → chunk-MF4W6FHU.js} +1 -1
  67. package/dist/{chunk-3FN2BIGB.js → chunk-MYLPOVX6.js} +6 -6
  68. package/dist/{chunk-FJWZ5OVV.js → chunk-N6BWB35H.js} +3 -3
  69. package/dist/{chunk-T4DUFQ2S.js → chunk-NGAODDLX.js} +5 -5
  70. package/dist/{chunk-7PMVIHB3.js → chunk-NNB7VUCH.js} +23 -23
  71. package/dist/{chunk-6VBTPV2Y.js → chunk-NUU76247.js} +3 -3
  72. package/dist/{chunk-ZG7E72VI.js → chunk-OGUMHW2X.js} +6 -6
  73. package/dist/{chunk-I2BGYNHD.js → chunk-OJPZEUPH.js} +7 -7
  74. package/dist/{chunk-OOGXZL7Z.js → chunk-OKNE3TWU.js} +2 -2
  75. package/dist/{chunk-KUTFFHUM.js → chunk-OVV2HXJ6.js} +2 -2
  76. package/dist/{chunk-VRVKNY4A.js → chunk-PIPIA7K7.js} +8 -8
  77. package/dist/{chunk-AM4FKL4J.js → chunk-PL7AIAWS.js} +12 -12
  78. package/dist/{chunk-WL2DSNJV.js → chunk-Q22BMRPF.js} +2 -2
  79. package/dist/{chunk-IJ3SXSZM.js → chunk-QOLOQ35F.js} +6 -6
  80. package/dist/{chunk-BUECLQXK.js → chunk-QZTJ2556.js} +4 -4
  81. package/dist/{chunk-O7QOWS6M.js → chunk-RXCT3OCU.js} +12 -12
  82. package/dist/{chunk-WYEQFD6A.js → chunk-S5KQIFKJ.js} +122 -98
  83. package/dist/{chunk-CBYQ2ZN3.js → chunk-S5TEJIGP.js} +2 -2
  84. package/dist/{chunk-HMLGM2MW.js → chunk-SF2B7MZK.js} +3 -3
  85. package/dist/{chunk-PML67X22.js → chunk-SNGFEESM.js} +3 -3
  86. package/dist/{chunk-VD32O6KZ.js → chunk-SQPIECXD.js} +3 -3
  87. package/dist/{chunk-5YL5OC2G.js → chunk-SRX6B544.js} +5 -5
  88. package/dist/{chunk-CFSFBKHP.js → chunk-TEBS7FE6.js} +2 -2
  89. package/dist/{chunk-TTVAHCWP.js → chunk-TM5LRSBB.js} +2 -2
  90. package/dist/{chunk-JP7M7OU7.js → chunk-TUEFTRC2.js} +5 -5
  91. package/dist/{chunk-EWCDPFW5.js → chunk-U6DR6464.js} +4 -4
  92. package/dist/{chunk-QAEQGT5I.js → chunk-UIEFE6FU.js} +7 -7
  93. package/dist/{chunk-3H3EPMFY.js → chunk-UJ6ZZJDD.js} +2 -2
  94. package/dist/{chunk-3P3HXN76.js → chunk-V4IBHDIY.js} +11 -11
  95. package/dist/{chunk-XNCP4KYO.js → chunk-VQPDATQT.js} +1 -1
  96. package/dist/{chunk-4PQHO74B.js → chunk-VZ22VUAS.js} +2 -2
  97. package/dist/{chunk-BUJRS7XB.js → chunk-WYS6XVZ3.js} +2 -2
  98. package/dist/{chunk-QV3GXQRE.js → chunk-XIABDKFQ.js} +2 -2
  99. package/dist/{chunk-EESV6NU2.js → chunk-XJU6UAFV.js} +2 -2
  100. package/dist/{chunk-SBR2WZXG.js → chunk-XNZURZ7T.js} +59 -52
  101. package/dist/{chunk-WFG67AYS.js → chunk-Y6NO3DLQ.js} +3 -3
  102. package/dist/{chunk-37AHZ7JX.js → chunk-Y76ERHLK.js} +5 -5
  103. package/dist/{chunk-HHW5AWVD.js → chunk-YI76TURL.js} +30 -30
  104. package/dist/{chunk-OGBMUST4.js → chunk-YSLMMR2U.js} +14 -14
  105. package/dist/{chunk-45YPFB7B.js → chunk-Z2BRSQ6M.js} +49 -49
  106. package/dist/{chunk-D64XUF5Q.js → chunk-Z3SNX45M.js} +16 -16
  107. package/dist/{chunk-FMOEVAGT.js → chunk-Z4VN347O.js} +3 -3
  108. package/dist/{chunk-L2GLOJAO.js → chunk-ZHGWR45B.js} +22 -22
  109. package/dist/cli.d.ts +20 -18
  110. package/dist/cli.js +50 -50
  111. package/dist/{codegen-command-HTWIW56U.js → codegen-command-L2OO6OTE.js} +63 -63
  112. package/dist/{commands-CVFYC4GK.js → commands-2E4JB3DB.js} +2 -2
  113. package/dist/{completion-AUEQC4XJ.js → completion-LPJIH5VQ.js} +11 -11
  114. package/dist/{config-JU6OQC77.js → config-QDCRKEWD.js} +4 -4
  115. package/dist/{deploy-command-5WTFHMBT.js → deploy-command-HJZNYCUY.js} +57 -57
  116. package/dist/{deploy-source-5CET3A5D.js → deploy-source-5COWTBOC.js} +34 -34
  117. package/dist/{dev-env-sync-X636HLMK.js → dev-env-sync-GZ4QQJGV.js} +51 -51
  118. package/dist/{display-name-hint-DMORHANO.js → display-name-hint-AHCNH6TF.js} +11 -11
  119. package/dist/{emit-hOFbgzde.d.ts → emit-DqG6qddr.d.ts} +2 -2
  120. package/dist/env-example-refresh-DWQIOQYR.js +127 -0
  121. package/dist/{env-pull-command-WZZ7RL2E.js → env-pull-command-Z4RLVEGJ.js} +46 -46
  122. package/dist/{env-target-PO3MOLH5.js → env-target-ZHQUS5BO.js} +13 -13
  123. package/dist/{env-var-command-YKTJZFJN.js → env-var-command-FKQ4VVQ6.js} +47 -47
  124. package/dist/{ephemeral-BMFY55BQ.js → ephemeral-L4KUOGEU.js} +9 -9
  125. package/dist/{ephemeral-command-VDSQCOYL.js → ephemeral-command-GRPFI3TD.js} +47 -47
  126. package/dist/{ephemeral-state-6TY4JIPA.js → ephemeral-state-VLYU2BXR.js} +11 -11
  127. package/dist/{generate-command-3NTNRQRS.js → generate-command-XNODJFDQ.js} +68 -68
  128. package/dist/{gitignore-FWPEDX6C.js → gitignore-VWRSZX5F.js} +16 -16
  129. package/dist/{guards-EJU2ONAX.js → guards-OPSGB6LG.js} +5 -5
  130. package/dist/{hosted-file-PSHJB3HX.js → hosted-file-S7YUQAH6.js} +2 -2
  131. package/dist/{impersonate-command-QEJA72Q2.js → impersonate-command-AEKIZHHK.js} +40 -40
  132. package/dist/{import-TBTOTU52.js → import-PHSSFFLA.js} +5 -5
  133. package/dist/index.d.ts +4 -4
  134. package/dist/index.js +10 -10
  135. package/dist/{init-command-27SFBW2F.js → init-command-TI3HCKXZ.js} +55 -55
  136. package/dist/{init-modules-HZRQFRLE.js → init-modules-SGSX7XEY.js} +9 -9
  137. package/dist/{init-web-Y2PBNJTQ.js → init-web-6HX3YLQP.js} +2 -2
  138. package/dist/internal.d.ts +4 -4
  139. package/dist/internal.js +24 -25
  140. package/dist/{io-ZUKAGFVE.js → io-TAF4WXYQ.js} +5 -5
  141. package/dist/{keep-data-merge-X5LDDCI3.js → keep-data-merge-GUGF7MVZ.js} +28 -28
  142. package/dist/{lambda-config-reconcile-OUZ4OYAB.js → lambda-config-reconcile-65U6I4KU.js} +3 -3
  143. package/dist/{landed-6VO7CX5P.js → landed-QA6PRTV2.js} +4 -4
  144. package/dist/{landing-record-QYECWLQ5.js → landing-record-FCAWLCZU.js} +22 -22
  145. package/dist/{live-diff-2S7E3SBZ.js → live-diff-IM4W3ELT.js} +5 -5
  146. package/dist/local-engine-choice-FPJAZSSD.js +79 -0
  147. package/dist/{local-engine-command-HMTQK7MN.js → local-engine-command-73NHWD6V.js} +92 -92
  148. package/dist/{local-engine-config-5U3SC434.js → local-engine-config-W3KB7RWM.js} +2 -2
  149. package/dist/{local-engine-deploy-TXAOYRGF.js → local-engine-deploy-Y4OAWL7K.js} +16 -16
  150. package/dist/{local-engine-process-6VZ7JJBP.js → local-engine-process-6YPJHKYM.js} +11 -11
  151. package/dist/{local-engine-state-TJWPWCC4.js → local-engine-state-OCW5YDD7.js} +3 -3
  152. package/dist/{local-engine-update-check-R5SPDVEJ.js → local-engine-update-check-X7TZGRFL.js} +7 -7
  153. package/dist/{lock-TS465GVY.js → lock-WXXC3QHL.js} +3 -3
  154. package/dist/{lock-commands-4VT3L5W5.js → lock-commands-PKDBNRSD.js} +55 -55
  155. package/dist/{login-command-O6WA4FYL.js → login-command-V4U4FA5G.js} +27 -27
  156. package/dist/{logout-command-6CPWGFY2.js → logout-command-TV3P545Z.js} +16 -16
  157. package/dist/{loop-UFHKSOQ4.js → loop-VKHGQ6MP.js} +6 -6
  158. package/dist/{marketplace-command-HKACSYKS.js → marketplace-command-LEFOAEAV.js} +30 -30
  159. package/dist/{marketplace-resolve-KLFYVRWS.js → marketplace-resolve-ME7O7JBJ.js} +7 -7
  160. package/dist/{meta-client-73PX6UGJ.js → meta-client-TEEECA5W.js} +14 -14
  161. package/dist/{module-manifest-GIKFNXPE.js → module-manifest-7YLGIRCY.js} +3 -3
  162. package/dist/node.d.ts +4 -4
  163. package/dist/node.js +56 -56
  164. package/dist/operation-outcome-GNDD35WL.js +51 -0
  165. package/dist/{output-target-SZMBNYF4.js → output-target-5FWX3NGZ.js} +17 -17
  166. package/dist/{plan-disclosure-BHYG7TZ7.js → plan-disclosure-QGL5UYQR.js} +16 -16
  167. package/dist/{plugin-contributions-X4V22PJQ.js → plugin-contributions-GNFTWDEB.js} +4 -4
  168. package/dist/{plugin-prompt-DKNQHW6Y.js → plugin-prompt-VEQGMZ4T.js} +4 -4
  169. package/dist/{plugin-questions-CQRVOWFK.js → plugin-questions-BGRL23GO.js} +3 -3
  170. package/dist/{preflight-command-EBQ6XQF3.js → preflight-command-VKJKXRRI.js} +63 -63
  171. package/dist/{profile-command-NPKBJYPM.js → profile-command-P7A3BH26.js} +29 -29
  172. package/dist/{profile-pointer-UOO7JNFG.js → profile-pointer-HG7IXE4I.js} +4 -4
  173. package/dist/{profile-select-74TRDEPD.js → profile-select-45G5VPJK.js} +2 -2
  174. package/dist/{project-dependency-RRMTWOPC.js → project-dependency-Z4CKOCJI.js} +8 -8
  175. package/dist/{project-sdk-FOR4IOXL.js → project-sdk-JWZWGXXR.js} +3 -3
  176. package/dist/promote-command-KHTIK44I.js +141 -0
  177. package/dist/{prompt-5GUQTCSP.js → prompt-SURZOUUW.js} +3 -3
  178. package/dist/{publish-command-LGLZBOCB.js → publish-command-HGAB3H4A.js} +131 -60
  179. package/dist/{pull-command-WQFPLITW.js → pull-command-EUEWBRXZ.js} +66 -66
  180. package/dist/{pull-superseded-GGURV5J3.js → pull-superseded-TOT5S4QU.js} +3 -3
  181. package/dist/{release-command-2OTNVMIL.js → release-command-WOVQAMUY.js} +64 -64
  182. package/dist/{release-ns-command-EIBN3JVM.js → release-ns-command-WOQE2BDQ.js} +87 -87
  183. package/dist/{retry-command-Y5YJGOH3.js → retry-command-JRGMZZAC.js} +8 -8
  184. package/dist/{routes-manifest-3BNZIVST.js → routes-manifest-URFMAWJE.js} +5 -5
  185. package/dist/scaffold.js +2 -2
  186. package/dist/{secrets-file-FUG7WCES.js → secrets-file-YWZWVJ52.js} +16 -16
  187. package/dist/{secrets-fill-command-QEOCUOAY.js → secrets-fill-command-HIHK3VH2.js} +54 -54
  188. package/dist/{seed-GJHJSEUE.js → seed-24DTEY5S.js} +7 -7
  189. package/dist/{source-resolve-DMDZVPMM.js → source-resolve-OWD3MIEO.js} +23 -23
  190. package/dist/{static-host-WM24RG25.js → static-host-UIR2OLPQ.js} +9 -9
  191. package/dist/{status-command-XUH5OGQX.js → status-command-JKTHH5QE.js} +53 -53
  192. package/dist/{store-MR7IKXKK.js → store-5YAQS6KU.js} +6 -6
  193. package/dist/{store-CfgPaVPO.d.ts → store-zxw2go0f.d.ts} +3 -3
  194. package/dist/sveltekit.d.ts +5 -5
  195. package/dist/sveltekit.js +1 -1
  196. package/dist/{sync-contributions-DHP7XSTX.js → sync-contributions-RBB6JVOL.js} +9 -9
  197. package/dist/{table-ZBDPKMNH.js → table-MQFVYA4K.js} +8 -8
  198. package/dist/{tables-command-X3JK7VSK.js → tables-command-5Q4BSUNO.js} +39 -39
  199. package/dist/{tenant-GKXMOYLK.js → tenant-Q3LPVSSM.js} +10 -10
  200. package/dist/{tenant-command-P27EQHBU.js → tenant-command-BFVU2PEX.js} +84 -84
  201. package/dist/{test-command-A4G2FP7G.js → test-command-F4VUU4QR.js} +40 -40
  202. package/dist/{tests-C55M5EQS.js → tests-5ZSDFVIJ.js} +6 -6
  203. package/dist/{token-CMAB35GD.js → token-TERSTNU4.js} +12 -12
  204. package/dist/{toolchain-hooks-BGZBDFAT.js → toolchain-hooks-QVUZ6HZ4.js} +2 -2
  205. package/dist/{toolchain-modules-3M7QDJBV.js → toolchain-modules-FD5ANV2U.js} +5 -5
  206. package/dist/tracked-backend-B4HTME4S.js +80 -0
  207. package/dist/{update-check-LNNKIMML.js → update-check-O4C2LCZH.js} +53 -53
  208. package/dist/{upgrade-command-7EUXML3P.js → upgrade-command-NVFWLMTA.js} +56 -56
  209. package/dist/{whoami-command-KNWFWAX6.js → whoami-command-YKNTISIV.js} +15 -15
  210. package/dist/{workspace-TGPYOODG.js → workspace-GGVGE2S5.js} +5 -5
  211. package/dist/{workspace-binding-2TWZBHQY.js → workspace-binding-OS4ZOX4S.js} +14 -14
  212. package/dist/{workspace-command-T7Z2BDHD.js → workspace-command-GTUNVN7K.js} +77 -77
  213. package/dist/{workspace-env-VA7XN3UX.js → workspace-env-467C5KHM.js} +13 -13
  214. package/dist/{workspace-export-AIGM6LC7.js → workspace-export-3XTVGQVM.js} +5 -5
  215. package/dist/{writable-FYJBTJOU.js → writable-7SSWUQJ3.js} +3 -3
  216. package/dist/{xano-BSHYVFSE.js → xano-6RS5XQZE.js} +7 -7
  217. package/dist/{xanosdk-import-J6SRBZHW.js → xanosdk-import-E3WSIYUE.js} +9 -9
  218. package/dist/{xanosdk-project-6KTCO47O.js → xanosdk-project-KH5TZ2KI.js} +14 -14
  219. package/guides/README.md +1 -0
  220. package/guides/authoring.md +3 -5
  221. package/guides/bundle.md +45 -0
  222. package/guides/cli.md +32 -30
  223. package/guides/codegen.md +5 -4
  224. package/guides/codes.md +9 -9
  225. package/guides/deploying.md +63 -58
  226. package/guides/environment.md +13 -13
  227. package/guides/project-structure.md +14 -0
  228. package/llms/client.md +3 -4
  229. package/llms/errors.md +1 -1
  230. package/llms/tests.md +2 -2
  231. package/llms-full.txt +14 -15
  232. package/llms.txt +8 -8
  233. package/manifest.json +110 -107
  234. package/package.json +4 -4
  235. package/dist/env-example-refresh-ZO6XAV44.js +0 -127
  236. package/dist/local-engine-choice-6BSPEG3E.js +0 -79
  237. package/dist/operation-outcome-2P4BVSEV.js +0 -51
  238. package/dist/promote-command-4F2NAE6P.js +0 -141
  239. package/dist/tracked-backend-PZGUWD5J.js +0 -80
@@ -2,16 +2,16 @@ import {
2
2
  declaredDependencies,
3
3
  readProjectManifest,
4
4
  readToolchainBlock
5
- } from "./chunk-JTUKLCXS.js";
5
+ } from "./chunk-DXUICABI.js";
6
6
  import {
7
7
  localPackageName,
8
8
  packageNameOf
9
- } from "./chunk-DYG5D3FD.js";
9
+ } from "./chunk-M7GJ6YUF.js";
10
10
  import {
11
11
  parseJsonAnswer,
12
12
  serverMessage,
13
13
  statusLabel
14
- } from "./chunk-MN2PB6WB.js";
14
+ } from "./chunk-HLQH3AXB.js";
15
15
  import {
16
16
  readEnvVar
17
17
  } from "./chunk-X2NL4KUO.js";
@@ -19,7 +19,7 @@ import {
19
19
  CliError,
20
20
  EXIT_SOURCE_UNRESOLVABLE,
21
21
  info
22
- } from "./chunk-SBR2WZXG.js";
22
+ } from "./chunk-XNZURZ7T.js";
23
23
  import {
24
24
  suggest
25
25
  } from "./chunk-UTI5G6OJ.js";
@@ -359,7 +359,7 @@ async function unlistedModuleError(command, name) {
359
359
  }
360
360
  async function withCatalogueRerun(err, args, command) {
361
361
  if (!isCatalogueOutage(err)) return err;
362
- const { retryCommand } = await import("./retry-command-Y5YJGOH3.js");
362
+ const { retryCommand } = await import("./retry-command-JRGMZZAC.js");
363
363
  const rerun = retryCommand(args, { command }).command;
364
364
  return new CliError("SDK_ERROR", `${err.message}
365
365
  Run \`${rerun}\` again once it answers.`, {
@@ -386,4 +386,4 @@ export {
386
386
  unlistedModuleError,
387
387
  withCatalogueRerun
388
388
  };
389
- //# sourceMappingURL=chunk-3FN2BIGB.js.map
389
+ //# sourceMappingURL=chunk-MYLPOVX6.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ensureExportGitignored
3
- } from "./chunk-Y2ZLKBM6.js";
3
+ } from "./chunk-3WHWOKU4.js";
4
4
  import {
5
5
  andList
6
6
  } from "./chunk-622HUCZT.js";
7
7
  import {
8
8
  UsageError,
9
9
  warn
10
- } from "./chunk-SBR2WZXG.js";
10
+ } from "./chunk-XNZURZ7T.js";
11
11
 
12
12
  // src/emit/output-target.ts
13
13
  import { accessSync, chmodSync, constants, mkdirSync, statSync, writeFileSync } from "fs";
@@ -125,4 +125,4 @@ export {
125
125
  secretsPhrase,
126
126
  assertWritableTarget
127
127
  };
128
- //# sourceMappingURL=chunk-FJWZ5OVV.js.map
128
+ //# sourceMappingURL=chunk-N6BWB35H.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  backendDirIn
3
- } from "./chunk-E6H5ZEV3.js";
3
+ } from "./chunk-AGD7F7YI.js";
4
4
  import {
5
5
  shellWord
6
6
  } from "./chunk-FWD7AL6N.js";
@@ -9,11 +9,11 @@ import {
9
9
  } from "./chunk-EUUUMY7J.js";
10
10
  import {
11
11
  pointerRootFor
12
- } from "./chunk-FPBGAT5D.js";
12
+ } from "./chunk-JZWUAEMO.js";
13
13
  import {
14
14
  UsageError,
15
15
  setTypedCwd
16
- } from "./chunk-SBR2WZXG.js";
16
+ } from "./chunk-XNZURZ7T.js";
17
17
 
18
18
  // src/emit/xanosdk-project.ts
19
19
  import { existsSync, realpathSync, statSync } from "fs";
@@ -32,7 +32,7 @@ function projectDirFrom(start) {
32
32
  }
33
33
  }
34
34
  var RELATIVE_PATH_ARGS = ["out", "lockPath", "entryPath", "static", "bundle", "envFile", "secretsFile", "backendDir", "emit", "path"];
35
- var PATH_VARS = ["XANO_CONFIG", "XANO_GLOBAL_CONFIG", "XANO_CLIENT_FILE", "XANOSDK_UPDATE_CACHE", "XANOSDK_PROVE_DIFF", "XANOSDK_LOCAL_ENGINE_HOME", "XANOSDK_LOCAL_ENGINE_OVERRIDE"];
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);
38
38
  const at = positional === "verb-path" ? 1 : 0;
@@ -154,4 +154,4 @@ export {
154
154
  RELATIVE_PATH_ARGS,
155
155
  enterProjectRoot
156
156
  };
157
- //# sourceMappingURL=chunk-T4DUFQ2S.js.map
157
+ //# sourceMappingURL=chunk-NGAODDLX.js.map
@@ -2,10 +2,10 @@ import {
2
2
  keptDuplicates,
3
3
  replacedRegistrations,
4
4
  reportSuperseded
5
- } from "./chunk-IVKRT476.js";
5
+ } from "./chunk-4QFBEKXI.js";
6
6
  import {
7
7
  rerenderEnvExample
8
- } from "./chunk-6VBTPV2Y.js";
8
+ } from "./chunk-NUU76247.js";
9
9
  import {
10
10
  carriedSeedRows,
11
11
  decodeBundle,
@@ -17,48 +17,48 @@ import {
17
17
  verifyPulledTree,
18
18
  withSourceIdentities,
19
19
  writeDocumentationTokens
20
- } from "./chunk-ESZ2FF57.js";
20
+ } from "./chunk-LZDA6SVD.js";
21
21
  import {
22
22
  confirm
23
- } from "./chunk-4APOHK7Y.js";
23
+ } from "./chunk-AESE434J.js";
24
24
  import {
25
25
  fetchSourceArchive
26
- } from "./chunk-VRVKNY4A.js";
26
+ } from "./chunk-PIPIA7K7.js";
27
27
  import {
28
28
  decodeWorkspaceArchive,
29
29
  encodeWorkspaceArchive
30
30
  } from "./chunk-3DRXWLJ5.js";
31
31
  import {
32
32
  ensureSecretPathGitignored
33
- } from "./chunk-Y2ZLKBM6.js";
33
+ } from "./chunk-3WHWOKU4.js";
34
34
  import {
35
35
  readVersion,
36
36
  refreshAgentGuidance
37
- } from "./chunk-WYEQFD6A.js";
37
+ } from "./chunk-S5KQIFKJ.js";
38
38
  import {
39
39
  WORKSPACE_ENV_BASENAME,
40
40
  WORKSPACE_ENV_EXAMPLE_BASENAME,
41
41
  namesInEnvExample,
42
42
  readWorkspaceEnvFile
43
- } from "./chunk-664LSWE5.js";
43
+ } from "./chunk-LLS2WO2K.js";
44
44
  import {
45
45
  memoCredential,
46
46
  refuseProfileForLocal,
47
47
  selectBackend
48
- } from "./chunk-LIVN53UV.js";
48
+ } from "./chunk-KUU7T4ZE.js";
49
49
  import {
50
50
  getAccessToken
51
- } from "./chunk-LUTMOHOW.js";
51
+ } from "./chunk-CJ76PSJT.js";
52
52
  import {
53
53
  requireBackendSlot
54
- } from "./chunk-UDE5C2XN.js";
54
+ } from "./chunk-F3557PVM.js";
55
55
  import {
56
56
  contextFlags
57
- } from "./chunk-SEUCZZCP.js";
57
+ } from "./chunk-G57RYMKB.js";
58
58
  import {
59
59
  backendDirIn,
60
60
  resolveBackendDir
61
- } from "./chunk-E6H5ZEV3.js";
61
+ } from "./chunk-AGD7F7YI.js";
62
62
  import {
63
63
  CODEGEN_MARKER,
64
64
  DECODE_MARKER,
@@ -73,15 +73,15 @@ import {
73
73
  readDecodeRecord,
74
74
  removeEmptiedDirs,
75
75
  removeFiles
76
- } from "./chunk-HUSH7LRI.js";
76
+ } from "./chunk-F6IKWAIU.js";
77
77
  import {
78
78
  readLockFile,
79
79
  writeLockFile
80
- } from "./chunk-VD32O6KZ.js";
80
+ } from "./chunk-SQPIECXD.js";
81
81
  import {
82
82
  decodeMarkerHead,
83
83
  decodeMarkerWith
84
- } from "./chunk-UCQ2VUTG.js";
84
+ } from "./chunk-M6ZFSTIZ.js";
85
85
  import {
86
86
  CliError,
87
87
  UsageError,
@@ -94,7 +94,7 @@ import {
94
94
  terminalText,
95
95
  warn,
96
96
  writeJson
97
- } from "./chunk-SBR2WZXG.js";
97
+ } from "./chunk-XNZURZ7T.js";
98
98
  import {
99
99
  WORKSPACE_SECRETS_BASENAME
100
100
  } from "./chunk-3JDU4VRL.js";
@@ -104,7 +104,7 @@ import {
104
104
  lockKey,
105
105
  lockNameForObject,
106
106
  withObjects
107
- } from "./chunk-OOGXZL7Z.js";
107
+ } from "./chunk-OKNE3TWU.js";
108
108
  import {
109
109
  shellQuote
110
110
  } from "./chunk-5ZSO4T2G.js";
@@ -299,7 +299,7 @@ async function runPullCommand(args) {
299
299
  step(`Reading ${raw}`);
300
300
  const fetched = args.branch !== void 0 ? { archive: encodeWorkspaceArchive(JSON.stringify(await fetchWorkspaceBundle(await credential(), args.branch))), provenance: "workspace", label: `workspace branch "${args.branch.trim()}"` } : await fetchSourceArchive(credential, raw, cwd);
301
301
  const bundle = decodeWorkspaceArchive(fetched.archive);
302
- const keptName = source.kind === "workspace" || source.kind === "local-engine" ? void 0 : projectWorkspaceName(join(cwd, backendDir, "index.ts"));
302
+ const keptName = source.kind === "workspace" || source.kind === "local" ? void 0 : projectWorkspaceName(join(cwd, backendDir, "index.ts"));
303
303
  const project = decodeBundle(bundle, {
304
304
  secretsFile: `${backendDir}/${WORKSPACE_SECRETS_BASENAME}`,
305
305
  writesSecrets: args.noSecrets !== true,
@@ -420,7 +420,7 @@ async function runPullCommand(args) {
420
420
  );
421
421
  }
422
422
  if (args.yes !== true) {
423
- const { yesRerun } = await import("./retry-command-Y5YJGOH3.js");
423
+ const { yesRerun } = await import("./retry-command-JRGMZZAC.js");
424
424
  const { rerun, note } = yesRerun(args, "pull");
425
425
  const ok = await confirm(`Replace ${backendDir}/ from ${fetched.label}?`, {
426
426
  flag: "--yes",
@@ -887,11 +887,11 @@ function envFillRemedy(kind, args, one = false) {
887
887
  return `a release carries no env values, so fill ${them} in by hand, or read ${them} from a running backend with \`xanosdk env pull --from <backend>\`.`;
888
888
  }
889
889
  const from = raw === void 0 ? "" : ` --from ${shellQuote(raw)}`;
890
- const flags = kind === "local-engine" ? "" : contextFlags(args);
890
+ const flags = kind === "local" ? "" : contextFlags(args);
891
891
  return `fill ${them} in, or run \`xanosdk env pull${from}${flags}\`.`;
892
892
  }
893
893
  async function needsYes(args, head, why, details) {
894
- const { yesRerun } = await import("./retry-command-Y5YJGOH3.js");
894
+ const { yesRerun } = await import("./retry-command-JRGMZZAC.js");
895
895
  const { rerun, note } = yesRerun(args, "pull");
896
896
  return new CliError("SDK_USAGE", `${head} Re-run as \`${rerun}\` ${why}.${note}`, {
897
897
  exitCode: 1,
@@ -920,4 +920,4 @@ export {
920
920
  projectWorkspaceName,
921
921
  envFillRemedy
922
922
  };
923
- //# sourceMappingURL=chunk-7PMVIHB3.js.map
923
+ //# sourceMappingURL=chunk-NNB7VUCH.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  envExampleNames
3
- } from "./chunk-ESZ2FF57.js";
3
+ } from "./chunk-LZDA6SVD.js";
4
4
  import {
5
5
  WORKSPACE_ENV_EXAMPLE_BASENAME,
6
6
  renderWorkspaceEnvExample
7
- } from "./chunk-664LSWE5.js";
7
+ } from "./chunk-LLS2WO2K.js";
8
8
  import {
9
9
  atomicWrite
10
10
  } from "./chunk-LLNZGEFK.js";
@@ -54,4 +54,4 @@ export {
54
54
  refreshEnvExample,
55
55
  bundleEnvNames
56
56
  };
57
- //# sourceMappingURL=chunk-6VBTPV2Y.js.map
57
+ //# sourceMappingURL=chunk-NUU76247.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  addDependency,
3
3
  removeDependency
4
- } from "./chunk-S7E2AHV3.js";
4
+ } from "./chunk-3VX7VAQT.js";
5
5
  import {
6
6
  condenseNpmError,
7
7
  npmViewVersion
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-FWD7AL6N.js";
12
12
  import {
13
13
  isLocalSpecifier
14
- } from "./chunk-3FN2BIGB.js";
14
+ } from "./chunk-MYLPOVX6.js";
15
15
  import {
16
16
  addArgs,
17
17
  installSite,
@@ -25,14 +25,14 @@ import {
25
25
  moduleKind,
26
26
  packageNameOf,
27
27
  readInstalledManifest
28
- } from "./chunk-DYG5D3FD.js";
28
+ } from "./chunk-M7GJ6YUF.js";
29
29
  import {
30
30
  UsageError,
31
31
  spinner,
32
32
  step,
33
33
  success,
34
34
  warn
35
- } from "./chunk-SBR2WZXG.js";
35
+ } from "./chunk-XNZURZ7T.js";
36
36
 
37
37
  // src/emit/init-modules.ts
38
38
  import { existsSync, readFileSync, realpathSync } from "fs";
@@ -448,7 +448,7 @@ async function sdkPeerSkewOf(dir, pkg) {
448
448
  const manifest = readInstalledManifest(dir, pkg);
449
449
  if (manifest === null) return null;
450
450
  const [{ sdkPeerSkew }, { readVersion }] = await Promise.all([
451
- import("./toolchain-modules-3M7QDJBV.js"),
451
+ import("./toolchain-modules-FD5ANV2U.js"),
452
452
  import("./cli.js")
453
453
  ]);
454
454
  const sdkVersion = readVersion();
@@ -480,4 +480,4 @@ export {
480
480
  inProject,
481
481
  installModules
482
482
  };
483
- //# sourceMappingURL=chunk-ZG7E72VI.js.map
483
+ //# sourceMappingURL=chunk-OGUMHW2X.js.map
@@ -12,11 +12,11 @@ import {
12
12
  httpFailure,
13
13
  isTimeoutError,
14
14
  statusLabel
15
- } from "./chunk-MN2PB6WB.js";
15
+ } from "./chunk-HLQH3AXB.js";
16
16
  import {
17
17
  pointerRootFor,
18
18
  resolveProjectProfile
19
- } from "./chunk-FPBGAT5D.js";
19
+ } from "./chunk-JZWUAEMO.js";
20
20
  import {
21
21
  atomicWrite,
22
22
  linkTarget
@@ -24,13 +24,13 @@ import {
24
24
  import {
25
25
  DEFAULT_PROFILE,
26
26
  resolveActiveProfile
27
- } from "./chunk-QXTKSOFI.js";
27
+ } from "./chunk-MF4W6FHU.js";
28
28
  import {
29
29
  readEnvVar
30
30
  } from "./chunk-X2NL4KUO.js";
31
31
  import {
32
32
  UsageError
33
- } from "./chunk-SBR2WZXG.js";
33
+ } from "./chunk-XNZURZ7T.js";
34
34
  import {
35
35
  shellQuote
36
36
  } from "./chunk-5ZSO4T2G.js";
@@ -450,7 +450,7 @@ function resolveAuthFilePath(args, mode = "read") {
450
450
  if (explicit !== void 0 && args.local && resolve(explicit) !== localAuthFilePath()) {
451
451
  const named = args.authFile !== void 0 ? `\`--config ${explicit}\`` : `XANO_CONFIG=${explicit}`;
452
452
  throw new UsageError(
453
- `\`--local\` selects the project-local .xano/auth.json and ${named} names another credential file \u2014 they cannot both be the one this command uses. Drop \`--local\`` + (args.authFile !== void 0 ? `, or drop \`--config\`.` : `, or unset XANO_CONFIG.`)
453
+ `\`--local-auth\` selects the project-local .xano/auth.json and ${named} names another credential file \u2014 they cannot both be the one this command uses. Drop \`--local-auth\`` + (args.authFile !== void 0 ? `, or drop \`--config\`.` : `, or unset XANO_CONFIG.`)
454
454
  );
455
455
  }
456
456
  if (explicit !== void 0) {
@@ -698,7 +698,7 @@ function credentialFileFlag(path) {
698
698
  return abs === resolve(byEnv) ? "" : ` --config ${shellQuote(abs)}`;
699
699
  }
700
700
  if (abs === resolve(globalAuthFilePath())) return "";
701
- if (abs === localAuthFilePath()) return " --local";
701
+ if (abs === localAuthFilePath()) return " --local-auth";
702
702
  return ` --config ${shellQuote(abs)}`;
703
703
  }
704
704
  function loginCommand(profile, target = {}, extra = []) {
@@ -1189,4 +1189,4 @@ export {
1189
1189
  addGitignoreRule,
1190
1190
  gitSaysIgnored
1191
1191
  };
1192
- //# sourceMappingURL=chunk-I2BGYNHD.js.map
1192
+ //# sourceMappingURL=chunk-OJPZEUPH.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-5ZSO4T2G.js";
4
4
  import {
5
5
  isPrivateLibraryRow
6
- } from "./chunk-XNCP4KYO.js";
6
+ } from "./chunk-VQPDATQT.js";
7
7
  import {
8
8
  REFERENCEABLE_KIND_PAYLOAD_KEYS,
9
9
  rawDeriveGuid
@@ -984,4 +984,4 @@ export {
984
984
  withoutGuidSources,
985
985
  mergeObserved
986
986
  };
987
- //# sourceMappingURL=chunk-OOGXZL7Z.js.map
987
+ //# sourceMappingURL=chunk-OKNE3TWU.js.map
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  installedCliAt,
10
10
  pathsShownFrom
11
- } from "./chunk-SBR2WZXG.js";
11
+ } from "./chunk-XNZURZ7T.js";
12
12
 
13
13
  // src/emit/project-sdk.ts
14
14
  import { existsSync, readFileSync, realpathSync } from "fs";
@@ -87,4 +87,4 @@ export {
87
87
  installedCliCommand,
88
88
  skewNote
89
89
  };
90
- //# sourceMappingURL=chunk-KUTFFHUM.js.map
90
+ //# sourceMappingURL=chunk-OVV2HXJ6.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  exportWorkspaceBundle
3
- } from "./chunk-QV3GXQRE.js";
3
+ } from "./chunk-XIABDKFQ.js";
4
4
  import {
5
5
  encodeWorkspaceArchive,
6
6
  readArchiveEntries
@@ -10,23 +10,23 @@ import {
10
10
  } from "./chunk-X4DVXBFY.js";
11
11
  import {
12
12
  resolveSource
13
- } from "./chunk-2AUV6NXK.js";
13
+ } from "./chunk-JXKO6JT7.js";
14
14
  import {
15
15
  downloadRelease
16
- } from "./chunk-A6QTTJUI.js";
16
+ } from "./chunk-3BJYQGAZ.js";
17
17
  import {
18
18
  backendDirIn
19
- } from "./chunk-E6H5ZEV3.js";
19
+ } from "./chunk-AGD7F7YI.js";
20
20
  import {
21
21
  BARE,
22
22
  UsageError,
23
23
  isKindShaped,
24
24
  parseSource,
25
25
  relForwardSlash
26
- } from "./chunk-SBR2WZXG.js";
26
+ } from "./chunk-XNZURZ7T.js";
27
27
  import {
28
28
  calcSignatureJson
29
- } from "./chunk-EESV6NU2.js";
29
+ } from "./chunk-XJU6UAFV.js";
30
30
 
31
31
  // src/emit/deploy-source.ts
32
32
  import { existsSync } from "fs";
@@ -36,7 +36,7 @@ var DEPLOY_SOURCE_KINDS = [
36
36
  "ephemeral",
37
37
  "tenant",
38
38
  "workspace",
39
- "local-engine"
39
+ "local"
40
40
  ];
41
41
  var ENTRY_FILE = "index.ts";
42
42
  function looksLikeSource(raw) {
@@ -144,4 +144,4 @@ export {
144
144
  gatedApiGroups,
145
145
  asWorkspaceArchive
146
146
  };
147
- //# sourceMappingURL=chunk-VRVKNY4A.js.map
147
+ //# sourceMappingURL=chunk-PIPIA7K7.js.map
@@ -26,7 +26,7 @@ function assertLoopbackUrl(url, what) {
26
26
  if (isLoopbackUrl(url)) return;
27
27
  throw new Error(
28
28
  `${what} reports a url this SDK will not send a token to: ${url}
29
- A local 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.`
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
30
  );
31
31
  }
32
32
  function requireString(raw, key, source) {
@@ -34,7 +34,7 @@ function requireString(raw, key, source) {
34
34
  if (typeof value !== "string" || value === "") {
35
35
  throw new Error(
36
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-engine update\`.`
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
38
  );
39
39
  }
40
40
  return value;
@@ -44,7 +44,7 @@ function requireNumber(raw, key, source) {
44
44
  if (typeof value !== "number" || !Number.isFinite(value)) {
45
45
  throw new Error(
46
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-engine update\`.`
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
48
  );
49
49
  }
50
50
  return value;
@@ -53,7 +53,7 @@ function readEngine(value, source) {
53
53
  if (value === null || typeof value !== "object" || Array.isArray(value)) {
54
54
  throw new Error(
55
55
  `${source} did not print an engine description.
56
- Re-run, and if it happens again fetch a fresh copy with \`xanosdk local-engine cache clear\`, then \`xanosdk deploy --local-engine\`.`
56
+ Re-run, and if it happens again fetch a fresh copy with \`xanosdk local cache clear\`, then \`xanosdk deploy --local\`.`
57
57
  );
58
58
  }
59
59
  const raw = value;
@@ -77,7 +77,7 @@ function parseEngineHandshake(stdout) {
77
77
  } catch {
78
78
  throw new Error(
79
79
  `${HANDSHAKE_SOURCE} did not print an engine description.
80
- Re-run, and if it happens again fetch a fresh copy with \`xanosdk local-engine cache clear\`, then \`xanosdk deploy --local-engine\`.`
80
+ Re-run, and if it happens again fetch a fresh copy with \`xanosdk local cache clear\`, then \`xanosdk deploy --local\`.`
81
81
  );
82
82
  }
83
83
  const engine = readEngine(value, HANDSHAKE_SOURCE);
@@ -93,13 +93,13 @@ function parseEngineListing(stdout) {
93
93
  } catch {
94
94
  throw new Error(
95
95
  `${LISTING_SOURCE} was not readable.
96
- Re-run, and if it happens again fetch a fresh copy with \`xanosdk local-engine cache clear\`, then \`xanosdk deploy --local-engine\`.`
96
+ Re-run, and if it happens again fetch a fresh copy with \`xanosdk local cache clear\`, then \`xanosdk deploy --local\`.`
97
97
  );
98
98
  }
99
99
  if (!Array.isArray(value)) {
100
100
  throw new Error(
101
101
  `${LISTING_SOURCE} was not a list.
102
- Re-run, and if it happens again fetch a fresh copy with \`xanosdk local-engine cache clear\`, then \`xanosdk deploy --local-engine\`.`
102
+ Re-run, and if it happens again fetch a fresh copy with \`xanosdk local cache clear\`, then \`xanosdk deploy --local\`.`
103
103
  );
104
104
  }
105
105
  return value.filter((entry) => !isForeignEngine(entry)).map((entry) => readEngine(entry, LISTING_SOURCE));
@@ -120,7 +120,7 @@ function resolveEnginePlatform(platform = process.platform, arch = process.arch)
120
120
  const pair = `${platform}-${arch}`;
121
121
  return SUPPORTED_PLATFORMS.find((p) => p === pair);
122
122
  }
123
- var LOCAL_ENGINE_HOME_ENV = "XANOSDK_LOCAL_ENGINE_HOME";
123
+ var LOCAL_ENGINE_HOME_ENV = "XANOSDK_ENGINE_HOME";
124
124
  function localEngineHome(env = process.env) {
125
125
  return readEnvVar(LOCAL_ENGINE_HOME_ENV, env) ?? join(homedir(), ".xanosdk", "local-engine");
126
126
  }
@@ -145,7 +145,7 @@ function legacyRuntimeDirs(env = process.env, platform = process.platform) {
145
145
  function localEngineBinDir(env = process.env) {
146
146
  return join(localEngineHome(env), "bin");
147
147
  }
148
- var LOCAL_ENGINE_OVERRIDE_ENV = "XANOSDK_LOCAL_ENGINE_OVERRIDE";
148
+ var LOCAL_ENGINE_OVERRIDE_ENV = "XANOSDK_ENGINE_OVERRIDE";
149
149
  var OVERRIDE_VERSION = /^v?\d+\.\d+\.\d+$/;
150
150
  function overrideSpec(value) {
151
151
  if (OVERRIDE_VERSION.test(value)) {
@@ -172,7 +172,7 @@ var ARCHIVE_SUFFIX = /\.(tar\.gz|tgz|gz|tar|zip)$/i;
172
172
  function engineOverrideRefusal(value, where, env = process.env) {
173
173
  if (/^https?:\/\//i.test(value)) {
174
174
  if (isTrustedEngineUrl(value)) return void 0;
175
- return `${where} names an engine over plain http on a host that is not this machine. An engine is a program this command runs, so fetched that way anyone on the network path could swap it (and read XANOSDK_LOCAL_ENGINE_TOKEN if it is set). Nothing was requested.
175
+ return `${where} names an engine over plain http on a host that is not this machine. An engine is a program this command runs, so fetched that way anyone on the network path could swap it (and read XANOSDK_ENGINE_TOKEN if it is set). Nothing was requested.
176
176
  Serve the archive over https://, or over http:// from 127.0.0.1, ::1 or localhost.`;
177
177
  }
178
178
  const scheme = /^([a-z][a-z0-9+.-]*):\/\//i.exec(value);
@@ -195,7 +195,7 @@ Check the path \u2014 ${where} is read exactly as passed, with \`~\` and relativ
195
195
  }
196
196
  var MISSING_ARCHIVE = "There is no engine archive to read at";
197
197
  function engineSourceRefusal(flagValue, env = process.env) {
198
- if (flagValue !== void 0 && flagValue !== "") return engineOverrideRefusal(flagValue, "`--local-engine`", env);
198
+ if (flagValue !== void 0 && flagValue !== "") return engineOverrideRefusal(flagValue, "`--local`", env);
199
199
  const fromEnv = readEnvVar(LOCAL_ENGINE_OVERRIDE_ENV, env)?.trim();
200
200
  if (fromEnv === void 0) return void 0;
201
201
  return engineOverrideRefusal(fromEnv, LOCAL_ENGINE_OVERRIDE_ENV, env);
@@ -234,4 +234,4 @@ export {
234
234
  engineOverrideFromEnv,
235
235
  resolveEngineSource
236
236
  };
237
- //# sourceMappingURL=chunk-AM4FKL4J.js.map
237
+ //# sourceMappingURL=chunk-PL7AIAWS.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  localEngineHome
3
- } from "./chunk-AM4FKL4J.js";
3
+ } from "./chunk-PL7AIAWS.js";
4
4
  import {
5
5
  filledAt,
6
6
  withValidFilled
@@ -141,4 +141,4 @@ export {
141
141
  clearEngineRecordsNamed,
142
142
  clearEngineRecordsStillMatching
143
143
  };
144
- //# sourceMappingURL=chunk-WL2DSNJV.js.map
144
+ //# sourceMappingURL=chunk-Q22BMRPF.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-X4DVXBFY.js";
7
7
  import {
8
8
  ImportHttpError
9
- } from "./chunk-MEE5RZ6G.js";
9
+ } from "./chunk-5XVBT6CQ.js";
10
10
  import {
11
11
  describeWrite
12
12
  } from "./chunk-4KHEMC32.js";
@@ -26,16 +26,16 @@ import {
26
26
  statusLabel,
27
27
  transportTarget,
28
28
  writeStatusAftermath
29
- } from "./chunk-MN2PB6WB.js";
29
+ } from "./chunk-HLQH3AXB.js";
30
30
  import {
31
31
  calcSignatureJson,
32
32
  signatureHolds
33
- } from "./chunk-EESV6NU2.js";
33
+ } from "./chunk-XJU6UAFV.js";
34
34
  import {
35
35
  HOSTED_FILE_SCHEME,
36
36
  HOSTED_ICON_KINDS,
37
37
  HOSTED_ROW_PATH_PREFIX
38
- } from "./chunk-XNCP4KYO.js";
38
+ } from "./chunk-VQPDATQT.js";
39
39
 
40
40
  // src/deploy/xanosdk-import.ts
41
41
  var IMPORT_TIMEOUT_MS = 12e4;
@@ -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-2P4BVSEV.js");
464
+ const { classifyFailure } = await import("./operation-outcome-GNDD35WL.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-IJ3SXSZM.js.map
560
+ //# sourceMappingURL=chunk-QOLOQ35F.js.map
@@ -4,17 +4,17 @@ import {
4
4
  listAnswer,
5
5
  recordAnswer,
6
6
  writeTransportFailure
7
- } from "./chunk-CFSFBKHP.js";
7
+ } from "./chunk-TEBS7FE6.js";
8
8
  import {
9
9
  contextFlags
10
- } from "./chunk-SEUCZZCP.js";
10
+ } from "./chunk-G57RYMKB.js";
11
11
  import {
12
12
  TransportError,
13
13
  fetchOrExplain,
14
14
  httpFailure,
15
15
  readBodyText,
16
16
  withWriteStatusAftermath
17
- } from "./chunk-MN2PB6WB.js";
17
+ } from "./chunk-HLQH3AXB.js";
18
18
  import {
19
19
  shellQuote
20
20
  } from "./chunk-5ZSO4T2G.js";
@@ -283,4 +283,4 @@ export {
283
283
  waitUntilReady,
284
284
  isUnansweredPoll
285
285
  };
286
- //# sourceMappingURL=chunk-BUECLQXK.js.map
286
+ //# sourceMappingURL=chunk-QZTJ2556.js.map