From fdf50ce2a4ebab015daffb16f979b8339b1f5931 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Padez?= Date: Thu, 27 Aug 2026 05:04:31 +0000 Subject: [PATCH] ship screenArtUrl, which the last commit left behind MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 52f209c6 named its paths explicitly and this file was not among them, so the export that mount.ts imports never left this machine. alpha pulled, could not resolve it, and crash-looped nineteen times before the log said so: SyntaxError: Export named 'screenArtUrl' not found in module assets.ts the path-scoped commit is the right habit — two agents share this tree and a bare `git commit` sweeps up whatever the other one staged. the cost is this: a list is a thing you can be incomplete about, and tsgo cannot catch it because the file is right here on disk. only a machine that pulls finds out. Co-Authored-By: Claude Opus 5 Officer-Session: 656f5c85-e49a-4f1f-b9f3-042a04b4d043 --- src/servers/app-store/assets.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/servers/app-store/assets.ts b/src/servers/app-store/assets.ts index 4ef1a281..43042d9b 100644 --- a/src/servers/app-store/assets.ts +++ b/src/servers/app-store/assets.ts @@ -32,6 +32,14 @@ export const assetPublicDir = (sidecarId: string): string => join(process.cwd(), /** The URL a manifest should use for a shipped icon. */ export const iconUrl = (sidecarId: string): string => `/plugins/${sidecarId}/icon.png`; +/** + * The URL for one SCREEN's own artwork, in a plugin that has more than one. + * + * Same published directory and the same copy — `publishAssets` takes the whole `assets/` folder, so + * `assets/calendar.png` needs no separate step to reach the browser. + */ +export const screenArtUrl = (sidecarId: string, segment: string): string => `/plugins/${sidecarId}/${segment}.png`; + /** The URL for a shipped splash. Published by the same copy — `publishAssets` takes the whole dir. */ export const splashUrl = (sidecarId: string): string => `/plugins/${sidecarId}/splash.png`;