File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
webview-ui/src/components/chat Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " roo-cline " : patch
3+ ---
4+
5+ Fix bug where always allow wasn't showing up for MCP tools
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ export const ChatRowContent = ({
7878 isLast,
7979 isStreaming,
8080} : ChatRowContentProps ) => {
81- const { mcpServers } = useExtensionState ( )
81+ const { mcpServers, alwaysAllowMcp } = useExtensionState ( )
8282 const [ cost , apiReqCancelReason , apiReqStreamingFailedMessage ] = useMemo ( ( ) => {
8383 if ( message . text != null && message . say === "api_req_started" ) {
8484 const info : ClineApiReqInfo = JSON . parse ( message . text )
@@ -871,6 +871,7 @@ export const ChatRowContent = ({
871871 ) ?. alwaysAllow || false ,
872872 } }
873873 serverName = { useMcpServer . serverName }
874+ alwaysAllowMcp = { alwaysAllowMcp }
874875 />
875876 </ div >
876877 { useMcpServer . arguments && useMcpServer . arguments !== "{}" && (
You can’t perform that action at this time.
0 commit comments