plugins
plugins copied to clipboard
fix(nano_banana_dashboard): inject current date into prompt and cache key
When the plugin refreshes after midnight, source plugin data (e.g. calendar’s today_in_tz) may still contain yesterday's date. The Gemini prompt had no independent date reference, causing the LLM to render calendars and date-dependent visuals for the wrong day.
- Add current_date method returning user’s timezone-aware date
- Inject today’s date into prompt before source data, with override instruction to prefer it over stale dates in source data
- Prepend current_date to cache key so the image regenerates on date change
Fixes #111