Support kiro (#221)
* Add a base Unity project to run unit tests in * Add Windsurf IDE support so I can test more easily * Add a dummy script * feat: add unit tests for CommandRegistry and document prefab asset workflows * Run tests when code is pushed to main * Bump version of actions * Install the MCP plugin via relative path * Remove test branch from GH workflow * Remove blank package.json files at the top level directory * Add Kiro support, closes #196main
parent
ce53639090
commit
14a6cbaeb4
|
|
@ -3,6 +3,7 @@
|
||||||
.cursorignore
|
.cursorignore
|
||||||
.windsurf
|
.windsurf
|
||||||
.codeiumignore
|
.codeiumignore
|
||||||
|
.kiro
|
||||||
CLAUDE.md
|
CLAUDE.md
|
||||||
|
|
||||||
# Code-copy related files
|
# Code-copy related files
|
||||||
|
|
|
||||||
|
|
@ -98,6 +98,25 @@ namespace UnityMcpBridge.Editor.Data
|
||||||
mcpType = McpTypes.VSCode,
|
mcpType = McpTypes.VSCode,
|
||||||
configStatus = "Not Configured",
|
configStatus = "Not Configured",
|
||||||
},
|
},
|
||||||
|
// 3) Kiro
|
||||||
|
new()
|
||||||
|
{
|
||||||
|
name = "Kiro",
|
||||||
|
windowsConfigPath = Path.Combine(
|
||||||
|
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
|
||||||
|
".kiro",
|
||||||
|
"settings",
|
||||||
|
"mcp.json"
|
||||||
|
),
|
||||||
|
linuxConfigPath = Path.Combine(
|
||||||
|
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
|
||||||
|
".kiro",
|
||||||
|
"settings",
|
||||||
|
"mcp.json"
|
||||||
|
),
|
||||||
|
mcpType = McpTypes.Kiro,
|
||||||
|
configStatus = "Not Configured",
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
// Initialize status enums after construction
|
// Initialize status enums after construction
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ namespace UnityMcpBridge.Editor.Models
|
||||||
Cursor,
|
Cursor,
|
||||||
VSCode,
|
VSCode,
|
||||||
Windsurf,
|
Windsurf,
|
||||||
|
Kiro,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -94,6 +94,13 @@ namespace UnityMcpBridge.Editor.Windows
|
||||||
instructionStyle
|
instructionStyle
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
else if (mcpClient?.mcpType == McpTypes.Kiro)
|
||||||
|
{
|
||||||
|
EditorGUILayout.LabelField(
|
||||||
|
" a) Going to File > Settings > Settings > Search for \"MCP\" > Open Workspace MCP Config",
|
||||||
|
instructionStyle
|
||||||
|
);
|
||||||
|
}
|
||||||
EditorGUILayout.LabelField(" OR", instructionStyle);
|
EditorGUILayout.LabelField(" OR", instructionStyle);
|
||||||
EditorGUILayout.LabelField(
|
EditorGUILayout.LabelField(
|
||||||
" b) Opening the configuration file at:",
|
" b) Opening the configuration file at:",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
"name": "unity-mcp",
|
|
||||||
"lockfileVersion": 3,
|
|
||||||
"requires": true,
|
|
||||||
"packages": {}
|
|
||||||
}
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
{}
|
|
||||||
Loading…
Reference in New Issue