@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
|
backendDirFor,
|
|
3
3
|
backendDirIn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YJXJOMXW.js";
|
|
5
5
|
import {
|
|
6
6
|
XANO_DIR
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ISIZFK5Q.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-
|
|
15
|
+
} from "./chunk-ZHFSIQ6E.js";
|
|
16
16
|
import {
|
|
17
17
|
isRepresentableName
|
|
18
18
|
} from "./chunk-GSGDWJB5.js";
|
|
@@ -42,15 +42,11 @@ function isRepresentableValue(value) {
|
|
|
42
42
|
return valueProblem(value) === void 0;
|
|
43
43
|
}
|
|
44
44
|
function valueProblem(value) {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
newline: "carries a newline",
|
|
51
|
-
"edge-whitespace": "has leading or trailing whitespace",
|
|
52
|
-
quoted: "is wrapped in a matching quote pair that reading the file would strip"
|
|
53
|
-
};
|
|
45
|
+
return /[\n\r]/.test(value) ? "newline" : void 0;
|
|
46
|
+
}
|
|
47
|
+
function envFileValue(value) {
|
|
48
|
+
return value === "" || value !== value.trim() || isQuoted(value) ? `"${value}"` : value;
|
|
49
|
+
}
|
|
54
50
|
function isQuoted(value) {
|
|
55
51
|
const quote = value[0];
|
|
56
52
|
return (quote === '"' || quote === "'") && value.length > 1 && value.endsWith(quote);
|
|
@@ -69,6 +65,9 @@ function classifyEnv(args) {
|
|
|
69
65
|
};
|
|
70
66
|
}
|
|
71
67
|
function parseEnvFile(path, label = "--backend-env-file") {
|
|
68
|
+
return readEnvFile(path, label).values;
|
|
69
|
+
}
|
|
70
|
+
function readEnvFile(path, label = "--backend-env-file") {
|
|
72
71
|
let source;
|
|
73
72
|
try {
|
|
74
73
|
source = readFileSync(path, "utf8");
|
|
@@ -79,6 +78,8 @@ function parseEnvFile(path, label = "--backend-env-file") {
|
|
|
79
78
|
);
|
|
80
79
|
}
|
|
81
80
|
const out = /* @__PURE__ */ Object.create(null);
|
|
81
|
+
const bare = /* @__PURE__ */ new Set();
|
|
82
|
+
const hash = /* @__PURE__ */ new Set();
|
|
82
83
|
for (const [n, raw] of source.split("\n").entries()) {
|
|
83
84
|
const line = raw.trim();
|
|
84
85
|
if (line === "" || line.startsWith("#")) continue;
|
|
@@ -91,14 +92,21 @@ function parseEnvFile(path, label = "--backend-env-file") {
|
|
|
91
92
|
}
|
|
92
93
|
const key = body.slice(0, eq).trim();
|
|
93
94
|
let value = body.slice(eq + 1).trim();
|
|
95
|
+
if (value === "") bare.add(key);
|
|
96
|
+
else bare.delete(key);
|
|
97
|
+
if (!isQuoted(value) && /\s#/.test(value)) hash.add(key);
|
|
98
|
+
else hash.delete(key);
|
|
94
99
|
if (isQuoted(value)) value = value.slice(1, -1);
|
|
95
100
|
out[key] = value;
|
|
96
101
|
}
|
|
97
|
-
return out;
|
|
102
|
+
return { values: out, bareEmpty: [...bare], inlineHash: [...hash] };
|
|
98
103
|
}
|
|
99
104
|
function readWorkspaceEnvFile(path) {
|
|
105
|
+
return readWorkspaceEnvFileContents(path)?.values;
|
|
106
|
+
}
|
|
107
|
+
function readWorkspaceEnvFileContents(path) {
|
|
100
108
|
if (!existsSync(path)) return void 0;
|
|
101
|
-
return
|
|
109
|
+
return readEnvFile(path, WORKSPACE_ENV_FILE);
|
|
102
110
|
}
|
|
103
111
|
function commentSafe(name) {
|
|
104
112
|
return name.replace(/[\u0000-\u001F\u007F]/g, "?");
|
|
@@ -164,17 +172,22 @@ function renderWorkspaceEnvExample(names, backendDir = XANO_DIR) {
|
|
|
164
172
|
`;
|
|
165
173
|
}
|
|
166
174
|
const lines = names.map(
|
|
167
|
-
({ name, representable
|
|
175
|
+
({ name, representable }) => representable ? `# ${commentSafe(name)}=` : (
|
|
168
176
|
// No `NAME=` shape: the line must not parse back as a declared name, and
|
|
169
177
|
// no flag can supply a name `--env-var` refuses.
|
|
170
178
|
`# "${commentSafe(name)}" (not a usable env var name \u2014 letters, digits and _, not starting
|
|
171
179
|
# with a digit \u2014 so no file or flag can supply it. Rename it in \`workspaceConfig({ env })\`.)`
|
|
172
|
-
)
|
|
173
|
-
# so the dotenv format cannot carry it. Pass it with
|
|
174
|
-
# \`--env-var ${commentSafe(name)}=...\` instead.)`
|
|
180
|
+
)
|
|
175
181
|
);
|
|
176
182
|
return `${header}#
|
|
177
|
-
# One line per declared name. Uncomment and fill in the ones you need.
|
|
183
|
+
# One line per declared name. Uncomment and fill in the ones you need. A deploy
|
|
184
|
+
# refuses a line left as \`NAME=\`, because it would clear the live value. Write
|
|
185
|
+
# \`NAME=""\` to send a name empty on purpose.
|
|
186
|
+
#
|
|
187
|
+
# One \`KEY=VALUE\` per line. Everything after the \`=\` is the value, a \`#\`
|
|
188
|
+
# included (only a line that STARTS with \`#\` is a comment), and one pair of
|
|
189
|
+
# matching quotes around it is stripped. Nothing is interpolated or unescaped:
|
|
190
|
+
# \`\\n\` stays two characters, and a value cannot span lines.
|
|
178
191
|
|
|
179
192
|
${lines.join("\n")}
|
|
180
193
|
`;
|
|
@@ -193,7 +206,7 @@ function renderWorkspaceEnvFile(values, provenance, backendDir = XANO_DIR, examp
|
|
|
193
206
|
const omitted = [];
|
|
194
207
|
const lines = [];
|
|
195
208
|
for (const [name, value] of Object.entries(values)) {
|
|
196
|
-
if (isRepresentableName(name) && isRepresentableValue(value)) lines.push(`${name}=${value}`);
|
|
209
|
+
if (isRepresentableName(name) && isRepresentableValue(value)) lines.push(`${name}=${envFileValue(value)}`);
|
|
197
210
|
else omitted.push(name);
|
|
198
211
|
}
|
|
199
212
|
const badNames = omitted.filter((n) => !isRepresentableName(n));
|
|
@@ -209,7 +222,7 @@ ${// A NAME no env var can have is said as the name's fault: blaming its value
|
|
|
209
222
|
// ("no newlines or edge whitespace") sent the reader to a value that was fine.
|
|
210
223
|
badValues.length === 0 ? "" : `#
|
|
211
224
|
# NOT written, because the dotenv format cannot carry ${badValues.length === 1 ? "its value" : "their values"}
|
|
212
|
-
# (a newline
|
|
225
|
+
# (a newline): ${badValues.map(commentSafe).join(", ")}.
|
|
213
226
|
# Pass ${badValues.length === 1 ? "it" : "each"} at deploy time with \`--env-var NAME=...\` instead.
|
|
214
227
|
`}${badNames.length === 0 ? "" : `#
|
|
215
228
|
# NOT written, because ${badNames.length === 1 ? "it is not a usable env var name" : "they are not usable env var names"}
|
|
@@ -235,11 +248,14 @@ export {
|
|
|
235
248
|
declaredEnv,
|
|
236
249
|
isRepresentable,
|
|
237
250
|
valueProblem,
|
|
251
|
+
envFileValue,
|
|
238
252
|
classifyEnv,
|
|
239
253
|
parseEnvFile,
|
|
254
|
+
readEnvFile,
|
|
240
255
|
readWorkspaceEnvFile,
|
|
256
|
+
readWorkspaceEnvFileContents,
|
|
241
257
|
renderWorkspaceEnvExample,
|
|
242
258
|
namesInEnvExample,
|
|
243
259
|
renderWorkspaceEnvFile
|
|
244
260
|
};
|
|
245
|
-
//# sourceMappingURL=chunk-
|
|
261
|
+
//# sourceMappingURL=chunk-R7DS2TRZ.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
pastePath,
|
|
7
7
|
warn
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZHFSIQ6E.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-
|
|
106
|
+
//# sourceMappingURL=chunk-RGPHFHJU.js.map
|
|
@@ -995,14 +995,11 @@ The backend lives in [\`index.ts\`](index.ts) and is a single default-exported
|
|
|
995
995
|
|
|
996
996
|
## Learn the library from the library
|
|
997
997
|
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
- \`node_modules/@xano/sdk/manifest.json\` \u2014 the exhaustive reference; grep or \`jq\` the one entry you need rather than reading it whole.
|
|
1004
|
-
|
|
1005
|
-
Author against those signatures \u2014 don't invent an API that isn't there.
|
|
998
|
+
Read \`node_modules/@xano/sdk/llms.txt\` in full first; it ends with the topic files
|
|
999
|
+
(\`node_modules/@xano/sdk/llms/*.md\`) and the condition for opening each. Author against
|
|
1000
|
+
the published types (\`node_modules/@xano/sdk/**/*.d.ts\`), and grep
|
|
1001
|
+
\`node_modules/@xano/sdk/manifest.json\` for one entry's full detail. Don't invent an API
|
|
1002
|
+
that isn't there.
|
|
1006
1003
|
|
|
1007
1004
|
## The shape
|
|
1008
1005
|
|
|
@@ -1043,35 +1040,21 @@ xano/
|
|
|
1043
1040
|
|
|
1044
1041
|
## Testing
|
|
1045
1042
|
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
- **Unit test** \u2014 \`tests: [...]\` on a \`query\`, \`defineFunction\`, or
|
|
1050
|
-
\`middleware\`. Each entry is a named set of inputs run against that object, with
|
|
1051
|
-
\`expect.*\` assertions on its response. A statement's \`mock\` (keyed by test
|
|
1052
|
-
NAME) makes one step return a value instead of doing its work, but only while
|
|
1053
|
-
that test runs.
|
|
1054
|
-
- **Workflow test** \u2014 \`workflowTest({ name, stack })\`, a standalone object whose
|
|
1055
|
-
stack calls others (\`s.function.call\`, \`s.api.call\`) and asserts with
|
|
1056
|
-
\`s.expect.*\`. Use it for behavior that spans objects.
|
|
1057
|
-
|
|
1058
|
-
\`expect.*\` and \`s.expect.*\` are different builders \u2014 an assertion record versus
|
|
1059
|
-
a workflow-test statement \u2014 and are not interchangeable.
|
|
1043
|
+
Unit tests (\`tests: [...]\` on a query, function or middleware, asserting with \`expect.*\`)
|
|
1044
|
+
and workflow tests (\`workflowTest({ name, stack })\`, asserting with \`s.expect.*\`) both
|
|
1045
|
+
run against what is DEPLOYED:
|
|
1060
1046
|
|
|
1061
1047
|
\`\`\`bash
|
|
1062
|
-
npm run xano:deploy #
|
|
1048
|
+
npm run xano:deploy # deploy first
|
|
1063
1049
|
npm run xano:test # runs both kinds; exits 5 if any fail
|
|
1064
1050
|
\`\`\`
|
|
1065
1051
|
|
|
1066
|
-
\`
|
|
1067
|
-
\`npx @xano/sdk test list\` shows what a deployed environment carries without running
|
|
1068
|
-
anything. Read \`node_modules/@xano/sdk/llms/tests.md\` before authoring either
|
|
1069
|
-
kind.
|
|
1052
|
+
Read \`node_modules/@xano/sdk/llms/tests.md\` before authoring either kind.
|
|
1070
1053
|
|
|
1071
1054
|
### Event-driven objects
|
|
1072
1055
|
|
|
1073
|
-
A scheduled \`task\`, an \`mcpServer\`, and every trigger **
|
|
1074
|
-
|
|
1056
|
+
A scheduled \`task\`, an \`mcpServer\`, and every trigger **run once deployed**,
|
|
1057
|
+
on the Xano Engine and an ephemeral alike \u2014 test them by deploying and letting
|
|
1075
1058
|
them run.
|
|
1076
1059
|
|
|
1077
1060
|
## Wire the frontend
|
|
@@ -1147,8 +1130,10 @@ Every command that compiles a bundle reads \`xano/.env\` with no flag. It and
|
|
|
1147
1130
|
the two files under \`xano/\` that are not committed. The source beside them is meant to
|
|
1148
1131
|
be reviewed, so never ignore \`xano/\` wholesale.
|
|
1149
1132
|
|
|
1150
|
-
|
|
1151
|
-
|
|
1133
|
+
\`npm run xano:deploy\` keeps rows AND live env values (\`--keep-data\`): after editing a
|
|
1134
|
+
value, apply it with \`printf %s "$VALUE" | npx @xano/sdk env set NAME\`. A deploy that
|
|
1135
|
+
REPLACES the env set (no \`--keep-data\`, or a backend the merge cannot vouch for) refuses a
|
|
1136
|
+
declared name with no value rather than clearing the live value. In CI, which does not have this file, mount
|
|
1152
1137
|
one and pass \`--backend-env-file <path>\`, or supply names with \`--env-var KEY=VALUE\`.
|
|
1153
1138
|
|
|
1154
1139
|
\`workspace.json\` is a different matter: a compiled bundle carries these values in
|
|
@@ -2002,4 +1987,4 @@ export {
|
|
|
2002
1987
|
renderCnUtil,
|
|
2003
1988
|
renderApiTs
|
|
2004
1989
|
};
|
|
2005
|
-
//# sourceMappingURL=chunk-
|
|
1990
|
+
//# sourceMappingURL=chunk-RHH6SCB4.js.map
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
DEFAULT_PREFERENCES,
|
|
4
4
|
DEFAULT_SETTINGS,
|
|
5
5
|
LEGACY_REALTIME
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RKTVXFBV.js";
|
|
7
7
|
import {
|
|
8
8
|
identityNamesByGuid,
|
|
9
9
|
lockNameForObject,
|
|
10
10
|
sdkKindName
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VQDVEHDB.js";
|
|
12
12
|
import {
|
|
13
13
|
HOSTED_ICON_KINDS,
|
|
14
14
|
isPrivateLibraryRow
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
deepEqual,
|
|
18
18
|
normalize
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FIOC7RSU.js";
|
|
20
20
|
|
|
21
21
|
// src/codegen/omissions.ts
|
|
22
22
|
function omissionSeverity(reason) {
|
|
@@ -1087,4 +1087,4 @@ export {
|
|
|
1087
1087
|
canonicalRow,
|
|
1088
1088
|
compareToLive
|
|
1089
1089
|
};
|
|
1090
|
-
//# sourceMappingURL=chunk-
|
|
1090
|
+
//# sourceMappingURL=chunk-RIT3WBBX.js.map
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
hostLabel,
|
|
6
6
|
questionSets,
|
|
7
7
|
resolvePluginAnswers
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ROWYW3JF.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-
|
|
15
|
+
} from "./chunk-ZHFSIQ6E.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-
|
|
224
|
+
//# sourceMappingURL=chunk-RKNCISPM.js.map
|
|
@@ -2,23 +2,23 @@ import {
|
|
|
2
2
|
assertCanonical,
|
|
3
3
|
buildWorkspaceHistory,
|
|
4
4
|
encodeMiddlewareList
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WAP5362D.js";
|
|
6
6
|
import {
|
|
7
7
|
brandDef
|
|
8
8
|
} from "./chunk-ERVIASGL.js";
|
|
9
9
|
import {
|
|
10
10
|
registerKind
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JHAZK4RY.js";
|
|
12
12
|
import {
|
|
13
13
|
findNonJson,
|
|
14
14
|
nonJsonMessage
|
|
15
15
|
} from "./chunk-H2V3N23D.js";
|
|
16
16
|
import {
|
|
17
17
|
env
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SIW2HT2H.js";
|
|
19
19
|
import {
|
|
20
20
|
describeEntry
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SGEOXJIH.js";
|
|
22
22
|
|
|
23
23
|
// src/kinds/workspace-config.ts
|
|
24
24
|
var LEGACY_REALTIME = {
|
|
@@ -174,4 +174,4 @@ export {
|
|
|
174
174
|
workspaceConfig,
|
|
175
175
|
typedEnv
|
|
176
176
|
};
|
|
177
|
-
//# sourceMappingURL=chunk-
|
|
177
|
+
//# sourceMappingURL=chunk-RKTVXFBV.js.map
|