@qwen-code/qwen-code 0.6.1 → 0.6.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 -6
  2. package/package.json +2 -2
package/cli.js CHANGED
@@ -131369,7 +131369,7 @@ var init_converter = __esm({
131369
131369
  const response = new GenerateContentResponse();
131370
131370
  if (choice2) {
131371
131371
  const parts = [];
131372
- const reasoningText = choice2.delta.reasoning_content;
131372
+ const reasoningText = choice2.delta?.reasoning_content;
131373
131373
  if (reasoningText) {
131374
131374
  parts.push({ text: reasoningText, thought: true });
131375
131375
  }
@@ -154429,7 +154429,7 @@ __export(geminiContentGenerator_exports, {
154429
154429
  createGeminiContentGenerator: () => createGeminiContentGenerator
154430
154430
  });
154431
154431
  function createGeminiContentGenerator(config2, gcConfig) {
154432
- const version2 = "0.6.1";
154432
+ const version2 = "0.6.2";
154433
154433
  const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
154434
154434
  const baseHeaders = {
154435
154435
  "User-Agent": userAgent2
@@ -169387,7 +169387,8 @@ var init_shellExecutionService = __esm({
169387
169387
  stdio: ["ignore", "pipe", "pipe"],
169388
169388
  windowsVerbatimArguments: true,
169389
169389
  shell: isWindows8 ? true : "bash",
169390
- detached: true,
169390
+ detached: !isWindows8,
169391
+ windowsHide: isWindows8,
169391
169392
  env: {
169392
169393
  ...process.env,
169393
169394
  QWEN_CODE: "1",
@@ -356323,7 +356324,7 @@ __name(getPackageJson, "getPackageJson");
356323
356324
  // packages/cli/src/utils/version.ts
356324
356325
  async function getCliVersion() {
356325
356326
  const pkgJson = await getPackageJson();
356326
- return "0.6.1";
356327
+ return "0.6.2";
356327
356328
  }
356328
356329
  __name(getCliVersion, "getCliVersion");
356329
356330
 
@@ -364406,7 +364407,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
364406
364407
 
364407
364408
  // packages/cli/src/generated/git-commit.ts
364408
364409
  init_esbuild_shims();
364409
- var GIT_COMMIT_INFO2 = "570ec432";
364410
+ var GIT_COMMIT_INFO2 = "40959d6c";
364410
364411
 
364411
364412
  // packages/cli/src/utils/systemInfo.ts
364412
364413
  async function getNpmVersion() {
@@ -415438,7 +415439,7 @@ var GeminiAgent = class {
415438
415439
  name: APPROVAL_MODE_INFO[mode].name,
415439
415440
  description: APPROVAL_MODE_INFO[mode].description
415440
415441
  }));
415441
- const version2 = "0.6.1";
415442
+ const version2 = "0.6.2";
415442
415443
  return {
415443
415444
  protocolVersion: PROTOCOL_VERSION,
415444
415445
  agentInfo: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwen-code/qwen-code",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Qwen Code - AI-powered coding assistant",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,7 +20,7 @@
20
20
  "locales"
21
21
  ],
22
22
  "config": {
23
- "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.6.1"
23
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.6.2"
24
24
  },
25
25
  "dependencies": {
26
26
  "tiktoken": "^1.0.21"