mirror of https://github.com/garrytan/gstack.git
feat(hosts): add agy config for Antigravity
This commit is contained in:
parent
11de390be1
commit
c0ec5bfa99
|
|
@ -0,0 +1,48 @@
|
||||||
|
import type { HostConfig } from '../scripts/host-config';
|
||||||
|
|
||||||
|
const agy: HostConfig = {
|
||||||
|
name: 'agy',
|
||||||
|
displayName: 'Antigravity',
|
||||||
|
cliCommand: 'agy',
|
||||||
|
cliAliases: ['antigravity'],
|
||||||
|
|
||||||
|
globalRoot: '.gemini/config/skills/gstack',
|
||||||
|
localSkillRoot: '.agents/skills/gstack',
|
||||||
|
hostSubdir: '.agy',
|
||||||
|
usesEnvVars: true,
|
||||||
|
|
||||||
|
frontmatter: {
|
||||||
|
mode: 'allowlist',
|
||||||
|
keepFields: ['name', 'description'],
|
||||||
|
descriptionLimit: null,
|
||||||
|
},
|
||||||
|
|
||||||
|
generation: {
|
||||||
|
generateMetadata: false,
|
||||||
|
skipSkills: ['codex'],
|
||||||
|
},
|
||||||
|
|
||||||
|
pathRewrites: [
|
||||||
|
{ from: '~/.claude/skills/gstack', to: '~/.gemini/config/skills/gstack' },
|
||||||
|
{ from: '.claude/skills/gstack', to: '.agents/skills/gstack' },
|
||||||
|
{ from: '.claude/skills', to: '.agents/skills' },
|
||||||
|
],
|
||||||
|
|
||||||
|
suppressedResolvers: ['GBRAIN_CONTEXT_LOAD', 'GBRAIN_SAVE_RESULTS'],
|
||||||
|
|
||||||
|
runtimeRoot: {
|
||||||
|
globalSymlinks: ['bin', 'browse/dist', 'browse/bin', 'design/dist', 'gstack-upgrade', 'ETHOS.md', 'review/specialists', 'qa/templates', 'qa/references', 'plan-devex-review/dx-hall-of-fame.md'],
|
||||||
|
globalFiles: {
|
||||||
|
'review': ['checklist.md', 'design-checklist.md', 'greptile-triage.md', 'TODOS-format.md'],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
install: {
|
||||||
|
prefixable: false,
|
||||||
|
linkingStrategy: 'symlink-generated',
|
||||||
|
},
|
||||||
|
|
||||||
|
learningsMode: 'basic',
|
||||||
|
};
|
||||||
|
|
||||||
|
export default agy;
|
||||||
|
|
@ -16,9 +16,10 @@ import cursor from './cursor';
|
||||||
import openclaw from './openclaw';
|
import openclaw from './openclaw';
|
||||||
import hermes from './hermes';
|
import hermes from './hermes';
|
||||||
import gbrain from './gbrain';
|
import gbrain from './gbrain';
|
||||||
|
import agy from './agy';
|
||||||
|
|
||||||
/** All registered host configs. Add new hosts here. */
|
/** 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, agy];
|
||||||
|
|
||||||
/** Map from host name to config. */
|
/** Map from host name to config. */
|
||||||
export const HOST_CONFIG_MAP: Record<string, HostConfig> = Object.fromEntries(
|
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
|
// 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, agy };
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue