A desktop app that parses Claude Code .jsonl session logs and provides a rich UI for exploring conversations, tool usage, subagents, and token consumption. Features include project browser with auto-discovery of ~/.claude/projects, conversation timeline with inline subagent expansion, agents overview, toolbelt chart, and token usage dashboard. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
30 lines
764 B
Dart
30 lines
764 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:provider/provider.dart';
|
|
import 'providers/session_provider.dart';
|
|
import 'theme/app_theme.dart';
|
|
import 'widgets/navigation/app_shell.dart';
|
|
|
|
void main() {
|
|
runApp(const ClaudeSessionViewerApp());
|
|
}
|
|
|
|
class ClaudeSessionViewerApp extends StatelessWidget {
|
|
const ClaudeSessionViewerApp({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return ChangeNotifierProvider(
|
|
create: (_) => SessionProvider(),
|
|
child: MaterialApp(
|
|
title: 'Claude Session Viewer',
|
|
debugShowCheckedModeBanner: false,
|
|
theme: AppTheme.dark,
|
|
home: const Scaffold(
|
|
backgroundColor: AppColors.background,
|
|
body: AppShell(),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|