mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-02 03:35:09 +02:00
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:
+6
-1
@@ -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
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user