{"versions":{"0.0.1-a1":{"name":"@copilotkit/license-verifier","version":"0.0.1-a1","description":"CopilotKit license verification","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"build":"tsdown && node scripts/obfuscate.js","test":"vitest run"},"publishConfig":{"access":"public"},"devDependencies":{"@aws-sdk/client-kms":"^3.750.0","tsdown":"^0.9.0","vitest":"^4.0.0","javascript-obfuscator":"^4.0.0"},"_id":"@copilotkit/license-verifier@0.0.1-a1","gitHead":"9cf849b43d59e5ad0d7ea90d7af7ac584d5be503","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-eTsupi14qPwDhpQBrFC6t4U5rxmHo9nPaHz60gOBPPCu7tTcA8GwEq5QfX/XGfmmKbCX2noL9yto1Pg0A8qQ9g==","shasum":"54e631d1b90970792d5ca98fd4a21c29a1c0d21f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@copilotkit/license-verifier/-/license-verifier-0.0.1-a1.tgz","fileCount":8,"unpackedSize":88031,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDYiWqS3D9AXiVJQlp46hr9LcsSOTuuoAkIEpWCON2clQIgK5A6hCUqr/KLCAJ32MSGvAK4Btz/oKvP7uH2oyExSBs="}],"size":26203},"_npmUser":{"name":"anonymous","email":"devops@copilotkit.ai"},"directories":{},"maintainers":[{"name":"anonymous","email":"devops@copilotkit.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/license-verifier_0.0.1-a1_1774565768563_0.20864727709067843"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-26T22:56:08.706Z","publish_time":1774565768706,"_source_registry_name":"default","contributors":[]},"0.1.0":{"name":"@copilotkit/license-verifier","version":"0.1.0","description":"CopilotKit license verification","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"build":"tsdown && node scripts/obfuscate.js","test":"vitest run"},"publishConfig":{"access":"public"},"devDependencies":{"@aws-sdk/client-kms":"^3.750.0","tsdown":"^0.9.0","vitest":"^4.0.0","javascript-obfuscator":"^4.0.0"},"gitHead":"58b4801ed31c9a82ba58d803aacba2b4ea75930c","_id":"@copilotkit/license-verifier@0.1.0","_nodeVersion":"20.20.2","_npmVersion":"11.12.1","dist":{"integrity":"sha512-Gi/cZuXBag5ijfL7w9FY5XnAMqEfgnAASDk8vFcdlzkoazCAFNK9wbmsyCv8gm7CUv7v1xNld1+43aUZps34jw==","shasum":"85ae1fc27ba2ee0698e31609e5216f480229e646","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@copilotkit/license-verifier/-/license-verifier-0.1.0.tgz","fileCount":8,"unpackedSize":86550,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQChODiRE0NoqsmQtBZ3bupqSC3dJeCo1ZzHyMKJr7MeZwIhAP7aP8ZIRGxhGO6SOjpLa/aPrEm+j/iaWWzSfgYgvV6j"}],"size":25649},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0f8a98f5-e28c-4c93-960a-53ae5cffeb6e"}},"directories":{},"maintainers":[{"name":"anonymous","email":"devops@copilotkit.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/license-verifier_0.1.0_1776707152862_0.07984842623644894"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-20T17:45:53.018Z","publish_time":1776707153018,"_source_registry_name":"default","contributors":[]},"0.2.0":{"name":"@copilotkit/license-verifier","version":"0.2.0","description":"CopilotKit license verification","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"build":"tsdown && node scripts/obfuscate.js","test":"vitest run"},"publishConfig":{"access":"public"},"devDependencies":{"@aws-sdk/client-kms":"^3.750.0","tsdown":"^0.9.0","vitest":"^4.0.0","javascript-obfuscator":"^4.0.0"},"gitHead":"8a92397f2e8db21953f2ea261c94ccd334151eb1","_id":"@copilotkit/license-verifier@0.2.0","_nodeVersion":"20.20.2","_npmVersion":"11.12.1","dist":{"integrity":"sha512-hliCifqy5a65YTozgRckuQmvBEQlt4L2PhbpSDY6fb/TKqPHyNDJgItRSnOpxOVDqvEfHEbUUqw3NaD88ZtdJA==","shasum":"d000b54f618b44edbbedc9ab20cb9b5983471607","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@copilotkit/license-verifier/-/license-verifier-0.2.0.tgz","fileCount":8,"unpackedSize":89562,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGd87HLmnmrYc5OHzffju4DP2bq93Av+AraOwivvpuKmAiEA4b13zEIhFGJ8O55he9h3hzlu/Vkdp0isN1StABIgEGU="}],"size":26332},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0f8a98f5-e28c-4c93-960a-53ae5cffeb6e"}},"directories":{},"maintainers":[{"name":"anonymous","email":"devops@copilotkit.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/license-verifier_0.2.0_1776873399036_0.7077989794630066"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-22T15:56:39.186Z","publish_time":1776873399186,"_source_registry_name":"default","contributors":[]},"0.3.0":{"name":"@copilotkit/license-verifier","version":"0.3.0","description":"CopilotKit license verification","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"build":"tsdown && node scripts/obfuscate.js","test":"vitest run"},"publishConfig":{"access":"public"},"devDependencies":{"@aws-sdk/client-kms":"^3.750.0","tsdown":"^0.9.0","vitest":"^4.0.0","javascript-obfuscator":"^4.0.0"},"gitHead":"5459b24cbefa934013f7caac0117a1f4f0bdeaa1","_id":"@copilotkit/license-verifier@0.3.0","_nodeVersion":"20.20.2","_npmVersion":"11.13.0","dist":{"integrity":"sha512-ksO2lqM9KjCf5s8EhakxScN1XHCOccayBDGvPshTzTrTDa5QDDtMF2tjxYA76RJIF8yiDPtboEXmZFYyfKlNaA==","shasum":"9921a856d9e76fea6742ed785bdff92a0c6bf748","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@copilotkit/license-verifier/-/license-verifier-0.3.0.tgz","fileCount":6,"unpackedSize":639128,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDKSFAESVBPgXEwQZ1eFUX3eLltYrs1S0qcWG1VlRccowIgA8Tbg+X1mxeFrcCQXBa8DdiwAEbD45QiRbMMnvAxLRM="}],"size":197391},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0f8a98f5-e28c-4c93-960a-53ae5cffeb6e"}},"directories":{},"maintainers":[{"name":"anonymous","email":"devops@copilotkit.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/license-verifier_0.3.0_1777940720719_0.4220406635211813"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-05-05T00:25:20.900Z","publish_time":1777940720900,"_source_registry_name":"default","contributors":[]},"0.4.0":{"name":"@copilotkit/license-verifier","version":"0.4.0","description":"CopilotKit license verification","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"build":"tsdown && node scripts/obfuscate.js","test":"vitest run"},"publishConfig":{"access":"public"},"devDependencies":{"@aws-sdk/client-kms":"^3.750.0","tsdown":"^0.9.0","vitest":"^4.0.0","javascript-obfuscator":"^4.0.0"},"gitHead":"e9cf2624bc885bfba7331d540a74980f6d351092","_id":"@copilotkit/license-verifier@0.4.0","_nodeVersion":"20.20.2","_npmVersion":"11.13.0","dist":{"integrity":"sha512-axD7B767YVHGfz/nekw3wUk9GFZGIcIq2X9AZfNA0qb6GnHcB3yJ636T21LHhon5sHerxe1oOOuNYmiAUMNonQ==","shasum":"7449af4ee7173b0f45845a5bac0b6ed13d3a3f6f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@copilotkit/license-verifier/-/license-verifier-0.4.0.tgz","fileCount":6,"unpackedSize":619236,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDptgl8UV6gDoUGPMxHXMuJjvmH3LQE5f4dUCXc2IdFngIhAMCesxs6P9RPkLgsLTw9i1I1LF6boM/WIQfEAuI4wtpN"}],"size":189231},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0f8a98f5-e28c-4c93-960a-53ae5cffeb6e"}},"directories":{},"maintainers":[{"name":"anonymous","email":"devops@copilotkit.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/license-verifier_0.4.0_1778014316771_0.7418224738310057"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-05-05T20:51:56.960Z","publish_time":1778014316960,"_source_registry_name":"default","contributors":[]},"0.4.1":{"name":"@copilotkit/license-verifier","version":"0.4.1","description":"CopilotKit license verification","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"build":"tsdown","test":"vitest run"},"publishConfig":{"access":"public"},"devDependencies":{"@aws-sdk/client-kms":"^3.750.0","tsdown":"^0.9.0","vitest":"^4.0.0"},"gitHead":"66a9c4936ced15c3b3276919b7fbcc4fdf621e60","_id":"@copilotkit/license-verifier@0.4.1","_nodeVersion":"22.22.3","_npmVersion":"11.15.0","dist":{"integrity":"sha512-+TVOlaylzH327O8bejpkSup+dFHZxICgdZ225CXZc7xB+0dvWOc404xB0vv/7FOYNpcvjr6Z6nqJaOgi1WsQyA==","shasum":"c27abba88d3114b1f768f477afafc1a5a78deffd","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@copilotkit/license-verifier/-/license-verifier-0.4.1.tgz","fileCount":6,"unpackedSize":306230,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDH7LxDwApNvb8EKAZfy+U/R5Naqsutyni3/SPosf0vNgIgKdhfJfr5SXtqRF4RyVVFp1Hxj5u2A5iYHAc315oqNCM="}],"size":60516},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0f8a98f5-e28c-4c93-960a-53ae5cffeb6e"}},"directories":{},"maintainers":[{"name":"anonymous","email":"devops@copilotkit.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/license-verifier_0.4.1_1779823035858_0.5661842038047129"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-05-26T19:17:16.086Z","publish_time":1779823036086,"_source_registry_name":"default","contributors":[]},"0.4.2":{"name":"@copilotkit/license-verifier","version":"0.4.2","description":"CopilotKit license verification","license":"MIT","author":{"name":"CopilotKit, Inc."},"homepage":"https://copilotkit.ai","repository":{"type":"git","url":"git+https://github.com/CopilotKit/CopilotKit.git"},"main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"build":"tsdown","test":"vitest run"},"publishConfig":{"access":"public"},"devDependencies":{"@aws-sdk/client-kms":"^3.750.0","tsdown":"^0.9.0","vitest":"^4.0.0"},"gitHead":"dd4326601dfed8cfcd0bee4d4159552a011c4f65","_id":"@copilotkit/license-verifier@0.4.2","bugs":{"url":"https://github.com/CopilotKit/CopilotKit/issues"},"_nodeVersion":"22.22.3","_npmVersion":"11.16.0","dist":{"integrity":"sha512-0+Rdtg4gOwOBFBpZFxYsjgwBcCLja5z03YC6WA3KEntHYhsnoJ2aqNG6c0we8ZExCNYlEO4M7kHIfG5LXzqMYQ==","shasum":"cda25f638fe439e983c65212789922b1790afebf","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@copilotkit/license-verifier/-/license-verifier-0.4.2.tgz","fileCount":7,"unpackedSize":307572,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDKp/E98Qqe4UH+wfF+X0+trplbXfngQBxICv5gRA5MxwIhAK5+2Ou8H/IBKof6mJVTh+J9fZ64w+yHD2e+cEXTYMOy"}],"size":61393},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0f8a98f5-e28c-4c93-960a-53ae5cffeb6e"}},"directories":{},"maintainers":[{"name":"anonymous","email":"devops@copilotkit.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/license-verifier_0.4.2_1780062005077_0.47960283818648497"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-05-29T13:40:05.232Z","publish_time":1780062005232,"_source_registry_name":"default","contributors":[]},"0.5.0":{"name":"@copilotkit/license-verifier","version":"0.5.0","description":"CopilotKit license verification","license":"MIT","author":{"name":"CopilotKit, Inc."},"homepage":"https://copilotkit.ai","repository":{"type":"git","url":"git+https://github.com/CopilotKit/CopilotKit.git"},"main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"build":"tsdown","test":"vitest run"},"publishConfig":{"access":"public"},"devDependencies":{"@aws-sdk/client-kms":"^3.750.0","tsdown":"^0.9.0","vitest":"^4.0.0"},"gitHead":"c96cd64977498a56b6b1cbb8cbde54d17ce8156a","_id":"@copilotkit/license-verifier@0.5.0","bugs":{"url":"https://github.com/CopilotKit/CopilotKit/issues"},"_nodeVersion":"22.22.3","_npmVersion":"11.17.0","dist":{"integrity":"sha512-vrwKtIpYwF0FT9ZoYASH8owa2cGV0dhDvJGaCRaRMStwDxpc6DRdydKkhx8cWZXyBRxEYcq/Vygv4JvevhQQdQ==","shasum":"2a4aa0f6b5de927374209e7609e9eaffbace1e6e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@copilotkit/license-verifier/-/license-verifier-0.5.0.tgz","fileCount":7,"unpackedSize":326321,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBDzhoLmRqLc4nt/eugKKaA34YWwT5QW8jDlTlxz/HyhAiBIzFgHZL8FfacBytnEKWgxZ5TdYp5kWoe5xTxgFxd9NQ=="}],"size":65281},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0f8a98f5-e28c-4c93-960a-53ae5cffeb6e"}},"directories":{},"maintainers":[{"name":"anonymous","email":"devops@copilotkit.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/license-verifier_0.5.0_1781817839444_0.568460194534735"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-06-18T21:23:59.580Z","publish_time":1781817839580,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"0.5.0"},"name":"@copilotkit/license-verifier","time":{"created":"2026-03-26T22:56:26.374Z","modified":"2026-06-18T21:25:15.731Z","0.0.1-a1":"2026-03-26T22:56:08.706Z","0.1.0":"2026-04-20T17:45:53.018Z","0.2.0":"2026-04-22T15:56:39.186Z","0.3.0":"2026-05-05T00:25:20.900Z","0.4.0":"2026-05-05T20:51:56.960Z","0.4.1":"2026-05-26T19:17:16.086Z","0.4.2":"2026-05-29T13:40:05.232Z","0.5.0":"2026-06-18T21:23:59.580Z"},"readme":"# @copilotkit/license-verifier\n\nPublic runtime package for offline CopilotKit license verification.\n\n## Public API\n\nThe package exports one root entry point:\n\n<!-- prettier-ignore -->\n```ts\nimport {\n  LICENSED_FEATURES,\n  addRuntimeKeyAttestation,\n  clearRuntimeKeys,\n  createLicenseChecker,\n  getFeatureDisplayName,\n  getFeatureLimit,\n  getMasterPublicKey,\n  getPublicKey,\n  isComponentFeature,\n  isFeatureEnabled,\n  isRuntimeFeature,\n  organizationEntitlementSchema,\n  parseOrganizationEntitlement,\n  verifyKeyAttestation,\n  verifyLicense,\n  type EntitlementReader,\n  type KeyAttestationData,\n  type LicenseChecker,\n  type LicenseFeatures,\n  type LicenseOwner,\n  type LicensePayload,\n  type LicenseStatus,\n  type LicenseTier,\n  type OrganizationEntitlement,\n} from \"@copilotkit/license-verifier\";\n```\n\n`verifyLicense(token)` parses the signed payload, verifies the Ed25519 signature, checks expiration, and returns a `LicenseStatus`. Signed payloads may contain extra feature keys so older verifiers can still parse newer tokens structurally; helper reads still deny those unknown keys by default.\n\nFeature reads are catalog-gated. `isFeatureEnabled(license, feature)` returns `true` only when `feature` is a known boolean feature in `LICENSED_FEATURES` and the signed payload value is exactly `true`. `getFeatureLimit(license, feature)` returns a number only when `feature` is a known numeric feature and the signed payload value is a non-negative integer. Unknown feature keys and value-kind mismatches deny by default.\n\n`LICENSED_FEATURES` is re-exported from the internal `@cpki/license-catalog`\nprojection used at build time. The verifier should not define a separate\nfeature catalog.\n\n`createLicenseChecker(token?)` verifies once, caches the signed payload, and re-evaluates expiration on each `getStatus()` call. `checkFeature(feature)` uses the same catalog-gated boolean feature behavior as `isFeatureEnabled`.\n\n### Organization-entitlement merge\n\n`createLicenseChecker(token?)` returns a `LicenseChecker` whose\n`withOrganizationEntitlement(org)` derives a **non-mutating** `EntitlementReader`\nthat merges a parsed `OrganizationEntitlement` overlay with the deployment base:\n\n- `reader.checkFeature(feature)` — boolean **OR**: granted if the deployment\n  (grace-respecting; expired-but-in-grace contributes nothing) OR the active org\n  grants it. An inactive org, or an active org with an empty `features` map,\n  contributes nothing.\n- `reader.getFeatureLimit(feature)` — numeric **most-generous**: `0` means\n  unlimited and wins over any finite value; otherwise the larger present value\n  wins; `null` only when neither side is present.\n\nThe reader is fresh per call, never mutates the base payload, and never stores\noverlay state on the checker, so a long-lived multi-tenant process can call it\nper request with a different org without leaking entitlements. The reader\ndeliberately does not expose `getStatus()` — use the base `checker.getStatus()`\nfor deployment diagnostics. Feed `withOrganizationEntitlement` an\nalready-`parseOrganizationEntitlement`'d value; overlay values are catalog-gated\nthe same way as the base, so unknown ids and value-kind mismatches are ignored.\n\n## Online Key Attestation\n\nThe package does not export a network client for online verification. Hosts that fetch signing keys from an online endpoint should validate that response outside this package, then call `addRuntimeKeyAttestation({ keyId, publicKey, attestationSig })`. The attestation signature must be over `keyId:publicKey` and signed by the master key baked into the package.\n\n## License\n\nMIT — see [LICENSE](./LICENSE).","users":{}}