@8btc/finance-assistant-mcp 0.0.34 → 0.0.36
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/index.cjs +13 -1
- package/package.json +3 -2
package/dist/index.cjs
CHANGED
|
@@ -42,6 +42,10 @@ function _interopNamespaceDefault(e) {
|
|
|
42
42
|
return Object.freeze(n);
|
|
43
43
|
}
|
|
44
44
|
const echarts__namespace = /* @__PURE__ */ _interopNamespaceDefault(echarts);
|
|
45
|
+
const version = "0.0.36";
|
|
46
|
+
const pkgJSON = {
|
|
47
|
+
version
|
|
48
|
+
};
|
|
45
49
|
async function startStdioMcpServer(server) {
|
|
46
50
|
const transport2 = new stdio_js.StdioServerTransport();
|
|
47
51
|
await server.connect(transport2);
|
|
@@ -3577,7 +3581,7 @@ zod.z.object({
|
|
|
3577
3581
|
})
|
|
3578
3582
|
});
|
|
3579
3583
|
const tool$3 = {
|
|
3580
|
-
name: "
|
|
3584
|
+
name: "generate_market_trends_pdf",
|
|
3581
3585
|
description: "市场趋势分析报告pdf,传入的json参数必须是标准格式的",
|
|
3582
3586
|
inputSchema: zodToJsonSchema(marketTrendSchema)
|
|
3583
3587
|
};
|
|
@@ -8148,6 +8152,10 @@ const parsed = node_util.parseArgs({
|
|
|
8148
8152
|
help: {
|
|
8149
8153
|
type: "boolean",
|
|
8150
8154
|
short: "H"
|
|
8155
|
+
},
|
|
8156
|
+
version: {
|
|
8157
|
+
type: "boolean",
|
|
8158
|
+
short: "V"
|
|
8151
8159
|
}
|
|
8152
8160
|
},
|
|
8153
8161
|
allowPositionals: true,
|
|
@@ -8172,6 +8180,10 @@ if (isHostValue) {
|
|
|
8172
8180
|
}
|
|
8173
8181
|
const values = JSON.parse(JSON.stringify(parsed.values));
|
|
8174
8182
|
values.host = host;
|
|
8183
|
+
if (values.version) {
|
|
8184
|
+
console.log(`version ${pkgJSON.version}`);
|
|
8185
|
+
process.exit(0);
|
|
8186
|
+
}
|
|
8175
8187
|
if (values.help) {
|
|
8176
8188
|
console.log(`
|
|
8177
8189
|
MCP Server Chart CLI
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@8btc/finance-assistant-mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.36",
|
|
4
4
|
"description": "财经agent辅助mcp工具",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"type": "module",
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
"test:news:industry": "npm run build && node test/test-financial-news-industry.cjs",
|
|
21
21
|
"test:fundamental": "npm run build && node test/test-fundamental.cjs",
|
|
22
22
|
"test:market-trends": "npm run build && node test/test-market-trends.cjs",
|
|
23
|
-
"test:stock-forecast": "npm run build && node test/test-stock-forecast.cjs"
|
|
23
|
+
"test:stock-forecast": "npm run build && node test/test-stock-forecast.cjs",
|
|
24
|
+
"print-version": "npm run build && node ./dist/index.cjs -V"
|
|
24
25
|
},
|
|
25
26
|
"keywords": [
|
|
26
27
|
"mcp",
|