@rdmind/rdmind 0.2.6-alpha.0 → 0.2.6-alpha.2
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 +20 -6
- package/package.json +2 -2
package/cli.js
CHANGED
|
@@ -134719,9 +134719,9 @@ var init_tokenLimits = __esm({
|
|
|
134719
134719
|
[/^gemini-2\.5-flash.*$/, LIMITS["1m"]],
|
|
134720
134720
|
[/^gemini-2\.0-flash-image-generation$/, LIMITS["32k"]],
|
|
134721
134721
|
[/^gemini-2\.0-flash.*$/, LIMITS["1m"]],
|
|
134722
|
-
[/^gemini-3
|
|
134722
|
+
[/^gemini-3(?:\.\d+)?-pro.*$/, LIMITS["1m"]],
|
|
134723
134723
|
// Gemini 3 Pro: 1M context window
|
|
134724
|
-
[/^gemini-3
|
|
134724
|
+
[/^gemini-3(?:\.\d+)?-flash.*$/, LIMITS["1m"]],
|
|
134725
134725
|
// Gemini 3 Flash: 1M context window
|
|
134726
134726
|
// -------------------
|
|
134727
134727
|
// OpenAI (o3 / o4-mini / gpt-4.1 / gpt-4o family)
|
|
@@ -160756,7 +160756,7 @@ __export(geminiContentGenerator_exports2, {
|
|
|
160756
160756
|
createGeminiContentGenerator: () => createGeminiContentGenerator
|
|
160757
160757
|
});
|
|
160758
160758
|
function createGeminiContentGenerator(config2, gcConfig) {
|
|
160759
|
-
const version2 = "0.2.6-alpha.
|
|
160759
|
+
const version2 = "0.2.6-alpha.2";
|
|
160760
160760
|
const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
|
|
160761
160761
|
const baseHeaders = {
|
|
160762
160762
|
"User-Agent": userAgent2
|
|
@@ -163841,7 +163841,7 @@ function getCoreSystemPrompt(userMemory, model) {
|
|
|
163841
163841
|
throw new Error(`missing system prompt file '${systemMdPath}'`);
|
|
163842
163842
|
}
|
|
163843
163843
|
}
|
|
163844
|
-
const isGemini3 = model?.toLowerCase().includes("gemini-3-pro-preview") || model?.toLowerCase().includes("gemini-3-flash-preview");
|
|
163844
|
+
const isGemini3 = model?.toLowerCase().includes("gemini-3-pro-preview") || model?.toLowerCase().includes("gemini-3.1-pro-preview") || model?.toLowerCase().includes("gemini-3-flash-preview");
|
|
163845
163845
|
const mandatesVariant = isGemini3 ? `
|
|
163846
163846
|
|
|
163847
163847
|
- **Do not call tools in silence:** You must provide to the user very short and concise natural explanation (one sentence) before calling tools.` : ``;
|
|
@@ -361095,7 +361095,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
361095
361095
|
// packages/cli/src/utils/version.ts
|
|
361096
361096
|
async function getCliVersion() {
|
|
361097
361097
|
const pkgJson = await getPackageJson();
|
|
361098
|
-
return "0.2.6-alpha.
|
|
361098
|
+
return "0.2.6-alpha.2";
|
|
361099
361099
|
}
|
|
361100
361100
|
__name(getCliVersion, "getCliVersion");
|
|
361101
361101
|
|
|
@@ -409187,6 +409187,20 @@ var XHS_SSO_MODELS = [
|
|
|
409187
409187
|
contextWindow: "1M",
|
|
409188
409188
|
description: "Google \u8FC4\u4ECA\u4E3A\u6B62\u6700\u667A\u80FD\u7684\u6A21\u578B(\u601D\u8003\u65F6\u95F4\u957F)"
|
|
409189
409189
|
},
|
|
409190
|
+
{
|
|
409191
|
+
id: "gemini-3.1-pro-preview(low)",
|
|
409192
|
+
displayName: "gemini-3.1-pro-preview(low)",
|
|
409193
|
+
baseUrl: "https://runway.devops.rednote.life/openai/google/v1",
|
|
409194
|
+
contextWindow: "1M",
|
|
409195
|
+
description: "3 Pro \u7CFB\u5217\u5728\u6027\u80FD\u3001\u884C\u4E3A\u548C\u667A\u80FD\u65B9\u9762\u7684\u4E0B\u4E00\u4EE3\u6539\u8FDB\u7248\u672C(\u601D\u8003\u65F6\u95F4\u77ED)"
|
|
409196
|
+
},
|
|
409197
|
+
{
|
|
409198
|
+
id: "gemini-3.1-pro-preview(high)",
|
|
409199
|
+
displayName: "gemini-3.1-pro-preview(high)",
|
|
409200
|
+
baseUrl: "https://runway.devops.rednote.life/openai/google/v1",
|
|
409201
|
+
contextWindow: "1M",
|
|
409202
|
+
description: "3 Pro \u7CFB\u5217\u5728\u6027\u80FD\u3001\u884C\u4E3A\u548C\u667A\u80FD\u65B9\u9762\u7684\u4E0B\u4E00\u4EE3\u6539\u8FDB\u7248\u672C(\u601D\u8003\u65F6\u95F4\u957F)"
|
|
409203
|
+
},
|
|
409190
409204
|
{
|
|
409191
409205
|
id: "gemini-3-flash-preview(low)",
|
|
409192
409206
|
displayName: "gemini-3-flash-preview(low)",
|
|
@@ -427518,7 +427532,7 @@ var GeminiAgent = class {
|
|
|
427518
427532
|
name: APPROVAL_MODE_INFO[mode].name,
|
|
427519
427533
|
description: APPROVAL_MODE_INFO[mode].description
|
|
427520
427534
|
}));
|
|
427521
|
-
const version2 = "0.2.6-alpha.
|
|
427535
|
+
const version2 = "0.2.6-alpha.2";
|
|
427522
427536
|
return {
|
|
427523
427537
|
protocolVersion: PROTOCOL_VERSION,
|
|
427524
427538
|
agentInfo: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rdmind/rdmind",
|
|
3
|
-
"version": "0.2.6-alpha.
|
|
3
|
+
"version": "0.2.6-alpha.2",
|
|
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.6-alpha.
|
|
22
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.2.6-alpha.2"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|