@moly-mcp/lido 1.0.9 → 1.1.1
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/dist/bin.js +17 -0
- package/package.json +3 -2
package/dist/bin.js
CHANGED
|
@@ -524,6 +524,23 @@ async function main() {
|
|
|
524
524
|
console.log(JSON.stringify(pos, null, 2));
|
|
525
525
|
break;
|
|
526
526
|
}
|
|
527
|
+
// ── moly terminal — start chat session directly ───────────────────
|
|
528
|
+
case "terminal": {
|
|
529
|
+
if (!configExists()) {
|
|
530
|
+
const { cfg, terminalMode } = await runWizard();
|
|
531
|
+
if (terminalMode) {
|
|
532
|
+
const { startChatSession } = await import("./session-ZIAXZNTD.js");
|
|
533
|
+
await startChatSession(cfg);
|
|
534
|
+
} else {
|
|
535
|
+
await startServer();
|
|
536
|
+
}
|
|
537
|
+
} else {
|
|
538
|
+
const cfg = loadConfig();
|
|
539
|
+
const { startChatSession } = await import("./session-ZIAXZNTD.js");
|
|
540
|
+
await startChatSession(cfg);
|
|
541
|
+
}
|
|
542
|
+
break;
|
|
543
|
+
}
|
|
527
544
|
// ── moly --server (force-start, used in AI client configs) ────────
|
|
528
545
|
case "--server": {
|
|
529
546
|
if (!configExists()) {
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moly-mcp/lido",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Lido MCP Server — stake, unstake, wrap, govern. Works with Claude Desktop, Cursor, Windsurf, and any MCP client.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
|
-
"moly": "./dist/bin.js"
|
|
8
|
+
"moly": "./dist/bin.js",
|
|
9
|
+
"moly-mcp": "./dist/bin.js"
|
|
9
10
|
},
|
|
10
11
|
"main": "./dist/server/index.js",
|
|
11
12
|
"files": [
|