@contextstream/mcp-server 0.3.1 → 0.3.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/index.js +8 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6455,6 +6455,9 @@ var SessionManager = class {
|
|
|
6455
6455
|
}
|
|
6456
6456
|
if (context.workspace_name) {
|
|
6457
6457
|
parts.push(`\u{1F4C1} Workspace: ${context.workspace_name}`);
|
|
6458
|
+
if (context.workspace_source) {
|
|
6459
|
+
parts.push(` (resolved via: ${context.workspace_source})`);
|
|
6460
|
+
}
|
|
6458
6461
|
if (context.workspace_created) {
|
|
6459
6462
|
parts.push(" (auto-created for this folder)");
|
|
6460
6463
|
}
|
|
@@ -6491,7 +6494,10 @@ var SessionManager = class {
|
|
|
6491
6494
|
if (context.ide_roots && context.ide_roots.length > 0) {
|
|
6492
6495
|
const roots = context.ide_roots;
|
|
6493
6496
|
parts.push("");
|
|
6494
|
-
parts.push(`\u{1F5A5}\uFE0F IDE Roots: ${roots.
|
|
6497
|
+
parts.push(`\u{1F5A5}\uFE0F IDE Roots: ${roots.join(", ")}`);
|
|
6498
|
+
} else {
|
|
6499
|
+
parts.push("");
|
|
6500
|
+
parts.push(`\u{1F5A5}\uFE0F IDE Roots: (none detected - used fallback)`);
|
|
6495
6501
|
}
|
|
6496
6502
|
parts.push("");
|
|
6497
6503
|
parts.push("\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550");
|
|
@@ -6508,7 +6514,7 @@ async function main() {
|
|
|
6508
6514
|
const client = new ContextStreamClient(config);
|
|
6509
6515
|
const server = new McpServer({
|
|
6510
6516
|
name: "contextstream-mcp",
|
|
6511
|
-
version: "0.3.
|
|
6517
|
+
version: "0.3.2"
|
|
6512
6518
|
});
|
|
6513
6519
|
const sessionManager = new SessionManager(server, client);
|
|
6514
6520
|
registerTools(server, client, sessionManager);
|
package/package.json
CHANGED