Skip to main content

Module installer

Module installer 

Source
Expand description

Install the embedded skills into the agent skill directories.

Two references decide what a destination holds: the payload this binary carries, and the record of what a previous apply wrote there. Bytes matching either are the tool’s own and may be replaced; anything else is the user’s and refuses.

Preview by default, list every conflict at once, and restore on failure — the same conventions rk init follows, and for a sharper reason: an apply crosses two roots, so a failure partway leaves one agent reading this version of a skill and another agent reading the last one.

The installer reports what it did as typed Actions and renders nothing; the handler in commands::skill owns both renderings.

Structs§

Layout
Where one run writes: the agent roots, the shared root, and the record.

Enums§

Action
One thing an install or uninstall did, or — in a preview — would do.

Functions§

install
Install every embedded skill under each root, previewing by default.
uninstall
Remove every installed skill under each root, previewing by default.