Skip to content

Commit a48fc57

Browse files
authored
fix: add $schema to gemini (#774)
Thank you for the update πŸŽ‰
1 parent 1c90346 commit a48fc57

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'sv': patch
3+
---
4+
5+
- fix(mcp): Add schema definition for Gemini MCP configuration.

β€Žpackages/addons/_tests/mcp/test.tsβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ test.concurrent.for(testCases)('mcp $kind.type $variant', (testCase, ctx) => {
112112
},
113113
"gemini": {
114114
"content": {
115+
"$schema": "https://raw.githubusercontent.com/google-gemini/gemini-cli/main/schemas/settings.schema.json",
115116
"mcpServers": {
116117
"svelte": {
117118
"args": [
@@ -183,6 +184,7 @@ test.concurrent.for(testCases)('mcp $kind.type $variant', (testCase, ctx) => {
183184
},
184185
"gemini": {
185186
"content": {
187+
"$schema": "https://raw.githubusercontent.com/google-gemini/gemini-cli/main/schemas/settings.schema.json",
186188
"mcpServers": {
187189
"svelte": {
188190
"url": "https://mcp.svelte.dev/mcp",

β€Žpackages/addons/mcp/index.tsβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ export default defineAddon({
7979
filePath: '.cursor/mcp.json'
8080
},
8181
gemini: {
82+
schema:
83+
'https://raw.githubusercontent.com/google-gemini/gemini-cli/main/schemas/settings.schema.json',
8284
filePath: '.gemini/settings.json'
8385
},
8486
opencode: {

0 commit comments

Comments
Β (0)