Skip to content

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

Open

Description

@jeroensangers

What happened

Headshot skill ships without a package.json for its tools, so @google/genai never installs and the setup check crashes with Cannot find module '@google/genai'. Fix: ship Tools/package.json like Art and StoryFilm, mention bun install in Setup.md.

Summary

skills/Headshot/Tools/Headshot.ts imports "@google/genai", but unlike skills/Art/Tools and skills/StoryFilm/Tools the Headshot pack ships no Tools/package.json. The dependency is never installed, and the Setup.md status command (bun skills/Headshot/Tools/Headshot.ts check) exits with "Cannot find module '@google/genai'" before it can report anything about config.

Suggested fix: ship skills/Headshot/Tools/package.json with "@google/genai": "^1.40.0" and the same trustedDependencies StoryFilm uses (@google/genai, protobufjs), and mention bun install in that folder in Setup.md. With that file added and bun install run, the check passes.

Details

  • Kind: bug
  • LifeOS version: 8.761.0

Filed with the LifeOS /feedback command. The reporter approved this exact text before it was sent; paths, secrets and personal details were stripped locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions