cursor-feedback 1.0.1 → 1.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/README.md +3 -2
- package/dist/extension.js +17 -802
- package/dist/extension.js.map +1 -1
- package/dist/mcp-server.js +21 -10
- package/dist/mcp-server.js.map +1 -1
- package/dist/webview/index.html +66 -0
- package/dist/webview/script.js +291 -0
- package/dist/webview/styles.css +406 -0
- package/package.json +3 -13
- package/src/extension.ts +23 -805
- package/src/mcp-server.ts +23 -10
- package/src/webview/index.html +66 -0
- package/src/webview/script.js +291 -0
- package/src/webview/styles.css +406 -0
- package/dist/mcp/McpServer.js +0 -431
- package/dist/mcp/McpServer.js.map +0 -1
- package/dist/webview/FeedbackPanel.js +0 -138
- package/dist/webview/FeedbackPanel.js.map +0 -1
package/README.md
CHANGED
|
@@ -154,9 +154,10 @@ npm install -g cursor-feedback
|
|
|
154
154
|
|
|
155
155
|
| 环境变量 | 默认值 | 描述 |
|
|
156
156
|
|---------|--------|------|
|
|
157
|
-
| `MCP_FEEDBACK_TIMEOUT` | `300` | 超时时间(秒),默认 5
|
|
157
|
+
| `MCP_FEEDBACK_TIMEOUT` | `300` | 超时时间(秒),默认 5 分钟 |
|
|
158
|
+
| `MCP_AUTO_RETRY` | `true` | 超时后是否提示 AI 自动重试。设为 `false` 可禁用自动重试指示 |
|
|
158
159
|
|
|
159
|
-
> **超时机制**:如果用户在超时时间内没有响应,AI
|
|
160
|
+
> **超时机制**:如果用户在超时时间内没有响应,AI 会收到超时通知。默认情况下,返回消息会包含重试指示,AI 会自动重新调用 feedback 工具继续等待。如果您不希望 AI 自动重试,可以设置 `MCP_AUTO_RETRY=false`。
|
|
160
161
|
|
|
161
162
|
## 🏗️ 架构
|
|
162
163
|
|