dsh-blue/blue--packages-core ↗★ 21
@dsh-blue/blue-core
Blue终端UI渲染核心与主题管理器 作为Blue架构的底层渲染器,适合处理终端生命周期、键盘分发与布局。
安裝
此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗
說明文件
閱讀完整 README ↗@dsh-blue/blue-core
English | 中文
Blue's terminal renderer and the repository's only pi-tui adapter. It owns terminal startup/shutdown, raw mode, alternate screen, focus, keyboard dispatch, layout, themes, node validation/compilation, and visible width.
Core subscribes directly to ctx.bluePanes and ctx.blueOverlays.
Pane/overlay render functions return renderer-neutral BlueUiNode values;
core validates and compiles them into concrete components. There is no plugin
host or bridge between the registry and renderer. Visible passive bottom panes
stack by priority above the editor, while focusable panes retain tab selection.
Core also owns rich terminal rendering: the shared Markdown adapter enhances closed Mermaid fences, while structured chart nodes are adapted through the active semantic theme. Invalid, unsafe, over-quota, or over-wide input remains visible through width-contained source or text fallbacks.
The package also exposes low-level blueScreen, blueKeymap,
blueTerminalInfo, blueComponents, and theme services for Blue's own TUI
packages.