feat: render markdown images with lightbox zoom (#271)
Adds full inline image rendering to the Viewer for both annotate and plan review modes. Previously,  syntax was treated as plain text. ## What changed ### Viewer.tsx - Added `` regex to InlineMarkdown before the link pattern. Images starting with `!` were silently falling through to plain text because `!` was not in the special-character scan set — added it. - Added `imageBaseDir` prop (flows Viewer → BlockRenderer → InlineMarkdown) so relative image paths in markdown resolve against the annotated file's directory rather than the server's cwd. - Added `onImageClick` callback (same prop chain) to open lightbox on click. - Added `ImageLightbox` component: full-screen dark backdrop, image scaled to 90vw/85vh with object-contain, alt text caption, closes on Escape or backdrop click. Portaled to document.body. - Images render with `cursor-zoom-in` to hint they're clickable. ### App.tsx - Captures `filePath` from `/api/plan` response (already sent by annotate server) and derives `imageBaseDir` (directory of the markdown file). - Passes `imageBaseDir` to `<Viewer>`. ### ImageThumbnail.tsx - `getImageSrc()` now accepts an optional `base` parameter. For relative local paths, appends `&base=<dir>` to the `/api/image` query string. ### shared-handlers.ts - `handleImage` falls back to resolving the path relative to a `base` query param when the primary path doesn't exist and the path is relative. Covers the common case of `` in a markdown file opened from an arbitrary directory. ## Behavior - Remote URLs (https://...) render directly, no proxy. - Absolute local paths route through /api/image as before. - Relative paths resolve against the markdown file's directory via ?base=. - Click any image → lightbox. Escape or click outside → dismiss. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Michael Ramos <mdramos8@gmail.com>