@contextstream/mcp-server 0.4.5 → 0.4.6

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 +11 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -12454,12 +12454,13 @@ Use this to remove a reminder that is no longer relevant.`,
12454
12454
  return { content: [{ type: "text", text: formatContent(result) }], structuredContent: toStructured(result) };
12455
12455
  }
12456
12456
  case "get_lessons": {
12457
- const result = await client.getLessons({
12457
+ if (!workspaceId) {
12458
+ return errorResult("get_lessons requires workspace_id. Call session_init first.");
12459
+ }
12460
+ const result = await client.getHighPriorityLessons({
12458
12461
  workspace_id: workspaceId,
12459
12462
  project_id: projectId,
12460
- query: input.query,
12461
- category: input.category,
12462
- severity: input.severity,
12463
+ context_hint: input.query,
12463
12464
  limit: input.limit
12464
12465
  });
12465
12466
  return { content: [{ type: "text", text: formatContent(result) }], structuredContent: toStructured(result) };
@@ -12468,10 +12469,12 @@ Use this to remove a reminder that is no longer relevant.`,
12468
12469
  if (!input.query) {
12469
12470
  return errorResult("recall requires: query");
12470
12471
  }
12471
- const result = await client.recallContext({
12472
+ const result = await client.smartSearch({
12472
12473
  workspace_id: workspaceId,
12473
12474
  project_id: projectId,
12474
- query: input.query
12475
+ query: input.query,
12476
+ include_related: input.include_related,
12477
+ include_decisions: input.include_decisions
12475
12478
  });
12476
12479
  return { content: [{ type: "text", text: formatContent(result) }], structuredContent: toStructured(result) };
12477
12480
  }
@@ -12479,7 +12482,7 @@ Use this to remove a reminder that is no longer relevant.`,
12479
12482
  if (!input.content) {
12480
12483
  return errorResult("remember requires: content");
12481
12484
  }
12482
- const result = await client.rememberContext({
12485
+ const result = await client.sessionRemember({
12483
12486
  workspace_id: workspaceId,
12484
12487
  project_id: projectId,
12485
12488
  content: input.content,
@@ -12492,7 +12495,7 @@ Use this to remove a reminder that is no longer relevant.`,
12492
12495
  return { content: [{ type: "text", text: formatContent(result) }], structuredContent: toStructured(result) };
12493
12496
  }
12494
12497
  case "summary": {
12495
- const result = await client.getSessionSummary({
12498
+ const result = await client.getContextSummary({
12496
12499
  workspace_id: workspaceId,
12497
12500
  project_id: projectId,
12498
12501
  max_tokens: input.max_tokens
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@contextstream/mcp-server",
3
3
  "mcpName": "io.github.contextstreamio/mcp-server",
4
- "version": "0.4.5",
4
+ "version": "0.4.6",
5
5
  "description": "ContextStream MCP server - v0.4.x with consolidated domain tools (~11 tools, ~75% token reduction). Code context, memory, search, and AI tools.",
6
6
  "type": "module",
7
7
  "license": "MIT",