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
feat: interactive onboard wizard — pick provider and enter API key in one step
Previously, 'v1claw onboard' generated a config with a hardcoded Chinese
model (glm-4.7) and told users to manually edit JSON. Now it interactively
asks which provider to use (Gemini recommended as free), prompts for the
API key, and sets the correct model automatically. Config is ready to use
immediately — no manual editing needed.
Changes:
- Add interactive provider selection + API key prompt to onboard command
- Change default model from 'glm-4.7' to empty (set during onboard)
- Update config.example.json to show gemini-2.0-flash
- Simplify README setup steps across all 4 platforms (remove manual JSON
editing step)
- Update tests to reflect new empty default model
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@@ -197,91 +197,31 @@ This compiles V1Claw into a single file. It takes 2-5 minutes on a phone. When i
197
197
./build/v1claw-linux-arm64 onboard
198
198
```
199
199
200
-
This creates your config file at `~/.v1claw/config.json`.
200
+
The setup wizard will ask you to:
201
+
1.**Pick your AI provider** (Gemini is free and recommended)
202
+
2.**Paste your API key**
201
203
202
-
#### Step 7: Add your API key
204
+
That's it — your config is ready at `~/.v1claw/config.json`.
203
205
204
-
Open the config file in a text editor:
206
+
> **Don't have an API key yet?** Press Enter to pick Gemini, then get a free key at [aistudio.google.com/apikey](https://aistudio.google.com/apikey). You can re-run `onboard` anytime, or edit the config manually with `nano ~/.v1claw/config.json`.
205
207
206
-
```bash
207
-
nano ~/.v1claw/config.json
208
-
```
209
-
210
-
Find the `"agents"` section and change the model name. Find the `"providers"` section and add your API key.
211
-
212
-
**If you're using Google Gemini** (free), change it to look like this:
213
-
214
-
```json
215
-
{
216
-
"agents": [
217
-
{
218
-
"name": "v1claw",
219
-
"model": "gemini-2.0-flash"
220
-
}
221
-
],
222
-
"providers": {
223
-
"gemini": {
224
-
"api_key": "YOUR_GEMINI_API_KEY_HERE"
225
-
}
226
-
}
227
-
}
228
-
```
229
-
230
-
**If you're using OpenAI:**
231
-
232
-
```json
233
-
{
234
-
"agents": [
235
-
{
236
-
"name": "v1claw",
237
-
"model": "gpt-4o"
238
-
}
239
-
],
240
-
"providers": {
241
-
"openai": {
242
-
"api_key": "sk-YOUR_OPENAI_KEY_HERE"
243
-
}
244
-
}
245
-
}
246
-
```
247
-
248
-
**If you're using Anthropic Claude:**
249
-
250
-
```json
251
-
{
252
-
"agents": [
253
-
{
254
-
"name": "v1claw",
255
-
"model": "claude-sonnet-4-20250514"
256
-
}
257
-
],
258
-
"providers": {
259
-
"anthropic": {
260
-
"api_key": "sk-ant-YOUR_KEY_HERE"
261
-
}
262
-
}
263
-
}
264
-
```
265
-
266
-
Save the file: press `Ctrl+O`, then `Enter`, then `Ctrl+X`.
267
-
268
-
#### Step 8: Test it!
208
+
#### Step 7: Test it!
269
209
270
210
```bash
271
211
./build/v1claw-linux-arm64 agent -m "Hello! What can you do?"
272
212
```
273
213
274
214
You should see the AI respond. **If it does — congratulations, V1Claw is working on your phone!** 🎉
275
215
276
-
#### Step 9: Start chatting
216
+
#### Step 8: Start chatting
277
217
278
218
```bash
279
219
./build/v1claw-linux-arm64 agent
280
220
```
281
221
282
222
This opens an interactive chat. Type anything and press Enter. Type `exit` or press `Ctrl+C` to quit.
283
223
284
-
#### Step 10: Enable phone hardware (optional)
224
+
#### Step 9: Enable phone hardware (optional)
285
225
286
226
Want V1Claw to use your mic, camera, or read notifications? Edit the config again:
287
227
@@ -309,7 +249,7 @@ Add a `"permissions"` section (you can turn each feature on or off individually)
309
249
310
250
> 🔒 **Every feature is OFF by default.** Only turn on what you need. You can change these anytime by editing the config and restarting.
311
251
312
-
#### Step 11: Run V1Claw 24/7 in the background (optional)
252
+
#### Step 10: Run V1Claw 24/7 in the background (optional)
0 commit comments