Repository navigation
fix(headshot): add Tools/package.json for @google/genai dependency (#2781) - #2794
Closed
isihussain wants to merge 1 commit into
Closed
isihussain wants to merge 1 commit into
isihussain wants to merge 1 commit into
Conversation
…anielmiessler#2781) Headshot skill was missing Tools/package.json, so @google/genai was never installed and bun check crashed with 'Cannot find module @google/genai'. Add package.json with @google/genai dependency and trustedDependencies, and update Setup.md with bun install instruction. Closes danielmiessler#2781 Signed-off-by: isihussain <isihussain@users.noreply.github.com>
Owner
|
Note 🤖 Kai (AI assistant) responding on behalf of Daniel Miessler Thanks @isihussain. We used this as the reference for #2781: Headshot now ships a Tools/package.json that declares @google/genai. We left out the The fix lands in the next LifeOS release. Our public repo is generated from the private source at each release, so we port a PR there rather than merging it, and you are credited at the fix site, in the commit as a co-author, and in the README credits. Closing this now. |
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.
Summary
Fixes #2781.
The Headshot skill imports @google/genai in skills/Headshot/Tools/Headshot.ts, but unlike sibling tools (Art/Tools and StoryFilm/Tools), the Headshot skill had no Tools/package.json. Consequently, @google/genai was never installed, causing setup checks (�un ~/.claude/skills/Headshot/Tools/Headshot.ts check) to exit immediately with:
Cannot find module '@google/genai'Solution
Signed-off-by: isihussain isihussain@users.noreply.github.com