Smart refs: using one in a prompt

Type { in any prompt and pick from the list. Works inside prompt blocks too.
The badge is teal when the name resolves and red when it does not. A red badge does not block generation. The ref is ignored and the run is still charged.
Reference images are added on top of the images selected on the canvas. One prompt can use up to three refs at once.
After a run, the library detail view lists the reference images that were used. It is the only place this is shown.