DevelopmentAll versions
On this page

Module ketraterm-host

Parser-to-core command mapping and host-control policy for the terminal pipeline. The public package is io.github.ketraterm.host.

Dependencies

The module exports ketraterm-parser for semantic command contracts, ketraterm-core for state mutation, and ketraterm-protocol for shared values.

Integration boundary

HostCommandAdapter implements the parser's command sink using public core APIs. It owns coordinate conversion where the two APIs differ, title stacks, the bounded OSC 8 registry, and permission checks before host effects or query replies are admitted. Current titles and the effective palette remain core-owned.

HostEventSink is the host-action boundary. Its synchronous parser callbacks do not confer permission to reenter mutation or block on UI/platform work. The adapter owns neither transport lifecycle nor output scheduling; session owns those responsibilities in an assembled pipeline.

Contracts and navigation