claude-flow 3.5.4 → 3.5.5
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/helpers/README.md +1 -1
- package/.claude/helpers/adr-compliance.sh +1 -1
- package/.claude/helpers/daemon-manager.sh +3 -3
- package/.claude/helpers/ddd-tracker.sh +1 -1
- package/.claude/helpers/guidance-hooks.sh +1 -1
- package/.claude/helpers/health-monitor.sh +1 -1
- package/.claude/helpers/learning-hooks.sh +2 -2
- package/.claude/helpers/learning-optimizer.sh +1 -1
- package/.claude/helpers/learning-service.mjs +2 -2
- package/.claude/helpers/metrics-db.mjs +1 -1
- package/.claude/helpers/pattern-consolidator.sh +1 -1
- package/.claude/helpers/perf-worker.sh +1 -1
- package/.claude/helpers/security-scanner.sh +1 -1
- package/.claude/helpers/swarm-comms.sh +2 -2
- package/.claude/helpers/swarm-hooks.sh +2 -2
- package/.claude/helpers/swarm-monitor.sh +2 -2
- package/.claude/helpers/sync-v3-metrics.sh +1 -1
- package/.claude/helpers/v3-quick-status.sh +1 -1
- package/.claude/helpers/v3.sh +1 -1
- package/.claude/helpers/validate-v3-config.sh +1 -1
- package/.claude/helpers/worker-manager.sh +3 -3
- package/.claude/statusline.sh +2 -2
- package/package.json +1 -1
- package/v3/@claude-flow/cli/dist/src/index.d.ts +1 -1
- package/v3/@claude-flow/cli/dist/src/index.js +1 -1
- package/v3/@claude-flow/cli/dist/src/init/executor.js +3 -3
- package/v3/@claude-flow/cli/dist/src/init/helpers-generator.js +3 -3
- package/v3/@claude-flow/cli/dist/src/memory/memory-initializer.d.ts +1 -1
- package/v3/@claude-flow/cli/dist/src/memory/memory-initializer.js +1 -1
- package/v3/@claude-flow/cli/dist/src/plugins/store/discovery.js +1 -1
- package/v3/@claude-flow/cli/dist/src/types.d.ts +1 -1
- package/v3/@claude-flow/cli/dist/src/types.js +1 -1
- package/v3/@claude-flow/cli/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
|
-
#
|
|
2
|
+
# RuFlo V3 - Daemon Manager
|
|
3
3
|
# Manages background services for real-time statusline updates
|
|
4
4
|
|
|
5
5
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
@@ -155,7 +155,7 @@ restart_all() {
|
|
|
155
155
|
show_status() {
|
|
156
156
|
echo ""
|
|
157
157
|
echo -e "${CYAN}═══════════════════════════════════════════════════${RESET}"
|
|
158
|
-
echo -e "${CYAN}
|
|
158
|
+
echo -e "${CYAN} RuFlo V3 Daemon Status${RESET}"
|
|
159
159
|
echo -e "${CYAN}═══════════════════════════════════════════════════${RESET}"
|
|
160
160
|
echo ""
|
|
161
161
|
|
|
@@ -225,7 +225,7 @@ case "${1:-status}" in
|
|
|
225
225
|
start_metrics_daemon "${2:-60}"
|
|
226
226
|
;;
|
|
227
227
|
"help"|"-h"|"--help")
|
|
228
|
-
echo "
|
|
228
|
+
echo "RuFlo V3 Daemon Manager"
|
|
229
229
|
echo ""
|
|
230
230
|
echo "Usage: $0 [command] [options]"
|
|
231
231
|
echo ""
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
|
-
#
|
|
2
|
+
# RuFlo V3 - Learning Hooks
|
|
3
3
|
# Integrates learning-service.mjs with session lifecycle
|
|
4
4
|
|
|
5
5
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
@@ -300,7 +300,7 @@ case "${1:-help}" in
|
|
|
300
300
|
;;
|
|
301
301
|
"help"|"-h"|"--help")
|
|
302
302
|
cat << 'EOF'
|
|
303
|
-
|
|
303
|
+
RuFlo V3 Learning Hooks
|
|
304
304
|
|
|
305
305
|
Usage: learning-hooks.sh <command> [args]
|
|
306
306
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* RuFlo V3 - Persistent Learning Service
|
|
4
4
|
*
|
|
5
5
|
* Connects ReasoningBank to AgentDB with HNSW indexing and ONNX embeddings.
|
|
6
6
|
*
|
|
@@ -1112,7 +1112,7 @@ async function main() {
|
|
|
1112
1112
|
case 'help':
|
|
1113
1113
|
default:
|
|
1114
1114
|
console.log(`
|
|
1115
|
-
|
|
1115
|
+
RuFlo V3 Learning Service
|
|
1116
1116
|
|
|
1117
1117
|
Usage: learning-service.mjs <command> [args]
|
|
1118
1118
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
|
-
#
|
|
2
|
+
# RuFlo V3 - Optimized Swarm Communications
|
|
3
3
|
# Non-blocking, batched, priority-based inter-agent messaging
|
|
4
4
|
|
|
5
5
|
set -euo pipefail
|
|
@@ -317,7 +317,7 @@ case "${1:-help}" in
|
|
|
317
317
|
|
|
318
318
|
"help"|*)
|
|
319
319
|
cat << 'EOF'
|
|
320
|
-
|
|
320
|
+
RuFlo V3 - Optimized Swarm Communications
|
|
321
321
|
|
|
322
322
|
Non-blocking, batched, priority-based inter-agent messaging.
|
|
323
323
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
|
-
#
|
|
2
|
+
# RuFlo V3 - Swarm Communication Hooks
|
|
3
3
|
# Enables agent-to-agent messaging, pattern sharing, consensus, and task handoffs
|
|
4
4
|
#
|
|
5
5
|
# Integration with:
|
|
@@ -715,7 +715,7 @@ case "${1:-help}" in
|
|
|
715
715
|
|
|
716
716
|
"help"|"-h"|"--help")
|
|
717
717
|
cat << 'EOF'
|
|
718
|
-
|
|
718
|
+
RuFlo V3 - Swarm Communication Hooks
|
|
719
719
|
|
|
720
720
|
Usage: swarm-hooks.sh <command> [args]
|
|
721
721
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
|
-
#
|
|
2
|
+
# RuFlo V3 - Real-time Swarm Activity Monitor
|
|
3
3
|
# Continuously monitors and updates metrics based on running processes
|
|
4
4
|
|
|
5
5
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
@@ -188,7 +188,7 @@ case "${1:-check}" in
|
|
|
188
188
|
fi
|
|
189
189
|
;;
|
|
190
190
|
"help"|"-h"|"--help")
|
|
191
|
-
echo "
|
|
191
|
+
echo "RuFlo V3 Swarm Monitor"
|
|
192
192
|
echo ""
|
|
193
193
|
echo "Usage: $0 [command] [options]"
|
|
194
194
|
echo ""
|
package/.claude/helpers/v3.sh
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
|
-
#
|
|
2
|
+
# RuFlo V3 - Unified Worker Manager
|
|
3
3
|
# Orchestrates all background workers with proper scheduling
|
|
4
4
|
|
|
5
5
|
set -euo pipefail
|
|
@@ -65,7 +65,7 @@ run_daemon() {
|
|
|
65
65
|
|
|
66
66
|
status_all() {
|
|
67
67
|
echo "╔══════════════════════════════════════════════════════════════╗"
|
|
68
|
-
echo "║
|
|
68
|
+
echo "║ RuFlo V3 - Worker Status ║"
|
|
69
69
|
echo "╠══════════════════════════════════════════════════════════════╣"
|
|
70
70
|
|
|
71
71
|
for worker_def in "${WORKERS[@]}"; do
|
|
@@ -140,7 +140,7 @@ case "${1:-help}" in
|
|
|
140
140
|
;;
|
|
141
141
|
"help"|*)
|
|
142
142
|
cat << EOF
|
|
143
|
-
|
|
143
|
+
RuFlo V3 - Worker Manager
|
|
144
144
|
|
|
145
145
|
Usage: $0 <command> [options]
|
|
146
146
|
|
package/.claude/statusline.sh
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
|
-
#
|
|
2
|
+
# RuFlo V3 Development Status Line
|
|
3
3
|
# Shows DDD architecture progress, security status, and performance targets
|
|
4
4
|
|
|
5
5
|
# Read Claude Code JSON input from stdin (if available)
|
|
@@ -326,7 +326,7 @@ CURRENT_DIR=$(basename "$PROJECT_DIR" 2>/dev/null || echo "claude-flow")
|
|
|
326
326
|
OUTPUT=""
|
|
327
327
|
|
|
328
328
|
# Header Line: V3 Project + Branch + Integration Status
|
|
329
|
-
OUTPUT="${BOLD}${BRIGHT_PURPLE}▊
|
|
329
|
+
OUTPUT="${BOLD}${BRIGHT_PURPLE}▊ RuFlo V3 ${RESET}"
|
|
330
330
|
OUTPUT="${OUTPUT}${INTEGRATION_COLOR}${INTEGRATION_STATUS} ${BRIGHT_CYAN}${GH_USER}${RESET}"
|
|
331
331
|
if [ -n "$GIT_BRANCH" ]; then
|
|
332
332
|
OUTPUT="${OUTPUT} ${DIM}│${RESET} ${BRIGHT_BLUE}⎇ ${GIT_BRANCH}${RESET}"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-flow",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.5",
|
|
4
4
|
"description": "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",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -1028,7 +1028,7 @@ async function writeRuntimeConfig(targetDir, options, result) {
|
|
|
1028
1028
|
result.skipped.push('.claude-flow/config.yaml');
|
|
1029
1029
|
return;
|
|
1030
1030
|
}
|
|
1031
|
-
const config = `#
|
|
1031
|
+
const config = `# RuFlo V3 Runtime Configuration
|
|
1032
1032
|
# Generated: ${new Date().toISOString()}
|
|
1033
1033
|
|
|
1034
1034
|
version: "3.0.0"
|
|
@@ -1208,7 +1208,7 @@ async function writeCapabilitiesDoc(targetDir, options, result) {
|
|
|
1208
1208
|
result.skipped.push('.claude-flow/CAPABILITIES.md');
|
|
1209
1209
|
return;
|
|
1210
1210
|
}
|
|
1211
|
-
const capabilities = `#
|
|
1211
|
+
const capabilities = `# RuFlo V3 - Complete Capabilities Reference
|
|
1212
1212
|
> Generated: ${new Date().toISOString()}
|
|
1213
1213
|
> Full documentation: https://github.com/ruvnet/claude-flow
|
|
1214
1214
|
|
|
@@ -1228,7 +1228,7 @@ async function writeCapabilitiesDoc(targetDir, options, result) {
|
|
|
1228
1228
|
|
|
1229
1229
|
## Overview
|
|
1230
1230
|
|
|
1231
|
-
|
|
1231
|
+
RuFlo V3 is a domain-driven design architecture for multi-agent AI coordination with:
|
|
1232
1232
|
|
|
1233
1233
|
- **15-Agent Swarm Coordination** with hierarchical and mesh topologies
|
|
1234
1234
|
- **HNSW Vector Search** - 150x-12,500x faster pattern retrieval
|
|
@@ -876,7 +876,7 @@ try {
|
|
|
876
876
|
* Generate Windows PowerShell daemon manager
|
|
877
877
|
*/
|
|
878
878
|
export function generateWindowsDaemonManager() {
|
|
879
|
-
return `#
|
|
879
|
+
return `# RuFlo V3 Daemon Manager for Windows
|
|
880
880
|
# PowerShell script for managing background processes
|
|
881
881
|
|
|
882
882
|
param(
|
|
@@ -942,7 +942,7 @@ function Stop-SwarmMonitor {
|
|
|
942
942
|
|
|
943
943
|
function Show-Status {
|
|
944
944
|
Write-Host ""
|
|
945
|
-
Write-Host "
|
|
945
|
+
Write-Host "RuFlo V3 Daemon Status" -ForegroundColor Cyan
|
|
946
946
|
Write-Host "=============================" -ForegroundColor Cyan
|
|
947
947
|
|
|
948
948
|
$swarmPid = Join-Path $PidDir 'swarm-monitor.pid'
|
|
@@ -982,7 +982,7 @@ switch ($Action) {
|
|
|
982
982
|
*/
|
|
983
983
|
export function generateWindowsBatchWrapper() {
|
|
984
984
|
return `@echo off
|
|
985
|
-
REM
|
|
985
|
+
REM RuFlo V3 - Windows Batch Wrapper
|
|
986
986
|
REM Routes to PowerShell daemon manager
|
|
987
987
|
|
|
988
988
|
PowerShell -ExecutionPolicy Bypass -File "%~dp0daemon-manager.ps1" %*
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Enhanced schema with pattern confidence, temporal decay, versioning
|
|
13
13
|
* Vector embeddings enabled for semantic search
|
|
14
14
|
*/
|
|
15
|
-
export declare const MEMORY_SCHEMA_V3 = "\n--
|
|
15
|
+
export declare const MEMORY_SCHEMA_V3 = "\n-- RuFlo V3 Memory Database\n-- Version: 3.0.0\n-- Features: Pattern learning, vector embeddings, temporal decay, migration tracking\n\nPRAGMA journal_mode = WAL;\nPRAGMA synchronous = NORMAL;\nPRAGMA foreign_keys = ON;\n\n-- ============================================\n-- CORE MEMORY TABLES\n-- ============================================\n\n-- Memory entries (main storage)\nCREATE TABLE IF NOT EXISTS memory_entries (\n id TEXT PRIMARY KEY,\n key TEXT NOT NULL,\n namespace TEXT DEFAULT 'default',\n content TEXT NOT NULL,\n type TEXT DEFAULT 'semantic' CHECK(type IN ('semantic', 'episodic', 'procedural', 'working', 'pattern')),\n\n -- Vector embedding for semantic search (stored as JSON array)\n embedding TEXT,\n embedding_model TEXT DEFAULT 'local',\n embedding_dimensions INTEGER,\n\n -- Metadata\n tags TEXT, -- JSON array\n metadata TEXT, -- JSON object\n owner_id TEXT,\n\n -- Timestamps\n created_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now') * 1000),\n updated_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now') * 1000),\n expires_at INTEGER,\n last_accessed_at INTEGER,\n\n -- Access tracking for hot/cold detection\n access_count INTEGER DEFAULT 0,\n\n -- Status\n status TEXT DEFAULT 'active' CHECK(status IN ('active', 'archived', 'deleted')),\n\n UNIQUE(namespace, key)\n);\n\n-- Indexes for memory entries\nCREATE INDEX IF NOT EXISTS idx_memory_namespace ON memory_entries(namespace);\nCREATE INDEX IF NOT EXISTS idx_memory_key ON memory_entries(key);\nCREATE INDEX IF NOT EXISTS idx_memory_type ON memory_entries(type);\nCREATE INDEX IF NOT EXISTS idx_memory_status ON memory_entries(status);\nCREATE INDEX IF NOT EXISTS idx_memory_created ON memory_entries(created_at);\nCREATE INDEX IF NOT EXISTS idx_memory_accessed ON memory_entries(last_accessed_at);\nCREATE INDEX IF NOT EXISTS idx_memory_owner ON memory_entries(owner_id);\n\n-- ============================================\n-- PATTERN LEARNING TABLES\n-- ============================================\n\n-- Learned patterns with confidence scoring and versioning\nCREATE TABLE IF NOT EXISTS patterns (\n id TEXT PRIMARY KEY,\n\n -- Pattern identification\n name TEXT NOT NULL,\n pattern_type TEXT NOT NULL CHECK(pattern_type IN (\n 'task-routing', 'error-recovery', 'optimization', 'learning',\n 'coordination', 'prediction', 'code-pattern', 'workflow'\n )),\n\n -- Pattern definition\n condition TEXT NOT NULL, -- Regex or semantic match\n action TEXT NOT NULL, -- What to do when pattern matches\n description TEXT,\n\n -- Confidence scoring (0.0 - 1.0)\n confidence REAL DEFAULT 0.5,\n success_count INTEGER DEFAULT 0,\n failure_count INTEGER DEFAULT 0,\n\n -- Temporal decay\n decay_rate REAL DEFAULT 0.01, -- How fast confidence decays\n half_life_days INTEGER DEFAULT 30, -- Days until confidence halves without use\n\n -- Vector embedding for semantic pattern matching\n embedding TEXT,\n embedding_dimensions INTEGER,\n\n -- Versioning\n version INTEGER DEFAULT 1,\n parent_id TEXT REFERENCES patterns(id),\n\n -- Metadata\n tags TEXT, -- JSON array\n metadata TEXT, -- JSON object\n source TEXT, -- Where the pattern was learned from\n\n -- Timestamps\n created_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now') * 1000),\n updated_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now') * 1000),\n last_matched_at INTEGER,\n last_success_at INTEGER,\n last_failure_at INTEGER,\n\n -- Status\n status TEXT DEFAULT 'active' CHECK(status IN ('active', 'archived', 'deprecated', 'experimental'))\n);\n\n-- Indexes for patterns\nCREATE INDEX IF NOT EXISTS idx_patterns_type ON patterns(pattern_type);\nCREATE INDEX IF NOT EXISTS idx_patterns_confidence ON patterns(confidence DESC);\nCREATE INDEX IF NOT EXISTS idx_patterns_status ON patterns(status);\nCREATE INDEX IF NOT EXISTS idx_patterns_last_matched ON patterns(last_matched_at);\n\n-- Pattern evolution history (for versioning)\nCREATE TABLE IF NOT EXISTS pattern_history (\n id INTEGER PRIMARY KEY AUTOINCREMENT,\n pattern_id TEXT NOT NULL REFERENCES patterns(id),\n version INTEGER NOT NULL,\n\n -- Snapshot of pattern state\n confidence REAL,\n success_count INTEGER,\n failure_count INTEGER,\n condition TEXT,\n action TEXT,\n\n -- What changed\n change_type TEXT CHECK(change_type IN ('created', 'updated', 'success', 'failure', 'decay', 'merged', 'split')),\n change_reason TEXT,\n\n created_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now') * 1000)\n);\n\nCREATE INDEX IF NOT EXISTS idx_pattern_history_pattern ON pattern_history(pattern_id);\n\n-- ============================================\n-- LEARNING & TRAJECTORY TABLES\n-- ============================================\n\n-- Learning trajectories (SONA integration)\nCREATE TABLE IF NOT EXISTS trajectories (\n id TEXT PRIMARY KEY,\n session_id TEXT,\n\n -- Trajectory state\n status TEXT DEFAULT 'active' CHECK(status IN ('active', 'completed', 'failed', 'abandoned')),\n verdict TEXT CHECK(verdict IN ('success', 'failure', 'partial', NULL)),\n\n -- Context\n task TEXT,\n context TEXT, -- JSON object\n\n -- Metrics\n total_steps INTEGER DEFAULT 0,\n total_reward REAL DEFAULT 0,\n\n -- Timestamps\n started_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now') * 1000),\n ended_at INTEGER,\n\n -- Reference to extracted pattern (if any)\n extracted_pattern_id TEXT REFERENCES patterns(id)\n);\n\n-- Trajectory steps\nCREATE TABLE IF NOT EXISTS trajectory_steps (\n id INTEGER PRIMARY KEY AUTOINCREMENT,\n trajectory_id TEXT NOT NULL REFERENCES trajectories(id),\n step_number INTEGER NOT NULL,\n\n -- Step data\n action TEXT NOT NULL,\n observation TEXT,\n reward REAL DEFAULT 0,\n\n -- Metadata\n metadata TEXT, -- JSON object\n\n created_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now') * 1000)\n);\n\nCREATE INDEX IF NOT EXISTS idx_steps_trajectory ON trajectory_steps(trajectory_id);\n\n-- ============================================\n-- MIGRATION STATE TRACKING\n-- ============================================\n\n-- Migration state (for resume capability)\nCREATE TABLE IF NOT EXISTS migration_state (\n id TEXT PRIMARY KEY,\n migration_type TEXT NOT NULL, -- 'v2-to-v3', 'pattern', 'memory', etc.\n\n -- Progress tracking\n status TEXT DEFAULT 'pending' CHECK(status IN ('pending', 'in_progress', 'completed', 'failed', 'rolled_back')),\n total_items INTEGER DEFAULT 0,\n processed_items INTEGER DEFAULT 0,\n failed_items INTEGER DEFAULT 0,\n skipped_items INTEGER DEFAULT 0,\n\n -- Current position (for resume)\n current_batch INTEGER DEFAULT 0,\n last_processed_id TEXT,\n\n -- Source/destination info\n source_path TEXT,\n source_type TEXT,\n destination_path TEXT,\n\n -- Backup info\n backup_path TEXT,\n backup_created_at INTEGER,\n\n -- Error tracking\n last_error TEXT,\n errors TEXT, -- JSON array of errors\n\n -- Timestamps\n started_at INTEGER,\n completed_at INTEGER,\n created_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now') * 1000),\n updated_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now') * 1000)\n);\n\n-- ============================================\n-- SESSION MANAGEMENT\n-- ============================================\n\n-- Sessions for context persistence\nCREATE TABLE IF NOT EXISTS sessions (\n id TEXT PRIMARY KEY,\n\n -- Session state\n state TEXT NOT NULL, -- JSON object with full session state\n status TEXT DEFAULT 'active' CHECK(status IN ('active', 'paused', 'completed', 'expired')),\n\n -- Context\n project_path TEXT,\n branch TEXT,\n\n -- Metrics\n tasks_completed INTEGER DEFAULT 0,\n patterns_learned INTEGER DEFAULT 0,\n\n -- Timestamps\n created_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now') * 1000),\n updated_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now') * 1000),\n expires_at INTEGER\n);\n\n-- ============================================\n-- VECTOR INDEX METADATA (for HNSW)\n-- ============================================\n\n-- Track HNSW index state\nCREATE TABLE IF NOT EXISTS vector_indexes (\n id TEXT PRIMARY KEY,\n name TEXT NOT NULL UNIQUE,\n\n -- Index configuration\n dimensions INTEGER NOT NULL,\n metric TEXT DEFAULT 'cosine' CHECK(metric IN ('cosine', 'euclidean', 'dot')),\n\n -- HNSW parameters\n hnsw_m INTEGER DEFAULT 16,\n hnsw_ef_construction INTEGER DEFAULT 200,\n hnsw_ef_search INTEGER DEFAULT 100,\n\n -- Quantization\n quantization_type TEXT CHECK(quantization_type IN ('none', 'scalar', 'product')),\n quantization_bits INTEGER DEFAULT 8,\n\n -- Statistics\n total_vectors INTEGER DEFAULT 0,\n last_rebuild_at INTEGER,\n\n created_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now') * 1000),\n updated_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now') * 1000)\n);\n\n-- ============================================\n-- SYSTEM METADATA\n-- ============================================\n\nCREATE TABLE IF NOT EXISTS metadata (\n key TEXT PRIMARY KEY,\n value TEXT NOT NULL,\n updated_at INTEGER DEFAULT (strftime('%s', 'now') * 1000)\n);\n";
|
|
16
16
|
interface HNSWEntry {
|
|
17
17
|
id: string;
|
|
18
18
|
key: string;
|
|
@@ -31,7 +31,7 @@ async function getBridge() {
|
|
|
31
31
|
* Vector embeddings enabled for semantic search
|
|
32
32
|
*/
|
|
33
33
|
export const MEMORY_SCHEMA_V3 = `
|
|
34
|
-
--
|
|
34
|
+
-- RuFlo V3 Memory Database
|
|
35
35
|
-- Version: 3.0.0
|
|
36
36
|
-- Features: Pattern learning, vector embeddings, temporal decay, migration tracking
|
|
37
37
|
|
|
@@ -491,7 +491,7 @@ export class PluginDiscoveryService {
|
|
|
491
491
|
id: '@claude-flow/plugins',
|
|
492
492
|
name: '@claude-flow/plugins',
|
|
493
493
|
displayName: 'Plugin SDK',
|
|
494
|
-
description: 'Unified Plugin SDK for
|
|
494
|
+
description: 'Unified Plugin SDK for RuFlo V3 - Worker, Hook, and Provider Integration. Create, test, and publish RuFlo plugins.',
|
|
495
495
|
version: '3.0.0-alpha.2',
|
|
496
496
|
cid: 'bafybeipluginsdk2024xyz',
|
|
497
497
|
size: 156000,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-flow/cli",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
|
|
6
6
|
"main": "dist/src/index.js",
|