2
0
Fork 0
forked from zynk/zynk

Full forecast mode, 24h times, startup version, doc fixes. (0.40.5)

- Added 'full' keyword to !forecast: '!forecast frankfurt full' shows
  per-day detail lines with weather description, sunrise/sunset, and
  moonrise/moonset in 24-hour format, sent as separate IRC messages.
- Added to_24h() helper to convert wttr.in's 12-hour AM/PM astronomy
  times to 24-hour format (e.g. '05:20 AM' -> '05:20').
- Fixed missing first letter of weather descriptions in full mode
  ('value' offset was 11 instead of 10, skipping the first char).
- Startup message now includes the version: '[zynk 0.40.5] starting up'.
- Added doc comments to to_24h(), find_day_obj(), and other forecast
  helper functions with full parameter documentation.
- Fixed 'Not implemented...' fallback to only trigger when ! is
  followed by a letter (e.g. !foo), so bare ! or !!! no longer
  produce the message.
- Updated README.md to document !forecast [city] [full] syntax.
- Updated CHANGELOG.md with 0.40.5 entry.
This commit is contained in:
Johannes Findeisen 2026-07-23 23:52:18 +02:00
commit d4c1b7cfcf
6 changed files with 335 additions and 64 deletions

View file

@ -1,9 +1,18 @@
2026.07.23 - Full forecast mode, 24h sunrise/moon times, startup version. (0.40.5)
- Added `full` keyword to `!forecast`: `!forecast frankfurt full` shows per-day detail lines with weather description, sunrise/sunset, and moonrise/moonset in 24-hour format, sent as separate IRC messages.
- Added `to_24h()` helper to convert wttr.in's 12-hour AM/PM astronomy times to 24-hour format.
- Fixed the missing first letter of weather descriptions in full mode (`"value": "` offset was 11 instead of 10).
- Startup message now includes the version: `[zynk 0.40.5] starting up`.
- Added doc comments to `to_24h()`, `find_day_obj()`, and other forecast helper functions.
- Fixed "Not implemented..." fallback to only trigger on `!` followed by a letter (e.g. `!foo`), so bare `!` or `!!!` no longer produce the message.
2026.07.23 - Raise AI code mode limit, simplify plan mode prompt. (0.40.4)
- Increased AI code mode response limit back to 2000 chars (was reduced to 1000 in 0.40.3, but code changes need more room).
- Simplified the AI plan mode system prompt further: removed the explicit "tell them you are in plan mode" instruction, keeping it to a short "You are in plan mode. Answer briefly." directive.
- Fixed `!gitlog` default count in README.md from 5 to 1 (matching the actual `GITLOG_COUNT` value set in 0.38.2).
- Re-aligned the utilities command table in README.md for cleaner formatting.
- Re-aligned the utility command table in README.md for cleaner formatting.
- Minor grammar and punctuation fixes across older changelog entries.
2026.07.23 - Simplify CMake feature loop, adjust AI response limits. (0.40.3)