claude-brain 0.27.2 → 0.27.3

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.27.2
1
+ 0.27.3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-brain",
3
- "version": "0.27.2",
3
+ "version": "0.27.3",
4
4
  "description": "Local development assistant bridging Obsidian vaults with Claude Code via MCP",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -2,8 +2,8 @@
2
2
  * List Tools Handler
3
3
  * Handles the MCP tools/list request
4
4
  *
5
- * In unified tool mode (Phase 16), only the brain() tool is exposed.
6
- * In legacy mode, all 25 tools + brain are exposed.
5
+ * In unified tool mode (default), exposes brain + search_code.
6
+ * In legacy mode, all tools are exposed.
7
7
  */
8
8
 
9
9
  import { ToolRegistry } from '@/tools/registry'
@@ -19,10 +19,10 @@ export async function handleListTools() {
19
19
  try {
20
20
  const { config } = getServices()
21
21
  if (config.unifiedToolMode) {
22
- const brainTool = ToolRegistry.getToolByName('brain')
23
- return {
24
- tools: brainTool ? [brainTool] : []
25
- }
22
+ const tools = ['brain', 'search_code']
23
+ .map(name => ToolRegistry.getToolByName(name))
24
+ .filter(Boolean)
25
+ return { tools }
26
26
  }
27
27
  } catch {
28
28
  // Services not ready, fall through to default