internal/

directory
v0.1.47 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: MIT

Directories

Path Synopsis
Package bench provides a Terminal Bench-style harness for measuring how well the BroCode agent loop solves real tasks: it runs a task in a throwaway sandbox project, then verifies the outcome with a script.
Package bench provides a Terminal Bench-style harness for measuring how well the BroCode agent loop solves real tasks: it runs a task in a throwaway sandbox project, then verifies the outcome with a script.
Package gitutil provides shared git operations to avoid spawning duplicate git processes.
Package gitutil provides shared git operations to avoid spawning duplicate git processes.
Package hooks provides lifecycle hooks for the agent loop, mirroring the pattern of Claude Code / opencode: the user defines shell commands that run at specific points in the turn (start, end, on error, before/after tool calls).
Package hooks provides lifecycle hooks for the agent loop, mirroring the pattern of Claude Code / opencode: the user defines shell commands that run at specific points in the turn (start, end, on error, before/after tool calls).
Package learn implements BroCode's self-improving control layer: it observes each turn's context utilization and nudges the global efficiency knobs (today: the compaction trigger ratio) so the agent gets smarter about its own token budget the longer it is used — without any user tuning.
Package learn implements BroCode's self-improving control layer: it observes each turn's context utilization and nudges the global efficiency knobs (today: the compaction trigger ratio) so the agent gets smarter about its own token budget the longer it is used — without any user tuning.
Package lsp integrates Language Server Protocol (LSP) support into BroCode.
Package lsp integrates Language Server Protocol (LSP) support into BroCode.
Package mcp integrates Model Context Protocol (MCP) servers into BroCode.
Package mcp integrates Model Context Protocol (MCP) servers into BroCode.
Package memory implements BroCode's cross-session project memory.
Package memory implements BroCode's cross-session project memory.
Package prompt assembles the system prompt from composable, layered blocks instead of one monolithic string.
Package prompt assembles the system prompt from composable, layered blocks instead of one monolithic string.
Package repo implements BroCode's deterministic project intelligence layer: a repo map (entry points, structure, hot files) built without the LLM, and cross-session usage tracking ("the more BroCode is used, the smarter it gets").
Package repo implements BroCode's deterministic project intelligence layer: a repo map (entry points, structure, hot files) built without the LLM, and cross-session usage tracking ("the more BroCode is used, the smarter it gets").
Package search provides zero-dependency code intelligence: symbol extraction (function/struct/class maps per file) and BM25 relevance search over file contents.
Package search provides zero-dependency code intelligence: symbol extraction (function/struct/class maps per file) and BM25 relevance search over file contents.
Package subagent implements sub-agents: isolated agent loops that run with their own fresh context while sharing the main provider adapter and tool set.
Package subagent implements sub-agents: isolated agent loops that run with their own fresh context while sharing the main provider adapter and tool set.
Package tokens provides LLM token counting.
Package tokens provides LLM token counting.

Jump to

Keyboard shortcuts

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