mirror of
https://github.com/Minidoracat/mcp-feedback-enhanced.git
synced 2025-07-27 02:22:26 +08:00
✨ 更新所有相關文件,將 "Interactive Feedback MCP" 替換為 "MCP Feedback Enhanced",以統一專案名稱。
This commit is contained in:
parent
011b1e0d99
commit
44c6b3a7b2
@ -18,7 +18,7 @@ import os
|
||||
def main():
|
||||
"""主程式入口點"""
|
||||
parser = argparse.ArgumentParser(
|
||||
description="Interactive Feedback MCP Enhanced - 互動式回饋收集 MCP 伺服器"
|
||||
description="MCP Feedback Enhanced Enhanced - 互動式回饋收集 MCP 伺服器"
|
||||
)
|
||||
|
||||
subparsers = parser.add_subparsers(dest='command', help='可用命令')
|
||||
@ -114,7 +114,7 @@ def run_tests(args):
|
||||
def show_version():
|
||||
"""顯示版本資訊"""
|
||||
from . import __version__, __author__
|
||||
print(f"Interactive Feedback MCP Enhanced v{__version__}")
|
||||
print(f"MCP Feedback Enhanced Enhanced v{__version__}")
|
||||
print(f"作者: {__author__}")
|
||||
print("GitHub: https://github.com/Minidoracat/mcp-feedback-enhanced")
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
MCP 伺服器主程式
|
||||
================
|
||||
|
||||
Interactive Feedback MCP 的核心伺服器程式,提供用戶互動回饋功能。
|
||||
MCP Feedback Enhanced 的核心伺服器程式,提供用戶互動回饋功能。
|
||||
支援智能環境檢測,自動選擇 Qt GUI 或 Web UI 介面。
|
||||
|
||||
主要功能:
|
||||
|
@ -4,7 +4,7 @@
|
||||
Qt GUI 測試模組
|
||||
===============
|
||||
|
||||
用於測試 Interactive Feedback MCP 的 Qt GUI 功能。
|
||||
用於測試 MCP Feedback Enhanced 的 Qt GUI 功能。
|
||||
包含完整的 GUI 功能測試。
|
||||
|
||||
功能測試:
|
||||
@ -79,7 +79,7 @@ def test_qt_gui():
|
||||
return True
|
||||
|
||||
if __name__ == "__main__":
|
||||
debug_log("🧪 Interactive Feedback MCP - Qt GUI 測試")
|
||||
debug_log("🧪 MCP Feedback Enhanced - Qt GUI 測試")
|
||||
debug_log("=" * 50)
|
||||
|
||||
# 檢查環境
|
||||
|
@ -1,10 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- 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 功能測試。
|
||||
|
||||
功能測試:
|
||||
@ -61,7 +61,7 @@ def find_free_port():
|
||||
def test_web_ui(keep_running=False):
|
||||
"""Test the Web UI functionality"""
|
||||
|
||||
debug_log("🧪 測試 Interactive Feedback MCP Web UI")
|
||||
debug_log("🧪 測試 MCP Feedback Enhanced Web UI")
|
||||
debug_log("=" * 50)
|
||||
|
||||
# Test import
|
||||
@ -308,7 +308,7 @@ def interactive_demo(session_info):
|
||||
debug_log("✅ Web UI 測試完成")
|
||||
|
||||
if __name__ == "__main__":
|
||||
debug_log("Interactive Feedback MCP - Web UI 測試")
|
||||
debug_log("MCP Feedback Enhanced - Web UI 測試")
|
||||
debug_log("=" * 60)
|
||||
|
||||
# Test environment detection
|
||||
@ -328,7 +328,7 @@ if __name__ == "__main__":
|
||||
|
||||
debug_log("\n" + "=" * 60)
|
||||
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(" 1. 在 Cursor/Cline 中配置此 MCP 服務器")
|
||||
debug_log(" 2. AI 助手會自動調用 interactive_feedback 工具")
|
||||
|
@ -39,7 +39,7 @@ class WebUIManager:
|
||||
self.host = host
|
||||
# 優先使用固定端口 8765,確保 localStorage 的一致性
|
||||
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.server_thread = None
|
||||
self.server_process = None
|
||||
|
@ -30,7 +30,7 @@ def setup_routes(manager: 'WebUIManager'):
|
||||
"""首頁"""
|
||||
return manager.templates.TemplateResponse("index.html", {
|
||||
"request": request,
|
||||
"title": "Interactive Feedback MCP"
|
||||
"title": "MCP Feedback Enhanced"
|
||||
})
|
||||
|
||||
@manager.app.get("/session/{session_id}", response_class=HTMLResponse)
|
||||
|
@ -66,7 +66,7 @@ class I18nManager {
|
||||
return {
|
||||
'zh-TW': {
|
||||
'app': {
|
||||
'title': 'Interactive Feedback MCP',
|
||||
'title': 'MCP Feedback Enhanced',
|
||||
'projectDirectory': '專案目錄'
|
||||
},
|
||||
'tabs': {
|
||||
|
@ -805,7 +805,7 @@
|
||||
<!-- 頭部 -->
|
||||
<header class="header">
|
||||
<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">
|
||||
<span data-i18n="app.projectDirectory">專案目錄</span>: {{ project_directory }}
|
||||
</div>
|
||||
|
@ -63,7 +63,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1 class="title">Interactive Feedback MCP</h1>
|
||||
<h1 class="title">MCP Feedback Enhanced</h1>
|
||||
<p class="description">
|
||||
Web UI 互動式回饋收集工具
|
||||
</p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user