agentaudit 3.10.7 → 3.10.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.mjs +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
package/cli.mjs
CHANGED
|
@@ -879,7 +879,7 @@ function detectPackageInfo(repoPath, files) {
|
|
|
879
879
|
|
|
880
880
|
// Detect package type
|
|
881
881
|
const allContent = files.map(f => f.content).join('\n');
|
|
882
|
-
if (allContent.includes('
|
|
882
|
+
if (allContent.includes('modelcontextprotocol') || allContent.includes('FastMCP') || allContent.includes('mcp.server') || allContent.includes('mcp_server') || allContent.includes('mcp-go')) {
|
|
883
883
|
info.type = 'mcp-server';
|
|
884
884
|
} else if (files.some(f => f.path.toLowerCase() === 'skill.md')) {
|
|
885
885
|
info.type = 'agent-skill';
|
package/index.mjs
CHANGED
|
@@ -134,7 +134,7 @@ function collectFiles(dir, basePath = '', collected = [], totalSize = { bytes: 0
|
|
|
134
134
|
function detectPackageInfo(repoPath, files) {
|
|
135
135
|
const info = { type: 'unknown' };
|
|
136
136
|
const allContent = files.map(f => f.content).join('\n');
|
|
137
|
-
if (allContent.includes('
|
|
137
|
+
if (allContent.includes('modelcontextprotocol') || allContent.includes('FastMCP') || allContent.includes('mcp.server') || allContent.includes('mcp_server') || allContent.includes('mcp-go')) {
|
|
138
138
|
info.type = 'mcp-server';
|
|
139
139
|
} else if (files.some(f => f.path.toLowerCase() === 'skill.md')) {
|
|
140
140
|
info.type = 'agent-skill';
|