@contextstream/mcp-server 0.3.24 → 0.3.25

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 (2) hide show
  1. package/dist/index.js +18 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7557,9 +7557,12 @@ This does semantic search on the first message. You only need context_smart on s
7557
7557
  const folderPath = typeof result.folder_path === "string" ? result.folder_path : typeof input.folder_path === "string" ? input.folder_path : "";
7558
7558
  text = [
7559
7559
  "Action required: no workspaces found for this account.",
7560
- "Ask the user for a name for the new workspace, then run `workspace_bootstrap`.",
7560
+ "Ask the user for a name for the new workspace (recommended), then run `workspace_bootstrap`.",
7561
7561
  folderPath ? `Recommended: workspace_bootstrap(workspace_name: "<name>", folder_path: "${folderPath}")` : 'Recommended: workspace_bootstrap(workspace_name: "<name>", folder_path: "<your repo folder>")',
7562
7562
  "",
7563
+ "If you want to continue without a workspace for now, re-run:",
7564
+ folderPath ? ` session_init(folder_path: "${folderPath}", allow_no_workspace: true)` : ' session_init(folder_path: "<your repo folder>", allow_no_workspace: true)',
7565
+ "",
7563
7566
  "--- Raw Response ---",
7564
7567
  "",
7565
7568
  formatContent(result)
@@ -7582,6 +7585,13 @@ This does semantic search on the first message. You only need context_smart on s
7582
7585
  lines.push("");
7583
7586
  lines.push("Then run `workspace_associate` with the selected workspace_id and your folder_path.");
7584
7587
  lines.push("");
7588
+ lines.push("If you want to continue without a workspace for now, re-run:");
7589
+ if (typeof input.folder_path === "string" && input.folder_path) {
7590
+ lines.push(` session_init(folder_path: "${input.folder_path}", allow_no_workspace: true)`);
7591
+ } else {
7592
+ lines.push(' session_init(folder_path: "<your repo folder>", allow_no_workspace: true)');
7593
+ }
7594
+ lines.push("");
7585
7595
  lines.push("--- Raw Response ---");
7586
7596
  lines.push("");
7587
7597
  lines.push(formatContent(result));
@@ -9413,7 +9423,7 @@ var SessionManager = class {
9413
9423
  parts.push("\u26A0\uFE0F NO WORKSPACE FOUND");
9414
9424
  parts.push(`Folder: ${context.folder_name || "unknown"}`);
9415
9425
  parts.push("");
9416
- parts.push("Please ask the user for a name for the new workspace.");
9426
+ parts.push("Please ask the user for a name for the new workspace (recommended).");
9417
9427
  parts.push("Then create a project for this folder.");
9418
9428
  parts.push("");
9419
9429
  parts.push("Recommended: call `workspace_bootstrap` with:");
@@ -9424,6 +9434,9 @@ var SessionManager = class {
9424
9434
  }
9425
9435
  parts.push(' - workspace_name: "<user-provided name>"');
9426
9436
  parts.push("");
9437
+ parts.push("To continue without a workspace for now:");
9438
+ parts.push(" - call `session_init` again with `allow_no_workspace: true`");
9439
+ parts.push("");
9427
9440
  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");
9428
9441
  return parts.join("\n");
9429
9442
  }
@@ -9442,6 +9455,9 @@ var SessionManager = class {
9442
9455
  parts.push(" \u2022 Or create a new workspace");
9443
9456
  parts.push("");
9444
9457
  parts.push("Use workspace_associate tool after user selects.");
9458
+ parts.push("");
9459
+ parts.push("To continue without a workspace for now:");
9460
+ parts.push(" - call `session_init` again with `allow_no_workspace: true`");
9445
9461
  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");
9446
9462
  return parts.join("\n");
9447
9463
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contextstream/mcp-server",
3
- "version": "0.3.24",
3
+ "version": "0.3.25",
4
4
  "description": "MCP server exposing ContextStream public API - code context, memory, search, and AI tools for developers",
5
5
  "type": "module",
6
6
  "license": "MIT",