claude-code-sdk-python/examples
Kashyap Murali 4f78e10691
refactor: Align with TypeScript SDK naming conventions
- Rename tool_permission_callback to can_use_tool in ClaudeCodeOptions
- Rename ToolPermissionCallback type to CanUseTool
- Update all references in examples and tests
- Remove dict backward compatibility (already done by user)

Addresses PR review comments for better SDK consistency
2025-09-02 19:40:57 -07:00
..
quick_start.py cost_usd -> total_cost_usd in example 2025-06-25 15:18:52 -04:00
streaming_mode.py Implement control protocol support for Python SDK (#139) 2025-09-01 23:04:22 -07:00
streaming_mode_ipython.py fix: Remove duplicate get_server_info method and fix linting issues 2025-09-02 16:17:00 -07:00
streaming_mode_trio.py Make streaming implementation trio-compatible (#84) 2025-07-22 23:31:42 -07:00
tool_permission_callback.py refactor: Align with TypeScript SDK naming conventions 2025-09-02 19:40:57 -07:00