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

lsm / neokai / 25967243745
81%

Build:
DEFAULT BRANCH: dev
Ran 16 May 2026 04:38PM UTC
Jobs 0
Files 0
Run time –
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

Canceled at 16 May 2026 11:51PM UTC via web
25967243745

push

github

web-flow
fix(web): show error message for failed Edit/Read/Write tool results (#1927)

* fix(web): show error message for failed Edit/Read/Write tool results

ToolResultCard rendered only input/diff for Edit/Read/Write, hiding
the actual error output when isError=true. Added an error display
block at the top of expanded content that shows the file path and
error reason. Suppressed success-specific renderers (CodeViewer,
DiffViewer) when the tool failed to avoid confusing output.

Also added unit tests covering error display for all three tools.

* refactor(web): type-narrow Edit/Read/Write tool outputs with SDK interfaces

Replace typeof-guessing in ToolResultCard with typed guards:
- FileReadOutput: handles text, image, file_unchanged, notebook, pdf, parts
- FileEditOutput: renders structuredPatch diff when available, falls back
  to input old_string/new_string DiffViewer
- FileWriteOutput: shows create-vs-update label, content, and gitDiff stats

Types mirrored locally in sdk-tool-types.ts because the web tsconfig
excludes packages/shared/src/sdk/ from compilation.

Added unit tests for all typed output shapes.

* fix(web): use DiffViewer for Edit output, restore RunningBorder comment

- Edit tool now renders DiffViewer with oldString/newString as primary
  visual instead of raw structuredPatch in CodeViewer. structuredPatch
  shown as collapsible detail in detailed variant only.
- Restored RunningBorder architectural comment explaining overflow:hidden
  clipping behavior.
Source Files on build 25967243745
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #25967243745
  • dba0d6b1 on github
  • Prev Build on dev (#25965273066)
  • Next Build on dev (#25967340249)
  • Delete
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