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

decentraland / agent-server / 24578204328
40%
main: 42%

Build:
Build:
LAST BUILD BRANCH: feat/ecs-alert
DEFAULT BRANCH: main
Ran 17 Apr 2026 05:30PM UTC
Jobs 1
Files 20
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

17 Apr 2026 05:28PM UTC coverage: 39.812% (-2.3%) from 42.1%
24578204328

Pull #90

github

nachomazzara
feat: add CLI backend (claude -p) as alternative to pi-agent

Add a second agent backend that spawns Claude CLI as a subprocess,
selectable via AGENT_BACKEND=cli (default remains pi-agent).

Architecture:
  agent.ts          — router + auth infra (shared)
  agent/shared.ts   — rate limits, session labels, error helpers
  agent/types.ts    — AgentBackend interface, BackendRunOptions, RunResult
  agent/cli/        — CliBackend (claude -p subprocess)
  agent/pi/         — PiAgentBackend (in-process pi-coding-agent)

Both backends implement AgentBackend.run() with symmetric fallback
handling (429 rate limits + 401/403 auth errors).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Pull Request #90: feat: spawn process

334 of 879 branches covered (38.0%)

Branch coverage included in aggregate %.

121 of 400 new or added lines in 8 files covered. (30.25%)

3 existing lines in 1 file now uncovered.

596 of 1457 relevant lines covered (40.91%)

3.99 hits per line

Uncovered Changes

Lines Coverage ∆ File
93
0.0
src/agent/pi/index.ts
82
0.0
src/agent/cli/process.ts
65
0.0
src/mcp-subagent.ts
33
43.41
0.82% src/agent.ts
5
83.12
src/agent/cli/index.ts
1
30.97
0.0% src/slack.ts

Coverage Regressions

Lines Coverage ∆ File
3
43.41
0.82% src/agent.ts
Jobs
ID Job ID Ran Files Coverage
1 24578204328.1 17 Apr 2026 05:30PM UTC 20
39.81
GitHub Action Run
Source Files on build 24578204328
  • Tree
  • List 20
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #90
  • PR Base - main (#24576594824)
  • Delete
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