Skip to main content

Module local_lock

Module local_lock 

Source
Expand description

Project-scoped skill lock file management.

The local lock file lives at ./skills-lock.json in the project root and is designed to be committed to version control.

Structs§

LocalSkillLockEntry
A single skill entry in the project lock file.
LocalSkillLockFile
The project-scoped lock file structure.

Functions§

add_skill_to_local_lock
Add or update a skill in the project lock file.
compute_skill_folder_hash
Compute a SHA-256 hash from all files in a skill directory.
local_lock_path
Get the path to the local lock file.
read_local_lock
Read the project-scoped lock file.
remove_skill_from_local_lock
Remove a skill from the project lock file.
write_local_lock
Write the project-scoped lock file.