No description
  • Go 99.2%
  • Lua 0.7%
  • Makefile 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Merith-TK 99ef311a02 refactor: rename cmd/res-init → cmd/residual-init, cmd/res-login → cmd/residual-login
Update agent handoff/notes/todo docs to match.

Binary naming convention:
- residual-init: system-level init daemon
- residual-login: login manager (not a res subcommand)
- All others: res-*
2026-07-21 13:20:02 -07:00
.agent/claude refactor: rename cmd/res-init → cmd/residual-init, cmd/res-login → cmd/residual-login 2026-07-21 13:20:02 -07:00
.opencode update harness configs 2026-07-13 07:30:22 -07:00
cmd refactor: rename cmd/res-init → cmd/residual-init, cmd/res-login → cmd/residual-login 2026-07-21 13:20:02 -07:00
internal/libs feat(theme): two-mode theming — unified opt-in, inherit default 2026-07-18 07:27:24 -07:00
lib feat(theme): two-mode theming — unified opt-in, inherit default 2026-07-18 07:27:24 -07:00
magefiles chore: migrate build to mage; fix res --help and help cache 2026-07-11 20:34:46 -07:00
.gitignore chore: migrate build to mage; fix res --help and help cache 2026-07-11 20:34:46 -07:00
ARCHITECTURE.md fix: remove stale files and correct misleading docs 2026-06-15 08:00:00 -07:00
CLAUDE.md fix: remove stale files and correct misleading docs 2026-06-15 08:00:00 -07:00
go.mod feat: add embeddable editor core (core/lib/edit) and res-edit cmd 2026-07-12 17:55:07 -07:00
go.sum feat: add embeddable editor core (core/lib/edit) and res-edit cmd 2026-07-12 17:55:07 -07:00
LICENSE chore: add MIT license 2026-06-15 06:21:32 -07:00
Makefile chore: migrate build to mage; fix res --help and help cache 2026-07-11 20:34:46 -07:00
README.md rename README > README.md 2026-07-12 17:58:05 -07:00

residual/core

shared library for the residual toolsuite. no binaries — import this.

libraries (under lib/): lib/ansi/ ANSI/VT escape sequence constants and helpers lib/config/ TOML config loading (system + user, merged) lib/defaults/ numeric and string constants shared across repos lib/ipc/ JSON-over-UNIX-socket RPC client/server lib/lock/ singleton lock via UNIX socket lib/log/ dual-output logger (stderr + timestamped file) lib/proc/ process groups, graceful shutdown, reaper lib/pty/ PTY session management, VT screen buffer, shell detection lib/script/ Lua VM factory (gopher-lua) + safe res-core stdlib lib/script/system/ unsafe extensions (exec, write_file, has_service) lib/tui/theme/ amber palette, lipgloss styles, TOML config, OSC sequences lib/tui/list/ scrollable cursor list, RenderListRow, FilterContains lib/tui/overlay/ help overlay rendering (HelpSection, RenderHelpOverlay) lib/tui/widget/ Widget interface for status bar widgets lib/util/ path helpers (home dir, ~ expansion, CWD shortening) lib/xdg/ freedesktop .desktop session + app discovery


docs/aesthetic.md color scheme and ui philosophy (applies to everything) docs/os.md the residual os (alpine-based, future work) docs/tooling.md original tooling overview (pre-split reference) docs/console.md console user reference docs/console-design.md console internals docs/keymap.md keybindings across all tools docs/scripting.md lua scripting api


module: git.merith.xyz/residual/core language: go 1.25