@xano/sdk 1.0.6 → 1.0.7
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 +20 -5
- package/README.md +30 -4
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-67QIX45H.js → agent-file-refresh-DGGSRPJ4.js} +12 -12
- package/dist/agent-skill-command-37DFYS7Q.js +414 -0
- package/dist/{answer-shape-UCDUKPAN.js → answer-shape-RBFDCNZ7.js} +4 -4
- package/dist/{backend-dir-3LIL6SCT.js → backend-dir-KDD43X7K.js} +14 -14
- package/dist/{backend-slot-JREP27UD.js → backend-slot-TBOVZXDE.js} +3 -3
- package/dist/bin.js +48 -47
- package/dist/{branch-2IPHOAYS.js → branch-7PIKNUD7.js} +11 -10
- package/dist/{branch-commands-KTKAXBAN.js → branch-commands-EGY7ZEZE.js} +23 -22
- package/dist/bundle.js +4 -4
- package/dist/{chunk-GWTFI3GA.js → chunk-26LHXLD3.js} +2 -2
- package/dist/{chunk-ENMBEXOP.js → chunk-2ACWDSAQ.js} +3 -3
- package/dist/{chunk-GOLFAEUV.js → chunk-2SD4LA22.js} +2 -2
- package/dist/{chunk-GZHLCUZ6.js → chunk-2XWVZRL6.js} +7 -7
- package/dist/{chunk-IF4PEGVD.js → chunk-2YER2J47.js} +11 -11
- package/dist/{chunk-N5I37JFB.js → chunk-3FRGNBOC.js} +2 -2
- package/dist/{chunk-YKP4ZKVO.js → chunk-46PATL23.js} +3 -3
- package/dist/{chunk-QJM5XZ4K.js → chunk-47XT6WQL.js} +8 -8
- package/dist/{chunk-AWQ7BQTQ.js → chunk-4GPIOIAC.js} +6 -1
- package/dist/{chunk-ND43ZOS3.js → chunk-567KK6XF.js} +7 -7
- package/dist/{chunk-EQFYOOO6.js → chunk-5GIOCDUM.js} +829 -893
- package/dist/{chunk-TTEIDD5Q.js → chunk-5SCPRXFB.js} +4 -4
- package/dist/{chunk-LAOMN6QQ.js → chunk-5ZG7V2VW.js} +3 -3
- package/dist/{chunk-JXVJGF3Y.js → chunk-7M6JP3FS.js} +2 -2
- package/dist/{chunk-JFBRXRJD.js → chunk-7XXWKTCE.js} +36 -36
- package/dist/{chunk-PL7AIAWS.js → chunk-A4R5CAY4.js} +4 -111
- package/dist/{chunk-SPKA2LV6.js → chunk-AKERAUNH.js} +4 -4
- package/dist/{chunk-26MOFAJT.js → chunk-ARWMVNDJ.js} +6 -3
- package/dist/{chunk-I3VHW6XM.js → chunk-B2URJBC4.js} +18 -18
- package/dist/{chunk-A7MRZ4GF.js → chunk-B3P25SDP.js} +4 -4
- package/dist/chunk-BRANWM4U.js +853 -0
- package/dist/{chunk-CHINR7WD.js → chunk-BSVQEKHO.js} +4 -4
- package/dist/{chunk-UD2Z7K6W.js → chunk-BZ6WTG3E.js} +4 -4
- package/dist/{chunk-D7BUMOKU.js → chunk-CH23ONYG.js} +76 -5
- package/dist/{chunk-763M6LX3.js → chunk-CNZASQPL.js} +2 -2
- package/dist/{chunk-TECTL2NU.js → chunk-CPN6WSBH.js} +4 -4
- package/dist/{chunk-5YQV35C2.js → chunk-CT3J5JRZ.js} +7 -7
- package/dist/{chunk-YYC2DZMG.js → chunk-D5OZRJ3T.js} +6 -6
- package/dist/{chunk-XFBGXB7X.js → chunk-DG3APBUJ.js} +149 -97
- package/dist/chunk-DIWF7L33.js +995 -0
- package/dist/{chunk-RIN4YY34.js → chunk-DXZTL7NA.js} +95 -58
- package/dist/{chunk-PMMHSX4H.js → chunk-EF4MHLEW.js} +4 -4
- package/dist/{chunk-ZDP6GDAB.js → chunk-ELPQTDW6.js} +101 -93
- package/dist/{chunk-Q22BMRPF.js → chunk-EPFDY5JU.js} +2 -2
- package/dist/{chunk-ZJSTUD6D.js → chunk-EU32BC5B.js} +8 -8
- package/dist/{chunk-3BBIDW3Y.js → chunk-FDTET7FZ.js} +3 -3
- package/dist/{chunk-YYLUBYXM.js → chunk-FENA7K7C.js} +3 -3
- package/dist/{chunk-QZEAANWP.js → chunk-GHMLRFRX.js} +8 -8
- package/dist/{chunk-MBDFH7XB.js → chunk-H2K4GFUS.js} +3 -3
- package/dist/{chunk-U35MTOXQ.js → chunk-HTQWAQRW.js} +3 -3
- package/dist/{chunk-ROY4YAEQ.js → chunk-HU7F56VF.js} +22 -2
- package/dist/{chunk-2FLIJGBZ.js → chunk-HZ6ADG3O.js} +47 -8
- package/dist/{chunk-GLY552SI.js → chunk-I6XRUU6U.js} +54 -54
- package/dist/{chunk-KPFS3RGM.js → chunk-IPNN2KRW.js} +3 -3
- package/dist/{chunk-LD6ARK3A.js → chunk-JOOKM7AH.js} +2 -2
- package/dist/{chunk-6X6BJN6Y.js → chunk-JOWY6HFL.js} +3 -3
- package/dist/{chunk-UIVMR7UK.js → chunk-JX6N73H3.js} +2 -2
- package/dist/{chunk-JRVQ7M7W.js → chunk-L472YIGG.js} +8 -8
- package/dist/{chunk-YR2I5HGE.js → chunk-L6HZ67P6.js} +2 -2
- package/dist/chunk-LCOCRJ4K.js +116 -0
- package/dist/{chunk-3EDSPMXN.js → chunk-LJM5CIY4.js} +5 -1
- package/dist/{chunk-NPODGBVJ.js → chunk-M2C54ZBC.js} +4 -4
- package/dist/{chunk-QXYMDARD.js → chunk-M3NEK3LT.js} +4 -4
- package/dist/{chunk-BL3AZ3AP.js → chunk-MBL7CXJ7.js} +2 -2
- package/dist/{chunk-7GAIJW62.js → chunk-MYZRMSPM.js} +2 -2
- package/dist/{chunk-GHQ4BVI4.js → chunk-N3YFCFCO.js} +13 -13
- package/dist/{chunk-M5CSVB23.js → chunk-NDJAKSE7.js} +11 -8
- package/dist/{chunk-Z4ZGTCCD.js → chunk-NV37YGOV.js} +6 -6
- package/dist/{chunk-GW5RHGOB.js → chunk-O56DQKPL.js} +9 -9
- package/dist/{chunk-U6MTGB46.js → chunk-ORGNLQN6.js} +5 -5
- package/dist/{chunk-I3H3HCPY.js → chunk-PEIBGH2V.js} +33 -30
- package/dist/{chunk-5TVFLG3C.js → chunk-PEX4QZVI.js} +2 -2
- package/dist/{chunk-HCG7NDIL.js → chunk-PV25BDCH.js} +5 -5
- package/dist/{chunk-VDHA5SSQ.js → chunk-PY722CHR.js} +2 -2
- package/dist/{chunk-VW4CWVYX.js → chunk-QGIZLFAS.js} +4 -4
- package/dist/{chunk-SSITMX7I.js → chunk-QRQ54LUI.js} +16 -14
- package/dist/{chunk-OIKLDDYC.js → chunk-RBU2YX22.js} +3 -3
- package/dist/{chunk-EADVVTDK.js → chunk-RRMH7WMY.js} +7 -7
- package/dist/{chunk-WZHLMU6T.js → chunk-S46ODQRA.js} +2 -2
- package/dist/{chunk-SPITRSOF.js → chunk-SDGV76HF.js} +2 -2
- package/dist/{chunk-ATJ2W7DC.js → chunk-SGK3PTTM.js} +281 -121
- package/dist/{chunk-3II44CUJ.js → chunk-TWVUYS63.js} +24 -24
- package/dist/{chunk-2WBH5HUY.js → chunk-U5M7T6CI.js} +7 -7
- package/dist/{chunk-6X3MY2JP.js → chunk-UYFUIHH3.js} +2 -2
- package/dist/{chunk-IMELQ2I6.js → chunk-V7MBRUK6.js} +3 -3
- package/dist/{chunk-NDWVJ2QZ.js → chunk-VAGSKUWC.js} +3 -3
- package/dist/{chunk-WBH4KJWM.js → chunk-VIJ5D3RC.js} +3 -3
- package/dist/{chunk-ITC2R2OT.js → chunk-VNDR2T35.js} +7 -7
- package/dist/{chunk-IXFJORNH.js → chunk-WNCW2RNB.js} +4 -4
- package/dist/{chunk-BTVUYHWV.js → chunk-WUEPP5HD.js} +4 -4
- package/dist/{local-engine-command-RYLGMQ2O.js → chunk-YCUDOF6Q.js} +22 -77
- package/dist/{chunk-YGLMRH5U.js → chunk-YH2JVJAO.js} +12 -12
- package/dist/{chunk-PFBXSVZF.js → chunk-ZGLNHA7T.js} +7 -7
- package/dist/{chunk-CCU5CCRX.js → chunk-ZJOAWRED.js} +8 -8
- package/dist/{chunk-FU3VCE5A.js → chunk-ZXRDD3Q2.js} +13 -9
- package/dist/cli.d.ts +25 -4
- package/dist/cli.js +45 -42
- package/dist/{codegen-command-R5IASBFC.js → codegen-command-T7TC7PQO.js} +58 -57
- package/dist/{commands-H7CPMMHH.js → commands-JDENTDJS.js} +2 -2
- package/dist/{completion-W5ZAI6TN.js → completion-YFD5OVJW.js} +8 -4
- package/dist/{config-MZ5KG4EP.js → config-YJFUTRJW.js} +7 -7
- package/dist/{deploy-command-34T2LKQ5.js → deploy-command-OEVEE6UG.js} +50 -49
- package/dist/{deploy-source-YLQ7WMYR.js → deploy-source-HYVZEYXV.js} +33 -32
- package/dist/{dev-env-sync-TMJTNU3U.js → dev-env-sync-EFDCJ6KU.js} +48 -47
- package/dist/{display-name-hint-ZJGFNJKQ.js → display-name-hint-SW3GB3V7.js} +13 -12
- package/dist/{emit-D125xxty.d.ts → emit-Dov_92kn.d.ts} +1 -1
- package/dist/{env-example-refresh-CQP3ZMKM.js → env-example-refresh-WNSOH534.js} +59 -58
- package/dist/{env-pull-command-UTG6IC2K.js → env-pull-command-UYEXMQ3P.js} +43 -42
- package/dist/{env-target-FZROWYFS.js → env-target-JBSLBKNX.js} +12 -11
- package/dist/{env-var-command-VYDBQJJW.js → env-var-command-BJNRAXNV.js} +49 -48
- package/dist/{ephemeral-BIE6FMJV.js → ephemeral-CEOGMIEA.js} +10 -9
- package/dist/{ephemeral-command-OZ26RGXF.js → ephemeral-command-IPSGBCS5.js} +61 -60
- package/dist/{ephemeral-state-SNZOX2YK.js → ephemeral-state-MTBASPRS.js} +10 -9
- package/dist/{generate-command-4HR7MR36.js → generate-command-XQXODBS6.js} +73 -71
- package/dist/{gitignore-EWQBXNX2.js → gitignore-RUVCIZO4.js} +18 -18
- package/dist/{impersonate-command-WC7OGKUM.js → impersonate-command-MA27O7S5.js} +41 -40
- package/dist/{import-7Z4GCCPO.js → import-XKRFHABE.js} +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/{init-command-HAO3WXH3.js → init-command-6RDTCMAB.js} +61 -46
- package/dist/{init-modules-NSKD4ASY.js → init-modules-DHTBOCQT.js} +7 -7
- package/dist/{init-web-MKFFOQUU.js → init-web-ELBXSXDL.js} +2 -2
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +1 -1
- package/dist/{keep-data-merge-QR2TMKEO.js → keep-data-merge-TDJOIAVT.js} +23 -23
- package/dist/{lambda-config-reconcile-7FJXXV6V.js → lambda-config-reconcile-47X5C2E4.js} +6 -5
- package/dist/{landing-record-MWXFIRCP.js → landing-record-TPPYFQAS.js} +21 -21
- package/dist/{local-engine-choice-VD5LNXJU.js → local-engine-choice-S6VHPJRU.js} +36 -35
- package/dist/local-engine-command-4EZCGZ6M.js +85 -0
- package/dist/{local-engine-config-W3KB7RWM.js → local-engine-config-2EBL3QKA.js} +3 -2
- package/dist/{local-engine-deploy-6O7NKZCA.js → local-engine-deploy-FOPNWU7X.js} +17 -15
- package/dist/local-engine-lookup-GM3E3NPP.js +43 -0
- package/dist/local-engine-mcp-bridge-QKZHUGW3.js +423 -0
- package/dist/local-engine-mcp-command-BFQVLXZC.js +181 -0
- package/dist/{local-engine-process-ZLLZEIRF.js → local-engine-process-XUQPQENQ.js} +11 -8
- package/dist/{local-engine-state-OCW5YDD7.js → local-engine-state-JQPKGB65.js} +4 -3
- package/dist/{local-engine-update-check-LVX4HBBI.js → local-engine-update-check-S7UF6ZF5.js} +6 -5
- package/dist/{lock-commands-X2OECR4R.js → lock-commands-HJ6Y5QVS.js} +51 -50
- package/dist/{login-command-RLLKD565.js → login-command-JO55NZAS.js} +32 -32
- package/dist/{logout-command-XDMSXCDO.js → logout-command-MPRIRSJA.js} +15 -14
- package/dist/{marketplace-command-2NHHY2X3.js → marketplace-command-BM6G257N.js} +33 -33
- package/dist/{marketplace-resolve-OTZYT4FG.js → marketplace-resolve-AWH3RG57.js} +5 -5
- package/dist/{meta-client-TMHVBZFY.js → meta-client-AOSWODQQ.js} +13 -12
- package/dist/{module-manifest-FNMW23IX.js → module-manifest-GXI46PEF.js} +3 -3
- package/dist/node.d.ts +4 -4
- package/dist/node.js +50 -49
- package/dist/{operation-outcome-RN62735X.js → operation-outcome-4UKPXTNC.js} +25 -23
- package/dist/{output-target-MOLCTPBP.js → output-target-RAZ4KN5J.js} +19 -19
- package/dist/{plan-disclosure-CY7AF6KP.js → plan-disclosure-JR52DWXN.js} +13 -12
- package/dist/{plugin-contributions-WR26U7NT.js → plugin-contributions-E6XHLQWK.js} +5 -5
- package/dist/{plugin-prompt-ZUYQQIX4.js → plugin-prompt-IODX5EU6.js} +4 -4
- package/dist/{plugin-questions-HAZOQ67R.js → plugin-questions-AAAJ7POP.js} +3 -3
- package/dist/{preflight-command-OHJXYND3.js → preflight-command-7GKJBWOQ.js} +52 -51
- package/dist/{profile-command-6JWT2BTL.js → profile-command-CM6J7E2M.js} +33 -33
- package/dist/{profile-pointer-PDA5XBIB.js → profile-pointer-KTYXL6FU.js} +4 -3
- package/dist/{project-dependency-GZWWGWEW.js → project-dependency-OQ5575QQ.js} +6 -6
- package/dist/{project-sdk-3W72H5QO.js → project-sdk-2ESHHZVL.js} +3 -3
- package/dist/{promote-command-UYAMUXKB.js → promote-command-BDRPG6UU.js} +68 -67
- package/dist/{prompt-U37K5RPQ.js → prompt-MQPGU4ZI.js} +3 -3
- package/dist/{publish-command-BUS27HGB.js → publish-command-IEMYZ7LF.js} +55 -54
- package/dist/{pull-command-ZGUNP27P.js → pull-command-S5E2ABZ4.js} +61 -60
- package/dist/{pull-superseded-EZBGYRZF.js → pull-superseded-E34BZVLH.js} +3 -3
- package/dist/{release-command-BQ6OHS3P.js → release-command-7F5TBKO2.js} +58 -57
- package/dist/{release-ns-command-ATGVBVIU.js → release-ns-command-EK2ZQ4CC.js} +84 -83
- package/dist/{retry-command-QJ57WVW7.js → retry-command-GL5HCMVB.js} +9 -8
- package/dist/{routes-manifest-file-UALYSZLY.js → routes-manifest-file-LCIKPDAG.js} +5 -5
- package/dist/scaffold.js +4 -4
- package/dist/secrets-IV4N5HYI.js +20 -0
- package/dist/{secrets-file-LMS7KX3E.js → secrets-file-LXREYU3M.js} +18 -18
- package/dist/{secrets-fill-command-QNBDGCGM.js → secrets-fill-command-QHZS3KWM.js} +49 -48
- package/dist/{seed-SZ6OS5DQ.js → seed-FRKMDN2Z.js} +4 -4
- package/dist/{source-resolve-MKLNYFWG.js → source-resolve-BBHYTOXI.js} +23 -21
- package/dist/{static-host-ONEHA4LI.js → static-host-7LC7OZR4.js} +4 -4
- package/dist/{status-command-XKIFKBGM.js → status-command-TY253MJT.js} +52 -51
- package/dist/{store-Bg4Na6Sm.d.ts → store-Boba9OOh.d.ts} +1 -1
- package/dist/{store-X6ZH7EC3.js → store-VJ3OS6VO.js} +7 -6
- package/dist/{sync-contributions-HNVHDIQW.js → sync-contributions-63542VE4.js} +9 -9
- package/dist/{sync-record-PRXHLK4S.js → sync-record-RGHK7EAL.js} +13 -12
- package/dist/{table-DC36QA4Y.js → table-OAYGFGEN.js} +5 -5
- package/dist/{tables-command-UQLKTELN.js → tables-command-PZIVDAH3.js} +38 -37
- package/dist/{tenant-EKNQGG5A.js → tenant-Y3II4VY3.js} +11 -10
- package/dist/{tenant-command-2LWP2MPB.js → tenant-command-G6XON7CF.js} +86 -85
- package/dist/{test-command-IU5MBBXY.js → test-command-3FZOX7O3.js} +41 -40
- package/dist/{tests-RG2Y5EQ4.js → tests-KF6N6BZ7.js} +5 -5
- package/dist/{token-7AWSJLKO.js → token-DJJUW5HY.js} +11 -10
- package/dist/{toolchain-hooks-4ZMQLBPQ.js → toolchain-hooks-7PWCFLSU.js} +4 -4
- package/dist/{toolchain-modules-VU7SURVJ.js → toolchain-modules-OTNSKK52.js} +4 -4
- package/dist/{toolchain-peers-CIDNEEQV.js → toolchain-peers-KQ7TQ2AR.js} +7 -7
- package/dist/{tracked-backend-4BHSV7NC.js → tracked-backend-AJCGTO5Y.js} +36 -35
- package/dist/{update-check-A7FXIINW.js → update-check-4E5L6GAW.js} +46 -45
- package/dist/{upgrade-command-C5KBITFI.js → upgrade-command-BXMSQN4C.js} +52 -49
- package/dist/{whoami-command-7WQII2H4.js → whoami-command-NLCCIEUM.js} +14 -13
- package/dist/{workspace-Z46PUZNI.js → workspace-PNMJOXE4.js} +4 -4
- package/dist/{workspace-binding-JE6YNDZJ.js → workspace-binding-J5GWDFRI.js} +13 -12
- package/dist/{workspace-command-FC4IMLAE.js → workspace-command-MHIIY352.js} +79 -78
- package/dist/{workspace-env-N4ZPFT6A.js → workspace-env-LLRWCHSA.js} +15 -15
- package/dist/{workspace-export-3A5BZTPS.js → workspace-export-BIKAYHWJ.js} +4 -4
- package/dist/{writable-D7KCZI5N.js → writable-UOTO4WWC.js} +3 -3
- package/dist/{xanosdk-import-P2A2KSXM.js → xanosdk-import-S7A3CVBN.js} +5 -5
- package/dist/{xanosdk-project-6AGMW2SL.js → xanosdk-project-J4VCFRHP.js} +15 -15
- package/guides/README.md +2 -2
- package/guides/cli.md +69 -0
- package/guides/codegen.md +23 -5
- package/guides/codes.md +1 -0
- package/guides/coverage.md +5 -0
- package/guides/deploying.md +28 -0
- package/guides/scaffold.md +61 -10
- package/llms-full.txt +1 -1
- package/llms.txt +1 -1
- package/manifest.json +63 -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
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
} from "./chunk-IYXL5NYU.js";
|
|
8
8
|
import {
|
|
9
9
|
ReleaseHttpError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-26LHXLD3.js";
|
|
11
11
|
import {
|
|
12
12
|
TenantHttpError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QGIZLFAS.js";
|
|
14
14
|
import {
|
|
15
15
|
CliError,
|
|
16
16
|
detail,
|
|
17
17
|
warn,
|
|
18
18
|
withoutUrls
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CH23ONYG.js";
|
|
20
20
|
import {
|
|
21
21
|
suggest
|
|
22
22
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -677,4 +677,4 @@ export {
|
|
|
677
677
|
CONSTRAINT_PHRASE,
|
|
678
678
|
CONSTRAINT_FIX
|
|
679
679
|
};
|
|
680
|
-
//# sourceMappingURL=chunk-
|
|
680
|
+
//# sourceMappingURL=chunk-BSVQEKHO.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
workspaceEnvPathIn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PV25BDCH.js";
|
|
4
4
|
import {
|
|
5
5
|
addGitignoreRule,
|
|
6
6
|
ensureGitignored,
|
|
7
7
|
gitSaysIgnored,
|
|
8
8
|
gitignoreRootFor,
|
|
9
9
|
insideGitRepo
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NDJAKSE7.js";
|
|
11
11
|
import {
|
|
12
12
|
UsageError,
|
|
13
13
|
detail,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
noteRunWarning,
|
|
16
16
|
relForwardSlash,
|
|
17
17
|
warn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CH23ONYG.js";
|
|
19
19
|
import {
|
|
20
20
|
shellQuote
|
|
21
21
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -183,4 +183,4 @@ export {
|
|
|
183
183
|
secretPathLabel,
|
|
184
184
|
refuseIfTracked
|
|
185
185
|
};
|
|
186
|
-
//# sourceMappingURL=chunk-
|
|
186
|
+
//# sourceMappingURL=chunk-BZ6WTG3E.js.map
|
|
@@ -196,6 +196,27 @@ function projectFileCli(dir, manager) {
|
|
|
196
196
|
if (manager === "npm" || manager === "yarn") return "npx xanosdk";
|
|
197
197
|
return listingWorkspaceRoot(resolve3(dir)) === void 0 ? "npx xanosdk" : "npx --workspaces=false xanosdk";
|
|
198
198
|
}
|
|
199
|
+
var MCP_SERVER_NAME = "xano-local";
|
|
200
|
+
var MCP_CONFIGS = [
|
|
201
|
+
{ path: ".mcp.json", agent: "Claude Code" },
|
|
202
|
+
{ path: ".cursor/mcp.json", agent: "Cursor", workspaceFolder: "${workspaceFolder}" }
|
|
203
|
+
];
|
|
204
|
+
function mcpServerCommand(dir, manager, opts = {}) {
|
|
205
|
+
const folder = opts.workspaceFolder;
|
|
206
|
+
const npx = [
|
|
207
|
+
"npx",
|
|
208
|
+
"--yes",
|
|
209
|
+
"--package",
|
|
210
|
+
"@xano/sdk",
|
|
211
|
+
...projectFileCli(dir, manager) === "npx xanosdk" ? [] : ["--workspaces=false"],
|
|
212
|
+
"xanosdk",
|
|
213
|
+
"local",
|
|
214
|
+
"mcp",
|
|
215
|
+
"--stdio",
|
|
216
|
+
...folder === void 0 ? [] : ["--project", folder]
|
|
217
|
+
];
|
|
218
|
+
return (opts.platform ?? process.platform) === "win32" ? { command: "cmd", args: ["/c", ...npx] } : { command: npx[0], args: npx.slice(1) };
|
|
219
|
+
}
|
|
199
220
|
function spellProjectCli(text2, cli) {
|
|
200
221
|
return cli === void 0 || cli === "npx xanosdk" ? text2 : text2.replace(/\bnpx xanosdk(?=[\s`'")\]]|$)/g, cli);
|
|
201
222
|
}
|
|
@@ -1521,6 +1542,14 @@ var FLAGS = {
|
|
|
1521
1542
|
all: { spec: "--all", summary: "Every stored profile, not just the active one" },
|
|
1522
1543
|
"all-workspaces": { spec: "--all-workspaces", summary: "Enumerate across every workspace, not just the token's" },
|
|
1523
1544
|
guest: { spec: "--guest, -g", summary: "Mint a read-only guest session (browse only)" },
|
|
1545
|
+
stdio: {
|
|
1546
|
+
spec: "--stdio",
|
|
1547
|
+
summary: "Run as an MCP stdio server that forwards to the live engine with its current bearer \u2014 the command a coding agent's MCP config launches"
|
|
1548
|
+
},
|
|
1549
|
+
project: {
|
|
1550
|
+
spec: "--project <dir>",
|
|
1551
|
+
summary: "The project whose engine to reach, when the agent launches the bridge outside it (default: the current directory)"
|
|
1552
|
+
},
|
|
1524
1553
|
"url-only": { spec: "--url-only, -u", summary: "Print the dashboard URL instead of opening a browser" },
|
|
1525
1554
|
prompt: { spec: "--prompt", summary: "Print only the add-on wiring prompt, for piping to a coding agent" },
|
|
1526
1555
|
port: { spec: "--port <n>", summary: "Loopback callback port (default: 47100)" },
|
|
@@ -1544,8 +1573,8 @@ var FLAGS = {
|
|
|
1544
1573
|
name: { spec: "--name <n>", summary: "Name for what this command produces" },
|
|
1545
1574
|
framework: {
|
|
1546
1575
|
spec: "--framework <id>",
|
|
1547
|
-
summary: "Frontend
|
|
1548
|
-
values: ["react", "svelte"]
|
|
1576
|
+
summary: "Frontend to scaffold in a new project: react (default), svelte, or none for the backend only. A non-empty directory always gets the backend only",
|
|
1577
|
+
values: ["react", "svelte", "none"]
|
|
1549
1578
|
},
|
|
1550
1579
|
theme: {
|
|
1551
1580
|
spec: "--theme <id>",
|
|
@@ -1633,6 +1662,10 @@ var FLAGS = {
|
|
|
1633
1662
|
* takes both.
|
|
1634
1663
|
*/
|
|
1635
1664
|
force: { spec: "--force", summary: "Overwrite something that already exists" },
|
|
1665
|
+
agent: {
|
|
1666
|
+
spec: "--agent <id>",
|
|
1667
|
+
summary: "Which agent to act for, instead of the ones detected (repeatable): claude-code, agents (the shared ~/.agents directory), codex, cursor, copilot, gemini, amp, opencode"
|
|
1668
|
+
},
|
|
1636
1669
|
"backend-dir": {
|
|
1637
1670
|
spec: "--backend-dir <path>",
|
|
1638
1671
|
summary: "The backend directory to act on, when this project does not keep it in xano/ and nothing on disk says so"
|
|
@@ -1780,7 +1813,7 @@ var SCAFFOLD = [
|
|
|
1780
1813
|
"ai",
|
|
1781
1814
|
{
|
|
1782
1815
|
key: "force",
|
|
1783
|
-
summary: "Write
|
|
1816
|
+
summary: "Write over what clashes when adding the backend to a non-empty target directory: an existing xano/, a file init would write, a xano:* script with another command. It lists every file and script it would overwrite and confirms first (--yes without a terminal); files the scaffold does not write are kept"
|
|
1784
1817
|
},
|
|
1785
1818
|
"no-install"
|
|
1786
1819
|
];
|
|
@@ -1865,7 +1898,7 @@ var COMMANDS = {
|
|
|
1865
1898
|
// Toolchain modules contribute their own question flags; see the field's
|
|
1866
1899
|
// doc for the obligation this takes on.
|
|
1867
1900
|
deferUnknownFlags: true,
|
|
1868
|
-
summary: "Scaffold a Xano SDK project \u2014 empty, or filled from an existing backend",
|
|
1901
|
+
summary: "Scaffold a Xano SDK project \u2014 empty, or filled from an existing backend. In a non-empty directory, add the backend to the project there",
|
|
1869
1902
|
args: [{ name: "dir", required: false, path: true }],
|
|
1870
1903
|
// Two axes on top of the shared scaffold flags: WHERE `xano/` comes from
|
|
1871
1904
|
// (`--from`) and HOW the options were collected (`--web`). They compose —
|
|
@@ -2492,6 +2525,15 @@ var COMMANDS = {
|
|
|
2492
2525
|
args: [{ name: "name", required: false }],
|
|
2493
2526
|
example: "XANO_META_TOKEN=$(xanosdk local token)"
|
|
2494
2527
|
},
|
|
2528
|
+
mcp: {
|
|
2529
|
+
// Details by default, a bridge only on `--stdio`: an agent that runs
|
|
2530
|
+
// this through its own shell tool must get an answer, not a server
|
|
2531
|
+
// waiting on stdin.
|
|
2532
|
+
summary: "Print how a coding agent connects to a Xano Engine's MCP server (look at the backend, seed rows, run functions, tasks, triggers, endpoints and tests); `--stdio` runs the bridge the agent's MCP config launches (default: the engine this project deployed to)",
|
|
2533
|
+
args: [{ name: "name", required: false }],
|
|
2534
|
+
flags: ["stdio", "project"],
|
|
2535
|
+
example: "xanosdk local mcp"
|
|
2536
|
+
},
|
|
2495
2537
|
stop: {
|
|
2496
2538
|
// The name is optional because `--all` stands in for it — and `--all`
|
|
2497
2539
|
// is the form most runs want, since it covers every project.
|
|
@@ -2781,6 +2823,32 @@ var COMMANDS = {
|
|
|
2781
2823
|
flags: ["check"],
|
|
2782
2824
|
example: "xanosdk upgrade --check"
|
|
2783
2825
|
},
|
|
2826
|
+
"agent-skill": {
|
|
2827
|
+
group: "Maintenance",
|
|
2828
|
+
display: "agent-skill <install|uninstall|status>",
|
|
2829
|
+
summary: "Install the xano-backend skill into the coding agents on this machine",
|
|
2830
|
+
subcommands: {
|
|
2831
|
+
install: {
|
|
2832
|
+
summary: "Write the skill into the user-level skill directory of each detected agent; an edited copy is left alone unless --force",
|
|
2833
|
+
flags: [
|
|
2834
|
+
"agent",
|
|
2835
|
+
{ key: "dry-run", summary: "Report what would change and write nothing" },
|
|
2836
|
+
{ key: "force", summary: "Replace a copy that was edited since it was installed" }
|
|
2837
|
+
],
|
|
2838
|
+
example: "xanosdk agent-skill install --agent claude-code"
|
|
2839
|
+
},
|
|
2840
|
+
uninstall: {
|
|
2841
|
+
summary: "Remove the copies install wrote; an edited copy is reported and kept",
|
|
2842
|
+
flags: ["agent", { key: "dry-run", summary: "Report what would be removed and remove nothing" }],
|
|
2843
|
+
example: "xanosdk agent-skill uninstall"
|
|
2844
|
+
},
|
|
2845
|
+
status: {
|
|
2846
|
+
summary: "Report each copy as current, stale, edited or absent",
|
|
2847
|
+
flags: ["agent"],
|
|
2848
|
+
example: "xanosdk agent-skill status --json"
|
|
2849
|
+
}
|
|
2850
|
+
}
|
|
2851
|
+
},
|
|
2784
2852
|
help: {
|
|
2785
2853
|
group: "Maintenance",
|
|
2786
2854
|
display: "help",
|
|
@@ -2959,6 +3027,9 @@ export {
|
|
|
2959
3027
|
setTypedCwd,
|
|
2960
3028
|
pastePath,
|
|
2961
3029
|
projectFileCli,
|
|
3030
|
+
MCP_SERVER_NAME,
|
|
3031
|
+
MCP_CONFIGS,
|
|
3032
|
+
mcpServerCommand,
|
|
2962
3033
|
spellProjectCli,
|
|
2963
3034
|
projectSdkDir,
|
|
2964
3035
|
spellProjectSdkDir,
|
|
@@ -3040,4 +3111,4 @@ export {
|
|
|
3040
3111
|
movedVerb,
|
|
3041
3112
|
installCliDiagnosticSink
|
|
3042
3113
|
};
|
|
3043
|
-
//# sourceMappingURL=chunk-
|
|
3114
|
+
//# sourceMappingURL=chunk-CH23ONYG.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-WAVNUTMT.js";
|
|
4
4
|
import {
|
|
5
5
|
UsageError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CH23ONYG.js";
|
|
7
7
|
|
|
8
8
|
// src/emit/module-manifest.ts
|
|
9
9
|
import { existsSync, readFileSync, statSync } from "fs";
|
|
@@ -179,4 +179,4 @@ export {
|
|
|
179
179
|
loadFile,
|
|
180
180
|
homepageOf
|
|
181
181
|
};
|
|
182
|
-
//# sourceMappingURL=chunk-
|
|
182
|
+
//# sourceMappingURL=chunk-CNZASQPL.js.map
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
hostLabel,
|
|
6
6
|
questionSets,
|
|
7
7
|
resolvePluginAnswers
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JX6N73H3.js";
|
|
9
9
|
import {
|
|
10
10
|
gitattributesSpec
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LJM5CIY4.js";
|
|
12
12
|
import {
|
|
13
13
|
UsageError,
|
|
14
14
|
warn
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CH23ONYG.js";
|
|
16
16
|
import {
|
|
17
17
|
withArticle
|
|
18
18
|
} from "./chunk-36JUQZVQ.js";
|
|
@@ -221,4 +221,4 @@ export {
|
|
|
221
221
|
contributionOutcomes,
|
|
222
222
|
resolveContributions
|
|
223
223
|
};
|
|
224
|
-
//# sourceMappingURL=chunk-
|
|
224
|
+
//# sourceMappingURL=chunk-CPN6WSBH.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
confirm
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7M6JP3FS.js";
|
|
4
4
|
import {
|
|
5
5
|
ProfileNotFoundError,
|
|
6
6
|
describeRefreshAnswer,
|
|
7
7
|
environmentCredentialVars
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YH2JVJAO.js";
|
|
9
9
|
import {
|
|
10
10
|
yesRerun
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UYFUIHH3.js";
|
|
12
12
|
import {
|
|
13
13
|
OpenIdProvider,
|
|
14
14
|
assertCredentialFileRemovable,
|
|
@@ -31,11 +31,11 @@ import {
|
|
|
31
31
|
resolveScope,
|
|
32
32
|
withCredentialLock,
|
|
33
33
|
writeOrRemoveCredentialFile
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-NDJAKSE7.js";
|
|
35
35
|
import {
|
|
36
36
|
findProjectPointer,
|
|
37
37
|
resolveProjectProfile
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ARWMVNDJ.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveActiveProfile
|
|
41
41
|
} from "./chunk-MF4W6FHU.js";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
success,
|
|
51
51
|
warn,
|
|
52
52
|
writeJson
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-CH23ONYG.js";
|
|
54
54
|
import {
|
|
55
55
|
suggestAll
|
|
56
56
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -429,4 +429,4 @@ export {
|
|
|
429
429
|
salvageRevocable,
|
|
430
430
|
signInAgain
|
|
431
431
|
};
|
|
432
|
-
//# sourceMappingURL=chunk-
|
|
432
|
+
//# sourceMappingURL=chunk-CT3J5JRZ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addDependency,
|
|
3
3
|
removeDependency
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EF4MHLEW.js";
|
|
5
5
|
import {
|
|
6
6
|
condenseNpmError,
|
|
7
7
|
npmViewVersion
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-FWD7AL6N.js";
|
|
12
12
|
import {
|
|
13
13
|
isLocalSpecifier
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-47XT6WQL.js";
|
|
15
15
|
import {
|
|
16
16
|
addArgs,
|
|
17
17
|
installSite,
|
|
@@ -25,14 +25,14 @@ import {
|
|
|
25
25
|
moduleKind,
|
|
26
26
|
packageNameOf,
|
|
27
27
|
readInstalledManifest
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CNZASQPL.js";
|
|
29
29
|
import {
|
|
30
30
|
UsageError,
|
|
31
31
|
spinner,
|
|
32
32
|
step,
|
|
33
33
|
success,
|
|
34
34
|
warn
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-CH23ONYG.js";
|
|
36
36
|
|
|
37
37
|
// src/emit/init-modules.ts
|
|
38
38
|
import { existsSync, readFileSync, realpathSync } from "fs";
|
|
@@ -448,7 +448,7 @@ async function sdkPeerSkewOf(dir, pkg) {
|
|
|
448
448
|
const manifest = readInstalledManifest(dir, pkg);
|
|
449
449
|
if (manifest === null) return null;
|
|
450
450
|
const [{ sdkPeerSkew }, { readVersion }] = await Promise.all([
|
|
451
|
-
import("./toolchain-modules-
|
|
451
|
+
import("./toolchain-modules-OTNSKK52.js"),
|
|
452
452
|
import("./cli.js")
|
|
453
453
|
]);
|
|
454
454
|
const sdkVersion = readVersion();
|
|
@@ -480,4 +480,4 @@ export {
|
|
|
480
480
|
inProject,
|
|
481
481
|
installModules
|
|
482
482
|
};
|
|
483
|
-
//# sourceMappingURL=chunk-
|
|
483
|
+
//# sourceMappingURL=chunk-D5OZRJ3T.js.map
|