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

lsm / neokai / 25591566667
82%

Build:
DEFAULT BRANCH: dev
Ran 09 May 2026 04:22AM UTC
Jobs 28
Files 513
Run time 2min
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

09 May 2026 04:22AM UTC coverage: 82.667% (-0.02%) from 82.69%
25591566667

push

github

web-flow
fix: forward image attachments through OpenAI Responses bridge (#1831)

* fix: forward image attachments through OpenAI Responses bridge

The OpenAI (Codex) provider was silently dropping image content blocks
sent by the SDK. The appendUserBlocks function only handled text and
tool_result blocks, ignoring image blocks entirely.

Changes:
- Add AnthropicContentBlockImage to the translator types
- Extend ResponsesInputItem to support input_image content blocks
- Convert image blocks to OpenAI Responses API input_image format
  (data URL: data:image/jpeg;base64,...)
- Update token estimation to account for image content
- Add unit tests for image translation and end-to-end forwarding

* fix: address review feedback on image attachment bridge

- Preserve source-order of interleaved text/image blocks in user messages
- Support URL-based image sources (source.type: 'url') in addition to base64
- Replace base64-length token heuristic with fixed per-image estimate (100)
  that aligns with OpenAI's vision tokenization (~85 for low detail)
- Set ProviderCapabilities.vision = true in AnthropicToCodexBridgeProvider

* fix: handle non-text tool_result blocks, validate image sources, reject unsupported blocks

- toolResultText now preserves non-text blocks (images) as placeholders
  instead of producing undefined via block.text
- imageBlockToInputImage validates source.type and throws for unknown
  types (e.g. 'file') instead of falling through to invalid data URLs
- appendUserBlocks throws on unsupported user block types (document,
  etc.) instead of silently dropping them
- Increase ESTIMATED_IMAGE_TOKENS from 100 to 300 to cover the common
  auto/high-detail case
- Update AnthropicContentBlockToolResult type to allow image blocks in
  tool_result.content, and fix downstream consumers (gemini, ollama,
  token-estimator) to handle mixed content gracefully

* fix: catch translation errors, preserve multimodal tool outputs, return 400s

- Wrap buildResponsesRequest ... (continued)

8193 of 11374 branches covered (72.03%)

Branch coverage included in aggregate %.

86 of 125 new or added lines in 5 files covered. (68.8%)

1 existing line in 1 file now uncovered.

63925 of 75865 relevant lines covered (84.26%)

289.55 hits per line

Uncovered Changes

Lines Coverage ∆ File
28
90.42
-2.0% packages/daemon/src/lib/providers/openai-responses-bridge/server.ts
9
75.68
-8.94% packages/daemon/src/lib/providers/provider-anthropic-compat/token-estimator.ts
2
86.39
-0.51% packages/daemon/src/lib/providers/ollama-bridge-server.ts

Coverage Regressions

Lines Coverage ∆ File
1
75.68
-8.94% packages/daemon/src/lib/providers/provider-anthropic-compat/token-estimator.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-0-shared - 25591566667.1 09 May 2026 04:22AM UTC 28
83.74
GitHub Action Run
2 daemon-online-agent-sdk - 25591566667.2 09 May 2026 04:23AM UTC 278
22.51
GitHub Action Run
3 daemon-online-coordinator - 25591566667.3 09 May 2026 04:23AM UTC 278
7.38
GitHub Action Run
4 daemon-2-handlers - 25591566667.4 09 May 2026 04:23AM UTC 123
57.09
GitHub Action Run
5 daemon-online-git - 25591566667.5 09 May 2026 04:23AM UTC 278
19.02
GitHub Action Run
6 daemon-online-websocket - 25591566667.6 09 May 2026 04:23AM UTC 278
17.98
GitHub Action Run
7 daemon-online-sdk - 25591566667.7 09 May 2026 04:23AM UTC 278
22.39
GitHub Action Run
8 daemon-5-space-runtime - 25591566667.8 09 May 2026 04:23AM UTC 146
40.26
GitHub Action Run
9 daemon-online-rpc-3 - 25591566667.9 09 May 2026 04:23AM UTC 278
20.15
GitHub Action Run
10 daemon-online-rpc-2 - 25591566667.10 09 May 2026 04:24AM UTC 278
23.92
GitHub Action Run
11 daemon-5-space-agent - 25591566667.11 09 May 2026 04:23AM UTC 167
28.47
GitHub Action Run
12 daemon-5-space-workflow - 25591566667.12 09 May 2026 04:22AM UTC 105
31.55
GitHub Action Run
13 daemon-4-space-storage - 25591566667.13 09 May 2026 04:23AM UTC 125
55.23
GitHub Action Run
14 daemon-online-rpc-1 - 25591566667.14 09 May 2026 04:23AM UTC 278
19.39
GitHub Action Run
15 daemon-online-rewind-1 - 25591566667.15 09 May 2026 04:24AM UTC 278
22.7
GitHub Action Run
16 daemon-online-space-2 - 25591566667.16 09 May 2026 04:25AM UTC 278
32.47
GitHub Action Run
17 daemon-online-features-2 - 25591566667.17 09 May 2026 04:23AM UTC 278
22.92
GitHub Action Run
18 web - 25591566667.18 09 May 2026 04:24AM UTC 222
76.93
GitHub Action Run
19 daemon-online-rewind-2 - 25591566667.19 09 May 2026 04:23AM UTC 278
23.26
GitHub Action Run
20 daemon-online-features-1 - 25591566667.20 09 May 2026 04:24AM UTC 278
23.28
GitHub Action Run
21 daemon-online-lifecycle - 25591566667.21 09 May 2026 04:23AM UTC 278
22.96
GitHub Action Run
22 daemon-online-rpc-4 - 25591566667.22 09 May 2026 04:24AM UTC 278
23.84
GitHub Action Run
23 daemon-online-convo - 25591566667.23 09 May 2026 04:23AM UTC 278
22.38
GitHub Action Run
24 daemon-online-mcp - 25591566667.24 09 May 2026 04:23AM UTC 278
18.31
GitHub Action Run
25 daemon-1-core - 25591566667.25 09 May 2026 04:23AM UTC 283
38.4
GitHub Action Run
26 daemon-online-space-1 - 25591566667.26 09 May 2026 04:24AM UTC 278
32.37
GitHub Action Run
27 daemon-online-components - 25591566667.27 09 May 2026 04:23AM UTC 278
17.85
GitHub Action Run
28 daemon-5-space-other - 25591566667.28 09 May 2026 04:23AM UTC 124
31.49
GitHub Action Run
Source Files on build 25591566667
  • Tree
  • List 513
  • Changed 6
  • Source Changed 6
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25591566667
  • 15b72910 on github
  • Prev Build on dev (#25589170979)
  • Next Build on dev (#25593215896)
  • 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