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

dcdpr / jp / 25150333329
66%

Build:
DEFAULT BRANCH: main
Ran 30 Apr 2026 06:14AM UTC
Jobs 1
Files 294
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

30 Apr 2026 06:10AM UTC coverage: 64.655% (+0.3%) from 64.342%
25150333329

push

github

web-flow
feat(attachment_internal, cli): Add `jp://` attachment handler (#590)

Introduces the `jp_attachment_internal` crate, which resolves `jp://`
URIs into text attachments. Today only conversations are supported
(`jp-c...`).

A conversation attachment renders to markdown by default — turn headers,
role sections, tool call pairs — with a selector DSL controlling which
turns and content kinds to include:

```
--attach jp-c17013123456                   # last assistant response
--attach "jp-c17013123456?select=u,a:-1"   # last turn, both sides
--attach "jp-c17013123456?select=*:.."     # entire conversation
--attach "jp-c17013123456?raw"             # selected events as JSON
--attach "jp-c17013123456?raw=all"         # events + config + metadata
```

The CLI parser (`--attach`) now accepts a bare JP ID as shorthand. A
suffix after `?` that isn't a known parameter name (`select`, `raw`) is
automatically promoted to `select=`:

```
jp-c17013123456                  → jp://jp-c17013123456
jp-c17013123456?a:-1             → jp://jp-c17013123456?select=a:-1
jp-c17013123456?select=a:-1      → jp://jp-c17013123456?select=a:-1
jp-c17013123456?raw=all          → jp://jp-c17013123456?raw=all
```

A file path that happens to start with `jp-` but contains non-ID
characters (dots, slashes, uppercase) is left untouched and interpreted
as a regular path. Prepend `./` to force path interpretation if needed.

---------

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

402 of 488 new or added lines in 4 files covered. (82.38%)

23982 of 37092 relevant lines covered (64.66%)

183.35 hits per line

Uncovered Changes

Lines Coverage ∆ File
66
76.17
crates/jp_attachment_internal/src/lib.rs
15
0.0
0.0% crates/jp_cli/src/cmd/attachment.rs
5
96.93
crates/jp_attachment_internal/src/selector.rs
Jobs
ID Job ID Ran Files Coverage
1 25150333329.1 30 Apr 2026 06:14AM UTC 294
64.66
GitHub Action Run
Source Files on build 25150333329
  • Tree
  • List 294
  • Changed 7
  • Source Changed 3
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25150333329
  • 95f2857f on github
  • Prev Build on main (#25105079435)
  • Next Build on main (#25150647990)
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