cursor-feedback 1.0.9 → 1.1.0

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.
@@ -0,0 +1,2 @@
1
+ # 可以在这里添加 pre-commit 检查
2
+ # 例如:lint-staged, eslint 等
@@ -0,0 +1 @@
1
+ npm run check-changelog
@@ -0,0 +1,15 @@
1
+ {
2
+ "types": [
3
+ { "type": "feat", "section": "Features" },
4
+ { "type": "fix", "section": "Bug Fixes" },
5
+ { "type": "perf", "section": "Performance Improvements" },
6
+ { "type": "revert", "section": "Reverts" },
7
+ { "type": "docs", "section": "Documentation", "hidden": false },
8
+ { "type": "style", "section": "Styles", "hidden": false },
9
+ { "type": "chore", "section": "Chores", "hidden": false },
10
+ { "type": "refactor", "section": "Code Refactoring", "hidden": false },
11
+ { "type": "test", "section": "Tests", "hidden": false },
12
+ { "type": "build", "section": "Build System", "hidden": false },
13
+ { "type": "ci", "section": "Continuous Integration", "hidden": false }
14
+ ]
15
+ }
package/CHANGELOG.md CHANGED
@@ -1,8 +1,66 @@
1
1
  # Changelog
2
2
 
3
- All notable changes to this project will be documented in this file.
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
- This file is automatically generated by [release-please](https://github.com/googleapis/release-please).
5
+ ## 1.1.0 (2026-01-29)
6
+
7
+
8
+ ### Features
9
+
10
+ * add i18n support and language auto-detection ([d2f054d](https://github.com/jianger666/cursor-feedback-extension/commit/d2f054de7d4dd94549a94a8b43a9a02b68cdd9f6))
11
+ * complete cursor-feedback extension ([4725c73](https://github.com/jianger666/cursor-feedback-extension/commit/4725c732c4370c8c87076932ce551adce184f179))
12
+ * v0.1.10 多项改进 ([f65c12e](https://github.com/jianger666/cursor-feedback-extension/commit/f65c12e9c6aa027fa23c3ca007ffdf824e2be69a))
13
+ * v1.0.0 - 简化 MCP Server 生命周期管理 ([7ad1545](https://github.com/jianger666/cursor-feedback-extension/commit/7ad1545859781ecfd4e9995b8223fb538a494925))
14
+ * 添加多项新功能 ([304a38a](https://github.com/jianger666/cursor-feedback-extension/commit/304a38ae3ba5172adcb48ab1ab828a2775dbf5c4))
15
+ * 添加调试信息显示功能,hover 调试图标可查看端口、路径等诊断信息 ([056c03c](https://github.com/jianger666/cursor-feedback-extension/commit/056c03c9b2f52d5e515348ff348283a67dd8c9cf))
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * correct button image size (126x28) ([6812364](https://github.com/jianger666/cursor-feedback-extension/commit/68123641416ee7e38bd33ff54e465f2953789322))
21
+ * replace VS Marketplace badges with Open VSX badges to fix parsing error ([eff0f9b](https://github.com/jianger666/cursor-feedback-extension/commit/eff0f9b691baacb80d67e57438f72016a8d8256f))
22
+ * specify image dimensions in HTML for consistent rendering ([ffc9be3](https://github.com/jianger666/cursor-feedback-extension/commit/ffc9be32a57e15680c68ac1c0004de91e3f203ab))
23
+ * 使用插件启动时间判断新旧请求,避免自动切换到旧请求 ([5b5eb48](https://github.com/jianger666/cursor-feedback-extension/commit/5b5eb48b2f877a898ddb810cb4a960dd5876b59e))
24
+ * 修复 tooltip 超出边界导致滚动条闪烁的问题 ([dd6ca14](https://github.com/jianger666/cursor-feedback-extension/commit/dd6ca147828552600f4bea6e1c8d35d074dc2d57))
25
+ * 修复多项目窗口互相抢占 feedback 的问题 ([ec3ae2c](https://github.com/jianger666/cursor-feedback-extension/commit/ec3ae2c7de01cfcd72fd97b6128e9b462879cd79))
26
+ * 修复调试信息 tooltip 导致滚动条闪烁的问题 ([4d562cc](https://github.com/jianger666/cursor-feedback-extension/commit/4d562ccd3370c3f284c1c2570ed12a18c60bb6bb))
27
+ * 修复重启后无法收到新feedback的问题 ([88e2905](https://github.com/jianger666/cursor-feedback-extension/commit/88e290517e6d341c20a2f0c7ede4d7686c22e5ba))
28
+
29
+
30
+ ### Documentation
31
+
32
+ * improve description clarity for better understanding ([84d3b68](https://github.com/jianger666/cursor-feedback-extension/commit/84d3b685fe740364daebe96666b0a3e7f87d1be3))
33
+ * 更新 README,优化一键安装 MCP Server 的说明 ([8477ba1](https://github.com/jianger666/cursor-feedback-extension/commit/8477ba15e32a72ef741dfd873f8f7466680209d8))
34
+ * 更新 README,移除一键安装 MCP Server 的图像链接 ([84dacd0](https://github.com/jianger666/cursor-feedback-extension/commit/84dacd088458cded188e38a409cd64e6c0246a4d))
35
+ * 更新 README,移除禁止右侧窗口显示回复内容的规则 ([74ff72f](https://github.com/jianger666/cursor-feedback-extension/commit/74ff72f88f2bed8bcf6c72269c5418ba346b9c0f))
36
+ * 更新 README.md,修正插件名称并添加文件支持说明 ([d8c7b09](https://github.com/jianger666/cursor-feedback-extension/commit/d8c7b099c0724268f5357f2ed226461787ede551))
37
+ * 更新 User Rules,添加禁止右侧窗口回复的规则 ([e26fcca](https://github.com/jianger666/cursor-feedback-extension/commit/e26fcca082133805225b6544e0438b2f06d9927f))
38
+
39
+
40
+ ### Chores
41
+
42
+ * add automatic changelog check with husky hooks ([2afac95](https://github.com/jianger666/cursor-feedback-extension/commit/2afac953cec125b5eab8c62f7f32fffda3b55d1f))
43
+ * add automatic changelog update script ([66a59d3](https://github.com/jianger666/cursor-feedback-extension/commit/66a59d3b2251ef2c98c65d1084a4932c0d2151c9))
44
+ * bump version to 0.1.25 and update README with user rules for better AI interaction ([c350f90](https://github.com/jianger666/cursor-feedback-extension/commit/c350f901e24aa10ed39ea208667042294fc60151))
45
+ * bump version to 0.1.33 and enhance feedback request handling with workspace and server start time tracking ([5f5d82c](https://github.com/jianger666/cursor-feedback-extension/commit/5f5d82c398f1505aa996e93f1043a09cb700b58d))
46
+ * bump version to 0.1.8 ([b77a2df](https://github.com/jianger666/cursor-feedback-extension/commit/b77a2dfb4c56a1743cc5d3301695854ac1ee165b))
47
+ * bump version to 1.0.9 and update icon ([ce1f310](https://github.com/jianger666/cursor-feedback-extension/commit/ce1f31081eaab77cd41769821fa06dc1b4c20fed))
48
+ * remove custom changelog script (replaced by standard-version) ([0f72cca](https://github.com/jianger666/cursor-feedback-extension/commit/0f72ccac85fef196ab13f3a5e16bbb25c0df36a3))
49
+ * replace custom script with standard-version for changelog automation ([3e9be86](https://github.com/jianger666/cursor-feedback-extension/commit/3e9be86c711be0f52012420f54825de32d341da1))
50
+ * replace SVG button with PNG for VSCE compatibility ([e821905](https://github.com/jianger666/cursor-feedback-extension/commit/e8219053382e4eefa918b95e3712badfa8ea2680))
51
+ * v1.0.1 - 优化工具描述 ([529088b](https://github.com/jianger666/cursor-feedback-extension/commit/529088b6e1c3b93139a2ceed87ec2ba9ef99ae84))
52
+ * v1.0.2 - 更新 WebView 结构与样式 ([4e91d00](https://github.com/jianger666/cursor-feedback-extension/commit/4e91d009f4224781eada94d4ab8389c01ea94fad))
53
+ * v1.0.4 - 更新版本与优化用户反馈体验 ([359f870](https://github.com/jianger666/cursor-feedback-extension/commit/359f8700dc527dc70123ea62e483628352fcd967))
54
+ * v1.0.5 - 更新版本并优化 README 中一键安装 MCP Server 的描述 ([7d21c8e](https://github.com/jianger666/cursor-feedback-extension/commit/7d21c8e9619ddb75603abc3b94c13237913df341))
55
+ * v1.0.6 - update version and add icon to package.json ([a7575b2](https://github.com/jianger666/cursor-feedback-extension/commit/a7575b258a92491bb7c1a9d3ede0f47decbbc7ad))
56
+ * 将并行端口扫描范围从30减少到20 ([d1e0ee5](https://github.com/jianger666/cursor-feedback-extension/commit/d1e0ee55c83701a4cbc98aa97c6032fc7e7ebdb7))
57
+ * 添加 .env 到 gitignore ([ed1065b](https://github.com/jianger666/cursor-feedback-extension/commit/ed1065b78ead0ad65565f84aa75dee40a6f620bd))
58
+
59
+ ## [1.0.9](https://github.com/jianger666/cursor-feedback-extension/releases/tag/v1.0.9) (2026-01-29)
60
+
61
+ ### Chores
62
+
63
+ * update icon and bump version to 1.0.9
6
64
 
7
65
  ## [1.0.6](https://github.com/jianger666/cursor-feedback-extension/releases/tag/v1.0.6) (2025-01-29)
8
66
 
package/README.md CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  [中文文档](./README_CN.md)
4
4
 
5
- [![Version](https://img.shields.io/visual-studio-marketplace/v/jianger666.cursor-feedback)](https://marketplace.visualstudio.com/items?itemName=jianger666.cursor-feedback)
6
- [![Downloads](https://img.shields.io/visual-studio-marketplace/d/jianger666.cursor-feedback)](https://marketplace.visualstudio.com/items?itemName=jianger666.cursor-feedback)
5
+ [![Open VSX Version](https://img.shields.io/open-vsx/v/jianger666/cursor-feedback)](https://open-vsx.org/extension/jianger666/cursor-feedback)
6
+ [![Open VSX Downloads](https://img.shields.io/open-vsx/dt/jianger666/cursor-feedback)](https://open-vsx.org/extension/jianger666/cursor-feedback)
7
7
  [![npm](https://img.shields.io/npm/v/cursor-feedback)](https://www.npmjs.com/package/cursor-feedback)
8
8
 
9
- **Save your Cursor monthly quota!** An interactive feedback tool for Cursor that enables unlimited interactions within a single conversation through MCP (Model Context Protocol).
9
+ **One Cursor conversation, unlimited AI interactions** - Save your monthly request quota! An interactive feedback tool for Cursor that enables unlimited interactions within a single conversation through MCP (Model Context Protocol).
10
10
 
11
11
  ![Demo](./demo.gif)
12
12
 
package/README_CN.md CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  [English](./README.md)
4
4
 
5
- [![Version](https://img.shields.io/visual-studio-marketplace/v/jianger666.cursor-feedback)](https://marketplace.visualstudio.com/items?itemName=jianger666.cursor-feedback)
6
- [![Downloads](https://img.shields.io/visual-studio-marketplace/d/jianger666.cursor-feedback)](https://marketplace.visualstudio.com/items?itemName=jianger666.cursor-feedback)
5
+ [![Open VSX Version](https://img.shields.io/open-vsx/v/jianger666/cursor-feedback)](https://open-vsx.org/extension/jianger666/cursor-feedback)
6
+ [![Open VSX Downloads](https://img.shields.io/open-vsx/dt/jianger666/cursor-feedback)](https://open-vsx.org/extension/jianger666/cursor-feedback)
7
7
  [![npm](https://img.shields.io/npm/v/cursor-feedback)](https://www.npmjs.com/package/cursor-feedback)
8
8
 
9
- **节省你的 Cursor 月度配额!** 通过 MCP(Model Context Protocol)实现一次对话内无限交互的交互式反馈工具。
9
+ **一次 Cursor 对话,无限 AI 交互** - 节省你的月度请求配额!通过 MCP(Model Context Protocol)实现一次对话内无限交互的交互式反馈工具。
10
10
 
11
11
  ![Demo](./demo.gif)
12
12
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "cursor-feedback",
3
3
  "displayName": "Cursor Feedback",
4
- "description": "Save your Cursor monthly quota! Interactive feedback loop for AI chat - one conversation, unlimited interactions via MCP",
5
- "version": "1.0.9",
4
+ "description": "One Cursor conversation, unlimited AI interactions - Save your monthly request quota! Interactive feedback loop for AI chat via MCP",
5
+ "version": "1.1.0",
6
6
  "icon": "icon.png",
7
7
  "author": "jianger666",
8
8
  "license": "MIT",
@@ -54,7 +54,11 @@
54
54
  "cursorFeedback.language": {
55
55
  "type": "string",
56
56
  "default": "auto",
57
- "enum": ["auto", "zh-CN", "en"],
57
+ "enum": [
58
+ "auto",
59
+ "zh-CN",
60
+ "en"
61
+ ],
58
62
  "enumDescriptions": [
59
63
  "Auto detect based on system language",
60
64
  "简体中文",
@@ -107,7 +111,12 @@
107
111
  "watch": "tsc -watch -p ./",
108
112
  "lint": "eslint src --ext ts",
109
113
  "start:mcp": "node dist/mcp-server.js",
110
- "prepublishOnly": "npm run compile"
114
+ "prepublishOnly": "npm run check-changelog && npm run compile",
115
+ "check-changelog": "node scripts/check-changelog.js",
116
+ "release": "standard-version",
117
+ "release:minor": "standard-version --release-as minor",
118
+ "release:major": "standard-version --release-as major",
119
+ "prepare": "husky"
111
120
  },
112
121
  "devDependencies": {
113
122
  "@types/node": "^20.10.0",
@@ -116,6 +125,9 @@
116
125
  "@typescript-eslint/eslint-plugin": "^6.13.0",
117
126
  "@typescript-eslint/parser": "^6.13.0",
118
127
  "eslint": "^8.54.0",
128
+ "husky": "^9.1.7",
129
+ "release-please": "^17.2.0",
130
+ "standard-version": "^9.5.0",
119
131
  "typescript": "^5.3.0"
120
132
  },
121
133
  "dependencies": {
@@ -0,0 +1,42 @@
1
+ #!/usr/bin/env node
2
+
3
+ /**
4
+ * 检查 changelog 是否需要更新
5
+ * 如果 package.json 中的版本号不在 changelog 中,提示运行 npm run release
6
+ */
7
+
8
+ const fs = require('fs');
9
+ const path = require('path');
10
+
11
+ const packageJsonPath = path.join(__dirname, '..', 'package.json');
12
+ const changelogPath = path.join(__dirname, '..', 'CHANGELOG.md');
13
+
14
+ try {
15
+ // 读取 package.json 获取当前版本
16
+ const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'));
17
+ const currentVersion = packageJson.version;
18
+
19
+ // 读取 CHANGELOG.md
20
+ const changelog = fs.readFileSync(changelogPath, 'utf8');
21
+
22
+ // 检查是否已经包含当前版本
23
+ // 支持两种格式:## [1.1.0] 或 ## 1.1.0
24
+ const escapedVersion = currentVersion.replace(/\./g, '\\.');
25
+ const versionPattern = new RegExp(`## (\\[${escapedVersion}\\]|${escapedVersion}\\s*\\([^)]+\\))`, 'i');
26
+
27
+ if (!versionPattern.test(changelog)) {
28
+ console.error('\n❌ 警告:CHANGELOG.md 中没有找到当前版本 ' + currentVersion);
29
+ console.error('📝 请运行以下命令更新 changelog:');
30
+ console.error(' npm run release # patch 版本');
31
+ console.error(' npm run release:minor # minor 版本');
32
+ console.error(' npm run release:major # major 版本');
33
+ console.error('');
34
+ process.exit(1);
35
+ } else {
36
+ console.log('✓ CHANGELOG.md 已包含版本 ' + currentVersion);
37
+ process.exit(0);
38
+ }
39
+ } catch (error) {
40
+ console.error('检查 changelog 时出错:', error.message);
41
+ process.exit(1);
42
+ }