@xano/sdk 1.0.2 → 1.0.3
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 +24 -0
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-E6VSDB2M.js → agent-file-refresh-MQKCS7QZ.js} +10 -10
- package/dist/{answer-shape-BOZSUUBR.js → answer-shape-LVV2SVBK.js} +5 -5
- package/dist/{backend-dir-5ER5P65P.js → backend-dir-DGAQL4K5.js} +10 -10
- package/dist/{backend-slot-7EYY7DU5.js → backend-slot-NSCTWCUX.js} +4 -4
- package/dist/bin.js +62 -61
- package/dist/{branch-2W7SCLTJ.js → branch-ONWPJ4V6.js} +9 -9
- package/dist/branch-commands-R4PPN3Z7.js +79 -0
- package/dist/bundle.js +7 -7
- package/dist/{capture-WAXPD7DR.js → capture-3JNUA6C2.js} +5 -5
- package/dist/{chunk-ZNTK4GCI.js → chunk-2CGPQ7IM.js} +6 -6
- package/dist/{chunk-R3X7ECBS.js → chunk-2LVTBPW2.js} +3 -3
- package/dist/{chunk-PCJLL36N.js → chunk-37AHZ7JX.js} +6 -6
- package/dist/{chunk-4PCJEHA4.js → chunk-37FBPMNE.js} +4 -4
- package/dist/{chunk-5JULOSEF.js → chunk-3H3EPMFY.js} +2 -2
- package/dist/{chunk-YP5ME5RT.js → chunk-3HOGFGKG.js} +30 -3
- package/dist/{chunk-ZDPP6RKB.js → chunk-45ZUMF4E.js} +2 -2
- package/dist/{chunk-2YH2I6RA.js → chunk-46TUUNM3.js} +14 -14
- package/dist/{chunk-FEQICT4D.js → chunk-4APOHK7Y.js} +2 -2
- package/dist/{chunk-TTEIYD5P.js → chunk-4DJTQ6W4.js} +1 -1
- package/dist/{chunk-CIMQZRRE.js → chunk-4MIV244X.js} +3 -3
- package/dist/{chunk-G5IW3EYW.js → chunk-4PQHO74B.js} +26 -15
- package/dist/{chunk-MPSVU34E.js → chunk-5T2CTWTB.js} +6 -6
- package/dist/{chunk-IWGNIWQX.js → chunk-5W7DOMIU.js} +13 -13
- package/dist/{chunk-7THLGPVA.js → chunk-5YL5OC2G.js} +12 -12
- package/dist/{chunk-6RIKXG5I.js → chunk-6JAEMMZ7.js} +5 -5
- package/dist/{chunk-PFFXX6YU.js → chunk-6NYLVUSZ.js} +42 -42
- package/dist/{chunk-JGE7CAWB.js → chunk-6R7S775T.js} +2 -2
- package/dist/{chunk-SZOCJRFC.js → chunk-7GX445AE.js} +2 -2
- package/dist/{chunk-ZH4O6RWX.js → chunk-7KGASMCE.js} +7 -7
- package/dist/{chunk-2DH7VTO5.js → chunk-7KLAMYMS.js} +220 -71
- package/dist/{chunk-DBZASBQS.js → chunk-7KPKDHHI.js} +3 -3
- package/dist/{chunk-27GWNP2I.js → chunk-7THDHQ4R.js} +9 -2
- package/dist/{chunk-CALOC47J.js → chunk-7TXBKK5G.js} +7 -7
- package/dist/{chunk-YU4HSQW7.js → chunk-A2AOUBJS.js} +15 -8
- package/dist/{chunk-PGBSDRT4.js → chunk-A4KBHTMK.js} +29 -29
- package/dist/{chunk-JIEZZ5QU.js → chunk-A6QTTJUI.js} +2 -2
- package/dist/{chunk-DPDHBJNI.js → chunk-AMTJ4G32.js} +5 -5
- package/dist/{chunk-5OT4QGGZ.js → chunk-ANHOEBTJ.js} +4 -4
- package/dist/{chunk-GGZILEUD.js → chunk-BEXZ4XRV.js} +2 -2
- package/dist/{chunk-SSK5OWT6.js → chunk-BUECLQXK.js} +4 -4
- package/dist/{chunk-VSL7ET5S.js → chunk-BUJRS7XB.js} +3 -3
- package/dist/{chunk-FAGYIOLE.js → chunk-CBYQ2ZN3.js} +5 -5
- package/dist/{chunk-L3LYWXVE.js → chunk-CFSFBKHP.js} +2 -2
- package/dist/{chunk-5RA4BBJL.js → chunk-CJPLBFFY.js} +8 -8
- package/dist/{chunk-6EJQ4EJ7.js → chunk-CYB7UQA2.js} +2 -2
- package/dist/{chunk-BPJIHLP2.js → chunk-D3XOH7E7.js} +8 -8
- package/dist/{chunk-SZCQ2HVH.js → chunk-D64XUF5Q.js} +2 -2
- package/dist/{chunk-36X3OZKU.js → chunk-DIG3NITC.js} +3 -3
- package/dist/{chunk-VIPK7FHI.js → chunk-DYG5D3FD.js} +2 -2
- package/dist/{chunk-FFDZFVBD.js → chunk-E65QIWOO.js} +4 -4
- package/dist/{chunk-LQCMKAJ7.js → chunk-EESV6NU2.js} +3 -3
- package/dist/{chunk-VVE3C2X6.js → chunk-EOIJ7MVW.js} +3 -3
- package/dist/{chunk-DMD5I36N.js → chunk-ERJNHEFV.js} +3 -3
- package/dist/{chunk-5WGGTU5K.js → chunk-ETAZIGNT.js} +5 -5
- package/dist/{chunk-6X2I2WMV.js → chunk-EWCDPFW5.js} +4 -4
- package/dist/{chunk-HDIISRNY.js → chunk-F5KILDDO.js} +87 -87
- package/dist/{chunk-JWW4KU7T.js → chunk-FMOEVAGT.js} +2 -2
- package/dist/{chunk-Z6LUIVLY.js → chunk-FPBGAT5D.js} +2 -2
- package/dist/{chunk-CNYP6X7Q.js → chunk-FSYVOCS7.js} +5 -5
- package/dist/{chunk-TAHRVKKZ.js → chunk-FURLOAUM.js} +3 -3
- package/dist/{chunk-64AYI7QR.js → chunk-FWXSTFN2.js} +4 -4
- package/dist/{chunk-2Y4X2VLM.js → chunk-GPI3OWRE.js} +8 -3
- package/dist/{chunk-XNHEGBBT.js → chunk-HHFPIJGL.js} +3 -3
- package/dist/{chunk-D2JAPAQL.js → chunk-HHW5AWVD.js} +8 -8
- package/dist/{chunk-DTZSOJ6M.js → chunk-HMLGM2MW.js} +4 -4
- package/dist/{chunk-5KDJCQEU.js → chunk-HSEQYBDO.js} +2 -2
- package/dist/{chunk-GME75QO6.js → chunk-I2BGYNHD.js} +4 -4
- package/dist/{chunk-XVBGLISP.js → chunk-ICK36EGF.js} +2 -2
- package/dist/{chunk-WT7XRC6A.js → chunk-II747OWE.js} +45 -45
- package/dist/{chunk-VTLE2QDY.js → chunk-IRQCV3OT.js} +4 -4
- package/dist/{chunk-AHPEGODA.js → chunk-IVKRT476.js} +2 -2
- package/dist/{chunk-P7MBT4LJ.js → chunk-IXUPUFCG.js} +2 -2
- package/dist/{chunk-ZP6QRKZX.js → chunk-JTM5D7CT.js} +8 -8
- package/dist/{chunk-NSE7BZB6.js → chunk-K3LE5B5E.js} +72 -72
- package/dist/{chunk-QVZYYBVY.js → chunk-KCAL4QYP.js} +4 -4
- package/dist/{chunk-S3SV2BE7.js → chunk-KTGRGWZW.js} +7 -7
- package/dist/{chunk-5G5J5YRO.js → chunk-KUTFFHUM.js} +2 -2
- package/dist/{chunk-CSKYCZMO.js → chunk-KXYW3DRR.js} +7 -7
- package/dist/{chunk-LZZ7HN4L.js → chunk-LAKHO2B7.js} +8 -8
- package/dist/{chunk-NZOWWHU5.js → chunk-LL6ED5IB.js} +2 -2
- package/dist/{chunk-G4PFESPY.js → chunk-LXNQWHZM.js} +3 -3
- package/dist/{chunk-VGV2RF5X.js → chunk-MEE5RZ6G.js} +2 -2
- package/dist/{chunk-PYT3DC4G.js → chunk-MN2PB6WB.js} +2 -2
- package/dist/{chunk-2UN4TGBK.js → chunk-MNVDVR3M.js} +4 -4
- package/dist/{chunk-GSCW6RMU.js → chunk-NPXM6ZQY.js} +4 -4
- package/dist/{chunk-WQCL3AV7.js → chunk-O7QOWS6M.js} +3 -3
- package/dist/{chunk-D3YR6AIZ.js → chunk-OO63ZU46.js} +7 -7
- package/dist/{chunk-6MR5TI5V.js → chunk-OOGXZL7Z.js} +2 -2
- package/dist/{chunk-EDCCKH7Y.js → chunk-OPG4DYX2.js} +90 -48
- package/dist/{chunk-VUVPZYMM.js → chunk-PWIXETG7.js} +4 -4
- package/dist/{chunk-GQ4PMMCQ.js → chunk-QEZL5MPJ.js} +3 -3
- package/dist/{chunk-OJLJA3XM.js → chunk-QV3GXQRE.js} +2 -2
- package/dist/{chunk-TLQE7ZN3.js → chunk-RX3EMQGN.js} +2 -2
- package/dist/{chunk-JZEWT7NY.js → chunk-SBR2WZXG.js} +4 -4
- package/dist/{chunk-MOELGXVV.js → chunk-SEATQLFB.js} +13 -13
- package/dist/{chunk-RJOGX6LA.js → chunk-SEUCZZCP.js} +2 -2
- package/dist/{chunk-IG5QQQSA.js → chunk-TTVAHCWP.js} +2 -2
- package/dist/{chunk-GUKT7QYA.js → chunk-UDE5C2XN.js} +2 -2
- package/dist/{chunk-AKNCFVKZ.js → chunk-UDZX2ZL4.js} +1 -1
- package/dist/{chunk-NWKXM5RD.js → chunk-UI4OPTYR.js} +2 -2
- package/dist/{chunk-EJ3JCML2.js → chunk-UKUIUS3E.js} +4 -4
- package/dist/{chunk-HYAI62TU.js → chunk-UVF45BVU.js} +14 -9
- package/dist/{chunk-DRRJCODW.js → chunk-UWY3R4TS.js} +8 -8
- package/dist/{chunk-P2HAGF6H.js → chunk-VD32O6KZ.js} +3 -3
- package/dist/{chunk-4POWHT2K.js → chunk-VTMTIBKP.js} +8 -7
- package/dist/{chunk-OY4PS6SO.js → chunk-W5ONYLOP.js} +4 -4
- package/dist/{chunk-BTR2EQ4T.js → chunk-WFG67AYS.js} +3 -3
- package/dist/{chunk-FLLBK7EH.js → chunk-WGA25EV5.js} +3 -3
- package/dist/{chunk-JXUBSUQY.js → chunk-WOGJB2F6.js} +66 -18
- package/dist/{chunk-WP4N63FZ.js → chunk-XCPF7BEJ.js} +5 -5
- package/dist/{chunk-FXFV3KU6.js → chunk-XMDDBEEM.js} +10 -6
- package/dist/{chunk-7K6A4O2T.js → chunk-XXZZGXW2.js} +3 -3
- package/dist/{chunk-C3YIYEWR.js → chunk-YTPGQV5C.js} +7 -7
- package/dist/{chunk-JZCR3EQM.js → chunk-Z5UCPWGU.js} +20 -20
- package/dist/{chunk-YZ2UIG2K.js → chunk-ZH5R7NKN.js} +3 -3
- package/dist/{chunk-WPTLUJJR.js → chunk-ZTUNCVAR.js} +50 -50
- package/dist/{chunk-YYLRKWCZ.js → chunk-ZVYN4FXD.js} +14 -14
- package/dist/chunk-ZY55DO5P.js +24 -0
- package/dist/{chunk-P7PYN6HI.js → chunk-ZZEIC5PT.js} +3 -3
- package/dist/cli.d.ts +2 -2
- package/dist/cli.js +60 -59
- package/dist/{codegen-command-VO3RQTFX.js → codegen-command-SW2AP7KR.js} +77 -76
- package/dist/codegen.d.ts +5 -3
- package/dist/codegen.js +10 -6
- package/dist/{commands-QZERBFE2.js → commands-CVFYC4GK.js} +3 -3
- package/dist/{completion-6EKRFJJG.js → completion-AUEQC4XJ.js} +3 -3
- package/dist/{config-PZIRRUP6.js → config-JU6OQC77.js} +4 -4
- package/dist/{deploy-command-UGJPAXFQ.js → deploy-command-RD6W7PXN.js} +67 -66
- package/dist/{deploy-source-N6DMS2C5.js → deploy-source-ULSWF2V7.js} +31 -31
- package/dist/{dev-env-sync-EM4DWMN7.js → dev-env-sync-E2GFIVC5.js} +61 -60
- package/dist/{diagnostics-NSTYAWWN.js → diagnostics-LSMGB4TY.js} +2 -2
- package/dist/{display-name-hint-WT4SRTLI.js → display-name-hint-DMORHANO.js} +11 -11
- package/dist/{emit-BWGtkkOK.d.ts → emit-hOFbgzde.d.ts} +19 -15
- package/dist/env-example-refresh-WFKGILLY.js +127 -0
- package/dist/{env-pull-command-OHNICDTL.js → env-pull-command-QYQEOUE3.js} +51 -51
- package/dist/{env-target-5QFU2TR5.js → env-target-KUWQYHZ7.js} +14 -14
- package/dist/{env-var-command-AZCWUGI5.js → env-var-command-2ZAVIPNY.js} +40 -40
- package/dist/{ephemeral-76VMMZOU.js → ephemeral-BMFY55BQ.js} +9 -9
- package/dist/{ephemeral-command-EOAMMY3V.js → ephemeral-command-UKHBT3OW.js} +52 -52
- package/dist/{ephemeral-state-RRGJZBVF.js → ephemeral-state-6TY4JIPA.js} +12 -12
- package/dist/{generate-command-LPX3ATV6.js → generate-command-YN3HZWHG.js} +81 -80
- package/dist/{gitignore-BPYA5H34.js → gitignore-AU5X5F3I.js} +14 -14
- package/dist/{guards-FFQY3XAT.js → guards-EJU2ONAX.js} +17 -14
- package/dist/{impersonate-command-HLL2FKSY.js → impersonate-command-ZKE77GFT.js} +36 -36
- package/dist/{import-BG36DYZI.js → import-TBTOTU52.js} +5 -5
- package/dist/index.d.ts +151 -9
- package/dist/index.js +27 -26
- package/dist/init-command-NPXBMJNG.js +126 -0
- package/dist/{init-modules-AAH2UPHQ.js → init-modules-5TSTLGH5.js} +8 -8
- package/dist/{init-web-YBUM2BD5.js → init-web-Y2PBNJTQ.js} +3 -3
- package/dist/internal.d.ts +5 -5
- package/dist/internal.js +38 -31
- package/dist/{io-RC56QSN5.js → io-ZUKAGFVE.js} +6 -6
- package/dist/{keep-data-merge-DQR6L5FV.js → keep-data-merge-TDSELE5U.js} +39 -38
- package/dist/{landed-753YLJ5H.js → landed-6VO7CX5P.js} +5 -5
- package/dist/{landing-record-HWZTBTTP.js → landing-record-W7VQ4KV4.js} +21 -21
- package/dist/{live-diff-VJGPLS3E.js → live-diff-2S7E3SBZ.js} +15 -15
- package/dist/{local-engine-choice-QDOR72VD.js → local-engine-choice-OXULXWEP.js} +34 -34
- package/dist/{local-engine-command-CJKBG5M4.js → local-engine-command-5MTGZIZ4.js} +39 -39
- package/dist/{local-engine-deploy-ACJTJ7X5.js → local-engine-deploy-TXAOYRGF.js} +12 -12
- package/dist/{local-engine-process-ZJUPJ7VJ.js → local-engine-process-6VZ7JJBP.js} +7 -7
- package/dist/{local-engine-update-check-REGHKVK7.js → local-engine-update-check-R5SPDVEJ.js} +5 -5
- package/dist/{lock-MRRHW5GS.js → lock-TS465GVY.js} +4 -4
- package/dist/{lock-commands-XTMBIWGO.js → lock-commands-OBXAUSZX.js} +67 -66
- package/dist/{login-command-QSNMIG4D.js → login-command-CB3O3UDZ.js} +26 -26
- package/dist/{logout-command-AL54YZDB.js → logout-command-J5CP5HZZ.js} +17 -17
- package/dist/{loop-XLJ7S37B.js → loop-UFHKSOQ4.js} +16 -16
- package/dist/{marketplace-command-UHZXGJMH.js → marketplace-command-A5S25ZHF.js} +28 -28
- package/dist/{marketplace-resolve-4RQQ46LA.js → marketplace-resolve-GRXMK5YD.js} +6 -6
- package/dist/{meta-client-FFNDXZCQ.js → meta-client-FB73643X.js} +15 -15
- package/dist/{module-manifest-TTQAEXPS.js → module-manifest-GIKFNXPE.js} +4 -4
- package/dist/node.d.ts +6 -6
- package/dist/node.js +69 -68
- package/dist/operation-outcome-V4FUJI7V.js +51 -0
- package/dist/{output-target-MVKAEPEI.js → output-target-6HNPK6KC.js} +15 -15
- package/dist/{plan-disclosure-ZDZISUWI.js → plan-disclosure-BHYG7TZ7.js} +29 -29
- package/dist/{plugin-contributions-3O2MOX3B.js → plugin-contributions-X4V22PJQ.js} +5 -5
- package/dist/{plugin-prompt-4ELLDFBD.js → plugin-prompt-DKNQHW6Y.js} +5 -5
- package/dist/{plugin-questions-JTRIFEHW.js → plugin-questions-CQRVOWFK.js} +4 -4
- package/dist/{preflight-command-4FFDUHNT.js → preflight-command-NZ75PSRL.js} +74 -73
- package/dist/{profile-command-XV4JXLIJ.js → profile-command-KIRI4GA4.js} +27 -27
- package/dist/{profile-pointer-RKGBAGY6.js → profile-pointer-UOO7JNFG.js} +4 -4
- package/dist/{project-dependency-X7RULUFH.js → project-dependency-JGCJZ26H.js} +7 -7
- package/dist/{project-sdk-JYV7APT5.js → project-sdk-FOR4IOXL.js} +4 -4
- package/dist/promote-command-IPDH5OBT.js +141 -0
- package/dist/{prompt-SYH2EYXM.js → prompt-5GUQTCSP.js} +4 -4
- package/dist/{publish-command-KZOCPBMT.js → publish-command-74HMEZ7E.js} +70 -69
- package/dist/pull-command-VO5RRGZ5.js +162 -0
- package/dist/{pull-superseded-B7SOPA2M.js → pull-superseded-GGURV5J3.js} +4 -4
- package/dist/{response-HlXahv4K.d.ts → raw-where-EoWl5fqY.d.ts} +27 -5
- package/dist/release-command-ZHM5FA4M.js +147 -0
- package/dist/{release-ns-command-TCPT6N4H.js → release-ns-command-2TL26YOM.js} +95 -94
- package/dist/{retry-command-5PNYSQFN.js → retry-command-Y5YJGOH3.js} +8 -8
- package/dist/{routes-manifest-UPZQIGKC.js → routes-manifest-3BNZIVST.js} +17 -17
- package/dist/{secrets-file-6524YY62.js → secrets-file-NBBR6DYS.js} +14 -14
- package/dist/{secrets-fill-command-VX3TIYHL.js → secrets-fill-command-X3HQ4JYN.js} +64 -63
- package/dist/{seed-HBA6FWRQ.js → seed-GJHJSEUE.js} +13 -12
- package/dist/{source-resolve-ACQV343A.js → source-resolve-NTI3JFO6.js} +22 -22
- package/dist/{static-host-SFDXSHYY.js → static-host-WM24RG25.js} +5 -5
- package/dist/{status-command-X7W7PRWM.js → status-command-RVMOLYPR.js} +37 -37
- package/dist/{store-DVvwC4C4.d.ts → store-CfgPaVPO.d.ts} +116 -8
- package/dist/{store-CW5SHKXC.js → store-MR7IKXKK.js} +6 -6
- package/dist/{sync-contributions-VN2IEVBA.js → sync-contributions-KGCVRH2J.js} +9 -9
- package/dist/{table-K5YSS6MV.js → table-ZBDPKMNH.js} +12 -11
- package/dist/{tables-command-CJ5TF5JO.js → tables-command-GAOXJPMA.js} +40 -39
- package/dist/{tenant-TDTYXUGJ.js → tenant-GKXMOYLK.js} +10 -10
- package/dist/{tenant-command-SJDTSWGV.js → tenant-command-FAJ7WZTH.js} +98 -97
- package/dist/{test-command-4ICR3BPL.js → test-command-53FRDZ32.js} +35 -35
- package/dist/{tests-NQYQJQWY.js → tests-C55M5EQS.js} +6 -6
- package/dist/{token-JMW2GNLV.js → token-44CKLYWD.js} +13 -13
- package/dist/{toolchain-hooks-VUCFFZ7A.js → toolchain-hooks-BGZBDFAT.js} +3 -3
- package/dist/{toolchain-modules-J7FUTUTL.js → toolchain-modules-MPPH633S.js} +5 -5
- package/dist/{tracked-backend-GOVQ4OGJ.js → tracked-backend-AJLHRGLF.js} +33 -33
- package/dist/update-check-Q4HJHHL5.js +137 -0
- package/dist/{upgrade-command-MWP5JE5V.js → upgrade-command-C63HIBVH.js} +65 -64
- package/dist/{whoami-command-URRENPGI.js → whoami-command-WC5EKB4W.js} +16 -16
- package/dist/{workspace-LLYL5FMC.js → workspace-EJVWTIWX.js} +5 -5
- package/dist/{workspace-binding-DJQ5HZKG.js → workspace-binding-BRPPUSWG.js} +15 -15
- package/dist/{workspace-command-LZJPHSVH.js → workspace-command-Y6STVPYO.js} +91 -90
- package/dist/{workspace-env-M5GF3UPN.js → workspace-env-SIINWNMP.js} +11 -11
- package/dist/{workspace-export-ME52ELKP.js → workspace-export-AIGM6LC7.js} +5 -5
- package/dist/{writable-RQGBSRG6.js → writable-FYJBTJOU.js} +4 -4
- package/dist/xano-BSHYVFSE.js +43 -0
- package/dist/{xanosdk-import-PYZC3KWN.js → xanosdk-import-UKEO7R7O.js} +10 -10
- package/dist/{xanosdk-project-TWV27WO2.js → xanosdk-project-MQTZKITV.js} +12 -12
- package/guides/codes.md +2 -1
- package/llms/lambda.md +1 -1
- package/llms/legacy.md +9 -3
- package/llms/statements-data.md +1 -0
- package/llms/statements-runtime.md +1 -0
- package/llms-full.txt +13 -5
- package/llms.txt +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/dist/branch-commands-BNQUXQW2.js +0 -79
- package/dist/env-example-refresh-KJEKKD2S.js +0 -126
- package/dist/init-command-BC77KHUS.js +0 -125
- package/dist/operation-outcome-KMWK4IBN.js +0 -51
- package/dist/promote-command-VES2PITU.js +0 -140
- package/dist/pull-command-5O2JPLXN.js +0 -161
- package/dist/release-command-GJCCSDJF.js +0 -146
- package/dist/update-check-3CPTCQNK.js +0 -136
- package/dist/xano-EIUBBA6W.js +0 -42
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertOneName,
|
|
3
3
|
noteRunArgs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DIG3NITC.js";
|
|
5
5
|
import {
|
|
6
6
|
WORKSPACE_ENV_FILE,
|
|
7
7
|
classifyEnv,
|
|
@@ -10,37 +10,37 @@ import {
|
|
|
10
10
|
namesInEnvExample,
|
|
11
11
|
parseEnvFile,
|
|
12
12
|
readWorkspaceEnvFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IRQCV3OT.js";
|
|
14
14
|
import {
|
|
15
15
|
readTrackedBackend
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SEATQLFB.js";
|
|
17
17
|
import {
|
|
18
18
|
isCI
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZZEIC5PT.js";
|
|
20
20
|
import {
|
|
21
21
|
backendSlotForFlag,
|
|
22
22
|
slotValueMissing
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-UDE5C2XN.js";
|
|
24
24
|
import {
|
|
25
25
|
defaultWorkspaceSecretsPath,
|
|
26
26
|
readSecretsFile
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-NPXM6ZQY.js";
|
|
28
28
|
import {
|
|
29
29
|
allLandings,
|
|
30
30
|
getEnvironment,
|
|
31
31
|
readEphemeralState
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-UKUIUS3E.js";
|
|
33
33
|
import {
|
|
34
34
|
isUnwritableError,
|
|
35
35
|
unwritableError
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-3H3EPMFY.js";
|
|
37
37
|
import {
|
|
38
38
|
isExpired
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-BUECLQXK.js";
|
|
40
40
|
import {
|
|
41
41
|
contextFlags,
|
|
42
42
|
setHintContext
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-SEUCZZCP.js";
|
|
44
44
|
import {
|
|
45
45
|
shellWord
|
|
46
46
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
hostedFileResolver,
|
|
52
52
|
isMissingFile,
|
|
53
53
|
registerSeedHostedFiles
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-37AHZ7JX.js";
|
|
55
55
|
import {
|
|
56
56
|
projectRootFrom
|
|
57
57
|
} from "./chunk-ROY4YAEQ.js";
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
readLockFile,
|
|
60
60
|
readLockFileReport,
|
|
61
61
|
writeLockFile
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-VD32O6KZ.js";
|
|
63
63
|
import {
|
|
64
64
|
writeData
|
|
65
65
|
} from "./chunk-AWQ7BQTQ.js";
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
inCredentialScope,
|
|
71
71
|
lastResolvedAuth,
|
|
72
72
|
pinnedWorkspaceMissed
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-MN2PB6WB.js";
|
|
74
74
|
import {
|
|
75
75
|
assertValidProfileName
|
|
76
76
|
} from "./chunk-QXTKSOFI.js";
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "./chunk-X2NL4KUO.js";
|
|
80
80
|
import {
|
|
81
81
|
bundleCapabilities
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-6R7S775T.js";
|
|
83
83
|
import {
|
|
84
84
|
BARE,
|
|
85
85
|
CliError,
|
|
@@ -134,7 +134,7 @@ import {
|
|
|
134
134
|
warn,
|
|
135
135
|
withCliPrefix,
|
|
136
136
|
writeJson
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-SBR2WZXG.js";
|
|
138
138
|
import {
|
|
139
139
|
KNOWLEDGE_DIR,
|
|
140
140
|
KNOWLEDGE_FILE,
|
|
@@ -142,15 +142,15 @@ import {
|
|
|
142
142
|
isOsMetadataFile,
|
|
143
143
|
registerAllKinds,
|
|
144
144
|
serializeBundle
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-II747OWE.js";
|
|
146
146
|
import {
|
|
147
147
|
Xano,
|
|
148
148
|
checkFilterOperands,
|
|
149
149
|
standaloneDefKind
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-5YL5OC2G.js";
|
|
151
151
|
import {
|
|
152
152
|
knowledgeBodiesAllEmpty
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-EESV6NU2.js";
|
|
154
154
|
import {
|
|
155
155
|
checkDecodeOnlyStatements,
|
|
156
156
|
checkExpressionOperands,
|
|
@@ -174,31 +174,31 @@ import {
|
|
|
174
174
|
checkUnboundVarRefs,
|
|
175
175
|
checkZipPasswordKeys,
|
|
176
176
|
isQueryExpressionFilter
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-OPG4DYX2.js";
|
|
178
178
|
import {
|
|
179
179
|
FILTER_NAMES
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-BEXZ4XRV.js";
|
|
181
181
|
import {
|
|
182
182
|
isRepresentableName,
|
|
183
183
|
safeNames
|
|
184
184
|
} from "./chunk-GSGDWJB5.js";
|
|
185
185
|
import {
|
|
186
186
|
getKind
|
|
187
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-VTMTIBKP.js";
|
|
188
188
|
import {
|
|
189
189
|
WORKSPACE_SECRETS_FILE,
|
|
190
190
|
documentationScopeFlagLabel,
|
|
191
191
|
documentationScopeLabel
|
|
192
192
|
} from "./chunk-3JDU4VRL.js";
|
|
193
|
-
import {
|
|
194
|
-
suggest
|
|
195
|
-
} from "./chunk-UTI5G6OJ.js";
|
|
196
193
|
import {
|
|
197
194
|
DiagnosticBag,
|
|
198
195
|
DiagnosticError,
|
|
199
196
|
isDiagnosticError,
|
|
200
197
|
setDiagnosticSink
|
|
201
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-GPI3OWRE.js";
|
|
199
|
+
import {
|
|
200
|
+
suggest
|
|
201
|
+
} from "./chunk-UTI5G6OJ.js";
|
|
202
202
|
import {
|
|
203
203
|
WORKSPACE_KEY,
|
|
204
204
|
createLockContext,
|
|
@@ -211,7 +211,7 @@ import {
|
|
|
211
211
|
toolsetKindsFromPayload,
|
|
212
212
|
validateLockModel,
|
|
213
213
|
withoutGuidSources
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-OOGXZL7Z.js";
|
|
215
215
|
import {
|
|
216
216
|
shellQuote
|
|
217
217
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -224,10 +224,10 @@ import {
|
|
|
224
224
|
IDENT,
|
|
225
225
|
installLambdaFreeReads,
|
|
226
226
|
installLambdaSyntaxCheck
|
|
227
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-UVF45BVU.js";
|
|
228
228
|
import {
|
|
229
229
|
rawDeriveGuid
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-LL6ED5IB.js";
|
|
231
231
|
import {
|
|
232
232
|
resetLockOverrides,
|
|
233
233
|
seedLockOverrides
|
|
@@ -2477,7 +2477,7 @@ async function tsxRemedy(file) {
|
|
|
2477
2477
|
);
|
|
2478
2478
|
if (!declared) return fallback;
|
|
2479
2479
|
const { detectPackageManager } = await import("./package-manager-PRAHUSCN.js");
|
|
2480
|
-
const { inProject } = await import("./init-modules-
|
|
2480
|
+
const { inProject } = await import("./init-modules-5TSTLGH5.js");
|
|
2481
2481
|
return `This project's package.json declares it, but its dependencies are not installed \u2014 run \`${inProject(dir)}${detectPackageManager(dir)} install\` first.`;
|
|
2482
2482
|
}
|
|
2483
2483
|
if (dirname2(dir) === dir) return fallback;
|
|
@@ -3098,7 +3098,7 @@ async function explainUnreachableWorkspace(err) {
|
|
|
3098
3098
|
let verdict = unreachableVerdicts.get(auth);
|
|
3099
3099
|
if (verdict === void 0) {
|
|
3100
3100
|
verdict = (async () => {
|
|
3101
|
-
const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-
|
|
3101
|
+
const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-BRPPUSWG.js");
|
|
3102
3102
|
const all = await readReachableWorkspaces(auth, 15e3);
|
|
3103
3103
|
if (all === void 0 || all.length === 0 || all.some((w) => w.id === auth.workspaceId)) return void 0;
|
|
3104
3104
|
return new UsageError(unreachableWorkspaceMessage(auth, all));
|
|
@@ -3112,7 +3112,7 @@ async function explainRejectedCredential(err) {
|
|
|
3112
3112
|
if (!(err instanceof Error) || resolved === void 0) return err;
|
|
3113
3113
|
const [first = "", ...rest] = err.message.split("\n");
|
|
3114
3114
|
if (!/\(401\b[^)]*\)|\banswered (HTTP )?401\b/.test(first) || /\brejected\b/.test(err.message)) return err;
|
|
3115
|
-
const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-
|
|
3115
|
+
const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-WC5EKB4W.js");
|
|
3116
3116
|
const { auth, args } = resolved;
|
|
3117
3117
|
err.message = [first, rejectedRemedy(auth, args), ...rest].join("\n");
|
|
3118
3118
|
if (failureCode(err) === "SDK_ERROR") asRejectedCredential(err, auth, args);
|
|
@@ -3150,10 +3150,10 @@ function withoutSecretValue(args) {
|
|
|
3150
3150
|
}
|
|
3151
3151
|
async function nameLookupRerun(failure) {
|
|
3152
3152
|
if (!(failure instanceof Error) || runArgs?.argv === void 0) return failure;
|
|
3153
|
-
const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-
|
|
3153
|
+
const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-NTI3JFO6.js");
|
|
3154
3154
|
const err = rateLimitedFailure(failure);
|
|
3155
3155
|
if (!(err instanceof LookupFailedError)) return err;
|
|
3156
|
-
const { retryCommand, withheldNote } = await import("./deploy-command-
|
|
3156
|
+
const { retryCommand, withheldNote } = await import("./deploy-command-RD6W7PXN.js");
|
|
3157
3157
|
if (runArgs.command === "env" && runArgs.subcommand === "set") {
|
|
3158
3158
|
const retry2 = retryCommand(withoutSecretValue(runArgs));
|
|
3159
3159
|
return err.withRerun(
|
|
@@ -3208,7 +3208,7 @@ function isPathlessRun(args) {
|
|
|
3208
3208
|
return PATHLESS_COMMANDS.has(command) || PATHLESS_VERBS[command]?.has(args.subcommand ?? "") === true;
|
|
3209
3209
|
}
|
|
3210
3210
|
async function atProjectRoot(args, command, positional) {
|
|
3211
|
-
const { enterProjectRoot } = await import("./xanosdk-project-
|
|
3211
|
+
const { enterProjectRoot } = await import("./xanosdk-project-MQTZKITV.js");
|
|
3212
3212
|
const entered = enterProjectRoot(args, process.cwd(), positional);
|
|
3213
3213
|
if (entered === void 0) return command(args);
|
|
3214
3214
|
if (isPathlessRun(args)) {
|
|
@@ -3309,7 +3309,7 @@ async function dispatch(rawArgv) {
|
|
|
3309
3309
|
if (typed[0] === "init") {
|
|
3310
3310
|
const web = typed.indexOf("--web", 1);
|
|
3311
3311
|
if (web !== -1) {
|
|
3312
|
-
const { runInitWebCommand } = await import("./init-web-
|
|
3312
|
+
const { runInitWebCommand } = await import("./init-web-Y2PBNJTQ.js");
|
|
3313
3313
|
return runInitWebCommand([...typed.slice(1, web), ...typed.slice(web + 1)]);
|
|
3314
3314
|
}
|
|
3315
3315
|
}
|
|
@@ -3327,7 +3327,7 @@ async function dispatch(rawArgv) {
|
|
|
3327
3327
|
throw unknownSubcommand(helpRequest.command, helpRequest.unknownSubcommand, helpRequest.positionals ?? []);
|
|
3328
3328
|
}
|
|
3329
3329
|
if (argv.includes("--json")) {
|
|
3330
|
-
const { helpDocument } = await import("./commands-
|
|
3330
|
+
const { helpDocument } = await import("./commands-CVFYC4GK.js");
|
|
3331
3331
|
writeJson({ version: readVersion(), ...helpDocument(helpRequest) });
|
|
3332
3332
|
return;
|
|
3333
3333
|
}
|
|
@@ -3348,7 +3348,7 @@ async function dispatch(rawArgv) {
|
|
|
3348
3348
|
setHintContext(args);
|
|
3349
3349
|
runArgs = args;
|
|
3350
3350
|
noteRunArgs(args);
|
|
3351
|
-
if (isMachineOutput(args)) (await import("./update-check-
|
|
3351
|
+
if (isMachineOutput(args)) (await import("./update-check-Q4HJHHL5.js")).routeUpdateNoticeToDocument();
|
|
3352
3352
|
const { command } = args;
|
|
3353
3353
|
const out = args.out === "-" ? void 0 : args.out;
|
|
3354
3354
|
if (command === void 0) {
|
|
@@ -3369,11 +3369,11 @@ async function dispatch(rawArgv) {
|
|
|
3369
3369
|
return;
|
|
3370
3370
|
}
|
|
3371
3371
|
if (command === "init") {
|
|
3372
|
-
const { runInitCommand } = await import("./init-command-
|
|
3372
|
+
const { runInitCommand } = await import("./init-command-NPXBMJNG.js");
|
|
3373
3373
|
return runInitCommand(args);
|
|
3374
3374
|
}
|
|
3375
3375
|
if (command === "completion") {
|
|
3376
|
-
const { isCompletionShell, runCompletionCommand, COMPLETION_SHELLS, UNSUPPORTED_SHELLS } = await import("./completion-
|
|
3376
|
+
const { isCompletionShell, runCompletionCommand, COMPLETION_SHELLS, UNSUPPORTED_SHELLS } = await import("./completion-AUEQC4XJ.js");
|
|
3377
3377
|
const shell = args.positionals[0];
|
|
3378
3378
|
if (shell === void 0) throw missingArgument("shell", { command: "completion" });
|
|
3379
3379
|
if (!isCompletionShell(shell)) {
|
|
@@ -3392,111 +3392,111 @@ async function dispatch(rawArgv) {
|
|
|
3392
3392
|
return runCompletionCommand(shell);
|
|
3393
3393
|
}
|
|
3394
3394
|
if (command === "upgrade") {
|
|
3395
|
-
const { runUpgradeCommand } = await import("./upgrade-command-
|
|
3395
|
+
const { runUpgradeCommand } = await import("./upgrade-command-C63HIBVH.js");
|
|
3396
3396
|
return runUpgradeCommand(args);
|
|
3397
3397
|
}
|
|
3398
3398
|
if (command === "lock") {
|
|
3399
|
-
const { runLockCommand } = await import("./lock-commands-
|
|
3399
|
+
const { runLockCommand } = await import("./lock-commands-OBXAUSZX.js");
|
|
3400
3400
|
const verb = args.positionals[0];
|
|
3401
|
-
const { isProjectDir } = await import("./xanosdk-project-
|
|
3401
|
+
const { isProjectDir } = await import("./xanosdk-project-MQTZKITV.js");
|
|
3402
3402
|
const here = verb !== "prune" && args.lockPath === void 0 && args.entryPath === void 0 && existsSync2("xano.lock") && !isProjectDir(process.cwd()) ? { ...args, lockPath: "xano.lock" } : args;
|
|
3403
3403
|
return atProjectRoot(here, runLockCommand, verb === "prune" || verb === "import" ? "verb-path" : void 0);
|
|
3404
3404
|
}
|
|
3405
3405
|
if (command === "login") {
|
|
3406
|
-
const { runLoginCommand } = await import("./login-command-
|
|
3406
|
+
const { runLoginCommand } = await import("./login-command-CB3O3UDZ.js");
|
|
3407
3407
|
return runLoginCommand(args);
|
|
3408
3408
|
}
|
|
3409
3409
|
if (command === "logout") {
|
|
3410
|
-
const { runLogoutCommand } = await import("./logout-command-
|
|
3410
|
+
const { runLogoutCommand } = await import("./logout-command-J5CP5HZZ.js");
|
|
3411
3411
|
return runLogoutCommand(args);
|
|
3412
3412
|
}
|
|
3413
3413
|
if (command === "deploy") {
|
|
3414
|
-
const { runDeployCommand } = await import("./deploy-command-
|
|
3414
|
+
const { runDeployCommand } = await import("./deploy-command-RD6W7PXN.js");
|
|
3415
3415
|
return atProjectRoot(args, runDeployCommand, entryPositional(args));
|
|
3416
3416
|
}
|
|
3417
3417
|
if (command === "ephemeral") {
|
|
3418
|
-
const { runEphemeralCommand } = await import("./ephemeral-command-
|
|
3418
|
+
const { runEphemeralCommand } = await import("./ephemeral-command-UKHBT3OW.js");
|
|
3419
3419
|
return atProjectRoot(args, runEphemeralCommand);
|
|
3420
3420
|
}
|
|
3421
3421
|
if (command === "local-engine") {
|
|
3422
|
-
const { runLocalEngineCommand } = await import("./local-engine-command-
|
|
3422
|
+
const { runLocalEngineCommand } = await import("./local-engine-command-5MTGZIZ4.js");
|
|
3423
3423
|
const project = ["token", "stop", "update"].includes(args.subcommand ?? "");
|
|
3424
3424
|
return project ? atProjectRoot(args, runLocalEngineCommand) : runLocalEngineCommand(args);
|
|
3425
3425
|
}
|
|
3426
3426
|
if (command === "env") {
|
|
3427
3427
|
if (args.subcommand === "set" || args.subcommand === "unset") {
|
|
3428
|
-
const { runEnvVarCommand } = await import("./env-var-command-
|
|
3428
|
+
const { runEnvVarCommand } = await import("./env-var-command-2ZAVIPNY.js");
|
|
3429
3429
|
return atProjectRoot(args, (a) => runEnvVarCommand(a, args.subcommand));
|
|
3430
3430
|
}
|
|
3431
3431
|
if (args.subcommand !== "pull") throw unknownSubcommand("env", args.subcommand);
|
|
3432
|
-
const { runEnvPullCommand } = await import("./env-pull-command-
|
|
3432
|
+
const { runEnvPullCommand } = await import("./env-pull-command-QYQEOUE3.js");
|
|
3433
3433
|
return atProjectRoot(args, runEnvPullCommand);
|
|
3434
3434
|
}
|
|
3435
3435
|
if (command === "secrets") {
|
|
3436
3436
|
if (args.subcommand !== "fill") throw unknownSubcommand("secrets", args.subcommand);
|
|
3437
|
-
const { runSecretsFillCommand } = await import("./secrets-fill-command-
|
|
3437
|
+
const { runSecretsFillCommand } = await import("./secrets-fill-command-X3HQ4JYN.js");
|
|
3438
3438
|
return atProjectRoot(args, runSecretsFillCommand, entryPositional(args));
|
|
3439
3439
|
}
|
|
3440
3440
|
if (command === "release") {
|
|
3441
|
-
const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-
|
|
3441
|
+
const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-2TL26YOM.js");
|
|
3442
3442
|
return atProjectRoot(args, runReleaseNs);
|
|
3443
3443
|
}
|
|
3444
3444
|
if (command === "pull") {
|
|
3445
|
-
const { runPullCommand } = await import("./pull-command-
|
|
3445
|
+
const { runPullCommand } = await import("./pull-command-VO5RRGZ5.js");
|
|
3446
3446
|
const first = args.positionals[0];
|
|
3447
3447
|
const file = first !== void 0 && !isKindShaped(first) && (/\.json$/i.test(first) || /[\\/]/.test(first));
|
|
3448
3448
|
return file ? runPullCommand(args) : atProjectRoot(args, runPullCommand);
|
|
3449
3449
|
}
|
|
3450
3450
|
if (command === "generate") {
|
|
3451
|
-
const { runGenerateCommand } = await import("./generate-command-
|
|
3451
|
+
const { runGenerateCommand } = await import("./generate-command-YN3HZWHG.js");
|
|
3452
3452
|
return runGenerateCommand(args);
|
|
3453
3453
|
}
|
|
3454
3454
|
if (command === "tables") {
|
|
3455
|
-
const { runTablesCommand } = await import("./tables-command-
|
|
3455
|
+
const { runTablesCommand } = await import("./tables-command-GAOXJPMA.js");
|
|
3456
3456
|
return atProjectRoot(args, runTablesCommand);
|
|
3457
3457
|
}
|
|
3458
3458
|
if (command === "impersonate") {
|
|
3459
|
-
const { runImpersonateCommand } = await import("./impersonate-command-
|
|
3459
|
+
const { runImpersonateCommand } = await import("./impersonate-command-ZKE77GFT.js");
|
|
3460
3460
|
return atProjectRoot(args, runImpersonateCommand);
|
|
3461
3461
|
}
|
|
3462
3462
|
if (command === "promote") {
|
|
3463
|
-
const { runPromoteCommand } = await import("./promote-command-
|
|
3463
|
+
const { runPromoteCommand } = await import("./promote-command-IPDH5OBT.js");
|
|
3464
3464
|
return atProjectRoot(args, runPromoteCommand);
|
|
3465
3465
|
}
|
|
3466
3466
|
if (command === "publish") {
|
|
3467
|
-
const { runPublishCommand } = await import("./publish-command-
|
|
3467
|
+
const { runPublishCommand } = await import("./publish-command-74HMEZ7E.js");
|
|
3468
3468
|
return atProjectRoot(args, runPublishCommand, "path");
|
|
3469
3469
|
}
|
|
3470
3470
|
if (command === "tenant") {
|
|
3471
|
-
const { runTenantCommand } = await import("./tenant-command-
|
|
3471
|
+
const { runTenantCommand } = await import("./tenant-command-FAJ7WZTH.js");
|
|
3472
3472
|
return atProjectRoot(args, runTenantCommand);
|
|
3473
3473
|
}
|
|
3474
3474
|
if (command === "test") {
|
|
3475
|
-
const { runTestCommand } = await import("./test-command-
|
|
3475
|
+
const { runTestCommand } = await import("./test-command-53FRDZ32.js");
|
|
3476
3476
|
return atProjectRoot(args, runTestCommand);
|
|
3477
3477
|
}
|
|
3478
3478
|
if (command === "workspace") {
|
|
3479
|
-
const { runWorkspaceCommand } = await import("./workspace-command-
|
|
3479
|
+
const { runWorkspaceCommand } = await import("./workspace-command-Y6STVPYO.js");
|
|
3480
3480
|
return runWorkspaceCommand(args);
|
|
3481
3481
|
}
|
|
3482
3482
|
if (command === "status") {
|
|
3483
|
-
const { runStatusCommand } = await import("./status-command-
|
|
3483
|
+
const { runStatusCommand } = await import("./status-command-RVMOLYPR.js");
|
|
3484
3484
|
return runStatusCommand(args);
|
|
3485
3485
|
}
|
|
3486
3486
|
if (command === "whoami") {
|
|
3487
|
-
const { runWhoamiCommand } = await import("./whoami-command-
|
|
3487
|
+
const { runWhoamiCommand } = await import("./whoami-command-WC5EKB4W.js");
|
|
3488
3488
|
return runWhoamiCommand(args);
|
|
3489
3489
|
}
|
|
3490
3490
|
if (command === "profile") {
|
|
3491
|
-
const { runProfileCommand } = await import("./profile-command-
|
|
3491
|
+
const { runProfileCommand } = await import("./profile-command-KIRI4GA4.js");
|
|
3492
3492
|
return runProfileCommand(args);
|
|
3493
3493
|
}
|
|
3494
3494
|
if (command === "marketplace") {
|
|
3495
3495
|
if (!["list", "search", "details", "install", "reinstall", "remove"].includes(args.subcommand ?? "")) {
|
|
3496
3496
|
throw unknownSubcommand("marketplace", args.subcommand);
|
|
3497
3497
|
}
|
|
3498
|
-
const marketplace = await import("./marketplace-command-
|
|
3499
|
-
const { withCatalogueRerun } = await import("./marketplace-resolve-
|
|
3498
|
+
const marketplace = await import("./marketplace-command-A5S25ZHF.js");
|
|
3499
|
+
const { withCatalogueRerun } = await import("./marketplace-resolve-GRXMK5YD.js");
|
|
3500
3500
|
try {
|
|
3501
3501
|
if (args.subcommand === "list") return await marketplace.runMarketplaceListCommand(args);
|
|
3502
3502
|
if (args.subcommand === "search") return await marketplace.runMarketplaceSearchCommand(args);
|
|
@@ -3509,7 +3509,7 @@ async function dispatch(rawArgv) {
|
|
|
3509
3509
|
}
|
|
3510
3510
|
}
|
|
3511
3511
|
if (command === "preflight") {
|
|
3512
|
-
const { runPreflightCommand } = await import("./preflight-command-
|
|
3512
|
+
const { runPreflightCommand } = await import("./preflight-command-NZ75PSRL.js");
|
|
3513
3513
|
return runPreflightCommand(args);
|
|
3514
3514
|
}
|
|
3515
3515
|
if (command !== "compile" && command !== "export" && command !== "paths" && command !== "routes") {
|
|
@@ -3524,12 +3524,12 @@ async function dispatch(rawArgv) {
|
|
|
3524
3524
|
if (command === "paths" || command === "routes") {
|
|
3525
3525
|
return runPaths(args);
|
|
3526
3526
|
}
|
|
3527
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
3527
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-MPPH633S.js");
|
|
3528
3528
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
3529
3529
|
frozen: args.frozenLock === true || args.check === true
|
|
3530
3530
|
});
|
|
3531
3531
|
if (out && !args.check) {
|
|
3532
|
-
const { assertWritableTarget } = await import("./output-target-
|
|
3532
|
+
const { assertWritableTarget } = await import("./output-target-6HNPK6KC.js");
|
|
3533
3533
|
assertWritableTarget(out, "--out");
|
|
3534
3534
|
}
|
|
3535
3535
|
const { bundle: json, bundleObject, omittedSeedTables, lock: lockOutcome, declaredEnvNames } = await compileBundle(args);
|
|
@@ -3547,7 +3547,7 @@ async function dispatch(rawArgv) {
|
|
|
3547
3547
|
"export.hosted-files-omitted"
|
|
3548
3548
|
);
|
|
3549
3549
|
}
|
|
3550
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
3550
|
+
const { runBundleHooks } = await import("./toolchain-hooks-BGZBDFAT.js");
|
|
3551
3551
|
await runBundleHooks(
|
|
3552
3552
|
toolchain.loaded,
|
|
3553
3553
|
{
|
|
@@ -3560,15 +3560,15 @@ async function dispatch(rawArgv) {
|
|
|
3560
3560
|
},
|
|
3561
3561
|
""
|
|
3562
3562
|
);
|
|
3563
|
-
const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-
|
|
3564
|
-
const { backendDirFor } = await import("./backend-dir-
|
|
3563
|
+
const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-WFKGILLY.js");
|
|
3564
|
+
const { backendDirFor } = await import("./backend-dir-DGAQL4K5.js");
|
|
3565
3565
|
const declaredSet = new Set(declaredEnvNames);
|
|
3566
3566
|
const templateDir = backendDirFor(args.file);
|
|
3567
3567
|
const ownsTemplate = isWithin(resolve2(args.file), templateDir) && (dirname2(resolve2(args.file)) === templateDir || !existsSync2(join2(templateDir, "index.ts")));
|
|
3568
3568
|
const templateEnv = Object.fromEntries(
|
|
3569
3569
|
Object.entries(bundleEnvNames2(bundleObject)).filter(([name]) => declaredSet.has(name))
|
|
3570
3570
|
);
|
|
3571
|
-
const { skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
3571
|
+
const { skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-FOR4IOXL.js");
|
|
3572
3572
|
const projectSdk = skewedProjectSdk(dirname2(resolve2(args.file)), readVersion());
|
|
3573
3573
|
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}`);
|
|
3574
3574
|
if (args.check) {
|
|
@@ -3619,15 +3619,15 @@ async function dispatch(rawArgv) {
|
|
|
3619
3619
|
info(`${hadEnvExample ? "Updated" : "Wrote"} ${displayPath(refreshed)} to list the env names this source declares.`);
|
|
3620
3620
|
}
|
|
3621
3621
|
if (out) {
|
|
3622
|
-
const { secretsCarriedBy } = await import("./live-diff-
|
|
3623
|
-
const { writeExportFile } = await import("./output-target-
|
|
3622
|
+
const { secretsCarriedBy } = await import("./live-diff-2S7E3SBZ.js");
|
|
3623
|
+
const { writeExportFile } = await import("./output-target-6HNPK6KC.js");
|
|
3624
3624
|
const written = lockOutcome?.changed ? `Only ${lockOutcome.path} was written` : void 0;
|
|
3625
3625
|
writeExportFile(out, json + "\n", secretsCarriedBy(bundleObject), "--out", written);
|
|
3626
3626
|
reportWrote(args, out, lockOutcome);
|
|
3627
3627
|
} else {
|
|
3628
3628
|
process.stdout.write(json + "\n");
|
|
3629
|
-
const { secretsCarriedBy } = await import("./live-diff-
|
|
3630
|
-
const { secretsPhrase } = await import("./output-target-
|
|
3629
|
+
const { secretsCarriedBy } = await import("./live-diff-2S7E3SBZ.js");
|
|
3630
|
+
const { secretsPhrase } = await import("./output-target-6HNPK6KC.js");
|
|
3631
3631
|
const secrets = secretsCarriedBy(bundleObject);
|
|
3632
3632
|
if (secrets.length > 0) {
|
|
3633
3633
|
warn(
|
|
@@ -3646,11 +3646,11 @@ async function refreshAgentGuidance(args) {
|
|
|
3646
3646
|
if (args.noRefresh) return;
|
|
3647
3647
|
if (args.check || args.frozenLock || args.dryRun) return;
|
|
3648
3648
|
try {
|
|
3649
|
-
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
3649
|
+
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-FOR4IOXL.js");
|
|
3650
3650
|
const entryProject = args.file === void 0 ? void 0 : installedSdk(dirname2(resolve2(args.file)))?.root;
|
|
3651
3651
|
const projectDir = existsSync2(join2(process.cwd(), "AGENTS.md")) || entryProject === void 0 ? process.cwd() : entryProject;
|
|
3652
3652
|
const projectSdk = skewedProjectSdk(projectDir, readVersion());
|
|
3653
|
-
const { refreshAgentFiles } = await import("./agent-file-refresh-
|
|
3653
|
+
const { refreshAgentFiles } = await import("./agent-file-refresh-MQKCS7QZ.js");
|
|
3654
3654
|
if (projectSdk !== void 0) {
|
|
3655
3655
|
const stale = refreshAgentFiles({ projectDir, sdkVersion: readVersion(), write: false });
|
|
3656
3656
|
const file = args.file;
|
|
@@ -3893,7 +3893,7 @@ async function runPaths(args) {
|
|
|
3893
3893
|
setDiagnosticSink(outerSink);
|
|
3894
3894
|
}
|
|
3895
3895
|
const payload = bundle.payload;
|
|
3896
|
-
const { planRouteManifest } = await import("./routes-manifest-
|
|
3896
|
+
const { planRouteManifest } = await import("./routes-manifest-3BNZIVST.js");
|
|
3897
3897
|
const plan = planRouteManifest(payload, (kind, name) => lockModel?.objects[lockKey(kind, name)]?.canonical);
|
|
3898
3898
|
const queryCount = plan.rows.length;
|
|
3899
3899
|
const realtimeCount = plan.servers.length + plan.unresolvedServers.length;
|
|
@@ -3917,7 +3917,7 @@ async function runPaths(args) {
|
|
|
3917
3917
|
);
|
|
3918
3918
|
}
|
|
3919
3919
|
if (unresolved.length > 0) {
|
|
3920
|
-
const { unresolvedCanonicalMessage } = await import("./routes-manifest-
|
|
3920
|
+
const { unresolvedCanonicalMessage } = await import("./routes-manifest-3BNZIVST.js");
|
|
3921
3921
|
const why = `${args.emit} was not written: ${unresolvedCanonicalMessage(unresolved, shellWord(file))}`;
|
|
3922
3922
|
if (args.strict) throw new Error(`--strict: ${why}`);
|
|
3923
3923
|
warn(why, "routes.not-written");
|
|
@@ -3929,7 +3929,7 @@ async function runPaths(args) {
|
|
|
3929
3929
|
if (machine && args.emit !== "-") writeJson({ emit: resolve2(args.emit), written: false, routes: 0, channels: 0 });
|
|
3930
3930
|
return;
|
|
3931
3931
|
}
|
|
3932
|
-
const { renderPlannedManifest, renderRouteManifest } = await import("./routes-manifest-
|
|
3932
|
+
const { renderPlannedManifest, renderRouteManifest } = await import("./routes-manifest-3BNZIVST.js");
|
|
3933
3933
|
const source = emptiedManifest ? renderRouteManifest([]) : renderPlannedManifest(plan);
|
|
3934
3934
|
const routeCount = resolved.length === 1 ? "1 route" : `${resolved.length} routes`;
|
|
3935
3935
|
const channelCount = channelRows.length === 1 ? "1 channel" : `${channelRows.length} channels`;
|
|
@@ -3938,7 +3938,7 @@ async function runPaths(args) {
|
|
|
3938
3938
|
writeData(process.stdout, source);
|
|
3939
3939
|
return;
|
|
3940
3940
|
}
|
|
3941
|
-
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
3941
|
+
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-FOR4IOXL.js");
|
|
3942
3942
|
const emitDir = dirname2(resolve2(args.emit));
|
|
3943
3943
|
const projectSdk = skewedProjectSdk(installedSdk(emitDir) !== void 0 ? emitDir : dirname2(resolve2(file)), readVersion());
|
|
3944
3944
|
if (projectSdk !== void 0 && existsSync2(args.emit) && readFileSync3(args.emit, "utf8") !== source) {
|
|
@@ -4011,7 +4011,7 @@ async function runPaths(args) {
|
|
|
4011
4011
|
}
|
|
4012
4012
|
}
|
|
4013
4013
|
if (unresolved.length > 0) {
|
|
4014
|
-
const { unresolvedCanonicalMessage } = await import("./routes-manifest-
|
|
4014
|
+
const { unresolvedCanonicalMessage } = await import("./routes-manifest-3BNZIVST.js");
|
|
4015
4015
|
throw new UsageError(`${commandLabel(args)}: ${unresolvedCanonicalMessage(unresolved, shellWord(file))}`);
|
|
4016
4016
|
}
|
|
4017
4017
|
}
|
|
@@ -4029,11 +4029,11 @@ async function refreshRouteManifest(entry, emit2) {
|
|
|
4029
4029
|
} finally {
|
|
4030
4030
|
setDiagnosticSink(previousSink);
|
|
4031
4031
|
}
|
|
4032
|
-
const { pulledIdentities } = await import("./pull-command-
|
|
4032
|
+
const { pulledIdentities } = await import("./pull-command-VO5RRGZ5.js");
|
|
4033
4033
|
const live = pulledIdentities(payload);
|
|
4034
4034
|
const lockOrphans = lockModel === void 0 ? 0 : Object.keys(lockModel.objects).filter((k) => k !== WORKSPACE_KEY && !live.has(k)).length;
|
|
4035
4035
|
if (!existsSync2(emit2)) return { manifest: "absent", lockOrphans };
|
|
4036
|
-
const { planRouteManifest, renderPlannedManifest, renderRouteManifest } = await import("./routes-manifest-
|
|
4036
|
+
const { planRouteManifest, renderPlannedManifest, renderRouteManifest } = await import("./routes-manifest-3BNZIVST.js");
|
|
4037
4037
|
const plan = planRouteManifest(payload, (kind, name) => lockModel?.objects[lockKey(kind, name)]?.canonical);
|
|
4038
4038
|
if (plan.unresolved.length > 0) return { manifest: "skipped", lockOrphans };
|
|
4039
4039
|
const source = renderPlannedManifest(plan) ?? (plan.resolved.length === 0 && plan.servers.length === 0 ? renderRouteManifest([]) : void 0);
|
|
@@ -4544,7 +4544,7 @@ async function refineGonePullHint(err) {
|
|
|
4544
4544
|
if (offer === void 0 || auth === void 0 || !(err instanceof Error) || !err.message.includes(offer.clause)) return;
|
|
4545
4545
|
let gone;
|
|
4546
4546
|
try {
|
|
4547
|
-
const { lookupEphemeral } = await import("./source-resolve-
|
|
4547
|
+
const { lookupEphemeral } = await import("./source-resolve-NTI3JFO6.js");
|
|
4548
4548
|
gone = await lookupEphemeral(auth, offer.name) === null;
|
|
4549
4549
|
} catch {
|
|
4550
4550
|
return;
|
|
@@ -4747,4 +4747,4 @@ export {
|
|
|
4747
4747
|
docTokenRefusalIfReplaced,
|
|
4748
4748
|
envRefusalIfReplaced
|
|
4749
4749
|
};
|
|
4750
|
-
//# sourceMappingURL=chunk-
|
|
4750
|
+
//# sourceMappingURL=chunk-F5KILDDO.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
contextFlags,
|
|
6
6
|
isCredentialStoreCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SEUCZZCP.js";
|
|
8
8
|
import {
|
|
9
9
|
shellQuote
|
|
10
10
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -106,4 +106,4 @@ export {
|
|
|
106
106
|
pipedYes,
|
|
107
107
|
withheldNote
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=chunk-
|
|
109
|
+
//# sourceMappingURL=chunk-FMOEVAGT.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-QXTKSOFI.js";
|
|
7
7
|
import {
|
|
8
8
|
UsageError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SBR2WZXG.js";
|
|
10
10
|
import {
|
|
11
11
|
shellQuote
|
|
12
12
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -156,4 +156,4 @@ export {
|
|
|
156
156
|
pointerRootFor,
|
|
157
157
|
projectRootFor
|
|
158
158
|
};
|
|
159
|
-
//# sourceMappingURL=chunk-
|
|
159
|
+
//# sourceMappingURL=chunk-FPBGAT5D.js.map
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
localPackageName,
|
|
8
8
|
packageNameOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DYG5D3FD.js";
|
|
10
10
|
import {
|
|
11
11
|
parseJsonAnswer,
|
|
12
12
|
serverMessage,
|
|
13
13
|
statusLabel
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MN2PB6WB.js";
|
|
15
15
|
import {
|
|
16
16
|
readEnvVar
|
|
17
17
|
} from "./chunk-X2NL4KUO.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
CliError,
|
|
20
20
|
EXIT_SOURCE_UNRESOLVABLE,
|
|
21
21
|
info
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SBR2WZXG.js";
|
|
23
23
|
import {
|
|
24
24
|
suggest
|
|
25
25
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -360,7 +360,7 @@ async function unlistedModuleError(command, name) {
|
|
|
360
360
|
}
|
|
361
361
|
async function withCatalogueRerun(err, args, command) {
|
|
362
362
|
if (!isCatalogueOutage(err)) return err;
|
|
363
|
-
const { retryCommand } = await import("./retry-command-
|
|
363
|
+
const { retryCommand } = await import("./retry-command-Y5YJGOH3.js");
|
|
364
364
|
const rerun = retryCommand(args, { command }).command;
|
|
365
365
|
return new CliError("SDK_ERROR", `${err.message}
|
|
366
366
|
Run \`${rerun}\` again once it answers.`, {
|
|
@@ -387,4 +387,4 @@ export {
|
|
|
387
387
|
unlistedModuleError,
|
|
388
388
|
withCatalogueRerun
|
|
389
389
|
};
|
|
390
|
-
//# sourceMappingURL=chunk-
|
|
390
|
+
//# sourceMappingURL=chunk-FSYVOCS7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
classifyFailure
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JTM5D7CT.js";
|
|
4
4
|
import {
|
|
5
5
|
describeWrite
|
|
6
6
|
} from "./chunk-4KHEMC32.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
warn,
|
|
15
15
|
writeJson,
|
|
16
16
|
writeTargetPayload
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-SBR2WZXG.js";
|
|
18
18
|
|
|
19
19
|
// src/emit/operation-result.ts
|
|
20
20
|
var SERVER_PROCESSING_BOUND_MS = 6e5;
|
|
@@ -253,4 +253,4 @@ export {
|
|
|
253
253
|
OperationError,
|
|
254
254
|
runOperation
|
|
255
255
|
};
|
|
256
|
-
//# sourceMappingURL=chunk-
|
|
256
|
+
//# sourceMappingURL=chunk-FURLOAUM.js.map
|