cursor-feedback 1.1.1 → 2.0.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.
- package/CHANGELOG.md +14 -0
- package/README.md +48 -4
- package/README_CN.md +48 -4
- package/dist/extension.js +546 -53
- package/dist/feishu.js +667 -0
- package/dist/i18n/en.json +49 -7
- package/dist/i18n/index.js +46 -4
- package/dist/i18n/zh-CN.json +49 -7
- package/dist/mcp-server.js +514 -20
- package/dist/webview/index.html +193 -43
- package/dist/webview/script.js +795 -145
- package/dist/webview/styles.css +921 -298
- package/package.json +38 -1
- package/.github/workflows/release-please.yml +0 -19
- package/.husky/pre-commit +0 -2
- package/.husky/pre-push +0 -1
- package/.versionrc.json +0 -15
- package/.vscode/launch.json +0 -28
- package/.vscode/tasks.json +0 -22
- package/.vscodeignore +0 -11
- package/demo.gif +0 -0
- package/dist/extension.js.map +0 -1
- package/dist/i18n/index.js.map +0 -1
- package/dist/mcp-server.js.map +0 -1
- package/icon.png +0 -0
- package/mcp-install-dark.png +0 -0
- package/resources/icon.svg +0 -4
- package/resources/vendor/marked.min.js +0 -69
- package/scripts/check-changelog.js +0 -42
- package/src/extension.ts +0 -692
- package/src/i18n/en.json +0 -34
- package/src/i18n/index.ts +0 -131
- package/src/i18n/zh-CN.json +0 -34
- package/src/mcp-server.ts +0 -768
- package/src/webview/index.html +0 -69
- package/src/webview/script.js +0 -318
- package/src/webview/styles.css +0 -422
- package/tsconfig.json +0 -17
package/dist/i18n/en.json
CHANGED
|
@@ -11,10 +11,12 @@
|
|
|
11
11
|
"toggleKeyMode": "Toggle key mode",
|
|
12
12
|
"remainingTime": "Remaining time",
|
|
13
13
|
"timeout": "Timeout",
|
|
14
|
-
"enterSubmitMode": "Enter to submit ·
|
|
15
|
-
"ctrlEnterSubmitMode": "
|
|
16
|
-
"switchToCtrlEnter": "Click to switch to
|
|
14
|
+
"enterSubmitMode": "Enter to submit · {shiftEnter} for newline",
|
|
15
|
+
"ctrlEnterSubmitMode": "{ctrlEnter} to submit · Enter for newline",
|
|
16
|
+
"switchToCtrlEnter": "Click to switch to {ctrlEnter} submit",
|
|
17
17
|
"switchToEnter": "Click to switch to Enter submit",
|
|
18
|
+
"submitHintCtrl": "{ctrlEnter}",
|
|
19
|
+
"submitHintEnter": "Enter",
|
|
18
20
|
"mcpServerConnected": "MCP Server connected",
|
|
19
21
|
"mcpServerDisconnected": "MCP Server disconnected",
|
|
20
22
|
"debugInfo": "Debug Info",
|
|
@@ -24,11 +26,51 @@
|
|
|
24
26
|
"connected": "Connected",
|
|
25
27
|
"none": "None",
|
|
26
28
|
"status": "Status",
|
|
27
|
-
"startListening": "Started listening for MCP feedback requests",
|
|
28
|
-
"stopListening": "Stopped listening",
|
|
29
29
|
"aiWaitingFeedback": "AI is waiting for your feedback",
|
|
30
|
-
"feedbackSubmitted": "Feedback submitted",
|
|
31
30
|
"submitFailed": "Submit failed",
|
|
32
31
|
"cannotConnectMCP": "Cannot connect to MCP Server",
|
|
33
|
-
"select": "Select"
|
|
32
|
+
"select": "Select",
|
|
33
|
+
"dropToUpload": "Drop images to attach",
|
|
34
|
+
"submitting": "Submitting…",
|
|
35
|
+
"removeAttachment": "Remove",
|
|
36
|
+
"autoRetryOn": "Keep-waiting: ON · auto-continue on timeout (click to turn off)",
|
|
37
|
+
"autoRetryOff": "Keep-waiting: OFF · end turn on timeout (click to turn on)",
|
|
38
|
+
"accentBrand": "Accent: brand pink (click to follow IDE)",
|
|
39
|
+
"accentIde": "Accent: follow IDE color (click for brand pink)",
|
|
40
|
+
"clickToZoom": "Click to zoom",
|
|
41
|
+
"insertSelection": "Insert selection ({shortcut})",
|
|
42
|
+
"contextHint": "@ files · {shortcut} for selection",
|
|
43
|
+
"contextHintMention": "@ files",
|
|
44
|
+
"contextHintInsert": "for selection",
|
|
45
|
+
"insertShortcut": "{shortcut}",
|
|
46
|
+
"mentionFiles": "Reference files",
|
|
47
|
+
"noMatchFiles": "No matching files",
|
|
48
|
+
"contextRefLabel": "Reference",
|
|
49
|
+
"statusNoWorkspace": "(no workspace)",
|
|
50
|
+
"statusListening": "Listening on port {port}",
|
|
51
|
+
"statusFound": "Request found (port {port})",
|
|
52
|
+
"statusNoServer": "MCP Server not found",
|
|
53
|
+
"statusConnected": "Connected to {count} port(s), waiting",
|
|
54
|
+
"statusPollError": "Polling error: {error}",
|
|
55
|
+
"feishuSettings": "Feishu notifications",
|
|
56
|
+
"feishuDesc": "Pushes feedback to Feishu, where you can reply directly.",
|
|
57
|
+
"feishuAppId": "App ID",
|
|
58
|
+
"feishuAppSecret": "App Secret",
|
|
59
|
+
"feishuAppIdPlaceholder": "cli_xxxxxxxx",
|
|
60
|
+
"feishuSecretPlaceholder": "Enter App Secret",
|
|
61
|
+
"feishuGuide": "How to set up a Feishu bot?",
|
|
62
|
+
"feishuClose": "Close",
|
|
63
|
+
"feishuStatusUnconfigured": "Not configured",
|
|
64
|
+
"feishuStatusConfigured": "Configured · send your bot a message to bind",
|
|
65
|
+
"feishuStatusBound": "Configured & bound, ready to push",
|
|
66
|
+
"feishuHint": "Tip: after entering credentials, message your bot in Feishu to bind.",
|
|
67
|
+
"systemNotifyLabel": "In-app notifications",
|
|
68
|
+
"showSecret": "Show secret",
|
|
69
|
+
"hideSecret": "Hide secret",
|
|
70
|
+
"notifySettingsTitle": "Notification settings",
|
|
71
|
+
"pluginNotifyDesc": "Shows the feedback panel when AI requests feedback; when off, this window stays fully silent.",
|
|
72
|
+
"osNotifyLabel": "Notify when in background",
|
|
73
|
+
"osNotifyDesc": "Sends a system notification when the IDE is in the background.",
|
|
74
|
+
"feishuAckLabel": "Get emoji acknowledgement",
|
|
75
|
+
"feishuAckDesc": "After you reply in Feishu, the bot adds a Get emoji as acknowledgement."
|
|
34
76
|
}
|
package/dist/i18n/index.js
CHANGED
|
@@ -115,13 +115,55 @@ function getDefaultMessages() {
|
|
|
115
115
|
connected: "Connected",
|
|
116
116
|
none: "None",
|
|
117
117
|
status: "Status",
|
|
118
|
-
startListening: "Started listening for MCP feedback requests",
|
|
119
|
-
stopListening: "Stopped listening",
|
|
120
118
|
aiWaitingFeedback: "AI is waiting for your feedback",
|
|
121
|
-
feedbackSubmitted: "Feedback submitted",
|
|
122
119
|
submitFailed: "Submit failed",
|
|
123
120
|
cannotConnectMCP: "Cannot connect to MCP Server",
|
|
124
|
-
select: "Select"
|
|
121
|
+
select: "Select",
|
|
122
|
+
dropToUpload: "Drop images to attach",
|
|
123
|
+
submitting: "Submitting…",
|
|
124
|
+
removeAttachment: "Remove",
|
|
125
|
+
autoRetryOn: "Keep-waiting: ON · auto-continue on timeout (click to turn off)",
|
|
126
|
+
autoRetryOff: "Keep-waiting: OFF · end turn on timeout (click to turn on)",
|
|
127
|
+
accentBrand: "Accent: brand pink (click to follow IDE)",
|
|
128
|
+
accentIde: "Accent: follow IDE color (click for brand pink)",
|
|
129
|
+
clickToZoom: "Click to zoom",
|
|
130
|
+
insertSelection: "Insert selection ({shortcut})",
|
|
131
|
+
contextHint: "@ files · {shortcut} for selection",
|
|
132
|
+
contextHintMention: "@ files",
|
|
133
|
+
contextHintInsert: "for selection",
|
|
134
|
+
insertShortcut: "{shortcut}",
|
|
135
|
+
mentionFiles: "Reference files",
|
|
136
|
+
noMatchFiles: "No matching files",
|
|
137
|
+
contextRefLabel: "Reference",
|
|
138
|
+
submitHintCtrl: "{ctrlEnter}",
|
|
139
|
+
submitHintEnter: "Enter",
|
|
140
|
+
statusNoWorkspace: "(no workspace)",
|
|
141
|
+
statusListening: "Listening on port {port}",
|
|
142
|
+
statusFound: "Request found (port {port})",
|
|
143
|
+
statusNoServer: "MCP Server not found",
|
|
144
|
+
statusConnected: "Connected to {count} port(s), waiting",
|
|
145
|
+
statusPollError: "Polling error: {error}",
|
|
146
|
+
feishuSettings: "Feishu notifications",
|
|
147
|
+
feishuDesc: "Pushes feedback to Feishu, where you can reply directly. Optional.",
|
|
148
|
+
feishuAppId: "App ID",
|
|
149
|
+
feishuAppSecret: "App Secret",
|
|
150
|
+
feishuAppIdPlaceholder: "cli_xxxxxxxx",
|
|
151
|
+
feishuSecretPlaceholder: "Enter App Secret",
|
|
152
|
+
feishuGuide: "How to set up a Feishu bot?",
|
|
153
|
+
feishuClose: "Close",
|
|
154
|
+
feishuStatusUnconfigured: "Not configured",
|
|
155
|
+
feishuStatusConfigured: "Configured · send your bot a message to bind",
|
|
156
|
+
feishuStatusBound: "Configured & bound, ready to push",
|
|
157
|
+
feishuHint: "Tip: after entering credentials, message your bot in Feishu to bind.",
|
|
158
|
+
systemNotifyLabel: "In-app notifications",
|
|
159
|
+
showSecret: "Show secret",
|
|
160
|
+
hideSecret: "Hide secret",
|
|
161
|
+
notifySettingsTitle: "Notification settings",
|
|
162
|
+
pluginNotifyDesc: "Shows the feedback panel when AI requests feedback; when off, this window stays fully silent.",
|
|
163
|
+
osNotifyLabel: "Notify when in background",
|
|
164
|
+
osNotifyDesc: "Sends a system notification when the IDE is in the background.",
|
|
165
|
+
feishuAckLabel: "Get emoji acknowledgement",
|
|
166
|
+
feishuAckDesc: "After you reply in Feishu, the bot adds a Get emoji as acknowledgement."
|
|
125
167
|
};
|
|
126
168
|
}
|
|
127
169
|
//# sourceMappingURL=index.js.map
|
package/dist/i18n/zh-CN.json
CHANGED
|
@@ -11,10 +11,12 @@
|
|
|
11
11
|
"toggleKeyMode": "切换快捷键模式",
|
|
12
12
|
"remainingTime": "剩余时间",
|
|
13
13
|
"timeout": "已超时",
|
|
14
|
-
"enterSubmitMode": "Enter 提交 ·
|
|
15
|
-
"ctrlEnterSubmitMode": "
|
|
16
|
-
"switchToCtrlEnter": "点击切换为
|
|
14
|
+
"enterSubmitMode": "Enter 提交 · {shiftEnter} 换行",
|
|
15
|
+
"ctrlEnterSubmitMode": "{ctrlEnter} 提交 · Enter 换行",
|
|
16
|
+
"switchToCtrlEnter": "点击切换为 {ctrlEnter} 提交",
|
|
17
17
|
"switchToEnter": "点击切换为 Enter 提交",
|
|
18
|
+
"submitHintCtrl": "{ctrlEnter}",
|
|
19
|
+
"submitHintEnter": "Enter",
|
|
18
20
|
"mcpServerConnected": "MCP Server 已连接",
|
|
19
21
|
"mcpServerDisconnected": "MCP Server 未连接",
|
|
20
22
|
"debugInfo": "调试信息",
|
|
@@ -24,11 +26,51 @@
|
|
|
24
26
|
"connected": "已连接",
|
|
25
27
|
"none": "无",
|
|
26
28
|
"status": "状态",
|
|
27
|
-
"startListening": "开始监听 MCP 反馈请求",
|
|
28
|
-
"stopListening": "已停止监听",
|
|
29
29
|
"aiWaitingFeedback": "AI 正在等待您的反馈",
|
|
30
|
-
"feedbackSubmitted": "反馈已提交",
|
|
31
30
|
"submitFailed": "提交失败",
|
|
32
31
|
"cannotConnectMCP": "无法连接到 MCP Server",
|
|
33
|
-
"select": "选择"
|
|
32
|
+
"select": "选择",
|
|
33
|
+
"dropToUpload": "松开以添加图片",
|
|
34
|
+
"submitting": "提交中…",
|
|
35
|
+
"removeAttachment": "移除",
|
|
36
|
+
"autoRetryOn": "超时续期:开 · 超时后自动继续等待(点击关闭)",
|
|
37
|
+
"autoRetryOff": "超时续期:关 · 超时后结束本轮(点击开启)",
|
|
38
|
+
"accentBrand": "主题色:品牌粉 · 点击改为跟随 IDE",
|
|
39
|
+
"accentIde": "主题色:跟随 IDE · 点击改为品牌粉",
|
|
40
|
+
"clickToZoom": "点击放大",
|
|
41
|
+
"insertSelection": "带入选中代码({shortcut})",
|
|
42
|
+
"contextHint": "@ 引用文件 · {shortcut} 带入选中",
|
|
43
|
+
"contextHintMention": "@ 引用文件",
|
|
44
|
+
"contextHintInsert": "带入选中",
|
|
45
|
+
"insertShortcut": "{shortcut}",
|
|
46
|
+
"mentionFiles": "引用文件",
|
|
47
|
+
"noMatchFiles": "无匹配文件",
|
|
48
|
+
"contextRefLabel": "参考",
|
|
49
|
+
"statusNoWorkspace": "(无工作区)",
|
|
50
|
+
"statusListening": "监听端口 {port}",
|
|
51
|
+
"statusFound": "找到请求 (端口 {port})",
|
|
52
|
+
"statusNoServer": "未找到 MCP Server",
|
|
53
|
+
"statusConnected": "已连接 {count} 个端口,等待请求",
|
|
54
|
+
"statusPollError": "轮询错误: {error}",
|
|
55
|
+
"feishuSettings": "飞书通知",
|
|
56
|
+
"feishuDesc": "推送反馈到飞书,可直接在飞书回复。",
|
|
57
|
+
"feishuAppId": "App ID",
|
|
58
|
+
"feishuAppSecret": "App Secret",
|
|
59
|
+
"feishuAppIdPlaceholder": "cli_xxxxxxxx",
|
|
60
|
+
"feishuSecretPlaceholder": "请输入 App Secret",
|
|
61
|
+
"feishuGuide": "如何配置飞书机器人?",
|
|
62
|
+
"feishuClose": "关闭",
|
|
63
|
+
"feishuStatusUnconfigured": "未配置",
|
|
64
|
+
"feishuStatusConfigured": "已配置 · 请给机器人发条消息以绑定接收方",
|
|
65
|
+
"feishuStatusBound": "已配置并绑定,可正常推送",
|
|
66
|
+
"feishuHint": "提示:填好凭证后,去飞书给机器人发条消息即可绑定。",
|
|
67
|
+
"systemNotifyLabel": "插件通知",
|
|
68
|
+
"showSecret": "显示密钥",
|
|
69
|
+
"hideSecret": "隐藏密钥",
|
|
70
|
+
"notifySettingsTitle": "通知设置",
|
|
71
|
+
"pluginNotifyDesc": "AI 请求反馈时弹出面板;关闭后本窗口完全静默、不再推送消息。",
|
|
72
|
+
"osNotifyLabel": "切到后台时提醒",
|
|
73
|
+
"osNotifyDesc": "IDE 切到后台时,用系统通知提醒你。",
|
|
74
|
+
"feishuAckLabel": "Get 表情回执",
|
|
75
|
+
"feishuAckDesc": "你在飞书回复后,机器人加个 Get 表情表示「已收到」。"
|
|
34
76
|
}
|