@xano/sdk 1.0.18 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (236) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +5 -2
  3. package/dist/.build-fingerprint +1 -0
  4. package/dist/{agent-file-refresh-SGM3523M.js → agent-file-refresh-MOEDX5OL.js} +13 -12
  5. package/dist/{agent-skill-command-PZXX7LJD.js → agent-skill-command-A4QEVNTP.js} +49 -52
  6. package/dist/ai-models-command-SN2UKVC5.js +270 -0
  7. package/dist/{answer-shape-ZRQS7ZC4.js → answer-shape-BCGPH73R.js} +5 -5
  8. package/dist/{backend-dir-AZIVCH6Y.js → backend-dir-66VVLCUF.js} +16 -15
  9. package/dist/{backend-slot-7BATLL3X.js → backend-slot-WSWAHL2W.js} +3 -3
  10. package/dist/bin.js +53 -52
  11. package/dist/{branch-SJKKUCMZ.js → branch-6DBHVVUT.js} +11 -11
  12. package/dist/{branch-commands-JE5RDJPH.js → branch-commands-KUEGS6XL.js} +29 -29
  13. package/dist/bundle.js +3 -3
  14. package/dist/{chunk-77QKU5H6.js → chunk-2SWJ3267.js} +40 -22
  15. package/dist/{chunk-DCD3KJ4B.js → chunk-2VHEZDZZ.js} +35 -35
  16. package/dist/{chunk-HFH72FBC.js → chunk-34OZQNKR.js} +4 -4
  17. package/dist/chunk-37BT62SX.js +17 -0
  18. package/dist/{chunk-CF26RMO5.js → chunk-3H765RXT.js} +7 -7
  19. package/dist/{chunk-2IC3K22K.js → chunk-3HK7VELD.js} +2 -2
  20. package/dist/{chunk-XBCTTJSQ.js → chunk-3OR2RCXJ.js} +118 -94
  21. package/dist/{chunk-ZYZ7GRX3.js → chunk-4DVP42ZC.js} +2 -2
  22. package/dist/{chunk-NJCHWEPU.js → chunk-4GI22VPJ.js} +6 -6
  23. package/dist/{chunk-UIHLO3HJ.js → chunk-4PHCBKJI.js} +7 -7
  24. package/dist/{chunk-ROWYW3JF.js → chunk-4QRDNBPY.js} +2 -2
  25. package/dist/{chunk-SINL5WMI.js → chunk-4Y3SWNPE.js} +2 -2
  26. package/dist/{chunk-6SEPZQYB.js → chunk-4ZV4MDKP.js} +2 -2
  27. package/dist/{chunk-LLJL44WF.js → chunk-52VELHIH.js} +3 -3
  28. package/dist/{chunk-IFHFJR5O.js → chunk-5ABAIJVV.js} +6 -6
  29. package/dist/{chunk-MCISY4QC.js → chunk-5BLBX2Q5.js} +13 -10
  30. package/dist/chunk-5KSVMHFS.js +81 -0
  31. package/dist/{chunk-MOVRSULZ.js → chunk-5Z4WQQHC.js} +2 -2
  32. package/dist/{chunk-ZHFSIQ6E.js → chunk-6534P3VH.js} +25 -2
  33. package/dist/{chunk-Q6AKSLD2.js → chunk-6L32HAIP.js} +2 -2
  34. package/dist/chunk-6SXKKDGF.js +9 -0
  35. package/dist/{chunk-OTQF4B37.js → chunk-6TAYTKFM.js} +4 -4
  36. package/dist/{chunk-7UQZ7C4W.js → chunk-745NOWB7.js} +6 -6
  37. package/dist/{chunk-XAE4NIZ2.js → chunk-7J7YRAZB.js} +4 -4
  38. package/dist/{chunk-E34VGSCI.js → chunk-7LLVSTXY.js} +9 -1
  39. package/dist/{chunk-OJFBI5C6.js → chunk-7Z43XRBL.js} +14 -14
  40. package/dist/{chunk-BWD5H7AW.js → chunk-AD7YILOU.js} +10 -10
  41. package/dist/{chunk-AICWDCLJ.js → chunk-BBFHZMQA.js} +2 -2
  42. package/dist/{chunk-CRCYD6AK.js → chunk-BFM2P47R.js} +6 -6
  43. package/dist/{chunk-BQMX7PYG.js → chunk-C6ERQFEB.js} +4 -4
  44. package/dist/{chunk-54CJ74BH.js → chunk-C7KO5KKB.js} +4 -4
  45. package/dist/chunk-CBACTYIC.js +278 -0
  46. package/dist/{chunk-V2MIBJZU.js → chunk-CGLYG2VF.js} +2 -2
  47. package/dist/{chunk-Z73I7Q2H.js → chunk-CJ5WRCVE.js} +80 -2
  48. package/dist/{chunk-JTUMJXFN.js → chunk-CJIXD67B.js} +6 -6
  49. package/dist/{chunk-S4ZWOBRO.js → chunk-CP7OSHLK.js} +8 -8
  50. package/dist/{chunk-E3OLY3J4.js → chunk-CPR2F3WN.js} +9 -9
  51. package/dist/{chunk-WGKKDGSA.js → chunk-DAXFWXSV.js} +8 -8
  52. package/dist/{chunk-MSYMEP7Y.js → chunk-DJ7JH4UE.js} +7 -7
  53. package/dist/{chunk-XDGLYIB2.js → chunk-DORGB2Y2.js} +2 -2
  54. package/dist/{chunk-NEPSEJRV.js → chunk-E7YXNU57.js} +7 -7
  55. package/dist/{chunk-GA6HTO3O.js → chunk-EBSJUSID.js} +2 -2
  56. package/dist/{chunk-UBM7L5KL.js → chunk-EJXJE2H3.js} +49 -49
  57. package/dist/{chunk-O2BLNQEC.js → chunk-EME5G4YP.js} +2 -2
  58. package/dist/{chunk-RVWWNNZQ.js → chunk-EOWNLLLV.js} +4 -4
  59. package/dist/{chunk-QIT2GGNB.js → chunk-EPD5J3WA.js} +2 -2
  60. package/dist/{chunk-7B2KH733.js → chunk-EQ2KB5YF.js} +4 -13
  61. package/dist/{chunk-GT7PZCTK.js → chunk-FVBJKM6N.js} +3 -3
  62. package/dist/{chunk-F3IA3YWI.js → chunk-FVZ5C3PF.js} +22 -2
  63. package/dist/{chunk-LMCZQLM4.js → chunk-G3ZUGFIS.js} +9 -9
  64. package/dist/{chunk-RKTVXFBV.js → chunk-GUHJV7C5.js} +31 -3
  65. package/dist/{chunk-VVZFTYQ3.js → chunk-HGUQIBYY.js} +8 -8
  66. package/dist/{chunk-FCAKYFC6.js → chunk-HUXMRYUX.js} +3 -3
  67. package/dist/{chunk-G2XSDIYS.js → chunk-I52AKG2O.js} +4 -4
  68. package/dist/{chunk-VCFRALU7.js → chunk-I5YD7QPI.js} +28 -11
  69. package/dist/{chunk-YYBBJPCL.js → chunk-IUBGFCJJ.js} +14 -18
  70. package/dist/{chunk-UH5VQGNR.js → chunk-JXX2QXPP.js} +2 -2
  71. package/dist/{chunk-2DUYJR5N.js → chunk-KHX6VQ4M.js} +2 -2
  72. package/dist/{chunk-7SDCWYAQ.js → chunk-KMXXOJL2.js} +21 -19
  73. package/dist/{chunk-IFNSUPQL.js → chunk-KNLPGIRY.js} +8 -8
  74. package/dist/{chunk-ID7MIDLG.js → chunk-LLG33KGY.js} +26 -26
  75. package/dist/{chunk-WGGATSIP.js → chunk-LMX4VE4H.js} +2 -2
  76. package/dist/{chunk-DXUICABI.js → chunk-LZDH5COS.js} +21 -2
  77. package/dist/{chunk-E5M5P23K.js → chunk-M5GXZEX7.js} +21 -215
  78. package/dist/{chunk-OO2JDYQH.js → chunk-MAAQ4ZSN.js} +73 -73
  79. package/dist/{chunk-Q4LJCCH5.js → chunk-MGC5S6OE.js} +75 -9
  80. package/dist/{chunk-5Y5HWQ2P.js → chunk-MKRREVNB.js} +4 -4
  81. package/dist/{chunk-H4CS4WPM.js → chunk-OAWBNCME.js} +24 -24
  82. package/dist/{chunk-64UVVLDT.js → chunk-OG6WYZNA.js} +7 -7
  83. package/dist/{chunk-AJBOGO5U.js → chunk-OQMXCNN7.js} +59 -31
  84. package/dist/{chunk-EPB6FAR5.js → chunk-OSMPI45P.js} +3 -3
  85. package/dist/{chunk-3X4B5GWY.js → chunk-P3WIMLG2.js} +3 -3
  86. package/dist/{chunk-GJZMKMWO.js → chunk-PC7XEO7F.js} +2 -2
  87. package/dist/{chunk-MF4W6FHU.js → chunk-Q4R2ABFL.js} +1 -1
  88. package/dist/{chunk-SJW6R6P4.js → chunk-QBSSSKIC.js} +3 -3
  89. package/dist/{chunk-NH5Z2NOD.js → chunk-QZ2PC6B7.js} +3 -3
  90. package/dist/{chunk-LCOCRJ4K.js → chunk-RQGSZ7AR.js} +16 -2
  91. package/dist/{chunk-ZNHO535R.js → chunk-RSWPVU6X.js} +8 -8
  92. package/dist/chunk-RVBDZMCC.js +264 -0
  93. package/dist/{chunk-WLZSKD7E.js → chunk-SQVETROU.js} +3 -3
  94. package/dist/{chunk-HERXDPZS.js → chunk-SWQA6SZI.js} +113 -94
  95. package/dist/{chunk-EXY42CTV.js → chunk-T6GI2AFJ.js} +16 -16
  96. package/dist/{chunk-FRJB3NTE.js → chunk-T6KQYCAU.js} +3 -3
  97. package/dist/{chunk-YYDM4DNP.js → chunk-TDSRZDQP.js} +2 -2
  98. package/dist/{chunk-YQQSFS7S.js → chunk-TEZKQQDT.js} +46 -44
  99. package/dist/{chunk-X2IQOLQD.js → chunk-TN7ZBZRW.js} +3 -3
  100. package/dist/{chunk-X4G7FGHS.js → chunk-UN73LNM5.js} +4 -4
  101. package/dist/{chunk-RKNCISPM.js → chunk-VEA6EXJL.js} +3 -3
  102. package/dist/{chunk-6FCAFWD5.js → chunk-VO62TKK5.js} +3 -77
  103. package/dist/{chunk-HM5X73PY.js → chunk-WK5QDV25.js} +2 -2
  104. package/dist/{chunk-Q2KVGISJ.js → chunk-X3LYWTZ5.js} +3 -3
  105. package/dist/{chunk-CO7US54H.js → chunk-X7IBJLAD.js} +2 -2
  106. package/dist/{chunk-PKBC7G5H.js → chunk-XDIPEWLU.js} +25 -1
  107. package/dist/{chunk-OJ6YGRPV.js → chunk-YAZEB255.js} +3 -3
  108. package/dist/{chunk-RGPHFHJU.js → chunk-YFVD3LNL.js} +2 -2
  109. package/dist/{chunk-NAXUCAOK.js → chunk-YRLSJBSY.js} +71 -49
  110. package/dist/{chunk-35SI4GBM.js → chunk-YSSAJQH4.js} +3 -3
  111. package/dist/{chunk-UQNDODRU.js → chunk-Z7IINILG.js} +5 -5
  112. package/dist/{chunk-PRSNMSVG.js → chunk-ZCXWOGFL.js} +3 -3
  113. package/dist/cli.d.ts +10 -1
  114. package/dist/cli.js +48 -47
  115. package/dist/{codegen-command-YGGEC2DV.js → codegen-command-GGGU6YAP.js} +68 -67
  116. package/dist/{commands-Z2QZOORB.js → commands-EN4RLPOP.js} +2 -2
  117. package/dist/{completion-LFXXNQGR.js → completion-KH45QD3E.js} +2 -2
  118. package/dist/{config-7GGINOFY.js → config-AKHBFTKA.js} +8 -8
  119. package/dist/{deploy-command-SX4DWRVS.js → deploy-command-WOHYD22D.js} +55 -54
  120. package/dist/{deploy-source-T6BR3APS.js → deploy-source-QK7Y4Y3V.js} +34 -34
  121. package/dist/{dev-env-sync-4XFB63CM.js → dev-env-sync-AMFPULCP.js} +51 -50
  122. package/dist/{display-name-hint-5GLJGPQ6.js → display-name-hint-QMT562BI.js} +13 -13
  123. package/dist/{emit-DlOKIJER.d.ts → emit-BfHifhJy.d.ts} +120 -7
  124. package/dist/{env-example-refresh-N3JPECAZ.js → env-example-refresh-F5RTDVJ5.js} +69 -68
  125. package/dist/{env-pull-command-EAWIS3IW.js → env-pull-command-J2ARE33T.js} +52 -51
  126. package/dist/{env-target-RZBM6SOB.js → env-target-WA4BR6GW.js} +13 -13
  127. package/dist/{env-var-command-K2OASTSZ.js → env-var-command-WEC22FI5.js} +55 -55
  128. package/dist/{ephemeral-2DXWP3VK.js → ephemeral-MNHEWSZ6.js} +11 -11
  129. package/dist/{ephemeral-command-FZLJJICY.js → ephemeral-command-EJLS42VJ.js} +64 -63
  130. package/dist/{ephemeral-state-56XEDUJW.js → ephemeral-state-QTT5JHD5.js} +11 -11
  131. package/dist/{generate-command-IQVETHTK.js → generate-command-2WHFL4CB.js} +77 -76
  132. package/dist/{gitignore-3REKZPQI.js → gitignore-OKB3X335.js} +19 -18
  133. package/dist/{guards-LQ7PSXOL.js → guards-N4PUFKN5.js} +3 -2
  134. package/dist/{impersonate-command-K4775AUM.js → impersonate-command-EIWI3FBD.js} +44 -43
  135. package/dist/{import-VJQGIS33.js → import-7HFTOT7M.js} +5 -5
  136. package/dist/index.d.ts +142 -7
  137. package/dist/index.js +7 -6
  138. package/dist/{init-command-SODVHEI6.js → init-command-POIWZKZ4.js} +52 -51
  139. package/dist/{init-modules-WJOEK2YW.js → init-modules-S7BR4NIJ.js} +11 -9
  140. package/dist/{init-web-25QJ4JWB.js → init-web-YCPD6BYN.js} +2 -2
  141. package/dist/internal.d.ts +4 -4
  142. package/dist/internal.js +169 -30
  143. package/dist/{keep-data-merge-CHOKIJS5.js → keep-data-merge-NXP77QML.js} +32 -31
  144. package/dist/{landing-record-KJTRWFK6.js → landing-record-MK44WCRY.js} +23 -22
  145. package/dist/{live-diff-YOFOJCFX.js → live-diff-GZ6JUNP6.js} +5 -4
  146. package/dist/local-engine-ai-3XLJLOBP.js +47 -0
  147. package/dist/{local-engine-choice-4K5FTSHE.js → local-engine-choice-7QBML5XF.js} +43 -37
  148. package/dist/local-engine-command-N7VDPABW.js +93 -0
  149. package/dist/{local-engine-config-6CB6FOEJ.js → local-engine-config-MVNWKHZ4.js} +15 -3
  150. package/dist/{local-engine-deploy-XAEDT55W.js → local-engine-deploy-RYZZYEDQ.js} +21 -18
  151. package/dist/{local-engine-lookup-WBYTY2JE.js → local-engine-lookup-2VSUWEQY.js} +6 -6
  152. package/dist/{local-engine-mcp-bridge-3H5OXBWQ.js → local-engine-mcp-bridge-ECGTK7LF.js} +6 -6
  153. package/dist/{local-engine-mcp-command-FM4FOZ42.js → local-engine-mcp-command-A257D3WK.js} +52 -45
  154. package/dist/{local-engine-process-35B2KQED.js → local-engine-process-P5T2766M.js} +19 -11
  155. package/dist/local-engine-release-OK6GKULS.js +40 -0
  156. package/dist/{local-engine-state-JZHTKHDG.js → local-engine-state-BOKHLNRQ.js} +4 -4
  157. package/dist/{local-engine-update-check-VXJZSIJU.js → local-engine-update-check-C72LSVUQ.js} +7 -7
  158. package/dist/{lock-commands-BLCJIVCC.js → lock-commands-KMWLIGT2.js} +55 -54
  159. package/dist/{login-command-PTYSRF45.js → login-command-E2KMN6DV.js} +39 -33
  160. package/dist/{logout-command-BIO63CXY.js → logout-command-AIB446AQ.js} +16 -17
  161. package/dist/{loop-CLLBQSJF.js → loop-EMTBWN4X.js} +5 -4
  162. package/dist/{marketplace-command-TEUCQBL5.js → marketplace-command-YLBFUBHL.js} +42 -41
  163. package/dist/{marketplace-resolve-63QWMQZU.js → marketplace-resolve-LT76KHJD.js} +9 -7
  164. package/dist/{meta-client-JY7JXDU2.js → meta-client-AOPF5IQN.js} +15 -15
  165. package/dist/{module-manifest-NWJWAQLQ.js → module-manifest-B432UFBK.js} +3 -3
  166. package/dist/node.d.ts +5 -5
  167. package/dist/node.js +61 -60
  168. package/dist/{operation-outcome-ATGF6RR4.js → operation-outcome-GBSISFAP.js} +26 -26
  169. package/dist/{output-target-ZCM4XYQA.js → output-target-NHJLT4YI.js} +20 -19
  170. package/dist/{plan-disclosure-XTAEE4BE.js → plan-disclosure-5HM7CMRW.js} +19 -18
  171. package/dist/{plugin-contributions-DD6R6RL6.js → plugin-contributions-MEXUR7TY.js} +4 -4
  172. package/dist/{plugin-prompt-UX2TT5NS.js → plugin-prompt-XM4ATAWA.js} +4 -4
  173. package/dist/{plugin-questions-WE2F4ZC4.js → plugin-questions-VGU3B4LE.js} +3 -3
  174. package/dist/{preflight-command-AXBQADFL.js → preflight-command-O52GLYGA.js} +60 -59
  175. package/dist/{profile-command-JZ5PLHJH.js → profile-command-NOKUVV3M.js} +38 -37
  176. package/dist/{profile-pointer-RCPHVTJV.js → profile-pointer-DHOU26Q2.js} +5 -5
  177. package/dist/{profile-select-45G5VPJK.js → profile-select-ZANK43KE.js} +2 -2
  178. package/dist/project-config-SGRYMHBT.js +37 -0
  179. package/dist/{project-dependency-TPVV3YIX.js → project-dependency-WTH776QE.js} +10 -8
  180. package/dist/{project-sdk-DKZBK5H5.js → project-sdk-FYNY7RTO.js} +3 -3
  181. package/dist/promote-command-2NMTINVS.js +150 -0
  182. package/dist/{prompt-OYQHQWKI.js → prompt-JVYQH4OR.js} +3 -3
  183. package/dist/{publish-command-VBFNWVEF.js → publish-command-LB2XULJA.js} +65 -64
  184. package/dist/{pull-command-4YGZSRGU.js → pull-command-UVNPFY2E.js} +71 -70
  185. package/dist/{pull-superseded-3SSM3JFT.js → pull-superseded-7EZ7M54I.js} +3 -3
  186. package/dist/{release-command-SSRQMIT2.js → release-command-BGSDY3BE.js} +66 -65
  187. package/dist/{release-ns-command-ISFM36YJ.js → release-ns-command-IVXK7HEG.js} +93 -92
  188. package/dist/{retry-command-WP4ZI6CJ.js → retry-command-HG4IFE65.js} +10 -10
  189. package/dist/{routes-manifest-file-ZZS5TNGT.js → routes-manifest-file-3MDX3JB3.js} +4 -4
  190. package/dist/{secrets-file-JFCORQT7.js → secrets-file-NFNUKRGZ.js} +19 -18
  191. package/dist/{secrets-fill-command-5RJ2HSI5.js → secrets-fill-command-U5L7IKUO.js} +52 -51
  192. package/dist/{seed-W5FNE6IB.js → seed-M33F4OJW.js} +3 -3
  193. package/dist/{source-resolve-LP6MCOQX.js → source-resolve-MAMVIHDF.js} +24 -24
  194. package/dist/{static-host-3HPZKVKK.js → static-host-HCKD26Q3.js} +5 -5
  195. package/dist/{status-command-GXX4MZBC.js → status-command-VXIN37ET.js} +53 -78
  196. package/dist/{store-Dg9FLJkx.d.ts → store-Dt-5vOSe.d.ts} +149 -1
  197. package/dist/{store-B63BQV6R.js → store-ZWQFSXH5.js} +8 -8
  198. package/dist/{sync-baseline-LSGKNCKM.js → sync-baseline-XLRJQZCS.js} +7 -6
  199. package/dist/{sync-contributions-PQTTCY2O.js → sync-contributions-PGMYJKLG.js} +17 -13
  200. package/dist/{sync-record-AWFCSS4D.js → sync-record-UFEJDNLR.js} +13 -13
  201. package/dist/{table-WJ7YDJ6Q.js → table-JHPGUJ2Z.js} +6 -6
  202. package/dist/{tables-command-5MLGODGI.js → tables-command-FNBHVJG3.js} +41 -41
  203. package/dist/{tenant-IXIW3FOI.js → tenant-SSWC7B3V.js} +12 -12
  204. package/dist/{tenant-command-UDZUIOTO.js → tenant-command-PHNX3PXS.js} +96 -95
  205. package/dist/{test-command-7CUROW3U.js → test-command-DMMF3RMK.js} +44 -44
  206. package/dist/{tests-N4MMBABH.js → tests-ZFQWDWS2.js} +6 -6
  207. package/dist/{token-DTFJJYQH.js → token-IHOPB74T.js} +14 -13
  208. package/dist/{toolchain-hooks-IJWV3ZQS.js → toolchain-hooks-IRPM6LYL.js} +3 -3
  209. package/dist/{toolchain-modules-GQIMMMZL.js → toolchain-modules-V56JXU2E.js} +9 -5
  210. package/dist/{toolchain-peers-EMOYN4U7.js → toolchain-peers-NOIM44ED.js} +11 -9
  211. package/dist/{tracked-backend-2MG4D4ZJ.js → tracked-backend-VKWZKKBG.js} +39 -37
  212. package/dist/{update-check-H774KJVG.js → update-check-DZ4YVDNS.js} +51 -50
  213. package/dist/{upgrade-command-MLBXEIKR.js → upgrade-command-EP5WQWFA.js} +55 -54
  214. package/dist/{whoami-command-SYRDCTDK.js → whoami-command-UV6EEDBY.js} +15 -16
  215. package/dist/{workspace-RMSSZKNV.js → workspace-6LVJ3LZE.js} +5 -5
  216. package/dist/{workspace-binding-ZQSANRJF.js → workspace-binding-AUZIERMF.js} +14 -15
  217. package/dist/{workspace-command-X3ACS6X4.js → workspace-command-VXOY6KPE.js} +96 -95
  218. package/dist/{workspace-env-XA57JKVH.js → workspace-env-ZNGE3DFN.js} +17 -16
  219. package/dist/{workspace-export-3KMWNZDD.js → workspace-export-A4L6272C.js} +5 -5
  220. package/dist/{writable-X7BCN7XE.js → writable-762DMPHW.js} +3 -3
  221. package/dist/{xano-RLSNDM7O.js → xano-XZN5SRDH.js} +4 -3
  222. package/dist/{xanosdk-import-562F4G3K.js → xanosdk-import-FENZ7XMW.js} +6 -6
  223. package/dist/{xanosdk-project-J2JVTSVJ.js → xanosdk-project-K4RKLLNO.js} +16 -15
  224. package/guides/cli.md +3 -0
  225. package/guides/coverage.md +4 -4
  226. package/llms/kinds-agent-mcp.md +3 -1
  227. package/llms/statements-ai.md +21 -0
  228. package/llms/statements-catalog.md +1 -8
  229. package/llms-full.txt +33 -18
  230. package/llms.txt +7 -9
  231. package/manifest.json +651 -3
  232. package/package.json +2 -1
  233. package/skills/xano-backend/SKILL.md +2 -4
  234. package/dist/chunk-VYJYDMY6.js +0 -9
  235. package/dist/local-engine-command-CUBWYENJ.js +0 -86
  236. package/dist/promote-command-25OWDQVE.js +0 -149
@@ -1,14 +1,14 @@
1
+ import {
2
+ exportWorkspaceBundle
3
+ } from "./chunk-KHX6VQ4M.js";
1
4
  import {
2
5
  confirm
3
- } from "./chunk-AICWDCLJ.js";
6
+ } from "./chunk-BBFHZMQA.js";
4
7
  import {
5
8
  discloseCanonicalMoves,
6
9
  movesClause,
7
10
  releaseCanonicalMoves
8
- } from "./chunk-UQNDODRU.js";
9
- import {
10
- exportWorkspaceBundle
11
- } from "./chunk-2DUYJR5N.js";
11
+ } from "./chunk-Z7IINILG.js";
12
12
  import {
13
13
  DEFAULT_BRANCH_LABEL,
14
14
  deleteBranch,
@@ -17,22 +17,22 @@ import {
17
17
  liveBranchLabel,
18
18
  requireBranch,
19
19
  setLiveBranch
20
- } from "./chunk-54CJ74BH.js";
20
+ } from "./chunk-C7KO5KKB.js";
21
21
  import {
22
22
  sectionKind
23
- } from "./chunk-3X4B5GWY.js";
23
+ } from "./chunk-P3WIMLG2.js";
24
24
  import {
25
25
  assertOneName
26
- } from "./chunk-PRSNMSVG.js";
26
+ } from "./chunk-ZCXWOGFL.js";
27
27
  import {
28
28
  getAccessToken
29
- } from "./chunk-YQQSFS7S.js";
29
+ } from "./chunk-TEZKQQDT.js";
30
30
  import {
31
31
  pipedYes
32
- } from "./chunk-GJZMKMWO.js";
32
+ } from "./chunk-PC7XEO7F.js";
33
33
  import {
34
34
  contextFlags
35
- } from "./chunk-ZYZ7GRX3.js";
35
+ } from "./chunk-4DVP42ZC.js";
36
36
  import {
37
37
  shellWord
38
38
  } from "./chunk-FWD7AL6N.js";
@@ -56,7 +56,7 @@ import {
56
56
  warn,
57
57
  writeJson,
58
58
  writeTargetPayload
59
- } from "./chunk-ZHFSIQ6E.js";
59
+ } from "./chunk-6534P3VH.js";
60
60
  import {
61
61
  suggestAll
62
62
  } from "./chunk-UTI5G6OJ.js";
@@ -139,7 +139,7 @@ async function runBranchCommand(args) {
139
139
  const workspaceId = auth.workspaceId;
140
140
  const target = { baseUrl: auth.instance, workspaceId };
141
141
  const { branches, unaddressable } = await listBranchListing(auth, target).catch(async (err) => {
142
- const { unansweredRead } = await import("./source-resolve-LP6MCOQX.js");
142
+ const { unansweredRead } = await import("./source-resolve-MAMVIHDF.js");
143
143
  throw unansweredRead(err, `list the branches of workspace ${workspaceId}`, "workspace");
144
144
  });
145
145
  if (verb === "list") {
@@ -161,7 +161,7 @@ async function runBranchCommand(args) {
161
161
  const meant = near.map((n) => `Did you mean "${safeText(n)}"? \`xanosdk workspace branch delete ${shellWord(n)}${again}\` deletes it, after asking to confirm.`);
162
162
  const branchesLine = known !== "" ? [`Its branches: ${known}.`] : [];
163
163
  if (near.length > 0) {
164
- const { SourceError } = await import("./source-resolve-LP6MCOQX.js");
164
+ const { SourceError } = await import("./source-resolve-MAMVIHDF.js");
165
165
  throw new SourceError([missed, ...meant, ...branchesLine].join("\n"), "gone", "workspace", near[0], near.length > 1 ? near : void 0);
166
166
  }
167
167
  warn(missed, "branch.not-found", branchesLine);
@@ -280,7 +280,7 @@ Check what is serving with \`xanosdk workspace branch list${contextFlags()}\`, t
280
280
  }
281
281
  if (args.expectLive !== void 0) {
282
282
  const now = await listBranchListing(auth, target).catch(async (err) => {
283
- const { unansweredRead } = await import("./source-resolve-LP6MCOQX.js");
283
+ const { unansweredRead } = await import("./source-resolve-MAMVIHDF.js");
284
284
  throw unansweredRead(err, `list the branches of workspace ${workspaceId}`, "workspace");
285
285
  });
286
286
  const drift = liveMismatch(now, args.expectLive);
@@ -424,4 +424,4 @@ export {
424
424
  liveBranchMismatch,
425
425
  staleSchemaRefs
426
426
  };
427
- //# sourceMappingURL=chunk-EXY42CTV.js.map
427
+ //# sourceMappingURL=chunk-T6GI2AFJ.js.map
@@ -4,7 +4,7 @@ import {
4
4
  listAnswer,
5
5
  recordAnswer,
6
6
  writeTransportFailure
7
- } from "./chunk-SINL5WMI.js";
7
+ } from "./chunk-4Y3SWNPE.js";
8
8
  import {
9
9
  appendSentence,
10
10
  fetchOrExplain,
@@ -12,7 +12,7 @@ import {
12
12
  serverMessage,
13
13
  statusLabel,
14
14
  transportTarget
15
- } from "./chunk-NH5Z2NOD.js";
15
+ } from "./chunk-QZ2PC6B7.js";
16
16
 
17
17
  // src/deploy/tests.ts
18
18
  function labelledMessage(text) {
@@ -252,4 +252,4 @@ export {
252
252
  TestRunUnansweredError,
253
253
  runTest
254
254
  };
255
- //# sourceMappingURL=chunk-FRJB3NTE.js.map
255
+ //# sourceMappingURL=chunk-T6KQYCAU.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  UsageError,
6
6
  displayPath
7
- } from "./chunk-ZHFSIQ6E.js";
7
+ } from "./chunk-6534P3VH.js";
8
8
 
9
9
  // src/emit/writable.ts
10
10
  import { accessSync, constants, existsSync, statSync } from "fs";
@@ -63,4 +63,4 @@ export {
63
63
  unreadableError,
64
64
  assertReadWritable
65
65
  };
66
- //# sourceMappingURL=chunk-YYDM4DNP.js.map
66
+ //# sourceMappingURL=chunk-TDSRZDQP.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readEphemeralState
3
- } from "./chunk-WGKKDGSA.js";
3
+ } from "./chunk-DAXFWXSV.js";
4
4
  import {
5
5
  OpenIdProvider,
6
6
  addProfileHint,
@@ -30,21 +30,25 @@ import {
30
30
  withCredentialLock,
31
31
  writeCredentialFile,
32
32
  writeOrRemoveCredentialFile
33
- } from "./chunk-AJBOGO5U.js";
33
+ } from "./chunk-OQMXCNN7.js";
34
34
  import {
35
35
  expandHome,
36
36
  readPathEnvVar
37
37
  } from "./chunk-EUUUMY7J.js";
38
+ import {
39
+ POINTER_FILE,
40
+ findProjectPointer
41
+ } from "./chunk-5ABAIJVV.js";
42
+ import {
43
+ registerSecret,
44
+ tokenTextProblem
45
+ } from "./chunk-4GPIOIAC.js";
38
46
  import {
39
47
  RATE_LIMIT_MAX_WAIT_S,
40
48
  noteResolvedAuth,
41
49
  retryAfterSeconds,
42
50
  serverMessage
43
- } from "./chunk-NH5Z2NOD.js";
44
- import {
45
- POINTER_FILE,
46
- findProjectPointer
47
- } from "./chunk-IFHFJR5O.js";
51
+ } from "./chunk-QZ2PC6B7.js";
48
52
  import {
49
53
  DEFAULT_PROFILE,
50
54
  ENV_PROFILE,
@@ -52,17 +56,10 @@ import {
52
56
  describeProfileSelection,
53
57
  profileSourceLabel,
54
58
  resolveActiveProfile
55
- } from "./chunk-MF4W6FHU.js";
59
+ } from "./chunk-Q4R2ABFL.js";
56
60
  import {
57
61
  readEnvVar
58
62
  } from "./chunk-X2NL4KUO.js";
59
- import {
60
- registerSecret,
61
- tokenTextProblem
62
- } from "./chunk-4GPIOIAC.js";
63
- import {
64
- AGENT_SIGNUP_URL
65
- } from "./chunk-VYJYDMY6.js";
66
63
  import {
67
64
  EXIT_SOURCE_UNRESOLVABLE,
68
65
  UsageError,
@@ -73,7 +70,7 @@ import {
73
70
  quotedNames,
74
71
  safeText,
75
72
  warn
76
- } from "./chunk-ZHFSIQ6E.js";
73
+ } from "./chunk-6534P3VH.js";
77
74
  import {
78
75
  suggest
79
76
  } from "./chunk-UTI5G6OJ.js";
@@ -384,7 +381,7 @@ The refresh token may be expired or already spent \u2014 refresh tokens rotate o
384
381
  );
385
382
  }
386
383
  assertHttpsOrigin(instance, "instance");
387
- const { resolveScopedWorkspaceId } = await import("./workspace-RMSSZKNV.js");
384
+ const { resolveScopedWorkspaceId } = await import("./workspace-6LVJ3LZE.js");
388
385
  const workspaceId = await resolveScopedWorkspaceId({ access_token: set.access_token, instance });
389
386
  return { access_token: set.access_token, instance, workspaceId, credentialType: "oauth-refresh" };
390
387
  }
@@ -421,6 +418,33 @@ async function resolveNamedProfile(name, args, flag = "--to-profile") {
421
418
  warnIfLocalShadowsGlobal(args, authFilePath, saved, selection);
422
419
  return fromStoredProfile(authFilePath, selection, saved);
423
420
  }
421
+ function readStoredProfileQuietly(cwd = process.cwd()) {
422
+ try {
423
+ const path = resolveAuthFilePath({ authFile: void 0, local: false });
424
+ const file = readCredentialFile(path);
425
+ const selection = resolveActiveProfile({
426
+ fileDefault: file?.default,
427
+ defaultIn: path === globalAuthFilePath() ? void 0 : path,
428
+ readPointer: () => findProjectPointer(cwd)?.profile
429
+ });
430
+ const saved = file === null ? null : readProfile(file, selection.name, path);
431
+ if (saved === null) return { kind: "none", profile: selection.name, path };
432
+ if (saved.type === "token") return { kind: "token", profile: selection.name, path };
433
+ return {
434
+ kind: "oauth",
435
+ profile: selection.name,
436
+ path,
437
+ record: saved,
438
+ bearer: async () => {
439
+ const auth = await fromStoredProfile(path, selection, saved);
440
+ registerSecret(auth.access_token);
441
+ return auth.access_token;
442
+ }
443
+ };
444
+ } catch (err) {
445
+ return { kind: "unreadable", message: err instanceof Error ? err.message : String(err) };
446
+ }
447
+ }
424
448
  async function fromStoredProfile(authFilePath, selection, saved) {
425
449
  if (saved.type === "token") {
426
450
  assertHttpsOrigin(saved.instance_base_url, "instance_base_url");
@@ -502,7 +526,7 @@ async function warnIfUnpinnedMachineDefault(file, selection, pin, saved, path) {
502
526
  if (selection.source !== "file-default" && selection.source !== "implicit") return;
503
527
  const stored = file === null ? [] : profileNames(file);
504
528
  if (stored.length < 2) return;
505
- const { projectDirFrom } = await import("./xanosdk-project-J2JVTSVJ.js");
529
+ const { projectDirFrom } = await import("./xanosdk-project-K4RKLLNO.js");
506
530
  if (projectDirFrom(process.cwd()) === void 0) return;
507
531
  const target = targetOf(saved);
508
532
  credentialWarning(
@@ -590,17 +614,10 @@ var NotSignedInError = class extends Error {
590
614
  * only the default is missing.
591
615
  */
592
616
  storedProfiles;
593
- /**
594
- * No credential file and no credential variable: nothing has ever signed in
595
- * on this machine, so the human is likely new to Xano and agentic signup
596
- * leads the remedy. `status` reports it as `suggest: "signup"`.
597
- */
598
- firstRun;
599
- constructor(message, missingProfile, storedProfiles = [], firstRun = false) {
617
+ constructor(message, missingProfile, storedProfiles = []) {
600
618
  super(message);
601
619
  if (missingProfile !== void 0) this.missingProfile = missingProfile;
602
620
  this.storedProfiles = storedProfiles;
603
- this.firstRun = firstRun;
604
621
  }
605
622
  };
606
623
  var ProfileNotFoundError = class extends NotSignedInError {
@@ -653,19 +670,8 @@ Run ${addProfileHint(selection.name, target)} to add it.`,
653
670
  );
654
671
  }
655
672
  if (available.length === 0) {
656
- const firstRun = !existsSync(path) && !hasCredentialEnv();
657
- const login = `\`${loginCommand(DEFAULT_PROFILE, target)}\``;
658
- const signup = `ask for their email and get them a free account; they confirm from an emailed link: ${AGENT_SIGNUP_URL}`;
659
- const decision = firstRun ? `Nothing has signed in on this machine, so your human is likely new to Xano. Offer a free account: ask for their email and sign them up; they confirm from an emailed link: ${AGENT_SIGNUP_URL}
660
- If they say they already have a Xano account, they run ${login} instead.` : `Ask your human whether they already have a Xano account. Don't guess from context.
661
- - Yes: they run ${login}.
662
- - No: ${signup}`;
663
673
  return new NotSignedInError(
664
- `Not signed in (no credential at ${path}). ${decision}
665
- Other ways in: store a meta API token with \`xanosdk profile add <name>${credentialFileFlag(path)} --instance <url> --workspace-id <id>\`, or for CI set XANO_INSTANCE_URL, XANO_WORKSPACE_ID and XANO_META_TOKEN together.`,
666
- void 0,
667
- [],
668
- firstRun
674
+ `Not signed in (no credential at ${path}). Run \`${loginCommand(DEFAULT_PROFILE, target)}\` to sign in, or store a meta API token with \`xanosdk profile add <name>${credentialFileFlag(path)} --instance <url> --workspace-id <id>\`. For CI, set XANO_INSTANCE_URL, XANO_WORKSPACE_ID and XANO_META_TOKEN together.`
669
675
  );
670
676
  }
671
677
  const have = `Stored profiles: ${quotedNames(available)}.`;
@@ -708,11 +714,6 @@ Run ${addProfileHint(selection.name, target)} to sign in as it, or \`xanosdk pro
708
714
  if (near !== void 0) Object.defineProperty(err, "suggestion", { value: near, enumerable: true });
709
715
  return err;
710
716
  }
711
- function hasCredentialEnv() {
712
- return ["XANO_INSTANCE_URL", "XANO_WORKSPACE_ID", "XANO_META_TOKEN", "XANO_REFRESH_TOKEN", "XANO_CLIENT_ID"].some(
713
- (name) => readEnvVar(name) !== void 0
714
- );
715
- }
716
717
  function shadowedInShared(path, name) {
717
718
  if (resolvePath(path) !== localAuthFilePath()) return void 0;
718
719
  const shared = globalAuthFilePath();
@@ -879,6 +880,7 @@ export {
879
880
  environmentCredentialVars,
880
881
  getAccessToken,
881
882
  resolveNamedProfile,
883
+ readStoredProfileQuietly,
882
884
  warnIfReadableByOthers,
883
885
  credentialWarning,
884
886
  NotSignedInError,
@@ -888,4 +890,4 @@ export {
888
890
  notSignedIn,
889
891
  assertStoredAuthHost
890
892
  };
891
- //# sourceMappingURL=chunk-YQQSFS7S.js.map
893
+ //# sourceMappingURL=chunk-TEZKQQDT.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  classifyFailure
3
- } from "./chunk-BWD5H7AW.js";
3
+ } from "./chunk-AD7YILOU.js";
4
4
  import {
5
5
  describeWrite
6
6
  } from "./chunk-4KHEMC32.js";
@@ -14,7 +14,7 @@ import {
14
14
  warn,
15
15
  writeJson,
16
16
  writeTargetPayload
17
- } from "./chunk-ZHFSIQ6E.js";
17
+ } from "./chunk-6534P3VH.js";
18
18
 
19
19
  // src/emit/operation-result.ts
20
20
  var SERVER_PROCESSING_BOUND_MS = 6e5;
@@ -253,4 +253,4 @@ export {
253
253
  OperationError,
254
254
  runOperation
255
255
  };
256
- //# sourceMappingURL=chunk-X2IQOLQD.js.map
256
+ //# sourceMappingURL=chunk-TN7ZBZRW.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  backendDirFor,
3
3
  backendDirIn
4
- } from "./chunk-Q2KVGISJ.js";
4
+ } from "./chunk-X3LYWTZ5.js";
5
5
  import {
6
6
  XANO_DIR
7
- } from "./chunk-7B2KH733.js";
7
+ } from "./chunk-EQ2KB5YF.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-X4G7FGHS.js.map
261
+ //# sourceMappingURL=chunk-UN73LNM5.js.map
@@ -5,14 +5,14 @@ import {
5
5
  hostLabel,
6
6
  questionSets,
7
7
  resolvePluginAnswers
8
- } from "./chunk-ROWYW3JF.js";
8
+ } from "./chunk-4QRDNBPY.js";
9
9
  import {
10
10
  gitattributesSpec
11
11
  } from "./chunk-LJM5CIY4.js";
12
12
  import {
13
13
  UsageError,
14
14
  warn
15
- } from "./chunk-ZHFSIQ6E.js";
15
+ } from "./chunk-6534P3VH.js";
16
16
  import {
17
17
  withArticle
18
18
  } from "./chunk-36JUQZVQ.js";
@@ -221,4 +221,4 @@ export {
221
221
  contributionOutcomes,
222
222
  resolveContributions
223
223
  };
224
- //# sourceMappingURL=chunk-RKNCISPM.js.map
224
+ //# sourceMappingURL=chunk-VEA6EXJL.js.map
@@ -1,20 +1,10 @@
1
1
  import {
2
2
  sha256Hex
3
3
  } from "./chunk-64WWE3EF.js";
4
- import {
5
- normalizeEngineVersion
6
- } from "./chunk-GT7PZCTK.js";
7
4
  import {
8
5
  localEngineBinDir,
9
6
  localEngineHome
10
- } from "./chunk-F3IA3YWI.js";
11
- import {
12
- SDK_PACKAGE,
13
- composeToolchainConfig,
14
- readProjectManifest,
15
- readToolchainBlock,
16
- writeToolchainConfig
17
- } from "./chunk-DXUICABI.js";
7
+ } from "./chunk-FVZ5C3PF.js";
18
8
  import {
19
9
  atomicWrite
20
10
  } from "./chunk-LLNZGEFK.js";
@@ -288,67 +278,6 @@ function diskBytes(path) {
288
278
  return total;
289
279
  }
290
280
 
291
- // src/deploy/local-engine-pin.ts
292
- import { existsSync, writeFileSync as writeFileSync2 } from "fs";
293
- import { join as join2 } from "path";
294
- var PIN_FIELD = "engine";
295
- function isUnusablePin(pin) {
296
- return typeof pin === "object" && pin !== null;
297
- }
298
- function readPin(projectDir, opts = {}) {
299
- const path = join2(projectDir, "package.json");
300
- if (!existsSync(path)) return void 0;
301
- const manifest = readProjectManifest(projectDir);
302
- if (manifest === null) {
303
- opts.warn?.(
304
- `${path} could not be parsed as a JSON object, so its Xano Engine pin was not read.`
305
- );
306
- return { unusable: void 0 };
307
- }
308
- const own = readToolchainBlock(projectDir, manifest)[SDK_PACKAGE];
309
- if (typeof own !== "object" || own === null || Array.isArray(own)) return null;
310
- if (!(PIN_FIELD in own)) return null;
311
- const value = own[PIN_FIELD];
312
- if (typeof value === "string") {
313
- try {
314
- return normalizeEngineVersion(value);
315
- } catch {
316
- }
317
- }
318
- opts.warn?.(
319
- `the "${PIN_FIELD}" pin under "xanosdk"."${SDK_PACKAGE}" in ${path} is ${JSON.stringify(value)}, not a version like "v0.1.5", so it was ignored.`
320
- );
321
- return { unusable: value };
322
- }
323
- function writePin(projectDir, version) {
324
- if (!RELEASE_VERSION.test(version)) {
325
- throw new Error(
326
- `cannot pin Xano Engine version ${JSON.stringify(version)}: expected vMAJOR.MINOR.PATCH, like "v0.1.5".`
327
- );
328
- }
329
- const path = join2(projectDir, "package.json");
330
- if (!existsSync(path)) {
331
- const text = composeToolchainConfig("{}\n", { [SDK_PACKAGE]: { [PIN_FIELD]: version } });
332
- try {
333
- writeFileSync2(path, text, { flag: "wx" });
334
- return { created: true, changed: true, path };
335
- } catch (err) {
336
- if (err.code !== "EEXIST") throw err;
337
- }
338
- }
339
- const block = readToolchainBlock(projectDir);
340
- const own = block[SDK_PACKAGE];
341
- const next = {
342
- ...block,
343
- [SDK_PACKAGE]: {
344
- ...typeof own === "object" && own !== null && !Array.isArray(own) ? own : {},
345
- [PIN_FIELD]: version
346
- }
347
- };
348
- const changed = writeToolchainConfig(projectDir, next);
349
- return { created: false, changed, path };
350
- }
351
-
352
281
  export {
353
282
  RELEASE_VERSION,
354
283
  readEngineEntry,
@@ -357,9 +286,6 @@ export {
357
286
  listLegacyCacheDirs,
358
287
  verifiedEngineExecutable,
359
288
  stageEngine,
360
- diskBytes,
361
- isUnusablePin,
362
- readPin,
363
- writePin
289
+ diskBytes
364
290
  };
365
- //# sourceMappingURL=chunk-6FCAFWD5.js.map
291
+ //# sourceMappingURL=chunk-VO62TKK5.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  encodeFunction
3
- } from "./chunk-Q4LJCCH5.js";
3
+ } from "./chunk-MGC5S6OE.js";
4
4
  import {
5
5
  assertNoProtoKeys
6
6
  } from "./chunk-JHAZK4RY.js";
@@ -14,4 +14,4 @@ function compile(fn) {
14
14
  export {
15
15
  compile
16
16
  };
17
- //# sourceMappingURL=chunk-HM5X73PY.js.map
17
+ //# sourceMappingURL=chunk-WK5QDV25.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  XANO_DIR
3
- } from "./chunk-7B2KH733.js";
3
+ } from "./chunk-EQ2KB5YF.js";
4
4
  import {
5
5
  projectRootFrom
6
6
  } from "./chunk-HU7F56VF.js";
7
7
  import {
8
8
  relForwardSlash
9
- } from "./chunk-ZHFSIQ6E.js";
9
+ } from "./chunk-6534P3VH.js";
10
10
 
11
11
  // src/emit/backend-dir.ts
12
12
  import { existsSync, readdirSync } from "fs";
@@ -67,4 +67,4 @@ export {
67
67
  backendDirIn,
68
68
  resolveBackendDir
69
69
  };
70
- //# sourceMappingURL=chunk-Q2KVGISJ.js.map
70
+ //# sourceMappingURL=chunk-X3LYWTZ5.js.map
@@ -25,7 +25,7 @@ import {
25
25
  isDeadResultItem,
26
26
  isEmptyCustomize,
27
27
  normalize
28
- } from "./chunk-PKBC7G5H.js";
28
+ } from "./chunk-XDIPEWLU.js";
29
29
  import {
30
30
  f,
31
31
  input
@@ -2021,4 +2021,4 @@ export {
2021
2021
  decodeTableSchema,
2022
2022
  decodeResponse
2023
2023
  };
2024
- //# sourceMappingURL=chunk-CO7US54H.js.map
2024
+ //# sourceMappingURL=chunk-X7IBJLAD.js.map
@@ -292,6 +292,25 @@ function isDefaultMesh0Block(v) {
292
292
  ([member, value]) => member === "inherit" ? value === true : /^(?:[a-z]+_)?logging$/.test(member) && value === "inherit"
293
293
  );
294
294
  }
295
+ var DEFAULT_TABLE_BLOCK_MEMBERS = {
296
+ audit: {
297
+ enabled: (value) => value === false,
298
+ mask: isEmptyArray,
299
+ exclude: isEmptyArray
300
+ },
301
+ audit_log: {
302
+ table_id: (value) => value === 0,
303
+ table_guid: (value) => value === ""
304
+ }
305
+ };
306
+ function isDefaultTableBlock(key, v) {
307
+ if (isEmptyArray(v)) return true;
308
+ if (v === null || typeof v !== "object" || Array.isArray(v)) return false;
309
+ const members = DEFAULT_TABLE_BLOCK_MEMBERS[key];
310
+ return Object.entries(v).every(
311
+ ([member, value]) => Object.hasOwn(members, member) && members[member](value)
312
+ );
313
+ }
295
314
  function isRawSqlContext(container) {
296
315
  return container !== null && typeof container === "object" && typeof container.code === "string";
297
316
  }
@@ -448,6 +467,11 @@ function isDefaultEnvelopeMember(key, v) {
448
467
  // {@link isDefaultMesh0Block}.
449
468
  case "mesh0":
450
469
  return isDefaultMesh0Block(v);
470
+ // A table that is not audited and is not an audit log. See
471
+ // {@link isDefaultTableBlock}.
472
+ case "audit":
473
+ case "audit_log":
474
+ return isDefaultTableBlock(key, v);
451
475
  // Two unrelated `offset`s, both at a default. An addon's is the response path
452
476
  // its rows are spliced into, `""` when spliced at the root. A list context's
453
477
  // paging offset is declared to default to 0. Neither carries information at
@@ -1074,4 +1098,4 @@ export {
1074
1098
  filledContext,
1075
1099
  normalize
1076
1100
  };
1077
- //# sourceMappingURL=chunk-PKBC7G5H.js.map
1101
+ //# sourceMappingURL=chunk-XDIPEWLU.js.map
@@ -6,10 +6,10 @@ import {
6
6
  rowLabeler,
7
7
  sectionKind,
8
8
  sectionOmission
9
- } from "./chunk-3X4B5GWY.js";
9
+ } from "./chunk-P3WIMLG2.js";
10
10
  import {
11
11
  canonicalJson
12
- } from "./chunk-6SEPZQYB.js";
12
+ } from "./chunk-4ZV4MDKP.js";
13
13
  import {
14
14
  md5Hex
15
15
  } from "./chunk-OHX6MIUZ.js";
@@ -110,4 +110,4 @@ export {
110
110
  syncDirection,
111
111
  directedComparison
112
112
  };
113
- //# sourceMappingURL=chunk-OJ6YGRPV.js.map
113
+ //# sourceMappingURL=chunk-YAZEB255.js.map
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  pastePath,
7
7
  warn
8
- } from "./chunk-ZHFSIQ6E.js";
8
+ } from "./chunk-6534P3VH.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-RGPHFHJU.js.map
106
+ //# sourceMappingURL=chunk-YFVD3LNL.js.map