Skip to main content

Crate klasp_agents_codex

Crate klasp_agents_codex 

Source
Expand description

klasp-agents-codex — Codex AgentSurface impl.

v0.2 W1 shipped the AGENTS.md managed-block writer. W2 (#28, this module set) layers the git pre-commit / pre-push hook writer on top, with conflict detection for husky / lefthook / pre-commit framework. W3 (#29) wires klasp install --agent codex through the CLI and surfaces the git_hooks::HookWarnings in the install output.

Re-exports§

pub use agents_md::contains_block;
pub use agents_md::install_block;
pub use agents_md::render_managed_block;
pub use agents_md::uninstall_block;
pub use agents_md::AgentsMdError;
pub use agents_md::DEFAULT_BLOCK_BODY;
pub use agents_md::MANAGED_END;
pub use agents_md::MANAGED_START;
pub use git_hooks::HookConflict;
pub use git_hooks::HookKind;
pub use git_hooks::HookWarning;
pub use surface::CodexInstallReport;
pub use surface::CodexSurface;

Modules§

agents_md
AGENTS.md managed-block writer.
git_hooks
Git-hook managed-block writer + conflict detection for CodexSurface.
surface
CodexSurfaceklasp_core::AgentSurface impl for Codex.