@noob-stupid/dsh-plugin-console 0.3.59 → 0.3.60

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 CHANGED
@@ -311,4 +311,4 @@ The layered-refactor preview lives in its **own repository**: [**`Noob-stupid/ds
311
311
  - **What it is**: the monolithic `lib/index.js` (8547 lines) split into layers — `lib/index.js` **141 lines** + `lib/server/**` **38 modules**; **feature-equivalent to `0.3.57`**, maintainability only;
312
312
  - **Verified**: 19 test suites green · 8 architecture-guard assertions · **route inventory identical** (`status` + response fields) against the stable build;
313
313
  - **Not yet exercised**: real framework upgrade / rollback, restart guardian, component start/stop, real AI run, Gitee OAuth (~10–25% long-tail risk, subjective);
314
- - **For everyday use** stick to npm `@noob-stupid/dsh-plugin-console@0.3.59`, or `main` of this repo.
314
+ - **For everyday use** stick to npm `@noob-stupid/dsh-plugin-console@0.3.60`, or `main` of this repo.
package/README.zh.md CHANGED
@@ -279,5 +279,5 @@ MIT
279
279
  - **已验证**:19 套测试全绿 · 8 条架构守卫断言 · 与稳定版逐条对打**路由清单一致**(`status` + 响应字段);
280
280
  - **已实测**(2026-09-20 真装真卸演练):普通插件 / bundle 插件 / 无 npm 仓库 / 套装 / 技能 / 聚合仓库子包 / 仓库落地 / 服务器组件启停;
281
281
  - **尚未实测**:真框架升级 / 真回滚、重启守护链路、AI 真跑、Gitee OAuth 回调(长尾风险主观估计 **10%~25%**);
282
- - **日常使用请继续用**:npm `@noob-stupid/dsh-plugin-console@0.3.59`,或本仓库 `main`。
282
+ - **日常使用请继续用**:npm `@noob-stupid/dsh-plugin-console@0.3.60`,或本仓库 `main`。
283
283
  - 请多反馈问题
package/lib/index.js CHANGED
@@ -5679,7 +5679,10 @@ const RELEASE_CHANNEL_BUDGET = 3
5679
5679
  * 也给离线 e2e(test-suite-install.mjs)用:那条用例不该为了验证通道派发去真装一个包。 */
5680
5680
  function channelImpls(ports) {
5681
5681
  const real = { pnpmInstall, curlManualInstall, raceInstallChannels, githubReleaseInstall, backfillMissingDeps }
5682
- const override = ports?.installChannels
5682
+ // 测试注入缝:ports 在生产路径上可能是 cordis 的 ctx 代理,直接访问未 inject 的属性会**同步抛错**
5683
+ // (cannot get property ... without inject),导致每一次安装都失败 → 必须兜住。
5684
+ let override = null
5685
+ try { override = ports?.installChannels ?? null } catch { override = null }
5683
5686
  return override !== null && typeof override === 'object' ? { ...real, ...override } : real
5684
5687
  }
5685
5688
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noob-stupid/dsh-plugin-console",
3
- "version": "0.3.59",
3
+ "version": "0.3.60",
4
4
  "description": "DSH plugin management panel & marketplace: one-click enable/disable, multi-source market (GitHub/Gitee/custom), static-index market (500+ plugins / 300 skills), skills, suites, and one-click framework upgrade.",
5
5
  "repository": {
6
6
  "type": "git",