Skip to content

Commit 950c908

Browse files
authored
Merge pull request #3 from szhygulin/chore/tighten-gitignore-env
v0.1.1: fix setup CLI hang + tighten .gitignore
2 parents 3942a8a + de389f8 commit 950c908

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "recon-crypto-mcp",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "MCP server for AI agents (Claude Code, Claude Desktop, Cursor) to manage a self-custodial crypto portfolio through a Ledger hardware wallet. Reads on-chain wallet balances, ENS, token prices, and DeFi positions across Ethereum/Arbitrum/Polygon (Aave V3, Compound V3, Morpho Blue, Uniswap V3 LP, Lido stETH, EigenLayer), surfaces liquidation/health-factor alerts and protocol risk scores, then prepares unsigned EVM transactions (supply, borrow, repay, withdraw, stake, unstake, native/ERC-20 send, and LiFi-routed swaps and cross-chain bridges) that the user signs on their Ledger device via WalletConnect — private keys never leave the hardware wallet.",
55
"type": "module",
66
"main": "dist/index.js",

src/setup.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,4 +283,9 @@ async function main() {
283283
}
284284
}
285285

286-
main();
286+
main().then(() => {
287+
// WalletConnect's SignClient keeps websocket/relay handles open that prevent
288+
// a natural event-loop exit. Force-exit so the CLI returns control to the
289+
// shell; process.exitCode (set on error) is honored.
290+
process.exit();
291+
});

0 commit comments

Comments
 (0)