@moly-mcp/lido 1.0.4 → 1.0.6

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 CHANGED
@@ -141,10 +141,10 @@ async function runWizard() {
141
141
  await select({
142
142
  message: "AI Provider? (optional \u2014 used for built-in chat + config snippet)",
143
143
  options: [
144
- { value: "none", label: "None / Skip" },
144
+ { value: "openrouter", label: "OpenRouter (access any model with one key)" },
145
145
  { value: "anthropic", label: "Anthropic (Claude)" },
146
146
  { value: "google", label: "Google (Gemini)" },
147
- { value: "openrouter", label: "OpenRouter (access any model with one key)" }
147
+ { value: "none", label: "None / Skip" }
148
148
  ]
149
149
  })
150
150
  );
@@ -164,10 +164,10 @@ async function runWizard() {
164
164
  await select({
165
165
  message: "Which AI client are you using? (for config snippet)",
166
166
  options: [
167
+ { value: "Integrated Terminal", label: "Moly Environment" },
167
168
  { value: "claude-desktop", label: "Claude Desktop" },
168
169
  { value: "cursor", label: "Cursor" },
169
- { value: "windsurf", label: "Windsurf / Codeium" },
170
- { value: "none", label: "Skip" }
170
+ { value: "windsurf", label: "Windsurf / Codeium" }
171
171
  ]
172
172
  })
173
173
  );
@@ -185,7 +185,7 @@ async function runWizard() {
185
185
  if (snippet) {
186
186
  note(snippet, "Add to your AI client config");
187
187
  }
188
- const terminalMode = ai !== null && clientChoice === "none";
188
+ const terminalMode = ai !== null && clientChoice === "Integrated Terminal";
189
189
  if (terminalMode) {
190
190
  outro(`Launching Moly Terminal... ${mode} \xB7 ${network} \xB7 ready`);
191
191
  } else {
@@ -206,7 +206,7 @@ async function main() {
206
206
  case "setup": {
207
207
  const { cfg, terminalMode } = await runWizard();
208
208
  if (terminalMode) {
209
- const { startChatSession } = await import("./session-N3M6PMYR.js");
209
+ const { startChatSession } = await import("./session-RFQTJ6WZ.js");
210
210
  await startChatSession(cfg);
211
211
  } else {
212
212
  await startServer();
@@ -251,7 +251,7 @@ async function main() {
251
251
  if (!configExists()) {
252
252
  const { cfg, terminalMode } = await runWizard();
253
253
  if (terminalMode) {
254
- const { startChatSession } = await import("./session-N3M6PMYR.js");
254
+ const { startChatSession } = await import("./session-RFQTJ6WZ.js");
255
255
  await startChatSession(cfg);
256
256
  } else {
257
257
  await startServer();
@@ -464,7 +464,7 @@ async function startChatSession(cfg) {
464
464
  const messages = [
465
465
  {
466
466
  role: "user",
467
- content: `You are Moly, an AI assistant for Lido Finance on ${cfg.network}. Mode: ${cfg.mode} (${cfg.mode === "simulation" ? "dry-run, nothing broadcast" : "LIVE - real on-chain transactions"}). Help stake ETH, manage withdrawals, wrap/unwrap tokens, governance. Be concise. For live transactions always confirm with the user first.`
467
+ content: `You are Moly, a terminal assistant for Lido Finance on ${cfg.network}. Mode: ${cfg.mode} (${cfg.mode === "simulation" ? "dry-run, nothing broadcast" : "LIVE - real on-chain transactions"}). You can only do what your tools support: staking ETH, withdrawals, wrap/unwrap stETH/wstETH, balances, rewards, and Lido DAO governance. If asked about anything outside those tools (e.g. Lido Vaults, validators, node operators, DeFi integrations), say clearly and briefly that it is not supported. IMPORTANT: This is a terminal. Never use markdown. No **bold**, no bullet points, no headers, no backticks. Plain text only. Be concise. For live transactions always confirm first.`
468
468
  },
469
469
  {
470
470
  role: "assistant",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moly-mcp/lido",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
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",