@contextstream/mcp-server 0.3.38 → 0.3.39

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 +9 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6995,6 +6995,14 @@ If context still feels missing, increase \`max_tokens\` and/or call \`session_re
6995
6995
 
6996
6996
  ---
6997
6997
 
6998
+ ### Search (ContextStream-first)
6999
+
7000
+ - Before scanning the repo or grepping, use \`session_smart_search\` to locate relevant files, patterns, and prior context.
7001
+ - Follow up with \`session_recall\` if you need deeper history on a specific topic.
7002
+ - Only fall back to raw file scans (\`rg\`, \`ls\`, \`find\`) when ContextStream search doesn't surface what you need.
7003
+
7004
+ ---
7005
+
6998
7006
  ### Lesson Capture (MANDATORY)
6999
7007
 
7000
7008
  When:
@@ -7069,6 +7077,7 @@ var CONTEXTSTREAM_RULES_MINIMAL = `
7069
7077
  - Every user message: \`context_smart(user_message="<user_message>", format="minified", max_tokens=400)\` BEFORE answering.
7070
7078
  - Use \`max_tokens=200\` for trivial/local edits, \`max_tokens=800\` for deep debugging/architecture.
7071
7079
  - If prior context is missing or user asks past decisions: \`session_recall(query="<question>")\`, then answer.
7080
+ - For code/file discovery, use \`session_smart_search\` before raw repo scans (\`rg\`, \`ls\`, \`find\`); fall back only if needed.
7072
7081
  - After meaningful work/decisions/preferences: \`session_capture(event_type=decision|preference|task|insight, title="\u2026", content="\u2026")\`.
7073
7082
  - On frustration/corrections/tool mistakes: \`session_capture_lesson(...)\`.
7074
7083
  `.trim();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contextstream/mcp-server",
3
- "version": "0.3.38",
3
+ "version": "0.3.39",
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",