bc-code-intelligence-mcp 1.7.1 ā 1.7.2
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/cli.js +45 -44
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +330 -302
- package/dist/index.js.map +1 -1
- package/dist/layers/embedded-layer.d.ts +4 -4
- package/dist/layers/embedded-layer.d.ts.map +1 -1
- package/dist/layers/embedded-layer.js +118 -96
- package/dist/layers/embedded-layer.js.map +1 -1
- package/dist/layers/git-layer.d.ts +3 -3
- package/dist/layers/git-layer.d.ts.map +1 -1
- package/dist/layers/git-layer.js +115 -98
- package/dist/layers/git-layer.js.map +1 -1
- package/dist/layers/project-layer.d.ts +2 -2
- package/dist/layers/project-layer.d.ts.map +1 -1
- package/dist/layers/project-layer.js +44 -40
- package/dist/layers/project-layer.js.map +1 -1
- package/dist/sdk/bc-code-intel-client.d.ts +1 -1
- package/dist/sdk/bc-code-intel-client.js +40 -40
- package/dist/tools/ask_bc_expert/handler.d.ts.map +1 -1
- package/dist/tools/ask_bc_expert/handler.js +71 -50
- package/dist/tools/ask_bc_expert/handler.js.map +1 -1
- package/dist/types/bc-knowledge.d.ts +1 -1
- package/dist/types/bc-knowledge.d.ts.map +1 -1
- package/dist/types/bc-knowledge.js +105 -33
- package/dist/types/bc-knowledge.js.map +1 -1
- package/dist/types/config-types.d.ts +9 -9
- package/dist/types/config-types.d.ts.map +1 -1
- package/dist/types/config-types.js +38 -38
- package/dist/types/config-types.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -5,53 +5,53 @@
|
|
|
5
5
|
* Command-line interface for direct specialist access without MCP registration.
|
|
6
6
|
* Allows on-demand specialist queries, reducing context overhead.
|
|
7
7
|
*/
|
|
8
|
-
import { program } from
|
|
9
|
-
import { readFileSync } from
|
|
10
|
-
import { fileURLToPath } from
|
|
11
|
-
import { dirname, join } from
|
|
8
|
+
import { program } from "commander";
|
|
9
|
+
import { readFileSync } from "fs";
|
|
10
|
+
import { fileURLToPath } from "url";
|
|
11
|
+
import { dirname, join } from "path";
|
|
12
12
|
// Import the MCP server for programmatic access
|
|
13
|
-
import { BCCodeIntelClient } from
|
|
13
|
+
import { BCCodeIntelClient } from "./sdk/bc-code-intel-client.js";
|
|
14
14
|
const __filename = fileURLToPath(import.meta.url);
|
|
15
15
|
const __dirname = dirname(__filename);
|
|
16
16
|
// Load package.json for version
|
|
17
17
|
function getVersion() {
|
|
18
18
|
try {
|
|
19
|
-
const packagePath = join(__dirname,
|
|
20
|
-
const packageJson = JSON.parse(readFileSync(packagePath,
|
|
21
|
-
return packageJson.version ||
|
|
19
|
+
const packagePath = join(__dirname, "..", "package.json");
|
|
20
|
+
const packageJson = JSON.parse(readFileSync(packagePath, "utf8"));
|
|
21
|
+
return packageJson.version || "1.0.0";
|
|
22
22
|
}
|
|
23
23
|
catch {
|
|
24
|
-
return
|
|
24
|
+
return "1.0.0";
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Main CLI program
|
|
29
29
|
*/
|
|
30
30
|
program
|
|
31
|
-
.name(
|
|
32
|
-
.description(
|
|
31
|
+
.name("bc-code-intel")
|
|
32
|
+
.description("BC Code Intelligence - Direct specialist access from command line")
|
|
33
33
|
.version(getVersion());
|
|
34
34
|
/**
|
|
35
35
|
* ask - Ask any BC question (auto-routes to best specialist)
|
|
36
36
|
*/
|
|
37
37
|
program
|
|
38
|
-
.command(
|
|
39
|
-
.description(
|
|
40
|
-
.option(
|
|
41
|
-
.option(
|
|
42
|
-
.option(
|
|
38
|
+
.command("ask <question>")
|
|
39
|
+
.description("Ask any BC question - automatically routes to the best specialist")
|
|
40
|
+
.option("-c, --context <context>", "Additional context or code snippet")
|
|
41
|
+
.option("-f, --code-file <file>", "Path to code file for context")
|
|
42
|
+
.option("--json", "Output as JSON for scripting")
|
|
43
43
|
.action(async (question, options) => {
|
|
44
44
|
try {
|
|
45
45
|
const client = new BCCodeIntelClient();
|
|
46
46
|
await client.connect();
|
|
47
47
|
// Read code file if provided
|
|
48
|
-
let codeContext = options.context ||
|
|
48
|
+
let codeContext = options.context || "";
|
|
49
49
|
if (options.codeFile) {
|
|
50
|
-
const { readFileSync } = await import(
|
|
51
|
-
codeContext +=
|
|
50
|
+
const { readFileSync } = await import("fs");
|
|
51
|
+
codeContext += "\\n\\n" + readFileSync(options.codeFile, "utf-8");
|
|
52
52
|
}
|
|
53
53
|
const result = await client.askExpert(question, {
|
|
54
|
-
context: codeContext
|
|
54
|
+
context: codeContext,
|
|
55
55
|
});
|
|
56
56
|
if (options.json) {
|
|
57
57
|
console.log(JSON.stringify(result, null, 2));
|
|
@@ -66,7 +66,8 @@ program
|
|
|
66
66
|
console.log(` - ${topic.title}`);
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
|
-
if (result.follow_up_suggestions &&
|
|
69
|
+
if (result.follow_up_suggestions &&
|
|
70
|
+
result.follow_up_suggestions.length > 0) {
|
|
70
71
|
console.log(`\\nš¤ For more help, consider:`);
|
|
71
72
|
result.follow_up_suggestions.forEach((s) => {
|
|
72
73
|
console.log(` - ${s}`);
|
|
@@ -77,7 +78,7 @@ program
|
|
|
77
78
|
process.exit(0);
|
|
78
79
|
}
|
|
79
80
|
catch (error) {
|
|
80
|
-
console.error(
|
|
81
|
+
console.error("Error:", error instanceof Error ? error.message : String(error));
|
|
81
82
|
process.exit(1);
|
|
82
83
|
}
|
|
83
84
|
});
|
|
@@ -85,9 +86,9 @@ program
|
|
|
85
86
|
* who-should-help - Find the right specialist for a question
|
|
86
87
|
*/
|
|
87
88
|
program
|
|
88
|
-
.command(
|
|
89
|
-
.description(
|
|
90
|
-
.option(
|
|
89
|
+
.command("who-should-help <question>")
|
|
90
|
+
.description("Suggest the best specialist for your question")
|
|
91
|
+
.option("--json", "Output as JSON")
|
|
91
92
|
.action(async (question, options) => {
|
|
92
93
|
try {
|
|
93
94
|
const client = new BCCodeIntelClient();
|
|
@@ -100,19 +101,19 @@ program
|
|
|
100
101
|
console.log(`\\nšÆ Best specialist for "${question}":\\n`);
|
|
101
102
|
console.log(` ${result.specialist.emoji} ${result.specialist.name}`);
|
|
102
103
|
console.log(` Role: ${result.specialist.role}`);
|
|
103
|
-
console.log(` Expertise: ${result.specialist.expertise.join(
|
|
104
|
+
console.log(` Expertise: ${result.specialist.expertise.join(", ")}`);
|
|
104
105
|
if (result.confidence) {
|
|
105
106
|
console.log(` Confidence: ${(result.confidence * 100).toFixed(0)}%`);
|
|
106
107
|
}
|
|
107
108
|
if (result.alternatives && result.alternatives.length > 0) {
|
|
108
|
-
console.log(`\\n Other options: ${result.alternatives.join(
|
|
109
|
+
console.log(`\\n Other options: ${result.alternatives.join(", ")}`);
|
|
109
110
|
}
|
|
110
111
|
}
|
|
111
112
|
await client.disconnect();
|
|
112
113
|
process.exit(0);
|
|
113
114
|
}
|
|
114
115
|
catch (error) {
|
|
115
|
-
console.error(
|
|
116
|
+
console.error("Error:", error instanceof Error ? error.message : String(error));
|
|
116
117
|
process.exit(1);
|
|
117
118
|
}
|
|
118
119
|
});
|
|
@@ -120,23 +121,23 @@ program
|
|
|
120
121
|
* talk-to - Talk to a specific specialist
|
|
121
122
|
*/
|
|
122
123
|
program
|
|
123
|
-
.command(
|
|
124
|
-
.description(
|
|
125
|
-
.option(
|
|
126
|
-
.option(
|
|
127
|
-
.option(
|
|
124
|
+
.command("talk-to <specialist> <question>")
|
|
125
|
+
.description("Ask a question to a specific specialist")
|
|
126
|
+
.option("-c, --context <context>", "Additional context")
|
|
127
|
+
.option("-f, --code-file <file>", "Path to code file for context")
|
|
128
|
+
.option("--json", "Output as JSON")
|
|
128
129
|
.action(async (specialistId, question, options) => {
|
|
129
130
|
try {
|
|
130
131
|
const client = new BCCodeIntelClient();
|
|
131
132
|
await client.connect();
|
|
132
133
|
// Read code file if provided
|
|
133
|
-
let codeContext = options.context ||
|
|
134
|
+
let codeContext = options.context || "";
|
|
134
135
|
if (options.codeFile) {
|
|
135
|
-
const { readFileSync } = await import(
|
|
136
|
-
codeContext +=
|
|
136
|
+
const { readFileSync } = await import("fs");
|
|
137
|
+
codeContext += "\\n\\n" + readFileSync(options.codeFile, "utf-8");
|
|
137
138
|
}
|
|
138
139
|
const result = await client.getSpecialistAdvice(specialistId, question, {
|
|
139
|
-
context: codeContext
|
|
140
|
+
context: codeContext,
|
|
140
141
|
});
|
|
141
142
|
if (options.json) {
|
|
142
143
|
console.log(JSON.stringify(result, null, 2));
|
|
@@ -149,7 +150,7 @@ program
|
|
|
149
150
|
process.exit(0);
|
|
150
151
|
}
|
|
151
152
|
catch (error) {
|
|
152
|
-
console.error(
|
|
153
|
+
console.error("Error:", error instanceof Error ? error.message : String(error));
|
|
153
154
|
process.exit(1);
|
|
154
155
|
}
|
|
155
156
|
});
|
|
@@ -157,9 +158,9 @@ program
|
|
|
157
158
|
* specialists - List all available specialists
|
|
158
159
|
*/
|
|
159
160
|
program
|
|
160
|
-
.command(
|
|
161
|
-
.description(
|
|
162
|
-
.option(
|
|
161
|
+
.command("specialists")
|
|
162
|
+
.description("List all available BC specialists")
|
|
163
|
+
.option("--json", "Output as JSON")
|
|
163
164
|
.action(async (options) => {
|
|
164
165
|
try {
|
|
165
166
|
const client = new BCCodeIntelClient();
|
|
@@ -169,11 +170,11 @@ program
|
|
|
169
170
|
console.log(JSON.stringify(specialists, null, 2));
|
|
170
171
|
}
|
|
171
172
|
else {
|
|
172
|
-
console.log(
|
|
173
|
+
console.log("\\nš Available BC Specialists:\\n");
|
|
173
174
|
for (const specialist of specialists) {
|
|
174
175
|
console.log(` ${specialist.emoji} ${specialist.id.padEnd(20)} - ${specialist.name}`);
|
|
175
176
|
console.log(` ${specialist.role}`);
|
|
176
|
-
console.log(
|
|
177
|
+
console.log("");
|
|
177
178
|
}
|
|
178
179
|
console.log(`Total: ${specialists.length} specialists\\n`);
|
|
179
180
|
}
|
|
@@ -181,7 +182,7 @@ program
|
|
|
181
182
|
process.exit(0);
|
|
182
183
|
}
|
|
183
184
|
catch (error) {
|
|
184
|
-
console.error(
|
|
185
|
+
console.error("Error:", error instanceof Error ? error.message : String(error));
|
|
185
186
|
process.exit(1);
|
|
186
187
|
}
|
|
187
188
|
});
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAEA;;;;;GAKG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAErC,gDAAgD;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAEtC,gCAAgC;AAChC,SAAS,UAAU;IACjB,IAAI,CAAC;QACH,MAAM,WAAW,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,cAAc,CAAC,CAAC;QAC1D,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC;QAClE,OAAO,WAAW,CAAC,OAAO,IAAI,OAAO,CAAC;IACxC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,OAAO,CAAC;IACjB,CAAC;AACH,CAAC;AAED;;GAEG;AACH,OAAO;KACJ,IAAI,CAAC,eAAe,CAAC;KACrB,WAAW,
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAEA;;;;;GAKG;AAEH,OAAO,EAAE,OAAO,EAAE,MA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CAAC,CAAC,CAAC;IAClB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CACX,QAAQ,EACR,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CACvD,CAAC;QACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC,CAAC,CAAC;AAEL,kBAAkB;AAClB,OAAO,CAAC,KAAK,EAAE,CAAC"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAyDA;;;;;;GAMG;AACH,cAAM,wBAAwB;IAC5B,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,gBAAgB,CAAoB;IAC5C,OAAO,CAAC,mBAAmB,CAAuB;IAClD,OAAO,CAAC,kBAAkB,CAAsB;IAChD,OAAO,CAAC,eAAe,CAAmB;IAC1C,OAAO,CAAC,qBAAqB,CAAyB;IACtD,OAAO,CAAC,YAAY,CAA4B;IAChD,OAAO,CAAC,wBAAwB,CAA4B;IAC5D,OAAO,CAAC,0BAA0B,CAA8B;IAChE,OAAO,CAAC,wBAAwB,CAA4B;IAC5D,OAAO,CAAC,sBAAsB,CAA0B;IACxD,OAAO,CAAC,aAAa,CAA4B;IACjD,OAAO,CAAC,YAAY,CAAsB;IAC1C,OAAO,CAAC,aAAa,CAAuB;IAC5C,OAAO,CAAC,aAAa,CAAgB;IACrC,OAAO,CAAC,uBAAuB,CAAS;IACxC,OAAO,CAAC,YAAY,CAA4C;IAChE,OAAO,CAAC,iBAAiB,CAA4C;IACrE,OAAO,CAAC,mBAAmB,CAAS;IAEpC,OAAO,CAAC,iBAAiB;;IAiE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