mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-05 05:05:08 +02:00
70186e3d92
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>
74 lines
2.1 KiB
TypeScript
74 lines
2.1 KiB
TypeScript
import type { HostConfig } from '../scripts/host-config';
|
|
|
|
const hermes: HostConfig = {
|
|
name: 'hermes',
|
|
displayName: 'Hermes',
|
|
cliCommand: 'hermes',
|
|
cliAliases: [],
|
|
|
|
globalRoot: '.hermes/skills/gstack',
|
|
localSkillRoot: '.hermes/skills/gstack',
|
|
hostSubdir: '.hermes',
|
|
usesEnvVars: true,
|
|
|
|
frontmatter: {
|
|
mode: 'allowlist',
|
|
keepFields: ['name', 'description'],
|
|
descriptionLimit: null,
|
|
},
|
|
|
|
generation: {
|
|
generateMetadata: false,
|
|
skipSkills: ['codex'],
|
|
includeSkills: [],
|
|
},
|
|
|
|
pathRewrites: [
|
|
{ from: '~/.claude/skills/gstack', to: '~/.hermes/skills/gstack' },
|
|
{ from: '.claude/skills/gstack', to: '.hermes/skills/gstack' },
|
|
{ from: '.claude/skills', to: '.hermes/skills' },
|
|
{ from: 'CLAUDE.md', to: 'AGENTS.md' },
|
|
],
|
|
toolRewrites: {
|
|
'use the Bash tool': 'use the terminal tool',
|
|
'use the Write tool': 'use the patch tool',
|
|
'use the Read tool': 'use the read_file tool',
|
|
'use the Edit tool': 'use the patch tool',
|
|
'use the Agent tool': 'use delegate_task',
|
|
'use the Grep tool': 'search for',
|
|
'use the Glob tool': 'find files matching',
|
|
'the Bash tool': 'the terminal tool',
|
|
'the Read tool': 'the read_file tool',
|
|
'the Write tool': 'the patch tool',
|
|
'the Edit tool': 'the patch tool',
|
|
},
|
|
|
|
suppressedResolvers: [
|
|
'DESIGN_OUTSIDE_VOICES',
|
|
'ADVERSARIAL_STEP',
|
|
'CODEX_SECOND_OPINION',
|
|
'CODEX_PLAN_REVIEW',
|
|
'REVIEW_ARMY',
|
|
// 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: {
|
|
globalSymlinks: ['bin', 'browse/dist', 'browse/bin', 'gstack-upgrade', 'ETHOS.md'],
|
|
globalFiles: {
|
|
'review': ['checklist.md', 'TODOS-format.md'],
|
|
},
|
|
},
|
|
|
|
install: {
|
|
prefixable: false,
|
|
linkingStrategy: 'symlink-generated',
|
|
},
|
|
|
|
coAuthorTrailer: 'Co-Authored-By: Hermes Agent <agent@nousresearch.com>',
|
|
learningsMode: 'basic',
|
|
};
|
|
|
|
export default hermes;
|