Skip to content

Conversation

@nicholaspsmith
Copy link
Owner

Summary

  • Add broadcastLog function to send server-side log messages via SSE
  • Add server:log event listener in dashboard UI to display logs in browser console
  • Stream indexing progress from Ollama backend and indexer to connected clients
  • Enables real-time visibility into indexing operations directly in browser DevTools

This helps debug indexing issues by showing exactly what's happening on the server side in the browser console.

Test plan

  • Start MCP server and open dashboard
  • Open browser DevTools console
  • Trigger re-indexing and verify server logs appear with purple [server] prefix
  • Verify Ollama batch progress messages are streamed in real-time

🤖 Generated with Claude Code

Add broadcastLog function to send server-side log messages via SSE
to connected dashboard clients, enabling real-time visibility into
indexing operations directly in the browser console.

Co-Authored-By: Claude <noreply@anthropic.com>
@nicholaspsmith nicholaspsmith merged commit 577ec99 into main Jan 28, 2026
2 checks passed
@nicholaspsmith nicholaspsmith deleted the feat/stream-server-logs branch January 28, 2026 03:38
github-actions bot pushed a commit that referenced this pull request Jan 28, 2026
# [1.21.0](v1.20.0...v1.21.0) (2026-01-28)

### Features

* stream server-side logs to dashboard browser console ([#89](#89)) ([577ec99](577ec99))
@github-actions
Copy link

🎉 This PR is included in version 1.21.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants