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

lsm / neokai / 25458927253
81%

Build:
DEFAULT BRANCH: dev
Ran 06 May 2026 08:21PM UTC
Jobs 28
Files 507
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

06 May 2026 08:20PM UTC coverage: 82.398%. First build
25458927253

push

github

web-flow
fix(agent): expose Task/Agent tools for non-Anthropic providers (#1805)

* fix(agent): expose Task/Agent tools for non-Anthropic providers when agents are configured

The SDK's claude_code preset may omit Task from the function schema on
non-Anthropic providers even though the system prompt still describes
agents. This causes a mismatch: the model sees agent descriptions but
has no callable tool to invoke them.

Changes:
- Add ensureAgentTools() pure function that injects Task, TaskOutput,
  TaskStop into the tools list whenever agents are configured.
- For explicit tool arrays: append missing agent tools.
- For undefined tool lists on non-Anthropic providers: expand to the
  full built-in array so the bridge receives agent tools.
- Space chat sessions are exempt (they explicitly restrict Task).
- Add provider-specific tests covering Anthropic, Copilot, Codex, and
  glm providers.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* refactor(query-options): address review feedback on PR #1805

- P2-1: Deduplicate tool list by replacing inline coordinator-mode allTools
  array with the shared FULL_BUILTIN_TOOL_LIST constant.
- P2-2: Replace hardcoded provider negative-list with named
  NATIVE_AGENT_TOOL_PROVIDERS constant and explanatory JSDoc.
- P2-3: Change session type fallback from invalid 'general' to valid
  'worker' (matches SessionType union default).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix(query-options): preserve explicit tool arrays for native providers

The Array.isArray(tools) branch in ensureAgentTools was appending agent
invocation tools unconditionally, even for Anthropic and anthropic-copilot
providers where the SDK handles agent tools natively. This caused a behavior
regression where explicit restricted tool lists (e.g. ['Read', 'Write'])
would unexpectedly gain Task/TaskOutput/TaskStop on native providers.

Add a NATIVE_AGENT_TOOL_PROVIDERS guard to the array branch so explicit
tool arrays are preserved... (continued)

8190 of 11322 branches covered (72.34%)

Branch coverage included in aggregate %.

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

62686 of 74695 relevant lines covered (83.92%)

288.22 hits per line

Jobs
ID Job ID Ran Files Coverage
1 daemon-5-space-runtime - 25458927253.1 06 May 2026 08:22PM UTC 146
39.37
GitHub Action Run
2 daemon-4-space-storage - 25458927253.2 06 May 2026 08:22PM UTC 122
51.05
GitHub Action Run
3 daemon-0-shared - 25458927253.3 06 May 2026 08:21PM UTC 28
83.57
GitHub Action Run
4 daemon-5-space-workflow - 25458927253.4 06 May 2026 08:21PM UTC 106
30.58
GitHub Action Run
5 daemon-5-space-agent - 25458927253.5 06 May 2026 08:21PM UTC 160
28.3
GitHub Action Run
6 daemon-online-convo - 25458927253.6 06 May 2026 08:23PM UTC 276
21.93
GitHub Action Run
7 daemon-online-features-2 - 25458927253.7 06 May 2026 08:22PM UTC 276
22.48
GitHub Action Run
8 daemon-2-handlers - 25458927253.8 06 May 2026 08:21PM UTC 123
57.22
GitHub Action Run
9 daemon-online-space-1 - 25458927253.9 06 May 2026 08:23PM UTC 276
31.83
GitHub Action Run
10 daemon-online-coordinator - 25458927253.10 06 May 2026 08:22PM UTC 276
7.25
GitHub Action Run
11 daemon-online-mcp - 25458927253.11 06 May 2026 08:23PM UTC 276
18.07
GitHub Action Run
12 daemon-online-websocket - 25458927253.12 06 May 2026 08:22PM UTC 276
17.73
GitHub Action Run
13 daemon-online-rewind-1 - 25458927253.13 06 May 2026 08:23PM UTC 276
22.26
GitHub Action Run
14 daemon-online-rpc-1 - 25458927253.14 06 May 2026 08:23PM UTC 276
19.14
GitHub Action Run
15 web - 25458927253.15 06 May 2026 08:22PM UTC 222
77.17
GitHub Action Run
16 daemon-online-rewind-2 - 25458927253.16 06 May 2026 08:23PM UTC 276
22.82
GitHub Action Run
17 daemon-online-rpc-4 - 25458927253.17 06 May 2026 08:23PM UTC 276
23.12
GitHub Action Run
18 daemon-online-agent-sdk - 25458927253.18 06 May 2026 08:22PM UTC 276
22.05
GitHub Action Run
19 daemon-online-components - 25458927253.19 06 May 2026 08:22PM UTC 276
17.6
GitHub Action Run
20 daemon-online-git - 25458927253.20 06 May 2026 08:23PM UTC 276
23.4
GitHub Action Run
21 daemon-online-features-1 - 25458927253.21 06 May 2026 08:22PM UTC 276
22.84
GitHub Action Run
22 daemon-online-rpc-3 - 25458927253.22 06 May 2026 08:23PM UTC 276
19.62
GitHub Action Run
23 daemon-online-space-2 - 25458927253.23 06 May 2026 08:23PM UTC 276
31.99
GitHub Action Run
24 daemon-1-core - 25458927253.24 06 May 2026 08:21PM UTC 280
38.8
GitHub Action Run
25 daemon-online-lifecycle - 25458927253.25 06 May 2026 08:22PM UTC 276
22.52
GitHub Action Run
26 daemon-online-rpc-2 - 25458927253.26 06 May 2026 08:23PM UTC 276
23.41
GitHub Action Run
27 daemon-online-sdk - 25458927253.27 06 May 2026 08:22PM UTC 276
21.95
GitHub Action Run
28 daemon-5-space-other - 25458927253.28 06 May 2026 08:21PM UTC 125
30.68
GitHub Action Run
Source Files on build 25458927253
  • Tree
  • List 507
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25458927253
  • 131d9abf on github
  • Prev Build on dev (#25452814107)
  • Next Build on dev (#25463083680)
  • 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