[PR #459] Add search, continue commands and Nix packaging #484

Closed
opened 2026-03-02 04:13:45 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/git-ai-project/git-ai/pull/459

State: closed
Merged: Yes


Summary

  • Nix flake packaging: Add flake.nix with NixOS and Home Manager modules, comprehensive settings options (includePromptsInRepositories, defaultPromptStorage), and documentation
  • git-ai search command: Search AI prompt sessions by commit, commit range, file (with line ranges), pattern, or prompt ID — with JSON, verbose, and summary output modes
  • git-ai continue command: Restore AI session context from search results, with launch (spawns Claude Code), clipboard, and interactive TUI session selection modes
  • git-ai-search skill: Claude Code skill for AI context discovery using the new search/continue commands
  • Toolchain pinning: Pin Rust toolchain to 1.93.0 via rust-overlay; add libexec symlink for Fork git client compatibility
  • Integration tests: Comprehensive test suites for both search and continue commands

Test plan

  • cargo test passes for existing and new integration tests
  • git-ai search --commit <sha> returns prompt metadata for a known commit
  • git-ai search --file <path> --lines <range> filters correctly
  • git-ai continue --commit <sha> outputs formatted context blocks
  • git-ai continue --commit <sha> --launch spawns Claude Code with context
  • nix build produces a working git-ai binary
  • NixOS and Home Manager module options validate correctly

🤖 Generated with Claude Code


Open with Devin
**Original Pull Request:** https://github.com/git-ai-project/git-ai/pull/459 **State:** closed **Merged:** Yes --- ## Summary - **Nix flake packaging**: Add `flake.nix` with NixOS and Home Manager modules, comprehensive settings options (`includePromptsInRepositories`, `defaultPromptStorage`), and documentation - **`git-ai search` command**: Search AI prompt sessions by commit, commit range, file (with line ranges), pattern, or prompt ID — with JSON, verbose, and summary output modes - **`git-ai continue` command**: Restore AI session context from search results, with launch (spawns Claude Code), clipboard, and interactive TUI session selection modes - **`git-ai-search` skill**: Claude Code skill for AI context discovery using the new search/continue commands - **Toolchain pinning**: Pin Rust toolchain to 1.93.0 via rust-overlay; add libexec symlink for Fork git client compatibility - **Integration tests**: Comprehensive test suites for both search and continue commands ## Test plan - [ ] `cargo test` passes for existing and new integration tests - [ ] `git-ai search --commit <sha>` returns prompt metadata for a known commit - [ ] `git-ai search --file <path> --lines <range>` filters correctly - [ ] `git-ai continue --commit <sha>` outputs formatted context blocks - [ ] `git-ai continue --commit <sha> --launch` spawns Claude Code with context - [ ] `nix build` produces a working `git-ai` binary - [ ] NixOS and Home Manager module options validate correctly 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/git-ai-project/git-ai/pull/459" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1"> <img src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1" alt="Open with Devin"> </picture> </a> <!-- devin-review-badge-end -->
kerem 2026-03-02 04:13:45 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#484
No description provided.