@rdmind/rdmind 0.1.3-alpha.0 → 0.1.3-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 +12 -10
  2. package/package.json +2 -2
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.1";
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.1";
235611
235613
  }
235612
235614
  });
235613
235615
 
@@ -346091,7 +346093,7 @@ __name(getPackageJson, "getPackageJson");
346091
346093
  // packages/cli/src/utils/version.ts
346092
346094
  async function getCliVersion() {
346093
346095
  const pkgJson = await getPackageJson();
346094
- return "0.1.3-alpha.0";
346096
+ return "0.1.3-alpha.1";
346095
346097
  }
346096
346098
  __name(getCliVersion, "getCliVersion");
346097
346099
 
@@ -352434,7 +352436,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
352434
352436
 
352435
352437
  // packages/cli/src/generated/git-commit.ts
352436
352438
  init_esbuild_shims();
352437
- var GIT_COMMIT_INFO2 = "eec23950";
352439
+ var GIT_COMMIT_INFO2 = "88408513";
352438
352440
 
352439
352441
  // packages/cli/src/utils/systemInfo.ts
352440
352442
  async function getNpmVersion() {
@@ -407443,7 +407445,7 @@ var GeminiAgent = class {
407443
407445
  name: APPROVAL_MODE_INFO[mode].name,
407444
407446
  description: APPROVAL_MODE_INFO[mode].description
407445
407447
  }));
407446
- const version3 = "0.1.3-alpha.0";
407448
+ const version3 = "0.1.3-alpha.1";
407447
407449
  return {
407448
407450
  protocolVersion: PROTOCOL_VERSION,
407449
407451
  agentInfo: {
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.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.1.3-alpha.0"
23
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.1.3-alpha.1"
24
24
  },
25
25
  "publishConfig": {
26
26
  "access": "public"