Skip to main content

Crate beck

Crate beck 

Source
Expand description

beck-core: the shared indexing, query, and model logic. Re-exported so both the beck binary and the eval harness can use them.

Re-exports§

pub use db::Db;
pub use error::CliError;
pub use error::Result;
pub use frontmatter::Frontmatter;
pub use query::Match;
pub use query::search;

Modules§

agents
Agent-facing layer: skills home, manifest, and adapters that translate a canonical ~/beck/skills/<name>/SKILL.md into a file another agent (Claude Code today, Cursor in v0.3+) actually reads.
consts
Identity constants. The only place to change these when forking. Mirrors the 4-constant pattern from mateonunez/nucleo.
db
error
Typed error with distinct exit codes. Adapted from mateonunez/nucleo’s src/error.rs.
frontmatter
mcp
beck MCP server. Stdio transport, tools-only surface.
paths
XDG-style path resolution. Keeps dirs isolated to one module so the rest of the crate can be tested with arbitrary paths.
query
sync