Skip to content

Declare Anthropic SDK dependency used by LLM examples #20

Description

@antfleet-ops

Summary

The LLM examples import @anthropic-ai/sdk, but package.json does not declare that dependency.

Evidence

  • src/examples/llm/buyer.ts imports Anthropic from "@anthropic-ai/sdk".
  • src/examples/llm/seller.ts imports Anthropic from "@anthropic-ai/sdk".
  • package.json dependencies/devDependencies do not include @anthropic-ai/sdk.

Why this matters

Users following the examples from a clean checkout can install the repo's declared dependencies and still fail to run the LLM examples because the imported SDK is missing.

Suggested fix

Add @anthropic-ai/sdk to the appropriate dependency section, or document that the LLM examples require an additional install step.

Suggested regression check

From a clean install, run or typecheck the LLM examples and verify module resolution succeeds.


Found by AntFleet's Virtuals-backed public repo scan using an Opus-first, blind GPT confirmation workflow.

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions