diff --git a/.vscodeignore b/.vscodeignore
index 7e61a44..f49e72b 100644
--- a/.vscodeignore
+++ b/.vscodeignore
@@ -14,6 +14,7 @@ vsc-extension-quickstart.md
**/.vscode-test.*
renderer/**
service/**
+news/**
test/**
servers/**
scripts/**
diff --git a/news/src/App.vue b/news/src/App.vue
index a068651..8f5338f 100644
--- a/news/src/App.vue
+++ b/news/src/App.vue
@@ -5,7 +5,7 @@ import OmMoreFeature from './components/MoreFeature.vue';
import OmCoreFeature from './components/CoreFeature.vue';
import OmSponsor from './components/Sponsor.vue';
import OmResource from './components/Resource.vue';
-import OmTroubleshoot from './components/Troubleshoot.vue';
+import OmTroubleshoot from './components/Trouble.vue';
import data from './data.json';
diff --git a/news/src/components/Troubleshoot.vue b/news/src/components/Trouble.vue
similarity index 100%
rename from news/src/components/Troubleshoot.vue
rename to news/src/components/Trouble.vue
diff --git a/resources/changelog/index.html b/resources/changelog/index.html
deleted file mode 100644
index 6632dbd..0000000
--- a/resources/changelog/index.html
+++ /dev/null
@@ -1,2215 +0,0 @@
-
-
-
-
-
-
-
- Vue (Official)
-
-
-
-
-
-
-
-
-
Vue (Official) 3.0.1
-
-
-
-
-
- 📣 What's New in 3.0.0
-
-
- - 🚀 Significantly improved Hybrid Mode stability
- - ✨ Introduced several new DX enhancement features
- - 🌍 Expanded support for additional localizations
- - 🎨 UI tweaks: removed all Vue-related status bar items
- - 🐛 Squashed numerous bugs throughout the extension
-
-
-
-
-
-
- 🎥 Learn More Features
- Discover advanced capabilities of the extension:
-
-
- ⚠️ Unable to load the video? Watch on YouTube
-
-
-
- ✨ Core Features
-
-
-
🧩
-
Template Intelligence
-
Smart completions for directives, components and props in Vue templates with type inference
-
-
-
🔍
-
Type Checking
-
Full TypeScript support with type inference across SFCs and reactive type checking
-
-
-
🎨
-
Syntax Highlighting
-
Comprehensive syntax highlighting for Single File Components and template expressions
-
-
-
- 💎 Premium Features
-
-
-
🧩
-
Interpolation Highlight 🌟
-
Enhanced highlighting for template interpolations and expressions
-
-
-
🧩
-
Focus Mode 🌟🌟
-
Isolate and focus on specific SFC blocks during development
-
-
-
🧩
-
Reactivity Visualization 🌟🌟🌟🌟
-
Visualize Vue's reactivity system in component scripts
-
-
-
🚧
-
More Features Coming Soon
-
-
-
-
-
- 📚 Resources
-
-
- 🔧 Troubleshooting
-
- Why are some features not working?
-
-
Make sure you have:
-
- - The latest version of the extension installed
- - Vue 3.x in your project dependencies
- - TSDK 5.3 or later
- - Try disabling other extensions to rule out conflicts
-
-
-
-
- Where to report issues?
-
-
Please report any problems on our GitHub Issues page with:
-
-
- - Detailed reproduction steps
- - Screenshots or screencasts if applicable
- - Your project setup information
-
-
-
-
- ❤️ Thanks to Our Sponsors
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/hook/hook.controller.ts b/src/hook/hook.controller.ts
index c73eb6b..e8fed79 100644
--- a/src/hook/hook.controller.ts
+++ b/src/hook/hook.controller.ts
@@ -40,4 +40,7 @@ export class HookController {
}
}
+
+
+
}
\ No newline at end of file
diff --git a/src/webview/webview.service.ts b/src/webview/webview.service.ts
index c18f227..a593191 100644
--- a/src/webview/webview.service.ts
+++ b/src/webview/webview.service.ts
@@ -150,3 +150,36 @@ export function getDefaultLanunchSignature(path: string, cwd: string) {
};
}
}
+
+export function revealOpenMcpWebviewPanel(
+ context: vscode.ExtensionContext,
+) {
+
+ const panel = vscode.window.createWebviewPanel(
+ 'What\'s new in OpenMCP',
+ 'What\'s new in OpenMCP',
+ vscode.ViewColumn.One,
+ {
+ enableScripts: true,
+ retainContextWhenHidden: true,
+ enableFindWidget: true
+ }
+ );
+
+ // 设置HTML内容
+ const html = getWebviewContent(context, panel);
+ panel.webview.html = html || '';
+ panel.iconPath = vscode.Uri.file(fspath.join(context.extensionPath, 'openmcp-sdk', 'renderer', 'images', 'openmcp.png'));
+
+ panel.onDidDispose(async () => {
+ // 删除
+ panels.delete(panelKey);
+
+ // TODO: 通过引用计数器关闭后端的 clientMap
+
+ // 退出
+ panel.dispose();
+ });
+
+ return panel;
+}
\ No newline at end of file