@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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
questionOrCancel
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HQPL34O6.js";
|
|
4
4
|
import {
|
|
5
5
|
style,
|
|
6
6
|
terminalText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-C6KBZH7M.js";
|
|
8
8
|
|
|
9
9
|
// src/emit/plugin-prompt.ts
|
|
10
10
|
import { createInterface } from "readline/promises";
|
|
@@ -54,4 +54,4 @@ export {
|
|
|
54
54
|
promptPluginQuestion,
|
|
55
55
|
pluginPrompter
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=chunk-
|
|
57
|
+
//# sourceMappingURL=chunk-ZO3QWFNV.js.map
|
|
@@ -1,26 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
+
backendShellFiles,
|
|
3
|
+
deployNextCommand,
|
|
4
|
+
ephemeralNextStep,
|
|
2
5
|
loginNextStep,
|
|
3
6
|
planProfilePin,
|
|
4
7
|
projectCli,
|
|
5
8
|
projectShellFiles,
|
|
9
|
+
refuseFrontendOnlyFlags,
|
|
6
10
|
reportWorkflowPlacement,
|
|
11
|
+
resolveFrameworkValue,
|
|
7
12
|
resolveFrontendPreset,
|
|
13
|
+
resolveInitFrontend,
|
|
8
14
|
resolveThemeChoice,
|
|
15
|
+
runFiles,
|
|
9
16
|
sanitizeAppName,
|
|
17
|
+
settleClashes,
|
|
10
18
|
templateVarsFor
|
|
11
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-V7KMIEMF.js";
|
|
12
20
|
import {
|
|
13
21
|
renderManifestFile,
|
|
14
22
|
reportModuleFailures
|
|
15
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PAS5HOG3.js";
|
|
16
24
|
import {
|
|
17
25
|
ROUTES_MANIFEST_BASENAME,
|
|
18
26
|
RouteManifestError,
|
|
19
27
|
planRouteManifest
|
|
20
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-O376UAZS.js";
|
|
29
|
+
import {
|
|
30
|
+
syncDigests
|
|
31
|
+
} from "./chunk-6YOH2L3G.js";
|
|
32
|
+
import {
|
|
33
|
+
archiveSeedContent,
|
|
34
|
+
fetchSourceArchive
|
|
35
|
+
} from "./chunk-XYTVP4WI.js";
|
|
21
36
|
import {
|
|
22
37
|
confirm
|
|
23
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-HQPL34O6.js";
|
|
24
39
|
import {
|
|
25
40
|
CODEGEN_MODULE,
|
|
26
41
|
DecodeContext,
|
|
@@ -56,32 +71,25 @@ import {
|
|
|
56
71
|
spread,
|
|
57
72
|
untypedKey,
|
|
58
73
|
withDeclineContext
|
|
59
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-6NEV2PEC.js";
|
|
60
75
|
import {
|
|
61
76
|
recordSync,
|
|
62
77
|
syncBranchLabel
|
|
63
|
-
} from "./chunk-
|
|
64
|
-
import {
|
|
65
|
-
syncDigests
|
|
66
|
-
} from "./chunk-JI3BLXWQ.js";
|
|
67
|
-
import {
|
|
68
|
-
archiveSeedContent,
|
|
69
|
-
fetchSourceArchive
|
|
70
|
-
} from "./chunk-Z4ZGTCCD.js";
|
|
78
|
+
} from "./chunk-R3LANPQZ.js";
|
|
71
79
|
import {
|
|
72
80
|
assertBranchReadSupported,
|
|
73
81
|
exportWorkspaceBundle
|
|
74
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-QC3MKMDK.js";
|
|
75
83
|
import {
|
|
76
84
|
decodeWorkspaceArchive
|
|
77
85
|
} from "./chunk-3DRXWLJ5.js";
|
|
78
86
|
import {
|
|
79
87
|
listBranches,
|
|
80
88
|
requireBranch
|
|
81
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-75MKIQON.js";
|
|
82
90
|
import {
|
|
83
91
|
detectInstallMode
|
|
84
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-K75BFHQQ.js";
|
|
85
93
|
import {
|
|
86
94
|
UNSUPPORTED_SECTIONS,
|
|
87
95
|
decodedCounts,
|
|
@@ -92,48 +100,54 @@ import {
|
|
|
92
100
|
sectionOmission,
|
|
93
101
|
subtractDefaults,
|
|
94
102
|
workspaceKeyOmission
|
|
95
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-I53OTC3O.js";
|
|
96
104
|
import {
|
|
97
105
|
ensureWorkspaceEnvGitignored,
|
|
98
106
|
requireSecretPathGitignored
|
|
99
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-JG642U5D.js";
|
|
100
108
|
import {
|
|
101
109
|
loadDefault,
|
|
102
110
|
readVersion,
|
|
103
111
|
resolveKnowledge
|
|
104
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-ZJCHS7FM.js";
|
|
105
113
|
import {
|
|
106
114
|
WORKSPACE_ENV_BASENAME,
|
|
107
115
|
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
108
116
|
renderWorkspaceEnvExample,
|
|
109
117
|
renderWorkspaceEnvFile,
|
|
110
118
|
valueProblem
|
|
111
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-M3RLLT4O.js";
|
|
112
120
|
import {
|
|
113
121
|
memoCredential,
|
|
114
122
|
refuseProfileForLocal
|
|
115
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-S3STXOAO.js";
|
|
116
124
|
import {
|
|
117
125
|
getAccessToken
|
|
118
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-QE2GNFMP.js";
|
|
119
127
|
import {
|
|
120
128
|
getEngineRecord
|
|
121
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-5Y5HWQ2P.js";
|
|
130
|
+
import {
|
|
131
|
+
readLockFile,
|
|
132
|
+
writeLockFile
|
|
133
|
+
} from "./chunk-CJDPSCMX.js";
|
|
122
134
|
import {
|
|
123
135
|
requireBackendSlot
|
|
124
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-VD7YTLWL.js";
|
|
125
137
|
import {
|
|
126
138
|
SECRETS_FILE_VERSION,
|
|
127
139
|
workspaceSecretsPathIn,
|
|
128
140
|
writeSecretsFile
|
|
129
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-UU7EEREQ.js";
|
|
130
142
|
import {
|
|
131
143
|
yesRerun
|
|
132
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-C2GHFADU.js";
|
|
133
145
|
import {
|
|
134
146
|
contextFlags
|
|
135
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-6S263KTM.js";
|
|
136
148
|
import {
|
|
149
|
+
CODEGEN_MARKER,
|
|
150
|
+
MERGED_IN_EXISTING,
|
|
137
151
|
PRESERVED_ON_REFRESH,
|
|
138
152
|
SHELL_FILES_IN_BACKEND,
|
|
139
153
|
XANO_DIR,
|
|
@@ -147,37 +161,38 @@ import {
|
|
|
147
161
|
plannedAgentsMd,
|
|
148
162
|
readDecodeRecord,
|
|
149
163
|
scaffoldProject
|
|
150
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-HKLBDSML.js";
|
|
151
165
|
import {
|
|
152
166
|
shellWord
|
|
153
167
|
} from "./chunk-FWD7AL6N.js";
|
|
154
168
|
import {
|
|
155
169
|
seedRowsByTableGuid
|
|
156
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-GN5SQMIQ.js";
|
|
157
171
|
import {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
} from "./chunk-
|
|
172
|
+
detectPackageManager,
|
|
173
|
+
installCommandFor
|
|
174
|
+
} from "./chunk-DNBP4GJN.js";
|
|
161
175
|
import {
|
|
162
176
|
readInstalledManifest
|
|
163
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-QL3ZJWGG.js";
|
|
164
178
|
import {
|
|
165
179
|
atomicWrite
|
|
166
180
|
} from "./chunk-LLNZGEFK.js";
|
|
167
181
|
import {
|
|
168
182
|
TEST_EXPECT_TYPES,
|
|
169
183
|
respond
|
|
170
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-EKTIGGFO.js";
|
|
171
185
|
import {
|
|
172
186
|
codegen_entry_exports,
|
|
173
187
|
raw
|
|
174
188
|
} from "./chunk-E763QI3G.js";
|
|
175
189
|
import {
|
|
190
|
+
BACKEND_TSCONFIG_PATH,
|
|
176
191
|
codegenLanding,
|
|
177
192
|
describeOrigin,
|
|
178
193
|
renderCodegenMarker,
|
|
179
194
|
renderCodegenReadme
|
|
180
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-5GIOCDUM.js";
|
|
181
196
|
import {
|
|
182
197
|
SUPERSEDED_STATEMENTS,
|
|
183
198
|
supersededBy
|
|
@@ -198,7 +213,7 @@ import {
|
|
|
198
213
|
terminalText,
|
|
199
214
|
warn,
|
|
200
215
|
writeJson
|
|
201
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-C6KBZH7M.js";
|
|
202
217
|
import {
|
|
203
218
|
TOOL_ANNOTATION_WIRE,
|
|
204
219
|
agentTrigger,
|
|
@@ -212,11 +227,11 @@ import {
|
|
|
212
227
|
s,
|
|
213
228
|
tableTrigger,
|
|
214
229
|
workspaceTrigger
|
|
215
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-F5RPNTN7.js";
|
|
216
231
|
import {
|
|
217
232
|
parsePathParams,
|
|
218
233
|
unboundPathParams
|
|
219
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-OHTHG3LL.js";
|
|
220
235
|
import {
|
|
221
236
|
DEFAULT_DOCUMENTATION,
|
|
222
237
|
DEFAULT_PREFERENCES,
|
|
@@ -224,7 +239,7 @@ import {
|
|
|
224
239
|
} from "./chunk-6JAEMMZ7.js";
|
|
225
240
|
import {
|
|
226
241
|
MCP_OAUTH_ENV_REF
|
|
227
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-6ZFJEJXZ.js";
|
|
228
243
|
import {
|
|
229
244
|
PAYLOAD_ARRAY_KEYS
|
|
230
245
|
} from "./chunk-7FIMUFBP.js";
|
|
@@ -251,7 +266,7 @@ import {
|
|
|
251
266
|
searchConstrainsRows,
|
|
252
267
|
specLabel,
|
|
253
268
|
unmatchableOrigins
|
|
254
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-6BOKCTCM.js";
|
|
255
270
|
import {
|
|
256
271
|
WORKSPACE_HISTORY_TYPES
|
|
257
272
|
} from "./chunk-ETAZIGNT.js";
|
|
@@ -266,7 +281,7 @@ import {
|
|
|
266
281
|
isRuntimeConditionOp,
|
|
267
282
|
isSearchOp,
|
|
268
283
|
unusableColumns
|
|
269
|
-
} from "./chunk-
|
|
284
|
+
} from "./chunk-B5N6EWOM.js";
|
|
270
285
|
import {
|
|
271
286
|
AUTHOR_KIND_NAME
|
|
272
287
|
} from "./chunk-VTMTIBKP.js";
|
|
@@ -281,7 +296,7 @@ import {
|
|
|
281
296
|
DiagnosticBag,
|
|
282
297
|
allowableWarnings,
|
|
283
298
|
setDiagnosticSink
|
|
284
|
-
} from "./chunk-
|
|
299
|
+
} from "./chunk-YEH5OIPF.js";
|
|
285
300
|
import {
|
|
286
301
|
CANONICAL_PAYLOAD_KEYS,
|
|
287
302
|
adoptFromBundle,
|
|
@@ -315,7 +330,7 @@ import {
|
|
|
315
330
|
normalize,
|
|
316
331
|
retiredInputSuccessor,
|
|
317
332
|
retiredInputs
|
|
318
|
-
} from "./chunk-
|
|
333
|
+
} from "./chunk-LTPF25L2.js";
|
|
319
334
|
import {
|
|
320
335
|
STATEMENT_SURFACES,
|
|
321
336
|
sPathOf
|
|
@@ -6288,7 +6303,7 @@ async function fetchBundle(args, source) {
|
|
|
6288
6303
|
...branch === void 0 ? {} : { syncTarget: { instance: auth.instance, workspaceId: auth.workspaceId, branch } }
|
|
6289
6304
|
};
|
|
6290
6305
|
}
|
|
6291
|
-
const { projectDirFrom } = await import("./xanosdk-project-
|
|
6306
|
+
const { projectDirFrom } = await import("./xanosdk-project-2T56DRYS.js");
|
|
6292
6307
|
const cwd = projectDirFrom(process.cwd()) ?? process.cwd();
|
|
6293
6308
|
const raw2 = "name" in source && source.name !== void 0 ? `${source.kind}:${source.name}` : source.kind;
|
|
6294
6309
|
step(`Reading ${raw2}`);
|
|
@@ -6656,11 +6671,28 @@ async function runInitFromCommand(args, source) {
|
|
|
6656
6671
|
const pathArg = args.positionals[0] ?? ".";
|
|
6657
6672
|
assertBranchMatchesSource(args, source);
|
|
6658
6673
|
const target = resolve(pathArg);
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6674
|
+
const isRefresh = isNonEmptyDir(target) && existsSync(join(target, CODEGEN_MARKER));
|
|
6675
|
+
const existing = isNonEmptyDir(target) && !isRefresh;
|
|
6676
|
+
const refreshedBackend = isRefresh && !existsSync(join(target, "frontend")) && existsSync(join(target, BACKEND_TSCONFIG_PATH)) ? existsSync(join(target, XANO_DIR, ".gitattributes")) ? "existing" : "new" : void 0;
|
|
6677
|
+
if (refreshedBackend !== void 0) {
|
|
6678
|
+
if (args.framework !== void 0 && resolveFrameworkValue(args.framework) !== null) {
|
|
6679
|
+
throw new UsageError(
|
|
6680
|
+
`\`--framework ${args.framework}\` writes a new frontend, and ${target} is a project with no frontend: re-running init refreshes its backend only. Drop --framework, or run init in an empty directory for a full app.`,
|
|
6681
|
+
{ helpFor: { command: "init" } }
|
|
6682
|
+
);
|
|
6683
|
+
}
|
|
6684
|
+
refuseFrontendOnlyFlags(args, `${target} has no frontend, so re-running init refreshes its backend only`);
|
|
6685
|
+
}
|
|
6686
|
+
let overrideScripts = [];
|
|
6687
|
+
if (existing) {
|
|
6688
|
+
await resolveInitFrontend(args, target, "existing");
|
|
6689
|
+
const settled = await settleClashes(
|
|
6690
|
+
target,
|
|
6691
|
+
backendShellFiles(templateVarsFor(sanitizeAppName(args.name ?? basename(target)), target), { kind: "existing", dir: target }),
|
|
6692
|
+
args
|
|
6663
6693
|
);
|
|
6694
|
+
if (settled === "cancelled") return;
|
|
6695
|
+
overrideScripts = settled;
|
|
6664
6696
|
}
|
|
6665
6697
|
const { bundle, origin, credentialRead, seed, syncTarget } = source.kind === "file" ? {
|
|
6666
6698
|
bundle: readBundleFile(source.path),
|
|
@@ -6673,7 +6705,8 @@ async function runInitFromCommand(args, source) {
|
|
|
6673
6705
|
const out = resolve(pathArg);
|
|
6674
6706
|
const appName = sanitizeAppName(args.name ?? basename(out));
|
|
6675
6707
|
const vars = templateVarsFor(appName, out);
|
|
6676
|
-
const preset = await resolveFrontendPreset(args.framework);
|
|
6708
|
+
const preset = existing || refreshedBackend !== void 0 ? null : await resolveFrontendPreset(args.framework);
|
|
6709
|
+
if (preset === null && !existing && refreshedBackend === void 0) refuseFrontendOnlyFlags(args, "`--framework none` writes none");
|
|
6677
6710
|
const choice = await resolveThemeChoice(args);
|
|
6678
6711
|
const installMode = detectInstallMode();
|
|
6679
6712
|
const ws = bundle.payload?.workspace;
|
|
@@ -6688,16 +6721,9 @@ async function runInitFromCommand(args, source) {
|
|
|
6688
6721
|
entry: shellWord(isAbsolute(cwdEntry) || cwdEntry.startsWith(".") ? cwdEntry : `./${cwdEntry}`),
|
|
6689
6722
|
deferred: routesDeferred
|
|
6690
6723
|
});
|
|
6724
|
+
const readme2 = renderCodegenReadme(vars, origin, Object.keys(project.env), preset);
|
|
6691
6725
|
const files = [
|
|
6692
|
-
...projectShellFiles(
|
|
6693
|
-
vars,
|
|
6694
|
-
preset,
|
|
6695
|
-
{
|
|
6696
|
-
readme: renderCodegenReadme(vars, origin, Object.keys(project.env), preset),
|
|
6697
|
-
landing: codegenLanding(vars, origin)
|
|
6698
|
-
},
|
|
6699
|
-
choice
|
|
6700
|
-
),
|
|
6726
|
+
...existing || refreshedBackend === "existing" ? backendShellFiles(vars, { kind: "existing", dir: out }) : preset === null ? backendShellFiles(vars, { kind: "new", readme: readme2 }) : projectShellFiles(vars, preset, { readme: readme2, landing: codegenLanding(vars, origin) }, choice),
|
|
6701
6727
|
...generated,
|
|
6702
6728
|
{
|
|
6703
6729
|
path: `${XANO_DIR}/${CODEGEN_MARKER_BASENAME}`,
|
|
@@ -6723,11 +6749,12 @@ async function runInitFromCommand(args, source) {
|
|
|
6723
6749
|
});
|
|
6724
6750
|
const replace = await planXanoReplace(
|
|
6725
6751
|
out,
|
|
6726
|
-
files
|
|
6752
|
+
// An existing project's merged files are not overwrites: only the backend's own are listed.
|
|
6753
|
+
existing ? files.filter((f) => !MERGED_IN_EXISTING.has(f.path)) : files,
|
|
6727
6754
|
bundle.payload,
|
|
6728
6755
|
args,
|
|
6729
6756
|
describeOrigin(origin),
|
|
6730
|
-
agentsMd
|
|
6757
|
+
existing ? void 0 : agentsMd
|
|
6731
6758
|
);
|
|
6732
6759
|
if (replace === "cancelled") {
|
|
6733
6760
|
info("Cancelled. Nothing was written.");
|
|
@@ -6747,13 +6774,16 @@ async function runInitFromCommand(args, source) {
|
|
|
6747
6774
|
sdkVersion: readVersion(),
|
|
6748
6775
|
frontend: preset,
|
|
6749
6776
|
theme: choice,
|
|
6750
|
-
...replace.removals === void 0 ? {} : { xanoRemovals: replace.removals }
|
|
6777
|
+
...replace.removals === void 0 ? {} : { xanoRemovals: replace.removals },
|
|
6778
|
+
// An existing project's clashes were settled before the read, and its
|
|
6779
|
+
// manifest is merged into with the project winning.
|
|
6780
|
+
...existing ? { overwrite: "full", mergePackageJson: "project", overrideScripts } : {}
|
|
6751
6781
|
});
|
|
6752
6782
|
reportXanoReplace(replace);
|
|
6753
6783
|
for (const line of routesDeferred) warn(line, "routes.not-written");
|
|
6754
6784
|
if (seed !== void 0) reportSeedRows(seed.rows, seed.label, seed.provenance, XANO_DIR, contextFlags(args));
|
|
6755
6785
|
if (replace.lock !== void 0) {
|
|
6756
|
-
const { reconciledLock } = await import("./pull-command-
|
|
6786
|
+
const { reconciledLock } = await import("./pull-command-UVK3IOXM.js");
|
|
6757
6787
|
writeLockFile(
|
|
6758
6788
|
replace.lock.path,
|
|
6759
6789
|
reconciledLock(replace.lock.model, replace.lock.reconciliation, bundle.payload)
|
|
@@ -6816,10 +6846,17 @@ async function runInitFromCommand(args, source) {
|
|
|
6816
6846
|
summarize(args, project, verified, out, origin, scaffold.install, mode, {
|
|
6817
6847
|
dir: out,
|
|
6818
6848
|
name: appName,
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
|
|
6849
|
+
mode: existing || isRefresh ? "existing" : "new",
|
|
6850
|
+
framework: preset?.id ?? "none",
|
|
6851
|
+
theme: preset === null ? null : choice.theme.id,
|
|
6852
|
+
dark: preset === null ? null : choice.dark,
|
|
6822
6853
|
install: scaffold.install,
|
|
6854
|
+
files: runFiles(scaffold.written, lock === null ? [] : [relative(out, lock).split(sep).join("/")]),
|
|
6855
|
+
next: deployNextCommand(
|
|
6856
|
+
out === process.cwd() ? null : pathArg,
|
|
6857
|
+
scaffold.install === "installed" || existsSync(join(out, "node_modules", "@xano", "sdk")) ? null : installCommandFor(out),
|
|
6858
|
+
detectPackageManager(out)
|
|
6859
|
+
),
|
|
6823
6860
|
pinnedProfile,
|
|
6824
6861
|
lock,
|
|
6825
6862
|
// What `pull --json` reports for the same refresh: the files kept because
|
|
@@ -6857,7 +6894,7 @@ async function planXanoReplace(out, files, payload, args, label, agentsMd) {
|
|
|
6857
6894
|
if (shell.length > 0 && !await confirmShellOverwrite(out, shell, args, label)) return "cancelled";
|
|
6858
6895
|
return { removals: void 0, removedEdited: [], rewrittenEdited: [], kept: [] };
|
|
6859
6896
|
}
|
|
6860
|
-
const { backendDirCleanliness, noneOfTheIdentities, pulledIdentities, reconcileLock } = await import("./pull-command-
|
|
6897
|
+
const { backendDirCleanliness, noneOfTheIdentities, pulledIdentities, reconcileLock } = await import("./pull-command-UVK3IOXM.js");
|
|
6861
6898
|
const prefix = `${XANO_DIR}/`;
|
|
6862
6899
|
const incoming = new Map(
|
|
6863
6900
|
files.filter((f) => f.path.startsWith(prefix)).map((f) => [f.path.slice(prefix.length), f.content])
|
|
@@ -6905,7 +6942,7 @@ async function planXanoReplace(out, files, payload, args, label, agentsMd) {
|
|
|
6905
6942
|
list(lock.reconciliation.dropped.map((key) => displayLockKey(key)), "")
|
|
6906
6943
|
);
|
|
6907
6944
|
}
|
|
6908
|
-
const { keptDuplicates, replacedRegistrations, reportSuperseded } = await import("./pull-superseded-
|
|
6945
|
+
const { keptDuplicates, replacedRegistrations, reportSuperseded } = await import("./pull-superseded-UZ3MB53B.js");
|
|
6909
6946
|
const shown = relative(process.cwd(), xanoDir).split(sep).join("/") || XANO_DIR;
|
|
6910
6947
|
reportSuperseded(
|
|
6911
6948
|
keptDuplicates(xanoDir, incoming, kept, shown),
|
|
@@ -7127,7 +7164,7 @@ function summarize(args, project, verified, out, origin, install, mode, scaffold
|
|
|
7127
7164
|
`) + // An unverified tree: the check the warning above asks for is a step.
|
|
7128
7165
|
(verified === null ? ` npm run xano:check # confirm the tree compiles and the lock agrees
|
|
7129
7166
|
` : ``) + ` npm run xano:deploy # run it on the Xano Engine, on this machine
|
|
7130
|
-
` + loginNextStep(pin, out) +
|
|
7167
|
+
` + loginNextStep(pin, out) + ephemeralNextStep(scaffolded.framework !== "none");
|
|
7131
7168
|
detail(`Next steps:
|
|
7132
7169
|
` + steps.replace(/^ {2}/gm, " "));
|
|
7133
7170
|
for (const line of [
|
|
@@ -7210,4 +7247,4 @@ export {
|
|
|
7210
7247
|
seedRowsListed,
|
|
7211
7248
|
seedRowsLanding
|
|
7212
7249
|
};
|
|
7213
|
-
//# sourceMappingURL=chunk-
|
|
7250
|
+
//# sourceMappingURL=chunk-ZQ5WZWHF.js.map
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveProjectEntry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XYTVP4WI.js";
|
|
4
4
|
import {
|
|
5
5
|
isUnusablePin,
|
|
6
6
|
readPin,
|
|
7
7
|
writePin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4JKXGPXB.js";
|
|
9
9
|
import {
|
|
10
10
|
ENGINE_RELEASES_URL_ENV,
|
|
11
11
|
EngineReleaseNotFoundError,
|
|
12
12
|
usesCustomReleaseManager
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HFOGQIII.js";
|
|
14
14
|
import {
|
|
15
15
|
LOCAL_ENGINE_OVERRIDE_ENV,
|
|
16
16
|
engineOverrideFromEnv,
|
|
17
17
|
resolveEnginePlatform,
|
|
18
18
|
resolveEngineSource
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-F3IA3YWI.js";
|
|
20
20
|
import {
|
|
21
21
|
ORIGIN_READ_ONLY_BY_REFRESH
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6S263KTM.js";
|
|
23
23
|
import {
|
|
24
24
|
UsageError,
|
|
25
25
|
info,
|
|
26
26
|
warn
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-C6KBZH7M.js";
|
|
28
28
|
|
|
29
29
|
// src/emit/local-engine-choice.ts
|
|
30
30
|
function refuseCredentialFlagsForLocal(args, kinds) {
|
|
@@ -87,7 +87,7 @@ async function chooseLocalEngine(flagValue, dir, machineOutput) {
|
|
|
87
87
|
};
|
|
88
88
|
const platform = resolveEnginePlatform();
|
|
89
89
|
if (platform === void 0) return keep;
|
|
90
|
-
const check = await import("./local-engine-update-check-
|
|
90
|
+
const check = await import("./local-engine-update-check-SKZR7YSC.js");
|
|
91
91
|
const latest = await check.latestKnownVersion({ platform });
|
|
92
92
|
if (latest === void 0) return keep;
|
|
93
93
|
const decision = check.decideUpdate({
|
|
@@ -101,7 +101,7 @@ async function chooseLocalEngine(flagValue, dir, machineOutput) {
|
|
|
101
101
|
info(check.updateNoticeText(pin, latest));
|
|
102
102
|
return keep;
|
|
103
103
|
}
|
|
104
|
-
const { confirm } = await import("./prompt-
|
|
104
|
+
const { confirm } = await import("./prompt-ZZUYWFQX.js");
|
|
105
105
|
const yes = await confirm(check.updatePromptText(pin, latest), {
|
|
106
106
|
flag: "`xanosdk local update`",
|
|
107
107
|
refusal: { details: { updated: false }, rerun: "xanosdk local update" }
|
|
@@ -170,4 +170,4 @@ export {
|
|
|
170
170
|
pinAfterAcquire,
|
|
171
171
|
pinWrittenText
|
|
172
172
|
};
|
|
173
|
-
//# sourceMappingURL=chunk-
|
|
173
|
+
//# sourceMappingURL=chunk-ZT2B22VQ.js.map
|
package/dist/cli.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as Bundle, L as LockFile, X as Xano, c9 as emit } from './emit-
|
|
1
|
+
import { B as Bundle, L as LockFile, X as Xano, c9 as emit } from './emit-8lcNcRrd.js';
|
|
2
2
|
import './raw-where-ZMLND6AG.js';
|
|
3
3
|
import './xdo-CxDr2Q1C.js';
|
|
4
4
|
|
|
@@ -381,6 +381,13 @@ interface ParsedArgs {
|
|
|
381
381
|
allWorkspaces: boolean;
|
|
382
382
|
/** `impersonate --guest`/`-g`: mint a read-only guest session (browse only). */
|
|
383
383
|
guest: boolean;
|
|
384
|
+
/** `local mcp --stdio`: run as an MCP stdio server bridging to the engine, instead of printing details. */
|
|
385
|
+
stdio: boolean;
|
|
386
|
+
/**
|
|
387
|
+
* `local mcp --project <dir>`: the project whose engine to reach, for an agent
|
|
388
|
+
* that launches the bridge somewhere else (Cursor passes its workspace folder).
|
|
389
|
+
*/
|
|
390
|
+
project: string | undefined;
|
|
384
391
|
/** `impersonate --url-only`/`-u`: print the dashboard URL instead of opening a browser. */
|
|
385
392
|
urlOnly: boolean;
|
|
386
393
|
/** `marketplace details --prompt`: print the add-on's agent prompt alone, for piping. */
|
|
@@ -438,8 +445,8 @@ interface ParsedArgs {
|
|
|
438
445
|
from: string | undefined;
|
|
439
446
|
/**
|
|
440
447
|
* `init` `--framework <id>`: which frontend to scaffold
|
|
441
|
-
* (`react`/`svelte`). Undefined = prompt in
|
|
442
|
-
* Validated in `frontend-
|
|
448
|
+
* (`react`/`svelte`, or `none` for the backend only). Undefined = prompt in
|
|
449
|
+
* a TTY, else the default. Validated in `frontend-resolve.ts`, not at parse time.
|
|
443
450
|
*/
|
|
444
451
|
framework: string | undefined;
|
|
445
452
|
/**
|
|
@@ -521,6 +528,11 @@ interface ParsedArgs {
|
|
|
521
528
|
* one that isn't, or preview without being prompted.
|
|
522
529
|
*/
|
|
523
530
|
dryRun: boolean;
|
|
531
|
+
/**
|
|
532
|
+
* `agent-skill` `--agent <id>` (repeatable): the agents to act for instead of
|
|
533
|
+
* the detected ones. Validated in `agent-skill-command.ts`.
|
|
534
|
+
*/
|
|
535
|
+
agent: string[];
|
|
524
536
|
/**
|
|
525
537
|
* `deploy --to … --prune`: also delete objects this project landed on the target and
|
|
526
538
|
* no longer defines. Without it a merge only adds and updates, so
|
|
@@ -610,6 +622,13 @@ interface ParsedArgs {
|
|
|
610
622
|
* is not knowing — and `--yes` in CI answers a prompt without reading it.
|
|
611
623
|
*/
|
|
612
624
|
allowSharedSchemaChanges: boolean;
|
|
625
|
+
/**
|
|
626
|
+
* `deploy --to workspace --overwrite`: proceed even though objects this deploy
|
|
627
|
+
* replaces were changed in Xano since the last sync (`changedThere` /
|
|
628
|
+
* `changedBoth` in `workspace diff`). A flag rather than a prompt, for the
|
|
629
|
+
* reason {@link allowSharedSchemaChanges} is one.
|
|
630
|
+
*/
|
|
631
|
+
overwrite: boolean;
|
|
613
632
|
/**
|
|
614
633
|
* `deploy --to … --replace --allow-branch-deletion`: proceed even though the clear
|
|
615
634
|
* will permanently delete the workspace's non-live branches.
|
|
@@ -745,6 +764,15 @@ interface HelpRequest {
|
|
|
745
764
|
* undefined when no help was requested.
|
|
746
765
|
*/
|
|
747
766
|
declare function resolveHelpRequest(argv: string[]): HelpRequest | undefined;
|
|
767
|
+
/**
|
|
768
|
+
* The file `import("tsx/esm/api")` would load from `from`: the `import` branch
|
|
769
|
+
* of tsx's `./esm/api` export, not the `require` one `createRequire().resolve`
|
|
770
|
+
* picks. tsx 4.23's CommonJS build registers its loader at a path it doesn't
|
|
771
|
+
* ship, so on Node 20/22 every `.ts` entry failed with "Cannot find module
|
|
772
|
+
* …/dist/esm/api/esm/index.mjs". Falls back to the `require` resolution when the
|
|
773
|
+
* manifest doesn't name an `import` entry.
|
|
774
|
+
*/
|
|
775
|
+
declare function tsxEsmApiPath(from: string): string;
|
|
748
776
|
declare function loadDefault(file: string): Promise<unknown>;
|
|
749
777
|
/**
|
|
750
778
|
* How to get `tsx` for the project around `file`: a project whose package.json
|
|
@@ -1118,4 +1146,4 @@ declare function docTokenRefusalIfReplaced(replaceWhy: string): string | undefin
|
|
|
1118
1146
|
*/
|
|
1119
1147
|
declare function envRefusalIfReplaced(replaceWhy: string): string | undefined;
|
|
1120
1148
|
|
|
1121
|
-
export { type CommitLockOptions, type CompiledBundle, type HelpRequest, type ParsedArgs, type RouteManifestRefresh, assertEntryExists, carryRunWarnings, checkStandInTokens, compileBundle, composedChildren, docTokenRefusalIfReplaced, emitterFor, envNameRule, envRefusalIfReplaced, expandShortAttached, exportBundleJson, globalVersionAsked, globalVersionMisuse, isPathlessRun, loadDefault, loadModule, maskAssignments, missingLockDir, nearestLockPath, noteLockCreated, noteRunScope, orphanFixUps, parseArgs, printHelp, readVersion, refreshAgentGuidance, refreshRouteManifest, renameCandidatesFor, resolveHelpRequest, resolveLockPath, run, setGuidFixUp, tsxRemedy, withoutSecretValue };
|
|
1149
|
+
export { type CommitLockOptions, type CompiledBundle, type HelpRequest, type ParsedArgs, type RouteManifestRefresh, assertEntryExists, carryRunWarnings, checkStandInTokens, compileBundle, composedChildren, docTokenRefusalIfReplaced, emitterFor, envNameRule, envRefusalIfReplaced, expandShortAttached, exportBundleJson, globalVersionAsked, globalVersionMisuse, isPathlessRun, loadDefault, loadModule, maskAssignments, missingLockDir, nearestLockPath, noteLockCreated, noteRunScope, orphanFixUps, parseArgs, printHelp, readVersion, refreshAgentGuidance, refreshRouteManifest, renameCandidatesFor, resolveHelpRequest, resolveLockPath, run, setGuidFixUp, tsxEsmApiPath, tsxRemedy, withoutSecretValue };
|