gstack/hosts/pi.ts

61 lines
1.7 KiB
TypeScript

import type { HostConfig } from '../scripts/host-config';
const pi: HostConfig = {
name: 'pi',
displayName: 'Pi',
cliCommand: 'pi',
cliAliases: [],
globalRoot: '.pi/agent/skills/gstack',
localSkillRoot: '.pi/skills/gstack',
hostSubdir: '.pi',
usesEnvVars: true,
frontmatter: {
mode: 'allowlist',
keepFields: ['name', 'description'],
descriptionLimit: 1024,
},
generation: {
generateMetadata: false,
skipSkills: ['codex'],
},
pathRewrites: [
{ from: '~/.claude/skills/gstack', to: '~/.pi/agent/skills/gstack' },
{ from: '.claude/skills/gstack', to: '.pi/skills/gstack' },
{ from: '.claude/skills', to: '.pi/skills' },
],
toolRewrites: {
'use the Bash tool': 'use the bash tool',
'use the Write tool': 'use the write tool',
'use the Read tool': 'use the read tool',
'use the Edit tool': 'use the edit tool',
'use the Grep tool': 'use the grep tool',
'use the Glob tool': 'use the find tool',
'use the Agent tool': 'use the agent tool',
'the Bash tool': 'the bash tool',
'the Read tool': 'the read tool',
'the Write tool': 'the write tool',
'the Edit tool': 'the edit tool',
},
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 pi;