teknium1
dacb06ea93
feat(plugins): show on_session_finalize return messages to the user
...
A plugin's on_session_finalize hook can now return a str or {"message": str}
and Hermes shows it at the session boundary without starting a turn or
rewriting the model reply:
- CLI /new: printed before the new session; CLI quit: printed above the
exit summary; one-shot -q/-z: printed to stderr (stdout stays the answer)
- TUI: session.close returns the messages; /new shows them as system lines
- Gateway /new and shutdown: sent to the owning chat via the adapter, while
adapters are still connected
on_session_end stays observer-only: it fires after every turn, not at a
session boundary. Gateway finalize dispatch moves to
gateway/run_shutdown_session_end.py.
2026-10-08 04:11:24 -07:00
..
2026-10-07 13:43:19 +05:30
2026-10-07 13:19:35 +05:30
2026-10-04 23:05:42 -07:00
2026-10-04 00:08:20 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-10-02 00:46:21 +05:30
2026-10-04 00:08:20 -07:00
2026-10-04 00:08:20 -07:00
2026-10-04 00:08:20 -07:00
2026-10-04 11:57:03 +05:30
2026-10-07 18:20:07 +05:30
2026-09-28 10:21:41 -07:00
2026-10-01 17:18:56 -07:00
2026-09-28 10:21:41 -07:00
2026-10-04 00:08:20 -07:00
2026-09-28 13:30:57 -07:00
2026-10-02 01:17:03 +05:30
2026-09-28 13:30:57 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-10-02 22:21:27 -05:00
2026-10-02 22:21:27 -05:00
2026-10-02 22:21:27 -05:00
2026-10-01 22:59:37 +05:30
2026-09-28 10:21:41 -07:00
2026-10-02 19:22:09 -04:00
2026-10-02 02:59:59 +05:30
2026-10-04 00:08:20 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-10-05 19:39:09 +05:30
2026-10-06 11:24:04 +05:30
2026-10-08 00:49:32 -07:00
2026-09-28 14:16:18 -07:00
2026-10-05 19:39:09 +05:30
2026-10-02 01:13:21 +05:30
2026-10-05 01:26:23 -07:00
2026-10-05 01:26:23 -07:00
2026-09-28 14:16:18 -07:00
2026-10-07 03:27:01 +05:30
2026-09-29 07:44:13 +00:00
2026-10-05 17:11:30 -07:00
2026-10-05 20:07:25 +05:30
2026-10-04 11:57:03 +05:30
2026-10-08 04:11:24 -07:00
2026-10-08 04:11:24 -07:00
2026-10-07 17:13:12 -07:00
2026-10-01 18:07:32 +05:30
2026-09-28 14:16:18 -07:00
2026-10-04 11:58:00 +05:30
2026-10-07 01:35:11 -07:00
2026-10-08 00:49:32 -07:00
2026-10-06 00:08:57 -04:00
2026-10-07 17:19:01 -04:00
2026-09-28 04:34:30 -07:00
2026-09-28 04:34:30 -07:00
2026-09-28 15:54:07 +05:30
2026-09-28 15:54:07 +05:30
2026-09-28 12:43:03 -07:00
2026-09-28 15:54:07 +05:30
2026-10-06 16:24:04 -04:00
2026-10-07 16:15:35 -07:00
2026-10-06 16:24:04 -04:00
2026-09-28 12:43:03 -07:00
2026-09-28 12:23:25 -07:00
2026-09-28 14:16:18 -07:00
2026-09-28 14:16:18 -07:00
2026-10-03 16:29:34 +05:30
2026-10-08 04:11:24 -07:00
2026-09-29 07:44:13 +00:00
2026-10-08 00:49:32 -07:00
2026-10-07 04:39:00 -07:00
2026-10-06 06:18:39 -07:00
2026-09-28 10:21:41 -07:00
2026-09-26 11:24:50 -07:00
2026-09-28 12:43:03 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-10-07 01:35:11 -07:00
2026-09-27 01:05:06 +05:30