From a970fd155eb9c8b0392a53432de798d945eb020d Mon Sep 17 00:00:00 2001 From: SimoneBottoni Date: Wed, 14 Oct 2026 12:10:42 +0200 Subject: [PATCH 1/2] chore: update consent URL to SourceryKit-branded address --- .env.example | 2 +- CHANGELOG.md | 3 +++ src/sourcerykit/_provably.py | 2 +- tests/unit/test_provably_glue.py | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index 5fb15e1..b4f1b2e 100644 --- a/.env.example +++ b/.env.example @@ -57,6 +57,6 @@ SOURCERYKIT_ORG_ID=00000000-0000-0000-0000-000000000000 # SOURCERYKIT_PROVABLY_APP_URL=https://app.provably.ai # Consent page the browser sign-in opens (e.g. a local web app in dev). -# SOURCERYKIT_CONSENT_URL=https://switchboard-app.provably.ai/consent +# SOURCERYKIT_CONSENT_URL=https://sourcerykit-app.provably.ai/consent # SOURCERYKIT_PROVABLY_API_URL=https://api.provably.ai # SOURCERYKIT_PROVABLY_MCP_URL=https://mcp.provably.ai diff --git a/CHANGELOG.md b/CHANGELOG.md index d2074c1..499c0f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## Unreleased +### Changes +- **Sign-in is SourceryKit-branded at `sourcerykit-app.provably.ai`** — the default `SOURCERYKIT_CONSENT_URL` is now `https://sourcerykit-app.provably.ai/consent`, and the sign-in, sign-up and account emails carry SourceryKit's name and logo. Older versions keep working: the Switchboard address forwards SourceryKit consent requests here. + ## 1.4.2 ### Changes diff --git a/src/sourcerykit/_provably.py b/src/sourcerykit/_provably.py index 4b8cdf5..2114e3b 100644 --- a/src/sourcerykit/_provably.py +++ b/src/sourcerykit/_provably.py @@ -28,7 +28,7 @@ OAUTH_CLIENT_ID = "sourcerykit-cli" OAUTH_LOOPBACK_PORT = 8910 # The web app's consent page -DEFAULT_CONSENT_URL = "https://switchboard-app.provably.ai/consent" +DEFAULT_CONSENT_URL = "https://sourcerykit-app.provably.ai/consent" def _token_store() -> str | None: diff --git a/tests/unit/test_provably_glue.py b/tests/unit/test_provably_glue.py index c9e0165..4a776fb 100644 --- a/tests/unit/test_provably_glue.py +++ b/tests/unit/test_provably_glue.py @@ -130,7 +130,7 @@ def test_consent_page_has_its_own_setting(monkeypatch: pytest.MonkeyPatch) -> No monkeypatch.delenv("SOURCERYKIT_CONSENT_URL", raising=False) # The app URL is the base of query-record links, so it must not move the consent page. monkeypatch.setenv("SOURCERYKIT_PROVABLY_APP_URL", "https://app.example") - assert _provably.consent_page_url() == "https://switchboard-app.provably.ai/consent" + assert _provably.consent_page_url() == "https://sourcerykit-app.provably.ai/consent" monkeypatch.setenv("SOURCERYKIT_CONSENT_URL", "http://localhost:3000/consent") assert _provably.consent_page_url() == "http://localhost:3000/consent" From ab896487854c584451ba9f0045f1601fb270d2b2 Mon Sep 17 00:00:00 2001 From: SimoneBottoni Date: Wed, 14 Oct 2026 12:28:02 +0200 Subject: [PATCH 2/2] chore: bump version to 1.5.0 --- CHANGELOG.md | 2 ++ pyproject.toml | 4 ++-- uv.lock | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 499c0f1..8e942be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## 1.5.0 + ### Changes - **Sign-in is SourceryKit-branded at `sourcerykit-app.provably.ai`** — the default `SOURCERYKIT_CONSENT_URL` is now `https://sourcerykit-app.provably.ai/consent`, and the sign-in, sign-up and account emails carry SourceryKit's name and logo. Older versions keep working: the Switchboard address forwards SourceryKit consent requests here. diff --git a/pyproject.toml b/pyproject.toml index 6367a89..47b2931 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "sourcerykit" -version = "1.4.2" +version = "1.5.0" description = "Counterspell for hallucinating agents. Python SDK that breaks the illusion on every tool call, API response, and MCP handoff before bad outputs propagate." readme = { file = "README.md", content-type = "text/markdown" } requires-python = ">=3.12" @@ -154,7 +154,7 @@ exclude_also = ["if TYPE_CHECKING:", "raise NotImplementedError", "\\.\\.\\."] sourcerykit = "sourcerykit.cli.main:app" [tool.bumpversion] -current_version = "1.4.2" +current_version = "1.5.0" commit = false tag = false tag_name = "v{new_version}" diff --git a/uv.lock b/uv.lock index a47aa20..c9fb0b0 100644 --- a/uv.lock +++ b/uv.lock @@ -2423,7 +2423,7 @@ wheels = [ [[package]] name = "sourcerykit" -version = "1.4.2" +version = "1.5.0" source = { editable = "." } dependencies = [ { name = "aiohttp" },