Hot reload preserves IRC session (nick, channels, voice). (0.39.0)
This commit is contained in:
parent
8657304b96
commit
738323ebaf
3 changed files with 43 additions and 51 deletions
|
|
@ -1,3 +1,11 @@
|
|||
2026.07.21 - Hot reload preserves IRC session (nick, channels, voice). (0.39.0)
|
||||
|
||||
- `reload_do()` now accepts an `exec_new` parameter: when 0 (`!reload`/`!restart`), the child inherits the socket fd and SSL context directly and continues the event loop without reconnecting; when 1 (`!rebuild`/`!code`), the old fork+exec path is used.
|
||||
- Removed `irc_part_all()` from the reload path — the bot no longer parts channels on reload, so voice mode (+v) and channel presence are preserved.
|
||||
- Reset `pending_ai_pid`/`pending_ai_id` in the fork child to avoid stale state from orphaned AI processes.
|
||||
- `!reload` and `!restart` now keep the bot's IRC session alive (no nick collision, no rejoin, no lost voice). `!rebuild`/`!code` still do a clean QUIT+exec since the binary changed.
|
||||
- Version bumped to 0.39.0.
|
||||
|
||||
2026.07.21 - Strip opencode header from !ai responses. (0.38.3)
|
||||
|
||||
- Added `strip_opencode_header()`: removes the opencode header line (e.g. `> plan · big-pickle`) and any trailing blank lines from AI responses before sending to IRC.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue