Repository navigation
fix(slack): restore working status with newer Slack SDKs - #1
Merged
Merged
Conversation
…Status a5522f6 routed status through agents.sessions.setStatus whenever the installed slack-sdk ships the typed method (>=3.44.0). That API accepts only the closed enum active|processing|suspended|closed, while every Hermes call site still sends the legacy free-text protocol: work-start phrases, per-tool live_status updates, typing_status_text, and an empty string to clear. All of them are rejected with invalid_arguments, and because status failures are debug-logged by design the indicator vanished silently on every turn (NousResearch#110374). Status now always uses the legacy method, which takes free text and auto-clears on reply until its February 2027 deprecation. Titles keep using agents.sessions.rename, which takes free text and was never affected. Not migrated to the enum on purpose: processing does not auto-clear when the app replies, so a turn ending without an explicit active would leave the spinner up for up to an hour, re-opening the stuck-indicator class fixed by NousResearch#64621 / NousResearch#24117; and the new API has no equivalent for custom status text, so adopting it drops live_status and typing_status_text. That trade is a product decision, not a regression fix. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> (cherry picked from commit 9b90259) [skip ci]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cherry-pick NousResearch#110391 preserving contributor authorship. Free-text status and empty clears use assistant.threads.setStatus; title routing unchanged. Two files only; no dependency/config changes.
Local canonical runner: Slack adapter and native streaming suites 270 passed, 0 failed, 1 skipped. Regression tests on unchanged base: 2 failed, 3 passed.
Live canary pending: DO NOT MERGE. Hosted CI intentionally skipped. Upstream issue NousResearch#110374