on main help sign in
feat: add support for context from gemini.md
4439672Tai Groot
cmd/schema/main.go+2
@@ -89,6 +89,8 @@ func generateSchema() map[string]any {
89 ".cursor/rules/",
89 ".cursor/rules/",
90 "CLAUDE.md",
90 "CLAUDE.md",
91 "CLAUDE.local.md",
91 "CLAUDE.local.md",
92+ "GEMINI.md",
93+ "gemini.md",
92 "crush.md",
94 "crush.md",
93 "crush.local.md",
95 "crush.local.md",
94 "Crush.md",
96 "Crush.md",
crush-schema.json+10−29
@@ -83,17 +83,11 @@
83 },
83 },
84 "reasoningEffort": {
84 "reasoningEffort": {
85 "description": "Reasoning effort for models that support it (OpenAI, Anthropic)",
85 "description": "Reasoning effort for models that support it (OpenAI, Anthropic)",
86− "enum": [
87− "low",
88− "medium",
86+ "enum": ["low", "medium", "high"],
89− "high"
90− ],
91 "type": "string"
87 "type": "string"
92 }
88 }
93 },
89 },
94− "required": [
90+ "required": ["model"],
95− "model"
96− ],
97 "type": "object"
91 "type": "object"
98 }
92 }
99 },
93 },
@@ -182,17 +176,11 @@
182 },
176 },
183 "reasoningEffort": {
177 "reasoningEffort": {
184 "description": "Reasoning effort for models that support it (OpenAI, Anthropic)",
178 "description": "Reasoning effort for models that support it (OpenAI, Anthropic)",
185− "enum": [
186− "low",
187− "medium",
179+ "enum": ["low", "medium", "high"],
188− "high"
189− ],
190 "type": "string"
180 "type": "string"
191 }
181 }
192 },
182 },
193− "required": [
183+ "required": ["model"],
194− "model"
195− ],
196 "type": "object"
184 "type": "object"
197 },
185 },
198 "description": "Agent configurations",
186 "description": "Agent configurations",
@@ -216,6 +204,8 @@
216 ".cursor/rules/",
204 ".cursor/rules/",
217 "CLAUDE.md",
205 "CLAUDE.md",
218 "CLAUDE.local.md",
206 "CLAUDE.local.md",
207+ "GEMINI.md",
208+ "gemini.md",
219 "crush.md",
209 "crush.md",
220 "crush.local.md",
210 "crush.local.md",
221 "Crush.md",
211 "Crush.md",
@@ -238,9 +228,7 @@
238 "type": "string"
228 "type": "string"
239 }
229 }
240 },
230 },
241− "required": [
242− "directory"
231+ "required": ["directory"],
243− ],
244 "type": "object"
232 "type": "object"
245 },
233 },
246 "debug": {
234 "debug": {
@@ -278,9 +266,7 @@
278 "type": "object"
266 "type": "object"
279 }
267 }
280 },
268 },
281− "required": [
269+ "required": ["command"],
282− "command"
283− ],
284 "type": "object"
270 "type": "object"
285 },
271 },
286 "description": "Language Server Protocol configurations",
272 "description": "Language Server Protocol configurations",
@@ -318,10 +304,7 @@
318 "type": {
304 "type": {
319 "default": "stdio",
305 "default": "stdio",
320 "description": "Type of MCP server",
306 "description": "Type of MCP server",
321− "enum": [
322− "stdio",
307+ "enum": ["stdio", "sse"],
323− "sse"
324− ],
325 "type": "string"
308 "type": "string"
326 },
309 },
327 "url": {
310 "url": {
@@ -329,9 +312,7 @@
329 "type": "string"
312 "type": "string"
330 }
313 }
331 },
314 },
332− "required": [
315+ "required": ["command"],
333− "command"
334− ],
335 "type": "object"
316 "type": "object"
336 },
317 },
337 "description": "Model Control Protocol server configurations",
318 "description": "Model Control Protocol server configurations",
internal/config/config.go+2
@@ -103,6 +103,8 @@ var defaultContextPaths = []string{
103 ".cursor/rules/",
103 ".cursor/rules/",
104 "CLAUDE.md",
104 "CLAUDE.md",
105 "CLAUDE.local.md",
105 "CLAUDE.local.md",
106+ "GEMINI.md",
107+ "gemini.md",
106 "crush.md",
108 "crush.md",
107 "crush.local.md",
109 "crush.local.md",
108 "Crush.md",
110 "Crush.md",