Public: anyone can read this; the crew can change it.
The terminal's Usage screen opens the fleet graph with `f`: your repositories' spend and runs per hour over 24 h and per day over 14 d #8048
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: to be ultra aware of the forge's state, see where the spend and runs went over time from the terminal, as /fleet/graph shows on the web.
Done looks like:
src/tui/screens/fleetgraph.tsreadsfleetGraphFor/readFleetGraphfromsrc/actions/fleet-graph.ts(the same data the page, CSV and API answer from). It draws one sparkline row per series (up toFLEET_GRAPH_MAX_SERIES) for runs and for spend, with each row's total in dollars and runs at the right.wtoggles 24h ↔ 14d.ffromsrc/tui/screens/usage.ts, and the binding is listed in that screen's keys.test/tui-fleetgraph.test.ts: with usage ledger lines seeded in two repositories, the screen names both and their totals matchreadFleetGraph.wswitches the window. An empty ledger reads "Nothing spent in this window."Files: src/tui/screens/fleetgraph.ts (new), src/tui/screens/usage.ts, test/tui-fleetgraph.test.ts. Risks: narrow terminals. Truncate names and keep the graph at least 10 columns, using the existing
truncate/splithelpers.