@xano/sdk 1.0.5 → 1.0.6

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 (249) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +26 -16
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/{agent-file-refresh-KVLR7M5Y.js → agent-file-refresh-67QIX45H.js} +14 -13
  5. package/dist/{answer-shape-XGR2DGWY.js → answer-shape-UCDUKPAN.js} +5 -5
  6. package/dist/{backend-dir-IE4RMUFH.js → backend-dir-3LIL6SCT.js} +13 -12
  7. package/dist/{backend-slot-6HBWG5FN.js → backend-slot-JREP27UD.js} +4 -4
  8. package/dist/bin.js +53 -52
  9. package/dist/{branch-T2APKPVG.js → branch-2IPHOAYS.js} +9 -9
  10. package/dist/{branch-commands-HXXTCSOO.js → branch-commands-KTKAXBAN.js} +29 -30
  11. package/dist/bundle.js +9 -39
  12. package/dist/{capture-HBXFXZEW.js → capture-GW5KNKMB.js} +3 -3
  13. package/dist/{chunk-JZWUAEMO.js → chunk-26MOFAJT.js} +2 -2
  14. package/dist/{chunk-RXCT3OCU.js → chunk-2FLIJGBZ.js} +3 -3
  15. package/dist/{chunk-UIEFE6FU.js → chunk-2WBH5HUY.js} +7 -7
  16. package/dist/{chunk-Y76ERHLK.js → chunk-3BBIDW3Y.js} +5 -5
  17. package/dist/{chunk-DGWHAVRG.js → chunk-3EDSPMXN.js} +12 -1
  18. package/dist/{chunk-JXKO6JT7.js → chunk-3II44CUJ.js} +14 -14
  19. package/dist/{chunk-7GX445AE.js → chunk-4XHAT7C5.js} +2 -2
  20. package/dist/{chunk-OKNE3TWU.js → chunk-5KJBWIDZ.js} +83 -5
  21. package/dist/{chunk-SRX6B544.js → chunk-5QMJOE2K.js} +5 -5
  22. package/dist/{chunk-UJ6ZZJDD.js → chunk-5TVFLG3C.js} +2 -2
  23. package/dist/{chunk-L3BDO2BI.js → chunk-5YQV35C2.js} +7 -7
  24. package/dist/{chunk-Z4VN347O.js → chunk-6X3MY2JP.js} +2 -2
  25. package/dist/{chunk-65SW2BA5.js → chunk-6X6BJN6Y.js} +3 -3
  26. package/dist/{chunk-M7GJ6YUF.js → chunk-763M6LX3.js} +16 -2
  27. package/dist/{chunk-XJU6UAFV.js → chunk-7FIMUFBP.js} +2 -2
  28. package/dist/{chunk-TEBS7FE6.js → chunk-7GAIJW62.js} +2 -2
  29. package/dist/{chunk-K6CB5TKM.js → chunk-7REDHC4N.js} +2 -2
  30. package/dist/chunk-7VR4IO5B.js +44 -0
  31. package/dist/chunk-A7MRZ4GF.js +78 -0
  32. package/dist/{chunk-CV54PASI.js → chunk-ATJ2W7DC.js} +70 -50
  33. package/dist/{chunk-WYS6XVZ3.js → chunk-AVS4WPPY.js} +2 -2
  34. package/dist/{chunk-5XVBT6CQ.js → chunk-BL3AZ3AP.js} +2 -2
  35. package/dist/chunk-BTVUYHWV.js +111 -0
  36. package/dist/{chunk-NGAODDLX.js → chunk-CCU5CCRX.js} +4 -4
  37. package/dist/{chunk-BBPAXOU6.js → chunk-CHINR7WD.js} +6 -6
  38. package/dist/{chunk-SQPIECXD.js → chunk-CJDPSCMX.js} +45 -5
  39. package/dist/{chunk-3HOGFGKG.js → chunk-D3KEPRRN.js} +2 -2
  40. package/dist/{chunk-XNZURZ7T.js → chunk-D7BUMOKU.js} +2 -2
  41. package/dist/{chunk-WRBKLYSJ.js → chunk-DNBP4GJN.js} +4 -3
  42. package/dist/{chunk-XMDDBEEM.js → chunk-E763QI3G.js} +2 -2
  43. package/dist/{chunk-4NEBBKOP.js → chunk-EADVVTDK.js} +7 -7
  44. package/dist/{chunk-N6BWB35H.js → chunk-ENMBEXOP.js} +3 -3
  45. package/dist/{chunk-57HMNJGB.js → chunk-EQFYOOO6.js} +69 -34
  46. package/dist/{chunk-WOGJB2F6.js → chunk-FNLTFOUD.js} +4 -9
  47. package/dist/{chunk-FV55SRQU.js → chunk-FQ53GTII.js} +9 -9
  48. package/dist/{chunk-TUEFTRC2.js → chunk-FU3VCE5A.js} +45 -26
  49. package/dist/{chunk-YSLMMR2U.js → chunk-GHQ4BVI4.js} +14 -14
  50. package/dist/{chunk-Z2BRSQ6M.js → chunk-GLY552SI.js} +84 -57
  51. package/dist/{chunk-XIABDKFQ.js → chunk-GOLFAEUV.js} +2 -2
  52. package/dist/{chunk-ZHGWR45B.js → chunk-GW5RHGOB.js} +8 -8
  53. package/dist/{chunk-3BJYQGAZ.js → chunk-GWTFI3GA.js} +2 -2
  54. package/dist/{chunk-K6PRKPFX.js → chunk-GZHLCUZ6.js} +7 -7
  55. package/dist/{chunk-LLS2WO2K.js → chunk-HCG7NDIL.js} +4 -4
  56. package/dist/{chunk-NNB7VUCH.js → chunk-I3H3HCPY.js} +47 -26
  57. package/dist/{chunk-KUU7T4ZE.js → chunk-I3VHW6XM.js} +13 -13
  58. package/dist/{chunk-ES5A66IH.js → chunk-IF4PEGVD.js} +8 -8
  59. package/dist/{chunk-Y6NO3DLQ.js → chunk-IMELQ2I6.js} +3 -3
  60. package/dist/{chunk-V4IBHDIY.js → chunk-ITC2R2OT.js} +7 -7
  61. package/dist/{chunk-KQLACS4Q.js → chunk-IXFJORNH.js} +4 -4
  62. package/dist/{chunk-SF2B7MZK.js → chunk-IYXL5NYU.js} +259 -31
  63. package/dist/{chunk-57B56I4B.js → chunk-JFBRXRJD.js} +58 -34
  64. package/dist/chunk-JI3BLXWQ.js +107 -0
  65. package/dist/{chunk-4DJTQ6W4.js → chunk-JIKGT7DO.js} +2 -1
  66. package/dist/{chunk-5D6DGF3W.js → chunk-JRVQ7M7W.js} +8 -8
  67. package/dist/{chunk-AESE434J.js → chunk-JXVJGF3Y.js} +2 -2
  68. package/dist/chunk-KPFS3RGM.js +257 -0
  69. package/dist/{chunk-SNGFEESM.js → chunk-LAOMN6QQ.js} +3 -3
  70. package/dist/{chunk-TM5LRSBB.js → chunk-LBJA7IEM.js} +370 -45
  71. package/dist/{chunk-OVV2HXJ6.js → chunk-LD6ARK3A.js} +2 -2
  72. package/dist/{chunk-F6IKWAIU.js → chunk-LL7SGTRC.js} +18 -19
  73. package/dist/{chunk-OJPZEUPH.js → chunk-M5CSVB23.js} +4 -4
  74. package/dist/{chunk-GMVW6ZZK.js → chunk-MBDFH7XB.js} +4 -4
  75. package/dist/{chunk-5YBNXNKU.js → chunk-MFWF2NZJ.js} +12 -5
  76. package/dist/{chunk-G57RYMKB.js → chunk-N5I37JFB.js} +2 -2
  77. package/dist/{chunk-QOLOQ35F.js → chunk-ND43ZOS3.js} +5 -5
  78. package/dist/chunk-NDWVJ2QZ.js +67 -0
  79. package/dist/{chunk-5RLAF6RL.js → chunk-NPODGBVJ.js} +4 -4
  80. package/dist/{chunk-JQOX6HW4.js → chunk-OIKLDDYC.js} +2 -2
  81. package/dist/{chunk-AMBEITWL.js → chunk-PFBXSVZF.js} +4 -4
  82. package/dist/{chunk-3VX7VAQT.js → chunk-PMMHSX4H.js} +26 -9
  83. package/dist/{chunk-MYLPOVX6.js → chunk-QJM5XZ4K.js} +5 -5
  84. package/dist/{chunk-U6DR6464.js → chunk-QXYMDARD.js} +4 -4
  85. package/dist/{chunk-DEVGLLNZ.js → chunk-QZEAANWP.js} +5 -5
  86. package/dist/{chunk-LZDA6SVD.js → chunk-RIN4YY34.js} +78 -65
  87. package/dist/{chunk-37FBPMNE.js → chunk-S56YBYMN.js} +5 -2
  88. package/dist/{chunk-S5TEJIGP.js → chunk-SKEG3V2V.js} +2 -2
  89. package/dist/{chunk-VZ22VUAS.js → chunk-SLGJIWCY.js} +3 -3
  90. package/dist/{chunk-4QFBEKXI.js → chunk-SPITRSOF.js} +2 -2
  91. package/dist/{chunk-QZTJ2556.js → chunk-SPKA2LV6.js} +4 -4
  92. package/dist/{chunk-YI76TURL.js → chunk-SSITMX7I.js} +8 -8
  93. package/dist/{chunk-JSEVKRVJ.js → chunk-T4LJ5UR2.js} +29 -7
  94. package/dist/{chunk-44CWK6YC.js → chunk-TECTL2NU.js} +4 -4
  95. package/dist/{chunk-AGD7F7YI.js → chunk-TTEIDD5Q.js} +3 -3
  96. package/dist/{chunk-NUU76247.js → chunk-U35MTOXQ.js} +3 -3
  97. package/dist/{chunk-4QBGE3EO.js → chunk-U6MTGB46.js} +4 -4
  98. package/dist/{chunk-3WHWOKU4.js → chunk-UD2Z7K6W.js} +4 -4
  99. package/dist/{chunk-I5VEROXW.js → chunk-UIVMR7UK.js} +2 -2
  100. package/dist/{chunk-F3557PVM.js → chunk-VDHA5SSQ.js} +2 -2
  101. package/dist/{chunk-3IYVHVM6.js → chunk-VJFMUJWZ.js} +4 -4
  102. package/dist/{chunk-4GDEEY2U.js → chunk-VW4CWVYX.js} +4 -4
  103. package/dist/chunk-WAVNUTMT.js +9 -0
  104. package/dist/{chunk-A4NNCI4O.js → chunk-WBH4KJWM.js} +3 -3
  105. package/dist/{chunk-HOOOOJJP.js → chunk-WZHLMU6T.js} +2 -2
  106. package/dist/{chunk-S5KQIFKJ.js → chunk-XFBGXB7X.js} +130 -86
  107. package/dist/{chunk-IV446ZLJ.js → chunk-Y453TW6J.js} +2 -2
  108. package/dist/{chunk-CJ76PSJT.js → chunk-YGLMRH5U.js} +8 -8
  109. package/dist/{chunk-GPI3OWRE.js → chunk-YHB34BN6.js} +2 -1
  110. package/dist/{chunk-BMCZQZMI.js → chunk-YKP4ZKVO.js} +13 -9
  111. package/dist/{chunk-HLQH3AXB.js → chunk-YR2I5HGE.js} +2 -2
  112. package/dist/{chunk-OGUMHW2X.js → chunk-YYC2DZMG.js} +7 -7
  113. package/dist/{chunk-Z3SNX45M.js → chunk-YYLUBYXM.js} +2 -2
  114. package/dist/{chunk-PIPIA7K7.js → chunk-Z4ZGTCCD.js} +7 -7
  115. package/dist/{chunk-AGSCOISO.js → chunk-ZDP6GDAB.js} +75 -75
  116. package/dist/{chunk-7DBM6XHR.js → chunk-ZJSTUD6D.js} +8 -8
  117. package/dist/cli.d.ts +17 -9
  118. package/dist/cli.js +51 -50
  119. package/dist/{codegen-command-L2OO6OTE.js → codegen-command-R5IASBFC.js} +72 -66
  120. package/dist/codegen.d.ts +2 -2
  121. package/dist/codegen.js +2 -2
  122. package/dist/{commands-2E4JB3DB.js → commands-H7CPMMHH.js} +3 -3
  123. package/dist/{completion-LPJIH5VQ.js → completion-W5ZAI6TN.js} +3 -3
  124. package/dist/{config-QDCRKEWD.js → config-MZ5KG4EP.js} +4 -4
  125. package/dist/{deploy-command-HJZNYCUY.js → deploy-command-34T2LKQ5.js} +58 -57
  126. package/dist/{deploy-source-5COWTBOC.js → deploy-source-YLQ7WMYR.js} +32 -31
  127. package/dist/{dev-env-sync-GZ4QQJGV.js → dev-env-sync-TMJTNU3U.js} +52 -51
  128. package/dist/{diagnostics-LSMGB4TY.js → diagnostics-OMN5Y2AH.js} +2 -2
  129. package/dist/{display-name-hint-AHCNH6TF.js → display-name-hint-ZJGFNJKQ.js} +11 -11
  130. package/dist/{emit-DqG6qddr.d.ts → emit-D125xxty.d.ts} +66 -20
  131. package/dist/env-example-refresh-CQP3ZMKM.js +133 -0
  132. package/dist/{env-pull-command-Z4RLVEGJ.js → env-pull-command-UTG6IC2K.js} +46 -46
  133. package/dist/{env-target-ZHQUS5BO.js → env-target-FZROWYFS.js} +12 -12
  134. package/dist/{env-var-command-FKQ4VVQ6.js → env-var-command-VYDBQJJW.js} +41 -40
  135. package/dist/{ephemeral-L4KUOGEU.js → ephemeral-BIE6FMJV.js} +9 -9
  136. package/dist/{ephemeral-command-GRPFI3TD.js → ephemeral-command-OZ26RGXF.js} +47 -47
  137. package/dist/{ephemeral-state-VLYU2BXR.js → ephemeral-state-SNZOX2YK.js} +10 -10
  138. package/dist/{generate-command-XNODJFDQ.js → generate-command-4HR7MR36.js} +80 -72
  139. package/dist/{gitignore-VWRSZX5F.js → gitignore-EWQBXNX2.js} +17 -16
  140. package/dist/{guards-OPSGB6LG.js → guards-KYEOCVHN.js} +6 -6
  141. package/dist/{impersonate-command-AEKIZHHK.js → impersonate-command-WC7OGKUM.js} +37 -36
  142. package/dist/{import-PHSSFFLA.js → import-7Z4GCCPO.js} +5 -5
  143. package/dist/index.d.ts +14 -20
  144. package/dist/index.js +13 -13
  145. package/dist/{init-command-TI3HCKXZ.js → init-command-HAO3WXH3.js} +57 -55
  146. package/dist/{init-modules-SGSX7XEY.js → init-modules-NSKD4ASY.js} +10 -9
  147. package/dist/{init-web-6HX3YLQP.js → init-web-MKFFOQUU.js} +3 -3
  148. package/dist/internal.d.ts +5 -5
  149. package/dist/internal.js +47 -20
  150. package/dist/{io-TAF4WXYQ.js → io-PGTCBSIQ.js} +6 -4
  151. package/dist/{keep-data-merge-GUGF7MVZ.js → keep-data-merge-QR2TMKEO.js} +28 -29
  152. package/dist/{lambda-config-reconcile-65U6I4KU.js → lambda-config-reconcile-7FJXXV6V.js} +3 -3
  153. package/dist/{landed-QA6PRTV2.js → landed-F7PCHGCK.js} +3 -3
  154. package/dist/{landing-record-FCAWLCZU.js → landing-record-MWXFIRCP.js} +22 -21
  155. package/dist/{live-diff-IM4W3ELT.js → live-diff-5E2BQWQ7.js} +9 -8
  156. package/dist/{local-engine-choice-FPJAZSSD.js → local-engine-choice-VD5LNXJU.js} +35 -34
  157. package/dist/{local-engine-command-73NHWD6V.js → local-engine-command-RYLGMQ2O.js} +40 -39
  158. package/dist/{local-engine-deploy-Y4OAWL7K.js → local-engine-deploy-6O7NKZCA.js} +12 -12
  159. package/dist/{local-engine-process-6YPJHKYM.js → local-engine-process-ZLLZEIRF.js} +7 -7
  160. package/dist/{local-engine-update-check-X7TZGRFL.js → local-engine-update-check-LVX4HBBI.js} +5 -5
  161. package/dist/{lock-WXXC3QHL.js → lock-HDCHD2ON.js} +4 -2
  162. package/dist/{lock-commands-PKDBNRSD.js → lock-commands-X2OECR4R.js} +56 -55
  163. package/dist/{login-command-V4U4FA5G.js → login-command-RLLKD565.js} +27 -26
  164. package/dist/{logout-command-TV3P545Z.js → logout-command-XDMSXCDO.js} +15 -15
  165. package/dist/{loop-VKHGQ6MP.js → loop-SUB6C2LK.js} +8 -9
  166. package/dist/{marketplace-command-LEFOAEAV.js → marketplace-command-2NHHY2X3.js} +86 -50
  167. package/dist/{marketplace-resolve-ME7O7JBJ.js → marketplace-resolve-OTZYT4FG.js} +7 -6
  168. package/dist/{meta-client-TEEECA5W.js → meta-client-TMHVBZFY.js} +13 -13
  169. package/dist/{module-manifest-7YLGIRCY.js → module-manifest-FNMW23IX.js} +7 -4
  170. package/dist/node.d.ts +5 -5
  171. package/dist/node.js +57 -57
  172. package/dist/{operation-outcome-GNDD35WL.js → operation-outcome-RN62735X.js} +22 -22
  173. package/dist/{output-target-5FWX3NGZ.js → output-target-MOLCTPBP.js} +18 -17
  174. package/dist/{package-manager-PRAHUSCN.js → package-manager-K762W7XT.js} +2 -2
  175. package/dist/{plan-disclosure-QGL5UYQR.js → plan-disclosure-CY7AF6KP.js} +19 -20
  176. package/dist/{plugin-contributions-GNFTWDEB.js → plugin-contributions-WR26U7NT.js} +6 -6
  177. package/dist/{plugin-prompt-VEQGMZ4T.js → plugin-prompt-ZUYQQIX4.js} +5 -5
  178. package/dist/{plugin-questions-BGRL23GO.js → plugin-questions-HAZOQ67R.js} +4 -4
  179. package/dist/plugin.d.ts +254 -10
  180. package/dist/{preflight-command-VKJKXRRI.js → preflight-command-OHJXYND3.js} +64 -64
  181. package/dist/{profile-command-P7A3BH26.js → profile-command-6JWT2BTL.js} +28 -27
  182. package/dist/{profile-pointer-HG7IXE4I.js → profile-pointer-PDA5XBIB.js} +4 -4
  183. package/dist/{project-dependency-Z4CKOCJI.js → project-dependency-GZWWGWEW.js} +11 -8
  184. package/dist/{project-sdk-JWZWGXXR.js → project-sdk-3W72H5QO.js} +4 -4
  185. package/dist/promote-command-UYAMUXKB.js +146 -0
  186. package/dist/{prompt-SURZOUUW.js → prompt-U37K5RPQ.js} +4 -4
  187. package/dist/{publish-command-HGAB3H4A.js → publish-command-BUS27HGB.js} +61 -60
  188. package/dist/{pull-command-EUEWBRXZ.js → pull-command-ZGUNP27P.js} +75 -69
  189. package/dist/{pull-superseded-TOT5S4QU.js → pull-superseded-EZBGYRZF.js} +4 -4
  190. package/dist/{raw-where-EoWl5fqY.d.ts → raw-where-ZMLND6AG.d.ts} +20 -3
  191. package/dist/{release-command-WOVQAMUY.js → release-command-BQ6OHS3P.js} +69 -66
  192. package/dist/{release-ns-command-WOQE2BDQ.js → release-ns-command-ATGVBVIU.js} +85 -85
  193. package/dist/{retry-command-JRGMZZAC.js → retry-command-QJ57WVW7.js} +8 -8
  194. package/dist/{routes-manifest-URFMAWJE.js → routes-manifest-YR4ZIMLM.js} +15 -7
  195. package/dist/routes-manifest-file-UALYSZLY.js +41 -0
  196. package/dist/scaffold.js +2 -2
  197. package/dist/{secrets-file-YWZWVJ52.js → secrets-file-LMS7KX3E.js} +17 -16
  198. package/dist/{secrets-fill-command-HIHK3VH2.js → secrets-fill-command-QNBDGCGM.js} +55 -54
  199. package/dist/{seed-24DTEY5S.js → seed-SZ6OS5DQ.js} +8 -8
  200. package/dist/{source-resolve-OWD3MIEO.js → source-resolve-MKLNYFWG.js} +20 -20
  201. package/dist/{static-host-UIR2OLPQ.js → static-host-ONEHA4LI.js} +5 -5
  202. package/dist/{status-command-JKTHH5QE.js → status-command-XKIFKBGM.js} +38 -37
  203. package/dist/{store-zxw2go0f.d.ts → store-Bg4Na6Sm.d.ts} +2 -2
  204. package/dist/{store-5YAQS6KU.js → store-X6ZH7EC3.js} +6 -6
  205. package/dist/sync-baseline-DOV5AGIO.js +36 -0
  206. package/dist/{sync-contributions-RBB6JVOL.js → sync-contributions-HNVHDIQW.js} +20 -12
  207. package/dist/sync-record-PRXHLK4S.js +42 -0
  208. package/dist/{table-MQFVYA4K.js → table-DC36QA4Y.js} +8 -8
  209. package/dist/{tables-command-5Q4BSUNO.js → tables-command-UQLKTELN.js} +38 -37
  210. package/dist/{tenant-Q3LPVSSM.js → tenant-EKNQGG5A.js} +10 -10
  211. package/dist/{tenant-command-BFVU2PEX.js → tenant-command-2LWP2MPB.js} +99 -94
  212. package/dist/{test-command-F4VUU4QR.js → test-command-IU5MBBXY.js} +36 -35
  213. package/dist/{tests-5ZSDFVIJ.js → tests-RG2Y5EQ4.js} +6 -6
  214. package/dist/{token-TERSTNU4.js → token-7AWSJLKO.js} +11 -11
  215. package/dist/toolchain-hooks-4ZMQLBPQ.js +46 -0
  216. package/dist/{toolchain-modules-FD5ANV2U.js → toolchain-modules-VU7SURVJ.js} +8 -5
  217. package/dist/toolchain-peers-CIDNEEQV.js +28 -0
  218. package/dist/{tracked-backend-B4HTME4S.js → tracked-backend-4BHSV7NC.js} +34 -33
  219. package/dist/{update-check-O4C2LCZH.js → update-check-A7FXIINW.js} +54 -53
  220. package/dist/{upgrade-command-NVFWLMTA.js → upgrade-command-C5KBITFI.js} +58 -57
  221. package/dist/{whoami-command-YKNTISIV.js → whoami-command-7WQII2H4.js} +14 -14
  222. package/dist/{workspace-GGVGE2S5.js → workspace-Z46PUZNI.js} +5 -5
  223. package/dist/{workspace-binding-OS4ZOX4S.js → workspace-binding-JE6YNDZJ.js} +13 -13
  224. package/dist/{workspace-command-GTUNVN7K.js → workspace-command-FC4IMLAE.js} +113 -82
  225. package/dist/{workspace-env-467C5KHM.js → workspace-env-N4ZPFT6A.js} +14 -13
  226. package/dist/{workspace-export-3XTVGQVM.js → workspace-export-3A5BZTPS.js} +5 -5
  227. package/dist/{writable-7SSWUQJ3.js → writable-D7KCZI5N.js} +4 -4
  228. package/dist/{xano-6RS5XQZE.js → xano-LCI7VWPS.js} +8 -8
  229. package/dist/{xanosdk-import-E3WSIYUE.js → xanosdk-import-P2A2KSXM.js} +8 -8
  230. package/dist/{xanosdk-project-KH5TZ2KI.js → xanosdk-project-6AGMW2SL.js} +15 -14
  231. package/guides/cli.md +4 -4
  232. package/guides/codes.md +7 -2
  233. package/guides/deploying.md +52 -0
  234. package/guides/marketplace.md +21 -0
  235. package/guides/module-contract.md +80 -4
  236. package/guides/typed-frontend.md +37 -0
  237. package/llms/client.md +11 -1
  238. package/llms/filters.md +4 -0
  239. package/llms/kinds-core.md +1 -1
  240. package/llms/statements-data.md +3 -2
  241. package/llms/toolchain.md +12 -0
  242. package/llms-full.txt +34 -7
  243. package/llms.txt +3 -3
  244. package/manifest.json +1 -1
  245. package/package.json +1 -1
  246. package/dist/chunk-MEIJDRHU.js +0 -243
  247. package/dist/env-example-refresh-DWQIOQYR.js +0 -127
  248. package/dist/promote-command-KHTIK44I.js +0 -141
  249. package/dist/toolchain-hooks-QVUZ6HZ4.js +0 -96
@@ -12,11 +12,11 @@ import {
12
12
  httpFailure,
13
13
  isTimeoutError,
14
14
  statusLabel
15
- } from "./chunk-HLQH3AXB.js";
15
+ } from "./chunk-YR2I5HGE.js";
16
16
  import {
17
17
  pointerRootFor,
18
18
  resolveProjectProfile
19
- } from "./chunk-JZWUAEMO.js";
19
+ } from "./chunk-26MOFAJT.js";
20
20
  import {
21
21
  atomicWrite,
22
22
  linkTarget
@@ -30,7 +30,7 @@ import {
30
30
  } from "./chunk-X2NL4KUO.js";
31
31
  import {
32
32
  UsageError
33
- } from "./chunk-XNZURZ7T.js";
33
+ } from "./chunk-D7BUMOKU.js";
34
34
  import {
35
35
  shellQuote
36
36
  } from "./chunk-5ZSO4T2G.js";
@@ -1189,4 +1189,4 @@ export {
1189
1189
  addGitignoreRule,
1190
1190
  gitSaysIgnored
1191
1191
  };
1192
- //# sourceMappingURL=chunk-OJPZEUPH.js.map
1192
+ //# sourceMappingURL=chunk-M5CSVB23.js.map
@@ -3,17 +3,17 @@ import {
3
3
  listAnswer,
4
4
  notTheAnswer,
5
5
  writeTransportFailure
6
- } from "./chunk-TEBS7FE6.js";
6
+ } from "./chunk-7GAIJW62.js";
7
7
  import {
8
8
  SENT_AFTERMATH,
9
9
  fetchOrExplain,
10
10
  readBodyText,
11
11
  safeHttpFailure,
12
12
  withWriteStatusAftermath
13
- } from "./chunk-HLQH3AXB.js";
13
+ } from "./chunk-YR2I5HGE.js";
14
14
  import {
15
15
  isNonPublicColumn
16
- } from "./chunk-VZ22VUAS.js";
16
+ } from "./chunk-SLGJIWCY.js";
17
17
 
18
18
  // src/deploy/table.ts
19
19
  var TIMEOUT_MS = 3e4;
@@ -184,4 +184,4 @@ export {
184
184
  truncateTable,
185
185
  insertTableRows
186
186
  };
187
- //# sourceMappingURL=chunk-GMVW6ZZK.js.map
187
+ //# sourceMappingURL=chunk-MBDFH7XB.js.map
@@ -1,7 +1,8 @@
1
1
  import {
2
2
  LOCK_PAYLOAD_KEYS,
3
- lockKey
4
- } from "./chunk-OKNE3TWU.js";
3
+ lockKey,
4
+ withSyncedOf
5
+ } from "./chunk-5KJBWIDZ.js";
5
6
 
6
7
  // src/lock/landed.ts
7
8
  function destinationKey(instance, dest) {
@@ -82,7 +83,10 @@ function applyLanding(lock, destKey, update) {
82
83
  if (Object.keys(next).length > 0) landed[destKey] = next;
83
84
  else delete landed[destKey];
84
85
  const objects = withoutPrunedObjects(lock.objects, update);
85
- return Object.keys(landed).length > 0 ? { version: lock.version, objects, landed } : { version: lock.version, objects };
86
+ return withSyncedOf(
87
+ Object.keys(landed).length > 0 ? { version: lock.version, objects, landed } : { version: lock.version, objects },
88
+ lock
89
+ );
86
90
  }
87
91
  function withoutPrunedObjects(objects, update) {
88
92
  const drop = Object.entries(update.removed ?? {}).filter(
@@ -131,7 +135,10 @@ function withStoredColumns(identities, stored) {
131
135
  function withoutLanding(lock, destKey) {
132
136
  if (lock.landed?.[destKey] === void 0) return lock;
133
137
  const { [destKey]: _dropped, ...landed } = lock.landed;
134
- return Object.keys(landed).length > 0 ? { version: lock.version, objects: lock.objects, landed } : { version: lock.version, objects: lock.objects };
138
+ return withSyncedOf(
139
+ Object.keys(landed).length > 0 ? { version: lock.version, objects: lock.objects, landed } : { version: lock.version, objects: lock.objects },
140
+ lock
141
+ );
135
142
  }
136
143
  function landedOn(lock, destKey) {
137
144
  const record = lock.landed?.[destKey];
@@ -153,4 +160,4 @@ export {
153
160
  withoutLanding,
154
161
  landedOn
155
162
  };
156
- //# sourceMappingURL=chunk-5YBNXNKU.js.map
163
+ //# sourceMappingURL=chunk-MFWF2NZJ.js.map
@@ -3,7 +3,7 @@ import {
3
3
  recordedCredentialFile,
4
4
  recordedCredentialPath,
5
5
  resolveAuthFilePath
6
- } from "./chunk-OJPZEUPH.js";
6
+ } from "./chunk-M5CSVB23.js";
7
7
  import {
8
8
  readEnvVar
9
9
  } from "./chunk-X2NL4KUO.js";
@@ -73,4 +73,4 @@ export {
73
73
  ENV_CREDENTIAL_VARS,
74
74
  recordedByEnvCredential
75
75
  };
76
- //# sourceMappingURL=chunk-G57RYMKB.js.map
76
+ //# sourceMappingURL=chunk-N5I37JFB.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-X4DVXBFY.js";
7
7
  import {
8
8
  ImportHttpError
9
- } from "./chunk-5XVBT6CQ.js";
9
+ } from "./chunk-BL3AZ3AP.js";
10
10
  import {
11
11
  describeWrite
12
12
  } from "./chunk-4KHEMC32.js";
@@ -26,11 +26,11 @@ import {
26
26
  statusLabel,
27
27
  transportTarget,
28
28
  writeStatusAftermath
29
- } from "./chunk-HLQH3AXB.js";
29
+ } from "./chunk-YR2I5HGE.js";
30
30
  import {
31
31
  calcSignatureJson,
32
32
  signatureHolds
33
- } from "./chunk-XJU6UAFV.js";
33
+ } from "./chunk-7FIMUFBP.js";
34
34
  import {
35
35
  HOSTED_FILE_SCHEME,
36
36
  HOSTED_ICON_KINDS,
@@ -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-GNDD35WL.js");
464
+ const { classifyFailure } = await import("./operation-outcome-RN62735X.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-QOLOQ35F.js.map
560
+ //# sourceMappingURL=chunk-ND43ZOS3.js.map
@@ -0,0 +1,67 @@
1
+ import {
2
+ findBranch,
3
+ listBranches,
4
+ liveBranchLabel
5
+ } from "./chunk-NPODGBVJ.js";
6
+ import {
7
+ readLockFile,
8
+ recordSyncInLockFile,
9
+ syncedOn
10
+ } from "./chunk-CJDPSCMX.js";
11
+ import {
12
+ destinationKey
13
+ } from "./chunk-MFWF2NZJ.js";
14
+ import {
15
+ displayPath,
16
+ info,
17
+ warn
18
+ } from "./chunk-D7BUMOKU.js";
19
+
20
+ // src/emit/sync-record.ts
21
+ import { existsSync } from "fs";
22
+ function readSyncBaseline(lockPath, target) {
23
+ if (lockPath === void 0 || !existsSync(lockPath)) return void 0;
24
+ try {
25
+ const key = destinationKey(target.instance, { kind: "workspace", workspaceId: target.workspaceId });
26
+ return syncedOn(readLockFile(lockPath), key, target.branch);
27
+ } catch {
28
+ return void 0;
29
+ }
30
+ }
31
+ function recordSync(opts) {
32
+ if (opts.lockPath === void 0) return null;
33
+ const destination = destinationKey(opts.target.instance, { kind: "workspace", workspaceId: opts.target.workspaceId });
34
+ const shown = displayPath(opts.lockPath);
35
+ let result;
36
+ try {
37
+ result = recordSyncInLockFile(opts.lockPath, destination, opts.target.branch, { digests: opts.digests, by: opts.by, complete: opts.complete });
38
+ } catch (err) {
39
+ warn(
40
+ `The ${opts.by} succeeded, but its sync baseline could not be recorded in ${shown}: ${err instanceof Error ? err.message : String(err)}`,
41
+ "sync.record-failed",
42
+ ["`xanosdk workspace diff` reads the older baseline, so it may say the wrong side changed until the next deploy or pull records one."]
43
+ );
44
+ return null;
45
+ }
46
+ if (result === void 0) return null;
47
+ if (result.changed) {
48
+ info(`Recorded the sync baseline for branch "${opts.target.branch}" in ${shown}. Commit it: \`workspace diff\` reads it to say which side changed.`);
49
+ }
50
+ return { destination, branch: opts.target.branch, file: shown, objects: Object.keys(opts.digests.objects).length, changed: result.changed };
51
+ }
52
+ function storedBranchLabel(branches, typed) {
53
+ if (typed !== void 0) return (branches === void 0 ? void 0 : findBranch(branches, typed)?.label) ?? typed.trim();
54
+ return branches === void 0 ? void 0 : liveBranchLabel(branches);
55
+ }
56
+ async function syncBranchLabel(auth, typed) {
57
+ const branches = await listBranches(auth, { baseUrl: auth.instance, workspaceId: auth.workspaceId }).catch(() => void 0);
58
+ return storedBranchLabel(branches, typed);
59
+ }
60
+
61
+ export {
62
+ readSyncBaseline,
63
+ recordSync,
64
+ storedBranchLabel,
65
+ syncBranchLabel
66
+ };
67
+ //# sourceMappingURL=chunk-NDWVJ2QZ.js.map
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-2MNLRIOX.js";
4
4
  import {
5
5
  pipedYes
6
- } from "./chunk-Z4VN347O.js";
6
+ } from "./chunk-6X3MY2JP.js";
7
7
  import {
8
8
  contextFlags
9
- } from "./chunk-G57RYMKB.js";
9
+ } from "./chunk-N5I37JFB.js";
10
10
  import {
11
11
  shellWord
12
12
  } from "./chunk-FWD7AL6N.js";
@@ -18,7 +18,7 @@ import {
18
18
  retryingFetch,
19
19
  transportTarget,
20
20
  withWriteStatusAftermath
21
- } from "./chunk-HLQH3AXB.js";
21
+ } from "./chunk-YR2I5HGE.js";
22
22
  import {
23
23
  suggestAll
24
24
  } from "./chunk-UTI5G6OJ.js";
@@ -288,4 +288,4 @@ export {
288
288
  freeBranchLabel,
289
289
  requireBranch
290
290
  };
291
- //# sourceMappingURL=chunk-5RLAF6RL.js.map
291
+ //# sourceMappingURL=chunk-NPODGBVJ.js.map
@@ -5,7 +5,7 @@ import {
5
5
  TransportError,
6
6
  describeTransportFailure,
7
7
  fetchOrExplain
8
- } from "./chunk-HLQH3AXB.js";
8
+ } from "./chunk-YR2I5HGE.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-JQOX6HW4.js.map
182
+ //# sourceMappingURL=chunk-OIKLDDYC.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  contextFlags
3
- } from "./chunk-G57RYMKB.js";
3
+ } from "./chunk-N5I37JFB.js";
4
4
  import {
5
5
  backendDirFor,
6
6
  backendDirIn
7
- } from "./chunk-AGD7F7YI.js";
7
+ } from "./chunk-TTEIDD5Q.js";
8
8
  import {
9
9
  projectRootFrom
10
10
  } from "./chunk-ROY4YAEQ.js";
@@ -15,7 +15,7 @@ import {
15
15
  LocalFileNotFoundError,
16
16
  displayPath,
17
17
  relForwardSlash
18
- } from "./chunk-XNZURZ7T.js";
18
+ } from "./chunk-D7BUMOKU.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-AMBEITWL.js.map
130
+ //# sourceMappingURL=chunk-PFBXSVZF.js.map
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-FWD7AL6N.js";
9
9
  import {
10
10
  isLocalSpecifier
11
- } from "./chunk-MYLPOVX6.js";
11
+ } from "./chunk-QJM5XZ4K.js";
12
12
  import {
13
13
  trackLocalWrite
14
14
  } from "./chunk-4KHEMC32.js";
@@ -18,38 +18,39 @@ import {
18
18
  npmLockListsMember,
19
19
  removeArgs,
20
20
  yarnPlugAndPlayRoot
21
- } from "./chunk-WRBKLYSJ.js";
21
+ } from "./chunk-DNBP4GJN.js";
22
22
  import {
23
23
  localPackageName,
24
24
  localPathOf,
25
25
  packageNameOf,
26
26
  readInstalledManifestState
27
- } from "./chunk-M7GJ6YUF.js";
27
+ } from "./chunk-763M6LX3.js";
28
28
  import {
29
29
  UsageError
30
- } from "./chunk-XNZURZ7T.js";
30
+ } from "./chunk-D7BUMOKU.js";
31
31
 
32
32
  // src/emit/project-dependency.ts
33
33
  import { existsSync, readFileSync } from "fs";
34
34
  import { isAbsolute, join, relative, resolve, sep } from "path";
35
35
 
36
36
  // src/emit/npm-install.ts
37
- async function installWithPeerRetry(specifier, cwd, opts = {}) {
37
+ async function installWithPeerRetry(spec, cwd, opts = {}) {
38
+ const specs = typeof spec === "string" ? [spec] : spec;
38
39
  const scope = opts.scope ?? [];
39
40
  if (opts.manager !== void 0 && opts.manager !== "npm") {
40
- const only = await runNpmQuiet([...addArgs(opts.manager, specifier), ...scope], cwd, { manager: opts.manager, ...opts.timeoutMs !== void 0 ? { timeoutMs: opts.timeoutMs } : {} });
41
+ const only = await runNpmQuiet([...addArgs(opts.manager, specs), ...scope], cwd, { manager: opts.manager, ...opts.timeoutMs !== void 0 ? { timeoutMs: opts.timeoutMs } : {} });
41
42
  return { ...only, peerConflict: null, retried: false };
42
43
  }
43
44
  const budget = opts.timeoutMs ?? NPM_RUN_TIMEOUT_MS;
44
45
  const deadline = Date.now() + budget;
45
- const first = await runNpmQuiet(["install", specifier, ...scope], cwd, { timeoutMs: budget });
46
+ const first = await runNpmQuiet(["install", ...specs, ...scope], cwd, { timeoutMs: budget });
46
47
  if (first.status === 0 || !isPeerConflict(first.output)) {
47
48
  return { ...first, peerConflict: null, retried: false };
48
49
  }
49
50
  const remaining = deadline - Date.now();
50
51
  if (remaining <= 0) return { ...first, peerConflict: first.output, retried: false };
51
52
  opts.onRetry?.();
52
- const second = await runNpmQuiet(["install", specifier, ...scope, "--legacy-peer-deps"], cwd, {
53
+ const second = await runNpmQuiet(["install", ...specs, ...scope, "--legacy-peer-deps"], cwd, {
53
54
  timeoutMs: remaining
54
55
  });
55
56
  return { ...second, peerConflict: first.output, retried: true };
@@ -114,6 +115,21 @@ async function addDependency(dir, specifier, opts = {}) {
114
115
  return { ...result, site, installSpec, ...recorded === void 0 ? {} : { recorded }, ...landed === void 0 ? {} : { landed } };
115
116
  });
116
117
  }
118
+ async function addDependencies(dir, specifiers, opts = {}) {
119
+ const names = specifiers.map(packageNameOf);
120
+ const check = interruptedCheck(names.join(", "), installSite(dir), opts.rerun);
121
+ return trackLocalWrite({ what: `the install of ${names.join(", ")}`, check }, async () => {
122
+ const { site, link } = await prepareInstallSite(dir);
123
+ if (link !== null && link.status !== 0) return { ...link, peerConflict: null, retried: false, site, unrecorded: names };
124
+ const result = await installWithPeerRetry(specifiers, site.cwd, {
125
+ ...opts.onRetry === void 0 ? {} : { onRetry: opts.onRetry },
126
+ scope: site.scope,
127
+ ...site.manager !== "npm" ? { manager: site.manager } : {}
128
+ });
129
+ const after = dependenciesOf(dir);
130
+ return { ...result, site, unrecorded: result.status === 0 ? names.filter((n) => !after.has(n)) : names };
131
+ });
132
+ }
117
133
  async function removeDependency(dir, pkg, rerun) {
118
134
  return trackLocalWrite({ what: `the removal of ${pkg}`, check: interruptedCheck(pkg, installSite(dir), rerun) }, async () => {
119
135
  const { site, link } = await prepareInstallSite(dir);
@@ -149,7 +165,8 @@ export {
149
165
  dependenciesOf,
150
166
  prepareInstallSite,
151
167
  addDependency,
168
+ addDependencies,
152
169
  removeDependency,
153
170
  recordedDependency
154
171
  };
155
- //# sourceMappingURL=chunk-3VX7VAQT.js.map
172
+ //# sourceMappingURL=chunk-PMMHSX4H.js.map
@@ -6,12 +6,12 @@ import {
6
6
  import {
7
7
  localPackageName,
8
8
  packageNameOf
9
- } from "./chunk-M7GJ6YUF.js";
9
+ } from "./chunk-763M6LX3.js";
10
10
  import {
11
11
  parseJsonAnswer,
12
12
  serverMessage,
13
13
  statusLabel
14
- } from "./chunk-HLQH3AXB.js";
14
+ } from "./chunk-YR2I5HGE.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-XNZURZ7T.js";
22
+ } from "./chunk-D7BUMOKU.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-JRGMZZAC.js");
362
+ const { retryCommand } = await import("./retry-command-QJ57WVW7.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-MYLPOVX6.js.map
389
+ //# sourceMappingURL=chunk-QJM5XZ4K.js.map
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  hasString,
3
3
  listAnswer
4
- } from "./chunk-TEBS7FE6.js";
4
+ } from "./chunk-7GAIJW62.js";
5
5
  import {
6
6
  READ_AFTERMATH,
7
7
  explainFetchFailure,
8
8
  httpFailure,
9
9
  readBodyText
10
- } from "./chunk-HLQH3AXB.js";
10
+ } from "./chunk-YR2I5HGE.js";
11
11
  import {
12
12
  detail,
13
13
  info,
14
14
  warn
15
- } from "./chunk-XNZURZ7T.js";
15
+ } from "./chunk-D7BUMOKU.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-U6DR6464.js.map
171
+ //# sourceMappingURL=chunk-QXYMDARD.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  projectSdkVersion
3
- } from "./chunk-OVV2HXJ6.js";
3
+ } from "./chunk-LD6ARK3A.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-S5KQIFKJ.js";
10
+ } from "./chunk-XFBGXB7X.js";
11
11
  import {
12
12
  registerSecret
13
13
  } from "./chunk-AWQ7BQTQ.js";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-EUUUMY7J.js";
17
17
  import {
18
18
  serverMessage
19
- } from "./chunk-HLQH3AXB.js";
19
+ } from "./chunk-YR2I5HGE.js";
20
20
  import {
21
21
  atomicWrite
22
22
  } from "./chunk-LLNZGEFK.js";
@@ -29,7 +29,7 @@ import {
29
29
  noteRunWarning,
30
30
  style,
31
31
  warn
32
- } from "./chunk-XNZURZ7T.js";
32
+ } from "./chunk-D7BUMOKU.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-DEVGLLNZ.js.map
354
+ //# sourceMappingURL=chunk-QZEAANWP.js.map