Review nit: capabilities.data?.vision was read inline at all three Plants-mode
scan entry points. Read it once into `canScan` so the gating is consistent.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01H3zbym8Doka2d7D48maSgZ
#102 shipped the seed-packet scan UI in the Plants catalog; Steve's call was to
also surface it in the editor's Plants mode, so you can add a variety mid-planting
without leaving the garden.
Adds a capability-gated "📷 Scan packet" entry:
- in the shared PlantPlacementTools cluster (so it appears in both the desktop
focus toolbar and the mobile Plants strip when a plantable bed is focused), and
- in the mobile Plants-mode hint shown before a bed is focused,
both opening the same ScanPacketModal (gated on `capabilities.vision`, so it's
never a dead button). Vite hoists the now-two-importer modal into its own shared
chunk, so nothing is duplicated.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01H3zbym8Doka2d7D48maSgZ