mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-12-01 00:27:17 +00:00
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.
37 lines
1.6 KiB
Text
37 lines
1.6 KiB
Text
---
|
|
title: "System management API and log rotation"
|
|
date: "2026-04-06"
|
|
---
|
|
|
|
## System management API
|
|
|
|
New server-backed system commands give you visibility into Fabro's operational state through both the CLI and the REST API. `fabro system info` reports server version, uptime, and run counts. `fabro system events` streams the global event log. `fabro system df` and `fabro system prune` now route through the server for consistent behavior across local and remote setups.
|
|
|
|
```bash
|
|
fabro system info # server version, uptime, run counts
|
|
fabro system info --json # machine-readable
|
|
fabro system events # global event stream
|
|
fabro system prune # clean up completed runs
|
|
```
|
|
|
|
## Automatic log rotation
|
|
|
|
Server logs now rotate daily and are automatically cleaned up after 7 days. Previously, log files could grow unbounded on long-running servers, requiring manual cleanup.
|
|
|
|
## More
|
|
|
|
<Accordion title="API">
|
|
- New `GET /api/v1/system/info` endpoint returns server version, uptime, and run statistics
|
|
- New `GET /api/v1/system/events` endpoint streams the global event log via SSE
|
|
- New `GET /api/v1/system/df` endpoint returns disk usage by run
|
|
- New `POST /api/v1/system/prune` endpoint removes completed run data
|
|
- Removed deprecated `GET /runs/{id}/verification`, sessions, retros, and steer endpoints
|
|
</Accordion>
|
|
|
|
<Accordion title="CLI">
|
|
- Removed `fabro skill install` command (skills are now managed through workflow definitions)
|
|
</Accordion>
|
|
|
|
<Accordion title="Improvements">
|
|
- Settings and model commands now route through the server daemon for consistency
|
|
</Accordion>
|