@michengai/dsh-btw 0.1.1 → 0.1.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/CHANGELOG.md +12 -0
- package/CHANGELOG.zh-CN.md +12 -0
- package/README.md +0 -4
- package/README.zh-CN.md +0 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.1.3] - 2026-09-06
|
|
6
|
+
|
|
7
|
+
- Fix the package path in GitHub Actions so npm treats the tarball as a local file, and validate it with an npm publish dry run before publishing.
|
|
8
|
+
- Include the OIDC authorization check and its failure and credential-handling tests prepared for 0.1.2, whose publication failed before uploading a package.
|
|
9
|
+
- Remove the references and credits section from both READMEs. Plugin behavior is unchanged.
|
|
10
|
+
|
|
11
|
+
## [0.1.2] - 2026-09-06
|
|
12
|
+
|
|
13
|
+
- Add a GitHub Actions dry-run check that verifies the configured npm trusted publisher by exchanging an OIDC identity for a short-lived publishing credential without uploading a package.
|
|
14
|
+
- Add authorization failure and credential-handling tests for the release workflow. Plugin behavior is unchanged.
|
|
15
|
+
- Remove the references and credits section from both READMEs.
|
|
16
|
+
|
|
5
17
|
## [0.1.1] - 2026-09-06
|
|
6
18
|
|
|
7
19
|
- Limit each session to 20 side-question bubbles. At capacity, close the oldest completed bubble before accepting a new question; failed closure preserves answers and the current input with a localized message.
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
## [未发布]
|
|
4
4
|
|
|
5
|
+
## [0.1.3] - 2026-09-06
|
|
6
|
+
|
|
7
|
+
- 修复 GitHub Actions 安装包路径,确保 npm 将 tar 包识别为本地文件,并在正式发布前通过 npm publish dry run 验证。
|
|
8
|
+
- 包含原定 0.1.2 的 OIDC 授权检查及授权失败、凭据处理测试;0.1.2 发布在上传安装包前失败。
|
|
9
|
+
- 移除中英文 README 中的参考与致谢章节。插件功能保持不变。
|
|
10
|
+
|
|
11
|
+
## [0.1.2] - 2026-09-06
|
|
12
|
+
|
|
13
|
+
- 为 GitHub Actions 的不发布验证增加 npm 可信发布检查,通过 OIDC 身份交换短期发布凭据,验证授权但不上传安装包。
|
|
14
|
+
- 补充发布流程的授权失败和凭据处理测试。插件功能保持不变。
|
|
15
|
+
- 移除中英文 README 中的参考与致谢章节。
|
|
16
|
+
|
|
5
17
|
## [0.1.1] - 2026-09-06
|
|
6
18
|
|
|
7
19
|
- 限制每个会话最多保留 20 个旁问气泡;满额先关闭最旧的已完成气泡,成功后接收新问题,失败则保留答案和当前输入并显示中英文提示。
|
package/README.md
CHANGED
|
@@ -130,10 +130,6 @@ npm run check
|
|
|
130
130
|
|
|
131
131
|
To install from source, run `dsh plugin --profile web add . --ignore-scripts` from the project directory, then reload DSH.
|
|
132
132
|
|
|
133
|
-
## References and Credits
|
|
134
|
-
|
|
135
|
-
Interaction design was informed by [dsh-btw-plugin](https://github.com/JasonQQ/dsh-btw-plugin), [dsh-AIR](https://github.com/kaieye/dsh-AIR), and [pi-btw](https://pi.dev/packages/@narumitw/pi-btw). This plugin is implemented independently.
|
|
136
|
-
|
|
137
133
|
## License
|
|
138
134
|
|
|
139
135
|
[Apache-2.0](LICENSE). Copyright 2026 MichengAI.
|
package/README.zh-CN.md
CHANGED
|
@@ -128,10 +128,6 @@ npm run check
|
|
|
128
128
|
|
|
129
129
|
从源码安装时,在项目目录执行 `dsh plugin --profile web add . --ignore-scripts`,然后重新加载 DSH。
|
|
130
130
|
|
|
131
|
-
## 参考与致谢
|
|
132
|
-
|
|
133
|
-
交互设计参考 [dsh-btw-plugin](https://github.com/JasonQQ/dsh-btw-plugin)、[dsh-AIR](https://github.com/kaieye/dsh-AIR) 和 [pi-btw](https://pi.dev/packages/@narumitw/pi-btw),代码独立实现。
|
|
134
|
-
|
|
135
131
|
## 许可证
|
|
136
132
|
|
|
137
133
|
[Apache-2.0](LICENSE) © 2026 MichengAI。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@michengai/dsh-btw",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "DSH 一次性只读旁问气泡",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"build": "node scripts/build.mjs",
|
|
55
55
|
"typecheck": "tsc --noEmit",
|
|
56
56
|
"test": "vitest run",
|
|
57
|
-
"test:release": "node --test tests/release.test.mjs",
|
|
57
|
+
"test:release": "node --test tests/release.test.mjs tests/npm-oidc.test.mjs",
|
|
58
58
|
"check": "npm run typecheck && npm test && npm run test:release && npm run build",
|
|
59
59
|
"preview": "vite preview --host 127.0.0.1",
|
|
60
60
|
"dev": "vite --host 127.0.0.1",
|