Commit History
-
fix: patch DynamicCache.seen_tokens for MiniCPM3-4B compatibilityβ
GitHub Actions +1: Claude Sonnet 4.6transformers >= 4.47 removed DynamicCache.seen_tokens in favour of get_seq_length(). MiniCPM3-4B's trust_remote_code modeling file still calls .seen_tokens, causing AttributeError at generation time. Adds the attribute back via setattr() at module import so the model's generated code keeps working without modifying the model repo. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>c11a7a4
-
feat(rag): docs ingestion + UI/bus enhancements (P3 continuation)β
GitHub Actions- Expand app.py _seed_corpus() to ingest main docs/ folder (CAPABILITY_CONTRACT, GLOSSARY, M01-M13, X01-X04, OVERVIEW, ARCHITECTURE, roadmap, etc.) - Content-addressed deduplication via BLAKE3 (automatic no-op on re-ingest) - Integrated with Ask tab RAG query + routing traces - Enhanced bus capability.py with trust levels and request context - Improved RAG service ingestion flow with doc_cid tracking - Updated UI ask.py and mesh.py tabs for better query visualization - Settings tab shows active corpus and document count - Updated tasks.md with completion statusf08047d
-
feat: WebLLM browser agent with PeerJS mesh, HybridRAG, news signals, and easter-egg tickerβ
GitHub Actions- webagent/: complete browser-only app (no backend) - WebLLM ReAct agent with tool-calling (search, scrape, summarize, remember, schedule, RAG) - PeerJS over-internet mesh (anchor + roster gossip + reclaim failover) - News RSS ingest with CORS proxy throttling, signal scoring (war/cyber/space/aviation/earth/finance), custom alerts - HybridRAG integration (localStorage-persisted BM25+phonetic+Levenshtein+n-gram+sentence-window) - Tab UI (Agent/News/Mesh) with model selector, chat, mesh peers, signal sharing - Press 'e' to toggle live news ticker overlay (easter-egg) - Python Phase 1 fixes (unstaged from prior session): - hearthnet/services/llm/backends/hf_local.py: local Ollama/llama.cpp backend - hearthnet/services/chat/service.py: chat routing - hearthnet/services/demo.py: demo service - app.py: Gradio web UI - hearthnet/node.py: node initialization - hearthnet/ui/tabs/ask.py: ask tab UI Screenshots: 37/38 passed (1 pre-existing rag-trace failure)78cc96f
-
Build: Add Android APK, PWA, and deployment guideβ
GitHub Actions- β Android APK built (3.56 MB debug build) - β Progressive Web App fully functional with Service Worker - β Updated config.xml with Android target SDK 36 - β Comprehensive deployment guide (ANDROID_DEPLOYMENT_GUIDE.md) - β README updated with download links - β All PWA files: manifest.json, sw.js, pwa.py - β Test coverage for spec compliance (M01-M32, X01-X09) Build artifacts linked in HF Space: - Web: https://huggingface.co/spaces/build-small-hackathon/HearthNet - APK: platforms/android/app/build/outputs/apk/debug/app-debug.apk - Docker: Dockerfile for container deployment - Guides: ANDROID_DEPLOYMENT_GUIDE.md, build/android/CORDOVA_BUILD_GUIDE.md Ready for deployment and Play Store distribution.38bd54a