fix: default grep_search to regex mode

Closes #101
This commit is contained in:
Timothy Jaeryang Baek 2026-04-08 13:03:47 -07:00
parent 8a491e8b90
commit 8c154351df
3 changed files with 8 additions and 2 deletions

View file

@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
## [0.11.33] - 2026-04-08
### Fixed
- `grep_search` now defaults to regex mode, matching actual grep behaviour. Patterns like `foo|bar` and `err.*timeout` work as expected without needing to set `regex=true` explicitly.
## [0.11.32] - 2026-03-30
### Changed

View file

@ -751,7 +751,7 @@ async def grep_search(
http_request: Request,
query: str = Query(..., description="Text or regex pattern to search for."),
path: str = Query(".", description="Directory or file to search in."),
regex: bool = Query(False, description="Treat query as a regex pattern."),
regex: bool = Query(True, description="Use regex. Set false for literal search."),
case_insensitive: bool = Query(
False, description="Perform case-insensitive matching."
),

View file

@ -1,6 +1,6 @@
[project]
name = "open-terminal"
version = "0.11.32"
version = "0.11.33"
description = "A remote terminal API."
readme = "README.md"
authors = [