mirror of https://github.com/garrytan/gstack.git
Merge fc17e781c4 into bf6e823f2f
This commit is contained in:
commit
74d0d6dc02
Binary file not shown.
|
|
@ -0,0 +1,51 @@
|
|||
import type { HostConfig } from '../scripts/host-config';
|
||||
|
||||
const grokBuild: HostConfig = {
|
||||
name: 'grok-build',
|
||||
displayName: 'Grok Build',
|
||||
cliCommand: 'grok',
|
||||
cliAliases: ['grok-build'],
|
||||
|
||||
globalRoot: '.grok/skills/gstack',
|
||||
localSkillRoot: '.grok/skills/gstack',
|
||||
hostSubdir: '.grok',
|
||||
|
||||
usesEnvVars: true,
|
||||
|
||||
frontmatter: {
|
||||
mode: 'allowlist',
|
||||
keepFields: ['name', 'description', 'triggers'],
|
||||
descriptionLimit: null,
|
||||
},
|
||||
|
||||
generation: {
|
||||
generateMetadata: false,
|
||||
skipSkills: ['codex'],
|
||||
},
|
||||
|
||||
pathRewrites: [
|
||||
{ from: '~/.claude/skills/gstack', to: '~/.grok/skills/gstack' },
|
||||
{ from: '.claude/skills/gstack', to: '.grok/skills/gstack' },
|
||||
{ from: '.claude/skills', to: '.grok/skills' },
|
||||
{ from: '~/.claude/skills', to: '~/.grok/skills' },
|
||||
],
|
||||
|
||||
toolRewrites: [
|
||||
{ from: 'browser tool', to: 'subagent browser tool' },
|
||||
{ from: 'Playwright', to: 'Grok subagent browser' },
|
||||
],
|
||||
|
||||
runtimeRoot: {
|
||||
globalSymlinks: ['bin', 'browse/dist', 'gstack-upgrade'],
|
||||
globalFiles: {},
|
||||
},
|
||||
|
||||
install: {
|
||||
prefixable: false,
|
||||
linkingStrategy: 'symlink-generated',
|
||||
},
|
||||
|
||||
learningsMode: 'basic',
|
||||
};
|
||||
|
||||
export default grokBuild;
|
||||
|
|
@ -15,10 +15,11 @@ import slate from './slate';
|
|||
import cursor from './cursor';
|
||||
import openclaw from './openclaw';
|
||||
import hermes from './hermes';
|
||||
import grokBuild from './grok-build';
|
||||
import gbrain from './gbrain';
|
||||
|
||||
/** All registered host configs. Add new hosts here. */
|
||||
export const ALL_HOST_CONFIGS: HostConfig[] = [claude, codex, factory, kiro, opencode, slate, cursor, openclaw, hermes, gbrain];
|
||||
export const ALL_HOST_CONFIGS: HostConfig[] = [claude, codex, factory, kiro, opencode, slate, cursor, openclaw, hermes, gbrain, grokBuild];
|
||||
|
||||
/** Map from host name to config. */
|
||||
export const HOST_CONFIG_MAP: Record<string, HostConfig> = Object.fromEntries(
|
||||
|
|
@ -65,4 +66,4 @@ export function getExternalHosts(): HostConfig[] {
|
|||
}
|
||||
|
||||
// Re-export individual configs for direct import
|
||||
export { claude, codex, factory, kiro, opencode, slate, cursor, openclaw, hermes, gbrain };
|
||||
export { claude, codex, factory, kiro, opencode, slate, cursor, openclaw, hermes, gbrain, grokBuild };
|
||||
|
|
|
|||
|
|
@ -0,0 +1,20 @@
|
|||
\---
|
||||
|
||||
name: grok-build-ship
|
||||
|
||||
description: Ship changes for grok-build host
|
||||
|
||||
triggers: \[]
|
||||
|
||||
\---
|
||||
|
||||
|
||||
|
||||
\# Ship for Grok Build
|
||||
|
||||
|
||||
|
||||
Golden fixture for the grok-build host.
|
||||
|
||||
This file confirms the host is properly registered.
|
||||
|
||||
Loading…
Reference in New Issue