dsh-blue/blue--packages-core ↗★ 21
@dsh-blue/blue-core
Blue terminal UI core: the tree's only @earendil-works/pi-tui adapter, owning terminal lifecycle and the blueScreen/blueKeymap/blueTerminalInfo/blueComponents services plus the blue-theme-dark/light/ocean/paper/auto/custom palette entries 作为Blue架构的底层渲染器,适合处理终端生命周期、键盘分发与布局。
설치
검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 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.