Skip to content

fix(llm.do): fix broken npm entrypoint by adding files and type module#2430

Open
codeboost-tr wants to merge 2 commits into
drivly:mainfrom
codeboost-tr:fix/broken-npm-entrypoint
Open

fix(llm.do): fix broken npm entrypoint by adding files and type module#2430
codeboost-tr wants to merge 2 commits into
drivly:mainfrom
codeboost-tr:fix/broken-npm-entrypoint

Conversation

@codeboost-tr

Copy link
Copy Markdown

This PR fixes a broken root entrypoint in the published llm.do npm package.

The issue was that the published tarball was missing the dist/ (or src/) directory because the files field was missing in package.json. Additionally, adding "type": "module" ensures the package is correctly treated as ESM.

Changes:

  • Added files array to include src, dist, README.md, and LICENSE.
  • Added "type": "module".

Linked Issue: charles-openclaw/charles-microbounties#628

This change adds the 'files' field to ensure that source and build artifacts are included in the published npm package. It also adds 'type': 'module' to correctly identify the package as an ES module, matching the published exports metadata.
@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown

@codeboost-tr is attempting to deploy a commit to the do Team on Vercel.

A member of the Team first needs to authorize it.

@codeboost-tr

Copy link
Copy Markdown
Author

Hello! This PR fixes the broken npm entrypoint issue. It's ready for review and deployment authorization. Thanks!

- Fixed broken npm entrypoint by pointing to dist/index.js
- Added missing dependencies (ai-sdk, zod, language-models)
- Added build and build:packages scripts using tsc
- Created tsconfig.json extending the project's base sdk config
- Fixed absolute imports and portable type errors
- Added README.md and LICENSE to the package
@codeboost-tr

Copy link
Copy Markdown
Author

@nathanclevenger — quick ping: the Vercel deployment check on this PR is blocked because the do team hasn't authorized the GitHub app. Could a team member click through https://vercel.com/git/authorize?team=do&slug=dotdo so the deploy can run? The npm entrypoint fix is ready for review once CI is unblocked. Thanks!

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.

1 participant