forked from garrytan/gstack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.ts
More file actions
46 lines (37 loc) · 1.05 KB
/
opencode.ts
File metadata and controls
46 lines (37 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import type { HostConfig } from '../scripts/host-config';
const opencode: HostConfig = {
name: 'opencode',
displayName: 'OpenCode',
cliCommand: 'opencode',
cliAliases: [],
globalRoot: '.config/opencode/skills/gstack',
localSkillRoot: '.opencode/skills/gstack',
hostSubdir: '.opencode',
usesEnvVars: true,
frontmatter: {
mode: 'allowlist',
keepFields: ['name', 'description'],
descriptionLimit: null,
},
generation: {
generateMetadata: false,
skipSkills: ['codex'],
},
pathRewrites: [
{ from: '~/.claude/skills/gstack', to: '~/.config/opencode/skills/gstack' },
{ from: '.claude/skills/gstack', to: '.opencode/skills/gstack' },
{ from: '.claude/skills', to: '.opencode/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 opencode;