mcp-probe-kit 3.0.3 → 3.0.6

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 (60) hide show
  1. package/README.md +457 -423
  2. package/build/index.js +434 -140
  3. package/build/lib/template-loader.js +317 -317
  4. package/build/lib/tool-execution-context.d.ts +8 -0
  5. package/build/lib/tool-execution-context.js +20 -0
  6. package/build/schemas/git-tools.js +16 -16
  7. package/build/tools/__tests__/start_bugfix.unit.test.js +14 -14
  8. package/build/tools/__tests__/start_ui.unit.test.js +11 -11
  9. package/build/tools/add_feature.js +79 -79
  10. package/build/tools/ask_user.js +5 -5
  11. package/build/tools/interview.js +9 -9
  12. package/build/tools/start_bugfix.d.ts +2 -1
  13. package/build/tools/start_bugfix.js +131 -122
  14. package/build/tools/start_feature.d.ts +2 -1
  15. package/build/tools/start_feature.js +113 -104
  16. package/build/tools/start_onboard.d.ts +2 -1
  17. package/build/tools/start_onboard.js +57 -51
  18. package/build/tools/start_product.d.ts +2 -1
  19. package/build/tools/start_product.js +9 -1
  20. package/build/tools/start_ralph.d.ts +2 -1
  21. package/build/tools/start_ralph.js +9 -3
  22. package/build/tools/start_ui.d.ts +2 -1
  23. package/build/tools/start_ui.js +102 -88
  24. package/build/tools/ui-ux-tools.d.ts +2 -1
  25. package/build/tools/ui-ux-tools.js +19 -3
  26. package/build/utils/ui-sync.d.ts +6 -2
  27. package/build/utils/ui-sync.js +125 -29
  28. package/docs/assets/font/MaterialSymbolsOutlined.codepoints +4102 -0
  29. package/docs/assets/font/MaterialSymbolsOutlined.ttf +0 -0
  30. package/docs/assets/font/noto-sans-sc-400.ttf +0 -0
  31. package/docs/assets/font/noto-sans-sc-700.ttf +0 -0
  32. package/docs/assets/font/noto-sans-sc-900.ttf +0 -0
  33. package/docs/assets/js/i18n.js +375 -0
  34. package/docs/assets/js/tailwind.js +83 -83
  35. package/docs/assets/logo-zh.png +0 -0
  36. package/docs/assets/logo.png +0 -0
  37. package/docs/data/tools.js +21 -21
  38. package/docs/debug-i18n.html +163 -0
  39. package/docs/i18n/all-tools/en.json +157 -0
  40. package/docs/i18n/all-tools/ja.json +157 -0
  41. package/docs/i18n/all-tools/ko.json +157 -0
  42. package/docs/i18n/all-tools/zh-CN.json +157 -0
  43. package/docs/i18n/en.json +518 -0
  44. package/docs/i18n/ja.json +518 -0
  45. package/docs/i18n/ko.json +518 -0
  46. package/docs/i18n/zh-CN.json +518 -0
  47. package/docs/index.html +43 -32
  48. package/docs/pages/all-tools.html +514 -330
  49. package/docs/pages/examples.html +689 -673
  50. package/docs/pages/getting-started.html +589 -577
  51. package/docs/pages/migration.html +298 -283
  52. package/package.json +6 -6
  53. package/docs/project-context/architecture.md +0 -0
  54. package/docs/project-context/how-to-develop.md +0 -313
  55. package/docs/project-context/how-to-test.md +0 -457
  56. package/docs/project-context/tech-stack.md +0 -96
  57. package/docs/project-context.md +0 -53
  58. package/docs/specs/git-work-report/design.md +0 -568
  59. package/docs/specs/git-work-report/requirements.md +0 -131
  60. package/docs/specs/git-work-report/tasks.md +0 -197
package/docs/index.html CHANGED
@@ -3,10 +3,10 @@
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>MCP Probe Kit - AI 驱动的完整研发工具集 | 20个工具覆盖开发全流程</title>
6
+ <title>MCP Probe Kit - AI 驱动的完整研发工具集 | 21个工具覆盖开发全流程</title>
7
7
 
8
8
  <!-- SEO Meta Tags -->
9
- <meta name="description" content="MCP Probe Kit 提供 20 个 AI 驱动的研发工具,覆盖需求分析、代码开发、质量保障、Bug修复、版本发布全流程。支持 Cursor、Cline、Claude Desktop,100% 结构化输出。">
9
+ <meta name="description" content="MCP Probe Kit 提供 21 个 AI 驱动的研发工具,覆盖需求分析、代码开发、质量保障、Bug修复、版本发布全流程。支持 Cursor、Cline、Claude Desktop,100% 结构化输出。">
10
10
  <meta name="keywords" content="MCP Probe Kit, AI开发工具, 代码生成, 代码审查, Git工具, UI开发, 研发效率, Cursor, Cline, Claude, MCP Server">
11
11
  <meta name="author" content="小墨 (Kyle) - ByteZoneX">
12
12
  <meta name="robots" content="index, follow">
@@ -17,13 +17,13 @@
17
17
  <meta property="og:type" content="website">
18
18
  <meta property="og:url" content="https://mcp-probe-kit.bytezonex.com/">
19
19
  <meta property="og:title" content="MCP Probe Kit - AI 驱动的完整研发工具集">
20
- <meta property="og:description" content="20 个 AI 工具覆盖开发全流程,从需求到上线一站式解决。支持 Cursor、Cline、Claude Desktop。">
20
+ <meta property="og:description" content="21 个 AI 工具覆盖开发全流程,从需求到上线一站式解决。支持 Cursor、Cline、Claude Desktop。">
21
21
 
22
22
  <!-- Twitter -->
23
23
  <meta property="twitter:card" content="summary_large_image">
24
24
  <meta property="twitter:url" content="https://mcp-probe-kit.bytezonex.com/">
25
25
  <meta property="twitter:title" content="MCP Probe Kit - AI 驱动的完整研发工具集">
26
- <meta property="twitter:description" content="20 个 AI 工具覆盖开发全流程,从需求到上线一站式解决。">
26
+ <meta property="twitter:description" content="21 个 AI 工具覆盖开发全流程,从需求到上线一站式解决。">
27
27
 
28
28
  <script src="assets/js/tailwind.js" data-cfasync="false"></script>
29
29
  <script>
@@ -57,7 +57,8 @@
57
57
  lg: '0 10px 15px rgba(0, 0, 0, 0.1)',
58
58
  },
59
59
  fontFamily: {
60
- sans: ['-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'Roboto', '"Helvetica Neue"', 'Arial', 'sans-serif'],
60
+ sans: ['-apple-system', 'BlinkMacSystemFont', '"PingFang SC"', '"Microsoft YaHei"', '"Segoe UI"', 'Roboto', '"Helvetica Neue"', 'Arial', '"Noto Sans CJK SC"', 'sans-serif'],
61
+ mono: ['ui-monospace', '"SF Mono"', '"Cascadia Code"', '"Consolas"', 'Menlo', 'Monaco', '"PingFang SC"', '"Microsoft YaHei"', '"Courier New"', 'monospace']
61
62
  },
62
63
  }
63
64
  }
@@ -75,6 +76,14 @@
75
76
  }
76
77
  .backdrop { opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
77
78
  .backdrop.active { opacity: 1; pointer-events: auto; }
79
+
80
+ /* i18n 加载优化:防止内容闪烁 */
81
+ body:not(.i18n-ready) [data-i18n] {
82
+ visibility: hidden;
83
+ }
84
+ body.i18n-ready [data-i18n] {
85
+ visibility: visible;
86
+ }
78
87
  </style>
79
88
  </head>
80
89
  <body class="font-sans bg-bg-page text-text-primary leading-relaxed min-h-screen flex flex-col">
@@ -87,12 +96,13 @@
87
96
  </a>
88
97
  <div class="flex items-center gap-3">
89
98
  <div class="hidden md:flex items-center gap-4">
90
- <a href="./pages/all-tools.html" class="text-text-secondary text-sm font-medium hover:text-primary transition-colors">文档</a>
99
+ <a href="./pages/all-tools.html" class="text-text-secondary text-sm font-medium hover:text-primary transition-colors" data-i18n="nav.docs">文档</a>
91
100
  <a href="https://www.bytezonex.com/" target="_blank" rel="noopener" class="text-text-secondary text-sm font-medium hover:text-primary transition-colors flex items-center gap-1">
92
- <span>主站</span> ByteZoneX<span class="text-xs">↗</span>
101
+ <span data-i18n="nav.mainSite">主站</span> ByteZoneX<span class="text-xs">↗</span>
93
102
  </a>
94
103
  <a href="https://github.com/mybolide/mcp-probe-kit" target="_blank" rel="noopener" class="text-text-secondary text-sm font-medium hover:text-primary transition-colors flex items-center gap-1">GitHub<span class="text-xs">↗</span></a>
95
104
  <a href="https://www.npmjs.com/package/mcp-probe-kit" target="_blank" rel="noopener" class="text-text-secondary text-sm font-medium hover:text-primary transition-colors flex items-center gap-1">npm<span class="text-xs">↗</span></a>
105
+ <div id="lang-switcher-container"></div>
96
106
  </div>
97
107
  <button onclick="toggleSidebar()" class="md:hidden p-2 text-text-secondary hover:text-primary transition-colors">
98
108
  <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
@@ -169,12 +179,12 @@
169
179
  <!-- B. Hero 首屏 -->
170
180
  <section class="bg-gradient-to-br from-primary to-primary-hover text-white py-12 px-6 text-center mt-14">
171
181
  <div class="max-w-[800px] mx-auto">
172
- <h1 class="text-3xl sm:text-4xl md:text-5xl font-bold mb-3 tracking-tight">🚀 MCP Probe Kit</h1>
173
- <p class="text-base sm:text-lg opacity-95 mb-2">AI 开发增强工具集 · 文档中心</p>
174
- <div class="inline-block bg-white/20 px-3 py-1 rounded-full text-sm font-semibold mb-6 md:mb-8">v3.0.1</div>
182
+ <h1 class="text-3xl sm:text-4xl md:text-5xl font-bold mb-3 tracking-tight" data-i18n="hero.title">🚀 MCP Probe Kit</h1>
183
+ <p class="text-base sm:text-lg opacity-95 mb-2" data-i18n="hero.subtitle">AI 开发增强工具集 · 文档中心</p>
184
+ <div class="inline-block bg-white/20 px-3 py-1 rounded-full text-sm font-semibold mb-6 md:mb-8">v3.0.5</div>
175
185
  <div class="flex gap-3 md:gap-4 justify-center flex-wrap">
176
- <a href="./pages/getting-started.html" class="bg-white text-primary px-5 py-2.5 sm:px-6 sm:py-3 rounded-md text-sm sm:text-base font-semibold hover:-translate-y-0.5 hover:shadow-lg transition-all duration-200 inline-flex items-center gap-1.5 no-underline cursor-pointer border-0">快速开始</a>
177
- <a href="https://www.bytezonex.com/" target="_blank" rel="noopener" class="bg-white/15 text-white px-5 py-2.5 sm:px-6 sm:py-3 rounded-md text-sm sm:text-base font-semibold hover:bg-white/25 transition-all duration-200 inline-flex items-center gap-1.5 no-underline border border-white/30">
186
+ <a href="./pages/getting-started.html" class="bg-white text-primary px-5 py-2.5 sm:px-6 sm:py-3 rounded-md text-sm sm:text-base font-semibold hover:-translate-y-0.5 hover:shadow-lg transition-all duration-200 inline-flex items-center gap-1.5 no-underline cursor-pointer border-0" data-i18n="hero.quickStart">快速开始</a>
187
+ <a href="https://www.bytezonex.com/" target="_blank" rel="noopener" class="bg-white/15 text-white px-5 py-2.5 sm:px-6 sm:py-3 rounded-md text-sm sm:text-base font-semibold hover:bg-white/25 transition-all duration-200 inline-flex items-center gap-1.5 no-underline border border-white/30" data-i18n="hero.visitMainSite">
178
188
  访问主站 ByteZoneX ↗
179
189
  </a>
180
190
  </div>
@@ -189,13 +199,13 @@
189
199
  <div class="flex items-center justify-between mb-3 pb-3 border-b border-border">
190
200
  <h2 class="flex items-center gap-2 text-lg sm:text-xl font-semibold text-text-primary">
191
201
  <span>📖</span>
192
- <span>快速开始</span>
202
+ <span data-i18n="sections.quickStart.title">快速开始</span>
193
203
  </h2>
194
204
  </div>
195
- <p class="text-text-secondary text-sm mb-4 leading-relaxed">5 分钟快速上手 MCP Probe Kit v3.0.1</p>
205
+ <p class="text-text-secondary text-sm mb-4 leading-relaxed" data-i18n="sections.quickStart.description">5 分钟快速上手 MCP Probe Kit v3.0.5</p>
196
206
  <nav class="flex flex-col gap-0">
197
207
  <a href="./pages/getting-started.html" class="flex items-center justify-between px-3 py-2.5 -mx-3 text-text-primary text-sm font-medium rounded-md transition-all duration-200 hover:bg-bg-hover hover:text-primary no-underline">
198
- <span>安装配置</span>
208
+ <span data-i18n="sections.quickStart.installConfig">安装配置</span>
199
209
  <span class="link-arrow text-text-tertiary text-base">→</span>
200
210
  </a>
201
211
  </nav>
@@ -206,15 +216,15 @@
206
216
  <div class="flex items-center justify-between mb-3 pb-3 border-b border-border">
207
217
  <h2 class="flex items-center gap-2 text-lg sm:text-xl font-semibold text-text-primary">
208
218
  <span>🛠️</span>
209
- <span>工具文档</span>
219
+ <span data-i18n="sections.tools.title">工具文档</span>
210
220
  </h2>
211
221
  </div>
212
- <p class="text-text-secondary text-sm mb-4 leading-relaxed">20 个实用工具的完整参考</p>
222
+ <p class="text-text-secondary text-sm mb-4 leading-relaxed" data-i18n="sections.tools.description">21 个实用工具的完整参考</p>
213
223
  <nav class="flex flex-col gap-0">
214
224
  <a href="./pages/all-tools.html" class="flex items-center justify-between px-3 py-2.5 -mx-3 text-text-primary text-sm font-medium rounded-md transition-all duration-200 hover:bg-bg-hover hover:text-primary no-underline">
215
225
  <div class="flex items-center gap-2">
216
- <span>所有工具</span>
217
- <span class="bg-bg-hover text-text-secondary px-2 py-0.5 rounded-full text-xs font-semibold">20</span>
226
+ <span data-i18n="sections.tools.allTools">所有工具</span>
227
+ <span class="bg-bg-hover text-text-secondary px-2 py-0.5 rounded-full text-xs font-semibold">21</span>
218
228
  </div>
219
229
  <span class="link-arrow text-text-tertiary text-base">→</span>
220
230
  </a>
@@ -226,17 +236,17 @@
226
236
  <div class="flex items-center justify-between mb-3 pb-3 border-b border-border">
227
237
  <h2 class="flex items-center gap-2 text-lg sm:text-xl font-semibold text-text-primary">
228
238
  <span>📚</span>
229
- <span>指南</span>
239
+ <span data-i18n="sections.guides.title">指南</span>
230
240
  </h2>
231
241
  </div>
232
- <p class="text-text-secondary text-sm mb-4 leading-relaxed">迁移指南和最佳实践</p>
242
+ <p class="text-text-secondary text-sm mb-4 leading-relaxed" data-i18n="sections.guides.description">迁移指南和最佳实践</p>
233
243
  <nav class="flex flex-col gap-0">
234
244
  <a href="./pages/migration.html" class="flex items-center justify-between px-3 py-2.5 -mx-3 text-text-primary text-sm font-medium rounded-md transition-all duration-200 hover:bg-bg-hover hover:text-primary no-underline">
235
- <span>v2.x → v3.0 迁移指南</span>
245
+ <span data-i18n="sections.guides.migration">v2.x → v3.0 迁移指南</span>
236
246
  <span class="link-arrow text-text-tertiary text-base">→</span>
237
247
  </a>
238
248
  <a href="./pages/examples.html" class="flex items-center justify-between px-3 py-2.5 -mx-3 text-text-primary text-sm font-medium rounded-md transition-all duration-200 hover:bg-bg-hover hover:text-primary no-underline">
239
- <span>最佳实践</span>
249
+ <span data-i18n="sections.guides.bestPractices">最佳实践</span>
240
250
  <span class="link-arrow text-text-tertiary text-base">→</span>
241
251
  </a>
242
252
  </nav>
@@ -247,35 +257,35 @@
247
257
  <div class="flex items-center justify-between mb-3 pb-3 border-b border-border">
248
258
  <h2 class="flex items-center gap-2 text-lg sm:text-xl font-semibold text-text-primary">
249
259
  <span>🔗</span>
250
- <span>资源</span>
260
+ <span data-i18n="sections.resources.title">资源</span>
251
261
  </h2>
252
262
  </div>
253
- <p class="text-text-secondary text-sm mb-4 leading-relaxed">源代码和社区支持</p>
263
+ <p class="text-text-secondary text-sm mb-4 leading-relaxed" data-i18n="sections.resources.description">源代码和社区支持</p>
254
264
  <nav class="flex flex-col gap-0">
255
265
  <a href="https://www.bytezonex.com/" target="_blank" rel="noopener" class="flex items-center justify-between px-3 py-2.5 -mx-3 text-text-primary text-sm font-medium rounded-md transition-all duration-200 hover:bg-bg-hover hover:text-primary no-underline">
256
266
  <div class="flex items-center gap-2">
257
- <span>ByteZoneX 主站</span>
267
+ <span data-i18n="sections.resources.mainSite">ByteZoneX 主站</span>
258
268
  <span class="text-xs text-text-tertiary">↗</span>
259
269
  </div>
260
270
  <span class="link-arrow text-text-tertiary text-base">→</span>
261
271
  </a>
262
272
  <a href="https://github.com/mybolide/mcp-probe-kit" target="_blank" rel="noopener" class="flex items-center justify-between px-3 py-2.5 -mx-3 text-text-primary text-sm font-medium rounded-md transition-all duration-200 hover:bg-bg-hover hover:text-primary no-underline">
263
273
  <div class="flex items-center gap-2">
264
- <span>GitHub 仓库</span>
274
+ <span data-i18n="sections.resources.githubRepo">GitHub 仓库</span>
265
275
  <span class="text-xs text-text-tertiary">↗</span>
266
276
  </div>
267
277
  <span class="link-arrow text-text-tertiary text-base">→</span>
268
278
  </a>
269
279
  <a href="https://www.npmjs.com/package/mcp-probe-kit" target="_blank" rel="noopener" class="flex items-center justify-between px-3 py-2.5 -mx-3 text-text-primary text-sm font-medium rounded-md transition-all duration-200 hover:bg-bg-hover hover:text-primary no-underline">
270
280
  <div class="flex items-center gap-2">
271
- <span>npm 包</span>
281
+ <span data-i18n="sections.resources.npmPackage">npm 包</span>
272
282
  <span class="text-xs text-text-tertiary">↗</span>
273
283
  </div>
274
284
  <span class="link-arrow text-text-tertiary text-base">→</span>
275
285
  </a>
276
286
  <a href="https://github.com/mybolide/mcp-probe-kit/issues" target="_blank" rel="noopener" class="flex items-center justify-between px-3 py-2.5 -mx-3 text-text-primary text-sm font-medium rounded-md transition-all duration-200 hover:bg-bg-hover hover:text-primary no-underline">
277
287
  <div class="flex items-center gap-2">
278
- <span>问题反馈</span>
288
+ <span data-i18n="sections.resources.issues">问题反馈</span>
279
289
  <span class="text-xs text-text-tertiary">↗</span>
280
290
  </div>
281
291
  <span class="link-arrow text-text-tertiary text-base">→</span>
@@ -288,10 +298,10 @@
288
298
  <!-- D. Footer -->
289
299
  <footer class="bg-bg-card border-t border-border px-4 sm:px-6 py-6 mt-auto">
290
300
  <div class="max-w-[1200px] mx-auto flex flex-col sm:flex-row justify-between items-center gap-4 text-sm text-text-secondary">
291
- <div>Made with ❤️ by <a href="https://www.bytezonex.com/" target="_blank" rel="noopener" class="text-primary hover:text-primary-hover transition-colors duration-200 no-underline">小墨 (Kyle)</a></div>
301
+ <div><span data-i18n="footer.madeWith">Made with ❤️ by</span> <a href="https://www.bytezonex.com/" target="_blank" rel="noopener" class="text-primary hover:text-primary-hover transition-colors duration-200 no-underline">小墨 (Kyle)</a></div>
292
302
  <div>
293
- © 2024-2026 MCP Probe Kit · MIT License ·
294
- <a href="https://www.bytezonex.com/" target="_blank" rel="noopener" class="text-primary hover:text-primary-hover transition-colors duration-200 no-underline">主站 ByteZoneX ↗</a>
303
+ © 2024-2026 MCP Probe Kit · <span data-i18n="footer.license">MIT License</span> ·
304
+ <a href="https://www.bytezonex.com/" target="_blank" rel="noopener" class="text-primary hover:text-primary-hover transition-colors duration-200 no-underline"><span data-i18n="footer.mainSite">主站 ByteZoneX</span> ↗</a>
295
305
  </div>
296
306
  </div>
297
307
  </footer>
@@ -311,5 +321,6 @@
311
321
  }
312
322
  }
313
323
  </script>
324
+ <script src="./assets/js/i18n.js"></script>
314
325
  </body>
315
326
  </html>