mcp-adr-analysis-server 2.7.26 → 2.7.28
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/dist/.tsbuildinfo +1 -1
- package/dist/src/index.d.ts +0 -8
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +0 -118
- package/dist/src/index.js.map +1 -1
- package/dist/src/resources/research-index-resource.d.ts +9 -10
- package/dist/src/resources/research-index-resource.d.ts.map +1 -1
- package/dist/src/resources/research-index-resource.js +41 -24
- package/dist/src/resources/research-index-resource.js.map +1 -1
- package/dist/src/tools/tool-catalog.d.ts.map +1 -1
- package/dist/src/tools/tool-catalog.js +0 -40
- package/dist/src/tools/tool-catalog.js.map +1 -1
- package/dist/src/utils/ai-executor.d.ts +0 -1
- package/dist/src/utils/ai-executor.d.ts.map +1 -1
- package/dist/src/utils/ai-executor.js +0 -1
- package/dist/src/utils/ai-executor.js.map +1 -1
- package/dist/src/utils/server-context-generator.d.ts.map +1 -1
- package/dist/src/utils/server-context-generator.js +0 -2
- package/dist/src/utils/server-context-generator.js.map +1 -1
- package/package.json +1 -1
- package/dist/src/tools/llm-cloud-management-tool.d.ts +0 -62
- package/dist/src/tools/llm-cloud-management-tool.d.ts.map +0 -1
- package/dist/src/tools/llm-cloud-management-tool.js +0 -202
- package/dist/src/tools/llm-cloud-management-tool.js.map +0 -1
- package/dist/src/tools/llm-database-management-tool.d.ts +0 -62
- package/dist/src/tools/llm-database-management-tool.d.ts.map +0 -1
- package/dist/src/tools/llm-database-management-tool.js +0 -203
- package/dist/src/tools/llm-database-management-tool.js.map +0 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -151,14 +151,6 @@ export declare class McpAdrAnalysisServer {
|
|
|
151
151
|
* Search codebase tool implementation
|
|
152
152
|
*/
|
|
153
153
|
private searchCodebase;
|
|
154
|
-
/**
|
|
155
|
-
* LLM cloud management tool implementation
|
|
156
|
-
*/
|
|
157
|
-
private llmCloudManagement;
|
|
158
|
-
/**
|
|
159
|
-
* LLM database management tool implementation
|
|
160
|
-
*/
|
|
161
|
-
private llmDatabaseManagement;
|
|
162
154
|
/**
|
|
163
155
|
* Deployment analysis tool implementation
|
|
164
156
|
*/
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAEA;;;;;;GAMG;AAgIH;;GAEG;AACH,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,aAAa,CAAgB;IACrC,OAAO,CAAC,MAAM,CAAe;IAC7B,OAAO,CAAC,MAAM,CAAkC;IAChD,OAAO,CAAC,SAAS,CAAwB;IACzC,OAAO,CAAC,yBAAyB,CAA4B;IAC7D,OAAO,CAAC,yBAAyB,CAA4B;IAC7D,OAAO,CAAC,mBAAmB,CAAsB;IACjD,OAAO,CAAC,WAAW,CAAc;IACjC,OAAO,CAAC,gBAAgB,CAAyB;;IAkCjD;;OAEG;YACW,qBAAqB;IAWnC;;OAEG;IACG,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;IAKlC;;;;;;;;;OASG;IACH,OAAO,CAAC,aAAa;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAEA;;;;;;GAMG;AAgIH;;GAEG;AACH,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,aAAa,CAAgB;IACrC,OAAO,CAAC,MAAM,CAAe;IAC7B,OAAO,CAAC,MAAM,CAAkC;IAChD,OAAO,CAAC,SAAS,CAAwB;IACzC,OAAO,CAAC,yBAAyB,CAA4B;IAC7D,OAAO,CAAC,yBAAyB,CAA4B;IAC7D,OAAO,CAAC,mBAAmB,CAAsB;IACjD,OAAO,CAAC,WAAW,CAAc;IACjC,OAAO,CAAC,gBAAgB,CAAyB;;IAkCjD;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AyB;IAKvC;;OAEG;IACH;;OAEG;YACW,qBAAqB;IAiCnC;;OAEG;IACH,OAAO,CAAC,uBAAuB;IA2G/B;;OAEG;YACW,kBAAkB;YA0FlB,kBAAkB;IAWhC;;;;;;;OAOG;YACW,oCAAoC;IAuFlD;;OAEG;YACW,YAAY;IA+a1B;;OAEG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAuC5B;;OAEG;IAEH;;OAEG;YACW,SAAS;IAiBvB;;OAEG;YACW,aAAa;YA+Cb,QAAQ;YAuCR,SAAS;YAqCT,aAAa;YAsCb,0BAA0B;YAY1B,YAAY;YAYZ,mBAAmB;YAYnB,eAAe;YAYf,eAAe;YAYf,0BAA0B;YAa1B,UAAU;YAwBV,WAAW;YAYX,aAAa;YAab,qBAAqB;YAYrB,sBAAsB;IAYpC;;OAEG;YACW,qBAAqB;IAYnC;;;OAGG;YACW,YAAY;IAY1B;;;OAGG;YACW,wBAAwB;IAYtC;;;OAGG;YACW,uBAAuB;IAYrC;;;OAGG;YACW,cAAc;IAY5B;;;OAGG;YACW,eAAe;IAY7B;;;OAGG;YACW,gBAAgB;IAiB9B;;;OAGG;YACW,kBAAkB;IAyHhC;;;;;;;;;;;OAWG;YACW,cAAc;IA2D5B;;;;;;;;;;;OAWG;YACW,UAAU;CAwHzB"}
|
package/dist/src/index.js
CHANGED
|
@@ -1451,90 +1451,6 @@ export class McpAdrAnalysisServer {
|
|
|
1451
1451
|
required: ['query'],
|
|
1452
1452
|
},
|
|
1453
1453
|
},
|
|
1454
|
-
{
|
|
1455
|
-
name: 'llm_cloud_management',
|
|
1456
|
-
description: 'LLM-managed cloud provider operations with research-driven approach',
|
|
1457
|
-
inputSchema: {
|
|
1458
|
-
type: 'object',
|
|
1459
|
-
properties: {
|
|
1460
|
-
provider: {
|
|
1461
|
-
type: 'string',
|
|
1462
|
-
enum: ['aws', 'azure', 'gcp', 'redhat', 'ubuntu', 'macos'],
|
|
1463
|
-
description: 'Cloud provider to use',
|
|
1464
|
-
},
|
|
1465
|
-
action: {
|
|
1466
|
-
type: 'string',
|
|
1467
|
-
description: 'Action to perform',
|
|
1468
|
-
},
|
|
1469
|
-
parameters: {
|
|
1470
|
-
type: 'object',
|
|
1471
|
-
description: 'Action parameters',
|
|
1472
|
-
},
|
|
1473
|
-
llmInstructions: {
|
|
1474
|
-
type: 'string',
|
|
1475
|
-
description: 'LLM instructions for command generation',
|
|
1476
|
-
},
|
|
1477
|
-
researchFirst: {
|
|
1478
|
-
type: 'boolean',
|
|
1479
|
-
description: 'Research best approach first',
|
|
1480
|
-
default: true,
|
|
1481
|
-
},
|
|
1482
|
-
projectPath: {
|
|
1483
|
-
type: 'string',
|
|
1484
|
-
description: 'Path to project directory',
|
|
1485
|
-
default: '.',
|
|
1486
|
-
},
|
|
1487
|
-
adrDirectory: {
|
|
1488
|
-
type: 'string',
|
|
1489
|
-
description: 'Directory containing ADR files',
|
|
1490
|
-
default: 'docs/adrs',
|
|
1491
|
-
},
|
|
1492
|
-
},
|
|
1493
|
-
required: ['provider', 'action', 'llmInstructions'],
|
|
1494
|
-
},
|
|
1495
|
-
},
|
|
1496
|
-
{
|
|
1497
|
-
name: 'llm_database_management',
|
|
1498
|
-
description: 'LLM-managed database operations with research-driven approach',
|
|
1499
|
-
inputSchema: {
|
|
1500
|
-
type: 'object',
|
|
1501
|
-
properties: {
|
|
1502
|
-
database: {
|
|
1503
|
-
type: 'string',
|
|
1504
|
-
enum: ['postgresql', 'mongodb', 'redis', 'mysql', 'mariadb'],
|
|
1505
|
-
description: 'Database type to use',
|
|
1506
|
-
},
|
|
1507
|
-
action: {
|
|
1508
|
-
type: 'string',
|
|
1509
|
-
description: 'Database action to perform',
|
|
1510
|
-
},
|
|
1511
|
-
parameters: {
|
|
1512
|
-
type: 'object',
|
|
1513
|
-
description: 'Action parameters',
|
|
1514
|
-
},
|
|
1515
|
-
llmInstructions: {
|
|
1516
|
-
type: 'string',
|
|
1517
|
-
description: 'LLM instructions for command generation',
|
|
1518
|
-
},
|
|
1519
|
-
researchFirst: {
|
|
1520
|
-
type: 'boolean',
|
|
1521
|
-
description: 'Research best approach first',
|
|
1522
|
-
default: true,
|
|
1523
|
-
},
|
|
1524
|
-
projectPath: {
|
|
1525
|
-
type: 'string',
|
|
1526
|
-
description: 'Path to project directory',
|
|
1527
|
-
default: '.',
|
|
1528
|
-
},
|
|
1529
|
-
adrDirectory: {
|
|
1530
|
-
type: 'string',
|
|
1531
|
-
description: 'Directory containing ADR files',
|
|
1532
|
-
default: 'docs/adrs',
|
|
1533
|
-
},
|
|
1534
|
-
},
|
|
1535
|
-
required: ['database', 'action', 'llmInstructions'],
|
|
1536
|
-
},
|
|
1537
|
-
},
|
|
1538
1454
|
{
|
|
1539
1455
|
name: 'analyze_deployment_progress',
|
|
1540
1456
|
description: 'Analyze deployment progress and verify completion with outcome rules',
|
|
@@ -3783,12 +3699,6 @@ export class McpAdrAnalysisServer {
|
|
|
3783
3699
|
case 'search_codebase':
|
|
3784
3700
|
response = await this.searchCodebase(safeArgs);
|
|
3785
3701
|
break;
|
|
3786
|
-
case 'llm_cloud_management':
|
|
3787
|
-
response = await this.llmCloudManagement(safeArgs);
|
|
3788
|
-
break;
|
|
3789
|
-
case 'llm_database_management':
|
|
3790
|
-
response = await this.llmDatabaseManagement(safeArgs);
|
|
3791
|
-
break;
|
|
3792
3702
|
case 'analyze_deployment_progress':
|
|
3793
3703
|
response = await this.analyzeDeploymentProgress(safeArgs);
|
|
3794
3704
|
break;
|
|
@@ -7113,34 +7023,6 @@ Please provide:
|
|
|
7113
7023
|
throw new McpAdrError(`Failed to search codebase: ${error instanceof Error ? error.message : String(error)}`, 'SEARCH_ERROR');
|
|
7114
7024
|
}
|
|
7115
7025
|
}
|
|
7116
|
-
/**
|
|
7117
|
-
* LLM cloud management tool implementation
|
|
7118
|
-
*/
|
|
7119
|
-
async llmCloudManagement(args, context) {
|
|
7120
|
-
const ctx = context || createNoOpContext();
|
|
7121
|
-
if (!('provider' in args) || !('action' in args) || !('llmInstructions' in args)) {
|
|
7122
|
-
throw new McpAdrError('Missing required parameters: provider, action, llmInstructions', 'INVALID_ARGUMENTS');
|
|
7123
|
-
}
|
|
7124
|
-
ctx.info('🔧 Starting LLM-managed cloud operation...');
|
|
7125
|
-
ctx.report_progress(0, 100);
|
|
7126
|
-
const { llmCloudManagement } = await import('./tools/llm-cloud-management-tool.js');
|
|
7127
|
-
return await llmCloudManagement(args, ctx // ✅ Pass context to tool function for progress updates
|
|
7128
|
-
);
|
|
7129
|
-
}
|
|
7130
|
-
/**
|
|
7131
|
-
* LLM database management tool implementation
|
|
7132
|
-
*/
|
|
7133
|
-
async llmDatabaseManagement(args, context) {
|
|
7134
|
-
const ctx = context || createNoOpContext();
|
|
7135
|
-
if (!('database' in args) || !('action' in args) || !('llmInstructions' in args)) {
|
|
7136
|
-
throw new McpAdrError('Missing required parameters: database, action, llmInstructions', 'INVALID_ARGUMENTS');
|
|
7137
|
-
}
|
|
7138
|
-
ctx.info('🗄️ Starting LLM-managed database operation...');
|
|
7139
|
-
ctx.report_progress(0, 100);
|
|
7140
|
-
const { llmDatabaseManagement } = await import('./tools/llm-database-management-tool.js');
|
|
7141
|
-
return await llmDatabaseManagement(args, ctx // ✅ Pass context to tool function for progress updates
|
|
7142
|
-
);
|
|
7143
|
-
}
|
|
7144
7026
|
/**
|
|
7145
7027
|
* Deployment analysis tool implementation
|
|
7146
7028
|
*/
|