Skip to content

feat: add AI chat sidebar for log analysis#312

Open
georgexu99 wants to merge 2 commits intomainfrom
gxu-sleuth-pilot
Open

feat: add AI chat sidebar for log analysis#312
georgexu99 wants to merge 2 commits intomainfrom
gxu-sleuth-pilot

Conversation

@georgexu99
Copy link
Copy Markdown
Contributor

@georgexu99 georgexu99 commented Apr 9, 2026

This PR adds an AI assistant sidebar powered by Claude via AWS Bedrock that helps engineers find and diagnose bugs in Slack desktop log files.

The assistant can search/read loaded logs, read state files, search configured codebase directories, and pull in architectural context from webapp, slack-desktop, and electron repos.

Screenshare.-.2026-04-08.5_37_47.PM.mp4

yarn lock is 5k lines due to the anthropic sdk, the bedrock sdk and some remark and markdown plugins

things that we have added:

  • AI chat panel with streaming responses and markdown rendering
  • tools that our ai can use: list_log_files, read/search_log_entries, read_state_file as well as read_repo_context tool with local-first + GitHub remote fallback (for electron/electron and other public repos)
  • Codebase search/read tools gated behind Preferences directory config: users can manually add folders in which the ai can search within
  • auth: this uses AWS SSO auth via fma-sso-assume-role just like slack claude/slack tend. This whole feature is hidden from users if they don't have the necessary toggles/roles
  • Resizable sidebar, keyboard shortcut (Cmd+L), menu item.
  • claude and i also added a preferences button at the bottom left of the app.

🤖 Generated with Claude Code

Add an AI assistant sidebar powered by Claude via AWS Bedrock that helps
engineers find and diagnose bugs in Slack desktop log files. The assistant
can search/read loaded logs, read state files, search configured codebase
directories, and pull in architectural context from webapp, slack-desktop,
and electron repos.

- AI chat panel with streaming responses and markdown rendering
- Tool-use loop: list_log_files, read/search_log_entries, read_state_file
- read_repo_context tool with local-first + GitHub remote fallback
- Codebase search/read tools gated behind Preferences directory config
- AWS SSO auth via fma-sso-assume-role (feature hidden from external users)
- Resizable sidebar, keyboard shortcut (Cmd+L), menu item

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Stop auto-scrolling when the user scrolls up during streaming, so they
can read earlier content without being pulled to the bottom. A floating
arrow button appears to jump back to the latest output. Auto-scroll
resumes automatically when a new user message is sent.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
@georgexu99 georgexu99 requested a review from erickzhao April 9, 2026 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant