Neplich/dsh_plugin--packages-feature-dsh-config-shared ↗★ 1
@neplich/dsh-config-shared
供 dsh-config 系列插件内联使用的内部共享代码包,本身不是插件,不单独安装。 普通用户无需安装;仅开发 config 系列插件者需了解其提供 HTTP 路由、路径解析与客户端组件。
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗@neplich/dsh-config-shared
中文版 · English
Internal shared code package for the @neplich/dsh-config-* plugins: HTTP route helpers, platform path resolution ($DSH_HOME / $DSH_AGENTS_HOME), the workspace project-root list, plus the client-side ScopeBar (personal/project toggle + project-root dropdown), SectionShell and shared styles.
This is not a plugin and is not installed standalone; each config-* plugin inlines it at build time as a devDependency (the host half is bundled into lib/index.js by tsdown, the client half into lib/client.js).
Internationalization
ScopeBar UI copy (personal/project toggle, project-root dropdown, error hints) ships through this package's exported sharedScopeZh / sharedScopeEn dictionaries (keys prefixed scope.); each consuming plugin spreads them into its own locale namespace (single source of truth) and passes them in via ScopeBar's t prop.