@xano/sdk 1.0.14 → 1.0.16
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.
- package/CHANGELOG.md +27 -0
- package/README.md +33 -37
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-3J6YRVFL.js → agent-file-refresh-DBHTEFYM.js} +12 -12
- package/dist/{agent-skill-command-VWDMQWCT.js → agent-skill-command-LHNTU7MH.js} +74 -73
- package/dist/{answer-shape-AVZSKBR6.js → answer-shape-ZRQS7ZC4.js} +5 -5
- package/dist/{backend-dir-ISP7RVF2.js → backend-dir-AXR43HNV.js} +11 -11
- package/dist/{backend-slot-DZAUHLTS.js → backend-slot-7BATLL3X.js} +4 -4
- package/dist/bin.js +64 -63
- package/dist/{branch-IJTBZZFO.js → branch-SJKKUCMZ.js} +9 -9
- package/dist/branch-commands-KGR52SZU.js +80 -0
- package/dist/bundle.d.ts +2 -2
- package/dist/bundle.js +15 -69
- package/dist/{capture-GW5KNKMB.js → capture-RYBJE25P.js} +5 -5
- package/dist/{chunk-Z3DQ7ULY.js → chunk-23GEFHRX.js} +236 -17
- package/dist/{chunk-3H7R4ISR.js → chunk-2DUYJR5N.js} +2 -2
- package/dist/{chunk-MFWF2NZJ.js → chunk-2H5BQRHF.js} +2 -2
- package/dist/{chunk-O44MJTLR.js → chunk-35SI4GBM.js} +3 -3
- package/dist/{chunk-QKHNJ7LE.js → chunk-3ZV23FVR.js} +5 -5
- package/dist/{chunk-HKI5Y5KW.js → chunk-47XIVDJ6.js} +14 -14
- package/dist/{chunk-ICK36EGF.js → chunk-4EVDCSEY.js} +2 -2
- package/dist/{chunk-FBSGFPZ4.js → chunk-4XGZ325S.js} +3 -3
- package/dist/{chunk-EYVIUX2T.js → chunk-4XYXUK5H.js} +76 -33
- package/dist/{chunk-MAXDJZQR.js → chunk-4ZBXS7YN.js} +8 -8
- package/dist/{chunk-ZMJRAMLA.js → chunk-52QAENY6.js} +14 -14
- package/dist/{chunk-2LF734YB.js → chunk-54CJ74BH.js} +4 -4
- package/dist/{chunk-3SZ7QRYA.js → chunk-57PGTPT3.js} +8 -8
- package/dist/{chunk-IKXXTRMN.js → chunk-64UVVLDT.js} +4 -4
- package/dist/{chunk-EQXHUWUO.js → chunk-6FCAFWD5.js} +2 -2
- package/dist/{chunk-4MX5LMPQ.js → chunk-6ODQ5GDZ.js} +2 -2
- package/dist/{chunk-HK554MDD.js → chunk-74YCPI4G.js} +7 -7
- package/dist/{chunk-Y5XAPLZS.js → chunk-7UQZ7C4W.js} +4 -4
- package/dist/{chunk-CJDPSCMX.js → chunk-7ZVQIKNL.js} +3 -3
- package/dist/{chunk-RVAEPPRH.js → chunk-AICWDCLJ.js} +2 -2
- package/dist/{chunk-WS4BA75E.js → chunk-AJBOGO5U.js} +4 -4
- package/dist/{chunk-2FDHIBEU.js → chunk-AJQFUJEQ.js} +8 -8
- package/dist/{chunk-2KOB4QPW.js → chunk-C7AYP4H6.js} +29 -20
- package/dist/{chunk-XCFQLP6G.js → chunk-DJMGDCVX.js} +8 -8
- package/dist/{chunk-VBSCWV5H.js → chunk-DLD4FVRP.js} +54 -54
- package/dist/{chunk-Q7DGTQ5G.js → chunk-E34VGSCI.js} +2 -1
- package/dist/{chunk-YR3MNGWZ.js → chunk-E5M5P23K.js} +8 -8
- package/dist/{chunk-HJZUI2ZU.js → chunk-EAZTRU75.js} +2 -2
- package/dist/{chunk-QX5XQEYB.js → chunk-EINZSVEU.js} +5 -5
- package/dist/{chunk-KMKUH2IO.js → chunk-EPB6FAR5.js} +5 -5
- package/dist/chunk-EUAU4QKI.js +67 -0
- package/dist/{chunk-IDOVZLPK.js → chunk-EXJ4Q5F6.js} +2 -2
- package/dist/{chunk-IHL2O7VY.js → chunk-F3JK5RIY.js} +3 -2
- package/dist/{chunk-W2QFR3ZJ.js → chunk-FIOC7RSU.js} +2 -2
- package/dist/{chunk-YEH5OIPF.js → chunk-FMXPV5JI.js} +39 -11
- package/dist/{chunk-GVHWIDEJ.js → chunk-FRJB3NTE.js} +10 -5
- package/dist/{chunk-VIRFG3WG.js → chunk-FTFAPKCW.js} +23 -7
- package/dist/{chunk-LL6ED5IB.js → chunk-FTS42N37.js} +2 -2
- package/dist/{chunk-MIS6F4HM.js → chunk-G2XSDIYS.js} +4 -4
- package/dist/{chunk-ZY55DO5P.js → chunk-G6BEJ3NA.js} +2 -2
- package/dist/{chunk-RYWNNJK5.js → chunk-GA6HTO3O.js} +2 -2
- package/dist/{chunk-JIKGT7DO.js → chunk-GE3JV5SI.js} +1 -1
- package/dist/{chunk-GCINMMFL.js → chunk-GJZMKMWO.js} +2 -2
- package/dist/{chunk-LW7TOIS7.js → chunk-GRZ62LLU.js} +8 -8
- package/dist/{chunk-6X73VFCX.js → chunk-GT7PZCTK.js} +2 -2
- package/dist/{chunk-HINRE3UM.js → chunk-HXPQXCOZ.js} +1821 -506
- package/dist/{chunk-ECQXASG3.js → chunk-IFHFJR5O.js} +2 -2
- package/dist/{chunk-P4OWRYE7.js → chunk-IOWNQEMW.js} +31 -31
- package/dist/{chunk-SUKO4SZG.js → chunk-ISIZFK5Q.js} +53 -47
- package/dist/{chunk-QJ25N4W6.js → chunk-IUJDUFT7.js} +4 -4
- package/dist/{chunk-L34DM6QB.js → chunk-JHAZK4RY.js} +3 -3
- package/dist/{chunk-YL3WVBR5.js → chunk-KGHJ74HF.js} +6 -6
- package/dist/{chunk-NUZXSIEA.js → chunk-L2O5KG5Q.js} +6 -6
- package/dist/{chunk-L4WG4BKJ.js → chunk-L3Q2QYIQ.js} +72 -72
- package/dist/{chunk-SAEIVQLP.js → chunk-LLBEPJBO.js} +3 -3
- package/dist/{chunk-NOW522B4.js → chunk-LWBGPPI5.js} +13 -13
- package/dist/{chunk-GOKRKTCX.js → chunk-MBSHONP3.js} +3 -3
- package/dist/{chunk-GKQTXUOW.js → chunk-MOVRSULZ.js} +2 -2
- package/dist/{chunk-QAEBBTYR.js → chunk-MSYMEP7Y.js} +7 -7
- package/dist/{chunk-Y453TW6J.js → chunk-NCERS5QH.js} +2 -2
- package/dist/{chunk-HXFLHA5K.js → chunk-NH5Z2NOD.js} +2 -2
- package/dist/{chunk-T3HNISBN.js → chunk-NJVY3GAX.js} +3 -3
- package/dist/{chunk-J62TYONQ.js → chunk-NQPPUNWP.js} +3 -3
- package/dist/{chunk-LJZIBT75.js → chunk-O7Z3LF44.js} +5 -5
- package/dist/{chunk-B7CPSWQX.js → chunk-OLXYZQR7.js} +7 -7
- package/dist/{chunk-7F3V6CFP.js → chunk-OQNYZ2OM.js} +3 -3
- package/dist/{chunk-DBDTQR23.js → chunk-OTQF4B37.js} +4 -4
- package/dist/{chunk-GBSHHNSD.js → chunk-PRSNMSVG.js} +3 -3
- package/dist/{chunk-DGYXCIBV.js → chunk-Q6AKSLD2.js} +2 -2
- package/dist/{chunk-YTQYP7UJ.js → chunk-Q7KXMIR3.js} +3 -3
- package/dist/{chunk-IWJ6GFST.js → chunk-QCVH32T2.js} +5 -5
- package/dist/{chunk-7FIMUFBP.js → chunk-QDPY7RN3.js} +3 -3
- package/dist/{chunk-DLDYQNGP.js → chunk-QIT2GGNB.js} +3 -3
- package/dist/{chunk-J3XLCYTQ.js → chunk-QSJH5AFU.js} +244 -173
- package/dist/{chunk-DERQSEB5.js → chunk-R7DS2TRZ.js} +38 -22
- package/dist/{chunk-BEKEOXNG.js → chunk-RGPHFHJU.js} +2 -2
- package/dist/{chunk-5FJ4M4HB.js → chunk-RHH6SCB4.js} +17 -32
- package/dist/{chunk-Z4BQPABS.js → chunk-RIT3WBBX.js} +4 -4
- package/dist/{chunk-45K2QZBR.js → chunk-RKNCISPM.js} +3 -3
- package/dist/{chunk-6LJS4M6P.js → chunk-RKTVXFBV.js} +5 -5
- package/dist/{chunk-AXNX4NWN.js → chunk-RLQX6LHW.js} +37 -37
- package/dist/{chunk-FIERONKM.js → chunk-ROWYW3JF.js} +2 -2
- package/dist/{chunk-LSJ3SQEU.js → chunk-RVWWNNZQ.js} +4 -4
- package/dist/{chunk-LPQZICYN.js → chunk-S7MVI4W7.js} +7 -7
- package/dist/{chunk-4MIV244X.js → chunk-SGEOXJIH.js} +9 -2
- package/dist/{chunk-QRMKQYCB.js → chunk-SINL5WMI.js} +2 -2
- package/dist/{chunk-Z6N5N4MN.js → chunk-SIW2HT2H.js} +21 -5
- package/dist/{chunk-IEDQT4Z3.js → chunk-SOAZIMWL.js} +12 -12
- package/dist/{chunk-RPBB7P4Q.js → chunk-SVQMDVND.js} +87 -16
- package/dist/{chunk-45ZUMF4E.js → chunk-TPUAXIPR.js} +2 -2
- package/dist/{chunk-HMYJOQXT.js → chunk-TXU34ELY.js} +25 -25
- package/dist/{chunk-MTBKTGZT.js → chunk-U4UAWGIT.js} +12 -8
- package/dist/{chunk-76SBT7KS.js → chunk-U56HK2RG.js} +7 -5
- package/dist/{chunk-RV2BDU7V.js → chunk-UDW2KAVF.js} +6 -6
- package/dist/{chunk-NDV6CBR7.js → chunk-UH5VQGNR.js} +2 -2
- package/dist/{chunk-75QC66XI.js → chunk-V2MIBJZU.js} +2 -2
- package/dist/{chunk-RDZBXTZ3.js → chunk-VAQPQXOI.js} +4 -4
- package/dist/{chunk-XPSDDTUZ.js → chunk-VCFRALU7.js} +3 -3
- package/dist/{chunk-5KJBWIDZ.js → chunk-VQDVEHDB.js} +2 -2
- package/dist/{chunk-6ILHYSLR.js → chunk-WAP5362D.js} +5 -5
- package/dist/{chunk-XY4OBD26.js → chunk-WGKKDGSA.js} +4 -4
- package/dist/{chunk-UQ2OD7D4.js → chunk-WVVUE7LU.js} +14 -7
- package/dist/{chunk-LB76VK6D.js → chunk-WXQ7BHVQ.js} +7 -7
- package/dist/{chunk-7REDHC4N.js → chunk-X5NF3ZXW.js} +69 -14
- package/dist/{chunk-5W7S2SCA.js → chunk-XAE4NIZ2.js} +4 -4
- package/dist/{chunk-SPLRKCFV.js → chunk-XDGLYIB2.js} +2 -2
- package/dist/{chunk-BSGU4HS6.js → chunk-XKMZYU5B.js} +96 -65
- package/dist/{chunk-OLQN4Z5R.js → chunk-Y3RH35KM.js} +47 -47
- package/dist/{chunk-YFQCDLCQ.js → chunk-YHT7TDSH.js} +14 -14
- package/dist/{chunk-KDEU5FUJ.js → chunk-YJXJOMXW.js} +3 -3
- package/dist/{chunk-N6LGLNAC.js → chunk-YPLHVRMS.js} +4 -4
- package/dist/{chunk-WS2X5BB2.js → chunk-YYBBJPCL.js} +5 -5
- package/dist/{chunk-ZOHEHIFS.js → chunk-YYDM4DNP.js} +2 -2
- package/dist/{chunk-MYIIBV6A.js → chunk-ZF4LCHCT.js} +5 -5
- package/dist/{chunk-GRXX2TOJ.js → chunk-ZHFSIQ6E.js} +2 -2
- package/dist/{chunk-CB67GIR3.js → chunk-ZJQFKBX7.js} +7 -7
- package/dist/{chunk-ZRXDPCMN.js → chunk-ZYZ7GRX3.js} +2 -2
- package/dist/{chunk-5TWLVFYB.js → chunk-ZZC5VSLP.js} +4 -4
- package/dist/cli.d.ts +3 -3
- package/dist/cli.js +62 -61
- package/dist/codegen-command-NAY6YAOD.js +183 -0
- package/dist/codegen.d.ts +3 -3
- package/dist/codegen.js +5 -5
- package/dist/{commands-5ILSWDSV.js → commands-Z2QZOORB.js} +3 -3
- package/dist/{completion-UNKBVVDT.js → completion-LFXXNQGR.js} +3 -3
- package/dist/{config-NTOASFCA.js → config-7GGINOFY.js} +4 -4
- package/dist/{deploy-command-WESYWFJN.js → deploy-command-PBM3S4ZL.js} +69 -68
- package/dist/{deploy-source-ZQQNMDFX.js → deploy-source-JW7DAN75.js} +32 -32
- package/dist/{dev-env-sync-4XJT7WOT.js → dev-env-sync-FHJTFH3V.js} +63 -62
- package/dist/{diagnostics-FNVNRYMB.js → diagnostics-T3RN3372.js} +2 -2
- package/dist/{display-name-hint-MYXCCAOP.js → display-name-hint-5GLJGPQ6.js} +11 -11
- package/dist/{emit-YLt3GfsZ.d.ts → emit-t-gDE1BL.d.ts} +181 -93
- package/dist/env-example-refresh-HHEGMFNH.js +136 -0
- package/dist/{env-pull-command-SK5FS477.js → env-pull-command-FFPNRVWD.js} +52 -52
- package/dist/{env-target-TEFSYACA.js → env-target-XHVRZXHX.js} +14 -14
- package/dist/{env-var-command-IJHKA2WJ.js → env-var-command-DJS62YRR.js} +41 -41
- package/dist/{ephemeral-VLPRDNEJ.js → ephemeral-2DXWP3VK.js} +9 -9
- package/dist/{ephemeral-command-WCO5J4SN.js → ephemeral-command-VLQIQ5TS.js} +52 -52
- package/dist/{ephemeral-state-RUOU2GFS.js → ephemeral-state-56XEDUJW.js} +12 -12
- package/dist/{generate-command-3WCOUOEQ.js → generate-command-PSDIIOTU.js} +89 -88
- package/dist/{gitignore-WYS3GMOX.js → gitignore-PMJ6MFNA.js} +15 -15
- package/dist/{guards-PPIBIMFZ.js → guards-YICHJKX3.js} +51 -15
- package/dist/{impersonate-command-UMYVQTCG.js → impersonate-command-IKV4KUYA.js} +37 -37
- package/dist/{import-T4ZTOTBT.js → import-VJQGIS33.js} +5 -5
- package/dist/index.d.ts +653 -222
- package/dist/index.js +29 -28
- package/dist/init-command-LEQIE6GC.js +143 -0
- package/dist/{init-modules-7KALFI5C.js → init-modules-G47Q7ABV.js} +8 -8
- package/dist/{init-web-DYE2FEXL.js → init-web-25QJ4JWB.js} +3 -3
- package/dist/internal.d.ts +55 -8
- package/dist/internal.js +692 -503
- package/dist/{io-PGTCBSIQ.js → io-47TFRYDB.js} +6 -6
- package/dist/{keep-data-merge-OVHCIEBG.js → keep-data-merge-XCPCX7BZ.js} +38 -38
- package/dist/{lambda-config-reconcile-VOBVZPWS.js → lambda-config-reconcile-CC5QIP6E.js} +3 -3
- package/dist/{landed-F7PCHGCK.js → landed-VIUFHLCJ.js} +5 -5
- package/dist/{landing-record-AIHNW4AZ.js → landing-record-JQ7HZDGI.js} +22 -22
- package/dist/{live-diff-UMSOGPX3.js → live-diff-KJ2TWWWT.js} +14 -14
- package/dist/{local-engine-choice-XDGTATKJ.js → local-engine-choice-DFAMYOIF.js} +35 -35
- package/dist/{local-engine-command-VQWNQ7UK.js → local-engine-command-5RP2J5QZ.js} +40 -40
- package/dist/{local-engine-deploy-4N4NFZ4T.js → local-engine-deploy-XAEDT55W.js} +12 -12
- package/dist/{local-engine-lookup-AQTUGSBT.js → local-engine-lookup-WBYTY2JE.js} +2 -2
- package/dist/{local-engine-mcp-bridge-AMYRH4SY.js → local-engine-mcp-bridge-3H5OXBWQ.js} +5 -5
- package/dist/{local-engine-mcp-command-AIMNMXQG.js → local-engine-mcp-command-JSYVVZKK.js} +42 -42
- package/dist/{local-engine-process-OD5OSWDG.js → local-engine-process-35B2KQED.js} +7 -7
- package/dist/{local-engine-update-check-G3YCBXRE.js → local-engine-update-check-VXJZSIJU.js} +5 -5
- package/dist/{lock-HDCHD2ON.js → lock-JBKTDEDO.js} +4 -4
- package/dist/{lock-commands-H3YV2D6M.js → lock-commands-7VO6YWOV.js} +67 -66
- package/dist/{login-command-NMM3JNDZ.js → login-command-WTZUBCW6.js} +27 -27
- package/dist/{logout-command-7DYC6G32.js → logout-command-5BJUNK3C.js} +17 -17
- package/dist/{loop-DJNIHC7O.js → loop-HILLODVH.js} +15 -15
- package/dist/{marketplace-command-UCSHDZGO.js → marketplace-command-NMOH4XOV.js} +30 -30
- package/dist/{marketplace-resolve-JR4BBJ6K.js → marketplace-resolve-63QWMQZU.js} +6 -6
- package/dist/{meta-client-CD3TXQP6.js → meta-client-MRAMWUKV.js} +15 -15
- package/dist/{module-manifest-63I5GRK4.js → module-manifest-NWJWAQLQ.js} +4 -4
- package/dist/node.d.ts +8 -8
- package/dist/node.js +71 -70
- package/dist/{operation-outcome-2ONIIDRU.js → operation-outcome-WK7UW6PJ.js} +24 -24
- package/dist/{output-target-67LHZKCO.js → output-target-5PYRCCK4.js} +16 -16
- package/dist/{plan-disclosure-T7DF4SRJ.js → plan-disclosure-6MG4YYJV.js} +28 -28
- package/dist/{plugin-contributions-YYEP7IWH.js → plugin-contributions-DD6R6RL6.js} +5 -5
- package/dist/{plugin-prompt-GKCQKNYI.js → plugin-prompt-UX2TT5NS.js} +5 -5
- package/dist/{plugin-questions-P7MA3TYI.js → plugin-questions-WE2F4ZC4.js} +4 -4
- package/dist/{preflight-command-TJ7FURXB.js → preflight-command-3BX2WW3S.js} +75 -74
- package/dist/{profile-command-LDPLTJEJ.js → profile-command-GSUX3UMB.js} +28 -28
- package/dist/{profile-pointer-JJ7K5O2R.js → profile-pointer-RCPHVTJV.js} +4 -4
- package/dist/{project-dependency-X3KCWBK5.js → project-dependency-TPVV3YIX.js} +7 -7
- package/dist/{project-sdk-YHJZRCNB.js → project-sdk-DKZBK5H5.js} +4 -4
- package/dist/promote-command-3LQTXWCD.js +149 -0
- package/dist/{prompt-QNMJIWNI.js → prompt-OYQHQWKI.js} +4 -4
- package/dist/{publish-command-IIRN6NWN.js → publish-command-3BQCV4NE.js} +72 -71
- package/dist/pull-command-B7OVWTZD.js +171 -0
- package/dist/{pull-superseded-6HADGGC5.js → pull-superseded-3SSM3JFT.js} +4 -4
- package/dist/{raw-where-gWGr-E4t.d.ts → raw-where-CinW0keO.d.ts} +32 -4
- package/dist/release-command-XSDICMJE.js +153 -0
- package/dist/{release-ns-command-YLCQPVH3.js → release-ns-command-EVAHK4CU.js} +96 -95
- package/dist/{retry-command-LFZYEVRU.js → retry-command-WP4ZI6CJ.js} +8 -8
- package/dist/{routes-manifest-R3TQRB24.js → routes-manifest-N73THJB3.js} +16 -16
- package/dist/routes-manifest-file-LDUDIVFJ.js +41 -0
- package/dist/scaffold.js +2 -2
- package/dist/{secrets-file-PCNAFXNV.js → secrets-file-7XWR7HW3.js} +15 -15
- package/dist/{secrets-fill-command-G7NQMRXU.js → secrets-fill-command-NKCGC75L.js} +66 -65
- package/dist/{seed-4CD55LB4.js → seed-YKTZDS2Q.js} +13 -13
- package/dist/{source-resolve-U4SJR7ZA.js → source-resolve-CQGDFQQC.js} +22 -22
- package/dist/{static-host-MO4VDHL7.js → static-host-3HPZKVKK.js} +5 -5
- package/dist/{status-command-CD72PXIT.js → status-command-TBMQ3GJP.js} +38 -38
- package/dist/{store-AJX4MC7Y.js → store-B63BQV6R.js} +6 -6
- package/dist/{store-BM7SQcUt.d.ts → store-in7gSpMS.d.ts} +297 -129
- package/dist/sync-baseline-GRS33AB5.js +38 -0
- package/dist/{sync-contributions-XK6LHISZ.js → sync-contributions-RKPLZPPO.js} +9 -9
- package/dist/{sync-record-NE62ERA3.js → sync-record-AWFCSS4D.js} +15 -15
- package/dist/{table-WPRAM4VW.js → table-ONGT3JGE.js} +12 -12
- package/dist/{tables-command-NMTKR52H.js → tables-command-UYQ277TJ.js} +41 -41
- package/dist/{tenant-IIYECNWO.js → tenant-IXIW3FOI.js} +10 -10
- package/dist/{tenant-command-XQAWT46C.js → tenant-command-7LWZUK2V.js} +104 -103
- package/dist/{test-command-W4AD4KT4.js → test-command-7KTT5EAF.js} +56 -45
- package/dist/{tests-JWQRHFCT.js → tests-N4MMBABH.js} +6 -6
- package/dist/{token-P3VQ6ITJ.js → token-3TCMW2AP.js} +13 -13
- package/dist/{toolchain-hooks-UAJBPSTC.js → toolchain-hooks-IJWV3ZQS.js} +18 -18
- package/dist/{toolchain-modules-S3MPHCUI.js → toolchain-modules-PBVBCPQJ.js} +5 -5
- package/dist/{toolchain-peers-FQJBTKEB.js → toolchain-peers-EMOYN4U7.js} +8 -8
- package/dist/{tracked-backend-WWEPNUD5.js → tracked-backend-YDUUQZQF.js} +34 -34
- package/dist/update-check-C6KDFGMT.js +141 -0
- package/dist/{upgrade-command-J6LRNHYF.js → upgrade-command-ZSBTSMBR.js} +68 -67
- package/dist/{whoami-command-KWRP2CII.js → whoami-command-L6ERHR5K.js} +16 -16
- package/dist/{workspace-3YNK4XO4.js → workspace-5DPSDM4A.js} +5 -5
- package/dist/{workspace-binding-TTDNXHO5.js → workspace-binding-MVOWGNYW.js} +15 -15
- package/dist/{workspace-command-W4ANGLCZ.js → workspace-command-PKQ5TDR7.js} +100 -99
- package/dist/{workspace-env-6LJGCTZA.js → workspace-env-UZJZUIYV.js} +18 -12
- package/dist/{workspace-export-PUEXKZNS.js → workspace-export-3KMWNZDD.js} +5 -5
- package/dist/{writable-LMMG4AFZ.js → writable-X7BCN7XE.js} +4 -4
- package/dist/xano-YB6Y2IJS.js +44 -0
- package/dist/{xanosdk-import-PNNMZ4SF.js → xanosdk-import-HHMQDK2I.js} +10 -10
- package/dist/{xanosdk-project-YW3BQY2E.js → xanosdk-project-CKEUNJU4.js} +13 -13
- package/dist/{xdo-D4OwfF2J.d.ts → xdo-DNGZGO1j.d.ts} +50 -12
- package/guides/authoring.md +1 -0
- package/guides/codes.md +33 -3
- package/guides/coverage.md +2 -2
- package/guides/object-kinds.md +1 -1
- package/guides/typed-frontend.md +9 -0
- package/llms/client.md +54 -36
- package/llms/errors.md +26 -6
- package/llms/fields.md +53 -30
- package/llms/filters.md +55 -46
- package/llms/kinds-agent-mcp.md +10 -9
- package/llms/kinds-core.md +19 -15
- package/llms/kinds-knowledge.md +4 -4
- package/llms/kinds-realtime.md +25 -23
- package/llms/lambda.md +42 -30
- package/llms/legacy.md +6 -7
- package/llms/lock.md +21 -17
- package/llms/object-kinds.md +9 -11
- package/llms/statements-calls.md +41 -20
- package/llms/statements-catalog.md +78 -71
- package/llms/statements-data.md +35 -25
- package/llms/statements-runtime.md +28 -18
- package/llms/tests.md +20 -7
- package/llms/toolchain.md +12 -9
- package/llms/triggers.md +14 -18
- package/llms/values.md +16 -9
- package/llms-full.txt +689 -549
- package/llms.txt +120 -137
- package/manifest.json +228 -246
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +10 -12
- package/types/lambda-globals.d.ts +6 -1
- package/dist/branch-commands-75IYFTBS.js +0 -80
- package/dist/codegen-command-JWOW6HE5.js +0 -182
- package/dist/env-example-refresh-4V2OCDJE.js +0 -135
- package/dist/init-command-UR5MSXIH.js +0 -142
- package/dist/promote-command-RURHOLNR.js +0 -148
- package/dist/pull-command-ITO76ENU.js +0 -170
- package/dist/release-command-CVGIUD4M.js +0 -152
- package/dist/routes-manifest-file-GYNYFKAH.js +0 -41
- package/dist/sync-baseline-BJDKG4F2.js +0 -38
- package/dist/update-check-O7QC5TBB.js +0 -140
- package/dist/xano-Z3SRHYOR.js +0 -43
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTaggedValue
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SIW2HT2H.js";
|
|
4
4
|
import {
|
|
5
5
|
describeEntry,
|
|
6
6
|
protoKeyed
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SGEOXJIH.js";
|
|
8
8
|
|
|
9
9
|
// src/values/obj.ts
|
|
10
10
|
var IDENT = /^[A-Za-z_$][A-Za-z0-9_$]*$/;
|
|
@@ -17,7 +17,7 @@ function serializeValue(v, path, followed) {
|
|
|
17
17
|
}
|
|
18
18
|
function grouped(rendered, chain, followed) {
|
|
19
19
|
const tail = chain[chain.length - 1];
|
|
20
|
-
return
|
|
20
|
+
return tail !== void 0 && (rendered[0] === "{" || followed && tail.arg.length > 0) ? `(${rendered})` : rendered;
|
|
21
21
|
}
|
|
22
22
|
function serializeEpochMs(v) {
|
|
23
23
|
if (v.tag !== "const:epochms") return null;
|
|
@@ -106,6 +106,8 @@ function serializeFilters(v, path) {
|
|
|
106
106
|
);
|
|
107
107
|
}
|
|
108
108
|
const args = f.arg.map((a, i) => {
|
|
109
|
+
const record = objSetRecord(a, path, false);
|
|
110
|
+
if (record?.[0] === "{") return record;
|
|
109
111
|
if (a.filters.length > 0) {
|
|
110
112
|
throw new Error(
|
|
111
113
|
`obj(): the \`${f.name}\` filter on member \`${path}\` has an argument (#${i}) that carries its own filter chain (\`ref(\u2026, { safe: true })\` is one). In an expression a trailing \`|\` binds to the whole value, not to one argument, so this cannot be written without changing what it means. Compute the argument in a prior step (\`s.set_var\`) and reference it with \`ref\`.`
|
|
@@ -113,7 +115,7 @@ function serializeFilters(v, path) {
|
|
|
113
115
|
}
|
|
114
116
|
return serializeAtom(a, `${path}|${f.name}[${i}]`);
|
|
115
117
|
});
|
|
116
|
-
out += `|${f.name}${args.length > 0 ? `:${args.join(":")}` : ""}`;
|
|
118
|
+
out += `|${f.name === "null" ? "is_null" : f.name}${args.length > 0 ? `:${args.join(":")}` : ""}`;
|
|
117
119
|
}
|
|
118
120
|
return out;
|
|
119
121
|
}
|
|
@@ -214,4 +216,4 @@ function obj(fields) {
|
|
|
214
216
|
export {
|
|
215
217
|
obj
|
|
216
218
|
};
|
|
217
|
-
//# sourceMappingURL=chunk-
|
|
219
|
+
//# sourceMappingURL=chunk-U56HK2RG.js.map
|
|
@@ -4,25 +4,25 @@ import {
|
|
|
4
4
|
sectionKind,
|
|
5
5
|
tableAdditions,
|
|
6
6
|
vectorSize
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RIT3WBBX.js";
|
|
8
8
|
import {
|
|
9
9
|
ReleaseHttpError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UH5VQGNR.js";
|
|
11
11
|
import {
|
|
12
12
|
TenantHttpError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-G2XSDIYS.js";
|
|
14
14
|
import {
|
|
15
15
|
CliError,
|
|
16
16
|
detail,
|
|
17
17
|
warn,
|
|
18
18
|
withoutUrls
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZHFSIQ6E.js";
|
|
20
20
|
import {
|
|
21
21
|
suggest
|
|
22
22
|
} from "./chunk-UTI5G6OJ.js";
|
|
23
23
|
import {
|
|
24
24
|
authoredFieldType
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-GE3JV5SI.js";
|
|
26
26
|
|
|
27
27
|
// src/emit/plan-disclosure.ts
|
|
28
28
|
var NO_TABLE_EFFECTS = {
|
|
@@ -677,4 +677,4 @@ export {
|
|
|
677
677
|
CONSTRAINT_PHRASE,
|
|
678
678
|
CONSTRAINT_FIX
|
|
679
679
|
};
|
|
680
|
-
//# sourceMappingURL=chunk-
|
|
680
|
+
//# sourceMappingURL=chunk-UDW2KAVF.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
safeHttpFailure,
|
|
11
11
|
statusLabel,
|
|
12
12
|
writeStatusAftermath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NH5Z2NOD.js";
|
|
14
14
|
|
|
15
15
|
// src/deploy/release.ts
|
|
16
16
|
var TIMEOUT_MS = 3e4;
|
|
@@ -405,4 +405,4 @@ export {
|
|
|
405
405
|
exportRelease,
|
|
406
406
|
deleteRelease
|
|
407
407
|
};
|
|
408
|
-
//# sourceMappingURL=chunk-
|
|
408
|
+
//# sourceMappingURL=chunk-UH5VQGNR.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
isKindShaped,
|
|
8
8
|
parseSource,
|
|
9
9
|
sourceSpellings
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZHFSIQ6E.js";
|
|
11
11
|
|
|
12
12
|
// src/emit/backend-slot.ts
|
|
13
13
|
function commandPath(command, subcommand) {
|
|
@@ -124,4 +124,4 @@ export {
|
|
|
124
124
|
refusedKind,
|
|
125
125
|
parseSlot
|
|
126
126
|
};
|
|
127
|
-
//# sourceMappingURL=chunk-
|
|
127
|
+
//# sourceMappingURL=chunk-V2MIBJZU.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
contextFlags
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZYZ7GRX3.js";
|
|
4
4
|
import {
|
|
5
5
|
backendDirFor,
|
|
6
6
|
backendDirIn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YJXJOMXW.js";
|
|
8
8
|
import {
|
|
9
9
|
atomicWrite
|
|
10
10
|
} from "./chunk-LLNZGEFK.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
LocalFileNotFoundError,
|
|
16
16
|
displayPath,
|
|
17
17
|
relForwardSlash
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZHFSIQ6E.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-
|
|
130
|
+
//# sourceMappingURL=chunk-VAQPQXOI.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
readEngineEntry,
|
|
5
5
|
readPin,
|
|
6
6
|
verifiedEngineExecutable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6FCAFWD5.js";
|
|
8
8
|
import {
|
|
9
9
|
clearEngineRecordsNamed,
|
|
10
10
|
listEngineRecords
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
fetchOrExplain,
|
|
24
24
|
httpFailureError
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-NH5Z2NOD.js";
|
|
26
26
|
|
|
27
27
|
// src/deploy/local-engine-process.ts
|
|
28
28
|
import { spawn as nodeSpawn, spawnSync } from "child_process";
|
|
@@ -432,4 +432,4 @@ export {
|
|
|
432
432
|
findOrphanedEngineProcesses,
|
|
433
433
|
stopOrphanedEngineProcesses
|
|
434
434
|
};
|
|
435
|
-
//# sourceMappingURL=chunk-
|
|
435
|
+
//# sourceMappingURL=chunk-VCFRALU7.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
REFERENCEABLE_KIND_PAYLOAD_KEYS,
|
|
9
9
|
rawDeriveGuid
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FTS42N37.js";
|
|
11
11
|
import {
|
|
12
12
|
getLockedGuid
|
|
13
13
|
} from "./chunk-4BW2SG2N.js";
|
|
@@ -1062,4 +1062,4 @@ export {
|
|
|
1062
1062
|
withoutGuidSources,
|
|
1063
1063
|
mergeObserved
|
|
1064
1064
|
};
|
|
1065
|
-
//# sourceMappingURL=chunk-
|
|
1065
|
+
//# sourceMappingURL=chunk-VQDVEHDB.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defaultHistory,
|
|
3
3
|
emptyMiddleware
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JHAZK4RY.js";
|
|
5
5
|
import {
|
|
6
6
|
RAW_ENVELOPE,
|
|
7
7
|
encodeStatement,
|
|
8
8
|
registerStatement
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-F3JK5RIY.js";
|
|
10
10
|
import {
|
|
11
11
|
isTaggedValue
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SIW2HT2H.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveRef
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FTS42N37.js";
|
|
16
16
|
|
|
17
17
|
// src/kinds/history.ts
|
|
18
18
|
var CONTAINER_DEFAULT_ENABLED = {
|
|
@@ -188,4 +188,4 @@ export {
|
|
|
188
188
|
assertStoredName,
|
|
189
189
|
assertNameAsStored
|
|
190
190
|
};
|
|
191
|
-
//# sourceMappingURL=chunk-
|
|
191
|
+
//# sourceMappingURL=chunk-WAP5362D.js.map
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
} from "./chunk-QO6BVGS5.js";
|
|
8
8
|
import {
|
|
9
9
|
unreadableError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YYDM4DNP.js";
|
|
11
11
|
import {
|
|
12
12
|
ensureGitignored
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AJBOGO5U.js";
|
|
14
14
|
import {
|
|
15
15
|
destinationKey,
|
|
16
16
|
nextLandedRecord
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2H5BQRHF.js";
|
|
18
18
|
import {
|
|
19
19
|
atomicWrite
|
|
20
20
|
} from "./chunk-LLNZGEFK.js";
|
|
@@ -301,4 +301,4 @@ export {
|
|
|
301
301
|
recordEphemeralLanding,
|
|
302
302
|
clearEphemeralLanding
|
|
303
303
|
};
|
|
304
|
-
//# sourceMappingURL=chunk-
|
|
304
|
+
//# sourceMappingURL=chunk-WGKKDGSA.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
encodeTags,
|
|
6
6
|
registerKind
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JHAZK4RY.js";
|
|
8
8
|
import {
|
|
9
9
|
nearestKey
|
|
10
10
|
} from "./chunk-WTPZRR4I.js";
|
|
@@ -13,33 +13,33 @@ import {
|
|
|
13
13
|
emitDiagnostic,
|
|
14
14
|
numberedList,
|
|
15
15
|
problemCount
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FMXPV5JI.js";
|
|
17
17
|
import {
|
|
18
18
|
isHostedFile
|
|
19
19
|
} from "./chunk-VQPDATQT.js";
|
|
20
20
|
import {
|
|
21
21
|
RAW_WHERE,
|
|
22
22
|
isRawWhere
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-G6BEJ3NA.js";
|
|
24
24
|
import {
|
|
25
25
|
annotate,
|
|
26
26
|
encodeStatement,
|
|
27
27
|
registerStatement
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-F3JK5RIY.js";
|
|
29
29
|
import {
|
|
30
30
|
COLUMN_CONTEXT,
|
|
31
31
|
COLUMN_NULLABLE_TYPES,
|
|
32
32
|
authoredFieldType,
|
|
33
33
|
encodeField,
|
|
34
34
|
isListColumn
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-GE3JV5SI.js";
|
|
36
36
|
import {
|
|
37
37
|
argsOrEmpty,
|
|
38
38
|
assertArg,
|
|
39
39
|
assertStatements,
|
|
40
40
|
describeEntry,
|
|
41
41
|
isTaggedArg
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-SGEOXJIH.js";
|
|
43
43
|
|
|
44
44
|
// src/util/known-keys.ts
|
|
45
45
|
function assertKnownKeys(where, v, known) {
|
|
@@ -521,6 +521,13 @@ function assertIndexFieldTypes(def) {
|
|
|
521
521
|
if ((type === "hash" || type === "vector") && index.fields.length !== 1) {
|
|
522
522
|
throw new Error(`${at}: a ${type} index covers exactly one column \u2014 the deploy fails on ${index.fields.length}. Declare one index per column.`);
|
|
523
523
|
}
|
|
524
|
+
if (type === "search" && (index.name === void 0 || index.name === "")) {
|
|
525
|
+
emitDiagnostic({
|
|
526
|
+
severity: "warning",
|
|
527
|
+
code: "table.search-index-unnamed",
|
|
528
|
+
message: `${at}: a search index is queried by its \`name\` (\`col("$<name>")\` + \`qf.search_rank\`), so without one it deploys but can never be searched. Give it \`name: "<name>"\` and match rows with \`where: cmp(col("$<name>"), "search", <term>)\`.`
|
|
529
|
+
});
|
|
530
|
+
}
|
|
524
531
|
const ops = INDEX_OPS[type];
|
|
525
532
|
const xdo = def.useXdo === true;
|
|
526
533
|
const plainIndex = type === "btree" || type === "btree|unique" || type === "hash";
|
|
@@ -1272,4 +1279,4 @@ export {
|
|
|
1272
1279
|
assertSeedUnique,
|
|
1273
1280
|
isNonPublicColumn
|
|
1274
1281
|
};
|
|
1275
|
-
//# sourceMappingURL=chunk-
|
|
1282
|
+
//# sourceMappingURL=chunk-WVVUE7LU.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
environmentKey,
|
|
3
3
|
getEnvironment,
|
|
4
4
|
readEphemeralState
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WGKKDGSA.js";
|
|
6
6
|
import {
|
|
7
7
|
andList
|
|
8
8
|
} from "./chunk-622HUCZT.js";
|
|
@@ -12,17 +12,17 @@ import {
|
|
|
12
12
|
credentialFileFlagFor,
|
|
13
13
|
credentialFileOf,
|
|
14
14
|
recordedByEnvCredential
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZYZ7GRX3.js";
|
|
16
16
|
import {
|
|
17
17
|
loginCommand,
|
|
18
18
|
profileAddCommand,
|
|
19
19
|
recordedCredentialPath,
|
|
20
20
|
recordedProfileStored
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AJBOGO5U.js";
|
|
22
22
|
import {
|
|
23
23
|
findPointerFile,
|
|
24
24
|
readPointerFile
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-IFHFJR5O.js";
|
|
26
26
|
import {
|
|
27
27
|
DEFAULT_PROFILE
|
|
28
28
|
} from "./chunk-MF4W6FHU.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
CliError,
|
|
34
34
|
EXIT_SOURCE_UNRESOLVABLE,
|
|
35
35
|
UsageError
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-ZHFSIQ6E.js";
|
|
37
37
|
|
|
38
38
|
// src/emit/env-target.ts
|
|
39
39
|
var ENV_CREDENTIAL_NAMES = ["XANO_INSTANCE_URL", "XANO_WORKSPACE_ID", "XANO_META_TOKEN", "XANO_REFRESH_TOKEN", "XANO_CLIENT_ID"];
|
|
@@ -142,7 +142,7 @@ var SENDS_ELSEWHERE = /* @__PURE__ */ new WeakSet();
|
|
|
142
142
|
async function reachableFirst(refusal, auth) {
|
|
143
143
|
if (!(refusal instanceof Error) || !SENDS_ELSEWHERE.has(refusal)) return refusal;
|
|
144
144
|
if (auth === void 0 || !("access_token" in auth)) return refusal;
|
|
145
|
-
const { refuseUnreachableWorkspace } = await import("./workspace-binding-
|
|
145
|
+
const { refuseUnreachableWorkspace } = await import("./workspace-binding-MVOWGNYW.js");
|
|
146
146
|
try {
|
|
147
147
|
await refuseUnreachableWorkspace(auth);
|
|
148
148
|
} catch (unreachable) {
|
|
@@ -167,4 +167,4 @@ export {
|
|
|
167
167
|
otherCredentialRefusal,
|
|
168
168
|
reachableFirst
|
|
169
169
|
};
|
|
170
|
-
//# sourceMappingURL=chunk-
|
|
170
|
+
//# sourceMappingURL=chunk-WXQ7BHVQ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sdkKindName
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VQDVEHDB.js";
|
|
4
4
|
|
|
5
5
|
// src/validate/capabilities.ts
|
|
6
6
|
var CAPABILITIES = {
|
|
@@ -14,7 +14,11 @@ var CAPABILITIES = {
|
|
|
14
14
|
},
|
|
15
15
|
premiumInstance: {
|
|
16
16
|
label: "a premium instance",
|
|
17
|
-
effect: "`s.await` (awaiting an async function run) and direct SQL"
|
|
17
|
+
effect: "`s.await` (awaiting an async function run), an `async-shared` run, and direct SQL"
|
|
18
|
+
},
|
|
19
|
+
asyncDedicated: {
|
|
20
|
+
label: "dedicated async workers",
|
|
21
|
+
effect: "an `async-dedicated` `s.function.run` or `s.ai.agent.run`"
|
|
18
22
|
},
|
|
19
23
|
directQuery: {
|
|
20
24
|
label: "direct-query support",
|
|
@@ -46,7 +50,11 @@ var CAPABILITIES = {
|
|
|
46
50
|
attachment: { label: "attachment storage", effect: "`s.storage.create_attachment`" },
|
|
47
51
|
privateStorage: {
|
|
48
52
|
label: "private file storage",
|
|
49
|
-
effect: "`s.storage.sign_private_url`"
|
|
53
|
+
effect: "`s.storage.sign_private_url`",
|
|
54
|
+
// Measured: every call answers 403 "Not supported. Please upgrade your Xano
|
|
55
|
+
// instance." on the local engine, 200 with a signed URL on an ephemeral.
|
|
56
|
+
localEngine: "the local Xano Engine refuses it (403 `Not supported`) \u2014 exercise it on an ephemeral (`deploy --ephemeral`)",
|
|
57
|
+
localEngineRefusal: '403 "Not supported. Please upgrade your Xano instance."'
|
|
50
58
|
},
|
|
51
59
|
webflow: { label: "the Webflow integration", effect: "`s.webflow.request`" },
|
|
52
60
|
datadog: { label: "the Datadog integration", effect: "every `s.datadog.*` statement" }
|
|
@@ -74,6 +82,7 @@ var STATEMENT_CAPABILITIES = {
|
|
|
74
82
|
"mvp:dbo_direct_query": ["premiumInstance", "directQuery"],
|
|
75
83
|
"mvp:microservice_request": ["microservice"],
|
|
76
84
|
"mvp:realtime_publish": ["realtimeV2"],
|
|
85
|
+
"mvp:realtime_kick": ["realtimeV2"],
|
|
77
86
|
// Files. The zip family is gated on the instance not being FREE; the readers
|
|
78
87
|
// below are gated on raw file access, which is a separate flag.
|
|
79
88
|
"mvp:zip_add_file_resource": ["paidInstance"],
|
|
@@ -100,17 +109,37 @@ var STATEMENT_CAPABILITIES = {
|
|
|
100
109
|
"mvp:datadog_metric": ["datadog"],
|
|
101
110
|
"mvp:datadog_metric_bulk": ["datadog"]
|
|
102
111
|
};
|
|
112
|
+
var ASYNC_RUN_STATEMENTS = /* @__PURE__ */ new Set(["mvp:function", "mvp:call_agent"]);
|
|
113
|
+
var ASYNC_MODE_CAPABILITIES = {
|
|
114
|
+
"async-shared": "premiumInstance",
|
|
115
|
+
"async-dedicated": "asyncDedicated"
|
|
116
|
+
};
|
|
103
117
|
var STATEMENT_EFFECTS = {
|
|
104
118
|
"mvp:async_function_await": "`s.await` (awaiting an async function run)",
|
|
105
|
-
"mvp:
|
|
119
|
+
"mvp:call_agent@async-shared": "an `async-shared` `s.ai.agent.run`",
|
|
120
|
+
"mvp:dbo_direct_query": "direct SQL",
|
|
121
|
+
"mvp:function@async-shared": "an `async-shared` `s.function.run`"
|
|
106
122
|
};
|
|
107
|
-
function effectOf(id,
|
|
108
|
-
const parts = [...
|
|
109
|
-
|
|
123
|
+
function effectOf(id, keys) {
|
|
124
|
+
const parts = [...keys].sort().map((n) => Object.hasOwn(STATEMENT_EFFECTS, n) ? STATEMENT_EFFECTS[n] : void 0);
|
|
125
|
+
if (id !== "premiumInstance" || parts.length === 0 || !parts.every((p) => p !== void 0)) return CAPABILITIES[id].effect;
|
|
126
|
+
return parts.length === 1 ? parts[0] : `${parts.slice(0, -1).join(", ")} and ${parts[parts.length - 1]}`;
|
|
127
|
+
}
|
|
128
|
+
function localEngineNote(cap) {
|
|
129
|
+
return {
|
|
130
|
+
...cap.localEngine !== void 0 ? { localEngine: cap.localEngine } : {},
|
|
131
|
+
...cap.localEngineRefusal !== void 0 ? { localEngineRefusal: cap.localEngineRefusal } : {}
|
|
132
|
+
};
|
|
110
133
|
}
|
|
111
134
|
function bundleCapabilities(bundle) {
|
|
112
135
|
const statements = /* @__PURE__ */ new Map();
|
|
113
136
|
const objects = /* @__PURE__ */ new Map();
|
|
137
|
+
const effects = /* @__PURE__ */ new Map();
|
|
138
|
+
const need = (id, name, effect, context) => {
|
|
139
|
+
(statements.get(id) ?? statements.set(id, /* @__PURE__ */ new Set()).get(id)).add(name);
|
|
140
|
+
(effects.get(id) ?? effects.set(id, /* @__PURE__ */ new Set()).get(id)).add(effect);
|
|
141
|
+
if (context !== "") (objects.get(id) ?? objects.set(id, /* @__PURE__ */ new Set()).get(id)).add(context);
|
|
142
|
+
};
|
|
114
143
|
const walk = (node, context, key, section) => {
|
|
115
144
|
if (Array.isArray(node)) {
|
|
116
145
|
for (const item of node) walk(item, context, key, section);
|
|
@@ -123,9 +152,10 @@ function bundleCapabilities(bundle) {
|
|
|
123
152
|
const nextContext = own === void 0 ? context : section && key !== void 0 ? `${sdkKindName(key, obj)} "${own}"` : own;
|
|
124
153
|
if (typeof name === "string") {
|
|
125
154
|
const ids = Object.hasOwn(STATEMENT_CAPABILITIES, name) ? STATEMENT_CAPABILITIES[name] : void 0;
|
|
126
|
-
for (const id of ids ?? [])
|
|
127
|
-
|
|
128
|
-
|
|
155
|
+
for (const id of ids ?? []) need(id, name, name, context);
|
|
156
|
+
const mode = ASYNC_RUN_STATEMENTS.has(name) ? obj.runtime?.mode : void 0;
|
|
157
|
+
if (typeof mode === "string" && Object.hasOwn(ASYNC_MODE_CAPABILITIES, mode)) {
|
|
158
|
+
need(ASYNC_MODE_CAPABILITIES[mode], name, `${name}@${mode}`, context);
|
|
129
159
|
}
|
|
130
160
|
}
|
|
131
161
|
for (const [k, value] of Object.entries(obj)) walk(value, nextContext, k, key === "payload");
|
|
@@ -134,15 +164,40 @@ function bundleCapabilities(bundle) {
|
|
|
134
164
|
return [...statements.entries()].map(([id, names]) => ({
|
|
135
165
|
id,
|
|
136
166
|
label: CAPABILITIES[id].label,
|
|
137
|
-
effect: effectOf(id,
|
|
167
|
+
effect: effectOf(id, effects.get(id) ?? /* @__PURE__ */ new Set()),
|
|
138
168
|
statements: [...names].sort(),
|
|
139
|
-
objects: [...objects.get(id) ?? []].sort()
|
|
169
|
+
objects: [...objects.get(id) ?? []].sort(),
|
|
170
|
+
...localEngineNote(CAPABILITIES[id])
|
|
140
171
|
})).sort((a, b) => a.label.localeCompare(b.label));
|
|
141
172
|
}
|
|
173
|
+
function capabilityReport(needs, opts) {
|
|
174
|
+
if (needs.length === 0) return { info: void 0, unavailable: [] };
|
|
175
|
+
const unavailable = [];
|
|
176
|
+
const lines = needs.map((need) => {
|
|
177
|
+
const where = need.objects.length ? ` (e.g. ${need.objects[0]}${need.objects.length > 1 ? ` +${need.objects.length - 1} more` : ""})` : "";
|
|
178
|
+
if (opts.localEngine && need.localEngineRefusal !== void 0) {
|
|
179
|
+
unavailable.push({
|
|
180
|
+
id: need.id,
|
|
181
|
+
message: `${need.label} is unavailable on the local Xano Engine: ${need.effect} returns ${need.localEngineRefusal} there${where}. Exercise it on an ephemeral (\`deploy --ephemeral\`).`
|
|
182
|
+
});
|
|
183
|
+
return `${need.label} \u2014 ${need.effect}${where}; unavailable on the local Xano Engine`;
|
|
184
|
+
}
|
|
185
|
+
return `${need.label} \u2014 ${need.effect}${where}${need.localEngine !== void 0 ? `; \u26A0 ${need.localEngine}` : ""}`;
|
|
186
|
+
});
|
|
187
|
+
return {
|
|
188
|
+
info: {
|
|
189
|
+
heading: `This bundle needs ${needs.length} instance capabilit${needs.length === 1 ? "y" : "ies"}:`,
|
|
190
|
+
lines,
|
|
191
|
+
footer: "Check these against the plan of anything you promote to; the deploy cannot."
|
|
192
|
+
},
|
|
193
|
+
unavailable
|
|
194
|
+
};
|
|
195
|
+
}
|
|
142
196
|
|
|
143
197
|
export {
|
|
144
198
|
CAPABILITIES,
|
|
145
199
|
STATEMENT_CAPABILITIES,
|
|
146
|
-
bundleCapabilities
|
|
200
|
+
bundleCapabilities,
|
|
201
|
+
capabilityReport
|
|
147
202
|
};
|
|
148
|
-
//# sourceMappingURL=chunk-
|
|
203
|
+
//# sourceMappingURL=chunk-X5NF3ZXW.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-FWD7AL6N.js";
|
|
9
9
|
import {
|
|
10
10
|
isLocalSpecifier
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YYBBJPCL.js";
|
|
12
12
|
import {
|
|
13
13
|
trackLocalWrite
|
|
14
14
|
} from "./chunk-4KHEMC32.js";
|
|
@@ -24,10 +24,10 @@ import {
|
|
|
24
24
|
localPathOf,
|
|
25
25
|
packageNameOf,
|
|
26
26
|
readInstalledManifestState
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XDGLYIB2.js";
|
|
28
28
|
import {
|
|
29
29
|
UsageError
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ZHFSIQ6E.js";
|
|
31
31
|
|
|
32
32
|
// src/emit/project-dependency.ts
|
|
33
33
|
import { existsSync, readFileSync } from "fs";
|
|
@@ -169,4 +169,4 @@ export {
|
|
|
169
169
|
removeDependency,
|
|
170
170
|
recordedDependency
|
|
171
171
|
};
|
|
172
|
-
//# sourceMappingURL=chunk-
|
|
172
|
+
//# sourceMappingURL=chunk-XAE4NIZ2.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-WAVNUTMT.js";
|
|
4
4
|
import {
|
|
5
5
|
UsageError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZHFSIQ6E.js";
|
|
7
7
|
|
|
8
8
|
// src/emit/module-manifest.ts
|
|
9
9
|
import { existsSync, readFileSync, statSync } from "fs";
|
|
@@ -179,4 +179,4 @@ export {
|
|
|
179
179
|
loadFile,
|
|
180
180
|
homepageOf
|
|
181
181
|
};
|
|
182
|
-
//# sourceMappingURL=chunk-
|
|
182
|
+
//# sourceMappingURL=chunk-XDGLYIB2.js.map
|