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.
Files changed (36) hide show
  1. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/PKG-INFO +3 -3
  2. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/README.md +2 -2
  3. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/pyproject.toml +1 -1
  4. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/__init__.py +1 -1
  5. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/config.py +1 -1
  6. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/uv.lock +1 -1
  7. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/.github/workflows/ci.yml +0 -0
  8. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/.github/workflows/publish.yml +0 -0
  9. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/.gitignore +0 -0
  10. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/LICENSE +0 -0
  11. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/examples/basic.py +0 -0
  12. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/install.sh +0 -0
  13. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/scripts/sync_gist.sh +0 -0
  14. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/__main__.py +0 -0
  15. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/auth.py +0 -0
  16. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/clai2.py +0 -0
  17. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/credentials.py +0 -0
  18. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/flow.py +0 -0
  19. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/model.py +0 -0
  20. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/provider.py +0 -0
  21. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/py.typed +0 -0
  22. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/storage.py +0 -0
  23. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/src/pydantic_ai_claude_code/updates.py +0 -0
  24. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/conftest.py +0 -0
  25. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_callback_server.py +0 -0
  26. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_clai2.py +0 -0
  27. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_credentials.py +0 -0
  28. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_flow.py +0 -0
  29. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_install.py +0 -0
  30. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_integration.py +0 -0
  31. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_keyring_store.py +0 -0
  32. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_model.py +0 -0
  33. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_provider.py +0 -0
  34. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_refresh.py +0 -0
  35. {pydantic_claude_code-0.7.4 → pydantic_claude_code-0.7.5}/tests/test_storage.py +0 -0
  36. {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.4
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.285. The persona
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.4 && git push origin v0.7.4`). The `Publish` workflow tests,
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.285. The persona
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.4 && git push origin v0.7.4`). The `Publish` workflow tests,
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.4"
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"
@@ -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.4"
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
 
@@ -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.285 (external, cli)"
50
+ USER_AGENT = "claude-cli/2.1.290 (external, cli)"
51
51
  X_APP = "cli"
@@ -1430,7 +1430,7 @@ wheels = [
1430
1430
 
1431
1431
  [[package]]
1432
1432
  name = "pydantic-claude-code"
1433
- version = "0.7.4"
1433
+ version = "0.7.5"
1434
1434
  source = { editable = "." }
1435
1435
  dependencies = [
1436
1436
  { name = "keyring" },