Skip to content

chore(license): add MIT license field to agent-cli package#125

Draft
MaximusHaximus wants to merge 2 commits into
mainfrom
chore/add-license-field
Draft

chore(license): add MIT license field to agent-cli package#125
MaximusHaximus wants to merge 2 commits into
mainfrom
chore/add-license-field

Conversation

@MaximusHaximus

@MaximusHaximus MaximusHaximus commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes a missing-metadata gap: the repo already ships a root LICENSE file (MIT), but the published npm package @polygonlabs/agent-cli never declared a license field in its package.json, so npm shows no license for the package. This adds "license": "MIT" to the root package.json and to packages/polygon-agent-cli/package.json, matching the existing LICENSE file exactly.

This is metadata-only — it does not change the repo's license, which is and remains MIT.

connector-ui and shared (both private, unpublished) are intentionally untouched.

Includes a patch changeset for @polygonlabs/agent-cli.

Update: also copies the LICENSE file itself into packages/polygon-agent-cli/. npm only auto-includes a LICENSE file in the packed tarball when it lives in the same directory as the package's own package.json, not the monorepo root — without this, the license metadata would have shipped but the actual license text would not have. Verified via pnpm pack --dry-run. The existing changeset already covers this package and hadn't shipped yet, so no new changeset was needed.

https://claude.ai/code/session_01SK41fLae4QHkH8bk5Hvm8n

npm only auto-includes a LICENSE file in the packed tarball when it
lives in the same directory as the package's own package.json, not the
monorepo root. The existing changeset on this branch already covers
this package and hasn't shipped yet.
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