feat: configure context paths (#86)

This commit is contained in:
Garrett Ladley
2025-04-27 14:11:09 -04:00
committed by GitHub
parent 4415220555
commit 8f3a94df92
4 changed files with 185 additions and 102 deletions

View File

@@ -77,6 +77,27 @@ func generateSchema() map[string]any {
"default": false,
}
schema["properties"].(map[string]any)["contextPaths"] = map[string]any{
"type": "array",
"description": "Context paths for the application",
"items": map[string]any{
"type": "string",
},
"default": []string{
".github/copilot-instructions.md",
".cursorrules",
".cursor/rules/",
"CLAUDE.md",
"CLAUDE.local.md",
"opencode.md",
"opencode.local.md",
"OpenCode.md",
"OpenCode.local.md",
"OPENCODE.md",
"OPENCODE.local.md",
},
}
// Add MCP servers
schema["properties"].(map[string]any)["mcpServers"] = map[string]any{
"type": "object",
@@ -259,4 +280,3 @@ func generateSchema() map[string]any {
return schema
}