Merge pull request #1206 from Hy4ri/feat/reasoning-composer-correctness

feat(chat): make reasoning control acknowledged and route-honest
This commit is contained in:
m57 authored and GitHub committed 2026-09-21 12:40:54 +03:00
1 parent 0a323deae5
commit 29fdb52978
20 files changed
+773 -54

No files matched your search

@@ -80,7 +80,7 @@ object EventParser {
}
"session.info" -> {
WsEvent.SessionInfo(payload)
WsEvent.SessionInfo(payload, sessionId)
}
"message.start" -> {
@@ -14,6 +14,7 @@ sealed class WsEvent {
data class SessionInfo(
val data: Map<String, Any?>?,
val sessionId: String? = null,
) : WsEvent()
// ── Message streaming ────────────────────────────────────────────────
@@ -72,6 +72,7 @@ object WsMethods {
const val COMMANDS_CATALOG = "commands.catalog"
const val COMMAND_DISPATCH = "command.dispatch"
const val SLASH_EXEC = "slash.exec"
const val CONFIG_GET = "config.get"
const val CONFIG_SET = "config.set"
// ── Attachments ───────────────────────────────────────────────────────
@@ -166,6 +167,8 @@ object WsMethods {
// Evidence: methods_session.py @_profile_scoped at each @method
// Binds HERMES_HOME so config/skills/pets resolve to the
// focused profile.
CONFIG_GET, // methods_config.py: @method("config.get") + @_profile_scoped
CONFIG_SET, // methods_config_set.py: @method("config.set") + @_profile_scoped
"verification.status", // line 282
PROJECTS_LIST, // methods_projects.py: @_registry.profile_scoped
"pet.info", // line 1253