Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / qwen-code
Commits:
d04b70cb by Felix Yan at 2026-06-17T14:25:11+00:00
upgpkg: 0.18.0-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = qwen-code
pkgdesc = Open-source AI agent for the terminal, optimized for
Qwen-Coder
- pkgver = 0.17.1
+ pkgver = 0.18.0
pkgrel = 1
url = https://github.com/QwenLM/qwen-code
arch = x86_64
@@ -14,8 +14,8 @@ pkgbase = qwen-code
depends = nodejs
depends = ripgrep
optdepends = npm: optional computer-use tools via npx
- source = git+https://github.com/QwenLM/qwen-code.git#tag=v0.17.1
- sha256sums =
7e48eb2fd78398e738a9cd3baffffc8d040a7c8dcee8282cdb321c1b00e36a0f
- b2sums =
1032f007af2ce773634f724fb539154a78d73d13b7a10daaa64522c8b52b6199aef2a39ea5a8fcf775011c96a6c3a1e314cd9d15055b54fddfefea59bf123509
+ source = git+https://github.com/QwenLM/qwen-code.git#tag=v0.18.0
+ sha256sums =
ac4dd991839828d77bcc542beb318c01bc2aa0e6d30549930420604ae7d74d9b
+ b2sums =
f69a6b506ddb7a2d1bbbeb66ea6258dbad0ecfdeb8f1b2049151e47ca5e13946643c7da4755fc8412091c0294054013780840e2f1c4c1e0eadcbb2941e18647a
pkgname = qwen-code
=====================================
PKGBUILD
=====================================
@@ -5,7 +5,7 @@
# shellcheck shell=bash disable=SC2034,SC2154
pkgname=qwen-code
-pkgver=0.17.1
+pkgver=0.18.0
pkgrel=1
pkgdesc='Open-source AI agent for the terminal, optimized for Qwen-Coder'
url='https://github.com/QwenLM/qwen-code'
@@ -27,20 +27,19 @@ optdepends=(
'npm: optional computer-use tools via npx'
)
source=("git+https://github.com/QwenLM/qwen-code.git#tag=v${pkgver}")
-sha256sums=('7e48eb2fd78398e738a9cd3baffffc8d040a7c8dcee8282cdb321c1b00e36a0f')
-b2sums=('1032f007af2ce773634f724fb539154a78d73d13b7a10daaa64522c8b52b6199aef2a39ea5a8fcf775011c96a6c3a1e314cd9d15055b54fddfefea59bf123509')
+sha256sums=('ac4dd991839828d77bcc542beb318c01bc2aa0e6d30549930420604ae7d74d9b')
+b2sums=('f69a6b506ddb7a2d1bbbeb66ea6258dbad0ecfdeb8f1b2049151e47ca5e13946643c7da4755fc8412091c0294054013780840e2f1c4c1e0eadcbb2941e18647a')
prepare() {
cd $pkgname
# Upstream's ranged override currently resolves newer than package-lock.json.
npm pkg set 'overrides.@types/react=19.2.10'
npm clean-install --ignore-scripts
- ./node_modules/.bin/patch-package
}
build() {
cd $pkgname
- npm run build
+ npm run build -- --cli-only
npm run bundle
local bundled=$(jq '.dependencies + .optionalDependencies | keys'
package.json)
npm pkg set --json bundledDependencies="$bundled"
@@ -49,8 +48,11 @@ build() {
check() {
cd $pkgname
+ # Node 26 exposes Web Storage only when localStorage has a backing file.
+ export NODE_OPTIONS="${NODE_OPTIONS:+$NODE_OPTIONS
}--localstorage-file=$PWD/.node-localstorage"
+ # This process-tree integration test sees no children in clean chroots.
npm run test --workspaces --if-present -- \
- --exclude='**/{qwenConnectionHandler,useAtCompletion}.test.ts'
+
--exclude='**/{qwenConnectionHandler,useAtCompletion,pid-descendants}.test.ts'
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/qwen-code/-/commit/d04b70cbe61f304a89cf0d1c934e0e3a5eba9777
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/qwen-code/-/commit/d04b70cbe61f304a89cf0d1c934e0e3a5eba9777
You're receiving this email because of your account on gitlab.archlinux.org.
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications
| Help: https://gitlab.archlinux.org/help