15 lines
682 B
JavaScript
15 lines
682 B
JavaScript
import { createRegistry } from '../registry.js';
|
|
import { searchTool } from './search.js';
|
|
import { readTool } from './read.js';
|
|
import { contextTool } from './context.js';
|
|
import { proposeChangeTool } from './propose_change.js';
|
|
|
|
// The shared registry. Adding a tool later is a one-line registerTool() call
|
|
// here (see spec §7 — extensible tool registry). A future MCP server can
|
|
// import this same registry and re-expose toAnthropicTools().
|
|
export const companionRegistry = createRegistry();
|
|
companionRegistry.registerTool(searchTool);
|
|
companionRegistry.registerTool(readTool);
|
|
companionRegistry.registerTool(contextTool);
|
|
companionRegistry.registerTool(proposeChangeTool);
|