← 返回列表
D

dsh-config-form

v0.2.0 · 0 天前发布

One settings page for every plugin that opts in: declare fields, get a rendered form

dshdsh-plugindeepseek-harnesssettingsconfiguration

README

dsh-config-form



One settings page for every plugin that opts in. An adopting plugin declares its fields; this plugin routes and renders them.

It is a router and a renderer, not a framework. Storage is the author's choice — pass a store and this plugin keeps nothing, or omit it and the settings seam keeps the values for you. Authorization over the values stays with the declaring plugin.

If Fabric's split is the analogy: dsh already ships the Mod Menu part — the Settings shell, the Plugins section, and the settings.plugins.tab slot. What was missing is Cloth Config: a declarative form API. That is this.

![npm](https://www.npmjs.com/package/dsh-config-form)

Status: **published as [dsh-config-form](https://www.npmjs.com
查看完整 README →

版本兼容矩阵

DSH 版本状态说明
dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
dsh@0.1.0 ✅ 兼容 标准 patch ✅
dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
dsh@0.3.0+ ❓ 未知 尚未发布

💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

元数据

License
MIT
npm
dsh-config-form
Repo
git+https://github.com/begonia599/dsh-config-form.git
Engines
{}
Weekly DL
0
Monthly DL
0
dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-settings-plugins"]}}