Skip to content

fix(headshot): add Tools/package.json for @google/genai dependency (#2781) - #2794

Open
isihussain wants to merge 1 commit into
danielmiessler:mainfrom
isihussain:fix/headshot-tools-package-json
Open

isihussain wants to merge 1 commit into
danielmiessler:mainfrom
isihussain:fix/headshot-tools-package-json

Conversation

@isihussain

Copy link
Copy Markdown

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

  1. Added LifeOS/install/skills/Headshot/Tools/package.json with @google/genai: ^1.40.0 and trustedDependencies (@google/genai, protobufjs).
  2. Updated LifeOS/install/skills/Headshot/Setup.md under Accounts and secrets and Prove it works to include cd ~/.claude/skills/Headshot/Tools && bun install.

Signed-off-by: isihussain isihussain@users.noreply.github.com

…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] Headshot: Tools/ has no package.json, so @google/genai never installs and the…

1 participant