// `?shown=1` (with `?chats=N×tamps=1`, and `?files=1` so the files // resolve to tool/capture/fixtures/files copied under capture-files/): the // subscribe reply carries one of each Pipelines tool entry, after the last answer of the // bench transcript's messages (perf-m0..19 at 09:00..09:19 UTC). import 'package:pipelines_app/core/api_gateway.dart'; int _at(int minute, int second) => DateTime.utc(2026, 11, 5, 9, minute, second).millisecondsSinceEpoch; const String _diagram = ''' Build Test Release
Stage timings

Build 2m 10s · Test 4m 02s · Release 38s

'''; /// The retained entries the fixture's subscribe reply carries. JsonMap chatShownFixture(Object? sessionId) => { 'session_id': sessionId, 'items': [ { 'id': 'shown-image', 'kind': 'file', 'created_at': _at(19, 10), 'title': 'Release design', 'path': '/srv/probe/release/design.png', 'name': 'design.png', 'size': 18432, 'mime': 'image/png', }, { 'id': 'shown-doc', 'kind': 'file', 'created_at': _at(19, 20), 'path': '/srv/probe/release/release.md', 'name': 'release.md', 'size': 640, 'mime': 'text/markdown', }, { 'id': 'shown-html', 'kind': 'html', 'created_at': _at(19, 30), 'title': 'Pipeline stages', 'html': _diagram, 'html_bytes': _diagram.length, 'height_hint': 220, }, { 'id': 'shown-notify', 'kind': 'notify', 'created_at': _at(19, 40), 'title': 'Release ready', 'message': 'All three stages passed; the release is ready to publish.', 'priority': 'default', 'delivered': true, }, ], };