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

microlinkhq / microlink / 34700801283
80%

Build:
DEFAULT BRANCH: master
Ran 12 Sep 2026 02:58PM UTC
Jobs 4
Files 49
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

12 Sep 2026 02:57PM UTC coverage: 78.867% (+0.4%) from 78.432%
34700801283

push

github

web-flow
feat(mcp): declare output schemas for every tool (#47)

* feat(mcp): declare output schemas for every tool

Mirror the TypeScript definitions shipped by the library
(packages/core/src/index.d.ts, packages/search/src/index.d.ts) as zod
schemas so clients can rely on structuredContent.data shapes:

- Asset for screenshot/pdf, Asset | null for logo/video/audio (the
  primary media fields are null when no asset is detected).
- Metadata, Embed, FunctionResult<unknown>, string content, string
  collections, records for extract/lighthouse, unknown[] technologies.
- Search pages as their JSON projection (lazy html()/markdown()/next()
  helpers never reach the wire); one tolerant shape per vertical.
- Index signatures map to catchall(unknown) so new API fields always
  validate.

Error results are exempt: the SDK skips output validation when isError
is true.

Signed-off-by: Kiko Beats <2096101+Kikobeats@users.noreply.github.com>

* fix(mcp): content output schemas accept null

markdown/html/text return null when the data rule matches nothing
(verified against the live API: data.markdown and data.text are null
on a non-matching selector). Collections are safe: the library
defaults them to [].

Signed-off-by: Kiko Beats <2096101+Kikobeats@users.noreply.github.com>

* fix(mcp): accept null embed and string lighthouse output

embed() returns data.iframe verbatim, so a successful oEmbed miss is
null. Lighthouse output html/csv is a string, not an object.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Signed-off-by: Kiko Beats <2096101+Kikobeats@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

652 of 844 branches covered (77.25%)

Branch coverage included in aggregate %.

117 of 117 new or added lines in 2 files covered. (100.0%)

3998 of 5052 relevant lines covered (79.14%)

25.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 @microlink/mcp - 34700801283.1 12 Sep 2026 02:58PM UTC 26
97.71
GitHub Action Run
2 microlink.io - 34700801283.2 12 Sep 2026 02:58PM UTC 17
83.55
GitHub Action Run
3 @microlink/mql - 34700801283.3 12 Sep 2026 02:58PM UTC 4
66.58
GitHub Action Run
4 @microlink/function - 34700801283.4 12 Sep 2026 02:58PM UTC 2
94.67
GitHub Action Run
Source Files on build 34700801283
  • Tree
  • List 49
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #34700801283
  • be241fe7 on github
  • Prev Build on master (#34699947272)
  • Next Build on master (#34700939026)
  • 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