All plugins

DSH / BUNDLE / BUNDLES

dsh-index-tap-bridge

v0.1.0VCPr0j3k7 / dsh-index-tap-bridge479db9cec9

InstallableBundlesBundles & other modulesCommunity · Topic auto-analysis

Overview

dsh-index-tap-bridge

让依赖 webServer.tapIndex 注入脚本的 DSH 插件在官方 Harness 桌面版里也能生效:把 tapIndex 的 HTML 变换自动翻译成桌面外壳认的结构化注入行(webserver/index-inject)。

README / EN

Package documentation

Registry summary

让依赖 webServer.tapIndex 注入脚本的 DSH 插件在官方 Harness 桌面版里也能生效:把 tapIndex 的 HTML 变换自动翻译成桌面外壳认的结构化注入行(webserver/index-inject)。

dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.

Read the full README on GitHub

LIMITATIONS

Known limitations

- **仅翻译可翻译的标记。** 若 `tapIndex` 中执行的是**修改**已有标记(而非新增),则无法翻译。 此类标记会通过 `console.warn` 列出,不会被静默忽略。 - **官方若变更 `indexTaps` 字段名,桥接将静默失效**(存在 `Array.isArray` 守卫,不抛错)。 届时需改为包装 `tapIndex()` 的方式实现。 - **`<canvas>` 一类标记不会被强行翻译为 `html` 行**:`insertAdjacentHTML` 无法表达「替换已有 节点」的语义,强行翻译会产出错误结果,因此此类标记会被明确报告为未翻译。 - **官方桌面版的插件库开关会重写 `dsh.profile.bundles`**(内部调用 `sanitizeProfile(...)` 清理 非官方 bundle)。若桥接突然失效,应首先检查 `bundles` 中该条目是否仍然存在。