Neplich/dsh_plugin--packages-feature-dsh-config-shared ↗★ 1

@neplich/dsh-config-shared

Internal shared code for the @neplich/dsh-config-* plugins (HTTP helpers, path resolution, workspace roots, scoped-page client widgets). Inlined by consumers; not a plugin itself. 普通用户无需安装;仅开发 config 系列插件者需了解其提供 HTTP 路由、路径解析与客户端组件。

Package
@neplich/dsh-config-shared
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Sep 1, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full 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.