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

dcdpr / jp / 28881218217
69%

Build:
DEFAULT BRANCH: main
Ran 07 Jul 2026 04:17PM UTC
Jobs 1
Files 432
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

07 Jul 2026 04:14PM UTC coverage: 68.157% (+0.06%) from 68.097%
28881218217

push

github

web-flow
feat(cli, config): Add "Stop (cancel & exit)" tool interrupt action (#852)

The tool interrupt menu gains a fourth choice, "Stop (cancel & exit)"
(key `s`), alongside Continue, Stop & respond, and Restart. Choosing it
cancels the running tools, records each tool's cancellation response,
and ends the turn immediately without sending a follow-up request to the
assistant. The same behavior is available headless via
`interrupt.tool_call.action = "stop"`, skipping the menu entirely.

Cancelled tool calls no longer share one hardcoded rejection message.
`conversation.tools.*.cancellation_response` sets the response recorded
when a tool is cancelled without a custom message (defaulting to the
previous canned notice), and
`conversation.tools.<name>.cancellation_response` overrides it per tool.
"Stop & respond" still lets the user type a custom message that is
recorded for every cancelled call instead.

`InterruptAction::ToolCancelled` and `ToolInterruptResult::Cancelled`
now carry `response: Option<String>` plus an `exit: bool` flag, and
`ExecutionResult` exposes `stopped` so `run_turn_loop` can persist the
recorded responses and break out of the turn without looping back to the
assistant.

---------

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

103 of 108 new or added lines in 5 files covered. (95.37%)

38731 of 56826 relevant lines covered (68.16%)

678.88 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
69.72
1.77% crates/jp_cli/src/cmd/query/tool/coordinator.rs
2
77.3
0.26% crates/jp_cli/src/cmd/query/turn_loop.rs
Jobs
ID Job ID Ran Files Coverage
1 28881218217.1 07 Jul 2026 04:17PM UTC 432
68.16
GitHub Action Run
Source Files on build 28881218217
  • Tree
  • List 432
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28881218217
  • 71c01189 on github
  • Prev Build on main (#28873271327)
  • Next Build on main (#28901254408)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc