Permission prompts get a new structured 'card' layout with truncated values and an overflow indicator
Permission-request prompts (the ones asking whether to allow a tool action) can now render as a structured "card": a bold question, informational lines, and values that are dimmed and truncated to fit the available width, with a "… (+N more lines)" indicator when content is cut off. The prompt display checks whether this card layout fits within a height budget before using it, falling back to the old plain-text rendering if it doesn't fit.
This makes permission prompts easier to scan by giving them consistent visual structure, while still falling back to the simpler text display when there isn't enough room to show the card properly.