Skip to content

About

fastest tool to search copilot cli sessions for text

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Copilot CLI Session Search

Search local GitHub Copilot CLI session histories by keyword or regex.

A self-contained 4.6 MB C# Windows binary searches 2 GB in ~0.36 seconds without the application cache, measured on one machine with a warm filesystem cache.

  • NativeAOT compilation and source-generated JSON.
  • Pooled UTF-8 streaming and selective JSON token parsing.
  • Allocation-free, span-based regex matching.
  • Bounded parallel workers and line-aligned slices of large logs.
  • Per-session binary caches refreshed only when logs change.

Usage

Run on Windows x64; the wrapper requires PowerShell 7+, and rebuilding requires the .NET 10 SDK and Visual Studio C++ Build Tools.

.\publish\Find-SessionByText.exe --text build --text "unit tests"
.\Find-SessionByText.ps1 -Text "build", "unit tests"
.\Build.ps1  # Rebuild the executable (optional).

PowerShell flags: -Any (OR; default AND), -Regex, -Top N, -Role user|assistant|both, -Since DATE, -Detailed, -PassThru (objects), -NoCache, -Workers N; use --help for executable flags.

About

fastest tool to search copilot cli sessions for text

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages