@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
@@ -8,16 +8,19 @@ import {
8
8
  resolveThemeChoice,
9
9
  sanitizeAppName,
10
10
  templateVarsFor
11
- } from "./chunk-CV54PASI.js";
11
+ } from "./chunk-ATJ2W7DC.js";
12
+ import {
13
+ renderManifestFile,
14
+ reportModuleFailures
15
+ } from "./chunk-A7MRZ4GF.js";
12
16
  import {
13
17
  ROUTES_MANIFEST_BASENAME,
14
18
  RouteManifestError,
15
- planRouteManifest,
16
- renderPlannedManifest
17
- } from "./chunk-TM5LRSBB.js";
19
+ planRouteManifest
20
+ } from "./chunk-LBJA7IEM.js";
18
21
  import {
19
22
  confirm
20
- } from "./chunk-AESE434J.js";
23
+ } from "./chunk-JXVJGF3Y.js";
21
24
  import {
22
25
  CODEGEN_MODULE,
23
26
  DecodeContext,
@@ -53,25 +56,32 @@ import {
53
56
  spread,
54
57
  untypedKey,
55
58
  withDeclineContext
56
- } from "./chunk-WOGJB2F6.js";
59
+ } from "./chunk-FNLTFOUD.js";
60
+ import {
61
+ recordSync,
62
+ syncBranchLabel
63
+ } from "./chunk-NDWVJ2QZ.js";
64
+ import {
65
+ syncDigests
66
+ } from "./chunk-JI3BLXWQ.js";
57
67
  import {
58
68
  archiveSeedContent,
59
69
  fetchSourceArchive
60
- } from "./chunk-PIPIA7K7.js";
70
+ } from "./chunk-Z4ZGTCCD.js";
61
71
  import {
62
72
  assertBranchReadSupported,
63
73
  exportWorkspaceBundle
64
- } from "./chunk-XIABDKFQ.js";
74
+ } from "./chunk-GOLFAEUV.js";
65
75
  import {
66
76
  decodeWorkspaceArchive
67
77
  } from "./chunk-3DRXWLJ5.js";
68
78
  import {
69
79
  listBranches,
70
80
  requireBranch
71
- } from "./chunk-5RLAF6RL.js";
81
+ } from "./chunk-NPODGBVJ.js";
72
82
  import {
73
83
  detectInstallMode
74
- } from "./chunk-DEVGLLNZ.js";
84
+ } from "./chunk-QZEAANWP.js";
75
85
  import {
76
86
  UNSUPPORTED_SECTIONS,
77
87
  decodedCounts,
@@ -82,47 +92,47 @@ import {
82
92
  sectionOmission,
83
93
  subtractDefaults,
84
94
  workspaceKeyOmission
85
- } from "./chunk-MEIJDRHU.js";
95
+ } from "./chunk-IYXL5NYU.js";
86
96
  import {
87
97
  ensureWorkspaceEnvGitignored,
88
98
  requireSecretPathGitignored
89
- } from "./chunk-3WHWOKU4.js";
99
+ } from "./chunk-UD2Z7K6W.js";
90
100
  import {
91
101
  loadDefault,
92
102
  readVersion,
93
103
  resolveKnowledge
94
- } from "./chunk-S5KQIFKJ.js";
104
+ } from "./chunk-XFBGXB7X.js";
95
105
  import {
96
106
  WORKSPACE_ENV_BASENAME,
97
107
  WORKSPACE_ENV_EXAMPLE_BASENAME,
98
108
  renderWorkspaceEnvExample,
99
109
  renderWorkspaceEnvFile,
100
110
  valueProblem
101
- } from "./chunk-LLS2WO2K.js";
111
+ } from "./chunk-HCG7NDIL.js";
102
112
  import {
103
113
  memoCredential,
104
114
  refuseProfileForLocal
105
- } from "./chunk-KUU7T4ZE.js";
115
+ } from "./chunk-I3VHW6XM.js";
106
116
  import {
107
117
  getAccessToken
108
- } from "./chunk-CJ76PSJT.js";
118
+ } from "./chunk-YGLMRH5U.js";
109
119
  import {
110
120
  getEngineRecord
111
121
  } from "./chunk-Q22BMRPF.js";
112
122
  import {
113
123
  requireBackendSlot
114
- } from "./chunk-F3557PVM.js";
124
+ } from "./chunk-VDHA5SSQ.js";
115
125
  import {
116
126
  SECRETS_FILE_VERSION,
117
127
  workspaceSecretsPathIn,
118
128
  writeSecretsFile
119
- } from "./chunk-AMBEITWL.js";
129
+ } from "./chunk-PFBXSVZF.js";
120
130
  import {
121
131
  yesRerun
122
- } from "./chunk-Z4VN347O.js";
132
+ } from "./chunk-6X3MY2JP.js";
123
133
  import {
124
134
  contextFlags
125
- } from "./chunk-G57RYMKB.js";
135
+ } from "./chunk-N5I37JFB.js";
126
136
  import {
127
137
  PRESERVED_ON_REFRESH,
128
138
  SHELL_FILES_IN_BACKEND,
@@ -137,37 +147,37 @@ import {
137
147
  plannedAgentsMd,
138
148
  readDecodeRecord,
139
149
  scaffoldProject
140
- } from "./chunk-F6IKWAIU.js";
150
+ } from "./chunk-LL7SGTRC.js";
141
151
  import {
142
152
  shellWord
143
153
  } from "./chunk-FWD7AL6N.js";
144
154
  import {
145
155
  seedRowsByTableGuid
146
- } from "./chunk-Y76ERHLK.js";
156
+ } from "./chunk-3BBIDW3Y.js";
147
157
  import {
148
158
  readLockFile,
149
159
  writeLockFile
150
- } from "./chunk-SQPIECXD.js";
160
+ } from "./chunk-CJDPSCMX.js";
151
161
  import {
152
162
  readInstalledManifest
153
- } from "./chunk-M7GJ6YUF.js";
163
+ } from "./chunk-763M6LX3.js";
154
164
  import {
155
165
  atomicWrite
156
166
  } from "./chunk-LLNZGEFK.js";
157
167
  import {
158
168
  TEST_EXPECT_TYPES,
159
169
  respond
160
- } from "./chunk-S5TEJIGP.js";
170
+ } from "./chunk-SKEG3V2V.js";
161
171
  import {
162
172
  codegen_entry_exports,
163
173
  raw
164
- } from "./chunk-XMDDBEEM.js";
174
+ } from "./chunk-E763QI3G.js";
165
175
  import {
166
176
  codegenLanding,
167
177
  describeOrigin,
168
178
  renderCodegenMarker,
169
179
  renderCodegenReadme
170
- } from "./chunk-57HMNJGB.js";
180
+ } from "./chunk-EQFYOOO6.js";
171
181
  import {
172
182
  SUPERSEDED_STATEMENTS,
173
183
  supersededBy
@@ -188,7 +198,7 @@ import {
188
198
  terminalText,
189
199
  warn,
190
200
  writeJson
191
- } from "./chunk-XNZURZ7T.js";
201
+ } from "./chunk-D7BUMOKU.js";
192
202
  import {
193
203
  TOOL_ANNOTATION_WIRE,
194
204
  agentTrigger,
@@ -202,11 +212,11 @@ import {
202
212
  s,
203
213
  tableTrigger,
204
214
  workspaceTrigger
205
- } from "./chunk-FV55SRQU.js";
215
+ } from "./chunk-FQ53GTII.js";
206
216
  import {
207
217
  parsePathParams,
208
218
  unboundPathParams
209
- } from "./chunk-3IYVHVM6.js";
219
+ } from "./chunk-VJFMUJWZ.js";
210
220
  import {
211
221
  DEFAULT_DOCUMENTATION,
212
222
  DEFAULT_PREFERENCES,
@@ -214,10 +224,10 @@ import {
214
224
  } from "./chunk-6JAEMMZ7.js";
215
225
  import {
216
226
  MCP_OAUTH_ENV_REF
217
- } from "./chunk-SRX6B544.js";
227
+ } from "./chunk-5QMJOE2K.js";
218
228
  import {
219
229
  PAYLOAD_ARRAY_KEYS
220
- } from "./chunk-XJU6UAFV.js";
230
+ } from "./chunk-7FIMUFBP.js";
221
231
  import {
222
232
  CORS_UNMATCHABLE,
223
233
  DECODE_ONLY_STATEMENTS,
@@ -241,7 +251,7 @@ import {
241
251
  searchConstrainsRows,
242
252
  specLabel,
243
253
  unmatchableOrigins
244
- } from "./chunk-JSEVKRVJ.js";
254
+ } from "./chunk-T4LJ5UR2.js";
245
255
  import {
246
256
  WORKSPACE_HISTORY_TYPES
247
257
  } from "./chunk-ETAZIGNT.js";
@@ -256,7 +266,7 @@ import {
256
266
  isRuntimeConditionOp,
257
267
  isSearchOp,
258
268
  unusableColumns
259
- } from "./chunk-VZ22VUAS.js";
269
+ } from "./chunk-SLGJIWCY.js";
260
270
  import {
261
271
  AUTHOR_KIND_NAME
262
272
  } from "./chunk-VTMTIBKP.js";
@@ -271,7 +281,7 @@ import {
271
281
  DiagnosticBag,
272
282
  allowableWarnings,
273
283
  setDiagnosticSink
274
- } from "./chunk-GPI3OWRE.js";
284
+ } from "./chunk-YHB34BN6.js";
275
285
  import {
276
286
  CANONICAL_PAYLOAD_KEYS,
277
287
  adoptFromBundle,
@@ -281,7 +291,7 @@ import {
281
291
  mergeObserved,
282
292
  sdkKindName,
283
293
  withObjects
284
- } from "./chunk-OKNE3TWU.js";
294
+ } from "./chunk-5KJBWIDZ.js";
285
295
  import {
286
296
  shellQuote
287
297
  } from "./chunk-5ZSO4T2G.js";
@@ -305,14 +315,14 @@ import {
305
315
  normalize,
306
316
  retiredInputSuccessor,
307
317
  retiredInputs
308
- } from "./chunk-3HOGFGKG.js";
318
+ } from "./chunk-D3KEPRRN.js";
309
319
  import {
310
320
  STATEMENT_SURFACES,
311
321
  sPathOf
312
322
  } from "./chunk-Q7DGTQ5G.js";
313
323
  import {
314
324
  impliedInputs
315
- } from "./chunk-7GX445AE.js";
325
+ } from "./chunk-4XHAT7C5.js";
316
326
  import {
317
327
  LAMBDA_STATEMENTS,
318
328
  collectLambdaBodyProblems,
@@ -325,7 +335,7 @@ import {
325
335
  } from "./chunk-4BW2SG2N.js";
326
336
  import {
327
337
  INPUT_CONTEXT
328
- } from "./chunk-4DJTQ6W4.js";
338
+ } from "./chunk-JIKGT7DO.js";
329
339
  import {
330
340
  isVarName
331
341
  } from "./chunk-4MIV244X.js";
@@ -2360,14 +2370,7 @@ var dbIncrement = (a) => {
2360
2370
  };
2361
2371
  var dbTransaction = (a) => {
2362
2372
  const body = a.decodeStack(getPath2(a.stored.context, "run"));
2363
- const entries = [["body", arr(body.exprs)]];
2364
- const runtime = { body: body.statements };
2365
- const as = a.stored.as;
2366
- if (typeof as === "string" && as !== "") {
2367
- entries.push(["as", lit(as)]);
2368
- runtime.as = as;
2369
- }
2370
- return prove(a.ctx, a.stored, "db.transaction", [runtime], [obj(entries)]);
2373
+ return prove(a.ctx, a.stored, "db.transaction", [{ body: body.statements }], [obj([["body", arr(body.exprs)]])]);
2371
2374
  };
2372
2375
  function decodeWhere(a, stored, site) {
2373
2376
  const condition = decodeCondition(a.ctx, stored, { sqlWhere: true });
@@ -3706,9 +3709,10 @@ function documentationEntry(a, scope, defaulted) {
3706
3709
  }
3707
3710
  if (token !== "") {
3708
3711
  const gated = block.require_token === true;
3712
+ const sidecar = `\`${a.ctx.secretsFile}\``;
3709
3713
  a.ctx.problem(
3710
3714
  "expected-omission",
3711
- gated ? `${documentationScopeLabel(scope)} gates its documentation with a token, which is a SECRET and is not carried into the generated tree. ` + (a.ctx.writesSecrets ? `The source declares the gate and the value is written to \`${a.ctx.secretsFile}\` \u2014 gitignored, and read back by every command that builds a bundle, so a deploy restores the gate with no further step. Until it is supplied, \`deploy\` refuses rather than clearing the live token.` : `The source declares the gate; the value was NOT written anywhere (--no-secrets). Supply it at deploy time with \`--doc-token\` or \`--secrets-file\` \u2014 until then \`deploy\` refuses rather than clearing the live token.`) : `${documentationScopeLabel(scope)} stores a documentation token with \`require_token: false\` \u2014 the documentation is not gated. The token is a SECRET and is not carried into the generated tree; ` + (a.ctx.writesSecrets ? `it is written to \`${a.ctx.secretsFile}\` (gitignored) so a deploy carries it across.` : `it was NOT written anywhere (--no-secrets). A deploy does not need it.`)
3715
+ gated ? `${documentationScopeLabel(scope)} gates its documentation with a token, which is a SECRET and is not carried into the generated tree. The source declares the gate. A decode writes the value to ${sidecar} (gitignored), and every command that builds a bundle reads it back, so a deploy restores the gate with no further step. A decode run with \`--no-secrets\` does not write it: supply it at deploy time with \`--doc-token\` or \`--secrets-file\`. Until the value is supplied, \`deploy\` refuses rather than clearing the live token.` : `${documentationScopeLabel(scope)} stores a documentation token with \`require_token: false\` \u2014 the documentation is not gated. The token is a SECRET and is not carried into the generated tree. A decode writes it to ${sidecar} (gitignored) so a deploy carries it across; a decode run with \`--no-secrets\` does not. A deploy does not need it.`
3712
3716
  );
3713
3717
  }
3714
3718
  return cells.length === 0 ? null : ["documentation", obj(cells)];
@@ -5945,7 +5949,6 @@ var KNOWN_PAYLOAD_KEYS = /* @__PURE__ */ new Set([
5945
5949
  function decodeBundle(bundle, opts = {}) {
5946
5950
  const ctx = new DecodeContext();
5947
5951
  if (opts.secretsFile !== void 0) ctx.secretsFile = opts.secretsFile;
5948
- if (opts.writesSecrets !== void 0) ctx.writesSecrets = opts.writesSecrets;
5949
5952
  let raw2 = bundle.payload ?? {};
5950
5953
  if (opts.workspaceName !== void 0) {
5951
5954
  ctx.fallbackWorkspaceName = opts.workspaceName;
@@ -6276,13 +6279,16 @@ async function fetchBundle(args, source) {
6276
6279
  const credential = memoCredential(() => (credentialRead = true, getAccessToken(args)));
6277
6280
  if (source.kind === "workspace") {
6278
6281
  const auth = await credential();
6282
+ const bundle2 = await fetchWorkspaceBundle(auth, args.branch);
6283
+ const branch = await syncBranchLabel(auth, args.branch);
6279
6284
  return {
6280
- bundle: await fetchWorkspaceBundle(auth, args.branch),
6285
+ bundle: bundle2,
6281
6286
  origin: { source: "workspace", origin: String(auth.workspaceId), ...args.branch === void 0 ? {} : { branch: args.branch.trim() } },
6282
- credentialRead
6287
+ credentialRead,
6288
+ ...branch === void 0 ? {} : { syncTarget: { instance: auth.instance, workspaceId: auth.workspaceId, branch } }
6283
6289
  };
6284
6290
  }
6285
- const { projectDirFrom } = await import("./xanosdk-project-KH5TZ2KI.js");
6291
+ const { projectDirFrom } = await import("./xanosdk-project-6AGMW2SL.js");
6286
6292
  const cwd = projectDirFrom(process.cwd()) ?? process.cwd();
6287
6293
  const raw2 = "name" in source && source.name !== void 0 ? `${source.kind}:${source.name}` : source.kind;
6288
6294
  step(`Reading ${raw2}`);
@@ -6361,7 +6367,7 @@ function refuseDuplicateSourceGuids(project) {
6361
6367
  Nothing was written. These records come from the archive, not from anything you authored, so renaming an object or pinning a new guid here would repoint references rather than fix it \u2014 the repeat has to be resolved in the workspace this was exported from.`
6362
6368
  );
6363
6369
  }
6364
- function placeGeneratedFiles(project, backendDir = XANO_DIR, displayDir = backendDir || XANO_DIR, routes) {
6370
+ function placeGeneratedFiles(project, backendDir = XANO_DIR, displayDir = backendDir || XANO_DIR, routes, modules) {
6365
6371
  const out = [
6366
6372
  // Generated from the names the source declares, and therefore placed HERE
6367
6373
  // rather than at either call site: `init --from` and `pull` must not be able
@@ -6379,19 +6385,23 @@ function placeGeneratedFiles(project, backendDir = XANO_DIR, displayDir = backen
6379
6385
  const path = file.path === GENERATED_README ? `${backendDir}/${GENERATED_README}` : `${backendDir}/${file.path}`;
6380
6386
  out.push({ path, content: file.contents });
6381
6387
  }
6382
- const manifest = routeManifestFor(project.source, routes?.entry ?? `${displayDir}/index.ts`, routes?.deferred);
6388
+ const manifest = routeManifestFor(project.source, routes?.entry ?? `${displayDir}/index.ts`, routes?.deferred, modules);
6383
6389
  if (manifest !== void 0) out.push({ path: `${backendDir}/${ROUTES_MANIFEST_BASENAME}`, content: manifest });
6384
6390
  return out;
6385
6391
  }
6386
- function routeManifestFor(payload, entry, deferred) {
6392
+ function routeManifestFor(payload, entry, deferred, modules) {
6387
6393
  try {
6388
- return renderPlannedManifest(planRouteManifest(payload), entry);
6394
+ const file = renderManifestFile(planRouteManifest(payload), modules, entry === void 0 ? {} : { entry });
6395
+ if (file === void 0) return void 0;
6396
+ reportModuleFailures(file.failed, ROUTES_MANIFEST_BASENAME);
6397
+ return file.source;
6389
6398
  } catch (err) {
6390
6399
  if (!(err instanceof RouteManifestError)) throw err;
6391
- const line = `${ROUTES_MANIFEST_BASENAME} was not written: ${err.message}`;
6400
+ const kept = modules?.previous;
6401
+ const line = kept === void 0 ? `${ROUTES_MANIFEST_BASENAME} was not written: ${err.message}` : `${ROUTES_MANIFEST_BASENAME} was not refreshed and was kept as it was: ${err.message}`;
6392
6402
  if (deferred === void 0) warn(line, "routes.not-written");
6393
6403
  else deferred.push(line);
6394
- return void 0;
6404
+ return kept;
6395
6405
  }
6396
6406
  }
6397
6407
  function envExampleNames(env) {
@@ -6652,11 +6662,12 @@ async function runInitFromCommand(args, source) {
6652
6662
  { hintFor: { command: "init" } }
6653
6663
  );
6654
6664
  }
6655
- const { bundle, origin, credentialRead, seed } = source.kind === "file" ? {
6665
+ const { bundle, origin, credentialRead, seed, syncTarget } = source.kind === "file" ? {
6656
6666
  bundle: readBundleFile(source.path),
6657
6667
  origin: { source: "file", origin: source.path },
6658
6668
  credentialRead: void 0,
6659
- seed: void 0
6669
+ seed: void 0,
6670
+ syncTarget: void 0
6660
6671
  } : await fetchBundle(args, source);
6661
6672
  const mode = reportMode(args.report);
6662
6673
  const out = resolve(pathArg);
@@ -6668,7 +6679,6 @@ async function runInitFromCommand(args, source) {
6668
6679
  const ws = bundle.payload?.workspace;
6669
6680
  const unnamed = typeof ws?.name !== "string" || ws.name.trim() === "";
6670
6681
  const project = decodeBundle(bundle, {
6671
- writesSecrets: args.noSecrets !== true,
6672
6682
  ...unnamed ? { workspaceName: appName } : {}
6673
6683
  });
6674
6684
  refuseDuplicateSourceGuids(project);
@@ -6743,7 +6753,7 @@ async function runInitFromCommand(args, source) {
6743
6753
  for (const line of routesDeferred) warn(line, "routes.not-written");
6744
6754
  if (seed !== void 0) reportSeedRows(seed.rows, seed.label, seed.provenance, XANO_DIR, contextFlags(args));
6745
6755
  if (replace.lock !== void 0) {
6746
- const { reconciledLock } = await import("./pull-command-EUEWBRXZ.js");
6756
+ const { reconciledLock } = await import("./pull-command-ZGUNP27P.js");
6747
6757
  writeLockFile(
6748
6758
  replace.lock.path,
6749
6759
  reconciledLock(replace.lock.model, replace.lock.reconciliation, bundle.payload)
@@ -6794,6 +6804,9 @@ async function runInitFromCommand(args, source) {
6794
6804
  }
6795
6805
  }
6796
6806
  if (lock !== null && !hadLock) success(`Wrote ${displayPath(lock)}`);
6807
+ if (lock !== null && syncTarget !== void 0 && verified !== false) {
6808
+ recordSync({ lockPath: lock, target: syncTarget, digests: syncDigests({ held: [bundle] }), by: "init", complete: true });
6809
+ }
6797
6810
  if (verified === false) {
6798
6811
  rewriteReadmeWithReport(project, out);
6799
6812
  const cliVersion = readVersion();
@@ -6844,7 +6857,7 @@ async function planXanoReplace(out, files, payload, args, label, agentsMd) {
6844
6857
  if (shell.length > 0 && !await confirmShellOverwrite(out, shell, args, label)) return "cancelled";
6845
6858
  return { removals: void 0, removedEdited: [], rewrittenEdited: [], kept: [] };
6846
6859
  }
6847
- const { backendDirCleanliness, noneOfTheIdentities, pulledIdentities, reconcileLock } = await import("./pull-command-EUEWBRXZ.js");
6860
+ const { backendDirCleanliness, noneOfTheIdentities, pulledIdentities, reconcileLock } = await import("./pull-command-ZGUNP27P.js");
6848
6861
  const prefix = `${XANO_DIR}/`;
6849
6862
  const incoming = new Map(
6850
6863
  files.filter((f) => f.path.startsWith(prefix)).map((f) => [f.path.slice(prefix.length), f.content])
@@ -6892,7 +6905,7 @@ async function planXanoReplace(out, files, payload, args, label, agentsMd) {
6892
6905
  list(lock.reconciliation.dropped.map((key) => displayLockKey(key)), "")
6893
6906
  );
6894
6907
  }
6895
- const { keptDuplicates, replacedRegistrations, reportSuperseded } = await import("./pull-superseded-TOT5S4QU.js");
6908
+ const { keptDuplicates, replacedRegistrations, reportSuperseded } = await import("./pull-superseded-EZBGYRZF.js");
6896
6909
  const shown = relative(process.cwd(), xanoDir).split(sep).join("/") || XANO_DIR;
6897
6910
  reportSuperseded(
6898
6911
  keptDuplicates(xanoDir, incoming, kept, shown),
@@ -7197,4 +7210,4 @@ export {
7197
7210
  seedRowsListed,
7198
7211
  seedRowsLanding
7199
7212
  };
7200
- //# sourceMappingURL=chunk-LZDA6SVD.js.map
7213
+ //# sourceMappingURL=chunk-RIN4YY34.js.map
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  INPUT_CONTEXT,
9
9
  encodeField
10
- } from "./chunk-4DJTQ6W4.js";
10
+ } from "./chunk-JIKGT7DO.js";
11
11
 
12
12
  // src/fields/catalog.ts
13
13
  var DEFAULTABLE_TYPES = /* @__PURE__ */ new Set([
@@ -277,6 +277,9 @@ var input = {
277
277
  * true, methods: ["lower"] } }` — where `hidden` drops them wholesale. Both
278
278
  * are read per column by the engine's expansion, and a column named in
279
279
  * `customize` with `hidden: true` is dropped exactly as the outer list does it.
280
+ * A node REPLACES the column's own `required` flag and `methods`, and an
281
+ * omitted one is stored as `false` / none: a node that only adds a method
282
+ * makes a required column optional, so restate `required: true`.
280
283
  *
281
284
  * Input-only: the engine refuses it as a column type, and a column linking a
282
285
  * whole table would be a foreign key — use
@@ -364,4 +367,4 @@ export {
364
367
  input,
365
368
  encodeInput
366
369
  };
367
- //# sourceMappingURL=chunk-37FBPMNE.js.map
370
+ //# sourceMappingURL=chunk-S56YBYMN.js.map
@@ -3,7 +3,7 @@ import {
3
3
  HEADER_NAME,
4
4
  generated,
5
5
  literalText
6
- } from "./chunk-JSEVKRVJ.js";
6
+ } from "./chunk-T4LJ5UR2.js";
7
7
  import {
8
8
  fl
9
9
  } from "./chunk-BEXZ4XRV.js";
@@ -238,4 +238,4 @@ export {
238
238
  TEST_EXPECT_TYPES,
239
239
  expect
240
240
  };
241
- //# sourceMappingURL=chunk-S5TEJIGP.js.map
241
+ //# sourceMappingURL=chunk-SKEG3V2V.js.map
@@ -13,7 +13,7 @@ import {
13
13
  emitDiagnostic,
14
14
  numberedList,
15
15
  problemCount
16
- } from "./chunk-GPI3OWRE.js";
16
+ } from "./chunk-YHB34BN6.js";
17
17
  import {
18
18
  isHostedFile
19
19
  } from "./chunk-VQPDATQT.js";
@@ -32,7 +32,7 @@ import {
32
32
  authoredFieldType,
33
33
  encodeField,
34
34
  isListColumn
35
- } from "./chunk-4DJTQ6W4.js";
35
+ } from "./chunk-JIKGT7DO.js";
36
36
  import {
37
37
  argsOrEmpty,
38
38
  assertArg,
@@ -1272,4 +1272,4 @@ export {
1272
1272
  assertSeedUnique,
1273
1273
  isNonPublicColumn
1274
1274
  };
1275
- //# sourceMappingURL=chunk-VZ22VUAS.js.map
1275
+ //# sourceMappingURL=chunk-SLGJIWCY.js.map
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  pastePath,
7
7
  warn
8
- } from "./chunk-XNZURZ7T.js";
8
+ } from "./chunk-D7BUMOKU.js";
9
9
  import {
10
10
  shellQuote
11
11
  } from "./chunk-5ZSO4T2G.js";
@@ -103,4 +103,4 @@ export {
103
103
  replacedRegistrations,
104
104
  reportSuperseded
105
105
  };
106
- //# sourceMappingURL=chunk-4QFBEKXI.js.map
106
+ //# sourceMappingURL=chunk-SPITRSOF.js.map
@@ -4,17 +4,17 @@ import {
4
4
  listAnswer,
5
5
  recordAnswer,
6
6
  writeTransportFailure
7
- } from "./chunk-TEBS7FE6.js";
7
+ } from "./chunk-7GAIJW62.js";
8
8
  import {
9
9
  contextFlags
10
- } from "./chunk-G57RYMKB.js";
10
+ } from "./chunk-N5I37JFB.js";
11
11
  import {
12
12
  TransportError,
13
13
  fetchOrExplain,
14
14
  httpFailure,
15
15
  readBodyText,
16
16
  withWriteStatusAftermath
17
- } from "./chunk-HLQH3AXB.js";
17
+ } from "./chunk-YR2I5HGE.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-QZTJ2556.js.map
286
+ //# sourceMappingURL=chunk-SPKA2LV6.js.map
@@ -6,13 +6,13 @@ import {
6
6
  startEngine,
7
7
  stopEngineNamed,
8
8
  stopOrphanedEngineProcesses
9
- } from "./chunk-RXCT3OCU.js";
9
+ } from "./chunk-2FLIJGBZ.js";
10
10
  import {
11
11
  RELEASE_VERSION,
12
12
  readEngineEntry,
13
13
  stageEngine,
14
14
  verifiedEngineExecutable
15
- } from "./chunk-Z3SNX45M.js";
15
+ } from "./chunk-YYLUBYXM.js";
16
16
  import {
17
17
  sha256Hex
18
18
  } from "./chunk-64WWE3EF.js";
@@ -20,17 +20,17 @@ import {
20
20
  normalizeEngineVersion,
21
21
  resolveEngineRelease,
22
22
  usesCustomReleaseManager
23
- } from "./chunk-JQOX6HW4.js";
23
+ } from "./chunk-OIKLDDYC.js";
24
24
  import {
25
25
  compareSemver,
26
26
  parseSemver
27
27
  } from "./chunk-2TFRR6JV.js";
28
28
  import {
29
29
  recordDeployed
30
- } from "./chunk-HOOOOJJP.js";
30
+ } from "./chunk-WZHLMU6T.js";
31
31
  import {
32
32
  ImportHttpError
33
- } from "./chunk-5XVBT6CQ.js";
33
+ } from "./chunk-BL3AZ3AP.js";
34
34
  import {
35
35
  engineNameForProject,
36
36
  getEngineRecord,
@@ -50,13 +50,13 @@ import {
50
50
  import {
51
51
  TransportError,
52
52
  fetchOrExplain
53
- } from "./chunk-HLQH3AXB.js";
53
+ } from "./chunk-YR2I5HGE.js";
54
54
  import {
55
55
  readEnvVar
56
56
  } from "./chunk-X2NL4KUO.js";
57
57
  import {
58
58
  UsageError
59
- } from "./chunk-XNZURZ7T.js";
59
+ } from "./chunk-D7BUMOKU.js";
60
60
 
61
61
  // src/deploy/local-engine-release.ts
62
62
  import { readFileSync } from "fs";
@@ -609,4 +609,4 @@ export {
609
609
  restartMismatchedEngine,
610
610
  explainUnsupportedEngineImport
611
611
  };
612
- //# sourceMappingURL=chunk-YI76TURL.js.map
612
+ //# sourceMappingURL=chunk-SSITMX7I.js.map
@@ -37,7 +37,7 @@ import {
37
37
  tableColumns,
38
38
  tableIndexes,
39
39
  unusableColumns
40
- } from "./chunk-VZ22VUAS.js";
40
+ } from "./chunk-SLGJIWCY.js";
41
41
  import {
42
42
  brandDef
43
43
  } from "./chunk-ERVIASGL.js";
@@ -63,7 +63,7 @@ import {
63
63
  } from "./chunk-WTPZRR4I.js";
64
64
  import {
65
65
  DiagnosticError
66
- } from "./chunk-GPI3OWRE.js";
66
+ } from "./chunk-YHB34BN6.js";
67
67
  import {
68
68
  orNames,
69
69
  suggest,
@@ -74,7 +74,7 @@ import {
74
74
  identityNamesByGuid,
75
75
  lockNameForObject,
76
76
  sdkKindName
77
- } from "./chunk-OKNE3TWU.js";
77
+ } from "./chunk-5KJBWIDZ.js";
78
78
  import {
79
79
  annotate,
80
80
  encodeStatement,
@@ -110,7 +110,7 @@ import {
110
110
  } from "./chunk-LL6ED5IB.js";
111
111
  import {
112
112
  isListColumn
113
- } from "./chunk-4DJTQ6W4.js";
113
+ } from "./chunk-JIKGT7DO.js";
114
114
  import {
115
115
  argsOrEmpty,
116
116
  assertArg,
@@ -1645,7 +1645,7 @@ function dbQuery(args) {
1645
1645
  })
1646
1646
  }, args);
1647
1647
  }
1648
- var DB_TRANSACTION_KEYS = Object.keys({ disabled: 1, description: 1, mock: 1, body: 1, as: 1 });
1648
+ var DB_TRANSACTION_KEYS = Object.keys({ disabled: 1, description: 1, mock: 1, body: 1 });
1649
1649
  function dbTransaction(args) {
1650
1650
  args = argsOrEmpty(args);
1651
1651
  assertKnownKeys(`Statement "s.db.transaction"`, args, DB_TRANSACTION_KEYS);
@@ -1655,7 +1655,6 @@ function dbTransaction(args) {
1655
1655
  context: { run: args.body.map(encodeStatement) },
1656
1656
  input: []
1657
1657
  };
1658
- if (args.as !== void 0) stmt.as = args.as;
1659
1658
  return annotate(stmt, args);
1660
1659
  }
1661
1660
  var EXTERNAL_SQL_NAME = {
@@ -6894,6 +6893,13 @@ function checkNonJsonValues(sections, bag, workspaceConfig) {
6894
6893
  obj
6895
6894
  );
6896
6895
  }
6896
+ for (const off of payloadKey === "trigger" ? [] : findRequiredInputDefaults(obj)) {
6897
+ bag.warn(
6898
+ "field.input-required-default-ignored",
6899
+ `The \`default\` at ${owner}, input "${off.name}" is ${JSON.stringify(off.text)}, but the input is \`required: true\` \u2014 the engine refuses a request that leaves a required input out ("Missing param") before it reads the default, so the default is never applied. Drop \`required\` to use the default, or drop the \`default\`.`,
6900
+ obj
6901
+ );
6902
+ }
6897
6903
  }
6898
6904
  const found = findNonJson(obj);
6899
6905
  if (found === void 0) continue;
@@ -6975,6 +6981,22 @@ function findInputDefaultsRefused(root) {
6975
6981
  });
6976
6982
  return hits;
6977
6983
  }
6984
+ function findRequiredInputDefaults(root) {
6985
+ const hits = [];
6986
+ const visit = (fields, prefix) => {
6987
+ if (!Array.isArray(fields)) return;
6988
+ for (const node of fields) {
6989
+ const field = node;
6990
+ if (typeof field?.name !== "string" || typeof field.type !== "string") continue;
6991
+ const name = `${prefix}${field.name}`;
6992
+ const text = typeof field.default === "string" || typeof field.default === "number" ? String(field.default) : "";
6993
+ if (field.required === true && text !== "") hits.push({ name, text });
6994
+ visit(field.children, `${name}.`);
6995
+ }
6996
+ };
6997
+ visit(root?.input, "");
6998
+ return hits;
6999
+ }
6978
7000
  function isNumericText(text) {
6979
7001
  return /^\s*[+-]?(\d+\.?\d*|\.\d+)([eE][+-]?\d+)?\s*$/.test(text);
6980
7002
  }
@@ -8195,4 +8217,4 @@ export {
8195
8217
  checkToolOutputSchema,
8196
8218
  checkAgentArgPlaceholders
8197
8219
  };
8198
- //# sourceMappingURL=chunk-JSEVKRVJ.js.map
8220
+ //# sourceMappingURL=chunk-T4LJ5UR2.js.map