@qwen-code/qwen-code 0.15.7-preview.1 → 0.15.7-preview.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.
@@ -109,7 +109,10 @@ Settings are organized into categories. Most settings should be placed within th
109
109
  | `ui.statusLine` | object | Custom status line configuration. A shell command whose output is shown in the footer's left section. See [Status Line](../features/status-line). | `undefined` |
110
110
  | `ui.hideWindowTitle` | boolean | Hide the window title bar. | `false` |
111
111
  | `ui.hideTips` | boolean | Hide all tips (startup and post-response) in the UI. See [Contextual Tips](../features/tips). | `false` |
112
- | `ui.hideBanner` | boolean | Hide the application banner. | `false` |
112
+ | `ui.hideBanner` | boolean | Hide the startup ASCII logo and info panel. Tips and chat input still render unless `ui.hideTips` is also set. | `false` |
113
+ | `ui.customBannerTitle` | string | Replace the default `>_ Qwen Code` title in the banner info panel. The `(vX.Y.Z)` version suffix is always appended; auth, model, and path lines are not affected. Sanitized; capped at 80 characters. | `""` |
114
+ | `ui.customBannerSubtitle` | string | Optional subtitle line rendered between the banner title and the auth/model line, in place of the blank spacer row. Sanitized; capped at 160 characters. Empty (default) keeps the original blank spacer. | `""` |
115
+ | `ui.customAsciiArt` | string \| object | Replace the QWEN ASCII logo in the banner. Accepts an inline string (used for both width tiers), `{ "path": "./brand.txt" }` (relative paths resolve against the owning settings file's directory; read once at startup with `O_NOFOLLOW` on POSIX, capped at 64 KB), or `{ "small": ..., "large": ... }` for width-aware selection. Sanitized; capped at 200 lines × 200 columns per tier. | `undefined` |
113
116
  | `ui.hideFooter` | boolean | Hide the footer from the UI. | `false` |
114
117
  | `ui.showMemoryUsage` | boolean | Display memory usage information in the UI. | `false` |
115
118
  | `ui.showLineNumbers` | boolean | Show line numbers in code blocks in the CLI output. | `true` |
package/cli.js CHANGED
@@ -173087,7 +173087,7 @@ __export(geminiContentGenerator_exports, {
173087
173087
  createGeminiContentGenerator: () => createGeminiContentGenerator
173088
173088
  });
173089
173089
  function createGeminiContentGenerator(config2, gcConfig) {
173090
- const version2 = "0.15.7-preview.1";
173090
+ const version2 = "0.15.7-preview.2";
173091
173091
  const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
173092
173092
  const baseHeaders = {
173093
173093
  "User-Agent": userAgent2
@@ -191726,10 +191726,12 @@ import { spawn as cpSpawn, spawnSync as spawnSync2 } from "node:child_process";
191726
191726
  import { TextDecoder as TextDecoder2 } from "node:util";
191727
191727
  import os17 from "node:os";
191728
191728
  function getShellAbortReasonKind(reason) {
191729
- if (reason !== null && typeof reason === "object" && Object.prototype.hasOwnProperty.call(reason, "kind")) {
191729
+ if (reason !== null && typeof reason === "object") {
191730
191730
  try {
191731
- const kind2 = reason.kind;
191732
- if (kind2 === "background" || kind2 === "cancel") return kind2;
191731
+ if (Object.prototype.hasOwnProperty.call(reason, "kind")) {
191732
+ const kind2 = reason.kind;
191733
+ if (kind2 === "background" || kind2 === "cancel") return kind2;
191734
+ }
191733
191735
  } catch {
191734
191736
  }
191735
191737
  }
@@ -233784,10 +233786,18 @@ If asked, you can check progress before completion by using ${ToolNames.READ_FIL
233784
233786
  };
233785
233787
  }
233786
233788
  if (isFork) {
233787
- const runFramedFork = /* @__PURE__ */ __name(() => runWithAgentContext(
233788
- { agentId: hookOpts.agentId },
233789
- () => this.runSubagentWithHooks(subagent, contextState, hookOpts)
233790
- ), "runFramedFork");
233789
+ const runFramedFork = /* @__PURE__ */ __name(() => runWithAgentContext({ agentId: hookOpts.agentId }, async () => {
233790
+ try {
233791
+ await this.runSubagentWithHooks(
233792
+ subagent,
233793
+ contextState,
233794
+ hookOpts
233795
+ );
233796
+ } finally {
233797
+ void agentConfig.getToolRegistry().stop().catch(() => {
233798
+ });
233799
+ }
233800
+ }), "runFramedFork");
233791
233801
  void runInForkContext(runFramedFork);
233792
233802
  return {
233793
233803
  llmContent: [{ text: FORK_PLACEHOLDER_RESULT }],
@@ -476034,7 +476044,7 @@ __name(getPackageJson, "getPackageJson");
476034
476044
  // packages/cli/src/utils/version.ts
476035
476045
  async function getCliVersion() {
476036
476046
  const pkgJson = await getPackageJson();
476037
- return "0.15.7-preview.1";
476047
+ return "0.15.7-preview.2";
476038
476048
  }
476039
476049
  __name(getCliVersion, "getCliVersion");
476040
476050
 
@@ -486402,7 +486412,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds, options2) => {
486402
486412
 
486403
486413
  // packages/cli/src/generated/git-commit.ts
486404
486414
  init_esbuild_shims();
486405
- var GIT_COMMIT_INFO = "9877647e9";
486415
+ var GIT_COMMIT_INFO = "e1100f07b";
486406
486416
 
486407
486417
  // packages/cli/src/utils/systemInfo.ts
486408
486418
  async function getNpmVersion() {
@@ -562662,7 +562672,7 @@ var QwenAgent = class {
562662
562672
  async initialize(args2) {
562663
562673
  this.clientCapabilities = args2.clientCapabilities;
562664
562674
  const authMethods = buildAuthMethods();
562665
- const version2 = "0.15.7-preview.1";
562675
+ const version2 = "0.15.7-preview.2";
562666
562676
  return {
562667
562677
  protocolVersion: PROTOCOL_VERSION,
562668
562678
  agentInfo: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwen-code/qwen-code",
3
- "version": "0.15.7-preview.1",
3
+ "version": "0.15.7-preview.2",
4
4
  "description": "Qwen Code - AI-powered coding assistant",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,7 +21,7 @@
21
21
  "bundled"
22
22
  ],
23
23
  "config": {
24
- "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.15.7-preview.1"
24
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.15.7-preview.2"
25
25
  },
26
26
  "dependencies": {},
27
27
  "optionalDependencies": {