This repository was archived by the owner on Mar 21, 2026. It is now read-only.
Feat/tui support#25
Merged
adhityaravi merged 10 commits intomainfrom Dec 20, 2025
Merged
Conversation
cc00365 to
07bd3dd
Compare
There was a problem hiding this comment.
Pull request overview
This PR implements TUI (Text User Interface) support for gundog, addressing issue #24. It refactors the codebase into a monorepo structure with three packages: gundog-core (shared types and client), gundog-client (TUI and CLI), and gundog (server with indexing). The changes enable remote interaction with the gundog daemon through an interactive terminal interface with WebSocket-based communication.
Key Changes:
- Monorepo workspace structure with shared core package
- WebSocket API for real-time daemon communication
- Interactive TUI with search, navigation, and file preview
- Client/server architecture supporting remote daemon access
Reviewed changes
Copilot reviewed 43 out of 71 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tox.ini | Updates test paths for monorepo structure with separate package source directories |
| pyproject.toml | Converts to workspace root configuration managing three packages |
| packages/*/pyproject.toml | Individual package configurations for core, client, and gundog |
| packages/gundog/src/gundog/_daemon.py | Adds WebSocket endpoint and extends HTTP API for TUI support |
| packages/gundog/src/gundog/_cli.py | Extends client CLI when available, otherwise provides server-only commands |
| packages/core/src/gundog_core/* | New shared package with types, config, client, and error definitions |
| packages/client/src/gundog_client/* | New TUI implementation with Textual framework |
| tests/unit/test_daemon_*.py | Unit tests for WebSocket and daemon functionality |
| tests/integration/* | Integration tests for TUI and WebSocket features |
| adr/adr-002-gundog-tui.md | Architecture decision record for TUI implementation |
| README.md | Updated documentation for new packages and TUI usage |
Comments suppressed due to low confidence (1)
packages/client/src/gundog_client/_tui/_app.py:1
- This function is defined inside the 'query' command function but appears to be a standalone utility. Consider moving it to module level or a separate utilities module for better organization and reusability.
"""Main TUI application for gundog.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
4d1778b to
662ef47
Compare
662ef47 to
370c97b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #24