dsh-prompt-predict 0.2.0 → 0.2.1
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 +12 -5
- package/{CHANGELOG.zh.md → CHANGELOG_zh.md} +10 -4
- package/README.md +2 -2
- package/{README.zh.md → README_zh.md} +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -4,11 +4,18 @@ All notable changes to this project are documented here. The format follows
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the version numbers follow
|
|
5
5
|
[Semantic Versioning](https://semver.org/).
|
|
6
6
|
|
|
7
|
-
[中文](
|
|
7
|
+
[中文](CHANGELOG_zh.md)
|
|
8
8
|
|
|
9
|
-
## [0.2.
|
|
9
|
+
## [0.2.1] — 2026-10-17
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **The npm package page rendered the Chinese README.** npm picks the first `README.*` match in
|
|
14
|
+
glob order, and `README.zh.md` sorts before `README.md`, so the Chinese file won. The Chinese
|
|
15
|
+
README is now `README_zh.md`, which npm's `{README,README.*}` pattern does not match, so
|
|
16
|
+
`README.md` (English) is always the one published. Supersedes `0.2.0`; no code changes.
|
|
17
|
+
|
|
18
|
+
## [0.2.0] — 2026-10-17
|
|
12
19
|
|
|
13
20
|
### Added
|
|
14
21
|
|
|
@@ -35,10 +42,10 @@ All notable changes to this project are documented here. The format follows
|
|
|
35
42
|
|
|
36
43
|
### Docs
|
|
37
44
|
|
|
38
|
-
- English README is now the primary `README.md` (Chinese moved to `
|
|
45
|
+
- English README is now the primary `README.md` (Chinese moved to `README_zh.md`, 11 sections each, cross-linked)
|
|
39
46
|
- README gained the in-DSH install route, npm install and badges, the four interactions, and the new settings
|
|
40
47
|
- New demo assets: `docs/demo.gif`, `docs/screenshot.png`, `docs/social-preview.png`
|
|
41
|
-
- This file (`CHANGELOG.md` / `
|
|
48
|
+
- This file (`CHANGELOG.md` / `CHANGELOG_zh.md`)
|
|
42
49
|
|
|
43
50
|
## [0.1.0] — 2026-10-17
|
|
44
51
|
|
|
@@ -5,9 +5,15 @@
|
|
|
5
5
|
|
|
6
6
|
[English](CHANGELOG.md)
|
|
7
7
|
|
|
8
|
-
## [0.2.
|
|
8
|
+
## [0.2.1] — 2026-10-17
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
### 修复
|
|
11
|
+
|
|
12
|
+
- **npm 包页显示的是中文 README**。npm 按 glob 取第一个 `README.*` 匹配,而 `README.zh.md`
|
|
13
|
+
排序在 `README.md` 之前,于是中文版被选中。中文版改名 `README_zh.md` 后不再匹配
|
|
14
|
+
`{README,README.*}`,npm 必然选到英文的 `README.md`。取代 `0.2.0`,无代码改动。
|
|
15
|
+
|
|
16
|
+
## [0.2.0] — 2026-10-17
|
|
11
17
|
|
|
12
18
|
### 新增
|
|
13
19
|
|
|
@@ -34,10 +40,10 @@
|
|
|
34
40
|
|
|
35
41
|
### 文档
|
|
36
42
|
|
|
37
|
-
- 英文版升为主 `README.md`(中文移到 `
|
|
43
|
+
- 英文版升为主 `README.md`(中文移到 `README_zh.md`,两侧 11 节逐节对应并互链)
|
|
38
44
|
- README 补充「在 DSH 里安装」、npm 安装方式与徽章、四种交互说明、新设置项
|
|
39
45
|
- 演示素材重录为含 `↻` / `Alt+→` 的新界面:`docs/demo.gif`、`docs/screenshot.png`、`docs/social-preview.png`
|
|
40
|
-
- 本文件(`CHANGELOG.md` / `
|
|
46
|
+
- 本文件(`CHANGELOG.md` / `CHANGELOG_zh.md`)
|
|
41
47
|
|
|
42
48
|
## [0.1.0] — 2026-10-17
|
|
43
49
|
|
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
</div>
|
|
14
14
|
|
|
15
15
|
<div align="center">
|
|
16
|
-
🌏 <a href="./
|
|
16
|
+
🌏 <a href="./README_zh.md">中文</a> · <b>English</b>
|
|
17
17
|
</div>
|
|
18
18
|
|
|
19
19
|
<div align="center">
|
|
@@ -213,4 +213,4 @@ The tests need no DSH runtime: a fake ctx plus a local HTTP server cover route r
|
|
|
213
213
|
|
|
214
214
|
Free to use, modify and distribute, including in closed-source commercial projects — just keep the copyright notice and license text.
|
|
215
215
|
|
|
216
|
-
See [CHANGELOG.md](./CHANGELOG.md) for the change history ([中文](./
|
|
216
|
+
See [CHANGELOG.md](./CHANGELOG.md) for the change history ([中文](./CHANGELOG_zh.md)).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-prompt-predict",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "输入框提示词联想插件:助手回复结束后预测你的下一句话,以灰色 ghost text 浮在输入框里,Tab 采纳、Esc 忽略 | Codex-style composer prompt predictions for DeepSeek Harness: your next message ghosted into the composer, accepted with Tab.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"client",
|
|
17
17
|
"cordis.patch.yml",
|
|
18
18
|
"README.md",
|
|
19
|
-
"
|
|
19
|
+
"README_zh.md",
|
|
20
20
|
"CHANGELOG.md",
|
|
21
|
-
"
|
|
21
|
+
"CHANGELOG_zh.md"
|
|
22
22
|
],
|
|
23
23
|
"scripts": {
|
|
24
24
|
"test": "node test/predict.mjs && node test/client-render.mjs",
|