Skip to content

Commit c4384ea

Browse files
authored
Merge pull request #75 from anthropics/dickson/streaming
Implement streaming
2 parents 343ec48 + e852710 commit c4384ea

File tree

13 files changed

+1937
-132
lines changed

13 files changed

+1937
-132
lines changed

CLAUDE.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Workflow
2+
3+
```bash
4+
# Lint and style
5+
# Check for issues and fix automatically
6+
python -m ruff check src/ tests/ --fix
7+
python -m ruff format src/ tests/
8+
9+
# Typecheck (only done for src/)
10+
python -m mypy src/
11+
12+
# Run all tests
13+
python -m pytest tests/
14+
15+
# Run specific test file
16+
python -m pytest tests/test_client.py
17+
```
18+
19+
# Codebase Structure
20+
21+
- `src/claude_code_sdk/` - Main package
22+
- `client.py` - ClaudeSDKClient for interactive sessions
23+
- `query.py` - One-shot query function
24+
- `types.py` - Type definitions
25+
- `_internal/` - Internal implementation details
26+
- `transport/subprocess_cli.py` - CLI subprocess management
27+
- `message_parser.py` - Message parsing logic

0 commit comments

Comments
 (0)