Commit graph

10 commits

Author SHA1 Message Date
rUv
332eade586 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
4a28bbd64a 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
7febf16ebf 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
6bc40fb0e4 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
2cd3b1a937 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
e2217d8fbb 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
63401ef8a6 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
9b49b97d5f 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
6a47e37264 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
da0bf30c93 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