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

lsm / neokai / 28214896225
82%

Build:
DEFAULT BRANCH: dev
Ran 26 Jun 2026 03:19AM UTC
Jobs 28
Files 616
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

26 Jun 2026 03:18AM UTC coverage: 81.908% (+0.04%) from 81.868%
28214896225

push

github

web-flow
feat: add get_external_event MCP tool for on-demand raw event fetch (#2194)

* feat: add get_external_event MCP tool for on-demand raw event fetch

Adds a new get_external_event MCP tool that returns the full raw
external-event record (summary, body, payload, rawPayload, actor,
eventType, externalUrl, ...) via externalEventStore.getById. This is the
on-demand deep-dive counterpart to the lean event "essence" that a
companion task will inject into sessions -- agents need a fetch path
before the injected message is slimmed. Non-breaking / additive.

Changes:
- node-agent-tool-schemas.ts: GetExternalEventSchema + type, added to the
  aggregate NODE_AGENT_TOOL_SCHEMAS map.
- node-agent-tools.ts: get_external_event handler + tool registration,
  gated on an optional externalEventStore config field. Reads are scoped
  to the current space so events never leak across spaces.
- space-agent-tools.ts: mirrored the tool + handler on the LH-agent /
  space-agent surface with the same optional store + space scoping.
- task-agent-manager.ts + rpc-handlers/index.ts: wire the store through
  the node-agent config so sub-sessions get the tool.
- space-runtime-service.ts: pass externalEventStore to all three
  createSpaceAgentMcpServer call sites.
- space-runtime.ts: fix a stale reference in formatExternalEventDigestMessage
  -- it pointed agents at subscribe_external_event (the subscribe tool) for
  details; now points at get_external_event(eventId).

Tests cover both surfaces: known id returns the full record (incl.
rawPayload), unknown id returns not-found, cross-space ids are treated as
not-found, and the tool registers only when the store is wired.

* fix: include event ids in rate-limit digest so get_external_event is callable

Review feedback (P2): the rate-limit digest told agents to call
get_external_event(eventId), but the digest only carried topics and
timestamps — no event ids — so the agent had no argument to fetch.

Include the coalesced event ids in form... (continued)

11397 of 16422 branches covered (69.4%)

Branch coverage included in aggregate %.

61 of 65 new or added lines in 7 files covered. (93.85%)

556 existing lines in 7 files now uncovered.

95692 of 114321 relevant lines covered (83.7%)

299.98 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
88.7
0.21% packages/daemon/src/lib/space/tools/node-agent-tools.ts
1
82.61
0.07% packages/daemon/src/lib/space/tools/space-agent-tools.ts

Coverage Regressions

Lines Coverage ∆ File
226
79.33
0.65% packages/daemon/src/lib/rpc-handlers/live-query-handlers.ts
222
90.9
0.01% packages/daemon/src/storage/schema/migrations.ts
56
85.38
1.2% packages/daemon/src/lib/state-projection-service.ts
31
71.74
0.04% packages/daemon/src/app.ts
17
87.64
-0.7% packages/web/src/components/space/SpaceTaskPane.tsx
3
85.71
0.0% packages/shared/src/types/space.ts
1
90.38
-4.06% packages/web/src/components/space/SpaceTaskUnifiedThread.tsx
Jobs
ID Job ID Ran Files Coverage
1 daemon-online-agent-sdk - 28214896225.1 26 Jun 2026 03:19AM UTC 358
21.78
GitHub Action Run
2 daemon-online-space-1 - 28214896225.2 26 Jun 2026 03:20AM UTC 358
31.37
GitHub Action Run
3 web - 28214896225.3 26 Jun 2026 03:20AM UTC 248
74.6
GitHub Action Run
4 daemon-4-space-migrations-b - 28214896225.4 26 Jun 2026 03:20AM UTC 48
56.03
GitHub Action Run
5 daemon-4-space-migrations-a - 28214896225.5 26 Jun 2026 03:20AM UTC 73
37.88
GitHub Action Run
6 daemon-online-space-2 - 28214896225.6 26 Jun 2026 03:21AM UTC 358
31.44
GitHub Action Run
7 daemon-online-features-1 - 28214896225.7 26 Jun 2026 03:20AM UTC 358
22.46
GitHub Action Run
8 daemon-online-sdk - 28214896225.8 26 Jun 2026 03:20AM UTC 358
21.78
GitHub Action Run
9 daemon-0-shared-handlers-workflow - 28214896225.9 26 Jun 2026 03:20AM UTC 363
32.5
GitHub Action Run
10 daemon-online-convo - 28214896225.10 26 Jun 2026 03:20AM UTC 358
21.69
GitHub Action Run
11 daemon-online-features-2 - 28214896225.11 26 Jun 2026 03:19AM UTC 358
21.91
GitHub Action Run
12 daemon-4-space-storage - 28214896225.12 26 Jun 2026 03:19AM UTC 159
54.4
GitHub Action Run
13 daemon-online-coordinator - 28214896225.13 26 Jun 2026 03:19AM UTC 347
7.8
GitHub Action Run
14 daemon-1-core - 28214896225.14 26 Jun 2026 03:19AM UTC 364
34.71
GitHub Action Run
15 daemon-online-rewind-1 - 28214896225.15 26 Jun 2026 03:20AM UTC 358
21.9
GitHub Action Run
16 daemon-online-git - 28214896225.16 26 Jun 2026 03:19AM UTC 358
18.37
GitHub Action Run
17 daemon-online-rpc-3 - 28214896225.17 26 Jun 2026 03:20AM UTC 358
18.96
GitHub Action Run
18 daemon-online-lifecycle - 28214896225.18 26 Jun 2026 03:20AM UTC 358
22.07
GitHub Action Run
19 daemon-online-rpc-2 - 28214896225.19 26 Jun 2026 03:20AM UTC 358
22.81
GitHub Action Run
20 daemon-online-rpc-1 - 28214896225.20 26 Jun 2026 03:20AM UTC 358
18.63
GitHub Action Run
21 daemon-online-websocket - 28214896225.21 26 Jun 2026 03:19AM UTC 358
17.63
GitHub Action Run
22 daemon-online-rewind-2 - 28214896225.22 26 Jun 2026 03:20AM UTC 358
22.36
GitHub Action Run
23 daemon-5-space-agent-other - 28214896225.23 26 Jun 2026 03:19AM UTC 285
25.96
GitHub Action Run
24 daemon-5-space-runtime-b - 28214896225.24 26 Jun 2026 03:19AM UTC 183
47.4
GitHub Action Run
25 daemon-online-components - 28214896225.25 26 Jun 2026 03:19AM UTC 358
17.53
GitHub Action Run
26 daemon-online-rpc-4 - 28214896225.26 26 Jun 2026 03:20AM UTC 358
22.49
GitHub Action Run
27 daemon-online-mcp - 28214896225.27 26 Jun 2026 03:19AM UTC 358
17.85
GitHub Action Run
28 daemon-5-space-runtime-a - 28214896225.28 26 Jun 2026 03:19AM UTC 129
39.18
GitHub Action Run
Source Files on build 28214896225
  • Tree
  • List 616
  • Changed 31
  • Source Changed 16
  • Coverage Changed 31
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28214896225
  • 7b79ca4e on github
  • Prev Build on dev (#28214742412)
  • Next Build on dev (#28215180670)
  • 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