bc-code-intelligence-mcp 1.4.3 → 1.4.5

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.
Files changed (40) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +90 -8
  4. package/dist/index.js.map +1 -1
  5. package/dist/layers/embedded-layer.d.ts.map +1 -1
  6. package/dist/layers/embedded-layer.js +42 -20
  7. package/dist/layers/embedded-layer.js.map +1 -1
  8. package/dist/services/agent-onboarding-service.d.ts +45 -0
  9. package/dist/services/agent-onboarding-service.d.ts.map +1 -0
  10. package/dist/services/agent-onboarding-service.js +372 -0
  11. package/dist/services/agent-onboarding-service.js.map +1 -0
  12. package/dist/services/multi-content-layer-service.d.ts +4 -1
  13. package/dist/services/multi-content-layer-service.d.ts.map +1 -1
  14. package/dist/services/multi-content-layer-service.js +11 -2
  15. package/dist/services/multi-content-layer-service.js.map +1 -1
  16. package/dist/services/roleplay-engine.d.ts.map +1 -1
  17. package/dist/services/roleplay-engine.js +56 -10
  18. package/dist/services/roleplay-engine.js.map +1 -1
  19. package/dist/services/specialist-discovery.d.ts.map +1 -1
  20. package/dist/services/specialist-discovery.js +74 -27
  21. package/dist/services/specialist-discovery.js.map +1 -1
  22. package/dist/services/specialist-handoff-service.d.ts +85 -0
  23. package/dist/services/specialist-handoff-service.d.ts.map +1 -0
  24. package/dist/services/specialist-handoff-service.js +492 -0
  25. package/dist/services/specialist-handoff-service.js.map +1 -0
  26. package/dist/streamlined-tools.d.ts +328 -0
  27. package/dist/streamlined-tools.d.ts.map +1 -0
  28. package/dist/streamlined-tools.js +201 -0
  29. package/dist/streamlined-tools.js.map +1 -0
  30. package/dist/tools/config-diagnostic-tools.d.ts +234 -0
  31. package/dist/tools/config-diagnostic-tools.d.ts.map +1 -0
  32. package/dist/tools/config-diagnostic-tools.js +887 -0
  33. package/dist/tools/config-diagnostic-tools.js.map +1 -0
  34. package/dist/types/config-types.d.ts +2 -0
  35. package/dist/types/config-types.d.ts.map +1 -1
  36. package/dist/types/config-types.js +3 -1
  37. package/dist/types/config-types.js.map +1 -1
  38. package/embedded-knowledge/domains/alex-architect/delegating-to-github-copilot-agents.md +371 -0
  39. package/embedded-knowledge/specialists/chris-config.md +276 -2
  40. package/package.json +1 -1
@@ -0,0 +1,234 @@
1
+ /**
2
+ * Configuration Diagnostic Tools
3
+ *
4
+ * Tools for Chris Config to diagnose configuration and layer issues,
5
+ * particularly git authentication and Azure DevOps connectivity.
6
+ */
7
+ import { CallToolRequest, CallToolResult } from '@modelcontextprotocol/sdk/types.js';
8
+ import { MultiContentLayerService } from '../services/multi-content-layer-service.js';
9
+ import { ConfigurationLoader } from '../config/config-loader.js';
10
+ export declare class ConfigDiagnosticTools {
11
+ private layerService;
12
+ private configLoader?;
13
+ constructor(layerService: MultiContentLayerService, configLoader?: ConfigurationLoader);
14
+ getToolDefinitions(): ({
15
+ name: string;
16
+ description: string;
17
+ inputSchema: {
18
+ type: string;
19
+ properties: {
20
+ git_url: {
21
+ type: string;
22
+ description: string;
23
+ };
24
+ auth_type: {
25
+ type: string;
26
+ enum: string[];
27
+ description: string;
28
+ };
29
+ token_env_var: {
30
+ type: string;
31
+ description: string;
32
+ };
33
+ branch: {
34
+ type: string;
35
+ description: string;
36
+ default: string;
37
+ };
38
+ test_type: {
39
+ type: string;
40
+ enum: string[];
41
+ description: string;
42
+ default: string;
43
+ };
44
+ config_path?: undefined;
45
+ check_type?: undefined;
46
+ organization?: undefined;
47
+ project?: undefined;
48
+ repository?: undefined;
49
+ pat_env_var?: undefined;
50
+ layer_name?: undefined;
51
+ include_metrics?: undefined;
52
+ layer_path?: undefined;
53
+ reload_config?: undefined;
54
+ };
55
+ required: string[];
56
+ };
57
+ } | {
58
+ name: string;
59
+ description: string;
60
+ inputSchema: {
61
+ type: string;
62
+ properties: {
63
+ config_path: {
64
+ type: string;
65
+ description: string;
66
+ };
67
+ check_type: {
68
+ type: string;
69
+ enum: string[];
70
+ description: string;
71
+ default: string;
72
+ };
73
+ git_url?: undefined;
74
+ auth_type?: undefined;
75
+ token_env_var?: undefined;
76
+ branch?: undefined;
77
+ test_type?: undefined;
78
+ organization?: undefined;
79
+ project?: undefined;
80
+ repository?: undefined;
81
+ pat_env_var?: undefined;
82
+ layer_name?: undefined;
83
+ include_metrics?: undefined;
84
+ layer_path?: undefined;
85
+ reload_config?: undefined;
86
+ };
87
+ required: string[];
88
+ };
89
+ } | {
90
+ name: string;
91
+ description: string;
92
+ inputSchema: {
93
+ type: string;
94
+ properties: {
95
+ organization: {
96
+ type: string;
97
+ description: string;
98
+ };
99
+ project: {
100
+ type: string;
101
+ description: string;
102
+ };
103
+ repository: {
104
+ type: string;
105
+ description: string;
106
+ };
107
+ pat_env_var: {
108
+ type: string;
109
+ description: string;
110
+ };
111
+ git_url?: undefined;
112
+ auth_type?: undefined;
113
+ token_env_var?: undefined;
114
+ branch?: undefined;
115
+ test_type?: undefined;
116
+ config_path?: undefined;
117
+ check_type?: undefined;
118
+ layer_name?: undefined;
119
+ include_metrics?: undefined;
120
+ layer_path?: undefined;
121
+ reload_config?: undefined;
122
+ };
123
+ required: string[];
124
+ };
125
+ } | {
126
+ name: string;
127
+ description: string;
128
+ inputSchema: {
129
+ type: string;
130
+ properties: {
131
+ layer_name: {
132
+ type: string;
133
+ description: string;
134
+ };
135
+ include_metrics: {
136
+ type: string;
137
+ description: string;
138
+ default: boolean;
139
+ };
140
+ git_url?: undefined;
141
+ auth_type?: undefined;
142
+ token_env_var?: undefined;
143
+ branch?: undefined;
144
+ test_type?: undefined;
145
+ config_path?: undefined;
146
+ check_type?: undefined;
147
+ organization?: undefined;
148
+ project?: undefined;
149
+ repository?: undefined;
150
+ pat_env_var?: undefined;
151
+ layer_path?: undefined;
152
+ reload_config?: undefined;
153
+ };
154
+ required: any[];
155
+ };
156
+ } | {
157
+ name: string;
158
+ description: string;
159
+ inputSchema: {
160
+ type: string;
161
+ properties: {
162
+ layer_path: {
163
+ type: string;
164
+ description: string;
165
+ default: string;
166
+ };
167
+ git_url?: undefined;
168
+ auth_type?: undefined;
169
+ token_env_var?: undefined;
170
+ branch?: undefined;
171
+ test_type?: undefined;
172
+ config_path?: undefined;
173
+ check_type?: undefined;
174
+ organization?: undefined;
175
+ project?: undefined;
176
+ repository?: undefined;
177
+ pat_env_var?: undefined;
178
+ layer_name?: undefined;
179
+ include_metrics?: undefined;
180
+ reload_config?: undefined;
181
+ };
182
+ required: any[];
183
+ };
184
+ } | {
185
+ name: string;
186
+ description: string;
187
+ inputSchema: {
188
+ type: string;
189
+ properties: {
190
+ layer_name: {
191
+ type: string;
192
+ description: string;
193
+ };
194
+ reload_config: {
195
+ type: string;
196
+ description: string;
197
+ default: boolean;
198
+ };
199
+ git_url?: undefined;
200
+ auth_type?: undefined;
201
+ token_env_var?: undefined;
202
+ branch?: undefined;
203
+ test_type?: undefined;
204
+ config_path?: undefined;
205
+ check_type?: undefined;
206
+ organization?: undefined;
207
+ project?: undefined;
208
+ repository?: undefined;
209
+ pat_env_var?: undefined;
210
+ include_metrics?: undefined;
211
+ layer_path?: undefined;
212
+ };
213
+ required: any[];
214
+ };
215
+ })[];
216
+ handleToolCall(request: CallToolRequest): Promise<CallToolResult>;
217
+ private diagnoseGitLayer;
218
+ private validateGitUrl;
219
+ private testAuthConfiguration;
220
+ private testGitConnectivity;
221
+ private testGitClone;
222
+ private generateDiagnosticSummary;
223
+ private generateRecommendations;
224
+ private testAzureDevOpsPAT;
225
+ private validateLayerConfig;
226
+ private getLayerDiagnostics;
227
+ private diagnoseLocalLayer;
228
+ private countMarkdownFiles;
229
+ private findSampleMarkdownFiles;
230
+ private validateMarkdownFile;
231
+ private generateLocalLayerRecommendations;
232
+ private reloadLayers;
233
+ }
234
+ //# sourceMappingURL=config-diagnostic-tools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-diagnostic-tools.d.ts","sourceRoot":"","sources":["../../src/tools/config-diagnostic-tools.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACrF,OAAO,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AAMtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE,qBAAa,qBAAqB;IAE9B,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,YAAY,CAAC;gBADb,YAAY,EAAE,wBAAwB,EACtC,YAAY,CAAC,EAAE,mBAAmB;IAG5C,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0IZ,cAAc,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC;YAkCzD,gBAAgB;IAiD9B,OAAO,CAAC,cAAc;YAiDR,qBAAqB;YA2DrB,mBAAmB;YAkDnB,YAAY;IA2D1B,OAAO,CAAC,yBAAyB;IAajC,OAAO,CAAC,uBAAuB;YAsCjB,kBAAkB;YAclB,mBAAmB;YAgBnB,mBAAmB;YAoDnB,kBAAkB;YA0LlB,kBAAkB;YAuBlB,uBAAuB;YAgCvB,oBAAoB;IAmBlC,OAAO,CAAC,iCAAiC;YAsC3B,YAAY;CAyF3B"}