@xano/sdk 1.0.21 → 1.0.23
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 +23 -0
- package/README.md +1 -1
- package/dist/{agent-file-refresh-5R5ALFEV.js → agent-file-refresh-LMBQ2XMZ.js} +14 -14
- package/dist/{agent-skill-command-JBX7Z6AK.js → agent-skill-command-ONKMWCTR.js} +47 -47
- package/dist/{ai-models-command-I3FU6GYP.js → ai-models-command-E3XEUUK2.js} +9 -9
- package/dist/{answer-shape-BCGPH73R.js → answer-shape-4HVMTHYM.js} +5 -5
- package/dist/{backend-dir-VOMHDVFP.js → backend-dir-KMJ5A4PP.js} +13 -13
- package/dist/{backend-slot-WSWAHL2W.js → backend-slot-FS7G67MV.js} +4 -4
- package/dist/bin.js +50 -49
- package/dist/{branch-6DBHVVUT.js → branch-EV4K6G2F.js} +9 -9
- package/dist/{branch-commands-JOSHDOXH.js → branch-commands-X4YTGSBK.js} +25 -25
- package/dist/bundle.d.ts +2 -2
- package/dist/{chunk-FJS5I6V4.js → chunk-2NIKVE54.js} +4 -4
- package/dist/{chunk-OG6WYZNA.js → chunk-2T73ZZEB.js} +5 -5
- package/dist/{chunk-C7KO5KKB.js → chunk-2XRO4TQP.js} +7 -6
- package/dist/{chunk-PAWLPNBA.js → chunk-3RKHFSFI.js} +7 -7
- package/dist/{chunk-4QRDNBPY.js → chunk-3WPQOIE5.js} +2 -2
- package/dist/{chunk-MJA5BP2M.js → chunk-4DZ3JEHY.js} +5 -5
- package/dist/{chunk-DAXFWXSV.js → chunk-4EFBDSVU.js} +3 -3
- package/dist/{chunk-ANCNHQCH.js → chunk-5LBOIAYP.js} +23 -23
- package/dist/{chunk-4DVP42ZC.js → chunk-5MVSDE67.js} +2 -2
- package/dist/{chunk-IA4FMPJ3.js → chunk-5RWVIQVF.js} +7 -7
- package/dist/{chunk-LZDH5COS.js → chunk-6H57HQFN.js} +3 -3
- package/dist/{chunk-JHAZK4RY.js → chunk-6VKDIKJI.js} +2 -2
- package/dist/{chunk-QLXGLHK3.js → chunk-7CZKE2YH.js} +47 -44
- package/dist/{chunk-ZNGUETV7.js → chunk-7N3MTFS6.js} +88 -120
- package/dist/{chunk-FSHW3GQU.js → chunk-A2TTPUAG.js} +3 -3
- package/dist/{chunk-QZ2PC6B7.js → chunk-ABC7LY6Q.js} +69 -3
- package/dist/{chunk-OF5YFPSK.js → chunk-AG4RGKEB.js} +6 -6
- package/dist/{chunk-VV7FVGOX.js → chunk-AYJAFMUN.js} +8 -8
- package/dist/{chunk-I5YD7QPI.js → chunk-BUNNVRO3.js} +41 -5
- package/dist/{chunk-OTUPQ7M3.js → chunk-C3TBVTIR.js} +14 -14
- package/dist/{chunk-KL4PGJ2G.js → chunk-C73SMRAX.js} +3 -3
- package/dist/{chunk-X7EK5PTK.js → chunk-CJEZ7EOY.js} +5 -5
- package/dist/{chunk-OFKFZSHS.js → chunk-CUDLEUL3.js} +4 -4
- package/dist/{chunk-5KSVMHFS.js → chunk-CUS54UAR.js} +3 -3
- package/dist/{chunk-ZCXWOGFL.js → chunk-CUVZ3RT5.js} +3 -3
- package/dist/{chunk-KU4HLYWT.js → chunk-CWAGXLSY.js} +3 -3
- package/dist/{chunk-QZXSPUNS.js → chunk-CWYOFRRW.js} +6 -6
- package/dist/{chunk-SVQMDVND.js → chunk-CZISUZJ6.js} +2 -2
- package/dist/{chunk-XWEDFVJ6.js → chunk-DMYMRVDS.js} +14 -14
- package/dist/{chunk-YSSAJQH4.js → chunk-E4I6DR7F.js} +3 -3
- package/dist/{chunk-LYR6W5LV.js → chunk-EBQAQI4T.js} +5 -5
- package/dist/{chunk-TDSRZDQP.js → chunk-EFP5WRUV.js} +2 -2
- package/dist/{chunk-IWFKPEWJ.js → chunk-F26J67PN.js} +9 -9
- 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-YFVD3LNL.js → chunk-HDY5IY5M.js} +2 -2
- package/dist/{chunk-T2LFOMOP.js → chunk-HGABRHHG.js} +5 -5
- package/dist/{chunk-FLM6TN7Q.js → chunk-HH77B4GM.js} +3 -3
- package/dist/{chunk-5Z4WQQHC.js → chunk-HWD2Z72H.js} +2 -2
- package/dist/{chunk-GODAKJ3L.js → chunk-I2FG5RBF.js} +46 -46
- package/dist/{chunk-IUBGFCJJ.js → chunk-IH6NGW5Z.js} +6 -6
- package/dist/{chunk-M42Y53Z4.js → chunk-ITXNY4AE.js} +7 -6
- package/dist/{chunk-WK5QDV25.js → chunk-JX2CX4KE.js} +3 -3
- package/dist/{chunk-VJCUFHTQ.js → chunk-JXU4OGL6.js} +15 -15
- package/dist/{chunk-EOWNLLLV.js → chunk-LAZUQLWU.js} +7 -6
- package/dist/{chunk-FMXPV5JI.js → chunk-LEODZXR7.js} +4 -4
- package/dist/{chunk-CGLYG2VF.js → chunk-M3DIFMJX.js} +2 -2
- package/dist/{chunk-N2JZU6VR.js → chunk-MCHCOGKH.js} +3 -3
- package/dist/{chunk-3HK7VELD.js → chunk-MO4SSEPP.js} +2 -2
- package/dist/{chunk-M5GXZEX7.js → chunk-N5O76SCI.js} +4 -4
- package/dist/{chunk-HXVNBJVA.js → chunk-NK7LJ3LO.js} +49 -49
- package/dist/{chunk-LMX4VE4H.js → chunk-NRFE7KLI.js} +4 -4
- package/dist/{chunk-T4HTNHXR.js → chunk-NZS6JXBK.js} +7 -7
- package/dist/{chunk-6ODQ5GDZ.js → chunk-OI34XIHM.js} +2 -2
- package/dist/{chunk-MGC5S6OE.js → chunk-OR4K35H6.js} +23 -15
- 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-J564PMKW.js → chunk-QCKBV56A.js} +6 -6
- package/dist/{chunk-Q77C32ZB.js → chunk-QS5BUFLE.js} +4 -4
- package/dist/{chunk-N3LPULRE.js → chunk-RSYGYTZ6.js} +11 -8
- package/dist/{chunk-JVMAWMO3.js → chunk-SEYP4G53.js} +74 -78
- package/dist/{chunk-7SGMHGLI.js → chunk-TABWRUSM.js} +21 -18
- 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-7J7YRAZB.js → chunk-U66T5MAB.js} +4 -4
- package/dist/{chunk-DORGB2Y2.js → chunk-UEY2ADOJ.js} +2 -2
- package/dist/{chunk-RHH6SCB4.js → chunk-UO5ZFNIV.js} +4 -4
- package/dist/{chunk-4TVHSC4V.js → chunk-UUUDUZJU.js} +5 -5
- package/dist/{chunk-BBFHZMQA.js → chunk-VBOCHX7Y.js} +2 -2
- package/dist/{chunk-WXY24GKO.js → chunk-VDDLQRUF.js} +4 -4
- package/dist/{chunk-VEA6EXJL.js → chunk-VEW3ESAC.js} +3 -3
- package/dist/{chunk-YF7PDN6T.js → chunk-VNEVEPTC.js} +29 -29
- 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-64F6ET45.js → chunk-WH44JSCG.js} +8 -8
- 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-OZVZ3KCH.js → chunk-XMFQRPON.js} +4 -4
- package/dist/{chunk-P3WIMLG2.js → chunk-XNXZZU3W.js} +2 -2
- package/dist/{chunk-OSMPI45P.js → chunk-XXVP7E62.js} +3 -3
- package/dist/{chunk-QHNSBURP.js → chunk-Y7CTKCJZ.js} +60 -18
- 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-EBSJUSID.js → chunk-ZBAINZJB.js} +2 -2
- package/dist/{chunk-XD5FOBMZ.js → chunk-ZP7X6N5P.js} +8 -8
- 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-ZXABRPVP.js → codegen-command-HSGPZKJL.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-KO5FATR6.js → deploy-command-6WZMJEML.js} +53 -53
- package/dist/{deploy-source-7GCMMZKV.js → deploy-source-HAGBUMHC.js} +29 -29
- package/dist/{dev-env-sync-LZ22CSKD.js → dev-env-sync-5DWLRPJ4.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-CQyYvh4T.d.ts} +57 -10
- package/dist/{env-example-refresh-DWGV4DFX.js → env-example-refresh-VSVQ2HFM.js} +64 -64
- package/dist/{env-pull-command-5N5AUKJK.js → env-pull-command-LQMLPXB5.js} +43 -43
- package/dist/{env-target-CXZXMK3W.js → env-target-RIMLJNDT.js} +10 -10
- package/dist/{env-var-command-4RGQALIH.js → env-var-command-2BZAZG3V.js} +39 -39
- package/dist/{ephemeral-MNHEWSZ6.js → ephemeral-XJO3TZCY.js} +9 -9
- package/dist/{ephemeral-command-GIB63YX3.js → ephemeral-command-XBLLVLFO.js} +44 -44
- package/dist/{ephemeral-state-QTT5JHD5.js → ephemeral-state-X5HR4FAK.js} +8 -8
- package/dist/{generate-command-GW42CN4I.js → generate-command-EHN2CUPM.js} +68 -68
- package/dist/{gitignore-RDEUQHHG.js → gitignore-T3LSDEUZ.js} +17 -17
- package/dist/{guards-N4PUFKN5.js → guards-6KAY65CV.js} +6 -6
- package/dist/{impersonate-command-H72JM5IF.js → impersonate-command-V5IHSGU4.js} +35 -35
- package/dist/{import-7HFTOT7M.js → import-7TYP5VND.js} +5 -5
- package/dist/index.d.ts +10 -10
- package/dist/index.js +11 -11
- package/dist/{init-command-ERRMSKPB.js → init-command-XWYT3XOB.js} +51 -51
- package/dist/{init-modules-UH7PPQTB.js → init-modules-SFWCQY77.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 +19 -19
- package/dist/{keep-data-merge-BNX3HEHM.js → keep-data-merge-BP6MUJ4T.js} +24 -24
- package/dist/{lambda-config-reconcile-CC5QIP6E.js → lambda-config-reconcile-GWEMI2PL.js} +3 -3
- package/dist/{landing-record-ZY4O7OLQ.js → landing-record-VVOMR2K2.js} +19 -19
- package/dist/{live-diff-GZ6JUNP6.js → live-diff-CPFDW6T4.js} +5 -5
- package/dist/{local-engine-ai-YWAMTHME.js → local-engine-ai-OMIXXDLL.js} +11 -11
- package/dist/{local-engine-choice-PCM45R3A.js → local-engine-choice-6UDFWXZV.js} +37 -37
- package/dist/{local-engine-command-ACJ6YUP7.js → local-engine-command-PLY6BUVY.js} +43 -43
- package/dist/{local-engine-deploy-IUHWB43Q.js → local-engine-deploy-SXPER4IK.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-EODMA3X5.js → local-engine-mcp-command-2MP4QGCF.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-YBBTZB6M.js → lock-commands-EAVJ3B5Z.js} +51 -51
- package/dist/{login-command-DJCCEN5O.js → login-command-FFANG4I3.js} +25 -25
- package/dist/{logout-command-6FQLSD5H.js → logout-command-LLQB6UNZ.js} +13 -13
- package/dist/{loop-EMTBWN4X.js → loop-H44NE3R6.js} +5 -5
- package/dist/{marketplace-command-2JZERTJW.js → marketplace-command-S2QEW7HB.js} +32 -32
- package/dist/{marketplace-resolve-LT76KHJD.js → marketplace-resolve-NSCLONXK.js} +8 -8
- package/dist/{meta-client-KDTBLP6X.js → meta-client-DK743HIJ.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-POYID3M6.js → operation-outcome-FMVCJP6S.js} +21 -21
- package/dist/{output-target-55RSDDTO.js → output-target-B5BSZKN7.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-ZP7VVE5T.js → preflight-command-ZLATKN4D.js} +57 -57
- package/dist/{profile-command-EP7N7LNQ.js → profile-command-FWEXWYEO.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-OVNRCQ32.js +150 -0
- package/dist/{prompt-JVYQH4OR.js → prompt-H2XC5AR7.js} +4 -4
- package/dist/{publish-command-DW5VLFJN.js → publish-command-HZOA2U33.js} +56 -56
- package/dist/{pull-command-ZUDJRRXV.js → pull-command-RZCBW5LT.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-Z3HXXLLO.js → release-command-R56APBGY.js} +61 -61
- package/dist/{release-ns-command-JS3OUEFQ.js → release-ns-command-5HG4J7QK.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-PIKQ3BIJ.js → routes-manifest-file-BKJ5YAER.js} +9 -9
- package/dist/scaffold.js +2 -2
- package/dist/{secrets-file-QLVCR2JD.js → secrets-file-I7E5E7XH.js} +17 -17
- package/dist/{secrets-fill-command-BK7NVKPY.js → secrets-fill-command-2PGNJIPE.js} +50 -50
- package/dist/{seed-M33F4OJW.js → seed-WQJYWO3I.js} +6 -6
- package/dist/{source-resolve-GGRHO6NW.js → source-resolve-BFIYJSS3.js} +19 -19
- package/dist/{static-host-HCKD26Q3.js → static-host-K4YVJQNR.js} +5 -5
- package/dist/{status-command-3DISBMGH.js → status-command-EPB42W4M.js} +36 -36
- package/dist/{store-Dt-5vOSe.d.ts → store-BiEwEahS.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-GAV6PZEY.js → sync-contributions-DVYKULCI.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-D7DSJAXI.js → tables-command-M26KGK4R.js} +36 -36
- package/dist/{tenant-SSWC7B3V.js → tenant-C7TDXCIN.js} +10 -10
- package/dist/{tenant-command-6S5RU4PP.js → tenant-command-5BEGYEUR.js} +83 -83
- package/dist/{test-command-FSRARFF7.js → test-command-IPW5FO2X.js} +34 -34
- package/dist/{tests-ZFQWDWS2.js → tests-6OXEGO3H.js} +6 -6
- package/dist/{token-XTU3C2DI.js → token-5Y4P5LIK.js} +9 -9
- package/dist/{toolchain-hooks-IRPM6LYL.js → toolchain-hooks-GST2SEDT.js} +8 -8
- package/dist/{toolchain-modules-YSM6DMDB.js → toolchain-modules-PUOJ53C3.js} +8 -8
- package/dist/{toolchain-peers-NOIM44ED.js → toolchain-peers-7PXXNC4P.js} +10 -10
- package/dist/{tracked-backend-7XW4KPIR.js → tracked-backend-4GUFTKTI.js} +32 -32
- package/dist/{update-check-KKDYZG3X.js → update-check-4XYNYP23.js} +49 -49
- package/dist/{upgrade-command-LRJ7V3UW.js → upgrade-command-YZVH6VG3.js} +52 -52
- package/dist/{whoami-command-FBRWLX5Q.js → whoami-command-FCWHX5NZ.js} +12 -12
- package/dist/{workspace-DTM3ZNTM.js → workspace-GHMUZKQI.js} +5 -5
- package/dist/{workspace-binding-M7XSJIWC.js → workspace-binding-3RRG4CSG.js} +11 -11
- package/dist/{workspace-command-3T6CT7UA.js → workspace-command-JH7KDNRW.js} +79 -79
- package/dist/{workspace-env-RIKENQFC.js → workspace-env-MNHHZ7LU.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-L3ZZIT6I.js → xanosdk-import-U6MEVOVM.js} +6 -6
- package/dist/{xanosdk-project-YVLCGM3Y.js → xanosdk-project-TRPK6LBG.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/guides/object-kinds.md +5 -3
- package/llms/errors.md +0 -1
- package/llms/kinds-agent-mcp.md +3 -3
- package/llms/kinds-core.md +1 -1
- package/llms/object-kinds.md +1 -1
- package/llms/tests.md +3 -2
- package/llms-full.txt +10 -10
- package/llms.txt +2 -2
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +2 -2
- package/dist/promote-command-LX5UWQYG.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-2NIKVE54.js";
|
|
14
14
|
import {
|
|
15
15
|
readTrackedBackend
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DMYMRVDS.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-CJEZ7EOY.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-VDDLQRUF.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-OR4K35H6.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";
|
|
@@ -1350,40 +1352,6 @@ async function loadBundleText(args, target, opts = {}) {
|
|
|
1350
1352
|
throw missingArgument("file", target);
|
|
1351
1353
|
}
|
|
1352
1354
|
|
|
1353
|
-
// src/util/user-agent.ts
|
|
1354
|
-
var runCommand;
|
|
1355
|
-
function noteUserAgentCommand(command) {
|
|
1356
|
-
runCommand = command;
|
|
1357
|
-
}
|
|
1358
|
-
function underCi(env) {
|
|
1359
|
-
const v = env.CI?.trim().toLowerCase();
|
|
1360
|
-
return v !== void 0 && v !== "" && v !== "0" && v !== "false";
|
|
1361
|
-
}
|
|
1362
|
-
function userAgent(version, opts = {}) {
|
|
1363
|
-
const command = "command" in opts ? opts.command : runCommand;
|
|
1364
|
-
const parts = [
|
|
1365
|
-
...command === void 0 ? [] : [command],
|
|
1366
|
-
`node ${opts.node ?? process.versions.node}`,
|
|
1367
|
-
`${opts.platform ?? process.platform} ${opts.arch ?? process.arch}`,
|
|
1368
|
-
...underCi(opts.env ?? process.env) ? ["ci"] : []
|
|
1369
|
-
];
|
|
1370
|
-
return `xanosdk/${version} (${parts.join("; ")})`;
|
|
1371
|
-
}
|
|
1372
|
-
function userAgentFetch(fetchImpl, version) {
|
|
1373
|
-
return (input, init) => {
|
|
1374
|
-
const headers = new Headers(init?.headers ?? (input instanceof Request ? input.headers : void 0));
|
|
1375
|
-
if (headers.has("user-agent")) return fetchImpl(input, init);
|
|
1376
|
-
headers.set("user-agent", userAgent(version));
|
|
1377
|
-
return fetchImpl(input, { ...init, headers });
|
|
1378
|
-
};
|
|
1379
|
-
}
|
|
1380
|
-
var installed = false;
|
|
1381
|
-
function installUserAgent(version) {
|
|
1382
|
-
if (installed) return;
|
|
1383
|
-
installed = true;
|
|
1384
|
-
globalThis.fetch = userAgentFetch(globalThis.fetch.bind(globalThis), version);
|
|
1385
|
-
}
|
|
1386
|
-
|
|
1387
1355
|
// src/emit/cli.ts
|
|
1388
1356
|
installNodeLambdaChecks();
|
|
1389
1357
|
function wholeNumber(raw) {
|
|
@@ -2649,7 +2617,7 @@ async function tsxRemedy(file) {
|
|
|
2649
2617
|
);
|
|
2650
2618
|
if (!declared) return fallback;
|
|
2651
2619
|
const { detectPackageManager } = await import("./package-manager-K762W7XT.js");
|
|
2652
|
-
const { inProject } = await import("./init-modules-
|
|
2620
|
+
const { inProject } = await import("./init-modules-SFWCQY77.js");
|
|
2653
2621
|
return `This project's package.json declares it, but its dependencies are not installed \u2014 run \`${inProject(dir)}${detectPackageManager(dir)} install\` first.`;
|
|
2654
2622
|
}
|
|
2655
2623
|
if (dirname2(dir) === dir) return fallback;
|
|
@@ -3271,7 +3239,7 @@ async function explainUnreachableWorkspace(err) {
|
|
|
3271
3239
|
let verdict = unreachableVerdicts.get(auth);
|
|
3272
3240
|
if (verdict === void 0) {
|
|
3273
3241
|
verdict = (async () => {
|
|
3274
|
-
const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-
|
|
3242
|
+
const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-3RRG4CSG.js");
|
|
3275
3243
|
const all = await readReachableWorkspaces(auth, 15e3);
|
|
3276
3244
|
if (all === void 0 || all.length === 0 || all.some((w) => w.id === auth.workspaceId)) return void 0;
|
|
3277
3245
|
return new UsageError(unreachableWorkspaceMessage(auth, all));
|
|
@@ -3285,7 +3253,7 @@ async function explainRejectedCredential(err) {
|
|
|
3285
3253
|
if (!(err instanceof Error) || resolved === void 0) return err;
|
|
3286
3254
|
const [first = "", ...rest] = err.message.split("\n");
|
|
3287
3255
|
if (!/\(401\b[^)]*\)|\banswered (HTTP )?401\b/.test(first) || /\brejected\b/.test(err.message)) return err;
|
|
3288
|
-
const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-
|
|
3256
|
+
const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-FCWHX5NZ.js");
|
|
3289
3257
|
const { auth, args } = resolved;
|
|
3290
3258
|
err.message = [first, rejectedRemedy(auth, args), ...rest].join("\n");
|
|
3291
3259
|
if (failureCode(err) === "SDK_ERROR") asRejectedCredential(err, auth, args);
|
|
@@ -3323,10 +3291,10 @@ function withoutSecretValue(args) {
|
|
|
3323
3291
|
}
|
|
3324
3292
|
async function nameLookupRerun(failure) {
|
|
3325
3293
|
if (!(failure instanceof Error) || runArgs?.argv === void 0) return failure;
|
|
3326
|
-
const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-
|
|
3294
|
+
const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-BFIYJSS3.js");
|
|
3327
3295
|
const err = rateLimitedFailure(failure);
|
|
3328
3296
|
if (!(err instanceof LookupFailedError)) return err;
|
|
3329
|
-
const { retryCommand, withheldNote } = await import("./deploy-command-
|
|
3297
|
+
const { retryCommand, withheldNote } = await import("./deploy-command-6WZMJEML.js");
|
|
3330
3298
|
if (runArgs.command === "env" && runArgs.subcommand === "set") {
|
|
3331
3299
|
const retry2 = retryCommand(withoutSecretValue(runArgs));
|
|
3332
3300
|
return err.withRerun(
|
|
@@ -3381,7 +3349,7 @@ function isPathlessRun(args) {
|
|
|
3381
3349
|
return PATHLESS_COMMANDS.has(command) || PATHLESS_VERBS[command]?.has(args.subcommand ?? "") === true;
|
|
3382
3350
|
}
|
|
3383
3351
|
async function atProjectRoot(args, command, positional) {
|
|
3384
|
-
const { enterProjectRoot } = await import("./xanosdk-project-
|
|
3352
|
+
const { enterProjectRoot } = await import("./xanosdk-project-TRPK6LBG.js");
|
|
3385
3353
|
const entered = enterProjectRoot(args, process.cwd(), positional);
|
|
3386
3354
|
if (entered === void 0) return command(args);
|
|
3387
3355
|
if (isPathlessRun(args)) {
|
|
@@ -3482,7 +3450,7 @@ async function dispatch(rawArgv) {
|
|
|
3482
3450
|
if (typed[0] === "init") {
|
|
3483
3451
|
const web = typed.indexOf("--web", 1);
|
|
3484
3452
|
if (web !== -1) {
|
|
3485
|
-
const { runInitWebCommand } = await import("./init-web-
|
|
3453
|
+
const { runInitWebCommand } = await import("./init-web-KRQCA43B.js");
|
|
3486
3454
|
return runInitWebCommand([...typed.slice(1, web), ...typed.slice(web + 1)]);
|
|
3487
3455
|
}
|
|
3488
3456
|
}
|
|
@@ -3500,7 +3468,7 @@ async function dispatch(rawArgv) {
|
|
|
3500
3468
|
throw unknownSubcommand(helpRequest.command, helpRequest.unknownSubcommand, helpRequest.positionals ?? []);
|
|
3501
3469
|
}
|
|
3502
3470
|
if (argv.includes("--json")) {
|
|
3503
|
-
const { helpDocument } = await import("./commands-
|
|
3471
|
+
const { helpDocument } = await import("./commands-VHQIAW5C.js");
|
|
3504
3472
|
writeJson({ version: readVersion(), ...helpDocument(helpRequest) });
|
|
3505
3473
|
return;
|
|
3506
3474
|
}
|
|
@@ -3522,7 +3490,8 @@ async function dispatch(rawArgv) {
|
|
|
3522
3490
|
runArgs = args;
|
|
3523
3491
|
noteRunArgs(args);
|
|
3524
3492
|
noteUserAgentCommand(knownCommand(args));
|
|
3525
|
-
|
|
3493
|
+
noteUserAgentVersion(readVersion());
|
|
3494
|
+
if (isMachineOutput(args)) (await import("./update-check-4XYNYP23.js")).routeUpdateNoticeToDocument();
|
|
3526
3495
|
const { command } = args;
|
|
3527
3496
|
const out = args.out === "-" ? void 0 : args.out;
|
|
3528
3497
|
if (command === void 0) {
|
|
@@ -3543,11 +3512,11 @@ async function dispatch(rawArgv) {
|
|
|
3543
3512
|
return;
|
|
3544
3513
|
}
|
|
3545
3514
|
if (command === "init") {
|
|
3546
|
-
const { runInitCommand } = await import("./init-command-
|
|
3515
|
+
const { runInitCommand } = await import("./init-command-XWYT3XOB.js");
|
|
3547
3516
|
return runInitCommand(args);
|
|
3548
3517
|
}
|
|
3549
3518
|
if (command === "completion") {
|
|
3550
|
-
const { isCompletionShell, runCompletionCommand, COMPLETION_SHELLS, UNSUPPORTED_SHELLS } = await import("./completion-
|
|
3519
|
+
const { isCompletionShell, runCompletionCommand, COMPLETION_SHELLS, UNSUPPORTED_SHELLS } = await import("./completion-6R3KZY4A.js");
|
|
3551
3520
|
const shell = args.positionals[0];
|
|
3552
3521
|
if (shell === void 0) throw missingArgument("shell", { command: "completion" });
|
|
3553
3522
|
if (!isCompletionShell(shell)) {
|
|
@@ -3566,119 +3535,119 @@ async function dispatch(rawArgv) {
|
|
|
3566
3535
|
return runCompletionCommand(shell);
|
|
3567
3536
|
}
|
|
3568
3537
|
if (command === "agent-skill") {
|
|
3569
|
-
const { runAgentSkillCommand } = await import("./agent-skill-command-
|
|
3538
|
+
const { runAgentSkillCommand } = await import("./agent-skill-command-ONKMWCTR.js");
|
|
3570
3539
|
return runAgentSkillCommand(args);
|
|
3571
3540
|
}
|
|
3572
3541
|
if (command === "upgrade") {
|
|
3573
|
-
const { runUpgradeCommand } = await import("./upgrade-command-
|
|
3542
|
+
const { runUpgradeCommand } = await import("./upgrade-command-YZVH6VG3.js");
|
|
3574
3543
|
return runUpgradeCommand(args);
|
|
3575
3544
|
}
|
|
3576
3545
|
if (command === "lock") {
|
|
3577
|
-
const { runLockCommand } = await import("./lock-commands-
|
|
3546
|
+
const { runLockCommand } = await import("./lock-commands-EAVJ3B5Z.js");
|
|
3578
3547
|
const verb = args.positionals[0];
|
|
3579
|
-
const { isProjectDir } = await import("./xanosdk-project-
|
|
3548
|
+
const { isProjectDir } = await import("./xanosdk-project-TRPK6LBG.js");
|
|
3580
3549
|
const here = verb !== "prune" && args.lockPath === void 0 && args.entryPath === void 0 && existsSync3("xano.lock") && !isProjectDir(process.cwd()) ? { ...args, lockPath: "xano.lock" } : args;
|
|
3581
3550
|
return atProjectRoot(here, runLockCommand, verb === "prune" || verb === "import" ? "verb-path" : void 0);
|
|
3582
3551
|
}
|
|
3583
3552
|
if (command === "login") {
|
|
3584
|
-
const { runLoginCommand } = await import("./login-command-
|
|
3553
|
+
const { runLoginCommand } = await import("./login-command-FFANG4I3.js");
|
|
3585
3554
|
return runLoginCommand(args);
|
|
3586
3555
|
}
|
|
3587
3556
|
if (command === "logout") {
|
|
3588
|
-
const { runLogoutCommand } = await import("./logout-command-
|
|
3557
|
+
const { runLogoutCommand } = await import("./logout-command-LLQB6UNZ.js");
|
|
3589
3558
|
return runLogoutCommand(args);
|
|
3590
3559
|
}
|
|
3591
3560
|
if (command === "deploy") {
|
|
3592
|
-
const { runDeployCommand } = await import("./deploy-command-
|
|
3561
|
+
const { runDeployCommand } = await import("./deploy-command-6WZMJEML.js");
|
|
3593
3562
|
return atProjectRoot(args, runDeployCommand, entryPositional(args));
|
|
3594
3563
|
}
|
|
3595
3564
|
if (command === "ephemeral") {
|
|
3596
|
-
const { runEphemeralCommand } = await import("./ephemeral-command-
|
|
3565
|
+
const { runEphemeralCommand } = await import("./ephemeral-command-XBLLVLFO.js");
|
|
3597
3566
|
return atProjectRoot(args, runEphemeralCommand);
|
|
3598
3567
|
}
|
|
3599
3568
|
if (command === "local") {
|
|
3600
|
-
const { runLocalEngineCommand } = await import("./local-engine-command-
|
|
3569
|
+
const { runLocalEngineCommand } = await import("./local-engine-command-PLY6BUVY.js");
|
|
3601
3570
|
const readsProject = ["token", "stop", "update", "mcp"].includes(args.subcommand ?? "");
|
|
3602
3571
|
return readsProject ? atProjectRoot(args, runLocalEngineCommand) : runLocalEngineCommand(args);
|
|
3603
3572
|
}
|
|
3604
3573
|
if (command === "env") {
|
|
3605
3574
|
if (args.subcommand === "set" || args.subcommand === "unset") {
|
|
3606
|
-
const { runEnvVarCommand } = await import("./env-var-command-
|
|
3575
|
+
const { runEnvVarCommand } = await import("./env-var-command-2BZAZG3V.js");
|
|
3607
3576
|
return atProjectRoot(args, (a) => runEnvVarCommand(a, args.subcommand));
|
|
3608
3577
|
}
|
|
3609
3578
|
if (args.subcommand !== "pull") throw unknownSubcommand("env", args.subcommand);
|
|
3610
|
-
const { runEnvPullCommand } = await import("./env-pull-command-
|
|
3579
|
+
const { runEnvPullCommand } = await import("./env-pull-command-LQMLPXB5.js");
|
|
3611
3580
|
return atProjectRoot(args, runEnvPullCommand);
|
|
3612
3581
|
}
|
|
3613
3582
|
if (command === "secrets") {
|
|
3614
3583
|
if (args.subcommand !== "fill") throw unknownSubcommand("secrets", args.subcommand);
|
|
3615
|
-
const { runSecretsFillCommand } = await import("./secrets-fill-command-
|
|
3584
|
+
const { runSecretsFillCommand } = await import("./secrets-fill-command-2PGNJIPE.js");
|
|
3616
3585
|
return atProjectRoot(args, runSecretsFillCommand, entryPositional(args));
|
|
3617
3586
|
}
|
|
3618
3587
|
if (command === "release") {
|
|
3619
|
-
const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-
|
|
3588
|
+
const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-5HG4J7QK.js");
|
|
3620
3589
|
return atProjectRoot(args, runReleaseNs);
|
|
3621
3590
|
}
|
|
3622
3591
|
if (command === "pull") {
|
|
3623
|
-
const { runPullCommand } = await import("./pull-command-
|
|
3592
|
+
const { runPullCommand } = await import("./pull-command-RZCBW5LT.js");
|
|
3624
3593
|
const first = args.positionals[0];
|
|
3625
3594
|
const file = first !== void 0 && !isKindShaped(first) && (/\.json$/i.test(first) || /[\\/]/.test(first));
|
|
3626
3595
|
return file ? runPullCommand(args) : atProjectRoot(args, runPullCommand);
|
|
3627
3596
|
}
|
|
3628
3597
|
if (command === "generate") {
|
|
3629
|
-
const { runGenerateCommand } = await import("./generate-command-
|
|
3598
|
+
const { runGenerateCommand } = await import("./generate-command-EHN2CUPM.js");
|
|
3630
3599
|
return runGenerateCommand(args);
|
|
3631
3600
|
}
|
|
3632
3601
|
if (command === "tables") {
|
|
3633
|
-
const { runTablesCommand } = await import("./tables-command-
|
|
3602
|
+
const { runTablesCommand } = await import("./tables-command-M26KGK4R.js");
|
|
3634
3603
|
return atProjectRoot(args, runTablesCommand);
|
|
3635
3604
|
}
|
|
3636
3605
|
if (command === "impersonate") {
|
|
3637
|
-
const { runImpersonateCommand } = await import("./impersonate-command-
|
|
3606
|
+
const { runImpersonateCommand } = await import("./impersonate-command-V5IHSGU4.js");
|
|
3638
3607
|
return atProjectRoot(args, runImpersonateCommand);
|
|
3639
3608
|
}
|
|
3640
3609
|
if (command === "promote") {
|
|
3641
|
-
const { runPromoteCommand } = await import("./promote-command-
|
|
3610
|
+
const { runPromoteCommand } = await import("./promote-command-OVNRCQ32.js");
|
|
3642
3611
|
return atProjectRoot(args, runPromoteCommand);
|
|
3643
3612
|
}
|
|
3644
3613
|
if (command === "publish") {
|
|
3645
|
-
const { runPublishCommand } = await import("./publish-command-
|
|
3614
|
+
const { runPublishCommand } = await import("./publish-command-HZOA2U33.js");
|
|
3646
3615
|
return atProjectRoot(args, runPublishCommand, "path");
|
|
3647
3616
|
}
|
|
3648
3617
|
if (command === "tenant") {
|
|
3649
|
-
const { runTenantCommand } = await import("./tenant-command-
|
|
3618
|
+
const { runTenantCommand } = await import("./tenant-command-5BEGYEUR.js");
|
|
3650
3619
|
return atProjectRoot(args, runTenantCommand);
|
|
3651
3620
|
}
|
|
3652
3621
|
if (command === "test") {
|
|
3653
|
-
const { runTestCommand } = await import("./test-command-
|
|
3622
|
+
const { runTestCommand } = await import("./test-command-IPW5FO2X.js");
|
|
3654
3623
|
return atProjectRoot(args, runTestCommand);
|
|
3655
3624
|
}
|
|
3656
3625
|
if (command === "workspace") {
|
|
3657
|
-
const { runWorkspaceCommand } = await import("./workspace-command-
|
|
3626
|
+
const { runWorkspaceCommand } = await import("./workspace-command-JH7KDNRW.js");
|
|
3658
3627
|
return runWorkspaceCommand(args);
|
|
3659
3628
|
}
|
|
3660
3629
|
if (command === "status") {
|
|
3661
|
-
const { runStatusCommand } = await import("./status-command-
|
|
3630
|
+
const { runStatusCommand } = await import("./status-command-EPB42W4M.js");
|
|
3662
3631
|
return runStatusCommand(args);
|
|
3663
3632
|
}
|
|
3664
3633
|
if (command === "whoami") {
|
|
3665
|
-
const { runWhoamiCommand } = await import("./whoami-command-
|
|
3634
|
+
const { runWhoamiCommand } = await import("./whoami-command-FCWHX5NZ.js");
|
|
3666
3635
|
return runWhoamiCommand(args);
|
|
3667
3636
|
}
|
|
3668
3637
|
if (command === "profile") {
|
|
3669
|
-
const { runProfileCommand } = await import("./profile-command-
|
|
3638
|
+
const { runProfileCommand } = await import("./profile-command-FWEXWYEO.js");
|
|
3670
3639
|
return runProfileCommand(args);
|
|
3671
3640
|
}
|
|
3672
3641
|
if (command === "ai") {
|
|
3673
|
-
const { runAiCommand } = await import("./ai-models-command-
|
|
3642
|
+
const { runAiCommand } = await import("./ai-models-command-E3XEUUK2.js");
|
|
3674
3643
|
return runAiCommand(args);
|
|
3675
3644
|
}
|
|
3676
3645
|
if (command === "marketplace") {
|
|
3677
3646
|
if (!["list", "search", "details", "install", "reinstall", "remove"].includes(args.subcommand ?? "")) {
|
|
3678
3647
|
throw unknownSubcommand("marketplace", args.subcommand);
|
|
3679
3648
|
}
|
|
3680
|
-
const marketplace = await import("./marketplace-command-
|
|
3681
|
-
const { withCatalogueRerun } = await import("./marketplace-resolve-
|
|
3649
|
+
const marketplace = await import("./marketplace-command-S2QEW7HB.js");
|
|
3650
|
+
const { withCatalogueRerun } = await import("./marketplace-resolve-NSCLONXK.js");
|
|
3682
3651
|
try {
|
|
3683
3652
|
if (args.subcommand === "list") return await marketplace.runMarketplaceListCommand(args);
|
|
3684
3653
|
if (args.subcommand === "search") return await marketplace.runMarketplaceSearchCommand(args);
|
|
@@ -3691,7 +3660,7 @@ async function dispatch(rawArgv) {
|
|
|
3691
3660
|
}
|
|
3692
3661
|
}
|
|
3693
3662
|
if (command === "preflight") {
|
|
3694
|
-
const { runPreflightCommand } = await import("./preflight-command-
|
|
3663
|
+
const { runPreflightCommand } = await import("./preflight-command-ZLATKN4D.js");
|
|
3695
3664
|
return runPreflightCommand(args);
|
|
3696
3665
|
}
|
|
3697
3666
|
if (command !== "compile" && command !== "export" && command !== "paths" && command !== "routes") {
|
|
@@ -3706,12 +3675,12 @@ async function dispatch(rawArgv) {
|
|
|
3706
3675
|
if (command === "paths" || command === "routes") {
|
|
3707
3676
|
return runPaths(args);
|
|
3708
3677
|
}
|
|
3709
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
3678
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-PUOJ53C3.js");
|
|
3710
3679
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
3711
3680
|
frozen: args.frozenLock === true || args.check === true
|
|
3712
3681
|
});
|
|
3713
3682
|
if (out && !args.check) {
|
|
3714
|
-
const { assertWritableTarget } = await import("./output-target-
|
|
3683
|
+
const { assertWritableTarget } = await import("./output-target-B5BSZKN7.js");
|
|
3715
3684
|
assertWritableTarget(out, "--out");
|
|
3716
3685
|
}
|
|
3717
3686
|
const { bundle: json, bundleObject, omittedSeedTables, lock: lockOutcome, declaredEnvNames } = await compileBundle(args);
|
|
@@ -3729,7 +3698,7 @@ async function dispatch(rawArgv) {
|
|
|
3729
3698
|
"export.hosted-files-omitted"
|
|
3730
3699
|
);
|
|
3731
3700
|
}
|
|
3732
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
3701
|
+
const { runBundleHooks } = await import("./toolchain-hooks-GST2SEDT.js");
|
|
3733
3702
|
await runBundleHooks(
|
|
3734
3703
|
toolchain.loaded,
|
|
3735
3704
|
{
|
|
@@ -3742,15 +3711,15 @@ async function dispatch(rawArgv) {
|
|
|
3742
3711
|
},
|
|
3743
3712
|
""
|
|
3744
3713
|
);
|
|
3745
|
-
const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-
|
|
3746
|
-
const { backendDirFor } = await import("./backend-dir-
|
|
3714
|
+
const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-VSVQ2HFM.js");
|
|
3715
|
+
const { backendDirFor } = await import("./backend-dir-KMJ5A4PP.js");
|
|
3747
3716
|
const declaredSet = new Set(declaredEnvNames);
|
|
3748
3717
|
const templateDir = backendDirFor(args.file);
|
|
3749
3718
|
const ownsTemplate = isWithin(resolve2(args.file), templateDir) && (dirname2(resolve2(args.file)) === templateDir || !existsSync3(join3(templateDir, "index.ts")));
|
|
3750
3719
|
const templateEnv = Object.fromEntries(
|
|
3751
3720
|
Object.entries(bundleEnvNames2(bundleObject)).filter(([name]) => declaredSet.has(name))
|
|
3752
3721
|
);
|
|
3753
|
-
const { skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
3722
|
+
const { skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-ZYTIHEVU.js");
|
|
3754
3723
|
const projectSdk = skewedProjectSdk(dirname2(resolve2(args.file)), readVersion());
|
|
3755
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}`);
|
|
3756
3725
|
if (args.check) {
|
|
@@ -3801,15 +3770,15 @@ async function dispatch(rawArgv) {
|
|
|
3801
3770
|
info(`${hadEnvExample ? "Updated" : "Wrote"} ${displayPath(refreshed)} to list the env names this source declares.`);
|
|
3802
3771
|
}
|
|
3803
3772
|
if (out) {
|
|
3804
|
-
const { secretsCarriedBy } = await import("./live-diff-
|
|
3805
|
-
const { writeExportFile } = await import("./output-target-
|
|
3773
|
+
const { secretsCarriedBy } = await import("./live-diff-CPFDW6T4.js");
|
|
3774
|
+
const { writeExportFile } = await import("./output-target-B5BSZKN7.js");
|
|
3806
3775
|
const written = lockOutcome?.changed ? `Only ${lockOutcome.path} was written` : void 0;
|
|
3807
3776
|
writeExportFile(out, json + "\n", secretsCarriedBy(bundleObject), "--out", written);
|
|
3808
3777
|
reportWrote(args, out, lockOutcome);
|
|
3809
3778
|
} else {
|
|
3810
3779
|
process.stdout.write(json + "\n");
|
|
3811
|
-
const { secretsCarriedBy } = await import("./live-diff-
|
|
3812
|
-
const { secretsPhrase } = await import("./output-target-
|
|
3780
|
+
const { secretsCarriedBy } = await import("./live-diff-CPFDW6T4.js");
|
|
3781
|
+
const { secretsPhrase } = await import("./output-target-B5BSZKN7.js");
|
|
3813
3782
|
const secrets = secretsCarriedBy(bundleObject);
|
|
3814
3783
|
if (secrets.length > 0) {
|
|
3815
3784
|
warn(
|
|
@@ -3828,11 +3797,11 @@ async function refreshAgentGuidance(args) {
|
|
|
3828
3797
|
if (args.noRefresh) return;
|
|
3829
3798
|
if (args.check || args.frozenLock || args.dryRun) return;
|
|
3830
3799
|
try {
|
|
3831
|
-
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
3800
|
+
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-ZYTIHEVU.js");
|
|
3832
3801
|
const entryProject = args.file === void 0 ? void 0 : installedSdk(dirname2(resolve2(args.file)))?.root;
|
|
3833
3802
|
const projectDir = existsSync3(join3(process.cwd(), "AGENTS.md")) || entryProject === void 0 ? process.cwd() : entryProject;
|
|
3834
3803
|
const projectSdk = skewedProjectSdk(projectDir, readVersion());
|
|
3835
|
-
const { refreshAgentFiles } = await import("./agent-file-refresh-
|
|
3804
|
+
const { refreshAgentFiles } = await import("./agent-file-refresh-LMBQ2XMZ.js");
|
|
3836
3805
|
if (projectSdk !== void 0) {
|
|
3837
3806
|
const stale = refreshAgentFiles({ projectDir, sdkVersion: readVersion(), write: false });
|
|
3838
3807
|
const file = args.file;
|
|
@@ -4066,7 +4035,7 @@ async function runPaths(args) {
|
|
|
4066
4035
|
const lockPath = resolveLockPath(args, file);
|
|
4067
4036
|
resetLockOverrides();
|
|
4068
4037
|
const lockModel = existsSync3(lockPath) ? readLockFile(lockPath) : void 0;
|
|
4069
|
-
const toolchain = args.emit !== void 0 ? await (await import("./toolchain-modules-
|
|
4038
|
+
const toolchain = args.emit !== void 0 ? await (await import("./toolchain-modules-PUOJ53C3.js")).discoverToolchainPlugins(emitProjectDir(args.emit, file), {
|
|
4070
4039
|
frozen: args.strict === true,
|
|
4071
4040
|
// A module outside its SDK peer range keeps its block and is named,
|
|
4072
4041
|
// as any other skip is; it does not abort every `dev` and `build`.
|
|
@@ -4088,7 +4057,7 @@ async function runPaths(args) {
|
|
|
4088
4057
|
setDiagnosticSink(outerSink);
|
|
4089
4058
|
}
|
|
4090
4059
|
const payload = bundle.payload;
|
|
4091
|
-
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");
|
|
4092
4061
|
const plan = planRouteManifest(payload, (kind, name) => lockModel?.objects[lockKey(kind, name)]?.canonical);
|
|
4093
4062
|
const queryCount = plan.rows.length;
|
|
4094
4063
|
const serverCount = plan.servers.length + plan.unresolvedServers.length + plan.mcpServers.length + plan.unresolvedMcpServers.length;
|
|
@@ -4118,7 +4087,7 @@ async function runPaths(args) {
|
|
|
4118
4087
|
if (args.emit !== void 0) {
|
|
4119
4088
|
const counts = manifestCounts(plan);
|
|
4120
4089
|
if (unresolved.length > 0) {
|
|
4121
|
-
const { unresolvedCanonicalMessage } = await import("./routes-manifest-
|
|
4090
|
+
const { unresolvedCanonicalMessage } = await import("./routes-manifest-SXKLGPSQ.js");
|
|
4122
4091
|
const why = `${args.emit} was not written: ${unresolvedCanonicalMessage(unresolved, shellWord(file))}`;
|
|
4123
4092
|
if (args.strict) throw new Error(`--strict: ${why}`);
|
|
4124
4093
|
warn(why, "routes.not-written");
|
|
@@ -4130,7 +4099,7 @@ async function runPaths(args) {
|
|
|
4130
4099
|
if (machine && args.emit !== "-") writeJson(emitDoc(false));
|
|
4131
4100
|
return;
|
|
4132
4101
|
}
|
|
4133
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
4102
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-BKJ5YAER.js");
|
|
4134
4103
|
const loaded = toolchain?.loaded ?? [];
|
|
4135
4104
|
const skipped = toolchain?.skipped ?? [];
|
|
4136
4105
|
const rendered = renderManifestFile(
|
|
@@ -4152,22 +4121,22 @@ async function runPaths(args) {
|
|
|
4152
4121
|
writeData(process.stdout, source);
|
|
4153
4122
|
return;
|
|
4154
4123
|
}
|
|
4155
|
-
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
4124
|
+
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-ZYTIHEVU.js");
|
|
4156
4125
|
const emitDir = dirname2(resolve2(args.emit));
|
|
4157
4126
|
const projectSdk = skewedProjectSdk(installedSdk(emitDir) !== void 0 ? emitDir : dirname2(resolve2(file)), readVersion());
|
|
4158
4127
|
if (projectSdk !== void 0 && existsSync3(args.emit) && readFileSync3(args.emit, "utf8") !== source) {
|
|
4159
4128
|
const emit2 = args.emit;
|
|
4160
|
-
const
|
|
4129
|
+
const installed = installedCliCommand(
|
|
4161
4130
|
projectSdk.root,
|
|
4162
4131
|
(path) => `routes ${path(file)} --emit ${path(emit2)}${args.strict ? " --strict" : ""}`
|
|
4163
4132
|
);
|
|
4164
4133
|
if (args.strict) {
|
|
4165
4134
|
throw new CliError(
|
|
4166
4135
|
DRIFT,
|
|
4167
|
-
`--strict: ${displayPath(emit2)} differs from what this CLI (@xano/sdk ${readVersion()}) renders, and the project has ${projectSdk.version} installed, whose wording the table follows \u2014 so this CLI cannot tell a stale table from a current one. Run \`${
|
|
4136
|
+
`--strict: ${displayPath(emit2)} differs from what this CLI (@xano/sdk ${readVersion()}) renders, and the project has ${projectSdk.version} installed, whose wording the table follows \u2014 so this CLI cannot tell a stale table from a current one. Run \`${installed}\` to check it with the installed CLI.`
|
|
4168
4137
|
);
|
|
4169
4138
|
}
|
|
4170
|
-
warn(skewNote(emit2, readVersion(), projectSdk.version,
|
|
4139
|
+
warn(skewNote(emit2, readVersion(), projectSdk.version, installed), "routes.cli-skew");
|
|
4171
4140
|
if (machine) writeJson(emitDoc(false, counts));
|
|
4172
4141
|
return;
|
|
4173
4142
|
}
|
|
@@ -4207,7 +4176,7 @@ async function runPaths(args) {
|
|
|
4207
4176
|
process.stdout.write(formatRoutesListing(routesListing(plan)));
|
|
4208
4177
|
}
|
|
4209
4178
|
if (unresolved.length > 0) {
|
|
4210
|
-
const { unresolvedCanonicalMessage } = await import("./routes-manifest-
|
|
4179
|
+
const { unresolvedCanonicalMessage } = await import("./routes-manifest-SXKLGPSQ.js");
|
|
4211
4180
|
throw new UsageError(`${commandLabel(args)}: ${unresolvedCanonicalMessage(unresolved, shellWord(file))}`);
|
|
4212
4181
|
}
|
|
4213
4182
|
}
|
|
@@ -4215,7 +4184,7 @@ async function refreshRouteManifest(entry, emit2, projectDir) {
|
|
|
4215
4184
|
resetLockOverrides();
|
|
4216
4185
|
const lockPath = join3(dirname2(resolve2(entry)), "xano.lock");
|
|
4217
4186
|
const lockModel = existsSync3(lockPath) ? readLockFile(lockPath) : void 0;
|
|
4218
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
4187
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-PUOJ53C3.js");
|
|
4219
4188
|
const toolchain = existsSync3(emit2) ? await discoverToolchainPlugins(projectDir, { frozen: false, configuring: true, peerSkew: "skip" }) : void 0;
|
|
4220
4189
|
const def = await loadDefault(entry);
|
|
4221
4190
|
if (!Xano.isXano(def)) return { manifest: "absent", lockOrphans: 0 };
|
|
@@ -4227,12 +4196,12 @@ async function refreshRouteManifest(entry, emit2, projectDir) {
|
|
|
4227
4196
|
} finally {
|
|
4228
4197
|
setDiagnosticSink(previousSink);
|
|
4229
4198
|
}
|
|
4230
|
-
const { pulledIdentities } = await import("./pull-command-
|
|
4199
|
+
const { pulledIdentities } = await import("./pull-command-RZCBW5LT.js");
|
|
4231
4200
|
const live = pulledIdentities(payload);
|
|
4232
4201
|
const lockOrphans = lockModel === void 0 ? 0 : Object.keys(lockModel.objects).filter((k) => k !== WORKSPACE_KEY && !live.has(k)).length;
|
|
4233
4202
|
if (!existsSync3(emit2)) return { manifest: "absent", lockOrphans };
|
|
4234
|
-
const { planRouteManifest, RouteManifestError } = await import("./routes-manifest-
|
|
4235
|
-
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-BKJ5YAER.js");
|
|
4236
4205
|
const plan = planRouteManifest(payload, (kind, name) => lockModel?.objects[lockKey(kind, name)]?.canonical);
|
|
4237
4206
|
if (plan.unresolved.length > 0) return { manifest: "skipped", lockOrphans };
|
|
4238
4207
|
const current = readFileSync3(emit2, "utf8");
|
|
@@ -4782,7 +4751,7 @@ async function refineGonePullHint(err) {
|
|
|
4782
4751
|
if (offer === void 0 || auth === void 0 || !(err instanceof Error) || !err.message.includes(offer.clause)) return;
|
|
4783
4752
|
let gone;
|
|
4784
4753
|
try {
|
|
4785
|
-
const { lookupEphemeral } = await import("./source-resolve-
|
|
4754
|
+
const { lookupEphemeral } = await import("./source-resolve-BFIYJSS3.js");
|
|
4786
4755
|
gone = await lookupEphemeral(auth, offer.name) === null;
|
|
4787
4756
|
} catch {
|
|
4788
4757
|
return;
|
|
@@ -4957,7 +4926,6 @@ export {
|
|
|
4957
4926
|
DOC_TOKEN_REMEDY,
|
|
4958
4927
|
refuseCompileValueFlags,
|
|
4959
4928
|
loadBundleText,
|
|
4960
|
-
installUserAgent,
|
|
4961
4929
|
expandShortAttached,
|
|
4962
4930
|
envNameRule,
|
|
4963
4931
|
parseArgs,
|
|
@@ -4994,4 +4962,4 @@ export {
|
|
|
4994
4962
|
docTokenRefusalIfReplaced,
|
|
4995
4963
|
envRefusalIfReplaced
|
|
4996
4964
|
};
|
|
4997
|
-
//# sourceMappingURL=chunk-
|
|
4965
|
+
//# sourceMappingURL=chunk-7N3MTFS6.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
encodeTags,
|
|
6
6
|
registerKind
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6VKDIKJI.js";
|
|
8
8
|
import {
|
|
9
9
|
nearestKey
|
|
10
10
|
} from "./chunk-WTPZRR4I.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
emitDiagnostic,
|
|
14
14
|
numberedList,
|
|
15
15
|
problemCount
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LEODZXR7.js";
|
|
17
17
|
import {
|
|
18
18
|
isHostedFile
|
|
19
19
|
} from "./chunk-VQPDATQT.js";
|
|
@@ -1279,4 +1279,4 @@ export {
|
|
|
1279
1279
|
assertSeedUnique,
|
|
1280
1280
|
isNonPublicColumn
|
|
1281
1281
|
};
|
|
1282
|
-
//# sourceMappingURL=chunk-
|
|
1282
|
+
//# sourceMappingURL=chunk-A2TTPUAG.js.map
|