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

dcdpr / jp / 19034261978 / 1
66%
main: 66%

Build:
DEFAULT BRANCH: main
Ran 03 Nov 2025 12:15PM UTC
Files 153
Run time 5s
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

03 Nov 2025 12:12PM UTC coverage: 48.957% (+0.9%) from 48.069%
19034261978.1

push

github

web-flow
feat(cli, editor): Allow editing configuration in query editor (#310)

Users can now modify the active configuration directly within the
`QUERY_MESSAGE.md` editor when using `jp query`. The editor displays a
subset of the current configuration in a TOML code block below a cut
marker, which can be edited (and amended) before submitting the query.
Invalid configuration will cause the editor to reopen with an error
message, allowing immediate correction.

Currently, the configuration section shows the model ID and reasoning
parameters, but any valid configuration properties can be set in this
code block. Changes made in the editor are merged with the existing
configuration and stored with the conversation message, eliminating the
need to close the editor and restart with different CLI arguments.

The editor also shows an improved conversation history section with
timestamps, model information, and properly formatted markdown for
assistant responses including reasoning content when available.

Implementation adds a new `QueryDocument` parser in
`crates/jp_cli/src/editor/parser.rs` that handles the structured format
of the query file, separating the query content from metadata sections.
The `edit_query` function now returns both the query text and any
configuration changes, which are merged into the partial config before
storing messages. Error handling includes validation feedback displayed
directly in the editor to streamline the correction workflow.

Related: #217

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

8119 of 16584 relevant lines covered (48.96%)

14.08 hits per line

Source Files on job 19034261978.1
  • Tree
  • List 153
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19034261978
  • 44eb950f on github
  • Prev Job for on main (#19033111101.1)
  • Next Job for on main (#20124258614.1)
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