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

lsm / neokai / 25029727971 / 21
86%
dev: 86%

Build:
DEFAULT BRANCH: dev
Ran 28 Apr 2026 02:00AM UTC
Files 290
Run time 10s
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

28 Apr 2026 01:57AM UTC coverage: 15.475% (-0.01%) from 15.486%
25029727971.21

push

github

web-flow
[copilot] Report Copilot context usage from bridge (#1680)

Consume Copilot SDK session.usage_info events in the bridge stream
handler to provide accurate context/token reporting through the
Anthropic-compatible bridge, without adding provider-specific logic
to daemon context retrieval or UI components.

- Add context-usage module: snapshot Copilot usage_info fields
  (systemTokens, toolDefinitionsTokens, conversationTokens,
  currentTokens, tokenLimit) into bridge-facing usage snapshots
- Wire session.usage_info into streaming: final SSE message_delta
  carries real input_tokens from Copilot instead of resetting to 0
- Add /v1/messages/count_tokens endpoint: returns request-scoped
  input_tokens estimate plus latest Copilot context snapshot
- Add /v1/models endpoint: returns Anthropic-compatible model
  metadata from Copilot client.listModels() with fallback list
- Add updateInputTokens() to AnthropicStreamWriter so usage_info
  can update the writer mid-stream before the epilogue

All integration stays within the bridge boundary — no changes to
ContextFetcher, UI context components, or provider-agnostic daemon code.

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

12542 of 81048 relevant lines covered (15.47%)

7.79 hits per line

Source Files on job daemon-online-components - 25029727971.21
  • Tree
  • List 290
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25029727971
  • c792903d on github
  • Prev Job for on dev (#25029433547.17)
  • Next Job for on dev (#25032579890.14)
  • 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