internal/

directory
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2026 License: MIT

Directories

Path Synopsis
Package agent keeps the append-only JSON-lines ledger of messages an assistant (kith-mcp) sent as this account.
Package agent keeps the append-only JSON-lines ledger of messages an assistant (kith-mcp) sent as this account.
api
Package api defines the Backend interface the TUI talks to.
Package api defines the Backend interface the TUI talks to.
backend/v1/protoconv
Package protoconv maps domain types to and from the backend v1 wire types, shared by the daemon's handlers and the Remote client.
Package protoconv maps domain types to and from the backend v1 wire types, shared by the daemon's handlers and the Remote client.
Package apitest provides a do-nothing api.Backend for tests to embed and override selectively.
Package apitest provides a do-nothing api.Backend for tests to embed and override selectively.
Package audio plays one attachment at a time with pause, seek and speed control.
Package audio plays one attachment at a time with pause, seek and speed control.
Package buildinfo exposes version metadata, injected by -ldflags -X in release builds and otherwise read from the module build info ("dev" when absent).
Package buildinfo exposes version metadata, injected by -ldflags -X in release builds and otherwise read from the module build info ("dev" when absent).
Package config loads kith's XDG-compliant TOML configuration.
Package config loads kith's XDG-compliant TOML configuration.
Package daemon holds both sides of the kithd wire: Serve hosts an api.Backend over a unix socket via Connect, and Remote is the api.Backend the TUI runs against.
Package daemon holds both sides of the kithd wire: Serve hosts an api.Backend over a unix socket via Connect, and Remote is the api.Backend the TUI runs against.
Package db is kith's local SQLite client cache (pure-Go modernc.org/sqlite), returning domain types.
Package db is kith's local SQLite client cache (pure-Go modernc.org/sqlite), returning domain types.
Package domain holds kith's pure Matrix vocabulary: value types and the logic over them (display-name resolution, sorting) with no I/O, no Matrix SDK, and no TUI framework.
Package domain holds kith's pure Matrix vocabulary: value types and the logic over them (display-name resolution, sorting) with no I/O, no Matrix SDK, and no TUI framework.
Package filedialog asks the XDG desktop portal to choose a path.
Package filedialog asks the XDG desktop portal to choose a path.
Package focus brings the browser forward after a link was handed to it.
Package focus brings the browser forward after a link was handed to it.
Package launch opens a terminal to handle a desktop-clicked link when no kith is running: a new tab in a running terminal first, a new window if that exits non-zero.
Package launch opens a terminal to handle a desktop-clicked link when no kith is running: a new tab in a running terminal first, a new window if that exits non-zero.
Package llamacpp reads a local language model as a next-token distribution.
Package llamacpp reads a local language model as a next-token distribution.
models
Package models is the catalog of completion models kith can install: what each is, where it comes from and whether it is on disk.
Package models is the catalog of completion models kith can install: what each is, where it comes from and whether it is on disk.
Package llm talks to one OpenAI-compatible chat endpoint.
Package llm talks to one OpenAI-compatible chat endpoint.
Package logging builds the one log format all three binaries share: log/slog's text handler, with a level from flag, env or config, no timestamps under journald (it stamps every line itself), and secrets scrubbed from every value on the way out.
Package logging builds the one log format all three binaries share: log/slog's text handler, with a level from flag, env or config, no timestamps under journald (it stamps every line itself), and secrets scrubbed from every value on the way out.
Package matrix adapts mautrix-go to api.Backend.
Package matrix adapts mautrix-go to api.Backend.
Package media is the client's own cache of timeline images: the originals as files an external viewer can open, and the decoded, downsampled renderings so reopening a room doesn't re-decode.
Package media is the client's own cache of timeline images: the originals as files an external viewer can open, and the decoded, downsampled renderings so reopening a room doesn't re-decode.
Package modelsetup derives the daemon's model layer from the config: the prompts the remote model runs and the local completion server's settings.
Package modelsetup derives the daemon's model layer from the config: the prompts the remote model runs and the local completion server's settings.
Package notify delivers desktop notifications to the user.
Package notify delivers desktop notifications to the user.
Package richtext is the single table of Matrix HTML formatting this client understands.
Package richtext is the single table of Matrix HTML formatting this client understands.
Package schedule is the on-disk queue of messages to send later.
Package schedule is the on-disk queue of messages to send later.
Package session persists login credentials in the OS secret store (via go-keyring, no cgo).
Package session persists login credentials in the OS secret store (via go-keyring, no cgo).
Package setup turns a configuration into the structures a running program reads: notification rules, notifier sinks, the code detector's shape and scope.
Package setup turns a configuration into the structures a running program reads: notification rules, notifier sinks, the code detector's shape and scope.
Package spell checks what you are writing against real dictionaries.
Package spell checks what you are writing against real dictionaries.
Package theme is kith's visual palette and the lipgloss styles built from it.
Package theme is kith's visual palette and the lipgloss styles built from it.
Package themespec is the theme config as data: the built-in presets and the per-role overrides, validated, as the color strings the config writes ("#00aaff", or an ANSI slot like "12").
Package themespec is the theme config as data: the built-in presets and the per-role overrides, validated, as the color strings the config writes ("#00aaff", or an ANSI slot like "12").
Package tui is kith's presentation layer: a Bubble Tea program that talks to the world only through api.Backend.
Package tui is kith's presentation layer: a Bubble Tea program that talks to the world only through api.Backend.
Package vocab ranks word completions from what was said recently, counted in memory.
Package vocab ranks word completions from what was said recently, counted in memory.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL