fabro/docs/public/changelog/2026-04-20.mdx
Bryan Helmkamp 283eab181f
refactor(docs): split docs/ into public/ and internal/
Invert the docs convention so the Mintlify-published site lives under
docs/public/ and internal artifacts (strategy docs, brainstorms, plans,
etc.) sit at docs/ root or docs/internal/. Tools that default to writing
into docs/ now land in the catch-all instead of leaking into the
published tree.

- Move Mintlify content (administration/, agents/, api-reference/,
  changelog/, core-concepts/, examples/, execution/, getting-started/,
  human-tools/, integrations/, languages/, reference/, tutorials/,
  workflows/, images/, logo/, docs.json, favicon.svg, dot-highlight.js)
  into docs/public/.
- Collapse docs-internal/ into docs/internal/.
- Update Rust path references (fabro-api/build.rs, fabro-server,
  fabro-dev), TypeScript generator arg, CI path filters, clippy.toml
  reasons, AGENTS.md/CLAUDE.md, and README.md image refs.

Mintlify dashboard project root must be updated to docs/public/ in a
follow-up. .mintignore move/trim and .claude/skills/ updates land in a
separate commit.
2026-04-27 07:21:13 -07:00

42 lines
1.9 KiB
Text

---
title: "GitHub CLI auth and web run controls"
date: "2026-04-20"
---
## GitHub login for the CLI
The CLI can now authenticate to GitHub-backed Fabro servers through a browser login flow. Instead of copying bearer tokens around, run `fabro auth login`, approve the flow in your browser, and let the CLI store and refresh the session for future commands.
```bash
fabro auth login
fabro auth status
fabro auth logout
```
Token refresh is wired through the shared client path used by commands such as `fabro doctor`, `fabro model`, `fabro repo init`, `fabro secret`, `fabro system`, and `fabro version`, so authenticated server commands can recover from expired access tokens without a manual retry.
## Run controls in the web app
Run detail pages now expose lifecycle actions directly in the browser. You can start, pause, unpause, cancel, archive, and unarchive runs from the run UI, with toasts and server-sent event updates keeping the page state in sync after the action completes.
Blocked runs also get a clearer notice in the stage sidebar. The web app now treats lifecycle actions as first-class run operations instead of burying them in CLI-only workflows.
## More
<Accordion title="API">
- Corrected the GitHub webhook OpenAPI contract so generated clients match the server route
</Accordion>
<Accordion title="CLI">
- Added `fabro auth login`, `fabro auth status`, and `fabro auth logout`
- Restored configured socket autostart behavior for local server targets
- `fabro system df` now checks server stores in parallel
</Accordion>
<Accordion title="Fixes">
- Fixed CLI login so the browser must confirm the auth request before the CLI receives a token
- Removed explicit remote same-host auth fallbacks from the CLI client
- Fixed server stop polling so zombie processes do not keep a server marked as running
- Rejected obfuscated IPv4 host forms when parsing CLI server targets
- Deduplicated archive, unarchive, cancel, and lifecycle toasts in the web app
</Accordion>