pkg/

directory
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: MIT

Directories

Path Synopsis
Package acp speaks the Agent Client Protocol, which editors and agents talk to each other in: JSON-RPC 2.0 messages, one to a line, over a stream both ends read and write.
Package acp speaks the Agent Client Protocol, which editors and agents talk to each other in: JSON-RPC 2.0 messages, one to a line, over a stream both ends read and write.
How long a window waits on each call it makes of its server: a call answered at once is given up once the wait set passed, a call long by its nature is waited on as long as it takes, and a stream stays open while it keeps coming or its server still answers when asked
How long a window waits on each call it makes of its server: a call answered at once is given up once the wait set passed, a call long by its nature is waited on as long as it takes, and a stream stays open while it keeps coming or its server still answers when asked
The image on the clipboard of the computer the app runs on, read with the program each system has for it, as a PNG a message attaches
The image on the clipboard of the computer the app runs on, read with the program each system has for it, as a PNG a message attaches
Package coderun decides which tools that run code a model writes a session is offered.
Package coderun decides which tools that run code a model writes a session is offered.
Package extensionsdk is what the code of an icebath extension is written with.
Package extensionsdk is what the code of an icebath extension is written with.
wire
Package wire is the link between icebath and the code of an extension: frames of the protocol, each the size of its message as a varint and the message in binary on a program's standard input and output, both sides asking and answering the other at once
Package wire is the link between icebath and the code of an extension: frames of the protocol, each the size of its message as a varint and the message in binary on a program's standard input and output, both sides asking and answering the other at once
Paths a terminal types at the start of the input when a person drags files onto it or pastes their paths, read as each terminal and shell writes them, and the files they name
Paths a terminal types at the start of the input when a person drags files onto it or pastes their paths, read as each terminal and shell writes them, and the files they name
Package firstrun is the plan of the first run of icebath: which steps of setting it up a person is shown, which of them this computer and profile have done already, which the person skipped or went through, the step in view, and whether the first run opens by itself.
Package firstrun is the plan of the first run of icebath: which steps of setting it up a person is shown, which of them this computer and profile have done already, which the person skipped or went through, the step in view, and whether the first run opens by itself.
File system steps every part of icebath takes the same way: lock files, whole file writes, copies, and the questions asked of a path
File system steps every part of icebath takes the same way: lock files, whole file writes, copies, and the questions asked of a path
gen
Routes of webhooks declared in the settings rather than made on a screen: the table of them read into routes, each with what does not read in it said in words that name its key, as alpha refuses a static route that does not read
Routes of webhooks declared in the settings rather than made on a screen: the table of them read into routes, each with what does not read in it said in words that name its key, as alpha refuses a static route that does not read
Signatures of the events services post to webhooks: the schemes services sign with, a table the verifier reads in its order, alpha's generic one among them (X-Webhook-Signature-V2 over a timestamp and the body, X-Webhook-Signature over the body alone); the secret of a webhook and the one before it while a rotation overlaps; and the lines a person writing a sender follows
Signatures of the events services post to webhooks: the schemes services sign with, a table the verifier reads in its order, alpha's generic one among them (X-Webhook-Signature-V2 over a timestamp and the body, X-Webhook-Signature over the body alone); the secret of a webhook and the one before it while a rotation overlaps; and the lines a person writing a sender follows
HTTP steps every part of icebath takes the same way
HTTP steps every part of icebath takes the same way
Package jsonx reads and writes JSON as Python's json module does, which the files training and evaluation tools read are written in: an object keeps the order of its keys, a number the text it was written with, and a value is laid out as json.dumps lays it out, with a space after each comma and colon and the text of strings left as it is
Package jsonx reads and writes JSON as Python's json module does, which the files training and evaluation tools read are written in: an object keeps the order of its keys, a number the text it was written with, and a value is laid out as json.dumps lays it out, with a space after each comma and colon and the text of strings left as it is
Package lang says icebath's texts in a person's language: messages named by their English and said where they reach the person, the catalogs that hold a language's words for them, the plural rules, number, date and list forms of each language, and which way it is written.
Package lang says icebath's texts in a person's language: messages named by their English and said where they reach the person, the catalogs that hold a language's words for them, the plural rules, number, date and list forms of each language, and which way it is written.
Package lines splits what is written into whole lines as each one completes, such as the output of a program streamed as it runs, and reads a stream a line at a time
Package lines splits what is written into whole lines as each one completes, such as the output of a program streamed as it runs, and reads a stream a line at a time
Package logx holds where the log of the process goes and how a log file is written.
Package logx holds where the log of the process goes and how a log file is written.
Package msgraph reads what Microsoft Graph posts about the subscriptions an app keeps: the check of an address Graph asks for before it makes a subscription, the change notifications of a batch with the secret each carries, the news of the subscriptions themselves, the resource data a rich notification carries encrypted for the app, the tokens that prove Microsoft sent it, and how long Graph lets a subscription of each resource last.
Package msgraph reads what Microsoft Graph posts about the subscriptions an app keeps: the check of an address Graph asks for before it makes a subscription, the change notifications of a batch with the secret each carries, the news of the subscriptions themselves, the resource data a rich notification carries encrypted for the app, the tokens that prove Microsoft sent it, and how long Graph lets a subscription of each resource last.
Pages of a PDF rendered as images with poppler, each a file a message attaches as an image
Pages of a PDF rendered as images with poppler, each a file a message attaches as an image
pet
Package pet reads and draws petdex pets: small animated companions kept as a folder holding a pet.json and a sheet of frames, one row of cells for each state a pet is shown in, as petdex.dev publishes them and as /hatch makes them
Package pet reads and draws petdex pets: small animated companions kept as a folder holding a pet.json and a sheet of frames, one row of cells for each state a pet is shown in, as petdex.dev publishes them and as /hatch makes them
hatch
Package hatch makes a pet from words: first looks drawn by an image model, the look picked drawn again as a strip of poses for each state, each strip cut into frames, the frames put on one scale and one baseline, and the sheet of petdex composed and checked
Package hatch makes a pet from words: first looks drawn by an image model, the look picked drawn again as a strip of poses for each state, each strip cut into frames, the frames put on one scale and one baseline, and the sheet of petdex composed and checked
Child process steps every part of icebath takes the same way: how a child is started and how its end is read
Child process steps every part of icebath takes the same way: how a child is started and how its end is read
Package slashmatch is what a slash line offers as it is typed: the commands a fragment finds anywhere in their names, their aliases and their descriptions, ranked by alpha's tiers (an exact word, then the start of one, then anywhere, a description after every name), the skills after the commands by how much they were used, and what may come after a command's name as its usage writes it: the fixed words of its subcommands and arguments, and the holes its feature fills with live values.
Package slashmatch is what a slash line offers as it is typed: the commands a fragment finds anywhere in their names, their aliases and their descriptions, ranked by alpha's tiers (an exact word, then the start of one, then anywhere, a description after every name), the skills after the commands by how much they were used, and what may come after a command's name as its usage writes it: the fixed words of its subcommands and arguments, and the holes its feature fills with live values.
Package sqlitex keeps a SQLite file in the shape the store that owns it declares: the shape read from the store's own DDL, a file reconciled with it in place where SQLite allows, and a file of another shape or a damaged one moved aside under the lock of its first open
Package sqlitex keeps a SQLite file in the shape the store that owns it declares: the shape read from the store's own DDL, a file reconciled with it in place where SQLite allows, and a file of another shape or a damaged one moved aside under the lock of its first open
Text helpers every part of icebath shares: cuts by characters, sentences, numbers, sizes and lengths of time in words, first filled values, sets and random tokens
Text helpers every part of icebath shares: cuts by characters, sentences, numbers, sizes and lengths of time in words, first filled values, sets and random tokens
Terminal emulator interpreting xterm control sequences into a cell grid with scrollback, driving a program on a pty
Terminal emulator interpreting xterm control sequences into a cell grid with scrollback, driving a program on a pty
What the terminals icebath knows need for the terminal app to get every key it acts on, and the changes that give it to them: computed as plans from what is read, nothing written here
What the terminals icebath knows need for the terminal app to get every key it acts on, and the changes that give it to them: computed as plans from what is read, nothing written here
Termux, the Linux userland of Android, as a source of programs: its apt repository read as apt reads it (the signed release, the index of packages, the index of contents, the archives), what the Termux of a phone holds already, the libraries Android gives apps, and the closure of the libraries a program needs, worked out from all of them and from the program's own ELF files
Termux, the Linux userland of Android, as a source of programs: its apt repository read as apt reads it (the signed release, the index of packages, the index of contents, the archives), what the Termux of a phone holds already, the libraries Android gives apps, and the closure of the libraries a program needs, worked out from all of them and from the program's own ELF files
Package tokenizers counts and makes the tokens of a text exactly as a model's own tokenizer does, in Go: the Hugging Face tokenizer.json pipeline of either version, the files a model snapshot ships instead (vocab.json with merges.txt, vocab.txt, SentencePiece models, tiktoken rank files, Mistral's tekken.json), and the tokenizer a GGUF model file carries
Package tokenizers counts and makes the tokens of a text exactly as a model's own tokenizer does, in Go: the Hugging Face tokenizer.json pipeline of either version, the files a model snapshot ships instead (vocab.json with merges.txt, vocab.txt, SentencePiece models, tiktoken rank files, Mistral's tekken.json), and the tokenizer a GGUF model file carries
chat
Package chat renders the chat templates models ship, the Jinja Hugging Face tokenizer configs and GGUF files carry, into the text a conversation is sent to the model as: the template language with the filters, tests, methods and globals these templates use
Package chat renders the chat templates models ship, the Jinja Hugging Face tokenizer configs and GGUF files carry, into the text a conversation is sent to the model as: the template language with the filters, tests, methods and globals these templates use
pattern
Package pattern compiles the regular expressions tokenizers cut text with, written for Oniguruma (Hugging Face tokenizers) or for Rust's fancy-regex (tiktoken, Mistral's tekken, llama.cpp), into what regexp2 runs with the same matches
Package pattern compiles the regular expressions tokenizers cut text with, written for Oniguruma (Hugging Face tokenizers) or for Rust's fancy-regex (tiktoken, Mistral's tekken, llama.cpp), into what regexp2 runs with the same matches
sentencepiece
Package sentencepiece reads SentencePiece models and encodes and decodes text with them as the C++ library does, without it: the unigram, BPE, word and character models, the precompiled normalization map and byte fallback
Package sentencepiece reads SentencePiece models and encodes and decodes text with them as the C++ library does, without it: the unigram, BPE, word and character models, the precompiled normalization map and byte fallback
tiktoken
Package tiktoken is the byte-pair encoding OpenAI's models count tokens with: a vocabulary of byte strings ranked by merge priority, a pattern that cuts text into pieces before the merges, and special tokens, read from the rank files OpenAI publishes
Package tiktoken is the byte-pair encoding OpenAI's models count tokens with: a vocabulary of byte strings ranked by merge priority, a pattern that cuts text into pieces before the merges, and special tokens, read from the rank files OpenAI publishes
Package toolsearch finds tools by what they say of themselves, for an agent offered more tools than its requests should carry: a catalog of the tools kept out of the requests, searched with BM25 over Porter2 stems, a listing of it that fits a budget of tokens, the entries of a call made through the bridge and the arguments of such a call checked against the tool's schema
Package toolsearch finds tools by what they say of themselves, for an agent offered more tools than its requests should carry: a catalog of the tools kept out of the requests, searched with BM25 over Porter2 stems, a listing of it that fits a budget of tokens, the entries of a call made through the bridge and the arguments of such a call checked against the tool's schema
ui
anim
Spring driven scalars and rectangles for terminal motion
Spring driven scalars and rectangles for terminal motion
brand
Package brand draws the backdrop of a new chat in terminal cells: the icebath banner from the art the README shows, the bather in the tub with the wordmark in the open space over the left end of the tub, or the pictures a person put in place of the art and the logo
Package brand draws the backdrop of a new chat in terminal cells: the icebath banner from the art the README shows, the bather in the tub with the wordmark in the open space over the left end of the tub, or the pictures a person put in place of the art and the logo
cards
Window manager cards sharing one environment of theme, keys and settings
Window manager cards sharing one environment of theme, keys and settings
clip
Package clip puts text on the clipboard of the person at the terminal and asks the terminal for what its clipboard holds
Package clip puts text on the clipboard of the person at the terminal and asks the terminal for what its clipboard holds
field
Line editor every text field of the toolkit types into, driven by the actions of the text context of the keymap that the prompt answers too
Line editor every text field of the toolkit types into, driven by the actions of the text context of the keymap that the prompt answers too
gfx
Package gfx shows pixel images over terminal cells through the graphics protocol a terminal is verified to draw
Package gfx shows pixel images over terminal cells through the graphics protocol a terminal is verified to draw
keys
Keybinds every legend, palette and menu derives its keys from, bound per context
Keybinds every legend, palette and menu derives its keys from, bound per context
lang
Package lang gives the kit the language of the window it draws in: its words for every text the window shows, its casing and the way it is written.
Package lang gives the kit the language of the window it draws in: its words for every text the window shows, its casing and the way it is written.
mosaic
Package mosaic draws pictures in terminal cells.
Package mosaic draws pictures in terminal cells.
render
Text rendering shared by every card, markdown, code, diffs, tables and small formatters tuned to the theme
Text rendering shared by every card, markdown, code, diffs, tables and small formatters tuned to the theme
theme
Colors and chrome shared by every icebath surface
Colors and chrome shared by every icebath surface
toggle
The words of the switches of the terminal app: what each word typed after the slash word of a switch makes of the value it holds, the values each takes, and the spinner each busy indicator turns
The words of the switches of the terminal app: what each word typed after the slash word of a switch makes of the value it holds, the values each takes, and the spinner each busy indicator turns
tty
Terminal output stage that turns Bubble Tea views into the fewest bytes a measured terminal needs
Terminal output stage that turns Bubble Tea views into the fewest bytes a measured terminal needs
wheel
Package wheel works out how far a step of the mouse wheel scrolls a view: the rows of one step the settings give, a step that follows close on the one before scrolling further, a mechanical wheel told by its bounce scrolling by larger steps until it rests, a terminal built on xterm.js, whose steps come at another pace, by a speed that decays, and a step with a modifier held one row a frame
Package wheel works out how far a step of the mouse wheel scrolls a view: the rows of one step the settings give, a step that follows close on the one before scrolling further, a mechanical wheel told by its bounce scrolling by larger steps until it rests, a terminal built on xterm.js, whose steps come at another pace, by a speed that decays, and a step with a modifier held one row a frame
wm
Tiling window manager for terminal cards with workspaces, floating dialogs, a command palette and spring motion
Tiling window manager for terminal cards with workspaces, floating dialogs, a command palette and spring motion

Jump to

Keyboard shortcuts

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