Skip to content

Commit 7f0183b

Browse files
github-actions[bot]Copilot
authored andcommitted
fix: use fullLicenseText/fullLicenseTextUri in cglicenses.json for OSS tool
Fix 10 packages that were using the wrong 'licenseDetail' field name in cglicenses.json. The correct fields are fullLicenseText, fullLicenseTextUri, and prependLicenseText. The licenseDetail field is only recognized in cgmanifest.json. Also update @microsoft/dev-tunnels-* entries to use fullLicenseTextUri pointing to the pinned LICENSE in the microsoft/dev-tunnels GitHub repo. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent dfbd168 commit 7f0183b

1 file changed

Lines changed: 29 additions & 16 deletions

File tree

cglicenses.json

Lines changed: 29 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -832,38 +832,44 @@
832832
]
833833
},
834834
{
835+
// Reason: npm license field is "SEE LICENSE IN README.md"; README references Anthropic's
836+
// Commercial Terms of Service (not an OSS license). No LICENSE file found in
837+
// github.com/anthropics/claude-agent-sdk-typescript. Needs manual resolution.
835838
"name": "@anthropic-ai/claude-agent-sdk",
836-
"licenseDetail": [
839+
"fullLicenseText": [
837840
"© Anthropic PBC. All rights reserved. Use is subject to Anthropic's Commercial Terms of Service."
838841
]
839842
},
840843
{
844+
// Reason: npm package declares MIT but no public repository found for
845+
// @github/blackbird-external-ingest-utils. Needs manual resolution.
841846
"name": "@github/blackbird-external-ingest-utils",
842-
"licenseDetail": [
847+
"fullLicenseText": [
843848
"MIT License"
844849
]
845850
},
846851
{
852+
// Reason: npm package has no repository URL; source is in microsoft/dev-tunnels
853+
// under ts/src/connections. MIT license confirmed in repo root LICENSE file.
847854
"name": "@microsoft/dev-tunnels-connections",
848-
"licenseDetail": [
849-
"MIT License"
850-
]
855+
"fullLicenseTextUri": "https://raw.githubusercontent.com/microsoft/dev-tunnels/6cc48487bcc96697afc0e86a2c06b30341b43d95/LICENSE"
851856
},
852857
{
858+
// Reason: npm package has no repository URL; source is in microsoft/dev-tunnels
859+
// under ts/src/contracts. MIT license confirmed in repo root LICENSE file.
853860
"name": "@microsoft/dev-tunnels-contracts",
854-
"licenseDetail": [
855-
"MIT License"
856-
]
861+
"fullLicenseTextUri": "https://raw.githubusercontent.com/microsoft/dev-tunnels/6cc48487bcc96697afc0e86a2c06b30341b43d95/LICENSE"
857862
},
858863
{
864+
// Reason: npm package has no repository URL; source is in microsoft/dev-tunnels
865+
// under ts/src/management. MIT license confirmed in repo root LICENSE file.
859866
"name": "@microsoft/dev-tunnels-management",
860-
"licenseDetail": [
861-
"MIT License"
862-
]
867+
"fullLicenseTextUri": "https://raw.githubusercontent.com/microsoft/dev-tunnels/6cc48487bcc96697afc0e86a2c06b30341b43d95/LICENSE"
863868
},
864869
{
870+
// Reason: No LICENSE file in repo; license text is in README.md under "LICENSE" heading.
865871
"name": "brorand",
866-
"licenseDetail": [
872+
"fullLicenseText": [
867873
"This software is licensed under the MIT License.",
868874
"",
869875
"Copyright Fedor Indutny, 2014.",
@@ -876,14 +882,18 @@
876882
]
877883
},
878884
{
885+
// Reason: No LICENSE file in repo; BSD-2-Clause declared in package.json but no
886+
// license text or copyright year found in repo. Needs manual resolution.
879887
"name": "emitter-listener",
880-
"licenseDetail": [
888+
"fullLicenseText": [
881889
"BSD-2-Clause"
882890
]
883891
},
884892
{
893+
// Reason: No LICENSE file in repo; license text is in README.md under "LICENSE" heading.
894+
// Copyright year from LICENCE.md uses placeholder format but author is confirmed.
885895
"name": "bignumber.js",
886-
"licenseDetail": [
896+
"fullLicenseText": [
887897
"Copyright © <2026> Michael Mclaughlin",
888898
"",
889899
"Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:",
@@ -894,8 +904,9 @@
894904
]
895905
},
896906
{
907+
// Reason: No LICENSE file in repo; license text is in README.md under "LICENSE" heading.
897908
"name": "miller-rabin",
898-
"licenseDetail": [
909+
"fullLicenseText": [
899910
"This software is licensed under the MIT License.",
900911
"",
901912
"Copyright Fedor Indutny, 2014.",
@@ -912,8 +923,10 @@
912923
"fullLicenseTextUri": "https://raw.githubusercontent.com/googleapis/google-cloud-node-core/76ba85a7f55c6e82943008b4eceb07a0f58b39e1/LICENSE"
913924
},
914925
{
926+
// Reason: No repository URL in npm; repository is crypto-browserify/randombytes (now at
927+
// browserify/randombytes). MIT license confirmed in repo LICENSE file.
915928
"name": "randombytes",
916-
"licenseDetail": [
929+
"fullLicenseText": [
917930
"MIT License",
918931
"",
919932
"Copyright (c) 2017 crypto-browserify",

0 commit comments

Comments
 (0)