@xano/sdk 1.0.20 → 1.0.22
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 +39 -0
- package/README.md +1 -1
- package/dist/{agent-file-refresh-MOEDX5OL.js → agent-file-refresh-LV5ZBJEW.js} +14 -14
- package/dist/{agent-skill-command-A4QEVNTP.js → agent-skill-command-NPWUUIKI.js} +47 -47
- package/dist/{ai-models-command-SN2UKVC5.js → ai-models-command-BVOVIC6C.js} +9 -9
- package/dist/{answer-shape-BCGPH73R.js → answer-shape-4HVMTHYM.js} +5 -5
- package/dist/{backend-dir-66VVLCUF.js → backend-dir-6S23WBVQ.js} +13 -13
- package/dist/{backend-slot-WSWAHL2W.js → backend-slot-FS7G67MV.js} +4 -4
- package/dist/bin.js +51 -48
- package/dist/{branch-6DBHVVUT.js → branch-EV4K6G2F.js} +9 -9
- package/dist/{branch-commands-KUEGS6XL.js → branch-commands-VZKHIPDP.js} +25 -25
- package/dist/bundle.d.ts +2 -2
- package/dist/{chunk-OG6WYZNA.js → chunk-2T73ZZEB.js} +5 -5
- package/dist/{chunk-C7KO5KKB.js → chunk-2XRO4TQP.js} +7 -6
- package/dist/{chunk-4QRDNBPY.js → chunk-3WPQOIE5.js} +2 -2
- package/dist/{chunk-DAXFWXSV.js → chunk-4EFBDSVU.js} +3 -3
- package/dist/{chunk-YRLSJBSY.js → chunk-4RE636YS.js} +47 -44
- package/dist/{chunk-4DVP42ZC.js → chunk-5MVSDE67.js} +2 -2
- package/dist/{chunk-TN7ZBZRW.js → chunk-5WCHWKLJ.js} +3 -3
- package/dist/{chunk-LZDH5COS.js → chunk-6H57HQFN.js} +3 -3
- package/dist/{chunk-EQ2KB5YF.js → chunk-6JOQSH5G.js} +4 -4
- package/dist/{chunk-JHAZK4RY.js → chunk-6VKDIKJI.js} +2 -2
- package/dist/{chunk-4PHCBKJI.js → chunk-7GE6FZVU.js} +7 -6
- package/dist/{chunk-FSHW3GQU.js → chunk-A2TTPUAG.js} +3 -3
- package/dist/{chunk-CP7OSHLK.js → chunk-A2YRUMSZ.js} +7 -7
- package/dist/{chunk-CPR2F3WN.js → chunk-A5IFOUCW.js} +4 -4
- package/dist/{chunk-QZ2PC6B7.js → chunk-ABC7LY6Q.js} +69 -3
- package/dist/{chunk-QBSSSKIC.js → chunk-AEEZIZ2A.js} +3 -3
- package/dist/{chunk-MAAQ4ZSN.js → chunk-ATEB3WHX.js} +49 -49
- package/dist/{chunk-E7YXNU57.js → chunk-ATRMTNSR.js} +4 -4
- package/dist/{chunk-X3LYWTZ5.js → chunk-BISPJIDL.js} +3 -3
- package/dist/{chunk-7Z43XRBL.js → chunk-BJFO44A3.js} +5 -5
- package/dist/{chunk-2VHEZDZZ.js → chunk-BQ7PALBF.js} +29 -29
- package/dist/{chunk-I5YD7QPI.js → chunk-BUNNVRO3.js} +41 -5
- package/dist/{chunk-5KSVMHFS.js → chunk-CUS54UAR.js} +3 -3
- package/dist/{chunk-ZCXWOGFL.js → chunk-CUVZ3RT5.js} +3 -3
- package/dist/{chunk-SVQMDVND.js → chunk-CZISUZJ6.js} +2 -2
- package/dist/{chunk-YSSAJQH4.js → chunk-E4I6DR7F.js} +3 -3
- package/dist/{chunk-3H765RXT.js → chunk-EAR66AGQ.js} +11 -8
- package/dist/{chunk-MGC5S6OE.js → chunk-ED6N6TMS.js} +23 -15
- package/dist/{chunk-TDSRZDQP.js → chunk-EFP5WRUV.js} +2 -2
- package/dist/{chunk-34OZQNKR.js → chunk-EPMDBGJ6.js} +4 -4
- package/dist/{chunk-HUXMRYUX.js → chunk-EU63V7YR.js} +3 -3
- package/dist/{chunk-KMXXOJL2.js → chunk-F7YI4K7J.js} +14 -14
- package/dist/{chunk-LLG33KGY.js → chunk-F7YMUAEI.js} +15 -15
- package/dist/{chunk-EPD5J3WA.js → chunk-FIVLDAIK.js} +3 -3
- package/dist/{chunk-DJ7JH4UE.js → chunk-FTGMEKYL.js} +7 -7
- package/dist/{chunk-KHX6VQ4M.js → chunk-FWGPIQMW.js} +2 -2
- package/dist/{chunk-G3ZUGFIS.js → chunk-GG4KEISG.js} +5 -5
- package/dist/{chunk-YFVD3LNL.js → chunk-HDY5IY5M.js} +2 -2
- package/dist/{chunk-5Z4WQQHC.js → chunk-HWD2Z72H.js} +2 -2
- package/dist/{chunk-IUBGFCJJ.js → chunk-IH6NGW5Z.js} +6 -6
- package/dist/{chunk-3OR2RCXJ.js → chunk-ILPZJJVY.js} +92 -82
- package/dist/{chunk-RVBDZMCC.js → chunk-IMU3T4B3.js} +60 -18
- package/dist/{chunk-RSWPVU6X.js → chunk-KSW6PW36.js} +8 -8
- package/dist/{chunk-BFM2P47R.js → chunk-KYZ6QCR3.js} +6 -6
- package/dist/{chunk-CJIXD67B.js → chunk-L37MTTU4.js} +6 -6
- package/dist/{chunk-EOWNLLLV.js → chunk-LAZUQLWU.js} +7 -6
- package/dist/{chunk-FMXPV5JI.js → chunk-LEODZXR7.js} +4 -4
- package/dist/{chunk-T6GI2AFJ.js → chunk-LJSYTEPF.js} +14 -14
- package/dist/{chunk-TEZKQQDT.js → chunk-LOXVHC7B.js} +8 -8
- package/dist/{chunk-CGLYG2VF.js → chunk-M3DIFMJX.js} +2 -2
- package/dist/{chunk-EJXJE2H3.js → chunk-MKZDHVVE.js} +46 -46
- package/dist/{chunk-3HK7VELD.js → chunk-MO4SSEPP.js} +2 -2
- package/dist/{chunk-M5GXZEX7.js → chunk-N5O76SCI.js} +4 -4
- package/dist/{chunk-5BLBX2Q5.js → chunk-NHGED6BY.js} +9 -9
- package/dist/{chunk-LMX4VE4H.js → chunk-NRFE7KLI.js} +4 -4
- package/dist/{chunk-C6ERQFEB.js → chunk-ODS5M4Y7.js} +5 -5
- package/dist/{chunk-6ODQ5GDZ.js → chunk-OI34XIHM.js} +2 -2
- package/dist/{chunk-52VELHIH.js → chunk-OT3DSWIT.js} +5 -5
- package/dist/{chunk-6TAYTKFM.js → chunk-P3G2Z2L3.js} +4 -4
- package/dist/{chunk-GUHJV7C5.js → chunk-Q25OESFL.js} +3 -3
- package/dist/{chunk-4Y3SWNPE.js → chunk-Q2ADIN5G.js} +2 -2
- package/dist/{chunk-PC7XEO7F.js → chunk-Q5VLI567.js} +2 -2
- package/dist/{chunk-CJ5WRCVE.js → chunk-Q6ZLVVJW.js} +5 -5
- package/dist/{chunk-WK5QDV25.js → chunk-QXGRUEU7.js} +3 -3
- package/dist/{chunk-CBACTYIC.js → chunk-RQ7EYCPF.js} +6 -6
- package/dist/{chunk-5ABAIJVV.js → chunk-TANRKGHA.js} +2 -2
- package/dist/{chunk-Z7IINILG.js → chunk-TSCO37LJ.js} +5 -5
- package/dist/{chunk-SQVETROU.js → chunk-TW64BHNV.js} +4 -4
- package/dist/{chunk-T6KQYCAU.js → chunk-TXA37G44.js} +3 -3
- package/dist/{chunk-UN73LNM5.js → chunk-U27YUJE2.js} +4 -4
- package/dist/{chunk-7J7YRAZB.js → chunk-U66T5MAB.js} +4 -4
- package/dist/{chunk-DORGB2Y2.js → chunk-UEY2ADOJ.js} +2 -2
- package/dist/{chunk-4GI22VPJ.js → chunk-UMQRDEZG.js} +4 -4
- package/dist/{chunk-RHH6SCB4.js → chunk-UO5ZFNIV.js} +4 -4
- package/dist/{chunk-BBFHZMQA.js → chunk-VBOCHX7Y.js} +2 -2
- package/dist/{chunk-VEA6EXJL.js → chunk-VEW3ESAC.js} +3 -3
- package/dist/{chunk-KNLPGIRY.js → chunk-VRDEZVLP.js} +7 -7
- package/dist/{chunk-6L32HAIP.js → chunk-VRHJTYBO.js} +2 -2
- package/dist/{chunk-6534P3VH.js → chunk-VZIGBEF4.js} +2 -2
- package/dist/{chunk-YAZEB255.js → chunk-WAUIPPMF.js} +2 -2
- package/dist/{chunk-HGUQIBYY.js → chunk-WHZJWZTF.js} +7 -7
- package/dist/{chunk-745NOWB7.js → chunk-WNDTIUTA.js} +4 -4
- package/dist/{chunk-52QAENY6.js → chunk-WYOQNVM2.js} +4 -4
- package/dist/{chunk-JXX2QXPP.js → chunk-X7BDJ6WU.js} +2 -2
- package/dist/{chunk-EME5G4YP.js → chunk-XGNYUZLW.js} +9 -8
- package/dist/{chunk-2SWJ3267.js → chunk-XJ7SRNW2.js} +21 -18
- package/dist/{chunk-P3WIMLG2.js → chunk-XNXZZU3W.js} +2 -2
- package/dist/{chunk-AD7YILOU.js → chunk-XTDSS57C.js} +8 -8
- package/dist/{chunk-OSMPI45P.js → chunk-XXVP7E62.js} +3 -3
- package/dist/{chunk-MKRREVNB.js → chunk-Y7TZZ6NW.js} +8 -2
- package/dist/{chunk-I52AKG2O.js → chunk-YDGBFJUA.js} +4 -4
- package/dist/{chunk-OQMXCNN7.js → chunk-YDZJN26I.js} +4 -4
- package/dist/{chunk-WAP5362D.js → chunk-YHENFBYW.js} +2 -2
- package/dist/{chunk-OAWBNCME.js → chunk-YLHAGHS6.js} +23 -23
- package/dist/{chunk-EBSJUSID.js → chunk-ZBAINZJB.js} +2 -2
- package/dist/{chunk-SWQA6SZI.js → chunk-ZCGGTZQY.js} +74 -78
- package/dist/{chunk-FVBJKM6N.js → chunk-ZV2AEGZA.js} +2 -2
- package/dist/cli.d.ts +3 -3
- package/dist/cli.js +46 -46
- package/dist/{codegen-command-GGGU6YAP.js → codegen-command-BLQBH3TH.js} +63 -63
- package/dist/codegen.d.ts +3 -3
- package/dist/{commands-EN4RLPOP.js → commands-VHQIAW5C.js} +3 -3
- package/dist/{completion-KH45QD3E.js → completion-6R3KZY4A.js} +3 -3
- package/dist/{config-AKHBFTKA.js → config-KGXHN3JU.js} +4 -4
- package/dist/{deploy-command-WOHYD22D.js → deploy-command-TID6CA7V.js} +53 -53
- package/dist/{deploy-source-QK7Y4Y3V.js → deploy-source-2XGWS4YS.js} +29 -29
- package/dist/{dev-env-sync-AMFPULCP.js → dev-env-sync-QJIIUU7R.js} +47 -47
- package/dist/{diagnostics-T3RN3372.js → diagnostics-EYMAH4DV.js} +2 -2
- package/dist/{display-name-hint-QMT562BI.js → display-name-hint-5UJ3HFXY.js} +11 -11
- package/dist/{emit-BfHifhJy.d.ts → emit-CezfsIMN.d.ts} +44 -6
- package/dist/{env-example-refresh-F5RTDVJ5.js → env-example-refresh-POWYBDLK.js} +64 -64
- package/dist/{env-pull-command-J2ARE33T.js → env-pull-command-7IZ6YGTU.js} +43 -43
- package/dist/{env-target-WA4BR6GW.js → env-target-KAVQVPDO.js} +10 -10
- package/dist/{env-var-command-WEC22FI5.js → env-var-command-Q5ZWB7GA.js} +39 -39
- package/dist/{ephemeral-MNHEWSZ6.js → ephemeral-XJO3TZCY.js} +9 -9
- package/dist/{ephemeral-command-EJLS42VJ.js → ephemeral-command-2P6K6LKO.js} +44 -44
- package/dist/{ephemeral-state-QTT5JHD5.js → ephemeral-state-X5HR4FAK.js} +8 -8
- package/dist/{generate-command-2WHFL4CB.js → generate-command-6EIPQUYK.js} +68 -68
- package/dist/{gitignore-OKB3X335.js → gitignore-KNOLQB42.js} +17 -17
- package/dist/{guards-N4PUFKN5.js → guards-6KAY65CV.js} +6 -6
- package/dist/{impersonate-command-EIWI3FBD.js → impersonate-command-2SZFKFTW.js} +35 -35
- package/dist/{import-7HFTOT7M.js → import-7TYP5VND.js} +5 -5
- package/dist/index.d.ts +8 -8
- package/dist/index.js +11 -11
- package/dist/{init-command-POIWZKZ4.js → init-command-25SUJRAE.js} +51 -51
- package/dist/{init-modules-S7BR4NIJ.js → init-modules-A73RV2OJ.js} +10 -10
- package/dist/{init-web-YCPD6BYN.js → init-web-KRQCA43B.js} +3 -3
- package/dist/internal.d.ts +6 -6
- package/dist/internal.js +18 -17
- package/dist/{keep-data-merge-NXP77QML.js → keep-data-merge-4QFPEJBN.js} +24 -24
- package/dist/{lambda-config-reconcile-CC5QIP6E.js → lambda-config-reconcile-GWEMI2PL.js} +3 -3
- package/dist/{landing-record-MK44WCRY.js → landing-record-4CZTNKZT.js} +19 -19
- package/dist/{live-diff-GZ6JUNP6.js → live-diff-CPFDW6T4.js} +5 -5
- package/dist/{local-engine-ai-3XLJLOBP.js → local-engine-ai-6FF34RSX.js} +11 -11
- package/dist/{local-engine-choice-7QBML5XF.js → local-engine-choice-P3GZBFTE.js} +37 -37
- package/dist/{local-engine-command-N7VDPABW.js → local-engine-command-A76ADITM.js} +43 -43
- package/dist/{local-engine-deploy-RYZZYEDQ.js → local-engine-deploy-SEPTWYYD.js} +18 -16
- package/dist/{local-engine-lookup-2VSUWEQY.js → local-engine-lookup-C6YIQY7S.js} +3 -3
- package/dist/{local-engine-mcp-bridge-ECGTK7LF.js → local-engine-mcp-bridge-HQDIYT26.js} +10 -7
- package/dist/{local-engine-mcp-command-A257D3WK.js → local-engine-mcp-command-4OXNZDCM.js} +46 -46
- package/dist/{local-engine-process-P5T2766M.js → local-engine-process-YHQTPIK2.js} +22 -12
- package/dist/{local-engine-release-OK6GKULS.js → local-engine-release-DV4NJS24.js} +6 -6
- package/dist/{local-engine-state-BOKHLNRQ.js → local-engine-state-QJRY4IVD.js} +2 -2
- package/dist/{local-engine-update-check-C72LSVUQ.js → local-engine-update-check-YJ655C6V.js} +5 -5
- package/dist/{lock-commands-KMWLIGT2.js → lock-commands-CSUAP3CZ.js} +51 -51
- package/dist/{login-command-E2KMN6DV.js → login-command-TE4CGIEZ.js} +25 -25
- package/dist/{logout-command-AIB446AQ.js → logout-command-YR2G5OIN.js} +13 -13
- package/dist/{loop-EMTBWN4X.js → loop-H44NE3R6.js} +5 -5
- package/dist/{marketplace-command-YLBFUBHL.js → marketplace-command-4N5IIDSA.js} +32 -32
- package/dist/{marketplace-resolve-LT76KHJD.js → marketplace-resolve-NSCLONXK.js} +8 -8
- package/dist/{meta-client-AOPF5IQN.js → meta-client-XEMGHUUK.js} +14 -13
- package/dist/{module-manifest-B432UFBK.js → module-manifest-FGT5VXFQ.js} +4 -4
- package/dist/node.d.ts +7 -7
- package/dist/node.js +51 -51
- package/dist/{operation-outcome-GBSISFAP.js → operation-outcome-D5QHO5LT.js} +21 -21
- package/dist/{output-target-NHJLT4YI.js → output-target-CYAPGP3A.js} +18 -18
- package/dist/{plan-disclosure-5HM7CMRW.js → plan-disclosure-MWMOGKX2.js} +16 -16
- package/dist/{plugin-contributions-MEXUR7TY.js → plugin-contributions-6FOQ7TWS.js} +5 -5
- package/dist/{plugin-prompt-XM4ATAWA.js → plugin-prompt-CP5EVTAD.js} +5 -5
- package/dist/{plugin-questions-VGU3B4LE.js → plugin-questions-5R3CBBNM.js} +4 -4
- package/dist/{preflight-command-O52GLYGA.js → preflight-command-WT4RIL5P.js} +57 -57
- package/dist/{profile-command-NOKUVV3M.js → profile-command-5RXNMDIX.js} +26 -26
- package/dist/{profile-pointer-DHOU26Q2.js → profile-pointer-UURS2P3M.js} +4 -4
- package/dist/{project-config-SGRYMHBT.js → project-config-2DVU3VV6.js} +6 -6
- package/dist/{project-dependency-WTH776QE.js → project-dependency-IEGZVZNO.js} +9 -9
- package/dist/{project-sdk-FYNY7RTO.js → project-sdk-ZYTIHEVU.js} +4 -4
- package/dist/promote-command-HOW24EMD.js +150 -0
- package/dist/{prompt-JVYQH4OR.js → prompt-H2XC5AR7.js} +4 -4
- package/dist/{publish-command-LB2XULJA.js → publish-command-E6F5D3FY.js} +56 -56
- package/dist/{pull-command-UVNPFY2E.js → pull-command-ZBJJ6MDT.js} +66 -66
- package/dist/{pull-superseded-7EZ7M54I.js → pull-superseded-2UECGKGU.js} +4 -4
- package/dist/{raw-where-CinW0keO.d.ts → raw-where-B8Bx158p.d.ts} +1 -1
- package/dist/{release-command-BGSDY3BE.js → release-command-65Z3VDBQ.js} +61 -61
- package/dist/{release-ns-command-IVXK7HEG.js → release-ns-command-CH23BRI3.js} +79 -79
- package/dist/{retry-command-HG4IFE65.js → retry-command-FXAPSP5X.js} +8 -8
- package/dist/{routes-manifest-N73THJB3.js → routes-manifest-SXKLGPSQ.js} +6 -6
- package/dist/{routes-manifest-file-3MDX3JB3.js → routes-manifest-file-NAXVFRVN.js} +9 -9
- package/dist/scaffold.js +2 -2
- package/dist/{secrets-file-NFNUKRGZ.js → secrets-file-KKGISTCY.js} +17 -17
- package/dist/{secrets-fill-command-U5L7IKUO.js → secrets-fill-command-R3JTP2VN.js} +50 -50
- package/dist/{seed-M33F4OJW.js → seed-WQJYWO3I.js} +6 -6
- package/dist/{source-resolve-MAMVIHDF.js → source-resolve-TS2CWDZ6.js} +19 -19
- package/dist/{static-host-HCKD26Q3.js → static-host-K4YVJQNR.js} +5 -5
- package/dist/{status-command-VXIN37ET.js → status-command-FWE65NQQ.js} +36 -36
- package/dist/{store-Dt-5vOSe.d.ts → store-CscLDS9B.d.ts} +3 -3
- package/dist/{store-ZWQFSXH5.js → store-UIIOQ4G3.js} +6 -6
- package/dist/{sync-baseline-XLRJQZCS.js → sync-baseline-6J7SQUPN.js} +6 -6
- package/dist/{sync-contributions-PGMYJKLG.js → sync-contributions-MV7UXGUN.js} +12 -12
- package/dist/{sync-record-UFEJDNLR.js → sync-record-ASVPKPKZ.js} +10 -10
- package/dist/{table-JHPGUJ2Z.js → table-RYGYFUV6.js} +8 -8
- package/dist/{tables-command-FNBHVJG3.js → tables-command-W3KSMKYR.js} +36 -36
- package/dist/{tenant-SSWC7B3V.js → tenant-C7TDXCIN.js} +10 -10
- package/dist/{tenant-command-PHNX3PXS.js → tenant-command-ZPNAY7AM.js} +83 -83
- package/dist/{test-command-DMMF3RMK.js → test-command-7Z5F5SKW.js} +34 -34
- package/dist/{tests-ZFQWDWS2.js → tests-6OXEGO3H.js} +6 -6
- package/dist/{token-IHOPB74T.js → token-UPSKG3BH.js} +9 -9
- package/dist/{toolchain-hooks-IRPM6LYL.js → toolchain-hooks-GST2SEDT.js} +8 -8
- package/dist/{toolchain-modules-V56JXU2E.js → toolchain-modules-V7AOUVZ3.js} +8 -8
- package/dist/{toolchain-peers-NOIM44ED.js → toolchain-peers-7PXXNC4P.js} +10 -10
- package/dist/{tracked-backend-VKWZKKBG.js → tracked-backend-CCBFWEJV.js} +32 -32
- package/dist/{update-check-DZ4YVDNS.js → update-check-D7EVYWDB.js} +49 -49
- package/dist/{upgrade-command-EP5WQWFA.js → upgrade-command-7AJQ265B.js} +52 -52
- package/dist/{whoami-command-UV6EEDBY.js → whoami-command-LNFEE5XP.js} +12 -12
- package/dist/{workspace-6LVJ3LZE.js → workspace-KNMGO3LZ.js} +5 -5
- package/dist/{workspace-binding-AUZIERMF.js → workspace-binding-CEB7LD2Y.js} +11 -11
- package/dist/{workspace-command-VXOY6KPE.js → workspace-command-DY5K6A5L.js} +79 -79
- package/dist/{workspace-env-ZNGE3DFN.js → workspace-env-VPEHJVRV.js} +14 -14
- package/dist/{workspace-export-A4L6272C.js → workspace-export-O33G7GRU.js} +5 -5
- package/dist/{writable-762DMPHW.js → writable-YP3UI2XU.js} +4 -4
- package/dist/{xano-XZN5SRDH.js → xano-Y3J4S433.js} +7 -7
- package/dist/{xanosdk-import-FENZ7XMW.js → xanosdk-import-TC2YGIEJ.js} +6 -6
- package/dist/{xanosdk-project-K4RKLLNO.js → xanosdk-project-J5VAVLCA.js} +15 -15
- package/dist/{xdo-DNGZGO1j.d.ts → xdo-BEYX5ihv.d.ts} +2 -2
- package/guides/deploying.md +13 -4
- package/guides/environment.md +15 -0
- package/llms/kinds-agent-mcp.md +2 -2
- package/llms/kinds-core.md +1 -1
- package/llms/object-kinds.md +1 -1
- package/llms/tests.md +3 -2
- package/llms-full.txt +9 -8
- package/llms.txt +2 -2
- package/manifest.json +1 -1
- package/package.json +2 -39
- package/skills/xano-backend/SKILL.md +2 -2
- package/dist/.build-fingerprint +0 -1
- package/dist/promote-command-2NMTINVS.js +0 -150
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertOneName,
|
|
3
3
|
noteRunArgs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CUVZ3RT5.js";
|
|
5
5
|
import {
|
|
6
6
|
WORKSPACE_ENV_FILE,
|
|
7
7
|
classifyEnv,
|
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
namesInEnvExample,
|
|
11
11
|
readEnvFile,
|
|
12
12
|
readWorkspaceEnvFileContents
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-U27YUJE2.js";
|
|
14
14
|
import {
|
|
15
15
|
readTrackedBackend
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-F7YI4K7J.js";
|
|
17
17
|
import {
|
|
18
18
|
isExpired
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WNDTIUTA.js";
|
|
20
20
|
import {
|
|
21
21
|
allLandings,
|
|
22
22
|
getEnvironment,
|
|
23
23
|
readEphemeralState
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-4EFBDSVU.js";
|
|
25
25
|
import {
|
|
26
26
|
buildSeedContentFiles,
|
|
27
27
|
collectNonPublicSeedValues,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
hostedFileResolver,
|
|
30
30
|
isMissingFile,
|
|
31
31
|
registerSeedHostedFiles
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-NRFE7KLI.js";
|
|
33
33
|
import {
|
|
34
34
|
readLockFile,
|
|
35
35
|
readLockFileReport,
|
|
@@ -37,23 +37,23 @@ import {
|
|
|
37
37
|
} from "./chunk-7ZVQIKNL.js";
|
|
38
38
|
import {
|
|
39
39
|
isCI
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-OT3DSWIT.js";
|
|
41
41
|
import {
|
|
42
42
|
backendSlotForFlag,
|
|
43
43
|
slotValueMissing
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-M3DIFMJX.js";
|
|
45
45
|
import {
|
|
46
46
|
defaultWorkspaceSecretsPath,
|
|
47
47
|
readSecretsFile
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-ATRMTNSR.js";
|
|
49
49
|
import {
|
|
50
50
|
isUnwritableError,
|
|
51
51
|
unwritableError
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-EFP5WRUV.js";
|
|
53
53
|
import {
|
|
54
54
|
contextFlags,
|
|
55
55
|
setHintContext
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-5MVSDE67.js";
|
|
57
57
|
import {
|
|
58
58
|
expandHome
|
|
59
59
|
} from "./chunk-EUUUMY7J.js";
|
|
@@ -70,8 +70,10 @@ import {
|
|
|
70
70
|
import {
|
|
71
71
|
inCredentialScope,
|
|
72
72
|
lastResolvedAuth,
|
|
73
|
+
noteUserAgentCommand,
|
|
74
|
+
noteUserAgentVersion,
|
|
73
75
|
pinnedWorkspaceMissed
|
|
74
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-ABC7LY6Q.js";
|
|
75
77
|
import {
|
|
76
78
|
assertValidProfileName
|
|
77
79
|
} from "./chunk-Q4R2ABFL.js";
|
|
@@ -136,7 +138,7 @@ import {
|
|
|
136
138
|
warn,
|
|
137
139
|
withCliPrefix,
|
|
138
140
|
writeJson
|
|
139
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-VZIGBEF4.js";
|
|
140
142
|
import {
|
|
141
143
|
KNOWLEDGE_DIR,
|
|
142
144
|
KNOWLEDGE_FILE,
|
|
@@ -144,13 +146,13 @@ import {
|
|
|
144
146
|
isOsMetadataFile,
|
|
145
147
|
registerAllKinds,
|
|
146
148
|
serializeBundle
|
|
147
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-ED6N6TMS.js";
|
|
148
150
|
import {
|
|
149
151
|
Xano,
|
|
150
152
|
checkDrillMaybeNull,
|
|
151
153
|
checkFilterOperands,
|
|
152
154
|
standaloneDefKind
|
|
153
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-XGNYUZLW.js";
|
|
154
156
|
import {
|
|
155
157
|
knowledgeBodiesAllEmpty
|
|
156
158
|
} from "./chunk-QDPY7RN3.js";
|
|
@@ -187,7 +189,7 @@ import {
|
|
|
187
189
|
checkUncheckedWorkflowTestCalls,
|
|
188
190
|
checkZipPasswordKeys,
|
|
189
191
|
isQueryExpressionFilter
|
|
190
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-Q6ZLVVJW.js";
|
|
191
193
|
import {
|
|
192
194
|
FILTER_NAMES
|
|
193
195
|
} from "./chunk-RLQX6LHW.js";
|
|
@@ -197,7 +199,7 @@ import {
|
|
|
197
199
|
} from "./chunk-GSGDWJB5.js";
|
|
198
200
|
import {
|
|
199
201
|
getKind
|
|
200
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-6VKDIKJI.js";
|
|
201
203
|
import {
|
|
202
204
|
WORKSPACE_SECRETS_FILE,
|
|
203
205
|
documentationScopeFlagLabel,
|
|
@@ -208,7 +210,7 @@ import {
|
|
|
208
210
|
DiagnosticError,
|
|
209
211
|
isDiagnosticError,
|
|
210
212
|
setDiagnosticSink
|
|
211
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-LEODZXR7.js";
|
|
212
214
|
import {
|
|
213
215
|
suggest
|
|
214
216
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -1380,6 +1382,11 @@ function helpTargetFor(command, subcommand) {
|
|
|
1380
1382
|
if (command === void 0 || !isCommand(command)) return void 0;
|
|
1381
1383
|
return subcommand !== void 0 && getSubcommand(command, subcommand) !== void 0 ? { command, subcommand } : { command };
|
|
1382
1384
|
}
|
|
1385
|
+
function knownCommand(args) {
|
|
1386
|
+
const target = helpTargetFor(args.command, args.subcommand);
|
|
1387
|
+
if (target === void 0) return void 0;
|
|
1388
|
+
return target.subcommand === void 0 ? target.command : `${target.command} ${target.subcommand}`;
|
|
1389
|
+
}
|
|
1383
1390
|
function selectorValueMissing(key, spelling, command, subcommand) {
|
|
1384
1391
|
const slot = backendSlotForFlag(command, subcommand, key);
|
|
1385
1392
|
if (slot !== void 0) return slotValueMissing(slot);
|
|
@@ -2610,7 +2617,7 @@ async function tsxRemedy(file) {
|
|
|
2610
2617
|
);
|
|
2611
2618
|
if (!declared) return fallback;
|
|
2612
2619
|
const { detectPackageManager } = await import("./package-manager-K762W7XT.js");
|
|
2613
|
-
const { inProject } = await import("./init-modules-
|
|
2620
|
+
const { inProject } = await import("./init-modules-A73RV2OJ.js");
|
|
2614
2621
|
return `This project's package.json declares it, but its dependencies are not installed \u2014 run \`${inProject(dir)}${detectPackageManager(dir)} install\` first.`;
|
|
2615
2622
|
}
|
|
2616
2623
|
if (dirname2(dir) === dir) return fallback;
|
|
@@ -3158,6 +3165,7 @@ function run(argv) {
|
|
|
3158
3165
|
noteRunScope(void 0);
|
|
3159
3166
|
runArgs = void 0;
|
|
3160
3167
|
noteRunArgs(void 0);
|
|
3168
|
+
noteUserAgentCommand(void 0);
|
|
3161
3169
|
offeredPull = void 0;
|
|
3162
3170
|
mergeExcusedEnv = void 0;
|
|
3163
3171
|
mergeExcusedDocToken = void 0;
|
|
@@ -3231,7 +3239,7 @@ async function explainUnreachableWorkspace(err) {
|
|
|
3231
3239
|
let verdict = unreachableVerdicts.get(auth);
|
|
3232
3240
|
if (verdict === void 0) {
|
|
3233
3241
|
verdict = (async () => {
|
|
3234
|
-
const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-
|
|
3242
|
+
const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-CEB7LD2Y.js");
|
|
3235
3243
|
const all = await readReachableWorkspaces(auth, 15e3);
|
|
3236
3244
|
if (all === void 0 || all.length === 0 || all.some((w) => w.id === auth.workspaceId)) return void 0;
|
|
3237
3245
|
return new UsageError(unreachableWorkspaceMessage(auth, all));
|
|
@@ -3245,7 +3253,7 @@ async function explainRejectedCredential(err) {
|
|
|
3245
3253
|
if (!(err instanceof Error) || resolved === void 0) return err;
|
|
3246
3254
|
const [first = "", ...rest] = err.message.split("\n");
|
|
3247
3255
|
if (!/\(401\b[^)]*\)|\banswered (HTTP )?401\b/.test(first) || /\brejected\b/.test(err.message)) return err;
|
|
3248
|
-
const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-
|
|
3256
|
+
const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-LNFEE5XP.js");
|
|
3249
3257
|
const { auth, args } = resolved;
|
|
3250
3258
|
err.message = [first, rejectedRemedy(auth, args), ...rest].join("\n");
|
|
3251
3259
|
if (failureCode(err) === "SDK_ERROR") asRejectedCredential(err, auth, args);
|
|
@@ -3283,10 +3291,10 @@ function withoutSecretValue(args) {
|
|
|
3283
3291
|
}
|
|
3284
3292
|
async function nameLookupRerun(failure) {
|
|
3285
3293
|
if (!(failure instanceof Error) || runArgs?.argv === void 0) return failure;
|
|
3286
|
-
const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-
|
|
3294
|
+
const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-TS2CWDZ6.js");
|
|
3287
3295
|
const err = rateLimitedFailure(failure);
|
|
3288
3296
|
if (!(err instanceof LookupFailedError)) return err;
|
|
3289
|
-
const { retryCommand, withheldNote } = await import("./deploy-command-
|
|
3297
|
+
const { retryCommand, withheldNote } = await import("./deploy-command-TID6CA7V.js");
|
|
3290
3298
|
if (runArgs.command === "env" && runArgs.subcommand === "set") {
|
|
3291
3299
|
const retry2 = retryCommand(withoutSecretValue(runArgs));
|
|
3292
3300
|
return err.withRerun(
|
|
@@ -3341,7 +3349,7 @@ function isPathlessRun(args) {
|
|
|
3341
3349
|
return PATHLESS_COMMANDS.has(command) || PATHLESS_VERBS[command]?.has(args.subcommand ?? "") === true;
|
|
3342
3350
|
}
|
|
3343
3351
|
async function atProjectRoot(args, command, positional) {
|
|
3344
|
-
const { enterProjectRoot } = await import("./xanosdk-project-
|
|
3352
|
+
const { enterProjectRoot } = await import("./xanosdk-project-J5VAVLCA.js");
|
|
3345
3353
|
const entered = enterProjectRoot(args, process.cwd(), positional);
|
|
3346
3354
|
if (entered === void 0) return command(args);
|
|
3347
3355
|
if (isPathlessRun(args)) {
|
|
@@ -3442,7 +3450,7 @@ async function dispatch(rawArgv) {
|
|
|
3442
3450
|
if (typed[0] === "init") {
|
|
3443
3451
|
const web = typed.indexOf("--web", 1);
|
|
3444
3452
|
if (web !== -1) {
|
|
3445
|
-
const { runInitWebCommand } = await import("./init-web-
|
|
3453
|
+
const { runInitWebCommand } = await import("./init-web-KRQCA43B.js");
|
|
3446
3454
|
return runInitWebCommand([...typed.slice(1, web), ...typed.slice(web + 1)]);
|
|
3447
3455
|
}
|
|
3448
3456
|
}
|
|
@@ -3460,7 +3468,7 @@ async function dispatch(rawArgv) {
|
|
|
3460
3468
|
throw unknownSubcommand(helpRequest.command, helpRequest.unknownSubcommand, helpRequest.positionals ?? []);
|
|
3461
3469
|
}
|
|
3462
3470
|
if (argv.includes("--json")) {
|
|
3463
|
-
const { helpDocument } = await import("./commands-
|
|
3471
|
+
const { helpDocument } = await import("./commands-VHQIAW5C.js");
|
|
3464
3472
|
writeJson({ version: readVersion(), ...helpDocument(helpRequest) });
|
|
3465
3473
|
return;
|
|
3466
3474
|
}
|
|
@@ -3481,7 +3489,9 @@ async function dispatch(rawArgv) {
|
|
|
3481
3489
|
setHintContext(args);
|
|
3482
3490
|
runArgs = args;
|
|
3483
3491
|
noteRunArgs(args);
|
|
3484
|
-
|
|
3492
|
+
noteUserAgentCommand(knownCommand(args));
|
|
3493
|
+
noteUserAgentVersion(readVersion());
|
|
3494
|
+
if (isMachineOutput(args)) (await import("./update-check-D7EVYWDB.js")).routeUpdateNoticeToDocument();
|
|
3485
3495
|
const { command } = args;
|
|
3486
3496
|
const out = args.out === "-" ? void 0 : args.out;
|
|
3487
3497
|
if (command === void 0) {
|
|
@@ -3502,11 +3512,11 @@ async function dispatch(rawArgv) {
|
|
|
3502
3512
|
return;
|
|
3503
3513
|
}
|
|
3504
3514
|
if (command === "init") {
|
|
3505
|
-
const { runInitCommand } = await import("./init-command-
|
|
3515
|
+
const { runInitCommand } = await import("./init-command-25SUJRAE.js");
|
|
3506
3516
|
return runInitCommand(args);
|
|
3507
3517
|
}
|
|
3508
3518
|
if (command === "completion") {
|
|
3509
|
-
const { isCompletionShell, runCompletionCommand, COMPLETION_SHELLS, UNSUPPORTED_SHELLS } = await import("./completion-
|
|
3519
|
+
const { isCompletionShell, runCompletionCommand, COMPLETION_SHELLS, UNSUPPORTED_SHELLS } = await import("./completion-6R3KZY4A.js");
|
|
3510
3520
|
const shell = args.positionals[0];
|
|
3511
3521
|
if (shell === void 0) throw missingArgument("shell", { command: "completion" });
|
|
3512
3522
|
if (!isCompletionShell(shell)) {
|
|
@@ -3525,119 +3535,119 @@ async function dispatch(rawArgv) {
|
|
|
3525
3535
|
return runCompletionCommand(shell);
|
|
3526
3536
|
}
|
|
3527
3537
|
if (command === "agent-skill") {
|
|
3528
|
-
const { runAgentSkillCommand } = await import("./agent-skill-command-
|
|
3538
|
+
const { runAgentSkillCommand } = await import("./agent-skill-command-NPWUUIKI.js");
|
|
3529
3539
|
return runAgentSkillCommand(args);
|
|
3530
3540
|
}
|
|
3531
3541
|
if (command === "upgrade") {
|
|
3532
|
-
const { runUpgradeCommand } = await import("./upgrade-command-
|
|
3542
|
+
const { runUpgradeCommand } = await import("./upgrade-command-7AJQ265B.js");
|
|
3533
3543
|
return runUpgradeCommand(args);
|
|
3534
3544
|
}
|
|
3535
3545
|
if (command === "lock") {
|
|
3536
|
-
const { runLockCommand } = await import("./lock-commands-
|
|
3546
|
+
const { runLockCommand } = await import("./lock-commands-CSUAP3CZ.js");
|
|
3537
3547
|
const verb = args.positionals[0];
|
|
3538
|
-
const { isProjectDir } = await import("./xanosdk-project-
|
|
3548
|
+
const { isProjectDir } = await import("./xanosdk-project-J5VAVLCA.js");
|
|
3539
3549
|
const here = verb !== "prune" && args.lockPath === void 0 && args.entryPath === void 0 && existsSync3("xano.lock") && !isProjectDir(process.cwd()) ? { ...args, lockPath: "xano.lock" } : args;
|
|
3540
3550
|
return atProjectRoot(here, runLockCommand, verb === "prune" || verb === "import" ? "verb-path" : void 0);
|
|
3541
3551
|
}
|
|
3542
3552
|
if (command === "login") {
|
|
3543
|
-
const { runLoginCommand } = await import("./login-command-
|
|
3553
|
+
const { runLoginCommand } = await import("./login-command-TE4CGIEZ.js");
|
|
3544
3554
|
return runLoginCommand(args);
|
|
3545
3555
|
}
|
|
3546
3556
|
if (command === "logout") {
|
|
3547
|
-
const { runLogoutCommand } = await import("./logout-command-
|
|
3557
|
+
const { runLogoutCommand } = await import("./logout-command-YR2G5OIN.js");
|
|
3548
3558
|
return runLogoutCommand(args);
|
|
3549
3559
|
}
|
|
3550
3560
|
if (command === "deploy") {
|
|
3551
|
-
const { runDeployCommand } = await import("./deploy-command-
|
|
3561
|
+
const { runDeployCommand } = await import("./deploy-command-TID6CA7V.js");
|
|
3552
3562
|
return atProjectRoot(args, runDeployCommand, entryPositional(args));
|
|
3553
3563
|
}
|
|
3554
3564
|
if (command === "ephemeral") {
|
|
3555
|
-
const { runEphemeralCommand } = await import("./ephemeral-command-
|
|
3565
|
+
const { runEphemeralCommand } = await import("./ephemeral-command-2P6K6LKO.js");
|
|
3556
3566
|
return atProjectRoot(args, runEphemeralCommand);
|
|
3557
3567
|
}
|
|
3558
3568
|
if (command === "local") {
|
|
3559
|
-
const { runLocalEngineCommand } = await import("./local-engine-command-
|
|
3569
|
+
const { runLocalEngineCommand } = await import("./local-engine-command-A76ADITM.js");
|
|
3560
3570
|
const readsProject = ["token", "stop", "update", "mcp"].includes(args.subcommand ?? "");
|
|
3561
3571
|
return readsProject ? atProjectRoot(args, runLocalEngineCommand) : runLocalEngineCommand(args);
|
|
3562
3572
|
}
|
|
3563
3573
|
if (command === "env") {
|
|
3564
3574
|
if (args.subcommand === "set" || args.subcommand === "unset") {
|
|
3565
|
-
const { runEnvVarCommand } = await import("./env-var-command-
|
|
3575
|
+
const { runEnvVarCommand } = await import("./env-var-command-Q5ZWB7GA.js");
|
|
3566
3576
|
return atProjectRoot(args, (a) => runEnvVarCommand(a, args.subcommand));
|
|
3567
3577
|
}
|
|
3568
3578
|
if (args.subcommand !== "pull") throw unknownSubcommand("env", args.subcommand);
|
|
3569
|
-
const { runEnvPullCommand } = await import("./env-pull-command-
|
|
3579
|
+
const { runEnvPullCommand } = await import("./env-pull-command-7IZ6YGTU.js");
|
|
3570
3580
|
return atProjectRoot(args, runEnvPullCommand);
|
|
3571
3581
|
}
|
|
3572
3582
|
if (command === "secrets") {
|
|
3573
3583
|
if (args.subcommand !== "fill") throw unknownSubcommand("secrets", args.subcommand);
|
|
3574
|
-
const { runSecretsFillCommand } = await import("./secrets-fill-command-
|
|
3584
|
+
const { runSecretsFillCommand } = await import("./secrets-fill-command-R3JTP2VN.js");
|
|
3575
3585
|
return atProjectRoot(args, runSecretsFillCommand, entryPositional(args));
|
|
3576
3586
|
}
|
|
3577
3587
|
if (command === "release") {
|
|
3578
|
-
const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-
|
|
3588
|
+
const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-CH23BRI3.js");
|
|
3579
3589
|
return atProjectRoot(args, runReleaseNs);
|
|
3580
3590
|
}
|
|
3581
3591
|
if (command === "pull") {
|
|
3582
|
-
const { runPullCommand } = await import("./pull-command-
|
|
3592
|
+
const { runPullCommand } = await import("./pull-command-ZBJJ6MDT.js");
|
|
3583
3593
|
const first = args.positionals[0];
|
|
3584
3594
|
const file = first !== void 0 && !isKindShaped(first) && (/\.json$/i.test(first) || /[\\/]/.test(first));
|
|
3585
3595
|
return file ? runPullCommand(args) : atProjectRoot(args, runPullCommand);
|
|
3586
3596
|
}
|
|
3587
3597
|
if (command === "generate") {
|
|
3588
|
-
const { runGenerateCommand } = await import("./generate-command-
|
|
3598
|
+
const { runGenerateCommand } = await import("./generate-command-6EIPQUYK.js");
|
|
3589
3599
|
return runGenerateCommand(args);
|
|
3590
3600
|
}
|
|
3591
3601
|
if (command === "tables") {
|
|
3592
|
-
const { runTablesCommand } = await import("./tables-command-
|
|
3602
|
+
const { runTablesCommand } = await import("./tables-command-W3KSMKYR.js");
|
|
3593
3603
|
return atProjectRoot(args, runTablesCommand);
|
|
3594
3604
|
}
|
|
3595
3605
|
if (command === "impersonate") {
|
|
3596
|
-
const { runImpersonateCommand } = await import("./impersonate-command-
|
|
3606
|
+
const { runImpersonateCommand } = await import("./impersonate-command-2SZFKFTW.js");
|
|
3597
3607
|
return atProjectRoot(args, runImpersonateCommand);
|
|
3598
3608
|
}
|
|
3599
3609
|
if (command === "promote") {
|
|
3600
|
-
const { runPromoteCommand } = await import("./promote-command-
|
|
3610
|
+
const { runPromoteCommand } = await import("./promote-command-HOW24EMD.js");
|
|
3601
3611
|
return atProjectRoot(args, runPromoteCommand);
|
|
3602
3612
|
}
|
|
3603
3613
|
if (command === "publish") {
|
|
3604
|
-
const { runPublishCommand } = await import("./publish-command-
|
|
3614
|
+
const { runPublishCommand } = await import("./publish-command-E6F5D3FY.js");
|
|
3605
3615
|
return atProjectRoot(args, runPublishCommand, "path");
|
|
3606
3616
|
}
|
|
3607
3617
|
if (command === "tenant") {
|
|
3608
|
-
const { runTenantCommand } = await import("./tenant-command-
|
|
3618
|
+
const { runTenantCommand } = await import("./tenant-command-ZPNAY7AM.js");
|
|
3609
3619
|
return atProjectRoot(args, runTenantCommand);
|
|
3610
3620
|
}
|
|
3611
3621
|
if (command === "test") {
|
|
3612
|
-
const { runTestCommand } = await import("./test-command-
|
|
3622
|
+
const { runTestCommand } = await import("./test-command-7Z5F5SKW.js");
|
|
3613
3623
|
return atProjectRoot(args, runTestCommand);
|
|
3614
3624
|
}
|
|
3615
3625
|
if (command === "workspace") {
|
|
3616
|
-
const { runWorkspaceCommand } = await import("./workspace-command-
|
|
3626
|
+
const { runWorkspaceCommand } = await import("./workspace-command-DY5K6A5L.js");
|
|
3617
3627
|
return runWorkspaceCommand(args);
|
|
3618
3628
|
}
|
|
3619
3629
|
if (command === "status") {
|
|
3620
|
-
const { runStatusCommand } = await import("./status-command-
|
|
3630
|
+
const { runStatusCommand } = await import("./status-command-FWE65NQQ.js");
|
|
3621
3631
|
return runStatusCommand(args);
|
|
3622
3632
|
}
|
|
3623
3633
|
if (command === "whoami") {
|
|
3624
|
-
const { runWhoamiCommand } = await import("./whoami-command-
|
|
3634
|
+
const { runWhoamiCommand } = await import("./whoami-command-LNFEE5XP.js");
|
|
3625
3635
|
return runWhoamiCommand(args);
|
|
3626
3636
|
}
|
|
3627
3637
|
if (command === "profile") {
|
|
3628
|
-
const { runProfileCommand } = await import("./profile-command-
|
|
3638
|
+
const { runProfileCommand } = await import("./profile-command-5RXNMDIX.js");
|
|
3629
3639
|
return runProfileCommand(args);
|
|
3630
3640
|
}
|
|
3631
3641
|
if (command === "ai") {
|
|
3632
|
-
const { runAiCommand } = await import("./ai-models-command-
|
|
3642
|
+
const { runAiCommand } = await import("./ai-models-command-BVOVIC6C.js");
|
|
3633
3643
|
return runAiCommand(args);
|
|
3634
3644
|
}
|
|
3635
3645
|
if (command === "marketplace") {
|
|
3636
3646
|
if (!["list", "search", "details", "install", "reinstall", "remove"].includes(args.subcommand ?? "")) {
|
|
3637
3647
|
throw unknownSubcommand("marketplace", args.subcommand);
|
|
3638
3648
|
}
|
|
3639
|
-
const marketplace = await import("./marketplace-command-
|
|
3640
|
-
const { withCatalogueRerun } = await import("./marketplace-resolve-
|
|
3649
|
+
const marketplace = await import("./marketplace-command-4N5IIDSA.js");
|
|
3650
|
+
const { withCatalogueRerun } = await import("./marketplace-resolve-NSCLONXK.js");
|
|
3641
3651
|
try {
|
|
3642
3652
|
if (args.subcommand === "list") return await marketplace.runMarketplaceListCommand(args);
|
|
3643
3653
|
if (args.subcommand === "search") return await marketplace.runMarketplaceSearchCommand(args);
|
|
@@ -3650,7 +3660,7 @@ async function dispatch(rawArgv) {
|
|
|
3650
3660
|
}
|
|
3651
3661
|
}
|
|
3652
3662
|
if (command === "preflight") {
|
|
3653
|
-
const { runPreflightCommand } = await import("./preflight-command-
|
|
3663
|
+
const { runPreflightCommand } = await import("./preflight-command-WT4RIL5P.js");
|
|
3654
3664
|
return runPreflightCommand(args);
|
|
3655
3665
|
}
|
|
3656
3666
|
if (command !== "compile" && command !== "export" && command !== "paths" && command !== "routes") {
|
|
@@ -3665,12 +3675,12 @@ async function dispatch(rawArgv) {
|
|
|
3665
3675
|
if (command === "paths" || command === "routes") {
|
|
3666
3676
|
return runPaths(args);
|
|
3667
3677
|
}
|
|
3668
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
3678
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-V7AOUVZ3.js");
|
|
3669
3679
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
3670
3680
|
frozen: args.frozenLock === true || args.check === true
|
|
3671
3681
|
});
|
|
3672
3682
|
if (out && !args.check) {
|
|
3673
|
-
const { assertWritableTarget } = await import("./output-target-
|
|
3683
|
+
const { assertWritableTarget } = await import("./output-target-CYAPGP3A.js");
|
|
3674
3684
|
assertWritableTarget(out, "--out");
|
|
3675
3685
|
}
|
|
3676
3686
|
const { bundle: json, bundleObject, omittedSeedTables, lock: lockOutcome, declaredEnvNames } = await compileBundle(args);
|
|
@@ -3688,7 +3698,7 @@ async function dispatch(rawArgv) {
|
|
|
3688
3698
|
"export.hosted-files-omitted"
|
|
3689
3699
|
);
|
|
3690
3700
|
}
|
|
3691
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
3701
|
+
const { runBundleHooks } = await import("./toolchain-hooks-GST2SEDT.js");
|
|
3692
3702
|
await runBundleHooks(
|
|
3693
3703
|
toolchain.loaded,
|
|
3694
3704
|
{
|
|
@@ -3701,15 +3711,15 @@ async function dispatch(rawArgv) {
|
|
|
3701
3711
|
},
|
|
3702
3712
|
""
|
|
3703
3713
|
);
|
|
3704
|
-
const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-
|
|
3705
|
-
const { backendDirFor } = await import("./backend-dir-
|
|
3714
|
+
const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-POWYBDLK.js");
|
|
3715
|
+
const { backendDirFor } = await import("./backend-dir-6S23WBVQ.js");
|
|
3706
3716
|
const declaredSet = new Set(declaredEnvNames);
|
|
3707
3717
|
const templateDir = backendDirFor(args.file);
|
|
3708
3718
|
const ownsTemplate = isWithin(resolve2(args.file), templateDir) && (dirname2(resolve2(args.file)) === templateDir || !existsSync3(join3(templateDir, "index.ts")));
|
|
3709
3719
|
const templateEnv = Object.fromEntries(
|
|
3710
3720
|
Object.entries(bundleEnvNames2(bundleObject)).filter(([name]) => declaredSet.has(name))
|
|
3711
3721
|
);
|
|
3712
|
-
const { skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
3722
|
+
const { skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-ZYTIHEVU.js");
|
|
3713
3723
|
const projectSdk = skewedProjectSdk(dirname2(resolve2(args.file)), readVersion());
|
|
3714
3724
|
const regenerate = projectSdk === void 0 ? `xanosdk export ${shellWord(pastePath(args.file))} --out ${NULL_DEVICE}` : installedCliCommand(projectSdk.root, (path) => `export ${path(args.file)} --out ${NULL_DEVICE}`);
|
|
3715
3725
|
if (args.check) {
|
|
@@ -3760,15 +3770,15 @@ async function dispatch(rawArgv) {
|
|
|
3760
3770
|
info(`${hadEnvExample ? "Updated" : "Wrote"} ${displayPath(refreshed)} to list the env names this source declares.`);
|
|
3761
3771
|
}
|
|
3762
3772
|
if (out) {
|
|
3763
|
-
const { secretsCarriedBy } = await import("./live-diff-
|
|
3764
|
-
const { writeExportFile } = await import("./output-target-
|
|
3773
|
+
const { secretsCarriedBy } = await import("./live-diff-CPFDW6T4.js");
|
|
3774
|
+
const { writeExportFile } = await import("./output-target-CYAPGP3A.js");
|
|
3765
3775
|
const written = lockOutcome?.changed ? `Only ${lockOutcome.path} was written` : void 0;
|
|
3766
3776
|
writeExportFile(out, json + "\n", secretsCarriedBy(bundleObject), "--out", written);
|
|
3767
3777
|
reportWrote(args, out, lockOutcome);
|
|
3768
3778
|
} else {
|
|
3769
3779
|
process.stdout.write(json + "\n");
|
|
3770
|
-
const { secretsCarriedBy } = await import("./live-diff-
|
|
3771
|
-
const { secretsPhrase } = await import("./output-target-
|
|
3780
|
+
const { secretsCarriedBy } = await import("./live-diff-CPFDW6T4.js");
|
|
3781
|
+
const { secretsPhrase } = await import("./output-target-CYAPGP3A.js");
|
|
3772
3782
|
const secrets = secretsCarriedBy(bundleObject);
|
|
3773
3783
|
if (secrets.length > 0) {
|
|
3774
3784
|
warn(
|
|
@@ -3787,11 +3797,11 @@ async function refreshAgentGuidance(args) {
|
|
|
3787
3797
|
if (args.noRefresh) return;
|
|
3788
3798
|
if (args.check || args.frozenLock || args.dryRun) return;
|
|
3789
3799
|
try {
|
|
3790
|
-
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
3800
|
+
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-ZYTIHEVU.js");
|
|
3791
3801
|
const entryProject = args.file === void 0 ? void 0 : installedSdk(dirname2(resolve2(args.file)))?.root;
|
|
3792
3802
|
const projectDir = existsSync3(join3(process.cwd(), "AGENTS.md")) || entryProject === void 0 ? process.cwd() : entryProject;
|
|
3793
3803
|
const projectSdk = skewedProjectSdk(projectDir, readVersion());
|
|
3794
|
-
const { refreshAgentFiles } = await import("./agent-file-refresh-
|
|
3804
|
+
const { refreshAgentFiles } = await import("./agent-file-refresh-LV5ZBJEW.js");
|
|
3795
3805
|
if (projectSdk !== void 0) {
|
|
3796
3806
|
const stale = refreshAgentFiles({ projectDir, sdkVersion: readVersion(), write: false });
|
|
3797
3807
|
const file = args.file;
|
|
@@ -4025,7 +4035,7 @@ async function runPaths(args) {
|
|
|
4025
4035
|
const lockPath = resolveLockPath(args, file);
|
|
4026
4036
|
resetLockOverrides();
|
|
4027
4037
|
const lockModel = existsSync3(lockPath) ? readLockFile(lockPath) : void 0;
|
|
4028
|
-
const toolchain = args.emit !== void 0 ? await (await import("./toolchain-modules-
|
|
4038
|
+
const toolchain = args.emit !== void 0 ? await (await import("./toolchain-modules-V7AOUVZ3.js")).discoverToolchainPlugins(emitProjectDir(args.emit, file), {
|
|
4029
4039
|
frozen: args.strict === true,
|
|
4030
4040
|
// A module outside its SDK peer range keeps its block and is named,
|
|
4031
4041
|
// as any other skip is; it does not abort every `dev` and `build`.
|
|
@@ -4047,7 +4057,7 @@ async function runPaths(args) {
|
|
|
4047
4057
|
setDiagnosticSink(outerSink);
|
|
4048
4058
|
}
|
|
4049
4059
|
const payload = bundle.payload;
|
|
4050
|
-
const { planRouteManifest, manifestCounts, describeManifestCounts, routesListing, formatRoutesListing, NO_MANIFEST_COUNTS } = await import("./routes-manifest-
|
|
4060
|
+
const { planRouteManifest, manifestCounts, describeManifestCounts, routesListing, formatRoutesListing, NO_MANIFEST_COUNTS } = await import("./routes-manifest-SXKLGPSQ.js");
|
|
4051
4061
|
const plan = planRouteManifest(payload, (kind, name) => lockModel?.objects[lockKey(kind, name)]?.canonical);
|
|
4052
4062
|
const queryCount = plan.rows.length;
|
|
4053
4063
|
const serverCount = plan.servers.length + plan.unresolvedServers.length + plan.mcpServers.length + plan.unresolvedMcpServers.length;
|
|
@@ -4077,7 +4087,7 @@ async function runPaths(args) {
|
|
|
4077
4087
|
if (args.emit !== void 0) {
|
|
4078
4088
|
const counts = manifestCounts(plan);
|
|
4079
4089
|
if (unresolved.length > 0) {
|
|
4080
|
-
const { unresolvedCanonicalMessage } = await import("./routes-manifest-
|
|
4090
|
+
const { unresolvedCanonicalMessage } = await import("./routes-manifest-SXKLGPSQ.js");
|
|
4081
4091
|
const why = `${args.emit} was not written: ${unresolvedCanonicalMessage(unresolved, shellWord(file))}`;
|
|
4082
4092
|
if (args.strict) throw new Error(`--strict: ${why}`);
|
|
4083
4093
|
warn(why, "routes.not-written");
|
|
@@ -4089,7 +4099,7 @@ async function runPaths(args) {
|
|
|
4089
4099
|
if (machine && args.emit !== "-") writeJson(emitDoc(false));
|
|
4090
4100
|
return;
|
|
4091
4101
|
}
|
|
4092
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
4102
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-NAXVFRVN.js");
|
|
4093
4103
|
const loaded = toolchain?.loaded ?? [];
|
|
4094
4104
|
const skipped = toolchain?.skipped ?? [];
|
|
4095
4105
|
const rendered = renderManifestFile(
|
|
@@ -4111,7 +4121,7 @@ async function runPaths(args) {
|
|
|
4111
4121
|
writeData(process.stdout, source);
|
|
4112
4122
|
return;
|
|
4113
4123
|
}
|
|
4114
|
-
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
4124
|
+
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-ZYTIHEVU.js");
|
|
4115
4125
|
const emitDir = dirname2(resolve2(args.emit));
|
|
4116
4126
|
const projectSdk = skewedProjectSdk(installedSdk(emitDir) !== void 0 ? emitDir : dirname2(resolve2(file)), readVersion());
|
|
4117
4127
|
if (projectSdk !== void 0 && existsSync3(args.emit) && readFileSync3(args.emit, "utf8") !== source) {
|
|
@@ -4166,7 +4176,7 @@ async function runPaths(args) {
|
|
|
4166
4176
|
process.stdout.write(formatRoutesListing(routesListing(plan)));
|
|
4167
4177
|
}
|
|
4168
4178
|
if (unresolved.length > 0) {
|
|
4169
|
-
const { unresolvedCanonicalMessage } = await import("./routes-manifest-
|
|
4179
|
+
const { unresolvedCanonicalMessage } = await import("./routes-manifest-SXKLGPSQ.js");
|
|
4170
4180
|
throw new UsageError(`${commandLabel(args)}: ${unresolvedCanonicalMessage(unresolved, shellWord(file))}`);
|
|
4171
4181
|
}
|
|
4172
4182
|
}
|
|
@@ -4174,7 +4184,7 @@ async function refreshRouteManifest(entry, emit2, projectDir) {
|
|
|
4174
4184
|
resetLockOverrides();
|
|
4175
4185
|
const lockPath = join3(dirname2(resolve2(entry)), "xano.lock");
|
|
4176
4186
|
const lockModel = existsSync3(lockPath) ? readLockFile(lockPath) : void 0;
|
|
4177
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
4187
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-V7AOUVZ3.js");
|
|
4178
4188
|
const toolchain = existsSync3(emit2) ? await discoverToolchainPlugins(projectDir, { frozen: false, configuring: true, peerSkew: "skip" }) : void 0;
|
|
4179
4189
|
const def = await loadDefault(entry);
|
|
4180
4190
|
if (!Xano.isXano(def)) return { manifest: "absent", lockOrphans: 0 };
|
|
@@ -4186,12 +4196,12 @@ async function refreshRouteManifest(entry, emit2, projectDir) {
|
|
|
4186
4196
|
} finally {
|
|
4187
4197
|
setDiagnosticSink(previousSink);
|
|
4188
4198
|
}
|
|
4189
|
-
const { pulledIdentities } = await import("./pull-command-
|
|
4199
|
+
const { pulledIdentities } = await import("./pull-command-ZBJJ6MDT.js");
|
|
4190
4200
|
const live = pulledIdentities(payload);
|
|
4191
4201
|
const lockOrphans = lockModel === void 0 ? 0 : Object.keys(lockModel.objects).filter((k) => k !== WORKSPACE_KEY && !live.has(k)).length;
|
|
4192
4202
|
if (!existsSync3(emit2)) return { manifest: "absent", lockOrphans };
|
|
4193
|
-
const { planRouteManifest, RouteManifestError } = await import("./routes-manifest-
|
|
4194
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
4203
|
+
const { planRouteManifest, RouteManifestError } = await import("./routes-manifest-SXKLGPSQ.js");
|
|
4204
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-NAXVFRVN.js");
|
|
4195
4205
|
const plan = planRouteManifest(payload, (kind, name) => lockModel?.objects[lockKey(kind, name)]?.canonical);
|
|
4196
4206
|
if (plan.unresolved.length > 0) return { manifest: "skipped", lockOrphans };
|
|
4197
4207
|
const current = readFileSync3(emit2, "utf8");
|
|
@@ -4741,7 +4751,7 @@ async function refineGonePullHint(err) {
|
|
|
4741
4751
|
if (offer === void 0 || auth === void 0 || !(err instanceof Error) || !err.message.includes(offer.clause)) return;
|
|
4742
4752
|
let gone;
|
|
4743
4753
|
try {
|
|
4744
|
-
const { lookupEphemeral } = await import("./source-resolve-
|
|
4754
|
+
const { lookupEphemeral } = await import("./source-resolve-TS2CWDZ6.js");
|
|
4745
4755
|
gone = await lookupEphemeral(auth, offer.name) === null;
|
|
4746
4756
|
} catch {
|
|
4747
4757
|
return;
|
|
@@ -4952,4 +4962,4 @@ export {
|
|
|
4952
4962
|
docTokenRefusalIfReplaced,
|
|
4953
4963
|
envRefusalIfReplaced
|
|
4954
4964
|
};
|
|
4955
|
-
//# sourceMappingURL=chunk-
|
|
4965
|
+
//# sourceMappingURL=chunk-ILPZJJVY.js.map
|