@8btc/finance-assistant-mcp 0.0.65 → 0.0.67

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.
Files changed (2) hide show
  1. package/dist/index.cjs +8 -7
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -45,7 +45,7 @@ function _interopNamespaceDefault(e) {
45
45
  }
46
46
  const echarts__namespace = /* @__PURE__ */ _interopNamespaceDefault(echarts);
47
47
  const d3__namespace = /* @__PURE__ */ _interopNamespaceDefault(d3);
48
- const version = "0.0.65";
48
+ const version = "0.0.67";
49
49
  const pkgJSON = {
50
50
  version
51
51
  };
@@ -180,7 +180,7 @@ const renderHeat = (heat) => {
180
180
  center: ["50%", "75%"],
181
181
  radius: "90%",
182
182
  min: 0,
183
- max: 1,
183
+ max: 100,
184
184
  splitNumber: 8,
185
185
  axisLine: {
186
186
  lineStyle: {
@@ -601,7 +601,7 @@ function Chapter3$5({
601
601
  }
602
602
  }, [data]);
603
603
  const sentimentValue = sentiment?.value || 0;
604
- const normalized = sentimentValue / 100;
604
+ const normalized = sentimentValue;
605
605
  const slideWidth = normalized * 400;
606
606
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "chapterPage", children: [
607
607
  /* @__PURE__ */ jsxRuntime.jsx(SectionHeader, { index: 3, title: financialNewsTOCMarket[2].title }),
@@ -1886,7 +1886,7 @@ const renderInstitutionPie = (rawData) => {
1886
1886
  radius: "70%",
1887
1887
  label: {
1888
1888
  formatter: (v) => {
1889
- return `${v.name} ${formatNumberToUnit(Number(v.value || 0))}%`;
1889
+ return `${v.name}`;
1890
1890
  }
1891
1891
  },
1892
1892
  data: rawData.map((it) => {
@@ -2460,7 +2460,7 @@ function Chapter4$4({ data, roeSvg }) {
2460
2460
  ] })
2461
2461
  ] }),
2462
2462
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "section-sub-header", children: "4.4 现金流" }),
2463
- /* @__PURE__ */ jsxRuntime.jsx("div", { children: data.cash_flow_ratio }),
2463
+ /* @__PURE__ */ jsxRuntime.jsx("div", { children: data.cash_flow_ratio_review }),
2464
2464
  /* @__PURE__ */ jsxRuntime.jsxs("ul", { className: "list", children: [
2465
2465
  /* @__PURE__ */ jsxRuntime.jsxs("li", { children: [
2466
2466
  /* @__PURE__ */ jsxRuntime.jsx("strong", { children: "经营现金流:" }),
@@ -2765,7 +2765,7 @@ const fundamentalSchema = {
2765
2765
  gp_margin_review: z.z.string(),
2766
2766
  revenue_review: z.z.string(),
2767
2767
  balance_review: z.z.string().describe("财务结构点评"),
2768
- cash_flow_ratio: z.z.number().describe("现金流点评"),
2768
+ cash_flow_ratio_review: z.z.number().describe("现金流点评"),
2769
2769
  peg_review: z.z.string().describe("peg 点评"),
2770
2770
  industry_trends_commentary: z.z.string().describe("行业趋势展望"),
2771
2771
  pe_list: z.z.array(
@@ -2852,7 +2852,8 @@ const toolHandler$4 = async (partialArgs) => {
2852
2852
  logger.info(jsonData);
2853
2853
  const args = {
2854
2854
  ...partialArgs,
2855
- ...jsonData
2855
+ ...jsonData,
2856
+ pe_list: partialArgs.pe_list
2856
2857
  };
2857
2858
  const resp = generateFundamentalHtml(args);
2858
2859
  const pdfUrl = await generatePDF({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@8btc/finance-assistant-mcp",
3
- "version": "0.0.65",
3
+ "version": "0.0.67",
4
4
  "description": "财经agent辅助mcp工具",
5
5
  "main": "dist/index.cjs",
6
6
  "type": "module",