适配 DSH 0.1.6-alpha.2 并更新本体接口与验证

This commit is contained in:
yexi committed 2026-09-19 16:39:48 +08:00
1 parent 5c6492db71
commit fa575632e5
34 files changed
+284 -781

No files matched your search

+3 -3
View File
@@ -6,14 +6,14 @@
*/
import { useState } from 'react'
import type { InjectFace, PropsLocale, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots'
// Type-only: the `settings.plugin.item` keyed slot declaration.
import type {} from '@deepseek-ai/dsh-client-ui-settings-plugins/client'
// Type-only: 本体插件管理页的配置槽位。
import type {} from '@deepseek-ai/dsh-client-ui-plugin-manager/client'
import type { UnrestrictedCardInjected, UnrestrictedModeState } from './controller.ts'
import type { UnrestrictedLocaleKey } from './locales.ts'
/** Full component props assembled by the Settings slot renderer. */
export type UnrestrictedCardProps =
PropsRuntime<'settings.plugin.item'>
PropsRuntime<'plugins.bundle.config'>
& PropsLocale<'settings.unrestricted'>
& InjectFace<UnrestrictedCardInjected>