Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
Package: saber
Type: Package
Title: Context Engineering for R
Title: Context Engineering for Large Language Model Agents
Version: 0.7.1
Authors@R: c(
person("Troy", "Hernandez", role = c("aut", "cre"),
email = "troy@cornball.ai",
comment = c(ORCID = "0009-0005-4248-604X")),
person("cornball.ai", role = "cph"))
Description: Context-engineering primitives for AI coding agents working in R.
Assembles agent context from memory and instruction files (AGENTS.md,
CLAUDE.md), traces function call blast radius across projects, generates
project briefings, parses source into structured AST symbol indices,
discovers dependency graphs, and introspects installed packages.
Zero dependencies.
Description: Context-engineering primitives for Artificial Intelligence (AI)
coding agents working in R. Assembles agent context from memory and
instruction files (AGENTS.md, CLAUDE.md), traces function call blast
radius across projects, generates project briefings, parses source
into Abstract Syntax Tree (AST) symbol indices, discovers dependency
graphs, and introspects installed packages. Zero dependencies.
License: Apache License (>= 2)
Depends: R (>= 4.4.0)
URL: https://github.com/cornball-ai/saber
Expand Down
5 changes: 4 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Changes

- Rebranded package as "Context Engineering for R".
- Rebranded package as "Context Engineering for Large Language Model Agents".
- `briefing()` now emits output via `message()` instead of `cat()` for CRAN compliance.
- `agent_context()` examples use `\donttest{}` instead of `\dontrun{}`.
- `agent_context()` and the SessionStart hook now load memory reciprocally:
Expand All @@ -12,6 +12,9 @@
`[features].codex_hooks`.
- Added `Depends: R (>= 4.4.0)` and removed local `%||%` definition (now in base R).
- Added copyright holder `person("cornball.ai", role = "cph")` to `Authors@R`.
- Expanded acronyms in DESCRIPTION ("AI", "AST") per CRAN policy.
- Added `?saber` package-level help page.
- README examples switched from `r -e` to `Rscript -e` for portability.

# saber 0.7.0

Expand Down
13 changes: 13 additions & 0 deletions R/saber-package.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#' saber: Context Engineering for Large Language Model Agents
#'
#' Context-engineering primitives for Artificial Intelligence (AI) coding
#' agents working in R.
#' Assembles agent context from memory and instruction files, traces
#' function call blast radius across projects, generates project
#' briefings, parses R source into structured Abstract Syntax Tree
#' symbol indices, discovers dependency graphs, and introspects
#' installed packages.
#'
#' @keywords internal
"_PACKAGE"

4 changes: 3 additions & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ This is saber 0.7.1, an update to the current CRAN version 0.3.0.

Changes since 0.3.0:

- Rebranded as "Context Engineering for R" with updated title and description.
- Rebranded as "Context Engineering for Large Language Model Agents" with updated title and description.
- Added `agent_context()` for assembling agent context from memory and instruction files, with reciprocal cross-agent memory loading (Codex receives Claude `MEMORY.md`; Claude and other agents receive Codex memories).
- Added `fn_graph()`, `pkg_graph()`, and `graph_svg()` for interactive SVG call graphs.
- `blast_radius()` gains `include` parameter for scanning roxygen `@examples` and vignettes.
- `briefing()` now emits output via `message()` instead of `cat()` for CRAN compliance.
- `agent_context()` examples use `\donttest{}` instead of `\dontrun{}`.
- Added `Depends: R (>= 4.4.0)` and removed local `%||%` operator definition (now in base R).
- Added copyright holder `cornball.ai` to `Authors@R`.
- Expanded acronyms ("AI", "AST") on first use in DESCRIPTION.
- Added `?saber` package-level help page.

## Test environments

Expand Down
19 changes: 19 additions & 0 deletions man/saber-package.Rd
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
% tinyrox says don't edit this manually, but it can't stop you!
\docType{package}
\name{saber-package}
\alias{saber}
\alias{saber-package}
\title{saber: Context Engineering for Large Language Model Agents}
\description{
Context-engineering primitives for Artificial Intelligence (AI) coding
agents working in R.
Assembles agent context from memory and instruction files, traces
function call blast radius across projects, generates project
briefings, parses R source into structured Abstract Syntax Tree
symbol indices, discovers dependency graphs, and introspects
installed packages.
}
\author{
\strong{Maintainer}: Troy Hernandez \email{troy@cornball.ai}
}
\keyword{internal}