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 路由、路径解析与客户端组件。

パッケージ
@neplich/dsh-config-shared
互換性
未検証
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/09/01

インストール

検証済み 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.