From bd2ecd0176669d3a7bd9fb605bbbaae8bda1e4fa Mon Sep 17 00:00:00 2001 From: Philipp Ostmeyer Date: Thu, 25 Jun 2026 09:59:54 +0200 Subject: [PATCH] Init --- App.xaml | 146 +++++++++++++ App.xaml.cs | 7 + ClaudeOverview.csproj | 30 +++ Directory.Build.props | 15 ++ MainWindow.xaml | 299 +++++++++++++++++++++++++++ MainWindow.xaml.cs | 396 ++++++++++++++++++++++++++++++++++++ Models/ClaudeSession.cs | 207 +++++++++++++++++++ Models/UsageInfo.cs | 40 ++++ README.md | 95 +++++++++ Services/AppConfig.cs | 140 +++++++++++++ Services/PermissionRules.cs | 169 +++++++++++++++ Services/SessionScanner.cs | 335 ++++++++++++++++++++++++++++++ Services/UsageService.cs | 113 ++++++++++ app.manifest | 19 ++ config.json | 41 ++++ run-on-windows.cmd | 17 ++ 16 files changed, 2069 insertions(+) create mode 100644 App.xaml create mode 100644 App.xaml.cs create mode 100644 ClaudeOverview.csproj create mode 100644 Directory.Build.props create mode 100644 MainWindow.xaml create mode 100644 MainWindow.xaml.cs create mode 100644 Models/ClaudeSession.cs create mode 100644 Models/UsageInfo.cs create mode 100644 README.md create mode 100644 Services/AppConfig.cs create mode 100644 Services/PermissionRules.cs create mode 100644 Services/SessionScanner.cs create mode 100644 Services/UsageService.cs create mode 100644 app.manifest create mode 100644 config.json create mode 100644 run-on-windows.cmd diff --git a/App.xaml b/App.xaml new file mode 100644 index 0000000..e6870f2 --- /dev/null +++ b/App.xaml @@ -0,0 +1,146 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/App.xaml.cs b/App.xaml.cs new file mode 100644 index 0000000..3ecc580 --- /dev/null +++ b/App.xaml.cs @@ -0,0 +1,7 @@ +namespace ClaudeOverview; + +// Fully qualified: System.Windows.Forms is also in scope (UseWindowsForms) and +// defines its own Application type, so the bare name is ambiguous. +public partial class App : System.Windows.Application +{ +} diff --git a/ClaudeOverview.csproj b/ClaudeOverview.csproj new file mode 100644 index 0000000..a79515c --- /dev/null +++ b/ClaudeOverview.csproj @@ -0,0 +1,30 @@ + + + + WinExe + net8.0-windows + enable + enable + true + + true + ClaudeOverview + ClaudeOverview + app.manifest + + + $(NoWarn);WFAC010 + + + + + + + PreserveNewest + + + + diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..c275b28 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,15 @@ + + + + C:\Tools\ClaudeOverview-build\bin\ + C:\Tools\ClaudeOverview-build\obj\ + + diff --git a/MainWindow.xaml b/MainWindow.xaml new file mode 100644 index 0000000..bc8231d --- /dev/null +++ b/MainWindow.xaml @@ -0,0 +1,299 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +