Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package agent is the engine that turns one awake ant into work: the explicit state-machine loop that drives model turns, schedules tool calls, compacts the context when the window fills, and recovers from provider errors (doc 03).
|
Package agent is the engine that turns one awake ant into work: the explicit state-machine loop that drives model turns, schedules tool calls, compacts the context when the window fills, and recovers from provider errors (doc 03). |
|
Package ant is the population side of the colony: the card contract, the prompt assembly, and the runner that puts the agent loop behind the core's TurnRunner seam.
|
Package ant is the population side of the colony: the card contract, the prompt assembly, and the runner that puts the agent loop behind the core's TurnRunner seam. |
|
Package bus is the in-process event broker between the core and its clients.
|
Package bus is the in-process event broker between the core and its clients. |
|
Package cmd holds the ari command tree.
|
Package cmd holds the ari command tree. |
|
Package config loads ari's TOML configuration with a fixed precedence: built-in defaults, then the user file (~/.ari/config.toml), then the project file (.ari/config.toml), then the gitignored local file (.ari/local.toml), then flags for the run.
|
Package config loads ari's TOML configuration with a fixed precedence: built-in defaults, then the user file (~/.ari/config.toml), then the project file (.ari/config.toml), then the gitignored local file (.ari/local.toml), then flags for the run. |
|
Package core is the headless colony: Open, Start, Close, and the SessionAPI every surface drives.
|
Package core is the headless colony: Open, Start, Close, and the SessionAPI every surface drives. |
|
Package doctor is ari's hardening checker, shipped in the product from day one rather than written after a crisis (doc 14 section 12, D16).
|
Package doctor is ari's hardening checker, shipped in the product from day one rather than written after a crisis (doc 14 section 12, D16). |
|
Package event is the shared vocabulary between the core and every client.
|
Package event is the shared vocabulary between the core and every client. |
|
Package journal is the append-only event log of everything the colony does: the durable spine under the D2 event stream and the source for replay (doc 01 section 8).
|
Package journal is the append-only event log of everything the colony does: the durable spine under the D2 event stream and the source for replay (doc 01 section 8). |
|
kernel
|
|
|
eval
Package eval is the harness the rest of ari is tested with: golden files for every renderer, offline replay sets for the loop, token budgets for the demo tasks, and goleak for every package (D23).
|
Package eval is the harness the rest of ari is tested with: golden files for every renderer, offline replay sets for the loop, token budgets for the demo tasks, and goleak for every package (D23). |
|
ledger
Package ledger is where token counts become money and budgets.
|
Package ledger is where token counts become money and budgets. |
|
Package nest owns ari's data directories: the global nest at ~/.ari and the project nest at .ari/ in the repo.
|
Package nest owns ari's data directories: the global nest at ~/.ari and the project nest at .ari/ in the repo. |
|
Package permission is the ordered decision pipeline every tool call passes through before it runs (doc 05).
|
Package permission is the ordered decision pipeline every tool call passes through before it runs (doc 05). |
|
Package provider is the only kernel component that opens a socket to a model.
|
Package provider is the only kernel component that opens a socket to a model. |
|
anthropic
Package anthropic speaks the Messages API natively: fine-grained streaming usage, cache_control breakpoints, parallel tool use.
|
Package anthropic speaks the Messages API natively: fine-grained streaming usage, cache_control breakpoints, parallel tool use. |
|
openai
Package openai speaks chat completions, the shape every non-Anthropic endpoint understands: hosted gateways, Ollama, LM Studio, llama.cpp, the tailnet box.
|
Package openai speaks chat completions, the shape every non-Anthropic endpoint understands: hosted gateways, Ollama, LM Studio, llama.cpp, the tailnet box. |
|
scripted
Package scripted is the provider every loop and UI test drives the core with: recorded responses, no network.
|
Package scripted is the provider every loop and UI test drives the core with: recorded responses, no network. |
|
Package session persists transcripts.
|
Package session persists transcripts. |
|
jsonl
Package jsonl is the first session.Store: one JSON object per line, one file per session, append-only, under the project's sessions/ directory in the global nest (doc 01 sections 7.3 and 7.5).
|
Package jsonl is the first session.Store: one JSON object per line, one file per session, append-only, under the project's sessions/ directory in the global nest (doc 01 sections 7.3 and 7.5). |
|
Package tool owns the fail-closed capability surface the model calls.
|
Package tool owns the fail-closed capability surface the model calls. |
|
Package ui is the root of the terminal client: one tea.Model that coordinates controllers, routes input by scope, and composites every widget onto one cell buffer (doc 02 sections 11 and 18).
|
Package ui is the root of the terminal client: one tea.Model that coordinates controllers, routes input by scope, and composites every widget onto one cell buffer (doc 02 sections 11 and 18). |
|
bus
Package bus bridges the core's event stream to the UI program (doc 02 section 3).
|
Package bus bridges the core's event stream to the UI program (doc 02 section 3). |
|
chatlist
Package chatlist is the lazy chat scrollback (doc 02 section 5).
|
Package chatlist is the lazy chat scrollback (doc 02 section 5). |
|
dialog
Package dialog is the modal layer (doc 02 section 8).
|
Package dialog is the modal layer (doc 02 section 8). |
|
diff
Package diff renders unified diff text into styled lines, shared by the edit-result chat renderer and the permission prompt (doc 02 section 9).
|
Package diff renders unified diff text into styled lines, shared by the edit-result chat renderer and the permission prompt (doc 02 section 9). |
|
input
Package input holds the pieces that sit between the terminal and the update loop (doc 02 section 14): a filter that coalesces high-rate mouse traffic so a wheel flick cannot starve the keyboard, and the external editor escape hatch for prompts that outgrow a textarea.
|
Package input holds the pieces that sit between the terminal and the update loop (doc 02 section 14): a filter that coalesces high-rate mouse traffic so a wheel flick cannot starve the keyboard, and the external editor escape hatch for prompts that outgrow a textarea. |
|
keys
Package keys is the binding registry (doc 02 section 12).
|
Package keys is the binding registry (doc 02 section 12). |
|
markdown
Package markdown renders assistant prose.
|
Package markdown renders assistant prose. |
|
parts
Package parts is the render model: the UI draws exactly one data structure, the ordered list of typed parts that make up a session's messages, projected from the core's events with no second schema (doc 02 section 4).
|
Package parts is the render model: the UI draws exactly one data structure, the ordered list of typed parts that make up a session's messages, projected from the core's events with no second schema (doc 02 section 4). |
|
perm
Package perm is the permission dialog (doc 02 section 9).
|
Package perm is the permission dialog (doc 02 section 9). |
|
picker
Package picker is the one filterable list dialog: the model picker, the session switcher, and the command palette are all a Dialog with different items and a different ID (doc 02 section 7.1).
|
Package picker is the one filterable list dialog: the model picker, the session switcher, and the command palette are all a Dialog with different items and a different ID (doc 02 section 7.1). |
|
sidebar
Package sidebar is the live ops panel (doc 02 section 13.1): a fixed width column of stacked sections reading from state the root projects out of core events.
|
Package sidebar is the live ops panel (doc 02 section 13.1): a fixed width column of stacked sections reading from state the root projects out of core events. |
|
splash
Onboarding: a short sequence of dialogs on the overlay stack (doc 02 section 19.2).
|
Onboarding: a short sequence of dialogs on the overlay stack (doc 02 section 19.2). |
|
tea
Package tea holds the one rendering contract every widget in the UI implements: paint yourself onto cells within a rectangle (doc 02 section 2.5).
|
Package tea holds the one rendering contract every widget in the UI implements: paint yourself onto cells within a rectangle (doc 02 section 2.5). |
|
theme
Package theme is the semantic palette layer (doc 02 section 10, D18).
|
Package theme is the semantic palette layer (doc 02 section 10, D18). |
|
Package version holds the build metadata stamped at link time.
|
Package version holds the build metadata stamped at link time. |
Click to show internal directories.
Click to hide internal directories.