codewhale 0.10.1 → 0.10.3

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 CHANGED
@@ -84,13 +84,21 @@ versions whose matching GitHub Release publishes both assets, and remains
84
84
  preview support pending real-device QA. See the support table in
85
85
  [docs/INSTALL.md](https://github.com/codewhale-hq/CodeWhale/blob/main/docs/INSTALL.md).
86
86
 
87
- HarmonyOS PC (`openharmony`) is treated as `linux`, so it gets the Linux
88
- binaries matching your CPU architecture (x64 or arm64). Linux riscv64 prebuilts
89
- are temporarily paused while the locked `rquickjs-sys` dependency lacks
90
- `riscv64gc-unknown-linux-gnu` bindings. Other platform/architecture combinations
91
- (FreeBSD, Linux riscv64, …) aren't shipped as prebuilts. Unsupported platforms,
92
- checksum failures, and glibc compatibility problems still fail with a clear
93
- error pointing you at the full
87
+ On a HarmonyOS PC, install inside the Linux subsystem (融合开发引擎, openEuler),
88
+ where the wrapper sees `linux` and installs the Linux arm64 binaries. In a native
89
+ HarmonyOS or OpenHarmony terminal (`openharmony`), the wrapper still installs the
90
+ static Linux build matching your CPU architecture (x64 or arm64) as a best
91
+ effort. That build is untested on native HarmonyOS. If the binary cannot start,
92
+ `codewhale` prints directions to use the Linux subsystem or build
93
+ `aarch64-unknown-linux-ohos` from source. The install script also prints a
94
+ warning, which npm 7 and later show only with `--foreground-scripts`. See
95
+ [docs/HarmonyOS.md](https://github.com/codewhale-hq/CodeWhale/blob/main/docs/HarmonyOS.md).
96
+
97
+ Linux riscv64 prebuilts are temporarily paused while the locked `rquickjs-sys`
98
+ dependency lacks `riscv64gc-unknown-linux-gnu` bindings. Other
99
+ platform/architecture combinations (FreeBSD, Linux riscv64, …) aren't shipped
100
+ as prebuilts. Unsupported platforms, checksum failures, and glibc compatibility
101
+ problems still fail with a clear error pointing you at the full
94
102
  [docs/INSTALL.md](https://github.com/codewhale-hq/CodeWhale/blob/main/docs/INSTALL.md)
95
103
  guide.
96
104
 
@@ -100,7 +108,7 @@ guide.
100
108
  | --- | --- |
101
109
  | `codewhaleBinaryVersion` in `package.json` | Default native binary version. `deepseekBinaryVersion` is still read as a backward-compat fallback. |
102
110
  | `CODEWHALE_RELEASE_BASE_URL` | Canonical override: use an internal or mirrored release-asset directory and skip the Linux x64 GitHub/CNB race. The directory must contain `codewhale-artifacts-sha256.txt` and the platform binaries. `DEEPSEEK_TUI_RELEASE_BASE_URL` and `DEEPSEEK_RELEASE_BASE_URL` are the implemented legacy fallbacks. |
103
- | `CODEWHALE_USE_CNB_MIRROR=1` | Force the CNB (China-friendly) first-party mirror on Linux x64 and OpenHarmony x64, skipping the automatic race. Other targets fail with a clear unsupported-mirror error; use GitHub or a complete `CODEWHALE_RELEASE_BASE_URL` mirror there. Without this variable, Linux x64 still probes CNB and GitHub together and uses the first valid checksum manifest. |
111
+ | `CODEWHALE_USE_CNB_MIRROR=1` | Force the CNB (China-friendly) first-party mirror on Linux x64, skipping the automatic race. Other targets, native HarmonyOS included, fail with a clear unsupported-mirror error; use GitHub or a complete `CODEWHALE_RELEASE_BASE_URL` mirror there. Without this variable, Linux x64 still probes CNB and GitHub together and uses the first valid checksum manifest. |
104
112
  | `CODEWHALE_VERSION` | Override the release version to download. |
105
113
  | `CODEWHALE_GITHUB_REPO` | Override the source repo. Defaults to `codewhale-hq/CodeWhale`. |
106
114
  | `CODEWHALE_FORCE_DOWNLOAD=1` | Force download even when the cached binary is already present. |
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024-2025 DeepSeek-TUI Contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.