teqo-backup/opencode.json
Francisco Solla d816e3ff41 chore(OPS92): consolidar MCPs — global só jina+playwright; penpot/postgres subagentes; gh CLI; re-homed (Closes #857)
Global (~/.config/opencode/opencode.jsonc) fica só com jina+playwright (remove github/postgres/forgejo/stalwart/office-word/jobspy) — manual como OPS89.
Repo Teqo opencode.json: penpot+postgres com permission gated (penpot*/postgres*/query deny no build, allow só nos subagentes penpot/postgres).
Novos .opencode/agent/penpot.md + postgres.md (mode subagent, docs de limite teqo vs teqo_wt*).
Re-homed: jobspy→jobs, forgejo+office-word→lei-mercados-digitais, forgejo+stalwart→infra-solla (remove postgres pin, AGENTS.md sem office-word), forgejo→iara-pwa (limpa pins postgres/stalwart).
Prosa: AGENTS-infra.md, prompt-montagem-home.md, project-status/engineering-audit sem MCP/pnpm issue.
Validação: opencode debug config nos 5 repos (Teqo 4, jobs 3, lei 6, infra 7, iara 3 MCPs), gh auth ok, gate:fast verde.
2026-08-24 17:18:53 -03:00

44 lines
914 B
JSON

{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"penpot": {
"type": "remote",
"url": "https://design.penpot.app/mcp/stream?userToken={file:.opencode/secrets/penpot-token}",
"enabled": true
},
"postgres": {
"type": "local",
"command": [
"npx",
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://teqo:teqo@localhost:5432/teqo"
],
"enabled": true
}
},
"permission": {
"penpot*": "deny",
"postgres*": "deny",
"query": "deny",
"forgejo*": "deny",
"stalwart*": "deny",
"office-word*": "deny",
"office_word*": "deny",
"jobspy*": "deny",
"github*": "deny"
},
"agent": {
"penpot": {
"permission": {
"penpot*": "allow"
}
},
"postgres": {
"permission": {
"postgres*": "allow",
"query": "allow"
}
}
}
}