Skip to content

Commit 34ff064

Browse files
committed
feat: complete codebase parity crates and bump to 0.2.1
1 parent e1dd836 commit 34ff064

13 files changed

Lines changed: 1514 additions & 5 deletions

File tree

Cargo.lock

Lines changed: 155 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,25 @@
1+
[workspace]
2+
resolver = "2"
3+
members = [
4+
".",
5+
"crates/agentic-codebase-cli",
6+
"crates/agentic-codebase-mcp",
7+
"crates/agentic-codebase-ffi",
8+
]
9+
exclude = ["npm/wasm"]
10+
11+
[workspace.package]
12+
version = "0.2.1"
13+
edition = "2021"
14+
license = "MIT"
15+
repository = "https://github.com/agentralabs/agentic-codebase"
16+
homepage = "https://agentralabs.tech"
17+
authors = ["Agentra Labs <contact@agentralabs.tech>"]
18+
119
[package]
220
default-run = "acb"
321
name = "agentic-codebase"
4-
version = "0.2.0"
22+
version = "0.2.1"
523
edition = "2021"
624
license = "MIT"
725
repository = "https://github.com/agentralabs/agentic-codebase"

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<a href="#mcp-server"><img src="https://img.shields.io/badge/MCP_Server-acb--mcp-10B981?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIiPjxwYXRoIGQ9Ik0xMiAydjIwTTIgMTJoMjAiLz48L3N2Zz4=&logoColor=white" alt="MCP Server"></a>
88
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-22C55E?style=for-the-badge" alt="MIT License"></a>
99
<a href="paper/paper-i-semantic-compiler/agenticcodebase-paper.pdf"><img src="https://img.shields.io/badge/Research-Paper_I-8B5CF6?style=for-the-badge" alt="Research Paper I"></a>
10+
<a href="docs/api-reference.md"><img src="https://img.shields.io/badge/format-.acb-3B82F6?style=for-the-badge" alt=".acb format"></a>
1011
</p>
1112

1213
<p align="center">
@@ -388,6 +389,18 @@ All four share the MCP protocol for seamless AI agent integration. Run all four
388389
- **Clippy warnings**: 0
389390
- **Supported languages**: Python, Rust, TypeScript, Go
390391

392+
## The .acb File
393+
394+
Your agent's code knowledge. Semantic understanding.
395+
396+
| | |
397+
|-|-|
398+
| Size | ~2-3 GB over 20 years |
399+
| Format | Binary semantic graph |
400+
| Works with | Any coding model |
401+
402+
---
403+
391404
## Contributing
392405

393406
See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and guidelines.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[package]
2+
name = "agentic-codebase-cli"
3+
version = "0.2.1"
4+
edition = "2021"
5+
license = "MIT"
6+
repository = "https://github.com/agentralabs/agentic-codebase"
7+
homepage = "https://agentralabs.tech"
8+
authors = ["Agentra Labs <contact@agentralabs.tech>"]
9+
description = "CLI tool for AgenticCodebase"
10+
keywords = ["ai", "agent", "code-analysis", "cli", "graph"]
11+
categories = ["command-line-utilities"]
12+
13+
[[bin]]
14+
name = "acb"
15+
path = "src/main.rs"
16+
17+
[dependencies]
18+
agentic-codebase = { path = "../..", version = "0.2.0" }
19+
clap = { version = "4", features = ["derive"] }
20+
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# agentic-codebase-cli
2+
3+
CLI package for AgenticCodebase.
4+
5+
Binary:
6+
- `acb`
7+
8+
Implementation currently reuses the canonical CLI entrypoint from `agentic-codebase`.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
//! CLI entry point for the `acb` binary.
2+
3+
use agentic_codebase::cli::commands::{run, Cli};
4+
use clap::Parser;
5+
6+
fn main() {
7+
// Initialize tracing (logs to stderr)
8+
tracing_subscriber::fmt()
9+
.with_env_filter(
10+
tracing_subscriber::EnvFilter::try_from_default_env()
11+
.unwrap_or_else(|_| tracing_subscriber::EnvFilter::new("warn")),
12+
)
13+
.with_writer(std::io::stderr)
14+
.init();
15+
16+
let cli = Cli::parse();
17+
if let Err(e) = run(cli) {
18+
// Error messages from commands already include styled formatting,
19+
// so print them directly without adding another "Error:" prefix.
20+
eprintln!("{}", e);
21+
std::process::exit(1);
22+
}
23+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[package]
2+
name = "agentic-codebase-ffi"
3+
version = "0.2.1"
4+
edition = "2021"
5+
license = "MIT"
6+
repository = "https://github.com/agentralabs/agentic-codebase"
7+
homepage = "https://agentralabs.tech"
8+
authors = ["Agentra Labs <contact@agentralabs.tech>"]
9+
description = "FFI bindings for AgenticCodebase"
10+
keywords = ["ffi", "code-analysis", "ai", "agent", "bindings"]
11+
categories = ["api-bindings"]
12+
13+
[lib]
14+
crate-type = ["cdylib", "rlib"]
15+
16+
[dependencies]
17+
agentic-codebase = { path = "../..", version = "0.2.0" }
18+
pyo3 = { version = "0.20", features = ["extension-module"], optional = true }
19+
wasm-bindgen = { version = "0.2", optional = true }
20+
serde-wasm-bindgen = { version = "0.6", optional = true }
21+
22+
[features]
23+
python = ["pyo3"]
24+
wasm = ["wasm-bindgen", "serde-wasm-bindgen"]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# agentic-codebase-ffi
2+
3+
FFI bindings package for AgenticCodebase.
4+
5+
Current crate provides a stable minimal Rust ABI surface and feature gates for
6+
Python (`python`) and WASM (`wasm`) integration.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
//! Minimal FFI facade for AgenticCodebase.
2+
3+
/// Crate version exposed for foreign runtimes.
4+
pub fn agentic_codebase_ffi_version() -> &'static str {
5+
env!("CARGO_PKG_VERSION")
6+
}

0 commit comments

Comments
 (0)