@nalinsahani/wealtharena-cli 0.1.3 → 0.1.5
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/bin/mcp.js +2 -1
- package/package.json +5 -5
package/bin/mcp.js
CHANGED
|
@@ -14,11 +14,12 @@ const readline = require('readline');
|
|
|
14
14
|
const waLauncher = path.join(__dirname, 'wa.js');
|
|
15
15
|
|
|
16
16
|
function callWa(args) {
|
|
17
|
-
const fullArgs = [waLauncher, '--
|
|
17
|
+
const fullArgs = [waLauncher, '--md', ...args];
|
|
18
18
|
const proc = spawnSync(process.execPath, fullArgs, {
|
|
19
19
|
encoding: 'utf8',
|
|
20
20
|
env: { ...process.env, WA_AI: '1', WA_ACTOR: 'mcp-server' },
|
|
21
21
|
});
|
|
22
|
+
|
|
22
23
|
return {
|
|
23
24
|
status: proc.status,
|
|
24
25
|
stdout: proc.stdout || '',
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nalinsahani/wealtharena-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Wealth Arena trading & market CLI for traders and AI agents",
|
|
5
5
|
"bin": {
|
|
6
|
-
"wac": "
|
|
7
|
-
"wa": "
|
|
8
|
-
"wealtharena-cli": "
|
|
9
|
-
"wa-mcp": "
|
|
6
|
+
"wac": "bin/wa.js",
|
|
7
|
+
"wa": "bin/wa.js",
|
|
8
|
+
"wealtharena-cli": "bin/wa.js",
|
|
9
|
+
"wa-mcp": "bin/mcp.js"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"bin",
|