feat: Local lock when saving skills to project scope, and sync from node_modules#401
Merged
feat: Local lock when saving skills to project scope, and sync from node_modules#401
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces project-local skill lock file support and a new experimental sync command to the
skillsCLI. The main changes add a newskills-lock.jsonfile for project-scoped skill tracking, update theaddcommand to write to this file, and introduce theexperimental_synccommand to sync skills fromnode_modules. Documentation and CLI help output are updated to reflect these features.Project-local skill lock file and sync support:
src/local-lock.tsthat implements reading, writing, and hashing for a project-localskills-lock.jsonfile, enabling deterministic and merge-friendly tracking of project-specific skills.addcommand insrc/add.tsto write installed skills to the local lock file (skills-lock.json) for project-scoped installs, including a computed hash of the skill directory. [1] [2] [3] [4]Experimental sync command:
experimental_synccommand, implemented insrc/sync.ts(referenced in docs and CLI), to crawlnode_modulesand sync discovered skills into agent directories and the local lock file. [1] [2] [3] [4] [5] [6]CLI and documentation updates:
experimental_synccommand and clarify project vs. global skill management. [1] [2] [3] [4]AGENTS.mdwith details about the new lock files and sync command. [1] [2]Telemetry:
experimental_synctosrc/telemetry.ts.