Commit graph

78 commits

Author SHA1 Message Date
rUv
dcd1132675 feat(edge): add Web Workers configuration to generator
- Add Concurrency section with 4 worker modes:
  - Main Thread (no workers, simple)
  - Worker Pool (auto-scaling, recommended)
  - Dedicated (one worker per task type)
  - Shared Worker (cross-tab coordination)
- Add comprehensive worker templates with code examples
- Update stats to show worker count
- Include WorkerPool class with batch operations
- Add SharedWorker cross-tab example

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 22:15:53 +00:00
rUv
c40e28049c docs(edge): add Web Workers section with understandable language
- Add comprehensive Web Workers section explaining UI responsiveness
- Include WorkerPool usage examples with practical code
- Add feature table explaining auto-scaling, load balancing, timeouts
- Add "when to use workers" guidance table
- Update Table of Contents with Consensus Modes and Web Workers
- Add WorkerPool to API Reference section

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 22:13:55 +00:00
rUv
89bbae1485 docs(edge): update source README with npm package and consensus modes
- Add npm package section at top with install commands
- Link to pkg/README.md for JavaScript documentation
- Clarify Raft vs Gossip+CRDT consensus modes
- Add Web Worker pool to distributed systems features
- Update WASM badge to show 364KB size

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 22:11:09 +00:00
rUv
421279b61e feat(edge): add Web Worker pool for parallel operations
- Include worker.js and worker-pool.js in package
- Add exports for @ruvector/edge/worker and @ruvector/edge/worker-pool
- Document WorkerPool API with examples
- Features: round-robin distribution, batch splitting, load balancing
- Keeps UI responsive during heavy WASM operations
- Bump to v0.1.9

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 22:10:04 +00:00
rUv
81d10f4224 docs(edge): clarify Raft vs Gossip+CRDT consensus modes
Raft assumes stable membership and trusted nodes - not suitable for
wild browser swarms. Updated docs to:

- Position Raft for "trusted cohorts" (teams, enterprise, private relays)
- Add Gossip + CRDT for "open swarms" (public, high-churn, adversarial)
- Explain when to use each mode with code examples
- Update capability tables to reflect both consensus strategies

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 21:09:49 +00:00
rUv
6369a145da docs(edge): highlight self-learning capabilities in intro
- Update heading to "Free Self-Learning AI Swarms at the Edge"
- Emphasize self-optimizing agents that get smarter over time
- Mention LoRA fine-tuning, EWC++ continual learning, ReasoningBank
- Bump to v0.1.7

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 21:06:28 +00:00
rUv
94bc0f817d docs(edge): clarify full platform capabilities and edge-full integration
- Add comprehensive platform diagram showing edge vs edge-full
- List all capabilities of edge-full modules
- Add optional/peer dependency on @ruvector/edge-full
- Show usage patterns for both packages together
- Bump to v0.1.6

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 21:03:45 +00:00
rUv
53c9f57e13 feat(edge-full): add unified WASM package with all modules
- Create @ruvector/edge-full package bundling 6 WASM modules:
  - edge: crypto, vectors, consensus (364KB)
  - graph: Neo4j-style graph DB with Cypher (288KB)
  - rvlite: SQL/SPARQL/Cypher vector DB (260KB)
  - sona: self-learning neural router (238KB)
  - dag: workflow orchestration (132KB)
  - onnx: HuggingFace embeddings (7.1MB)

- Update generator.html with module selection UI
- Add module-specific code templates
- Update @ruvector/edge README with edge-full reference
- Bump @ruvector/edge to v0.1.5

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 20:59:29 +00:00
rUv
a4243ce042 feat(edge): add interactive swarm generator with MCP tools
Generator Features:
- 6 topologies: Mesh, Star, Hierarchical, Ring, Gossip, Sharded
- 4 transports: GUN.js, WebRTC, libp2p, Nostr
- 6 use cases: AI Assistants, Data Pipeline, Gaming, IoT, Marketplace, Research
- 8 features: Identity, Encryption, HNSW, Semantic, Raft, Post-Quantum, Spiking, Compression
- 7 exotic patterns: MCP Tools, Byzantine, Quantum, Neural Consensus, Swarm Intel, Self-Healing, Emergent

Browser-Based MCP Tools:
- discover_agents: Find agents by capability
- send_secure_message: Encrypted P2P messaging
- store_memory: Vector memory storage
- search_memory: Semantic search
- sign_message: Cryptographic signing
- MCPCollaborativeNetwork: Multi-server coordination

Live demo runs directly in browser using WASM.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 20:41:27 +00:00
rUv
6639947e47 docs(edge): add free infrastructure guide with tables
- Improved intro with cost comparison table and architecture diagram
- Added comprehensive free infrastructure section:
  - Free GUN relays (unlimited)
  - Free STUN servers (Google, Cloudflare, Mozilla)
  - Free TURN providers table
  - Free signaling services table
  - Free Nostr relays
  - Free self-hosting options (Fly.io, Railway, Cloudflare Workers)
- Complete example using 100% free stack
- Cost summary showing $0/month at any scale (1 to 1M+ users)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 20:30:46 +00:00
rUv
0365595328 docs(edge): add comprehensive tutorial-style README
- 5-step tutorial: Identity, Crypto, Vector Search, Routing, Consensus
- P2P transport options: WebRTC, GUN.js, IPFS/libp2p, Nostr
- Full code examples for each transport integration
- Architecture diagrams showing edge-first design
- Transport comparison table with recommendations
- Complete API reference for all 9 WASM exports

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 20:22:06 +00:00
rUv
d981a56e36 feat(edge): add WASM bindings and publish @ruvector/edge v0.1.1
WASM Implementation:
- Add wasm.rs with bindings for all core P2P types
- Configure Cargo.toml with wasm/native feature flags
- Gate native-only modules (tokio, transport) behind feature flags
- Convert intelligence.rs and memory.rs to sync (parking_lot::RwLock)
- Fix distributed_learning.rs example for sync API

Exports:
- WasmIdentity, WasmCrypto, WasmHnswIndex
- WasmSemanticMatcher, WasmRaftNode, WasmHybridKeyPair
- WasmSpikingNetwork, WasmQuantizer, WasmAdaptiveCompressor

Build:
- WASM: wasm-pack build --no-default-features --features wasm
- Native: cargo build --features native
- Tests: 60 passing

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 20:16:15 +00:00
rUv
b9bf51bb01 docs(edge): improve README with free edge swarm introduction
- Emphasize zero-cost edge-first architecture
- Add economics comparison (cloud vs edge)
- Document all WASM APIs with examples
- Add use cases and architecture diagram
- Compare with cloud alternatives (OpenAI, LangChain, AutoGPT)
- Include agentic-flow integration example

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 20:15:24 +00:00
rUv
09b66e5191 feat(edge): add WASM npm package @ruvector/edge
- Built WASM bindings with wasm-pack for browser/Node.js usage
- Exports: WasmIdentity, WasmCrypto, WasmHnswIndex, WasmSemanticMatcher,
  WasmRaftNode, WasmHybridKeyPair, WasmSpikingNetwork, WasmQuantizer,
  WasmAdaptiveCompressor
- 364KB optimized WASM binary with full TypeScript types
- Published to npm as @ruvector/edge@0.1.0

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 20:11:26 +00:00
rUv
7eafcab492 docs(edge): comprehensive README overhaul
- Added badges (Rust, License, Tests, Security, WASM)
- New "Why RuVector Edge?" section explaining problem/solution
- Key Benefits table with quantified impacts
- Unique Capabilities table with 8 advanced features
- Features organized by category (Security, Intelligence, Performance, Distributed)
- Updated architecture diagram with Advanced Intelligence layer
- 7 comprehensive usage examples:
  - HNSW Vector Search
  - Post-Quantum Signatures
  - Spiking Neural Networks
  - Raft Consensus
  - Semantic Task Matching
  - Adaptive Compression
- Performance benchmarks table
- Zero-Trust Identity Chain documentation
- Comparison table vs libp2p, Matrix, NATS
- API Reference with Core Types table
- Complete exports listing

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 18:48:00 +00:00
rUv
50da131469 feat(edge/p2p): complete RuVector advanced integrations
Added:
- Semantic embeddings interface with hash-based LSH encoding
- SemanticTaskMatcher for intelligent agent-task matching
- Raft consensus protocol for distributed task coordination
  - Leader election with term-based voting
  - Log replication with consistency checks
  - Heartbeat and append entries protocol

Now exports 20+ advanced types from p2p module:
- Quantization: ScalarQuantized, BinaryQuantized, CompressedData
- HDC: Hypervector, HdcMemory, HDC_DIMENSION
- Compression: AdaptiveCompressor, NetworkCondition
- Pattern routing: PatternRouter
- Vector index: HnswIndex
- Post-quantum: HybridKeyPair, HybridPublicKey, HybridSignature
- Spiking networks: LIFNeuron, SpikingNetwork
- Embeddings: SemanticEmbedder, SemanticTaskMatcher
- Consensus: RaftNode, RaftState, LogEntry, RaftVoteRequest/Response, RaftAppendEntries/Response

60 tests passing

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 18:37:57 +00:00
rUv
f1f39902cd feat(edge/p2p): add advanced RuVector integrations
- HNSW vector indexing for O(log n) nearest neighbor search
- Hybrid post-quantum signatures (Ed25519 + Dilithium-style)
- Spiking neural networks (LIF neurons with STDP learning)
- Binary/Scalar quantization (4-32x compression)
- Hyperdimensional Computing for pattern matching
- Adaptive compression based on network conditions
- HDC-based semantic task routing

54 tests passing

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 18:35:37 +00:00
rUv
99c5c97a73 docs(edge): Update README with P2P Swarm security documentation
- Add P2P Swarm Layer to architecture diagram
- Document Ed25519/X25519 crypto and AES-256-GCM encryption
- Add security features table and code examples
- Document task execution with signed receipts
- Add GUN integration section
- Include P2P Security Model and Identity Trust Chain
- Add Key Derivation formula
- Update performance metrics with crypto ops/sec
- Add feature flags documentation

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 18:06:56 +00:00
rUv
3a14478436 feat(edge): Production-grade P2P Swarm with Ed25519/X25519 crypto
Implements a production-grade P2P swarm coordination layer with:

Security Features:
- Ed25519 identity keys + X25519 ephemeral keys for ECDH
- AES-256-GCM authenticated encryption
- Canonical JSON serialization (sorted keys) for signatures
- Registry-based identity binding (never trust envelope keys)
- Message replay protection (nonces, counters, timestamps)
- Signed task receipts with full execution binding

Core Modules:
- identity.rs: Ed25519/X25519 key management, member registry
- crypto.rs: AES-256-GCM, canonical JSON, hashing
- envelope.rs: SignedEnvelope, TaskEnvelope, TaskReceipt types
- relay.rs: GUN relay health monitoring and failover
- artifact.rs: Local CID-based storage with LRU eviction
- swarm.rs: P2PSwarmV2 coordinator with heartbeats and task claiming

Additional:
- gun.rs: GUN decentralized database integration for swarm sync
- Examples: local_swarm.rs, distributed_learning.rs

All tests pass. Demo runs successfully.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 18:03:34 +00:00
rUv
940fd021e5 feat(edge): add ruv-swarm-transport integration example
New example: examples/edge/
- Distributed AI swarm communication using ruv-swarm-transport
- WebSocket, SharedMemory, and WASM transport support
- Intelligence sync for distributed Q-learning patterns
- Shared vector memory for collaborative RAG
- LZ4 + quantization tensor compression (up to 12x)
- Protocol with Join, Sync, Task, Election messages
- Agent roles: Coordinator, Worker, Scout, Specialist

Binaries:
- edge-demo: Demo of distributed learning
- edge-agent: CLI agent that joins swarm
- edge-coordinator: Swarm coordinator

Dependencies:
- ruv-swarm-transport v1.0.5
- tokio, serde, lz4_flex, clap
2025-12-31 17:20:51 +00:00
rUv
f646a562db docs(onnx-wasm): comprehensive README update for v0.1.2
- Added SIMD badge and documentation
- Added ParallelEmbedder API reference and usage examples
- Updated performance benchmarks with parallel vs sequential comparison
- Added browser compatibility table
- Added changelog section
- Added batch processing use case example
- Updated build instructions with SIMD flags

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 05:10:36 +00:00
rUv
61971bc70d feat(onnx-wasm): add parallel worker threads for 3.8x batch speedup
- ParallelEmbedder class using Node.js worker_threads
- Distributes batches across multiple CPU cores
- Benchmark results: 3.6-3.8x speedup on batch processing
- Per-text latency drops from ~390ms to ~103ms with 4 workers
- Published v0.1.2 to npm and crates.io

Usage:
  import { ParallelEmbedder } from 'ruvector-onnx-embeddings-wasm/parallel';
  const embedder = new ParallelEmbedder({ numWorkers: 4 });
  await embedder.init();
  const embeddings = await embedder.embedBatch(texts);

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 05:02:28 +00:00
rUv
5a5874d403 feat(onnx-wasm): add SIMD support for improved performance
- Enable WASM SIMD128 instructions for vectorized operations
- Update simd_available() to properly detect SIMD at compile time
- SIMD build is 180KB smaller than non-SIMD (more compact instructions)
- Published v0.1.1 to both npm and crates.io

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 04:41:53 +00:00
rUv
1bbd353934 docs(onnx-wasm): add comprehensive README with badges and API reference
- Added npm and crates.io version badges
- WebAssembly and MIT license badges
- Quick start examples for Browser, Node.js, and Cloudflare Workers
- Complete API reference for WasmEmbedder, WasmEmbedderConfig
- Model comparison table with 6 HuggingFace models
- Performance benchmarks and use case examples

Published to npm as ruvector-onnx-embeddings-wasm@0.1.0

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 04:19:26 +00:00
rUv
9d33b4b45d feat(onnx-embeddings-wasm): add model loader with HuggingFace support
Adds loader.js with:
- Pre-configured model URLs for 6 popular models
- ModelLoader class with caching and progress reporting
- createEmbedder() helper for quick setup
- embed() and similarity() one-liner helpers

Supported models:
- all-MiniLM-L6-v2 (default)
- all-MiniLM-L12-v2
- bge-small-en-v1.5
- bge-base-en-v1.5
- e5-small-v2
- gte-small

Usage:
```javascript
import { createEmbedder } from './loader.js';
const embedder = await createEmbedder('all-MiniLM-L6-v2');
const embedding = embedder.embedOne("Hello world");
```

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 04:12:48 +00:00
rUv
8bdf50501a test(onnx-embeddings-wasm): add WASM validation test
Validates core WASM bindings work:
- Version check
- Cosine similarity utility
- L2 normalization utility
- Config creation and chaining

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 04:07:57 +00:00
rUv
ea276475a4 feat(onnx-embeddings-wasm): add WASM-compatible embedding crate
New optional companion package using Tract for inference:
- Runs in browsers, Cloudflare Workers, Deno, edge environments
- Same API as native crate
- JavaScript bindings via wasm-bindgen
- Supports all pooling strategies (Mean, Cls, Max, etc.)

Uses Tract instead of ONNX Runtime for WASM compatibility.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 04:00:24 +00:00
rUv
2a4783f2e5 chore(onnx-embeddings): fix crates.io category slug
Changed invalid category "machine-learning" to "algorithms".

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 03:37:06 +00:00
rUv
966fed50e2 fix(onnx-embeddings): fix HuggingFace model download fallback logic
The download logic would immediately fail if model.onnx wasn't at the
repo root, never trying the onnx/ subfolder where most sentence-transformer
models store their ONNX files.

Now tries both locations:
1. Root: {repo}/model.onnx
2. Subfolder: {repo}/onnx/model.onnx

Also applies fallback logic to auxiliary files (tokenizer.json, config.json).

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 03:34:24 +00:00
rUv
0e65e2b53d fix(postgres): remove Rust examples that cause linker errors
The Rust example files (learning_demo.rs, simd_distance_benchmark.rs)
were causing linker errors during pgrx tests because they use pgrx
functions without proper PostgreSQL library context.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 22:41:16 +00:00
rUv
1733d0a483 fix(ruvllm-esp32): Fix CLI version, bump npm to 0.3.1
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 22:11:59 +00:00
rUv
d44cef514b feat(ruvllm-esp32): Bump to v0.3.0 with new modules
Added to crate:
- ota.rs: Over-the-air firmware updates
- benchmark.rs: Performance measurement suite
- diagnostics.rs: Error patterns with fix suggestions
- models/: Pre-quantized model zoo

npm v0.3.0:
- Added web-flasher for browser-based flashing

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 22:11:58 +00:00
rUv
360bdb7ee7 feat(ruvllm-esp32): Add comprehensive improvements
Pre-built Binaries:
- GitHub Actions workflow for automated releases
- Builds for all ESP32 variants (esp32, s2, s3, c3, c6)
- Federation-enabled builds for multi-chip setups

Web Flasher:
- Browser-based flashing via ESP Web Serial API
- Zero-install experience
- Target selection with feature display

OTA Updates:
- Over-the-air firmware updates via WiFi
- Version checking and comparison
- Rollback support on failed updates
- Progress callbacks and state management

Model Zoo:
- Pre-quantized models ready to use
- tinystories-1m, microchat-2m, nanoembed-500k, tinyqa-1.5m
- Binary quantized models for minimal memory
- Use case recommendations

Benchmark Suite:
- Automated performance measurement
- Tokens/sec, latency percentiles, memory usage
- Chip-specific estimates
- Report generation

Error Diagnostics:
- 15+ known error patterns with fix suggestions
- Colored terminal output
- Documentation links
- Categories: toolchain, flash, memory, build, network

Offline Mode:
- Toolchain caching for air-gapped environments
- SHA256 verification
- Cross-platform support

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 22:11:58 +00:00
rUv
87dc18c32b chore(ruvllm-esp32): Bump npm version to 0.2.1
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 22:11:58 +00:00
rUv
04cb475269 feat(ruvllm-esp32): Add improved Windows PowerShell scripts
- Add setup.ps1: Auto-installs espup, espflash, and ESP32 toolchain
- Add build.ps1: Auto-detects toolchain paths, no hardcoded values
- Add flash.ps1: Auto-detects COM ports with interactive selection
- Add env.ps1: Sets up environment for current session
- Add monitor.ps1: Serial monitor with auto port detection
- Update CLI to use PowerShell scripts on Windows
- Improve COM port detection using System.IO.Ports
- Update README with improved Windows workflow

Fixes Windows-specific issues:
- No more hardcoded paths (C:\Users\ruv\...)
- Dynamic libclang and Python path resolution
- Auto-detection of ESP toolchain location
- Better error handling and user feedback

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 22:11:58 +00:00
rUv
77f391b0b7 fix(ci): Fix formatting and workflow permission issues
- Run cargo fmt across all crates (468 files formatted)
- Add permissions for PR comments in benchmarks.yml
- Add continue-on-error for PR comment steps
- Remove Docker service from postgres-extension-ci (pgrx manages own postgres)
- Add permissions to postgres-extension-ci.yml

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 22:11:57 +00:00
rUv
f9674573ac docs(ruvllm-esp32): Add npm CLI and esp32-flash references
- Add Option C: npx CLI quickstart section with all commands
- Add npm package link to Crate & Package Links table
- Add esp32-flash flashable project reference
- Update Related section with npm and esp32-flash links

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 15:49:05 +00:00
rUv
9dc47be92e fix(ruvLLM): Update esp32 README version badge to use crates.io
Replace static version badge with dynamic crates.io badge

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 15:43:56 +00:00
rUv
59431a88af docs(ruvLLM): SEO optimize README and clarify installation options
- Add badges (crates.io, npm, license)
- Improve title with primary keywords
- Add Installation Options section clarifying:
  - npm CLI tool (npx ruvllm-esp32)
  - Rust library (crates.io)
  - Clone project option
- Add SEO keywords section
- Mark esp32-flash Cargo.toml as publish=false
- Enhance npm package.json with 20 keywords
- Copy README to npm directory for package

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 15:43:27 +00:00
rUv
fecd864d61 docs(ruvLLM): Comprehensive README with all features documented
- Add value proposition section (why RuvLLM ESP32)
- Document all 10 major features with technical details
- Add supported hardware comparison table (ESP32 variants)
- Add npx quickstart as primary installation method
- Document all serial commands with examples
- Add complete feature guide with code samples
- Include memory/performance benchmarks
- Add project structure documentation
- Document feature flags and library API usage

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 15:40:00 +00:00
rUv
d902f0f1a4 feat(ruvLLM): Complete full-feature ESP32 flash with npx installation
## Changes

### Full Feature Port
- Port all optimizations: binary_quant, product_quant, lookup_tables,
  micro_lora, sparse_attention, pruning
- Port federation module: pipeline, tensor_parallel, speculative, protocol
- Port ruvector module: micro_hnsw, semantic_memory, rag, anomaly

### Cross-Platform Installation
- Add npm package for `npx ruvllm-esp32` commands
- CLI supports: install, build, flash, monitor, config, cluster, info
- Auto-detect serial ports on Windows, Linux, macOS
- Platform-specific toolchain installation

### Build System
- Add GitHub Actions workflow for automated releases
- Build binaries for Linux (x64/ARM64), macOS (x64/ARM64), Windows
- WASM build support for browser/Node.js
- Multi-feature Cargo.toml: esp32, wasm, host-test, federation, full

### Features
- INT8/Binary quantization (32x compression)
- Product quantization (8-32x compression)
- MicroLoRA on-device adaptation
- Sparse attention patterns (sliding window, strided, BigBird)
- HNSW vector search (1000+ vectors in <20KB)
- Semantic memory with context-aware retrieval
- RAG (Retrieval-Augmented Generation)
- Anomaly detection via embedding distance
- Speculative decoding (2-4x speedup potential)
- Multi-chip federation support

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 15:37:51 +00:00
rUv
fb2383092d feat(ruvLLM): Add cross-platform ESP32 flash project
Complete flashable implementation with:
- INT8 quantized transformer (~20KB RAM)
- HNSW vector index for RAG
- UART command interface (gen/add/ask/stats)
- Cross-platform installers (Linux, macOS, Windows)
- Multi-chip cluster configuration (pipeline parallelism)
- Docker build environment
- Comprehensive documentation

Installation options:
- One-line: ./install.sh && ./install.sh flash
- Makefile: make install && make flash PORT=/dev/ttyUSB0
- Docker: docker run -v $(pwd):/app ruvllm-esp32 build

Cluster support:
- cluster.example.toml: 5-chip pipeline config
- cluster-flash.sh/ps1: Flash all chips with roles
- cluster-monitor.sh: tmux multi-pane monitoring

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 04:07:44 +00:00
rUv
f2b7fb1aab docs(ruvLLM-esp32): Add honest benchmark methodology and prior art v0.2.0
BREAKING: Replaces inflated claims with transparent benchmark tiers

## Changes
- Add 3-tier benchmark methodology (Measured/Simulated/Projected)
- Acknowledge prior art (esp32-llm, LiteRT, CMSIS-NN, Syntiant)
- Correct performance claims with proper caveats
- Single-chip: 20-50 tok/s (measured), not 236 tok/s (simulated)
- Multi-chip scaling: ~4-5x projected, not 48x
- Energy gating: 10-100x projected, architecture not yet measured

## Why
Previous README presented simulation numbers as hardware measurements.
This update makes claims defensible for engineers evaluating the project.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 02:13:33 +00:00
rUv
25edff5f91 feat(ruvLLM-esp32): Add complete ESP32 LLM inference crate v0.1.1
- INT8/INT4/Binary quantization for memory efficiency
- Multi-chip federation with pipeline/tensor parallelism (48x speedup)
- SNN-gated inference for 107x energy reduction (4.7mW vs 500mW)
- RuVector integration: Micro HNSW, semantic memory, RAG, anomaly detection
- WASM runtime support for hot-swappable plugins
- 10 application domains with 80+ use cases
- 96 passing tests, published to crates.io

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 02:06:46 +00:00
rUv
0ef643cca2 Add WebAssembly binary and TypeScript definitions for rvlite
- Introduced a new WebAssembly binary file `rvlite_bg.wasm` for the rvlite project.
- Added TypeScript definitions in `rvlite_bg.wasm.d.ts` to expose various functions and memory management for the WebAssembly module.
2025-12-25 19:50:53 +00:00
rUv
935062c229
feat(mincut): Add temporal hypergraphs and federated strange loops examples (#81)
Implements Cognitive Frontier research specifications:

Temporal Hypergraphs (5 phases):
- Phase 1: TemporalInterval, TemporalHyperedge, TimeSeries, AllenRelation
- Phase 2: TemporalIndex, TemporalHypergraphDB with time-range queries
- Phase 3: CausalLearner with spike-timing learning (STDP-like)
- Phase 4: TemporalQuery enum and QueryExecutor (AT TIME, DURING, CAUSES)
- Phase 5: TemporalMinCut and CausalMinCut for intervention planning

Federated Strange Loops (4 phases):
- Phase 1: ClusterObservation, ClusterRegistry, ObservationProtocol
- Phase 2: FederationMetaNeuron (Level 3), CrossClusterInfluence
- Phase 3: SpikeConsensus (novel!), pairwise synchrony, consensus voting
- Phase 4: PatternDetector with 5 EmergentPattern types

Novel research contributions:
1. Spike-Based Distributed Consensus
2. Emergent Role Specialization
3. Hierarchical Self-Organization
4. Collective Meta-Cognition

Bump version to 0.1.29

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

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-25 14:29:54 -05:00
rUv
96e6a54e13 docs(mincut): Major README improvements + SEO optimization
Examples README (examples/mincut/):
- New title: "Networks That Think For Themselves"
- Added compelling intros with analogies for all 6 examples
- Added "Core Insight" section with visual network comparison
- Added "Why This Changes Everything" performance comparison
- Fixed run commands to use -p ruvector-mincut format
- Added badges linking to crates.io, docs.rs, GitHub, ruv.io

Crate README (crates/ruvector-mincut/):
- Added "Self-Organizing Network Examples" section with table
- Links to GitHub examples guide

Cargo.toml SEO:
- Improved description for discoverability
- Added keywords: graph, minimum-cut, network-analysis, self-healing, dynamic-graph
- Added categories: algorithms, data-structures, science, mathematics, simulation
- Added homepage (ruv.io) and documentation links
- Registered all 7 examples in crate

Version bump: 0.1.25 → 0.1.26

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-25 17:08:06 +00:00
rUv
2080ff3a3d
feat(mincut): Add deep SNN-MinCut integration with six-layer architecture (#79) 2025-12-24 20:11:12 -05:00
rUv
ebbe5e5923
feat(mincut): Add subpolynomial-time dynamic minimum cut system (#74) 2025-12-23 07:53:32 -05:00
rUv
d2f5d8a935 fix(node): Add metadata support to Rust bindings
- Add metadata field to JsVectorEntry (as JSON string)
- Add metadata and vector fields to JsSearchResult
- Add filter field to JsSearchQuery for filtered searches
- Update get() to return metadata
- Add VectorDBWrapper in ruvector for automatic JSON conversion
- Bump versions: @ruvector/core@0.1.28, ruvector@0.1.35

Fixes #71

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-13 19:09:37 +00:00