Add files via upload

This commit is contained in:
公明
2026-06-04 17:57:12 +08:00
committed by GitHub
parent 1e6e92b4af
commit a397922361
5 changed files with 1971 additions and 926 deletions
+1105 -714
View File
File diff suppressed because it is too large Load Diff
+24 -1
View File
@@ -1514,6 +1514,17 @@
"unknownTool": "Unknown tool",
"successFailedRate": "Success {{success}} / Failed {{failed}} · {{rate}}% success rate",
"topToolsTitle": "Top {{n}} tools by calls",
"toolRankingTitle": "Tool call ranking",
"toolStatsTitle": "Tool statistics",
"toolStatsHint": "Click a bar segment or row to filter records below; hover to highlight",
"scopeCumulative": "All time",
"scopeTimeline": "Trend period",
"filterActive": "Filtered: {{tool}}",
"kpiScopeNote": "Lifetime totals",
"columnCalls": "Calls",
"columnShare": "Share",
"columnSuccessRate": "Success rate",
"rankingSummary": "Top {{n}} {{pct}}% · {{total}} total calls",
"barVolumeLegend": "Bar length: relative call volume; green/red: success vs failure share",
"clickToFilterTool": "Click a row to filter records below",
"toolRowAriaLabel": "{{name}}, {{total}} calls, {{rate}}% success rate. Click to filter records.",
@@ -1526,9 +1537,21 @@
"rateWarning": "Some failures detected",
"rateCritical": "High failure rate",
"statsSubtitle": "Refreshed {{time}} · {{count}} tools",
"timelineTitle": "Call trend",
"timelineHint": "All tools combined (not split by tool)",
"timelineRange24h": "24h",
"timelineRange7d": "7d",
"timelineRange30d": "30d",
"timelineSummary": "{{total}} calls in range · peak {{peak}}",
"timelineSparseHint": "Most buckets are empty; peak {{peak}} calls at {{peakTime}}",
"timelineNoData": "No calls in this period",
"timelineLoadError": "Failed to load call trend",
"timelineTotalLegend": "Total calls",
"timelineFailedLegend": "Failed",
"timelineTooltip": "{{time}}: {{total}} calls ({{failed}} failed)",
"distTitle": "Call distribution",
"distLegend": "Slice area shows share of all calls",
"distClickHint": "Click legend or slice to filter records",
"distClickHint": "Click a bar segment to filter records",
"distHeaderHint": "{{n}} total calls",
"distSegmentAria": "{{name}}, {{pct}}% of calls, {{calls}} times",
"distOthersNoFilter": "Other tools cannot be filtered individually",
+24 -1
View File
@@ -1503,6 +1503,17 @@
"unknownTool": "未知工具",
"successFailedRate": "成功 {{success}} / 失败 {{failed}} · 成功率 {{rate}}%",
"topToolsTitle": "工具调用 Top {{n}}",
"toolRankingTitle": "工具调用排行",
"toolStatsTitle": "工具统计",
"toolStatsHint": "点击色条或列表行筛选下方执行记录;悬停联动高亮",
"scopeCumulative": "累计",
"scopeTimeline": "趋势时段",
"filterActive": "已筛选:{{tool}}",
"kpiScopeNote": "累计统计(全时段)",
"columnCalls": "调用",
"columnShare": "占比",
"columnSuccessRate": "成功率",
"rankingSummary": "Top {{n}} 占 {{pct}}% · 共 {{total}} 次调用",
"barVolumeLegend": "条长表示相对调用量,条内绿/红为成功/失败占比",
"clickToFilterTool": "点击行筛选下方执行记录",
"toolRowAriaLabel": "{{name}}{{total}} 次调用,成功率 {{rate}}%,点击查看执行记录",
@@ -1515,9 +1526,21 @@
"rateWarning": "存在失败调用",
"rateCritical": "失败率偏高",
"statsSubtitle": "最后刷新 {{time}} · 共 {{count}} 个工具",
"timelineTitle": "调用趋势",
"timelineHint": "全部工具合计,不按工具拆分",
"timelineRange24h": "24 小时",
"timelineRange7d": "7 天",
"timelineRange30d": "30 天",
"timelineSummary": "区间内 {{total}} 次 · 峰值 {{peak}}",
"timelineSparseHint": "该时段多数时间为 0,峰值 {{peak}} 次出现在 {{peakTime}}",
"timelineNoData": "该时段暂无调用",
"timelineLoadError": "无法加载调用趋势",
"timelineTotalLegend": "总调用",
"timelineFailedLegend": "失败",
"timelineTooltip": "{{time}}{{total}} 次(失败 {{failed}}",
"distTitle": "调用分布",
"distLegend": "扇区面积为占全部调用比例",
"distClickHint": "点击图例或扇区筛选执行记录",
"distClickHint": "点击色条筛选执行记录",
"distHeaderHint": "共 {{n}} 次调用",
"distSegmentAria": "{{name}},占 {{pct}}%{{calls}} 次",
"distOthersNoFilter": "其他工具无法单独筛选",
+807 -201
View File
File diff suppressed because it is too large Load Diff
+11 -9
View File
@@ -1114,20 +1114,22 @@
</div>
<!-- MCP状态监控页面 -->
<div id="page-mcp-monitor" class="page">
<div id="page-mcp-monitor" class="page mcp-monitor-page">
<div class="page-header">
<h2 data-i18n="mcp.monitorTitle">MCP 状态监控</h2>
<button class="btn-secondary" onclick="refreshMonitorPanel()"><span data-i18n="common.refresh">刷新</span></button>
<div class="page-header-main">
<h2 data-i18n="mcp.monitorTitle">MCP 状态监控</h2>
<p id="monitor-stats-subtitle" class="monitor-page-subtitle" hidden></p>
</div>
<div class="page-header-actions">
<button type="button" class="btn-secondary btn-icon-text" onclick="refreshMonitorPanel()" aria-label="刷新">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="23 4 23 10 17 10"/><path d="M20.49 15a9 9 0 1 1-2.12-9.36L23 10"/></svg>
<span data-i18n="common.refresh">刷新</span>
</button>
</div>
</div>
<div class="page-content">
<div class="monitor-sections">
<section class="monitor-section monitor-overview">
<div class="section-header monitor-stats-section-header">
<div class="monitor-stats-header-text">
<h3 data-i18n="mcp.execStats">执行统计</h3>
<p id="monitor-stats-subtitle" class="monitor-stats-subtitle" hidden></p>
</div>
</div>
<div id="monitor-stats" class="mcp-exec-stats-root">
<div class="monitor-empty" data-i18n="mcpMonitor.loading">加载中...</div>
</div>