KetraTerm
API · v0.3.0All versions

All modules:

Link copied to clipboard

The ketraterm-completion module defines the dependency-free command-line completion engine foundation shared by standalone and IDE hosts.

Link copied to clipboard

This module provides host-neutral suspending local-filesystem support shared by standalone and IDE products. It owns local-file URI resolution, direct-directory scanner contracts, deterministic entry projection, and bounded interruptible NIO scanning while keeping command parsing, source scheduling, ranking, jobs, and caches out of the module.

Link copied to clipboard

The ketraterm-completion-persistence module provides optional local-file storage for compact exact-command completion-learning snapshots. Version 3 stores opaque ranking counters separately from optional positive plaintext replay rows. The file boundary rechecks replay eligibility, enforces byte/line/row bounds, uses a strict versioned codec, and replaces files atomically when supported.

Link copied to clipboard

The ketraterm-core module is a high-performance, headless terminal grid engine. It implements the headless screen-state engine, coordinates all spatial grid mutations, manages cursor physics, scrollback margins, and controls alternate/primary screen switches.

Link copied to clipboard

The ketraterm-host module serves as the production bridge and adapter layer between the byte-stream parser (ketraterm-parser) and the headless state machine/grid engine (ketraterm-core).

Link copied to clipboard

The ketraterm-input module is the platform-agnostic, host-bound input encoding engine for KetraTerm Terminal. It converts UI-level, platform-neutral events—such as keyboard presses, text paste, window focus transitions, and mouse pointer actions—into standardized ANSI/DEC/xterm byte sequences written to the terminal host's input stream.

Link copied to clipboard

The ketraterm-parser module is a high-performance, strictly bounded, and allocation-conscious parser that transforms raw terminal host byte streams (from a PTY, SSH, or network socket) into semantic terminal command invocations.

Link copied to clipboard

The ketraterm-protocol module represents the zero-dependency, immutable core vocabulary of the KetraTerm Terminal pipeline. It defines the fundamental, standard-aligned constants, enumerations, and interfaces shared by all terminal components.

Link copied to clipboard

The ketraterm-pty module owns the lifecycle management, process stream pumping, and terminal size synchronizations of local, host-backed pseudo-terminal (PTY) processes.

Link copied to clipboard

The ketraterm-render-api module defines the strictly bounded, dependency-free public render contract and vocabulary shared across the terminal pipeline. It acts as the immutable, allocation-conscious bridge between stateful terminal state providers, frame caches, and UI rendering modules.

Link copied to clipboard

The ketraterm-render-cache module provides a high-performance, renderer-side double and triple-buffering publication system for KetraTerm Terminal. It consumes short-lived render frames exposed by :ketraterm-render-api and stores flat, primitive-packed, allocation-free snapshotted layouts.

Link copied to clipboard

ketraterm-session is the runtime synchronization boundary between transport, parser, core, input encoding, and render publication.

Link copied to clipboard

The ketraterm-testkit module is the dedicated test double and mock harness module for KetraTerm Terminal. It provides in-memory connectors and lifecycle simulation tools for testing terminal runtimes, transport layers, and host-bound input/output loops without spinning up physical shells, PTYs, or socket connections.

Link copied to clipboard

The ketraterm-transport-api module defines the transport-neutral, highly performant connection contracts between terminal runtimes and host byte-streams.

Link copied to clipboard

A reusable, premium-tier Swing terminal component built in Kotlin/JVM 25.

Link copied to clipboard
Link copied to clipboard

The ketraterm-workspace module provides a host-neutral session and tab manager for KetraTerm Terminal. It coordinates multiple active terminal sessions (tabs) under a unified workspace lifecycle, maps configurations onto file-based profiles, and implements standard TOML-backed settings persistence.