ebe79ebed0
Run detail gains a Findings tab (open-count badge) listing the server's findings ledger with status and minimum-severity filters and expandable event history; visit grants show as an Extra visits summary fact. The resume retry prompt can grant 1-5 extra visits to the exhausted stage or a chosen graph stage (never sent on restart), suggested when the run failed on a visit limit. A loop-exhaustion decision waiting on a model stage is now decidable from its recorded options, with readable labels, targets and the visit count. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
956 B
Dart
26 lines
956 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
/// The run-detail sections in the web's order: Summary first, the run Graph
|
|
/// second, then the recorded Input, Output and Timeline.
|
|
///
|
|
/// The stable keys match the web client's `RUN_DETAIL_TABS`; the visible labels
|
|
/// are the same words. `renderedRunDetailTabs` decides which keys the strip
|
|
/// draws, so Input and Output stay addressable without being tabs. Findings
|
|
/// is appended only for a run whose server recorded a findings ledger.
|
|
enum RunDetailTab {
|
|
summary('Summary', Icons.summarize_outlined),
|
|
graph('Graph', Icons.account_tree_outlined),
|
|
input('Input', Icons.input),
|
|
output('Output', Icons.output),
|
|
timeline('Timeline', Icons.timeline),
|
|
artifacts('Artifacts', Icons.inventory_2_outlined),
|
|
changes('Changes', Icons.difference_outlined),
|
|
findings('Findings', Icons.fact_check_outlined);
|
|
|
|
const RunDetailTab(this.label, this.icon);
|
|
|
|
final String label;
|
|
|
|
final IconData icon;
|
|
}
|