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
- If that succeeds (exit 0), source the shell RC file and proceed to Step 1.
112
+
113
+
3. **Exit 1** — login failed. Stop and inform the user that a Codeflash API key is required. They can get one manually at https://app.codeflash.ai/app/apikeys and set it with:
114
+
```
115
+
export CODEFLASH_API_KEY="cf-your-key-here"
116
+
```
117
+
72
118
### 1. Locate Project Configuration
73
119
74
120
Walk upward from the current working directory to the git repository root (`git rev-parse --show-toplevel`) looking for a project configuration file. Check for `codeflash.toml` (Java), `pyproject.toml` (Python), and `package.json` (JavaScript/TypeScript) at each directory level. Use the **first** (closest to CWD) file found.
0 commit comments