Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust
Rust ai-agentsai-toolsbrowserbrowser-automationcloud-browserheadlessheadless-browserkitesurfplaywrightpuppeteerrustservoweb-crawlerweb-crawlingweb-scraperweb-scraping
Simplify repository license metadata
ldm0107edf16801d
diff --git a/LICENSE b/LICENSEdeleted file mode 100644index cde65c399..000000000--- a/LICENSE+++ /dev/null@@ -1,10 +0,0 @@-Moli is licensed under either of the following licenses, at your option:--* Apache License, Version 2.0 (LICENSE-APACHE)-* MIT License (LICENSE-MIT)--SPDX-License-Identifier: MIT OR Apache-2.0--Files and directories carrying their own license notices are not relicensed-by this statement. Those components remain governed by their respective-licenses and notices.diff --git a/README.md b/README.mdindex 00630259a..851724697 100644--- a/README.md+++ b/README.md@@ -311,4 +311,6 @@ browser action, event, network observation, or visual result occurred.Unless a file or directory states otherwise, you may use Moli under either the[Apache License 2.0](LICENSE-APACHE) or the [MIT License](LICENSE-MIT), at youroption. Separately licensed third-party components and fixtures remain subject-to their own licenses and notices.+to their own licenses and notices. [`license-metadata.json`](license-metadata.json)+records the machine-readable default, and additional distributable notices are+collected under [`licenses/`](licenses/).diff --git a/license-metadata.json b/license-metadata.jsonnew file mode 100644index 000000000..cc011c36d--- /dev/null+++ b/license-metadata.json@@ -0,0 +1,7 @@+{+ "spdx": "Apache-2.0 OR MIT",+ "license_files": [+ "LICENSE-APACHE",+ "LICENSE-MIT"+ ]+}diff --git a/third_party/licenses/Chromium-BSD-3-Clause.txt b/licenses/Chromium-BSD-3-Clause.txtsimilarity index 100%rename from third_party/licenses/Chromium-BSD-3-Clause.txtrename to licenses/Chromium-BSD-3-Clause.txtdiff --git a/third_party/notices/Selenium-NOTICE.txt b/licenses/Selenium-NOTICE.txtsimilarity index 100%rename from third_party/notices/Selenium-NOTICE.txtrename to licenses/Selenium-NOTICE.txtdiff --git a/scripts/release.py b/scripts/release.pyindex 5f0eec27c..0cefc7382 100755--- a/scripts/release.py+++ b/scripts/release.py@@ -167,13 +167,9 @@ def copy_release_materials(package_dir: Path) -> None:files = [REPO_ROOT / "README.md",REPO_ROOT / "docs" / "RELEASING.md",- REPO_ROOT / "LICENSE",REPO_ROOT / "LICENSE-APACHE",REPO_ROOT / "LICENSE-MIT",- ]- notice_dirs = [- REPO_ROOT / "third_party" / "licenses",- REPO_ROOT / "third_party" / "notices",+ REPO_ROOT / "license-metadata.json",]for source in files:@@ -181,12 +177,10 @@ def copy_release_materials(package_dir: Path) -> None:raise ReleaseError(f"required release file is missing: {source}")shutil.copy2(source, package_dir / source.name)- notices_dir = package_dir / "third_party"- notices_dir.mkdir()- for source in notice_dirs:- if not source.is_dir():- raise ReleaseError(f"required license directory is missing: {source}")- shutil.copytree(source, notices_dir / source.name)+ licenses_dir = REPO_ROOT / "licenses"+ if not licenses_dir.is_dir():+ raise ReleaseError(f"required license directory is missing: {licenses_dir}")+ shutil.copytree(licenses_dir, package_dir / licenses_dir.name)def write_archive(