Skip to content

DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.

530 B
Raw Blame
import type { ClientContext } from 'dsh-tauri/client'
import { PLUGIN_ID } from '../shared/constants'
import { LOCALE_EFFECT, UI_COMPONENTS_EFFECT } from './constants'
import { locale } from './locales'
import { registerUiComponentsPanel } from './register/components-playground'

export const name = PLUGIN_ID

export const inject = ['slots', 'layout', 'locale']

export function apply(ctx: ClientContext): void {
  ctx.effect(locale.registerLocale, LOCALE_EFFECT)
  ctx.effect(registerUiComponentsPanel, UI_COMPONENTS_EFFECT)
}