kynjal-cli 3.1.3 โ 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/core/coder.md +1 -1
- package/.claude/agents/core/planner.md +2 -2
- package/.claude/agents/core/researcher.md +1 -1
- package/.claude/agents/core/reviewer.md +1 -1
- package/.claude/agents/core/tester.md +1 -1
- package/.claude/agents/data/data-ml-model.md +4 -4
- package/.claude/agents/development/dev-backend-api.md +4 -4
- package/.claude/agents/documentation/docs-api-openapi.md +4 -4
- package/.claude/agents/github/code-review-swarm.md +2 -2
- package/.claude/agents/github/issue-tracker.md +2 -2
- package/.claude/agents/github/pr-manager.md +2 -2
- package/.claude/agents/github/release-manager.md +2 -2
- package/.claude/agents/github/workflow-automation.md +2 -2
- package/.claude/agents/sparc/architecture.md +3 -3
- package/.claude/agents/sparc/pseudocode.md +2 -2
- package/.claude/agents/sparc/refinement.md +3 -3
- package/.claude/agents/sparc/specification.md +2 -2
- package/.claude/agents/swarm/adaptive-coordinator.md +1 -1
- package/.claude/agents/swarm/hierarchical-coordinator.md +1 -1
- package/.claude/agents/swarm/mesh-coordinator.md +1 -1
- package/.claude/agents/templates/base-template-generator.md +25 -4
- package/.claude/agents/templates/sparc-coordinator.md +3 -3
- package/.claude/helpers/auto-commit.sh +1 -1
- package/.claude/helpers/auto-memory-hook.mjs +27 -9
- package/.claude/helpers/hook-handler.cjs +58 -18
- package/.claude/helpers/statusline.cjs +14 -33
- package/.claude/helpers/statusline.js +3 -3
- package/.claude/settings.json +9 -9
- package/.claude/skills/reasoningbank-intelligence/SKILL.md +2 -2
- package/.claude/skills/swarm-orchestration/SKILL.md +1 -1
- package/README.md +383 -170
- package/bin/cli.js +6 -6
- package/bin/mcp-server.js +1 -1
- package/bin/preinstall.cjs +2 -0
- package/dist/src/appliance/gguf-engine.js +664 -0
- package/dist/src/appliance/gguf-engine.js.map +1 -0
- package/dist/src/appliance/ruvllm-bridge.js +492 -0
- package/dist/src/appliance/ruvllm-bridge.js.map +1 -0
- package/dist/src/appliance/rvfa-builder.js +383 -0
- package/dist/src/appliance/rvfa-builder.js.map +1 -0
- package/dist/src/appliance/rvfa-distribution.js +533 -0
- package/dist/src/appliance/rvfa-distribution.js.map +1 -0
- package/dist/src/appliance/rvfa-format.js +465 -0
- package/dist/src/appliance/rvfa-format.js.map +1 -0
- package/dist/src/appliance/rvfa-runner.js +373 -0
- package/dist/src/appliance/rvfa-runner.js.map +1 -0
- package/dist/src/appliance/rvfa-signing.js +469 -0
- package/dist/src/appliance/rvfa-signing.js.map +1 -0
- package/dist/src/benchmarks/pretrain/index.js +542 -331
- package/dist/src/benchmarks/pretrain/index.js.map +1 -1
- package/dist/src/commands/agent.d.ts.map +1 -1
- package/dist/src/commands/agent.js +725 -502
- package/dist/src/commands/agent.js.map +1 -1
- package/dist/src/commands/analyze.js +1548 -1218
- package/dist/src/commands/analyze.js.map +1 -1
- package/dist/src/commands/appliance-advanced.d.ts +9 -0
- package/dist/src/commands/appliance-advanced.d.ts.map +1 -0
- package/dist/src/commands/appliance-advanced.js +324 -0
- package/dist/src/commands/appliance-advanced.js.map +1 -0
- package/dist/src/commands/appliance.d.ts +8 -0
- package/dist/src/commands/appliance.d.ts.map +1 -0
- package/dist/src/commands/appliance.js +581 -0
- package/dist/src/commands/appliance.js.map +1 -0
- package/dist/src/commands/benchmark.js +523 -372
- package/dist/src/commands/benchmark.js.map +1 -1
- package/dist/src/commands/claims.js +364 -274
- package/dist/src/commands/claims.js.map +1 -1
- package/dist/src/commands/cleanup.d.ts +13 -0
- package/dist/src/commands/cleanup.d.ts.map +1 -0
- package/dist/src/commands/cleanup.js +262 -0
- package/dist/src/commands/cleanup.js.map +1 -0
- package/dist/src/commands/completions.js +118 -477
- package/dist/src/commands/completions.js.map +1 -1
- package/dist/src/commands/config.js +303 -237
- package/dist/src/commands/config.js.map +1 -1
- package/dist/src/commands/daemon.d.ts.map +1 -1
- package/dist/src/commands/daemon.js +597 -425
- package/dist/src/commands/daemon.js.map +1 -1
- package/dist/src/commands/deployment.js +275 -194
- package/dist/src/commands/deployment.js.map +1 -1
- package/dist/src/commands/doctor.d.ts.map +1 -1
- package/dist/src/commands/doctor.js +690 -460
- package/dist/src/commands/doctor.js.map +1 -1
- package/dist/src/commands/embeddings.js +1543 -1293
- package/dist/src/commands/embeddings.js.map +1 -1
- package/dist/src/commands/guidance.js +596 -449
- package/dist/src/commands/guidance.js.map +1 -1
- package/dist/src/commands/hive-mind.js +938 -854
- package/dist/src/commands/hive-mind.js.map +1 -1
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +3677 -2570
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/index.js +322 -122
- package/dist/src/commands/index.js.map +1 -1
- package/dist/src/commands/init.d.ts +1 -1
- package/dist/src/commands/init.d.ts.map +1 -1
- package/dist/src/commands/init.js +943 -787
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/issues.js +558 -383
- package/dist/src/commands/issues.js.map +1 -1
- package/dist/src/commands/mcp.d.ts.map +1 -1
- package/dist/src/commands/mcp.js +605 -475
- package/dist/src/commands/mcp.js.map +1 -1
- package/dist/src/commands/memory.d.ts.map +1 -1
- package/dist/src/commands/memory.js +1031 -814
- package/dist/src/commands/memory.js.map +1 -1
- package/dist/src/commands/migrate.js +347 -282
- package/dist/src/commands/migrate.js.map +1 -1
- package/dist/src/commands/neural.d.ts.map +1 -1
- package/dist/src/commands/neural.js +1563 -1283
- package/dist/src/commands/neural.js.map +1 -1
- package/dist/src/commands/performance.js +643 -497
- package/dist/src/commands/performance.js.map +1 -1
- package/dist/src/commands/plugins.js +841 -668
- package/dist/src/commands/plugins.js.map +1 -1
- package/dist/src/commands/process.js +447 -392
- package/dist/src/commands/process.js.map +1 -1
- package/dist/src/commands/progress.js +256 -162
- package/dist/src/commands/progress.js.map +1 -1
- package/dist/src/commands/providers.js +220 -150
- package/dist/src/commands/providers.js.map +1 -1
- package/dist/src/commands/route.js +665 -520
- package/dist/src/commands/route.js.map +1 -1
- package/dist/src/commands/ruvector/backup.js +651 -505
- package/dist/src/commands/ruvector/backup.js.map +1 -1
- package/dist/src/commands/ruvector/benchmark.js +401 -349
- package/dist/src/commands/ruvector/benchmark.js.map +1 -1
- package/dist/src/commands/ruvector/import.js +267 -225
- package/dist/src/commands/ruvector/import.js.map +1 -1
- package/dist/src/commands/ruvector/index.js +75 -37
- package/dist/src/commands/ruvector/index.js.map +1 -1
- package/dist/src/commands/ruvector/init.js +359 -336
- package/dist/src/commands/ruvector/init.js.map +1 -1
- package/dist/src/commands/ruvector/migrate.js +322 -335
- package/dist/src/commands/ruvector/migrate.js.map +1 -1
- package/dist/src/commands/ruvector/optimize.js +431 -375
- package/dist/src/commands/ruvector/optimize.js.map +1 -1
- package/dist/src/commands/ruvector/setup.js +117 -703
- package/dist/src/commands/ruvector/setup.js.map +1 -1
- package/dist/src/commands/ruvector/status.js +419 -364
- package/dist/src/commands/ruvector/status.js.map +1 -1
- package/dist/src/commands/security.d.ts.map +1 -1
- package/dist/src/commands/security.js +610 -456
- package/dist/src/commands/security.js.map +1 -1
- package/dist/src/commands/session.d.ts +1 -1
- package/dist/src/commands/session.js +627 -505
- package/dist/src/commands/session.js.map +1 -1
- package/dist/src/commands/start.d.ts +1 -1
- package/dist/src/commands/start.js +368 -271
- package/dist/src/commands/start.js.map +1 -1
- package/dist/src/commands/status.d.ts +1 -1
- package/dist/src/commands/status.d.ts.map +1 -1
- package/dist/src/commands/status.js +492 -379
- package/dist/src/commands/status.js.map +1 -1
- package/dist/src/commands/swarm.js +488 -408
- package/dist/src/commands/swarm.js.map +1 -1
- package/dist/src/commands/task.d.ts +1 -1
- package/dist/src/commands/task.js +539 -424
- package/dist/src/commands/task.js.map +1 -1
- package/dist/src/commands/transfer-store.js +412 -322
- package/dist/src/commands/transfer-store.js.map +1 -1
- package/dist/src/commands/update.js +291 -196
- package/dist/src/commands/update.js.map +1 -1
- package/dist/src/commands/workflow.js +486 -386
- package/dist/src/commands/workflow.js.map +1 -1
- package/dist/src/config-adapter.js +40 -39
- package/dist/src/config-adapter.js.map +1 -1
- package/dist/src/index.js +416 -312
- package/dist/src/index.js.map +1 -1
- package/dist/src/infrastructure/in-memory-repositories.js +507 -246
- package/dist/src/infrastructure/in-memory-repositories.js.map +1 -1
- package/dist/src/init/claudemd-generator.js +78 -368
- package/dist/src/init/claudemd-generator.js.map +1 -1
- package/dist/src/init/executor.js +1019 -1345
- package/dist/src/init/executor.js.map +1 -1
- package/dist/src/init/helpers-generator.js +60 -635
- package/dist/src/init/helpers-generator.js.map +1 -1
- package/dist/src/init/index.d.ts +1 -1
- package/dist/src/init/index.d.ts.map +1 -1
- package/dist/src/init/index.js +1 -1
- package/dist/src/init/index.js.map +1 -1
- package/dist/src/init/mcp-generator.d.ts +0 -1
- package/dist/src/init/mcp-generator.d.ts.map +1 -1
- package/dist/src/init/mcp-generator.js +62 -42
- package/dist/src/init/mcp-generator.js.map +1 -1
- package/dist/src/init/settings-generator.d.ts.map +1 -1
- package/dist/src/init/settings-generator.js +167 -100
- package/dist/src/init/settings-generator.js.map +1 -1
- package/dist/src/init/statusline-generator.d.ts +16 -8
- package/dist/src/init/statusline-generator.d.ts.map +1 -1
- package/dist/src/init/statusline-generator.js +20 -1300
- package/dist/src/init/statusline-generator.js.map +1 -1
- package/dist/src/init/types.d.ts +15 -5
- package/dist/src/init/types.d.ts.map +1 -1
- package/dist/src/init/types.js +66 -76
- package/dist/src/init/types.js.map +1 -1
- package/dist/src/mcp-client.js +130 -76
- package/dist/src/mcp-client.js.map +1 -1
- package/dist/src/mcp-server.js +758 -445
- package/dist/src/mcp-server.js.map +1 -1
- package/dist/src/mcp-tools/agent-tools.js +492 -391
- package/dist/src/mcp-tools/agent-tools.js.map +1 -1
- package/dist/src/mcp-tools/agentdb-tools.d.ts +30 -0
- package/dist/src/mcp-tools/agentdb-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/agentdb-tools.js +758 -0
- package/dist/src/mcp-tools/agentdb-tools.js.map +1 -0
- package/dist/src/mcp-tools/analyze-tools.js +236 -172
- package/dist/src/mcp-tools/analyze-tools.js.map +1 -1
- package/dist/src/mcp-tools/auto-install.js +142 -80
- package/dist/src/mcp-tools/auto-install.js.map +1 -1
- package/dist/src/mcp-tools/browser-tools.js +375 -252
- package/dist/src/mcp-tools/browser-tools.js.map +1 -1
- package/dist/src/mcp-tools/claims-tools.js +565 -473
- package/dist/src/mcp-tools/claims-tools.js.map +1 -1
- package/dist/src/mcp-tools/config-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/config-tools.js +284 -190
- package/dist/src/mcp-tools/config-tools.js.map +1 -1
- package/dist/src/mcp-tools/coordination-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/coordination-tools.js +600 -349
- package/dist/src/mcp-tools/coordination-tools.js.map +1 -1
- package/dist/src/mcp-tools/daa-tools.js +367 -289
- package/dist/src/mcp-tools/daa-tools.js.map +1 -1
- package/dist/src/mcp-tools/embeddings-tools.js +693 -582
- package/dist/src/mcp-tools/embeddings-tools.js.map +1 -1
- package/dist/src/mcp-tools/github-tools.js +312 -261
- package/dist/src/mcp-tools/github-tools.js.map +1 -1
- package/dist/src/mcp-tools/hive-mind-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/hive-mind-tools.js +718 -423
- package/dist/src/mcp-tools/hive-mind-tools.js.map +1 -1
- package/dist/src/mcp-tools/hooks-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-tools.js +2726 -1978
- package/dist/src/mcp-tools/hooks-tools.js.map +1 -1
- package/dist/src/mcp-tools/index.d.ts +2 -0
- package/dist/src/mcp-tools/index.d.ts.map +1 -1
- package/dist/src/mcp-tools/index.js +2 -0
- package/dist/src/mcp-tools/index.js.map +1 -1
- package/dist/src/mcp-tools/memory-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/memory-tools.js +514 -329
- package/dist/src/mcp-tools/memory-tools.js.map +1 -1
- package/dist/src/mcp-tools/neural-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/neural-tools.js +428 -326
- package/dist/src/mcp-tools/neural-tools.js.map +1 -1
- package/dist/src/mcp-tools/performance-tools.js +480 -420
- package/dist/src/mcp-tools/performance-tools.js.map +1 -1
- package/dist/src/mcp-tools/progress-tools.js +278 -204
- package/dist/src/mcp-tools/progress-tools.js.map +1 -1
- package/dist/src/mcp-tools/ruvllm-tools.d.ts +9 -0
- package/dist/src/mcp-tools/ruvllm-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/ruvllm-tools.js +399 -0
- package/dist/src/mcp-tools/ruvllm-tools.js.map +1 -0
- package/dist/src/mcp-tools/security-tools.js +429 -297
- package/dist/src/mcp-tools/security-tools.js.map +1 -1
- package/dist/src/mcp-tools/session-tools.js +234 -185
- package/dist/src/mcp-tools/session-tools.js.map +1 -1
- package/dist/src/mcp-tools/swarm-tools.d.ts +2 -1
- package/dist/src/mcp-tools/swarm-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/swarm-tools.js +303 -64
- package/dist/src/mcp-tools/swarm-tools.js.map +1 -1
- package/dist/src/mcp-tools/system-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/system-tools.js +352 -200
- package/dist/src/mcp-tools/system-tools.js.map +1 -1
- package/dist/src/mcp-tools/task-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/task-tools.js +357 -189
- package/dist/src/mcp-tools/task-tools.js.map +1 -1
- package/dist/src/mcp-tools/terminal-tools.js +196 -148
- package/dist/src/mcp-tools/terminal-tools.js.map +1 -1
- package/dist/src/mcp-tools/transfer-tools.js +333 -186
- package/dist/src/mcp-tools/transfer-tools.js.map +1 -1
- package/dist/src/mcp-tools/wasm-agent-tools.d.ts +9 -0
- package/dist/src/mcp-tools/wasm-agent-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/wasm-agent-tools.js +377 -0
- package/dist/src/mcp-tools/wasm-agent-tools.js.map +1 -0
- package/dist/src/mcp-tools/workflow-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/workflow-tools.js +471 -335
- package/dist/src/mcp-tools/workflow-tools.js.map +1 -1
- package/dist/src/memory/ewc-consolidation.js +345 -173
- package/dist/src/memory/ewc-consolidation.js.map +1 -1
- package/dist/src/memory/intelligence.js +841 -359
- package/dist/src/memory/intelligence.js.map +1 -1
- package/dist/src/memory/memory-bridge.js +1964 -0
- package/dist/src/memory/memory-bridge.js.map +1 -0
- package/dist/src/memory/memory-initializer.js +1895 -1602
- package/dist/src/memory/memory-initializer.js.map +1 -1
- package/dist/src/memory/sona-optimizer.js +329 -199
- package/dist/src/memory/sona-optimizer.js.map +1 -1
- package/dist/src/output.d.ts +2 -2
- package/dist/src/output.d.ts.map +1 -1
- package/dist/src/output.js +273 -242
- package/dist/src/output.js.map +1 -1
- package/dist/src/parser.js +217 -124
- package/dist/src/parser.js.map +1 -1
- package/dist/src/plugins/manager.js +531 -278
- package/dist/src/plugins/manager.js.map +1 -1
- package/dist/src/plugins/store/discovery.js +362 -275
- package/dist/src/plugins/store/discovery.js.map +1 -1
- package/dist/src/plugins/store/index.js +105 -48
- package/dist/src/plugins/store/index.js.map +1 -1
- package/dist/src/plugins/store/search.js +107 -69
- package/dist/src/plugins/store/search.js.map +1 -1
- package/dist/src/plugins/tests/demo-plugin-store.js +160 -113
- package/dist/src/plugins/tests/demo-plugin-store.js.map +1 -1
- package/dist/src/plugins/tests/standalone-test.js +223 -172
- package/dist/src/plugins/tests/standalone-test.js.map +1 -1
- package/dist/src/plugins/tests/test-plugin-store.js +228 -190
- package/dist/src/plugins/tests/test-plugin-store.js.map +1 -1
- package/dist/src/production/circuit-breaker.js +126 -62
- package/dist/src/production/circuit-breaker.js.map +1 -1
- package/dist/src/production/error-handler.js +156 -86
- package/dist/src/production/error-handler.js.map +1 -1
- package/dist/src/production/monitoring.js +220 -139
- package/dist/src/production/monitoring.js.map +1 -1
- package/dist/src/production/rate-limiter.js +93 -74
- package/dist/src/production/rate-limiter.js.map +1 -1
- package/dist/src/production/retry.js +167 -75
- package/dist/src/production/retry.js.map +1 -1
- package/dist/src/prompt.js +560 -436
- package/dist/src/prompt.js.map +1 -1
- package/dist/src/runtime/headless.js +289 -200
- package/dist/src/runtime/headless.js.map +1 -1
- package/dist/src/ruvector/agent-wasm.js +511 -0
- package/dist/src/ruvector/agent-wasm.js.map +1 -0
- package/dist/src/ruvector/ast-analyzer.js +232 -145
- package/dist/src/ruvector/ast-analyzer.js.map +1 -1
- package/dist/src/ruvector/coverage-router.js +419 -287
- package/dist/src/ruvector/coverage-router.js.map +1 -1
- package/dist/src/ruvector/coverage-tools.js +101 -56
- package/dist/src/ruvector/coverage-tools.js.map +1 -1
- package/dist/src/ruvector/diff-classifier.js +451 -324
- package/dist/src/ruvector/diff-classifier.js.map +1 -1
- package/dist/src/ruvector/enhanced-model-router.js +337 -251
- package/dist/src/ruvector/enhanced-model-router.js.map +1 -1
- package/dist/src/ruvector/flash-attention.js +254 -223
- package/dist/src/ruvector/flash-attention.js.map +1 -1
- package/dist/src/ruvector/graph-analyzer.js +680 -486
- package/dist/src/ruvector/graph-analyzer.js.map +1 -1
- package/dist/src/ruvector/index.js +113 -27
- package/dist/src/ruvector/index.js.map +1 -1
- package/dist/src/ruvector/lora-adapter.js +248 -155
- package/dist/src/ruvector/lora-adapter.js.map +1 -1
- package/dist/src/ruvector/model-router.js +248 -175
- package/dist/src/ruvector/model-router.js.map +1 -1
- package/dist/src/ruvector/moe-router.js +286 -228
- package/dist/src/ruvector/moe-router.js.map +1 -1
- package/dist/src/ruvector/q-learning-router.js +338 -257
- package/dist/src/ruvector/q-learning-router.js.map +1 -1
- package/dist/src/ruvector/ruvllm-wasm.js +527 -0
- package/dist/src/ruvector/ruvllm-wasm.js.map +1 -0
- package/dist/src/ruvector/semantic-router.js +67 -60
- package/dist/src/ruvector/semantic-router.js.map +1 -1
- package/dist/src/ruvector/vector-db.js +205 -119
- package/dist/src/ruvector/vector-db.js.map +1 -1
- package/dist/src/services/agentic-flow-bridge.js +168 -0
- package/dist/src/services/agentic-flow-bridge.js.map +1 -0
- package/dist/src/services/claim-service.js +940 -615
- package/dist/src/services/claim-service.js.map +1 -1
- package/dist/src/services/container-worker-pool.js +669 -399
- package/dist/src/services/container-worker-pool.js.map +1 -1
- package/dist/src/services/headless-worker-executor.js +467 -441
- package/dist/src/services/headless-worker-executor.js.map +1 -1
- package/dist/src/services/index.d.ts +5 -5
- package/dist/src/services/index.d.ts.map +1 -1
- package/dist/src/services/index.js +4 -4
- package/dist/src/services/index.js.map +1 -1
- package/dist/src/services/registry-api.js +201 -93
- package/dist/src/services/registry-api.js.map +1 -1
- package/dist/src/services/ruvector-training.js +414 -144
- package/dist/src/services/ruvector-training.js.map +1 -1
- package/dist/src/services/worker-daemon.js +928 -531
- package/dist/src/services/worker-daemon.js.map +1 -1
- package/dist/src/services/worker-queue.js +550 -331
- package/dist/src/services/worker-queue.js.map +1 -1
- package/dist/src/suggest.js +55 -45
- package/dist/src/suggest.js.map +1 -1
- package/dist/src/transfer/anonymization/index.js +37 -29
- package/dist/src/transfer/anonymization/index.js.map +1 -1
- package/dist/src/transfer/deploy-seraphine.d.ts +1 -1
- package/dist/src/transfer/deploy-seraphine.js +156 -129
- package/dist/src/transfer/deploy-seraphine.js.map +1 -1
- package/dist/src/transfer/export.js +142 -84
- package/dist/src/transfer/export.js.map +1 -1
- package/dist/src/transfer/index.d.ts +1 -1
- package/dist/src/transfer/index.d.ts.map +1 -1
- package/dist/src/transfer/index.js +2 -0
- package/dist/src/transfer/index.js.map +1 -1
- package/dist/src/transfer/ipfs/client.js +337 -179
- package/dist/src/transfer/ipfs/client.js.map +1 -1
- package/dist/src/transfer/ipfs/upload.js +434 -290
- package/dist/src/transfer/ipfs/upload.js.map +1 -1
- package/dist/src/transfer/models/seraphine.js +58 -58
- package/dist/src/transfer/models/seraphine.js.map +1 -1
- package/dist/src/transfer/serialization/cfp.js +37 -33
- package/dist/src/transfer/serialization/cfp.js.map +1 -1
- package/dist/src/transfer/storage/gcs.js +248 -139
- package/dist/src/transfer/storage/gcs.js.map +1 -1
- package/dist/src/transfer/store/discovery.js +353 -243
- package/dist/src/transfer/store/discovery.js.map +1 -1
- package/dist/src/transfer/store/download.js +365 -243
- package/dist/src/transfer/store/download.js.map +1 -1
- package/dist/src/transfer/store/index.js +130 -63
- package/dist/src/transfer/store/index.js.map +1 -1
- package/dist/src/transfer/store/publish.js +258 -184
- package/dist/src/transfer/store/publish.js.map +1 -1
- package/dist/src/transfer/store/registry.js +73 -51
- package/dist/src/transfer/store/registry.js.map +1 -1
- package/dist/src/transfer/store/search.js +96 -64
- package/dist/src/transfer/store/search.js.map +1 -1
- package/dist/src/transfer/store/tests/standalone-test.js +231 -174
- package/dist/src/transfer/store/tests/standalone-test.js.map +1 -1
- package/dist/src/transfer/test-seraphine.js +130 -95
- package/dist/src/transfer/test-seraphine.js.map +1 -1
- package/dist/src/transfer/tests/test-store.js +239 -194
- package/dist/src/transfer/tests/test-store.js.map +1 -1
- package/dist/src/types.js +56 -27
- package/dist/src/types.js.map +1 -1
- package/dist/src/update/checker.js +183 -106
- package/dist/src/update/checker.js.map +1 -1
- package/dist/src/update/executor.js +198 -135
- package/dist/src/update/executor.js.map +1 -1
- package/dist/src/update/index.js +85 -38
- package/dist/src/update/index.js.map +1 -1
- package/dist/src/update/rate-limiter.js +31 -19
- package/dist/src/update/rate-limiter.js.map +1 -1
- package/dist/src/update/validator.js +64 -38
- package/dist/src/update/validator.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -10
- package/.claude/agents/custom/accessibility-auditor.yaml +0 -56
- package/.claude/agents/custom/design-architect.yaml +0 -48
- package/.claude/agents/custom/ui-developer.yaml +0 -46
- package/.claude/agents/custom/ux-researcher.yaml +0 -60
- package/dist/src/benchmarks/pretrain/index.d.ts +0 -58
- package/dist/src/benchmarks/pretrain/index.d.ts.map +0 -1
- package/dist/src/commands/index.d.ts +0 -108
- package/dist/src/commands/index.d.ts.map +0 -1
- package/dist/src/config-adapter.d.ts +0 -15
- package/dist/src/config-adapter.d.ts.map +0 -1
- package/dist/src/index.d.ts +0 -76
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/infrastructure/in-memory-repositories.d.ts +0 -68
- package/dist/src/infrastructure/in-memory-repositories.d.ts.map +0 -1
- package/dist/src/init/claudemd-generator.d.ts +0 -25
- package/dist/src/init/claudemd-generator.d.ts.map +0 -1
- package/dist/src/init/executor.d.ts +0 -41
- package/dist/src/init/executor.d.ts.map +0 -1
- package/dist/src/init/helpers-generator.d.ts +0 -60
- package/dist/src/init/helpers-generator.d.ts.map +0 -1
- package/dist/src/mcp-client.d.ts +0 -92
- package/dist/src/mcp-client.d.ts.map +0 -1
- package/dist/src/mcp-server.d.ts +0 -161
- package/dist/src/mcp-server.d.ts.map +0 -1
- package/dist/src/mcp-tools/auto-install.d.ts +0 -83
- package/dist/src/mcp-tools/auto-install.d.ts.map +0 -1
- package/dist/src/mcp-tools/types.d.ts +0 -31
- package/dist/src/mcp-tools/types.d.ts.map +0 -1
- package/dist/src/memory/ewc-consolidation.d.ts +0 -271
- package/dist/src/memory/ewc-consolidation.d.ts.map +0 -1
- package/dist/src/memory/intelligence.d.ts +0 -285
- package/dist/src/memory/intelligence.d.ts.map +0 -1
- package/dist/src/memory/memory-initializer.d.ts +0 -396
- package/dist/src/memory/memory-initializer.d.ts.map +0 -1
- package/dist/src/memory/sona-optimizer.d.ts +0 -227
- package/dist/src/memory/sona-optimizer.d.ts.map +0 -1
- package/dist/src/parser.d.ts +0 -41
- package/dist/src/parser.d.ts.map +0 -1
- package/dist/src/plugins/manager.d.ts +0 -133
- package/dist/src/plugins/manager.d.ts.map +0 -1
- package/dist/src/plugins/store/discovery.d.ts +0 -88
- package/dist/src/plugins/store/discovery.d.ts.map +0 -1
- package/dist/src/plugins/store/index.d.ts +0 -76
- package/dist/src/plugins/store/index.d.ts.map +0 -1
- package/dist/src/plugins/store/search.d.ts +0 -46
- package/dist/src/plugins/store/search.d.ts.map +0 -1
- package/dist/src/plugins/store/types.d.ts +0 -274
- package/dist/src/plugins/store/types.d.ts.map +0 -1
- package/dist/src/production/circuit-breaker.d.ts +0 -101
- package/dist/src/production/circuit-breaker.d.ts.map +0 -1
- package/dist/src/production/error-handler.d.ts +0 -92
- package/dist/src/production/error-handler.d.ts.map +0 -1
- package/dist/src/production/monitoring.d.ts +0 -161
- package/dist/src/production/monitoring.d.ts.map +0 -1
- package/dist/src/production/rate-limiter.d.ts +0 -80
- package/dist/src/production/rate-limiter.d.ts.map +0 -1
- package/dist/src/production/retry.d.ts +0 -48
- package/dist/src/production/retry.d.ts.map +0 -1
- package/dist/src/prompt.d.ts +0 -44
- package/dist/src/prompt.d.ts.map +0 -1
- package/dist/src/runtime/headless.d.ts +0 -60
- package/dist/src/runtime/headless.d.ts.map +0 -1
- package/dist/src/ruvector/ast-analyzer.d.ts +0 -67
- package/dist/src/ruvector/ast-analyzer.d.ts.map +0 -1
- package/dist/src/ruvector/coverage-router.d.ts +0 -160
- package/dist/src/ruvector/coverage-router.d.ts.map +0 -1
- package/dist/src/ruvector/diff-classifier.d.ts +0 -175
- package/dist/src/ruvector/diff-classifier.d.ts.map +0 -1
- package/dist/src/ruvector/enhanced-model-router.d.ts +0 -146
- package/dist/src/ruvector/enhanced-model-router.d.ts.map +0 -1
- package/dist/src/ruvector/flash-attention.d.ts +0 -195
- package/dist/src/ruvector/flash-attention.d.ts.map +0 -1
- package/dist/src/ruvector/graph-analyzer.d.ts +0 -187
- package/dist/src/ruvector/graph-analyzer.d.ts.map +0 -1
- package/dist/src/ruvector/index.d.ts +0 -34
- package/dist/src/ruvector/index.d.ts.map +0 -1
- package/dist/src/ruvector/lora-adapter.d.ts +0 -218
- package/dist/src/ruvector/lora-adapter.d.ts.map +0 -1
- package/dist/src/ruvector/model-router.d.ts +0 -220
- package/dist/src/ruvector/model-router.d.ts.map +0 -1
- package/dist/src/ruvector/moe-router.d.ts +0 -206
- package/dist/src/ruvector/moe-router.d.ts.map +0 -1
- package/dist/src/ruvector/q-learning-router.d.ts +0 -211
- package/dist/src/ruvector/q-learning-router.d.ts.map +0 -1
- package/dist/src/ruvector/semantic-router.d.ts +0 -77
- package/dist/src/ruvector/semantic-router.d.ts.map +0 -1
- package/dist/src/ruvector/vector-db.d.ts +0 -69
- package/dist/src/ruvector/vector-db.d.ts.map +0 -1
- package/dist/src/services/claim-service.d.ts +0 -204
- package/dist/src/services/claim-service.d.ts.map +0 -1
- package/dist/src/services/container-worker-pool.d.ts +0 -197
- package/dist/src/services/container-worker-pool.d.ts.map +0 -1
- package/dist/src/services/headless-worker-executor.d.ts +0 -304
- package/dist/src/services/headless-worker-executor.d.ts.map +0 -1
- package/dist/src/services/registry-api.d.ts +0 -58
- package/dist/src/services/registry-api.d.ts.map +0 -1
- package/dist/src/services/ruvector-training.d.ts +0 -213
- package/dist/src/services/ruvector-training.d.ts.map +0 -1
- package/dist/src/services/worker-daemon.d.ts +0 -203
- package/dist/src/services/worker-daemon.d.ts.map +0 -1
- package/dist/src/services/worker-queue.d.ts +0 -194
- package/dist/src/services/worker-queue.d.ts.map +0 -1
- package/dist/src/suggest.d.ts +0 -53
- package/dist/src/suggest.d.ts.map +0 -1
- package/dist/src/transfer/export.d.ts +0 -25
- package/dist/src/transfer/export.d.ts.map +0 -1
- package/dist/src/transfer/ipfs/client.d.ts +0 -109
- package/dist/src/transfer/ipfs/client.d.ts.map +0 -1
- package/dist/src/transfer/ipfs/upload.d.ts +0 -95
- package/dist/src/transfer/ipfs/upload.d.ts.map +0 -1
- package/dist/src/transfer/models/seraphine.d.ts +0 -72
- package/dist/src/transfer/models/seraphine.d.ts.map +0 -1
- package/dist/src/transfer/serialization/cfp.d.ts +0 -49
- package/dist/src/transfer/serialization/cfp.d.ts.map +0 -1
- package/dist/src/transfer/storage/gcs.d.ts +0 -82
- package/dist/src/transfer/storage/gcs.d.ts.map +0 -1
- package/dist/src/transfer/store/discovery.d.ts +0 -84
- package/dist/src/transfer/store/discovery.d.ts.map +0 -1
- package/dist/src/transfer/store/download.d.ts +0 -70
- package/dist/src/transfer/store/download.d.ts.map +0 -1
- package/dist/src/transfer/store/index.d.ts +0 -84
- package/dist/src/transfer/store/index.d.ts.map +0 -1
- package/dist/src/transfer/store/publish.d.ts +0 -76
- package/dist/src/transfer/store/publish.d.ts.map +0 -1
- package/dist/src/transfer/store/search.d.ts +0 -54
- package/dist/src/transfer/store/search.d.ts.map +0 -1
- package/dist/src/transfer/types.d.ts +0 -245
- package/dist/src/transfer/types.d.ts.map +0 -1
- package/dist/src/types.d.ts +0 -198
- package/dist/src/types.d.ts.map +0 -1
- package/dist/src/update/checker.d.ts +0 -34
- package/dist/src/update/checker.d.ts.map +0 -1
- package/dist/src/update/executor.d.ts +0 -32
- package/dist/src/update/executor.d.ts.map +0 -1
- package/dist/src/update/index.d.ts +0 -33
- package/dist/src/update/index.d.ts.map +0 -1
- package/dist/src/update/rate-limiter.d.ts +0 -20
- package/dist/src/update/rate-limiter.d.ts.map +0 -1
- package/dist/src/update/validator.d.ts +0 -17
- package/dist/src/update/validator.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# ๐
|
|
1
|
+
# ๐ RuFlo v3.5: Enterprise AI Orchestration Platform
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
4
|
|
|
5
|
-

|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
|
|
26
26
|
</div>
|
|
27
27
|
|
|
28
|
+
> **Why Ruflo?** Claude Flow is now Ruflo โ named by Ruv, who loves Rust, flow states, and building things that feel inevitable. The "Ru" is the Ruv. The "flo" is the flow. Underneath, WASM kernels written in Rust power the policy engine, embeddings, and proof system. 5,900+ commits later, the alpha is over. This is v3.5.
|
|
29
|
+
|
|
28
30
|
## Getting into the Flow
|
|
29
31
|
|
|
30
32
|
Ruflo is a comprehensive AI agent orchestration framework that transforms Claude Code into a powerful multi-agent development platform. It enables teams to deploy, coordinate, and optimize specialized AI agents working together on complex software engineering tasks.
|
|
@@ -124,27 +126,24 @@ flowchart TB
|
|
|
124
126
|
style RESOURCES fill:#1a1a2e,stroke:#0f3460
|
|
125
127
|
```
|
|
126
128
|
|
|
127
|
-
**RuVector Components** (
|
|
129
|
+
**RuVector Components** (included with Ruflo):
|
|
128
130
|
|
|
129
131
|
| Component | Purpose | Performance |
|
|
130
132
|
|-----------|---------|-------------|
|
|
131
|
-
| **SONA** | Self-Optimizing Neural Architecture - learns optimal routing |
|
|
132
|
-
| **EWC++** | Elastic Weight Consolidation - prevents catastrophic forgetting | Preserves
|
|
133
|
-
| **Flash Attention** | Optimized attention computation | 2
|
|
134
|
-
| **HNSW** | Hierarchical Navigable Small World vector search |
|
|
133
|
+
| **SONA** | Self-Optimizing Neural Architecture - learns optimal routing | Fast adaptation |
|
|
134
|
+
| **EWC++** | Elastic Weight Consolidation - prevents catastrophic forgetting | Preserves learned patterns |
|
|
135
|
+
| **Flash Attention** | Optimized attention computation | 2-7x speedup |
|
|
136
|
+
| **HNSW** | Hierarchical Navigable Small World vector search | Sub-millisecond retrieval |
|
|
135
137
|
| **ReasoningBank** | Pattern storage with trajectory learning | RETRIEVEโJUDGEโDISTILL |
|
|
136
|
-
| **Hyperbolic** |
|
|
137
|
-
| **LoRA/MicroLoRA** | Low-Rank Adaptation for efficient fine-tuning |
|
|
138
|
-
| **Int8 Quantization** | Memory-efficient weight storage |
|
|
139
|
-
| **SemanticRouter** | Semantic task routing with cosine similarity |
|
|
138
|
+
| **Hyperbolic** | Poincare ball embeddings for hierarchical data | Better code relationships |
|
|
139
|
+
| **LoRA/MicroLoRA** | Low-Rank Adaptation for efficient fine-tuning | Lightweight adaptation |
|
|
140
|
+
| **Int8 Quantization** | Memory-efficient weight storage | ~4x memory reduction |
|
|
141
|
+
| **SemanticRouter** | Semantic task routing with cosine similarity | Fast intent routing |
|
|
140
142
|
| **9 RL Algorithms** | Q-Learning, SARSA, A2C, PPO, DQN, Decision Transformer, etc. | Task-specific learning |
|
|
141
143
|
|
|
142
144
|
```bash
|
|
143
|
-
#
|
|
144
|
-
npx
|
|
145
|
-
|
|
146
|
-
# Or use via Ruflo
|
|
147
|
-
npx ruflo@v3alpha hooks intelligence --status
|
|
145
|
+
# Use RuVector via Ruflo
|
|
146
|
+
npx ruflo@latest hooks intelligence --status
|
|
148
147
|
```
|
|
149
148
|
|
|
150
149
|
</details>
|
|
@@ -159,9 +158,11 @@ curl -fsSL https://cdn.jsdelivr.net/gh/ruvnet/claude-flow@main/scripts/install.s
|
|
|
159
158
|
curl -fsSL https://cdn.jsdelivr.net/gh/ruvnet/claude-flow@main/scripts/install.sh | bash -s -- --full
|
|
160
159
|
|
|
161
160
|
# Or via npx
|
|
162
|
-
npx ruflo@
|
|
161
|
+
npx ruflo@latest init --wizard
|
|
163
162
|
```
|
|
164
163
|
|
|
164
|
+
> **New to Ruflo?** You don't need to learn 259 MCP tools or 26 CLI commands. After running `init`, just use Claude Code normally โ the hooks system automatically routes tasks to the right agents, learns from successful patterns, and coordinates multi-agent work in the background. The advanced tools exist for fine-grained control when you need it.
|
|
165
|
+
|
|
165
166
|
---
|
|
166
167
|
### Key Capabilities
|
|
167
168
|
|
|
@@ -214,7 +215,7 @@ Agents organize into swarms led by queens that coordinate work, prevent drift, a
|
|
|
214
215
|
- ๐ท **8 Worker Types**: Researcher, Coder, Analyst, Tester, Architect, Reviewer, Optimizer, Documenter
|
|
215
216
|
- ๐ณ๏ธ **3 Consensus Algorithms**: Majority, Weighted (Queen 3x), Byzantine (f < n/3)
|
|
216
217
|
- ๐ง **Collective Memory**: Shared knowledge, LRU cache, SQLite persistence with WAL
|
|
217
|
-
- โก **Performance**:
|
|
218
|
+
- โก **Performance**: Fast batch spawning with parallel agent coordination
|
|
218
219
|
|
|
219
220
|
</details>
|
|
220
221
|
|
|
@@ -225,7 +226,7 @@ The system stores successful patterns in vector memory, builds a knowledge graph
|
|
|
225
226
|
|
|
226
227
|
| Layer | Components | What It Does |
|
|
227
228
|
|-------|------------|--------------|
|
|
228
|
-
| Memory | HNSW, AgentDB, Cache | Stores and retrieves patterns
|
|
229
|
+
| Memory | HNSW, AgentDB, Cache | Stores and retrieves patterns with fast HNSW search |
|
|
229
230
|
| Knowledge Graph | MemoryGraph, PageRank, Communities | Identifies influential insights, detects clusters (ADR-049) |
|
|
230
231
|
| Self-Learning | LearningBridge, SONA, ReasoningBank | Triggers learning from insights, confidence lifecycle (ADR-049) |
|
|
231
232
|
| Agent Scopes | AgentMemoryScope, 3-scope dirs | Per-agent isolation + cross-agent knowledge transfer (ADR-049) |
|
|
@@ -276,7 +277,7 @@ Smart routing skips expensive LLM calls when possible. Simple edits use WASM (fr
|
|
|
276
277
|
</details>
|
|
277
278
|
|
|
278
279
|
<details>
|
|
279
|
-
<summary>โก <strong>Agent Booster (WASM)</strong> โ
|
|
280
|
+
<summary>โก <strong>Agent Booster (WASM)</strong> โ Skip LLM for simple code transforms</summary>
|
|
280
281
|
|
|
281
282
|
Agent Booster uses WebAssembly to handle simple code transformations without calling the LLM at all. When the hooks system detects a simple task, it routes directly to Agent Booster for instant results.
|
|
282
283
|
|
|
@@ -401,7 +402,7 @@ swarm_init({
|
|
|
401
402
|
| **Coordination** | Manual orchestration between tasks | Queen-led hierarchy with 5 consensus algorithms (Raft, Byzantine, Gossip) |
|
|
402
403
|
| **Hive Mind** | โ Not available | ๐ Queen-led swarms with collective intelligence, 3 queen types, 8 worker types |
|
|
403
404
|
| **Consensus** | โ No multi-agent decisions | Byzantine fault-tolerant voting (f < n/3), weighted, majority |
|
|
404
|
-
| **Memory** | Session-only, no persistence | HNSW vector memory with
|
|
405
|
+
| **Memory** | Session-only, no persistence | HNSW vector memory with sub-ms retrieval + knowledge graph |
|
|
405
406
|
| **Vector Database** | โ No native support | ๐ RuVector PostgreSQL with 77+ SQL functions, ~61ยตs search, 16,400 QPS |
|
|
406
407
|
| **Knowledge Graph** | โ Flat insight lists | PageRank + community detection identifies influential insights (ADR-049) |
|
|
407
408
|
| **Collective Memory** | โ No shared knowledge | Shared knowledge base with LRU cache, SQLite persistence, 8 memory types |
|
|
@@ -412,7 +413,7 @@ swarm_init({
|
|
|
412
413
|
| **Background Workers** | Nothing runs automatically | 12 context-triggered workers auto-dispatch on file changes, patterns, sessions |
|
|
413
414
|
| **LLM Provider** | Anthropic only | 6 providers with automatic failover and cost-based routing (85% savings) |
|
|
414
415
|
| **Security** | Standard protections | CVE-hardened with bcrypt, input validation, path traversal prevention |
|
|
415
|
-
| **Performance** | Baseline |
|
|
416
|
+
| **Performance** | Baseline | Faster tasks via parallel swarm spawning and intelligent routing |
|
|
416
417
|
|
|
417
418
|
## Quick Start
|
|
418
419
|
|
|
@@ -482,14 +483,14 @@ curl ... | bash -s -- --full
|
|
|
482
483
|
|
|
483
484
|
```bash
|
|
484
485
|
# Quick start (no install needed)
|
|
485
|
-
npx ruflo@
|
|
486
|
+
npx ruflo@latest init
|
|
486
487
|
|
|
487
488
|
# Or install globally
|
|
488
|
-
npm install -g ruflo@
|
|
489
|
+
npm install -g ruflo@latest
|
|
489
490
|
ruflo init
|
|
490
491
|
|
|
491
492
|
# With Bun (faster)
|
|
492
|
-
bunx ruflo@
|
|
493
|
+
bunx ruflo@latest init
|
|
493
494
|
```
|
|
494
495
|
|
|
495
496
|
#### Install Profiles
|
|
@@ -501,7 +502,7 @@ bunx ruflo@alpha init
|
|
|
501
502
|
|
|
502
503
|
```bash
|
|
503
504
|
# Minimal install (skip ML/embeddings)
|
|
504
|
-
npm install -g ruflo@
|
|
505
|
+
npm install -g ruflo@latest --omit=optional
|
|
505
506
|
```
|
|
506
507
|
|
|
507
508
|
<details>
|
|
@@ -513,13 +514,13 @@ Ruflo supports both **Claude Code** and **OpenAI Codex CLI** via the [@claude-fl
|
|
|
513
514
|
|
|
514
515
|
```bash
|
|
515
516
|
# Initialize for Codex CLI (creates AGENTS.md instead of CLAUDE.md)
|
|
516
|
-
npx ruflo@
|
|
517
|
+
npx ruflo@latest init --codex
|
|
517
518
|
|
|
518
519
|
# Full Codex setup with all 137+ skills
|
|
519
|
-
npx ruflo@
|
|
520
|
+
npx ruflo@latest init --codex --full
|
|
520
521
|
|
|
521
522
|
# Initialize for both platforms (dual mode)
|
|
522
|
-
npx ruflo@
|
|
523
|
+
npx ruflo@latest init --dual
|
|
523
524
|
```
|
|
524
525
|
|
|
525
526
|
### Platform Comparison
|
|
@@ -577,16 +578,16 @@ wait # Wait for all to complete
|
|
|
577
578
|
|
|
578
579
|
```bash
|
|
579
580
|
# List collaboration templates
|
|
580
|
-
npx
|
|
581
|
+
npx @claude-flow/codex dual templates
|
|
581
582
|
|
|
582
583
|
# Run feature development swarm (architect โ coder โ tester โ reviewer)
|
|
583
|
-
npx
|
|
584
|
+
npx @claude-flow/codex dual run --template feature --task "Add user auth"
|
|
584
585
|
|
|
585
586
|
# Run security audit swarm (scanner โ analyzer โ fixer)
|
|
586
|
-
npx
|
|
587
|
+
npx @claude-flow/codex dual run --template security --task "src/auth/"
|
|
587
588
|
|
|
588
589
|
# Run refactoring swarm (analyzer โ planner โ refactorer โ validator)
|
|
589
|
-
npx
|
|
590
|
+
npx @claude-flow/codex dual run --template refactor --task "src/legacy/"
|
|
590
591
|
```
|
|
591
592
|
|
|
592
593
|
### Pre-Built Collaboration Templates
|
|
@@ -650,7 +651,7 @@ The **Intelligence Loop** (ADR-050) automates this cycle through hooks. Each ses
|
|
|
650
651
|
### Vector Search Details
|
|
651
652
|
|
|
652
653
|
- **Embedding Dimensions**: 384
|
|
653
|
-
- **Search Algorithm**: HNSW (
|
|
654
|
+
- **Search Algorithm**: HNSW (sub-millisecond)
|
|
654
655
|
- **Similarity Scoring**: 0-1 (higher = better)
|
|
655
656
|
- Score > 0.7: Strong match, use pattern
|
|
656
657
|
- Score 0.5-0.7: Partial match, adapt
|
|
@@ -662,16 +663,16 @@ The **Intelligence Loop** (ADR-050) automates this cycle through hooks. Each ses
|
|
|
662
663
|
|
|
663
664
|
```bash
|
|
664
665
|
# Initialize project
|
|
665
|
-
npx ruflo@
|
|
666
|
+
npx ruflo@latest init
|
|
666
667
|
|
|
667
668
|
# Start MCP server for Claude Code integration
|
|
668
|
-
npx ruflo@
|
|
669
|
+
npx ruflo@latest mcp start
|
|
669
670
|
|
|
670
671
|
# Run a task with agents
|
|
671
|
-
npx ruflo@
|
|
672
|
+
npx ruflo@latest --agent coder --task "Implement user authentication"
|
|
672
673
|
|
|
673
674
|
# List available agents
|
|
674
|
-
npx ruflo@
|
|
675
|
+
npx ruflo@latest --list
|
|
675
676
|
```
|
|
676
677
|
|
|
677
678
|
### Upgrading
|
|
@@ -698,12 +699,12 @@ claude mcp add ruflo -- npx -y ruflo@latest mcp start
|
|
|
698
699
|
claude mcp list
|
|
699
700
|
```
|
|
700
701
|
|
|
701
|
-
Once added, Claude Code can use all
|
|
702
|
+
Once added, Claude Code can use all 259 ruflo MCP tools directly:
|
|
702
703
|
- `swarm_init` - Initialize agent swarms
|
|
703
704
|
- `agent_spawn` - Spawn specialized agents
|
|
704
|
-
- `memory_search` - Search patterns with HNSW
|
|
705
|
+
- `memory_search` - Search patterns with HNSW vector search
|
|
705
706
|
- `hooks_route` - Intelligent task routing
|
|
706
|
-
- And
|
|
707
|
+
- And 255+ more tools...
|
|
707
708
|
|
|
708
709
|
---
|
|
709
710
|
## What is it exactly? Agents that learn, build and work perpetually.
|
|
@@ -728,13 +729,13 @@ Ruflo v3 introduces **self-learning neural capabilities** that no other agent or
|
|
|
728
729
|
|
|
729
730
|
| Feature | Ruflo v3 | CrewAI | LangGraph | AutoGen | Manus |
|
|
730
731
|
|---------|----------------|--------|-----------|---------|-------|
|
|
731
|
-
| **Vector Memory** | โ
HNSW (
|
|
732
|
+
| **Vector Memory** | โ
HNSW (sub-ms search) | โ | Via plugins | โ | โ |
|
|
732
733
|
| **Knowledge Graph** | โ
PageRank + communities | โ | โ | โ | โ |
|
|
733
734
|
| **Self-Learning Memory** | โ
LearningBridge (SONA) | โ | โ | โ | โ |
|
|
734
735
|
| **Agent-Scoped Memory** | โ
3-scope (project/local/user) | โ | โ | โ | โ |
|
|
735
|
-
| **PostgreSQL Vector DB** | โ
RuVector (77+ SQL functions
|
|
736
|
+
| **PostgreSQL Vector DB** | โ
RuVector (77+ SQL functions) | โ | pgvector only | โ | โ |
|
|
736
737
|
| **Hyperbolic Embeddings** | โ
Poincarรฉ ball (native + SQL) | โ | โ | โ | โ |
|
|
737
|
-
| **Quantization** | โ
Int8 (
|
|
738
|
+
| **Quantization** | โ
Int8 (~4x savings) | โ | โ | โ | โ |
|
|
738
739
|
| **Persistent Memory** | โ
SQLite + AgentDB + PostgreSQL | โ | โ | โ | Limited |
|
|
739
740
|
| **Cross-Session Context** | โ
Full restoration | โ | โ | โ | โ |
|
|
740
741
|
| **GNN/Attention in SQL** | โ
39 attention mechanisms | โ | โ | โ | โ |
|
|
@@ -753,7 +754,7 @@ Ruflo v3 introduces **self-learning neural capabilities** that no other agent or
|
|
|
753
754
|
|
|
754
755
|
| Feature | Ruflo v3 | CrewAI | LangGraph | AutoGen | Manus |
|
|
755
756
|
|---------|----------------|--------|-----------|---------|-------|
|
|
756
|
-
| **MCP Integration** | โ
Native (
|
|
757
|
+
| **MCP Integration** | โ
Native (259 tools) | โ | โ | โ | โ |
|
|
757
758
|
| **Skills System** | โ
42+ pre-built | โ | โ | โ | Limited |
|
|
758
759
|
| **Stream Pipelines** | โ
JSON chains | โ | Via code | โ | โ |
|
|
759
760
|
| **Pair Programming** | โ
Driver/Navigator | โ | โ | โ | โ |
|
|
@@ -765,10 +766,10 @@ Ruflo v3 introduces **self-learning neural capabilities** that no other agent or
|
|
|
765
766
|
|---------|----------------|--------|-----------|---------|-------|
|
|
766
767
|
| **Threat Detection** | โ
AIDefence (<10ms) | โ | โ | โ | โ |
|
|
767
768
|
| **Cloud Platform** | โ
Flow Nexus | โ | โ | โ | โ |
|
|
768
|
-
| **Code Transforms** | โ
Agent Booster (
|
|
769
|
+
| **Code Transforms** | โ
Agent Booster (WASM) | โ | โ | โ | โ |
|
|
769
770
|
| **Input Validation** | โ
Zod + Path security | โ | โ | โ | โ |
|
|
770
771
|
|
|
771
|
-
<sub>*Comparison updated
|
|
772
|
+
<sub>*Comparison updated February 2026. Feature availability based on public documentation.*</sub>
|
|
772
773
|
|
|
773
774
|
</details>
|
|
774
775
|
|
|
@@ -779,16 +780,16 @@ What makes Ruflo different from other agent frameworks? These 10 capabilities wo
|
|
|
779
780
|
|
|
780
781
|
| | Feature | What It Does | Technical Details |
|
|
781
782
|
|---|---------|--------------|-------------------|
|
|
782
|
-
| ๐ง | **SONA** | Learns which agents perform best for each task type and routes work accordingly | Self-Optimizing Neural Architecture
|
|
783
|
+
| ๐ง | **SONA** | Learns which agents perform best for each task type and routes work accordingly | Self-Optimizing Neural Architecture |
|
|
783
784
|
| ๐ | **EWC++** | Preserves learned patterns when training on new ones โ no forgetting | Elastic Weight Consolidation prevents catastrophic forgetting |
|
|
784
785
|
| ๐ฏ | **MoE** | Routes tasks through 8 specialized expert networks based on task type | Mixture of 8 Experts with dynamic gating |
|
|
785
|
-
| โก | **Flash Attention** | Accelerates attention computation
|
|
786
|
-
| ๐ | **Hyperbolic Embeddings** | Represents hierarchical code relationships in compact vector space |
|
|
787
|
-
| ๐ฆ | **LoRA** |
|
|
788
|
-
| ๐๏ธ | **Int8 Quantization** | Converts 32-bit weights to 8-bit with minimal accuracy loss |
|
|
786
|
+
| โก | **Flash Attention** | Accelerates attention computation for faster agent responses | Optimized attention via @ruvector/attention |
|
|
787
|
+
| ๐ | **Hyperbolic Embeddings** | Represents hierarchical code relationships in compact vector space | Poincare ball model for hierarchical data |
|
|
788
|
+
| ๐ฆ | **LoRA** | Lightweight model adaptation so agents fit in limited memory | Low-Rank Adaptation via @ruvector/sona |
|
|
789
|
+
| ๐๏ธ | **Int8 Quantization** | Converts 32-bit weights to 8-bit with minimal accuracy loss | ~4x memory reduction with calibrated integers |
|
|
789
790
|
| ๐ค | **Claims System** | Manages task ownership between humans and agents with handoff support | Work ownership with claim/release/handoff protocols |
|
|
790
791
|
| ๐ก๏ธ | **Byzantine Consensus** | Coordinates agents even when some fail or return bad results | Fault-tolerant, handles up to 1/3 failing agents |
|
|
791
|
-
| ๐ | **RuVector PostgreSQL** | Enterprise-grade vector database with 77+ SQL functions for AI operations |
|
|
792
|
+
| ๐ | **RuVector PostgreSQL** | Enterprise-grade vector database with 77+ SQL functions for AI operations | Fast vector search with GNN/attention in SQL |
|
|
792
793
|
|
|
793
794
|
</details>
|
|
794
795
|
|
|
@@ -1017,6 +1018,90 @@ flowchart LR
|
|
|
1017
1018
|
|
|
1018
1019
|
</details>
|
|
1019
1020
|
|
|
1021
|
+
<details>
|
|
1022
|
+
<summary>๐ง <strong>AgentDB v3 Controllers</strong> โ 20+ intelligent memory controllers</summary>
|
|
1023
|
+
|
|
1024
|
+
Ruflo V3 integrates AgentDB v3 (3.0.0-alpha.10) providing 20+ memory controllers accessible via MCP tools and the CLI.
|
|
1025
|
+
|
|
1026
|
+
**Core Memory:**
|
|
1027
|
+
|
|
1028
|
+
| Controller | MCP Tool | Description |
|
|
1029
|
+
|-----------|----------|-------------|
|
|
1030
|
+
| HierarchicalMemory | `agentdb_hierarchical-store/recall` | Working โ episodic โ semantic memory tiers with Ebbinghaus forgetting curves and spaced repetition |
|
|
1031
|
+
| MemoryConsolidation | `agentdb_consolidate` | Automatic clustering and merging of related memories into semantic summaries |
|
|
1032
|
+
| BatchOperations | `agentdb_batch` | Bulk insert/update/delete operations for high-throughput memory management |
|
|
1033
|
+
| ReasoningBank | `agentdb_pattern-store/search` | Pattern storage with BM25+semantic hybrid search |
|
|
1034
|
+
|
|
1035
|
+
**Intelligence:**
|
|
1036
|
+
|
|
1037
|
+
| Controller | MCP Tool | Description |
|
|
1038
|
+
|-----------|----------|-------------|
|
|
1039
|
+
| SemanticRouter | `agentdb_semantic-route` | Route tasks to agents using vector similarity instead of manual rules |
|
|
1040
|
+
| ContextSynthesizer | `agentdb_context-synthesize` | Auto-generate context summaries from memory entries |
|
|
1041
|
+
| GNNService | โ | Graph neural network for intent classification and skill recommendation |
|
|
1042
|
+
| SonaTrajectoryService | โ | Record and predict learning trajectories for agents |
|
|
1043
|
+
| GraphTransformerService | โ | Sublinear attention, causal attention, Granger causality extraction |
|
|
1044
|
+
|
|
1045
|
+
**Causal & Explainable:**
|
|
1046
|
+
|
|
1047
|
+
| Controller | MCP Tool | Description |
|
|
1048
|
+
|-----------|----------|-------------|
|
|
1049
|
+
| CausalRecall | `agentdb_causal-edge` | Recall with causal re-ranking and utility scoring |
|
|
1050
|
+
| ExplainableRecall | โ | Certificates proving *why* a memory was recalled |
|
|
1051
|
+
| CausalMemoryGraph | โ | Directed causal relationships between memory entries |
|
|
1052
|
+
| MMRDiversityRanker | โ | Maximal Marginal Relevance for diverse search results |
|
|
1053
|
+
|
|
1054
|
+
**Security & Integrity:**
|
|
1055
|
+
|
|
1056
|
+
| Controller | MCP Tool | Description |
|
|
1057
|
+
|-----------|----------|-------------|
|
|
1058
|
+
| GuardedVectorBackend | โ | Cryptographic proof-of-work before vector insert/search |
|
|
1059
|
+
| MutationGuard | โ | Token-validated mutations with cryptographic proofs |
|
|
1060
|
+
| AttestationLog | โ | Immutable audit trail of all memory operations |
|
|
1061
|
+
|
|
1062
|
+
**Optimization:**
|
|
1063
|
+
|
|
1064
|
+
| Controller | MCP Tool | Description |
|
|
1065
|
+
|-----------|----------|-------------|
|
|
1066
|
+
| RVFOptimizer | โ | 4-bit adaptive quantization and progressive compression |
|
|
1067
|
+
|
|
1068
|
+
**MCP Tool Examples:**
|
|
1069
|
+
```bash
|
|
1070
|
+
# Store to hierarchical memory
|
|
1071
|
+
agentdb_hierarchical-store --key "auth-pattern" --value "JWT refresh" --tier "semantic"
|
|
1072
|
+
|
|
1073
|
+
# Recall from memory tiers
|
|
1074
|
+
agentdb_hierarchical-recall --query "authentication" --topK 5
|
|
1075
|
+
|
|
1076
|
+
# Run memory consolidation
|
|
1077
|
+
agentdb_consolidate
|
|
1078
|
+
|
|
1079
|
+
# Batch insert
|
|
1080
|
+
agentdb_batch --operation insert --entries '[{"key":"k1","value":"v1"}]'
|
|
1081
|
+
|
|
1082
|
+
# Synthesize context
|
|
1083
|
+
agentdb_context-synthesize --query "error handling patterns"
|
|
1084
|
+
|
|
1085
|
+
# Semantic routing
|
|
1086
|
+
agentdb_semantic-route --input "fix auth bug in login"
|
|
1087
|
+
```
|
|
1088
|
+
|
|
1089
|
+
**Hierarchical Memory Tiers:**
|
|
1090
|
+
```
|
|
1091
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
1092
|
+
โ Working Memory โ โ Active context, fast access
|
|
1093
|
+
โ Size-based eviction (1MB limit) โ
|
|
1094
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
|
|
1095
|
+
โ Episodic Memory โ โ Recent patterns, moderate retention
|
|
1096
|
+
โ Importance ร retention score ranking โ
|
|
1097
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
|
|
1098
|
+
โ Semantic Memory โ โ Consolidated knowledge, persistent
|
|
1099
|
+
โ Promoted from episodic via consolidation โ
|
|
1100
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
1101
|
+
```
|
|
1102
|
+
|
|
1103
|
+
</details>
|
|
1104
|
+
|
|
1020
1105
|
<details>
|
|
1021
1106
|
<summary>๐ <strong>Swarm Topology</strong> โ Multi-agent coordination patterns</summary>
|
|
1022
1107
|
|
|
@@ -1547,7 +1632,7 @@ npx ruflo hive-mind memory # Collective memory stats
|
|
|
1547
1632
|
npx ruflo hive-mind sessions # List active sessions
|
|
1548
1633
|
```
|
|
1549
1634
|
|
|
1550
|
-
**Performance:**
|
|
1635
|
+
**Performance:** Fast batch spawning with parallel agent coordination
|
|
1551
1636
|
|
|
1552
1637
|
</details>
|
|
1553
1638
|
|
|
@@ -1965,14 +2050,14 @@ npx ruflo@v3alpha worker status
|
|
|
1965
2050
|
<details>
|
|
1966
2051
|
<summary>โ๏ธ <strong>LLM Providers</strong> โ 6 providers with automatic failover</summary>
|
|
1967
2052
|
|
|
1968
|
-
| Provider | Models
|
|
2053
|
+
| Provider | Models | Features | Cost |
|
|
1969
2054
|
|----------|--------|----------|------|
|
|
1970
|
-
| **Anthropic** | Claude Opus 4
|
|
1971
|
-
| **OpenAI** | GPT-
|
|
1972
|
-
| **Google** | Gemini
|
|
1973
|
-
| **xAI** | Grok
|
|
1974
|
-
| **Mistral** | Mistral Large
|
|
1975
|
-
| **Meta/Ollama** | Llama
|
|
2055
|
+
| **Anthropic** | Claude Opus 4, Claude Sonnet 4, Claude Haiku 3.5 | Native, streaming, tool calling, extended thinking | $1-15/1M tokens |
|
|
2056
|
+
| **OpenAI** | GPT-4o, o3-mini, o1 | 128K context, reasoning chains, function calling | $0.15-60/1M tokens |
|
|
2057
|
+
| **Google** | Gemini 2.0 Flash, Gemini 1.5 Pro | 1M+ context, multimodal, grounding | $0.075-7/1M tokens |
|
|
2058
|
+
| **xAI** | Grok 3, Grok 3 Mini | Real-time data, reasoning, large context | $2-10/1M tokens |
|
|
2059
|
+
| **Mistral** | Mistral Large 2, Codestral | Open-weight, efficient MoE architecture | $0.50-8/1M tokens |
|
|
2060
|
+
| **Meta/Ollama** | Llama 3.3, DeepSeek V3, Qwen 2.5 | Local, free, open-weight | Free |
|
|
1976
2061
|
|
|
1977
2062
|
<details>
|
|
1978
2063
|
<summary>โ๏ธ <strong>Provider Load Balancing</strong> โ 4 strategies for optimal cost and performance</summary>
|
|
@@ -2075,7 +2160,7 @@ npx ruflo@v3alpha worker status
|
|
|
2075
2160
|
| `agentConfigs` | 15 V3 agent configurations | Agent testing |
|
|
2076
2161
|
| `memoryEntries` | Patterns, rules, embeddings | Memory testing |
|
|
2077
2162
|
| `swarmConfigs` | V3 default, minimal, mesh, hierarchical | Swarm testing |
|
|
2078
|
-
| `mcpTools` |
|
|
2163
|
+
| `mcpTools` | 259 tool definitions | MCP testing |
|
|
2079
2164
|
|
|
2080
2165
|
</details>
|
|
2081
2166
|
|
|
@@ -2289,7 +2374,7 @@ npx ruflo hive-mind status # Check status
|
|
|
2289
2374
|
|
|
2290
2375
|
**Ruflo Skill:** `/hive-mind-advanced` โ Full hive mind orchestration
|
|
2291
2376
|
|
|
2292
|
-
**Performance:**
|
|
2377
|
+
**Performance:** Fast batch spawning with token reduction via intelligent routing
|
|
2293
2378
|
|
|
2294
2379
|
</details>
|
|
2295
2380
|
|
|
@@ -2395,85 +2480,83 @@ npx ruflo hive-mind status # Check status
|
|
|
2395
2480
|
<details>
|
|
2396
2481
|
<summary>๐ <strong>V3 Statusline</strong> โ Real-time development status for Claude Code</summary>
|
|
2397
2482
|
|
|
2398
|
-
Real-time development status display
|
|
2483
|
+
Real-time development status display integrated directly into Claude Code's status bar. Shows DDD progress, swarm activity, security status, AgentDB metrics, and live session data (model, context usage, cost).
|
|
2484
|
+
|
|
2485
|
+
**How It Works:**
|
|
2486
|
+
|
|
2487
|
+
Claude Code pipes JSON session data via **stdin** to the statusline script after each assistant message (debounced ~300ms). The script reads this data and combines it with local project metrics to produce a single-line status output.
|
|
2399
2488
|
|
|
2400
2489
|
**Output Format:**
|
|
2401
2490
|
```
|
|
2402
|
-
โ Ruflo V3 โ ruvnet โ โ
|
|
2403
|
-
|
|
2404
|
-
๐๏ธ DDD Domains [โโโโโ] 5/5 โก 1.0x โ 2.49x-7.47x
|
|
2405
|
-
๐ค Swarm โ [58/15] ๐ฅ 0 ๐ข CVE 3/3 ๐พ 22282MB ๐ 47% ๐ง 10%
|
|
2406
|
-
๐ง Architecture DDD โ 98% โ Security โCLEAN โ Memory โAgentDB โ Integration โ
|
|
2491
|
+
โ Ruflo V3 โ ruvnet โ โ main โ Opus 4.6 | โ42% ctx | $0.15
|
|
2492
|
+
๐๏ธ DDD [โโโโโ] 4/5 โก HNSW 150x ๐ค โ [12/8] ๐ฅ 3 ๐ข CVE 3/3 ๐พ 512MB ๐ง 15% ๐ฆ AgentDB โ1.2K vectors
|
|
2407
2493
|
```
|
|
2408
2494
|
|
|
2409
|
-
| Indicator | Description |
|
|
2495
|
+
| Indicator | Description | Source |
|
|
2410
2496
|
|-----------|-------------|--------|
|
|
2411
2497
|
| `โ Ruflo V3` | Project header | Always shown |
|
|
2412
|
-
| `โ ruvnet` | GitHub user
|
|
2413
|
-
| `โ
|
|
2414
|
-
| `Opus 4.
|
|
2415
|
-
| `
|
|
2416
|
-
|
|
|
2417
|
-
|
|
|
2418
|
-
| `
|
|
2419
|
-
|
|
|
2420
|
-
|
|
|
2421
|
-
|
|
|
2422
|
-
|
|
|
2423
|
-
|
|
|
2424
|
-
|
|
|
2425
|
-
|
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2498
|
+
| `โ ruvnet` | GitHub user | `gh api user` CLI |
|
|
2499
|
+
| `โ main` | Current git branch | `git branch --show-current` |
|
|
2500
|
+
| `Opus 4.6` | Claude model name | Stdin JSON `model.display_name` |
|
|
2501
|
+
| `โ42% ctx` | Context window usage | Stdin JSON `context_window.used_percentage` |
|
|
2502
|
+
| `$0.15` | Session cost | Stdin JSON `cost.total_cost_usd` |
|
|
2503
|
+
| `[โโโโโ]` | DDD domain progress bar | `.claude-flow/metrics/v3-progress.json` |
|
|
2504
|
+
| `โก HNSW 150x` | HNSW search speedup | AgentDB file stats |
|
|
2505
|
+
| `โ/โ` | Swarm coordination status | Process detection |
|
|
2506
|
+
| `[12/8]` | Active agents / max agents | `ps aux` process count |
|
|
2507
|
+
| `๐ฅ 3` | Sub-agents spawned | Task tool agent count |
|
|
2508
|
+
| `๐ข CVE 3/3` | Security CVE remediation | `.claude-flow/security/audit-status.json` |
|
|
2509
|
+
| `๐พ 512MB` | Memory usage | Node.js process RSS |
|
|
2510
|
+
| `๐ง 15%` | Intelligence score | Pattern count from AgentDB |
|
|
2511
|
+
| `๐ฆ AgentDB โ1.2K` | AgentDB vector count | File size estimate (`size / 2KB`) |
|
|
2512
|
+
|
|
2513
|
+
**Setup (Automatic):**
|
|
2514
|
+
|
|
2515
|
+
Run `npx ruflo@latest init` โ this generates `.claude/settings.json` with the correct statusline config and creates the helper script at `.claude/helpers/statusline.cjs`.
|
|
2516
|
+
|
|
2517
|
+
The generated config uses a **fast local script** (no `npx` cold-start):
|
|
2518
|
+
```json
|
|
2519
|
+
{
|
|
2520
|
+
"statusLine": {
|
|
2521
|
+
"type": "command",
|
|
2522
|
+
"command": "node .claude/helpers/statusline.cjs"
|
|
2523
|
+
}
|
|
2524
|
+
}
|
|
2525
|
+
```
|
|
2436
2526
|
|
|
2437
|
-
|
|
2438
|
-
npx ruflo@v3alpha hooks statusline --legacy
|
|
2527
|
+
> **Note:** Only `type`, `command`, and `padding` are valid statusLine fields. Do not add `refreshMs`, `enabled`, or other fields โ Claude Code will ignore them.
|
|
2439
2528
|
|
|
2440
|
-
|
|
2441
|
-
npx ruflo@v3alpha hooks statusline --json
|
|
2529
|
+
**For Existing Users:**
|
|
2442
2530
|
|
|
2443
|
-
|
|
2444
|
-
|
|
2531
|
+
If your statusline is not updating, run the upgrade command to regenerate helpers and fix the config:
|
|
2532
|
+
```bash
|
|
2533
|
+
npx ruflo@latest init --update --settings
|
|
2445
2534
|
```
|
|
2446
2535
|
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
Claude Code writes internal status (e.g., `7s โข 1p`) at absolute terminal coordinates (columns 15-25 on the second-to-last line). The safe mode pads the collision line with spaces to push content past column 25, preventing character bleeding.
|
|
2450
|
-
|
|
2451
|
-
| Option | Description |
|
|
2452
|
-
|--------|-------------|
|
|
2453
|
-
| (default) | Safe multi-line with collision zone avoidance |
|
|
2454
|
-
| `--single` | Single-line output (complete collision avoidance) |
|
|
2455
|
-
| `--legacy` | Original multi-line (may cause bleeding) |
|
|
2456
|
-
| `--json` | JSON output with pretty printing |
|
|
2457
|
-
| `--compact` | JSON output without formatting |
|
|
2536
|
+
This removes invalid config fields and regenerates the statusline helper with stdin support.
|
|
2458
2537
|
|
|
2459
|
-
**
|
|
2538
|
+
**Stdin JSON Protocol:**
|
|
2460
2539
|
|
|
2461
|
-
|
|
2540
|
+
Claude Code provides session data via stdin in this format:
|
|
2462
2541
|
```json
|
|
2463
2542
|
{
|
|
2464
|
-
"
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
}
|
|
2543
|
+
"model": { "display_name": "Opus 4.6" },
|
|
2544
|
+
"context_window": { "used_percentage": 42, "remaining_percentage": 58 },
|
|
2545
|
+
"cost": { "total_cost_usd": 0.15, "total_duration_ms": 45000 },
|
|
2546
|
+
"workspace": { "current_dir": "/path/to/project" },
|
|
2547
|
+
"session_id": "abc-123"
|
|
2468
2548
|
}
|
|
2469
2549
|
```
|
|
2470
2550
|
|
|
2551
|
+
The statusline script reads stdin synchronously, falls back to local detection when run manually (TTY mode).
|
|
2552
|
+
|
|
2471
2553
|
**Data Sources:**
|
|
2472
|
-
-
|
|
2473
|
-
- `.
|
|
2474
|
-
- `.
|
|
2475
|
-
- `.
|
|
2476
|
-
-
|
|
2554
|
+
- **Stdin JSON** โ Model name, context %, cost, duration (from Claude Code)
|
|
2555
|
+
- `.claude-flow/metrics/v3-progress.json` โ DDD domain progress
|
|
2556
|
+
- `.claude-flow/metrics/swarm-activity.json` โ Active agent counts
|
|
2557
|
+
- `.claude-flow/security/audit-status.json` โ CVE remediation status
|
|
2558
|
+
- **AgentDB files** โ Vector count (estimated from file size), HNSW index status
|
|
2559
|
+
- Process detection via `ps aux` โ Real-time memory and agent counts
|
|
2477
2560
|
- Git branch via `git branch --show-current`
|
|
2478
2561
|
- GitHub user via `gh api user`
|
|
2479
2562
|
|
|
@@ -2949,6 +3032,136 @@ sqlite3 .claude-flow/data/transcript-archive.db \
|
|
|
2949
3032
|
|
|
2950
3033
|
---
|
|
2951
3034
|
|
|
3035
|
+
## ๐พ Storage: RVF (RuVector Format)
|
|
3036
|
+
|
|
3037
|
+
Ruflo uses RVF โ a compact binary storage format that replaces the 18MB sql.js WASM dependency with pure TypeScript. No native compilation, no WASM downloads, works everywhere Node.js runs.
|
|
3038
|
+
|
|
3039
|
+
<details>
|
|
3040
|
+
<summary>๐พ <strong>RVF Storage</strong> โ Binary format, vector search, migration, and auto-selection</summary>
|
|
3041
|
+
|
|
3042
|
+
### Why RVF?
|
|
3043
|
+
|
|
3044
|
+
Previous versions shipped sql.js (18MB WASM blob) for persistent storage. This caused slow cold starts, large installs, and compatibility issues on ARM/Alpine. RVF eliminates all of that:
|
|
3045
|
+
|
|
3046
|
+
| | Before (sql.js) | After (RVF) |
|
|
3047
|
+
|---|---|---|
|
|
3048
|
+
| **Install size** | +18MB WASM | 0 extra deps |
|
|
3049
|
+
| **Cold start** | ~2s (WASM compile) | <50ms |
|
|
3050
|
+
| **Platform support** | x86/ARM issues | Runs everywhere |
|
|
3051
|
+
| **Native deps** | Optional hnswlib-node | Pure TypeScript fallback |
|
|
3052
|
+
|
|
3053
|
+
### How it works
|
|
3054
|
+
|
|
3055
|
+
RVF files use a simple binary layout: a 4-byte magic header (`RVF\0`), a JSON metadata section, then packed entries. Each module has its own format variant:
|
|
3056
|
+
|
|
3057
|
+
| Format | Magic Bytes | Used By | Purpose |
|
|
3058
|
+
|--------|-------------|---------|---------|
|
|
3059
|
+
| `RVF\0` | `0x52564600` | Memory backend | Entries + HNSW index |
|
|
3060
|
+
| `RVEC` | `0x52564543` | Embedding cache | Cached vectors with LRU eviction |
|
|
3061
|
+
| `RVFL` | `0x5256464C` | Event log | Append-only domain events |
|
|
3062
|
+
| `RVLS` | โ | Learning store | SONA patterns + trajectories |
|
|
3063
|
+
|
|
3064
|
+
### Storage auto-selection
|
|
3065
|
+
|
|
3066
|
+
You don't need to pick a backend. The `DatabaseProvider` tries each option in order and uses the first one available:
|
|
3067
|
+
|
|
3068
|
+
```
|
|
3069
|
+
RVF (pure TypeScript) โ better-sqlite3 (native) โ sql.js (WASM) โ JSON (fallback)
|
|
3070
|
+
```
|
|
3071
|
+
|
|
3072
|
+
RVF is always available since it has zero dependencies, so it wins by default. If you have `better-sqlite3` installed (e.g., for advanced queries), it gets priority.
|
|
3073
|
+
|
|
3074
|
+
### Vector search with HnswLite
|
|
3075
|
+
|
|
3076
|
+
RVF includes `HnswLite` โ a pure TypeScript implementation of the HNSW (Hierarchical Navigable Small World) algorithm for fast nearest-neighbor search. It's used automatically when storing entries with embeddings.
|
|
3077
|
+
|
|
3078
|
+
```typescript
|
|
3079
|
+
import { RvfBackend } from '@claude-flow/memory';
|
|
3080
|
+
|
|
3081
|
+
const backend = new RvfBackend({ databasePath: './memory.rvf' });
|
|
3082
|
+
await backend.initialize();
|
|
3083
|
+
|
|
3084
|
+
// Store entries โ embeddings are indexed automatically
|
|
3085
|
+
await backend.store({ id: '1', key: 'auth-pattern', content: '...', embedding: vector });
|
|
3086
|
+
|
|
3087
|
+
// Search by similarity
|
|
3088
|
+
const results = await backend.search({ embedding: queryVector, limit: 10 });
|
|
3089
|
+
```
|
|
3090
|
+
|
|
3091
|
+
Supports cosine, dot product, and Euclidean distance metrics. For large datasets (100K+ entries), install `hnswlib-node` for the native implementation โ the backend switches automatically.
|
|
3092
|
+
|
|
3093
|
+
### Migrating from older formats
|
|
3094
|
+
|
|
3095
|
+
The `RvfMigrator` converts between JSON files, SQLite databases, and RVF:
|
|
3096
|
+
|
|
3097
|
+
```typescript
|
|
3098
|
+
import { RvfMigrator } from '@claude-flow/memory';
|
|
3099
|
+
|
|
3100
|
+
// Auto-detect format and migrate
|
|
3101
|
+
await RvfMigrator.autoMigrate('./old-memory.db', './memory.rvf');
|
|
3102
|
+
|
|
3103
|
+
// Or be explicit
|
|
3104
|
+
await RvfMigrator.fromJsonFile('./backup.json', './memory.rvf');
|
|
3105
|
+
await RvfMigrator.fromSqlite('./legacy.db', './memory.rvf');
|
|
3106
|
+
|
|
3107
|
+
// Export back to JSON for inspection
|
|
3108
|
+
await RvfMigrator.toJsonFile('./memory.rvf', './export.json');
|
|
3109
|
+
```
|
|
3110
|
+
|
|
3111
|
+
Format detection works by reading the first few bytes of the file โ no file extension guessing.
|
|
3112
|
+
|
|
3113
|
+
### Crash safety
|
|
3114
|
+
|
|
3115
|
+
All write operations use atomic writes: data goes to a temporary file first, then a single `rename()` call swaps it into place. If the process crashes mid-write, the old file stays intact.
|
|
3116
|
+
|
|
3117
|
+
- **Memory backend**: `file.rvf.tmp` โ `file.rvf`
|
|
3118
|
+
- **Embedding cache**: `file.rvec.tmp.{random}` โ `file.rvec`
|
|
3119
|
+
- **Event log**: Append-only (no overwrite needed)
|
|
3120
|
+
|
|
3121
|
+
### SONA learning persistence
|
|
3122
|
+
|
|
3123
|
+
The `PersistentSonaCoordinator` stores learning patterns and trajectories in RVF format, so agents retain knowledge across sessions:
|
|
3124
|
+
|
|
3125
|
+
```typescript
|
|
3126
|
+
import { PersistentSonaCoordinator } from '@claude-flow/memory';
|
|
3127
|
+
|
|
3128
|
+
const sona = new PersistentSonaCoordinator({
|
|
3129
|
+
storePath: './data/sona-learning.rvls',
|
|
3130
|
+
});
|
|
3131
|
+
await sona.initialize();
|
|
3132
|
+
|
|
3133
|
+
// Patterns survive restarts
|
|
3134
|
+
const similar = sona.findSimilarPatterns(embedding, 5);
|
|
3135
|
+
sona.storePattern('routing', embedding);
|
|
3136
|
+
await sona.shutdown(); // persists to disk
|
|
3137
|
+
```
|
|
3138
|
+
|
|
3139
|
+
### Security
|
|
3140
|
+
|
|
3141
|
+
RVF validates inputs at every boundary:
|
|
3142
|
+
|
|
3143
|
+
- **Path validation** โ null bytes and traversal attempts are rejected
|
|
3144
|
+
- **Header validation** โ corrupted files are detected before parsing
|
|
3145
|
+
- **Payload limits** โ event log entries cap at 100MB to prevent memory exhaustion
|
|
3146
|
+
- **Dimension validation** โ embedding dimensions must be between 1 and 10,000
|
|
3147
|
+
- **Concurrent write protection** โ a lock flag prevents overlapping disk flushes
|
|
3148
|
+
|
|
3149
|
+
### Configuration
|
|
3150
|
+
|
|
3151
|
+
```bash
|
|
3152
|
+
# Environment variables
|
|
3153
|
+
CLAUDE_FLOW_MEMORY_BACKEND=hybrid # auto-selects RVF
|
|
3154
|
+
CLAUDE_FLOW_MEMORY_PATH=./data/memory
|
|
3155
|
+
|
|
3156
|
+
# Or via CLI
|
|
3157
|
+
ruflo memory init --force
|
|
3158
|
+
ruflo config set memory.backend hybrid
|
|
3159
|
+
```
|
|
3160
|
+
|
|
3161
|
+
</details>
|
|
3162
|
+
|
|
3163
|
+
---
|
|
3164
|
+
|
|
2952
3165
|
## ๐ง Intelligence & Learning
|
|
2953
3166
|
|
|
2954
3167
|
Self-learning hooks, pattern recognition, and intelligent task routing.
|
|
@@ -3765,7 +3978,7 @@ Skills are **reusable workflows** that combine agents, hooks, and patterns into
|
|
|
3765
3978
|
| Skill | What It Does | When To Use |
|
|
3766
3979
|
|-------|--------------|-------------|
|
|
3767
3980
|
| `agentdb-vector-search` | Semantic search with 150x faster retrieval | Building RAG systems, knowledge bases |
|
|
3768
|
-
| `agentdb-memory-patterns` | Session memory,
|
|
3981
|
+
| `agentdb-memory-patterns` | Session memory, persistent storage, context management | Stateful agents, chat systems |
|
|
3769
3982
|
| `agentdb-learning` | 9 RL algorithms (PPO, DQN, SARSA, etc.) | Self-learning agents, behavior optimization |
|
|
3770
3983
|
| `agentdb-optimization` | Quantization (4-32x memory reduction), HNSW indexing | Scaling to millions of vectors |
|
|
3771
3984
|
| `agentdb-advanced` | QUIC sync, multi-database, custom distance metrics | Distributed AI systems |
|
|
@@ -3876,7 +4089,7 @@ Skills are **reusable workflows** that combine agents, hooks, and patterns into
|
|
|
3876
4089
|
|
|
3877
4090
|
| Skill | What It Does | When To Use |
|
|
3878
4091
|
|-------|--------------|-------------|
|
|
3879
|
-
| `agentic-jujutsu` |
|
|
4092
|
+
| `agentic-jujutsu` | Self-learning version control for AI agents | Multi-agent coordination |
|
|
3880
4093
|
| `worker-benchmarks` | Performance benchmarking framework | Measuring improvements |
|
|
3881
4094
|
| `worker-integration` | Worker-agent coordination patterns | Background processing |
|
|
3882
4095
|
|
|
@@ -4198,21 +4411,21 @@ console.log(results);
|
|
|
4198
4411
|
**CLI Commands:**
|
|
4199
4412
|
```bash
|
|
4200
4413
|
# Initialize memory database
|
|
4201
|
-
npx ruflo@
|
|
4414
|
+
npx ruflo@latest memory init --force
|
|
4202
4415
|
|
|
4203
4416
|
# Store patterns
|
|
4204
|
-
npx ruflo@
|
|
4205
|
-
npx ruflo@
|
|
4417
|
+
npx ruflo@latest memory store --key "pattern-auth" --value "JWT authentication with refresh tokens"
|
|
4418
|
+
npx ruflo@latest memory store --key "pattern-cache" --value "Redis caching for API responses"
|
|
4206
4419
|
|
|
4207
4420
|
# Build HNSW index for 150x-12,500x faster search
|
|
4208
|
-
npx ruflo@
|
|
4421
|
+
npx ruflo@latest memory search --query "authentication" --build-hnsw
|
|
4209
4422
|
|
|
4210
4423
|
# Semantic search (uses HNSW if built)
|
|
4211
|
-
npx ruflo@
|
|
4424
|
+
npx ruflo@latest memory search --query "how to cache data" --limit 5
|
|
4212
4425
|
|
|
4213
4426
|
# List and manage entries
|
|
4214
|
-
npx ruflo@
|
|
4215
|
-
npx ruflo@
|
|
4427
|
+
npx ruflo@latest memory list --namespace patterns
|
|
4428
|
+
npx ruflo@latest memory stats
|
|
4216
4429
|
```
|
|
4217
4430
|
|
|
4218
4431
|
</details>
|
|
@@ -4807,9 +5020,9 @@ npx agentic-flow mcp stdio
|
|
|
4807
5020
|
</details>
|
|
4808
5021
|
|
|
4809
5022
|
<details>
|
|
4810
|
-
<summary>๐ง <strong>MCP Tools</strong> โ
|
|
5023
|
+
<summary>๐ง <strong>MCP Tools</strong> โ 259 Integration Tools</summary>
|
|
4811
5024
|
|
|
4812
|
-
Agentic-flow exposes
|
|
5025
|
+
Agentic-flow exposes 259 MCP tools for integration:
|
|
4813
5026
|
|
|
4814
5027
|
| Category | Tools | Examples |
|
|
4815
5028
|
|----------|-------|----------|
|
|
@@ -4864,13 +5077,13 @@ const config = optimizer.getOptimalConfig(agentCount);
|
|
|
4864
5077
|
---
|
|
4865
5078
|
|
|
4866
5079
|
<details>
|
|
4867
|
-
<summary>๐ฅ <strong>Agentic-Jujutsu</strong> โ
|
|
5080
|
+
<summary>๐ฅ <strong>Agentic-Jujutsu</strong> โ Self-Learning AI Version Control</summary>
|
|
4868
5081
|
|
|
4869
5082
|
[](https://www.npmjs.com/package/agentic-jujutsu)
|
|
4870
5083
|
[](https://www.npmjs.com/package/agentic-jujutsu)
|
|
4871
5084
|
[](https://github.com/ruvnet/agentic-flow/tree/main/packages/agentic-jujutsu)
|
|
4872
5085
|
|
|
4873
|
-
**Agentic-Jujutsu** is
|
|
5086
|
+
**Agentic-Jujutsu** is self-learning version control designed for multiple AI agents working simultaneously without conflicts. Built on [Jujutsu](https://github.com/martinvonz/jj), it provides faster performance than Git with automatic conflict resolution.
|
|
4874
5087
|
|
|
4875
5088
|
### Quick Start
|
|
4876
5089
|
|
|
@@ -4901,7 +5114,7 @@ npx agentic-jujutsu compare-git
|
|
|
4901
5114
|
| **AI integration** | Manual work | Built-in (MCP protocol) |
|
|
4902
5115
|
| **Self-learning capabilities** | โ None | โ
ReasoningBank |
|
|
4903
5116
|
| **Automatic conflict resolution** | 30-40% auto | **87% auto** |
|
|
4904
|
-
| **
|
|
5117
|
+
| **Cryptographic security** | Basic | SHA3-512 fingerprints |
|
|
4905
5118
|
|
|
4906
5119
|
### Core Capabilities
|
|
4907
5120
|
|
|
@@ -4947,7 +5160,7 @@ console.log('Confidence:', (suggestion.confidence * 100).toFixed(1) + '%');
|
|
|
4947
5160
|
</details>
|
|
4948
5161
|
|
|
4949
5162
|
<details>
|
|
4950
|
-
<summary>๐ค <strong>Multi-Agent Coordination</strong> โ
|
|
5163
|
+
<summary>๐ค <strong>Multi-Agent Coordination</strong> โ DAG architecture for conflict-free collaboration</summary>
|
|
4951
5164
|
|
|
4952
5165
|
```javascript
|
|
4953
5166
|
// All agents work concurrently (no conflicts!)
|
|
@@ -4983,12 +5196,12 @@ console.log('All agents completed:', results);
|
|
|
4983
5196
|
| Context switching | 500-1000ms | **50-100ms (10x)** |
|
|
4984
5197
|
| Conflict resolution | 30-40% auto | **87% auto (2.5x)** |
|
|
4985
5198
|
| Lock waiting | 50 min/day | **0 min (โ)** |
|
|
4986
|
-
|
|
|
5199
|
+
| SHA3-512 fingerprints | N/A | **<1ms** |
|
|
4987
5200
|
|
|
4988
5201
|
</details>
|
|
4989
5202
|
|
|
4990
5203
|
<details>
|
|
4991
|
-
<summary>๐ <strong>
|
|
5204
|
+
<summary>๐ <strong>Cryptographic Security</strong> โ SHA3-512 fingerprints and AES-256 encryption</summary>
|
|
4992
5205
|
|
|
4993
5206
|
```javascript
|
|
4994
5207
|
const { generateQuantumFingerprint, verifyQuantumFingerprint } = require('agentic-jujutsu');
|
|
@@ -5009,7 +5222,7 @@ const key = crypto.randomBytes(32).toString('base64');
|
|
|
5009
5222
|
jj.enableEncryption(key);
|
|
5010
5223
|
```
|
|
5011
5224
|
|
|
5012
|
-
**
|
|
5225
|
+
**Security Methods:**
|
|
5013
5226
|
|
|
5014
5227
|
| Method | Description | Returns |
|
|
5015
5228
|
|--------|-------------|---------|
|
|
@@ -5031,9 +5244,9 @@ Ruflo includes a dedicated `/agentic-jujutsu` skill for AI-powered version contr
|
|
|
5031
5244
|
|
|
5032
5245
|
**Use this skill when you need:**
|
|
5033
5246
|
- โ
Multiple AI agents modifying code simultaneously
|
|
5034
|
-
- โ
Lock-free version control (
|
|
5247
|
+
- โ
Lock-free version control (faster than Git for concurrent agents)
|
|
5035
5248
|
- โ
Self-learning AI that improves from experience
|
|
5036
|
-
- โ
|
|
5249
|
+
- โ
SHA3-512 cryptographic integrity verification
|
|
5037
5250
|
- โ
Automatic conflict resolution (87% success rate)
|
|
5038
5251
|
- โ
Pattern recognition and intelligent suggestions
|
|
5039
5252
|
|
|
@@ -5090,7 +5303,7 @@ npx agentic-jujutsu examples # Show usage examples
|
|
|
5090
5303
|
| **v1.x** | Required separate jj install |
|
|
5091
5304
|
| **v2.0** | Zero-dependency (jj binary embedded) |
|
|
5092
5305
|
| **v2.1** | Self-learning AI with ReasoningBank |
|
|
5093
|
-
| **v2.2** | Multi-agent coordination +
|
|
5306
|
+
| **v2.2** | Multi-agent coordination + cryptographic security |
|
|
5094
5307
|
| **v2.3** | Kubernetes GitOps + production stability |
|
|
5095
5308
|
|
|
5096
5309
|
</details>
|
|
@@ -5173,17 +5386,17 @@ const compressed = ruvector.compress(embedding, 0.3); // 30% quality threshold
|
|
|
5173
5386
|
|
|
5174
5387
|
| Package | Description | Performance |
|
|
5175
5388
|
|---------|-------------|-------------|
|
|
5176
|
-
| **[ruvector](https://www.npmjs.com/package/ruvector)** | Core vector database with HNSW |
|
|
5177
|
-
| **[@ruvector/attention](https://www.npmjs.com/package/@ruvector/attention)** | Flash Attention mechanisms | 2
|
|
5178
|
-
| **[@ruvector/sona](https://www.npmjs.com/package/@ruvector/sona)** | SONA adaptive learning (LoRA, EWC++) |
|
|
5389
|
+
| **[ruvector](https://www.npmjs.com/package/ruvector)** | Core vector database with HNSW | Fast vector search |
|
|
5390
|
+
| **[@ruvector/attention](https://www.npmjs.com/package/@ruvector/attention)** | Flash Attention mechanisms | 2-7x speedup |
|
|
5391
|
+
| **[@ruvector/sona](https://www.npmjs.com/package/@ruvector/sona)** | SONA adaptive learning (LoRA, EWC++) | Fast adaptation |
|
|
5179
5392
|
| **[@ruvector/gnn](https://www.npmjs.com/package/@ruvector/gnn)** | Graph Neural Networks (15 layer types) | Native NAPI bindings |
|
|
5180
|
-
| **[@ruvector/graph-node](https://www.npmjs.com/package/@ruvector/graph-node)** | Graph DB with Cypher queries |
|
|
5393
|
+
| **[@ruvector/graph-node](https://www.npmjs.com/package/@ruvector/graph-node)** | Graph DB with Cypher queries | Native NAPI |
|
|
5181
5394
|
| **[@ruvector/rvlite](https://www.npmjs.com/package/@ruvector/rvlite)** | Standalone DB (SQL, SPARQL, Cypher) | All-in-one solution |
|
|
5182
|
-
| **[ruvector
|
|
5395
|
+
| **[@ruvector/router](https://www.npmjs.com/package/@ruvector/router)** | Semantic intent routing | Fast routing |
|
|
5183
5396
|
|
|
5184
5397
|
### ๐ RuVector PostgreSQL โ Enterprise Vector Database
|
|
5185
5398
|
|
|
5186
|
-
**77+ SQL functions** for AI operations directly in PostgreSQL with
|
|
5399
|
+
**77+ SQL functions** for AI operations directly in PostgreSQL with fast vector search.
|
|
5187
5400
|
|
|
5188
5401
|
```bash
|
|
5189
5402
|
# Quick setup with CLI (recommended)
|
|
@@ -5892,7 +6105,7 @@ Domain-Driven Design with bounded contexts, clean architecture, and measured per
|
|
|
5892
6105
|
| Module | Purpose | Key Features |
|
|
5893
6106
|
|--------|---------|--------------|
|
|
5894
6107
|
| `@claude-flow/hooks` | Event-driven lifecycle | ReasoningBank, 27 hooks, pattern learning |
|
|
5895
|
-
| `@claude-flow/memory` | Unified vector storage | AgentDB,
|
|
6108
|
+
| `@claude-flow/memory` | Unified vector storage | AgentDB, RVF binary format, HnswLite, RvfMigrator, SONA persistence, LearningBridge, MemoryGraph |
|
|
5896
6109
|
| `@claude-flow/security` | CVE remediation | Input validation, path security, AIDefence |
|
|
5897
6110
|
| `@claude-flow/swarm` | Multi-agent coordination | 6 topologies, Byzantine consensus, auto-scaling |
|
|
5898
6111
|
| `@claude-flow/plugins` | WASM extensions | RuVector plugins, semantic search, intent routing |
|
|
@@ -5900,7 +6113,7 @@ Domain-Driven Design with bounded contexts, clean architecture, and measured per
|
|
|
5900
6113
|
| `@claude-flow/neural` | Self-learning | SONA, 9 RL algorithms, EWC++ memory preservation |
|
|
5901
6114
|
| `@claude-flow/testing` | Quality assurance | London School TDD, Vitest, fixtures, mocks |
|
|
5902
6115
|
| `@claude-flow/deployment` | Release automation | Versioning, changelogs, NPM publishing |
|
|
5903
|
-
| `@claude-flow/shared` | Common utilities | Types, validation schemas, constants |
|
|
6116
|
+
| `@claude-flow/shared` | Common utilities | Types, validation schemas, RvfEventLog, constants |
|
|
5904
6117
|
| `@claude-flow/browser` | Browser automation | 59 MCP tools, element refs, trajectory learning |
|
|
5905
6118
|
|
|
5906
6119
|
### Architecture Principles
|
|
@@ -5915,22 +6128,22 @@ Domain-Driven Design with bounded contexts, clean architecture, and measured per
|
|
|
5915
6128
|
|
|
5916
6129
|
### Performance Benchmarks
|
|
5917
6130
|
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
|
5921
|
-
|
|
5922
|
-
| **
|
|
5923
|
-
| **
|
|
5924
|
-
| **
|
|
5925
|
-
| **
|
|
5926
|
-
| **
|
|
5927
|
-
| **
|
|
5928
|
-
| **
|
|
5929
|
-
| **
|
|
5930
|
-
| **
|
|
5931
|
-
| **Learning** |
|
|
5932
|
-
| **
|
|
5933
|
-
| **Task** | Success rate | 95%+ | โ
|
|
6131
|
+
*Benchmarks measured on Node.js 20+ with local SQLite. Results vary by hardware and workload.*
|
|
6132
|
+
|
|
6133
|
+
| Category | Metric | Target | Status |
|
|
6134
|
+
|----------|--------|--------|--------|
|
|
6135
|
+
| **Startup** | CLI cold start | <500ms | โ
Met |
|
|
6136
|
+
| **Startup** | MCP server init | <400ms | โ
Met |
|
|
6137
|
+
| **Memory** | HNSW search | <1ms | โ
Sub-ms |
|
|
6138
|
+
| **Memory** | Pattern retrieval | <10ms | โ
Met |
|
|
6139
|
+
| **Swarm** | Agent spawn | <200ms | โ
Met |
|
|
6140
|
+
| **Swarm** | Consensus latency | <100ms | โ
Met |
|
|
6141
|
+
| **Neural** | SONA adaptation | <0.05ms | โ
Met |
|
|
6142
|
+
| **Graph** | Build (1k nodes) | <200ms | โ
Met |
|
|
6143
|
+
| **Graph** | PageRank (1k nodes) | <100ms | โ
Met |
|
|
6144
|
+
| **Learning** | Insight recording | <5ms | โ
Met |
|
|
6145
|
+
| **Learning** | Consolidation | <500ms | โ
Met |
|
|
6146
|
+
| **Task** | Success rate | 95%+ | โ
Met |
|
|
5934
6147
|
|
|
5935
6148
|
### Topology Performance
|
|
5936
6149
|
|
|
@@ -5979,7 +6192,7 @@ browser.startTrajectory('Login to dashboard');
|
|
|
5979
6192
|
|
|
5980
6193
|
await browser.open('https://example.com/login');
|
|
5981
6194
|
|
|
5982
|
-
// Use element refs (
|
|
6195
|
+
// Use element refs (shorter tokens vs full CSS selectors)
|
|
5983
6196
|
const snapshot = await browser.snapshot({ interactive: true });
|
|
5984
6197
|
await browser.fill('@e1', 'user@example.com');
|
|
5985
6198
|
await browser.fill('@e2', 'password');
|
|
@@ -5994,7 +6207,7 @@ await browser.close();
|
|
|
5994
6207
|
| Feature | Description |
|
|
5995
6208
|
|---------|-------------|
|
|
5996
6209
|
| **59 MCP Tools** | Complete browser automation via MCP protocol |
|
|
5997
|
-
| **Element Refs** |
|
|
6210
|
+
| **Element Refs** | Compact `@e1`, `@e2` refs instead of verbose CSS selectors |
|
|
5998
6211
|
| **Trajectory Learning** | Records actions for ReasoningBank/SONA |
|
|
5999
6212
|
| **Security Scanning** | URL validation, PII detection, XSS/SQL injection prevention |
|
|
6000
6213
|
| **9 Workflow Templates** | Login, OAuth, scraping, testing, monitoring |
|
|
@@ -6927,7 +7140,7 @@ Ruflo looks for configuration in this order:
|
|
|
6927
7140
|
"default": "anthropic",
|
|
6928
7141
|
"fallback": ["openai", "google"],
|
|
6929
7142
|
"anthropic": {
|
|
6930
|
-
"model": "claude-sonnet-4-20250514",
|
|
7143
|
+
"model": "claude-sonnet-4-6-20250514",
|
|
6931
7144
|
"maxTokens": 8192
|
|
6932
7145
|
},
|
|
6933
7146
|
"openai": {
|