cline-kit 0.2.1 → 0.3.0
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/CHANGELOG.md +33 -0
- package/README.md +21 -12
- package/README.zh-CN.md +18 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,41 @@ All notable changes to this project are documented here. The format follows
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/); dictionary data changes are versioned inside
|
|
5
5
|
each `dictionaries/<locale>.json` rather than here.
|
|
6
6
|
|
|
7
|
+
## [0.3.0] - 2026-09-21
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- **A portable package that needs nothing installed**: `cline-kit-vX.Y.Z-portable-win.zip` carries
|
|
12
|
+
its own Node runtime, so the whole setup is unzip-and-double-click-`install.cmd`. This closes the
|
|
13
|
+
gap every previous route had - npm, the plain zip and source all assumed Node was already on
|
|
14
|
+
`PATH`, which is exactly what someone who chose a desktop app over a command line does not have.
|
|
15
|
+
The bundled binary is pinned by SHA-256 in `scripts/portable-node.json` and CI re-checks that pin
|
|
16
|
+
against nodejs.org's own `SHASUMS256.txt` before packaging, because an unchecked 84 MB executable
|
|
17
|
+
inside a release we hand to strangers is a supply-chain risk, not a convenience. Node's MIT
|
|
18
|
+
licence and provenance travel in `THIRD-PARTY-NODE.md`.
|
|
19
|
+
- `scripts/make-portable.js` assembles it, and refuses to produce a package whose runtime does not
|
|
20
|
+
report the pinned version or whose entries contain backslash paths.
|
|
21
|
+
- `scripts/npm-auth.ps1` keeps the local maintenance token in the Windows Credential Manager (the
|
|
22
|
+
same store `gh` uses) instead of a plaintext `~/.npmrc`, materialising a one-off npmrc only for the
|
|
23
|
+
lifetime of the command it runs.
|
|
24
|
+
- The ship-clean check now fails on an `npm_`-shaped token anywhere in the tree, and a 29th check
|
|
25
|
+
verifies the Node pin is self-consistent and satisfies `engines.node`.
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- The portable zip is the recommended install route in both READMEs; npm moves to second and is
|
|
30
|
+
described as what to use when you already have Node.
|
|
31
|
+
|
|
32
|
+
### Known limitations
|
|
33
|
+
|
|
34
|
+
- `npm deprecate cline-kit@0.1.0` cannot be done without an interactive authentication step: npm
|
|
35
|
+
returns 401 EOTP / browser-auth-required even with a bypass-2FA package token, and the website's
|
|
36
|
+
Deprecate control is all-versions. 0.1.0 therefore keeps its missing provenance on purpose - the
|
|
37
|
+
package has no external downloads and `latest` points at 0.3.0.
|
|
38
|
+
|
|
7
39
|
## [0.2.1] - 2026-09-21
|
|
8
40
|
|
|
41
|
+
|
|
9
42
|
### Changed
|
|
10
43
|
|
|
11
44
|
- **zh-TW dictionary v3**: the send action was rendered two different ways in the same locale
|
package/README.md
CHANGED
|
@@ -51,14 +51,26 @@ or both.
|
|
|
51
51
|
## Requirements
|
|
52
52
|
|
|
53
53
|
* Windows 10/11 (macOS/Linux not supported yet — see [Limitations](#limitations))
|
|
54
|
-
* [Node.js](https://nodejs.org) 20.10 or newer (global `WebSocket` and `fetch`)
|
|
54
|
+
* [Node.js](https://nodejs.org) 20.10 or newer (global `WebSocket` and `fetch`) — not needed if you use the
|
|
55
|
+
portable zip, which bundles its own runtime
|
|
55
56
|
* The Cline desktop app installed (verified against v0.0.32)
|
|
56
57
|
|
|
57
58
|
## Install
|
|
58
59
|
|
|
59
|
-
|
|
60
|
+
Four routes, same tool. None of them touch `cline-app.exe`.
|
|
60
61
|
|
|
61
|
-
**1.
|
|
62
|
+
**1. Portable zip — nothing to install, no Node needed (recommended)**
|
|
63
|
+
|
|
64
|
+
Download `cline-kit-vX.Y.Z-portable-win.zip` from
|
|
65
|
+
[Releases](https://github.com/chentaoxing/Cline-kit/releases), unzip it somewhere that will stay put,
|
|
66
|
+
and **double-click `install.cmd`**. That's the whole setup: it points your existing Cline shortcut at
|
|
67
|
+
the kit, and from then on you open Cline exactly as before. No terminal, no PATH, and the folder
|
|
68
|
+
carries its own Node runtime (see [`scripts/portable-node.json`](scripts/portable-node.json) — the
|
|
69
|
+
binary's SHA-256 is pinned and re-checked against nodejs.org's own list during the build).
|
|
70
|
+
|
|
71
|
+
`ckit.cmd locales` and `ckit.cmd uninstall` live in the same folder.
|
|
72
|
+
|
|
73
|
+
**2. npm — if you already have Node.js 20.10+**
|
|
62
74
|
|
|
63
75
|
```bash
|
|
64
76
|
npm install -g cline-kit
|
|
@@ -66,23 +78,20 @@ ckit install # point your existing Cline shortcut at the kit laun
|
|
|
66
78
|
ckit start # launch Cline with the enhancements now
|
|
67
79
|
```
|
|
68
80
|
|
|
69
|
-
|
|
81
|
+
Worth it when you want `npm update -g cline-kit` and a `ckit` on PATH.
|
|
70
82
|
|
|
71
|
-
|
|
72
|
-
shim once from that folder:
|
|
83
|
+
**3. Release zip without the runtime**
|
|
73
84
|
|
|
74
|
-
|
|
75
|
-
ckit.cmd install
|
|
76
|
-
ckit.cmd start
|
|
77
|
-
```
|
|
85
|
+
`cline-kit-vX.Y.Z-win.zip` is the same package minus the bundled Node, for anyone who would rather not
|
|
86
|
+
carry an 84 MB runtime. Unzip and run `ckit.cmd install` from that folder.
|
|
78
87
|
|
|
79
|
-
**
|
|
88
|
+
**4. From source (contributing)**
|
|
80
89
|
|
|
81
90
|
```bash
|
|
82
91
|
git clone https://github.com/chentaoxing/Cline-kit.git
|
|
83
92
|
cd cline-kit
|
|
84
93
|
npm install -g . # or call it directly: node src/cli.js <command>
|
|
85
|
-
npm test #
|
|
94
|
+
npm test # 29 checks, no dependencies
|
|
86
95
|
```
|
|
87
96
|
|
|
88
97
|
Then in every case:
|
package/README.zh-CN.md
CHANGED
|
@@ -51,30 +51,38 @@ ckit start
|
|
|
51
51
|
|
|
52
52
|
## 安装
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
四条路都是同一个工具,都不碰 `cline-app.exe`。用便携包的话连 Node 都不用装。
|
|
55
55
|
|
|
56
|
-
**1.
|
|
56
|
+
**1. 便携包 —— 不用装任何东西,也不需要 Node(推荐)**
|
|
57
|
+
|
|
58
|
+
从 [Releases](https://github.com/chentaoxing/Cline-kit/releases) 下载 `cline-kit-vX.Y.Z-portable-win.zip`,
|
|
59
|
+
解压到一个固定位置,**双击 `install.cmd`** 就完事:它把你的 Cline 快捷方式指向增强启动器,之后照常
|
|
60
|
+
点开 Cline 即可。不用命令行、不用配 PATH,文件夹里自带 Node 运行时(版本与校验值钉在
|
|
61
|
+
`scripts/portable-node.json`,构建时会拿 nodejs.org 官方的 SHASUMS256.txt 再核一遍)。
|
|
62
|
+
同一个目录里的 `ckit.cmd locales` 可以换语言,`ckit.cmd uninstall` 一键还原。
|
|
63
|
+
|
|
64
|
+
**2. npm —— 已经装了 Node.js 20.10+ 的人**
|
|
57
65
|
|
|
58
66
|
```bash
|
|
59
67
|
npm install -g cline-kit
|
|
68
|
+
ckit install # 把现有 Cline 快捷方式指向增强启动器
|
|
69
|
+
ckit start # 立刻带增强功能启动 Cline
|
|
60
70
|
```
|
|
61
71
|
|
|
62
|
-
|
|
72
|
+
好处是 `npm update -g cline-kit` 升级,以及 `ckit` 直接进 PATH。
|
|
63
73
|
|
|
64
|
-
|
|
74
|
+
**3. 不带运行时的 release zip**
|
|
65
75
|
|
|
66
|
-
|
|
67
|
-
ckit.cmd install
|
|
68
|
-
ckit.cmd start
|
|
69
|
-
```
|
|
76
|
+
`cline-kit-vX.Y.Z-win.zip` 是同一个包去掉自带 Node 的版本,给不想多背 84 MB 的人用;解压后在该目录跑
|
|
77
|
+
`ckit.cmd install`。
|
|
70
78
|
|
|
71
|
-
**
|
|
79
|
+
**4. 源码(要改代码时)**
|
|
72
80
|
|
|
73
81
|
```bash
|
|
74
82
|
git clone https://github.com/chentaoxing/Cline-kit.git
|
|
75
83
|
cd cline-kit
|
|
76
84
|
npm install -g . # 或直接用:node src/cli.js <命令>
|
|
77
|
-
npm test #
|
|
85
|
+
npm test # 29 项无依赖自检
|
|
78
86
|
```
|
|
79
87
|
|
|
80
88
|
装完统一确认一次:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cline-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Desktop enhancement kit for the Cline desktop app (Windows): keeps every registered project visible in the sidebar, and adds an interface-language picker inside Cline's own Settings (zh-CN, zh-TW, ja, ko, vi, or leave the text alone). Runtime overlay - no binary patching.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cline",
|