omnitrade-mcp 0.3.0 → 0.3.2

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.3.0";
8
+ var VERSION = "0.3.2";
9
9
  var CONFIG_PATH = join(homedir(), ".omnitrade", "config.json");
10
10
  var COLORS = {
11
11
  reset: "\x1B[0m",
@@ -252,7 +252,7 @@ ${c.bright}Next steps:${c.reset}`);
252
252
  }
253
253
  async function main() {
254
254
  const args = process.argv.slice(2);
255
- const command = args[0] || "start";
255
+ const command = args[0] || "help";
256
256
  switch (command) {
257
257
  case "help":
258
258
  case "--help":
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.3.0";
914
+ var VERSION = "0.3.2";
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.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Multi-exchange AI trading via MCP. 107 exchanges. One AI.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  /**
3
3
  * Post-install welcome screen
4
+ * Uses stderr so npm doesn't suppress it
4
5
  */
5
6
 
6
7
  const c = {
@@ -15,7 +16,7 @@ const c = {
15
16
  blue: '\x1b[34m',
16
17
  };
17
18
 
18
- console.log(`
19
+ const msg = `
19
20
  ${c.cyan}${c.bright}
20
21
  ╔═══════════════════════════════════════════════════════════════════╗
21
22
  ║ ║
@@ -59,4 +60,7 @@ ${c.cyan} ───────────────────────
59
60
  ${c.dim}Commands:${c.reset} omnitrade-mcp help ${c.dim}|${c.reset} omnitrade-mcp test
60
61
  ${c.dim}Docs:${c.reset} ${c.blue}https://github.com/Connectry-io/omnitrade-mcp${c.reset}
61
62
  ${c.cyan} ─────────────────────────────────────────────────────────────────${c.reset}
62
- `);
63
+ `;
64
+
65
+ // Write to stderr so npm doesn't suppress it during global install
66
+ process.stderr.write(msg + '\n');