update
This commit is contained in:
parent
c1cad24790
commit
13fd6a00e1
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## [main] 0.0.9
|
## [main] 0.0.9
|
||||||
- 修复 0.0.8 引入的bug:system prompt 返回的是索引而非真实内容
|
- 修复 0.0.8 引入的bug:system prompt 返回的是索引而非真实内容
|
||||||
-
|
- 测试新的发布管线
|
||||||
|
|
||||||
## [main] 0.0.8
|
## [main] 0.0.8
|
||||||
- 大模型 API 测试时更加完整的报错
|
- 大模型 API 测试时更加完整的报错
|
||||||
@ -63,4 +63,4 @@
|
|||||||
- 完成配置加载,保存,大模型设置
|
- 完成配置加载,保存,大模型设置
|
||||||
- 完成标签页自动保存
|
- 完成标签页自动保存
|
||||||
- 完成大模型对话窗口和工具调用
|
- 完成大模型对话窗口和工具调用
|
||||||
- 完成对 vscode 和 trae 的支持
|
- 完成对 vscode 和 trae 的支持
|
||||||
|
12599
package-lock.json
generated
12599
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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.0.8",
|
"version": "0.0.9",
|
||||||
"publisher": "kirigaya",
|
"publisher": "kirigaya",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "kirigaya",
|
"name": "kirigaya",
|
||||||
@ -235,7 +235,6 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@modelcontextprotocol/sdk": "^1.10.2",
|
"@modelcontextprotocol/sdk": "^1.10.2",
|
||||||
"@openmcp/service": "*",
|
|
||||||
"@seald-io/nedb": "^4.1.1",
|
"@seald-io/nedb": "^4.1.1",
|
||||||
"axios": "^1.7.7",
|
"axios": "^1.7.7",
|
||||||
"bson": "^6.8.0",
|
"bson": "^6.8.0",
|
||||||
|
@ -31,13 +31,26 @@
|
|||||||
"vue-router": "^4.5.0"
|
"vue-router": "^4.5.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@babel/core": "^7.27.1",
|
||||||
|
"@babel/plugin-proposal-decorators": "^7.27.1",
|
||||||
|
"@babel/plugin-syntax-import-attributes": "^7.27.1",
|
||||||
|
"@babel/plugin-syntax-import-meta": "^7.10.4",
|
||||||
|
"@babel/plugin-transform-typescript": "^7.27.1",
|
||||||
"@originjs/vite-plugin-commonjs": "^1.0.3",
|
"@originjs/vite-plugin-commonjs": "^1.0.3",
|
||||||
|
"@rollup/pluginutils": "^5.1.4",
|
||||||
"@tsconfig/node22": "^22.0.1",
|
"@tsconfig/node22": "^22.0.1",
|
||||||
|
"@types/markdown-it": "^14.1.2",
|
||||||
"@types/node": "^22.14.0",
|
"@types/node": "^22.14.0",
|
||||||
"@types/prismjs": "^1.26.5",
|
"@types/prismjs": "^1.26.5",
|
||||||
"@vitejs/plugin-vue": "^5.2.3",
|
"@vitejs/plugin-vue": "^5.2.3",
|
||||||
|
"@vue/babel-plugin-jsx": "^1.4.0",
|
||||||
|
"@vue/devtools-core": "^7.7.6",
|
||||||
"@vue/tsconfig": "^0.7.0",
|
"@vue/tsconfig": "^0.7.0",
|
||||||
|
"error-stack-parser-es": "^0.1.5",
|
||||||
|
"kolorist": "^1.8.0",
|
||||||
"npm-run-all2": "^7.0.2",
|
"npm-run-all2": "^7.0.2",
|
||||||
|
"rollup": "^4.41.0",
|
||||||
|
"sirv": "^3.0.1",
|
||||||
"typescript": "~5.8.0",
|
"typescript": "~5.8.0",
|
||||||
"vite": "^6.2.4",
|
"vite": "^6.2.4",
|
||||||
"vite-plugin-vue-devtools": "^7.7.2",
|
"vite-plugin-vue-devtools": "^7.7.2",
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
import { defineComponent, defineProps, computed, ref } from 'vue';
|
import { defineComponent, defineProps, computed, ref } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
import { tabs } from '../panel';
|
import { tabs } from '../panel';
|
||||||
import { ResourceStorage } from './resources';
|
import type { ResourceStorage } from './resources';
|
||||||
import { getImageBlobUrlByBase64 } from '@/hook/util';
|
import { getImageBlobUrlByBase64 } from '@/hook/util';
|
||||||
import JsonRender from '@/components/json-render/index.vue';
|
import JsonRender from '@/components/json-render/index.vue';
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ export function loadPanels() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
let debounceHandler: NodeJS.Timeout;
|
let debounceHandler: number;
|
||||||
|
|
||||||
export function safeSavePanels() {
|
export function safeSavePanels() {
|
||||||
clearTimeout(debounceHandler);
|
clearTimeout(debounceHandler);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import * as vscode from 'vscode';
|
import * as vscode from 'vscode';
|
||||||
import * as OpenMCPService from '@openmcp/service';
|
import { setRunningCWD, setVscodeWorkspace } from '../openmcp-sdk/service';
|
||||||
import { launch } from './common/entry';
|
import { launch } from './common/entry';
|
||||||
|
|
||||||
export function activate(context: vscode.ExtensionContext) {
|
export function activate(context: vscode.ExtensionContext) {
|
||||||
@ -10,8 +10,8 @@ export function activate(context: vscode.ExtensionContext) {
|
|||||||
const workspaceFolder = vscode.workspace.workspaceFolders?.[0];
|
const workspaceFolder = vscode.workspace.workspaceFolders?.[0];
|
||||||
const workspace = workspaceFolder?.uri.fsPath || '';
|
const workspace = workspaceFolder?.uri.fsPath || '';
|
||||||
|
|
||||||
OpenMCPService.setVscodeWorkspace(workspace);
|
setVscodeWorkspace(workspace);
|
||||||
OpenMCPService.setRunningCWD(context.extensionPath);
|
setRunningCWD(context.extensionPath);
|
||||||
|
|
||||||
launch(context);
|
launch(context);
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@ import * as vscode from 'vscode';
|
|||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
import * as fspath from 'path';
|
import * as fspath from 'path';
|
||||||
import { IConnectionItem, ILaunchSigature, panels, updateInstalledConnectionConfig, updateWorkspaceConnectionConfig } from '../global';
|
import { IConnectionItem, ILaunchSigature, panels, updateInstalledConnectionConfig, updateWorkspaceConnectionConfig } from '../global';
|
||||||
import * as OpenMCPService from '@openmcp/service';
|
import { routeMessage } from '../../openmcp-sdk/service';
|
||||||
|
|
||||||
export function getWebviewContent(context: vscode.ExtensionContext, panel: vscode.WebviewPanel): string | undefined {
|
export function getWebviewContent(context: vscode.ExtensionContext, panel: vscode.WebviewPanel): string | undefined {
|
||||||
const viewRoot = fspath.join(context.extensionPath, 'openmcp-sdk', 'renderer');
|
const viewRoot = fspath.join(context.extensionPath, 'openmcp-sdk', 'renderer');
|
||||||
@ -101,7 +101,7 @@ export function revealOpenMcpWebviewPanel(
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
OpenMCPService.routeMessage(command, data, panel.webview);
|
routeMessage(command, data, panel.webview);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,7 +23,12 @@ module.exports = {
|
|||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
test: /\.ts$/,
|
test: /\.ts$/,
|
||||||
use: 'ts-loader',
|
use: {
|
||||||
|
loader: 'ts-loader',
|
||||||
|
options: {
|
||||||
|
configFile: path.resolve(__dirname, '../tsconfig.json') // 指定 tsconfig.json 路径
|
||||||
|
}
|
||||||
|
},
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user