orxz/deepseek-harness-themes--packages-core2

@deepseek-harness-themes/core

用于 deepseek-harness 主题的主题定义与注册辅助工具。

AI 分析

核心用途是为 DSH 主题开发提供底层的定义和注册支持。适合主题开发者或需要手动注册自定义 DSH 界面主题的用户。

包名
@deepseek-harness-themes/core
版本
0.0.1
许可证
MIT
最近更新
2026年8月14日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:orxz/deepseek-harness-themes#38e14b1a40abc5540c16574920d15efd44bd9073&path:packages/core

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.