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

@deepseek-harness-themes/core

Theme definitions and registration helpers for deepseek-harness themes

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.