orxz/deepseek-harness-themes--packages-core ↗★ 2
@deepseek-harness-themes/core
用于 deepseek-harness 主题的主题定义与注册辅助工具。
AI 分析
核心用途是为 DSH 主题开发提供底层的定义和注册支持。适合主题开发者或需要手动注册自定义 DSH 界面主题的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:orxz/deepseek-harness-themes#38e14b1a40abc5540c16574920d15efd44bd9073&path:packages/core说明文档
阅读完整 README ↗Usage
Standalone install (registers all themes, no picker):
dsh plugin --profile
add @deepseek-harness-themes/core
For custom assemblies, use the registration helper directly:
import { registerThemes } from "@deepseek-harness-themes/core";
export function apply(ctx: ClientContext): void {
ctx.effect(() => registerThemes(ctx.theme), "my-plugin: register themes");
}
Selection is a host concern: call ctx.theme.setTheme('midnight') once the theme is registered. Durable third-party selection lives in the companion @deepseek-harness-themes/ui plugin.