mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-19 02:42:29 +08: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:
@@ -1,5 +1,10 @@
|
|||||||
import type { HostConfig } from '../scripts/host-config';
|
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 = {
|
const gbrain: HostConfig = {
|
||||||
name: 'gbrain',
|
name: 'gbrain',
|
||||||
displayName: 'GBrain',
|
displayName: 'GBrain',
|
||||||
@@ -13,7 +18,7 @@ const gbrain: HostConfig = {
|
|||||||
|
|
||||||
frontmatter: {
|
frontmatter: {
|
||||||
mode: 'allowlist',
|
mode: 'allowlist',
|
||||||
keepFields: ['name', 'description'],
|
keepFields: ['name', 'description', 'triggers'],
|
||||||
descriptionLimit: null,
|
descriptionLimit: null,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -49,8 +49,9 @@ const hermes: HostConfig = {
|
|||||||
'CODEX_SECOND_OPINION',
|
'CODEX_SECOND_OPINION',
|
||||||
'CODEX_PLAN_REVIEW',
|
'CODEX_PLAN_REVIEW',
|
||||||
'REVIEW_ARMY',
|
'REVIEW_ARMY',
|
||||||
'GBRAIN_CONTEXT_LOAD',
|
// GBRAIN_CONTEXT_LOAD and GBRAIN_SAVE_RESULTS are NOT suppressed.
|
||||||
'GBRAIN_SAVE_RESULTS',
|
// The resolvers handle GBrain-not-installed gracefully ("proceed without brain context").
|
||||||
|
// If Hermes has GBrain as a mod, brain features activate automatically.
|
||||||
],
|
],
|
||||||
|
|
||||||
runtimeRoot: {
|
runtimeRoot: {
|
||||||
|
|||||||
Reference in New Issue
Block a user