mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-20 16:07:11 +08:00
feat(ql3): add bounded copilot mcp surface
This commit is contained in:
@@ -245,6 +245,7 @@ const EXPECTED_PACKAGE_DEPENDENCIES = Object.freeze({
|
||||
}),
|
||||
'packages/ql3-cluster-admin': Object.freeze({
|
||||
dependencies: Object.freeze({
|
||||
'@modelcontextprotocol/server': '2.0.0',
|
||||
'@qinglong/ai': 'workspace:*',
|
||||
'@qinglong/cluster-postgres': 'workspace:*',
|
||||
'@qinglong/runtime-core': 'workspace:*',
|
||||
|
||||
@@ -15,6 +15,7 @@ const EXPECTED_EXTERNAL_DEPENDENCIES = Object.freeze({
|
||||
|
||||
const EXPECTED_ADMIN_EXTERNAL_DEPENDENCIES = Object.freeze({
|
||||
'@kubernetes/client-node': '1.4.0',
|
||||
'@modelcontextprotocol/server': '2.0.0',
|
||||
'drizzle-orm': '0.45.2',
|
||||
pg: '8.22.0',
|
||||
semver: '7.7.4',
|
||||
@@ -357,6 +358,10 @@ function assertExactExternalClosure(readFile, root, findings) {
|
||||
);
|
||||
if (
|
||||
adminManifest.bin?.['ql3-cluster-admin'] !== 'dist/product-cli/cli.js' ||
|
||||
adminManifest.bin?.['ql3-copilot-mcp'] !==
|
||||
'dist/copilot-mcp/cli.js' ||
|
||||
adminManifest.exports?.['./copilot-mcp']?.require !==
|
||||
'./dist/copilot-mcp/server.js' ||
|
||||
adminManifest.bin?.['ql3-plugin-package-recover'] !==
|
||||
'dist/plugin-package/recovery/pluginPackageRecoveryCli.js' ||
|
||||
adminManifest.bin?.['ql3-plugin-package-manage'] !==
|
||||
|
||||
Reference in New Issue
Block a user