Files
ruflo/v3/@claude-flow/plugins/package.json
T
rUvandClaude Opus 4.5 2bc516b196 feat(plugins): add 6 RuVector WASM example plugins with 142 passing tests
Add high-value example plugins using @ruvector/wasm and @ruvector/learning-wasm:

- ReasoningBank: Store/retrieve reasoning trajectories with HNSW (<1ms search)
- SemanticCodeSearch: Natural language code search with symbol-aware chunking
- SONALearning: Self-optimizing neural adaptation with LoRA (<100μs)
- IntentRouter: Smart query → agent/tool routing with semantic matching
- MCPToolOptimizer: Learn tool usage patterns, suggest optimal sequences
- HookPatternLibrary: Learn optimal hooks for file types/operations

Features:
- Real @ruvector WASM imports with graceful fallback implementations
- MCP tools for each plugin (15 total tools)
- Auto-learning hooks for continuous improvement
- Security validation on all inputs
- 35 new tests (142 total passing)

Performance:
- HNSW indexing: <1ms search on 10K+ vectors
- LoRA adaptation: <100μs learning latency
- EWC++ for catastrophic forgetting prevention

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-06 15:03:15 +00:00

86 lines
2.1 KiB
JSON

{
"name": "@claude-flow/plugins",
"version": "3.0.0-alpha.1",
"description": "Unified Plugin SDK for Claude Flow V3 - Worker, Hook, and Provider Integration",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./sdk": {
"types": "./dist/sdk/index.d.ts",
"import": "./dist/sdk/index.js"
},
"./workers": {
"types": "./dist/workers/index.d.ts",
"import": "./dist/workers/index.js"
},
"./hooks": {
"types": "./dist/hooks/index.d.ts",
"import": "./dist/hooks/index.js"
},
"./providers": {
"types": "./dist/providers/index.d.ts",
"import": "./dist/providers/index.js"
},
"./examples/ruvector": {
"types": "./dist/examples/ruvector-plugins/index.d.ts",
"import": "./dist/examples/ruvector-plugins/index.js"
},
"./examples/plugin-creator": {
"types": "./dist/examples/plugin-creator/index.d.ts",
"import": "./dist/examples/plugin-creator/index.js"
}
},
"scripts": {
"build": "tsc -p tsconfig.json",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint src --ext .ts",
"clean": "rm -rf dist"
},
"dependencies": {
"events": "^3.3.0"
},
"peerDependencies": {
"@claude-flow/hooks": "^3.0.0-alpha.1",
"@claude-flow/memory": "^3.0.0-alpha.1",
"@ruvector/wasm": "^0.1.0",
"@ruvector/learning-wasm": "^0.1.0"
},
"peerDependenciesMeta": {
"@claude-flow/hooks": { "optional": true },
"@claude-flow/memory": { "optional": true },
"@ruvector/wasm": { "optional": true },
"@ruvector/learning-wasm": { "optional": true }
},
"devDependencies": {
"@types/node": "^20.10.0",
"typescript": "^5.3.0",
"vitest": "^2.1.0"
},
"keywords": [
"claude-flow",
"plugins",
"sdk",
"workers",
"hooks",
"agentic-flow",
"agentdb",
"ai-agents",
"ruvector",
"hnsw",
"vector-search",
"lora",
"neural-adaptation"
],
"author": "Claude Flow Team",
"license": "MIT",
"engines": {
"node": ">=20.0.0"
}
}