KetraTerm
API · DevelopmentAll versions

Package-level declarations

Types

Link copied to clipboard

Semantic position of the active completion token.

Link copied to clipboard
data class TerminalCompletionCandidate @JvmOverloads constructor(val replacementText: String, val replacementStartOffset: Int, val replacementEndOffset: Int, val source: String, val kind: TerminalCompletionCandidateKind, val displayText: String = replacementText, val detail: String = "", val score: Int = 0, val valueDomain: TerminalCompletionValueDomain = TerminalCompletionValueDomain.NONE, val matchedRanges: TerminalCompletionMatchRanges = TerminalCompletionMatchRanges.EMPTY, val feedbackToken: Any? = null)

Immutable completion candidate returned by TerminalCompletionEngine.

Link copied to clipboard

Completion candidate category used by hosts for grouping, ranking display, and source-specific styling.

Link copied to clipboard

One parsed, spec-resolved completion context shared by every source.

Link copied to clipboard

Pure completion engine contract.

Link copied to clipboard

Factories for production completion engines.

Link copied to clipboard
class TerminalCompletionLearningStore @JvmOverloads constructor(replayFilter: Predicate<String>, capacity: Int = DEFAULT_CAPACITY)

Mutable, bounded in-memory store for exact command completion learning.

Link copied to clipboard

Immutable ordered match ranges relative to one completion display string.

Link copied to clipboard

Host message lookup for descriptions generated by reusable completion sources.

Link copied to clipboard

Best-effort conservative filter for retaining plaintext replay suggestions.

Link copied to clipboard
data class TerminalCompletionRequest @JvmOverloads constructor(val commandLine: String, val cursorOffset: Int, val workingDirectoryUri: String? = null, val profileId: String? = null, val shellCapabilities: TerminalShellCapabilities = PLAIN)

Immutable command-line context used to request completion candidates.

Link copied to clipboard

Suspending completion source contract for one provider such as static command specs, path completion, or IDE context.

Link copied to clipboard
data class TerminalCompletionSourceEntry @JvmOverloads constructor(val source: TerminalCompletionSource, val priority: Int = 0)

Source registration consumed by merged completion engines.

Link copied to clipboard

Receives original non-cancellation failures from merged completion sources. Ordinary exceptions are isolated; unexpected errors are reported before they fail collection and cancel sibling sources.

Link copied to clipboard

Reviewed cold-start priors for the built-in completion source families.

Link copied to clipboard

Factories for dependency-free, host-composable completion sources.

Link copied to clipboard
data class TerminalDirectoryListingRequest(val workingDirectoryUri: String, val directoryPrefix: String, val entryNamePrefix: String)

Host-resolved directory-listing request used by path completion.

Link copied to clipboard
data class TerminalFileEntry(val name: String, val isDirectory: Boolean)

Single file system entry description returned by TerminalFileSystemProvider.

Link copied to clipboard

Host-implemented file system provider for sandbox-aware path completion.

Link copied to clipboard
data class TerminalFuzzyPathEntry(val path: String, val isDirectory: Boolean, val detail: String? = null)

One host-indexed path available to fuzzy path completion.

Link copied to clipboard

Supplies host-bounded fuzzy matches for one immutable completion request and its resolved terminal context.

Link copied to clipboard
data class TerminalGradleTask @JvmOverloads constructor(val path: String, val description: String = "", val projectDirectory: String? = null)

One imported Gradle task returned by a host completion loader.

Link copied to clipboard
data class TerminalShellCapabilities @JvmOverloads constructor(val syntax: TerminalShellSyntax = TerminalShellSyntax.PLAIN, val quoting: TerminalShellQuotingPolicy = TerminalShellQuotingPolicy.CONSERVATIVE)

Immutable shell capabilities resolved by the host from authoritative profile metadata before a completion request is created.

Link copied to clipboard

Shell-specific quoting policy for replacement text produced by completion sources.

Link copied to clipboard

Shell lexical policy used to identify command separators and escapes while resolving the command segment that contains the completion cursor.