feat: update GBrain and Hermes host configs for v0.10.0 integration

GBrain: add 'triggers' to keepFields so generated skills pass
checkResolvable() validation. Add version compat comment.

Hermes: un-suppress GBRAIN_CONTEXT_LOAD and GBRAIN_SAVE_RESULTS.
The resolvers handle GBrain-not-installed gracefully, so Hermes
agents with GBrain as a mod get brain features automatically.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Garry Tan
2026-04-15 00:35:35 -07:00
parent 59a76a3789
commit 70186e3d92
2 changed files with 9 additions and 3 deletions
+6 -1
View File
@@ -1,5 +1,10 @@
import type { HostConfig } from '../scripts/host-config';
/**
* GBrain host config.
* Compatible with GBrain >= v0.10.0 (doctor --fast --json, search CLI, entity enrichment).
* When updating, check INSTALL_FOR_AGENTS.md in the GBrain repo for breaking changes.
*/
const gbrain: HostConfig = {
name: 'gbrain',
displayName: 'GBrain',
@@ -13,7 +18,7 @@ const gbrain: HostConfig = {
frontmatter: {
mode: 'allowlist',
keepFields: ['name', 'description'],
keepFields: ['name', 'description', 'triggers'],
descriptionLimit: null,
},
+3 -2
View File
@@ -49,8 +49,9 @@ const hermes: HostConfig = {
'CODEX_SECOND_OPINION',
'CODEX_PLAN_REVIEW',
'REVIEW_ARMY',
'GBRAIN_CONTEXT_LOAD',
'GBRAIN_SAVE_RESULTS',
// GBRAIN_CONTEXT_LOAD and GBRAIN_SAVE_RESULTS are NOT suppressed.
// The resolvers handle GBrain-not-installed gracefully ("proceed without brain context").
// If Hermes has GBrain as a mod, brain features activate automatically.
],
runtimeRoot: {