Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
yotta-models
command
Command yotta-models refreshes internal/catalog/catalog.gen.json by querying each cloud provider's list-models endpoint.
|
Command yotta-models refreshes internal/catalog/catalog.gen.json by querying each cloud provider's list-models endpoint. |
|
yottacode
command
|
|
|
internal
|
|
|
agent
Path-validation helpers for the mutating filesystem tools (write_file, edit_file, mkdir, copy_file, move_file, delete_file).
|
Path-validation helpers for the mutating filesystem tools (write_file, edit_file, mkdir, copy_file, move_file, delete_file). |
|
auth/openai
Package openai implements the OAuth 2.0 Authorization Code + PKCE flow that OpenAI's Codex CLI uses to authenticate to ChatGPT subscriber backends.
|
Package openai implements the OAuth 2.0 Authorization Code + PKCE flow that OpenAI's Codex CLI uses to authenticate to ChatGPT subscriber backends. |
|
catalog
Package catalog is yottacode's source of truth for the set of cloud LLMs the wizard and TUI offer.
|
Package catalog is yottacode's source of truth for the set of cloud LLMs the wizard and TUI offer. |
|
config
Package config loads ~/.yottacode/config.toml — the single tunable surface for context-window watermarks, retrieval, and provider profiles.
|
Package config loads ~/.yottacode/config.toml — the single tunable surface for context-window watermarks, retrieval, and provider profiles. |
|
contextwindow
Package contextwindow estimates token usage for a message history and looks up the model's context-window capacity.
|
Package contextwindow estimates token usage for a message history and looks up the model's context-window capacity. |
|
dotenv
Package dotenv loads KEY=VALUE pairs from .env files into a map.
|
Package dotenv loads KEY=VALUE pairs from .env files into a map. |
|
filerefs
Package filerefs implements the @file reference system: when a user types something like "explain @main.go and @internal/foo.go", the agent detects the @-prefixed tokens, reads the matching files from the working directory, and injects their contents into the system prompt so the model sees the file as authoritative context for the turn — no extra read_file tool call required.
|
Package filerefs implements the @file reference system: when a user types something like "explain @main.go and @internal/foo.go", the agent detects the @-prefixed tokens, reads the matching files from the working directory, and injects their contents into the system prompt so the model sees the file as authoritative context for the turn — no extra read_file tool call required. |
|
memory
Package memory loads optional context files that are auto-injected into the system prompt at session start.
|
Package memory loads optional context files that are auto-injected into the system prompt at session start. |
|
oneshot
Package oneshot is the non-interactive entry point: read one prompt, run one agent turn, print the final answer to stdout, exit.
|
Package oneshot is the non-interactive entry point: read one prompt, run one agent turn, print the final answer to stdout, exit. |
|
permissions
Package permissions implements the project-local permissions layer that gates tool calls.
|
Package permissions implements the project-local permissions layer that gates tool calls. |
|
providerops
Package providerops centralizes the provider/model mutation operations the TUI picker and the cobra `yottacode provider` / `yottacode model` subcommands both perform.
|
Package providerops centralizes the provider/model mutation operations the TUI picker and the cobra `yottacode provider` / `yottacode model` subcommands both perform. |
|
recall
Package recall is a tiny full-text index over saved sessions.
|
Package recall is a tiny full-text index over saved sessions. |
|
version
Package version exposes the build version.
|
Package version exposes the build version. |
|
wizard
Package wizard implements `yottacode setup` — the first-run setup flow.
|
Package wizard implements `yottacode setup` — the first-run setup flow. |
Click to show internal directories.
Click to hide internal directories.