/** * The dsh-tui-extensions row: mounts every plugin-facing UI seam service in * one cordis plugin (one profile row, one patch-surface entry — see issue * #183 for the cost of row/code skew, and #242 for the entry-level-only * inject rule this row follows). * * Services mounted here (each documented in its own module): * * - `ctx.tuiDialogs` — managed select/confirm/input dialogs * - `ctx.tuiStatus` — keyed status-line contributions * - `ctx.tuiShortcuts` — keyboard shortcut registry * - `ctx.tuiRenderers` — custom session-entry text renderers * - `ctx.tuiToast` — transient fire-and-forget notifications * - `ctx.tuiThemes` — runtime theme declarations (host-readable) * * The decision-point events (`tui/input`, `tui/rewind-prompt`, …) need no * separate service — they are fired by the channel and answered through the * host-mediated DecisionEvents registry; their types ride along in this * module's public surface (`./extensions` export). The Cordis `ctx.on` hook is * only a compatibility facade and cannot bypass admission, scope or grant * checks. Intercept-class events require an explicit grant in * `~/.chatcode-cli/tui/extension-grants.json`, default deny. The channel installs the * SAME hook (idempotent per cordis root, so exactly one installation lands): * this row covers profiles launching without the channel, and the channel * covers the skew path where THIS row is missing. * * Every consumer (`channel.ts`, `Chat.tsx`) reads these with `ctx.get` * softly: without this row the TUI degrades to no dialogs/status/shortcuts/ * renderers/themes, and plugin.ts logs the skew warning once for profile * launches. */ import { Context } from '@deepseek-ai/cordis'; export declare const name = "dsh-tui-extensions"; export declare function apply(ctx: Context): void; //# sourceMappingURL=extensions.d.ts.map