@xano/sdk 1.0.7 → 1.0.9
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 +32 -5
- package/README.md +2 -0
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-DGGSRPJ4.js → agent-file-refresh-XXCQOTWN.js} +10 -10
- package/dist/{agent-skill-command-37DFYS7Q.js → agent-skill-command-VDSMXH4M.js} +42 -42
- package/dist/{answer-shape-RBFDCNZ7.js → answer-shape-UMQRXMCX.js} +5 -5
- package/dist/{backend-dir-KDD43X7K.js → backend-dir-G44PETFO.js} +10 -10
- package/dist/{backend-slot-TBOVZXDE.js → backend-slot-TTRNOQF5.js} +4 -4
- package/dist/bin.js +43 -43
- package/dist/{branch-7PIKNUD7.js → branch-Q7CDJRU6.js} +9 -9
- package/dist/{branch-commands-EGY7ZEZE.js → branch-commands-Q6E66PMM.js} +24 -24
- package/dist/bundle.js +2 -2
- package/dist/{chunk-VNDR2T35.js → chunk-2VWSUG2B.js} +7 -7
- package/dist/{chunk-7VR4IO5B.js → chunk-3P35HT64.js} +2 -2
- package/dist/{chunk-HZ6ADG3O.js → chunk-3UZQ5TMG.js} +5 -5
- package/dist/{chunk-567KK6XF.js → chunk-3XSTC3TM.js} +4 -4
- package/dist/{chunk-FENA7K7C.js → chunk-4JKXGPXB.js} +3 -3
- package/dist/{chunk-D5OZRJ3T.js → chunk-5BEK7YKY.js} +6 -6
- package/dist/{chunk-ARWMVNDJ.js → chunk-5QOV52V4.js} +2 -2
- package/dist/{chunk-ZJOAWRED.js → chunk-5VOGPS5O.js} +4 -4
- package/dist/{chunk-EPFDY5JU.js → chunk-5Y5HWQ2P.js} +2 -2
- package/dist/{chunk-T4LJ5UR2.js → chunk-6BOKCTCM.js} +52 -22
- package/dist/{chunk-5SCPRXFB.js → chunk-6IOQRBRX.js} +3 -3
- package/dist/{chunk-FNLTFOUD.js → chunk-6NEV2PEC.js} +2 -2
- package/dist/{chunk-47XT6WQL.js → chunk-6PTITS3M.js} +5 -5
- package/dist/{chunk-3FRGNBOC.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-M2C54ZBC.js → chunk-75MKIQON.js} +4 -4
- package/dist/{chunk-SDGV76HF.js → chunk-76UAME77.js} +2 -2
- package/dist/{chunk-26LHXLD3.js → chunk-7JKNWDYN.js} +2 -2
- package/dist/{chunk-JOWY6HFL.js → chunk-7MPI7NIW.js} +3 -3
- package/dist/{chunk-HTQWAQRW.js → chunk-ADKC3EII.js} +3 -3
- package/dist/{chunk-EF4MHLEW.js → chunk-B3NH5UBI.js} +4 -4
- package/dist/{chunk-SLGJIWCY.js → chunk-B5N6EWOM.js} +2 -2
- package/dist/{chunk-CT3J5JRZ.js → chunk-BUTGFWWA.js} +7 -7
- package/dist/{chunk-UYFUIHH3.js → chunk-C2GHFADU.js} +2 -2
- package/dist/{chunk-CH23ONYG.js → chunk-C6KBZH7M.js} +7 -2
- package/dist/{chunk-ZGLNHA7T.js → chunk-CXWCWYX3.js} +4 -4
- package/dist/{chunk-YCUDOF6Q.js → chunk-DDUOMOIP.js} +15 -15
- package/dist/{chunk-AVS4WPPY.js → chunk-DSD2NNTX.js} +2 -2
- package/dist/{chunk-JX6N73H3.js → chunk-DY3EJWWH.js} +2 -2
- package/dist/{chunk-SKEG3V2V.js → chunk-EKTIGGFO.js} +2 -2
- package/dist/{chunk-A4R5CAY4.js → chunk-F3IA3YWI.js} +1 -1
- package/dist/{chunk-EU32BC5B.js → chunk-FFB3YCUO.js} +8 -8
- package/dist/{chunk-B3P25SDP.js → chunk-GAU2FCT7.js} +5 -5
- package/dist/{chunk-NV37YGOV.js → chunk-GHPC52TD.js} +6 -6
- package/dist/{chunk-FDTET7FZ.js → chunk-GN5SQMIQ.js} +4 -4
- package/dist/{chunk-QRQ54LUI.js → chunk-H3ZBAR2L.js} +10 -10
- package/dist/{chunk-5ZG7V2VW.js → chunk-HBFXR4OJ.js} +3 -3
- package/dist/{chunk-BZ6WTG3E.js → chunk-HETQSTGG.js} +4 -4
- package/dist/{chunk-RBU2YX22.js → chunk-HFOGQIII.js} +2 -2
- package/dist/{chunk-7M6JP3FS.js → chunk-HQPL34O6.js} +2 -2
- package/dist/{chunk-BSVQEKHO.js → chunk-HTP2CLRQ.js} +5 -5
- package/dist/{chunk-CPN6WSBH.js → chunk-HVPSDQJB.js} +3 -3
- package/dist/{chunk-SGK3PTTM.js → chunk-HVSIS47X.js} +43 -43
- package/dist/{chunk-IYXL5NYU.js → chunk-I53OTC3O.js} +2 -2
- package/dist/{chunk-NDJAKSE7.js → chunk-IB6SKACE.js} +4 -4
- package/dist/{chunk-YH2JVJAO.js → chunk-IFCQCM2Q.js} +8 -8
- package/dist/{chunk-TWVUYS63.js → chunk-INAM6KR6.js} +15 -15
- package/dist/{chunk-DIWF7L33.js → chunk-KDS4PDFD.js} +3 -3
- package/dist/{chunk-D3KEPRRN.js → chunk-LTPF25L2.js} +2 -1
- package/dist/{chunk-WNCW2RNB.js → chunk-NFSUGVDY.js} +4 -4
- package/dist/{chunk-ZXRDD3Q2.js → chunk-NI56XX5Z.js} +3 -3
- package/dist/{chunk-LBJA7IEM.js → chunk-O376UAZS.js} +2 -2
- package/dist/{chunk-JOOKM7AH.js → chunk-OBJ7FQDX.js} +2 -2
- package/dist/{chunk-VJFMUJWZ.js → chunk-OHTHG3LL.js} +2 -2
- package/dist/{chunk-L472YIGG.js → chunk-OYRQLU66.js} +8 -8
- package/dist/{chunk-S46ODQRA.js → chunk-PBK257CI.js} +2 -2
- package/dist/{chunk-AKERAUNH.js → chunk-PFW7WFAT.js} +4 -4
- package/dist/{chunk-2SD4LA22.js → chunk-QC3MKMDK.js} +2 -2
- package/dist/{chunk-7XXWKTCE.js → chunk-QGDT52FA.js} +29 -29
- package/dist/{chunk-CNZASQPL.js → chunk-QL3ZJWGG.js} +2 -2
- package/dist/{chunk-IPNN2KRW.js → chunk-QTMXJQZN.js} +3 -3
- package/dist/{chunk-WUEPP5HD.js → chunk-QXOBZSQD.js} +4 -4
- package/dist/{chunk-VAGSKUWC.js → chunk-R3LANPQZ.js} +3 -3
- package/dist/{chunk-M3NEK3LT.js → chunk-R4NOZBOY.js} +4 -4
- package/dist/{chunk-ORGNLQN6.js → chunk-S42TFTM5.js} +3 -3
- package/dist/{chunk-2ACWDSAQ.js → chunk-S5RZYUP2.js} +3 -3
- package/dist/{chunk-B2URJBC4.js → chunk-SGYDFEXD.js} +14 -14
- package/dist/{chunk-O56DQKPL.js → chunk-SSOTLVOJ.js} +9 -9
- package/dist/{chunk-FQ53GTII.js → chunk-T3ZVNOJC.js} +6 -6
- package/dist/{chunk-MYZRMSPM.js → chunk-TG65NWUR.js} +2 -2
- package/dist/{chunk-L6HZ67P6.js → chunk-TR7EOUQE.js} +2 -2
- package/dist/{chunk-DG3APBUJ.js → chunk-U7XSQXOA.js} +84 -80
- package/dist/{chunk-PEX4QZVI.js → chunk-ULUUOUQX.js} +2 -2
- package/dist/{chunk-I6XRUU6U.js → chunk-UZUY6VPB.js} +117 -49
- package/dist/{chunk-PY722CHR.js → chunk-VD7YTLWL.js} +2 -2
- package/dist/{chunk-RRMH7WMY.js → chunk-VHV25AAO.js} +7 -7
- package/dist/{chunk-MBL7CXJ7.js → chunk-VJTTTIIB.js} +2 -2
- package/dist/{chunk-N3YFCFCO.js → chunk-WKCA66SH.js} +14 -14
- package/dist/{chunk-U5M7T6CI.js → chunk-WLFANUXE.js} +7 -7
- package/dist/{chunk-PEIBGH2V.js → chunk-XLQT3CCF.js} +22 -22
- package/dist/{chunk-2XWVZRL6.js → chunk-XPLBTV77.js} +7 -7
- package/dist/{chunk-VIJ5D3RC.js → chunk-XQO4A4Q4.js} +3 -3
- package/dist/{chunk-DXZTL7NA.js → chunk-XTUYIX5H.js} +39 -39
- package/dist/{chunk-PV25BDCH.js → chunk-Y2LKSXFK.js} +4 -4
- package/dist/{chunk-46PATL23.js → chunk-Y3FM4BSZ.js} +3 -3
- package/dist/{chunk-QGIZLFAS.js → chunk-YE7MHW45.js} +4 -4
- package/dist/{chunk-YHB34BN6.js → chunk-YEH5OIPF.js} +2 -1
- package/dist/{chunk-ELPQTDW6.js → chunk-YMVCKGY2.js} +73 -72
- package/dist/{chunk-H2K4GFUS.js → chunk-YP76ZCQ5.js} +4 -4
- package/dist/{chunk-GHMLRFRX.js → chunk-YVXUYDHC.js} +5 -5
- package/dist/{chunk-V7MBRUK6.js → chunk-ZO3QWFNV.js} +3 -3
- package/dist/{chunk-2YER2J47.js → chunk-ZYPEH64F.js} +5 -5
- package/dist/cli.d.ts +8 -1
- package/dist/cli.js +41 -41
- package/dist/{codegen-command-T7TC7PQO.js → codegen-command-KZJ7LYHW.js} +61 -61
- package/dist/{commands-JDENTDJS.js → commands-FOHIPDKZ.js} +3 -3
- package/dist/{completion-YFD5OVJW.js → completion-XUBGMKGV.js} +3 -3
- package/dist/{config-YJFUTRJW.js → config-544VCRKP.js} +4 -4
- package/dist/{deploy-command-OEVEE6UG.js → deploy-command-RXPJAM7M.js} +48 -48
- package/dist/{deploy-source-HYVZEYXV.js → deploy-source-TD77W4SA.js} +28 -28
- package/dist/{dev-env-sync-EFDCJ6KU.js → dev-env-sync-2UCNSIJL.js} +42 -42
- package/dist/{diagnostics-OMN5Y2AH.js → diagnostics-FNVNRYMB.js} +2 -2
- package/dist/{display-name-hint-SW3GB3V7.js → display-name-hint-EZQK2PDU.js} +11 -11
- package/dist/{emit-Dov_92kn.d.ts → emit-D-a6JznN.d.ts} +22 -16
- package/dist/{env-example-refresh-WNSOH534.js → env-example-refresh-QKZI26F2.js} +62 -62
- package/dist/{env-pull-command-UYEXMQ3P.js → env-pull-command-72PQOMKW.js} +40 -40
- package/dist/{env-target-JBSLBKNX.js → env-target-AZJ4JXT7.js} +10 -10
- package/dist/{env-var-command-BJNRAXNV.js → env-var-command-ALJITZDL.js} +38 -38
- package/dist/{ephemeral-CEOGMIEA.js → ephemeral-H24NF6WP.js} +9 -9
- package/dist/{ephemeral-command-IPSGBCS5.js → ephemeral-command-T276HQBO.js} +41 -41
- package/dist/{ephemeral-state-MTBASPRS.js → ephemeral-state-YLZQIOBF.js} +8 -8
- package/dist/{generate-command-XQXODBS6.js → generate-command-M6LAT4XU.js} +66 -66
- package/dist/{gitignore-RUVCIZO4.js → gitignore-V6QHYKIR.js} +14 -14
- package/dist/{guards-KYEOCVHN.js → guards-4VPSEOAI.js} +6 -4
- package/dist/{impersonate-command-MA27O7S5.js → impersonate-command-S6PYDMHQ.js} +34 -34
- package/dist/{import-XKRFHABE.js → import-TXYVFYJS.js} +5 -5
- package/dist/index.d.ts +4 -4
- package/dist/index.js +8 -8
- package/dist/{init-command-6RDTCMAB.js → init-command-ENAZKPZA.js} +46 -46
- package/dist/{init-modules-DHTBOCQT.js → init-modules-AIKWWTVQ.js} +8 -8
- package/dist/{init-web-ELBXSXDL.js → init-web-MSXDARRF.js} +3 -3
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +29 -12
- package/dist/{keep-data-merge-TDJOIAVT.js → keep-data-merge-3WPUPPTY.js} +23 -23
- package/dist/{landing-record-TPPYFQAS.js → landing-record-SJ5HG7T5.js} +16 -16
- package/dist/{live-diff-5E2BQWQ7.js → live-diff-CGTGOH3S.js} +3 -3
- package/dist/{local-engine-choice-S6VHPJRU.js → local-engine-choice-BD5O7SAU.js} +31 -31
- package/dist/{local-engine-command-4EZCGZ6M.js → local-engine-command-MXQUXXAA.js} +36 -36
- package/dist/{local-engine-config-2EBL3QKA.js → local-engine-config-6CB6FOEJ.js} +2 -2
- package/dist/{local-engine-deploy-FOPNWU7X.js → local-engine-deploy-ID4JJXB5.js} +14 -14
- package/dist/{local-engine-lookup-GM3E3NPP.js → local-engine-lookup-IC7BKAYP.js} +4 -4
- package/dist/{local-engine-mcp-bridge-QKZHUGW3.js → local-engine-mcp-bridge-3SOJMZ5T.js} +5 -5
- package/dist/{local-engine-mcp-command-BFQVLXZC.js → local-engine-mcp-command-6G3TDWDI.js} +39 -39
- package/dist/{local-engine-process-XUQPQENQ.js → local-engine-process-HG5BGG3F.js} +9 -9
- package/dist/{local-engine-state-JQPKGB65.js → local-engine-state-JZHTKHDG.js} +3 -3
- package/dist/{local-engine-update-check-S7UF6ZF5.js → local-engine-update-check-SKZR7YSC.js} +6 -6
- package/dist/{lock-commands-HJ6Y5QVS.js → lock-commands-SUPQOEVU.js} +46 -46
- package/dist/{login-command-JO55NZAS.js → login-command-LTYO3EK7.js} +22 -22
- package/dist/{logout-command-MPRIRSJA.js → logout-command-QRRT36DY.js} +13 -13
- package/dist/{loop-SUB6C2LK.js → loop-XFDS65OD.js} +3 -3
- package/dist/{marketplace-command-BM6G257N.js → marketplace-command-POQH5GVT.js} +29 -29
- package/dist/{marketplace-resolve-AWH3RG57.js → marketplace-resolve-PWEYJ2XS.js} +6 -6
- package/dist/{meta-client-AOSWODQQ.js → meta-client-PDUP4EOW.js} +11 -11
- package/dist/{module-manifest-GXI46PEF.js → module-manifest-KY7J63HG.js} +4 -4
- package/dist/node.d.ts +4 -4
- package/dist/node.js +47 -47
- package/dist/{operation-outcome-4UKPXTNC.js → operation-outcome-IXMC5SBN.js} +22 -22
- package/dist/{output-target-RAZ4KN5J.js → output-target-4XN43WIB.js} +15 -15
- package/dist/{plan-disclosure-JR52DWXN.js → plan-disclosure-GNLDYV2A.js} +15 -15
- package/dist/{plugin-contributions-E6XHLQWK.js → plugin-contributions-PAGG6SUP.js} +5 -5
- package/dist/{plugin-prompt-IODX5EU6.js → plugin-prompt-2MX6LF6X.js} +5 -5
- package/dist/{plugin-questions-AAAJ7POP.js → plugin-questions-AP6VUTOB.js} +4 -4
- package/dist/{preflight-command-7GKJBWOQ.js → preflight-command-QWZL4O2N.js} +53 -53
- package/dist/{profile-command-CM6J7E2M.js → profile-command-V6WFDYZW.js} +23 -23
- package/dist/{profile-pointer-KTYXL6FU.js → profile-pointer-4HJQH5ZR.js} +4 -4
- package/dist/{project-dependency-OQ5575QQ.js → project-dependency-ORX45I74.js} +7 -7
- package/dist/{project-sdk-2ESHHZVL.js → project-sdk-IYMFVQRC.js} +4 -4
- package/dist/promote-command-B3QODJNT.js +147 -0
- package/dist/{prompt-MQPGU4ZI.js → prompt-ZZUYWFQX.js} +4 -4
- package/dist/{publish-command-IEMYZ7LF.js → publish-command-JOL6LXH6.js} +51 -51
- package/dist/{pull-command-S5E2ABZ4.js → pull-command-RPGL6LXP.js} +64 -64
- package/dist/{pull-superseded-E34BZVLH.js → pull-superseded-UZ3MB53B.js} +4 -4
- package/dist/{release-command-7F5TBKO2.js → release-command-USZAWVXO.js} +59 -59
- package/dist/{release-ns-command-EK2ZQ4CC.js → release-ns-command-3XDRQKJD.js} +75 -75
- package/dist/{retry-command-GL5HCMVB.js → retry-command-VZYLYDVX.js} +8 -8
- package/dist/{routes-manifest-YR4ZIMLM.js → routes-manifest-RIZGSOZC.js} +4 -4
- package/dist/{routes-manifest-file-LCIKPDAG.js → routes-manifest-file-V5JJVIPH.js} +7 -7
- package/dist/{secrets-file-LXREYU3M.js → secrets-file-ZA6K4J6W.js} +14 -14
- package/dist/{secrets-fill-command-QHZS3KWM.js → secrets-fill-command-MH53XR45.js} +45 -45
- package/dist/{seed-FRKMDN2Z.js → seed-KEPIS7UZ.js} +5 -5
- package/dist/{source-resolve-BBHYTOXI.js → source-resolve-I55GN6ZC.js} +20 -20
- package/dist/{static-host-7LC7OZR4.js → static-host-JAOT3N3E.js} +5 -5
- package/dist/{status-command-TY253MJT.js → status-command-I6S2TVAY.js} +35 -35
- package/dist/{store-VJ3OS6VO.js → store-YFNDD6GZ.js} +6 -6
- package/dist/{store-Boba9OOh.d.ts → store-xUySg-KR.d.ts} +1 -1
- package/dist/{sync-baseline-DOV5AGIO.js → sync-baseline-3CDL4PKT.js} +7 -5
- package/dist/{sync-contributions-63542VE4.js → sync-contributions-4HHBUGJ4.js} +9 -9
- package/dist/{sync-record-RGHK7EAL.js → sync-record-U65BCPSP.js} +10 -10
- package/dist/{table-OAYGFGEN.js → table-E5YTK7QX.js} +7 -7
- package/dist/{tables-command-PZIVDAH3.js → tables-command-L4JRA7JF.js} +34 -34
- package/dist/{tenant-Y3II4VY3.js → tenant-DAXJ4P4D.js} +10 -10
- package/dist/{tenant-command-G6XON7CF.js → tenant-command-IZ3R4BDG.js} +81 -81
- package/dist/{test-command-3FZOX7O3.js → test-command-GCKZRRSL.js} +33 -33
- package/dist/{tests-KF6N6BZ7.js → tests-CLDZWLKF.js} +6 -6
- package/dist/{token-DJJUW5HY.js → token-XQCIFX7R.js} +9 -9
- package/dist/{toolchain-hooks-7PWCFLSU.js → toolchain-hooks-3ZAAAWPL.js} +6 -6
- package/dist/{toolchain-modules-OTNSKK52.js → toolchain-modules-C53NXT3S.js} +5 -5
- package/dist/{toolchain-peers-KQ7TQ2AR.js → toolchain-peers-AIKWKJH7.js} +8 -8
- package/dist/{tracked-backend-AJCGTO5Y.js → tracked-backend-UHKPD2JU.js} +31 -31
- package/dist/{update-check-4E5L6GAW.js → update-check-KMAC4VEJ.js} +44 -44
- package/dist/{upgrade-command-BXMSQN4C.js → upgrade-command-HQBSUFNE.js} +46 -46
- package/dist/{whoami-command-NLCCIEUM.js → whoami-command-23UXAC6F.js} +12 -12
- package/dist/{workspace-PNMJOXE4.js → workspace-TZMAJ7NF.js} +5 -5
- package/dist/{workspace-binding-J5GWDFRI.js → workspace-binding-RBU22BBX.js} +11 -11
- package/dist/{workspace-command-MHIIY352.js → workspace-command-N4BTEHSW.js} +84 -89
- package/dist/{workspace-env-LLRWCHSA.js → workspace-env-O3RK26FR.js} +11 -11
- package/dist/{workspace-export-BIKAYHWJ.js → workspace-export-UHY22VBI.js} +5 -5
- package/dist/{writable-UOTO4WWC.js → writable-2A6MBSFD.js} +4 -4
- package/dist/{xano-LCI7VWPS.js → xano-6T6L7TTI.js} +5 -5
- package/dist/{xanosdk-import-S7A3CVBN.js → xanosdk-import-WPCHIVP6.js} +6 -6
- package/dist/{xanosdk-project-J4VCFRHP.js → xanosdk-project-TEAXYQZW.js} +12 -12
- package/guides/cli.md +8 -7
- package/guides/codes.md +4 -1
- package/guides/deploying.md +28 -9
- package/llms/errors.md +1 -1
- package/llms/kinds-agent-mcp.md +4 -3
- package/llms/object-kinds.md +14 -0
- package/llms-full.txt +21 -6
- package/llms.txt +2 -2
- package/manifest.json +5 -1
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +2 -2
- package/dist/promote-command-BDRPG6UU.js +0 -147
|
@@ -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,13 +10,13 @@ import {
|
|
|
10
10
|
namesInEnvExample,
|
|
11
11
|
parseEnvFile,
|
|
12
12
|
readWorkspaceEnvFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Y2LKSXFK.js";
|
|
14
14
|
import {
|
|
15
15
|
readTrackedBackend
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SGYDFEXD.js";
|
|
17
17
|
import {
|
|
18
18
|
isExpired
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PFW7WFAT.js";
|
|
20
20
|
import {
|
|
21
21
|
readLockFile,
|
|
22
22
|
readLockFileReport,
|
|
@@ -24,28 +24,28 @@ import {
|
|
|
24
24
|
} from "./chunk-CJDPSCMX.js";
|
|
25
25
|
import {
|
|
26
26
|
isCI
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-NI56XX5Z.js";
|
|
28
28
|
import {
|
|
29
29
|
backendSlotForFlag,
|
|
30
30
|
slotValueMissing
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-VD7YTLWL.js";
|
|
32
32
|
import {
|
|
33
33
|
defaultWorkspaceSecretsPath,
|
|
34
34
|
readSecretsFile
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-CXWCWYX3.js";
|
|
36
36
|
import {
|
|
37
37
|
allLandings,
|
|
38
38
|
getEnvironment,
|
|
39
39
|
readEphemeralState
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-S42TFTM5.js";
|
|
41
41
|
import {
|
|
42
42
|
isUnwritableError,
|
|
43
43
|
unwritableError
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-ULUUOUQX.js";
|
|
45
45
|
import {
|
|
46
46
|
contextFlags,
|
|
47
47
|
setHintContext
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-6S263KTM.js";
|
|
49
49
|
import {
|
|
50
50
|
expandHome
|
|
51
51
|
} from "./chunk-EUUUMY7J.js";
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
inCredentialScope,
|
|
57
57
|
lastResolvedAuth,
|
|
58
58
|
pinnedWorkspaceMissed
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-TR7EOUQE.js";
|
|
60
60
|
import {
|
|
61
61
|
buildSeedContentFiles,
|
|
62
62
|
collectNonPublicSeedValues,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
hostedFileResolver,
|
|
65
65
|
isMissingFile,
|
|
66
66
|
registerSeedHostedFiles
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-GN5SQMIQ.js";
|
|
68
68
|
import {
|
|
69
69
|
holdsProjectManifest,
|
|
70
70
|
projectRootFrom
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
warn,
|
|
136
136
|
withCliPrefix,
|
|
137
137
|
writeJson
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-C6KBZH7M.js";
|
|
139
139
|
import {
|
|
140
140
|
KNOWLEDGE_DIR,
|
|
141
141
|
KNOWLEDGE_FILE,
|
|
@@ -143,12 +143,12 @@ import {
|
|
|
143
143
|
isOsMetadataFile,
|
|
144
144
|
registerAllKinds,
|
|
145
145
|
serializeBundle
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-T3ZVNOJC.js";
|
|
147
147
|
import {
|
|
148
148
|
Xano,
|
|
149
149
|
checkFilterOperands,
|
|
150
150
|
standaloneDefKind
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-6ZFJEJXZ.js";
|
|
152
152
|
import {
|
|
153
153
|
knowledgeBodiesAllEmpty
|
|
154
154
|
} from "./chunk-7FIMUFBP.js";
|
|
@@ -175,7 +175,7 @@ import {
|
|
|
175
175
|
checkUnboundVarRefs,
|
|
176
176
|
checkZipPasswordKeys,
|
|
177
177
|
isQueryExpressionFilter
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-6BOKCTCM.js";
|
|
179
179
|
import {
|
|
180
180
|
FILTER_NAMES
|
|
181
181
|
} from "./chunk-BEXZ4XRV.js";
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
DiagnosticError,
|
|
197
197
|
isDiagnosticError,
|
|
198
198
|
setDiagnosticSink
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-YEH5OIPF.js";
|
|
200
200
|
import {
|
|
201
201
|
suggest
|
|
202
202
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -1526,6 +1526,7 @@ function parseArgs(argv) {
|
|
|
1526
1526
|
let expectLive;
|
|
1527
1527
|
let toProfile;
|
|
1528
1528
|
let allowSharedSchemaChanges = false;
|
|
1529
|
+
let overwrite = false;
|
|
1529
1530
|
let allowBranchDeletion = false;
|
|
1530
1531
|
let backupBranch;
|
|
1531
1532
|
let emit2;
|
|
@@ -1954,6 +1955,8 @@ function parseArgs(argv) {
|
|
|
1954
1955
|
toProfile = value;
|
|
1955
1956
|
} else if (arg === "--allow-shared-schema-changes") {
|
|
1956
1957
|
allowSharedSchemaChanges = true;
|
|
1958
|
+
} else if (arg === "--overwrite") {
|
|
1959
|
+
overwrite = true;
|
|
1957
1960
|
} else if (arg === "--allow-branch-deletion") {
|
|
1958
1961
|
allowBranchDeletion = true;
|
|
1959
1962
|
} else if (arg === "--backup-branch") {
|
|
@@ -2380,6 +2383,7 @@ function parseArgs(argv) {
|
|
|
2380
2383
|
expectLive,
|
|
2381
2384
|
toProfile,
|
|
2382
2385
|
allowSharedSchemaChanges,
|
|
2386
|
+
overwrite,
|
|
2383
2387
|
allowBranchDeletion,
|
|
2384
2388
|
backupBranch,
|
|
2385
2389
|
emit: emit2,
|
|
@@ -2548,7 +2552,7 @@ async function tsxRemedy(file) {
|
|
|
2548
2552
|
);
|
|
2549
2553
|
if (!declared) return fallback;
|
|
2550
2554
|
const { detectPackageManager } = await import("./package-manager-K762W7XT.js");
|
|
2551
|
-
const { inProject } = await import("./init-modules-
|
|
2555
|
+
const { inProject } = await import("./init-modules-AIKWWTVQ.js");
|
|
2552
2556
|
return `This project's package.json declares it, but its dependencies are not installed \u2014 run \`${inProject(dir)}${detectPackageManager(dir)} install\` first.`;
|
|
2553
2557
|
}
|
|
2554
2558
|
if (dirname2(dir) === dir) return fallback;
|
|
@@ -3169,7 +3173,7 @@ async function explainUnreachableWorkspace(err) {
|
|
|
3169
3173
|
let verdict = unreachableVerdicts.get(auth);
|
|
3170
3174
|
if (verdict === void 0) {
|
|
3171
3175
|
verdict = (async () => {
|
|
3172
|
-
const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-
|
|
3176
|
+
const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-RBU22BBX.js");
|
|
3173
3177
|
const all = await readReachableWorkspaces(auth, 15e3);
|
|
3174
3178
|
if (all === void 0 || all.length === 0 || all.some((w) => w.id === auth.workspaceId)) return void 0;
|
|
3175
3179
|
return new UsageError(unreachableWorkspaceMessage(auth, all));
|
|
@@ -3183,7 +3187,7 @@ async function explainRejectedCredential(err) {
|
|
|
3183
3187
|
if (!(err instanceof Error) || resolved === void 0) return err;
|
|
3184
3188
|
const [first = "", ...rest] = err.message.split("\n");
|
|
3185
3189
|
if (!/\(401\b[^)]*\)|\banswered (HTTP )?401\b/.test(first) || /\brejected\b/.test(err.message)) return err;
|
|
3186
|
-
const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-
|
|
3190
|
+
const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-23UXAC6F.js");
|
|
3187
3191
|
const { auth, args } = resolved;
|
|
3188
3192
|
err.message = [first, rejectedRemedy(auth, args), ...rest].join("\n");
|
|
3189
3193
|
if (failureCode(err) === "SDK_ERROR") asRejectedCredential(err, auth, args);
|
|
@@ -3221,10 +3225,10 @@ function withoutSecretValue(args) {
|
|
|
3221
3225
|
}
|
|
3222
3226
|
async function nameLookupRerun(failure) {
|
|
3223
3227
|
if (!(failure instanceof Error) || runArgs?.argv === void 0) return failure;
|
|
3224
|
-
const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-
|
|
3228
|
+
const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-I55GN6ZC.js");
|
|
3225
3229
|
const err = rateLimitedFailure(failure);
|
|
3226
3230
|
if (!(err instanceof LookupFailedError)) return err;
|
|
3227
|
-
const { retryCommand, withheldNote } = await import("./deploy-command-
|
|
3231
|
+
const { retryCommand, withheldNote } = await import("./deploy-command-RXPJAM7M.js");
|
|
3228
3232
|
if (runArgs.command === "env" && runArgs.subcommand === "set") {
|
|
3229
3233
|
const retry2 = retryCommand(withoutSecretValue(runArgs));
|
|
3230
3234
|
return err.withRerun(
|
|
@@ -3279,7 +3283,7 @@ function isPathlessRun(args) {
|
|
|
3279
3283
|
return PATHLESS_COMMANDS.has(command) || PATHLESS_VERBS[command]?.has(args.subcommand ?? "") === true;
|
|
3280
3284
|
}
|
|
3281
3285
|
async function atProjectRoot(args, command, positional) {
|
|
3282
|
-
const { enterProjectRoot } = await import("./xanosdk-project-
|
|
3286
|
+
const { enterProjectRoot } = await import("./xanosdk-project-TEAXYQZW.js");
|
|
3283
3287
|
const entered = enterProjectRoot(args, process.cwd(), positional);
|
|
3284
3288
|
if (entered === void 0) return command(args);
|
|
3285
3289
|
if (isPathlessRun(args)) {
|
|
@@ -3380,7 +3384,7 @@ async function dispatch(rawArgv) {
|
|
|
3380
3384
|
if (typed[0] === "init") {
|
|
3381
3385
|
const web = typed.indexOf("--web", 1);
|
|
3382
3386
|
if (web !== -1) {
|
|
3383
|
-
const { runInitWebCommand } = await import("./init-web-
|
|
3387
|
+
const { runInitWebCommand } = await import("./init-web-MSXDARRF.js");
|
|
3384
3388
|
return runInitWebCommand([...typed.slice(1, web), ...typed.slice(web + 1)]);
|
|
3385
3389
|
}
|
|
3386
3390
|
}
|
|
@@ -3398,7 +3402,7 @@ async function dispatch(rawArgv) {
|
|
|
3398
3402
|
throw unknownSubcommand(helpRequest.command, helpRequest.unknownSubcommand, helpRequest.positionals ?? []);
|
|
3399
3403
|
}
|
|
3400
3404
|
if (argv.includes("--json")) {
|
|
3401
|
-
const { helpDocument } = await import("./commands-
|
|
3405
|
+
const { helpDocument } = await import("./commands-FOHIPDKZ.js");
|
|
3402
3406
|
writeJson({ version: readVersion(), ...helpDocument(helpRequest) });
|
|
3403
3407
|
return;
|
|
3404
3408
|
}
|
|
@@ -3419,7 +3423,7 @@ async function dispatch(rawArgv) {
|
|
|
3419
3423
|
setHintContext(args);
|
|
3420
3424
|
runArgs = args;
|
|
3421
3425
|
noteRunArgs(args);
|
|
3422
|
-
if (isMachineOutput(args)) (await import("./update-check-
|
|
3426
|
+
if (isMachineOutput(args)) (await import("./update-check-KMAC4VEJ.js")).routeUpdateNoticeToDocument();
|
|
3423
3427
|
const { command } = args;
|
|
3424
3428
|
const out = args.out === "-" ? void 0 : args.out;
|
|
3425
3429
|
if (command === void 0) {
|
|
@@ -3440,11 +3444,11 @@ async function dispatch(rawArgv) {
|
|
|
3440
3444
|
return;
|
|
3441
3445
|
}
|
|
3442
3446
|
if (command === "init") {
|
|
3443
|
-
const { runInitCommand } = await import("./init-command-
|
|
3447
|
+
const { runInitCommand } = await import("./init-command-ENAZKPZA.js");
|
|
3444
3448
|
return runInitCommand(args);
|
|
3445
3449
|
}
|
|
3446
3450
|
if (command === "completion") {
|
|
3447
|
-
const { isCompletionShell, runCompletionCommand, COMPLETION_SHELLS, UNSUPPORTED_SHELLS } = await import("./completion-
|
|
3451
|
+
const { isCompletionShell, runCompletionCommand, COMPLETION_SHELLS, UNSUPPORTED_SHELLS } = await import("./completion-XUBGMKGV.js");
|
|
3448
3452
|
const shell = args.positionals[0];
|
|
3449
3453
|
if (shell === void 0) throw missingArgument("shell", { command: "completion" });
|
|
3450
3454
|
if (!isCompletionShell(shell)) {
|
|
@@ -3463,115 +3467,115 @@ async function dispatch(rawArgv) {
|
|
|
3463
3467
|
return runCompletionCommand(shell);
|
|
3464
3468
|
}
|
|
3465
3469
|
if (command === "agent-skill") {
|
|
3466
|
-
const { runAgentSkillCommand } = await import("./agent-skill-command-
|
|
3470
|
+
const { runAgentSkillCommand } = await import("./agent-skill-command-VDSMXH4M.js");
|
|
3467
3471
|
return runAgentSkillCommand(args);
|
|
3468
3472
|
}
|
|
3469
3473
|
if (command === "upgrade") {
|
|
3470
|
-
const { runUpgradeCommand } = await import("./upgrade-command-
|
|
3474
|
+
const { runUpgradeCommand } = await import("./upgrade-command-HQBSUFNE.js");
|
|
3471
3475
|
return runUpgradeCommand(args);
|
|
3472
3476
|
}
|
|
3473
3477
|
if (command === "lock") {
|
|
3474
|
-
const { runLockCommand } = await import("./lock-commands-
|
|
3478
|
+
const { runLockCommand } = await import("./lock-commands-SUPQOEVU.js");
|
|
3475
3479
|
const verb = args.positionals[0];
|
|
3476
|
-
const { isProjectDir } = await import("./xanosdk-project-
|
|
3480
|
+
const { isProjectDir } = await import("./xanosdk-project-TEAXYQZW.js");
|
|
3477
3481
|
const here = verb !== "prune" && args.lockPath === void 0 && args.entryPath === void 0 && existsSync2("xano.lock") && !isProjectDir(process.cwd()) ? { ...args, lockPath: "xano.lock" } : args;
|
|
3478
3482
|
return atProjectRoot(here, runLockCommand, verb === "prune" || verb === "import" ? "verb-path" : void 0);
|
|
3479
3483
|
}
|
|
3480
3484
|
if (command === "login") {
|
|
3481
|
-
const { runLoginCommand } = await import("./login-command-
|
|
3485
|
+
const { runLoginCommand } = await import("./login-command-LTYO3EK7.js");
|
|
3482
3486
|
return runLoginCommand(args);
|
|
3483
3487
|
}
|
|
3484
3488
|
if (command === "logout") {
|
|
3485
|
-
const { runLogoutCommand } = await import("./logout-command-
|
|
3489
|
+
const { runLogoutCommand } = await import("./logout-command-QRRT36DY.js");
|
|
3486
3490
|
return runLogoutCommand(args);
|
|
3487
3491
|
}
|
|
3488
3492
|
if (command === "deploy") {
|
|
3489
|
-
const { runDeployCommand } = await import("./deploy-command-
|
|
3493
|
+
const { runDeployCommand } = await import("./deploy-command-RXPJAM7M.js");
|
|
3490
3494
|
return atProjectRoot(args, runDeployCommand, entryPositional(args));
|
|
3491
3495
|
}
|
|
3492
3496
|
if (command === "ephemeral") {
|
|
3493
|
-
const { runEphemeralCommand } = await import("./ephemeral-command-
|
|
3497
|
+
const { runEphemeralCommand } = await import("./ephemeral-command-T276HQBO.js");
|
|
3494
3498
|
return atProjectRoot(args, runEphemeralCommand);
|
|
3495
3499
|
}
|
|
3496
3500
|
if (command === "local") {
|
|
3497
|
-
const { runLocalEngineCommand } = await import("./local-engine-command-
|
|
3501
|
+
const { runLocalEngineCommand } = await import("./local-engine-command-MXQUXXAA.js");
|
|
3498
3502
|
const readsProject = ["token", "stop", "update", "mcp"].includes(args.subcommand ?? "");
|
|
3499
3503
|
return readsProject ? atProjectRoot(args, runLocalEngineCommand) : runLocalEngineCommand(args);
|
|
3500
3504
|
}
|
|
3501
3505
|
if (command === "env") {
|
|
3502
3506
|
if (args.subcommand === "set" || args.subcommand === "unset") {
|
|
3503
|
-
const { runEnvVarCommand } = await import("./env-var-command-
|
|
3507
|
+
const { runEnvVarCommand } = await import("./env-var-command-ALJITZDL.js");
|
|
3504
3508
|
return atProjectRoot(args, (a) => runEnvVarCommand(a, args.subcommand));
|
|
3505
3509
|
}
|
|
3506
3510
|
if (args.subcommand !== "pull") throw unknownSubcommand("env", args.subcommand);
|
|
3507
|
-
const { runEnvPullCommand } = await import("./env-pull-command-
|
|
3511
|
+
const { runEnvPullCommand } = await import("./env-pull-command-72PQOMKW.js");
|
|
3508
3512
|
return atProjectRoot(args, runEnvPullCommand);
|
|
3509
3513
|
}
|
|
3510
3514
|
if (command === "secrets") {
|
|
3511
3515
|
if (args.subcommand !== "fill") throw unknownSubcommand("secrets", args.subcommand);
|
|
3512
|
-
const { runSecretsFillCommand } = await import("./secrets-fill-command-
|
|
3516
|
+
const { runSecretsFillCommand } = await import("./secrets-fill-command-MH53XR45.js");
|
|
3513
3517
|
return atProjectRoot(args, runSecretsFillCommand, entryPositional(args));
|
|
3514
3518
|
}
|
|
3515
3519
|
if (command === "release") {
|
|
3516
|
-
const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-
|
|
3520
|
+
const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-3XDRQKJD.js");
|
|
3517
3521
|
return atProjectRoot(args, runReleaseNs);
|
|
3518
3522
|
}
|
|
3519
3523
|
if (command === "pull") {
|
|
3520
|
-
const { runPullCommand } = await import("./pull-command-
|
|
3524
|
+
const { runPullCommand } = await import("./pull-command-RPGL6LXP.js");
|
|
3521
3525
|
const first = args.positionals[0];
|
|
3522
3526
|
const file = first !== void 0 && !isKindShaped(first) && (/\.json$/i.test(first) || /[\\/]/.test(first));
|
|
3523
3527
|
return file ? runPullCommand(args) : atProjectRoot(args, runPullCommand);
|
|
3524
3528
|
}
|
|
3525
3529
|
if (command === "generate") {
|
|
3526
|
-
const { runGenerateCommand } = await import("./generate-command-
|
|
3530
|
+
const { runGenerateCommand } = await import("./generate-command-M6LAT4XU.js");
|
|
3527
3531
|
return runGenerateCommand(args);
|
|
3528
3532
|
}
|
|
3529
3533
|
if (command === "tables") {
|
|
3530
|
-
const { runTablesCommand } = await import("./tables-command-
|
|
3534
|
+
const { runTablesCommand } = await import("./tables-command-L4JRA7JF.js");
|
|
3531
3535
|
return atProjectRoot(args, runTablesCommand);
|
|
3532
3536
|
}
|
|
3533
3537
|
if (command === "impersonate") {
|
|
3534
|
-
const { runImpersonateCommand } = await import("./impersonate-command-
|
|
3538
|
+
const { runImpersonateCommand } = await import("./impersonate-command-S6PYDMHQ.js");
|
|
3535
3539
|
return atProjectRoot(args, runImpersonateCommand);
|
|
3536
3540
|
}
|
|
3537
3541
|
if (command === "promote") {
|
|
3538
|
-
const { runPromoteCommand } = await import("./promote-command-
|
|
3542
|
+
const { runPromoteCommand } = await import("./promote-command-B3QODJNT.js");
|
|
3539
3543
|
return atProjectRoot(args, runPromoteCommand);
|
|
3540
3544
|
}
|
|
3541
3545
|
if (command === "publish") {
|
|
3542
|
-
const { runPublishCommand } = await import("./publish-command-
|
|
3546
|
+
const { runPublishCommand } = await import("./publish-command-JOL6LXH6.js");
|
|
3543
3547
|
return atProjectRoot(args, runPublishCommand, "path");
|
|
3544
3548
|
}
|
|
3545
3549
|
if (command === "tenant") {
|
|
3546
|
-
const { runTenantCommand } = await import("./tenant-command-
|
|
3550
|
+
const { runTenantCommand } = await import("./tenant-command-IZ3R4BDG.js");
|
|
3547
3551
|
return atProjectRoot(args, runTenantCommand);
|
|
3548
3552
|
}
|
|
3549
3553
|
if (command === "test") {
|
|
3550
|
-
const { runTestCommand } = await import("./test-command-
|
|
3554
|
+
const { runTestCommand } = await import("./test-command-GCKZRRSL.js");
|
|
3551
3555
|
return atProjectRoot(args, runTestCommand);
|
|
3552
3556
|
}
|
|
3553
3557
|
if (command === "workspace") {
|
|
3554
|
-
const { runWorkspaceCommand } = await import("./workspace-command-
|
|
3558
|
+
const { runWorkspaceCommand } = await import("./workspace-command-N4BTEHSW.js");
|
|
3555
3559
|
return runWorkspaceCommand(args);
|
|
3556
3560
|
}
|
|
3557
3561
|
if (command === "status") {
|
|
3558
|
-
const { runStatusCommand } = await import("./status-command-
|
|
3562
|
+
const { runStatusCommand } = await import("./status-command-I6S2TVAY.js");
|
|
3559
3563
|
return runStatusCommand(args);
|
|
3560
3564
|
}
|
|
3561
3565
|
if (command === "whoami") {
|
|
3562
|
-
const { runWhoamiCommand } = await import("./whoami-command-
|
|
3566
|
+
const { runWhoamiCommand } = await import("./whoami-command-23UXAC6F.js");
|
|
3563
3567
|
return runWhoamiCommand(args);
|
|
3564
3568
|
}
|
|
3565
3569
|
if (command === "profile") {
|
|
3566
|
-
const { runProfileCommand } = await import("./profile-command-
|
|
3570
|
+
const { runProfileCommand } = await import("./profile-command-V6WFDYZW.js");
|
|
3567
3571
|
return runProfileCommand(args);
|
|
3568
3572
|
}
|
|
3569
3573
|
if (command === "marketplace") {
|
|
3570
3574
|
if (!["list", "search", "details", "install", "reinstall", "remove"].includes(args.subcommand ?? "")) {
|
|
3571
3575
|
throw unknownSubcommand("marketplace", args.subcommand);
|
|
3572
3576
|
}
|
|
3573
|
-
const marketplace = await import("./marketplace-command-
|
|
3574
|
-
const { withCatalogueRerun } = await import("./marketplace-resolve-
|
|
3577
|
+
const marketplace = await import("./marketplace-command-POQH5GVT.js");
|
|
3578
|
+
const { withCatalogueRerun } = await import("./marketplace-resolve-PWEYJ2XS.js");
|
|
3575
3579
|
try {
|
|
3576
3580
|
if (args.subcommand === "list") return await marketplace.runMarketplaceListCommand(args);
|
|
3577
3581
|
if (args.subcommand === "search") return await marketplace.runMarketplaceSearchCommand(args);
|
|
@@ -3584,7 +3588,7 @@ async function dispatch(rawArgv) {
|
|
|
3584
3588
|
}
|
|
3585
3589
|
}
|
|
3586
3590
|
if (command === "preflight") {
|
|
3587
|
-
const { runPreflightCommand } = await import("./preflight-command-
|
|
3591
|
+
const { runPreflightCommand } = await import("./preflight-command-QWZL4O2N.js");
|
|
3588
3592
|
return runPreflightCommand(args);
|
|
3589
3593
|
}
|
|
3590
3594
|
if (command !== "compile" && command !== "export" && command !== "paths" && command !== "routes") {
|
|
@@ -3599,12 +3603,12 @@ async function dispatch(rawArgv) {
|
|
|
3599
3603
|
if (command === "paths" || command === "routes") {
|
|
3600
3604
|
return runPaths(args);
|
|
3601
3605
|
}
|
|
3602
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
3606
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-C53NXT3S.js");
|
|
3603
3607
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
3604
3608
|
frozen: args.frozenLock === true || args.check === true
|
|
3605
3609
|
});
|
|
3606
3610
|
if (out && !args.check) {
|
|
3607
|
-
const { assertWritableTarget } = await import("./output-target-
|
|
3611
|
+
const { assertWritableTarget } = await import("./output-target-4XN43WIB.js");
|
|
3608
3612
|
assertWritableTarget(out, "--out");
|
|
3609
3613
|
}
|
|
3610
3614
|
const { bundle: json, bundleObject, omittedSeedTables, lock: lockOutcome, declaredEnvNames } = await compileBundle(args);
|
|
@@ -3622,7 +3626,7 @@ async function dispatch(rawArgv) {
|
|
|
3622
3626
|
"export.hosted-files-omitted"
|
|
3623
3627
|
);
|
|
3624
3628
|
}
|
|
3625
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
3629
|
+
const { runBundleHooks } = await import("./toolchain-hooks-3ZAAAWPL.js");
|
|
3626
3630
|
await runBundleHooks(
|
|
3627
3631
|
toolchain.loaded,
|
|
3628
3632
|
{
|
|
@@ -3635,15 +3639,15 @@ async function dispatch(rawArgv) {
|
|
|
3635
3639
|
},
|
|
3636
3640
|
""
|
|
3637
3641
|
);
|
|
3638
|
-
const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-
|
|
3639
|
-
const { backendDirFor } = await import("./backend-dir-
|
|
3642
|
+
const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-QKZI26F2.js");
|
|
3643
|
+
const { backendDirFor } = await import("./backend-dir-G44PETFO.js");
|
|
3640
3644
|
const declaredSet = new Set(declaredEnvNames);
|
|
3641
3645
|
const templateDir = backendDirFor(args.file);
|
|
3642
3646
|
const ownsTemplate = isWithin(resolve2(args.file), templateDir) && (dirname2(resolve2(args.file)) === templateDir || !existsSync2(join2(templateDir, "index.ts")));
|
|
3643
3647
|
const templateEnv = Object.fromEntries(
|
|
3644
3648
|
Object.entries(bundleEnvNames2(bundleObject)).filter(([name]) => declaredSet.has(name))
|
|
3645
3649
|
);
|
|
3646
|
-
const { skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
3650
|
+
const { skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-IYMFVQRC.js");
|
|
3647
3651
|
const projectSdk = skewedProjectSdk(dirname2(resolve2(args.file)), readVersion());
|
|
3648
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}`);
|
|
3649
3653
|
if (args.check) {
|
|
@@ -3694,15 +3698,15 @@ async function dispatch(rawArgv) {
|
|
|
3694
3698
|
info(`${hadEnvExample ? "Updated" : "Wrote"} ${displayPath(refreshed)} to list the env names this source declares.`);
|
|
3695
3699
|
}
|
|
3696
3700
|
if (out) {
|
|
3697
|
-
const { secretsCarriedBy } = await import("./live-diff-
|
|
3698
|
-
const { writeExportFile } = await import("./output-target-
|
|
3701
|
+
const { secretsCarriedBy } = await import("./live-diff-CGTGOH3S.js");
|
|
3702
|
+
const { writeExportFile } = await import("./output-target-4XN43WIB.js");
|
|
3699
3703
|
const written = lockOutcome?.changed ? `Only ${lockOutcome.path} was written` : void 0;
|
|
3700
3704
|
writeExportFile(out, json + "\n", secretsCarriedBy(bundleObject), "--out", written);
|
|
3701
3705
|
reportWrote(args, out, lockOutcome);
|
|
3702
3706
|
} else {
|
|
3703
3707
|
process.stdout.write(json + "\n");
|
|
3704
|
-
const { secretsCarriedBy } = await import("./live-diff-
|
|
3705
|
-
const { secretsPhrase } = await import("./output-target-
|
|
3708
|
+
const { secretsCarriedBy } = await import("./live-diff-CGTGOH3S.js");
|
|
3709
|
+
const { secretsPhrase } = await import("./output-target-4XN43WIB.js");
|
|
3706
3710
|
const secrets = secretsCarriedBy(bundleObject);
|
|
3707
3711
|
if (secrets.length > 0) {
|
|
3708
3712
|
warn(
|
|
@@ -3721,11 +3725,11 @@ async function refreshAgentGuidance(args) {
|
|
|
3721
3725
|
if (args.noRefresh) return;
|
|
3722
3726
|
if (args.check || args.frozenLock || args.dryRun) return;
|
|
3723
3727
|
try {
|
|
3724
|
-
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
3728
|
+
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-IYMFVQRC.js");
|
|
3725
3729
|
const entryProject = args.file === void 0 ? void 0 : installedSdk(dirname2(resolve2(args.file)))?.root;
|
|
3726
3730
|
const projectDir = existsSync2(join2(process.cwd(), "AGENTS.md")) || entryProject === void 0 ? process.cwd() : entryProject;
|
|
3727
3731
|
const projectSdk = skewedProjectSdk(projectDir, readVersion());
|
|
3728
|
-
const { refreshAgentFiles } = await import("./agent-file-refresh-
|
|
3732
|
+
const { refreshAgentFiles } = await import("./agent-file-refresh-XXCQOTWN.js");
|
|
3729
3733
|
if (projectSdk !== void 0) {
|
|
3730
3734
|
const stale = refreshAgentFiles({ projectDir, sdkVersion: readVersion(), write: false });
|
|
3731
3735
|
const file = args.file;
|
|
@@ -3959,7 +3963,7 @@ async function runPaths(args) {
|
|
|
3959
3963
|
const lockPath = resolveLockPath(args, file);
|
|
3960
3964
|
resetLockOverrides();
|
|
3961
3965
|
const lockModel = existsSync2(lockPath) ? readLockFile(lockPath) : void 0;
|
|
3962
|
-
const toolchain = args.emit !== void 0 ? await (await import("./toolchain-modules-
|
|
3966
|
+
const toolchain = args.emit !== void 0 ? await (await import("./toolchain-modules-C53NXT3S.js")).discoverToolchainPlugins(emitProjectDir(args.emit, file), {
|
|
3963
3967
|
frozen: args.strict === true,
|
|
3964
3968
|
// A module outside its SDK peer range keeps its block and is named,
|
|
3965
3969
|
// as any other skip is; it does not abort every `dev` and `build`.
|
|
@@ -3981,7 +3985,7 @@ async function runPaths(args) {
|
|
|
3981
3985
|
setDiagnosticSink(outerSink);
|
|
3982
3986
|
}
|
|
3983
3987
|
const payload = bundle.payload;
|
|
3984
|
-
const { planRouteManifest } = await import("./routes-manifest-
|
|
3988
|
+
const { planRouteManifest } = await import("./routes-manifest-RIZGSOZC.js");
|
|
3985
3989
|
const plan = planRouteManifest(payload, (kind, name) => lockModel?.objects[lockKey(kind, name)]?.canonical);
|
|
3986
3990
|
const queryCount = plan.rows.length;
|
|
3987
3991
|
const realtimeCount = plan.servers.length + plan.unresolvedServers.length;
|
|
@@ -4005,7 +4009,7 @@ async function runPaths(args) {
|
|
|
4005
4009
|
);
|
|
4006
4010
|
}
|
|
4007
4011
|
if (unresolved.length > 0) {
|
|
4008
|
-
const { unresolvedCanonicalMessage } = await import("./routes-manifest-
|
|
4012
|
+
const { unresolvedCanonicalMessage } = await import("./routes-manifest-RIZGSOZC.js");
|
|
4009
4013
|
const why = `${args.emit} was not written: ${unresolvedCanonicalMessage(unresolved, shellWord(file))}`;
|
|
4010
4014
|
if (args.strict) throw new Error(`--strict: ${why}`);
|
|
4011
4015
|
warn(why, "routes.not-written");
|
|
@@ -4017,7 +4021,7 @@ async function runPaths(args) {
|
|
|
4017
4021
|
if (machine && args.emit !== "-") writeJson({ emit: resolve2(args.emit), written: false, routes: 0, channels: 0 });
|
|
4018
4022
|
return;
|
|
4019
4023
|
}
|
|
4020
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
4024
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-V5JJVIPH.js");
|
|
4021
4025
|
const loaded = toolchain?.loaded ?? [];
|
|
4022
4026
|
const skipped = toolchain?.skipped ?? [];
|
|
4023
4027
|
const rendered = renderManifestFile(
|
|
@@ -4041,7 +4045,7 @@ async function runPaths(args) {
|
|
|
4041
4045
|
writeData(process.stdout, source);
|
|
4042
4046
|
return;
|
|
4043
4047
|
}
|
|
4044
|
-
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
4048
|
+
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-IYMFVQRC.js");
|
|
4045
4049
|
const emitDir = dirname2(resolve2(args.emit));
|
|
4046
4050
|
const projectSdk = skewedProjectSdk(installedSdk(emitDir) !== void 0 ? emitDir : dirname2(resolve2(file)), readVersion());
|
|
4047
4051
|
if (projectSdk !== void 0 && existsSync2(args.emit) && readFileSync3(args.emit, "utf8") !== source) {
|
|
@@ -4114,7 +4118,7 @@ async function runPaths(args) {
|
|
|
4114
4118
|
}
|
|
4115
4119
|
}
|
|
4116
4120
|
if (unresolved.length > 0) {
|
|
4117
|
-
const { unresolvedCanonicalMessage } = await import("./routes-manifest-
|
|
4121
|
+
const { unresolvedCanonicalMessage } = await import("./routes-manifest-RIZGSOZC.js");
|
|
4118
4122
|
throw new UsageError(`${commandLabel(args)}: ${unresolvedCanonicalMessage(unresolved, shellWord(file))}`);
|
|
4119
4123
|
}
|
|
4120
4124
|
}
|
|
@@ -4122,7 +4126,7 @@ async function refreshRouteManifest(entry, emit2, projectDir) {
|
|
|
4122
4126
|
resetLockOverrides();
|
|
4123
4127
|
const lockPath = join2(dirname2(resolve2(entry)), "xano.lock");
|
|
4124
4128
|
const lockModel = existsSync2(lockPath) ? readLockFile(lockPath) : void 0;
|
|
4125
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
4129
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-C53NXT3S.js");
|
|
4126
4130
|
const toolchain = existsSync2(emit2) ? await discoverToolchainPlugins(projectDir, { frozen: false, configuring: true, peerSkew: "skip" }) : void 0;
|
|
4127
4131
|
const def = await loadDefault(entry);
|
|
4128
4132
|
if (!Xano.isXano(def)) return { manifest: "absent", lockOrphans: 0 };
|
|
@@ -4134,12 +4138,12 @@ async function refreshRouteManifest(entry, emit2, projectDir) {
|
|
|
4134
4138
|
} finally {
|
|
4135
4139
|
setDiagnosticSink(previousSink);
|
|
4136
4140
|
}
|
|
4137
|
-
const { pulledIdentities } = await import("./pull-command-
|
|
4141
|
+
const { pulledIdentities } = await import("./pull-command-RPGL6LXP.js");
|
|
4138
4142
|
const live = pulledIdentities(payload);
|
|
4139
4143
|
const lockOrphans = lockModel === void 0 ? 0 : Object.keys(lockModel.objects).filter((k) => k !== WORKSPACE_KEY && !live.has(k)).length;
|
|
4140
4144
|
if (!existsSync2(emit2)) return { manifest: "absent", lockOrphans };
|
|
4141
|
-
const { planRouteManifest, RouteManifestError } = await import("./routes-manifest-
|
|
4142
|
-
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-V5JJVIPH.js");
|
|
4143
4147
|
const plan = planRouteManifest(payload, (kind, name) => lockModel?.objects[lockKey(kind, name)]?.canonical);
|
|
4144
4148
|
if (plan.unresolved.length > 0) return { manifest: "skipped", lockOrphans };
|
|
4145
4149
|
const current = readFileSync3(emit2, "utf8");
|
|
@@ -4663,7 +4667,7 @@ async function refineGonePullHint(err) {
|
|
|
4663
4667
|
if (offer === void 0 || auth === void 0 || !(err instanceof Error) || !err.message.includes(offer.clause)) return;
|
|
4664
4668
|
let gone;
|
|
4665
4669
|
try {
|
|
4666
|
-
const { lookupEphemeral } = await import("./source-resolve-
|
|
4670
|
+
const { lookupEphemeral } = await import("./source-resolve-I55GN6ZC.js");
|
|
4667
4671
|
gone = await lookupEphemeral(auth, offer.name) === null;
|
|
4668
4672
|
} catch {
|
|
4669
4673
|
return;
|
|
@@ -4867,4 +4871,4 @@ export {
|
|
|
4867
4871
|
docTokenRefusalIfReplaced,
|
|
4868
4872
|
envRefusalIfReplaced
|
|
4869
4873
|
};
|
|
4870
|
-
//# sourceMappingURL=chunk-
|
|
4874
|
+
//# sourceMappingURL=chunk-U7XSQXOA.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
UsageError,
|
|
6
6
|
displayPath
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-C6KBZH7M.js";
|
|
8
8
|
|
|
9
9
|
// src/emit/writable.ts
|
|
10
10
|
import { accessSync, constants, existsSync, statSync } from "fs";
|
|
@@ -63,4 +63,4 @@ export {
|
|
|
63
63
|
unreadableError,
|
|
64
64
|
assertReadWritable
|
|
65
65
|
};
|
|
66
|
-
//# sourceMappingURL=chunk-
|
|
66
|
+
//# sourceMappingURL=chunk-ULUUOUQX.js.map
|