Repository navigation
Expand file tree
/
Copy pathopencode.jsonc
More file actions
153 lines (153 loc) · 4.82 KB
/
Copy pathopencode.jsonc
File metadata and controls
153 lines (153 loc) · 4.82 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"$schema": "/schema/config.json",
"default_agent": "god",
"lsp": true,
"formatter": true,
"instructions": [
"AGENTS.md"
],
"tools": {
"github-triage": true,
"github-pr-search": true
},
// === COMMANDS ===
"command": {
"dev": {
"description": "Start the TUI development server",
"prompt": "Start the TeamCode TUI in development mode. Run `bun run dev` from the repo root. This starts the interactive terminal UI from packages/teamcode."
},
"dev:desktop": {
"description": "Start the desktop Electron app in development mode",
"prompt": "Start the desktop app in development mode. Run `bun run dev:desktop` from the repo root. This starts the Electron app with hot reload."
},
"dev:web": {
"description": "Start the web app in development mode",
"prompt": "Start the web app in development mode. Run `bun run dev:web` from the repo root. This starts the Vite dev server for the SolidJS web app."
},
"test": {
"description": "Run tests for a specific package",
"prompt": "Run tests for a specific package. Usage: `test <package-name>` (e.g., `test teamcode`). Runs `bun run test` in that package's directory."
},
"typecheck": {
"description": "Run typecheck on all or specific packages",
"prompt": "Run TypeScript type checking. Usage: `typecheck` (all packages) or `typecheck <package-name>` for a specific package."
},
"db": {
"description": "Generate a database migration",
"prompt": "Generate a new Drizzle ORM database migration. Usage: `db <migration-name>`. Runs `bun run db generate --name <name>` in packages/teamcode."
},
"build-sdk": {
"description": "Regenerate the JavaScript SDK",
"prompt": "Regenerate the JavaScript SDK from source. Runs `bun run packages/sdk/js/script/build.ts`."
}
},
// === AGENT CONFIGURATION ===
"agent": {
"god": {
"description": "Omnipotent agent with unrestricted access to all tools and permissions",
"permission": {
"edit": "allow",
"read": "allow",
"glob": "allow",
"grep": "allow",
"list": "allow",
"bash": "allow",
"task": "allow",
"external_directory": "allow",
"question": "deny",
"webfetch": "allow"
}
},
"delivery-loop": {
"description": "Autonomous pipeline that continuously resolves open GitHub issues through the Plan-Implement-Validate-Review cycle"
},
"db-agent": {
"description": "Database specialist for Drizzle ORM schema design, SQLite migrations, and data management"
},
"desktop-agent": {
"description": "Desktop app specialist for Electron-based desktop application development"
},
"web-agent": {
"description": "Web app specialist for SolidJS web application with Vite, Tailwind, and Hono"
},
"test-agent": {
"description": "Testing specialist managing test infrastructure across the monorepo"
},
"docs-agent": {
"description": "Documentation specialist writing and maintaining project documentation"
},
"deps": {
"description": "Dependency auditor detecting outdated, conflicting, and vulnerable dependencies"
},
"security-agent": {
"description": "Security assessment specialist for pentest reconnaissance — nmap, nikto, whois, whatweb, dig, curl"
},
"pentest-agent": {
"description": "METATRON pentest agent — agentic-loop vulnerability analysis with structured output for database storage"
}
},
// === PROVIDER CONFIGURATION ===
"provider": {
"opencode": {
"options": {}
}
},
// === MCP SERVERS ===
"mcp": {
"security-tools": {
"type": "local",
"command": [
"bun",
"run",
"packages/mcp-security-tools/src/index.ts"
],
"enabled": true,
"timeout": 300000
}
},
// === PERMISSIONS ===
"permission": {
"edit": "allow",
"bash": {
"*": "ask",
"git *": "allow",
"bun *": "allow",
"npm *": "allow",
"gh *": "allow",
"ls *": "allow",
"mkdir *": "allow",
"cp *": "allow",
"mv *": "allow",
"cat *": "allow",
"sleep *": "allow",
"which *": "allow",
"nmap *": "allow",
"nikto *": "allow",
"whatweb *": "allow",
"dig *": "allow",
"whois *": "allow",
"curl *": "allow",
"python *": "allow",
"openssl *": "allow"
},
"security-tools_*": "allow",
"doom_loop": "allow",
"external_directory": {
"*": "ask",
"~/scans/*": "allow",
"~/AppData/Local/Temp/teamcode/*": "allow"
}
},
// === EXPERIMENTAL FEATURES ===
"experimental": {},
// === TOOL OUTPUT ===
"tool_output": {
"max_lines": 200,
"max_bytes": 16384
},
// === COMPACTION ===
"compaction": {
"auto": true,
"tail_turns": 15
}
}