mirror of
https://github.com/EthanMarti/infio-copilot.git
synced 2026-05-06 06:56:29 +00:00
update mcp tools
This commit is contained in:
@@ -128,11 +128,11 @@ const McpHubView = () => {
|
||||
<div className="infio-mcp-tool-row">
|
||||
<div className="infio-mcp-tool-row-header">
|
||||
<div className="infio-mcp-tool-name-section">
|
||||
<span className="infio-mcp-tool-name">{tool.name}</span>
|
||||
<span className="infio-mcp-tool-name">{tool.name.replace('COMPOSIO_SEARCH_', '')}</span>
|
||||
</div>
|
||||
</div>
|
||||
{tool.description && (
|
||||
<p className="infio-mcp-item-description">{tool.description}</p>
|
||||
<p className="infio-mcp-item-description">{tool.description.replace('composio', '')}</p>
|
||||
)}
|
||||
{(tool.inputSchema && (() => {
|
||||
const schema = tool.inputSchema;
|
||||
@@ -285,7 +285,7 @@ const McpHubView = () => {
|
||||
{isExpanded ? <ChevronDown size={16} /> : <ChevronRight size={16} />}
|
||||
</div>
|
||||
<span className={`infio-mcp-hub-status-indicator ${server.status === 'connected' ? 'connected' : server.status === 'connecting' ? 'connecting' : 'disconnected'} ${server.disabled ? 'disabled' : ''}`}></span>
|
||||
<h3 className="infio-mcp-hub-name">{server.name}</h3>
|
||||
<h3 className="infio-mcp-hub-name">{server.name.replace('infio-builtin-server', 'builtin')}</h3>
|
||||
</div>
|
||||
|
||||
<div className="infio-mcp-hub-actions" onClick={(e) => e.stopPropagation()}>
|
||||
|
||||
@@ -87,7 +87,7 @@ export default function QueryProgress({
|
||||
{t('chat.queryProgress.readingFilesDone')}
|
||||
</p>
|
||||
<p className="infio-query-progress-detail">
|
||||
{t('chat.queryProgress.filesLoaded', { count: state.fileContents.length })}
|
||||
{t('chat.queryProgress.filesLoaded').replace('{count}', state.fileContents.length.toString())}
|
||||
</p>
|
||||
</div>
|
||||
)
|
||||
@@ -115,7 +115,7 @@ export default function QueryProgress({
|
||||
{t('chat.queryProgress.readingWebsitesDone')}
|
||||
</p>
|
||||
<p className="infio-query-progress-detail">
|
||||
{t('chat.queryProgress.websitesLoaded', { count: state.websiteContents.length })}
|
||||
{t('chat.queryProgress.websitesLoaded').replace('{count}', state.websiteContents.length.toString())}
|
||||
</p>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user