16 lines
818 B
JavaScript
16 lines
818 B
JavaScript
// Curated registry exposed to EXTERNAL agents over MCP HTTP. Deliberately
|
|
// separate from companionRegistry (Dross) so new Dross tools never auto-leak
|
|
// to the internet. Read + suggest-only: search/read/context + propose_change
|
|
// (which always routes to the pending_changes inbox).
|
|
import { createRegistry } from '../ai/agent/registry.js';
|
|
import { searchTool } from '../ai/agent/tools/search.js';
|
|
import { readTool } from '../ai/agent/tools/read.js';
|
|
import { contextTool } from '../ai/agent/tools/context.js';
|
|
import { proposeChangeTool } from '../ai/agent/tools/propose_change.js';
|
|
|
|
export const externalRegistry = createRegistry();
|
|
externalRegistry.registerTool(searchTool);
|
|
externalRegistry.registerTool(readTool);
|
|
externalRegistry.registerTool(contextTool);
|
|
externalRegistry.registerTool(proposeChangeTool);
|