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

dcdpr / jp / 26055214511
66%

Build:
DEFAULT BRANCH: main
Ran 18 May 2026 07:23PM UTC
Jobs 1
Files 319
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

18 May 2026 07:20PM UTC coverage: 64.979% (+0.02%) from 64.958%
26055214511

push

github

web-flow
fix(cli): Fix printing of flattened nested lists and maps (#656)

`pre_render_for_prompt` was gated entirely on `FormatMode::Unattended`,
which meant tools using `Json`, or `FunctionCall` parameter styles would
not show the tool call arguments before the approval prompt whenever
`run = "ask"`, unless `format = "unattended"` was set.

`FormatMode::Ask` exists solely to defer side-effecting *custom*
formatters (user-controlled shell commands) until after the user has
approved the call. Built-in styles are pure transformations with no side
effects, so deferring them serves no safety purpose and actively harms
the UX: the user cannot make an informed approval decision without
seeing the call arguments.

The fix changes the pre-render gate to branch on `ParametersStyle`:
`Custom` still respects `FormatMode`; `Json`, `FunctionCall`, and `Off`
always pre-render regardless of `format_mode`.

Doc comments on `ToolsDefaultsConfig::format` and `ToolConfig::format`
are updated to state clearly that the field only affects
`ParametersStyle::Custom`.

---------

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

10 of 10 new or added lines in 1 file covered. (100.0%)

26950 of 41475 relevant lines covered (64.98%)

207.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26055214511.1 18 May 2026 07:23PM UTC 319
64.98
GitHub Action Run
Source Files on build 26055214511
  • Tree
  • List 319
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26055214511
  • 851b585d on github
  • Prev Build on main (#26024721445)
  • Next Build on main (#26086411961)
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