Haifai-AI/baby-whale--packages-client-ui-renderer ↗★ 1

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

Browser UI renderer: React slot bindings, ctx.uiRenderer, and the assembled application root 负责React渲染层与插槽挂载,适合客户端界面装配场景。

패키지
@deepseek-ai/dsh-client-ui-renderer
호환성
미검증
Harness peer 범위
workspace:^
Cordis peer 범위
workspace:^
버전
0.2.0-preview.1
라이선스
MIT
최근 업데이트
2026. 9. 17.

같은 패키지 이름의 다른 저장소

설치

검증된 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.