@rdmind/rdmind 0.1.3-alpha.0 → 0.1.3-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.
package/cli.js CHANGED
@@ -160739,7 +160739,7 @@ function createContentGeneratorConfig(config2, authType, generationConfig) {
160739
160739
  };
160740
160740
  }
160741
160741
  async function createContentGenerator(config2, gcConfig, isInitialAuth) {
160742
- const version3 = "0.1.3-alpha.0";
160742
+ const version3 = "0.1.3-alpha.2";
160743
160743
  const userAgent2 = `QwenCode/${version3} (${process.platform}; ${process.arch})`;
160744
160744
  const baseHeaders = {
160745
160745
  "User-Agent": userAgent2
@@ -162770,12 +162770,14 @@ This error was probably caused by cyclic schema references in one of the followi
162770
162770
  }
162771
162771
  const responseText = consolidatedHistoryParts.filter((part) => part.text).map((part) => part.text).join("").trim();
162772
162772
  if (responseText || hasToolCall || usageMetadata) {
162773
+ const messageParts = [
162774
+ ...responseText ? [{ text: responseText }] : [],
162775
+ ...hasToolCall ? historyParts.filter((part) => part.functionCall).map((part) => ({ functionCall: part.functionCall })) : []
162776
+ ];
162773
162777
  this.chatRecordingService?.recordAssistantTurn({
162774
162778
  model,
162775
- message: [
162776
- ...responseText ? [{ text: responseText }] : [],
162777
- ...hasToolCall ? historyParts.filter((part) => part.functionCall).map((part) => ({ functionCall: part.functionCall })) : []
162778
- ],
162779
+ // Only include message if there are actual parts to avoid empty array error
162780
+ ...messageParts.length > 0 ? { message: messageParts } : {},
162779
162781
  tokens: usageMetadata
162780
162782
  });
162781
162783
  }
@@ -235606,8 +235608,8 @@ var init_git_commit = __esm({
235606
235608
  "packages/core/src/generated/git-commit.ts"() {
235607
235609
  "use strict";
235608
235610
  init_esbuild_shims();
235609
- GIT_COMMIT_INFO = "eec23950";
235610
- CLI_VERSION = "0.1.3-alpha.0";
235611
+ GIT_COMMIT_INFO = "88408513";
235612
+ CLI_VERSION = "0.1.3-alpha.2";
235611
235613
  }
235612
235614
  });
235613
235615
 
@@ -306610,6 +306612,7 @@ var init_en3 = __esm({
306610
306612
  'Theme "{{themeName}}" not found.': 'Theme "{{themeName}}" not found.',
306611
306613
  'Theme "{{themeName}}" not found in selected scope.': 'Theme "{{themeName}}" not found in selected scope.',
306612
306614
  "clear the screen and conversation history": "clear the screen and conversation history",
306615
+ "Clear conversation history and free up context": "Clear conversation history and free up context",
306613
306616
  "Compresses the context by replacing it with a summary.": "Compresses the context by replacing it with a summary.",
306614
306617
  "open full RDMind documentation in your browser": "open full RDMind documentation in your browser",
306615
306618
  "Configuration not available.": "Configuration not available.",
@@ -307468,6 +307471,7 @@ var init_zh = __esm({
307468
307471
  'Theme "{{themeName}}" not found.': '\u672A\u627E\u5230\u4E3B\u9898 "{{themeName}}"\u3002',
307469
307472
  'Theme "{{themeName}}" not found in selected scope.': '\u5728\u6240\u9009\u4F5C\u7528\u57DF\u4E2D\u672A\u627E\u5230\u4E3B\u9898 "{{themeName}}"\u3002',
307470
307473
  "clear the screen and conversation history": "\u6E05\u5C4F\u5E76\u6E05\u9664\u5BF9\u8BDD\u5386\u53F2",
307474
+ "Clear conversation history and free up context": "\u6E05\u9664\u5BF9\u8BDD\u5386\u53F2\u5E76\u91CA\u653E\u4E0A\u4E0B\u6587",
307471
307475
  "Compresses the context by replacing it with a summary.": "\u901A\u8FC7\u7528\u6458\u8981\u66FF\u6362\u6765\u538B\u7F29\u4E0A\u4E0B\u6587",
307472
307476
  "open full RDMind documentation in your browser": "\u5728\u6D4F\u89C8\u5668\u4E2D\u6253\u5F00\u5B8C\u6574\u7684 RDMind \u6587\u6863",
307473
307477
  "Configuration not available.": "\u914D\u7F6E\u4E0D\u53EF\u7528",
@@ -346091,7 +346095,7 @@ __name(getPackageJson, "getPackageJson");
346091
346095
  // packages/cli/src/utils/version.ts
346092
346096
  async function getCliVersion() {
346093
346097
  const pkgJson = await getPackageJson();
346094
- return "0.1.3-alpha.0";
346098
+ return "0.1.3-alpha.2";
346095
346099
  }
346096
346100
  __name(getCliVersion, "getCliVersion");
346097
346101
 
@@ -352434,7 +352438,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
352434
352438
 
352435
352439
  // packages/cli/src/generated/git-commit.ts
352436
352440
  init_esbuild_shims();
352437
- var GIT_COMMIT_INFO2 = "eec23950";
352441
+ var GIT_COMMIT_INFO2 = "88408513";
352438
352442
 
352439
352443
  // packages/cli/src/utils/systemInfo.ts
352440
352444
  async function getNpmVersion() {
@@ -407443,7 +407447,7 @@ var GeminiAgent = class {
407443
407447
  name: APPROVAL_MODE_INFO[mode].name,
407444
407448
  description: APPROVAL_MODE_INFO[mode].description
407445
407449
  }));
407446
- const version3 = "0.1.3-alpha.0";
407450
+ const version3 = "0.1.3-alpha.2";
407447
407451
  return {
407448
407452
  protocolVersion: PROTOCOL_VERSION,
407449
407453
  agentInfo: {
package/locales/en.js CHANGED
@@ -104,6 +104,8 @@ export default {
104
104
  'Theme "{{themeName}}" not found in selected scope.',
105
105
  'clear the screen and conversation history':
106
106
  'clear the screen and conversation history',
107
+ 'Clear conversation history and free up context':
108
+ 'Clear conversation history and free up context',
107
109
  'Compresses the context by replacing it with a summary.':
108
110
  'Compresses the context by replacing it with a summary.',
109
111
  'open full RDMind documentation in your browser':
package/locales/zh.js CHANGED
@@ -102,6 +102,7 @@ export default {
102
102
  'Theme "{{themeName}}" not found in selected scope.':
103
103
  '在所选作用域中未找到主题 "{{themeName}}"。',
104
104
  'clear the screen and conversation history': '清屏并清除对话历史',
105
+ 'Clear conversation history and free up context': '清除对话历史并释放上下文',
105
106
  'Compresses the context by replacing it with a summary.':
106
107
  '通过用摘要替换来压缩上下文',
107
108
  'open full RDMind documentation in your browser':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdmind/rdmind",
3
- "version": "0.1.3-alpha.0",
3
+ "version": "0.1.3-alpha.2",
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.3-alpha.0"
23
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.1.3-alpha.2"
24
24
  },
25
25
  "publishConfig": {
26
26
  "access": "public"