on main help sign in
feat: add support for context from gemini.md
commit4439672c1f79fcd164abdd4ffaa9ce955988b4ac authorTai Groot <tai@taigrr.com> dateThu 26 Jun 2025, 08:24 (1 year ago) parentce7c91e
3 files changed+14−29
cmd/schema/main.go+2 crush-schema.json+10−29 internal/config/config.go+2
cmd/schema/main.go+2
@@ -89,6 +89,8 @@ func generateSchema() map[string]any {
8989 ".cursor/rules/",
9090 "CLAUDE.md",
9191 "CLAUDE.local.md",
92+ "GEMINI.md",
93+ "gemini.md",
9294 "crush.md",
9395 "crush.local.md",
9496 "Crush.md",
crush-schema.json+10−29
@@ -83,17 +83,11 @@
8383 },
8484 "reasoningEffort": {
8585 "description": "Reasoning effort for models that support it (OpenAI, Anthropic)",
86− "enum": [
87− "low",
88− "medium",
89− "high"
90− ],
86+ "enum": ["low", "medium", "high"],
9187 "type": "string"
9288 }
9389 },
94− "required": [
95− "model"
96− ],
90+ "required": ["model"],
9791 "type": "object"
9892 }
9993 },
@@ -182,17 +176,11 @@
182176 },
183177 "reasoningEffort": {
184178 "description": "Reasoning effort for models that support it (OpenAI, Anthropic)",
185− "enum": [
186− "low",
187− "medium",
188− "high"
189− ],
179+ "enum": ["low", "medium", "high"],
190180 "type": "string"
191181 }
192182 },
193− "required": [
194− "model"
195− ],
183+ "required": ["model"],
196184 "type": "object"
197185 },
198186 "description": "Agent configurations",
@@ -216,6 +204,8 @@
216204 ".cursor/rules/",
217205 "CLAUDE.md",
218206 "CLAUDE.local.md",
207+ "GEMINI.md",
208+ "gemini.md",
219209 "crush.md",
220210 "crush.local.md",
221211 "Crush.md",
@@ -238,9 +228,7 @@
238228 "type": "string"
239229 }
240230 },
241− "required": [
242− "directory"
243− ],
231+ "required": ["directory"],
244232 "type": "object"
245233 },
246234 "debug": {
@@ -278,9 +266,7 @@
278266 "type": "object"
279267 }
280268 },
281− "required": [
282− "command"
283− ],
269+ "required": ["command"],
284270 "type": "object"
285271 },
286272 "description": "Language Server Protocol configurations",
@@ -318,10 +304,7 @@
318304 "type": {
319305 "default": "stdio",
320306 "description": "Type of MCP server",
321− "enum": [
322− "stdio",
323− "sse"
324− ],
307+ "enum": ["stdio", "sse"],
325308 "type": "string"
326309 },
327310 "url": {
@@ -329,9 +312,7 @@
329312 "type": "string"
330313 }
331314 },
332− "required": [
333− "command"
334− ],
315+ "required": ["command"],
335316 "type": "object"
336317 },
337318 "description": "Model Control Protocol server configurations",
internal/config/config.go+2
@@ -103,6 +103,8 @@ var defaultContextPaths = []string{
103103 ".cursor/rules/",
104104 "CLAUDE.md",
105105 "CLAUDE.local.md",
106+ "GEMINI.md",
107+ "gemini.md",
106108 "crush.md",
107109 "crush.local.md",
108110 "Crush.md",