core: add the solution, Core engine, CLI and tests

Core implements the CLI-only collectors for Claude and Codex (D2 to D4),
the history store (D5), the refresh engine (D6), pace and popup
decisions (D7, D8), the snapshot contract (D9) and the Stream Deck
installer contract (D11). finaltoken status runs one refresh and prints
the snapshot. The app and plugin projects are placeholders so the
solution file is complete before they are built in parallel.

Refs #1
This commit is contained in:
Florian Schmidt
2026-10-14 19:09:54 +02:00
parent db890c5f68
commit 14223b05df
60 changed files with 2287 additions and 0 deletions
@@ -0,0 +1,4 @@
# StreamDeck tests
Hand-written fixtures only. xUnit v3 AOT with Microsoft.Testing.Platform.
Run `dotnet test --project tests/FinalToken.StreamDeck.Tests -c Release` from the root.
Placeholder test; owning worker replaces it.
@@ -0,0 +1 @@
@AGENTS.md
@@ -0,0 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<IsTestProject>true</IsTestProject>
<UseMicrosoftTestingPlatformRunner>true</UseMicrosoftTestingPlatformRunner>
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="xunit.v3.aot.mtp-v2" />
<ProjectReference Include="../../src/FinalToken.StreamDeck/FinalToken.StreamDeck.csproj" />
</ItemGroup>
</Project>
@@ -0,0 +1,3 @@
using Xunit;
namespace FinalToken.StreamDeck.Tests;
public class PlaceholderTests { [Fact] public void FoundationBuilds() => Assert.True(true); }