omnitrade-mcp 0.2.0 → 0.3.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/cli.js CHANGED
@@ -5,7 +5,7 @@ import { existsSync, mkdirSync, writeFileSync, readFileSync } from "fs";
5
5
  import { homedir } from "os";
6
6
  import { join } from "path";
7
7
  import * as readline from "readline";
8
- var VERSION = "0.2.0";
8
+ var VERSION = "0.3.1";
9
9
  var CONFIG_PATH = join(homedir(), ".omnitrade", "config.json");
10
10
  var COLORS = {
11
11
  reset: "\x1B[0m",
package/dist/index.js CHANGED
@@ -911,7 +911,7 @@ function registerArbitrageTools(server, exchangeManager) {
911
911
  }
912
912
 
913
913
  // src/index.ts
914
- var VERSION = "0.2.0";
914
+ var VERSION = "0.3.1";
915
915
  function showBanner() {
916
916
  console.error(`
917
917
  \u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omnitrade-mcp",
3
- "version": "0.2.0",
3
+ "version": "0.3.1",
4
4
  "description": "Multi-exchange AI trading via MCP. 107 exchanges. One AI.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -9,6 +9,7 @@
9
9
  },
10
10
  "scripts": {
11
11
  "build": "tsup src/cli.ts src/index.ts --format esm --dts --clean",
12
+ "postinstall": "node scripts/postinstall.js || true",
12
13
  "dev": "tsup src/index.ts --format esm --watch",
13
14
  "test": "vitest",
14
15
  "lint": "eslint src/",
@@ -52,6 +53,7 @@
52
53
  },
53
54
  "files": [
54
55
  "dist",
56
+ "scripts",
55
57
  "README.md",
56
58
  "LICENSE"
57
59
  ],
@@ -0,0 +1,66 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Post-install welcome screen
4
+ * Uses stderr so npm doesn't suppress it
5
+ */
6
+
7
+ const c = {
8
+ reset: '\x1b[0m',
9
+ bright: '\x1b[1m',
10
+ dim: '\x1b[2m',
11
+ cyan: '\x1b[36m',
12
+ green: '\x1b[32m',
13
+ yellow: '\x1b[33m',
14
+ magenta: '\x1b[35m',
15
+ white: '\x1b[37m',
16
+ blue: '\x1b[34m',
17
+ };
18
+
19
+ const msg = `
20
+ ${c.cyan}${c.bright}
21
+ ╔═══════════════════════════════════════════════════════════════════╗
22
+ ║ ║
23
+ ║ ${c.white}█████╗ █████╗█████╗██╗███╗ ██╗██████╗ █████╗ ████╗ █████╗${c.cyan} ║
24
+ ║ ${c.white}██╔═██╗██╔═██╗██╔═██╗██║████╗██║╚═██╔═╝██╔═██╗██╔═██╗██╔═══╝${c.cyan} ║
25
+ ║ ${c.white}██║ ██║██║ ██║██║ ██║██║██╔████║ ██║ █████╔╝██████║██████╗${c.cyan} ║
26
+ ║ ${c.white}██║ ██║██║ ██║██║ ██║██║██║╚███║ ██║ ██╔═██╗██╔═██║██╔═══╝${c.cyan} ║
27
+ ║ ${c.white}█████╔╝██║ ██║██║ ██║██║██║ ███║ ██║ ██║ ██║██║ ██║█████╗${c.cyan} ║
28
+ ║ ${c.white}╚════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚══╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚════╝${c.cyan} ║
29
+ ║ ║
30
+ ║ ${c.magenta}███╗ ███╗ ██████╗██████╗${c.cyan} ║
31
+ ║ ${c.magenta}████╗ ████║██╔════╝██╔══██╗${c.cyan} ${c.dim}One AI. 107 Exchanges.${c.cyan} ║
32
+ ║ ${c.magenta}██╔████╔██║██║ ██████╔╝${c.cyan} ${c.dim}Natural Language Trading.${c.cyan} ║
33
+ ║ ${c.magenta}██║╚██╔╝██║██║ ██╔═══╝${c.cyan} ║
34
+ ║ ${c.magenta}██║ ╚═╝ ██║╚██████╗██║${c.cyan} ║
35
+ ║ ${c.magenta}╚═╝ ╚═╝ ╚═════╝╚═╝${c.cyan} ${c.dim}by Connectry Labs${c.cyan} ║
36
+ ║ ║
37
+ ╚═══════════════════════════════════════════════════════════════════╝
38
+ ${c.reset}
39
+ ${c.green}${c.bright} ✓ Installation complete!${c.reset}
40
+
41
+ ${c.bright}${c.white} QUICK START${c.reset}
42
+ ${c.cyan} ─────────────────────────────────────────────────────────────────${c.reset}
43
+
44
+ ${c.yellow}Step 1:${c.reset} Run the setup wizard
45
+ ${c.dim}$${c.reset} ${c.cyan}omnitrade-mcp init${c.reset}
46
+
47
+ ${c.yellow}Step 2:${c.reset} Add to Claude Desktop config
48
+ ${c.dim}Edit: ~/Library/Application Support/Claude/claude_desktop_config.json${c.reset}
49
+
50
+ ${c.dim}{
51
+ "mcpServers": {
52
+ "omnitrade": { "command": "omnitrade-mcp" }
53
+ }
54
+ }${c.reset}
55
+
56
+ ${c.yellow}Step 3:${c.reset} Restart Claude Desktop & start trading!
57
+ ${c.dim}Ask: "What's my balance?" or "Buy $50 of BTC"${c.reset}
58
+
59
+ ${c.cyan} ─────────────────────────────────────────────────────────────────${c.reset}
60
+ ${c.dim}Commands:${c.reset} omnitrade-mcp help ${c.dim}|${c.reset} omnitrade-mcp test
61
+ ${c.dim}Docs:${c.reset} ${c.blue}https://github.com/Connectry-io/omnitrade-mcp${c.reset}
62
+ ${c.cyan} ─────────────────────────────────────────────────────────────────${c.reset}
63
+ `;
64
+
65
+ // Write to stderr so npm doesn't suppress it during global install
66
+ process.stderr.write(msg + '\n');