Skip to content

Fix #941: Python Agent SDK docs omit public options/types still present in `clau#942

Draft
sherlock-488 wants to merge 1 commit into
anthropics:mainfrom
sherlock-488:deep-pr-forge/941-python-agent-sdk-docs-omit-public-options-ty
Draft

Fix #941: Python Agent SDK docs omit public options/types still present in `clau#942
sherlock-488 wants to merge 1 commit into
anthropics:mainfrom
sherlock-488:deep-pr-forge/941-python-agent-sdk-docs-omit-public-options-ty

Conversation

@sherlock-488
Copy link
Copy Markdown

@sherlock-488 sherlock-488 commented May 9, 2026

Fixes #941

This adds regression coverage for public API fields and exported types that are still present in claude_agent_sdk but were missing from the API surface tests. The tests cover session/options fields, hook/tool-use types, permission context fields, and PermissionMode.

Tests:

  • python -m pytest tests/test_types.py -v
  • python -m pytest tests/test_types.py::TestPublicApiSurface -v
  • python -m ruff check src/ tests/
  • python -m ruff format --check src/ tests/

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python Agent SDK docs omit public options/types still present in claude-agent-sdk==0.1.80

1 participant