cursor-feedback 2.0.0 → 2.0.1
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/.cursor/skills/releasing/SKILL.md +43 -0
- package/CHANGELOG.md +25 -0
- package/README.md +1 -1
- package/README_CN.md +1 -1
- package/dist/feishu.js +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: releasing
|
|
3
|
+
description: 发布 cursor-feedback 新版本到 npm / Open VSX / VS Code Marketplace。当用户要发版、发布新版本、出包、上线、release、publish 时使用。
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# 发布 cursor-feedback 新版本
|
|
7
|
+
|
|
8
|
+
发版用 `standard-version` 升级版本号,发布由 GitHub Actions(`.github/workflows/release.yml`,推送 `v*.*.*` tag 触发)自动完成三个渠道。**不要手动 `npm publish` / `vsce publish`。**
|
|
9
|
+
|
|
10
|
+
## 发版步骤
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
- [ ] 1. 改动已 commit,且遵循 conventional commits(feat: / fix: / chore:)
|
|
14
|
+
- [ ] 2. 升级版本:npm run release:patch(或 release:minor / release:major)
|
|
15
|
+
- [ ] 3. 推送:git push --follow-tags origin main
|
|
16
|
+
- [ ] 4. 验证三渠道发布成功
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
- **第 2 步**:`standard-version` 自动升级 `package.json` 版本、按 commit 生成 CHANGELOG、打 `vX.Y.Z` tag。
|
|
20
|
+
- **第 3 步**:推送 tag 后 GitHub Actions 自动发布,去仓库 Actions 页看进度。
|
|
21
|
+
|
|
22
|
+
## 两个发布渠道
|
|
23
|
+
|
|
24
|
+
| 渠道 | 认证 | 说明 |
|
|
25
|
+
| --- | --- | --- |
|
|
26
|
+
| npm | OIDC Trusted Publishing | 免 token、永不过期(已在 npmjs 配 trusted publisher)|
|
|
27
|
+
| Open VSX | `OVSX_PAT` secret | Cursor / Windsurf / VSCodium 用户从这装 |
|
|
28
|
+
|
|
29
|
+
`OVSX_PAT` 在 GitHub 仓库 `Settings → Secrets and variables → Actions` 配置。
|
|
30
|
+
|
|
31
|
+
## 硬约束(踩过的坑,别再犯)
|
|
32
|
+
|
|
33
|
+
- **禁止给 `package.json` 加 `files` 字段**:会与 `.vscodeignore` 冲突,导致 `vsce package` 直接失败。npm 包瘦身只用 `.npmignore`,VS Code 打包只用 `.vscodeignore`,两者各管各的、互不影响。
|
|
34
|
+
- `pre-push` hook 会校验 `package.json` 的 version 已写入 `CHANGELOG.md`,没写会被拦下。
|
|
35
|
+
|
|
36
|
+
## 验证发布
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
npm view cursor-feedback version
|
|
40
|
+
curl -s https://open-vsx.org/api/jianger666/cursor-feedback | grep -o '"version":"[^"]*"'
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
两个版本号都应等于刚发的版本。
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
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.1](https://github.com/jianger666/cursor-feedback-extension/compare/v2.0.0...v2.0.1) (2026-06-20)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **feishu:** 卡片标题与引导语去掉 Cursor 绑定改为通用文案 ([07857fa](https://github.com/jianger666/cursor-feedback-extension/commit/07857fa07b972c2a7c621c76fadf33870ddbdb61))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Code Refactoring
|
|
14
|
+
|
|
15
|
+
* 发版指引从 rule 改为 skill ([5854980](https://github.com/jianger666/cursor-feedback-extension/commit/58549801b93c37262cca793ceb238d84d2806f2d))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Chores
|
|
19
|
+
|
|
20
|
+
* **ci:** 移除 VS Code Marketplace 发布渠道 ([d58fec1](https://github.com/jianger666/cursor-feedback-extension/commit/d58fec19f9285c6705cb3aebe3aae1e4fc595986))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Documentation
|
|
24
|
+
|
|
25
|
+
* **feishu:** 删掉与开头重复的结尾段 ([bdc9c61](https://github.com/jianger666/cursor-feedback-extension/commit/bdc9c61fa86c9a268d54d2b777ecc1b11cfb849b))
|
|
26
|
+
* **feishu:** 精简事件订阅步骤描述 ([770a486](https://github.com/jianger666/cursor-feedback-extension/commit/770a4869b475a2466c99357b2e8f146582d9e57d))
|
|
27
|
+
* **feishu:** 补充事件订阅(长连接)配置步骤 ([47f5656](https://github.com/jianger666/cursor-feedback-extension/commit/47f5656373bec44ff6d3274c7c46b7bc6fa105b3))
|
|
28
|
+
* 添加发版流程 rule 供后续 AI 参考 ([e6986a4](https://github.com/jianger666/cursor-feedback-extension/commit/e6986a49d54b279fe28e14d1733342b20b64bbf6))
|
|
29
|
+
|
|
5
30
|
## [2.0.0](https://github.com/jianger666/cursor-feedback-extension/compare/v1.1.1...v2.0.0) (2026-06-20)
|
|
6
31
|
|
|
7
32
|
|
package/README.md
CHANGED
|
@@ -201,7 +201,7 @@ Custom timeout (optional, default 5 minutes):
|
|
|
201
201
|
|
|
202
202
|
### Feishu Notifications
|
|
203
203
|
|
|
204
|
-
Either way works (
|
|
204
|
+
Either way works — but you first need to set up the bot in the Feishu console: enable the bot, grant permissions, and turn on **event subscription** (long-connection mode + the `im.message.receive_v1` event). Full walkthrough in the [Feishu setup guide](./docs/feishu-setup.md):
|
|
205
205
|
|
|
206
206
|
- **On Cursor**: fill in Feishu credentials via the "Notification settings" icon at the top of the panel.
|
|
207
207
|
- **On other MCP hosts** (agent tools without this panel): configure through `env` in `mcp.json`:
|
package/README_CN.md
CHANGED
|
@@ -205,7 +205,7 @@ npm install -g cursor-feedback
|
|
|
205
205
|
|
|
206
206
|
### 飞书通知配置
|
|
207
207
|
|
|
208
|
-
|
|
208
|
+
两种方式都行——但都要先在飞书后台把机器人配好:开启机器人能力、申请权限、配置**事件订阅**(长连接方式 + `im.message.receive_v1` 事件)。完整步骤见[飞书配置教程](./docs/feishu-setup.md):
|
|
209
209
|
|
|
210
210
|
- **用 Cursor**:在插件面板顶部「通知设置」图标里填飞书凭证。
|
|
211
211
|
- **用其他 MCP host**(没有这个插件面板的 Agent 工具):在 `mcp.json` 的 `env` 里配置:
|
package/dist/feishu.js
CHANGED
|
@@ -637,7 +637,7 @@ class FeishuBridge {
|
|
|
637
637
|
config: { wide_screen_mode: true },
|
|
638
638
|
header: {
|
|
639
639
|
template: 'carmine',
|
|
640
|
-
title: { tag: 'plain_text', content: `
|
|
640
|
+
title: { tag: 'plain_text', content: `Feedback 请求 · ${projectName}` },
|
|
641
641
|
},
|
|
642
642
|
body: {
|
|
643
643
|
elements: [
|
|
@@ -646,7 +646,7 @@ class FeishuBridge {
|
|
|
646
646
|
{
|
|
647
647
|
tag: 'markdown',
|
|
648
648
|
text_size: 'notation',
|
|
649
|
-
content: '
|
|
649
|
+
content: '直接「回复」本条消息把反馈发回即可(多窗口时请回复对应卡片)',
|
|
650
650
|
},
|
|
651
651
|
],
|
|
652
652
|
},
|
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.1",
|
|
6
6
|
"icon": "icon.png",
|
|
7
7
|
"author": "jianger666",
|
|
8
8
|
"license": "MIT",
|