@rdmind/rdmind 0.0.28-alpha.7 → 0.0.28-alpha.8
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 +11 -21
- package/package.json +2 -2
package/cli.js
CHANGED
|
@@ -184663,7 +184663,7 @@ function createContentGeneratorConfig(config, authType, generationConfig) {
|
|
|
184663
184663
|
};
|
|
184664
184664
|
}
|
|
184665
184665
|
async function createContentGenerator(config, gcConfig, sessionId2, isInitialAuth) {
|
|
184666
|
-
const version2 = "0.0.28-alpha.
|
|
184666
|
+
const version2 = "0.0.28-alpha.8";
|
|
184667
184667
|
const userAgent2 = `QwenCode/${version2} (${process.platform}; ${process.arch})`;
|
|
184668
184668
|
const baseHeaders = {
|
|
184669
184669
|
"User-Agent": userAgent2
|
|
@@ -259065,7 +259065,7 @@ var init_git_commit = __esm({
|
|
|
259065
259065
|
"use strict";
|
|
259066
259066
|
init_esbuild_shims();
|
|
259067
259067
|
GIT_COMMIT_INFO = "8e1bdaa6";
|
|
259068
|
-
CLI_VERSION = "0.0.28-alpha.
|
|
259068
|
+
CLI_VERSION = "0.0.28-alpha.8";
|
|
259069
259069
|
}
|
|
259070
259070
|
});
|
|
259071
259071
|
|
|
@@ -301919,24 +301919,14 @@ async function autoSwitchToQSModel(config, settings) {
|
|
|
301919
301919
|
const targetModel = "qwen3-coder-480b-a35b-instruct";
|
|
301920
301920
|
const targetBaseUrl = "https://maas.devops.xiaohongshu.com/v1";
|
|
301921
301921
|
if (currentAuthType === "xhs-sso" /* XHS_SSO */) {
|
|
301922
|
-
const
|
|
301923
|
-
|
|
301924
|
-
|
|
301925
|
-
|
|
301926
|
-
|
|
301927
|
-
|
|
301928
|
-
|
|
301929
|
-
|
|
301930
|
-
refresh: true
|
|
301931
|
-
});
|
|
301932
|
-
} else {
|
|
301933
|
-
await applyXhsSsoConfig(config, settings, {
|
|
301934
|
-
apiKey,
|
|
301935
|
-
baseUrl: targetBaseUrl,
|
|
301936
|
-
model: targetModel,
|
|
301937
|
-
refresh: true
|
|
301938
|
-
});
|
|
301939
|
-
}
|
|
301922
|
+
const { fetchModelKey: fetchModelKey2 } = await Promise.resolve().then(() => (init_core2(), core_exports2));
|
|
301923
|
+
const newApiKey = await fetchModelKey2(targetModel, config.getDebugMode());
|
|
301924
|
+
await applyXhsSsoConfig(config, settings, {
|
|
301925
|
+
apiKey: newApiKey,
|
|
301926
|
+
baseUrl: targetBaseUrl,
|
|
301927
|
+
model: targetModel,
|
|
301928
|
+
refresh: true
|
|
301929
|
+
});
|
|
301940
301930
|
} else {
|
|
301941
301931
|
const { fetchModelKey: fetchModelKey2 } = await Promise.resolve().then(() => (init_core2(), core_exports2));
|
|
301942
301932
|
const apiKey = await fetchModelKey2(targetModel, config.getDebugMode());
|
|
@@ -347370,7 +347360,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
347370
347360
|
// packages/cli/src/utils/version.ts
|
|
347371
347361
|
async function getCliVersion() {
|
|
347372
347362
|
const pkgJson = await getPackageJson();
|
|
347373
|
-
return "0.0.28-alpha.
|
|
347363
|
+
return "0.0.28-alpha.8";
|
|
347374
347364
|
}
|
|
347375
347365
|
__name(getCliVersion, "getCliVersion");
|
|
347376
347366
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rdmind/rdmind",
|
|
3
|
-
"version": "0.0.28-alpha.
|
|
3
|
+
"version": "0.0.28-alpha.8",
|
|
4
4
|
"description": "RDMind - AI-powered coding assistant",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "cli.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"LICENSE"
|
|
20
20
|
],
|
|
21
21
|
"config": {
|
|
22
|
-
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.0.28-alpha.
|
|
22
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.0.28-alpha.8"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|