@qwen-code/qwen-code 0.4.0 → 0.4.1-nightly.20251211.a02c4b27
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.
- package/README.md +6 -0
- package/cli.js +18 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -88,6 +88,12 @@ npm install -g .
|
|
|
88
88
|
brew install qwen-code
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
+
## VS Code Extension
|
|
92
|
+
|
|
93
|
+
In addition to the CLI tool, Qwen Code also provides a **VS Code extension** that brings AI-powered coding assistance directly into your editor with features like file system operations, native diffing, interactive chat, and more.
|
|
94
|
+
|
|
95
|
+
> 📦 The extension is currently in development. For installation, features, and development guide, see the [VS Code Extension README](./packages/vscode-ide-companion/README.md).
|
|
96
|
+
|
|
91
97
|
## Quick Start
|
|
92
98
|
|
|
93
99
|
```bash
|
package/cli.js
CHANGED
|
@@ -145729,7 +145729,7 @@ function createContentGeneratorConfig(config, authType, generationConfig) {
|
|
|
145729
145729
|
};
|
|
145730
145730
|
}
|
|
145731
145731
|
async function createContentGenerator(config, gcConfig, isInitialAuth) {
|
|
145732
|
-
const version2 = "0.4.
|
|
145732
|
+
const version2 = "0.4.1-nightly.20251211.a02c4b27";
|
|
145733
145733
|
const userAgent2 = `QwenCode/${version2} (${process.platform}; ${process.arch})`;
|
|
145734
145734
|
const baseHeaders = {
|
|
145735
145735
|
"User-Agent": userAgent2
|
|
@@ -156647,6 +156647,12 @@ function getCachedEncodingForBuffer(buffer) {
|
|
|
156647
156647
|
cachedSystemEncoding = getSystemEncoding();
|
|
156648
156648
|
}
|
|
156649
156649
|
if (cachedSystemEncoding) {
|
|
156650
|
+
if (cachedSystemEncoding !== "utf-8") {
|
|
156651
|
+
const detected = detectEncodingFromBuffer(buffer);
|
|
156652
|
+
if (detected === "utf-8") {
|
|
156653
|
+
return "utf-8";
|
|
156654
|
+
}
|
|
156655
|
+
}
|
|
156650
156656
|
return cachedSystemEncoding;
|
|
156651
156657
|
}
|
|
156652
156658
|
return detectEncodingFromBuffer(buffer) || "utf-8";
|
|
@@ -309141,7 +309147,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
309141
309147
|
// packages/cli/src/utils/version.ts
|
|
309142
309148
|
async function getCliVersion() {
|
|
309143
309149
|
const pkgJson = await getPackageJson();
|
|
309144
|
-
return "0.4.
|
|
309150
|
+
return "0.4.1-nightly.20251211.a02c4b27";
|
|
309145
309151
|
}
|
|
309146
309152
|
__name(getCliVersion, "getCliVersion");
|
|
309147
309153
|
|
|
@@ -313207,7 +313213,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
|
|
|
313207
313213
|
|
|
313208
313214
|
// packages/cli/src/generated/git-commit.ts
|
|
313209
313215
|
init_esbuild_shims();
|
|
313210
|
-
var GIT_COMMIT_INFO2 = "
|
|
313216
|
+
var GIT_COMMIT_INFO2 = "e4ee3397";
|
|
313211
313217
|
|
|
313212
313218
|
// packages/cli/src/utils/systemInfo.ts
|
|
313213
313219
|
async function getNpmVersion() {
|
|
@@ -350699,12 +350705,17 @@ var InputPrompt = /* @__PURE__ */ __name(({
|
|
|
350699
350705
|
statusColor = theme.status.warning;
|
|
350700
350706
|
statusText = t2("Accepting edits");
|
|
350701
350707
|
}
|
|
350708
|
+
const borderColor = isShellFocused && !isEmbeddedShellFocused ? statusColor ?? theme.border.focused : theme.border.default;
|
|
350702
350709
|
return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_jsx_runtime94.Fragment, { children: [
|
|
350703
350710
|
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
|
|
350704
350711
|
Box_default,
|
|
350705
350712
|
{
|
|
350706
|
-
borderStyle: "
|
|
350707
|
-
|
|
350713
|
+
borderStyle: "single",
|
|
350714
|
+
borderTop: true,
|
|
350715
|
+
borderBottom: true,
|
|
350716
|
+
borderLeft: false,
|
|
350717
|
+
borderRight: false,
|
|
350718
|
+
borderColor,
|
|
350708
350719
|
paddingX: 1,
|
|
350709
350720
|
children: [
|
|
350710
350721
|
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
|
|
@@ -350783,7 +350794,7 @@ var InputPrompt = /* @__PURE__ */ __name(({
|
|
|
350783
350794
|
});
|
|
350784
350795
|
if (isOnCursorLine && cursorVisualColAbsolute === cpLen(lineText)) {
|
|
350785
350796
|
renderedLine.push(
|
|
350786
|
-
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Text3, { children: showCursor ? import_chalk7.default.inverse(" ") : " " }, `cursor-end-${cursorVisualColAbsolute}`)
|
|
350797
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Text3, { children: showCursor ? import_chalk7.default.inverse(" ") + "\u200B" : " \u200B" }, `cursor-end-${cursorVisualColAbsolute}`)
|
|
350787
350798
|
);
|
|
350788
350799
|
}
|
|
350789
350800
|
return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Box_default, { height: 1, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Text3, { children: renderedLine }) }, `line-${visualIdxInRenderedSet}`);
|
|
@@ -363593,7 +363604,7 @@ var GeminiAgent = class {
|
|
|
363593
363604
|
name: APPROVAL_MODE_INFO[mode].name,
|
|
363594
363605
|
description: APPROVAL_MODE_INFO[mode].description
|
|
363595
363606
|
}));
|
|
363596
|
-
const version2 = "0.4.
|
|
363607
|
+
const version2 = "0.4.1-nightly.20251211.a02c4b27";
|
|
363597
363608
|
return {
|
|
363598
363609
|
protocolVersion: PROTOCOL_VERSION,
|
|
363599
363610
|
agentInfo: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qwen-code/qwen-code",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1-nightly.20251211.a02c4b27",
|
|
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.4.
|
|
23
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.4.1-nightly.20251211.a02c4b27"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"tiktoken": "^1.0.21"
|