更新所有相關文件,將 "Interactive Feedback MCP" 替換為 "MCP Feedback Enhanced",以統一專案名稱。

This commit is contained in:
Minidoracat 2025-06-03 20:59:45 +08:00
parent 011b1e0d99
commit 44c6b3a7b2
9 changed files with 15 additions and 15 deletions

View File

@ -18,7 +18,7 @@ import os
def main(): def main():
"""主程式入口點""" """主程式入口點"""
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
description="Interactive Feedback MCP Enhanced - 互動式回饋收集 MCP 伺服器" description="MCP Feedback Enhanced Enhanced - 互動式回饋收集 MCP 伺服器"
) )
subparsers = parser.add_subparsers(dest='command', help='可用命令') subparsers = parser.add_subparsers(dest='command', help='可用命令')
@ -114,7 +114,7 @@ def run_tests(args):
def show_version(): def show_version():
"""顯示版本資訊""" """顯示版本資訊"""
from . import __version__, __author__ from . import __version__, __author__
print(f"Interactive Feedback MCP Enhanced v{__version__}") print(f"MCP Feedback Enhanced Enhanced v{__version__}")
print(f"作者: {__author__}") print(f"作者: {__author__}")
print("GitHub: https://github.com/Minidoracat/mcp-feedback-enhanced") print("GitHub: https://github.com/Minidoracat/mcp-feedback-enhanced")

View File

@ -4,7 +4,7 @@
MCP 伺服器主程式 MCP 伺服器主程式
================ ================
Interactive Feedback MCP 的核心伺服器程式提供用戶互動回饋功能 MCP Feedback Enhanced 的核心伺服器程式提供用戶互動回饋功能
支援智能環境檢測自動選擇 Qt GUI Web UI 介面 支援智能環境檢測自動選擇 Qt GUI Web UI 介面
主要功能 主要功能

View File

@ -4,7 +4,7 @@
Qt GUI 測試模組 Qt GUI 測試模組
=============== ===============
用於測試 Interactive Feedback MCP Qt GUI 功能 用於測試 MCP Feedback Enhanced Qt GUI 功能
包含完整的 GUI 功能測試 包含完整的 GUI 功能測試
功能測試 功能測試
@ -79,7 +79,7 @@ def test_qt_gui():
return True return True
if __name__ == "__main__": if __name__ == "__main__":
debug_log("🧪 Interactive Feedback MCP - Qt GUI 測試") debug_log("🧪 MCP Feedback Enhanced - Qt GUI 測試")
debug_log("=" * 50) debug_log("=" * 50)
# 檢查環境 # 檢查環境

View File

@ -1,10 +1,10 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" """
Interactive Feedback MCP - Web UI 測試模組 MCP Feedback Enhanced - Web UI 測試模組
======================================== ========================================
用於測試 Interactive Feedback MCP Web UI 功能 用於測試 MCP Feedback Enhanced Web UI 功能
包含完整的 Web UI 功能測試 包含完整的 Web UI 功能測試
功能測試 功能測試
@ -61,7 +61,7 @@ def find_free_port():
def test_web_ui(keep_running=False): def test_web_ui(keep_running=False):
"""Test the Web UI functionality""" """Test the Web UI functionality"""
debug_log("🧪 測試 Interactive Feedback MCP Web UI") debug_log("🧪 測試 MCP Feedback Enhanced Web UI")
debug_log("=" * 50) debug_log("=" * 50)
# Test import # Test import
@ -308,7 +308,7 @@ def interactive_demo(session_info):
debug_log("✅ Web UI 測試完成") debug_log("✅ Web UI 測試完成")
if __name__ == "__main__": if __name__ == "__main__":
debug_log("Interactive Feedback MCP - Web UI 測試") debug_log("MCP Feedback Enhanced - Web UI 測試")
debug_log("=" * 60) debug_log("=" * 60)
# Test environment detection # Test environment detection
@ -328,7 +328,7 @@ if __name__ == "__main__":
debug_log("\n" + "=" * 60) debug_log("\n" + "=" * 60)
if env_test and params_test and env_web_test and mcp_test and web_test: if env_test and params_test and env_web_test and mcp_test and web_test:
debug_log("🎊 所有測試完成!準備使用 Interactive Feedback MCP") debug_log("🎊 所有測試完成!準備使用 MCP Feedback Enhanced")
debug_log("\n📖 使用方法:") debug_log("\n📖 使用方法:")
debug_log(" 1. 在 Cursor/Cline 中配置此 MCP 服務器") debug_log(" 1. 在 Cursor/Cline 中配置此 MCP 服務器")
debug_log(" 2. AI 助手會自動調用 interactive_feedback 工具") debug_log(" 2. AI 助手會自動調用 interactive_feedback 工具")

View File

@ -39,7 +39,7 @@ class WebUIManager:
self.host = host self.host = host
# 優先使用固定端口 8765確保 localStorage 的一致性 # 優先使用固定端口 8765確保 localStorage 的一致性
self.port = port or find_free_port(preferred_port=8765) self.port = port or find_free_port(preferred_port=8765)
self.app = FastAPI(title="Interactive Feedback MCP") self.app = FastAPI(title="MCP Feedback Enhanced")
self.sessions: Dict[str, WebFeedbackSession] = {} self.sessions: Dict[str, WebFeedbackSession] = {}
self.server_thread = None self.server_thread = None
self.server_process = None self.server_process = None

View File

@ -30,7 +30,7 @@ def setup_routes(manager: 'WebUIManager'):
"""首頁""" """首頁"""
return manager.templates.TemplateResponse("index.html", { return manager.templates.TemplateResponse("index.html", {
"request": request, "request": request,
"title": "Interactive Feedback MCP" "title": "MCP Feedback Enhanced"
}) })
@manager.app.get("/session/{session_id}", response_class=HTMLResponse) @manager.app.get("/session/{session_id}", response_class=HTMLResponse)

View File

@ -66,7 +66,7 @@ class I18nManager {
return { return {
'zh-TW': { 'zh-TW': {
'app': { 'app': {
'title': 'Interactive Feedback MCP', 'title': 'MCP Feedback Enhanced',
'projectDirectory': '專案目錄' 'projectDirectory': '專案目錄'
}, },
'tabs': { 'tabs': {

View File

@ -805,7 +805,7 @@
<!-- 頭部 --> <!-- 頭部 -->
<header class="header"> <header class="header">
<div class="header-content"> <div class="header-content">
<h1 class="title" data-i18n="app.title">Interactive Feedback MCP</h1> <h1 class="title" data-i18n="app.title">MCP Feedback Enhanced</h1>
<div class="project-info"> <div class="project-info">
<span data-i18n="app.projectDirectory">專案目錄</span>: {{ project_directory }} <span data-i18n="app.projectDirectory">專案目錄</span>: {{ project_directory }}
</div> </div>

View File

@ -63,7 +63,7 @@
</head> </head>
<body> <body>
<div class="container"> <div class="container">
<h1 class="title">Interactive Feedback MCP</h1> <h1 class="title">MCP Feedback Enhanced</h1>
<p class="description"> <p class="description">
Web UI 互動式回饋收集工具 Web UI 互動式回饋收集工具
</p> </p>