@mmmbuto/qwen-code-termux 0.12.0-termux → 0.13.1-termux
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 +181 -55
- package/dist/bundled/review/SKILL.md +123 -0
- package/{cli.js → dist/cli.js} +212435 -190033
- package/{sandbox-macos-permissive-open.sb → dist/sandbox-macos-permissive-open.sb} +3 -1
- package/dist/vendor/tree-sitter/tree-sitter-bash.wasm +0 -0
- package/dist/vendor/tree-sitter/tree-sitter.wasm +0 -0
- package/package.json +120 -25
- package/CHANGELOG.md +0 -77
- package/locales/de.js +0 -1613
- package/locales/en.js +0 -1665
- package/locales/ja.js +0 -1117
- package/locales/pt.js +0 -1608
- package/locales/ru.js +0 -1620
- package/locales/zh.js +0 -1485
- /package/{sandbox-macos-permissive-closed.sb → dist/sandbox-macos-permissive-closed.sb} +0 -0
- /package/{sandbox-macos-permissive-proxied.sb → dist/sandbox-macos-permissive-proxied.sb} +0 -0
- /package/{sandbox-macos-restrictive-closed.sb → dist/sandbox-macos-restrictive-closed.sb} +0 -0
- /package/{sandbox-macos-restrictive-open.sb → dist/sandbox-macos-restrictive-open.sb} +0 -0
- /package/{sandbox-macos-restrictive-proxied.sb → dist/sandbox-macos-restrictive-proxied.sb} +0 -0
- /package/{vendor → dist/vendor}/ripgrep/COPYING +0 -0
- /package/{vendor → dist/vendor}/ripgrep/arm64-darwin/rg +0 -0
- /package/{vendor → dist/vendor}/ripgrep/arm64-linux/rg +0 -0
- /package/{vendor → dist/vendor}/ripgrep/x64-darwin/rg +0 -0
- /package/{vendor → dist/vendor}/ripgrep/x64-linux/rg +0 -0
- /package/{vendor → dist/vendor}/ripgrep/x64-win32/rg.exe +0 -0
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,41 +1,136 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mmmbuto/qwen-code-termux",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
3
|
+
"version": "0.13.1-termux",
|
|
4
|
+
"engines": {
|
|
5
|
+
"node": ">=20.0.0"
|
|
6
|
+
},
|
|
7
|
+
"type": "module",
|
|
8
|
+
"workspaces": [
|
|
9
|
+
"packages/*"
|
|
10
|
+
],
|
|
5
11
|
"repository": {
|
|
6
12
|
"type": "git",
|
|
7
13
|
"url": "git+https://github.com/DioNanos/qwen-code-termux.git"
|
|
8
14
|
},
|
|
9
|
-
"
|
|
10
|
-
|
|
15
|
+
"config": {
|
|
16
|
+
"sandboxImageUri": "ghcr.io/mmmbuto/qwen-code-termux:0.13.1-termux"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"start": "cross-env node scripts/start.js",
|
|
20
|
+
"dev": "node scripts/dev.js",
|
|
21
|
+
"debug": "cross-env DEBUG=1 node --inspect-brk scripts/start.js",
|
|
22
|
+
"generate": "node scripts/generate-git-commit-info.js",
|
|
23
|
+
"generate:settings-schema": "tsx scripts/generate-settings-schema.ts",
|
|
24
|
+
"build": "node scripts/build.js",
|
|
25
|
+
"build-and-start": "npm run build && npm run start",
|
|
26
|
+
"build:vscode": "node scripts/build_vscode_companion.js",
|
|
27
|
+
"build:all": "npm run build && npm run build:sandbox && npm run build:vscode",
|
|
28
|
+
"build:packages": "npm run build --workspaces",
|
|
29
|
+
"build:sandbox": "node scripts/build_sandbox.js",
|
|
30
|
+
"bundle": "npm run generate && node esbuild.config.js && node scripts/copy_bundle_assets.js",
|
|
31
|
+
"test": "npm run test --workspaces --if-present --parallel",
|
|
32
|
+
"test:ci": "npm run test:ci --workspaces --if-present --parallel && npm run test:scripts",
|
|
33
|
+
"test:scripts": "vitest run --config ./scripts/tests/vitest.config.ts",
|
|
34
|
+
"test:e2e": "cross-env VERBOSE=true KEEP_OUTPUT=true npm run test:integration:sandbox:none",
|
|
35
|
+
"test:integration:all": "npm run test:integration:sandbox:none && npm run test:integration:sandbox:docker && npm run test:integration:sandbox:podman",
|
|
36
|
+
"test:integration:sandbox:none": "cross-env QWEN_SANDBOX=false vitest run --root ./integration-tests",
|
|
37
|
+
"test:integration:sandbox:docker": "cross-env QWEN_SANDBOX=docker npm run build:sandbox && QWEN_SANDBOX=docker vitest run --root ./integration-tests",
|
|
38
|
+
"test:integration:sandbox:podman": "cross-env QWEN_SANDBOX=podman vitest run --root ./integration-tests",
|
|
39
|
+
"test:integration:sdk:sandbox:none": "cross-env QWEN_SANDBOX=false vitest run --root ./integration-tests --poolOptions.threads.maxThreads 2 sdk-typescript",
|
|
40
|
+
"test:integration:sdk:sandbox:docker": "cross-env QWEN_SANDBOX=docker npm run build:sandbox && QWEN_SANDBOX=docker vitest run --root ./integration-tests --poolOptions.threads.maxThreads 2 sdk-typescript",
|
|
41
|
+
"test:integration:cli:sandbox:none": "cross-env QWEN_SANDBOX=false vitest run --root ./integration-tests --exclude '**/sdk-typescript/**'",
|
|
42
|
+
"test:integration:cli:sandbox:docker": "cross-env QWEN_SANDBOX=docker npm run build:sandbox && QWEN_SANDBOX=docker vitest run --root ./integration-tests --exclude '**/sdk-typescript/**'",
|
|
43
|
+
"test:terminal-bench": "cross-env VERBOSE=true KEEP_OUTPUT=true vitest run --config ./vitest.terminal-bench.config.ts --root ./integration-tests",
|
|
44
|
+
"test:terminal-bench:oracle": "cross-env VERBOSE=true KEEP_OUTPUT=true vitest run --config ./vitest.terminal-bench.config.ts --root ./integration-tests -t 'oracle'",
|
|
45
|
+
"test:terminal-bench:qwen": "cross-env VERBOSE=true KEEP_OUTPUT=true vitest run --config ./vitest.terminal-bench.config.ts --root ./integration-tests -t 'qwen'",
|
|
46
|
+
"lint": "eslint . --ext .ts,.tsx && eslint integration-tests",
|
|
47
|
+
"lint:fix": "eslint . --fix && eslint integration-tests --fix",
|
|
48
|
+
"lint:ci": "eslint . --ext .ts,.tsx --max-warnings 0 && eslint integration-tests --max-warnings 0",
|
|
49
|
+
"lint:all": "node scripts/lint.js",
|
|
50
|
+
"format": "prettier --experimental-cli --write .",
|
|
51
|
+
"typecheck": "npm run typecheck --workspaces --if-present",
|
|
52
|
+
"check-i18n": "npm run check-i18n --workspace=packages/cli",
|
|
53
|
+
"preflight": "npm run clean && npm ci && npm run format && npm run lint:ci && npm run build && npm run typecheck && npm run test:ci",
|
|
54
|
+
"prepare": "husky && npm run build && npm run bundle",
|
|
55
|
+
"prepare:package": "node scripts/prepare-package.js",
|
|
56
|
+
"release:version": "node scripts/version.js",
|
|
57
|
+
"telemetry": "node scripts/telemetry.js",
|
|
58
|
+
"check:lockfile": "node scripts/check-lockfile.js",
|
|
59
|
+
"clean": "node scripts/clean.js",
|
|
60
|
+
"pre-commit": "node scripts/pre-commit.js"
|
|
61
|
+
},
|
|
62
|
+
"overrides": {
|
|
63
|
+
"wrap-ansi": "9.0.2",
|
|
64
|
+
"ansi-regex": "6.2.2",
|
|
65
|
+
"cliui": {
|
|
66
|
+
"wrap-ansi": "7.0.0"
|
|
67
|
+
},
|
|
68
|
+
"baseline-browser-mapping": "^2.9.19"
|
|
69
|
+
},
|
|
11
70
|
"bin": {
|
|
12
|
-
"qwen": "cli.js"
|
|
71
|
+
"qwen": "dist/cli.js"
|
|
13
72
|
},
|
|
14
73
|
"files": [
|
|
15
|
-
"
|
|
16
|
-
"vendor",
|
|
17
|
-
"*.sb",
|
|
74
|
+
"dist/",
|
|
18
75
|
"README.md",
|
|
19
|
-
"LICENSE"
|
|
20
|
-
"CHANGELOG.md",
|
|
21
|
-
"locales"
|
|
76
|
+
"LICENSE"
|
|
22
77
|
],
|
|
23
|
-
"
|
|
24
|
-
"
|
|
78
|
+
"devDependencies": {
|
|
79
|
+
"@types/marked": "^5.0.2",
|
|
80
|
+
"@types/mime-types": "^3.0.1",
|
|
81
|
+
"@types/minimatch": "^5.1.2",
|
|
82
|
+
"@types/mock-fs": "^4.13.4",
|
|
83
|
+
"@types/shell-quote": "^1.7.5",
|
|
84
|
+
"@types/uuid": "^10.0.0",
|
|
85
|
+
"@vitest/coverage-v8": "^3.1.1",
|
|
86
|
+
"@vitest/eslint-plugin": "^1.3.4",
|
|
87
|
+
"@xterm/xterm": "^6.0.0",
|
|
88
|
+
"cross-env": "^7.0.3",
|
|
89
|
+
"esbuild": "^0.25.0",
|
|
90
|
+
"eslint": "^9.24.0",
|
|
91
|
+
"eslint-config-prettier": "^10.1.2",
|
|
92
|
+
"eslint-plugin-import": "^2.31.0",
|
|
93
|
+
"eslint-plugin-license-header": "^0.8.0",
|
|
94
|
+
"eslint-plugin-react": "^7.37.5",
|
|
95
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
96
|
+
"glob": "^10.5.0",
|
|
97
|
+
"globals": "^16.0.0",
|
|
98
|
+
"husky": "^9.1.7",
|
|
99
|
+
"json": "^11.0.0",
|
|
100
|
+
"lint-staged": "^16.1.6",
|
|
101
|
+
"memfs": "^4.42.0",
|
|
102
|
+
"mnemonist": "^0.40.3",
|
|
103
|
+
"mock-fs": "^5.5.0",
|
|
104
|
+
"msw": "^2.10.4",
|
|
105
|
+
"npm-run-all": "^4.1.5",
|
|
106
|
+
"prettier": "^3.5.3",
|
|
107
|
+
"react-devtools-core": "^4.28.5",
|
|
108
|
+
"semver": "^7.7.2",
|
|
109
|
+
"strip-ansi": "^7.1.2",
|
|
110
|
+
"tsx": "^4.20.3",
|
|
111
|
+
"typescript-eslint": "^8.30.1",
|
|
112
|
+
"vitest": "^3.2.4",
|
|
113
|
+
"yargs": "^17.7.2"
|
|
114
|
+
},
|
|
115
|
+
"dependencies": {
|
|
116
|
+
"@testing-library/dom": "^10.4.1",
|
|
117
|
+
"simple-git": "^3.28.0"
|
|
25
118
|
},
|
|
26
|
-
"dependencies": {},
|
|
27
119
|
"optionalDependencies": {
|
|
28
|
-
"@
|
|
29
|
-
"@lydell/node-pty-
|
|
30
|
-
"@
|
|
31
|
-
"@
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
34
|
-
"@teddyzhu/clipboard-linux-arm64-gnu": "0.0.5",
|
|
35
|
-
"@teddyzhu/clipboard-win32-x64-msvc": "0.0.5",
|
|
36
|
-
"@teddyzhu/clipboard-win32-arm64-msvc": "0.0.5"
|
|
120
|
+
"@lydell/node-pty": "1.1.0",
|
|
121
|
+
"@lydell/node-pty-darwin-arm64": "1.1.0",
|
|
122
|
+
"@lydell/node-pty-darwin-x64": "1.1.0",
|
|
123
|
+
"@lydell/node-pty-linux-x64": "1.1.0",
|
|
124
|
+
"@lydell/node-pty-win32-arm64": "1.1.0",
|
|
125
|
+
"@lydell/node-pty-win32-x64": "1.1.0"
|
|
37
126
|
},
|
|
38
|
-
"
|
|
39
|
-
"
|
|
127
|
+
"lint-staged": {
|
|
128
|
+
"*.{js,jsx,ts,tsx}": [
|
|
129
|
+
"prettier --write",
|
|
130
|
+
"eslint --fix --max-warnings 0"
|
|
131
|
+
],
|
|
132
|
+
"*.{json,md}": [
|
|
133
|
+
"prettier --write"
|
|
134
|
+
]
|
|
40
135
|
}
|
|
41
136
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
## [0.12.0-termux] - 2026-03-09
|
|
6
|
-
|
|
7
|
-
### Added
|
|
8
|
-
|
|
9
|
-
- **Extension Management TUI** - New UI for managing MCP extensions
|
|
10
|
-
- **Hook System** - Support for custom hooks (session start/end, stop)
|
|
11
|
-
- **Ask User Question Tool** - New tool for user interactions
|
|
12
|
-
- **ACP SDK Migration** - Migrated to `@agentclientprotocol/sdk`
|
|
13
|
-
- **Auto PTY Installation** - Postinstall script auto-installs PTY dependencies on Termux
|
|
14
|
-
|
|
15
|
-
### Changed
|
|
16
|
-
|
|
17
|
-
- **Merged upstream QwenLM/qwen-code v0.12.0**
|
|
18
|
-
- **Shell PTY Default** - PTY enabled by default for shell execution
|
|
19
|
-
- **New dependency**: `iconv-lite` for character encoding
|
|
20
|
-
- Version suffix: `-termux` across all workspace packages
|
|
21
|
-
- Sandbox image: `ghcr.io/mmmbuto/qwen-code-termux:0.12.0-termux`
|
|
22
|
-
|
|
23
|
-
### Fixed
|
|
24
|
-
|
|
25
|
-
- **shellExecutionService.ts** - Adapted to use `@mmmbuto/pty-termux-utils` IPty interface
|
|
26
|
-
- **Import paths** - All `@qwen-code/qwen-code-core` → `@mmmbuto/qwen-code-termux-core`
|
|
27
|
-
- **prepare-package.js** - Termux-specific optionalDependencies
|
|
28
|
-
|
|
29
|
-
### Termux Patches Maintained (9/9)
|
|
30
|
-
|
|
31
|
-
1. `prepare-termux.cjs` - Skip husky/bundle on Termux
|
|
32
|
-
2. `termux-runtime.ts` - Android runtime polyfills
|
|
33
|
-
3. `getPty.ts` - Re-export from `@mmmbuto/pty-termux-utils`
|
|
34
|
-
4. `package.json` - Termux name/version/sandboxImageUri
|
|
35
|
-
5. `optionalDependencies` - Android ARM64 + Linux ARM64
|
|
36
|
-
6. `installationInfo.ts` - Correct update commands
|
|
37
|
-
7. `start.js` - Deprecation warning suppression
|
|
38
|
-
8. `prepare-package.js` - NPM package preparation
|
|
39
|
-
9. `postinstall.js` - Auto-install PTY on Termux
|
|
40
|
-
|
|
41
|
-
---
|
|
42
|
-
|
|
43
|
-
## [0.11.3-termux] - 2026-03-04
|
|
44
|
-
|
|
45
|
-
### Fixed
|
|
46
|
-
|
|
47
|
-
- Bundle version fix
|
|
48
|
-
|
|
49
|
-
---
|
|
50
|
-
|
|
51
|
-
## [0.11.2-termux] - 2026-03-02
|
|
52
|
-
|
|
53
|
-
### Fixed
|
|
54
|
-
|
|
55
|
-
- Auto-update command fix (correct package name `@mmmbuto/qwen-code-termux`)
|
|
56
|
-
|
|
57
|
-
---
|
|
58
|
-
|
|
59
|
-
## [0.11.1-termux] - 2026-03-01
|
|
60
|
-
|
|
61
|
-
### Changed
|
|
62
|
-
|
|
63
|
-
- PTY unified library (`@mmmbuto/pty-termux-utils`)
|
|
64
|
-
- Reduced optionalDependencies (7 → 2)
|
|
65
|
-
- Native Android ARM64 support via `@mmmbuto/node-pty-android-arm64`
|
|
66
|
-
- Linux ARM64 fallback via `@lydell/node-pty-linux-arm64`
|
|
67
|
-
|
|
68
|
-
---
|
|
69
|
-
|
|
70
|
-
## [0.11.0-termux] - 2026-02-28
|
|
71
|
-
|
|
72
|
-
### Added
|
|
73
|
-
|
|
74
|
-
- Initial Termux fork based on upstream v0.11.0
|
|
75
|
-
- Android PTY support
|
|
76
|
-
- Termux runtime patches
|
|
77
|
-
- Skip husky/bundle on Termux install
|