@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,12 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveAuthRef
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import {
|
|
5
|
-
obj
|
|
6
|
-
} from "./chunk-76SBT7KS.js";
|
|
3
|
+
} from "./chunk-TPUAXIPR.js";
|
|
7
4
|
import {
|
|
8
5
|
buildBundle
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QDPY7RN3.js";
|
|
10
7
|
import {
|
|
11
8
|
checkAddonAttachments,
|
|
12
9
|
checkAddonOutput,
|
|
@@ -16,9 +13,13 @@ import {
|
|
|
16
13
|
checkApiGroupDocsExposure,
|
|
17
14
|
checkAssertionsOutsideTests,
|
|
18
15
|
checkAuthNoCaller,
|
|
16
|
+
checkAuthTokenOptionalExpiration,
|
|
19
17
|
checkCacheTtl,
|
|
18
|
+
checkConditionallyBoundVars,
|
|
19
|
+
checkConstantArrayKeys,
|
|
20
20
|
checkDecodeOnlyStatements,
|
|
21
21
|
checkDocumentationTokens,
|
|
22
|
+
checkEditOptionalInput,
|
|
22
23
|
checkExpressionOperands,
|
|
23
24
|
checkGuardRoleColumns,
|
|
24
25
|
checkIntRange,
|
|
@@ -28,6 +29,7 @@ import {
|
|
|
28
29
|
checkLoopControl,
|
|
29
30
|
checkMcpResourceUris,
|
|
30
31
|
checkMcpStackHazards,
|
|
32
|
+
checkMcpTriggerResponseKeys,
|
|
31
33
|
checkMicroserviceBlocks,
|
|
32
34
|
checkMicroserviceReferences,
|
|
33
35
|
checkMicroserviceSecrets,
|
|
@@ -36,7 +38,10 @@ import {
|
|
|
36
38
|
checkNullMatchArgs,
|
|
37
39
|
checkOmittedCallInputs,
|
|
38
40
|
checkPasswordInputHashing,
|
|
41
|
+
checkPatchRawInput,
|
|
39
42
|
checkPathSegmentCandidates,
|
|
43
|
+
checkPreconditionBareErrors,
|
|
44
|
+
checkPredicateIndexReads,
|
|
40
45
|
checkPrimitiveAuthIdentity,
|
|
41
46
|
checkRatelimitWithoutError,
|
|
42
47
|
checkRealtimeDeliver,
|
|
@@ -48,6 +53,9 @@ import {
|
|
|
48
53
|
checkRegexOperandOrder,
|
|
49
54
|
checkReservedColumnNames,
|
|
50
55
|
checkReservedInputNames,
|
|
56
|
+
checkReturnedIncludeMeta,
|
|
57
|
+
checkReturnedStreams,
|
|
58
|
+
checkReturnsOutsideInferredType,
|
|
51
59
|
checkRouteShadowing,
|
|
52
60
|
checkRunFamilyHosts,
|
|
53
61
|
checkSafeRefMatchArgs,
|
|
@@ -60,9 +68,14 @@ import {
|
|
|
60
68
|
checkTimezoneArgs,
|
|
61
69
|
checkToThrowScope,
|
|
62
70
|
checkToolAuthIdentity,
|
|
71
|
+
checkToolCallReadsAuth,
|
|
72
|
+
checkToolDescriptionShadowed,
|
|
63
73
|
checkToolOutputSchema,
|
|
74
|
+
checkTriggerAbsentSideReads,
|
|
64
75
|
checkTriggerBindings,
|
|
76
|
+
checkUnboundPredicates,
|
|
65
77
|
checkUnboundVarRefs,
|
|
78
|
+
checkUncheckedWorkflowTestCalls,
|
|
66
79
|
checkUnitTests,
|
|
67
80
|
checkUnknownCallInputs,
|
|
68
81
|
checkUnusableColumnNames,
|
|
@@ -72,13 +85,16 @@ import {
|
|
|
72
85
|
postEnvelopeMisreads,
|
|
73
86
|
unnestedEnvelopeReads,
|
|
74
87
|
walkNodes
|
|
75
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-HXPQXCOZ.js";
|
|
89
|
+
import {
|
|
90
|
+
obj
|
|
91
|
+
} from "./chunk-U56HK2RG.js";
|
|
76
92
|
import {
|
|
77
93
|
WORKSPACE_HISTORY_TYPES,
|
|
78
94
|
assertNameAsStored,
|
|
79
95
|
middlewareEntryGuid,
|
|
80
96
|
stackReferencesAuth
|
|
81
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-WAP5362D.js";
|
|
82
98
|
import {
|
|
83
99
|
defKindOf
|
|
84
100
|
} from "./chunk-ERVIASGL.js";
|
|
@@ -90,7 +106,7 @@ import {
|
|
|
90
106
|
assertTestIds,
|
|
91
107
|
encodeObject,
|
|
92
108
|
getKind
|
|
93
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-JHAZK4RY.js";
|
|
94
110
|
import {
|
|
95
111
|
documentationTokenDeclarations,
|
|
96
112
|
resolveDocumentationTokens
|
|
@@ -102,7 +118,7 @@ import {
|
|
|
102
118
|
DiagnosticBag,
|
|
103
119
|
allowableWarnings,
|
|
104
120
|
setDiagnosticSink
|
|
105
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-FMXPV5JI.js";
|
|
106
122
|
import {
|
|
107
123
|
CANONICAL_PAYLOAD_KEYS,
|
|
108
124
|
LOCK_PAYLOAD_KEYS,
|
|
@@ -113,26 +129,29 @@ import {
|
|
|
113
129
|
mintCanonical,
|
|
114
130
|
recordObserved,
|
|
115
131
|
sdkKindName
|
|
116
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-VQDVEHDB.js";
|
|
117
133
|
import {
|
|
118
134
|
HOSTED_ICON_KINDS,
|
|
119
135
|
pendingHostedFile
|
|
120
136
|
} from "./chunk-VQPDATQT.js";
|
|
137
|
+
import {
|
|
138
|
+
statementLabel
|
|
139
|
+
} from "./chunk-F3JK5RIY.js";
|
|
121
140
|
import {
|
|
122
141
|
isTaggedValue
|
|
123
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-SIW2HT2H.js";
|
|
124
143
|
import {
|
|
125
144
|
REFERENCEABLE_KINDS,
|
|
126
145
|
deriveGuid,
|
|
127
146
|
refSpelling,
|
|
128
147
|
resolveRef
|
|
129
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-FTS42N37.js";
|
|
130
149
|
import {
|
|
131
150
|
getLockedCanonical
|
|
132
151
|
} from "./chunk-4BW2SG2N.js";
|
|
133
152
|
import {
|
|
134
153
|
describeEntry
|
|
135
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-SGEOXJIH.js";
|
|
136
155
|
import {
|
|
137
156
|
withArticle
|
|
138
157
|
} from "./chunk-36JUQZVQ.js";
|
|
@@ -688,6 +707,17 @@ function tableShapes(sections) {
|
|
|
688
707
|
}
|
|
689
708
|
return out;
|
|
690
709
|
}
|
|
710
|
+
function inputShapes(obj2) {
|
|
711
|
+
const out = /* @__PURE__ */ new Map();
|
|
712
|
+
if (!Array.isArray(obj2.input)) return out;
|
|
713
|
+
for (const entry of obj2.input) {
|
|
714
|
+
const e = entry;
|
|
715
|
+
if (typeof e?.name !== "string" || e.name === "" || typeof e.type !== "string") continue;
|
|
716
|
+
if (/_mvpschema$/.test(e.type)) continue;
|
|
717
|
+
out.set(e.name, { type: e.type, list: e.style?.type === "list" });
|
|
718
|
+
}
|
|
719
|
+
return out;
|
|
720
|
+
}
|
|
691
721
|
function describeColumn(name, c) {
|
|
692
722
|
return `\`${name}\` (${c.type}${c.list ? " list" : ""})`;
|
|
693
723
|
}
|
|
@@ -695,7 +725,14 @@ function describeLiteral(s) {
|
|
|
695
725
|
if (s.kind === "list") return `a ${s.length}-element list`;
|
|
696
726
|
return s.kind === "object" ? "an object" : "a scalar";
|
|
697
727
|
}
|
|
698
|
-
function
|
|
728
|
+
function inputShape(o, inputs) {
|
|
729
|
+
if (o.tag !== "input" || typeof o.operand !== "string" || !unfiltered(o)) return void 0;
|
|
730
|
+
return inputs?.get(o.operand);
|
|
731
|
+
}
|
|
732
|
+
function problem(op, left, right, columns, inputs) {
|
|
733
|
+
if (op === "===" || op === "!==") {
|
|
734
|
+
return `the database has no \`${op}\` operator ("Invalid name: ${op}") \u2014 use \`${op === "===" ? "=" : "!="}\``;
|
|
735
|
+
}
|
|
699
736
|
if (right.ignore_empty === true && emptyLiteral(right)) return void 0;
|
|
700
737
|
const lit = literalShape(right);
|
|
701
738
|
const leftName = left.tag === "col" && typeof left.operand === "string" && unfiltered(left) ? left.operand : void 0;
|
|
@@ -725,6 +762,15 @@ function problem(op, left, right, columns) {
|
|
|
725
762
|
if ((op === "includes" || op === "not includes") && column.type === "bool") {
|
|
726
763
|
return `\`${op}\` does not take a bool column (${col})`;
|
|
727
764
|
}
|
|
765
|
+
if ((op === "includes" || op === "not includes") && column.list) {
|
|
766
|
+
return `\`${op}\` is a substring match on a scalar text column, and ${col} is a list: every request 500s "UNDEFINED FUNCTION" on the cloud. Match an element with \`${op === "includes" ? "contains" : "not contains"}\` and a list on the right`;
|
|
767
|
+
}
|
|
768
|
+
if (CONTAINMENT_OPS.has(op) && column.list) {
|
|
769
|
+
const inShape = inputShape(right, inputs);
|
|
770
|
+
if (inShape !== void 0 && !inShape.list && SCALAR_COLUMN_TYPES.has(inShape.type)) {
|
|
771
|
+
return `\`${op}\` on ${col} needs a LIST on the right, and \`inp("${right.operand}")\` is a scalar \`${inShape.type}\` input \u2014 it 400s \`Invalid value for param\` on every request that sends one. Build a list first (\`s.set_var("vals", withFilters(c.array([]), fl.array_push(inp("${right.operand}")), fl.filter_empty_text()))\`) and compare \`ref("vals")\``;
|
|
772
|
+
}
|
|
773
|
+
}
|
|
728
774
|
if (!lit) return void 0;
|
|
729
775
|
if (op === "in" || op === "not in") {
|
|
730
776
|
if (!column.list && lit.kind !== "list") return `\`${op}\` on ${col} needs a list on the right; it has ${describeLiteral(lit)}`;
|
|
@@ -781,6 +827,7 @@ function checkFilterOperands(sections, bag) {
|
|
|
781
827
|
for (const [payloadKey, arr] of Object.entries(sections)) {
|
|
782
828
|
for (const obj2 of arr ?? []) {
|
|
783
829
|
if (!obj2 || typeof obj2 !== "object") continue;
|
|
830
|
+
const inputs = inputShapes(obj2);
|
|
784
831
|
const found = [];
|
|
785
832
|
walk(obj2, (record) => {
|
|
786
833
|
const context = record.context;
|
|
@@ -790,7 +837,7 @@ function checkFilterOperands(sections, bag) {
|
|
|
790
837
|
walk(context.search, (node) => {
|
|
791
838
|
const s = node.statement;
|
|
792
839
|
if (!s || typeof s !== "object" || typeof s.op !== "string") return;
|
|
793
|
-
const why = problem(s.op, s.left ?? {}, s.right ?? {}, columns);
|
|
840
|
+
const why = problem(s.op, s.left ?? {}, s.right ?? {}, columns, inputs);
|
|
794
841
|
if (why !== void 0) found.push(why);
|
|
795
842
|
});
|
|
796
843
|
});
|
|
@@ -808,6 +855,157 @@ function checkFilterOperands(sections, bag) {
|
|
|
808
855
|
}
|
|
809
856
|
}
|
|
810
857
|
|
|
858
|
+
// src/workspace/drill-maybe-null.ts
|
|
859
|
+
var DB_GET = "mvp:dbo_getby";
|
|
860
|
+
var DB_QUERY = "mvp:dbo_view";
|
|
861
|
+
var PRECONDITION = "mvp:precondition";
|
|
862
|
+
var CONDITIONAL = "mvp:conditional";
|
|
863
|
+
var TERMINAL = /* @__PURE__ */ new Set(["mvp:throw_error", "mvp:return", PRECONDITION]);
|
|
864
|
+
function isStatement(node) {
|
|
865
|
+
return !!node && typeof node === "object" && !Array.isArray(node) && typeof node.name === "string" && node.name.startsWith("mvp:");
|
|
866
|
+
}
|
|
867
|
+
function maybeNullSource(st) {
|
|
868
|
+
if (st.name === DB_GET) return "`s.db.get`";
|
|
869
|
+
if (st.name === DB_QUERY) {
|
|
870
|
+
const type = st.context?.return?.type;
|
|
871
|
+
if (type === "single") return '`s.db.query` with `returnType: "single"`';
|
|
872
|
+
}
|
|
873
|
+
return void 0;
|
|
874
|
+
}
|
|
875
|
+
var EXPR_VAR = /\$var\.([A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*)*)/g;
|
|
876
|
+
function ownReads(root, out, children) {
|
|
877
|
+
const stack = [root];
|
|
878
|
+
let first = true;
|
|
879
|
+
while (stack.length > 0) {
|
|
880
|
+
const node = stack.pop();
|
|
881
|
+
if (Array.isArray(node)) {
|
|
882
|
+
for (let i = node.length - 1; i >= 0; i--) stack.push(node[i]);
|
|
883
|
+
continue;
|
|
884
|
+
}
|
|
885
|
+
if (!node || typeof node !== "object") continue;
|
|
886
|
+
const record = node;
|
|
887
|
+
if (!first && isStatement(record)) {
|
|
888
|
+
children?.push(record);
|
|
889
|
+
continue;
|
|
890
|
+
}
|
|
891
|
+
first = false;
|
|
892
|
+
if (record.tag === "var") {
|
|
893
|
+
for (const path of [record.value, record.operand]) if (typeof path === "string") out.push({ path });
|
|
894
|
+
} else if (record.tag === "const:expr2") {
|
|
895
|
+
for (const text of [record.value, record.operand]) {
|
|
896
|
+
if (typeof text !== "string" || !text.includes("$var.")) continue;
|
|
897
|
+
const code = text.replace(/"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'/g, '""');
|
|
898
|
+
for (const m of code.matchAll(EXPR_VAR)) out.push({ path: m[1] });
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
const entries = Object.entries(record).filter(([key]) => key !== "mocks");
|
|
902
|
+
for (let i = entries.length - 1; i >= 0; i--) stack.push(entries[i][1]);
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
function baseOf(path) {
|
|
906
|
+
const dot = path.indexOf(".");
|
|
907
|
+
return dot === -1 ? path : path.slice(0, dot);
|
|
908
|
+
}
|
|
909
|
+
function hasTerminal(children) {
|
|
910
|
+
const stack = [...children];
|
|
911
|
+
while (stack.length > 0) {
|
|
912
|
+
const node = stack.pop();
|
|
913
|
+
if (Array.isArray(node)) {
|
|
914
|
+
stack.push(...node);
|
|
915
|
+
continue;
|
|
916
|
+
}
|
|
917
|
+
if (!node || typeof node !== "object") continue;
|
|
918
|
+
const record = node;
|
|
919
|
+
if (isStatement(record)) {
|
|
920
|
+
if (record.disabled === true) continue;
|
|
921
|
+
if (TERMINAL.has(record.name)) return true;
|
|
922
|
+
}
|
|
923
|
+
stack.push(...Object.values(record));
|
|
924
|
+
}
|
|
925
|
+
return false;
|
|
926
|
+
}
|
|
927
|
+
var Walk = class {
|
|
928
|
+
/** Bases currently bound to a row-or-null nothing has narrowed, by their binding statement. */
|
|
929
|
+
maybeNull = /* @__PURE__ */ new Map();
|
|
930
|
+
findings = [];
|
|
931
|
+
report(reads, where, exempt = /* @__PURE__ */ new Set()) {
|
|
932
|
+
for (const { path } of reads) {
|
|
933
|
+
if (!path.includes(".")) continue;
|
|
934
|
+
const base = baseOf(path);
|
|
935
|
+
const source = this.maybeNull.get(base);
|
|
936
|
+
if (source === void 0 || exempt.has(base)) continue;
|
|
937
|
+
this.findings.push({ base, path, source, where });
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
statements(list) {
|
|
941
|
+
for (const node of list) if (isStatement(node)) this.statement(node);
|
|
942
|
+
}
|
|
943
|
+
statement(st) {
|
|
944
|
+
if (st.disabled === true) return;
|
|
945
|
+
const reads = [];
|
|
946
|
+
const children = [];
|
|
947
|
+
ownReads(st, reads, children);
|
|
948
|
+
const readBases = new Set(reads.map((r) => baseOf(r.path)));
|
|
949
|
+
const isCondition = st.name === PRECONDITION || st.name === CONDITIONAL;
|
|
950
|
+
const tested = isCondition ? new Set(reads.filter((r) => !r.path.includes(".")).map((r) => r.path)) : void 0;
|
|
951
|
+
this.report(reads, `\`${statementLabel(st.name)}\``, tested);
|
|
952
|
+
const as = typeof st.as === "string" ? st.as : "";
|
|
953
|
+
if (as !== "") {
|
|
954
|
+
const source = maybeNullSource(st);
|
|
955
|
+
if (source !== void 0) this.maybeNull.set(as, source);
|
|
956
|
+
else this.maybeNull.delete(as);
|
|
957
|
+
}
|
|
958
|
+
const context = st.context;
|
|
959
|
+
for (const name of [context?.as, context?.name]) {
|
|
960
|
+
if (typeof name === "string" && name !== "") this.maybeNull.delete(baseOf(name));
|
|
961
|
+
}
|
|
962
|
+
if (st.name === PRECONDITION) {
|
|
963
|
+
for (const base of readBases) this.maybeNull.delete(base);
|
|
964
|
+
}
|
|
965
|
+
if (st.name === CONDITIONAL) {
|
|
966
|
+
const narrowed = [...readBases].filter((base) => this.maybeNull.has(base));
|
|
967
|
+
const saved = new Map(narrowed.map((base) => [base, this.maybeNull.get(base)]));
|
|
968
|
+
for (const base of narrowed) this.maybeNull.delete(base);
|
|
969
|
+
this.statements(children);
|
|
970
|
+
if (!hasTerminal(children)) {
|
|
971
|
+
for (const [base, source] of saved) if (!this.maybeNull.has(base)) this.maybeNull.set(base, source);
|
|
972
|
+
}
|
|
973
|
+
return;
|
|
974
|
+
}
|
|
975
|
+
this.statements(children);
|
|
976
|
+
}
|
|
977
|
+
response(result) {
|
|
978
|
+
const reads = [];
|
|
979
|
+
ownReads({ result }, reads);
|
|
980
|
+
this.report(reads, "the response");
|
|
981
|
+
}
|
|
982
|
+
};
|
|
983
|
+
function checkDrillMaybeNull(sections, bag) {
|
|
984
|
+
for (const [payloadKey, arr] of Object.entries(sections)) {
|
|
985
|
+
for (const obj2 of arr ?? []) {
|
|
986
|
+
if (!obj2 || typeof obj2 !== "object") continue;
|
|
987
|
+
const record = obj2;
|
|
988
|
+
if (!Array.isArray(record.run)) continue;
|
|
989
|
+
const walk2 = new Walk();
|
|
990
|
+
walk2.statements(record.run);
|
|
991
|
+
if ("result" in record) walk2.response(record.result);
|
|
992
|
+
if (walk2.findings.length === 0) continue;
|
|
993
|
+
const name = record.name;
|
|
994
|
+
const owner = `${sdkKindName(payloadKey, obj2)} "${typeof name === "string" ? name : "?"}"`;
|
|
995
|
+
const reported = /* @__PURE__ */ new Set();
|
|
996
|
+
for (const { base, path, source, where } of walk2.findings) {
|
|
997
|
+
if (reported.has(base)) continue;
|
|
998
|
+
reported.add(base);
|
|
999
|
+
bag.warn(
|
|
1000
|
+
"stack.drill-maybe-null",
|
|
1001
|
+
`${owner}: \`ref("${path}")\` in ${where} drills into \`${base}\`, which ${source} binds to \`null\` when no row matches, and nothing before it checks that. On a miss the engine does not serve null: it raises \`Unable to locate var: ${path}\` (HTTP 500). Either guard existence first \u2014 \`guard.found("${base}")\` before the drill answers a proper 404 \u2014 or drill null-safe with \`ref("${path}", { safe: true })\` to serve \`null\`.`,
|
|
1002
|
+
obj2
|
|
1003
|
+
);
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
|
|
811
1009
|
// src/workspace/xano.ts
|
|
812
1010
|
var MIDDLEWARE_HOST_KINDS = ["query", "task", "function", "tool", "prompt", "resource"];
|
|
813
1011
|
var XANO_BRAND = /* @__PURE__ */ Symbol.for("xanosdk.Xano");
|
|
@@ -1032,6 +1230,7 @@ var Xano = class {
|
|
|
1032
1230
|
const encoded = this.encodeOne(kind, def);
|
|
1033
1231
|
const allow = allows[i];
|
|
1034
1232
|
if (allow && encoded && typeof encoded === "object") this.accepted.set(encoded, allow);
|
|
1233
|
+
if (encoded && typeof encoded === "object" && Object.hasOwn(def, "responseShape")) this.shapedResponses.add(encoded);
|
|
1035
1234
|
bucket.push(encoded);
|
|
1036
1235
|
});
|
|
1037
1236
|
this.sections.set(kind.payloadKey, bucket);
|
|
@@ -1104,6 +1303,8 @@ var Xano = class {
|
|
|
1104
1303
|
registered = /* @__PURE__ */ new Set();
|
|
1105
1304
|
/** The warnings each encoded object's encoder raised, raised again about it by every export. */
|
|
1106
1305
|
encodeWarnings = /* @__PURE__ */ new WeakMap();
|
|
1306
|
+
/** The encoded objects whose def declares `responseShape` (a type-only field the encoding drops). */
|
|
1307
|
+
shapedResponses = /* @__PURE__ */ new WeakSet();
|
|
1107
1308
|
/** Each encoded object's accepted warning codes, from its def's `diagnostics.allow`. */
|
|
1108
1309
|
accepted = /* @__PURE__ */ new WeakMap();
|
|
1109
1310
|
/** The workspace config's accepted warning codes — they hold for every object. */
|
|
@@ -1425,6 +1626,7 @@ var Xano = class {
|
|
|
1425
1626
|
checkMicroserviceBlocks(sections, bag);
|
|
1426
1627
|
checkNonJsonValues(sections, bag, this.workspaceConfig);
|
|
1427
1628
|
checkLiveDatasourceTests(sections, bag);
|
|
1629
|
+
checkUncheckedWorkflowTestCalls(sections, bag);
|
|
1428
1630
|
checkStacks(
|
|
1429
1631
|
this.tableDefs,
|
|
1430
1632
|
sections,
|
|
@@ -1437,6 +1639,13 @@ var Xano = class {
|
|
|
1437
1639
|
checkZeroBasedObjects(sections, bag);
|
|
1438
1640
|
checkIntRange(sections, bag);
|
|
1439
1641
|
checkRegexOperandOrder(sections, bag);
|
|
1642
|
+
checkUnboundPredicates(sections, bag);
|
|
1643
|
+
checkConstantArrayKeys(sections, bag);
|
|
1644
|
+
checkPredicateIndexReads(sections, bag);
|
|
1645
|
+
checkPreconditionBareErrors(sections, bag);
|
|
1646
|
+
checkReturnedStreams(sections, bag);
|
|
1647
|
+
checkReturnedIncludeMeta(sections, bag);
|
|
1648
|
+
checkReturnsOutsideInferredType(sections, bag, (encoded) => this.shapedResponses.has(encoded));
|
|
1440
1649
|
checkTimezoneArgs(sections, bag);
|
|
1441
1650
|
checkReferences(this.bundleType, sections, this.workspaceConfig.guid, bag);
|
|
1442
1651
|
checkMicroserviceReferences(this.bundleType, sections, bag);
|
|
@@ -1456,18 +1665,26 @@ var Xano = class {
|
|
|
1456
1665
|
checkStackAuthRatelimit(sections, bag);
|
|
1457
1666
|
checkRatelimitWithoutError(sections, bag);
|
|
1458
1667
|
checkAuthNoCaller(sections, bag);
|
|
1668
|
+
checkToolCallReadsAuth(sections, bag);
|
|
1669
|
+
checkPatchRawInput(sections, bag);
|
|
1670
|
+
checkEditOptionalInput(sections, bag);
|
|
1671
|
+
checkAuthTokenOptionalExpiration(sections, bag);
|
|
1459
1672
|
checkRealtimeGates(sections, bag);
|
|
1460
1673
|
checkRealtimeSilentShapes(sections, bag);
|
|
1461
1674
|
checkNonNullVectorColumns(sections, bag);
|
|
1462
1675
|
checkRealtimeDeliver(this.bundleType, sections, bag);
|
|
1463
1676
|
checkRealtimeJoinDeliver(sections, bag);
|
|
1464
1677
|
checkTriggerBindings(sections, bag);
|
|
1678
|
+
checkTriggerAbsentSideReads(sections, bag);
|
|
1679
|
+
checkMcpTriggerResponseKeys(sections, bag);
|
|
1465
1680
|
checkUnboundVarRefs(sections, bag);
|
|
1681
|
+
checkConditionallyBoundVars(sections, bag);
|
|
1466
1682
|
checkToThrowScope(sections, bag);
|
|
1467
1683
|
checkPasswordInputHashing(sections, bag);
|
|
1468
1684
|
checkZipPasswordKeys(sections, bag);
|
|
1469
1685
|
checkSafeRefMatchArgs(sections, bag);
|
|
1470
1686
|
checkNullMatchArgs(sections, bag);
|
|
1687
|
+
checkDrillMaybeNull(sections, bag);
|
|
1471
1688
|
checkPathSegmentCandidates(sections, bag);
|
|
1472
1689
|
checkRouteShadowing(sections, bag);
|
|
1473
1690
|
checkSameNameSiblings(sections, bag);
|
|
@@ -1483,6 +1700,7 @@ var Xano = class {
|
|
|
1483
1700
|
checkAddonOutput(sections, bag);
|
|
1484
1701
|
checkGuardRoleColumns(sections, this.tableDefs, bag);
|
|
1485
1702
|
checkToolOutputSchema(sections, bag);
|
|
1703
|
+
checkToolDescriptionShadowed(sections, bag);
|
|
1486
1704
|
checkAgentArgPlaceholders(sections, bag);
|
|
1487
1705
|
checkAgentToolsOff(sections, bag);
|
|
1488
1706
|
checkAssertionsOutsideTests(sections, bag);
|
|
@@ -1615,7 +1833,7 @@ var Xano = class {
|
|
|
1615
1833
|
* middleware registry is known (an attachment entry only carries the target's
|
|
1616
1834
|
* guid; we resolve it back to the encoded `run` to inspect for `auth()`).
|
|
1617
1835
|
*
|
|
1618
|
-
* It **warns, never throws** —
|
|
1836
|
+
* It **warns, never throws** — an `auth()` reference alone is not proof the
|
|
1619
1837
|
* request will fail: the statement holding it may sit on a branch that never
|
|
1620
1838
|
* runs on this host, and the same middleware object is often attached to
|
|
1621
1839
|
* authenticated hosts too. Blocking the export would produce false positives
|
|
@@ -1891,9 +2109,10 @@ export {
|
|
|
1891
2109
|
MCP_OAUTH_ENV_REF,
|
|
1892
2110
|
encodeMcpOauth,
|
|
1893
2111
|
checkFilterOperands,
|
|
2112
|
+
checkDrillMaybeNull,
|
|
1894
2113
|
XANO_ORIGIN,
|
|
1895
2114
|
standaloneDefKind,
|
|
1896
2115
|
Xano,
|
|
1897
2116
|
workspace
|
|
1898
2117
|
};
|
|
1899
|
-
//# sourceMappingURL=chunk-
|
|
2118
|
+
//# sourceMappingURL=chunk-23GEFHRX.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
serverMessage,
|
|
10
10
|
statusLabel,
|
|
11
11
|
transportTarget
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NH5Z2NOD.js";
|
|
13
13
|
import {
|
|
14
14
|
withArticle
|
|
15
15
|
} from "./chunk-36JUQZVQ.js";
|
|
@@ -110,4 +110,4 @@ export {
|
|
|
110
110
|
assertBranchReadSupported,
|
|
111
111
|
exportWorkspaceBundle
|
|
112
112
|
};
|
|
113
|
-
//# sourceMappingURL=chunk-
|
|
113
|
+
//# sourceMappingURL=chunk-2DUYJR5N.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
LOCK_PAYLOAD_KEYS,
|
|
3
3
|
lockKey,
|
|
4
4
|
withSyncedOf
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VQDVEHDB.js";
|
|
6
6
|
|
|
7
7
|
// src/lock/landed.ts
|
|
8
8
|
function destinationKey(instance, dest) {
|
|
@@ -160,4 +160,4 @@ export {
|
|
|
160
160
|
withoutLanding,
|
|
161
161
|
landedOn
|
|
162
162
|
};
|
|
163
|
-
//# sourceMappingURL=chunk-
|
|
163
|
+
//# sourceMappingURL=chunk-2H5BQRHF.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
questionOrCancel
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AICWDCLJ.js";
|
|
4
4
|
import {
|
|
5
5
|
style,
|
|
6
6
|
terminalText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZHFSIQ6E.js";
|
|
8
8
|
|
|
9
9
|
// src/emit/plugin-prompt.ts
|
|
10
10
|
import { createInterface } from "readline/promises";
|
|
@@ -54,4 +54,4 @@ export {
|
|
|
54
54
|
promptPluginQuestion,
|
|
55
55
|
pluginPrompter
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=chunk-
|
|
57
|
+
//# sourceMappingURL=chunk-35SI4GBM.js.map
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
composeRoutesManifest,
|
|
3
3
|
fireRoutesManifest,
|
|
4
4
|
parseModuleSections
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QIT2GGNB.js";
|
|
6
6
|
import {
|
|
7
7
|
ROUTES_MANIFEST_BASENAME,
|
|
8
8
|
renderPlannedManifest,
|
|
9
9
|
renderRouteManifest
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SVQMDVND.js";
|
|
11
11
|
import {
|
|
12
12
|
warn
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZHFSIQ6E.js";
|
|
14
14
|
|
|
15
15
|
// src/emit/routes-manifest-file.ts
|
|
16
16
|
import { existsSync, readFileSync, statSync } from "fs";
|
|
17
17
|
async function discoverManifestModules(projectDir, manifestPath, sdkVersion) {
|
|
18
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
18
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-PBVBCPQJ.js");
|
|
19
19
|
const { loaded, skipped } = await discoverToolchainPlugins(projectDir, { frozen: false, peerSkew: "skip" });
|
|
20
20
|
return {
|
|
21
21
|
loaded,
|
|
@@ -75,4 +75,4 @@ export {
|
|
|
75
75
|
renderManifestFile,
|
|
76
76
|
reportModuleFailures
|
|
77
77
|
};
|
|
78
|
-
//# sourceMappingURL=chunk-
|
|
78
|
+
//# sourceMappingURL=chunk-3ZV23FVR.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findRelease,
|
|
3
3
|
listReleases
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UH5VQGNR.js";
|
|
5
5
|
import {
|
|
6
6
|
isSignatureRefusal
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GA6HTO3O.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveEphemeralName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WXQ7BHVQ.js";
|
|
11
11
|
import {
|
|
12
12
|
clearEngineRecordsNamed,
|
|
13
13
|
getEngineRecord,
|
|
@@ -25,26 +25,26 @@ import {
|
|
|
25
25
|
selectorFix,
|
|
26
26
|
sentenceCase,
|
|
27
27
|
sharedDisplayHint
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-OTQF4B37.js";
|
|
29
29
|
import {
|
|
30
30
|
getTenant,
|
|
31
31
|
tenantHasWorkspace
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-G2XSDIYS.js";
|
|
33
33
|
import {
|
|
34
34
|
getEphemeral,
|
|
35
35
|
isExpired
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-7UQZ7C4W.js";
|
|
37
37
|
import {
|
|
38
38
|
clearEnvironment,
|
|
39
39
|
getEnvironment,
|
|
40
40
|
readEphemeralState
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-WGKKDGSA.js";
|
|
42
42
|
import {
|
|
43
43
|
pipedYes
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-GJZMKMWO.js";
|
|
45
45
|
import {
|
|
46
46
|
contextFlags
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-ZYZ7GRX3.js";
|
|
48
48
|
import {
|
|
49
49
|
TransportError,
|
|
50
50
|
UNTRUSTED_CERTIFICATE,
|
|
@@ -52,12 +52,12 @@ import {
|
|
|
52
52
|
certificateFailureCode,
|
|
53
53
|
isTimeoutError,
|
|
54
54
|
lastRateLimitRetryAfter
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-NH5Z2NOD.js";
|
|
56
56
|
import {
|
|
57
57
|
CliError,
|
|
58
58
|
EXIT_SOURCE_UNRESOLVABLE,
|
|
59
59
|
safeText
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-ZHFSIQ6E.js";
|
|
61
61
|
import {
|
|
62
62
|
suggest,
|
|
63
63
|
suggestAll
|
|
@@ -561,13 +561,13 @@ function engineNotRunning(name, clearedProjects, deployFallback = true, nearest,
|
|
|
561
561
|
}
|
|
562
562
|
function defaultSweep(env) {
|
|
563
563
|
return async () => {
|
|
564
|
-
const { stopOrphanedEngineProcesses } = await import("./local-engine-process-
|
|
564
|
+
const { stopOrphanedEngineProcesses } = await import("./local-engine-process-35B2KQED.js");
|
|
565
565
|
return stopOrphanedEngineProcesses({ env }).stopped;
|
|
566
566
|
};
|
|
567
567
|
}
|
|
568
568
|
function defaultEnumeration(env, cwd) {
|
|
569
569
|
return async () => {
|
|
570
|
-
const { cachedEngineEntry, listEngines } = await import("./local-engine-process-
|
|
570
|
+
const { cachedEngineEntry, listEngines } = await import("./local-engine-process-35B2KQED.js");
|
|
571
571
|
const entry = cachedEngineEntry(env, cwd);
|
|
572
572
|
return entry === void 0 ? void 0 : listEngines({ entry, env });
|
|
573
573
|
};
|
|
@@ -598,4 +598,4 @@ export {
|
|
|
598
598
|
releaseNames,
|
|
599
599
|
resolveSource
|
|
600
600
|
};
|
|
601
|
-
//# sourceMappingURL=chunk-
|
|
601
|
+
//# sourceMappingURL=chunk-47XIVDJ6.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
describeArg,
|
|
3
3
|
isTaggedArg
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SGEOXJIH.js";
|
|
5
5
|
|
|
6
6
|
// src/statements/lean-input.ts
|
|
7
7
|
function leanInput(name, v) {
|
|
@@ -32,4 +32,4 @@ export {
|
|
|
32
32
|
assertInputValue,
|
|
33
33
|
assertOneOf
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=chunk-
|
|
35
|
+
//# sourceMappingURL=chunk-4EVDCSEY.js.map
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
rowLabeler,
|
|
7
7
|
sectionKind,
|
|
8
8
|
sectionOmission
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RIT3WBBX.js";
|
|
10
10
|
import {
|
|
11
11
|
canonicalJson
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EXJ4Q5F6.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-
|
|
113
|
+
//# sourceMappingURL=chunk-4XGZ325S.js.map
|