• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dcdpr / jp / 24158693542
67%

Build:
DEFAULT BRANCH: main
Ran 08 Apr 2026 09:18PM UTC
Jobs 1
Files 257
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Apr 2026 09:05PM UTC coverage: 64.39% (+0.08%) from 64.307%
24158693542

push

github

web-flow
enhance(cli): Add context lines, sort, and raw mode to `grep` (#523)

The `conversation grep` command gains several new flags that bring it
closer to the behaviour users expect from a grep-like tool.

`--context <N>` shows N lines of surrounding context around each match,
with non-adjacent groups separated by a `--` marker (matching the
behaviour of `grep -C`). Overlapping or adjacent groups are merged into
a single block automatically.

`--sort <field>` controls the order in which conversations are visited.
Results can be sorted by `created` (the default, derived from the
conversation ID timestamp), `activated` (last activation time), or
`updated` (last event time). Pair it with `--descending` to reverse the
order.

`--raw` strips the conversation-ID prefix and ANSI decoration, printing
only the matched and context lines — useful for piping into other tools.

JSON output is also supported: when `--format json` is active, results
are emitted as an array of objects with `id`, `text`, and `match`
fields, letting scripts distinguish context lines from actual matches.

Signed-off-by: Jean Mertz <git@jeanmertz.com>

139 of 159 new or added lines in 1 file covered. (87.42%)

20160 of 31309 relevant lines covered (64.39%)

198.08 hits per line

Uncovered Changes

Lines Coverage ∆ File
20
87.22
-0.47% crates/jp_cli/src/cmd/conversation/grep.rs
Jobs
ID Job ID Ran Files Coverage
1 24158693542.1 08 Apr 2026 09:18PM UTC 257
64.39
GitHub Action Run
Source Files on build 24158693542
  • Tree
  • List 257
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24158693542
  • 88ae4c55 on github
  • Prev Build on main (#24158681988)
  • Next Build on main (#24159695622)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc