@rdmind/rdmind 0.0.26 → 0.0.27-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 (2) hide show
  1. package/cli.js +7 -5
  2. package/package.json +2 -2
package/cli.js CHANGED
@@ -181693,7 +181693,8 @@ var init_converter2 = __esm({
181693
181693
  const promptTokens = usage2.prompt_tokens || 0;
181694
181694
  const completionTokens = usage2.completion_tokens || 0;
181695
181695
  const totalTokens = usage2.total_tokens || 0;
181696
- const cachedTokens = usage2.prompt_tokens_details?.cached_tokens || 0;
181696
+ const extendedUsage = usage2;
181697
+ const cachedTokens = usage2.prompt_tokens_details?.cached_tokens ?? extendedUsage.cached_tokens ?? 0;
181697
181698
  let finalPromptTokens = promptTokens;
181698
181699
  let finalCompletionTokens = completionTokens;
181699
181700
  if (totalTokens > 0 && promptTokens === 0 && completionTokens === 0) {
@@ -181784,7 +181785,8 @@ var init_converter2 = __esm({
181784
181785
  const promptTokens = usage2.prompt_tokens || 0;
181785
181786
  const completionTokens = usage2.completion_tokens || 0;
181786
181787
  const totalTokens = usage2.total_tokens || 0;
181787
- const cachedTokens = usage2.prompt_tokens_details?.cached_tokens || 0;
181788
+ const extendedUsage = usage2;
181789
+ const cachedTokens = usage2.prompt_tokens_details?.cached_tokens ?? extendedUsage.cached_tokens ?? 0;
181788
181790
  let finalPromptTokens = promptTokens;
181789
181791
  let finalCompletionTokens = completionTokens;
181790
181792
  if (totalTokens > 0 && promptTokens === 0 && completionTokens === 0) {
@@ -183754,7 +183756,7 @@ function createContentGeneratorConfig(config, authType, generationConfig) {
183754
183756
  };
183755
183757
  }
183756
183758
  async function createContentGenerator(config, gcConfig, sessionId2) {
183757
- const version2 = "0.0.26";
183759
+ const version2 = "0.0.27-alpha.2";
183758
183760
  const userAgent2 = `QwenCode/${version2} (${process.platform}; ${process.arch})`;
183759
183761
  const baseHeaders = {
183760
183762
  "User-Agent": userAgent2
@@ -342962,7 +342964,7 @@ __name(getPackageJson, "getPackageJson");
342962
342964
  // packages/cli/src/utils/version.ts
342963
342965
  async function getCliVersion() {
342964
342966
  const pkgJson = await getPackageJson();
342965
- return "0.0.26";
342967
+ return "0.0.27-alpha.2";
342966
342968
  }
342967
342969
  __name(getCliVersion, "getCliVersion");
342968
342970
 
@@ -344995,7 +344997,7 @@ init_core2();
344995
344997
 
344996
344998
  // packages/cli/src/generated/git-commit.ts
344997
344999
  init_esbuild_shims();
344998
- var GIT_COMMIT_INFO2 = "f5a2ea25";
345000
+ var GIT_COMMIT_INFO2 = "7bd57fb8";
344999
345001
 
345000
345002
  // packages/cli/src/utils/systemInfo.ts
345001
345003
  async function getNpmVersion() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdmind/rdmind",
3
- "version": "0.0.26",
3
+ "version": "0.0.27-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
  "LICENSE"
20
20
  ],
21
21
  "config": {
22
- "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.0.26"
22
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.0.27-alpha.2"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public"