cline-kit 0.2.0 → 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 CHANGED
@@ -4,8 +4,60 @@ 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
+
39
+ ## [0.2.1] - 2026-09-21
40
+
41
+
42
+ ### Changed
43
+
44
+ - **zh-TW dictionary v3**: the send action was rendered two different ways in the same locale
45
+ (發送 in four strings, 送出 in four others). It is now 傳送, which is both what a zh-TW reader sees
46
+ in Microsoft and Google products for that button and, more importantly, self-consistent.
47
+ - Locale terminology was cross-checked against professional human localizations - the MIT-licensed
48
+ `microsoft/vscode-loc` packs (zh-hant/ja/ko) and the MPL-2.0 Firefox localizations (vi, since no
49
+ VS Code Vietnamese pack exists). `scripts/terminology-crosscheck.js` reports divergences and
50
+ changes nothing; [`docs/terminology.md`](docs/terminology.md) records the sources, the coverage
51
+ limits, and every divergence that was reviewed and deliberately kept (會話 for a chat session
52
+ rather than Microsoft's 工作階段, 작업 공간 over 작업 영역, 스킬 for a product noun). One item is
53
+ marked genuinely arguable rather than settled: 智慧代理 for "agent".
54
+ - NOTICE no longer claims nothing was taken from third-party translation projects, which stopped
55
+ being true the moment a term was adopted from one.
56
+
57
+
7
58
  ## [0.2.0] - 2026-09-21
8
59
 
60
+
9
61
  ### Added
10
62
 
11
63
  - **`language-picker` feature - the interface language is now chosen inside Cline.** Settings gains an
package/NOTICE CHANGED
@@ -54,7 +54,15 @@ app and out of `apps/examples/desktop-app` in the Apache-2.0 `cline/cline` repos
54
54
  are original work of this project.
55
55
 
56
56
  `zh-TW.json`, `ja.json`, `ko.json` and `vi.json` hold the same 476 keys, translated with machine
57
- assistance and then terminology-checked inside this project. zh-TW additionally went through a
58
- character-sense review rather than a simplified-to-traditional swap. None of the four has been reviewed
59
- by a native speaker of the target language, and each file says so in its own `note` field. They contain
60
- no code, no assets and no text taken from any third-party translation project.
57
+ assistance. Their terminology was then cross-checked against professional human localizations of the
58
+ same software vocabulary - the MIT-licensed `microsoft/vscode-loc` packs (zh-hant, ja, ko) and the
59
+ MPL-2.0 Firefox localizations (vi) - using `scripts/terminology-crosscheck.js`. Where the reference
60
+ term was simply the standard one we adopted it; where we kept a different rendering the reason is
61
+ recorded in `docs/terminology.md`. zh-TW additionally went through a character-sense review rather
62
+ than a simplified-to-traditional swap.
63
+
64
+ None of the four has been reviewed by a native speaker of the target language, and each file says so
65
+ in its own `note` field. The cross-check compares terminology; it cannot judge fluency or register.
66
+ No translation memory, string table or file from a third-party localization project is redistributed
67
+ in this repository - the reference packs are downloaded at check time into a local cache and are
68
+ never committed.
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
- Three routes, same tool. All of them need Node.js on `PATH`; none of them touch `cline-app.exe`.
60
+ Four routes, same tool. None of them touch `cline-app.exe`.
60
61
 
61
- **1. npm (recommended)**
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
- **2. Release zip (no global install)**
81
+ Worth it when you want `npm update -g cline-kit` and a `ckit` on PATH.
70
82
 
71
- Download `cline-kit-vX.Y.Z-win.zip` from [Releases](https://github.com/chentaoxing/Cline-kit/releases), unzip anywhere, and run the bundled
72
- shim once from that folder:
83
+ **3. Release zip without the runtime**
73
84
 
74
- ```cmd
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
- **3. From source (contributing)**
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 # 28 checks, no dependencies
94
+ npm test # 29 checks, no dependencies
86
95
  ```
87
96
 
88
97
  Then in every case:
@@ -156,7 +165,9 @@ The row is added by this kit — Cline has no language setting of its own. Turn
156
165
  dictionaries ship: **zh-CN** (reference, proofread against the running app), **zh-TW**, **ja**,
157
166
  **ko**, **vi** - complete but machine-assisted and *not* reviewed by native speakers, so a pull
158
167
  request fixing a term is genuinely welcome. Choose one in Cline's Settings, or with
159
- `ckit locales` — see [Choosing a language](#choosing-a-language). Authoring guide:
168
+ `ckit locales` — see [Choosing a language](#choosing-a-language). Terminology was cross-checked against
169
+ professional human localizations and the deliberate differences are listed in
170
+ [`docs/terminology.md`](docs/terminology.md); authoring guide:
160
171
  [`docs/dictionary-pipeline.zh-CN.md`](docs/dictionary-pipeline.zh-CN.md).
161
172
 
162
173
  ## Limitations
package/README.zh-CN.md CHANGED
@@ -51,30 +51,38 @@ ckit start
51
51
 
52
52
  ## 安装
53
53
 
54
- 三条路都是同一个工具,都要求 `PATH` 里有 Node.js,都不碰 `cline-app.exe`。
54
+ 四条路都是同一个工具,都不碰 `cline-app.exe`。用便携包的话连 Node 都不用装。
55
55
 
56
- **1. npm(推荐)**
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
- **2. Release 压缩包(不装到全局)**
72
+ 好处是 `npm update -g cline-kit` 升级,以及 `ckit` 直接进 PATH。
63
73
 
64
- Releases 下载 `cline-kit-vX.Y.Z-win.zip`,解压到任意目录,在该目录里跑一次自带的启动脚本:
74
+ **3. 不带运行时的 release zip**
65
75
 
66
- ```cmd
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
- **3. 源码(要改代码时)**
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 # 28 项无依赖自检
85
+ npm test # 29 项无依赖自检
78
86
  ```
79
87
 
80
88
  装完统一确认一次:
@@ -141,7 +149,8 @@ ckit locales none # 不再替换 Cline 自己的文案
141
149
  现在随包附带 5 份词典:**zh-CN**(基准,逐条对着运行中的界面校对过)、**zh-TW**、**ja**、**ko**、
142
150
  **vi** —— 后四份条目齐全但属于机器辅助翻译、未经母语者审校,术语有偏差欢迎提 PR 直接改。
143
151
  切换:Cline 设置页的「界面语言」,或 `ckit locales ja`,正在打开的窗口**不需要重启或刷新**就会跟着变;
144
- `ckit update` 也只更新你选的那一份。详见[选择语言](#选择语言)。制作流程见
152
+ `ckit update` 也只更新你选的那一份。详见[选择语言](#选择语言)。术语已对照官方人工本地化校验,
153
+ 有意保留的差异见 [`docs/terminology.md`](docs/terminology.md);制作流程见
145
154
  [`docs/dictionary-pipeline.zh-CN.md`](docs/dictionary-pipeline.zh-CN.md)。
146
155
 
147
156
  ## 已知限制
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": 2,
2
+ "version": 3,
3
3
  "language": "zh-TW",
4
4
  "label": "繁體中文",
5
5
  "clineVersion": "0.0.32",
6
6
  "updated": "2026-09-21",
7
- "note": "Whole-string exact matches only. Rules run before prefixes; $1..$9 come from rule capture groups. Provider, model and product names are intentionally left in English. Same 476 strings as zh-CN, localised for Taiwan software usage (外掛程式 / 市集 / 智慧代理 / 重新整理 / 匯入) with character-sense review rather than a mechanical simplified-to-traditional swap.",
7
+ "note": "Whole-string exact matches only. Rules run before prefixes; $1..$9 come from rule capture groups. Provider, model and product names are intentionally left in English. Same 476 strings as zh-CN, localised for Taiwan software usage (外掛程式 / 市集 / 智慧代理 / 重新整理 / 匯入) with character-sense review rather than a mechanical simplified-to-traditional swap. Terminology cross-checked against the official VS Code zh-hant language pack (MIT) - see docs/terminology.md.",
8
8
  "entries": {
9
9
  "Session": "會話",
10
10
  "Sessions": "會話清單",
@@ -54,8 +54,8 @@
54
54
  "What would you like to build?": "您想建立什麼?",
55
55
  "Ask to make changes, @mention files, reference #PRs, or run /commands.": "直接提出需求,也能 @提及檔案、引用 #PR 或執行 /命令。",
56
56
  "Enter your question or type / for commands or @ for context": "輸入問題,或輸入 / 叫出命令、@ 加入上下文",
57
- "Send message": "發送訊息",
58
- "Send (Enter)": "發送 (Enter)",
57
+ "Send message": "傳送訊息",
58
+ "Send (Enter)": "傳送 (Enter)",
59
59
  "Attach files": "新增附件",
60
60
  "Model and provider": "模型與供應商",
61
61
  "Thinking level": "思考程度",
@@ -105,7 +105,7 @@
105
105
  "Desktop": "桌面端",
106
106
  "Manage desktop preferences for this browser and CLI environment.": "管理此瀏覽器與 CLI 環境的桌面偏好設定。",
107
107
  "Desktop notifications": "桌面通知",
108
- "Notify only while the Cline window is in the background. Clicking a notification opens its session.": "僅在 Cline 視窗於背景執行時發送通知;點擊通知會開啟對應的會話。",
108
+ "Notify only while the Cline window is in the background. Clicking a notification opens its session.": "僅在 Cline 視窗於背景執行時傳送通知;點擊通知會開啟對應的會話。",
109
109
  "Notifications are blocked in system settings.": "通知已在系統設定中被封鎖。",
110
110
  "Check permission": "檢查權限",
111
111
  "Event": "事件",
@@ -430,7 +430,7 @@
430
430
  "Pick your repositories": "選取您的程式庫",
431
431
  "Previous generated image": "上一張產生的圖片",
432
432
  "Pull request status": "拉取請求狀態",
433
- "Read, search, draft, and send email from your Gmail account.": "從您的 Gmail 帳戶讀取、搜尋、起草並發送郵件。",
433
+ "Read, search, draft, and send email from your Gmail account.": "從您的 Gmail 帳戶讀取、搜尋、起草並傳送郵件。",
434
434
  "Ready to merge": "可以合併",
435
435
  "Refresh channels": "重新整理頻道",
436
436
  "Refresh pull request status": "重新整理拉取請求狀態",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cline-kit",
3
- "version": "0.2.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",