ship screenArtUrl, which the last commit left behind
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 <noreply@anthropic.com>
Officer-Session: 656f5c85-e49a-4f1f-b9f3-042a04b4d043
This commit is contained in:
@@ -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`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user