mirror of https://github.com/garrytan/gstack.git
47 lines
1.1 KiB
TypeScript
47 lines
1.1 KiB
TypeScript
import type { HostConfig } from '../scripts/host-config';
|
|
|
|
const copilot: HostConfig = {
|
|
name: 'copilot',
|
|
displayName: 'GitHub Copilot',
|
|
cliCommand: 'copilot',
|
|
cliAliases: ['gh-copilot', 'copilot-cli'],
|
|
|
|
globalRoot: '.copilot/skills/gstack',
|
|
localSkillRoot: '.copilot/skills/gstack',
|
|
hostSubdir: '.copilot',
|
|
usesEnvVars: true,
|
|
|
|
frontmatter: {
|
|
mode: 'allowlist',
|
|
keepFields: ['name', 'description', 'triggers', 'platforms'],
|
|
descriptionLimit: 1024,
|
|
descriptionLimitBehavior: 'truncate',
|
|
},
|
|
|
|
generation: {
|
|
generateMetadata: false,
|
|
metadataFormat: null,
|
|
skipSkills: ['codex'],
|
|
},
|
|
|
|
pathRewrites: [
|
|
{ from: '~/.claude/skills/gstack', to: '~/.copilot/skills/gstack' },
|
|
{ from: '.claude/skills/gstack', to: '.copilot/skills/gstack' },
|
|
{ from: '.claude/skills', to: '.copilot/skills' },
|
|
],
|
|
|
|
runtimeRoot: {
|
|
globalSymlinks: ['bin', 'browse/dist', 'browse/bin', 'gstack-upgrade', 'ETHOS.md'],
|
|
globalFiles: { 'review': ['checklist.md', 'TODOS-format.md'] },
|
|
},
|
|
|
|
install: {
|
|
prefixable: false,
|
|
linkingStrategy: 'symlink-generated',
|
|
},
|
|
|
|
learningsMode: 'basic',
|
|
};
|
|
|
|
export default copilot;
|