@xano/sdk 1.0.15 → 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 +14 -0
- package/README.md +33 -37
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-ZRGNOA6Q.js → agent-file-refresh-DBHTEFYM.js} +12 -12
- package/dist/{agent-skill-command-DV26SDA2.js → agent-skill-command-LHNTU7MH.js} +74 -73
- package/dist/{answer-shape-AVZSKBR6.js → answer-shape-ZRQS7ZC4.js} +5 -5
- package/dist/{backend-dir-NTMXWE5R.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-66ZU2CD5.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-ZYECXDVV.js → chunk-3ZV23FVR.js} +5 -5
- package/dist/{chunk-N72XNQNJ.js → chunk-47XIVDJ6.js} +14 -14
- package/dist/{chunk-ICK36EGF.js → chunk-4EVDCSEY.js} +2 -2
- package/dist/{chunk-AXMUYBWQ.js → chunk-4XGZ325S.js} +3 -3
- package/dist/{chunk-P7GKTV7N.js → chunk-4XYXUK5H.js} +75 -32
- package/dist/{chunk-AE5CRAKS.js → chunk-4ZBXS7YN.js} +8 -8
- package/dist/{chunk-JWASCOHO.js → chunk-52QAENY6.js} +14 -14
- package/dist/{chunk-2LF734YB.js → chunk-54CJ74BH.js} +4 -4
- package/dist/{chunk-TT6LN55R.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-G4WRZU5T.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-FOBVJ2UR.js → chunk-AJQFUJEQ.js} +8 -8
- package/dist/{chunk-DH6O5NQU.js → chunk-C7AYP4H6.js} +29 -20
- package/dist/{chunk-SXMZNSQ6.js → chunk-DJMGDCVX.js} +8 -8
- package/dist/{chunk-K6SWZ6H4.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-V7WCTXEH.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-FKQX6KU7.js → chunk-F3JK5RIY.js} +2 -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-VXHXSGPU.js → chunk-GRZ62LLU.js} +8 -8
- package/dist/{chunk-6X73VFCX.js → chunk-GT7PZCTK.js} +2 -2
- package/dist/{chunk-SH4RY6QX.js → chunk-HXPQXCOZ.js} +1536 -413
- package/dist/{chunk-ECQXASG3.js → chunk-IFHFJR5O.js} +2 -2
- package/dist/{chunk-7ZQ73AHJ.js → chunk-IOWNQEMW.js} +31 -31
- package/dist/{chunk-YCKKL5PD.js → chunk-ISIZFK5Q.js} +53 -47
- package/dist/{chunk-HCNIB3EC.js → chunk-IUJDUFT7.js} +4 -4
- package/dist/{chunk-74OPNM2Z.js → chunk-JHAZK4RY.js} +3 -3
- package/dist/{chunk-OZWAITII.js → chunk-KGHJ74HF.js} +6 -6
- package/dist/{chunk-XLP4CNSF.js → chunk-L2O5KG5Q.js} +6 -6
- package/dist/{chunk-NNI5R6V6.js → chunk-L3Q2QYIQ.js} +72 -72
- package/dist/{chunk-UNFQN3TT.js → chunk-LLBEPJBO.js} +3 -3
- package/dist/{chunk-VUWR5YLE.js → chunk-LWBGPPI5.js} +13 -13
- package/dist/{chunk-RBTZEHXF.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-ZF2CBXT5.js → chunk-NQPPUNWP.js} +3 -3
- package/dist/{chunk-5SKWGCAJ.js → chunk-O7Z3LF44.js} +5 -5
- package/dist/{chunk-ASQX477B.js → chunk-OLXYZQR7.js} +7 -7
- package/dist/{chunk-5SJQAJLF.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-WXKSB2N3.js → chunk-Q7KXMIR3.js} +3 -3
- package/dist/{chunk-B6AFJVG4.js → chunk-QCVH32T2.js} +5 -5
- package/dist/{chunk-7FIMUFBP.js → chunk-QDPY7RN3.js} +3 -3
- package/dist/{chunk-MGG4CHO4.js → chunk-QIT2GGNB.js} +3 -3
- package/dist/{chunk-QW7NGUYW.js → chunk-QSJH5AFU.js} +244 -173
- package/dist/{chunk-3GZMP7II.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-M7O3T7IM.js → chunk-RIT3WBBX.js} +4 -4
- package/dist/{chunk-45K2QZBR.js → chunk-RKNCISPM.js} +3 -3
- package/dist/{chunk-NPYYDTXS.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-A2N2C2WD.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-R3GPRNBT.js → chunk-SVQMDVND.js} +87 -16
- package/dist/{chunk-45ZUMF4E.js → chunk-TPUAXIPR.js} +2 -2
- package/dist/{chunk-SL55XKVL.js → chunk-TXU34ELY.js} +25 -25
- package/dist/{chunk-GDJCWQIK.js → chunk-U4UAWGIT.js} +12 -8
- package/dist/{chunk-76SBT7KS.js → chunk-U56HK2RG.js} +7 -5
- package/dist/{chunk-RXNMZM6H.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-ZDVVIJPU.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-6EFXPTHT.js → chunk-WAP5362D.js} +5 -5
- package/dist/{chunk-XY4OBD26.js → chunk-WGKKDGSA.js} +4 -4
- package/dist/{chunk-TXFOQZUQ.js → chunk-WVVUE7LU.js} +14 -7
- package/dist/{chunk-JAYHFXWH.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-7AKH4QDJ.js → chunk-XKMZYU5B.js} +96 -65
- package/dist/{chunk-UVHSMANV.js → chunk-Y3RH35KM.js} +47 -47
- package/dist/{chunk-GIQIMWTK.js → chunk-YHT7TDSH.js} +14 -14
- package/dist/{chunk-FXZEZAV2.js → chunk-YJXJOMXW.js} +3 -3
- package/dist/{chunk-ZPJXWMHK.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-ZC6H2ERE.js → chunk-ZF4LCHCT.js} +5 -5
- package/dist/{chunk-GRXX2TOJ.js → chunk-ZHFSIQ6E.js} +2 -2
- package/dist/{chunk-SHHXLI2K.js → chunk-ZJQFKBX7.js} +7 -7
- package/dist/{chunk-ZRXDPCMN.js → chunk-ZYZ7GRX3.js} +2 -2
- package/dist/{chunk-CJGLAQRD.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-BYAZZF37.js → deploy-command-PBM3S4ZL.js} +69 -68
- package/dist/{deploy-source-QCPZWNJO.js → deploy-source-JW7DAN75.js} +32 -32
- package/dist/{dev-env-sync-6MHK3UHC.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-KUIEKBTM.js → env-pull-command-FFPNRVWD.js} +52 -52
- package/dist/{env-target-Y77RLRS5.js → env-target-XHVRZXHX.js} +14 -14
- package/dist/{env-var-command-BZWJD75C.js → env-var-command-DJS62YRR.js} +41 -41
- package/dist/{ephemeral-VLPRDNEJ.js → ephemeral-2DXWP3VK.js} +9 -9
- package/dist/{ephemeral-command-SYKDPALW.js → ephemeral-command-VLQIQ5TS.js} +52 -52
- package/dist/{ephemeral-state-RUOU2GFS.js → ephemeral-state-56XEDUJW.js} +12 -12
- package/dist/{generate-command-CSQDQZSW.js → generate-command-PSDIIOTU.js} +89 -88
- package/dist/{gitignore-OQGYM7DO.js → gitignore-PMJ6MFNA.js} +15 -15
- package/dist/{guards-JUYBDLZY.js → guards-YICHJKX3.js} +51 -15
- package/dist/{impersonate-command-HSFCZBV6.js → impersonate-command-IKV4KUYA.js} +37 -37
- package/dist/{import-T4ZTOTBT.js → import-VJQGIS33.js} +5 -5
- package/dist/index.d.ts +552 -117
- package/dist/index.js +29 -28
- package/dist/init-command-LEQIE6GC.js +143 -0
- package/dist/{init-modules-BL2SR5RK.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-SHF75FC7.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-7EOLEKH3.js → landing-record-JQ7HZDGI.js} +22 -22
- package/dist/{live-diff-M2OLXKM6.js → live-diff-KJ2TWWWT.js} +14 -14
- package/dist/{local-engine-choice-TOC3UYZZ.js → local-engine-choice-DFAMYOIF.js} +35 -35
- package/dist/{local-engine-command-6KSRDZBR.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-XTP3EATV.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-437P6BHY.js → lock-commands-7VO6YWOV.js} +67 -66
- package/dist/{login-command-BNRDAVFV.js → login-command-WTZUBCW6.js} +27 -27
- package/dist/{logout-command-FCGCHB7Y.js → logout-command-5BJUNK3C.js} +17 -17
- package/dist/{loop-WOAEXMTC.js → loop-HILLODVH.js} +15 -15
- package/dist/{marketplace-command-SUBJZPJV.js → marketplace-command-NMOH4XOV.js} +30 -30
- package/dist/{marketplace-resolve-JR4BBJ6K.js → marketplace-resolve-63QWMQZU.js} +6 -6
- package/dist/{meta-client-AYJS3RQ3.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-ORQPVJKB.js → operation-outcome-WK7UW6PJ.js} +24 -24
- package/dist/{output-target-KNHHNDM3.js → output-target-5PYRCCK4.js} +16 -16
- package/dist/{plan-disclosure-4DUFRGCP.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-32GFVKSN.js → preflight-command-3BX2WW3S.js} +75 -74
- package/dist/{profile-command-U2XTKOMF.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-5ZVZ6IYT.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-LDN5DOKQ.js → release-ns-command-EVAHK4CU.js} +96 -95
- package/dist/{retry-command-LFZYEVRU.js → retry-command-WP4ZI6CJ.js} +8 -8
- package/dist/{routes-manifest-BMAOL6WN.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-7QM3ORGX.js → secrets-file-7XWR7HW3.js} +15 -15
- package/dist/{secrets-fill-command-OZ537VOD.js → secrets-fill-command-NKCGC75L.js} +66 -65
- package/dist/{seed-ATGBOEJP.js → seed-YKTZDS2Q.js} +13 -13
- package/dist/{source-resolve-QYSWA3QR.js → source-resolve-CQGDFQQC.js} +22 -22
- package/dist/{static-host-MO4VDHL7.js → static-host-3HPZKVKK.js} +5 -5
- package/dist/{status-command-IEB4K7ME.js → status-command-TBMQ3GJP.js} +38 -38
- package/dist/{store-AJX4MC7Y.js → store-B63BQV6R.js} +6 -6
- package/dist/{store-DspGMsFY.d.ts → store-in7gSpMS.d.ts} +185 -11
- package/dist/sync-baseline-GRS33AB5.js +38 -0
- package/dist/{sync-contributions-DLV5JZUK.js → sync-contributions-RKPLZPPO.js} +9 -9
- package/dist/{sync-record-NE62ERA3.js → sync-record-AWFCSS4D.js} +15 -15
- package/dist/{table-TFD4ZQXA.js → table-ONGT3JGE.js} +12 -12
- package/dist/{tables-command-IMCVPUFY.js → tables-command-UYQ277TJ.js} +41 -41
- package/dist/{tenant-IIYECNWO.js → tenant-IXIW3FOI.js} +10 -10
- package/dist/{tenant-command-77KG76MU.js → tenant-command-7LWZUK2V.js} +104 -103
- package/dist/{test-command-NSPU4RUO.js → test-command-7KTT5EAF.js} +56 -45
- package/dist/{tests-JWQRHFCT.js → tests-N4MMBABH.js} +6 -6
- package/dist/{token-BDHD7GU3.js → token-3TCMW2AP.js} +13 -13
- package/dist/{toolchain-hooks-QHJRDCRW.js → toolchain-hooks-IJWV3ZQS.js} +18 -18
- package/dist/{toolchain-modules-LY7BMYG6.js → toolchain-modules-PBVBCPQJ.js} +5 -5
- package/dist/{toolchain-peers-FQJBTKEB.js → toolchain-peers-EMOYN4U7.js} +8 -8
- package/dist/{tracked-backend-BIR7YJCE.js → tracked-backend-YDUUQZQF.js} +34 -34
- package/dist/update-check-C6KDFGMT.js +141 -0
- package/dist/{upgrade-command-YCADQCIA.js → upgrade-command-ZSBTSMBR.js} +68 -67
- package/dist/{whoami-command-IZCTUPM4.js → whoami-command-L6ERHR5K.js} +16 -16
- package/dist/{workspace-TK52V7WO.js → workspace-5DPSDM4A.js} +5 -5
- package/dist/{workspace-binding-3UT6PP4B.js → workspace-binding-MVOWGNYW.js} +15 -15
- package/dist/{workspace-command-46OCB6XT.js → workspace-command-PKQ5TDR7.js} +100 -99
- package/dist/{workspace-env-PVPOWFNZ.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-XXJT365U.js → xanosdk-import-HHMQDK2I.js} +10 -10
- package/dist/{xanosdk-project-CJKRLQ6U.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 +32 -25
- 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 +643 -503
- package/llms.txt +120 -137
- package/manifest.json +147 -95
- 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-4PJEBNRK.js +0 -80
- package/dist/codegen-command-RDD4GL35.js +0 -182
- package/dist/env-example-refresh-MQWHY7ZS.js +0 -135
- package/dist/init-command-6Z7QNVDY.js +0 -142
- package/dist/promote-command-OO56IZBT.js +0 -148
- package/dist/pull-command-LT5PCEIW.js +0 -170
- package/dist/release-command-RBUOXIH7.js +0 -152
- package/dist/routes-manifest-file-MPOVKD6N.js +0 -41
- package/dist/sync-baseline-IB7MABZO.js +0 -38
- package/dist/update-check-JDARCXAX.js +0 -140
- package/dist/xano-EOUVXNQX.js +0 -43
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-MF4W6FHU.js";
|
|
10
10
|
import {
|
|
11
11
|
UsageError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZHFSIQ6E.js";
|
|
13
13
|
import {
|
|
14
14
|
shellQuote
|
|
15
15
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -159,4 +159,4 @@ export {
|
|
|
159
159
|
pointerRootFor,
|
|
160
160
|
projectRootFor
|
|
161
161
|
};
|
|
162
|
-
//# sourceMappingURL=chunk-
|
|
162
|
+
//# sourceMappingURL=chunk-IFHFJR5O.js.map
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createOperation,
|
|
3
3
|
runOperation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MBSHONP3.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchWorkspaceBundle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XKMZYU5B.js";
|
|
8
8
|
import {
|
|
9
9
|
assertReleaseIdentitiesFree,
|
|
10
10
|
pinnedCanonicalGuids,
|
|
11
11
|
setLiveRollback
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DLD4FVRP.js";
|
|
13
13
|
import {
|
|
14
14
|
objectDigests,
|
|
15
15
|
syncDigests
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4XGZ325S.js";
|
|
17
17
|
import {
|
|
18
18
|
asWorkspaceArchive,
|
|
19
19
|
resolveProjectEntry
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-S7MVI4W7.js";
|
|
21
21
|
import {
|
|
22
22
|
liveBranchMismatch,
|
|
23
23
|
liveMismatch
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-YHT7TDSH.js";
|
|
25
25
|
import {
|
|
26
26
|
confirm
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-AICWDCLJ.js";
|
|
28
28
|
import {
|
|
29
29
|
CONSTRAINT_FIX,
|
|
30
30
|
CONSTRAINT_PHRASE,
|
|
@@ -43,24 +43,24 @@ import {
|
|
|
43
43
|
releaseTableEffects,
|
|
44
44
|
renameHint,
|
|
45
45
|
tableEffectsPayload
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-UDW2KAVF.js";
|
|
47
47
|
import {
|
|
48
48
|
tableRowCounter
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-YPLHVRMS.js";
|
|
50
50
|
import {
|
|
51
51
|
landingLockPath,
|
|
52
52
|
recordForeignLanding
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-4ZBXS7YN.js";
|
|
54
54
|
import {
|
|
55
55
|
recordSync
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-EPB6FAR5.js";
|
|
57
57
|
import {
|
|
58
58
|
SettledWriteFailure,
|
|
59
59
|
classifyFailure
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-DJMGDCVX.js";
|
|
61
61
|
import {
|
|
62
62
|
exportWorkspaceBundle
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-2DUYJR5N.js";
|
|
64
64
|
import {
|
|
65
65
|
decodeWorkspaceArchive
|
|
66
66
|
} from "./chunk-3DRXWLJ5.js";
|
|
@@ -74,16 +74,16 @@ import {
|
|
|
74
74
|
listBranchListing,
|
|
75
75
|
liveBranchLabel,
|
|
76
76
|
setLiveBranch
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-54CJ74BH.js";
|
|
78
78
|
import {
|
|
79
79
|
envValuesOf
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-RIT3WBBX.js";
|
|
81
81
|
import {
|
|
82
82
|
assertOneName
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-PRSNMSVG.js";
|
|
84
84
|
import {
|
|
85
85
|
resolveSource
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-47XIVDJ6.js";
|
|
87
87
|
import {
|
|
88
88
|
ReleaseHttpError,
|
|
89
89
|
UNPROMOTABLE_RELEASE_PARTS,
|
|
@@ -92,27 +92,27 @@ import {
|
|
|
92
92
|
promotableReleaseName,
|
|
93
93
|
unpromotableReleasePart,
|
|
94
94
|
untenantDeployableReleasePart
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-UH5VQGNR.js";
|
|
96
96
|
import {
|
|
97
97
|
getAccessToken
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-57PGTPT3.js";
|
|
99
99
|
import {
|
|
100
100
|
readLockFile
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-7ZVQIKNL.js";
|
|
102
102
|
import {
|
|
103
103
|
pipedYes,
|
|
104
104
|
retryCommand,
|
|
105
105
|
withheldNote
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-GJZMKMWO.js";
|
|
107
107
|
import {
|
|
108
108
|
contextFlags
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-ZYZ7GRX3.js";
|
|
110
110
|
import {
|
|
111
111
|
shellWord
|
|
112
112
|
} from "./chunk-FWD7AL6N.js";
|
|
113
113
|
import {
|
|
114
114
|
withoutReadAftermath
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-NH5Z2NOD.js";
|
|
116
116
|
import {
|
|
117
117
|
CliError,
|
|
118
118
|
LocalFileNotFoundError,
|
|
@@ -130,19 +130,19 @@ import {
|
|
|
130
130
|
success,
|
|
131
131
|
warn,
|
|
132
132
|
withoutUrls
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-ZHFSIQ6E.js";
|
|
134
134
|
import {
|
|
135
135
|
envNamesRead
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-HXPQXCOZ.js";
|
|
137
137
|
import {
|
|
138
138
|
safeNames
|
|
139
139
|
} from "./chunk-GSGDWJB5.js";
|
|
140
140
|
import {
|
|
141
141
|
setDiagnosticSink
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-FMXPV5JI.js";
|
|
143
143
|
import {
|
|
144
144
|
sdkKindName2 as sdkKindName
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-VQDVEHDB.js";
|
|
146
146
|
import {
|
|
147
147
|
shellQuote
|
|
148
148
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -299,7 +299,7 @@ async function verifyLanding(auth, opts) {
|
|
|
299
299
|
} catch (err) {
|
|
300
300
|
return unverified(shortReason(err));
|
|
301
301
|
}
|
|
302
|
-
const { compareToLive, declaredLabels } = await import("./live-diff-
|
|
302
|
+
const { compareToLive, declaredLabels } = await import("./live-diff-KJ2TWWWT.js");
|
|
303
303
|
let result;
|
|
304
304
|
try {
|
|
305
305
|
result = compareToLive(declared, landedBundle, void 0, { sample: "all" });
|
|
@@ -472,7 +472,7 @@ async function runPromoteCommand(args) {
|
|
|
472
472
|
discloseWriteTarget(destination);
|
|
473
473
|
const lockPath = landingLockPath(args, args.entryPath === void 0 ? {} : { entryFile: args.entryPath });
|
|
474
474
|
if (lockPath === void 0 && args.noLock !== true) {
|
|
475
|
-
const { nestedBackendEntries } = await import("./tracked-backend-
|
|
475
|
+
const { nestedBackendEntries } = await import("./tracked-backend-YDUUQZQF.js");
|
|
476
476
|
const nested = nestedBackendEntries(process.cwd());
|
|
477
477
|
if (nested.length > 0) {
|
|
478
478
|
warn(
|
|
@@ -935,7 +935,7 @@ Nothing was switched. Serve it deliberately with \`xanosdk workspace branch set-
|
|
|
935
935
|
}
|
|
936
936
|
}
|
|
937
937
|
async function unansweredBranchRead(err, args, what) {
|
|
938
|
-
const { LookupFailedError, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-
|
|
938
|
+
const { LookupFailedError, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-CQGDFQQC.js");
|
|
939
939
|
const transport = isTransportFailure(err);
|
|
940
940
|
if (!transport && !isServerError(err)) return err;
|
|
941
941
|
const first = what !== void 0 ? `could not read ${what}` : ((err instanceof Error ? err.message : String(err)).trim().split("\n")[0] ?? "").replace(/[.:]$/, "");
|
|
@@ -961,4 +961,4 @@ export {
|
|
|
961
961
|
reportNotRun,
|
|
962
962
|
runPromoteCommand
|
|
963
963
|
};
|
|
964
|
-
//# sourceMappingURL=chunk-
|
|
964
|
+
//# sourceMappingURL=chunk-IOWNQEMW.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
classifyNpmFailure
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KGHJ74HF.js";
|
|
4
4
|
import {
|
|
5
5
|
condenseNpmError,
|
|
6
6
|
runNpmQuiet,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
isSorted,
|
|
16
16
|
reactPreset,
|
|
17
17
|
sortedKeys
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RHH6SCB4.js";
|
|
19
19
|
import {
|
|
20
20
|
blockVersion,
|
|
21
21
|
composeBlock,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
success,
|
|
39
39
|
warn,
|
|
40
40
|
withSpinner
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ZHFSIQ6E.js";
|
|
42
42
|
import {
|
|
43
43
|
defaultThemeChoice,
|
|
44
44
|
themeGuidanceSection
|
|
@@ -59,9 +59,8 @@ server-side logic (\`defineFunction()\` and statement stacks), scheduled tasks (
|
|
|
59
59
|
triggers and webhooks, realtime channels, file storage, and AI agents and MCP servers. Only
|
|
60
60
|
the kinds registered in \`xano/index.ts\` exist in this project \u2014 check before assuming. The
|
|
61
61
|
frontend calls the deployed backend over HTTP and holds no business logic.`;
|
|
62
|
-
var LEARN_FROM_THE_LIBRARY = `**${GUIDANCE_SENTINEL}.**
|
|
63
|
-
|
|
64
|
-
carrying it over produces code that reads well, type-checks, and is wrong. Read before
|
|
62
|
+
var LEARN_FROM_THE_LIBRARY = `**${GUIDANCE_SENTINEL}.** This SDK is not in your training data;
|
|
63
|
+
patterns carried over from other Xano interfaces type-check and are wrong. Read before
|
|
65
64
|
writing:
|
|
66
65
|
|
|
67
66
|
1. \`node_modules/@xano/sdk/llms.txt\` \u2014 the router, and the whole always-read
|
|
@@ -133,8 +132,9 @@ npm run dev # the frontend, pointed at the engine through .env.local
|
|
|
133
132
|
- \`npm run xano:export\` \u2014 compile the backend to \`workspace.json\` (never commit it).
|
|
134
133
|
- \`npm run xano:test\` \u2014 run the DEPLOYED environment's unit + workflow tests (exits 5 on a
|
|
135
134
|
failure). Deploy first. See "Testing" below.
|
|
136
|
-
- \`npm run xano:check\` \u2014 the CI gate:
|
|
137
|
-
|
|
135
|
+
- \`npm run xano:check\` \u2014 the CI gate: \`routes --strict\` (a missing or stale \`routes.gen.ts\`),
|
|
136
|
+
the typecheck, and a strict \`export --check\` (any build warning, lock drift). It writes
|
|
137
|
+
nothing and needs no secrets. Run it before calling the work done, and again after any merge.
|
|
138
138
|
- \`npx @xano/sdk login\` then \`npm run xano:deploy:ephemeral\` \u2014 ship the backend + static
|
|
139
139
|
frontend to a disposable **ephemeral** environment on Xano's cloud;
|
|
140
140
|
\`npm run xano:deploy:frontend\` republishes only the frontend.
|
|
@@ -172,7 +172,7 @@ then land it with \`npx @xano/sdk promote <name>\` (\`npx @xano/sdk tenant deplo
|
|
|
172
172
|
for a customer tenant). A promote lands on a branch that serves nothing until it is live
|
|
173
173
|
(\`--set-live\`, or \`npx @xano/sdk workspace branch set-live <label>\` later).
|
|
174
174
|
\`npx @xano/sdk deploy --to workspace\` skips the release and merges the local build straight
|
|
175
|
-
in, leaving nothing to roll back to
|
|
175
|
+
in, leaving nothing to roll back to.`;
|
|
176
176
|
function backendWorkflow(mode) {
|
|
177
177
|
return `### Development workflow
|
|
178
178
|
|
|
@@ -195,8 +195,9 @@ npm run xano:deploy # typecheck, then deploy the backend to the Xano Engine o
|
|
|
195
195
|
- \`npm run xano:export\` \u2014 compile the backend to \`workspace.json\` (never commit it).
|
|
196
196
|
- \`npm run xano:test\` \u2014 run the DEPLOYED environment's unit + workflow tests (exits 5 on a
|
|
197
197
|
failure). Deploy first. See "Testing" below.
|
|
198
|
-
- \`npm run xano:check\` \u2014 the CI gate:
|
|
199
|
-
|
|
198
|
+
- \`npm run xano:check\` \u2014 the CI gate: \`routes --strict\` (a missing or stale \`routes.gen.ts\`),
|
|
199
|
+
the typecheck, and a strict \`export --check\` (any build warning, lock drift). It writes
|
|
200
|
+
nothing and needs no secrets. Run it before calling the work done, and again after any merge.
|
|
200
201
|
- \`npx @xano/sdk login\` then \`npm run xano:deploy:ephemeral\` \u2014 ship the backend to a
|
|
201
202
|
disposable **ephemeral** environment on Xano's cloud.
|
|
202
203
|
- Not signed in? Ask the user whether they have a Xano account; don't guess from context.
|
|
@@ -259,8 +260,7 @@ function xanoSdk(frontend) {
|
|
|
259
260
|
|
|
260
261
|
${frontend ? FRONTEND_CONTRACT : CLIENT_CONTRACT}`;
|
|
261
262
|
}
|
|
262
|
-
function backendChanges(
|
|
263
|
-
const typecheck = frontend ? "typecheck" : "xano:typecheck";
|
|
263
|
+
function backendChanges() {
|
|
264
264
|
return `### Backend changes
|
|
265
265
|
|
|
266
266
|
- Match the naming already in \`xano/\`: snake_case object names, uppercase verbs, the
|
|
@@ -273,7 +273,7 @@ function backendChanges(frontend) {
|
|
|
273
273
|
the frontend.
|
|
274
274
|
- Add \`tests: [...]\` to new queries and functions (a \`workflowTest()\` where the behavior
|
|
275
275
|
spans objects), then \`npm run xano:deploy\` and \`npm run xano:test\`.
|
|
276
|
-
- Finish with \`npm run xano:routes
|
|
276
|
+
- Finish with \`npm run xano:routes\` and \`npm run xano:check\`, and
|
|
277
277
|
commit \`xano/routes.gen.ts\` and \`xano/xano.lock\` with the change.`;
|
|
278
278
|
}
|
|
279
279
|
var AGENT_RULE_BACKENDS = [
|
|
@@ -302,9 +302,9 @@ function agentGuidance(frontend) {
|
|
|
302
302
|
- Do not invent Xano APIs, statements, or SDK methods; when unsure, read the installed
|
|
303
303
|
docs and types named under "Source of truth".
|
|
304
304
|
${frontend ? `${FRONTEND_DATA_LAYER_RULE}
|
|
305
|
-
` : ""}- Do not run \`npx @xano/sdk pull\`, \`promote\`, \`deploy --to workspace\`,
|
|
306
|
-
\`local update\` unless asked: \`pull\`
|
|
307
|
-
environments or the pinned engine.
|
|
305
|
+
` : ""}- Do not run \`npx @xano/sdk pull\`, \`release create\`, \`promote\`, \`deploy --to workspace\`,
|
|
306
|
+
\`tenant deploy\`, \`workspace branch set-live\`, or \`local update\` unless asked: \`pull\`
|
|
307
|
+
overwrites \`xano/\`, and the others change shared environments or the pinned engine.
|
|
308
308
|
- Never commit \`xano/.env\`, \`xano/.secrets.json\`, \`workspace.json\`, \`.env.local\`, or
|
|
309
309
|
\`.xano/\`. Never ignore \`xano/\` wholesale, and never ignore \`xano/xano.lock\`.`;
|
|
310
310
|
}
|
|
@@ -321,11 +321,14 @@ warns of an orphaned entry, run the \`lock rename\` it prints (\`npx @xano/sdk l
|
|
|
321
321
|
\`guid:\` carries the identity, and export says so. Every \`lock\` subcommand finds
|
|
322
322
|
\`xano/xano.lock\` from the project entry, as \`export\` does \u2014 \`--entry=<file>\` names
|
|
323
323
|
another entry, \`--lock=<path>\` the lock itself.
|
|
324
|
-
|
|
325
|
-
\`xano
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
324
|
+
|
|
325
|
+
\`npm run xano:check\` fails on the lock when:
|
|
326
|
+
|
|
327
|
+
- an export would change it, or
|
|
328
|
+
- it still carries an entry no object matches: finish the rename with \`lock rename\`, or
|
|
329
|
+
drop it with \`lock prune\` when the object really was deleted.
|
|
330
|
+
|
|
331
|
+
Rerun it after any merge: two branches that change different objects merge with no
|
|
329
332
|
conflict while one side's derived state still predates the other's source change.`;
|
|
330
333
|
var ENV_GUIDANCE = `\`workspaceConfig({ env })\`, passed to \`registerWorkspace()\`, declares the NAMES the
|
|
331
334
|
backend reads with \`env("NAME")\`; the VALUES live in \`xano/.env\`, which is gitignored and survives a
|
|
@@ -333,20 +336,26 @@ backend reads with \`env("NAME")\`; the VALUES live in \`xano/.env\`, which is g
|
|
|
333
336
|
|
|
334
337
|
- Fill it in by hand (\`cp xano/.env.example xano/.env\`), or run \`npx @xano/sdk env pull\`
|
|
335
338
|
to fetch the values from a backend that is running. That is the ONLY command that
|
|
336
|
-
writes \`xano/.env
|
|
339
|
+
writes \`xano/.env\`; it creates the file 0600 (Windows has no ACL equivalent, the same
|
|
340
|
+
exposure \`.xano/auth.json\` carries) and confirms before replacing one. A compiled bundle also carries the
|
|
337
341
|
resolved values in cleartext, so keep an \`export --out\` artifact out of git.
|
|
338
342
|
- Every command that compiles a bundle reads \`xano/.env\` with no flag. In CI, which
|
|
339
343
|
does not have it, mount a file and pass \`--backend-env-file <path>\`, or supply names with
|
|
340
344
|
\`--env-var KEY=VALUE\`.
|
|
341
|
-
-
|
|
342
|
-
|
|
345
|
+
- \`npm run xano:deploy\` passes \`--keep-data\`, which MERGES: it keeps rows AND live env
|
|
346
|
+
values. A name the backend already holds keeps its live value after you edit
|
|
347
|
+
\`xano/.env\` (the deploy warns \`plan.env-kept\`), and a newly declared name is added,
|
|
348
|
+
empty if it has no value. To apply an edited value, run
|
|
349
|
+
\`printf %s "$VALUE" | npx @xano/sdk env set NAME\`, or \`npm run xano:deploy -- --reset\`,
|
|
350
|
+
which also replaces every table's rows with its seed rows.
|
|
351
|
+
- A deploy that REPLACES the env set (no \`--keep-data\`, or a backend the merge cannot
|
|
352
|
+
vouch for, such as a fresh one) REFUSES the deploy when a declared name has no value
|
|
353
|
+
anywhere, or a \`NAME=\` line with nothing after the \`=\`, rather than clearing the
|
|
354
|
+
live value. Write \`NAME=""\` to send one empty on purpose. Fill the name in \u2014 do not
|
|
343
355
|
put the value back into \`xano/index.ts\`, and do not reach for
|
|
344
356
|
\`--allow-empty-env=NAME\` unless clearing that name is what you actually want.
|
|
345
357
|
- \`xano/\` is committed in full except its two secret files, \`xano/.env\` and
|
|
346
|
-
\`xano/.secrets.json\` (both gitignored)
|
|
347
|
-
source is the review surface.
|
|
348
|
-
- On Windows there is no ACL equivalent to the 0600 the file is created with, the
|
|
349
|
-
same exposure \`.xano/auth.json\` already carries.`;
|
|
358
|
+
\`xano/.secrets.json\` (both gitignored).`;
|
|
350
359
|
var TESTING_GUIDANCE = `Two kinds, both authored in \`xano/\`, both run against a DEPLOYED environment:
|
|
351
360
|
|
|
352
361
|
- **Unit test** \u2014 a \`tests: [...]\` entry on a \`query\`, \`defineFunction\`, or
|
|
@@ -374,14 +383,14 @@ composing them from a module outside \`xano/\`.`;
|
|
|
374
383
|
}
|
|
375
384
|
return `### Add-ons & Marketplace
|
|
376
385
|
|
|
377
|
-
Other \`@xano-sdk/*\` packages register onto the same workspace. None are required, and beyond any chosen at \`init\` (\`--marketplace\`), none ship with the scaffold
|
|
386
|
+
Other \`@xano-sdk/*\` packages register onto the same workspace. None are required, and beyond any chosen at \`init\` (\`--marketplace\`), none ship with the scaffold. Install one only when the task calls for it; do not add one speculatively. Before building authentication, an AI chatbot, vector embeddings / RAG, or a payment integration from scratch, check the marketplace:
|
|
378
387
|
|
|
379
|
-
1.
|
|
380
|
-
2.
|
|
381
|
-
3.
|
|
382
|
-
4.
|
|
388
|
+
1. \`npx @xano/sdk marketplace search <keywords>\` (e.g. \`auth\`, \`chat\`, \`vector\`, \`stripe\`) \u2014 matches title, package, tagline, and description.
|
|
389
|
+
2. \`npx @xano/sdk marketplace details <package> --prompt\` \u2014 prints the publisher's wiring steps, required env vars, and \`xano/index.ts\` registration snippet.
|
|
390
|
+
3. \`npx @xano/sdk marketplace install <package>\` \u2014 adds the package and configures it in this project (a toolchain module is asked its questions here, not by a plain \`npm install\`).
|
|
391
|
+
4. \`npx @xano/sdk marketplace list\` \u2014 every published module. The read verbs (\`list\`, \`search\`, \`details\`) need no sign-in but query the online catalogue; there is no offline copy.
|
|
383
392
|
|
|
384
|
-
####
|
|
393
|
+
#### First-party modules
|
|
385
394
|
|
|
386
395
|
- \`@xano-sdk/auth\` \u2014 turnkey authentication (\`signup\`/\`login\`/\`me\` endpoints + \`user\`/\`account\`/\`event_log\` tables): \`registerAuth(ws, { canonical: "authn" })\`. **Authentication only \u2014 not authorization.** Its tokens carry no role claim, so enforce roles off the caller's row: spread \`...guard.role(userTable, "admin")\` into the stack of a query whose \`auth\` is \`userTable\`.
|
|
387
396
|
- \`@xano-sdk/chatbot\` \u2014 conversational AI assistant (thread/message tables + Xano AI agent + chat endpoints): \`registerChatbot(ws, { authTable: userTable, llm: { type: "xano-free", systemPrompt: "..." } })\`.
|
|
@@ -392,7 +401,7 @@ Other \`@xano-sdk/*\` packages register onto the same workspace. None are requir
|
|
|
392
401
|
var FRONTEND_REACH = `- **The frontend cannot reach the backend.** \`npx @xano/sdk status\` prints the URL this
|
|
393
402
|
project last deployed to. In dev the host is \`VITE_XANO_HOST\` from \`.env.local\` at the
|
|
394
403
|
project root, written by \`npm run xano:deploy\`; restart \`npm run dev\` after it changes. A
|
|
395
|
-
deployed site gets it injected as \`window["XANO_HOST"]
|
|
404
|
+
deployed site gets it injected as \`window["XANO_HOST"]\`, so grep a deploy for the bare \`XANO_HOST\` token.
|
|
396
405
|
An empty \`XANO_HOST\` sends every call to the dev server, which 404s.
|
|
397
406
|
`;
|
|
398
407
|
var FRONTEND_ENV_LOCAL = " `.env.local`: `npm run xano:deploy` writes it.";
|
|
@@ -405,8 +414,8 @@ test failed, 8 = the named backend is gone, stopped, or unreachable).
|
|
|
405
414
|
|
|
406
415
|
- **The Xano Engine fails to start.** \`npx @xano/sdk local list\` shows the engines on this
|
|
407
416
|
machine; \`npx @xano/sdk local stop --all\` then \`npm run xano:deploy\` restarts cleanly. Each
|
|
408
|
-
start writes a log under \`~/.xanosdk/local-engine/engine
|
|
409
|
-
|
|
417
|
+
start writes a log in a \`logs/\` directory under \`~/.xanosdk/local-engine/engine/Library/Caches/\`
|
|
418
|
+
on macOS (\`~/.xanosdk/local-engine/engine/.cache/\` on Linux); a failed start names its file. A damaged cache: clear it with
|
|
410
419
|
\`npx @xano/sdk local cache clear\` and redeploy. \`XANOSDK_ENGINE_OVERRIDE\` in the shell
|
|
411
420
|
means a non-pinned engine is running.
|
|
412
421
|
${frontend ? FRONTEND_REACH : ""}- **An API call fails.** Confirm the verb and path with \`npx @xano/sdk routes ./xano/index.ts\`,
|
|
@@ -418,9 +427,8 @@ ${frontend ? FRONTEND_REACH : ""}- **An API call fails.** Confirm the verb and p
|
|
|
418
427
|
- **The schema appears out of sync.** \`npx @xano/sdk tables\` lists what the deployed backend
|
|
419
428
|
has; \`npm run xano:deploy\` merges your defs in, \`npm run xano:deploy -- --reset\` replaces
|
|
420
429
|
and re-seeds, and an engine restart or update starts empty (the next deploy seeds).
|
|
421
|
-
\`npm run xano:check\`
|
|
422
|
-
\`npx @xano/sdk lock
|
|
423
|
-
\`npx @xano/sdk lock prune\`. Against the real workspace,
|
|
430
|
+
Lock drift from \`npm run xano:check\`: \`npx @xano/sdk lock rename <kind> <old> <new>\` finishes a
|
|
431
|
+
rename, \`npx @xano/sdk lock prune\` drops a deleted object's entry. Against the real workspace,
|
|
424
432
|
\`npx @xano/sdk workspace diff ./xano/index.ts\` exits 2 when anything differs.
|
|
425
433
|
- **Generated files are missing.** \`xano/routes.gen.ts\`: \`npm run xano:routes\` (it writes
|
|
426
434
|
nothing until the workspace has an endpoint). \`xano/xano.lock\`: any export or deploy
|
|
@@ -441,8 +449,7 @@ function intro(mode, frontend) {
|
|
|
441
449
|
return `This is a [Xano SDK](https://www.npmjs.com/package/@xano/sdk) project whose
|
|
442
450
|
Xano backend under \`xano/\` was **pulled from a live workspace** and written as
|
|
443
451
|
TypeScript by \`xanosdk init --from\`.${frontend === null ? "" : ` The ${frontend.label} frontend under \`frontend/\`
|
|
444
|
-
is a starter.`}
|
|
445
|
-
drive a Xano workspace from code.
|
|
452
|
+
is a starter.`}
|
|
446
453
|
|
|
447
454
|
### Two rules before you edit anything
|
|
448
455
|
|
|
@@ -461,8 +468,7 @@ round-trip on the pull, and it is the only place a decode gap is written down.`;
|
|
|
461
468
|
}
|
|
462
469
|
return `This is a [Xano SDK](https://www.npmjs.com/package/@xano/sdk) project. The
|
|
463
470
|
Xano backend is authored in TypeScript under \`xano/\`${frontend === null ? "." : `; the ${frontend.label} frontend
|
|
464
|
-
lives under \`frontend/\`.`}
|
|
465
|
-
supported way to drive a Xano workspace from code.`;
|
|
471
|
+
lives under \`frontend/\`.`}`;
|
|
466
472
|
}
|
|
467
473
|
function guidanceBody(mode = "authored", frontend = DEFAULT_FRONTEND_GUIDANCE) {
|
|
468
474
|
const hasFrontend = frontend !== null;
|
|
@@ -478,7 +484,7 @@ ${developmentWorkflow(mode, hasFrontend)}
|
|
|
478
484
|
|
|
479
485
|
${xanoSdk(hasFrontend)}
|
|
480
486
|
|
|
481
|
-
${backendChanges(
|
|
487
|
+
${backendChanges()}
|
|
482
488
|
|
|
483
489
|
${agentGuidance(hasFrontend)}
|
|
484
490
|
|
|
@@ -1000,4 +1006,4 @@ export {
|
|
|
1000
1006
|
changedOnDisk,
|
|
1001
1007
|
scaffoldProject
|
|
1002
1008
|
};
|
|
1003
|
-
//# sourceMappingURL=chunk-
|
|
1009
|
+
//# sourceMappingURL=chunk-ISIZFK5Q.js.map
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
} from "./chunk-EUUUMY7J.js";
|
|
4
4
|
import {
|
|
5
5
|
backendDirIn
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YJXJOMXW.js";
|
|
7
7
|
import {
|
|
8
8
|
shellWord
|
|
9
9
|
} from "./chunk-FWD7AL6N.js";
|
|
10
10
|
import {
|
|
11
11
|
pointerRootFor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IFHFJR5O.js";
|
|
13
13
|
import {
|
|
14
14
|
UsageError,
|
|
15
15
|
setTypedCwd
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZHFSIQ6E.js";
|
|
17
17
|
|
|
18
18
|
// src/emit/xanosdk-project.ts
|
|
19
19
|
import { existsSync, realpathSync, statSync } from "fs";
|
|
@@ -154,4 +154,4 @@ export {
|
|
|
154
154
|
RELATIVE_PATH_ARGS,
|
|
155
155
|
enterProjectRoot
|
|
156
156
|
};
|
|
157
|
-
//# sourceMappingURL=chunk-
|
|
157
|
+
//# sourceMappingURL=chunk-IUJDUFT7.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
statementLabel
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F3JK5RIY.js";
|
|
4
4
|
import {
|
|
5
5
|
PROTO_KEY,
|
|
6
6
|
describeEntry,
|
|
7
7
|
protoKeyed
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SGEOXJIH.js";
|
|
9
9
|
import {
|
|
10
10
|
withArticle
|
|
11
11
|
} from "./chunk-36JUQZVQ.js";
|
|
@@ -319,4 +319,4 @@ export {
|
|
|
319
319
|
encodeTags,
|
|
320
320
|
defaultHistory
|
|
321
321
|
};
|
|
322
|
-
//# sourceMappingURL=chunk-
|
|
322
|
+
//# sourceMappingURL=chunk-JHAZK4RY.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addDependency,
|
|
3
3
|
removeDependency
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XAE4NIZ2.js";
|
|
5
5
|
import {
|
|
6
6
|
condenseNpmError,
|
|
7
7
|
npmViewVersion
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-FWD7AL6N.js";
|
|
12
12
|
import {
|
|
13
13
|
isLocalSpecifier
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YYBBJPCL.js";
|
|
15
15
|
import {
|
|
16
16
|
addArgs,
|
|
17
17
|
installSite,
|
|
@@ -25,14 +25,14 @@ import {
|
|
|
25
25
|
moduleKind,
|
|
26
26
|
packageNameOf,
|
|
27
27
|
readInstalledManifest
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-XDGLYIB2.js";
|
|
29
29
|
import {
|
|
30
30
|
UsageError,
|
|
31
31
|
spinner,
|
|
32
32
|
step,
|
|
33
33
|
success,
|
|
34
34
|
warn
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ZHFSIQ6E.js";
|
|
36
36
|
|
|
37
37
|
// src/emit/init-modules.ts
|
|
38
38
|
import { existsSync, readFileSync, realpathSync } from "fs";
|
|
@@ -448,7 +448,7 @@ async function sdkPeerSkewOf(dir, pkg) {
|
|
|
448
448
|
const manifest = readInstalledManifest(dir, pkg);
|
|
449
449
|
if (manifest === null) return null;
|
|
450
450
|
const [{ sdkPeerSkew }, { readVersion }] = await Promise.all([
|
|
451
|
-
import("./toolchain-modules-
|
|
451
|
+
import("./toolchain-modules-PBVBCPQJ.js"),
|
|
452
452
|
import("./cli.js")
|
|
453
453
|
]);
|
|
454
454
|
const sdkVersion = readVersion();
|
|
@@ -480,4 +480,4 @@ export {
|
|
|
480
480
|
inProject,
|
|
481
481
|
installModules
|
|
482
482
|
};
|
|
483
|
-
//# sourceMappingURL=chunk-
|
|
483
|
+
//# sourceMappingURL=chunk-KGHJ74HF.js.map
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-HU7F56VF.js";
|
|
4
4
|
import {
|
|
5
5
|
LocalFileNotFoundError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZHFSIQ6E.js";
|
|
7
7
|
import {
|
|
8
8
|
buildContentEnvelope
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QDPY7RN3.js";
|
|
10
10
|
import {
|
|
11
11
|
SEED_FILE,
|
|
12
12
|
assertSeedIds,
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
seedFailure,
|
|
18
18
|
tableColumns,
|
|
19
19
|
tableIndexes
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WVVUE7LU.js";
|
|
21
21
|
import {
|
|
22
22
|
DiagnosticError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FMXPV5JI.js";
|
|
24
24
|
import {
|
|
25
25
|
HOSTED_FILE,
|
|
26
26
|
HOSTED_FILE_SCHEME,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-VQPDATQT.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveRef
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-FTS42N37.js";
|
|
33
33
|
|
|
34
34
|
// src/workspace/seed.ts
|
|
35
35
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -404,4 +404,4 @@ export {
|
|
|
404
404
|
collectNonPublicSeedValues,
|
|
405
405
|
seedRowsByTableGuid
|
|
406
406
|
};
|
|
407
|
-
//# sourceMappingURL=chunk-
|
|
407
|
+
//# sourceMappingURL=chunk-L2O5KG5Q.js.map
|