@mmmbuto/qwen-code-termux 0.11.3-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.
@@ -22,4 +22,6 @@
22
22
  (literal "/dev/stdout")
23
23
  (literal "/dev/stderr")
24
24
  (literal "/dev/null")
25
- )
25
+ (literal "/dev/ptmx")
26
+ (regex #"^/dev/ttys[0-9]*$")
27
+ )
@@ -29,7 +29,7 @@
29
29
  (allow network-inbound (local ip "localhost:9229"))
30
30
 
31
31
  ;; deny all outbound network traffic EXCEPT through proxy on localhost:8877
32
- ;; set `GEMINI_SANDBOX_PROXY_COMMAND=<command>` to run proxy alongside sandbox
32
+ ;; set `QWEN_SANDBOX_PROXY_COMMAND=<command>` to run proxy alongside sandbox
33
33
  ;; proxy must listen on :::8877 (see docs/examples/proxy-script.md)
34
34
  (deny network-outbound)
35
35
  (allow network-outbound (remote tcp "localhost:8877"))
@@ -93,6 +93,6 @@
93
93
  (allow network-inbound (local ip "localhost:9229"))
94
94
 
95
95
  ;; allow outbound network traffic through proxy on localhost:8877
96
- ;; set `GEMINI_SANDBOX_PROXY_COMMAND=<command>` to run proxy alongside sandbox
96
+ ;; set `QWEN_SANDBOX_PROXY_COMMAND=<command>` to run proxy alongside sandbox
97
97
  ;; proxy must listen on :::8877 (see docs/examples/proxy-script.md)
98
98
  (allow network-outbound (remote tcp "localhost:8877"))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mmmbuto/qwen-code-termux",
3
- "version": "0.11.3-termux",
3
+ "version": "0.13.1-termux",
4
4
  "engines": {
5
5
  "node": ">=20.0.0"
6
6
  },
@@ -13,13 +13,14 @@
13
13
  "url": "git+https://github.com/DioNanos/qwen-code-termux.git"
14
14
  },
15
15
  "config": {
16
- "sandboxImageUri": "ghcr.io/mmmbuto/qwen-code-termux:0.11.3-termux"
16
+ "sandboxImageUri": "ghcr.io/mmmbuto/qwen-code-termux:0.13.1-termux"
17
17
  },
18
18
  "scripts": {
19
19
  "start": "cross-env node scripts/start.js",
20
20
  "dev": "node scripts/dev.js",
21
21
  "debug": "cross-env DEBUG=1 node --inspect-brk scripts/start.js",
22
22
  "generate": "node scripts/generate-git-commit-info.js",
23
+ "generate:settings-schema": "tsx scripts/generate-settings-schema.ts",
23
24
  "build": "node scripts/build.js",
24
25
  "build-and-start": "npm run build && npm run start",
25
26
  "build:vscode": "node scripts/build_vscode_companion.js",
@@ -32,13 +33,13 @@
32
33
  "test:scripts": "vitest run --config ./scripts/tests/vitest.config.ts",
33
34
  "test:e2e": "cross-env VERBOSE=true KEEP_OUTPUT=true npm run test:integration:sandbox:none",
34
35
  "test:integration:all": "npm run test:integration:sandbox:none && npm run test:integration:sandbox:docker && npm run test:integration:sandbox:podman",
35
- "test:integration:sandbox:none": "cross-env GEMINI_SANDBOX=false vitest run --root ./integration-tests",
36
- "test:integration:sandbox:docker": "cross-env GEMINI_SANDBOX=docker npm run build:sandbox && GEMINI_SANDBOX=docker vitest run --root ./integration-tests",
37
- "test:integration:sandbox:podman": "cross-env GEMINI_SANDBOX=podman npm run build:sandbox && GEMINI_SANDBOX=podman vitest run --root ./integration-tests",
38
- "test:integration:sdk:sandbox:none": "cross-env GEMINI_SANDBOX=false vitest run --root ./integration-tests sdk-typescript",
39
- "test:integration:sdk:sandbox:docker": "cross-env GEMINI_SANDBOX=docker npm run build:sandbox && GEMINI_SANDBOX=docker vitest run --root ./integration-tests sdk-typescript",
40
- "test:integration:cli:sandbox:none": "cross-env GEMINI_SANDBOX=false vitest run --root ./integration-tests --exclude '**/sdk-typescript/**'",
41
- "test:integration:cli:sandbox:docker": "cross-env GEMINI_SANDBOX=docker npm run build:sandbox && GEMINI_SANDBOX=docker vitest run --root ./integration-tests --exclude '**/sdk-typescript/**'",
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/**'",
42
43
  "test:terminal-bench": "cross-env VERBOSE=true KEEP_OUTPUT=true vitest run --config ./vitest.terminal-bench.config.ts --root ./integration-tests",
43
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'",
44
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'",
@@ -50,7 +51,7 @@
50
51
  "typecheck": "npm run typecheck --workspaces --if-present",
51
52
  "check-i18n": "npm run check-i18n --workspace=packages/cli",
52
53
  "preflight": "npm run clean && npm ci && npm run format && npm run lint:ci && npm run build && npm run typecheck && npm run test:ci",
53
- "prepare": "node scripts/prepare-termux.cjs",
54
+ "prepare": "husky && npm run build && npm run bundle",
54
55
  "prepare:package": "node scripts/prepare-package.js",
55
56
  "release:version": "node scripts/version.js",
56
57
  "telemetry": "node scripts/telemetry.js",
@@ -79,11 +80,11 @@
79
80
  "@types/mime-types": "^3.0.1",
80
81
  "@types/minimatch": "^5.1.2",
81
82
  "@types/mock-fs": "^4.13.4",
82
- "@types/qrcode-terminal": "^0.12.2",
83
83
  "@types/shell-quote": "^1.7.5",
84
84
  "@types/uuid": "^10.0.0",
85
85
  "@vitest/coverage-v8": "^3.1.1",
86
86
  "@vitest/eslint-plugin": "^1.3.4",
87
+ "@xterm/xterm": "^6.0.0",
87
88
  "cross-env": "^7.0.3",
88
89
  "esbuild": "^0.25.0",
89
90
  "eslint": "^9.24.0",
@@ -116,8 +117,12 @@
116
117
  "simple-git": "^3.28.0"
117
118
  },
118
119
  "optionalDependencies": {
119
- "@mmmbuto/node-pty-android-arm64": "~1.1.0",
120
- "@lydell/node-pty-linux-arm64": "~1.2.0-beta.2"
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"
121
126
  },
122
127
  "lint-staged": {
123
128
  "*.{js,jsx,ts,tsx}": [