Loading...
Searching...
No Matches
Go to the documentation of this file.
6oc_ui — UI layer for OC Chat (presenters, input, terminal rendering).
10Top-level package marker for the OC Chat UI library. The package is
11deliberately split from the core engine (``oc_chat/``) so a future
12TUI / GUI / web frontend can subclass :class:`~oc_ui.presenter_base.
13Presenter` without dragging in chat-loop dependencies.
17- Mark ``oc_ui/`` as a Python package.
18- Expose the abstract presenter contract via ``presenter_base``.
19- Hold the terminal subpackage (``oc_ui.terminal``) with concrete
20 console / rich / logging presenters and the prompt driver.
32- Module-level L4 ``_dbg`` is a diagnostics-coverage marker; it
33 emits nothing at default verbosity (domain default is L2).
37- oc_diagnostics (structured debug logging via _dbg)
40from oc_diagnostics
import _dbg
42_dbg(
"OC_UI.TERMINAL",
"module",
"loaded", 4)