Repository navigation
A plugin names the adapter's files as a deployment does - #108
Merged
haizhongzheng merged 8 commits intoNov 20, 2026
Merged
Conversation
…loys as hermit deploy does A Claude Code plugin prints, from a SessionStart hook, where its embedded adapter is and the files no export connects, the list a deployment's context gives. Codex, Pi and Hermes plugins, which cannot say where they are installed, list those files under unnamed_files. A test holds that training deploys an adapter as hermit deploy does, file for file on every host, the tools' server entry aside.
…Windows wording; tighter tests A Hermes plugin's register appends the folder note and the list of other files to its system prompt section, within its 4,000 characters. The Claude Code README mentions the hook only when there is one, and the docs say the hook needs a POSIX shell. Tests: a reconversion removes a hook no longer needed; the deployment records differ only in the tools' entries.
# Conflicts: # CHANGELOG.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… taken out The test let a whole tool-server file differ between training and `hermit deploy`, so training losing Hermes's skills settings passed, and whether a host's tools come from the workspace or the session's own server was checked only when a file differed. Now every other file must match byte for byte, the tool-server file must match once the tools' entry is removed (OpenCode, Hermes, mini-swe-agent), and each host's tool handoff is asserted on its own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Change
Roadmap §5 (#37). A
hermit deployworkspace's context says where the adapter's files are; ahermit convertplugin did not.SessionStarthook prints the installed folder and the same file list.unnamed_files.hermit deploydoes, on every host.Validation
tests/core/test_deploy.py,tests/core/test_convert.py;claude -p --plugin-dirwith the converted example names the folder and files.Review
Maintainer update
CHANGELOG.md(both entries kept). The PR's code merged unchanged; its tests still reachhermit.agent.acting.workspace._deployandmini_swe_agent.CONFIG_FILE, which the refactor kept.tests/core/test_deploy.py): the with-tools test let a whole tool-server file differ, so training losing Hermes's skills settings passed. Now every other file must match byte for byte, the tool-server file must equalhermit deploy's once the tools' entry is removed (OpenCode, Hermes, mini-swe-agent), and each host's tool handoff (workspace server or the session's own) is asserted on its own. Mutants (Hermes skills dropped;harness_toolsdropped) fail the new test; the old one missed the first.test_deploy.py+test_convert.pywith mini-swe-agent 2.4.6 installed: 85 passed, 1 skipped (all 7 hosts ran).pytest --changed --base origin/mainlocally: 1784 passed, 11 failed; all 11 fail the same way on a cleanmaincheckout (a stale hermit install in that environment), none in this PR's files./dual-review, two rounds, this session and Codex): the only fix was the test above. Left, recorded: a.env's first line in the list (deploy's context already lists it); the hook's output past Claude Code's 10,000-character cap (the folder note comes first); unconnected files insideskills/oragents/not listed (deploy's filter); nested.gitor a linked directory listed differently from what is embedded; non-UTF-8 locale writes (as every plugin file before); Windows without Git Bash (documented); a converted role's fresh context not seeing the folder note; reconversion replacinghooks/wholesale (asagents/andskills/); no hook for an adapter with only its context.