@rdmind/rdmind 0.2.1-alpha.0 → 0.2.1-alpha.1

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.
Files changed (2) hide show
  1. package/cli.js +22 -6
  2. package/package.json +2 -2
package/cli.js CHANGED
@@ -157233,7 +157233,7 @@ __export(geminiContentGenerator_exports2, {
157233
157233
  createGeminiContentGenerator: () => createGeminiContentGenerator
157234
157234
  });
157235
157235
  function createGeminiContentGenerator(config2, gcConfig) {
157236
- const version2 = "0.2.1-alpha.0";
157236
+ const version2 = "0.2.1-alpha.1";
157237
157237
  const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
157238
157238
  const baseHeaders = {
157239
157239
  "User-Agent": userAgent2
@@ -237103,8 +237103,8 @@ var init_git_commit = __esm({
237103
237103
  "packages/core/src/generated/git-commit.ts"() {
237104
237104
  "use strict";
237105
237105
  init_esbuild_shims();
237106
- GIT_COMMIT_INFO = "3b18c9e1";
237107
- CLI_VERSION = "0.2.1-alpha.0";
237106
+ GIT_COMMIT_INFO = "fb01af4f";
237107
+ CLI_VERSION = "0.2.1-alpha.1";
237108
237108
  }
237109
237109
  });
237110
237110
 
@@ -347942,7 +347942,7 @@ __name(getPackageJson, "getPackageJson");
347942
347942
  // packages/cli/src/utils/version.ts
347943
347943
  async function getCliVersion() {
347944
347944
  const pkgJson = await getPackageJson();
347945
- return "0.2.1-alpha.0";
347945
+ return "0.2.1-alpha.1";
347946
347946
  }
347947
347947
  __name(getCliVersion, "getCliVersion");
347948
347948
 
@@ -356040,7 +356040,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
356040
356040
 
356041
356041
  // packages/cli/src/generated/git-commit.ts
356042
356042
  init_esbuild_shims();
356043
- var GIT_COMMIT_INFO2 = "3b18c9e1";
356043
+ var GIT_COMMIT_INFO2 = "fb01af4f";
356044
356044
 
356045
356045
  // packages/cli/src/utils/systemInfo.ts
356046
356046
  async function getNpmVersion() {
@@ -399516,6 +399516,22 @@ var useAuthCommand = /* @__PURE__ */ __name((settings, config2, addItem) => {
399516
399516
  settingsGenerationConfig
399517
399517
  );
399518
399518
  await performAuth(authType, credentials);
399519
+ } else {
399520
+ const apiKey = process.env["OPENAI_API_KEY"] || settings.merged.security?.auth?.apiKey || "";
399521
+ const baseUrl = process.env["OPENAI_BASE_URL"] || settings.merged.security?.auth?.baseUrl || "";
399522
+ const model = process.env["OPENAI_MODEL"] || settings.merged.model?.name || "";
399523
+ if (apiKey) {
399524
+ const settingsGenerationConfig = settings.merged.model?.generationConfig;
399525
+ config2.updateCredentials(
399526
+ {
399527
+ apiKey,
399528
+ baseUrl,
399529
+ model
399530
+ },
399531
+ settingsGenerationConfig
399532
+ );
399533
+ }
399534
+ await performAuth(authType, { apiKey, baseUrl, model });
399519
399535
  }
399520
399536
  return;
399521
399537
  }
@@ -412721,7 +412737,7 @@ var GeminiAgent = class {
412721
412737
  name: APPROVAL_MODE_INFO[mode].name,
412722
412738
  description: APPROVAL_MODE_INFO[mode].description
412723
412739
  }));
412724
- const version2 = "0.2.1-alpha.0";
412740
+ const version2 = "0.2.1-alpha.1";
412725
412741
  return {
412726
412742
  protocolVersion: PROTOCOL_VERSION,
412727
412743
  agentInfo: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdmind/rdmind",
3
- "version": "0.2.1-alpha.0",
3
+ "version": "0.2.1-alpha.1",
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.2.1-alpha.0"
23
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.2.1-alpha.1"
24
24
  },
25
25
  "publishConfig": {
26
26
  "access": "public"