fix some bugs
This commit is contained in:
parent
f0b8b88fbc
commit
b4544f08f4
@ -3,6 +3,8 @@
|
|||||||
## [main] 0.1.1
|
## [main] 0.1.1
|
||||||
- 修复 SSH 连接 Ubuntu 的情况下的部分 bug
|
- 修复 SSH 连接 Ubuntu 的情况下的部分 bug
|
||||||
- 修复 python 项目点击 openmcp 进行连接时,初始化参数错误的问题
|
- 修复 python 项目点击 openmcp 进行连接时,初始化参数错误的问题
|
||||||
|
- 取消 service 底层的 mcp 连接复用技术,防止无法刷新
|
||||||
|
- 修复连接后,可能无法在欢迎界面选择调试选项的 bug
|
||||||
|
|
||||||
## [main] 0.1.0
|
## [main] 0.1.0
|
||||||
- 新特性:支持同时连入多个 mcp server
|
- 新特性:支持同时连入多个 mcp server
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "openmcp",
|
"name": "openmcp",
|
||||||
"displayName": "OpenMCP",
|
"displayName": "OpenMCP",
|
||||||
"description": "An all in one MCP Client/TestTool",
|
"description": "An all in one MCP Client/TestTool",
|
||||||
"version": "0.1.0",
|
"version": "0.1.1",
|
||||||
"publisher": "kirigaya",
|
"publisher": "kirigaya",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "kirigaya",
|
"name": "kirigaya",
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
OpenMCP Client 0.1.0 由 OpenMCP@<a href="https://www.zhihu.com/people/can-meng-zhong-de-che-xian">锦恢</a> 开发
|
OpenMCP Client 0.1.1 由 OpenMCP@<a href="https://www.zhihu.com/people/can-meng-zhong-de-che-xian">锦恢</a> 开发
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
@ -563,6 +563,10 @@ class McpClientAdapter {
|
|||||||
return msg;
|
return msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public get connected() {
|
||||||
|
return this.clients.length > 0 && this.clients[0].connectionResult.success;
|
||||||
|
}
|
||||||
|
|
||||||
public async loadPanels() {
|
public async loadPanels() {
|
||||||
const masterNode = this.clients[0];
|
const masterNode = this.clients[0];
|
||||||
await loadPanels(masterNode);
|
await loadPanels(masterNode);
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<!-- TODO: 支持更多的 server -->
|
<!-- TODO: 支持更多的 server -->
|
||||||
<span
|
<span
|
||||||
class="debug-option"
|
class="debug-option"
|
||||||
:class="{ 'disable': !client.connectionResult.success }"
|
:class="{ 'disable': !mcpClientAdapter.connected }"
|
||||||
v-for="(option, index) of debugOptions"
|
v-for="(option, index) of debugOptions"
|
||||||
:key="index"
|
:key="index"
|
||||||
@click="chooseDebugMode(index)"
|
@click="chooseDebugMode(index)"
|
||||||
@ -32,7 +32,6 @@ import { mcpClientAdapter } from '../connect/core';
|
|||||||
defineComponent({ name: 'welcome' });
|
defineComponent({ name: 'welcome' });
|
||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const client = mcpClientAdapter.masterNode;
|
|
||||||
|
|
||||||
const debugOptions = [
|
const debugOptions = [
|
||||||
{
|
{
|
||||||
@ -60,7 +59,7 @@ const debugOptions = [
|
|||||||
function chooseDebugMode(index: number) {
|
function chooseDebugMode(index: number) {
|
||||||
|
|
||||||
// TODO: 支持更多的 server
|
// TODO: 支持更多的 server
|
||||||
if (client.connectionResult.success) {
|
if (mcpClientAdapter.connected) {
|
||||||
const activeTab = tabs.activeTab;
|
const activeTab = tabs.activeTab;
|
||||||
activeTab.component = markRaw(debugModes[index]);
|
activeTab.component = markRaw(debugModes[index]);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user