Skip to main content

Crate libaipm

Crate libaipm 

Source
Expand description

Core library for AIPM — AI Plugin Manager.

This crate contains the shared logic used by both the aipm consumer binary and the aipm-pack author binary: manifest parsing, dependency resolution, content-addressable store, lockfile management, and linking.

Modules§

frontmatter
Shared YAML frontmatter parser for markdown files.
fs
Filesystem abstraction for testability.
init
Package initialization and scaffolding for aipm-pack init.
installer
Installer module — orchestrates the install pipeline.
linker
Linker module — manages symlinks, hard-links, gitignore, and link state.
lint
Lint system for AI plugin quality validation.
lockfile
Lockfile management for aipm.lock.
manifest
Manifest parsing, types, and validation for aipm.toml.
migrate
Migration pipeline: scan AI tool configurations and convert to marketplace plugins.
registry
Registry abstraction for package sources.
resolver
Dependency resolver for AIPM.
store
Content-addressable store for AIPM packages.
version
Semantic versioning utilities for AIPM.
workspace
Workspace discovery and member resolution.
workspace_init
Workspace initialization and .ai/ marketplace scaffolding for aipm init.

Functions§

version
Returns the library version.