Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
ton
command
|
|
|
internal
|
|
|
artifacts
Package artifacts 定义会话产物契约路径(agent 落盘权威,stdout 仅辅证)。
|
Package artifacts 定义会话产物契约路径(agent 落盘权威,stdout 仅辅证)。 |
|
backend/core
Package core holds the dependency-free backend contract.
|
Package core holds the dependency-free backend contract. |
|
brand
Package brand 集中产品名与路径/环境变量约定。
|
Package brand 集中产品名与路径/环境变量约定。 |
|
budget
Package budget 累计 Agent usage 并在步边界执行会话预算策略(design §16)。
|
Package budget 累计 Agent usage 并在步边界执行会话预算策略(design §16)。 |
|
buildinfo
Package buildinfo 保存由 GoReleaser / -ldflags 注入的构建元数据。
|
Package buildinfo 保存由 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 定义 LLM 流程指挥的控制信号(编排权威候选)。
|
Package control 定义 LLM 流程指挥的控制信号(编排权威候选)。 |
|
discover
Package discover 扫描本机可用的 agent CLI,并缓存结果供自动选型。
|
Package discover 扫描本机可用的 agent CLI,并缓存结果供自动选型。 |
|
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 为磨合/指挥层提供轻量仓库快照(不替代 agent 工具环)。
|
Package repocontext 为磨合/指挥层提供轻量仓库快照(不替代 agent 工具环)。 |
|
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 可选约束磨合期 agent 可写范围。
|
Package sandbox 可选约束磨合期 agent 可写范围。 |
|
secrets
Package secrets 管理本机 LLM API key 落盘(不进 yaml、不进仓库)。
|
Package secrets 管理本机 LLM API key 落盘(不进 yaml、不进仓库)。 |
|
serve
Package serve 管理工作区级别的 OpenCode serve 进程。
|
Package serve 管理工作区级别的 OpenCode serve 进程。 |
|
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.