mirror of
https://git.openapi.site/https://github.com/desirecore/registry.git
synced 2026-12-05 10:39:02 +08:00
feat(registry): 收录范围限定的 Repomix 和 Excel MCP / List directory-scoped Repomix and Excel MCP (#39)
* feat(registry): 收录需选择数据目录的 Repomix 和 Excel MCP * test(registry): 更新新增两项 MCP 后的目录计数 * Support scoped Agent workdirs for Repomix and Excel MCP
This commit is contained in:
17 files changed
+468
-10
No files matched your search
@@ -4,7 +4,7 @@ import { fileURLToPath } from 'node:url'
|
||||
import Ajv from 'ajv'
|
||||
import { findStaticMetrics } from './catalog/static-metadata.mjs'
|
||||
import { validateApplicationContract } from './catalog/application-contract.mjs'
|
||||
import { AUTHORED_ENTRY_SCHEMA_FILENAME, isAuthoredRegistryEntry } from './catalog/entry-schema.mjs'
|
||||
import { AUTHORED_ENTRY_SCHEMA_FILENAME, isAuthoredRegistryEntry, withMcpDataDirectory } from './catalog/entry-schema.mjs'
|
||||
|
||||
const scriptDirectory = dirname(fileURLToPath(import.meta.url))
|
||||
const rootArgumentIndex = process.argv.indexOf('--root')
|
||||
@@ -306,8 +306,8 @@ const compileEntrySchema = (schema, filename) => {
|
||||
return null
|
||||
}
|
||||
}
|
||||
const validateEntry = compileEntrySchema(entrySchema, 'registry-entry.schema.json')
|
||||
const validateAuthoredEntry = compileEntrySchema(authoredEntrySchema, AUTHORED_ENTRY_SCHEMA_FILENAME)
|
||||
const validateEntry = compileEntrySchema(withMcpDataDirectory(entrySchema), 'registry-entry.schema.json')
|
||||
const validateAuthoredEntry = compileEntrySchema(withMcpDataDirectory(authoredEntrySchema), AUTHORED_ENTRY_SCHEMA_FILENAME)
|
||||
|
||||
const manifests = []
|
||||
const seenIds = new Set()
|
||||
|
||||
Reference in new issue
Block a user