|
1 | 1 | { |
2 | | - "version": "0.6.0", |
3 | | - "description": "(Scoop bucket by arch3rpro) An open-source AI agent that lives in your terminal.", |
4 | | - "homepage": "https://qwenlm.github.io", |
5 | | - "license": "Apache-2.0", |
6 | | - "suggest": { |
7 | | - "nodejs": "main/nodejs-lts" |
8 | | - }, |
9 | | - "url": "https://github.com/QwenLM/qwen-code/releases/download/v0.6.0/cli.js", |
10 | | - "hash": "713c7a4747447013833476d533f7ab1573b90d8e4b75f507a93fd2b2112d9bf1", |
11 | | - "bin": [ |
12 | | - [ |
13 | | - "node", |
14 | | - "qwen", |
15 | | - "$dir\\cli.js" |
16 | | - ] |
17 | | - ], |
18 | | - "checkver": { |
19 | | - "github": "https://github.com/QwenLM/qwen-code" |
20 | | - }, |
21 | | - "autoupdate": { |
22 | | - "url": "https://github.com/QwenLM/qwen-code/releases/download/v$version/cli.js" |
| 2 | + "version": "0.6.0", |
| 3 | + "description": "(Scoop bucket by arch3rpro) An open-source AI agent that lives in your terminal", |
| 4 | + "homepage": "https://github.com/QwenLM/qwen-code", |
| 5 | + "license": "Apache-2.0", |
| 6 | + "bin": [ |
| 7 | + [ |
| 8 | + "node_modules\\.bin\\qwen.exe", |
| 9 | + "qwen" |
| 10 | + ] |
| 11 | + ], |
| 12 | + "installer": { |
| 13 | + "script": "pushd $dir; bun add --bun @qwen-code/[email protected]; popd" |
| 14 | + }, |
| 15 | + "pre_install": [ |
| 16 | + "New-Item -Path $persist_dir -ItemType Directory -Force | Out-Null", |
| 17 | + "if (!(Test-Path -Path $persist_dir\\system-defaults.json)) { New-Item -Path $persist_dir\\system-defaults.json -ItemType File -Value '{}' -Force | Out-Null }" |
| 18 | + ], |
| 19 | + "uninstaller": { |
| 20 | + "script": "pushd $dir; bun rm @qwen-code/qwen-code; popd" |
| 21 | + }, |
| 22 | + "depends": [ |
| 23 | + "bun" |
| 24 | + ], |
| 25 | + "env_set": { |
| 26 | + "QWEN_CODE_SYSTEM_DEFAULTS_PATH": "$persist_dir\\system-defaults.json" |
| 27 | + }, |
| 28 | + "checkver": { |
| 29 | + "url": "https://github.com/QwenLM/qwen-code/tags", |
| 30 | + "regex": "/v([\\d.]+)\"(?!-)" |
| 31 | + }, |
| 32 | + "autoupdate": { |
| 33 | + "installer": { |
| 34 | + "script": "pushd $dir; bun add --bun @qwen-code/qwen-code@$version; popd" |
23 | 35 | } |
| 36 | + } |
24 | 37 | } |
0 commit comments