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
fix: honest Claude connect + 'aios claude-login' (the OAuth step the button was missing)
'Connected but doesn't work' was because the button only pointed the hub at claude-code-api —
it never logged the Claude CLI into the Pro/Max account (that's the browser+code OAuth flow).
- /api/claude_connect now runs a real test completion and reports logged_in true/false with a
clear instruction instead of a false 'connected'.
- New 'aios claude-login' command: runs the Claude Code CLI login (claude / claude setup-token)
— the browser OAuth for your subscription. --token uses setup-token for a long-lived token.
- Settings card + connectClaude() now say the login happens in the terminal (aios claude-login),
then the button routes everything through it.
Verified on Windows: claude_connect returns logged_in:false with the guidance (CLI not logged in);
'aios claude-login' registered and parses.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,7 +166,7 @@ Plus two integrations that glue it together:
166
166
-**✦ Team** — one assistant that orchestrates the whole team: the Brain plans, delegates subtasks to the specialist agents, and synthesizes one answer (the practical "merge").
167
167
-**Configure openclaw AND hermes fully inside the hub** — both control-UIs are embedded via frame-stripping proxies, so you get channels, **connectors**, model providers, **MCP servers**, skills, plugins, **automations/cron**, and sessions right in the hub (they normally block embedding).
168
168
-**Automations** — schedule prompts to run against any agent every N minutes (daily digests, checks).
169
-
-**Connect your Claude account (Pro/Max)** — one click in **Settings**points the Brain/Team/crews at**claude-code** (your Claude subscription, no API key or per-token cost)and auto-configures everything.
169
+
-**Connect your Claude account (Pro/Max)** — first run `aios claude-login` (opens the browser OAuth for your subscription), then one click in **Settings → "Use my Claude subscription"**routes the Brain/Team/crews through**claude-code** (no API key, no per-token cost). The button tests a real completion and tells you if you still need to log in.
170
170
-**Settings** — edit provider/key/model, channel tokens, and `aios.config.yaml`; it re-renders into every agent, no terminal needed.
Copy file name to clipboardExpand all lines: docs/dashboard.html
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -239,7 +239,7 @@ <h3>🔗 Connect your Claude account (Pro / Max)</h3>
239
239
<p>Use your Claude subscription for the Brain, Team and crews — routed through <b>claude-code</b>,
240
240
no API key or per-token cost. One click points everything at it and re-renders.</p>
241
241
<divclass="row"><buttonclass="btn primary" onclick="connectClaude()">Use my Claude subscription</button><spanid="claudeMsg" class="kv"></span></div>
242
-
<pclass="mono" style="font-size:.76rem;color:var(--text3);margin-top:12px">First time? run <b>claude</b> once in a terminal to log in to your Pro/Max account, then click above.</p>
242
+
<pstyle="font-size:.8rem;color:var(--text3);margin-top:12px"><b>The login happens in your terminal, not here.</b> First run <spanclass="mono" style="color:var(--accent-strong)">aios claude-login</span> — it opens your browser to authorize your Pro/Max account (or paste a code). Then click the button above to route everything through it.</p>
document.getElementById('claudeMsg').textContent=r.reachable?('connected — model '+r.model+'. Restart agents to apply.'):(r.note||'set, but claude-code-api not reachable');
382
-
toast(r.reachable?'Connected to your Claude account':'Saved — start claude-code + run `claude` to log in');loadSettings();
0 commit comments