@xano/sdk 1.0.19 → 1.0.21

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 (235) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +5 -2
  3. package/dist/{agent-file-refresh-5IP25UYO.js → agent-file-refresh-5R5ALFEV.js} +13 -11
  4. package/dist/{agent-skill-command-BPM4S6C7.js → agent-skill-command-JBX7Z6AK.js} +49 -47
  5. package/dist/ai-models-command-I3FU6GYP.js +270 -0
  6. package/dist/{answer-shape-ZRQS7ZC4.js → answer-shape-BCGPH73R.js} +5 -5
  7. package/dist/{backend-dir-RLILKCMR.js → backend-dir-VOMHDVFP.js} +16 -14
  8. package/dist/{backend-slot-7BATLL3X.js → backend-slot-WSWAHL2W.js} +3 -3
  9. package/dist/bin.js +55 -51
  10. package/dist/{branch-SJKKUCMZ.js → branch-6DBHVVUT.js} +11 -11
  11. package/dist/{branch-commands-5HKCBRLN.js → branch-commands-JOSHDOXH.js} +29 -28
  12. package/dist/bundle.js +3 -3
  13. package/dist/chunk-37BT62SX.js +17 -0
  14. package/dist/{chunk-2IC3K22K.js → chunk-3HK7VELD.js} +2 -2
  15. package/dist/{chunk-ZYZ7GRX3.js → chunk-4DVP42ZC.js} +2 -2
  16. package/dist/{chunk-ROWYW3JF.js → chunk-4QRDNBPY.js} +2 -2
  17. package/dist/{chunk-KG3RDXN5.js → chunk-4TVHSC4V.js} +4 -4
  18. package/dist/{chunk-SINL5WMI.js → chunk-4Y3SWNPE.js} +2 -2
  19. package/dist/{chunk-6SEPZQYB.js → chunk-4ZV4MDKP.js} +2 -2
  20. package/dist/{chunk-IFHFJR5O.js → chunk-5ABAIJVV.js} +6 -6
  21. package/dist/chunk-5KSVMHFS.js +81 -0
  22. package/dist/{chunk-MOVRSULZ.js → chunk-5Z4WQQHC.js} +2 -2
  23. package/dist/{chunk-K23RUXSH.js → chunk-64F6ET45.js} +44 -16
  24. package/dist/{chunk-ZHFSIQ6E.js → chunk-6534P3VH.js} +25 -2
  25. package/dist/{chunk-Q6AKSLD2.js → chunk-6L32HAIP.js} +2 -2
  26. package/dist/chunk-6SXKKDGF.js +9 -0
  27. package/dist/{chunk-OTQF4B37.js → chunk-6TAYTKFM.js} +4 -4
  28. package/dist/{chunk-7UQZ7C4W.js → chunk-745NOWB7.js} +6 -6
  29. package/dist/{chunk-XAE4NIZ2.js → chunk-7J7YRAZB.js} +4 -4
  30. package/dist/{chunk-E34VGSCI.js → chunk-7LLVSTXY.js} +9 -1
  31. package/dist/{chunk-2HBJU76D.js → chunk-7SGMHGLI.js} +40 -22
  32. package/dist/{chunk-OTYK2V44.js → chunk-ANCNHQCH.js} +24 -24
  33. package/dist/{chunk-AICWDCLJ.js → chunk-BBFHZMQA.js} +2 -2
  34. package/dist/{chunk-54CJ74BH.js → chunk-C7KO5KKB.js} +4 -4
  35. package/dist/{chunk-V2MIBJZU.js → chunk-CGLYG2VF.js} +2 -2
  36. package/dist/{chunk-Z73I7Q2H.js → chunk-CJ5WRCVE.js} +80 -2
  37. package/dist/{chunk-WGKKDGSA.js → chunk-DAXFWXSV.js} +8 -8
  38. package/dist/{chunk-MSYMEP7Y.js → chunk-DJ7JH4UE.js} +7 -7
  39. package/dist/{chunk-XDGLYIB2.js → chunk-DORGB2Y2.js} +2 -2
  40. package/dist/{chunk-GA6HTO3O.js → chunk-EBSJUSID.js} +2 -2
  41. package/dist/{chunk-O2BLNQEC.js → chunk-EME5G4YP.js} +2 -2
  42. package/dist/{chunk-RVWWNNZQ.js → chunk-EOWNLLLV.js} +4 -4
  43. package/dist/{chunk-QIT2GGNB.js → chunk-EPD5J3WA.js} +2 -2
  44. package/dist/{chunk-WDWIXCGB.js → chunk-FJS5I6V4.js} +4 -4
  45. package/dist/{chunk-DO5VZIY4.js → chunk-FLM6TN7Q.js} +3 -3
  46. package/dist/{chunk-GT7PZCTK.js → chunk-FVBJKM6N.js} +3 -3
  47. package/dist/{chunk-F3IA3YWI.js → chunk-FVZ5C3PF.js} +22 -2
  48. package/dist/{chunk-PLOBHRGV.js → chunk-GODAKJ3L.js} +49 -49
  49. package/dist/{chunk-RKTVXFBV.js → chunk-GUHJV7C5.js} +31 -3
  50. package/dist/{chunk-B6ZHSM2D.js → chunk-HXVNBJVA.js} +73 -73
  51. package/dist/{chunk-G2XSDIYS.js → chunk-I52AKG2O.js} +4 -4
  52. package/dist/{chunk-VCFRALU7.js → chunk-I5YD7QPI.js} +28 -11
  53. package/dist/{chunk-ASUDP4OS.js → chunk-IA4FMPJ3.js} +8 -8
  54. package/dist/{chunk-YYBBJPCL.js → chunk-IUBGFCJJ.js} +14 -18
  55. package/dist/{chunk-L4L6YITX.js → chunk-IWFKPEWJ.js} +13 -10
  56. package/dist/{chunk-YP4QTC4F.js → chunk-J564PMKW.js} +6 -6
  57. package/dist/{chunk-AJPICYPW.js → chunk-JVMAWMO3.js} +113 -94
  58. package/dist/{chunk-UH5VQGNR.js → chunk-JXX2QXPP.js} +2 -2
  59. package/dist/{chunk-2DUYJR5N.js → chunk-KHX6VQ4M.js} +2 -2
  60. package/dist/{chunk-LRN6QX44.js → chunk-KL4PGJ2G.js} +3 -3
  61. package/dist/{chunk-BCN6OZLF.js → chunk-KU4HLYWT.js} +3 -3
  62. package/dist/{chunk-WGGATSIP.js → chunk-LMX4VE4H.js} +2 -2
  63. package/dist/{chunk-YT5UN2F4.js → chunk-LYR6W5LV.js} +14 -14
  64. package/dist/{chunk-DXUICABI.js → chunk-LZDH5COS.js} +21 -2
  65. package/dist/{chunk-2NUOFHPX.js → chunk-M42Y53Z4.js} +7 -7
  66. package/dist/{chunk-E5M5P23K.js → chunk-M5GXZEX7.js} +21 -215
  67. package/dist/{chunk-Q4LJCCH5.js → chunk-MGC5S6OE.js} +75 -9
  68. package/dist/{chunk-KVF7YQ2W.js → chunk-MJA5BP2M.js} +9 -9
  69. package/dist/{chunk-5Y5HWQ2P.js → chunk-MKRREVNB.js} +4 -4
  70. package/dist/{chunk-JORPZKBE.js → chunk-N2JZU6VR.js} +3 -3
  71. package/dist/{chunk-QK2WIASY.js → chunk-N3LPULRE.js} +7 -7
  72. package/dist/chunk-OF5YFPSK.js +278 -0
  73. package/dist/{chunk-D4N72H35.js → chunk-OFKFZSHS.js} +9 -9
  74. package/dist/{chunk-64UVVLDT.js → chunk-OG6WYZNA.js} +7 -7
  75. package/dist/{chunk-AJBOGO5U.js → chunk-OQMXCNN7.js} +59 -31
  76. package/dist/{chunk-EPB6FAR5.js → chunk-OSMPI45P.js} +3 -3
  77. package/dist/{chunk-QETVFGD7.js → chunk-OTUPQ7M3.js} +16 -16
  78. package/dist/{chunk-Q45RTKWW.js → chunk-OZVZ3KCH.js} +6 -6
  79. package/dist/{chunk-3X4B5GWY.js → chunk-P3WIMLG2.js} +3 -3
  80. package/dist/{chunk-JUCL5MUZ.js → chunk-PAWLPNBA.js} +8 -8
  81. package/dist/{chunk-GJZMKMWO.js → chunk-PC7XEO7F.js} +2 -2
  82. package/dist/{chunk-MF4W6FHU.js → chunk-Q4R2ABFL.js} +1 -1
  83. package/dist/{chunk-BT6CJNEO.js → chunk-Q77C32ZB.js} +4 -4
  84. package/dist/chunk-QHNSBURP.js +264 -0
  85. package/dist/{chunk-HUGNB6UN.js → chunk-QLXGLHK3.js} +71 -49
  86. package/dist/{chunk-NH5Z2NOD.js → chunk-QZ2PC6B7.js} +3 -3
  87. package/dist/{chunk-GTB7JL3M.js → chunk-QZXSPUNS.js} +6 -6
  88. package/dist/{chunk-LCOCRJ4K.js → chunk-RQGSZ7AR.js} +16 -2
  89. package/dist/{chunk-WLZSKD7E.js → chunk-SQVETROU.js} +3 -3
  90. package/dist/{chunk-554FJWNH.js → chunk-T2LFOMOP.js} +4 -4
  91. package/dist/{chunk-4HMF5TRB.js → chunk-T4HTNHXR.js} +8 -8
  92. package/dist/{chunk-FRJB3NTE.js → chunk-T6KQYCAU.js} +3 -3
  93. package/dist/{chunk-YYDM4DNP.js → chunk-TDSRZDQP.js} +2 -2
  94. package/dist/{chunk-RKNCISPM.js → chunk-VEA6EXJL.js} +3 -3
  95. package/dist/{chunk-KYQRIL4V.js → chunk-VJCUFHTQ.js} +26 -26
  96. package/dist/{chunk-6FCAFWD5.js → chunk-VO62TKK5.js} +3 -77
  97. package/dist/{chunk-3FNEHRJF.js → chunk-VV7FVGOX.js} +8 -8
  98. package/dist/{chunk-HM5X73PY.js → chunk-WK5QDV25.js} +2 -2
  99. package/dist/{chunk-5JUWB6XL.js → chunk-WXY24GKO.js} +7 -7
  100. package/dist/{chunk-XKHQLKUL.js → chunk-X7EK5PTK.js} +3 -3
  101. package/dist/{chunk-CO7US54H.js → chunk-X7IBJLAD.js} +2 -2
  102. package/dist/{chunk-E7VF2JVJ.js → chunk-XD5FOBMZ.js} +10 -10
  103. package/dist/{chunk-PKBC7G5H.js → chunk-XDIPEWLU.js} +25 -1
  104. package/dist/{chunk-NYIFU3BR.js → chunk-XWEDFVJ6.js} +21 -19
  105. package/dist/{chunk-OJ6YGRPV.js → chunk-YAZEB255.js} +3 -3
  106. package/dist/{chunk-UJ5HLRYH.js → chunk-YF7PDN6T.js} +35 -35
  107. package/dist/{chunk-RGPHFHJU.js → chunk-YFVD3LNL.js} +2 -2
  108. package/dist/{chunk-35SI4GBM.js → chunk-YSSAJQH4.js} +3 -3
  109. package/dist/{chunk-UQNDODRU.js → chunk-Z7IINILG.js} +5 -5
  110. package/dist/{chunk-PRSNMSVG.js → chunk-ZCXWOGFL.js} +3 -3
  111. package/dist/{chunk-5AHHO2QA.js → chunk-ZNGUETV7.js} +163 -97
  112. package/dist/cli.d.ts +10 -1
  113. package/dist/cli.js +48 -46
  114. package/dist/{codegen-command-OF3TPC66.js → codegen-command-ZXABRPVP.js} +68 -66
  115. package/dist/{commands-Z2QZOORB.js → commands-EN4RLPOP.js} +2 -2
  116. package/dist/{completion-LFXXNQGR.js → completion-KH45QD3E.js} +2 -2
  117. package/dist/{config-7GGINOFY.js → config-AKHBFTKA.js} +8 -8
  118. package/dist/{deploy-command-MGYR2TKC.js → deploy-command-KO5FATR6.js} +55 -53
  119. package/dist/{deploy-source-UHCHCI5Z.js → deploy-source-7GCMMZKV.js} +34 -33
  120. package/dist/{dev-env-sync-XWZVXEI2.js → dev-env-sync-LZ22CSKD.js} +51 -49
  121. package/dist/{display-name-hint-5GLJGPQ6.js → display-name-hint-QMT562BI.js} +13 -13
  122. package/dist/{emit-DlOKIJER.d.ts → emit-BfHifhJy.d.ts} +120 -7
  123. package/dist/{env-example-refresh-FACP4FQE.js → env-example-refresh-DWGV4DFX.js} +69 -67
  124. package/dist/{env-pull-command-SHK4TI6U.js → env-pull-command-5N5AUKJK.js} +52 -50
  125. package/dist/{env-target-ZQSPPN4A.js → env-target-CXZXMK3W.js} +13 -13
  126. package/dist/{env-var-command-Q2ZHKWAQ.js → env-var-command-4RGQALIH.js} +55 -54
  127. package/dist/{ephemeral-2DXWP3VK.js → ephemeral-MNHEWSZ6.js} +11 -11
  128. package/dist/{ephemeral-command-FKOSN56R.js → ephemeral-command-GIB63YX3.js} +64 -62
  129. package/dist/{ephemeral-state-56XEDUJW.js → ephemeral-state-QTT5JHD5.js} +11 -11
  130. package/dist/{generate-command-2JCMZ6CG.js → generate-command-GW42CN4I.js} +77 -75
  131. package/dist/{gitignore-Z5N6DEEV.js → gitignore-RDEUQHHG.js} +19 -17
  132. package/dist/{guards-LQ7PSXOL.js → guards-N4PUFKN5.js} +3 -2
  133. package/dist/{impersonate-command-R24VBFQA.js → impersonate-command-H72JM5IF.js} +44 -42
  134. package/dist/{import-VJQGIS33.js → import-7HFTOT7M.js} +5 -5
  135. package/dist/index.d.ts +142 -7
  136. package/dist/index.js +7 -6
  137. package/dist/{init-command-UOCNESZK.js → init-command-ERRMSKPB.js} +52 -50
  138. package/dist/{init-modules-5DYK7V4J.js → init-modules-UH7PPQTB.js} +11 -9
  139. package/dist/{init-web-25QJ4JWB.js → init-web-YCPD6BYN.js} +2 -2
  140. package/dist/internal.d.ts +4 -4
  141. package/dist/internal.js +169 -24
  142. package/dist/{keep-data-merge-HLIXZC77.js → keep-data-merge-BNX3HEHM.js} +32 -31
  143. package/dist/{landing-record-FYKDJIUF.js → landing-record-ZY4O7OLQ.js} +23 -21
  144. package/dist/{live-diff-YOFOJCFX.js → live-diff-GZ6JUNP6.js} +5 -4
  145. package/dist/local-engine-ai-YWAMTHME.js +47 -0
  146. package/dist/{local-engine-choice-4ZA2HZXH.js → local-engine-choice-PCM45R3A.js} +43 -36
  147. package/dist/local-engine-command-ACJ6YUP7.js +93 -0
  148. package/dist/{local-engine-config-6CB6FOEJ.js → local-engine-config-MVNWKHZ4.js} +15 -3
  149. package/dist/{local-engine-deploy-XAEDT55W.js → local-engine-deploy-IUHWB43Q.js} +21 -18
  150. package/dist/{local-engine-lookup-WBYTY2JE.js → local-engine-lookup-2VSUWEQY.js} +6 -6
  151. package/dist/{local-engine-mcp-bridge-3H5OXBWQ.js → local-engine-mcp-bridge-ECGTK7LF.js} +6 -6
  152. package/dist/{local-engine-mcp-command-SUAVS5UA.js → local-engine-mcp-command-EODMA3X5.js} +52 -44
  153. package/dist/{local-engine-process-35B2KQED.js → local-engine-process-P5T2766M.js} +19 -11
  154. package/dist/local-engine-release-OK6GKULS.js +40 -0
  155. package/dist/{local-engine-state-JZHTKHDG.js → local-engine-state-BOKHLNRQ.js} +4 -4
  156. package/dist/{local-engine-update-check-VXJZSIJU.js → local-engine-update-check-C72LSVUQ.js} +7 -7
  157. package/dist/{lock-commands-ZT6YTQYA.js → lock-commands-YBBTZB6M.js} +55 -53
  158. package/dist/{login-command-ONGJASKA.js → login-command-DJCCEN5O.js} +39 -32
  159. package/dist/{logout-command-PLYGFHBQ.js → logout-command-6FQLSD5H.js} +16 -16
  160. package/dist/{loop-CLLBQSJF.js → loop-EMTBWN4X.js} +5 -4
  161. package/dist/{marketplace-command-LNNAA7ZK.js → marketplace-command-2JZERTJW.js} +42 -40
  162. package/dist/{marketplace-resolve-63QWMQZU.js → marketplace-resolve-LT76KHJD.js} +9 -7
  163. package/dist/{meta-client-JND42QEJ.js → meta-client-KDTBLP6X.js} +15 -15
  164. package/dist/{module-manifest-NWJWAQLQ.js → module-manifest-B432UFBK.js} +3 -3
  165. package/dist/node.d.ts +5 -5
  166. package/dist/node.js +61 -59
  167. package/dist/{operation-outcome-U6IWKLBK.js → operation-outcome-POYID3M6.js} +26 -26
  168. package/dist/{output-target-QJSHZBVY.js → output-target-55RSDDTO.js} +20 -18
  169. package/dist/{plan-disclosure-XTAEE4BE.js → plan-disclosure-5HM7CMRW.js} +19 -18
  170. package/dist/{plugin-contributions-DD6R6RL6.js → plugin-contributions-MEXUR7TY.js} +4 -4
  171. package/dist/{plugin-prompt-UX2TT5NS.js → plugin-prompt-XM4ATAWA.js} +4 -4
  172. package/dist/{plugin-questions-WE2F4ZC4.js → plugin-questions-VGU3B4LE.js} +3 -3
  173. package/dist/{preflight-command-ZKUQSIL2.js → preflight-command-ZP7VVE5T.js} +60 -58
  174. package/dist/{profile-command-PJUA5ZMX.js → profile-command-EP7N7LNQ.js} +38 -36
  175. package/dist/{profile-pointer-RCPHVTJV.js → profile-pointer-DHOU26Q2.js} +5 -5
  176. package/dist/{profile-select-45G5VPJK.js → profile-select-ZANK43KE.js} +2 -2
  177. package/dist/project-config-SGRYMHBT.js +37 -0
  178. package/dist/{project-dependency-TPVV3YIX.js → project-dependency-WTH776QE.js} +10 -8
  179. package/dist/{project-sdk-DKZBK5H5.js → project-sdk-FYNY7RTO.js} +3 -3
  180. package/dist/promote-command-LX5UWQYG.js +150 -0
  181. package/dist/{prompt-OYQHQWKI.js → prompt-JVYQH4OR.js} +3 -3
  182. package/dist/{publish-command-JSYK6HOW.js → publish-command-DW5VLFJN.js} +65 -63
  183. package/dist/{pull-command-K5X367MA.js → pull-command-ZUDJRRXV.js} +71 -69
  184. package/dist/{pull-superseded-3SSM3JFT.js → pull-superseded-7EZ7M54I.js} +3 -3
  185. package/dist/{release-command-OC7MT4FV.js → release-command-Z3HXXLLO.js} +66 -64
  186. package/dist/{release-ns-command-EHNEAEDU.js → release-ns-command-JS3OUEFQ.js} +93 -91
  187. package/dist/{retry-command-WP4ZI6CJ.js → retry-command-HG4IFE65.js} +10 -10
  188. package/dist/{routes-manifest-file-A2PW7IQ7.js → routes-manifest-file-PIKQ3BIJ.js} +4 -4
  189. package/dist/{secrets-file-2RHMJFXQ.js → secrets-file-QLVCR2JD.js} +19 -17
  190. package/dist/{secrets-fill-command-HYMF6EZM.js → secrets-fill-command-BK7NVKPY.js} +52 -50
  191. package/dist/{seed-W5FNE6IB.js → seed-M33F4OJW.js} +3 -3
  192. package/dist/{source-resolve-PMA7SHZE.js → source-resolve-GGRHO6NW.js} +24 -24
  193. package/dist/{static-host-3HPZKVKK.js → static-host-HCKD26Q3.js} +5 -5
  194. package/dist/{status-command-CROHQRPI.js → status-command-3DISBMGH.js} +52 -51
  195. package/dist/{store-Dg9FLJkx.d.ts → store-Dt-5vOSe.d.ts} +149 -1
  196. package/dist/{store-B63BQV6R.js → store-ZWQFSXH5.js} +8 -8
  197. package/dist/{sync-baseline-LSGKNCKM.js → sync-baseline-XLRJQZCS.js} +7 -6
  198. package/dist/{sync-contributions-QDEWZ3IU.js → sync-contributions-GAV6PZEY.js} +17 -13
  199. package/dist/{sync-record-AWFCSS4D.js → sync-record-UFEJDNLR.js} +13 -13
  200. package/dist/{table-WJ7YDJ6Q.js → table-JHPGUJ2Z.js} +6 -6
  201. package/dist/{tables-command-BKVDHAGJ.js → tables-command-D7DSJAXI.js} +41 -40
  202. package/dist/{tenant-IXIW3FOI.js → tenant-SSWC7B3V.js} +12 -12
  203. package/dist/{tenant-command-Y7VCGDMY.js → tenant-command-6S5RU4PP.js} +96 -94
  204. package/dist/{test-command-2RAUNIU5.js → test-command-FSRARFF7.js} +44 -43
  205. package/dist/{tests-N4MMBABH.js → tests-ZFQWDWS2.js} +6 -6
  206. package/dist/{token-4I26OGWH.js → token-XTU3C2DI.js} +14 -12
  207. package/dist/{toolchain-hooks-IJWV3ZQS.js → toolchain-hooks-IRPM6LYL.js} +3 -3
  208. package/dist/{toolchain-modules-XM4JXHQC.js → toolchain-modules-YSM6DMDB.js} +9 -5
  209. package/dist/{toolchain-peers-EMOYN4U7.js → toolchain-peers-NOIM44ED.js} +11 -9
  210. package/dist/{tracked-backend-EZE6H3EZ.js → tracked-backend-7XW4KPIR.js} +39 -36
  211. package/dist/{update-check-QLB5DV3B.js → update-check-KKDYZG3X.js} +51 -49
  212. package/dist/{upgrade-command-4DCDBDB5.js → upgrade-command-LRJ7V3UW.js} +55 -53
  213. package/dist/{whoami-command-WI4VT3IN.js → whoami-command-FBRWLX5Q.js} +15 -15
  214. package/dist/{workspace-DIM3SBPV.js → workspace-DTM3ZNTM.js} +5 -5
  215. package/dist/{workspace-binding-43PBQEE4.js → workspace-binding-M7XSJIWC.js} +14 -14
  216. package/dist/{workspace-command-FWTHIFVI.js → workspace-command-3T6CT7UA.js} +96 -94
  217. package/dist/{workspace-env-5PJVWQ2O.js → workspace-env-RIKENQFC.js} +17 -15
  218. package/dist/{workspace-export-3KMWNZDD.js → workspace-export-A4L6272C.js} +5 -5
  219. package/dist/{writable-X7BCN7XE.js → writable-762DMPHW.js} +3 -3
  220. package/dist/{xano-RLSNDM7O.js → xano-XZN5SRDH.js} +4 -3
  221. package/dist/{xanosdk-import-VOJEAK5Q.js → xanosdk-import-L3ZZIT6I.js} +6 -6
  222. package/dist/{xanosdk-project-PV3ORVP5.js → xanosdk-project-YVLCGM3Y.js} +16 -14
  223. package/guides/cli.md +3 -0
  224. package/guides/coverage.md +4 -4
  225. package/llms/kinds-agent-mcp.md +3 -1
  226. package/llms/statements-ai.md +21 -0
  227. package/llms/statements-catalog.md +1 -8
  228. package/llms-full.txt +33 -15
  229. package/llms.txt +7 -6
  230. package/manifest.json +651 -3
  231. package/package.json +2 -38
  232. package/skills/xano-backend/SKILL.md +2 -2
  233. package/dist/.build-fingerprint +0 -1
  234. package/dist/local-engine-command-WQS4SD6N.js +0 -85
  235. package/dist/promote-command-NDYP66LD.js +0 -148
@@ -1909,7 +1909,7 @@ function encodeFromSpec(spec, authored) {
1909
1909
  );
1910
1910
  break;
1911
1911
  case "input": {
1912
- const value = rule.enum ? resolveEnumValue(label, rule.field, rule.enum, provided) : provided;
1912
+ const value = rule.enum ? resolveEnumValue(label, rule.field, rule.enum, provided) : rule.open && typeof provided === "string" ? c.text(provided) : provided;
1913
1913
  assertValueArg(label, rule.field, value);
1914
1914
  input.push(inputEntry(rule.route.name, value, env?.inputFull ?? false));
1915
1915
  break;
@@ -1957,6 +1957,14 @@ function registerSpec(spec) {
1957
1957
 
1958
1958
  // src/statements/generated/specs.generated.ts
1959
1959
  var GENERATED_SPECS = [
1960
+ { "name": "mvp:ai_embedding_create", "factory": "s.ai.embedding.create", "rules": [{ "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "model", "type": "value", "optional": true, "open": true, "route": { "kind": "input", "name": "model" } }, { "field": "input", "type": "value", "optional": false, "route": { "kind": "input", "name": "input" } }, { "field": "task_type", "type": "value", "optional": true, "route": { "kind": "input", "name": "task_type" } }, { "field": "dimensions", "type": "value", "optional": true, "route": { "kind": "input", "name": "dimensions" } }, { "field": "location", "type": "value", "optional": true, "enum": ["", "us", "global", "eu"], "route": { "kind": "input", "name": "location" } }] },
1961
+ { "name": "mvp:ai_image_generate", "factory": "s.ai.image.generate", "rules": [{ "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "model", "type": "value", "optional": true, "open": true, "route": { "kind": "input", "name": "model" } }, { "field": "prompt", "type": "value", "optional": false, "route": { "kind": "input", "name": "prompt" } }, { "field": "images", "type": "value", "optional": true, "route": { "kind": "input", "name": "images" } }, { "field": "aspect_ratio", "type": "value", "optional": true, "enum": ["1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", "16:9", "21:9"], "route": { "kind": "input", "name": "aspect_ratio" } }, { "field": "image_size", "type": "value", "optional": true, "enum": ["1K", "2K", "4K"], "route": { "kind": "input", "name": "image_size" } }, { "field": "save_to_files", "type": "value", "optional": true, "enum": ["", "public", "private"], "route": { "kind": "input", "name": "save_to_files" } }, { "field": "location", "type": "value", "optional": true, "enum": ["", "us", "global", "eu"], "route": { "kind": "input", "name": "location" } }] },
1962
+ { "name": "mvp:ai_music_generate", "factory": "s.ai.music.generate", "rules": [{ "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "model", "type": "value", "optional": true, "open": true, "route": { "kind": "input", "name": "model" } }, { "field": "prompt", "type": "value", "optional": false, "route": { "kind": "input", "name": "prompt" } }, { "field": "negative_prompt", "type": "value", "optional": true, "route": { "kind": "input", "name": "negative_prompt" } }, { "field": "seed", "type": "value", "optional": true, "route": { "kind": "input", "name": "seed" } }, { "field": "save_to_files", "type": "value", "optional": true, "enum": ["", "public", "private"], "route": { "kind": "input", "name": "save_to_files" } }, { "field": "location", "type": "value", "optional": true, "enum": ["", "us", "global", "eu"], "route": { "kind": "input", "name": "location" } }] },
1963
+ { "name": "mvp:ai_rerank", "factory": "s.ai.rerank", "rules": [{ "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "model", "type": "value", "optional": true, "open": true, "route": { "kind": "input", "name": "model" } }, { "field": "query", "type": "value", "optional": false, "route": { "kind": "input", "name": "query" } }, { "field": "documents", "type": "value", "optional": false, "route": { "kind": "input", "name": "documents" } }, { "field": "top_n", "type": "value", "optional": true, "route": { "kind": "input", "name": "top_n" } }, { "field": "location", "type": "value", "optional": true, "enum": ["", "us", "global", "eu"], "route": { "kind": "input", "name": "location" } }] },
1964
+ { "name": "mvp:ai_speech_generate", "factory": "s.ai.speech.generate", "rules": [{ "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "model", "type": "value", "optional": true, "open": true, "route": { "kind": "input", "name": "model" } }, { "field": "text", "type": "value", "optional": false, "route": { "kind": "input", "name": "text" } }, { "field": "voice", "type": "value", "optional": true, "open": true, "route": { "kind": "input", "name": "voice" } }, { "field": "instructions", "type": "value", "optional": true, "route": { "kind": "input", "name": "instructions" } }, { "field": "save_to_files", "type": "value", "optional": true, "enum": ["", "public", "private"], "route": { "kind": "input", "name": "save_to_files" } }, { "field": "location", "type": "value", "optional": true, "enum": ["", "us", "global", "eu"], "route": { "kind": "input", "name": "location" } }] },
1965
+ { "name": "mvp:ai_speech_transcribe", "factory": "s.ai.speech.transcribe", "rules": [{ "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "model", "type": "value", "optional": true, "open": true, "route": { "kind": "input", "name": "model" } }, { "field": "audio", "type": "value", "optional": false, "route": { "kind": "input", "name": "audio" } }, { "field": "language", "type": "value", "optional": true, "route": { "kind": "input", "name": "language" } }, { "field": "prompt", "type": "value", "optional": true, "route": { "kind": "input", "name": "prompt" } }, { "field": "location", "type": "value", "optional": true, "enum": ["", "us", "global", "eu"], "route": { "kind": "input", "name": "location" } }] },
1966
+ { "name": "mvp:ai_text_generate", "factory": "s.ai.text.generate", "rules": [{ "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "model", "type": "value", "optional": true, "open": true, "route": { "kind": "input", "name": "model" } }, { "field": "prompt", "type": "value", "optional": true, "route": { "kind": "input", "name": "prompt" } }, { "field": "system", "type": "value", "optional": true, "route": { "kind": "input", "name": "system" } }, { "field": "messages", "type": "value", "optional": true, "route": { "kind": "input", "name": "messages" } }, { "field": "files", "type": "value", "optional": true, "route": { "kind": "input", "name": "files" } }, { "field": "temperature", "type": "value", "optional": true, "route": { "kind": "input", "name": "temperature" } }, { "field": "max_tokens", "type": "value", "optional": true, "route": { "kind": "input", "name": "max_tokens" } }, { "field": "response_format", "type": "value", "optional": true, "enum": ["text", "json"], "route": { "kind": "input", "name": "response_format" } }, { "field": "json_schema", "type": "value", "optional": true, "route": { "kind": "input", "name": "json_schema" } }, { "field": "location", "type": "value", "optional": true, "enum": ["", "us", "global", "eu"], "route": { "kind": "input", "name": "location" } }] },
1967
+ { "name": "mvp:ai_video_generate", "factory": "s.ai.video.generate", "rules": [{ "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "model", "type": "value", "optional": true, "open": true, "route": { "kind": "input", "name": "model" } }, { "field": "prompt", "type": "value", "optional": false, "route": { "kind": "input", "name": "prompt" } }, { "field": "negative_prompt", "type": "value", "optional": true, "route": { "kind": "input", "name": "negative_prompt" } }, { "field": "image", "type": "value", "optional": true, "route": { "kind": "input", "name": "image" } }, { "field": "last_image", "type": "value", "optional": true, "route": { "kind": "input", "name": "last_image" } }, { "field": "aspect_ratio", "type": "value", "optional": true, "enum": ["16:9", "9:16"], "route": { "kind": "input", "name": "aspect_ratio" } }, { "field": "resolution", "type": "value", "optional": true, "enum": ["720p", "1080p", "4k"], "route": { "kind": "input", "name": "resolution" } }, { "field": "duration", "type": "value", "optional": true, "route": { "kind": "input", "name": "duration" } }, { "field": "generate_audio", "type": "value", "optional": true, "route": { "kind": "input", "name": "generate_audio" } }, { "field": "timeout", "type": "value", "optional": true, "route": { "kind": "input", "name": "timeout" } }, { "field": "save_to_files", "type": "value", "optional": true, "enum": ["", "public", "private"], "route": { "kind": "input", "name": "save_to_files" } }, { "field": "location", "type": "value", "optional": true, "enum": ["", "us", "global", "eu"], "route": { "kind": "input", "name": "location" } }] },
1960
1968
  { "name": "mvp:algolia_request", "factory": "s.cloud.algolia.request", "output": true, "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "application_id", "type": "value", "optional": false, "route": { "kind": "input", "name": "application_id" } }, { "field": "api_key", "type": "value", "optional": false, "route": { "kind": "input", "name": "api_key" } }, { "field": "url", "type": "value", "optional": false, "route": { "kind": "input", "name": "url" } }, { "field": "method", "type": "value", "optional": true, "enum": ["POST", "GET", "DELETE", "PUT"], "route": { "kind": "input", "name": "method" } }, { "field": "payload", "type": "value", "optional": false, "route": { "kind": "input", "name": "payload" } }], "envelope": { "inputFull": true, "description": true, "settingsRegistry": true, "addon": true, "richOutput": true } },
1961
1969
  { "name": "mvp:amazon_opensearch_document", "factory": "s.cloud.aws.opensearch.document", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "auth_type", "type": "value", "optional": true, "default": "IAM", "enum": ["IAM", "master"], "route": { "kind": "input", "name": "auth_type" } }, { "field": "key_id", "type": "value", "optional": false, "route": { "kind": "input", "name": "key_id" } }, { "field": "access_key", "type": "value", "optional": false, "route": { "kind": "input", "name": "access_key" } }, { "field": "region", "type": "value", "optional": false, "route": { "kind": "input", "name": "region" } }, { "field": "base_url", "type": "value", "optional": false, "route": { "kind": "input", "name": "base_url" } }, { "field": "method", "type": "value", "optional": true, "default": "GET", "enum": ["GET", "POST", "PUT", "DELETE"], "route": { "kind": "input", "name": "method" } }, { "field": "index", "type": "value", "optional": false, "route": { "kind": "input", "name": "index" } }, { "field": "doc_id", "type": "value", "optional": false, "route": { "kind": "input", "name": "doc_id" } }, { "field": "doc", "type": "value", "optional": false, "route": { "kind": "input", "name": "doc" } }] },
1962
1970
  { "name": "mvp:amazon_opensearch_query", "factory": "s.cloud.aws.opensearch.query", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "auth_type", "type": "value", "optional": true, "default": "IAM", "enum": ["IAM", "master"], "route": { "kind": "input", "name": "auth_type" } }, { "field": "key_id", "type": "value", "optional": false, "route": { "kind": "input", "name": "key_id" } }, { "field": "access_key", "type": "value", "optional": false, "route": { "kind": "input", "name": "access_key" } }, { "field": "region", "type": "value", "optional": false, "route": { "kind": "input", "name": "region" } }, { "field": "base_url", "type": "value", "optional": false, "route": { "kind": "input", "name": "base_url" } }, { "field": "index", "type": "value", "optional": false, "route": { "kind": "input", "name": "index" } }, { "field": "payload", "type": "value", "optional": false, "route": { "kind": "input", "name": "payload" } }, { "field": "size", "type": "value", "optional": true, "default": "null", "route": { "kind": "input", "name": "size" } }, { "field": "from", "type": "value", "optional": true, "default": "", "route": { "kind": "input", "name": "from" } }, { "field": "included_fields", "type": "value", "optional": true, "default": "[]", "route": { "kind": "input", "name": "included_fields" } }, { "field": "return_type", "type": "value", "optional": true, "default": "search", "enum": ["search", "count"], "route": { "kind": "input", "name": "return_type" } }, { "field": "expression", "type": "value", "optional": true, "default": "[]", "route": { "kind": "input", "name": "expression" } }, { "field": "sort", "type": "value", "optional": true, "default": "[]", "route": { "kind": "input", "name": "sort" } }] },
@@ -2121,6 +2129,12 @@ var SPECS = new Map(GENERATED_SPECS.map((s) => [s.name, s]));
2121
2129
  var fromSpec = (name, a) => encodeFromSpec(SPECS.get(name), a);
2122
2130
  var generated = {
2123
2131
  ai: {
2132
+ embedding: {
2133
+ create: (
2134
+ /** `mvp:ai_embedding_create` — fields: as, model, input, task_type, dimensions, location */
2135
+ (a) => fromSpec("mvp:ai_embedding_create", a)
2136
+ )
2137
+ },
2124
2138
  external: {
2125
2139
  mcp: {
2126
2140
  server_details: (
@@ -2138,6 +2152,44 @@ var generated = {
2138
2152
  )
2139
2153
  }
2140
2154
  }
2155
+ },
2156
+ image: {
2157
+ generate: (
2158
+ /** `mvp:ai_image_generate` — fields: as, model, prompt, images, aspect_ratio, image_size, save_to_files, location */
2159
+ (a) => fromSpec("mvp:ai_image_generate", a)
2160
+ )
2161
+ },
2162
+ music: {
2163
+ generate: (
2164
+ /** `mvp:ai_music_generate` — fields: as, model, prompt, negative_prompt, seed, save_to_files, location */
2165
+ (a) => fromSpec("mvp:ai_music_generate", a)
2166
+ )
2167
+ },
2168
+ rerank: (
2169
+ /** `mvp:ai_rerank` — fields: as, model, query, documents, top_n, location */
2170
+ (a) => fromSpec("mvp:ai_rerank", a)
2171
+ ),
2172
+ speech: {
2173
+ generate: (
2174
+ /** `mvp:ai_speech_generate` — fields: as, model, text, voice, instructions, save_to_files, location */
2175
+ (a) => fromSpec("mvp:ai_speech_generate", a)
2176
+ ),
2177
+ transcribe: (
2178
+ /** `mvp:ai_speech_transcribe` — fields: as, model, audio, language, prompt, location */
2179
+ (a) => fromSpec("mvp:ai_speech_transcribe", a)
2180
+ )
2181
+ },
2182
+ text: {
2183
+ generate: (
2184
+ /** `mvp:ai_text_generate` — fields: as, model, prompt, system, messages, files, temperature, max_tokens, response_format, json_schema, location */
2185
+ (a = {}) => fromSpec("mvp:ai_text_generate", a)
2186
+ )
2187
+ },
2188
+ video: {
2189
+ generate: (
2190
+ /** `mvp:ai_video_generate` — fields: as, model, prompt, negative_prompt, image, last_image, aspect_ratio, resolution, duration, generate_audio, timeout, save_to_files, location */
2191
+ (a) => fromSpec("mvp:ai_video_generate", a)
2192
+ )
2141
2193
  }
2142
2194
  },
2143
2195
  api: {
@@ -3105,6 +3157,32 @@ var READ_UNCONDITIONALLY = {
3105
3157
  "mvp:zip_extract_file_resource": ["password"],
3106
3158
  "mvp:zip_view_contents": ["password"]
3107
3159
  };
3160
+ var XANO_AI_STATEMENTS = [
3161
+ "mvp:ai_text_generate",
3162
+ "mvp:ai_image_generate",
3163
+ "mvp:ai_video_generate",
3164
+ "mvp:ai_music_generate",
3165
+ "mvp:ai_speech_generate",
3166
+ "mvp:ai_speech_transcribe",
3167
+ "mvp:ai_embedding_create",
3168
+ "mvp:ai_rerank"
3169
+ ];
3170
+ var CLASS_OPTIONAL = {
3171
+ "mvp:amazon_s3_upload_file": ["metadata"],
3172
+ "mvp:google_cloud_storage_upload_file": ["metadata"],
3173
+ "mvp:azure_blob_storage_upload_file": ["metadata"],
3174
+ "mvp:azure_blob_storage_list_directory": ["path"],
3175
+ "mvp:azure_blob_storage_signed_url": ["ttl"],
3176
+ "mvp:google_cloud_storage_signed_url": ["method", "ttl"],
3177
+ "mvp:microservice_request": ["method", "params", "timeout", "follow_location"],
3178
+ "mvp:algolia_request": ["method"],
3179
+ // The Xano AI statements. The schema YAML declares `model` bare, but the
3180
+ // engine composes each statement's input schema at run time with `model`
3181
+ // optional and defaulted to that statement's suggested model, and a blank or
3182
+ // absent model falls back to the same suggestion before the request is sent.
3183
+ // So leaving `model` out is the normal call, not a stranded statement.
3184
+ ...Object.fromEntries(XANO_AI_STATEMENTS.map((n) => [n, ["model"]]))
3185
+ };
3108
3186
  var CLASS_REQUIRED = {
3109
3187
  "mvp:lambda": ["code"],
3110
3188
  "mvp:api_request": ["url"],
@@ -9562,4 +9640,4 @@ export {
9562
9640
  checkAgentArgPlaceholders,
9563
9641
  checkAgentToolsOff
9564
9642
  };
9565
- //# sourceMappingURL=chunk-Z73I7Q2H.js.map
9643
+ //# sourceMappingURL=chunk-CJ5WRCVE.js.map
@@ -2,25 +2,25 @@ import {
2
2
  filledAt,
3
3
  withValidFilled
4
4
  } from "./chunk-ZYJP6BOO.js";
5
+ import {
6
+ destinationKey,
7
+ nextLandedRecord
8
+ } from "./chunk-2H5BQRHF.js";
5
9
  import {
6
10
  withFileLockSync
7
11
  } from "./chunk-QO6BVGS5.js";
8
12
  import {
9
13
  unreadableError
10
- } from "./chunk-YYDM4DNP.js";
14
+ } from "./chunk-TDSRZDQP.js";
11
15
  import {
12
16
  ensureGitignored
13
- } from "./chunk-AJBOGO5U.js";
14
- import {
15
- destinationKey,
16
- nextLandedRecord
17
- } from "./chunk-2H5BQRHF.js";
17
+ } from "./chunk-OQMXCNN7.js";
18
18
  import {
19
19
  atomicWrite
20
20
  } from "./chunk-LLNZGEFK.js";
21
21
  import {
22
22
  DEFAULT_PROFILE
23
- } from "./chunk-MF4W6FHU.js";
23
+ } from "./chunk-Q4R2ABFL.js";
24
24
 
25
25
  // src/deploy/ephemeral-state.ts
26
26
  import { readFileSync, mkdirSync } from "fs";
@@ -301,4 +301,4 @@ export {
301
301
  recordEphemeralLanding,
302
302
  clearEphemeralLanding
303
303
  };
304
- //# sourceMappingURL=chunk-WGKKDGSA.js.map
304
+ //# sourceMappingURL=chunk-DAXFWXSV.js.map
@@ -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,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
@@ -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,10 +1,10 @@
1
1
  import {
2
2
  backendDirFor,
3
3
  backendDirIn
4
- } from "./chunk-JORPZKBE.js";
4
+ } from "./chunk-N2JZU6VR.js";
5
5
  import {
6
6
  XANO_DIR
7
- } from "./chunk-554FJWNH.js";
7
+ } from "./chunk-T2LFOMOP.js";
8
8
  import {
9
9
  projectRootFrom
10
10
  } from "./chunk-HU7F56VF.js";
@@ -12,7 +12,7 @@ import {
12
12
  LocalFileNotFoundError,
13
13
  UsageError,
14
14
  displayPath
15
- } from "./chunk-ZHFSIQ6E.js";
15
+ } from "./chunk-6534P3VH.js";
16
16
  import {
17
17
  isRepresentableName
18
18
  } from "./chunk-GSGDWJB5.js";
@@ -258,4 +258,4 @@ export {
258
258
  namesInEnvExample,
259
259
  renderWorkspaceEnvFile
260
260
  };
261
- //# sourceMappingURL=chunk-WDWIXCGB.js.map
261
+ //# sourceMappingURL=chunk-FJS5I6V4.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ensureExportGitignored
3
- } from "./chunk-BT6CJNEO.js";
3
+ } from "./chunk-Q77C32ZB.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-ZHFSIQ6E.js";
10
+ } from "./chunk-6534P3VH.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-DO5VZIY4.js.map
128
+ //# sourceMappingURL=chunk-FLM6TN7Q.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