Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

## 1.0.0

### Breaking changes
- **`take_last_intercept_row_id` removed** — `call_ref` is now the sole intercept resolution mechanism.
- **`call_ref` required** — claims without a `call_ref` (or `sourcerykit_ref` in `claimed_value`) now raise.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<br />

[![PyPI Version](https://img.shields.io/pypi/v/sourcerykit.svg?color=blue)](https://pypi.org/project/sourcerykit/)
[![status: v1.0.0b5](https://img.shields.io/badge/status-v1.0.0b5-blue)](https://github.com/ProvablyAI/sourcerykit/blob/main/CHANGELOG.md)
[![status: v1.0.0](https://img.shields.io/badge/status-v1.0.0-blue)](https://github.com/ProvablyAI/sourcerykit/blob/main/CHANGELOG.md)
[![python: 3.12+](https://img.shields.io/badge/python-3.12+-slate)](https://github.com/ProvablyAI/sourcerykit/blob/main/pyproject.toml)
[![license: BSL 1.1](https://img.shields.io/badge/license-BSL%201.1-crimson)](https://github.com/ProvablyAI/sourcerykit/blob/main/LICENSE.md)
[![CI Build](https://github.com/ProvablyAI/sourcerykit/actions/workflows/ci.yml/badge.svg)](https://github.com/ProvablyAI/sourcerykit/actions)
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "sourcerykit"
version = "1.0.0b5"
version = "1.0.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"
Expand Down Expand Up @@ -138,7 +138,7 @@ exclude_also = ["if TYPE_CHECKING:", "raise NotImplementedError", "\\.\\.\\."]
sourcerykit = "sourcerykit.cli.main:app"

[tool.bumpversion]
current_version = "1.0.0b5"
current_version = "1.0.0"
commit = false
tag = false
tag_name = "v{new_version}"
Expand Down
2 changes: 1 addition & 1 deletion src/sourcerykit/intercept/_httpx_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,5 @@ def _httpx_request_to_payload(req: httpx.Request) -> tuple[str, str, dict[str, A
else:
kwargs["data"] = text

payload = {k: kwargs[k] for k in ("params", "json", "data") if k in kwargs}
payload: dict[str, Any] = {k: kwargs[k] for k in ("params", "json", "data") if k in kwargs}
return str(req.url), req.method, payload
2 changes: 1 addition & 1 deletion src/sourcerykit/intercept/requests_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def _requests_request_to_payload(req: PreparedRequest) -> tuple[str, str, dict[s
else:
kwargs["data"] = text

payload = {k: kwargs[k] for k in ("json", "data") if k in kwargs}
payload: dict[str, Any] = {k: kwargs[k] for k in ("json", "data") if k in kwargs}
return str(req.url), str(req.method), payload


Expand Down
Loading
Loading