cursor-feedback 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/extension.js +7 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [2.0.3](https://github.com/jianger666/cursor-feedback-extension/compare/v2.0.2...v2.0.3) (2026-06-22)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **feishu:** 配置指引「找不到」——补打包 docs + stat 校验兜底在线 ([9eebf3c](https://github.com/jianger666/cursor-feedback-extension/commit/9eebf3cd9238f93bc0de9f1c918fd776c1885a4e))
|
|
11
|
+
|
|
5
12
|
### [2.0.2](https://github.com/jianger666/cursor-feedback-extension/compare/v2.0.1...v2.0.2) (2026-06-20)
|
|
6
13
|
|
|
7
14
|
|
package/dist/extension.js
CHANGED
|
@@ -897,17 +897,18 @@ class FeedbackViewProvider {
|
|
|
897
897
|
* 打开「如何配置飞书机器人」指引
|
|
898
898
|
*/
|
|
899
899
|
async _handleOpenFeishuGuide() {
|
|
900
|
+
const onlineUrl = 'https://github.com/jianger666/cursor-feedback-extension/blob/main/docs/feishu-setup.md';
|
|
900
901
|
const guideUri = vscode.Uri.joinPath(this._extensionUri, 'docs', 'feishu-setup.md');
|
|
901
902
|
try {
|
|
903
|
+
// 先 stat 确认打进包的本地文档在、再站内预览。
|
|
904
|
+
// markdown.showPreview 对缺失文件不报错、只渲染「找不到 feishu-setup.md」、catch 也不触发——
|
|
905
|
+
// 所以必须自己先校验存在、否则一旦打包又漏了 docs 就退回原 bug。
|
|
906
|
+
await vscode.workspace.fs.stat(guideUri);
|
|
902
907
|
await vscode.commands.executeCommand('markdown.showPreview', guideUri);
|
|
903
908
|
}
|
|
904
909
|
catch {
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
}
|
|
908
|
-
catch {
|
|
909
|
-
// ignore
|
|
910
|
-
}
|
|
910
|
+
// 本地没有(打包漏了 / 环境异常)→ 兜底开 GitHub 在线文档、绝不让用户再撞「找不到」
|
|
911
|
+
await vscode.env.openExternal(vscode.Uri.parse(onlineUrl));
|
|
911
912
|
}
|
|
912
913
|
}
|
|
913
914
|
/**
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "cursor-feedback",
|
|
3
3
|
"displayName": "Cursor Feedback",
|
|
4
4
|
"description": "One Cursor conversation, unlimited AI interactions - Save your monthly request quota! Interactive feedback loop for AI chat via MCP",
|
|
5
|
-
"version": "2.0.
|
|
5
|
+
"version": "2.0.3",
|
|
6
6
|
"icon": "icon.png",
|
|
7
7
|
"author": "jianger666",
|
|
8
8
|
"license": "MIT",
|