@rdmind/rdmind 0.2.8-alpha.3 → 0.2.8-alpha.4
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/cli.js +8 -25
- package/locales/en.js +2 -0
- package/locales/zh.js +2 -0
- package/package.json +2 -2
package/cli.js
CHANGED
|
@@ -160979,7 +160979,7 @@ __export(geminiContentGenerator_exports2, {
|
|
|
160979
160979
|
createGeminiContentGenerator: () => createGeminiContentGenerator
|
|
160980
160980
|
});
|
|
160981
160981
|
function createGeminiContentGenerator(config2, gcConfig) {
|
|
160982
|
-
const version2 = "0.2.8-alpha.
|
|
160982
|
+
const version2 = "0.2.8-alpha.4";
|
|
160983
160983
|
const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
|
|
160984
160984
|
const baseHeaders = {
|
|
160985
160985
|
"User-Agent": userAgent2
|
|
@@ -164384,21 +164384,18 @@ function getCoreSystemPrompt(userMemory, model) {
|
|
|
164384
164384
|
|
|
164385
164385
|
## Final answer instructions
|
|
164386
164386
|
- Balance conciseness to not overwhelm the user with appropriate detail for the request. Do not narrate abstractly; explain what you are doing and why.
|
|
164387
|
-
- Do not begin responses with conversational interjections or meta commentary. Avoid openers such as acknowledgements (\u201CDone \u2014\u201D, \u201CGot it\u201D, \u201CGreat question, \u201D) or framing phrases.
|
|
164388
164387
|
- The user does not see command execution outputs. When asked to show the output of a command (e.g. \`git show\`), relay the important details in your answer or summarize the key lines so the user understands the result.
|
|
164389
164388
|
- Never tell the user to "save/copy this file", the user is on the same machine and has access to the same files as you have.
|
|
164390
164389
|
- If the user asks for a code explanation, structure your answer with code references.
|
|
164391
164390
|
- When given a simple task, just provide the outcome in a short answer without strong formatting.
|
|
164392
164391
|
- When you make big or complex changes, state the solution first, then walk the user through what you did and why.
|
|
164393
164392
|
- For casual chit-chat, just chat.
|
|
164394
|
-
- If you weren't able to do something, for example run tests, tell the user.
|
|
164395
164393
|
- If there are natural next steps the user may want to take, suggest them at the end of your response. Do not make suggestions if there are no natural next steps. When suggesting multiple options, use numeric lists for the suggestions so the user can quickly respond with a single number.` : ``;
|
|
164396
164394
|
const codexIntermediaryUpdatesVariant = isGpt53Codex ? `
|
|
164397
164395
|
|
|
164398
164396
|
## Intermediary updates
|
|
164399
164397
|
- User updates are short updates while you are working, they are NOT final answers.
|
|
164400
164398
|
- You use 1-2 sentence user updates to communicated progress and new information to the user as you are doing work.
|
|
164401
|
-
- Do not begin responses with conversational interjections or meta commentary. Avoid openers such as acknowledgements (\u201CDone \u2014\u201D, \u201CGot it\u201D, \u201CGreat question, \u201D) or framing phrases.
|
|
164402
164399
|
- You provide user updates frequently, every 20s.
|
|
164403
164400
|
- Before exploring or doing substantial work, you start with a user update acknowledging the request and explaining your first step. You should include your understanding of the user request and explain what you will do. Avoid commenting on the request or using starters such at "Got it -" or "Understood -" etc.
|
|
164404
164401
|
- When exploring, e.g. searching, reading files you provide user updates as you go, every 20s, explaining what context you are gathering and what you've learned. Vary your sentence structure when providing these updates to avoid sounding repetitive - in particular, don't start each sentence the same way.
|
|
@@ -308120,6 +308117,7 @@ var init_en3 = __esm({
|
|
|
308120
308117
|
"Try /insight to generate personalized insights from your chat history.": "Try /insight to generate personalized insights from your chat history.",
|
|
308121
308118
|
"RDMind now supports custom commands, sub-agents, skills and other features. Check the documentation for usage help.": "RDMind now supports custom commands, sub-agents, skills and other features. Check the documentation for usage help.",
|
|
308122
308119
|
"Try asking RDMind to help you commit code.": "Try asking RDMind to help you commit code.",
|
|
308120
|
+
"Based on model support, RDMind can process image, PDF, and video inputs.": "Based on model support, RDMind can process image, PDF, and video inputs.",
|
|
308123
308121
|
"RDMind can read REDoc. Please do not upload documents involving user privacy and core algorithms.": "RDMind can read REDoc. Please do not upload documents involving user privacy and core algorithms.",
|
|
308124
308122
|
"If you find RDMind useful, feel free to recommend it to your colleagues~": "If you find RDMind useful, feel free to recommend it to your colleagues~",
|
|
308125
308123
|
// ============================================================================
|
|
@@ -309254,6 +309252,7 @@ var init_zh = __esm({
|
|
|
309254
309252
|
"You can switch permission mode quickly with Tab or /approval-mode.": "\u6309 Tab \u6216\u8F93\u5165 /approval-mode \u53EF\u5FEB\u901F\u5207\u6362\u6743\u9650\u6A21\u5F0F\u3002",
|
|
309255
309253
|
"RDMind now supports custom commands, sub-agents, skills and other features. Check the documentation for usage help.": "RDMind \u73B0\u5DF2\u652F\u6301\u81EA\u5B9A\u4E49\u547D\u4EE4\u3001\u5B50\u4EE3\u7406\u3001\u6280\u80FD\u7B49\u7279\u6027\uFF0C\u67E5\u9605\u6587\u6863\u83B7\u5F97\u4F7F\u7528\u5E2E\u52A9\u3002",
|
|
309256
309254
|
"Try asking RDMind to help you commit code.": "\u8BD5\u8BD5\u8BA9 RDMind \u5E2E\u4F60\u63D0\u4EA4\u4EE3\u7801\u3002",
|
|
309255
|
+
"Based on model support, RDMind can process image, PDF, and video inputs.": "\u57FA\u4E8E\u6A21\u578B\u652F\u6301\u80FD\u529B\uFF0CRDMind \u652F\u6301\u8F93\u5165\u56FE\u7247\u3001PDF \u548C\u89C6\u9891\u3002",
|
|
309257
309256
|
"RDMind can read REDoc. Please do not upload documents involving user privacy and core algorithms.": "RDMind \u53EF\u4EE5\u8BFB\u61C2 REDoc\uFF0C\u6CE8\u610F\u4E0D\u8981\u4E0A\u4F20\u6D89\u53CA\u7528\u6237\u9690\u79C1\u548C\u6838\u5FC3\u7B97\u6CD5\u7684\u6587\u6863\u3002",
|
|
309258
309257
|
"If you find RDMind useful, feel free to recommend it to your colleagues~": "\u5982\u679C\u89C9\u5F97 RDMind \u597D\u7528\uFF0C\u6B22\u8FCE\u5411\u540C\u4E8B\u63A8\u8350~",
|
|
309259
309258
|
"Try /insight to generate personalized insights from your chat history.": "\u8BD5\u8BD5 /insight\uFF0C\u4ECE\u804A\u5929\u8BB0\u5F55\u4E2D\u751F\u6210\u4E2A\u6027\u5316\u6D1E\u5BDF\u3002",
|
|
@@ -361538,7 +361537,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
361538
361537
|
// packages/cli/src/utils/version.ts
|
|
361539
361538
|
async function getCliVersion() {
|
|
361540
361539
|
const pkgJson = await getPackageJson();
|
|
361541
|
-
return "0.2.8-alpha.
|
|
361540
|
+
return "0.2.8-alpha.4";
|
|
361542
361541
|
}
|
|
361543
361542
|
__name(getCliVersion, "getCliVersion");
|
|
361544
361543
|
|
|
@@ -369250,7 +369249,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
|
|
|
369250
369249
|
|
|
369251
369250
|
// packages/cli/src/generated/git-commit.ts
|
|
369252
369251
|
init_esbuild_shims();
|
|
369253
|
-
var GIT_COMMIT_INFO = "
|
|
369252
|
+
var GIT_COMMIT_INFO = "da79fc834";
|
|
369254
369253
|
|
|
369255
369254
|
// packages/cli/src/utils/systemInfo.ts
|
|
369256
369255
|
async function getNpmVersion() {
|
|
@@ -407507,6 +407506,7 @@ var startupTips = [
|
|
|
407507
407506
|
process.platform === "win32" ? "You can switch permission mode quickly with Tab or /approval-mode." : "You can switch permission mode quickly with Shift+Tab or /approval-mode.",
|
|
407508
407507
|
"RDMind now supports custom commands, sub-agents, skills and other features. Check the documentation for usage help.",
|
|
407509
407508
|
"Try asking RDMind to help you commit code.",
|
|
407509
|
+
"Based on model support, RDMind can process image, PDF, and video inputs.",
|
|
407510
407510
|
"RDMind can read REDoc. Please do not upload documents involving user privacy and core algorithms.",
|
|
407511
407511
|
"If you find RDMind useful, feel free to recommend it to your colleagues~",
|
|
407512
407512
|
{
|
|
@@ -410859,20 +410859,6 @@ var import_react86 = __toESM(require_react(), 1);
|
|
|
410859
410859
|
// packages/cli/src/config/xhsSsoProviders.ts
|
|
410860
410860
|
init_esbuild_shims();
|
|
410861
410861
|
var XHS_SSO_MODELS = [
|
|
410862
|
-
{
|
|
410863
|
-
id: "gemini-3-pro-preview(low)",
|
|
410864
|
-
displayName: "gemini-3-pro-preview(low)",
|
|
410865
|
-
baseUrl: "https://runway.devops.rednote.life/openai/google/v1",
|
|
410866
|
-
contextWindow: "1M",
|
|
410867
|
-
description: "Google \u8FC4\u4ECA\u4E3A\u6B62\u6700\u667A\u80FD\u7684\u6A21\u578B (\u63A8\u7406\u5F3A\u5EA6\u4F4E)"
|
|
410868
|
-
},
|
|
410869
|
-
{
|
|
410870
|
-
id: "gemini-3-pro-preview(high)",
|
|
410871
|
-
displayName: "gemini-3-pro-preview(high)",
|
|
410872
|
-
baseUrl: "https://runway.devops.rednote.life/openai/google/v1",
|
|
410873
|
-
contextWindow: "1M",
|
|
410874
|
-
description: "Google \u8FC4\u4ECA\u4E3A\u6B62\u6700\u667A\u80FD\u7684\u6A21\u578B (\u63A8\u7406\u5F3A\u5EA6\u9AD8)"
|
|
410875
|
-
},
|
|
410876
410862
|
{
|
|
410877
410863
|
id: "gemini-3.1-pro-preview(low)",
|
|
410878
410864
|
displayName: "gemini-3.1-pro-preview(low)",
|
|
@@ -414818,10 +414804,7 @@ var QueuedMessageDisplay = /* @__PURE__ */ __name(({
|
|
|
414818
414804
|
init_esbuild_shims();
|
|
414819
414805
|
var import_jsx_runtime104 = __toESM(require_jsx_runtime(), 1);
|
|
414820
414806
|
var getNewlineKey = /* @__PURE__ */ __name(() => process.platform === "win32" ? "ctrl+enter" : "ctrl+j", "getNewlineKey");
|
|
414821
|
-
var getPasteKey = /* @__PURE__ */ __name(() =>
|
|
414822
|
-
if (process.platform === "win32") return "alt+v";
|
|
414823
|
-
return process.platform === "darwin" ? "cmd+v" : "ctrl+v";
|
|
414824
|
-
}, "getPasteKey");
|
|
414807
|
+
var getPasteKey = /* @__PURE__ */ __name(() => "ctrl+v", "getPasteKey");
|
|
414825
414808
|
var getExternalEditorKey = /* @__PURE__ */ __name(() => process.platform === "darwin" ? "ctrl+x" : "ctrl+x", "getExternalEditorKey");
|
|
414826
414809
|
var getShortcuts = /* @__PURE__ */ __name(() => [
|
|
414827
414810
|
{ key: "!", description: t4("for shell mode") },
|
|
@@ -429164,7 +429147,7 @@ var GeminiAgent = class {
|
|
|
429164
429147
|
name: APPROVAL_MODE_INFO[mode].name,
|
|
429165
429148
|
description: APPROVAL_MODE_INFO[mode].description
|
|
429166
429149
|
}));
|
|
429167
|
-
const version2 = "0.2.8-alpha.
|
|
429150
|
+
const version2 = "0.2.8-alpha.4";
|
|
429168
429151
|
return {
|
|
429169
429152
|
protocolVersion: PROTOCOL_VERSION,
|
|
429170
429153
|
agentInfo: {
|
package/locales/en.js
CHANGED
|
@@ -1179,6 +1179,8 @@ export default {
|
|
|
1179
1179
|
'RDMind now supports custom commands, sub-agents, skills and other features. Check the documentation for usage help.',
|
|
1180
1180
|
'Try asking RDMind to help you commit code.':
|
|
1181
1181
|
'Try asking RDMind to help you commit code.',
|
|
1182
|
+
'Based on model support, RDMind can process image, PDF, and video inputs.':
|
|
1183
|
+
'Based on model support, RDMind can process image, PDF, and video inputs.',
|
|
1182
1184
|
'RDMind can read REDoc. Please do not upload documents involving user privacy and core algorithms.':
|
|
1183
1185
|
'RDMind can read REDoc. Please do not upload documents involving user privacy and core algorithms.',
|
|
1184
1186
|
'If you find RDMind useful, feel free to recommend it to your colleagues~':
|
package/locales/zh.js
CHANGED
|
@@ -1110,6 +1110,8 @@ export default {
|
|
|
1110
1110
|
'RDMind now supports custom commands, sub-agents, skills and other features. Check the documentation for usage help.':
|
|
1111
1111
|
'RDMind 现已支持自定义命令、子代理、技能等特性,查阅文档获得使用帮助。',
|
|
1112
1112
|
'Try asking RDMind to help you commit code.': '试试让 RDMind 帮你提交代码。',
|
|
1113
|
+
'Based on model support, RDMind can process image, PDF, and video inputs.':
|
|
1114
|
+
'基于模型支持能力,RDMind 支持输入图片、PDF 和视频。',
|
|
1113
1115
|
'RDMind can read REDoc. Please do not upload documents involving user privacy and core algorithms.':
|
|
1114
1116
|
'RDMind 可以读懂 REDoc,注意不要上传涉及用户隐私和核心算法的文档。',
|
|
1115
1117
|
'If you find RDMind useful, feel free to recommend it to your colleagues~':
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rdmind/rdmind",
|
|
3
|
-
"version": "0.2.8-alpha.
|
|
3
|
+
"version": "0.2.8-alpha.4",
|
|
4
4
|
"description": "RDMind - AI-powered coding assistant",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "cli.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"locales"
|
|
20
20
|
],
|
|
21
21
|
"config": {
|
|
22
|
-
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.2.8-alpha.
|
|
22
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.2.8-alpha.4"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|