You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,8 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
6
6
7
7
```bash
8
8
pip install -e .# Install package in editable mode (dev)
9
-
mini-copilot-login # Authenticate with GitHub via device flow (saves token to ~/.config/mini-copilot/config.json)
10
-
mini-copilot# Start the interactive CLI REPL
9
+
leanclaw-login # Authenticate with GitHub via device flow (saves token to ~/.config/leanclaw/config.json)
10
+
leanclaw# Start the interactive CLI REPL
11
11
ruff check .# Lint code
12
12
ruff format .# Format code
13
13
```
@@ -16,11 +16,11 @@ Pre-commit hooks run automatically on commit: ruff format.
16
16
17
17
## Architecture
18
18
19
-
This is a Python CLI package (mini-copilot) that provides an interactive terminal REPL for chatting with GitHub Copilot.
19
+
This is a Python CLI package (leanclaw) that provides an interactive terminal REPL for chatting with GitHub Copilot.
20
20
21
21
**Authentication flow:**
22
-
1.`mini-copilot-login` runs GitHub OAuth Device Flow, saves the GitHub token to `~/.config/mini-copilot/config.json`
23
-
2. On startup, `mini-copilot` reads the GitHub token from `~/.config/mini-copilot/config.json`, then exchanges it for a short-lived Copilot token via `https://api.github.com/copilot_internal/v2/token`
22
+
1.`leanclaw-login` runs GitHub OAuth Device Flow, saves the GitHub token to `~/.config/leanclaw/config.json`
23
+
2. On startup, `leanclaw` reads the GitHub token from `~/.config/leanclaw/config.json`, then exchanges it for a short-lived Copilot token via `https://api.github.com/copilot_internal/v2/token`
24
24
3. The Copilot token is refreshed every ~24 minutes during the session
25
25
26
26
**API endpoints:**
@@ -30,7 +30,7 @@ This is a Python CLI package (mini-copilot) that provides an interactive termina
0 commit comments