Repository navigation
feat: support Hermes Agent and OpenCode and update Moltnet - #196
Merged
Merged
Conversation
apresmoi
marked this pull request as ready for review
November 20, 2026 21:29
This was referenced Nov 22, 2026
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.
Status
Add built-in Hermes Agent v0.23.3 and OpenCode v1.19.6 adapters. Each adapter owns native installation, workspace and model configuration, authentication, ACP wiring, training, and capture into a portable
.eval.Both harnesses accept native ChatGPT and SuperGrok logins. Hermes also accepts Nous Portal and MiniMax OAuth. OpenCode accepts GitHub Copilot login and the OpenCode Go plan key. The runtime guide includes Poe, Alibaba plans and GitLab Duo where the provider supplies a compatible plan key. Runtime support and setup
Select a harness with
spawnfile auth login chatgpt --runtime <runtime> --profile <name>. Add--instance <id>to assign an account to a particular member. Services, ACP and training resolve the selected login. The Docker engine holds the writable native grant. OpenCode shares one native process across its chat and HTTP interfaces, and prevents competing deployments from refreshing the same grant.Both adapters lower authored MCP and scoped awake Mneme access. Hermes adds timezone-aware native cron and supported Telegram, Discord and Slack policies. OpenCode can delegate to declared, text-only helpers on the parent's exact API-key or local model. Unsupported declarations are reported or rejected. Both retain native sessions across container replacement. Hermes reconciles authored workspace assets and refreshes declared Moltnet membership on reused volumes.
Pin Daimon 0.2.26 and Docker Hub image
0.2.26-4bdb427. A bank can schedule dreams alongside ordinary work. Isolated training trials keep the bank and suppress scheduled maintenance. Daimon releaseVerification
Ran the real Linux arm64 harnesses with separate synthetic ChatGPT grants and an isolated provider fixture. The compiled mixed team requested zero model API keys. Each native agent completed a training turn, wrote a portable
.evalthrough the production training driver, and passed offline regrading with a freshly installed CLI. Separate file-tool trials graded native tool completions and captured file contents.Exercised both Moltnet members in a room added to an existing deployment and in a DM. Both used their native shell tool to send replies. Recreated the container, waited for both members to connect and repeated both exchanges. All four conversation-to-session mappings kept their original native session IDs. The room/DM pilot used the ACP-capable Moltnet main commit.
Concurrent real OpenCode ACP and attached training turns exchanged an expiring grant once and saved its replacement. Pinned Hermes Python tests confirmed single-use refresh behavior across processes. Tested native helper execution, five native messaging-policy fixtures, cron persistence, and plan-key catalog or endpoint selection with fixtures.
Installed the packed Spawnfile CLI into an empty consumer. All eight account or plan declarations compiled with the expected credential source. On the same 17 example and fixture projects it matched a pristine main build: 14 compiled with identical fingerprints and runtime lists, and three returned the same diagnostics. The external adapter fixture compiled its two independently registered harnesses after installing the package.
Verified the latest published Moltnet v0.1.22 source identity and both Linux archive checksums. Its binaries support the existing bridges. The merged ACP bridge requires a newer build. Moltnet release ACP merge
All eight GitHub checks passed at 2e1de33, including all 8,886 Vitest cases on Linux. The local final run passed 8,883 Vitest cases and 78 package-script tests. Three Linux-specific cases skipped on macOS. All 37 focused native login, legacy profile and ACP tests passed on Linux with Node 22, including those three cases. The Python bridge passed 374 tests. Typechecking, the production build and all six workspace import-boundary checks passed. JavaScript coverage was 96.32% of lines and 93.04% of branches.
An offline Linux arm64 pilot compiled a Spawnfile and ran the changed production Daimon CLI with real Mneme 0.1.3 and a simulated Codex process and gateway. A dream saved a memory, and the next ordinary turn recalled it on the original awake thread. The compiler selected the new source contract through a synthetic local image identity. The pilot made zero provider calls.
Verified Docker Hub index
sha256:65d66b9f9482e88ba233f88d05197d16d27348bc445ed02b048233be5cfe7a7a, both Linux image manifests, and the capability receipts inside their layers. A default Spawnfile compile produced independent five-minute work and daily UTC dreams. The released ARM64 runtime parsed the generated config with networking disabled. Docker Hub publicationNext steps