Skip to main content

Crate dalo

Crate dalo 

Source
Expand description

Core library for the dalo command-line application.

The Rust library API is not a semver contract; the CLI, its exit codes, its --json output, and the files Dalo persists are. Modules, types, and signatures here may change in any release, including a patch.

The library owns the domain model and operations so CLI handlers stay thin and command behavior can be tested without spawning the binary. To integrate with Dalo, call the CLI and read its --json reports and exit codes: that is the documented, supported surface.

The full stability contract, including the three tiers, the change policy, the persisted schema versions, and the supported platforms, lives in docs/compatibility.md and is recorded in ADR 0008.

Re-exports§

pub use error::DaloError;
pub use error::DaloResult;

Modules§

adopt
Adoption and minimal repair operations for unmanaged target skills.
agent
Portable canonical agent packages and provider compilers.
approval
Explicit, source-qualified approval lifecycle operations.
assistant
Offline installation of the assistant bundled with this Dalo binary.
audit
Layered, content-addressed security audits for skills.
autosync
Installable scheduled synchronization and durable run diagnostics.
binary
Verified release binaries declared by skills, and their read-only inventory.
catalog
Catalog sources: inspect a multi-skill repository, select skills, and pin the commit plus the resolved inventory snapshot in the source lock.
config
User configuration schema and validation.
delivery
Generated-delivery approval, execution, audit, and immutable promotion.
doctor
Diagnostics for store, target, Git, and lockfile health.
error
Error types and process exit-code mapping.
git
Narrow wrapper around the system git command.
hook
Portable hook semantics and executable provider-contract fixtures.
hook_dispatch
Runtime dispatcher for hash-addressed, independently approved hook projections.
hook_sidecar
Structurally owned provider hook sidecars with compare-and-swap updates.
hook_sync
Target-aware hook sidecar planning and reconciliation.
instructions
Instruction packs rendered into managed blocks of agent instruction files.
inventory
Skill inventory scanning.
lockfile
Source lock and resolved user lock schemas.
materialize
Materialization planning and symlink reconciliation.
migration
Verified handover of project installations created by the skills CLI.
package_validation
Read-only author validation for portable plugin packages.
plan
Read-only, schema-versioned multi-target installation planning.
plugin
Passive portable plugin package discovery and validation.
plugin_projection
Provider-native package projection for selected portable plugins.
plugin_review
Aggregated, read-only-first review of portable plugin trust boundaries.
project
Project discovery and isolated stores with portable, commit-pinned declarations.
promote
Review-first promotion of one local skill into a GitHub team repository.
resolver
Deterministic source resolution.
source
Source definitions and source operations.
status
Status model and renderable command output.
store
Store path resolution and managed state layout.
target
Agent target registry and detection.
team_manifest
Team-owned composition manifests.
tool
Portable local-tool trust, audit, argument composition, and immutable staging.