claude-flow
Version:
Ruflo - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration
30 lines (25 loc) • 478 B
text/typescript
/**
* Mock for @ruvector/gnn-wasm
*
* This mock provides stub implementations for testing
* without requiring the actual WASM module.
*/
export const init = async () => {
return true;
};
export const createGraph = () => ({
addNode: () => 0,
addEdge: () => {},
forward: () => new Float32Array(32),
});
export const GnnModel = class {
constructor() {}
forward() {
return new Float32Array(32);
}
};
export default {
init,
createGraph,
GnnModel,
};