Read configured plugin market indexes on the Host, search them with fuzzy multilingual matching, and install a chosen version from the Plugins page. - dsh-plugin-market-index validates format-1 indexes and builds install arguments; inline icons are capped at 32 KiB. - The pluginMarket service fetches configured http(s) URLs, parses bodies in a Worker Thread, caches documents, and pages filtered, ordered results with installation status and engines.dsh compatibility. - Discover is an opt-in experimental bundle; the Plugins page gains a plugins.tab slot and confirmed installs. - The plugin_market tool lists indexes, plugins, and versions for Creator mode. - Plugin compatibility reads engines.dsh before DSH peer dependencies.
2.1 KiB
2.1 KiB
description, kind
| description | kind |
|---|---|
| boot 包组:dsh app bin 如何启动——环境加载、profile 与 patch 层、清晰的启动失败信息,以及由应用持有的命令行。 | package-group |
boot/:共享的 app bin 启动粘合层
English | 中文
概述
boot 组负责启动 profile 应用并管理其已安装组合。app-boot 解析配置并启动 Loader,cmdline 提供应用参数,plugin-manager 提供与 CLI 共享的当前 profile 操作。各包 README 负责各自的细节。
目录
包
| 包 | 职责 | ctx 键 |
|---|---|---|
app-boot |
从 cordis.yml 启动 dsh 应用:加载 .env、应用 profile 与 patch 层,并清晰报告启动失败 |
(供各 bin 使用的库) |
cmdline |
让应用持有自己的 flag、--help 与退出码;启动器自身 flag 之后的一切原样传入 |
cmdlineArgs、appExit |
hmr |
协调模块与配置重载,并与包修改互斥执行 | hmr |
config-editor |
通过 Loader 应用并持久化当前 profile 配置 | configEditor |
plugin-manager |
通过共享 CLI 操作管理当前 profile 插件与组合包 | pluginManager |
plugin-market |
读取用户配置的插件市场索引,供发现页和 plugin_market 工具使用 |
pluginMarket |
相关文档
-
dsh 应用——在其启动序列中使用这些 helper 的
dshbin。 -
Profile 组合包——可由
dsh --profile组合挂载的可安装 patch 层。 -
dsh-home-paths——两个包都依赖的 harness home 解析器。
-
dsh-cmdline——flag 家族如何由应用持有而非启动器。
-
Profile 管理——服务方法与结果记录。
开发备注
无。