Function: renderShotMetadata()
renderShotMetadata(
components,identity,cwd?):string|undefined
Defined in: aiui-lowering-pipeline/src/render.ts:484
The <screenshot-metadata> block for a shot's located elements — the element/cell frontier with its collapse rules (MAX_ELEMENTS_IN_PROMPT, MAX_CELLS_IN_PROMPT, duplicate folding). undefined when nothing was located, which is the caller's cue to emit its bracket line alone.
Exported (O3d) because the lowered prompt is no longer the only consumer: the intent panel's ORACLE attaches the same pixels to a realtime conversation, where there is no disk path to name — the image rides inline — so its caption is a different bracket line over THIS identical block. The identity attribute is the caller's: path="…" when the image is on disk, marker="…" when only the reference survives, and the oracle's own when the pixels are attached rather than stored. One implementation, three framings — the same reason renderAppSelection is exported.
Parameters
components
readonly LocatedComponent[]
identity
string
cwd?
string
Returns
string | undefined