2025-06-14 14:32:45 -04:00
|
|
|
{
|
2025-06-26 22:12:23 -04:00
|
|
|
"$schema": "https://opencode.ai/config.json",
|
2025-07-07 17:05:16 -04:00
|
|
|
"mcp": {
|
|
|
|
|
"weather": {
|
|
|
|
|
"type": "local",
|
|
|
|
|
"command": ["opencode", "x", "@h1deya/mcp-server-weather"]
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-06-26 22:12:23 -04:00
|
|
|
"experimental": {
|
|
|
|
|
"hook": {
|
|
|
|
|
"file_edited": {
|
2025-06-26 22:30:44 -04:00
|
|
|
".json": [
|
|
|
|
|
{
|
|
|
|
|
"command": ["bun", "run", "prettier", "$FILE"]
|
|
|
|
|
}
|
|
|
|
|
]
|
2025-06-26 22:12:23 -04:00
|
|
|
},
|
|
|
|
|
"session_completed": [
|
|
|
|
|
{
|
|
|
|
|
"command": ["touch", "./node_modules/foo"]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-06-14 14:32:45 -04:00
|
|
|
}
|