@mmmbuto/qwen-code-termux 0.6.404-termux → 0.6.405-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.
Files changed (3) hide show
  1. package/README.md +4 -4
  2. package/dist/cli.js +34 -4
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -24,7 +24,7 @@ pkg update && pkg upgrade -y
24
24
  pkg install nodejs-lts -y
25
25
  npm install -g @mmmbuto/qwen-code-termux
26
26
 
27
- qwen --version # expected: 0.6.404-termux
27
+ qwen --version # expected: 0.6.405-termux
28
28
  ```
29
29
 
30
30
  Build from source:
@@ -83,8 +83,8 @@ export OPENAI_MODEL="gpt-4o" # optional
83
83
  ## Documentation & Fixes
84
84
 
85
85
  - **Test Suite**: [`QWEN_TEST_SUITE.md`](./QWEN_TEST_SUITE.md)
86
- - **Test Report**: [`QWEN_TEST_REPORT_v0.6.404-termux.md`](./QWEN_TEST_REPORT_v0.6.404-termux.md)
87
- (latest report; 0.6.404-termux)
86
+ - **Test Report**: [`QWEN_TEST_REPORT_v0.6.405-termux.md`](./QWEN_TEST_REPORT_v0.6.405-termux.md)
87
+ (latest report; 0.6.405-termux)
88
88
  - **Patches**: [`docs/patches/README.md`](./docs/patches/README.md)
89
89
  - **Termux Fixes**: [`docs/patches/TERMUX_FIXES.md`](./docs/patches/TERMUX_FIXES.md)
90
90
 
@@ -155,7 +155,7 @@ npm install -g @mmmbuto/qwen-code-termux@latest
155
155
 
156
156
  ### Versions
157
157
 
158
- - **latest / stable**: 0.6.403-termux
158
+ - **latest / stable**: 0.6.405-termux
159
159
 
160
160
  ## Benchmark Results
161
161
 
package/dist/cli.js CHANGED
@@ -155008,7 +155008,7 @@ __export(geminiContentGenerator_exports, {
155008
155008
  createGeminiContentGenerator: () => createGeminiContentGenerator
155009
155009
  });
155010
155010
  function createGeminiContentGenerator(config2, gcConfig) {
155011
- const version2 = "0.6.404-termux";
155011
+ const version2 = "0.6.405-termux";
155012
155012
  const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
155013
155013
  const baseHeaders = {
155014
155014
  "User-Agent": userAgent2
@@ -334934,6 +334934,36 @@ var require_ansi_align = __commonJS({
334934
334934
  // packages/cli/index.ts
334935
334935
  init_esbuild_shims();
334936
334936
 
334937
+ // packages/cli/src/patches/termux-runtime.ts
334938
+ init_esbuild_shims();
334939
+ if (typeof Uint8Array.fromBase64 !== "function") {
334940
+ Uint8Array.fromBase64 = (base642) => {
334941
+ const buf = Buffer.from(base642, "base64");
334942
+ return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength);
334943
+ };
334944
+ }
334945
+ if (typeof Uint8Array.prototype.toBase64 !== "function") {
334946
+ Uint8Array.prototype.toBase64 = function() {
334947
+ return Buffer.from(this).toString("base64");
334948
+ };
334949
+ }
334950
+ if (process.platform === "android") {
334951
+ if (process.env["PREFIX"] && !process.env["TERMUX__PREFIX"]) {
334952
+ process.env["TERMUX__PREFIX"] = process.env["PREFIX"];
334953
+ }
334954
+ const origEmit = process.emit.bind(process);
334955
+ process.emit = (...args) => {
334956
+ const name3 = args[0];
334957
+ const warning = args[1];
334958
+ if (name3 === "warning") {
334959
+ if (warning?.name === "DeprecationWarning" && warning.message?.includes("punycode")) {
334960
+ return false;
334961
+ }
334962
+ }
334963
+ return origEmit(...args);
334964
+ };
334965
+ }
334966
+
334937
334967
  // packages/cli/src/gemini.tsx
334938
334968
  init_esbuild_shims();
334939
334969
 
@@ -356996,7 +357026,7 @@ __name(getPackageJson, "getPackageJson");
356996
357026
  // packages/cli/src/utils/version.ts
356997
357027
  async function getCliVersion() {
356998
357028
  const pkgJson = await getPackageJson();
356999
- return "0.6.404-termux";
357029
+ return "0.6.405-termux";
357000
357030
  }
357001
357031
  __name(getCliVersion, "getCliVersion");
357002
357032
 
@@ -365079,7 +365109,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
365079
365109
 
365080
365110
  // packages/cli/src/generated/git-commit.ts
365081
365111
  init_esbuild_shims();
365082
- var GIT_COMMIT_INFO2 = "7bfdc96f";
365112
+ var GIT_COMMIT_INFO2 = "cac3a692";
365083
365113
 
365084
365114
  // packages/cli/src/utils/systemInfo.ts
365085
365115
  async function getNpmVersion() {
@@ -416297,7 +416327,7 @@ var GeminiAgent = class {
416297
416327
  name: APPROVAL_MODE_INFO[mode].name,
416298
416328
  description: APPROVAL_MODE_INFO[mode].description
416299
416329
  }));
416300
- const version2 = "0.6.404-termux";
416330
+ const version2 = "0.6.405-termux";
416301
416331
  return {
416302
416332
  protocolVersion: PROTOCOL_VERSION,
416303
416333
  agentInfo: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mmmbuto/qwen-code-termux",
3
- "version": "0.6.404-termux",
3
+ "version": "0.6.405-termux",
4
4
  "engines": {
5
5
  "node": ">=20.0.0"
6
6
  },
@@ -13,7 +13,7 @@
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.6.404-termux"
16
+ "sandboxImageUri": "ghcr.io/mmmbuto/qwen-code-termux:0.6.405-termux"
17
17
  },
18
18
  "scripts": {
19
19
  "start": "cross-env node scripts/start.js",