Skip to content

The agent that turns websites into APIs!

fix: CLAUDE.md had errors

kalil03210074fa71e51d
diff --git a/CLAUDE.md b/CLAUDE.md
index afbc8c9..245af3c 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -28,10 +28,10 @@ Both inherit from `BaseEngineer` (abstract base class) which defines the common
- **UI** (`tui.py`, `opencode_ui.py`): Rich-based terminal UI for progress tracking
### Data Flow
-1. Browser captures HAR → saved to `~/.reverse-api/runs/{run_id}/har/`
+1. Browser captures HAR → saved to `~/.reverse-api/runs/har/{run_id}`
2. Engineer analyzes HAR with LLM → generates Python scripts
3. Scripts saved to:
- - `~/.reverse-api/runs/{run_id}/scripts/` (permanent)
+ - `~/.reverse-api/runs/scripts/{run_id}` (permanent)
- `./scripts/{descriptive_name}/` (local copy)
## Development Commands
@@ -69,6 +69,17 @@ uv tool install .
reverse-api-engineer
```
+### Linting & Static Analysis
+```bash
+# Run all checks
+./scripts/lint.sh
+
+# Run specific tools
+uv run ruff check src # Linter
+uv run ruff format src # Formatter
+uv run mypy src # Static analysis
+```
+
## Release Process
**Single source of truth: `pyproject.toml`**
@@ -168,7 +179,7 @@ API keys via environment variables: `BROWSER_USE_API_KEY`, `OPENAI_API_KEY`, `AN
### Debugging
- **OpenCode**: Set `OPENCODE_DEBUG=1` for detailed logs
- **Stagehand logs**: Suppressed by `_suppress_stagehand_logs()` in `browser.py`
-- **Message logs**: All LLM interactions saved to `~/.reverse-api/runs/{run_id}/messages/`
+- **Message logs**: All LLM interactions saved to `~/.reverse-api/runs/messages/{run_id}.jsonl`
## File Structure Notes