@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,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readDeployed
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import {
|
|
5
|
-
isProjectDir
|
|
6
|
-
} from "./chunk-CCU5CCRX.js";
|
|
3
|
+
} from "./chunk-PBK257CI.js";
|
|
7
4
|
import {
|
|
8
5
|
LookupFailedError,
|
|
9
6
|
SourceError,
|
|
10
7
|
resolveSource
|
|
11
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7UWUEUVJ.js";
|
|
9
|
+
import {
|
|
10
|
+
isProjectDir
|
|
11
|
+
} from "./chunk-C2I4GC36.js";
|
|
12
12
|
import {
|
|
13
13
|
NotSignedInError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QE2GNFMP.js";
|
|
15
15
|
import {
|
|
16
16
|
otherCredentialRefusal
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QRKBFXIB.js";
|
|
18
18
|
import {
|
|
19
19
|
getEngineRecord
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5Y5HWQ2P.js";
|
|
21
21
|
import {
|
|
22
22
|
commandPath,
|
|
23
23
|
parseSlot,
|
|
24
24
|
refusedKind,
|
|
25
25
|
slotValueMissing
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-VD7YTLWL.js";
|
|
27
27
|
import {
|
|
28
28
|
getEnvironment,
|
|
29
29
|
readEphemeralState,
|
|
30
30
|
unreadableEphemeralState
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-S42TFTM5.js";
|
|
32
32
|
import {
|
|
33
33
|
ENV_CREDENTIAL_VARS,
|
|
34
34
|
ORIGIN_READ_ONLY_BY_REFRESH,
|
|
@@ -36,10 +36,7 @@ import {
|
|
|
36
36
|
credentialFileFlagFor,
|
|
37
37
|
recordedByEnvCredential,
|
|
38
38
|
typedCredentialFlags
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import {
|
|
41
|
-
backendDirIn
|
|
42
|
-
} from "./chunk-TTEIDD5Q.js";
|
|
39
|
+
} from "./chunk-6S263KTM.js";
|
|
43
40
|
import {
|
|
44
41
|
globalAuthFilePath,
|
|
45
42
|
localAuthFilePath,
|
|
@@ -47,13 +44,16 @@ import {
|
|
|
47
44
|
profileAddCommand,
|
|
48
45
|
readCredentialFile,
|
|
49
46
|
recordedCredentialPath
|
|
50
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-IB6SKACE.js";
|
|
48
|
+
import {
|
|
49
|
+
backendDirIn
|
|
50
|
+
} from "./chunk-W2BVP27L.js";
|
|
51
51
|
import {
|
|
52
52
|
UsageError,
|
|
53
53
|
displayPath,
|
|
54
54
|
pastePath,
|
|
55
55
|
sourceSpellings
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-C6KBZH7M.js";
|
|
57
57
|
import {
|
|
58
58
|
shellQuote
|
|
59
59
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -86,7 +86,7 @@ async function selectBackend(slot, raw, ctx) {
|
|
|
86
86
|
}
|
|
87
87
|
const decided = decide({ cwd, pointer, state, scope, engineRecorded: getEngineRecord(cwd, env) !== void 0 }, slot);
|
|
88
88
|
if ("refusal" in decided) {
|
|
89
|
-
const { reachableFirst } = await import("./env-target-
|
|
89
|
+
const { reachableFirst } = await import("./env-target-F75YF25S.js");
|
|
90
90
|
throw await reachableFirst(decided.refusal, scope);
|
|
91
91
|
}
|
|
92
92
|
refuseUnservable(slot, decided.kind);
|
|
@@ -368,4 +368,4 @@ export {
|
|
|
368
368
|
NothingTrackedError,
|
|
369
369
|
nestedBackendEntries
|
|
370
370
|
};
|
|
371
|
-
//# sourceMappingURL=chunk-
|
|
371
|
+
//# sourceMappingURL=chunk-S3STXOAO.js.map
|
|
@@ -1,22 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createOperation,
|
|
3
3
|
runOperation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CRE7P7P2.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchWorkspaceBundle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZQ5WZWHF.js";
|
|
8
8
|
import {
|
|
9
9
|
assertReleaseIdentitiesFree,
|
|
10
10
|
pinnedCanonicalGuids,
|
|
11
11
|
setLiveRollback
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YG7S3N7P.js";
|
|
13
|
+
import {
|
|
14
|
+
objectDigests,
|
|
15
|
+
syncDigests
|
|
16
|
+
} from "./chunk-6YOH2L3G.js";
|
|
17
|
+
import {
|
|
18
|
+
asWorkspaceArchive,
|
|
19
|
+
resolveProjectEntry
|
|
20
|
+
} from "./chunk-XYTVP4WI.js";
|
|
13
21
|
import {
|
|
14
22
|
liveBranchMismatch,
|
|
15
23
|
liveMismatch
|
|
16
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NFZUXS7D.js";
|
|
17
25
|
import {
|
|
18
26
|
confirm
|
|
19
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HQPL34O6.js";
|
|
20
28
|
import {
|
|
21
29
|
CONSTRAINT_FIX,
|
|
22
30
|
CONSTRAINT_PHRASE,
|
|
@@ -35,35 +43,27 @@ import {
|
|
|
35
43
|
releaseTableEffects,
|
|
36
44
|
renameHint,
|
|
37
45
|
tableEffectsPayload
|
|
38
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-HTP2CLRQ.js";
|
|
39
47
|
import {
|
|
40
48
|
tableRowCounter
|
|
41
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-YP76ZCQ5.js";
|
|
42
50
|
import {
|
|
43
51
|
landingLockPath,
|
|
44
52
|
recordForeignLanding
|
|
45
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-S2F7KVUL.js";
|
|
46
54
|
import {
|
|
47
55
|
recordSync
|
|
48
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-R3LANPQZ.js";
|
|
49
57
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import {
|
|
54
|
-
asWorkspaceArchive,
|
|
55
|
-
resolveProjectEntry
|
|
56
|
-
} from "./chunk-Z4ZGTCCD.js";
|
|
58
|
+
SettledWriteFailure,
|
|
59
|
+
classifyFailure
|
|
60
|
+
} from "./chunk-77GV772V.js";
|
|
57
61
|
import {
|
|
58
62
|
exportWorkspaceBundle
|
|
59
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-QC3MKMDK.js";
|
|
60
64
|
import {
|
|
61
65
|
decodeWorkspaceArchive
|
|
62
66
|
} from "./chunk-3DRXWLJ5.js";
|
|
63
|
-
import {
|
|
64
|
-
SettledWriteFailure,
|
|
65
|
-
classifyFailure
|
|
66
|
-
} from "./chunk-JRVQ7M7W.js";
|
|
67
67
|
import {
|
|
68
68
|
BranchTakenError,
|
|
69
69
|
assertBranchAbsent,
|
|
@@ -74,16 +74,16 @@ import {
|
|
|
74
74
|
listBranchListing,
|
|
75
75
|
liveBranchLabel,
|
|
76
76
|
setLiveBranch
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-75MKIQON.js";
|
|
78
78
|
import {
|
|
79
79
|
envValuesOf
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-I53OTC3O.js";
|
|
81
81
|
import {
|
|
82
82
|
assertOneName
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-XQO4A4Q4.js";
|
|
84
84
|
import {
|
|
85
85
|
resolveSource
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-7UWUEUVJ.js";
|
|
87
87
|
import {
|
|
88
88
|
ReleaseHttpError,
|
|
89
89
|
UNPROMOTABLE_RELEASE_PARTS,
|
|
@@ -92,27 +92,27 @@ import {
|
|
|
92
92
|
promotableReleaseName,
|
|
93
93
|
unpromotableReleasePart,
|
|
94
94
|
untenantDeployableReleasePart
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-7JKNWDYN.js";
|
|
96
96
|
import {
|
|
97
97
|
getAccessToken
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-QE2GNFMP.js";
|
|
99
|
+
import {
|
|
100
|
+
readLockFile
|
|
101
|
+
} from "./chunk-CJDPSCMX.js";
|
|
99
102
|
import {
|
|
100
103
|
pipedYes,
|
|
101
104
|
retryCommand,
|
|
102
105
|
withheldNote
|
|
103
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-C2GHFADU.js";
|
|
104
107
|
import {
|
|
105
108
|
contextFlags
|
|
106
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-6S263KTM.js";
|
|
107
110
|
import {
|
|
108
111
|
shellWord
|
|
109
112
|
} from "./chunk-FWD7AL6N.js";
|
|
110
|
-
import {
|
|
111
|
-
readLockFile
|
|
112
|
-
} from "./chunk-CJDPSCMX.js";
|
|
113
113
|
import {
|
|
114
114
|
withoutReadAftermath
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-TR7EOUQE.js";
|
|
116
116
|
import {
|
|
117
117
|
CliError,
|
|
118
118
|
LocalFileNotFoundError,
|
|
@@ -130,16 +130,16 @@ import {
|
|
|
130
130
|
success,
|
|
131
131
|
warn,
|
|
132
132
|
withoutUrls
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-C6KBZH7M.js";
|
|
134
134
|
import {
|
|
135
135
|
envNamesRead
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-6BOKCTCM.js";
|
|
137
137
|
import {
|
|
138
138
|
safeNames
|
|
139
139
|
} from "./chunk-GSGDWJB5.js";
|
|
140
140
|
import {
|
|
141
141
|
setDiagnosticSink
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-YEH5OIPF.js";
|
|
143
143
|
import {
|
|
144
144
|
sdkKindName2 as sdkKindName
|
|
145
145
|
} from "./chunk-5KJBWIDZ.js";
|
|
@@ -299,7 +299,7 @@ async function verifyLanding(auth, opts) {
|
|
|
299
299
|
} catch (err) {
|
|
300
300
|
return unverified(shortReason(err));
|
|
301
301
|
}
|
|
302
|
-
const { compareToLive, declaredLabels } = await import("./live-diff-
|
|
302
|
+
const { compareToLive, declaredLabels } = await import("./live-diff-CGTGOH3S.js");
|
|
303
303
|
let result;
|
|
304
304
|
try {
|
|
305
305
|
result = compareToLive(declared, landedBundle, void 0, { sample: "all" });
|
|
@@ -472,7 +472,7 @@ async function runPromoteCommand(args) {
|
|
|
472
472
|
discloseWriteTarget(destination);
|
|
473
473
|
const lockPath = landingLockPath(args, args.entryPath === void 0 ? {} : { entryFile: args.entryPath });
|
|
474
474
|
if (lockPath === void 0 && args.noLock !== true) {
|
|
475
|
-
const { nestedBackendEntries } = await import("./tracked-backend-
|
|
475
|
+
const { nestedBackendEntries } = await import("./tracked-backend-FQFXTTYZ.js");
|
|
476
476
|
const nested = nestedBackendEntries(process.cwd());
|
|
477
477
|
if (nested.length > 0) {
|
|
478
478
|
warn(
|
|
@@ -935,7 +935,7 @@ Nothing was switched. Serve it deliberately with \`xanosdk workspace branch set-
|
|
|
935
935
|
}
|
|
936
936
|
}
|
|
937
937
|
async function unansweredBranchRead(err, args, what) {
|
|
938
|
-
const { LookupFailedError, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-
|
|
938
|
+
const { LookupFailedError, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-LNRUITLS.js");
|
|
939
939
|
const transport = isTransportFailure(err);
|
|
940
940
|
if (!transport && !isServerError(err)) return err;
|
|
941
941
|
const first = what !== void 0 ? `could not read ${what}` : ((err instanceof Error ? err.message : String(err)).trim().split("\n")[0] ?? "").replace(/[.:]$/, "");
|
|
@@ -961,4 +961,4 @@ export {
|
|
|
961
961
|
reportNotRun,
|
|
962
962
|
runPromoteCommand
|
|
963
963
|
};
|
|
964
|
-
//# sourceMappingURL=chunk-
|
|
964
|
+
//# sourceMappingURL=chunk-S3WN6GGO.js.map
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
} from "./chunk-QO6BVGS5.js";
|
|
8
8
|
import {
|
|
9
9
|
unreadableError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ULUUOUQX.js";
|
|
11
|
+
import {
|
|
12
|
+
ensureGitignored
|
|
13
|
+
} from "./chunk-IB6SKACE.js";
|
|
11
14
|
import {
|
|
12
15
|
destinationKey,
|
|
13
16
|
nextLandedRecord
|
|
14
17
|
} from "./chunk-MFWF2NZJ.js";
|
|
15
|
-
import {
|
|
16
|
-
ensureGitignored
|
|
17
|
-
} from "./chunk-M5CSVB23.js";
|
|
18
18
|
import {
|
|
19
19
|
atomicWrite
|
|
20
20
|
} from "./chunk-LLNZGEFK.js";
|
|
@@ -301,4 +301,4 @@ export {
|
|
|
301
301
|
recordEphemeralLanding,
|
|
302
302
|
clearEphemeralLanding
|
|
303
303
|
};
|
|
304
|
-
//# sourceMappingURL=chunk-
|
|
304
|
+
//# sourceMappingURL=chunk-S42TFTM5.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
notJsonError,
|
|
9
9
|
parseJsonAnswer,
|
|
10
10
|
unexpectedAnswerError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TR7EOUQE.js";
|
|
12
12
|
|
|
13
13
|
// src/deploy/answer-shape.ts
|
|
14
14
|
function isRecord(v) {
|
|
@@ -94,4 +94,4 @@ export {
|
|
|
94
94
|
multidocAnswer,
|
|
95
95
|
writeTransportFailure
|
|
96
96
|
};
|
|
97
|
-
//# sourceMappingURL=chunk-
|
|
97
|
+
//# sourceMappingURL=chunk-TG65NWUR.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-X2NL4KUO.js";
|
|
7
7
|
import {
|
|
8
8
|
UsageError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-C6KBZH7M.js";
|
|
10
10
|
|
|
11
11
|
// src/util/last-credential.ts
|
|
12
12
|
import { AsyncLocalStorage } from "async_hooks";
|
|
@@ -650,4 +650,4 @@ export {
|
|
|
650
650
|
fetchReadOrExplain,
|
|
651
651
|
retryingFetch
|
|
652
652
|
};
|
|
653
|
-
//# sourceMappingURL=chunk-
|
|
653
|
+
//# sourceMappingURL=chunk-TR7EOUQE.js.map
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
keptDuplicates,
|
|
3
3
|
replacedRegistrations,
|
|
4
4
|
reportSuperseded
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-76UAME77.js";
|
|
6
6
|
import {
|
|
7
7
|
rerenderEnvExample
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-P5W6DBV6.js";
|
|
9
9
|
import {
|
|
10
10
|
carriedSeedRows,
|
|
11
11
|
decodeBundle,
|
|
@@ -17,58 +17,62 @@ import {
|
|
|
17
17
|
verifyPulledTree,
|
|
18
18
|
withSourceIdentities,
|
|
19
19
|
writeDocumentationTokens
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ZQ5WZWHF.js";
|
|
21
21
|
import {
|
|
22
22
|
ROUTES_MANIFEST_BASENAME
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-O376UAZS.js";
|
|
24
|
+
import {
|
|
25
|
+
syncDigests
|
|
26
|
+
} from "./chunk-6YOH2L3G.js";
|
|
27
|
+
import {
|
|
28
|
+
fetchSourceArchive
|
|
29
|
+
} from "./chunk-XYTVP4WI.js";
|
|
24
30
|
import {
|
|
25
31
|
confirm
|
|
26
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-HQPL34O6.js";
|
|
27
33
|
import {
|
|
28
34
|
recordSync,
|
|
29
35
|
syncBranchLabel
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import {
|
|
32
|
-
syncDigests
|
|
33
|
-
} from "./chunk-JI3BLXWQ.js";
|
|
34
|
-
import {
|
|
35
|
-
fetchSourceArchive
|
|
36
|
-
} from "./chunk-Z4ZGTCCD.js";
|
|
36
|
+
} from "./chunk-R3LANPQZ.js";
|
|
37
37
|
import {
|
|
38
38
|
decodeWorkspaceArchive,
|
|
39
39
|
encodeWorkspaceArchive
|
|
40
40
|
} from "./chunk-3DRXWLJ5.js";
|
|
41
41
|
import {
|
|
42
42
|
ensureSecretPathGitignored
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-JG642U5D.js";
|
|
44
44
|
import {
|
|
45
45
|
readVersion,
|
|
46
46
|
refreshAgentGuidance
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-ZJCHS7FM.js";
|
|
48
48
|
import {
|
|
49
49
|
WORKSPACE_ENV_BASENAME,
|
|
50
50
|
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
51
51
|
namesInEnvExample,
|
|
52
52
|
readWorkspaceEnvFile
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-M3RLLT4O.js";
|
|
54
54
|
import {
|
|
55
55
|
memoCredential,
|
|
56
56
|
refuseProfileForLocal,
|
|
57
57
|
selectBackend
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-S3STXOAO.js";
|
|
59
59
|
import {
|
|
60
60
|
getAccessToken
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-QE2GNFMP.js";
|
|
62
|
+
import {
|
|
63
|
+
readLockFile,
|
|
64
|
+
writeLockFile
|
|
65
|
+
} from "./chunk-CJDPSCMX.js";
|
|
62
66
|
import {
|
|
63
67
|
requireBackendSlot
|
|
64
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-VD7YTLWL.js";
|
|
65
69
|
import {
|
|
66
70
|
contextFlags
|
|
67
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-6S263KTM.js";
|
|
68
72
|
import {
|
|
69
73
|
backendDirIn,
|
|
70
74
|
resolveBackendDir
|
|
71
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-W2BVP27L.js";
|
|
72
76
|
import {
|
|
73
77
|
CODEGEN_MARKER,
|
|
74
78
|
DECODE_MARKER,
|
|
@@ -83,15 +87,14 @@ import {
|
|
|
83
87
|
readDecodeRecord,
|
|
84
88
|
removeEmptiedDirs,
|
|
85
89
|
removeFiles
|
|
86
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-HKLBDSML.js";
|
|
87
91
|
import {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
} from "./chunk-CJDPSCMX.js";
|
|
92
|
+
holdsProjectManifest
|
|
93
|
+
} from "./chunk-HU7F56VF.js";
|
|
91
94
|
import {
|
|
92
95
|
decodeMarkerHead,
|
|
93
96
|
decodeMarkerWith
|
|
94
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-5GIOCDUM.js";
|
|
95
98
|
import {
|
|
96
99
|
CliError,
|
|
97
100
|
UsageError,
|
|
@@ -104,7 +107,7 @@ import {
|
|
|
104
107
|
terminalText,
|
|
105
108
|
warn,
|
|
106
109
|
writeJson
|
|
107
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-C6KBZH7M.js";
|
|
108
111
|
import {
|
|
109
112
|
WORKSPACE_SECRETS_BASENAME
|
|
110
113
|
} from "./chunk-3JDU4VRL.js";
|
|
@@ -248,7 +251,7 @@ function projectBackendAbove(cwd) {
|
|
|
248
251
|
const parent = dirname(dir);
|
|
249
252
|
if (parent === dir) return void 0;
|
|
250
253
|
dir = parent;
|
|
251
|
-
const backend =
|
|
254
|
+
const backend = holdsProjectManifest(dir) ? backendDirIn(dir) : join(dir, XANO_DIR);
|
|
252
255
|
if (existsSync(join(backend, "index.ts"))) return relative(cwd, backend).split(sep).join("/");
|
|
253
256
|
}
|
|
254
257
|
}
|
|
@@ -316,7 +319,7 @@ async function runPullCommand(args) {
|
|
|
316
319
|
});
|
|
317
320
|
refuseDuplicateSourceGuids(project);
|
|
318
321
|
const seedRows = carriedSeedRows(fetched.archive, bundle.payload);
|
|
319
|
-
const { discoverManifestModules } = await import("./routes-manifest-file-
|
|
322
|
+
const { discoverManifestModules } = await import("./routes-manifest-file-UHVVL2YB.js");
|
|
320
323
|
const modules = await discoverManifestModules(cwd, join(cwd, backendDir, ROUTES_MANIFEST_BASENAME), readVersion());
|
|
321
324
|
const placed = placeGeneratedFiles(project, backendDir, void 0, void 0, modules);
|
|
322
325
|
const settings = source.kind === "release" ? keepProjectSettings(placed, backendDir, join(cwd, backendDir)) : { files: placed, kept: false, lost: [], from: WORKSPACE_SETTINGS_FILE };
|
|
@@ -437,7 +440,7 @@ async function runPullCommand(args) {
|
|
|
437
440
|
);
|
|
438
441
|
}
|
|
439
442
|
if (args.yes !== true) {
|
|
440
|
-
const { yesRerun } = await import("./retry-command-
|
|
443
|
+
const { yesRerun } = await import("./retry-command-VZYLYDVX.js");
|
|
441
444
|
const { rerun, note } = yesRerun(args, "pull");
|
|
442
445
|
const ok = await confirm(`Replace ${backendDir}/ from ${fetched.label}?`, {
|
|
443
446
|
flag: "--yes",
|
|
@@ -912,7 +915,7 @@ function envFillRemedy(kind, args, one = false) {
|
|
|
912
915
|
return `fill ${them} in, or run \`xanosdk env pull${from}${flags}\`.`;
|
|
913
916
|
}
|
|
914
917
|
async function needsYes(args, head, why, details) {
|
|
915
|
-
const { yesRerun } = await import("./retry-command-
|
|
918
|
+
const { yesRerun } = await import("./retry-command-VZYLYDVX.js");
|
|
916
919
|
const { rerun, note } = yesRerun(args, "pull");
|
|
917
920
|
return new CliError("SDK_USAGE", `${head} Re-run as \`${rerun}\` ${why}.${note}`, {
|
|
918
921
|
exitCode: 1,
|
|
@@ -941,4 +944,4 @@ export {
|
|
|
941
944
|
projectWorkspaceName,
|
|
942
945
|
envFillRemedy
|
|
943
946
|
};
|
|
944
|
-
//# sourceMappingURL=chunk-
|
|
947
|
+
//# sourceMappingURL=chunk-U7XNJ33Q.js.map
|
|
@@ -4,24 +4,24 @@ import {
|
|
|
4
4
|
managedBlockVersion,
|
|
5
5
|
renderAgentsMd,
|
|
6
6
|
upsertManagedBlock
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HKLBDSML.js";
|
|
8
8
|
import {
|
|
9
9
|
detectPackageManager
|
|
10
10
|
} from "./chunk-DNBP4GJN.js";
|
|
11
|
+
import {
|
|
12
|
+
allFrontendPresets
|
|
13
|
+
} from "./chunk-BRANWM4U.js";
|
|
11
14
|
import {
|
|
12
15
|
README_PATH,
|
|
13
|
-
|
|
16
|
+
allIconLibraries,
|
|
14
17
|
readmeBuiltWithVersion,
|
|
15
18
|
refreshReadmeBuiltWith
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
allIconLibraries
|
|
19
|
-
} from "./chunk-M6ZFSTIZ.js";
|
|
19
|
+
} from "./chunk-5GIOCDUM.js";
|
|
20
20
|
import {
|
|
21
21
|
projectFileCli,
|
|
22
22
|
projectSdkDir,
|
|
23
23
|
warn
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-C6KBZH7M.js";
|
|
25
25
|
import {
|
|
26
26
|
DEFAULT_DARK_MODE
|
|
27
27
|
} from "./chunk-TFFGOFVZ.js";
|
|
@@ -107,6 +107,10 @@ function detectDarkMode(projectDir) {
|
|
|
107
107
|
}
|
|
108
108
|
return void 0;
|
|
109
109
|
}
|
|
110
|
+
function detectProjectFrontend(projectDir) {
|
|
111
|
+
if (!existsSync(join(projectDir, "frontend"))) return null;
|
|
112
|
+
return detectFrontendGuidance(projectDir);
|
|
113
|
+
}
|
|
110
114
|
function detectFrontendGuidance(projectDir) {
|
|
111
115
|
const preset = detectFrontendPreset(projectDir);
|
|
112
116
|
if (preset === void 0) return void 0;
|
|
@@ -163,7 +167,7 @@ function managedFiles(opts) {
|
|
|
163
167
|
existing,
|
|
164
168
|
renderAgentsMd(opts.appName ?? appNameFor(opts.projectDir), opts.mode ?? guidanceModeFor(opts.projectDir), {
|
|
165
169
|
version: opts.sdkVersion,
|
|
166
|
-
frontend: opts.frontend
|
|
170
|
+
frontend: opts.frontend !== void 0 ? opts.frontend : detectProjectFrontend(opts.projectDir),
|
|
167
171
|
cli: projectFileCli(opts.projectDir, manager),
|
|
168
172
|
sdkDir: projectSdkDir(opts.projectDir, manager)
|
|
169
173
|
})
|
|
@@ -205,4 +209,4 @@ export {
|
|
|
205
209
|
isCI,
|
|
206
210
|
refreshAgentFiles
|
|
207
211
|
};
|
|
208
|
-
//# sourceMappingURL=chunk-
|
|
212
|
+
//# sourceMappingURL=chunk-UKJFCEMI.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
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
contextFlags
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6S263KTM.js";
|
|
4
4
|
import {
|
|
5
5
|
backendDirFor,
|
|
6
6
|
backendDirIn
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
projectRootFrom
|
|
10
|
-
} from "./chunk-ROY4YAEQ.js";
|
|
7
|
+
} from "./chunk-W2BVP27L.js";
|
|
11
8
|
import {
|
|
12
9
|
atomicWrite
|
|
13
10
|
} from "./chunk-LLNZGEFK.js";
|
|
11
|
+
import {
|
|
12
|
+
projectRootFrom
|
|
13
|
+
} from "./chunk-HU7F56VF.js";
|
|
14
14
|
import {
|
|
15
15
|
LocalFileNotFoundError,
|
|
16
16
|
displayPath,
|
|
17
17
|
relForwardSlash
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-C6KBZH7M.js";
|
|
19
19
|
import {
|
|
20
20
|
normalizeDocumentationScopeKey
|
|
21
21
|
} from "./chunk-3JDU4VRL.js";
|
|
@@ -127,4 +127,4 @@ export {
|
|
|
127
127
|
entryWordOf,
|
|
128
128
|
readSecretsFile
|
|
129
129
|
};
|
|
130
|
-
//# sourceMappingURL=chunk-
|
|
130
|
+
//# sourceMappingURL=chunk-UU7EEREQ.js.map
|