@xano/sdk 1.0.6 → 1.0.8
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 +30 -0
- package/README.md +32 -4
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-67QIX45H.js → agent-file-refresh-QJO3MT6Q.js} +13 -13
- package/dist/agent-skill-command-GBR4KUUG.js +414 -0
- package/dist/{answer-shape-UCDUKPAN.js → answer-shape-UMQRXMCX.js} +5 -5
- package/dist/{backend-dir-3LIL6SCT.js → backend-dir-PFUIPCV3.js} +15 -15
- package/dist/{backend-slot-JREP27UD.js → backend-slot-TTRNOQF5.js} +4 -4
- package/dist/bin.js +54 -53
- package/dist/{branch-2IPHOAYS.js → branch-Q7CDJRU6.js} +12 -11
- package/dist/{branch-commands-KTKAXBAN.js → branch-commands-CR3SAHMV.js} +27 -26
- package/dist/bundle.js +5 -5
- package/dist/{chunk-YKP4ZKVO.js → chunk-2HZDWZM2.js} +3 -3
- package/dist/{chunk-ZDP6GDAB.js → chunk-33KELF2X.js} +103 -94
- package/dist/{chunk-7VR4IO5B.js → chunk-3P35HT64.js} +2 -2
- package/dist/{chunk-2FLIJGBZ.js → chunk-3UZQ5TMG.js} +47 -8
- package/dist/{chunk-AWQ7BQTQ.js → chunk-4GPIOIAC.js} +6 -1
- package/dist/{chunk-YYLUBYXM.js → chunk-4JKXGPXB.js} +3 -3
- package/dist/{chunk-EQFYOOO6.js → chunk-5GIOCDUM.js} +829 -893
- package/dist/{chunk-26MOFAJT.js → chunk-5QOV52V4.js} +6 -3
- package/dist/{chunk-Q22BMRPF.js → chunk-5Y5HWQ2P.js} +2 -2
- package/dist/{chunk-T4LJ5UR2.js → chunk-6BOKCTCM.js} +52 -22
- package/dist/{chunk-FNLTFOUD.js → chunk-6NEV2PEC.js} +2 -2
- package/dist/{chunk-QJM5XZ4K.js → chunk-6PTITS3M.js} +8 -8
- package/dist/{chunk-N5I37JFB.js → chunk-6S263KTM.js} +2 -2
- package/dist/{chunk-JI3BLXWQ.js → chunk-6YOH2L3G.js} +11 -5
- package/dist/{chunk-5QMJOE2K.js → chunk-6ZFJEJXZ.js} +5 -3
- package/dist/{chunk-NPODGBVJ.js → chunk-75MKIQON.js} +4 -4
- package/dist/{chunk-SPITRSOF.js → chunk-76UAME77.js} +2 -2
- package/dist/{chunk-JRVQ7M7W.js → chunk-77GV772V.js} +8 -8
- package/dist/{chunk-GWTFI3GA.js → chunk-7JKNWDYN.js} +2 -2
- package/dist/{chunk-6X6BJN6Y.js → chunk-7MPI7NIW.js} +3 -3
- package/dist/{chunk-3II44CUJ.js → chunk-7UWUEUVJ.js} +24 -24
- package/dist/{chunk-ENMBEXOP.js → chunk-AS4G2MIE.js} +3 -3
- package/dist/{chunk-PMMHSX4H.js → chunk-B3NH5UBI.js} +4 -4
- package/dist/{chunk-SLGJIWCY.js → chunk-B5N6EWOM.js} +2 -2
- package/dist/chunk-BRANWM4U.js +853 -0
- package/dist/{chunk-6X3MY2JP.js → chunk-C2GHFADU.js} +2 -2
- package/dist/{chunk-CCU5CCRX.js → chunk-C2I4GC36.js} +8 -8
- package/dist/{chunk-D7BUMOKU.js → chunk-C6KBZH7M.js} +82 -6
- package/dist/{chunk-LAOMN6QQ.js → chunk-CRE7P7P2.js} +3 -3
- package/dist/{chunk-AVS4WPPY.js → chunk-DER2CVNC.js} +2 -2
- package/dist/{chunk-UIVMR7UK.js → chunk-DY3EJWWH.js} +2 -2
- package/dist/{chunk-SKEG3V2V.js → chunk-EKTIGGFO.js} +2 -2
- package/dist/{chunk-PL7AIAWS.js → chunk-F3IA3YWI.js} +4 -111
- package/dist/{chunk-FQ53GTII.js → chunk-F5RPNTN7.js} +6 -6
- package/dist/{chunk-2WBH5HUY.js → chunk-FHQYXGAY.js} +7 -7
- package/dist/{chunk-ND43ZOS3.js → chunk-FN7E6XGD.js} +7 -7
- package/dist/{chunk-3BBIDW3Y.js → chunk-GN5SQMIQ.js} +5 -5
- package/dist/{chunk-SSITMX7I.js → chunk-H3ZBAR2L.js} +16 -14
- package/dist/{chunk-OIKLDDYC.js → chunk-HFOGQIII.js} +3 -3
- package/dist/chunk-HKLBDSML.js +995 -0
- package/dist/{chunk-JXVJGF3Y.js → chunk-HQPL34O6.js} +2 -2
- package/dist/{chunk-CHINR7WD.js → chunk-HTP2CLRQ.js} +5 -5
- package/dist/{chunk-ROY4YAEQ.js → chunk-HU7F56VF.js} +22 -2
- package/dist/{chunk-TECTL2NU.js → chunk-HVPSDQJB.js} +4 -4
- package/dist/{chunk-IYXL5NYU.js → chunk-I53OTC3O.js} +2 -2
- package/dist/{chunk-M5CSVB23.js → chunk-IB6SKACE.js} +11 -8
- package/dist/{chunk-UD2Z7K6W.js → chunk-JG642U5D.js} +4 -4
- package/dist/{chunk-ZJSTUD6D.js → chunk-JJGK7XGC.js} +8 -8
- package/dist/{local-engine-command-RYLGMQ2O.js → chunk-JPRZ4ZGU.js} +22 -77
- package/dist/{chunk-QZEAANWP.js → chunk-K75BFHQQ.js} +8 -8
- package/dist/chunk-LCOCRJ4K.js +116 -0
- package/dist/{chunk-3EDSPMXN.js → chunk-LJM5CIY4.js} +5 -1
- package/dist/{chunk-D3KEPRRN.js → chunk-LTPF25L2.js} +2 -1
- package/dist/{chunk-HCG7NDIL.js → chunk-M3RLLT4O.js} +5 -5
- package/dist/{chunk-IXFJORNH.js → chunk-NFSUGVDY.js} +4 -4
- package/dist/{chunk-GHQ4BVI4.js → chunk-NFZUXS7D.js} +14 -14
- package/dist/{chunk-LBJA7IEM.js → chunk-O376UAZS.js} +2 -2
- package/dist/{chunk-LD6ARK3A.js → chunk-OBJ7FQDX.js} +2 -2
- package/dist/{chunk-VJFMUJWZ.js → chunk-OHTHG3LL.js} +2 -2
- package/dist/{chunk-U35MTOXQ.js → chunk-P5W6DBV6.js} +3 -3
- package/dist/{chunk-A7MRZ4GF.js → chunk-PAS5HOG3.js} +5 -5
- package/dist/{chunk-WZHLMU6T.js → chunk-PBK257CI.js} +2 -2
- package/dist/{chunk-SPKA2LV6.js → chunk-PFW7WFAT.js} +4 -4
- package/dist/{chunk-GOLFAEUV.js → chunk-QC3MKMDK.js} +2 -2
- package/dist/{chunk-YGLMRH5U.js → chunk-QE2GNFMP.js} +12 -12
- package/dist/{chunk-763M6LX3.js → chunk-QL3ZJWGG.js} +2 -2
- package/dist/{chunk-ITC2R2OT.js → chunk-QRKBFXIB.js} +7 -7
- package/dist/{chunk-KPFS3RGM.js → chunk-QTMXJQZN.js} +4 -4
- package/dist/{chunk-BTVUYHWV.js → chunk-QXOBZSQD.js} +4 -4
- package/dist/{chunk-NDWVJ2QZ.js → chunk-R3LANPQZ.js} +3 -3
- package/dist/{chunk-QXYMDARD.js → chunk-R4NOZBOY.js} +4 -4
- package/dist/{chunk-YYC2DZMG.js → chunk-RYMGK2K5.js} +6 -6
- package/dist/{chunk-IF4PEGVD.js → chunk-S2F7KVUL.js} +11 -11
- package/dist/{chunk-I3VHW6XM.js → chunk-S3STXOAO.js} +18 -18
- package/dist/{chunk-JFBRXRJD.js → chunk-S3WN6GGO.js} +40 -40
- package/dist/{chunk-U6MTGB46.js → chunk-S42TFTM5.js} +5 -5
- package/dist/{chunk-7GAIJW62.js → chunk-TG65NWUR.js} +2 -2
- package/dist/{chunk-YR2I5HGE.js → chunk-TR7EOUQE.js} +2 -2
- package/dist/{chunk-I3H3HCPY.js → chunk-U7XNJ33Q.js} +34 -31
- package/dist/{chunk-FU3VCE5A.js → chunk-UKJFCEMI.js} +13 -9
- package/dist/{chunk-5TVFLG3C.js → chunk-ULUUOUQX.js} +2 -2
- package/dist/{chunk-PFBXSVZF.js → chunk-UU7EEREQ.js} +7 -7
- package/dist/{chunk-ATJ2W7DC.js → chunk-V7KMIEMF.js} +286 -126
- package/dist/{chunk-VDHA5SSQ.js → chunk-VD7YTLWL.js} +2 -2
- package/dist/{chunk-EADVVTDK.js → chunk-VHV25AAO.js} +7 -7
- package/dist/{chunk-BL3AZ3AP.js → chunk-VJTTTIIB.js} +2 -2
- package/dist/{chunk-TTEIDD5Q.js → chunk-W2BVP27L.js} +4 -4
- package/dist/{chunk-GZHLCUZ6.js → chunk-WEQFI55W.js} +7 -7
- package/dist/{chunk-WBH4KJWM.js → chunk-XQO4A4Q4.js} +3 -3
- package/dist/{chunk-Z4ZGTCCD.js → chunk-XYTVP4WI.js} +6 -6
- package/dist/{chunk-5YQV35C2.js → chunk-Y5ET37NN.js} +7 -7
- package/dist/{chunk-VW4CWVYX.js → chunk-YE7MHW45.js} +4 -4
- package/dist/{chunk-YHB34BN6.js → chunk-YEH5OIPF.js} +2 -1
- package/dist/{chunk-GLY552SI.js → chunk-YG7S3N7P.js} +128 -60
- package/dist/{chunk-MBDFH7XB.js → chunk-YP76ZCQ5.js} +4 -4
- package/dist/{chunk-XFBGXB7X.js → chunk-ZJCHS7FM.js} +163 -107
- package/dist/{chunk-IMELQ2I6.js → chunk-ZO3QWFNV.js} +3 -3
- package/dist/{chunk-RIN4YY34.js → chunk-ZQ5WZWHF.js} +106 -69
- package/dist/{chunk-GW5RHGOB.js → chunk-ZT2B22VQ.js} +9 -9
- package/dist/cli.d.ts +32 -4
- package/dist/cli.js +51 -48
- package/dist/{codegen-command-R5IASBFC.js → codegen-command-4YXDJSLU.js} +69 -68
- package/dist/{commands-H7CPMMHH.js → commands-FOHIPDKZ.js} +3 -3
- package/dist/{completion-W5ZAI6TN.js → completion-XUBGMKGV.js} +9 -5
- package/dist/{config-MZ5KG4EP.js → config-544VCRKP.js} +8 -8
- package/dist/{deploy-command-34T2LKQ5.js → deploy-command-FIDS56ZC.js} +56 -55
- package/dist/{deploy-source-YLQ7WMYR.js → deploy-source-FPNNNNOW.js} +34 -33
- package/dist/{dev-env-sync-TMJTNU3U.js → dev-env-sync-RBJ2U3HG.js} +54 -53
- package/dist/{diagnostics-OMN5Y2AH.js → diagnostics-FNVNRYMB.js} +2 -2
- package/dist/{display-name-hint-ZJGFNJKQ.js → display-name-hint-EZQK2PDU.js} +14 -13
- package/dist/{emit-D125xxty.d.ts → emit-8lcNcRrd.d.ts} +12 -12
- package/dist/env-example-refresh-6UTTMDOI.js +134 -0
- package/dist/{env-pull-command-UTG6IC2K.js → env-pull-command-P5MATITQ.js} +46 -45
- package/dist/{env-target-FZROWYFS.js → env-target-F75YF25S.js} +13 -12
- package/dist/{env-var-command-VYDBQJJW.js → env-var-command-H3GHROVB.js} +50 -49
- package/dist/{ephemeral-BIE6FMJV.js → ephemeral-H24NF6WP.js} +11 -10
- package/dist/{ephemeral-command-OZ26RGXF.js → ephemeral-command-NH2XW3YK.js} +64 -63
- package/dist/{ephemeral-state-SNZOX2YK.js → ephemeral-state-YLZQIOBF.js} +11 -10
- package/dist/{generate-command-4HR7MR36.js → generate-command-IANKN6WV.js} +84 -82
- package/dist/{gitignore-EWQBXNX2.js → gitignore-FT2LVOMI.js} +19 -19
- package/dist/{guards-KYEOCVHN.js → guards-4VPSEOAI.js} +6 -4
- package/dist/{impersonate-command-WC7OGKUM.js → impersonate-command-7B67ICPL.js} +42 -41
- package/dist/{import-7Z4GCCPO.js → import-TXYVFYJS.js} +5 -5
- package/dist/index.d.ts +4 -4
- package/dist/index.js +8 -8
- package/dist/{init-command-HAO3WXH3.js → init-command-QOA4TJI2.js} +68 -53
- package/dist/{init-modules-NSKD4ASY.js → init-modules-KEEJ4HAF.js} +8 -8
- package/dist/{init-web-MKFFOQUU.js → init-web-MSXDARRF.js} +3 -3
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +10 -10
- package/dist/{keep-data-merge-QR2TMKEO.js → keep-data-merge-BIBW4QR4.js} +28 -28
- package/dist/{lambda-config-reconcile-7FJXXV6V.js → lambda-config-reconcile-47X5C2E4.js} +6 -5
- package/dist/{landing-record-MWXFIRCP.js → landing-record-DO3PM7QP.js} +22 -22
- package/dist/{live-diff-5E2BQWQ7.js → live-diff-CGTGOH3S.js} +3 -3
- package/dist/{local-engine-choice-VD5LNXJU.js → local-engine-choice-2UF7S5QZ.js} +37 -36
- package/dist/local-engine-command-WGMMZRQL.js +85 -0
- package/dist/{local-engine-config-W3KB7RWM.js → local-engine-config-6CB6FOEJ.js} +3 -2
- package/dist/{local-engine-deploy-6O7NKZCA.js → local-engine-deploy-ID4JJXB5.js} +18 -16
- package/dist/local-engine-lookup-IC7BKAYP.js +43 -0
- package/dist/local-engine-mcp-bridge-3SOJMZ5T.js +423 -0
- package/dist/local-engine-mcp-command-RMVUH4FL.js +181 -0
- package/dist/{local-engine-process-ZLLZEIRF.js → local-engine-process-HG5BGG3F.js} +12 -9
- package/dist/{local-engine-state-OCW5YDD7.js → local-engine-state-JZHTKHDG.js} +4 -3
- package/dist/{local-engine-update-check-LVX4HBBI.js → local-engine-update-check-SKZR7YSC.js} +7 -6
- package/dist/{lock-commands-X2OECR4R.js → lock-commands-5NMQWBGH.js} +57 -56
- package/dist/{login-command-RLLKD565.js → login-command-GLLFZWHT.js} +33 -33
- package/dist/{logout-command-XDMSXCDO.js → logout-command-NCMKMJWF.js} +16 -15
- package/dist/{loop-SUB6C2LK.js → loop-XFDS65OD.js} +3 -3
- package/dist/{marketplace-command-2NHHY2X3.js → marketplace-command-Y3RRUEWL.js} +34 -34
- package/dist/{marketplace-resolve-OTZYT4FG.js → marketplace-resolve-PWEYJ2XS.js} +6 -6
- package/dist/{meta-client-TMHVBZFY.js → meta-client-Y7N6WDS2.js} +14 -13
- package/dist/{module-manifest-FNMW23IX.js → module-manifest-KY7J63HG.js} +4 -4
- package/dist/node.d.ts +4 -4
- package/dist/node.js +60 -59
- package/dist/operation-outcome-4BFISK2R.js +53 -0
- package/dist/{output-target-MOLCTPBP.js → output-target-MFANTVGZ.js} +20 -20
- package/dist/{plan-disclosure-CY7AF6KP.js → plan-disclosure-GNLDYV2A.js} +17 -16
- package/dist/{plugin-contributions-WR26U7NT.js → plugin-contributions-PAGG6SUP.js} +6 -6
- package/dist/{plugin-prompt-ZUYQQIX4.js → plugin-prompt-2MX6LF6X.js} +5 -5
- package/dist/{plugin-questions-HAZOQ67R.js → plugin-questions-AP6VUTOB.js} +4 -4
- package/dist/{preflight-command-OHJXYND3.js → preflight-command-Q6XOKRM6.js} +61 -60
- package/dist/{profile-command-6JWT2BTL.js → profile-command-XPQIXFWN.js} +34 -34
- package/dist/{profile-pointer-PDA5XBIB.js → profile-pointer-4HJQH5ZR.js} +5 -4
- package/dist/{project-dependency-GZWWGWEW.js → project-dependency-ORX45I74.js} +7 -7
- package/dist/{project-sdk-3W72H5QO.js → project-sdk-IYMFVQRC.js} +4 -4
- package/dist/promote-command-DN64QK7O.js +147 -0
- package/dist/{prompt-U37K5RPQ.js → prompt-ZZUYWFQX.js} +4 -4
- package/dist/{publish-command-BUS27HGB.js → publish-command-SLE46MQX.js} +61 -60
- package/dist/{pull-command-ZGUNP27P.js → pull-command-UVK3IOXM.js} +72 -71
- package/dist/{pull-superseded-EZBGYRZF.js → pull-superseded-UZ3MB53B.js} +4 -4
- package/dist/{release-command-BQ6OHS3P.js → release-command-MKNESNGB.js} +67 -66
- package/dist/{release-ns-command-ATGVBVIU.js → release-ns-command-HLR46IKP.js} +92 -91
- package/dist/{retry-command-QJ57WVW7.js → retry-command-VZYLYDVX.js} +10 -9
- package/dist/{routes-manifest-YR4ZIMLM.js → routes-manifest-RIZGSOZC.js} +4 -4
- package/dist/{routes-manifest-file-UALYSZLY.js → routes-manifest-file-UHVVL2YB.js} +8 -8
- package/dist/scaffold.js +4 -4
- package/dist/secrets-IV4N5HYI.js +20 -0
- package/dist/{secrets-file-LMS7KX3E.js → secrets-file-HST7BMQC.js} +19 -19
- package/dist/{secrets-fill-command-QNBDGCGM.js → secrets-fill-command-FQJ4QFBP.js} +55 -54
- package/dist/{seed-SZ6OS5DQ.js → seed-KEPIS7UZ.js} +6 -6
- package/dist/{source-resolve-MKLNYFWG.js → source-resolve-LNRUITLS.js} +24 -22
- package/dist/{static-host-ONEHA4LI.js → static-host-JAOT3N3E.js} +5 -5
- package/dist/{status-command-XKIFKBGM.js → status-command-S5CBG2SW.js} +53 -52
- package/dist/{store-Bg4Na6Sm.d.ts → store-CuD1k4kV.d.ts} +1 -1
- package/dist/{store-X6ZH7EC3.js → store-YFNDD6GZ.js} +8 -7
- package/dist/{sync-baseline-DOV5AGIO.js → sync-baseline-3CDL4PKT.js} +7 -5
- package/dist/{sync-contributions-HNVHDIQW.js → sync-contributions-O5ZRM2JN.js} +10 -10
- package/dist/{sync-record-PRXHLK4S.js → sync-record-U65BCPSP.js} +14 -13
- package/dist/{table-DC36QA4Y.js → table-E5YTK7QX.js} +7 -7
- package/dist/{tables-command-UQLKTELN.js → tables-command-7KI2KZOS.js} +40 -39
- package/dist/{tenant-EKNQGG5A.js → tenant-DAXJ4P4D.js} +12 -11
- package/dist/{tenant-command-2LWP2MPB.js → tenant-command-MQTLNETR.js} +97 -96
- package/dist/{test-command-IU5MBBXY.js → test-command-NLYMAAPD.js} +42 -41
- package/dist/{tests-RG2Y5EQ4.js → tests-CLDZWLKF.js} +6 -6
- package/dist/{token-7AWSJLKO.js → token-3IPTVEEW.js} +12 -11
- package/dist/{toolchain-hooks-4ZMQLBPQ.js → toolchain-hooks-3ZAAAWPL.js} +7 -7
- package/dist/{toolchain-modules-VU7SURVJ.js → toolchain-modules-K46KYJ4G.js} +5 -5
- package/dist/{toolchain-peers-CIDNEEQV.js → toolchain-peers-AIKWKJH7.js} +8 -8
- package/dist/{tracked-backend-4BHSV7NC.js → tracked-backend-FQFXTTYZ.js} +37 -36
- package/dist/{update-check-A7FXIINW.js → update-check-FHRRUDEC.js} +52 -51
- package/dist/{upgrade-command-C5KBITFI.js → upgrade-command-WNBPKUXN.js} +58 -55
- package/dist/{whoami-command-7WQII2H4.js → whoami-command-DPGDK35H.js} +15 -14
- package/dist/{workspace-Z46PUZNI.js → workspace-2GMONZ2A.js} +5 -5
- package/dist/{workspace-binding-JE6YNDZJ.js → workspace-binding-PAUOIK3V.js} +14 -13
- package/dist/{workspace-command-FC4IMLAE.js → workspace-command-KEKL27Y4.js} +99 -103
- package/dist/{workspace-env-N4ZPFT6A.js → workspace-env-GGEZVZDY.js} +16 -16
- package/dist/{workspace-export-3A5BZTPS.js → workspace-export-UHY22VBI.js} +5 -5
- package/dist/{writable-D7KCZI5N.js → writable-2A6MBSFD.js} +4 -4
- package/dist/{xano-LCI7VWPS.js → xano-6T6L7TTI.js} +5 -5
- package/dist/{xanosdk-import-P2A2KSXM.js → xanosdk-import-HYHABD5U.js} +6 -6
- package/dist/{xanosdk-project-6AGMW2SL.js → xanosdk-project-2T56DRYS.js} +16 -16
- package/guides/README.md +2 -2
- package/guides/cli.md +69 -0
- package/guides/codegen.md +23 -5
- package/guides/codes.md +5 -1
- package/guides/coverage.md +5 -0
- package/guides/deploying.md +45 -1
- package/guides/scaffold.md +61 -10
- package/llms/errors.md +1 -1
- package/llms/kinds-agent-mcp.md +1 -1
- package/llms-full.txt +3 -3
- package/llms.txt +1 -1
- package/manifest.json +67 -5
- package/package.json +5 -2
- package/skills/xano-backend/SKILL.md +119 -0
- package/dist/chunk-LL7SGTRC.js +0 -663
- package/dist/chunk-M6ZFSTIZ.js +0 -630
- package/dist/env-example-refresh-CQP3ZMKM.js +0 -133
- package/dist/operation-outcome-RN62735X.js +0 -51
- package/dist/promote-command-UYAMUXKB.js +0 -146
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertOneName,
|
|
3
3
|
noteRunArgs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XQO4A4Q4.js";
|
|
5
5
|
import {
|
|
6
6
|
WORKSPACE_ENV_FILE,
|
|
7
7
|
classifyEnv,
|
|
@@ -10,40 +10,53 @@ import {
|
|
|
10
10
|
namesInEnvExample,
|
|
11
11
|
parseEnvFile,
|
|
12
12
|
readWorkspaceEnvFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-M3RLLT4O.js";
|
|
14
14
|
import {
|
|
15
15
|
readTrackedBackend
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-S3STXOAO.js";
|
|
17
|
+
import {
|
|
18
|
+
isExpired
|
|
19
|
+
} from "./chunk-PFW7WFAT.js";
|
|
20
|
+
import {
|
|
21
|
+
readLockFile,
|
|
22
|
+
readLockFileReport,
|
|
23
|
+
writeLockFile
|
|
24
|
+
} from "./chunk-CJDPSCMX.js";
|
|
17
25
|
import {
|
|
18
26
|
isCI
|
|
19
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-UKJFCEMI.js";
|
|
20
28
|
import {
|
|
21
29
|
backendSlotForFlag,
|
|
22
30
|
slotValueMissing
|
|
23
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-VD7YTLWL.js";
|
|
24
32
|
import {
|
|
25
33
|
defaultWorkspaceSecretsPath,
|
|
26
34
|
readSecretsFile
|
|
27
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-UU7EEREQ.js";
|
|
28
36
|
import {
|
|
29
37
|
allLandings,
|
|
30
38
|
getEnvironment,
|
|
31
39
|
readEphemeralState
|
|
32
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-S42TFTM5.js";
|
|
33
41
|
import {
|
|
34
42
|
isUnwritableError,
|
|
35
43
|
unwritableError
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import {
|
|
38
|
-
isExpired
|
|
39
|
-
} from "./chunk-SPKA2LV6.js";
|
|
44
|
+
} from "./chunk-ULUUOUQX.js";
|
|
40
45
|
import {
|
|
41
46
|
contextFlags,
|
|
42
47
|
setHintContext
|
|
43
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-6S263KTM.js";
|
|
49
|
+
import {
|
|
50
|
+
expandHome
|
|
51
|
+
} from "./chunk-EUUUMY7J.js";
|
|
44
52
|
import {
|
|
45
53
|
shellWord
|
|
46
54
|
} from "./chunk-FWD7AL6N.js";
|
|
55
|
+
import {
|
|
56
|
+
inCredentialScope,
|
|
57
|
+
lastResolvedAuth,
|
|
58
|
+
pinnedWorkspaceMissed
|
|
59
|
+
} from "./chunk-TR7EOUQE.js";
|
|
47
60
|
import {
|
|
48
61
|
buildSeedContentFiles,
|
|
49
62
|
collectNonPublicSeedValues,
|
|
@@ -51,32 +64,20 @@ import {
|
|
|
51
64
|
hostedFileResolver,
|
|
52
65
|
isMissingFile,
|
|
53
66
|
registerSeedHostedFiles
|
|
54
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-GN5SQMIQ.js";
|
|
55
68
|
import {
|
|
69
|
+
holdsProjectManifest,
|
|
56
70
|
projectRootFrom
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import {
|
|
59
|
-
readLockFile,
|
|
60
|
-
readLockFileReport,
|
|
61
|
-
writeLockFile
|
|
62
|
-
} from "./chunk-CJDPSCMX.js";
|
|
63
|
-
import {
|
|
64
|
-
writeData
|
|
65
|
-
} from "./chunk-AWQ7BQTQ.js";
|
|
66
|
-
import {
|
|
67
|
-
expandHome
|
|
68
|
-
} from "./chunk-EUUUMY7J.js";
|
|
69
|
-
import {
|
|
70
|
-
inCredentialScope,
|
|
71
|
-
lastResolvedAuth,
|
|
72
|
-
pinnedWorkspaceMissed
|
|
73
|
-
} from "./chunk-YR2I5HGE.js";
|
|
71
|
+
} from "./chunk-HU7F56VF.js";
|
|
74
72
|
import {
|
|
75
73
|
assertValidProfileName
|
|
76
74
|
} from "./chunk-MF4W6FHU.js";
|
|
77
75
|
import {
|
|
78
76
|
readEnvVar
|
|
79
77
|
} from "./chunk-X2NL4KUO.js";
|
|
78
|
+
import {
|
|
79
|
+
writeData
|
|
80
|
+
} from "./chunk-4GPIOIAC.js";
|
|
80
81
|
import {
|
|
81
82
|
bundleCapabilities
|
|
82
83
|
} from "./chunk-7REDHC4N.js";
|
|
@@ -134,7 +135,7 @@ import {
|
|
|
134
135
|
warn,
|
|
135
136
|
withCliPrefix,
|
|
136
137
|
writeJson
|
|
137
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-C6KBZH7M.js";
|
|
138
139
|
import {
|
|
139
140
|
KNOWLEDGE_DIR,
|
|
140
141
|
KNOWLEDGE_FILE,
|
|
@@ -142,12 +143,12 @@ import {
|
|
|
142
143
|
isOsMetadataFile,
|
|
143
144
|
registerAllKinds,
|
|
144
145
|
serializeBundle
|
|
145
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-F5RPNTN7.js";
|
|
146
147
|
import {
|
|
147
148
|
Xano,
|
|
148
149
|
checkFilterOperands,
|
|
149
150
|
standaloneDefKind
|
|
150
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-6ZFJEJXZ.js";
|
|
151
152
|
import {
|
|
152
153
|
knowledgeBodiesAllEmpty
|
|
153
154
|
} from "./chunk-7FIMUFBP.js";
|
|
@@ -174,7 +175,7 @@ import {
|
|
|
174
175
|
checkUnboundVarRefs,
|
|
175
176
|
checkZipPasswordKeys,
|
|
176
177
|
isQueryExpressionFilter
|
|
177
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-6BOKCTCM.js";
|
|
178
179
|
import {
|
|
179
180
|
FILTER_NAMES
|
|
180
181
|
} from "./chunk-BEXZ4XRV.js";
|
|
@@ -195,7 +196,7 @@ import {
|
|
|
195
196
|
DiagnosticError,
|
|
196
197
|
isDiagnosticError,
|
|
197
198
|
setDiagnosticSink
|
|
198
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-YEH5OIPF.js";
|
|
199
200
|
import {
|
|
200
201
|
suggest
|
|
201
202
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -1333,7 +1334,8 @@ var NOUN_COMMANDS = /* @__PURE__ */ new Set([
|
|
|
1333
1334
|
"marketplace",
|
|
1334
1335
|
"test",
|
|
1335
1336
|
"release",
|
|
1336
|
-
"tenant"
|
|
1337
|
+
"tenant",
|
|
1338
|
+
"agent-skill"
|
|
1337
1339
|
]);
|
|
1338
1340
|
function helpTargetFor(command, subcommand) {
|
|
1339
1341
|
if (command === void 0 || !isCommand(command)) return void 0;
|
|
@@ -1475,6 +1477,8 @@ function parseArgs(argv) {
|
|
|
1475
1477
|
let paste = false;
|
|
1476
1478
|
let allWorkspaces = false;
|
|
1477
1479
|
let guest = false;
|
|
1480
|
+
let stdio = false;
|
|
1481
|
+
let project;
|
|
1478
1482
|
let urlOnly = false;
|
|
1479
1483
|
let prompt = false;
|
|
1480
1484
|
let port;
|
|
@@ -1509,6 +1513,7 @@ function parseArgs(argv) {
|
|
|
1509
1513
|
let report;
|
|
1510
1514
|
let noDevEnv = false;
|
|
1511
1515
|
let dryRun = false;
|
|
1516
|
+
const agent = [];
|
|
1512
1517
|
let prune = false;
|
|
1513
1518
|
let resetData = false;
|
|
1514
1519
|
let seed = false;
|
|
@@ -1521,6 +1526,7 @@ function parseArgs(argv) {
|
|
|
1521
1526
|
let expectLive;
|
|
1522
1527
|
let toProfile;
|
|
1523
1528
|
let allowSharedSchemaChanges = false;
|
|
1529
|
+
let overwrite = false;
|
|
1524
1530
|
let allowBranchDeletion = false;
|
|
1525
1531
|
let backupBranch;
|
|
1526
1532
|
let emit2;
|
|
@@ -1784,6 +1790,12 @@ function parseArgs(argv) {
|
|
|
1784
1790
|
engineVersion = value;
|
|
1785
1791
|
} else if (arg === "--all") {
|
|
1786
1792
|
all = true;
|
|
1793
|
+
} else if (arg === "--stdio") {
|
|
1794
|
+
stdio = true;
|
|
1795
|
+
} else if (arg === "--project") {
|
|
1796
|
+
project = requireValue(arg);
|
|
1797
|
+
} else if (arg.startsWith("--project=")) {
|
|
1798
|
+
project = attachedValue(arg, "--project=");
|
|
1787
1799
|
} else if (arg === "--all-workspaces") {
|
|
1788
1800
|
allWorkspaces = true;
|
|
1789
1801
|
} else if (arg === "--guest" || arg === "-g") {
|
|
@@ -1900,6 +1912,8 @@ function parseArgs(argv) {
|
|
|
1900
1912
|
requireMicroservices = true;
|
|
1901
1913
|
} else if (arg === "--dry-run") {
|
|
1902
1914
|
dryRun = true;
|
|
1915
|
+
} else if (arg === "--agent" || arg.startsWith("--agent=")) {
|
|
1916
|
+
agent.push(arg === "--agent" ? requireValue(arg) : attachedValue(arg, "--agent="));
|
|
1903
1917
|
} else if (arg === "--prune") {
|
|
1904
1918
|
prune = true;
|
|
1905
1919
|
} else if (arg === "--reset-data") {
|
|
@@ -1941,6 +1955,8 @@ function parseArgs(argv) {
|
|
|
1941
1955
|
toProfile = value;
|
|
1942
1956
|
} else if (arg === "--allow-shared-schema-changes") {
|
|
1943
1957
|
allowSharedSchemaChanges = true;
|
|
1958
|
+
} else if (arg === "--overwrite") {
|
|
1959
|
+
overwrite = true;
|
|
1944
1960
|
} else if (arg === "--allow-branch-deletion") {
|
|
1945
1961
|
allowBranchDeletion = true;
|
|
1946
1962
|
} else if (arg === "--backup-branch") {
|
|
@@ -2119,6 +2135,26 @@ function parseArgs(argv) {
|
|
|
2119
2135
|
"it takes no engine version. `xanosdk --version` (as the first argument) prints the CLI's own."
|
|
2120
2136
|
);
|
|
2121
2137
|
}
|
|
2138
|
+
if (stdio) {
|
|
2139
|
+
refuseUnlessDeclared(
|
|
2140
|
+
"stdio",
|
|
2141
|
+
"--stdio",
|
|
2142
|
+
"only `xanosdk local mcp --stdio` runs as an MCP server, the one a coding agent launches."
|
|
2143
|
+
);
|
|
2144
|
+
if (json) {
|
|
2145
|
+
throw new UsageError(
|
|
2146
|
+
"`--stdio` and `--json` ask for different things on stdout: `--stdio` speaks MCP to a coding agent, `--json` prints the connection details once. Drop one.",
|
|
2147
|
+
{ helpFor: helpTargetFor(command, subcommand) }
|
|
2148
|
+
);
|
|
2149
|
+
}
|
|
2150
|
+
}
|
|
2151
|
+
if (project !== void 0) {
|
|
2152
|
+
refuseUnlessDeclared(
|
|
2153
|
+
"project",
|
|
2154
|
+
"--project",
|
|
2155
|
+
"only `xanosdk local mcp` takes it, for an agent that launches the bridge outside the project."
|
|
2156
|
+
);
|
|
2157
|
+
}
|
|
2122
2158
|
if (all) {
|
|
2123
2159
|
refuseUnlessDeclared(
|
|
2124
2160
|
"all",
|
|
@@ -2301,6 +2337,8 @@ function parseArgs(argv) {
|
|
|
2301
2337
|
paste,
|
|
2302
2338
|
allWorkspaces,
|
|
2303
2339
|
guest,
|
|
2340
|
+
stdio,
|
|
2341
|
+
project,
|
|
2304
2342
|
urlOnly,
|
|
2305
2343
|
prompt,
|
|
2306
2344
|
port,
|
|
@@ -2333,6 +2371,7 @@ function parseArgs(argv) {
|
|
|
2333
2371
|
report,
|
|
2334
2372
|
noDevEnv,
|
|
2335
2373
|
dryRun,
|
|
2374
|
+
agent,
|
|
2336
2375
|
prune,
|
|
2337
2376
|
resetData,
|
|
2338
2377
|
seed,
|
|
@@ -2344,6 +2383,7 @@ function parseArgs(argv) {
|
|
|
2344
2383
|
expectLive,
|
|
2345
2384
|
toProfile,
|
|
2346
2385
|
allowSharedSchemaChanges,
|
|
2386
|
+
overwrite,
|
|
2347
2387
|
allowBranchDeletion,
|
|
2348
2388
|
backupBranch,
|
|
2349
2389
|
emit: emit2,
|
|
@@ -2414,13 +2454,24 @@ function parseExpiresHours(raw) {
|
|
|
2414
2454
|
}
|
|
2415
2455
|
async function importTsxApi(file) {
|
|
2416
2456
|
try {
|
|
2417
|
-
const
|
|
2418
|
-
const apiPath = requireFromEntry.resolve("tsx/esm/api");
|
|
2457
|
+
const apiPath = tsxEsmApiPath(pathToFileURL2(resolve2(file)).href);
|
|
2419
2458
|
return await import(pathToFileURL2(apiPath).href);
|
|
2420
2459
|
} catch {
|
|
2421
2460
|
return await import("tsx/esm/api");
|
|
2422
2461
|
}
|
|
2423
2462
|
}
|
|
2463
|
+
function tsxEsmApiPath(from) {
|
|
2464
|
+
const req = createRequire2(from);
|
|
2465
|
+
const manifest = req.resolve("tsx/package.json");
|
|
2466
|
+
try {
|
|
2467
|
+
const pkg = JSON.parse(readFileSync3(manifest, "utf8"));
|
|
2468
|
+
const api = pkg.exports?.["./esm/api"];
|
|
2469
|
+
const entry = typeof api?.import === "string" ? api.import : api?.import?.default;
|
|
2470
|
+
if (typeof entry === "string") return join2(dirname2(manifest), entry);
|
|
2471
|
+
} catch {
|
|
2472
|
+
}
|
|
2473
|
+
return req.resolve("tsx/esm/api");
|
|
2474
|
+
}
|
|
2424
2475
|
async function tryImportTsxApi(file) {
|
|
2425
2476
|
try {
|
|
2426
2477
|
return await importTsxApi(file);
|
|
@@ -2489,7 +2540,7 @@ async function tsxRemedy(file) {
|
|
|
2489
2540
|
const fallback = `Install it in your project (\`npm i -D tsx\`) or precompile the file to .js first.`;
|
|
2490
2541
|
for (let dir = dirname2(resolve2(file)); ; dir = dirname2(dir)) {
|
|
2491
2542
|
const manifest = join2(dir, "package.json");
|
|
2492
|
-
if (
|
|
2543
|
+
if (holdsProjectManifest(dir)) {
|
|
2493
2544
|
let pkg;
|
|
2494
2545
|
try {
|
|
2495
2546
|
pkg = JSON.parse(readFileSync3(manifest, "utf8"));
|
|
@@ -2501,7 +2552,7 @@ async function tsxRemedy(file) {
|
|
|
2501
2552
|
);
|
|
2502
2553
|
if (!declared) return fallback;
|
|
2503
2554
|
const { detectPackageManager } = await import("./package-manager-K762W7XT.js");
|
|
2504
|
-
const { inProject } = await import("./init-modules-
|
|
2555
|
+
const { inProject } = await import("./init-modules-KEEJ4HAF.js");
|
|
2505
2556
|
return `This project's package.json declares it, but its dependencies are not installed \u2014 run \`${inProject(dir)}${detectPackageManager(dir)} install\` first.`;
|
|
2506
2557
|
}
|
|
2507
2558
|
if (dirname2(dir) === dir) return fallback;
|
|
@@ -2510,7 +2561,7 @@ async function tsxRemedy(file) {
|
|
|
2510
2561
|
function hasPackageJsonAbove(file) {
|
|
2511
2562
|
let dir = dirname2(resolve2(file));
|
|
2512
2563
|
for (; ; ) {
|
|
2513
|
-
if (
|
|
2564
|
+
if (holdsProjectManifest(dir)) return true;
|
|
2514
2565
|
const parent = dirname2(dir);
|
|
2515
2566
|
if (parent === dir) return false;
|
|
2516
2567
|
dir = parent;
|
|
@@ -3122,7 +3173,7 @@ async function explainUnreachableWorkspace(err) {
|
|
|
3122
3173
|
let verdict = unreachableVerdicts.get(auth);
|
|
3123
3174
|
if (verdict === void 0) {
|
|
3124
3175
|
verdict = (async () => {
|
|
3125
|
-
const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-
|
|
3176
|
+
const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-PAUOIK3V.js");
|
|
3126
3177
|
const all = await readReachableWorkspaces(auth, 15e3);
|
|
3127
3178
|
if (all === void 0 || all.length === 0 || all.some((w) => w.id === auth.workspaceId)) return void 0;
|
|
3128
3179
|
return new UsageError(unreachableWorkspaceMessage(auth, all));
|
|
@@ -3136,7 +3187,7 @@ async function explainRejectedCredential(err) {
|
|
|
3136
3187
|
if (!(err instanceof Error) || resolved === void 0) return err;
|
|
3137
3188
|
const [first = "", ...rest] = err.message.split("\n");
|
|
3138
3189
|
if (!/\(401\b[^)]*\)|\banswered (HTTP )?401\b/.test(first) || /\brejected\b/.test(err.message)) return err;
|
|
3139
|
-
const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-
|
|
3190
|
+
const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-DPGDK35H.js");
|
|
3140
3191
|
const { auth, args } = resolved;
|
|
3141
3192
|
err.message = [first, rejectedRemedy(auth, args), ...rest].join("\n");
|
|
3142
3193
|
if (failureCode(err) === "SDK_ERROR") asRejectedCredential(err, auth, args);
|
|
@@ -3174,10 +3225,10 @@ function withoutSecretValue(args) {
|
|
|
3174
3225
|
}
|
|
3175
3226
|
async function nameLookupRerun(failure) {
|
|
3176
3227
|
if (!(failure instanceof Error) || runArgs?.argv === void 0) return failure;
|
|
3177
|
-
const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-
|
|
3228
|
+
const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-LNRUITLS.js");
|
|
3178
3229
|
const err = rateLimitedFailure(failure);
|
|
3179
3230
|
if (!(err instanceof LookupFailedError)) return err;
|
|
3180
|
-
const { retryCommand, withheldNote } = await import("./deploy-command-
|
|
3231
|
+
const { retryCommand, withheldNote } = await import("./deploy-command-FIDS56ZC.js");
|
|
3181
3232
|
if (runArgs.command === "env" && runArgs.subcommand === "set") {
|
|
3182
3233
|
const retry2 = retryCommand(withoutSecretValue(runArgs));
|
|
3183
3234
|
return err.withRerun(
|
|
@@ -3223,7 +3274,7 @@ var PATHLESS_VERBS = {
|
|
|
3223
3274
|
ephemeral: /* @__PURE__ */ new Set(["list", "get", "delete"]),
|
|
3224
3275
|
tenant: /* @__PURE__ */ new Set(["list", "get", "delete", "details"]),
|
|
3225
3276
|
release: /* @__PURE__ */ new Set(["list", "show", "delete"]),
|
|
3226
|
-
"local": /* @__PURE__ */ new Set(["token", "stop"]),
|
|
3277
|
+
"local": /* @__PURE__ */ new Set(["token", "stop", "mcp"]),
|
|
3227
3278
|
test: /* @__PURE__ */ new Set(["list", "run", "run-all"])
|
|
3228
3279
|
};
|
|
3229
3280
|
var PATHLESS_COMMANDS = /* @__PURE__ */ new Set(["tables", "impersonate"]);
|
|
@@ -3232,7 +3283,7 @@ function isPathlessRun(args) {
|
|
|
3232
3283
|
return PATHLESS_COMMANDS.has(command) || PATHLESS_VERBS[command]?.has(args.subcommand ?? "") === true;
|
|
3233
3284
|
}
|
|
3234
3285
|
async function atProjectRoot(args, command, positional) {
|
|
3235
|
-
const { enterProjectRoot } = await import("./xanosdk-project-
|
|
3286
|
+
const { enterProjectRoot } = await import("./xanosdk-project-2T56DRYS.js");
|
|
3236
3287
|
const entered = enterProjectRoot(args, process.cwd(), positional);
|
|
3237
3288
|
if (entered === void 0) return command(args);
|
|
3238
3289
|
if (isPathlessRun(args)) {
|
|
@@ -3333,7 +3384,7 @@ async function dispatch(rawArgv) {
|
|
|
3333
3384
|
if (typed[0] === "init") {
|
|
3334
3385
|
const web = typed.indexOf("--web", 1);
|
|
3335
3386
|
if (web !== -1) {
|
|
3336
|
-
const { runInitWebCommand } = await import("./init-web-
|
|
3387
|
+
const { runInitWebCommand } = await import("./init-web-MSXDARRF.js");
|
|
3337
3388
|
return runInitWebCommand([...typed.slice(1, web), ...typed.slice(web + 1)]);
|
|
3338
3389
|
}
|
|
3339
3390
|
}
|
|
@@ -3351,7 +3402,7 @@ async function dispatch(rawArgv) {
|
|
|
3351
3402
|
throw unknownSubcommand(helpRequest.command, helpRequest.unknownSubcommand, helpRequest.positionals ?? []);
|
|
3352
3403
|
}
|
|
3353
3404
|
if (argv.includes("--json")) {
|
|
3354
|
-
const { helpDocument } = await import("./commands-
|
|
3405
|
+
const { helpDocument } = await import("./commands-FOHIPDKZ.js");
|
|
3355
3406
|
writeJson({ version: readVersion(), ...helpDocument(helpRequest) });
|
|
3356
3407
|
return;
|
|
3357
3408
|
}
|
|
@@ -3372,7 +3423,7 @@ async function dispatch(rawArgv) {
|
|
|
3372
3423
|
setHintContext(args);
|
|
3373
3424
|
runArgs = args;
|
|
3374
3425
|
noteRunArgs(args);
|
|
3375
|
-
if (isMachineOutput(args)) (await import("./update-check-
|
|
3426
|
+
if (isMachineOutput(args)) (await import("./update-check-FHRRUDEC.js")).routeUpdateNoticeToDocument();
|
|
3376
3427
|
const { command } = args;
|
|
3377
3428
|
const out = args.out === "-" ? void 0 : args.out;
|
|
3378
3429
|
if (command === void 0) {
|
|
@@ -3393,11 +3444,11 @@ async function dispatch(rawArgv) {
|
|
|
3393
3444
|
return;
|
|
3394
3445
|
}
|
|
3395
3446
|
if (command === "init") {
|
|
3396
|
-
const { runInitCommand } = await import("./init-command-
|
|
3447
|
+
const { runInitCommand } = await import("./init-command-QOA4TJI2.js");
|
|
3397
3448
|
return runInitCommand(args);
|
|
3398
3449
|
}
|
|
3399
3450
|
if (command === "completion") {
|
|
3400
|
-
const { isCompletionShell, runCompletionCommand, COMPLETION_SHELLS, UNSUPPORTED_SHELLS } = await import("./completion-
|
|
3451
|
+
const { isCompletionShell, runCompletionCommand, COMPLETION_SHELLS, UNSUPPORTED_SHELLS } = await import("./completion-XUBGMKGV.js");
|
|
3401
3452
|
const shell = args.positionals[0];
|
|
3402
3453
|
if (shell === void 0) throw missingArgument("shell", { command: "completion" });
|
|
3403
3454
|
if (!isCompletionShell(shell)) {
|
|
@@ -3415,112 +3466,116 @@ async function dispatch(rawArgv) {
|
|
|
3415
3466
|
}
|
|
3416
3467
|
return runCompletionCommand(shell);
|
|
3417
3468
|
}
|
|
3469
|
+
if (command === "agent-skill") {
|
|
3470
|
+
const { runAgentSkillCommand } = await import("./agent-skill-command-GBR4KUUG.js");
|
|
3471
|
+
return runAgentSkillCommand(args);
|
|
3472
|
+
}
|
|
3418
3473
|
if (command === "upgrade") {
|
|
3419
|
-
const { runUpgradeCommand } = await import("./upgrade-command-
|
|
3474
|
+
const { runUpgradeCommand } = await import("./upgrade-command-WNBPKUXN.js");
|
|
3420
3475
|
return runUpgradeCommand(args);
|
|
3421
3476
|
}
|
|
3422
3477
|
if (command === "lock") {
|
|
3423
|
-
const { runLockCommand } = await import("./lock-commands-
|
|
3478
|
+
const { runLockCommand } = await import("./lock-commands-5NMQWBGH.js");
|
|
3424
3479
|
const verb = args.positionals[0];
|
|
3425
|
-
const { isProjectDir } = await import("./xanosdk-project-
|
|
3480
|
+
const { isProjectDir } = await import("./xanosdk-project-2T56DRYS.js");
|
|
3426
3481
|
const here = verb !== "prune" && args.lockPath === void 0 && args.entryPath === void 0 && existsSync2("xano.lock") && !isProjectDir(process.cwd()) ? { ...args, lockPath: "xano.lock" } : args;
|
|
3427
3482
|
return atProjectRoot(here, runLockCommand, verb === "prune" || verb === "import" ? "verb-path" : void 0);
|
|
3428
3483
|
}
|
|
3429
3484
|
if (command === "login") {
|
|
3430
|
-
const { runLoginCommand } = await import("./login-command-
|
|
3485
|
+
const { runLoginCommand } = await import("./login-command-GLLFZWHT.js");
|
|
3431
3486
|
return runLoginCommand(args);
|
|
3432
3487
|
}
|
|
3433
3488
|
if (command === "logout") {
|
|
3434
|
-
const { runLogoutCommand } = await import("./logout-command-
|
|
3489
|
+
const { runLogoutCommand } = await import("./logout-command-NCMKMJWF.js");
|
|
3435
3490
|
return runLogoutCommand(args);
|
|
3436
3491
|
}
|
|
3437
3492
|
if (command === "deploy") {
|
|
3438
|
-
const { runDeployCommand } = await import("./deploy-command-
|
|
3493
|
+
const { runDeployCommand } = await import("./deploy-command-FIDS56ZC.js");
|
|
3439
3494
|
return atProjectRoot(args, runDeployCommand, entryPositional(args));
|
|
3440
3495
|
}
|
|
3441
3496
|
if (command === "ephemeral") {
|
|
3442
|
-
const { runEphemeralCommand } = await import("./ephemeral-command-
|
|
3497
|
+
const { runEphemeralCommand } = await import("./ephemeral-command-NH2XW3YK.js");
|
|
3443
3498
|
return atProjectRoot(args, runEphemeralCommand);
|
|
3444
3499
|
}
|
|
3445
3500
|
if (command === "local") {
|
|
3446
|
-
const { runLocalEngineCommand } = await import("./local-engine-command-
|
|
3447
|
-
const
|
|
3448
|
-
return
|
|
3501
|
+
const { runLocalEngineCommand } = await import("./local-engine-command-WGMMZRQL.js");
|
|
3502
|
+
const readsProject = ["token", "stop", "update", "mcp"].includes(args.subcommand ?? "");
|
|
3503
|
+
return readsProject ? atProjectRoot(args, runLocalEngineCommand) : runLocalEngineCommand(args);
|
|
3449
3504
|
}
|
|
3450
3505
|
if (command === "env") {
|
|
3451
3506
|
if (args.subcommand === "set" || args.subcommand === "unset") {
|
|
3452
|
-
const { runEnvVarCommand } = await import("./env-var-command-
|
|
3507
|
+
const { runEnvVarCommand } = await import("./env-var-command-H3GHROVB.js");
|
|
3453
3508
|
return atProjectRoot(args, (a) => runEnvVarCommand(a, args.subcommand));
|
|
3454
3509
|
}
|
|
3455
3510
|
if (args.subcommand !== "pull") throw unknownSubcommand("env", args.subcommand);
|
|
3456
|
-
const { runEnvPullCommand } = await import("./env-pull-command-
|
|
3511
|
+
const { runEnvPullCommand } = await import("./env-pull-command-P5MATITQ.js");
|
|
3457
3512
|
return atProjectRoot(args, runEnvPullCommand);
|
|
3458
3513
|
}
|
|
3459
3514
|
if (command === "secrets") {
|
|
3460
3515
|
if (args.subcommand !== "fill") throw unknownSubcommand("secrets", args.subcommand);
|
|
3461
|
-
const { runSecretsFillCommand } = await import("./secrets-fill-command-
|
|
3516
|
+
const { runSecretsFillCommand } = await import("./secrets-fill-command-FQJ4QFBP.js");
|
|
3462
3517
|
return atProjectRoot(args, runSecretsFillCommand, entryPositional(args));
|
|
3463
3518
|
}
|
|
3464
3519
|
if (command === "release") {
|
|
3465
|
-
const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-
|
|
3520
|
+
const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-HLR46IKP.js");
|
|
3466
3521
|
return atProjectRoot(args, runReleaseNs);
|
|
3467
3522
|
}
|
|
3468
3523
|
if (command === "pull") {
|
|
3469
|
-
const { runPullCommand } = await import("./pull-command-
|
|
3524
|
+
const { runPullCommand } = await import("./pull-command-UVK3IOXM.js");
|
|
3470
3525
|
const first = args.positionals[0];
|
|
3471
3526
|
const file = first !== void 0 && !isKindShaped(first) && (/\.json$/i.test(first) || /[\\/]/.test(first));
|
|
3472
3527
|
return file ? runPullCommand(args) : atProjectRoot(args, runPullCommand);
|
|
3473
3528
|
}
|
|
3474
3529
|
if (command === "generate") {
|
|
3475
|
-
const { runGenerateCommand } = await import("./generate-command-
|
|
3530
|
+
const { runGenerateCommand } = await import("./generate-command-IANKN6WV.js");
|
|
3476
3531
|
return runGenerateCommand(args);
|
|
3477
3532
|
}
|
|
3478
3533
|
if (command === "tables") {
|
|
3479
|
-
const { runTablesCommand } = await import("./tables-command-
|
|
3534
|
+
const { runTablesCommand } = await import("./tables-command-7KI2KZOS.js");
|
|
3480
3535
|
return atProjectRoot(args, runTablesCommand);
|
|
3481
3536
|
}
|
|
3482
3537
|
if (command === "impersonate") {
|
|
3483
|
-
const { runImpersonateCommand } = await import("./impersonate-command-
|
|
3538
|
+
const { runImpersonateCommand } = await import("./impersonate-command-7B67ICPL.js");
|
|
3484
3539
|
return atProjectRoot(args, runImpersonateCommand);
|
|
3485
3540
|
}
|
|
3486
3541
|
if (command === "promote") {
|
|
3487
|
-
const { runPromoteCommand } = await import("./promote-command-
|
|
3542
|
+
const { runPromoteCommand } = await import("./promote-command-DN64QK7O.js");
|
|
3488
3543
|
return atProjectRoot(args, runPromoteCommand);
|
|
3489
3544
|
}
|
|
3490
3545
|
if (command === "publish") {
|
|
3491
|
-
const { runPublishCommand } = await import("./publish-command-
|
|
3546
|
+
const { runPublishCommand } = await import("./publish-command-SLE46MQX.js");
|
|
3492
3547
|
return atProjectRoot(args, runPublishCommand, "path");
|
|
3493
3548
|
}
|
|
3494
3549
|
if (command === "tenant") {
|
|
3495
|
-
const { runTenantCommand } = await import("./tenant-command-
|
|
3550
|
+
const { runTenantCommand } = await import("./tenant-command-MQTLNETR.js");
|
|
3496
3551
|
return atProjectRoot(args, runTenantCommand);
|
|
3497
3552
|
}
|
|
3498
3553
|
if (command === "test") {
|
|
3499
|
-
const { runTestCommand } = await import("./test-command-
|
|
3554
|
+
const { runTestCommand } = await import("./test-command-NLYMAAPD.js");
|
|
3500
3555
|
return atProjectRoot(args, runTestCommand);
|
|
3501
3556
|
}
|
|
3502
3557
|
if (command === "workspace") {
|
|
3503
|
-
const { runWorkspaceCommand } = await import("./workspace-command-
|
|
3558
|
+
const { runWorkspaceCommand } = await import("./workspace-command-KEKL27Y4.js");
|
|
3504
3559
|
return runWorkspaceCommand(args);
|
|
3505
3560
|
}
|
|
3506
3561
|
if (command === "status") {
|
|
3507
|
-
const { runStatusCommand } = await import("./status-command-
|
|
3562
|
+
const { runStatusCommand } = await import("./status-command-S5CBG2SW.js");
|
|
3508
3563
|
return runStatusCommand(args);
|
|
3509
3564
|
}
|
|
3510
3565
|
if (command === "whoami") {
|
|
3511
|
-
const { runWhoamiCommand } = await import("./whoami-command-
|
|
3566
|
+
const { runWhoamiCommand } = await import("./whoami-command-DPGDK35H.js");
|
|
3512
3567
|
return runWhoamiCommand(args);
|
|
3513
3568
|
}
|
|
3514
3569
|
if (command === "profile") {
|
|
3515
|
-
const { runProfileCommand } = await import("./profile-command-
|
|
3570
|
+
const { runProfileCommand } = await import("./profile-command-XPQIXFWN.js");
|
|
3516
3571
|
return runProfileCommand(args);
|
|
3517
3572
|
}
|
|
3518
3573
|
if (command === "marketplace") {
|
|
3519
3574
|
if (!["list", "search", "details", "install", "reinstall", "remove"].includes(args.subcommand ?? "")) {
|
|
3520
3575
|
throw unknownSubcommand("marketplace", args.subcommand);
|
|
3521
3576
|
}
|
|
3522
|
-
const marketplace = await import("./marketplace-command-
|
|
3523
|
-
const { withCatalogueRerun } = await import("./marketplace-resolve-
|
|
3577
|
+
const marketplace = await import("./marketplace-command-Y3RRUEWL.js");
|
|
3578
|
+
const { withCatalogueRerun } = await import("./marketplace-resolve-PWEYJ2XS.js");
|
|
3524
3579
|
try {
|
|
3525
3580
|
if (args.subcommand === "list") return await marketplace.runMarketplaceListCommand(args);
|
|
3526
3581
|
if (args.subcommand === "search") return await marketplace.runMarketplaceSearchCommand(args);
|
|
@@ -3533,7 +3588,7 @@ async function dispatch(rawArgv) {
|
|
|
3533
3588
|
}
|
|
3534
3589
|
}
|
|
3535
3590
|
if (command === "preflight") {
|
|
3536
|
-
const { runPreflightCommand } = await import("./preflight-command-
|
|
3591
|
+
const { runPreflightCommand } = await import("./preflight-command-Q6XOKRM6.js");
|
|
3537
3592
|
return runPreflightCommand(args);
|
|
3538
3593
|
}
|
|
3539
3594
|
if (command !== "compile" && command !== "export" && command !== "paths" && command !== "routes") {
|
|
@@ -3548,12 +3603,12 @@ async function dispatch(rawArgv) {
|
|
|
3548
3603
|
if (command === "paths" || command === "routes") {
|
|
3549
3604
|
return runPaths(args);
|
|
3550
3605
|
}
|
|
3551
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
3606
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-K46KYJ4G.js");
|
|
3552
3607
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
3553
3608
|
frozen: args.frozenLock === true || args.check === true
|
|
3554
3609
|
});
|
|
3555
3610
|
if (out && !args.check) {
|
|
3556
|
-
const { assertWritableTarget } = await import("./output-target-
|
|
3611
|
+
const { assertWritableTarget } = await import("./output-target-MFANTVGZ.js");
|
|
3557
3612
|
assertWritableTarget(out, "--out");
|
|
3558
3613
|
}
|
|
3559
3614
|
const { bundle: json, bundleObject, omittedSeedTables, lock: lockOutcome, declaredEnvNames } = await compileBundle(args);
|
|
@@ -3571,7 +3626,7 @@ async function dispatch(rawArgv) {
|
|
|
3571
3626
|
"export.hosted-files-omitted"
|
|
3572
3627
|
);
|
|
3573
3628
|
}
|
|
3574
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
3629
|
+
const { runBundleHooks } = await import("./toolchain-hooks-3ZAAAWPL.js");
|
|
3575
3630
|
await runBundleHooks(
|
|
3576
3631
|
toolchain.loaded,
|
|
3577
3632
|
{
|
|
@@ -3584,15 +3639,15 @@ async function dispatch(rawArgv) {
|
|
|
3584
3639
|
},
|
|
3585
3640
|
""
|
|
3586
3641
|
);
|
|
3587
|
-
const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-
|
|
3588
|
-
const { backendDirFor } = await import("./backend-dir-
|
|
3642
|
+
const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-6UTTMDOI.js");
|
|
3643
|
+
const { backendDirFor } = await import("./backend-dir-PFUIPCV3.js");
|
|
3589
3644
|
const declaredSet = new Set(declaredEnvNames);
|
|
3590
3645
|
const templateDir = backendDirFor(args.file);
|
|
3591
3646
|
const ownsTemplate = isWithin(resolve2(args.file), templateDir) && (dirname2(resolve2(args.file)) === templateDir || !existsSync2(join2(templateDir, "index.ts")));
|
|
3592
3647
|
const templateEnv = Object.fromEntries(
|
|
3593
3648
|
Object.entries(bundleEnvNames2(bundleObject)).filter(([name]) => declaredSet.has(name))
|
|
3594
3649
|
);
|
|
3595
|
-
const { skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
3650
|
+
const { skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-IYMFVQRC.js");
|
|
3596
3651
|
const projectSdk = skewedProjectSdk(dirname2(resolve2(args.file)), readVersion());
|
|
3597
3652
|
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
3653
|
if (args.check) {
|
|
@@ -3643,15 +3698,15 @@ async function dispatch(rawArgv) {
|
|
|
3643
3698
|
info(`${hadEnvExample ? "Updated" : "Wrote"} ${displayPath(refreshed)} to list the env names this source declares.`);
|
|
3644
3699
|
}
|
|
3645
3700
|
if (out) {
|
|
3646
|
-
const { secretsCarriedBy } = await import("./live-diff-
|
|
3647
|
-
const { writeExportFile } = await import("./output-target-
|
|
3701
|
+
const { secretsCarriedBy } = await import("./live-diff-CGTGOH3S.js");
|
|
3702
|
+
const { writeExportFile } = await import("./output-target-MFANTVGZ.js");
|
|
3648
3703
|
const written = lockOutcome?.changed ? `Only ${lockOutcome.path} was written` : void 0;
|
|
3649
3704
|
writeExportFile(out, json + "\n", secretsCarriedBy(bundleObject), "--out", written);
|
|
3650
3705
|
reportWrote(args, out, lockOutcome);
|
|
3651
3706
|
} else {
|
|
3652
3707
|
process.stdout.write(json + "\n");
|
|
3653
|
-
const { secretsCarriedBy } = await import("./live-diff-
|
|
3654
|
-
const { secretsPhrase } = await import("./output-target-
|
|
3708
|
+
const { secretsCarriedBy } = await import("./live-diff-CGTGOH3S.js");
|
|
3709
|
+
const { secretsPhrase } = await import("./output-target-MFANTVGZ.js");
|
|
3655
3710
|
const secrets = secretsCarriedBy(bundleObject);
|
|
3656
3711
|
if (secrets.length > 0) {
|
|
3657
3712
|
warn(
|
|
@@ -3670,11 +3725,11 @@ async function refreshAgentGuidance(args) {
|
|
|
3670
3725
|
if (args.noRefresh) return;
|
|
3671
3726
|
if (args.check || args.frozenLock || args.dryRun) return;
|
|
3672
3727
|
try {
|
|
3673
|
-
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
3728
|
+
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-IYMFVQRC.js");
|
|
3674
3729
|
const entryProject = args.file === void 0 ? void 0 : installedSdk(dirname2(resolve2(args.file)))?.root;
|
|
3675
3730
|
const projectDir = existsSync2(join2(process.cwd(), "AGENTS.md")) || entryProject === void 0 ? process.cwd() : entryProject;
|
|
3676
3731
|
const projectSdk = skewedProjectSdk(projectDir, readVersion());
|
|
3677
|
-
const { refreshAgentFiles } = await import("./agent-file-refresh-
|
|
3732
|
+
const { refreshAgentFiles } = await import("./agent-file-refresh-QJO3MT6Q.js");
|
|
3678
3733
|
if (projectSdk !== void 0) {
|
|
3679
3734
|
const stale = refreshAgentFiles({ projectDir, sdkVersion: readVersion(), write: false });
|
|
3680
3735
|
const file = args.file;
|
|
@@ -3702,7 +3757,7 @@ function nearestLockPath(file) {
|
|
|
3702
3757
|
for (; ; ) {
|
|
3703
3758
|
const candidate = join2(dir, "xano.lock");
|
|
3704
3759
|
if (existsSync2(candidate)) return candidate;
|
|
3705
|
-
if (
|
|
3760
|
+
if (holdsProjectManifest(dir)) return join2(start, "xano.lock");
|
|
3706
3761
|
const parent = dirname2(dir);
|
|
3707
3762
|
if (parent === dir) return join2(start, "xano.lock");
|
|
3708
3763
|
dir = parent;
|
|
@@ -3893,7 +3948,7 @@ function withPinnedGuid(artifact, def) {
|
|
|
3893
3948
|
function emitProjectDir(emit2, entry) {
|
|
3894
3949
|
if (emit2 !== "-") {
|
|
3895
3950
|
const root = projectRootFrom(dirname2(resolve2(emit2)));
|
|
3896
|
-
if (
|
|
3951
|
+
if (holdsProjectManifest(root)) return root;
|
|
3897
3952
|
}
|
|
3898
3953
|
return projectRootFrom(dirname2(resolve2(entry)));
|
|
3899
3954
|
}
|
|
@@ -3908,7 +3963,7 @@ async function runPaths(args) {
|
|
|
3908
3963
|
const lockPath = resolveLockPath(args, file);
|
|
3909
3964
|
resetLockOverrides();
|
|
3910
3965
|
const lockModel = existsSync2(lockPath) ? readLockFile(lockPath) : void 0;
|
|
3911
|
-
const toolchain = args.emit !== void 0 ? await (await import("./toolchain-modules-
|
|
3966
|
+
const toolchain = args.emit !== void 0 ? await (await import("./toolchain-modules-K46KYJ4G.js")).discoverToolchainPlugins(emitProjectDir(args.emit, file), {
|
|
3912
3967
|
frozen: args.strict === true,
|
|
3913
3968
|
// A module outside its SDK peer range keeps its block and is named,
|
|
3914
3969
|
// as any other skip is; it does not abort every `dev` and `build`.
|
|
@@ -3930,7 +3985,7 @@ async function runPaths(args) {
|
|
|
3930
3985
|
setDiagnosticSink(outerSink);
|
|
3931
3986
|
}
|
|
3932
3987
|
const payload = bundle.payload;
|
|
3933
|
-
const { planRouteManifest } = await import("./routes-manifest-
|
|
3988
|
+
const { planRouteManifest } = await import("./routes-manifest-RIZGSOZC.js");
|
|
3934
3989
|
const plan = planRouteManifest(payload, (kind, name) => lockModel?.objects[lockKey(kind, name)]?.canonical);
|
|
3935
3990
|
const queryCount = plan.rows.length;
|
|
3936
3991
|
const realtimeCount = plan.servers.length + plan.unresolvedServers.length;
|
|
@@ -3954,7 +4009,7 @@ async function runPaths(args) {
|
|
|
3954
4009
|
);
|
|
3955
4010
|
}
|
|
3956
4011
|
if (unresolved.length > 0) {
|
|
3957
|
-
const { unresolvedCanonicalMessage } = await import("./routes-manifest-
|
|
4012
|
+
const { unresolvedCanonicalMessage } = await import("./routes-manifest-RIZGSOZC.js");
|
|
3958
4013
|
const why = `${args.emit} was not written: ${unresolvedCanonicalMessage(unresolved, shellWord(file))}`;
|
|
3959
4014
|
if (args.strict) throw new Error(`--strict: ${why}`);
|
|
3960
4015
|
warn(why, "routes.not-written");
|
|
@@ -3966,7 +4021,7 @@ async function runPaths(args) {
|
|
|
3966
4021
|
if (machine && args.emit !== "-") writeJson({ emit: resolve2(args.emit), written: false, routes: 0, channels: 0 });
|
|
3967
4022
|
return;
|
|
3968
4023
|
}
|
|
3969
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
4024
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-UHVVL2YB.js");
|
|
3970
4025
|
const loaded = toolchain?.loaded ?? [];
|
|
3971
4026
|
const skipped = toolchain?.skipped ?? [];
|
|
3972
4027
|
const rendered = renderManifestFile(
|
|
@@ -3990,7 +4045,7 @@ async function runPaths(args) {
|
|
|
3990
4045
|
writeData(process.stdout, source);
|
|
3991
4046
|
return;
|
|
3992
4047
|
}
|
|
3993
|
-
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
4048
|
+
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-IYMFVQRC.js");
|
|
3994
4049
|
const emitDir = dirname2(resolve2(args.emit));
|
|
3995
4050
|
const projectSdk = skewedProjectSdk(installedSdk(emitDir) !== void 0 ? emitDir : dirname2(resolve2(file)), readVersion());
|
|
3996
4051
|
if (projectSdk !== void 0 && existsSync2(args.emit) && readFileSync3(args.emit, "utf8") !== source) {
|
|
@@ -4063,7 +4118,7 @@ async function runPaths(args) {
|
|
|
4063
4118
|
}
|
|
4064
4119
|
}
|
|
4065
4120
|
if (unresolved.length > 0) {
|
|
4066
|
-
const { unresolvedCanonicalMessage } = await import("./routes-manifest-
|
|
4121
|
+
const { unresolvedCanonicalMessage } = await import("./routes-manifest-RIZGSOZC.js");
|
|
4067
4122
|
throw new UsageError(`${commandLabel(args)}: ${unresolvedCanonicalMessage(unresolved, shellWord(file))}`);
|
|
4068
4123
|
}
|
|
4069
4124
|
}
|
|
@@ -4071,7 +4126,7 @@ async function refreshRouteManifest(entry, emit2, projectDir) {
|
|
|
4071
4126
|
resetLockOverrides();
|
|
4072
4127
|
const lockPath = join2(dirname2(resolve2(entry)), "xano.lock");
|
|
4073
4128
|
const lockModel = existsSync2(lockPath) ? readLockFile(lockPath) : void 0;
|
|
4074
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
4129
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-K46KYJ4G.js");
|
|
4075
4130
|
const toolchain = existsSync2(emit2) ? await discoverToolchainPlugins(projectDir, { frozen: false, configuring: true, peerSkew: "skip" }) : void 0;
|
|
4076
4131
|
const def = await loadDefault(entry);
|
|
4077
4132
|
if (!Xano.isXano(def)) return { manifest: "absent", lockOrphans: 0 };
|
|
@@ -4083,12 +4138,12 @@ async function refreshRouteManifest(entry, emit2, projectDir) {
|
|
|
4083
4138
|
} finally {
|
|
4084
4139
|
setDiagnosticSink(previousSink);
|
|
4085
4140
|
}
|
|
4086
|
-
const { pulledIdentities } = await import("./pull-command-
|
|
4141
|
+
const { pulledIdentities } = await import("./pull-command-UVK3IOXM.js");
|
|
4087
4142
|
const live = pulledIdentities(payload);
|
|
4088
4143
|
const lockOrphans = lockModel === void 0 ? 0 : Object.keys(lockModel.objects).filter((k) => k !== WORKSPACE_KEY && !live.has(k)).length;
|
|
4089
4144
|
if (!existsSync2(emit2)) return { manifest: "absent", lockOrphans };
|
|
4090
|
-
const { planRouteManifest, RouteManifestError } = await import("./routes-manifest-
|
|
4091
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
4145
|
+
const { planRouteManifest, RouteManifestError } = await import("./routes-manifest-RIZGSOZC.js");
|
|
4146
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-UHVVL2YB.js");
|
|
4092
4147
|
const plan = planRouteManifest(payload, (kind, name) => lockModel?.objects[lockKey(kind, name)]?.canonical);
|
|
4093
4148
|
if (plan.unresolved.length > 0) return { manifest: "skipped", lockOrphans };
|
|
4094
4149
|
const current = readFileSync3(emit2, "utf8");
|
|
@@ -4612,7 +4667,7 @@ async function refineGonePullHint(err) {
|
|
|
4612
4667
|
if (offer === void 0 || auth === void 0 || !(err instanceof Error) || !err.message.includes(offer.clause)) return;
|
|
4613
4668
|
let gone;
|
|
4614
4669
|
try {
|
|
4615
|
-
const { lookupEphemeral } = await import("./source-resolve-
|
|
4670
|
+
const { lookupEphemeral } = await import("./source-resolve-LNRUITLS.js");
|
|
4616
4671
|
gone = await lookupEphemeral(auth, offer.name) === null;
|
|
4617
4672
|
} catch {
|
|
4618
4673
|
return;
|
|
@@ -4784,6 +4839,7 @@ export {
|
|
|
4784
4839
|
envNameRule,
|
|
4785
4840
|
parseArgs,
|
|
4786
4841
|
resolveHelpRequest,
|
|
4842
|
+
tsxEsmApiPath,
|
|
4787
4843
|
loadDefault,
|
|
4788
4844
|
tsxRemedy,
|
|
4789
4845
|
assertEntryExists,
|
|
@@ -4815,4 +4871,4 @@ export {
|
|
|
4815
4871
|
docTokenRefusalIfReplaced,
|
|
4816
4872
|
envRefusalIfReplaced
|
|
4817
4873
|
};
|
|
4818
|
-
//# sourceMappingURL=chunk-
|
|
4874
|
+
//# sourceMappingURL=chunk-ZJCHS7FM.js.map
|