@rdmind/rdmind 0.2.2-alpha.3 → 0.2.2-alpha.4

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 +19 -7
  2. package/package.json +2 -2
package/cli.js CHANGED
@@ -157359,7 +157359,7 @@ __export(geminiContentGenerator_exports2, {
157359
157359
  createGeminiContentGenerator: () => createGeminiContentGenerator
157360
157360
  });
157361
157361
  function createGeminiContentGenerator(config2, gcConfig) {
157362
- const version2 = "0.2.2-alpha.3";
157362
+ const version2 = "0.2.2-alpha.4";
157363
157363
  const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
157364
157364
  const baseHeaders = {
157365
157365
  "User-Agent": userAgent2
@@ -254756,7 +254756,7 @@ var init_git_commit = __esm({
254756
254756
  "use strict";
254757
254757
  init_esbuild_shims();
254758
254758
  GIT_COMMIT_INFO = "ebe48cf8a";
254759
- CLI_VERSION = "0.2.2-alpha.3";
254759
+ CLI_VERSION = "0.2.2-alpha.4";
254760
254760
  }
254761
254761
  });
254762
254762
 
@@ -355440,7 +355440,7 @@ __name(getPackageJson, "getPackageJson");
355440
355440
  // packages/cli/src/utils/version.ts
355441
355441
  async function getCliVersion() {
355442
355442
  const pkgJson = await getPackageJson();
355443
- return "0.2.2-alpha.3";
355443
+ return "0.2.2-alpha.4";
355444
355444
  }
355445
355445
  __name(getCliVersion, "getCliVersion");
355446
355446
 
@@ -403188,6 +403188,7 @@ __name(ConfigRow, "ConfigRow");
403188
403188
  function ModelDialog({ onClose }) {
403189
403189
  const config2 = (0, import_react85.useContext)(ConfigContext);
403190
403190
  const uiState = (0, import_react85.useContext)(UIStateContext);
403191
+ const uiActions = useUIActions();
403191
403192
  const settings = (0, import_react85.useContext)(SettingsContext);
403192
403193
  const settingsHook = useSettings();
403193
403194
  const [errorMessage, setErrorMessage] = (0, import_react85.useState)(null);
@@ -403220,12 +403221,13 @@ function ModelDialog({ onClose }) {
403220
403221
  settings.setValue("User" /* User */, "model.name", model);
403221
403222
  await config2.refreshAuth("openai" /* USE_OPENAI */);
403222
403223
  await config2.setModel(model);
403224
+ uiActions.refreshStatic();
403223
403225
  const event = new ModelSlashCommandEvent(model);
403224
403226
  logModelSlashCommand(config2, event);
403225
403227
  }
403226
403228
  onClose();
403227
403229
  },
403228
- [config2, settings, onClose]
403230
+ [config2, settings, onClose, uiActions]
403229
403231
  );
403230
403232
  const handleXhsSsoConfigComplete = (0, import_react85.useCallback)(
403231
403233
  async (xhsSsoConfig) => {
@@ -403249,12 +403251,13 @@ function ModelDialog({ onClose }) {
403249
403251
  settings.setValue("User" /* User */, "model.name", xhsSsoConfig.model);
403250
403252
  await config2.refreshAuth("xhs-sso" /* XHS_SSO */);
403251
403253
  await config2.setModel(xhsSsoConfig.model);
403254
+ uiActions.refreshStatic();
403252
403255
  const event = new ModelSlashCommandEvent(xhsSsoConfig.model);
403253
403256
  logModelSlashCommand(config2, event);
403254
403257
  }
403255
403258
  onClose();
403256
403259
  },
403257
- [config2, settings, onClose]
403260
+ [config2, settings, onClose, uiActions]
403258
403261
  );
403259
403262
  if (authType === "openai" /* USE_OPENAI */) {
403260
403263
  return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(OpenAIKeyPrompt, { onSubmit: handleOpenAIConfigSubmit, onCancel: onClose });
@@ -403356,6 +403359,7 @@ ${baseErrorMessage}`
403356
403359
  const effectiveModelId = after?.model ?? modelId;
403357
403360
  persistModelSelection(settingsHook, effectiveModelId);
403358
403361
  persistAuthTypeSelection(settingsHook, effectiveAuthType);
403362
+ uiActions.refreshStatic();
403359
403363
  const baseUrl = after?.baseUrl ?? t4("(default)");
403360
403364
  const maskedKey = maskApiKey(after?.apiKey);
403361
403365
  uiState?.historyManager.addItem(
@@ -403371,7 +403375,15 @@ API key: ${maskedKey}`
403371
403375
  }
403372
403376
  onClose();
403373
403377
  },
403374
- [authType, config2, onClose, settingsHook, uiState, setErrorMessage]
403378
+ [
403379
+ authType,
403380
+ config2,
403381
+ onClose,
403382
+ settingsHook,
403383
+ uiState,
403384
+ setErrorMessage,
403385
+ uiActions
403386
+ ]
403375
403387
  );
403376
403388
  const hasModels = MODEL_OPTIONS.length > 0;
403377
403389
  return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
@@ -421522,7 +421534,7 @@ var GeminiAgent = class {
421522
421534
  name: APPROVAL_MODE_INFO[mode].name,
421523
421535
  description: APPROVAL_MODE_INFO[mode].description
421524
421536
  }));
421525
- const version2 = "0.2.2-alpha.3";
421537
+ const version2 = "0.2.2-alpha.4";
421526
421538
  return {
421527
421539
  protocolVersion: PROTOCOL_VERSION,
421528
421540
  agentInfo: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdmind/rdmind",
3
- "version": "0.2.2-alpha.3",
3
+ "version": "0.2.2-alpha.4",
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.2-alpha.3"
23
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.2.2-alpha.4"
24
24
  },
25
25
  "publishConfig": {
26
26
  "access": "public"