Skip to content

Conversation

@mattapperson
Copy link
Collaborator

Summary

  • Adds Apache 2.0 license file (LICENSE.md) with proper copyright notice for OpenRouter Inc.
  • Adds license field to package.json for proper npm package metadata
  • Configures Speakeasy generator to include license in package metadata via additionalPackageJSON
  • Bumps version from 0.1.4 to 0.1.5 across all configuration files

Background

This PR re-introduces the Apache 2.0 license after previous attempts (#65, #66) in a cleaner, more maintainable way. The license is now properly integrated into the package metadata through the Speakeasy configuration, ensuring it will be preserved through SDK regenerations.

Changes

  • LICENSE.md: Full Apache 2.0 license text with OpenRouter Inc. copyright
  • package.json: Added "license": "Apache-2.0" field
  • .speakeasy/gen.yaml: Added license to additionalPackageJSON configuration
  • Version bumped to 0.1.5 in: jsr.json, package.json, package-lock.json, src/lib/config.ts, and Speakeasy lock files

Test plan

  • Verify LICENSE.md contains complete Apache 2.0 license text
  • Verify package.json has correct license field
  • Verify version is 0.1.5 across all files
  • Run build to ensure no breaking changes
  • Verify npm package metadata will include license field

This properly integrates the Apache 2.0 license into the package metadata:
- Add LICENSE.md file with full Apache 2.0 license text
- Add license field to package.json
- Configure .speakeasy/gen.yaml to include license in additionalPackageJSON
- Bump version to 0.1.5 across all configuration files

The license is now properly declared in package metadata, making it clear
that this SDK is licensed under Apache 2.0 by OpenRouter Inc.
@mattapperson mattapperson merged commit 8e4bcbb into main Nov 8, 2025
3 checks passed
@mattapperson mattapperson deleted the license-update branch November 8, 2025 12:09
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.

2 participants