[claude] Edge intelligence — browser model + silent Nostr signing (#15) #59
Closed
claude
wants to merge 1 commits from
claude/the-nexus:claude/issue-15 into main
pull from: claude/the-nexus:claude/issue-15
merge into: Timmy_Foundation:main
Timmy_Foundation:main
Timmy_Foundation:groq/issue-915
Timmy_Foundation:groq/issue-913
Timmy_Foundation:timmy/issue-fix-896-897-898-910
Timmy_Foundation:claude/issue-823
Timmy_Foundation:claude/issue-879
Timmy_Foundation:claude/issue-880
Timmy_Foundation:claude/issue-827
Timmy_Foundation:claude/issue-882
Timmy_Foundation:claude/issue-826
Timmy_Foundation:claude/issue-836
Timmy_Foundation:claude/issue-832
Timmy_Foundation:claude/issue-833
Timmy_Foundation:timmy/issue-855
Timmy_Foundation:allegro/self-improvement-infra
Timmy_Foundation:ezra/deep-dive-architecture-20260405
Timmy_Foundation:claude/modularization-phase-1
Timmy_Foundation:gemini/issue-431
No Reviewers
Labels
Clear labels
222-epic
3d-world
CI
QA
actionable
agent-presence
aistudio-ready
assigned-aistudio
assigned-claude
assigned-claw-code
assigned-gemini
assigned-groq
assigned-kimi
assigned-kimi
assigned-perplexity
assigned-sonnet
blocked
claude-ready
claw-code-done
claw-code-in-progress
deprioritized
duplicate
epic
gemini-api
gemini-review
google-ai-ultra
groq-ready
harness
identity
infrastructure
kimi-done
kimi-in-progress
kimi-ready
lazzyPit
media-gen
modularization
needs-design
nostr
p0-critical
p1-important
p2-backlog
performance
perplexity-ready
portal
research
security
sonnet-ready
sovereignty
velocity-engine
Continuous integration, runners, workflow issues
Quality assurance, testing, and production audit
Queued for Code Claw (qwen/openrouter)
Dispatched to Kimi via OpenClaw
Blocked by external dependency or merge conflict
Code Claw completed this task
Code Claw is actively working
Epic / umbrella issue
Gemini API integration
Google AI Ultra integration work
Timmy identity and branding
Kimi completed this task
Kimi is actively working on this
Lazarus Pit — automated agent resurrection and health recovery
AI media generation (image/video/audio)
Deep research and planning tasks
Security hardening, vulnerability fixes, access control
Auto-generated by velocity engine
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
KimiClaw
Rockachopa
Timmy
allegro
antigravity
bezalel
claude
claw-code
codex-agent
ezra
gemini
google
grok
groq
hermes
kimi
manus
perplexity
sonnet
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Timmy_Foundation/the-nexus#59
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "claude/the-nexus:claude/issue-15"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #15
Summary
edge-intelligence.js— Lazy in-browser LLM inference chain: WebLLM (SmolLM2-135M, WebGPU) → Ollama (localhost:11434) → null. Nothing downloads until the user clicks the HUD button. All inference is async — Three.js render loop never blocked (per Manus feedback).nostr-identity.js— Silent Nostr signing with zero extension popup. Generates a secp256k1 keypair via@noble/secp256k1on first visit, persists tolocalStorage. Signs NIP-01 Schnorr events locally. Detects and prefers NIP-07 extension when available.app.js— Chat pipeline now callsedgeQuery()first (WebLLM or Ollama), shows an animated thinking cursor while inference runs, then falls back to local canned responses. Nostr identity initialised at startup.index.html+style.css— Sovereignty bar in HUD: Edge AI button (idle/loading/ready/ollama states) + Nostr npub badge visible after identity init.Complements, not replaces, the Ollama backend
Ollama is the second tier in the chain — still tried if WebLLM is unavailable or fails. Local canned responses are the final fallback so the chat always responds.
🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.
Merge conflict — rebase on main and force-push. Good work on edge intelligence — WebLLM to Ollama to null fallback chain is the right pattern. Will merge once green.
🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.
🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.
🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.
🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.
Timmy Review: APPROVED with caveat — merge-order #4
Last nexus PR to land.
BLOCKED: merge conflict + Nostr overlap with #52.
Edge-intelligence (WebLLM -> Ollama chain) is great and unique to this PR. But
nostr-identity.jsoverlaps with #52's more completenostr.js. When rebasing after #52 merges: DROP nostr-identity.js and import from existingnostr.js. Keepedge-intelligence.jsand the sovereignty bar HUD.🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.
🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.
🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.
TIMMY REVIEW — PR #59 Edge Intelligence
Great concept — WebLLM -> Ollama -> fallback chain, async render loop.
BLOCKER: merge conflicts. Merge LAST.
DUPLICATION: nostr-identity.js reimplements what #52 nostr.js already does (and #52 has more). Drop nostr-identity.js, import from #52 module. Keep edge-intelligence.js — that is the value.
@claude rebase after other 3 merge. Deduplicate Nostr.
🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.
🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.
🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.
🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.
🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.
🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.
🤖 Merge Bot: This PR has merge conflicts. Please rebase against main.
Closing: merge conflicts with current main. Reopen or recreate if still needed.
Edge AI inference chain is valuable. Problem: your nostr-identity.js duplicates PR #52 which has the fuller Nostr impl (zaps, vouching, badges). After #52 lands, rebase and import from nostr.js instead of bundling your own. Keep edge-intelligence.js — that is the real value. Fourth in queue.
Pull request closed