@xano/sdk 1.0.5 → 1.0.6
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 +15 -0
- package/README.md +26 -16
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-KVLR7M5Y.js → agent-file-refresh-67QIX45H.js} +14 -13
- package/dist/{answer-shape-XGR2DGWY.js → answer-shape-UCDUKPAN.js} +5 -5
- package/dist/{backend-dir-IE4RMUFH.js → backend-dir-3LIL6SCT.js} +13 -12
- package/dist/{backend-slot-6HBWG5FN.js → backend-slot-JREP27UD.js} +4 -4
- package/dist/bin.js +53 -52
- package/dist/{branch-T2APKPVG.js → branch-2IPHOAYS.js} +9 -9
- package/dist/{branch-commands-HXXTCSOO.js → branch-commands-KTKAXBAN.js} +29 -30
- package/dist/bundle.js +9 -39
- package/dist/{capture-HBXFXZEW.js → capture-GW5KNKMB.js} +3 -3
- package/dist/{chunk-JZWUAEMO.js → chunk-26MOFAJT.js} +2 -2
- package/dist/{chunk-RXCT3OCU.js → chunk-2FLIJGBZ.js} +3 -3
- package/dist/{chunk-UIEFE6FU.js → chunk-2WBH5HUY.js} +7 -7
- package/dist/{chunk-Y76ERHLK.js → chunk-3BBIDW3Y.js} +5 -5
- package/dist/{chunk-DGWHAVRG.js → chunk-3EDSPMXN.js} +12 -1
- package/dist/{chunk-JXKO6JT7.js → chunk-3II44CUJ.js} +14 -14
- package/dist/{chunk-7GX445AE.js → chunk-4XHAT7C5.js} +2 -2
- package/dist/{chunk-OKNE3TWU.js → chunk-5KJBWIDZ.js} +83 -5
- package/dist/{chunk-SRX6B544.js → chunk-5QMJOE2K.js} +5 -5
- package/dist/{chunk-UJ6ZZJDD.js → chunk-5TVFLG3C.js} +2 -2
- package/dist/{chunk-L3BDO2BI.js → chunk-5YQV35C2.js} +7 -7
- package/dist/{chunk-Z4VN347O.js → chunk-6X3MY2JP.js} +2 -2
- package/dist/{chunk-65SW2BA5.js → chunk-6X6BJN6Y.js} +3 -3
- package/dist/{chunk-M7GJ6YUF.js → chunk-763M6LX3.js} +16 -2
- package/dist/{chunk-XJU6UAFV.js → chunk-7FIMUFBP.js} +2 -2
- package/dist/{chunk-TEBS7FE6.js → chunk-7GAIJW62.js} +2 -2
- package/dist/{chunk-K6CB5TKM.js → chunk-7REDHC4N.js} +2 -2
- package/dist/chunk-7VR4IO5B.js +44 -0
- package/dist/chunk-A7MRZ4GF.js +78 -0
- package/dist/{chunk-CV54PASI.js → chunk-ATJ2W7DC.js} +70 -50
- package/dist/{chunk-WYS6XVZ3.js → chunk-AVS4WPPY.js} +2 -2
- package/dist/{chunk-5XVBT6CQ.js → chunk-BL3AZ3AP.js} +2 -2
- package/dist/chunk-BTVUYHWV.js +111 -0
- package/dist/{chunk-NGAODDLX.js → chunk-CCU5CCRX.js} +4 -4
- package/dist/{chunk-BBPAXOU6.js → chunk-CHINR7WD.js} +6 -6
- package/dist/{chunk-SQPIECXD.js → chunk-CJDPSCMX.js} +45 -5
- package/dist/{chunk-3HOGFGKG.js → chunk-D3KEPRRN.js} +2 -2
- package/dist/{chunk-XNZURZ7T.js → chunk-D7BUMOKU.js} +2 -2
- package/dist/{chunk-WRBKLYSJ.js → chunk-DNBP4GJN.js} +4 -3
- package/dist/{chunk-XMDDBEEM.js → chunk-E763QI3G.js} +2 -2
- package/dist/{chunk-4NEBBKOP.js → chunk-EADVVTDK.js} +7 -7
- package/dist/{chunk-N6BWB35H.js → chunk-ENMBEXOP.js} +3 -3
- package/dist/{chunk-57HMNJGB.js → chunk-EQFYOOO6.js} +69 -34
- package/dist/{chunk-WOGJB2F6.js → chunk-FNLTFOUD.js} +4 -9
- package/dist/{chunk-FV55SRQU.js → chunk-FQ53GTII.js} +9 -9
- package/dist/{chunk-TUEFTRC2.js → chunk-FU3VCE5A.js} +45 -26
- package/dist/{chunk-YSLMMR2U.js → chunk-GHQ4BVI4.js} +14 -14
- package/dist/{chunk-Z2BRSQ6M.js → chunk-GLY552SI.js} +84 -57
- package/dist/{chunk-XIABDKFQ.js → chunk-GOLFAEUV.js} +2 -2
- package/dist/{chunk-ZHGWR45B.js → chunk-GW5RHGOB.js} +8 -8
- package/dist/{chunk-3BJYQGAZ.js → chunk-GWTFI3GA.js} +2 -2
- package/dist/{chunk-K6PRKPFX.js → chunk-GZHLCUZ6.js} +7 -7
- package/dist/{chunk-LLS2WO2K.js → chunk-HCG7NDIL.js} +4 -4
- package/dist/{chunk-NNB7VUCH.js → chunk-I3H3HCPY.js} +47 -26
- package/dist/{chunk-KUU7T4ZE.js → chunk-I3VHW6XM.js} +13 -13
- package/dist/{chunk-ES5A66IH.js → chunk-IF4PEGVD.js} +8 -8
- package/dist/{chunk-Y6NO3DLQ.js → chunk-IMELQ2I6.js} +3 -3
- package/dist/{chunk-V4IBHDIY.js → chunk-ITC2R2OT.js} +7 -7
- package/dist/{chunk-KQLACS4Q.js → chunk-IXFJORNH.js} +4 -4
- package/dist/{chunk-SF2B7MZK.js → chunk-IYXL5NYU.js} +259 -31
- package/dist/{chunk-57B56I4B.js → chunk-JFBRXRJD.js} +58 -34
- package/dist/chunk-JI3BLXWQ.js +107 -0
- package/dist/{chunk-4DJTQ6W4.js → chunk-JIKGT7DO.js} +2 -1
- package/dist/{chunk-5D6DGF3W.js → chunk-JRVQ7M7W.js} +8 -8
- package/dist/{chunk-AESE434J.js → chunk-JXVJGF3Y.js} +2 -2
- package/dist/chunk-KPFS3RGM.js +257 -0
- package/dist/{chunk-SNGFEESM.js → chunk-LAOMN6QQ.js} +3 -3
- package/dist/{chunk-TM5LRSBB.js → chunk-LBJA7IEM.js} +370 -45
- package/dist/{chunk-OVV2HXJ6.js → chunk-LD6ARK3A.js} +2 -2
- package/dist/{chunk-F6IKWAIU.js → chunk-LL7SGTRC.js} +18 -19
- package/dist/{chunk-OJPZEUPH.js → chunk-M5CSVB23.js} +4 -4
- package/dist/{chunk-GMVW6ZZK.js → chunk-MBDFH7XB.js} +4 -4
- package/dist/{chunk-5YBNXNKU.js → chunk-MFWF2NZJ.js} +12 -5
- package/dist/{chunk-G57RYMKB.js → chunk-N5I37JFB.js} +2 -2
- package/dist/{chunk-QOLOQ35F.js → chunk-ND43ZOS3.js} +5 -5
- package/dist/chunk-NDWVJ2QZ.js +67 -0
- package/dist/{chunk-5RLAF6RL.js → chunk-NPODGBVJ.js} +4 -4
- package/dist/{chunk-JQOX6HW4.js → chunk-OIKLDDYC.js} +2 -2
- package/dist/{chunk-AMBEITWL.js → chunk-PFBXSVZF.js} +4 -4
- package/dist/{chunk-3VX7VAQT.js → chunk-PMMHSX4H.js} +26 -9
- package/dist/{chunk-MYLPOVX6.js → chunk-QJM5XZ4K.js} +5 -5
- package/dist/{chunk-U6DR6464.js → chunk-QXYMDARD.js} +4 -4
- package/dist/{chunk-DEVGLLNZ.js → chunk-QZEAANWP.js} +5 -5
- package/dist/{chunk-LZDA6SVD.js → chunk-RIN4YY34.js} +78 -65
- package/dist/{chunk-37FBPMNE.js → chunk-S56YBYMN.js} +5 -2
- package/dist/{chunk-S5TEJIGP.js → chunk-SKEG3V2V.js} +2 -2
- package/dist/{chunk-VZ22VUAS.js → chunk-SLGJIWCY.js} +3 -3
- package/dist/{chunk-4QFBEKXI.js → chunk-SPITRSOF.js} +2 -2
- package/dist/{chunk-QZTJ2556.js → chunk-SPKA2LV6.js} +4 -4
- package/dist/{chunk-YI76TURL.js → chunk-SSITMX7I.js} +8 -8
- package/dist/{chunk-JSEVKRVJ.js → chunk-T4LJ5UR2.js} +29 -7
- package/dist/{chunk-44CWK6YC.js → chunk-TECTL2NU.js} +4 -4
- package/dist/{chunk-AGD7F7YI.js → chunk-TTEIDD5Q.js} +3 -3
- package/dist/{chunk-NUU76247.js → chunk-U35MTOXQ.js} +3 -3
- package/dist/{chunk-4QBGE3EO.js → chunk-U6MTGB46.js} +4 -4
- package/dist/{chunk-3WHWOKU4.js → chunk-UD2Z7K6W.js} +4 -4
- package/dist/{chunk-I5VEROXW.js → chunk-UIVMR7UK.js} +2 -2
- package/dist/{chunk-F3557PVM.js → chunk-VDHA5SSQ.js} +2 -2
- package/dist/{chunk-3IYVHVM6.js → chunk-VJFMUJWZ.js} +4 -4
- package/dist/{chunk-4GDEEY2U.js → chunk-VW4CWVYX.js} +4 -4
- package/dist/chunk-WAVNUTMT.js +9 -0
- package/dist/{chunk-A4NNCI4O.js → chunk-WBH4KJWM.js} +3 -3
- package/dist/{chunk-HOOOOJJP.js → chunk-WZHLMU6T.js} +2 -2
- package/dist/{chunk-S5KQIFKJ.js → chunk-XFBGXB7X.js} +130 -86
- package/dist/{chunk-IV446ZLJ.js → chunk-Y453TW6J.js} +2 -2
- package/dist/{chunk-CJ76PSJT.js → chunk-YGLMRH5U.js} +8 -8
- package/dist/{chunk-GPI3OWRE.js → chunk-YHB34BN6.js} +2 -1
- package/dist/{chunk-BMCZQZMI.js → chunk-YKP4ZKVO.js} +13 -9
- package/dist/{chunk-HLQH3AXB.js → chunk-YR2I5HGE.js} +2 -2
- package/dist/{chunk-OGUMHW2X.js → chunk-YYC2DZMG.js} +7 -7
- package/dist/{chunk-Z3SNX45M.js → chunk-YYLUBYXM.js} +2 -2
- package/dist/{chunk-PIPIA7K7.js → chunk-Z4ZGTCCD.js} +7 -7
- package/dist/{chunk-AGSCOISO.js → chunk-ZDP6GDAB.js} +75 -75
- package/dist/{chunk-7DBM6XHR.js → chunk-ZJSTUD6D.js} +8 -8
- package/dist/cli.d.ts +17 -9
- package/dist/cli.js +51 -50
- package/dist/{codegen-command-L2OO6OTE.js → codegen-command-R5IASBFC.js} +72 -66
- package/dist/codegen.d.ts +2 -2
- package/dist/codegen.js +2 -2
- package/dist/{commands-2E4JB3DB.js → commands-H7CPMMHH.js} +3 -3
- package/dist/{completion-LPJIH5VQ.js → completion-W5ZAI6TN.js} +3 -3
- package/dist/{config-QDCRKEWD.js → config-MZ5KG4EP.js} +4 -4
- package/dist/{deploy-command-HJZNYCUY.js → deploy-command-34T2LKQ5.js} +58 -57
- package/dist/{deploy-source-5COWTBOC.js → deploy-source-YLQ7WMYR.js} +32 -31
- package/dist/{dev-env-sync-GZ4QQJGV.js → dev-env-sync-TMJTNU3U.js} +52 -51
- package/dist/{diagnostics-LSMGB4TY.js → diagnostics-OMN5Y2AH.js} +2 -2
- package/dist/{display-name-hint-AHCNH6TF.js → display-name-hint-ZJGFNJKQ.js} +11 -11
- package/dist/{emit-DqG6qddr.d.ts → emit-D125xxty.d.ts} +66 -20
- package/dist/env-example-refresh-CQP3ZMKM.js +133 -0
- package/dist/{env-pull-command-Z4RLVEGJ.js → env-pull-command-UTG6IC2K.js} +46 -46
- package/dist/{env-target-ZHQUS5BO.js → env-target-FZROWYFS.js} +12 -12
- package/dist/{env-var-command-FKQ4VVQ6.js → env-var-command-VYDBQJJW.js} +41 -40
- package/dist/{ephemeral-L4KUOGEU.js → ephemeral-BIE6FMJV.js} +9 -9
- package/dist/{ephemeral-command-GRPFI3TD.js → ephemeral-command-OZ26RGXF.js} +47 -47
- package/dist/{ephemeral-state-VLYU2BXR.js → ephemeral-state-SNZOX2YK.js} +10 -10
- package/dist/{generate-command-XNODJFDQ.js → generate-command-4HR7MR36.js} +80 -72
- package/dist/{gitignore-VWRSZX5F.js → gitignore-EWQBXNX2.js} +17 -16
- package/dist/{guards-OPSGB6LG.js → guards-KYEOCVHN.js} +6 -6
- package/dist/{impersonate-command-AEKIZHHK.js → impersonate-command-WC7OGKUM.js} +37 -36
- package/dist/{import-PHSSFFLA.js → import-7Z4GCCPO.js} +5 -5
- package/dist/index.d.ts +14 -20
- package/dist/index.js +13 -13
- package/dist/{init-command-TI3HCKXZ.js → init-command-HAO3WXH3.js} +57 -55
- package/dist/{init-modules-SGSX7XEY.js → init-modules-NSKD4ASY.js} +10 -9
- package/dist/{init-web-6HX3YLQP.js → init-web-MKFFOQUU.js} +3 -3
- package/dist/internal.d.ts +5 -5
- package/dist/internal.js +47 -20
- package/dist/{io-TAF4WXYQ.js → io-PGTCBSIQ.js} +6 -4
- package/dist/{keep-data-merge-GUGF7MVZ.js → keep-data-merge-QR2TMKEO.js} +28 -29
- package/dist/{lambda-config-reconcile-65U6I4KU.js → lambda-config-reconcile-7FJXXV6V.js} +3 -3
- package/dist/{landed-QA6PRTV2.js → landed-F7PCHGCK.js} +3 -3
- package/dist/{landing-record-FCAWLCZU.js → landing-record-MWXFIRCP.js} +22 -21
- package/dist/{live-diff-IM4W3ELT.js → live-diff-5E2BQWQ7.js} +9 -8
- package/dist/{local-engine-choice-FPJAZSSD.js → local-engine-choice-VD5LNXJU.js} +35 -34
- package/dist/{local-engine-command-73NHWD6V.js → local-engine-command-RYLGMQ2O.js} +40 -39
- package/dist/{local-engine-deploy-Y4OAWL7K.js → local-engine-deploy-6O7NKZCA.js} +12 -12
- package/dist/{local-engine-process-6YPJHKYM.js → local-engine-process-ZLLZEIRF.js} +7 -7
- package/dist/{local-engine-update-check-X7TZGRFL.js → local-engine-update-check-LVX4HBBI.js} +5 -5
- package/dist/{lock-WXXC3QHL.js → lock-HDCHD2ON.js} +4 -2
- package/dist/{lock-commands-PKDBNRSD.js → lock-commands-X2OECR4R.js} +56 -55
- package/dist/{login-command-V4U4FA5G.js → login-command-RLLKD565.js} +27 -26
- package/dist/{logout-command-TV3P545Z.js → logout-command-XDMSXCDO.js} +15 -15
- package/dist/{loop-VKHGQ6MP.js → loop-SUB6C2LK.js} +8 -9
- package/dist/{marketplace-command-LEFOAEAV.js → marketplace-command-2NHHY2X3.js} +86 -50
- package/dist/{marketplace-resolve-ME7O7JBJ.js → marketplace-resolve-OTZYT4FG.js} +7 -6
- package/dist/{meta-client-TEEECA5W.js → meta-client-TMHVBZFY.js} +13 -13
- package/dist/{module-manifest-7YLGIRCY.js → module-manifest-FNMW23IX.js} +7 -4
- package/dist/node.d.ts +5 -5
- package/dist/node.js +57 -57
- package/dist/{operation-outcome-GNDD35WL.js → operation-outcome-RN62735X.js} +22 -22
- package/dist/{output-target-5FWX3NGZ.js → output-target-MOLCTPBP.js} +18 -17
- package/dist/{package-manager-PRAHUSCN.js → package-manager-K762W7XT.js} +2 -2
- package/dist/{plan-disclosure-QGL5UYQR.js → plan-disclosure-CY7AF6KP.js} +19 -20
- package/dist/{plugin-contributions-GNFTWDEB.js → plugin-contributions-WR26U7NT.js} +6 -6
- package/dist/{plugin-prompt-VEQGMZ4T.js → plugin-prompt-ZUYQQIX4.js} +5 -5
- package/dist/{plugin-questions-BGRL23GO.js → plugin-questions-HAZOQ67R.js} +4 -4
- package/dist/plugin.d.ts +254 -10
- package/dist/{preflight-command-VKJKXRRI.js → preflight-command-OHJXYND3.js} +64 -64
- package/dist/{profile-command-P7A3BH26.js → profile-command-6JWT2BTL.js} +28 -27
- package/dist/{profile-pointer-HG7IXE4I.js → profile-pointer-PDA5XBIB.js} +4 -4
- package/dist/{project-dependency-Z4CKOCJI.js → project-dependency-GZWWGWEW.js} +11 -8
- package/dist/{project-sdk-JWZWGXXR.js → project-sdk-3W72H5QO.js} +4 -4
- package/dist/promote-command-UYAMUXKB.js +146 -0
- package/dist/{prompt-SURZOUUW.js → prompt-U37K5RPQ.js} +4 -4
- package/dist/{publish-command-HGAB3H4A.js → publish-command-BUS27HGB.js} +61 -60
- package/dist/{pull-command-EUEWBRXZ.js → pull-command-ZGUNP27P.js} +75 -69
- package/dist/{pull-superseded-TOT5S4QU.js → pull-superseded-EZBGYRZF.js} +4 -4
- package/dist/{raw-where-EoWl5fqY.d.ts → raw-where-ZMLND6AG.d.ts} +20 -3
- package/dist/{release-command-WOVQAMUY.js → release-command-BQ6OHS3P.js} +69 -66
- package/dist/{release-ns-command-WOQE2BDQ.js → release-ns-command-ATGVBVIU.js} +85 -85
- package/dist/{retry-command-JRGMZZAC.js → retry-command-QJ57WVW7.js} +8 -8
- package/dist/{routes-manifest-URFMAWJE.js → routes-manifest-YR4ZIMLM.js} +15 -7
- package/dist/routes-manifest-file-UALYSZLY.js +41 -0
- package/dist/scaffold.js +2 -2
- package/dist/{secrets-file-YWZWVJ52.js → secrets-file-LMS7KX3E.js} +17 -16
- package/dist/{secrets-fill-command-HIHK3VH2.js → secrets-fill-command-QNBDGCGM.js} +55 -54
- package/dist/{seed-24DTEY5S.js → seed-SZ6OS5DQ.js} +8 -8
- package/dist/{source-resolve-OWD3MIEO.js → source-resolve-MKLNYFWG.js} +20 -20
- package/dist/{static-host-UIR2OLPQ.js → static-host-ONEHA4LI.js} +5 -5
- package/dist/{status-command-JKTHH5QE.js → status-command-XKIFKBGM.js} +38 -37
- package/dist/{store-zxw2go0f.d.ts → store-Bg4Na6Sm.d.ts} +2 -2
- package/dist/{store-5YAQS6KU.js → store-X6ZH7EC3.js} +6 -6
- package/dist/sync-baseline-DOV5AGIO.js +36 -0
- package/dist/{sync-contributions-RBB6JVOL.js → sync-contributions-HNVHDIQW.js} +20 -12
- package/dist/sync-record-PRXHLK4S.js +42 -0
- package/dist/{table-MQFVYA4K.js → table-DC36QA4Y.js} +8 -8
- package/dist/{tables-command-5Q4BSUNO.js → tables-command-UQLKTELN.js} +38 -37
- package/dist/{tenant-Q3LPVSSM.js → tenant-EKNQGG5A.js} +10 -10
- package/dist/{tenant-command-BFVU2PEX.js → tenant-command-2LWP2MPB.js} +99 -94
- package/dist/{test-command-F4VUU4QR.js → test-command-IU5MBBXY.js} +36 -35
- package/dist/{tests-5ZSDFVIJ.js → tests-RG2Y5EQ4.js} +6 -6
- package/dist/{token-TERSTNU4.js → token-7AWSJLKO.js} +11 -11
- package/dist/toolchain-hooks-4ZMQLBPQ.js +46 -0
- package/dist/{toolchain-modules-FD5ANV2U.js → toolchain-modules-VU7SURVJ.js} +8 -5
- package/dist/toolchain-peers-CIDNEEQV.js +28 -0
- package/dist/{tracked-backend-B4HTME4S.js → tracked-backend-4BHSV7NC.js} +34 -33
- package/dist/{update-check-O4C2LCZH.js → update-check-A7FXIINW.js} +54 -53
- package/dist/{upgrade-command-NVFWLMTA.js → upgrade-command-C5KBITFI.js} +58 -57
- package/dist/{whoami-command-YKNTISIV.js → whoami-command-7WQII2H4.js} +14 -14
- package/dist/{workspace-GGVGE2S5.js → workspace-Z46PUZNI.js} +5 -5
- package/dist/{workspace-binding-OS4ZOX4S.js → workspace-binding-JE6YNDZJ.js} +13 -13
- package/dist/{workspace-command-GTUNVN7K.js → workspace-command-FC4IMLAE.js} +113 -82
- package/dist/{workspace-env-467C5KHM.js → workspace-env-N4ZPFT6A.js} +14 -13
- package/dist/{workspace-export-3XTVGQVM.js → workspace-export-3A5BZTPS.js} +5 -5
- package/dist/{writable-7SSWUQJ3.js → writable-D7KCZI5N.js} +4 -4
- package/dist/{xano-6RS5XQZE.js → xano-LCI7VWPS.js} +8 -8
- package/dist/{xanosdk-import-E3WSIYUE.js → xanosdk-import-P2A2KSXM.js} +8 -8
- package/dist/{xanosdk-project-KH5TZ2KI.js → xanosdk-project-6AGMW2SL.js} +15 -14
- package/guides/cli.md +4 -4
- package/guides/codes.md +7 -2
- package/guides/deploying.md +52 -0
- package/guides/marketplace.md +21 -0
- package/guides/module-contract.md +80 -4
- package/guides/typed-frontend.md +37 -0
- package/llms/client.md +11 -1
- package/llms/filters.md +4 -0
- package/llms/kinds-core.md +1 -1
- package/llms/statements-data.md +3 -2
- package/llms/toolchain.md +12 -0
- package/llms-full.txt +34 -7
- package/llms.txt +3 -3
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/dist/chunk-MEIJDRHU.js +0 -243
- package/dist/env-example-refresh-DWQIOQYR.js +0 -127
- package/dist/promote-command-KHTIK44I.js +0 -141
- package/dist/toolchain-hooks-QVUZ6HZ4.js +0 -96
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertOneName,
|
|
3
3
|
noteRunArgs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WBH4KJWM.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-HCG7NDIL.js";
|
|
14
14
|
import {
|
|
15
15
|
readTrackedBackend
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-I3VHW6XM.js";
|
|
17
17
|
import {
|
|
18
18
|
isCI
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FU3VCE5A.js";
|
|
20
20
|
import {
|
|
21
21
|
backendSlotForFlag,
|
|
22
22
|
slotValueMissing
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VDHA5SSQ.js";
|
|
24
24
|
import {
|
|
25
25
|
defaultWorkspaceSecretsPath,
|
|
26
26
|
readSecretsFile
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-PFBXSVZF.js";
|
|
28
28
|
import {
|
|
29
29
|
allLandings,
|
|
30
30
|
getEnvironment,
|
|
31
31
|
readEphemeralState
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-U6MTGB46.js";
|
|
33
33
|
import {
|
|
34
34
|
isUnwritableError,
|
|
35
35
|
unwritableError
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-5TVFLG3C.js";
|
|
37
37
|
import {
|
|
38
38
|
isExpired
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-SPKA2LV6.js";
|
|
40
40
|
import {
|
|
41
41
|
contextFlags,
|
|
42
42
|
setHintContext
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-N5I37JFB.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-3BBIDW3Y.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-CJDPSCMX.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-YR2I5HGE.js";
|
|
74
74
|
import {
|
|
75
75
|
assertValidProfileName
|
|
76
76
|
} from "./chunk-MF4W6FHU.js";
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "./chunk-X2NL4KUO.js";
|
|
80
80
|
import {
|
|
81
81
|
bundleCapabilities
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-7REDHC4N.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-D7BUMOKU.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-FQ53GTII.js";
|
|
146
146
|
import {
|
|
147
147
|
Xano,
|
|
148
148
|
checkFilterOperands,
|
|
149
149
|
standaloneDefKind
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-5QMJOE2K.js";
|
|
151
151
|
import {
|
|
152
152
|
knowledgeBodiesAllEmpty
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-7FIMUFBP.js";
|
|
154
154
|
import {
|
|
155
155
|
checkDecodeOnlyStatements,
|
|
156
156
|
checkExpressionOperands,
|
|
@@ -174,7 +174,7 @@ import {
|
|
|
174
174
|
checkUnboundVarRefs,
|
|
175
175
|
checkZipPasswordKeys,
|
|
176
176
|
isQueryExpressionFilter
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-T4LJ5UR2.js";
|
|
178
178
|
import {
|
|
179
179
|
FILTER_NAMES
|
|
180
180
|
} from "./chunk-BEXZ4XRV.js";
|
|
@@ -195,7 +195,7 @@ import {
|
|
|
195
195
|
DiagnosticError,
|
|
196
196
|
isDiagnosticError,
|
|
197
197
|
setDiagnosticSink
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-YHB34BN6.js";
|
|
199
199
|
import {
|
|
200
200
|
suggest
|
|
201
201
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -211,7 +211,7 @@ import {
|
|
|
211
211
|
toolsetKindsFromPayload,
|
|
212
212
|
validateLockModel,
|
|
213
213
|
withoutGuidSources
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-5KJBWIDZ.js";
|
|
215
215
|
import {
|
|
216
216
|
shellQuote
|
|
217
217
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -2500,8 +2500,8 @@ async function tsxRemedy(file) {
|
|
|
2500
2500
|
(block) => typeof pkg[block] === "object" && pkg[block] !== null && "tsx" in pkg[block]
|
|
2501
2501
|
);
|
|
2502
2502
|
if (!declared) return fallback;
|
|
2503
|
-
const { detectPackageManager } = await import("./package-manager-
|
|
2504
|
-
const { inProject } = await import("./init-modules-
|
|
2503
|
+
const { detectPackageManager } = await import("./package-manager-K762W7XT.js");
|
|
2504
|
+
const { inProject } = await import("./init-modules-NSKD4ASY.js");
|
|
2505
2505
|
return `This project's package.json declares it, but its dependencies are not installed \u2014 run \`${inProject(dir)}${detectPackageManager(dir)} install\` first.`;
|
|
2506
2506
|
}
|
|
2507
2507
|
if (dirname2(dir) === dir) return fallback;
|
|
@@ -3122,7 +3122,7 @@ async function explainUnreachableWorkspace(err) {
|
|
|
3122
3122
|
let verdict = unreachableVerdicts.get(auth);
|
|
3123
3123
|
if (verdict === void 0) {
|
|
3124
3124
|
verdict = (async () => {
|
|
3125
|
-
const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-
|
|
3125
|
+
const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-JE6YNDZJ.js");
|
|
3126
3126
|
const all = await readReachableWorkspaces(auth, 15e3);
|
|
3127
3127
|
if (all === void 0 || all.length === 0 || all.some((w) => w.id === auth.workspaceId)) return void 0;
|
|
3128
3128
|
return new UsageError(unreachableWorkspaceMessage(auth, all));
|
|
@@ -3136,7 +3136,7 @@ async function explainRejectedCredential(err) {
|
|
|
3136
3136
|
if (!(err instanceof Error) || resolved === void 0) return err;
|
|
3137
3137
|
const [first = "", ...rest] = err.message.split("\n");
|
|
3138
3138
|
if (!/\(401\b[^)]*\)|\banswered (HTTP )?401\b/.test(first) || /\brejected\b/.test(err.message)) return err;
|
|
3139
|
-
const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-
|
|
3139
|
+
const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-7WQII2H4.js");
|
|
3140
3140
|
const { auth, args } = resolved;
|
|
3141
3141
|
err.message = [first, rejectedRemedy(auth, args), ...rest].join("\n");
|
|
3142
3142
|
if (failureCode(err) === "SDK_ERROR") asRejectedCredential(err, auth, args);
|
|
@@ -3174,10 +3174,10 @@ function withoutSecretValue(args) {
|
|
|
3174
3174
|
}
|
|
3175
3175
|
async function nameLookupRerun(failure) {
|
|
3176
3176
|
if (!(failure instanceof Error) || runArgs?.argv === void 0) return failure;
|
|
3177
|
-
const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-
|
|
3177
|
+
const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-MKLNYFWG.js");
|
|
3178
3178
|
const err = rateLimitedFailure(failure);
|
|
3179
3179
|
if (!(err instanceof LookupFailedError)) return err;
|
|
3180
|
-
const { retryCommand, withheldNote } = await import("./deploy-command-
|
|
3180
|
+
const { retryCommand, withheldNote } = await import("./deploy-command-34T2LKQ5.js");
|
|
3181
3181
|
if (runArgs.command === "env" && runArgs.subcommand === "set") {
|
|
3182
3182
|
const retry2 = retryCommand(withoutSecretValue(runArgs));
|
|
3183
3183
|
return err.withRerun(
|
|
@@ -3232,7 +3232,7 @@ function isPathlessRun(args) {
|
|
|
3232
3232
|
return PATHLESS_COMMANDS.has(command) || PATHLESS_VERBS[command]?.has(args.subcommand ?? "") === true;
|
|
3233
3233
|
}
|
|
3234
3234
|
async function atProjectRoot(args, command, positional) {
|
|
3235
|
-
const { enterProjectRoot } = await import("./xanosdk-project-
|
|
3235
|
+
const { enterProjectRoot } = await import("./xanosdk-project-6AGMW2SL.js");
|
|
3236
3236
|
const entered = enterProjectRoot(args, process.cwd(), positional);
|
|
3237
3237
|
if (entered === void 0) return command(args);
|
|
3238
3238
|
if (isPathlessRun(args)) {
|
|
@@ -3333,7 +3333,7 @@ async function dispatch(rawArgv) {
|
|
|
3333
3333
|
if (typed[0] === "init") {
|
|
3334
3334
|
const web = typed.indexOf("--web", 1);
|
|
3335
3335
|
if (web !== -1) {
|
|
3336
|
-
const { runInitWebCommand } = await import("./init-web-
|
|
3336
|
+
const { runInitWebCommand } = await import("./init-web-MKFFOQUU.js");
|
|
3337
3337
|
return runInitWebCommand([...typed.slice(1, web), ...typed.slice(web + 1)]);
|
|
3338
3338
|
}
|
|
3339
3339
|
}
|
|
@@ -3351,7 +3351,7 @@ async function dispatch(rawArgv) {
|
|
|
3351
3351
|
throw unknownSubcommand(helpRequest.command, helpRequest.unknownSubcommand, helpRequest.positionals ?? []);
|
|
3352
3352
|
}
|
|
3353
3353
|
if (argv.includes("--json")) {
|
|
3354
|
-
const { helpDocument } = await import("./commands-
|
|
3354
|
+
const { helpDocument } = await import("./commands-H7CPMMHH.js");
|
|
3355
3355
|
writeJson({ version: readVersion(), ...helpDocument(helpRequest) });
|
|
3356
3356
|
return;
|
|
3357
3357
|
}
|
|
@@ -3372,7 +3372,7 @@ async function dispatch(rawArgv) {
|
|
|
3372
3372
|
setHintContext(args);
|
|
3373
3373
|
runArgs = args;
|
|
3374
3374
|
noteRunArgs(args);
|
|
3375
|
-
if (isMachineOutput(args)) (await import("./update-check-
|
|
3375
|
+
if (isMachineOutput(args)) (await import("./update-check-A7FXIINW.js")).routeUpdateNoticeToDocument();
|
|
3376
3376
|
const { command } = args;
|
|
3377
3377
|
const out = args.out === "-" ? void 0 : args.out;
|
|
3378
3378
|
if (command === void 0) {
|
|
@@ -3393,11 +3393,11 @@ async function dispatch(rawArgv) {
|
|
|
3393
3393
|
return;
|
|
3394
3394
|
}
|
|
3395
3395
|
if (command === "init") {
|
|
3396
|
-
const { runInitCommand } = await import("./init-command-
|
|
3396
|
+
const { runInitCommand } = await import("./init-command-HAO3WXH3.js");
|
|
3397
3397
|
return runInitCommand(args);
|
|
3398
3398
|
}
|
|
3399
3399
|
if (command === "completion") {
|
|
3400
|
-
const { isCompletionShell, runCompletionCommand, COMPLETION_SHELLS, UNSUPPORTED_SHELLS } = await import("./completion-
|
|
3400
|
+
const { isCompletionShell, runCompletionCommand, COMPLETION_SHELLS, UNSUPPORTED_SHELLS } = await import("./completion-W5ZAI6TN.js");
|
|
3401
3401
|
const shell = args.positionals[0];
|
|
3402
3402
|
if (shell === void 0) throw missingArgument("shell", { command: "completion" });
|
|
3403
3403
|
if (!isCompletionShell(shell)) {
|
|
@@ -3416,111 +3416,111 @@ async function dispatch(rawArgv) {
|
|
|
3416
3416
|
return runCompletionCommand(shell);
|
|
3417
3417
|
}
|
|
3418
3418
|
if (command === "upgrade") {
|
|
3419
|
-
const { runUpgradeCommand } = await import("./upgrade-command-
|
|
3419
|
+
const { runUpgradeCommand } = await import("./upgrade-command-C5KBITFI.js");
|
|
3420
3420
|
return runUpgradeCommand(args);
|
|
3421
3421
|
}
|
|
3422
3422
|
if (command === "lock") {
|
|
3423
|
-
const { runLockCommand } = await import("./lock-commands-
|
|
3423
|
+
const { runLockCommand } = await import("./lock-commands-X2OECR4R.js");
|
|
3424
3424
|
const verb = args.positionals[0];
|
|
3425
|
-
const { isProjectDir } = await import("./xanosdk-project-
|
|
3425
|
+
const { isProjectDir } = await import("./xanosdk-project-6AGMW2SL.js");
|
|
3426
3426
|
const here = verb !== "prune" && args.lockPath === void 0 && args.entryPath === void 0 && existsSync2("xano.lock") && !isProjectDir(process.cwd()) ? { ...args, lockPath: "xano.lock" } : args;
|
|
3427
3427
|
return atProjectRoot(here, runLockCommand, verb === "prune" || verb === "import" ? "verb-path" : void 0);
|
|
3428
3428
|
}
|
|
3429
3429
|
if (command === "login") {
|
|
3430
|
-
const { runLoginCommand } = await import("./login-command-
|
|
3430
|
+
const { runLoginCommand } = await import("./login-command-RLLKD565.js");
|
|
3431
3431
|
return runLoginCommand(args);
|
|
3432
3432
|
}
|
|
3433
3433
|
if (command === "logout") {
|
|
3434
|
-
const { runLogoutCommand } = await import("./logout-command-
|
|
3434
|
+
const { runLogoutCommand } = await import("./logout-command-XDMSXCDO.js");
|
|
3435
3435
|
return runLogoutCommand(args);
|
|
3436
3436
|
}
|
|
3437
3437
|
if (command === "deploy") {
|
|
3438
|
-
const { runDeployCommand } = await import("./deploy-command-
|
|
3438
|
+
const { runDeployCommand } = await import("./deploy-command-34T2LKQ5.js");
|
|
3439
3439
|
return atProjectRoot(args, runDeployCommand, entryPositional(args));
|
|
3440
3440
|
}
|
|
3441
3441
|
if (command === "ephemeral") {
|
|
3442
|
-
const { runEphemeralCommand } = await import("./ephemeral-command-
|
|
3442
|
+
const { runEphemeralCommand } = await import("./ephemeral-command-OZ26RGXF.js");
|
|
3443
3443
|
return atProjectRoot(args, runEphemeralCommand);
|
|
3444
3444
|
}
|
|
3445
3445
|
if (command === "local") {
|
|
3446
|
-
const { runLocalEngineCommand } = await import("./local-engine-command-
|
|
3446
|
+
const { runLocalEngineCommand } = await import("./local-engine-command-RYLGMQ2O.js");
|
|
3447
3447
|
const project = ["token", "stop", "update"].includes(args.subcommand ?? "");
|
|
3448
3448
|
return project ? atProjectRoot(args, runLocalEngineCommand) : runLocalEngineCommand(args);
|
|
3449
3449
|
}
|
|
3450
3450
|
if (command === "env") {
|
|
3451
3451
|
if (args.subcommand === "set" || args.subcommand === "unset") {
|
|
3452
|
-
const { runEnvVarCommand } = await import("./env-var-command-
|
|
3452
|
+
const { runEnvVarCommand } = await import("./env-var-command-VYDBQJJW.js");
|
|
3453
3453
|
return atProjectRoot(args, (a) => runEnvVarCommand(a, args.subcommand));
|
|
3454
3454
|
}
|
|
3455
3455
|
if (args.subcommand !== "pull") throw unknownSubcommand("env", args.subcommand);
|
|
3456
|
-
const { runEnvPullCommand } = await import("./env-pull-command-
|
|
3456
|
+
const { runEnvPullCommand } = await import("./env-pull-command-UTG6IC2K.js");
|
|
3457
3457
|
return atProjectRoot(args, runEnvPullCommand);
|
|
3458
3458
|
}
|
|
3459
3459
|
if (command === "secrets") {
|
|
3460
3460
|
if (args.subcommand !== "fill") throw unknownSubcommand("secrets", args.subcommand);
|
|
3461
|
-
const { runSecretsFillCommand } = await import("./secrets-fill-command-
|
|
3461
|
+
const { runSecretsFillCommand } = await import("./secrets-fill-command-QNBDGCGM.js");
|
|
3462
3462
|
return atProjectRoot(args, runSecretsFillCommand, entryPositional(args));
|
|
3463
3463
|
}
|
|
3464
3464
|
if (command === "release") {
|
|
3465
|
-
const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-
|
|
3465
|
+
const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-ATGVBVIU.js");
|
|
3466
3466
|
return atProjectRoot(args, runReleaseNs);
|
|
3467
3467
|
}
|
|
3468
3468
|
if (command === "pull") {
|
|
3469
|
-
const { runPullCommand } = await import("./pull-command-
|
|
3469
|
+
const { runPullCommand } = await import("./pull-command-ZGUNP27P.js");
|
|
3470
3470
|
const first = args.positionals[0];
|
|
3471
3471
|
const file = first !== void 0 && !isKindShaped(first) && (/\.json$/i.test(first) || /[\\/]/.test(first));
|
|
3472
3472
|
return file ? runPullCommand(args) : atProjectRoot(args, runPullCommand);
|
|
3473
3473
|
}
|
|
3474
3474
|
if (command === "generate") {
|
|
3475
|
-
const { runGenerateCommand } = await import("./generate-command-
|
|
3475
|
+
const { runGenerateCommand } = await import("./generate-command-4HR7MR36.js");
|
|
3476
3476
|
return runGenerateCommand(args);
|
|
3477
3477
|
}
|
|
3478
3478
|
if (command === "tables") {
|
|
3479
|
-
const { runTablesCommand } = await import("./tables-command-
|
|
3479
|
+
const { runTablesCommand } = await import("./tables-command-UQLKTELN.js");
|
|
3480
3480
|
return atProjectRoot(args, runTablesCommand);
|
|
3481
3481
|
}
|
|
3482
3482
|
if (command === "impersonate") {
|
|
3483
|
-
const { runImpersonateCommand } = await import("./impersonate-command-
|
|
3483
|
+
const { runImpersonateCommand } = await import("./impersonate-command-WC7OGKUM.js");
|
|
3484
3484
|
return atProjectRoot(args, runImpersonateCommand);
|
|
3485
3485
|
}
|
|
3486
3486
|
if (command === "promote") {
|
|
3487
|
-
const { runPromoteCommand } = await import("./promote-command-
|
|
3487
|
+
const { runPromoteCommand } = await import("./promote-command-UYAMUXKB.js");
|
|
3488
3488
|
return atProjectRoot(args, runPromoteCommand);
|
|
3489
3489
|
}
|
|
3490
3490
|
if (command === "publish") {
|
|
3491
|
-
const { runPublishCommand } = await import("./publish-command-
|
|
3491
|
+
const { runPublishCommand } = await import("./publish-command-BUS27HGB.js");
|
|
3492
3492
|
return atProjectRoot(args, runPublishCommand, "path");
|
|
3493
3493
|
}
|
|
3494
3494
|
if (command === "tenant") {
|
|
3495
|
-
const { runTenantCommand } = await import("./tenant-command-
|
|
3495
|
+
const { runTenantCommand } = await import("./tenant-command-2LWP2MPB.js");
|
|
3496
3496
|
return atProjectRoot(args, runTenantCommand);
|
|
3497
3497
|
}
|
|
3498
3498
|
if (command === "test") {
|
|
3499
|
-
const { runTestCommand } = await import("./test-command-
|
|
3499
|
+
const { runTestCommand } = await import("./test-command-IU5MBBXY.js");
|
|
3500
3500
|
return atProjectRoot(args, runTestCommand);
|
|
3501
3501
|
}
|
|
3502
3502
|
if (command === "workspace") {
|
|
3503
|
-
const { runWorkspaceCommand } = await import("./workspace-command-
|
|
3503
|
+
const { runWorkspaceCommand } = await import("./workspace-command-FC4IMLAE.js");
|
|
3504
3504
|
return runWorkspaceCommand(args);
|
|
3505
3505
|
}
|
|
3506
3506
|
if (command === "status") {
|
|
3507
|
-
const { runStatusCommand } = await import("./status-command-
|
|
3507
|
+
const { runStatusCommand } = await import("./status-command-XKIFKBGM.js");
|
|
3508
3508
|
return runStatusCommand(args);
|
|
3509
3509
|
}
|
|
3510
3510
|
if (command === "whoami") {
|
|
3511
|
-
const { runWhoamiCommand } = await import("./whoami-command-
|
|
3511
|
+
const { runWhoamiCommand } = await import("./whoami-command-7WQII2H4.js");
|
|
3512
3512
|
return runWhoamiCommand(args);
|
|
3513
3513
|
}
|
|
3514
3514
|
if (command === "profile") {
|
|
3515
|
-
const { runProfileCommand } = await import("./profile-command-
|
|
3515
|
+
const { runProfileCommand } = await import("./profile-command-6JWT2BTL.js");
|
|
3516
3516
|
return runProfileCommand(args);
|
|
3517
3517
|
}
|
|
3518
3518
|
if (command === "marketplace") {
|
|
3519
3519
|
if (!["list", "search", "details", "install", "reinstall", "remove"].includes(args.subcommand ?? "")) {
|
|
3520
3520
|
throw unknownSubcommand("marketplace", args.subcommand);
|
|
3521
3521
|
}
|
|
3522
|
-
const marketplace = await import("./marketplace-command-
|
|
3523
|
-
const { withCatalogueRerun } = await import("./marketplace-resolve-
|
|
3522
|
+
const marketplace = await import("./marketplace-command-2NHHY2X3.js");
|
|
3523
|
+
const { withCatalogueRerun } = await import("./marketplace-resolve-OTZYT4FG.js");
|
|
3524
3524
|
try {
|
|
3525
3525
|
if (args.subcommand === "list") return await marketplace.runMarketplaceListCommand(args);
|
|
3526
3526
|
if (args.subcommand === "search") return await marketplace.runMarketplaceSearchCommand(args);
|
|
@@ -3533,7 +3533,7 @@ async function dispatch(rawArgv) {
|
|
|
3533
3533
|
}
|
|
3534
3534
|
}
|
|
3535
3535
|
if (command === "preflight") {
|
|
3536
|
-
const { runPreflightCommand } = await import("./preflight-command-
|
|
3536
|
+
const { runPreflightCommand } = await import("./preflight-command-OHJXYND3.js");
|
|
3537
3537
|
return runPreflightCommand(args);
|
|
3538
3538
|
}
|
|
3539
3539
|
if (command !== "compile" && command !== "export" && command !== "paths" && command !== "routes") {
|
|
@@ -3548,12 +3548,12 @@ async function dispatch(rawArgv) {
|
|
|
3548
3548
|
if (command === "paths" || command === "routes") {
|
|
3549
3549
|
return runPaths(args);
|
|
3550
3550
|
}
|
|
3551
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
3551
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-VU7SURVJ.js");
|
|
3552
3552
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
3553
3553
|
frozen: args.frozenLock === true || args.check === true
|
|
3554
3554
|
});
|
|
3555
3555
|
if (out && !args.check) {
|
|
3556
|
-
const { assertWritableTarget } = await import("./output-target-
|
|
3556
|
+
const { assertWritableTarget } = await import("./output-target-MOLCTPBP.js");
|
|
3557
3557
|
assertWritableTarget(out, "--out");
|
|
3558
3558
|
}
|
|
3559
3559
|
const { bundle: json, bundleObject, omittedSeedTables, lock: lockOutcome, declaredEnvNames } = await compileBundle(args);
|
|
@@ -3571,7 +3571,7 @@ async function dispatch(rawArgv) {
|
|
|
3571
3571
|
"export.hosted-files-omitted"
|
|
3572
3572
|
);
|
|
3573
3573
|
}
|
|
3574
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
3574
|
+
const { runBundleHooks } = await import("./toolchain-hooks-4ZMQLBPQ.js");
|
|
3575
3575
|
await runBundleHooks(
|
|
3576
3576
|
toolchain.loaded,
|
|
3577
3577
|
{
|
|
@@ -3584,15 +3584,15 @@ async function dispatch(rawArgv) {
|
|
|
3584
3584
|
},
|
|
3585
3585
|
""
|
|
3586
3586
|
);
|
|
3587
|
-
const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-
|
|
3588
|
-
const { backendDirFor } = await import("./backend-dir-
|
|
3587
|
+
const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-CQP3ZMKM.js");
|
|
3588
|
+
const { backendDirFor } = await import("./backend-dir-3LIL6SCT.js");
|
|
3589
3589
|
const declaredSet = new Set(declaredEnvNames);
|
|
3590
3590
|
const templateDir = backendDirFor(args.file);
|
|
3591
3591
|
const ownsTemplate = isWithin(resolve2(args.file), templateDir) && (dirname2(resolve2(args.file)) === templateDir || !existsSync2(join2(templateDir, "index.ts")));
|
|
3592
3592
|
const templateEnv = Object.fromEntries(
|
|
3593
3593
|
Object.entries(bundleEnvNames2(bundleObject)).filter(([name]) => declaredSet.has(name))
|
|
3594
3594
|
);
|
|
3595
|
-
const { skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
3595
|
+
const { skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-3W72H5QO.js");
|
|
3596
3596
|
const projectSdk = skewedProjectSdk(dirname2(resolve2(args.file)), readVersion());
|
|
3597
3597
|
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}`);
|
|
3598
3598
|
if (args.check) {
|
|
@@ -3643,15 +3643,15 @@ async function dispatch(rawArgv) {
|
|
|
3643
3643
|
info(`${hadEnvExample ? "Updated" : "Wrote"} ${displayPath(refreshed)} to list the env names this source declares.`);
|
|
3644
3644
|
}
|
|
3645
3645
|
if (out) {
|
|
3646
|
-
const { secretsCarriedBy } = await import("./live-diff-
|
|
3647
|
-
const { writeExportFile } = await import("./output-target-
|
|
3646
|
+
const { secretsCarriedBy } = await import("./live-diff-5E2BQWQ7.js");
|
|
3647
|
+
const { writeExportFile } = await import("./output-target-MOLCTPBP.js");
|
|
3648
3648
|
const written = lockOutcome?.changed ? `Only ${lockOutcome.path} was written` : void 0;
|
|
3649
3649
|
writeExportFile(out, json + "\n", secretsCarriedBy(bundleObject), "--out", written);
|
|
3650
3650
|
reportWrote(args, out, lockOutcome);
|
|
3651
3651
|
} else {
|
|
3652
3652
|
process.stdout.write(json + "\n");
|
|
3653
|
-
const { secretsCarriedBy } = await import("./live-diff-
|
|
3654
|
-
const { secretsPhrase } = await import("./output-target-
|
|
3653
|
+
const { secretsCarriedBy } = await import("./live-diff-5E2BQWQ7.js");
|
|
3654
|
+
const { secretsPhrase } = await import("./output-target-MOLCTPBP.js");
|
|
3655
3655
|
const secrets = secretsCarriedBy(bundleObject);
|
|
3656
3656
|
if (secrets.length > 0) {
|
|
3657
3657
|
warn(
|
|
@@ -3670,11 +3670,11 @@ async function refreshAgentGuidance(args) {
|
|
|
3670
3670
|
if (args.noRefresh) return;
|
|
3671
3671
|
if (args.check || args.frozenLock || args.dryRun) return;
|
|
3672
3672
|
try {
|
|
3673
|
-
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
3673
|
+
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-3W72H5QO.js");
|
|
3674
3674
|
const entryProject = args.file === void 0 ? void 0 : installedSdk(dirname2(resolve2(args.file)))?.root;
|
|
3675
3675
|
const projectDir = existsSync2(join2(process.cwd(), "AGENTS.md")) || entryProject === void 0 ? process.cwd() : entryProject;
|
|
3676
3676
|
const projectSdk = skewedProjectSdk(projectDir, readVersion());
|
|
3677
|
-
const { refreshAgentFiles } = await import("./agent-file-refresh-
|
|
3677
|
+
const { refreshAgentFiles } = await import("./agent-file-refresh-67QIX45H.js");
|
|
3678
3678
|
if (projectSdk !== void 0) {
|
|
3679
3679
|
const stale = refreshAgentFiles({ projectDir, sdkVersion: readVersion(), write: false });
|
|
3680
3680
|
const file = args.file;
|
|
@@ -3890,6 +3890,13 @@ function withPinnedGuid(artifact, def) {
|
|
|
3890
3890
|
if (parsed.guid !== void 0) return artifact;
|
|
3891
3891
|
return JSON.stringify({ ...parsed, guid: def.guid }, null, 2);
|
|
3892
3892
|
}
|
|
3893
|
+
function emitProjectDir(emit2, entry) {
|
|
3894
|
+
if (emit2 !== "-") {
|
|
3895
|
+
const root = projectRootFrom(dirname2(resolve2(emit2)));
|
|
3896
|
+
if (existsSync2(join2(root, "package.json"))) return root;
|
|
3897
|
+
}
|
|
3898
|
+
return projectRootFrom(dirname2(resolve2(entry)));
|
|
3899
|
+
}
|
|
3893
3900
|
async function runPaths(args) {
|
|
3894
3901
|
const file = args.file;
|
|
3895
3902
|
if (args.emit === "-" && args.strict) {
|
|
@@ -3901,6 +3908,12 @@ async function runPaths(args) {
|
|
|
3901
3908
|
const lockPath = resolveLockPath(args, file);
|
|
3902
3909
|
resetLockOverrides();
|
|
3903
3910
|
const lockModel = existsSync2(lockPath) ? readLockFile(lockPath) : void 0;
|
|
3911
|
+
const toolchain = args.emit !== void 0 ? await (await import("./toolchain-modules-VU7SURVJ.js")).discoverToolchainPlugins(emitProjectDir(args.emit, file), {
|
|
3912
|
+
frozen: args.strict === true,
|
|
3913
|
+
// A module outside its SDK peer range keeps its block and is named,
|
|
3914
|
+
// as any other skip is; it does not abort every `dev` and `build`.
|
|
3915
|
+
peerSkew: "skip"
|
|
3916
|
+
}) : void 0;
|
|
3904
3917
|
const def = await loadDefault(file);
|
|
3905
3918
|
if (!Xano.isXano(def)) {
|
|
3906
3919
|
throw new UsageError(
|
|
@@ -3917,7 +3930,7 @@ async function runPaths(args) {
|
|
|
3917
3930
|
setDiagnosticSink(outerSink);
|
|
3918
3931
|
}
|
|
3919
3932
|
const payload = bundle.payload;
|
|
3920
|
-
const { planRouteManifest } = await import("./routes-manifest-
|
|
3933
|
+
const { planRouteManifest } = await import("./routes-manifest-YR4ZIMLM.js");
|
|
3921
3934
|
const plan = planRouteManifest(payload, (kind, name) => lockModel?.objects[lockKey(kind, name)]?.canonical);
|
|
3922
3935
|
const queryCount = plan.rows.length;
|
|
3923
3936
|
const realtimeCount = plan.servers.length + plan.unresolvedServers.length;
|
|
@@ -3941,7 +3954,7 @@ async function runPaths(args) {
|
|
|
3941
3954
|
);
|
|
3942
3955
|
}
|
|
3943
3956
|
if (unresolved.length > 0) {
|
|
3944
|
-
const { unresolvedCanonicalMessage } = await import("./routes-manifest-
|
|
3957
|
+
const { unresolvedCanonicalMessage } = await import("./routes-manifest-YR4ZIMLM.js");
|
|
3945
3958
|
const why = `${args.emit} was not written: ${unresolvedCanonicalMessage(unresolved, shellWord(file))}`;
|
|
3946
3959
|
if (args.strict) throw new Error(`--strict: ${why}`);
|
|
3947
3960
|
warn(why, "routes.not-written");
|
|
@@ -3953,8 +3966,23 @@ async function runPaths(args) {
|
|
|
3953
3966
|
if (machine && args.emit !== "-") writeJson({ emit: resolve2(args.emit), written: false, routes: 0, channels: 0 });
|
|
3954
3967
|
return;
|
|
3955
3968
|
}
|
|
3956
|
-
const {
|
|
3957
|
-
const
|
|
3969
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-UALYSZLY.js");
|
|
3970
|
+
const loaded = toolchain?.loaded ?? [];
|
|
3971
|
+
const skipped = toolchain?.skipped ?? [];
|
|
3972
|
+
const rendered = renderManifestFile(
|
|
3973
|
+
plan,
|
|
3974
|
+
{
|
|
3975
|
+
loaded,
|
|
3976
|
+
skipped,
|
|
3977
|
+
// Read only when a module could fail or be skipped: with none, nothing
|
|
3978
|
+
// is carried forward and `renderManifestFile` never consults it.
|
|
3979
|
+
previous: loaded.length + skipped.length > 0 && args.emit !== "-" && existsSync2(args.emit) ? readFileSync3(args.emit, "utf8") : void 0,
|
|
3980
|
+
sdkVersion: readVersion()
|
|
3981
|
+
},
|
|
3982
|
+
{ orEmpty: true }
|
|
3983
|
+
);
|
|
3984
|
+
reportModuleFailures(rendered.failed, args.emit === "-" ? "the route manifest on stdout" : args.emit, args.strict === true);
|
|
3985
|
+
const source = rendered.source;
|
|
3958
3986
|
const routeCount = resolved.length === 1 ? "1 route" : `${resolved.length} routes`;
|
|
3959
3987
|
const channelCount = channelRows.length === 1 ? "1 channel" : `${channelRows.length} channels`;
|
|
3960
3988
|
const count = describableServers.length > 0 ? `${routeCount}, ${channelCount}` : routeCount;
|
|
@@ -3962,7 +3990,7 @@ async function runPaths(args) {
|
|
|
3962
3990
|
writeData(process.stdout, source);
|
|
3963
3991
|
return;
|
|
3964
3992
|
}
|
|
3965
|
-
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
3993
|
+
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-3W72H5QO.js");
|
|
3966
3994
|
const emitDir = dirname2(resolve2(args.emit));
|
|
3967
3995
|
const projectSdk = skewedProjectSdk(installedSdk(emitDir) !== void 0 ? emitDir : dirname2(resolve2(file)), readVersion());
|
|
3968
3996
|
if (projectSdk !== void 0 && existsSync2(args.emit) && readFileSync3(args.emit, "utf8") !== source) {
|
|
@@ -4035,14 +4063,16 @@ async function runPaths(args) {
|
|
|
4035
4063
|
}
|
|
4036
4064
|
}
|
|
4037
4065
|
if (unresolved.length > 0) {
|
|
4038
|
-
const { unresolvedCanonicalMessage } = await import("./routes-manifest-
|
|
4066
|
+
const { unresolvedCanonicalMessage } = await import("./routes-manifest-YR4ZIMLM.js");
|
|
4039
4067
|
throw new UsageError(`${commandLabel(args)}: ${unresolvedCanonicalMessage(unresolved, shellWord(file))}`);
|
|
4040
4068
|
}
|
|
4041
4069
|
}
|
|
4042
|
-
async function refreshRouteManifest(entry, emit2) {
|
|
4070
|
+
async function refreshRouteManifest(entry, emit2, projectDir) {
|
|
4043
4071
|
resetLockOverrides();
|
|
4044
4072
|
const lockPath = join2(dirname2(resolve2(entry)), "xano.lock");
|
|
4045
4073
|
const lockModel = existsSync2(lockPath) ? readLockFile(lockPath) : void 0;
|
|
4074
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-VU7SURVJ.js");
|
|
4075
|
+
const toolchain = existsSync2(emit2) ? await discoverToolchainPlugins(projectDir, { frozen: false, configuring: true, peerSkew: "skip" }) : void 0;
|
|
4046
4076
|
const def = await loadDefault(entry);
|
|
4047
4077
|
if (!Xano.isXano(def)) return { manifest: "absent", lockOrphans: 0 };
|
|
4048
4078
|
const previousSink = setDiagnosticSink(() => {
|
|
@@ -4053,16 +4083,30 @@ async function refreshRouteManifest(entry, emit2) {
|
|
|
4053
4083
|
} finally {
|
|
4054
4084
|
setDiagnosticSink(previousSink);
|
|
4055
4085
|
}
|
|
4056
|
-
const { pulledIdentities } = await import("./pull-command-
|
|
4086
|
+
const { pulledIdentities } = await import("./pull-command-ZGUNP27P.js");
|
|
4057
4087
|
const live = pulledIdentities(payload);
|
|
4058
4088
|
const lockOrphans = lockModel === void 0 ? 0 : Object.keys(lockModel.objects).filter((k) => k !== WORKSPACE_KEY && !live.has(k)).length;
|
|
4059
4089
|
if (!existsSync2(emit2)) return { manifest: "absent", lockOrphans };
|
|
4060
|
-
const { planRouteManifest,
|
|
4090
|
+
const { planRouteManifest, RouteManifestError } = await import("./routes-manifest-YR4ZIMLM.js");
|
|
4091
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-UALYSZLY.js");
|
|
4061
4092
|
const plan = planRouteManifest(payload, (kind, name) => lockModel?.objects[lockKey(kind, name)]?.canonical);
|
|
4062
4093
|
if (plan.unresolved.length > 0) return { manifest: "skipped", lockOrphans };
|
|
4063
|
-
const
|
|
4064
|
-
|
|
4065
|
-
|
|
4094
|
+
const current = readFileSync3(emit2, "utf8");
|
|
4095
|
+
let rendered;
|
|
4096
|
+
try {
|
|
4097
|
+
rendered = renderManifestFile(
|
|
4098
|
+
plan,
|
|
4099
|
+
{ loaded: toolchain?.loaded ?? [], skipped: toolchain?.skipped ?? [], previous: current, sdkVersion: readVersion() },
|
|
4100
|
+
{ orEmpty: true }
|
|
4101
|
+
);
|
|
4102
|
+
} catch (err) {
|
|
4103
|
+
if (!(err instanceof RouteManifestError)) throw err;
|
|
4104
|
+
return { manifest: "skipped", lockOrphans, why: err.message };
|
|
4105
|
+
}
|
|
4106
|
+
if (rendered === void 0) return { manifest: "skipped", lockOrphans };
|
|
4107
|
+
reportModuleFailures(rendered.failed, emit2);
|
|
4108
|
+
const source = rendered.source;
|
|
4109
|
+
if (current === source) return { manifest: "unchanged", lockOrphans };
|
|
4066
4110
|
try {
|
|
4067
4111
|
writeFileSync(emit2, source, "utf8");
|
|
4068
4112
|
} catch (err) {
|
|
@@ -4568,7 +4612,7 @@ async function refineGonePullHint(err) {
|
|
|
4568
4612
|
if (offer === void 0 || auth === void 0 || !(err instanceof Error) || !err.message.includes(offer.clause)) return;
|
|
4569
4613
|
let gone;
|
|
4570
4614
|
try {
|
|
4571
|
-
const { lookupEphemeral } = await import("./source-resolve-
|
|
4615
|
+
const { lookupEphemeral } = await import("./source-resolve-MKLNYFWG.js");
|
|
4572
4616
|
gone = await lookupEphemeral(auth, offer.name) === null;
|
|
4573
4617
|
} catch {
|
|
4574
4618
|
return;
|
|
@@ -4771,4 +4815,4 @@ export {
|
|
|
4771
4815
|
docTokenRefusalIfReplaced,
|
|
4772
4816
|
envRefusalIfReplaced
|
|
4773
4817
|
};
|
|
4774
|
-
//# sourceMappingURL=chunk-
|
|
4818
|
+
//# sourceMappingURL=chunk-XFBGXB7X.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
appNamesByGuid,
|
|
3
3
|
lockNameForObject
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5KJBWIDZ.js";
|
|
5
5
|
|
|
6
6
|
// src/validate/kinds.ts
|
|
7
7
|
var ROUND_TRIP_KINDS = [
|
|
@@ -106,4 +106,4 @@ export {
|
|
|
106
106
|
kindIsRunnable,
|
|
107
107
|
identityMatcher
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=chunk-
|
|
109
|
+
//# sourceMappingURL=chunk-Y453TW6J.js.map
|