Progress update — Windows IDE client for AGP Studios (WPF) — scaffold, login, admin console, library & launcher

Sitewide news can be found here as well as in discord.
Post Reply
BlessThisMess
Site Admin
Posts: 9
Joined: Tue Nov 11, 2025 10:50 pm

Progress update — Windows IDE client for AGP Studios (WPF) — scaffold, login, admin console, library & launcher

Post by BlessThisMess »

Quick summary of what we’ve accomplished so far:

Created a runnable Windows IDE client scaffold (WPF / C#) that targets a configurable AI Server (default http://localhost:8088).
Implemented core client components:
ApiClient: handles HTTP calls to the AI Server, phpBB3 login handshake, fetching user info and game listings, and publishing packages.
Login flow: LoginWindow authenticates via phpBB3 through the AI Server and routes users based on admin status.
Admin AI Console: AdminConsoleWindow with a code editor placeholder (AvalonEdit recommended), save draft locally, publish to server.
Local draft storage: LocalRepository saves drafts under %AppData%/AGP_IDE/drafts.
Game library: LibraryWindow lists published games from the server and downloads selected packages.
PackageDownloader and unpacking helpers: stream downloads and extract zips or place executables.
GameLauncher: launches downloaded game executables in a new process (supports DirectX/OpenGL games run externally).
Config handling: AppConfig with config.json for server URL/port.
Added a README that explains build/run steps, API expectations, and local storage locations.
Created and saved GitHub issue tracking the work and next steps:
Issue: buffbot88/AGP_Studios#1 — “Windows IDE client for AGP Studios: AI Server integration, login, admin/member routing, local draft storage, and game library/playback”
Drafted the immediate next step for Copilot: scaffold a Visual Studio solution with NuGet packages (AvalonEdit, Newtonsoft.Json), and stub the listed classes/windows to provide a working baseline.
How to run/test the client locally (quick):

Ensure .NET 6/7 SDK installed.
Set config.json ServerUrl to your AI Server (default: http://localhost:8088).
Start the AI Server or a local stub that implements:
POST /api/auth/phpbb3/login → returns token
GET /api/user/me → returns { username, isAdmin }
GET /api/games → published games list
POST /api/admin/publish → accepts multipart package
Build and run the WPF app. Login with phpBB3 credentials via the AI Server. Admins land in the AI Console; members land in the Library.
Notes / caveats:

The current client is a skeleton intended to be extended. Important areas to implement next: secure token storage, HTTPS for production, full package zipping/unzipping and metadata, richer code editor features (Roslyn or Monaco), and a real AI generation endpoint on the server.
Game execution launches an external executable; embedding DirectX/OpenGL rendering in-process was not implemented — current approach runs the game as a separate process.
For phpBB3 authentication the AI Server must verify phpBB credentials server-side and issue a token (JWT recommended) for the client.
What’s next (planned):

Generate a full Visual Studio solution, add NuGet references and stub files so Copilot (or contributors) can pick up module work.
Implement secure token persistence and improve editor UX (autocomplete, diagnostics).
Optionally provide a small AI Server stub for integration testing.
Post Reply