Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
ton
command
|
|
|
internal
|
|
|
artifacts
Package artifacts define the session product contract path (agent is the authoritative agent, stdout is only auxiliary evidence).
|
Package artifacts define the session product contract path (agent is the authoritative agent, stdout is only auxiliary evidence). |
|
backend/core
Package core holds the dependency-free backend contract.
|
Package core holds the dependency-free backend contract. |
|
brand
Package brand centralizes product name and path/environment variable conventions.
|
Package brand centralizes product name and path/environment variable conventions. |
|
browserenv
Package browserenv forces browser automation (Playwright MCP / Chromium) to stay headless.
|
Package browserenv forces browser automation (Playwright MCP / Chromium) to stay headless. |
|
budget
Package budget accumulates Agent usage and enforces session budget policies at step boundaries (design §16).
|
Package budget accumulates Agent usage and enforces session budget policies at step boundaries (design §16). |
|
buildinfo
Package buildinfo holds build metadata injected by GoReleaser/-ldflags.
|
Package buildinfo holds build metadata injected by GoReleaser/-ldflags. |
|
clarify
Package clarify manages requirement clarification and the Ready-to-Start gate.
|
Package clarify manages requirement clarification and the Ready-to-Start gate. |
|
cli
Package cli defines the ton command-line interface.
|
Package cli defines the ton command-line interface. |
|
control
Package control defines the control signals of the LLM process director (candidate for orchestration authority).
|
Package control defines the control signals of the LLM process director (candidate for orchestration authority). |
|
discover
Package discover scans the agent CLI available on the machine and caches the results for automatic selection.
|
Package discover scans the agent CLI available on the machine and caches the results for automatic selection. |
|
doctor
Package doctor implements dependency checks used by the CLI.
|
Package doctor implements dependency checks used by the CLI. |
|
gitmgr
Package gitmgr encapsulates Git operations that must be performed by ton, rather than delegated to an agent model.
|
Package gitmgr encapsulates Git operations that must be performed by ton, rather than delegated to an agent model. |
|
llm
Package llm provides the OpenAI-compatible chat client used by ton.
|
Package llm provides the OpenAI-compatible chat client used by ton. |
|
orch
Package orch contains the pure state-transition rules for an ton session.
|
Package orch contains the pure state-transition rules for an ton session. |
|
plan
Package plan generates and validates the ordered implementation plan.
|
Package plan generates and validates the ordered implementation plan. |
|
repair
Package repair turns a failed session gate into a constrained agent repair run.
|
Package repair turns a failed session gate into a constrained agent repair run. |
|
repocontext
Package repocontext provides lightweight repository snapshots for the grinding/command layer (does not replace the agent toolring).
|
Package repocontext provides lightweight repository snapshots for the grinding/command layer (does not replace the agent toolring). |
|
report
Package report renders the durable session summary written to report.md.
|
Package report renders the durable session summary written to report.md. |
|
sandbox
Package sandbox optionally constrains the writable range of agents during the running-in period.
|
Package sandbox optionally constrains the writable range of agents during the running-in period. |
|
secrets
Package secrets manage the local LLM API key placement (without entering yaml or warehouse).
|
Package secrets manage the local LLM API key placement (without entering yaml or warehouse). |
|
selfupdate
Package selfupdate downloads ton release binaries from GitHub and replaces the running executable.
|
Package selfupdate downloads ton release binaries from GitHub and replaces the running executable. |
|
serve
Package serve manages the OpenCode serve process at the workspace level.
|
Package serve manages the OpenCode serve process at the workspace level. |
|
tui
Package tui provides the interactive Bubble Tea interface for ton sessions.
|
Package tui provides the interactive Bubble Tea interface for ton sessions. |
Click to show internal directories.
Click to hide internal directories.