fix(moves): HUD plate uses the Academy prompt or the move name, not the description
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -316,7 +316,9 @@ export async function loadCustomPolicy(ref, { ort, onProgress = () => {} } = {})
|
||||
const slot = slotForManifest(manifest);
|
||||
const kind = manifest?.kind ?? "perpetual";
|
||||
const academy = manifest?.academy && typeof manifest.academy === "object" ? manifest.academy : null;
|
||||
const title = academy?.prompt || manifest?.description || name;
|
||||
// HUD plate text: the Academy prompt when there is one, else the name
|
||||
// (descriptions are paragraphs, too long for the chip).
|
||||
const title = academy?.prompt || name;
|
||||
const base = { kind, slot, name, title, author, academy, ref: String(ref), actionScale };
|
||||
|
||||
if (slot === "script") {
|
||||
|
||||
Reference in New Issue
Block a user