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

agentic-dev-library / thumbcode / 21933693261
56%

Build:
DEFAULT BRANCH: main
Ran 12 Feb 2026 04:35AM UTC
Jobs 1
Files 87
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

12 Feb 2026 04:34AM UTC coverage: 27.702% (-0.7%) from 28.372%
21933693261

push

github

web-flow
feat(ai): real Anthropic/OpenAI streaming + agent routing (#117)

* feat(ai): add AI client abstraction with Anthropic and OpenAI implementations

Create provider-agnostic AIClient interface with types for messages and
streaming chunks. Implement AnthropicClient using @anthropic-ai/sdk with
message streaming via the stream() API, and OpenAIClient using the openai
SDK with async iterator streaming. Add AIClientFactory for provider-based
client creation. Includes comprehensive unit tests for all components.

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

* feat(ai): replace ChatService mock with real AI streaming

Remove simulateAgentResponse() and getAgentResponsePlaceholder() mock
methods. Integrate AIClientFactory with CredentialService to resolve the
user's AI provider and API key from secure storage. Stream real AI
responses through the existing message delta event system. Add error
handling that displays helpful messages when no API key is configured.

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

* feat(ai): add agent-specific system prompts for response routing

Create AgentPrompts module with specialized system prompts for each agent
type: Architect (system design), Implementer (code generation), Reviewer
(code review), and Tester (test writing). Wire ChatService to use
agent-specific prompts when calling the AI client, giving each agent a
distinct personality and area of expertise.

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

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

399 of 2256 branches covered (17.69%)

Branch coverage included in aggregate %.

36 of 73 new or added lines in 5 files covered. (49.32%)

204 existing lines in 13 files now uncovered.

1075 of 3065 relevant lines covered (35.07%)

7.74 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
94.12
src/services/ai/AnthropicClient.ts
36
39.39
-6.62% src/services/chat/ChatService.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% app/(tabs)/settings.tsx
1
39.39
-6.62% src/services/chat/ChatService.ts
2
2.38
2.38% packages/core/src/github/GitHubApiService.ts
6
0.0
0.0% src/components/chat/CodeBlock.tsx
6
5.0
-1.25% src/components/layout/Spacer.tsx
10
0.0
0.0% src/components/code/DiffViewer.tsx
10
4.76
-0.24% src/components/feedback/Progress.tsx
15
2.86
-0.85% packages/core/src/api/api.ts
18
0.0
0.0% app/(tabs)/index.tsx
19
0.0
0.0% app/(tabs)/chat.tsx
24
0.0
0.0% src/components/code/FileTree.tsx
38
0.0
0.0% app/(onboarding)/create-project.tsx
54
0.0
0.0% app/settings/credentials.tsx
Jobs
ID Job ID Ran Files Coverage
1 unit-tests - 21933693261.1 12 Feb 2026 04:35AM UTC 87
27.7
GitHub Action Run
Source Files on build 21933693261
  • Tree
  • List 87
  • Changed 46
  • Source Changed 46
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #21933693261
  • c6c31bd0 on github
  • Prev Build on main (#21933639236)
  • Next Build on main (#21933739570)
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