From 82f7fc78b149dff245d1e438fec1450c2718a64f Mon Sep 17 00:00:00 2001 From: Spencer Qian Date: Thu, 23 Jul 2026 17:39:26 -0700 Subject: [PATCH] chore(context7): name the language in projectTitle Both repos declared projectTitle "Sonilo", so whenever Context7 fell back to it the Python and JS libraries were indistinguishable in search. Context7's own parser had already inferred "Sonilo JavaScript SDK" for the JS repo, which is the naming this follows. --- context7.json | 2 +- sonilo-cli/tests/test_context7.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/context7.json b/context7.json index b8d4252..552a3bb 100644 --- a/context7.json +++ b/context7.json @@ -2,7 +2,7 @@ "$schema": "https://context7.com/schema/context7.json", "url": "https://context7.com/sonilo-ai/sonilo-python", "public_key": "pk_h4BOrwVwv5CF9NJ5BIwvC", - "projectTitle": "Sonilo", + "projectTitle": "Sonilo Python SDK", "description": "Official Python client and CLI for the Sonilo API — generate music, sound effects, and combined soundtracks from text or video.", "excludeFolders": [ "**/dist/**", diff --git a/sonilo-cli/tests/test_context7.py b/sonilo-cli/tests/test_context7.py index 86d81b9..16cc10f 100644 --- a/sonilo-cli/tests/test_context7.py +++ b/sonilo-cli/tests/test_context7.py @@ -6,7 +6,9 @@ def test_context7_json_is_valid_and_complete(): data = json.loads((ROOT / "context7.json").read_text()) - assert data["projectTitle"] == "Sonilo" + # Names the language: sonilo-js publishes to Context7 too, and a title of + # just "Sonilo" on both left the two indistinguishable in search. + assert data["projectTitle"] == "Sonilo Python SDK" assert data["$schema"] == "https://context7.com/schema/context7.json" assert "**/__pycache__/**" in data["excludeFolders"] assert isinstance(data["rules"], list) and len(data["rules"]) >= 5