@noob-stupid/dsh-plugin-console 0.3.46 → 0.3.48
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 +314 -319
- package/README.zh.md +9 -13
- package/lib/client.js +4 -4
- package/lib/index.js +278 -101
- package/package.json +44 -44
package/README.zh.md
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
> **English**: [README.md](README.md) | **中文**: [README.zh.md](README.zh.md)
|
|
2
2
|
|
|
3
|
-
> **📢 npm 版本顺延到 9 月 15 日发布**
|
|
4
|
-
>
|
|
5
|
-
> npm 上 `@noob-stupid/dsh-plugin-console` 目前仍是 **0.3.33**;**最新版(v0.3.46)将于 2026-09-15 发布到 npm**。
|
|
6
|
-
> 这几天想用新版,直接从本仓库 / [v0.3.46 Release](https://github.com/Noob-stupid/dsh-plugin-hub/releases/tag/v0.3.46) 取源码:
|
|
7
|
-
> 把 `lib/` 与 `package.json` 放进 `~/.dsh/profiles/<profile>/node_modules/@noob-stupid/dsh-plugin-console/` 后重启 DSH 即可(内容与 npm 包一致)。
|
|
8
|
-
> 9/15 之后在控制台点「检测更新 → 更新并适配」,或 `dsh plugin add @noob-stupid/dsh-plugin-console`。
|
|
9
|
-
|
|
10
3
|
---
|
|
11
4
|
|
|
12
5
|
<img width="1170" height="609" alt="image" src="https://github.com/user-attachments/assets/b802d606-14ba-4151-9956-ff642ed12b0a" />
|
|
@@ -218,7 +211,7 @@ git clone https://github.com/Noob-stupid/dsh-plugin-hub /tmp/dsh-plugin-console
|
|
|
218
211
|
|
|
219
212
|
## 帮助 / Help
|
|
220
213
|
|
|
221
|
-
遇到问题先看这里;仍有疑问请到 [
|
|
214
|
+
遇到问题先看这里;仍有疑问请到 [议题](https://github.com/Noob-stupid/dsh-plugin-hub/issues) 提问。
|
|
222
215
|
|
|
223
216
|
- **面板没出现**:重启 dsh 服务 → 刷新页面 → 设置 → 插件 → 插件管理。
|
|
224
217
|
- **点开关没反应**:基础设施行带"受保护"标签(禁止开关,这是保护机制);普通插件开关经
|
|
@@ -276,11 +269,14 @@ MIT
|
|
|
276
269
|
|
|
277
270
|
---
|
|
278
271
|
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
<img src="./community-group.png" alt="扫码加入 dsh-plugin-hub 交流群" width="240">
|
|
272
|
+
---
|
|
282
273
|
|
|
283
|
-
|
|
274
|
+
## 预览版(实验性 · 请勿用于生产)
|
|
284
275
|
|
|
285
|
-
|
|
276
|
+
分层重构预览线在**独立仓库**:[**`Noob-stupid/dsh-plugin-hub-refactor`**](https://github.com/Noob-stupid/dsh-plugin-hub-refactor)
|
|
286
277
|
|
|
278
|
+
- **它是什么**:把单体 `lib/index.js`(7637 行)拆成分层结构 —— `lib/index.js` **142 行** + `lib/server/**` **36 个模块**,**功能与 `0.3.48` 等价**,只为可维护性;
|
|
279
|
+
- **已验证**:18 套测试全绿 · 8 条架构守卫断言 · 与稳定版逐条对打 **47 条路由,`status` + 响应字段 47/47 一致**;
|
|
280
|
+
- **尚未实测**:真框架升级 / 真回滚、重启守护链路、真装真卸、组件进程启停、AI 真跑、Gitee OAuth 回调(长尾风险主观估计 **10%~25%**);
|
|
281
|
+
- **日常使用请继续用**:npm `@noob-stupid/dsh-plugin-console@0.3.48`,或本仓库 `main`。
|
|
282
|
+
- 请多反馈问题
|
package/lib/client.js
CHANGED
|
@@ -112,8 +112,8 @@ window.__ModuleLoader__.load({
|
|
|
112
112
|
familyTag: "全家桶",
|
|
113
113
|
familySubs: "子包",
|
|
114
114
|
familyUnlockAll: "一键启用已适配",
|
|
115
|
-
familyUnlockAllTip: "
|
|
116
|
-
familyUnlockAllConfirm: "
|
|
115
|
+
familyUnlockAllTip: "对全家桶内尚未通过扫描的子包重跑源码扫描:通过即解锁启用;未通过保持禁用并给出原因",
|
|
116
|
+
familyUnlockAllConfirm: "将对全家桶内尚未通过扫描的子包重跑源码扫描,通过的一键解锁启用?未通过的保持禁用。",
|
|
117
117
|
familyUnlockAllDone: "已批量适配解锁",
|
|
118
118
|
familyExpand: "展开",
|
|
119
119
|
familyCollapse: "收起",
|
|
@@ -483,8 +483,8 @@ window.__ModuleLoader__.load({
|
|
|
483
483
|
familyTag: "Family bundle",
|
|
484
484
|
familySubs: "sub packages",
|
|
485
485
|
familyUnlockAll: "Unlock all adapted",
|
|
486
|
-
familyUnlockAllTip: "
|
|
487
|
-
familyUnlockAllConfirm: "
|
|
486
|
+
familyUnlockAllTip: "Re-run the source scan for sub packages not yet verified: passing ones get unlocked; failing ones stay disabled with a reason",
|
|
487
|
+
familyUnlockAllConfirm: "Re-run the source scan for every not-yet-verified sub package in this family and unlock the ones that pass? Failing ones stay disabled.",
|
|
488
488
|
familyUnlockAllDone: "Family batch unlock done",
|
|
489
489
|
familyExpand: "Expand",
|
|
490
490
|
familyCollapse: "Collapse",
|