Conversation
Add a profile-scoped Hermes lifecycle plugin, exact session/profile persistence, process-generation race protection, hardened installation management, and Windows cold-restart coverage.
Contributor
|
Thanks for the work on this! We’re continuing the Hermes integration in #697, which includes session restoration as part of the full CLI integration. Closing this in favor of that PR. |
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.
Summary
hermes --profile <profile> chat --resume <session-id>.cate-agent-stateintegration plugin underintegrations/hermes, plus managed install/status/uninstall commands. This PR does not modify Hermes core.System32/tar.exefor packaged runtime extraction so drive-letter paths work when Git's GNU tar precedes System32 onPATH.Why
A bare "continue latest" flow is ambiguous when multiple Hermes terminals share a working directory. Persisting the authoritative session ID together with its canonical profile lets every restored panel reattach to its own conversation rather than whichever conversation happens to be newest.
How it works
{ agentId, sessionId, profile, cwd }and, after a cold restart, launches a fresh shell with the explicit profile and session ID.Manual installation
From a Cate checkout, install the plugin separately for each Hermes profile used in Cate:
Use
--profile defaultexplicitly for the default profile, then restart any running Hermes CLI so it loads the plugin. To remove it:Validation
runtimeReady,terminalWritable, andfileReadalltrue.The broad Windows baseline is not claimed fully green: known symlink-privilege and environment-dependent failures remain.
Risk and security