Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
0xaf
command
Command 0xaf is the reverse engineering and CTF agent: one binary, no runtime, the same routing and tools as the TypeScript original.
|
Command 0xaf is the reverse engineering and CTF agent: one binary, no runtime, the same routing and tools as the TypeScript original. |
|
import-knowledge
command
Command import-knowledge indexes a local reverse-engineering markdown corpus into knowledge/reverse-index.json, which `knowledge_search` and `/know` read.
|
Command import-knowledge indexes a local reverse-engineering markdown corpus into knowledge/reverse-index.json, which `knowledge_search` and `/know` read. |
|
internal
|
|
|
app
Package app is the CLI: argument parsing, the REPL, slash commands, and the wiring that turns a config into a running agent.
|
Package app is the CLI: argument parsing, the REPL, slash commands, and the wiring that turns a config into a running agent. |
|
assets
Package assets embeds the project's prompt and skill files so a single binary works from any directory, and resolves the on-disk project root when one is present (whose prompt and same-named skills override the embedded copies, so editing prompts or skills does not need a rebuild).
|
Package assets embeds the project's prompt and skill files so a single binary works from any directory, and resolves the on-disk project root when one is present (whose prompt and same-named skills override the embedded copies, so editing prompts or skills does not need a rebuild). |
|
auth
Package auth finds credentials for the HTTP providers (env files, a local secret store) and reports whether each provider — including the CLI-backed ones — is actually usable right now.
|
Package auth finds credentials for the HTTP providers (env files, a local secret store) and reports whether each provider — including the CLI-backed ones — is actually usable right now. |
|
config
Package config loads agent.config.json (merged over the built-in defaults) and the small UI preference file that keeps /theme and /flow across restarts.
|
Package config loads agent.config.json (merged over the built-in defaults) and the small UI preference file that keeps /theme and /flow across restarts. |
|
core
Package core is the agent runtime: the append-only session log, context budgeting, the tool loop, and the operator shell escape.
|
Package core is the agent runtime: the append-only session log, context budgeting, the tool loop, and the operator shell escape. |
|
knowledge
Package knowledge searches the imported reverse-engineering corpus and packs hits into a model-facing context block.
|
Package knowledge searches the imported reverse-engineering corpus and packs hits into a model-facing context block. |
|
mcp
Package mcp is a minimal MCP client (stdio transport, JSON-RPC 2.0 over newline-delimited JSON) plus the adapter that turns a server's tools into native agent tools.
|
Package mcp is a minimal MCP client (stdio transport, JSON-RPC 2.0 over newline-delimited JSON) plus the adapter that turns a server's tools into native agent tools. |
|
plan
Package plan tracks the task list a provider is working through.
|
Package plan tracks the task list a provider is working through. |
|
providers
Package providers adapts each backend — Anthropic Messages, OpenAI Responses, OpenAI-compatible Chat, a local CLI in tmux, and an offline mock — to one Complete() call.
|
Package providers adapts each backend — Anthropic Messages, OpenAI Responses, OpenAI-compatible Chat, a local CLI in tmux, and an offline mock — to one Complete() call. |
|
security
Package security decides whether a call runs: the command safety patterns (policy.go) and the tier/mode approval gate (approval.go).
|
Package security decides whether a call runs: the command safety patterns (policy.go) and the tier/mode approval gate (approval.go). |
|
skills
Package skills loads the project-local reverse engineering workflows from skills/<name>/SKILL.md (falling back to the copies embedded in the binary).
|
Package skills loads the project-local reverse engineering workflows from skills/<name>/SKILL.md (falling back to the copies embedded in the binary). |
|
tools
Package tools is the local tool registry: file access, command execution, CTF/reverse helpers, and the host-side task list tool.
|
Package tools is the local tool registry: file access, command execution, CTF/reverse helpers, and the host-side task list tool. |
|
types
Package types holds the data model shared by every layer: messages, tools, providers, plans, and the execution policy.
|
Package types holds the data model shared by every layer: messages, tools, providers, plans, and the execution policy. |
|
ui
Package ui owns everything the operator sees: the palette, the live HUD, the dataflow diagram, the trace lines, and the markdown renderer.
|
Package ui owns everything the operator sees: the palette, the live HUD, the dataflow diagram, the trace lines, and the markdown renderer. |
|
util
Package util holds the small shared helpers: argument coercion, path containment, truncation, and the interrupt sentinel.
|
Package util holds the small shared helpers: argument coercion, path containment, truncation, and the interrupt sentinel. |
|
workflow
Package workflow defines high-level RE execution modes.
|
Package workflow defines high-level RE execution modes. |
Click to show internal directories.
Click to hide internal directories.