@rdmind/rdmind 0.2.4-alpha.1 → 0.2.4-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.
Files changed (3) hide show
  1. package/cli.js +13 -7
  2. package/locales/en.js +2 -2
  3. package/package.json +2 -2
package/cli.js CHANGED
@@ -158918,7 +158918,7 @@ __export(geminiContentGenerator_exports2, {
158918
158918
  createGeminiContentGenerator: () => createGeminiContentGenerator
158919
158919
  });
158920
158920
  function createGeminiContentGenerator(config2, gcConfig) {
158921
- const version2 = "0.2.4-alpha.1";
158921
+ const version2 = "0.2.4-alpha.2";
158922
158922
  const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
158923
158923
  const baseHeaders = {
158924
158924
  "User-Agent": userAgent2
@@ -308179,7 +308179,7 @@ var init_en3 = __esm({
308179
308179
  "This extension will install the following skills:": "This extension will install the following skills:",
308180
308180
  "This extension will install the following subagents:": "This extension will install the following subagents:",
308181
308181
  'Installation cancelled for "{{name}}".': 'Installation cancelled for "{{name}}".',
308182
- "You are installing an extension from {{originSource}}. Some features may not work perfectly with Qwen Code.": "You are installing an extension from {{originSource}}. Some features may not work perfectly with Qwen Code.",
308182
+ "You are installing an extension from {{originSource}}. Some features may not work perfectly with RDMind.": "You are installing an extension from {{originSource}}. Some features may not work perfectly with RDMind.",
308183
308183
  "--ref and --auto-update are not applicable for marketplace extensions.": "--ref and --auto-update are not applicable for marketplace extensions.",
308184
308184
  'Extension "{{name}}" installed successfully and enabled.': 'Extension "{{name}}" installed successfully and enabled.',
308185
308185
  "Installs an extension from a git repository URL, local path, or claude marketplace (marketplace-url:plugin-name).": "Installs an extension from a git repository URL, local path, or claude marketplace (marketplace-url:plugin-name).",
@@ -352809,7 +352809,7 @@ function extensionConsentString(extensionConfig, commands = [], skills = [], sub
352809
352809
  if (originSource !== "QwenCode") {
352810
352810
  output.push(
352811
352811
  t4(
352812
- "You are installing an extension from {{originSource}}. Some features may not work perfectly with Qwen Code.",
352812
+ "You are installing an extension from {{originSource}}. Some features may not work perfectly with RDMind.",
352813
352813
  { originSource }
352814
352814
  )
352815
352815
  );
@@ -359100,7 +359100,7 @@ __name(getPackageJson, "getPackageJson");
359100
359100
  // packages/cli/src/utils/version.ts
359101
359101
  async function getCliVersion() {
359102
359102
  const pkgJson = await getPackageJson();
359103
- return "0.2.4-alpha.1";
359103
+ return "0.2.4-alpha.2";
359104
359104
  }
359105
359105
  __name(getCliVersion, "getCliVersion");
359106
359106
 
@@ -423018,6 +423018,13 @@ function buildAuthMethods() {
423018
423018
  description: "OAuth authentication for Qwen models with free daily requests",
423019
423019
  type: "terminal",
423020
423020
  args: ["--auth-type=qwen-oauth"]
423021
+ },
423022
+ {
423023
+ id: "xhs-sso" /* XHS_SSO */,
423024
+ name: "XHS SSO",
423025
+ description: "Authentication via Xiaohongshu SSO",
423026
+ type: "terminal",
423027
+ args: ["--auth-type=xhs-sso"]
423021
423028
  }
423022
423029
  ];
423023
423030
  }
@@ -424478,7 +424485,7 @@ var GeminiAgent = class {
424478
424485
  name: APPROVAL_MODE_INFO[mode].name,
424479
424486
  description: APPROVAL_MODE_INFO[mode].description
424480
424487
  }));
424481
- const version2 = "0.2.4-alpha.1";
424488
+ const version2 = "0.2.4-alpha.2";
424482
424489
  return {
424483
424490
  protocolVersion: PROTOCOL_VERSION,
424484
424491
  agentInfo: {
@@ -424721,13 +424728,12 @@ var GeminiAgent = class {
424721
424728
  buildAvailableModels(config2) {
424722
424729
  const rawCurrentModelId = (config2.getModel() || this.config.getModel() || "").trim();
424723
424730
  const currentAuthType = config2.getAuthType();
424724
- const allConfiguredModels = config2.getAllConfiguredModels();
424731
+ const availableModels = currentAuthType ? config2.getAllConfiguredModels([currentAuthType]) : config2.getAllConfiguredModels();
424725
424732
  const activeRuntimeSnapshot = config2.getActiveRuntimeModelSnapshot?.();
424726
424733
  const currentModelId = activeRuntimeSnapshot ? formatAcpModelId(
424727
424734
  activeRuntimeSnapshot.id,
424728
424735
  activeRuntimeSnapshot.authType
424729
424736
  ) : this.formatCurrentModelId(rawCurrentModelId, currentAuthType);
424730
- const availableModels = allConfiguredModels;
424731
424737
  const mappedAvailableModels = availableModels.map((model) => {
424732
424738
  const effectiveModelId = model.isRuntimeModel && model.runtimeSnapshotId ? model.runtimeSnapshotId : model.id;
424733
424739
  return {
package/locales/en.js CHANGED
@@ -446,8 +446,8 @@ export default {
446
446
  'This extension will install the following subagents:',
447
447
  'Installation cancelled for "{{name}}".':
448
448
  'Installation cancelled for "{{name}}".',
449
- 'You are installing an extension from {{originSource}}. Some features may not work perfectly with Qwen Code.':
450
- 'You are installing an extension from {{originSource}}. Some features may not work perfectly with Qwen Code.',
449
+ 'You are installing an extension from {{originSource}}. Some features may not work perfectly with RDMind.':
450
+ 'You are installing an extension from {{originSource}}. Some features may not work perfectly with RDMind.',
451
451
  '--ref and --auto-update are not applicable for marketplace extensions.':
452
452
  '--ref and --auto-update are not applicable for marketplace extensions.',
453
453
  'Extension "{{name}}" installed successfully and enabled.':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdmind/rdmind",
3
- "version": "0.2.4-alpha.1",
3
+ "version": "0.2.4-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.4-alpha.1"
22
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.2.4-alpha.2"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public"