pydantic-claude-code 0.7.4__tar.gz → 0.7.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/PKG-INFO +3 -3
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/README.md +2 -2
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/pyproject.toml +1 -1
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/__init__.py +1 -1
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/config.py +1 -1
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/uv.lock +1 -1
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/.github/workflows/ci.yml +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/.github/workflows/publish.yml +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/.gitignore +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/LICENSE +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/examples/basic.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/install.sh +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/scripts/sync_gist.sh +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/__main__.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/auth.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/clai2.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/credentials.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/flow.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/model.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/provider.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/py.typed +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/storage.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/updates.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/conftest.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_callback_server.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_clai2.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_credentials.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_flow.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_install.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_integration.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_keyring_store.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_model.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_provider.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_refresh.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_storage.py +0 -0
- {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_updates.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: pydantic-claude-code
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.5
|
|
4
4
|
Summary: Use your Claude Code subscription from a Pydantic AI Agent or CLAI2, with full tool support
|
|
5
5
|
Project-URL: Source, https://gist.github.com/mpfaffenberger/bd75c7b424ffdc6d81645bfe7de822d3
|
|
6
6
|
Project-URL: Homepage, https://pypi.org/project/pydantic-claude-code/
|
|
@@ -313,7 +313,7 @@ retries once on a 401, exactly like pydantic-ai's Codex provider. When the
|
|
|
313
313
|
refresh token itself is rejected, runs raise `ClaudeCodeSignInExpiredError`
|
|
314
314
|
(a `UserError`) telling you to sign in again.
|
|
315
315
|
|
|
316
|
-
Requests identify as Claude Code 2.1.
|
|
316
|
+
Requests identify as Claude Code 2.1.290. The persona
|
|
317
317
|
`"You are Claude Code, Anthropic's official CLI for Claude."` is prepended to
|
|
318
318
|
the system context (position 0), as the CLI sends it. The client version
|
|
319
319
|
matters: the subscription backend refuses newer models to older CLI versions
|
|
@@ -340,7 +340,7 @@ uv run pytest
|
|
|
340
340
|
|
|
341
341
|
To release, bump `version` in `pyproject.toml` and `__version__` in
|
|
342
342
|
`src/pydantic_ai_claude_code/__init__.py` (a test checks they match), merge, and
|
|
343
|
-
push a matching tag (`git tag v0.7.
|
|
343
|
+
push a matching tag (`git tag v0.7.5 && git push origin v0.7.5`). The `Publish` workflow tests,
|
|
344
344
|
builds, and uploads it to PyPI with the `PYPI_API_TOKEN` repository secret. Then run
|
|
345
345
|
`scripts/sync_gist.sh` to publish the release to the install gist, which is what the one-liner and the
|
|
346
346
|
update notice install from.
|
|
@@ -284,7 +284,7 @@ retries once on a 401, exactly like pydantic-ai's Codex provider. When the
|
|
|
284
284
|
refresh token itself is rejected, runs raise `ClaudeCodeSignInExpiredError`
|
|
285
285
|
(a `UserError`) telling you to sign in again.
|
|
286
286
|
|
|
287
|
-
Requests identify as Claude Code 2.1.
|
|
287
|
+
Requests identify as Claude Code 2.1.290. The persona
|
|
288
288
|
`"You are Claude Code, Anthropic's official CLI for Claude."` is prepended to
|
|
289
289
|
the system context (position 0), as the CLI sends it. The client version
|
|
290
290
|
matters: the subscription backend refuses newer models to older CLI versions
|
|
@@ -311,7 +311,7 @@ uv run pytest
|
|
|
311
311
|
|
|
312
312
|
To release, bump `version` in `pyproject.toml` and `__version__` in
|
|
313
313
|
`src/pydantic_ai_claude_code/__init__.py` (a test checks they match), merge, and
|
|
314
|
-
push a matching tag (`git tag v0.7.
|
|
314
|
+
push a matching tag (`git tag v0.7.5 && git push origin v0.7.5`). The `Publish` workflow tests,
|
|
315
315
|
builds, and uploads it to PyPI with the `PYPI_API_TOKEN` repository secret. Then run
|
|
316
316
|
`scripts/sync_gist.sh` to publish the release to the install gist, which is what the one-liner and the
|
|
317
317
|
update notice install from.
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pydantic-claude-code"
|
|
7
|
-
version = "0.7.
|
|
7
|
+
version = "0.7.5"
|
|
8
8
|
description = "Use your Claude Code subscription from a Pydantic AI Agent or CLAI2, with full tool support"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10,<3.15"
|
{pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/__init__.py
RENAMED
|
@@ -26,7 +26,7 @@ from .model import ClaudeCodeModel
|
|
|
26
26
|
from .provider import ClaudeCodeProvider
|
|
27
27
|
from .storage import ClaudeCodeTokenStore, KeyringTokenStore, default_auth_path, default_store
|
|
28
28
|
|
|
29
|
-
__version__ = "0.7.
|
|
29
|
+
__version__ = "0.7.5"
|
|
30
30
|
"""Matches `version` in pyproject.toml (a test checks), so a copied folder knows its release."""
|
|
31
31
|
|
|
32
32
|
|
{pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/config.py
RENAMED
|
@@ -47,5 +47,5 @@ CALLBACK_TIMEOUT = 180
|
|
|
47
47
|
# appended (never replaced) by the auth layer so feature betas set by pydantic-ai survive.
|
|
48
48
|
ANTHROPIC_BETA = "oauth-2025-04-20"
|
|
49
49
|
# The subscription backend gates models on this version: Opus 5.5 answers 400 below 2.1.280.
|
|
50
|
-
USER_AGENT = "claude-cli/2.1.
|
|
50
|
+
USER_AGENT = "claude-cli/2.1.290 (external, cli)"
|
|
51
51
|
X_APP = "cli"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/__main__.py
RENAMED
|
File without changes
|
{pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/auth.py
RENAMED
|
File without changes
|
{pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/clai2.py
RENAMED
|
File without changes
|
{pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/credentials.py
RENAMED
|
File without changes
|
{pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/flow.py
RENAMED
|
File without changes
|
{pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/model.py
RENAMED
|
File without changes
|
{pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/provider.py
RENAMED
|
File without changes
|
{pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/py.typed
RENAMED
|
File without changes
|
{pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/storage.py
RENAMED
|
File without changes
|
{pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/updates.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|