OpenClaw Connector Integration (@eldrex/integrations)
DevDiff includes native integration support for OpenClaw (@eldrex/integrations/openclaw), an open-source autonomous agent framework. This integration enables OpenClaw autonomous agents to query DevDiff codebase memory and AST indexes during automated tasks.
Architecture & Data Flow
Usage Example
typescript
import { OpenClawDevDiffConnector } from "@eldrex/integrations/openclaw";
const connector = new OpenClawDevDiffConnector({
workspacePath: process.cwd(),
});
// Query codebase entity memory from OpenClaw agent tool handler
const entityInfo = await connector.queryEntity("AuthService");
console.log("Entity memory context:", entityInfo);