KaichenCurry/dsh-design-mode--packages-client-ui-renderer ↗★ 33

@deepseek-ai/dsh-client-ui-renderer

浏览器端 React 渲染层,提供插槽绑定与应用根挂载 适合开发或集成 dsh Web 界面的开发者,负责渲染层装配。

包名
@deepseek-ai/dsh-client-ui-renderer
兼容性
待验证
Harness 依赖范围
workspace:^
Cordis 依赖范围
workspace:^
版本
0.1.1-rc.2
许可证
MIT
最近更新
2026年9月1日

同名包的其他仓库

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

@deepseek-ai/dsh-client-ui-renderer

English | 中文

The browser Cordis plugin that owns the React rendering layer. dsh-client-web renders a framework-free boot page and loads the complete client plugin roster; after every entry activates, it calls ctx.uiRenderer.mount(container). This package provides that service, installs the slot renderer, hydrates the existing boot DOM, switches to the assembled application before the next paint, and returns the React root's unmount disposer.

The client entry also owns the React implementation of slot outlets, session providers, and observable-to-uSES binding. Business plugins pass bare observable sources through typed slot hooks; the renderer binds them at the outlet. The plugin activates after slots, sessions, and layout, projects the selected session title, and performs the sole context-level renderSlot('root') call. React, React DOM, Cordis, ui-slots, and ui-primitives retain one browser identity through the web shell's static module table; this package arrives as a dynamic client bundle.

Model Experience

None, as the UI renderer only assembles browser UI and contributes no model-visible input.

KV Cache effect

None; this package neither assembles nor sends provider requests.

Known Limitations and Deferred Work

  • The first application frame waits for every client entry — the boot kernel hands over the mount point only after the loader roster settles. Per-region readiness remains deferred.
  • Slot rendering has no Suspense integration or per-entry lazy loading — the complete plugin roster settles before the renderer mounts the root.