Help us shape the future of Go! Take the 2026 Go Developer Survey

internal/

directory
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: MIT

Directories

Path Synopsis
Model picker auth-filter scope toggle.
Model picker auth-filter scope toggle.
askuser
Package askuser is the ask_user tool: the model asks the user one multiple-choice question, with free text allowed, when a decision is theirs.
Package askuser is the ask_user tool: the model asks the user one multiple-choice question, with free text allowed, when a decision is theirs.
compaction
Branch summarization for tree navigation.
Branch summarization for tree navigation.
efficiency
Package efficiency implements four mechanisms that cut the tokens each request carries: Action Fusion, ObservationPack, the Evidence-Preserving Reducer, and Online Context Compact.
Package efficiency implements four mechanisms that cut the tokens each request carries: Action Fusion, ObservationPack, the Evidence-Preserving Reducer, and Online Context Compact.
export
Package export provides HTML session export from embedded template files.
Package export provides HTML session export from embedded template files.
frontmatter
Package frontmatter parses YAML frontmatter blocks from markdown files.
Package frontmatter parses YAML frontmatter blocks from markdown files.
goal
Package goal is the session goal: an objective wopr keeps working toward across turns, continuing automatically until an independent audit accepts the orchestrator's completion claim or a cap pauses it.
Package goal is the session goal: an objective wopr keeps working toward across turns, continuing automatically until an independent audit accepts the orchestrator's completion claim or a cap pauses it.
llama
Package llama is the built-in llama.cpp integration: the router HTTP/SSE client, Hugging Face search and download, the dynamic provider, the manager UI, and the /llama command.
Package llama is the built-in llama.cpp integration: the router HTTP/SSE client, Hugging Face search and download, the dynamic provider, the manager UI, and the /llama command.
mcp
Package mcp is wopr's Model Context Protocol client.
Package mcp is wopr's Model Context Protocol client.
prompts
Package prompts builds the default coding-agent system prompt.
Package prompts builds the default coding-agent system prompt.
pruning
Package pruning removes stale material from the model context without a model call (duplicate tool calls, inputs of failed calls, reads a later change made stale) and gives the model a compress tool for spans it has finished with.
Package pruning removes stale material from the model context without a model call (duplicate tool calls, inputs of failed calls, reads a later change made stale) and gives the model a compress tool for spans it has finished with.
queue
Package queue is the session's persistent work queue: what the user asked for, what is running where, and what finished.
Package queue is the session's persistent work queue: what the user asked for, what is running where, and what finished.
releasetest
Package releasetest serves a fake GitHub release of wopr for self-update tests: the releases/latest redirect, a signed SHA256SUMS, and this platform's archive, with each asset download redirected to an object store the way github.com does.
Package releasetest serves a fake GitHub release of wopr for self-update tests: the releases/latest redirect, a signed SHA256SUMS, and this platform's archive, with each asset download redirected to an object store the way github.com does.
router
Package router chooses a model per prompt.
Package router chooses a model per prompt.
sessionblob
Package sessionblob keeps session images out of the session JSONL.
Package sessionblob keeps session images out of the session JSONL.
shellread
Package shellread decides whether a shell command only reads: a pipeline of allowlisted programs, with chaining, redirection, substitution, and flags that write or run other programs rejected.
Package shellread decides whether a shell command only reads: a pipeline of allowlisted programs, with chaining, redirection, substitution, and flags that write or run other programs rejected.
subagent
Package subagent runs delegated tasks: a brief goes to a child agent with fresh context, read-only tools, and budgets; its answer comes back in a fixed format whose quotes wopr verifies before the orchestrator sees them.
Package subagent runs delegated tasks: a brief goes to a child agent with fresh context, read-only tools, and budgets; its answer comes back in a fixed format whose quotes wopr verifies before the orchestrator sees them.
tempfiles
Package tempfiles finds the temp files a wopr session creates and deletes them once nothing needs them.
Package tempfiles finds the temp files a wopr session creates and deletes them once nothing needs them.
tools
tools/bash_executor.go: user bash execution (!cmd, RPC bash, SDK ExecuteBash via ExecuteBashWithOperations).
tools/bash_executor.go: user bash execution (!cmd, RPC bash, SDK ExecuteBash via ExecuteBashWithOperations).
web
Package web implements the web_fetch and web_search tools: a URL fetched to markdown or text, with private networks blocked by default, and a web search through a configured provider (Brave, Tavily or SearXNG), else DuckDuckGo's results page.
Package web implements the web_fetch and web_search tools: a URL fetched to markdown or text, with private networks blocked by default, and a web search through a configured provider (Brave, Tavily or SearXNG), else DuckDuckGo's results page.
Package configvalue resolves configuration string values.
Package configvalue resolves configuration string values.
Package evals measures wopr: overhead against a deterministic local model, fixed coding tasks against real models, seeded mutation tasks, and performance budgets.
Package evals measures wopr: overhead against a deterministic local model, fixed coding tasks against real models, seeded mutation tasks, and performance budgets.
Image resize + re-encode policy for CLI/LLM image attachments, plus the EXIF orientation reader.
Image resize + re-encode policy for CLI/LLM image attachments, plus the EXIF orientation reader.
Package latex renders a basic subset of LaTeX math as terminal-friendly Unicode text.
Package latex renders a basic subset of LaTeX math as terminal-friendly Unicode text.
Package managementhttp provides a bounded immediate retry for idempotent management requests (tool downloads, release lookups).
Package managementhttp provides a bounded immediate retry for idempotent management requests (tool downloads, release lookups).
Package mermaid renders Mermaid diagrams as Unicode box-drawing art for terminals.
Package mermaid renders Mermaid diagrams as Unicode box-drawing art for terminals.
Package nativeplatform provides operating-system queries.
Package nativeplatform provides operating-system queries.
Package ownerfile makes files accessible to their owner only and checks that they are: mode 0600 and no group or other bits on POSIX, and on Windows, which has no mode bits, a DACL (D68).
Package ownerfile makes files accessible to their owner only and checks that they are: mode 0600 and no group or other bits on POSIX, and on Windows, which has no mode bits, a DACL (D68).
Package profiling writes Go runtime profiles when WOPR_PROFILE names them.
Package profiling writes Go runtime profiles when WOPR_PROFILE names them.
Package shellconfig resolves the bash shell WOPR runs commands through.
Package shellconfig resolves the bash shell WOPR runs commands through.
Package testbudget sizes the deadlines tests use to bound a hang.
Package testbudget sizes the deadlines tests use to bound a hang.
Package testenv checks host capabilities a test needs, so a test runs wherever the host provides them and says why it skipped where the host does not.
Package testenv checks host capabilities a test needs, so a test runs wherever the host provides them and says why it skipped where the host does not.
Package text provides the leading byte order mark helpers every reader applies before parsing user-authored JSON, markdown, and text files, and the JavaScript whitespace set that ported JS parsers match byte-for-byte.
Package text provides the leading byte order mark helpers every reader applies before parsing user-authored JSON, markdown, and text files, and the JavaScript whitespace set that ported JS parsers match byte-for-byte.
Package woprdocs materializes the documentation embedded in wopr under the user's config root (`~/.wopr/docs` by default).
Package woprdocs materializes the documentation embedded in wopr under the user's config root (`~/.wopr/docs` by default).

Jump to

Keyboard shortcuts

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