build.bat was broken by the contract extraction: it staged the loose Launcher .cs files into temp folders and published from there, but the projects now have a ProjectReference to ..\Contract\Tesla.Contract.csproj which cannot resolve from a temp dir. Publish the projects IN PLACE instead, and target net8 / win-x64 (self-contained single-file) to match the runtime/arch uplift. The resulting TeslaLauncher\ package (Service\ + Agent\ + install.bat) installs on a pod with no .NET runtime prerequisite. - Launcher/README.md: correct net6->net8, x86->x64, BinaryFormatter->framed JSON, and note wire types now come from ../Contract. - Launcher/.gitignore: ignore the TeslaLauncher-*.zip deployment package. - Console/.gitignore: ignore the published TeslaConsole-app\ package + its zip (framework-dependent net48 console build for running against a test pod). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
TeslaSuite
The Tesla cockpit-pod software, in one repository:
| Folder | What it is | Target |
|---|---|---|
Console/ |
TeslaConsole — the operator console (WinForms) that configures and drives the pods. A faithful decompiled reconstruction of the original TeslaConsole.exe, with a differential test suite that pins it to the original baseline. |
.NET Framework 4.8 |
Launcher/ |
TeslaLauncher — the pod-side Service (Session 0 RPC listener) + Agent (user-session app launcher). A clean .NET 6 rewrite of the original launcher. | .NET 6 (windows, x86) |
The console and the launcher talk over TCP 53290 using an OFB-encrypted
BinaryFormatter RPC. They share a wire contract (Tesla.Net types +
ILauncherService/IPodManagerConnection signatures) that must stay byte-for-byte
compatible.
⚠️ Known duplication (intentional, for now): that shared contract currently lives in two places — the console consumes it as the compiled
Console/lib/TeslaConsoleLaunchLib.dll, and the launcher hand-replicates the same types inLauncher/LaunchModels_Shared.cs. They must match exactly. Consolidating this into a single multi-targetedTesla.Contractsource project is the main follow-up this monorepo is meant to enable.
Building
Each side has its own toolchain; the combined solution builds both:
dotnet build TeslaSuite.sln -c Release
Or individually:
dotnet build Console/TeslaConsole.csproj -c Release # the console
dotnet test Console/tests/TeslaConsole.DiffTests # differential + catalog tests
dotnet build Launcher/TeslaLauncher.sln -c Release # service + agent
The launcher also has its original Launcher/build.bat / Launcher/install.bat
for producing and deploying the self-contained pod build.
Layout notes
Console/original/TeslaConsole.exeis the reference baseline the differential tests compare against — keep it.Console/lib/*.dllare the proprietary binary dependencies the console still references (TeslaConsoleLaunchLib,TeslaSecureConfiguration,Munga Net,BitmapLibrary,WeifenLuodocking).Console/RedPlanet/Apps.xmlis the data-driven product catalog (see the console's Site Management → Add Product / Register Product on Pods).