Skip to content
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
feat/tui_support
Dec 20, 2025
Merged

Feat/tui support#25
adhityaravi merged 10 commits intomainfrom
feat/tui_support

Conversation

@adhityaravi
Copy link
Copy Markdown
Owner

fixes #24

@adhityaravi adhityaravi requested a review from Copilot December 20, 2025 02:40
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread packages/gundog/src/gundog/_cli.py
Comment thread packages/client/src/gundog_client/_tui/_app.py
@adhityaravi adhityaravi force-pushed the feat/tui_support branch 14 times, most recently from 4d1778b to 662ef47 Compare December 20, 2025 03:33
@adhityaravi adhityaravi merged commit 3ca8188 into main Dec 20, 2025
15 checks passed
@adhityaravi adhityaravi deleted the feat/tui_support branch December 20, 2025 03:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a tui client

2 participants