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

dcdpr / jp / 24531539367
66%

Build:
DEFAULT BRANCH: main
Ran 16 Apr 2026 08:13PM UTC
Jobs 1
Files 284
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

16 Apr 2026 08:09PM UTC coverage: 64.187% (+0.01%) from 64.177%
24531539367

push

github

web-flow
feat(cli): Add `--style` preset flag to `conversation print` (#568)

Add a `--style` / `-s` flag to `jp conversation print` with two presets
that override the active config's rendering behaviour:

- `brief`: hides reasoning blocks, tool arguments, and tool results;
only user messages, assistant text, and tool-call headers are shown.
- `full`: forces reasoning visible, shows full JSON tool arguments, and
renders tool results without truncation.

Example usage:

```
jp conversation print --style brief
jp conversation print --style full
```

This is useful when piping a conversation to another tool or reading it
as a quick summary (`brief`), or when debugging an agentic run and
needing every detail (`full`).

The renderer's tool-style lookup was also corrected: tool call and
response rendering now properly fall back to `defaults.style` when no
per-tool override exists, rather than silently using hard-coded
defaults. Custom-formatter output is now only replayed when the
parameters style is `Custom`, preventing stale rendered arguments from
appearing with other styles.

`ToolsConfig::iter_mut` was added to `jp_config` to support bulk
mutation of per-tool styles when applying a preset.

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

44 of 48 new or added lines in 3 files covered. (91.67%)

4 existing lines in 2 files now uncovered.

22712 of 35384 relevant lines covered (64.19%)

205.54 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
93.9
0.25% crates/jp_cli/src/cmd/conversation/print.rs
2
91.58
-0.89% crates/jp_cli/src/render/turn.rs

Coverage Regressions

Lines Coverage ∆ File
3
0.0
-33.33% crates/jp_cli/src/render/metadata.rs
1
91.58
-0.89% crates/jp_cli/src/render/turn.rs
Jobs
ID Job ID Ran Files Coverage
1 24531539367.1 16 Apr 2026 08:13PM UTC 284
64.19
GitHub Action Run
Source Files on build 24531539367
  • Tree
  • List 284
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24531539367
  • 9ac9d6d2 on github
  • Prev Build on main (#24529090111)
  • Next Build on main (#24534241672)
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