Directories
ยถ
| Path | Synopsis |
|---|---|
|
benchmarks
|
|
|
context-maintenance-e2e
command
Drives the context-maintenance E2E scenarios against a real LLM API: seed โ (idle past cache TTL) โ resume A/B-compares cold-restart miss tokens with and without pruning.
|
Drives the context-maintenance E2E scenarios against a real LLM API: seed โ (idle past cache TTL) โ resume A/B-compares cold-restart miss tokens with and without pruning. |
|
cmd
|
|
|
cua-replay
command
Command cua-replay is a debugging tool for the CUA (Computer-Use Agent) vision loop.
|
Command cua-replay is a debugging tool for the CUA (Computer-Use Agent) vision loop. |
|
e2ebench
command
e2ebench runs the committed e2e task suite against a real provider and emits a markdown + JSON report (accuracy, cache-hit rate, token use, cost) for a PR.
|
e2ebench runs the committed e2e task suite against a real provider and emits a markdown + JSON report (accuracy, cache-hit rate, token use, cost) for a PR. |
|
fairpeer
command
Command fairpeer is a config- and plugin-driven coding agent CLI.
|
Command fairpeer is a config- and plugin-driven coding agent CLI. |
|
fairpeer-plugin-example
command
Command fairpeer-plugin-example is a reference fairpeer plugin: a minimal MCP stdio server speaking newline-delimited JSON-RPC 2.0 on stdin/stdout.
|
Command fairpeer-plugin-example is a reference fairpeer plugin: a minimal MCP stdio server speaking newline-delimited JSON-RPC 2.0 on stdin/stdout. |
|
desktop
module
|
|
|
internal
|
|
|
acp
Package acp implements the Agent Client Protocol (https://agentclientprotocol.com) transport: a stdio JSON-RPC 2.0 agent that editors and other host clients speak to drive fairpeer.
|
Package acp implements the Agent Client Protocol (https://agentclientprotocol.com) transport: a stdio JSON-RPC 2.0 agent that editors and other host clients speak to drive fairpeer. |
|
agent
Package agent wires a Provider, a tool Registry, and a Session into the harness loop that drives a coding task to completion.
|
Package agent wires a Provider, a tool Registry, and a Session into the harness loop that drives a coding task to completion. |
|
agent/testutil
Package testutil provides reusable test helpers for the agent package.
|
Package testutil provides reusable test helpers for the agent package. |
|
apihelper
Package apihelper provides a small set of shared HTTP helpers reused by the scheduler LLM time-parser, the RAG ask path, and the RAG extractor.
|
Package apihelper provides a small set of shared HTTP helpers reused by the scheduler LLM time-parser, the RAG ask path, and the RAG extractor. |
|
assets
Package assets embeds the built-in, cross-platform skill payloads that fairpeer ships with its binary.
|
Package assets embeds the built-in, cross-platform skill payloads that fairpeer ships with its binary. |
|
boot
Package boot assembles a ready-to-drive control.Controller from configuration: it loads config, resolves the model(s), builds the tool registry (built-ins + plugins), wires the permission gate, and constructs the executor.
|
Package boot assembles a ready-to-drive control.Controller from configuration: it loads config, resolves the model(s), builds the tool registry (built-ins + plugins), wires the permission gate, and constructs the executor. |
|
bot
Package bot ๅฎ็ฐ fairpeer ๅคๆธ ้ IM bot ๆถๆฏ็ฝๅ
ณ๏ผๆฏๆ QQใ้ฃไนฆใๅพฎไฟกใTelegramใ
|
Package bot ๅฎ็ฐ fairpeer ๅคๆธ ้ IM bot ๆถๆฏ็ฝๅ ณ๏ผๆฏๆ QQใ้ฃไนฆใๅพฎไฟกใTelegramใ |
|
bot/feishu
Package feishu ๅฎ็ฐ้ฃไนฆ่ชๅปบๅบ็จ Bot ้้
ๅจใ
|
Package feishu ๅฎ็ฐ้ฃไนฆ่ชๅปบๅบ็จ Bot ้้ ๅจใ |
|
bot/qq
Package qq ๅฎ็ฐ QQ ๅฎๆน Bot API v2 ้้
ๅจใ
|
Package qq ๅฎ็ฐ QQ ๅฎๆน Bot API v2 ้้ ๅจใ |
|
bot/telegram
Package telegram ๅฎ็ฐ Telegram Bot API ้้
ๅจใ
|
Package telegram ๅฎ็ฐ Telegram Bot API ้้ ๅจใ |
|
bot/weixin
Package weixin ๅฎ็ฐๅพฎไฟก iLink Bot ้้
ๅจใ
|
Package weixin ๅฎ็ฐๅพฎไฟก iLink Bot ้้ ๅจใ |
|
browserlaunch
Package browserlaunch launches a system-installed Chromium-based browser (Chrome / Edge / Brave / Chromium) with a CDP remote-debugging endpoint and exposes the resulting websocket URL so a driver โ the Python browser-use sidecar, or chromedp elsewhere โ can attach to the very same browser instead of each driver spawning its own.
|
Package browserlaunch launches a system-installed Chromium-based browser (Chrome / Edge / Brave / Chromium) with a CDP remote-debugging endpoint and exposes the resulting websocket URL so a driver โ the Python browser-use sidecar, or chromedp elsewhere โ can attach to the very same browser instead of each driver spawning its own. |
|
browseruse
Package browseruse is the Go client for the Python browser-use sidecar (browseruse_server.py).
|
Package browseruse is the Go client for the Python browser-use sidecar (browseruse_server.py). |
|
builtinmcp
Package builtinmcp defines MCP servers that ship with fairpeer without requiring user configuration.
|
Package builtinmcp defines MCP servers that ship with fairpeer without requiring user configuration. |
|
calendar
Package calendar provides a local SQLite-backed calendar for FairPeer.
|
Package calendar provides a local SQLite-backed calendar for FairPeer. |
|
checkpoint
Package checkpoint is fairpeer's snapshot-based edit safety net.
|
Package checkpoint is fairpeer's snapshot-based edit safety net. |
|
cli
Package cli implements fairpeer's command-line entry: subcommand routing, flag parsing, assembly from config, and exit codes.
|
Package cli implements fairpeer's command-line entry: subcommand routing, flag parsing, assembly from config, and exit codes. |
|
codegraph
Package codegraph integrates the CodeGraph code-intelligence engine (https://github.com/colbymchenry/codegraph) as a built-in MCP server.
|
Package codegraph integrates the CodeGraph code-intelligence engine (https://github.com/colbymchenry/codegraph) as a built-in MCP server. |
|
command
Package command loads custom slash commands from Markdown files.
|
Package command loads custom slash commands from Markdown files. |
|
compose
Package compose implements fairpeer's structured development workflow: after a plan is approved, a multi-task feature runs through Implement โ Verify โ (Review) with bounded retries, instead of a single execution turn that never validates the result.
|
Package compose implements fairpeer's structured development workflow: after a plan is approved, a multi-task feature runs through Implement โ Verify โ (Review) with bounded retries, instead of a single execution turn that never validates the result. |
|
config
Package config loads fairpeer's runtime configuration from TOML.
|
Package config loads fairpeer's runtime configuration from TOML. |
|
control
Package control is the transport-agnostic session driver.
|
Package control is the transport-agnostic session driver. |
|
diff
Package diff computes a line-level diff between two versions of a file and renders it as a unified diff, with added/removed line counts.
|
Package diff computes a line-level diff between two versions of a file and renders it as a unified diff, with added/removed line counts. |
|
docconv
Package docconv centralizes the external Python-script document-conversion helpers (markitdown via doc_converter.py, and PDF OCR via ocr_pdf.py) that were previously duplicated across three packages (rag, tool/builtin, control).
|
Package docconv centralizes the external Python-script document-conversion helpers (markitdown via doc_converter.py, and PDF OCR via ocr_pdf.py) that were previously duplicated across three packages (rag, tool/builtin, control). |
|
doctor
Package doctor collects local, redacted diagnostics for issue reports.
|
Package doctor collects local, redacted diagnostics for issue reports. |
|
event
Package event defines the typed event stream the agent emits as it runs a turn, and the Sink it emits to.
|
Package event defines the typed event stream the agent emits as it runs a turn, and the Sink it emits to. |
|
fileutil/encoding
Package encoding detects and converts file encodings for the built-in file tools.
|
Package encoding detects and converts file encodings for the built-in file tools. |
|
frontmatter
Package frontmatter provides a minimal, dependency-free parser for the ---fenced "key: value" blocks that prefix skill, command, and memory files.
|
Package frontmatter provides a minimal, dependency-free parser for the ---fenced "key: value" blocks that prefix skill, command, and memory files. |
|
hook
Package hook runs user-configured shell-command hooks around the agent loop: PreToolUse / PostToolUse fire around each tool call, UserPromptSubmit before a turn, Stop after it.
|
Package hook runs user-configured shell-command hooks around the agent loop: PreToolUse / PostToolUse fire around each tool call, UserPromptSubmit before a turn, Stop after it. |
|
i18n
Package i18n holds the CLI's translatable strings and a small detection helper.
|
Package i18n holds the CLI's translatable strings and a small detection helper. |
|
installsource
Package installsource implements the `install_source` tool: a two-phase installer for fairpeer skills and MCP servers.
|
Package installsource implements the `install_source` tool: a two-phase installer for fairpeer skills and MCP servers. |
|
jobs
Package jobs is the session-scoped background-job registry behind the agent's background tools (bash run_in_background, task run_in_background) and the bash_output / kill_shell / wait tools.
|
Package jobs is the session-scoped background-job registry behind the agent's background tools (bash run_in_background, task run_in_background) and the bash_output / kill_shell / wait tools. |
|
lsp
Package lsp is a minimal Language Server Protocol client: it spawns a language server per language on demand, syncs queried documents from disk, and adapts a few read-only capabilities (definition, references, hover, diagnostics) to the tool.Tool interface.
|
Package lsp is a minimal Language Server Protocol client: it spawns a language server per language on demand, syncs queried documents from disk, and adapts a few read-only capabilities (definition, references, hover, diagnostics) to the tool.Tool interface. |
|
memory
Package memory implements fairpeer's persistent memory.
|
Package memory implements fairpeer's persistent memory. |
|
netclient
Package netclient builds HTTP clients and proxy resolvers that share fairpeer's user-facing proxy settings.
|
Package netclient builds HTTP clients and proxy resolvers that share fairpeer's user-facing proxy settings. |
|
outputstyle
Package outputstyle adds a selectable "output style" โ a block of persona / tone instructions appended to (or replacing) the system prompt โ so the user can shift how the agent communicates without rewriting the system prompt.
|
Package outputstyle adds a selectable "output style" โ a block of persona / tone instructions appended to (or replacing) the system prompt โ so the user can shift how the agent communicates without rewriting the system prompt. |
|
permission
Package permission decides, per tool call, whether to allow it, deny it, or ask the user first.
|
Package permission decides, per tool call, whether to allow it, deny it, or ask the user first. |
|
plugin
Package-internal cache for MCP handshake results.
|
Package-internal cache for MCP handshake results. |
|
ppttemplate
Package ppttemplate provides PPT template rendering utilities.
|
Package ppttemplate provides PPT template rendering utilities. |
|
provider
Package provider defines the model-backend abstraction and a registry mapping a provider "kind" to a factory.
|
Package provider defines the model-backend abstraction and a registry mapping a provider "kind" to a factory. |
|
provider/anthropic
Package anthropic implements the Anthropic Messages API provider (POST /v1/messages, SSE streaming) with a hand-written net/http client โ no SDK.
|
Package anthropic implements the Anthropic Messages API provider (POST /v1/messages, SSE streaming) with a hand-written net/http client โ no SDK. |
|
provider/openai
Package openai implements the OpenAI-compatible /chat/completions provider.
|
Package openai implements the OpenAI-compatible /chat/completions provider. |
|
rag
Package rag implements a knowledge-base store for the coWork profile: import documents, chunk them, and search them.
|
Package rag implements a knowledge-base store for the coWork profile: import documents, chunk them, and search them. |
|
sandbox
Package sandbox wraps a shell command in an OS-level jail so the model's `bash` calls are confined: it may read freely but write only inside the workspace (plus temp and toolchain caches) and reach the network only when allowed.
|
Package sandbox wraps a shell command in an OS-level jail so the model's `bash` calls are confined: it may read freely but write only inside the workspace (plus temp and toolchain caches) and reach the network only when allowed. |
|
scheduler
Package scheduler is a persistent, session-independent task scheduler for the coWork profile.
|
Package scheduler is a persistent, session-independent task scheduler for the coWork profile. |
|
serve
Package serve exposes a control.Controller over HTTP: the typed event stream as Server-Sent Events, and the commands as small JSON POST endpoints.
|
Package serve exposes a control.Controller over HTTP: the typed event stream as Server-Sent Events, and the commands as small JSON POST endpoints. |
|
skill
Package skill loads invokable playbooks ("skills") from Markdown files.
|
Package skill loads invokable playbooks ("skills") from Markdown files. |
|
sysproxy
Package sysproxy resolves the OS-level proxy (Windows system/PAC settings) for a target URL.
|
Package sysproxy resolves the OS-level proxy (Windows system/PAC settings) for a target URL. |
|
tool
Package tool defines the Tool abstraction and a Registry.
|
Package tool defines the Tool abstraction and a Registry. |
|
tool/builtin
Package builtin provides fairpeer's compile-time built-in tools.
|
Package builtin provides fairpeer's compile-time built-in tools. |
|
validation
Package validation provides pre-write syntax validation for the editor tools (write_file/edit_file/multi_edit).
|
Package validation provides pre-write syntax validation for the editor tools (write_file/edit_file/multi_edit). |
Click to show internal directories.
Click to hide internal directories.