@rdmind/rdmind 0.1.0 → 0.1.1-alpha.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/cli.js +32 -6
- package/package.json +2 -2
package/cli.js
CHANGED
|
@@ -147562,7 +147562,7 @@ function createContentGeneratorConfig(config, authType, generationConfig) {
|
|
|
147562
147562
|
};
|
|
147563
147563
|
}
|
|
147564
147564
|
async function createContentGenerator(config, gcConfig, sessionId2, isInitialAuth) {
|
|
147565
|
-
const version2 = "0.1.0";
|
|
147565
|
+
const version2 = "0.1.1-alpha.0";
|
|
147566
147566
|
const userAgent2 = `QwenCode/${version2} (${process.platform}; ${process.arch})`;
|
|
147567
147567
|
const baseHeaders = {
|
|
147568
147568
|
"User-Agent": userAgent2
|
|
@@ -147589,7 +147589,12 @@ async function createContentGenerator(config, gcConfig, sessionId2, isInitialAut
|
|
|
147589
147589
|
"x-gemini-api-privileged-user-id": `${installationId}`
|
|
147590
147590
|
};
|
|
147591
147591
|
}
|
|
147592
|
-
const httpOptions = {
|
|
147592
|
+
const httpOptions = {
|
|
147593
|
+
headers
|
|
147594
|
+
};
|
|
147595
|
+
if (config.baseUrl) {
|
|
147596
|
+
httpOptions.baseUrl = config.baseUrl;
|
|
147597
|
+
}
|
|
147593
147598
|
const googleGenAI = new GoogleGenAI({
|
|
147594
147599
|
apiKey: config.apiKey === "" ? void 0 : config.apiKey,
|
|
147595
147600
|
vertexai: config.vertexai,
|
|
@@ -147625,6 +147630,20 @@ async function createContentGenerator(config, gcConfig, sessionId2, isInitialAut
|
|
|
147625
147630
|
"\u5C0F\u7EA2\u4E66 SSO \u8BA4\u8BC1\u672A\u5B8C\u6210\uFF1A\u7F3A\u5C11 API Key\u3002\u8BF7\u91CD\u65B0\u542F\u52A8\u5E94\u7528\u5B8C\u6210\u8BA4\u8BC1\u3002"
|
|
147626
147631
|
);
|
|
147627
147632
|
}
|
|
147633
|
+
if (config.model === "gemini-3-pro-preview") {
|
|
147634
|
+
const httpOptions = {
|
|
147635
|
+
headers: baseHeaders
|
|
147636
|
+
};
|
|
147637
|
+
if (config.baseUrl) {
|
|
147638
|
+
httpOptions.baseUrl = config.baseUrl;
|
|
147639
|
+
}
|
|
147640
|
+
const googleGenAI = new GoogleGenAI({
|
|
147641
|
+
apiKey: config.apiKey === "" ? void 0 : config.apiKey,
|
|
147642
|
+
vertexai: config.vertexai,
|
|
147643
|
+
httpOptions
|
|
147644
|
+
});
|
|
147645
|
+
return new LoggingContentGenerator(googleGenAI.models, gcConfig);
|
|
147646
|
+
}
|
|
147628
147647
|
const { createOpenAIContentGenerator: createOpenAIContentGenerator2 } = await Promise.resolve().then(() => (init_openaiContentGenerator2(), openaiContentGenerator_exports));
|
|
147629
147648
|
return createOpenAIContentGenerator2(config, gcConfig);
|
|
147630
147649
|
}
|
|
@@ -222536,8 +222555,8 @@ var init_git_commit = __esm({
|
|
|
222536
222555
|
"packages/core/src/generated/git-commit.ts"() {
|
|
222537
222556
|
"use strict";
|
|
222538
222557
|
init_esbuild_shims();
|
|
222539
|
-
GIT_COMMIT_INFO = "
|
|
222540
|
-
CLI_VERSION = "0.1.0";
|
|
222558
|
+
GIT_COMMIT_INFO = "fed9317e";
|
|
222559
|
+
CLI_VERSION = "0.1.1-alpha.0";
|
|
222541
222560
|
}
|
|
222542
222561
|
});
|
|
222543
222562
|
|
|
@@ -316758,7 +316777,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
316758
316777
|
// packages/cli/src/utils/version.ts
|
|
316759
316778
|
async function getCliVersion() {
|
|
316760
316779
|
const pkgJson = await getPackageJson();
|
|
316761
|
-
return "0.1.0";
|
|
316780
|
+
return "0.1.1-alpha.0";
|
|
316762
316781
|
}
|
|
316763
316782
|
__name(getCliVersion, "getCliVersion");
|
|
316764
316783
|
|
|
@@ -320781,7 +320800,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
|
|
|
320781
320800
|
|
|
320782
320801
|
// packages/cli/src/generated/git-commit.ts
|
|
320783
320802
|
init_esbuild_shims();
|
|
320784
|
-
var GIT_COMMIT_INFO2 = "
|
|
320803
|
+
var GIT_COMMIT_INFO2 = "fed9317e";
|
|
320785
320804
|
|
|
320786
320805
|
// packages/cli/src/utils/systemInfo.ts
|
|
320787
320806
|
async function getNpmVersion() {
|
|
@@ -358579,6 +358598,13 @@ var XHS_SSO_MODELS = [
|
|
|
358579
358598
|
baseUrl: "https://maas.devops.xiaohongshu.com/v1",
|
|
358580
358599
|
contextWindow: "256k",
|
|
358581
358600
|
description: "QuickSilver\u5E73\u53F0\u90E8\u7F72\u7248\u672C"
|
|
358601
|
+
},
|
|
358602
|
+
{
|
|
358603
|
+
id: "gemini-3-pro-preview",
|
|
358604
|
+
displayName: "gemini-3-pro-preview",
|
|
358605
|
+
baseUrl: "https://runway.devops.rednote.life/openai/google/v1",
|
|
358606
|
+
contextWindow: "1M",
|
|
358607
|
+
description: "\u6D4B\u8BD5\u4E2D \u8C37\u6B4C\u8FC4\u4ECA\u4E3A\u6B62\u6700\u667A\u80FD\u7684\u6A21\u578B"
|
|
358582
358608
|
}
|
|
358583
358609
|
];
|
|
358584
358610
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rdmind/rdmind",
|
|
3
|
-
"version": "0.1.0",
|
|
3
|
+
"version": "0.1.1-alpha.0",
|
|
4
4
|
"description": "RDMind - AI-powered coding assistant",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "cli.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"locales"
|
|
21
21
|
],
|
|
22
22
|
"config": {
|
|
23
|
-
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.1.0"
|
|
23
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.1.1-alpha.0"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|