mcp-algorithm-box-config 1.0.2 → 1.0.4
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.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -93,7 +93,7 @@ function buildHtml(result) {
|
|
|
93
93
|
<head>
|
|
94
94
|
<meta charset="UTF-8">
|
|
95
95
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
96
|
-
<title
|
|
96
|
+
<title>算法盒子配置方案统计图 (${result.totalCameras}摄像头 · ${result.pollIntervalMin}min轮询)</title>
|
|
97
97
|
<script src="https://cdn.jsdelivr.net/npm/echarts@5.5.0/dist/echarts.min.js"><\/script>
|
|
98
98
|
<style>
|
|
99
99
|
:root{--bg:#f0f2f5;--card-bg:#fff;--text:#1a1a2e;--t2:#666;--border:#e0e0e0;--accent:#1677ff;--accent-light:#e6f4ff;--success:#52c41a;--warning:#faad14;--danger:#ff4d4f}
|
|
@@ -128,7 +128,7 @@ tr.hl td{background:#fff7e6;font-weight:600}
|
|
|
128
128
|
</head>
|
|
129
129
|
<body>
|
|
130
130
|
<div class="header">
|
|
131
|
-
<h1
|
|
131
|
+
<h1>算法盒子配置方案统计图</h1>
|
|
132
132
|
<div class="sub">X轴=等待时间(分钟) · Y轴=每盒实时分析数 · 色块=盒子数 · FIFO连续模型 · 数据内嵌无需后端</div>
|
|
133
133
|
</div>
|
|
134
134
|
<div class="container">
|
|
@@ -263,7 +263,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
|
263
263
|
tools: [
|
|
264
264
|
{
|
|
265
265
|
name: "generate_box_config_chart",
|
|
266
|
-
description: "
|
|
266
|
+
description: "生成算法盒子配置方案统计图(自包含HTML)。根据摄像头总数、轮询间隔和最大等待时间," +
|
|
267
267
|
"用FIFO连续模型计算每个(等待时间, 实时分析数)组合下需要的最少盒子数," +
|
|
268
268
|
"生成交互式ECharts热力图和最优方案表,保存为HTML文件并返回路径。",
|
|
269
269
|
inputSchema: TOOL_SCHEMA,
|