From 29f024921acea299000fc0fa903016b823f16e46 Mon Sep 17 00:00:00 2001 From: "prompt.ac/@jeffrey" Date: Thu, 17 Sep 2026 10:31:42 -0700 Subject: [PATCH] Open room workshop tools from the Oskiewar home screen --- lith/Caddyfile | 2 +- system/netlify/functions/oskiewar-maps.mjs | 2 +- xbox/live/coach.html | 15 ++- xbox/live/coach.mjs | 8 +- xbox/live/mac-test.html | 14 +-- xbox/live/oskiewar-workshop.mjs | 104 ++++++++++++++++----- xbox/live/oskiewar.js | 32 +++++-- xbox/live/social/manifest.json | 2 +- xbox/live/social/oskiewar-title.jpg | Bin 65359 -> 57144 bytes xbox/live/social/oskiewar-title.mp4 | Bin 237624 -> 241573 bytes xbox/live/tests/oskiewar-map.test.mjs | 2 +- xbox/live/tests/oskiewar-netplay.test.mjs | 37 +++++++- xbox/live/tests/oskiewar.test.mjs | 19 +++- 13 files changed, 182 insertions(+), 55 deletions(-) diff --git a/lith/Caddyfile b/lith/Caddyfile index f164cc63c8..9d18f71c89 100644 --- a/lith/Caddyfile +++ b/lith/Caddyfile @@ -1121,7 +1121,7 @@ oskiewar.com, midi.oskiewar.com { } # Playable Canvas/Web Audio build shared with the desktop test harness. - @oskiewargame path / + @oskiewargame path / /workshop /workshop/ handle @oskiewargame { root * /opt/ac/xbox/live rewrite * /mac-test.html diff --git a/system/netlify/functions/oskiewar-maps.mjs b/system/netlify/functions/oskiewar-maps.mjs index 5f1265129e..5d0b9bc2e0 100644 --- a/system/netlify/functions/oskiewar-maps.mjs +++ b/system/netlify/functions/oskiewar-maps.mjs @@ -35,7 +35,7 @@ export function createMapsHandler({ authorize, connect }) { owner, published, map, createdAt: new Date().toISOString(), } }, { upsert: true }); return reply(201, { id, published, map, - ...(published ? { url: 'https://oskiewar.com/?workshop=' + id } : {}) }); + ...(published ? { url: 'https://oskiewar.com/workshop?map=' + id } : {}) }); } if (query.id) { const row = await collection.findOne({ _id: query.id, diff --git a/xbox/live/coach.html b/xbox/live/coach.html index 4170beef53..368c36cfca 100644 --- a/xbox/live/coach.html +++ b/xbox/live/coach.html @@ -136,8 +136,8 @@ claude mcp add coach -- node ./coach.mjs

Build a map while playing

-

Open the map workshop, enable - Coach editing, and connect your coach to the room shown +

Open the map workshop from the tools icon in the top-right, + and connect your coach to the room shown on the title. coach_workshop can reshape terrain and platforms, move and highlight spawns, drop items, undo edits, reset the round, or restart the level. The edited map stays in place between rounds.

@@ -146,10 +146,9 @@ claude mcp add coach -- node ./coach.mjs Save this as Moon Yard. Publish it and give me the play link.

Sign in to save private drafts or publish. Each save keeps a separate version; published versions have a permanent play link. The coach can - list and load them later. Editing currently works in local practice in - the browser. Edited sessions do not upload competitive replays; reload - before returning to recorded matches. Turning Coach editing off prevents - further commands; an already submitted save may still finish.

+ list and load them later. Room editing is enabled by default. In network games, the host applies edits + and streams the updated game to the other player. Edited sessions do not upload competitive replays; reload + before returning to recorded matches. Ranked play is not implemented yet; this workshop is for casual rooms.

Things to say to it