@rdmind/rdmind 0.2.7-alpha.8 → 0.2.7
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 +53 -35
- package/locales/zh.js +1 -1
- package/package.json +2 -2
package/cli.js
CHANGED
|
@@ -160770,7 +160770,7 @@ __export(geminiContentGenerator_exports2, {
|
|
|
160770
160770
|
createGeminiContentGenerator: () => createGeminiContentGenerator
|
|
160771
160771
|
});
|
|
160772
160772
|
function createGeminiContentGenerator(config2, gcConfig) {
|
|
160773
|
-
const version2 = "0.2.7
|
|
160773
|
+
const version2 = "0.2.7";
|
|
160774
160774
|
const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
|
|
160775
160775
|
const baseHeaders = {
|
|
160776
160776
|
"User-Agent": userAgent2
|
|
@@ -361481,7 +361481,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
361481
361481
|
// packages/cli/src/utils/version.ts
|
|
361482
361482
|
async function getCliVersion() {
|
|
361483
361483
|
const pkgJson = await getPackageJson();
|
|
361484
|
-
return "0.2.7
|
|
361484
|
+
return "0.2.7";
|
|
361485
361485
|
}
|
|
361486
361486
|
__name(getCliVersion, "getCliVersion");
|
|
361487
361487
|
|
|
@@ -377135,21 +377135,29 @@ ${sessionText}`;
|
|
|
377135
377135
|
const outcomesAgg = {};
|
|
377136
377136
|
const goalsAgg = {};
|
|
377137
377137
|
facets.forEach((facet) => {
|
|
377138
|
-
|
|
377139
|
-
|
|
377140
|
-
|
|
377141
|
-
|
|
377142
|
-
|
|
377143
|
-
|
|
377138
|
+
if (facet.user_satisfaction_counts) {
|
|
377139
|
+
Object.entries(facet.user_satisfaction_counts).forEach(
|
|
377140
|
+
([sat, count]) => {
|
|
377141
|
+
satisfactionAgg[sat] = (satisfactionAgg[sat] || 0) + count;
|
|
377142
|
+
}
|
|
377143
|
+
);
|
|
377144
|
+
}
|
|
377145
|
+
if (facet.friction_counts) {
|
|
377146
|
+
Object.entries(facet.friction_counts).forEach(([fric, count]) => {
|
|
377147
|
+
frictionAgg[fric] = (frictionAgg[fric] || 0) + count;
|
|
377148
|
+
});
|
|
377149
|
+
}
|
|
377144
377150
|
if (facet.primary_success && facet.primary_success !== "none") {
|
|
377145
377151
|
primarySuccessAgg[facet.primary_success] = (primarySuccessAgg[facet.primary_success] || 0) + 1;
|
|
377146
377152
|
}
|
|
377147
377153
|
if (facet.outcome) {
|
|
377148
377154
|
outcomesAgg[facet.outcome] = (outcomesAgg[facet.outcome] || 0) + 1;
|
|
377149
377155
|
}
|
|
377150
|
-
|
|
377151
|
-
|
|
377152
|
-
|
|
377156
|
+
if (facet.goal_categories) {
|
|
377157
|
+
Object.entries(facet.goal_categories).forEach(([goal, count]) => {
|
|
377158
|
+
goalsAgg[goal] = (goalsAgg[goal] || 0) + count;
|
|
377159
|
+
});
|
|
377160
|
+
}
|
|
377153
377161
|
});
|
|
377154
377162
|
return {
|
|
377155
377163
|
satisfactionAgg,
|
|
@@ -377436,16 +377444,26 @@ ${commonData}`;
|
|
|
377436
377444
|
const frictionAgg = {};
|
|
377437
377445
|
const successAgg = {};
|
|
377438
377446
|
facets.forEach((facet) => {
|
|
377439
|
-
|
|
377440
|
-
|
|
377441
|
-
|
|
377442
|
-
|
|
377443
|
-
|
|
377444
|
-
|
|
377445
|
-
|
|
377446
|
-
|
|
377447
|
-
|
|
377448
|
-
|
|
377447
|
+
if (facet.goal_categories) {
|
|
377448
|
+
Object.entries(facet.goal_categories).forEach(([goal, count]) => {
|
|
377449
|
+
goalsAgg[goal] = (goalsAgg[goal] || 0) + count;
|
|
377450
|
+
});
|
|
377451
|
+
}
|
|
377452
|
+
if (facet.outcome) {
|
|
377453
|
+
outcomesAgg[facet.outcome] = (outcomesAgg[facet.outcome] || 0) + 1;
|
|
377454
|
+
}
|
|
377455
|
+
if (facet.user_satisfaction_counts) {
|
|
377456
|
+
Object.entries(facet.user_satisfaction_counts).forEach(
|
|
377457
|
+
([sat, count]) => {
|
|
377458
|
+
satisfactionAgg[sat] = (satisfactionAgg[sat] || 0) + count;
|
|
377459
|
+
}
|
|
377460
|
+
);
|
|
377461
|
+
}
|
|
377462
|
+
if (facet.friction_counts) {
|
|
377463
|
+
Object.entries(facet.friction_counts).forEach(([fric, count]) => {
|
|
377464
|
+
frictionAgg[fric] = (frictionAgg[fric] || 0) + count;
|
|
377465
|
+
});
|
|
377466
|
+
}
|
|
377449
377467
|
if (facet.primary_success && facet.primary_success !== "none") {
|
|
377450
377468
|
successAgg[facet.primary_success] = (successAgg[facet.primary_success] || 0) + 1;
|
|
377451
377469
|
}
|
|
@@ -410840,42 +410858,42 @@ var XHS_SSO_MODELS = [
|
|
|
410840
410858
|
displayName: "gemini-3-pro-preview(low)",
|
|
410841
410859
|
baseUrl: "https://runway.devops.rednote.life/openai/google/v1",
|
|
410842
410860
|
contextWindow: "1M",
|
|
410843
|
-
description: "Google \u8FC4\u4ECA\u4E3A\u6B62\u6700\u667A\u80FD\u7684\u6A21\u578B(\
|
|
410861
|
+
description: "Google \u8FC4\u4ECA\u4E3A\u6B62\u6700\u667A\u80FD\u7684\u6A21\u578B (\u63A8\u7406\u5F3A\u5EA6\u4F4E)"
|
|
410844
410862
|
},
|
|
410845
410863
|
{
|
|
410846
410864
|
id: "gemini-3-pro-preview(high)",
|
|
410847
410865
|
displayName: "gemini-3-pro-preview(high)",
|
|
410848
410866
|
baseUrl: "https://runway.devops.rednote.life/openai/google/v1",
|
|
410849
410867
|
contextWindow: "1M",
|
|
410850
|
-
description: "Google \u8FC4\u4ECA\u4E3A\u6B62\u6700\u667A\u80FD\u7684\u6A21\u578B(\
|
|
410868
|
+
description: "Google \u8FC4\u4ECA\u4E3A\u6B62\u6700\u667A\u80FD\u7684\u6A21\u578B (\u63A8\u7406\u5F3A\u5EA6\u9AD8)"
|
|
410851
410869
|
},
|
|
410852
410870
|
{
|
|
410853
410871
|
id: "gemini-3.1-pro-preview(low)",
|
|
410854
410872
|
displayName: "gemini-3.1-pro-preview(low)",
|
|
410855
410873
|
baseUrl: "https://runway.devops.rednote.life/openai/google/v1",
|
|
410856
410874
|
contextWindow: "1M",
|
|
410857
|
-
description: "3 Pro \u7CFB\u5217\u5728\u6027\u80FD\u3001\u884C\u4E3A\u548C\u667A\u80FD\u65B9\u9762\u7684\u4E0B\u4E00\u4EE3\u6539\u8FDB\u7248\u672C(\
|
|
410875
|
+
description: "3 Pro \u7CFB\u5217\u5728\u6027\u80FD\u3001\u884C\u4E3A\u548C\u667A\u80FD\u65B9\u9762\u7684\u4E0B\u4E00\u4EE3\u6539\u8FDB\u7248\u672C (\u63A8\u7406\u5F3A\u5EA6\u4F4E)"
|
|
410858
410876
|
},
|
|
410859
410877
|
{
|
|
410860
410878
|
id: "gemini-3.1-pro-preview(high)",
|
|
410861
410879
|
displayName: "gemini-3.1-pro-preview(high)",
|
|
410862
410880
|
baseUrl: "https://runway.devops.rednote.life/openai/google/v1",
|
|
410863
410881
|
contextWindow: "1M",
|
|
410864
|
-
description: "3 Pro \u7CFB\u5217\u5728\u6027\u80FD\u3001\u884C\u4E3A\u548C\u667A\u80FD\u65B9\u9762\u7684\u4E0B\u4E00\u4EE3\u6539\u8FDB\u7248\u672C(\
|
|
410882
|
+
description: "3 Pro \u7CFB\u5217\u5728\u6027\u80FD\u3001\u884C\u4E3A\u548C\u667A\u80FD\u65B9\u9762\u7684\u4E0B\u4E00\u4EE3\u6539\u8FDB\u7248\u672C (\u63A8\u7406\u5F3A\u5EA6\u9AD8)"
|
|
410865
410883
|
},
|
|
410866
410884
|
{
|
|
410867
410885
|
id: "gemini-3-flash-preview(low)",
|
|
410868
410886
|
displayName: "gemini-3-flash-preview(low)",
|
|
410869
410887
|
baseUrl: "https://runway.devops.rednote.life/openai/google/v1",
|
|
410870
410888
|
contextWindow: "1M",
|
|
410871
|
-
description: "Google \u9AD8\u901F\u667A\u80FD\u6A21\u578B(\
|
|
410889
|
+
description: "Google \u9AD8\u901F\u667A\u80FD\u6A21\u578B (\u63A8\u7406\u5F3A\u5EA6\u4F4E)"
|
|
410872
410890
|
},
|
|
410873
410891
|
{
|
|
410874
410892
|
id: "gemini-3-flash-preview(high)",
|
|
410875
410893
|
displayName: "gemini-3-flash-preview(high)",
|
|
410876
410894
|
baseUrl: "https://runway.devops.rednote.life/openai/google/v1",
|
|
410877
410895
|
contextWindow: "1M",
|
|
410878
|
-
description: "Google \u9AD8\u901F\u667A\u80FD\u6A21\u578B(\
|
|
410896
|
+
description: "Google \u9AD8\u901F\u667A\u80FD\u6A21\u578B (\u63A8\u7406\u5F3A\u5EA6\u9AD8)"
|
|
410879
410897
|
},
|
|
410880
410898
|
{
|
|
410881
410899
|
id: "glm-5",
|
|
@@ -410905,13 +410923,13 @@ var XHS_SSO_MODELS = [
|
|
|
410905
410923
|
contextWindow: "272K",
|
|
410906
410924
|
description: "OpenAI \u8FC4\u4ECA\u4E3A\u6B62\u6700\u5F3A\u5927\u7684\u4EE3\u7406\u5F0F\u7F16\u7801\u6A21\u578B (\u63A8\u7406\u5F3A\u5EA6\u9AD8)"
|
|
410907
410925
|
},
|
|
410908
|
-
{
|
|
410909
|
-
|
|
410910
|
-
|
|
410911
|
-
|
|
410912
|
-
|
|
410913
|
-
|
|
410914
|
-
},
|
|
410926
|
+
// {
|
|
410927
|
+
// id: 'claude-opus-4-5@20251101',
|
|
410928
|
+
// displayName: 'Claude Opus 4.5',
|
|
410929
|
+
// baseUrl: 'https://runway.devops.rednote.life/openai/google/anthropic/v1',
|
|
410930
|
+
// contextWindow: '200K',
|
|
410931
|
+
// description: 'Anthropic 最强大的模型,擅长复杂推理和代码生成',
|
|
410932
|
+
// },
|
|
410915
410933
|
{
|
|
410916
410934
|
id: "qwen3-coder-480b-a35b-instruct",
|
|
410917
410935
|
displayName: "qwen3-coder-480b-a35b-instruct",
|
|
@@ -429028,7 +429046,7 @@ var GeminiAgent = class {
|
|
|
429028
429046
|
name: APPROVAL_MODE_INFO[mode].name,
|
|
429029
429047
|
description: APPROVAL_MODE_INFO[mode].description
|
|
429030
429048
|
}));
|
|
429031
|
-
const version2 = "0.2.7
|
|
429049
|
+
const version2 = "0.2.7";
|
|
429032
429050
|
return {
|
|
429033
429051
|
protocolVersion: PROTOCOL_VERSION,
|
|
429034
429052
|
agentInfo: {
|
package/locales/zh.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rdmind/rdmind",
|
|
3
|
-
"version": "0.2.7
|
|
3
|
+
"version": "0.2.7",
|
|
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.7
|
|
22
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.2.7"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|