@qwen-code/qwen-code 0.6.1-nightly.20260107.f6771c08 → 0.6.1-nightly.20260108.570ec432

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 +24 -7
  2. package/package.json +2 -2
package/cli.js CHANGED
@@ -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-nightly.20260107.f6771c08";
154432
+ const version2 = "0.6.1-nightly.20260108.570ec432";
154433
154433
  const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
154434
154434
  const baseHeaders = {
154435
154435
  "User-Agent": userAgent2
@@ -356323,7 +356323,7 @@ __name(getPackageJson, "getPackageJson");
356323
356323
  // packages/cli/src/utils/version.ts
356324
356324
  async function getCliVersion() {
356325
356325
  const pkgJson = await getPackageJson();
356326
- return "0.6.1-nightly.20260107.f6771c08";
356326
+ return "0.6.1-nightly.20260108.570ec432";
356327
356327
  }
356328
356328
  __name(getCliVersion, "getCliVersion");
356329
356329
 
@@ -364406,7 +364406,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
364406
364406
 
364407
364407
  // packages/cli/src/generated/git-commit.ts
364408
364408
  init_esbuild_shims();
364409
- var GIT_COMMIT_INFO2 = "c27e81ff";
364409
+ var GIT_COMMIT_INFO2 = "a142433c";
364410
364410
 
364411
364411
  // packages/cli/src/utils/systemInfo.ts
364412
364412
  async function getNpmVersion() {
@@ -365515,11 +365515,23 @@ var ideCommand = /* @__PURE__ */ __name(async () => {
365515
365515
  kind: "built-in" /* BUILT_IN */,
365516
365516
  action: /* @__PURE__ */ __name(async (context2) => {
365517
365517
  const installer = getIdeInstaller(currentIDE);
365518
+ const isSandBox = !!process.env["SANDBOX"];
365519
+ if (isSandBox) {
365520
+ context2.ui.addItem(
365521
+ {
365522
+ type: "info",
365523
+ text: `IDE integration needs to be installed on the host. If you have already installed it, you can directly connect the ide`
365524
+ },
365525
+ Date.now()
365526
+ );
365527
+ return;
365528
+ }
365518
365529
  if (!installer) {
365530
+ const ideName = ideClient.getDetectedIdeDisplayName();
365519
365531
  context2.ui.addItem(
365520
365532
  {
365521
365533
  type: "error",
365522
- text: `No installer is available for ${ideClient.getDetectedIdeDisplayName()}. Please install the '${QWEN_CODE_COMPANION_EXTENSION_NAME}' extension manually from the marketplace.`
365534
+ text: `Automatic installation is not supported for ${ideName}. Please install the '${QWEN_CODE_COMPANION_EXTENSION_NAME}' extension manually from the marketplace.`
365523
365535
  },
365524
365536
  Date.now()
365525
365537
  );
@@ -396320,6 +396332,7 @@ function IdeIntegrationNudge({
396320
396332
  { isActive: true }
396321
396333
  );
396322
396334
  const { displayName: ideName } = ide;
396335
+ const isInSandbox = !!process.env["SANDBOX"];
396323
396336
  const isExtensionPreInstalled = !!process.env["QWEN_CODE_IDE_SERVER_PORT"] && !!process.env["QWEN_CODE_IDE_WORKSPACE_PATH"];
396324
396337
  const OPTIONS = [
396325
396338
  {
@@ -396347,7 +396360,7 @@ function IdeIntegrationNudge({
396347
396360
  key: "No, don't ask again"
396348
396361
  }
396349
396362
  ];
396350
- const installText = isExtensionPreInstalled ? `If you select Yes, the CLI will have access to your open files and display diffs directly in ${ideName ?? "your editor"}.` : `If you select Yes, we'll install an extension that allows the CLI to access your open files and display diffs directly in ${ideName ?? "your editor"}.`;
396363
+ const installText = isInSandbox ? `Note: In sandbox environments, IDE integration requires manual setup on the host system. If you select Yes, you'll receive instructions on how to set this up.` : isExtensionPreInstalled ? `If you select Yes, the CLI will connect to your ${ideName ?? "editor"} and have access to your open files and display diffs directly.` : `If you select Yes, we'll install an extension that allows the CLI to access your open files and display diffs directly in ${ideName ?? "your editor"}.`;
396351
396364
  return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
396352
396365
  Box_default,
396353
396366
  {
@@ -411546,7 +411559,11 @@ ${queuedText}` : queuedText;
411546
411559
  const handleIdePromptComplete = (0, import_react133.useCallback)(
411547
411560
  (result) => {
411548
411561
  if (result.userSelection === "yes") {
411549
- handleSlashCommand2("/ide install");
411562
+ if (result.isExtensionPreInstalled) {
411563
+ handleSlashCommand2("/ide enable");
411564
+ } else {
411565
+ handleSlashCommand2("/ide install");
411566
+ }
411550
411567
  settings.setValue("User" /* User */, "ide.hasSeenNudge", true);
411551
411568
  } else if (result.userSelection === "dismiss") {
411552
411569
  settings.setValue("User" /* User */, "ide.hasSeenNudge", true);
@@ -415421,7 +415438,7 @@ var GeminiAgent = class {
415421
415438
  name: APPROVAL_MODE_INFO[mode].name,
415422
415439
  description: APPROVAL_MODE_INFO[mode].description
415423
415440
  }));
415424
- const version2 = "0.6.1-nightly.20260107.f6771c08";
415441
+ const version2 = "0.6.1-nightly.20260108.570ec432";
415425
415442
  return {
415426
415443
  protocolVersion: PROTOCOL_VERSION,
415427
415444
  agentInfo: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwen-code/qwen-code",
3
- "version": "0.6.1-nightly.20260107.f6771c08",
3
+ "version": "0.6.1-nightly.20260108.570ec432",
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-nightly.20260107.f6771c08"
23
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.6.1-nightly.20260108.570ec432"
24
24
  },
25
25
  "dependencies": {
26
26
  "tiktoken": "^1.0.21"