Help us shape the future of Go! Take the 2026 Go Developer Survey

internal/

directory
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: MIT

Directories

Path Synopsis
Package agentproto runs a coding agent headless, over a structured protocol, and shows it in a tuios pane.
Package agentproto runs a coding agent headless, over a structured protocol, and shows it in a tuios pane.
Package app provides the core TUIOS application logic and window management.
Package app provides the core TUIOS application logic and window management.
Package atomicfile replaces a file in one step, so a crash leaves the old file or the new one whole and never half of one.
Package atomicfile replaces a file in one step, so a crash leaves the old file or the new one whole and never half of one.
Package capture is the glue between a screenshot request and the shot renderer: it turns the [screenshot] config section, a theme id and a glyph set id into the concrete palette and frame that shot.Render wants, and it names and writes the file.
Package capture is the glue between a screenshot request and the shot renderer: it turns the [screenshot] config section, a theme id and a glyph set id into the concrete palette and frame that shot.Render wants, and it names and writes the file.
Package cellsize is the size of one terminal cell in pixels that tuios assumes when the host terminal has not said.
Package cellsize is the size of one terminal cell in pixels that tuios assumes when the host terminal has not said.
Package childproc starts the helper programs the daemon runs, such as git, ssh, gh and hook commands, so that none of them opens a window.
Package childproc starts the helper programs the daemon runs, such as git, ssh, gh and hook commands, so that none of them opens a window.
Package cliflags holds the interface flags every binary that renders the TUI registers: `tuios` and its TUI commands, `tuios ssh`, and `tuios-web`.
Package cliflags holds the interface flags every binary that renders the TUI registers: `tuios` and its TUI commands, `tuios ssh`, and `tuios-web`.
Package composer is the editor a person writes to an agent in: a draft of many lines with soft wrap, cursor and word motions, and undo and redo.
Package composer is the editor a person writes to an agent in: a draft of many lines with soft wrap, cursor and word motions, and undo and redo.
Package config provides configuration constants, keybinding management, and user settings.
Package config provides configuration constants, keybinding management, and user settings.
Package debuglog opens the diagnostic logs that TUIOS_DEBUG_INTERNAL=1 turns on.
Package debuglog opens the diagnostic logs that TUIOS_DEBUG_INTERNAL=1 turns on.
Package diffview draws the lines of a diff: syntax highlighting by file type, line numbers in a gutter, added and removed lines on tinted grounds, the changed part of a changed line marked, and a side by side layout.
Package diffview draws the lines of a diff: syntax highlighting by file type, line numbers in a gutter, added and removed lines on tinted grounds, the changed part of a changed line marked, and a side by side layout.
lexers
Package lexers holds the syntax definitions the review highlights with, and the registry that serves them.
Package lexers holds the syntax definitions the review highlights with, and the registry that serves them.
Package dirwatch tells a caller when the names in one directory change.
Package dirwatch tells a caller when the names in one directory change.
Package explore is the small full-screen browser behind tuios's opt-in explorers: tuios keybinds browse, tuios config browse and tuios help -i.
Package explore is the small full-screen browser behind tuios's opt-in explorers: tuios keybinds browse, tuios config browse and tuios help -i.
Package fang provides styling for cobra commands.
Package fang provides styling for cobra commands.
Package federation carries the link layer between one tuios daemon and the daemons of other machines the user has named in config.
Package federation carries the link layer between one tuios daemon and the daemons of other machines the user has named in config.
Package fuzz is the target-agnostic half of tuios's property fuzzer: an action alphabet, a seeded generator that biases toward the shapes that have actually broken this codebase, a driver loop, and a shrinker.
Package fuzz is the target-agnostic half of tuios's property fuzzer: an action alphabet, a seeded generator that biases toward the shapes that have actually broken this codebase, a driver loop, and a shrinker.
apptarget
Package apptarget drives a real app.OS through its real bubbletea Update as a fuzz.Target, using nothing but package app's exported surface.
Package apptarget drives a real app.OS through its real bubbletea Update as a fuzz.Target, using nothing but package app's exported surface.
vis
Package vis draws a fuzzing run while it happens.
Package vis draws a fuzzing run while it happens.
Package ghpr reads and opens GitHub pull requests through the gh CLI.
Package ghpr reads and opens GitHub pull requests through the gh CLI.
Package gitstate reads the git facts a sidebar can usefully carry in a narrow column: which branch a directory is on, and how far that branch has drifted from its upstream.
Package gitstate reads the git facts a sidebar can usefully carry in a narrow column: which branch a directory is on, and how far that branch has drifted from its upstream.
Package guestenv derives environment values tuios exports to the processes it spawns in its windows.
Package guestenv derives environment values tuios exports to the processes it spawns in its windows.
Package guibridge runs a tuios client with no screen of its own and hands what it would draw to a separate renderer over a pipe: the layout of the session as JSON, and each pane's byte stream as binary frames.
Package guibridge runs a tuios client with no screen of its own and hands what it would draw to a separate renderer over a pipe: the layout of the session as JSON, and each pane's byte stream as binary frames.
Package harness holds the registry of coding-agent CLIs tuios knows how to recognise, as data rather than code.
Package harness holds the registry of coding-agent CLIs tuios knows how to recognise, as data rather than code.
herdrconv command
Command herdrconv converts a herdr agent-detection manifest (github.com/herdrdev/herdr, src/detect/manifests/*.toml, Apache-2.0) into a tuios harness manifest draft.
Command herdrconv converts a herdr agent-detection manifest (github.com/herdrdev/herdr, src/detect/manifests/*.toml, Apache-2.0) into a tuios harness manifest draft.
Package herdrcli is herdr's command line, answered by tuios.
Package herdrcli is herdr's command line, answered by tuios.
Package herdrplugin reads herdr plugins and runs their commands for tuios.
Package herdrplugin reads herdr plugins and runs their commands for tuios.
Package hints finds the things on a terminal screen a person is likely to want to copy (URLs, paths, hashes, addresses and so on) and names each one with a short label to type.
Package hints finds the things on a terminal screen a person is likely to want to copy (URLs, paths, hashes, addresses and so on) and names each one with a short label to type.
Package hooks implements a shell-command hooks system for tuios.
Package hooks implements a shell-command hooks system for tuios.
Package input routes keyboard and mouse input for TUIOS: the dispatch between Window Management and Terminal modes, the prefix commands, the encoding of keys for the focused pane's PTY, mouse handling, copy mode and paste.
Package input routes keyboard and mouse input for TUIOS: the dispatch between Window Management and Terminal modes, the prefix commands, the encoding of keys for the focused pane's PTY, mouse handling, copy mode and paste.
Package integration connects coding-agent harnesses to tuios agent state.
Package integration connects coding-agent harnesses to tuios agent state.
Package invisible finds the characters that draw nothing but change how text reads: format characters, variation selectors and line separators.
Package invisible finds the characters that draw nothing but change how text reads: format characters, variation selectors and line separators.
Package layout provides window tiling and layout management for the terminal.
Package layout provides window tiling and layout management for the terminal.
Package lazyre compiles a regular expression the first time it is used.
Package lazyre compiles a regular expression the first time it is used.
Package learn runs tuios as the guided tour at tuios.dev/learn.
Package learn runs tuios as the guided tour at tuios.dev/learn.
Package linediff computes the line edit script between two texts by longest common subsequence.
Package linediff computes the line edit script between two texts by longest common subsequence.
Package lint holds source checks that run with go test.
Package lint holds source checks that run with go test.
Package listnav is the one rule every vertical list in the TUI moves by.
Package listnav is the one rule every vertical list in the TUI moves by.
Package mcp is tuios's Model Context Protocol server: the tools an agent harness loads to drive tuios without shelling out to the CLI.
Package mcp is tuios's Model Context Protocol server: the tools an agent harness loads to drive tuios without shelling out to the CLI.
Package memtrim hands back to the operating system the memory a burst of work left behind: panes closing, or a flood of output that has ended.
Package memtrim hands back to the operating system the memory a burst of work left behind: panes closing, or a flood of output that has ended.
Package netutil holds the small network helpers the servers share.
Package netutil holds the small network helpers the servers share.
Package overlay provides composable, framework-agnostic building blocks for borderless floating overlay panels rendered with charm.land/lipgloss/v2.
Package overlay provides composable, framework-agnostic building blocks for borderless floating overlay panels rendered with charm.land/lipgloss/v2.
Package pastebuf keeps paste buffers: the text of recent yanks, newest first, after tmux's paste buffers.
Package pastebuf keeps paste buffers: the text of recent yanks, newest first, after tmux's paste buffers.
Package pathroot answers whether a path is inside a folder.
Package pathroot answers whether a path is inside a folder.
Package perf holds the shared measurement vocabulary for tuios's latency work: a sample set and the quantiles worth reading off it.
Package perf holds the shared measurement vocabulary for tuios's latency work: a sample set and the quantiles worth reading off it.
Package plural writes a count with its noun in the right number, so the output says "1 session" and "2 sessions" instead of "1 session(s)".
Package plural writes a count with its noun in the right number, so the output says "1 session" and "2 sessions" instead of "1 session(s)".
Package pool provides object pooling for reusable components to reduce memory allocations.
Package pool provides object pooling for reusable components to reduce memory allocations.
Package procinfo reads what the kernel says about a process: the pid of the process on the other end of a unix socket, a start time that pins that pid to one process, its parent, its /proc/<pid>/stat fields, and one variable of the environment it was started with.
Package procinfo reads what the kernel says about a process: the pid of the process on the other end of a unix socket, a start time that pins that pid to one process, its parent, its /proc/<pid>/stat fields, and one variable of the environment it was started with.
Package ptyspawn is the one door every PTY-backed process in tuios goes through.
Package ptyspawn is the one door every PTY-backed process in tuios goes through.
Package pushnotify sends an Inbox notification to a phone, through ntfy, Pushover or a webhook of the person's own.
Package pushnotify sends an Inbox notification to a phone, through ntfy, Pushover or a webhook of the person's own.
Package refreshrate finds the refresh rate of the displays on this machine, which is what appearance.max_fps = "auto" draws at.
Package refreshrate finds the refresh rate of the displays on this machine, which is what appearance.max_fps = "auto" draws at.
Package release finds published tuios releases and turns one into a verified binary on disk.
Package release finds published tuios releases and turns one into a verified binary on disk.
Package review reads what an agent changed in a git worktree and carries the notes a person leaves on it back to the agent.
Package review reads what an agent changed in a git worktree and carries the notes a person leaves on it back to the agent.
Package risk marks a tool call an agent asks to have approved as risky: a command that deletes recursively, force pushes, pipes a download to a shell, writes outside the worktree, and the like.
Package risk marks a tool call an agent asks to have approved as risky: a command that deletes recursively, force pushes, pipes a download to a shell, writes outside the worktree, and the like.
Package scrollback provides a scrollback browser that parses terminal history into structured command-output blocks.
Package scrollback provides a scrollback browser that parses terminal history into structured command-output blocks.
Package served builds the model for one session a server hands to a remote client: the SSH server in internal/server and the web server in cmd/tuios-web.
Package served builds the model for one session a server hands to a remote client: the SSH server in internal/server and the web server in cmd/tuios-web.
Package server provides SSH server functionality for TUIOS.
Package server provides SSH server functionality for TUIOS.
Package serverscope names the daemon a tuios process belongs to.
Package serverscope names the daemon a tuios process belongs to.
Package session provides persistent session management for TUIOS.
Package session provides persistent session management for TUIOS.
Package sessiontree is the shared data model behind every session-management surface: the sidebar, the picker, and the command-palette session/window entries.
Package sessiontree is the shared data model behind every session-management surface: the sidebar, the picker, and the command-palette session/window entries.
Package shimlink makes the link that runs tuios as another program: a link named tmux or herdr, in a bin directory a pane puts on its PATH, that points at the tuios binary.
Package shimlink makes the link that runs tuios as another program: a link named tmux or herdr, in a bin directory a pane puts on its PATH, that points at the tuios binary.
Package sockpath names the folder the daemon keeps its socket in, and the longest path a Unix socket may have.
Package sockpath names the folder the daemon keeps its socket in, and the longest path a Unix socket may have.
Package sortx sorts a slice through one shared, non-generic copy of the sort code, to keep the binary small.
Package sortx sorts a slice through one shared, non-generic copy of the sort code, to keep the binary small.
Package sound plays the two short cues an agent alert can make audible.
Package sound plays the two short cues an agent alert can make audible.
Package stopevent is how tuios kill-server asks a daemon on Windows to stop.
Package stopevent is how tuios kill-server asks a daemon on Windows to stop.
Package tape provides functionality for parsing, storing, and executing automation scripts in .tape format.
Package tape provides functionality for parsing, storing, and executing automation scripts in .tape format.
trust
Package trust implements the security foundation for .tuios.tape autorun: a per-machine trust store that records, for each project tape, its canonical path and the SHA-256 of its exact content, together with whether the user has trusted or denied it.
Package trust implements the security foundation for .tuios.tape autorun: a per-machine trust store that records, for each project tape, its canonical path and the SHA-256 of its exact content, together with whether the user has trusted or denied it.
Package terminal provides terminal window management and PTY abstraction.
Package terminal provides terminal window management and PTY abstraction.
Package testutil provides testing utilities for TUIOS, including a fake shell that produces predictable output and sends/receives ANSI sequences.
Package testutil provides testing utilities for TUIOS, including a fake shell that produces predictable output and sends/receives ANSI sequences.
Package theme provides color themes and styling for the TUIOS terminal.
Package theme provides color themes and styling for the TUIOS terminal.
Package tmuxcompat is a tmux compatibility shim: it answers the subset of tmux commands that tools driving tmux issue (Claude Code agent teams first among them) by calling tuios verbs.
Package tmuxcompat is a tmux compatibility shim: it answers the subset of tmux commands that tools driving tmux issue (Claude Code agent teams first among them) by calling tuios verbs.
Package transcript reads an agent's own record of its turn from the file the agent writes as it runs, and reports nothing else.
Package transcript reads an agent's own record of its turn from the file the agent writes as it runs, and reports nothing else.
Package transcriptview decodes an agent's transcript into a conversation a person can read: prompts, answers, thinking, tool calls with their results, diffs of edits, plans and todo lists.
Package transcriptview decodes an agent's transcript into a conversation a person can read: prompts, answers, thinking, tool calls with their results, diffs of edits, plans and todo lists.
Package ui provides UI component animations and visual effects.
Package ui provides UI component animations and visual effects.
Package units writes sizes and durations the same way wherever tuios shows them.
Package units writes sizes and durations the same way wherever tuios shows them.
Package webshell is an in-memory terminal and a small fake shell for the browser build of tuios, where there is no kernel pty and no process to exec.
Package webshell is an in-memory terminal and a small fake shell for the browser build of tuios, where there is no kernel pty and no process to exec.
Package winpath turns the POSIX paths that MSYS2 and Cygwin shells report into the Windows paths the rest of tuios reads.
Package winpath turns the POSIX paths that MSYS2 and Cygwin shells report into the Windows paths the rest of tuios reads.
Package worktree is what tuios knows about git worktrees: how to tell that a directory is one, how to make one, and how to take one away without losing work that was never committed.
Package worktree is what tuios knows about git worktrees: how to tell that a directory is one, how to make one, and how to take one away without losing work that was never committed.

Jump to

Keyboard shortcuts

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