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

umputun / agterm / 41534075859
94%

Build:
DEFAULT BRANCH: master
Ran 02 Nov 2026 10:12PM UTC
Jobs 1
Files 237
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

02 Nov 2026 10:04PM UTC coverage: 94.792% (+0.04%) from 94.752%
41534075859

push

github

web-flow
Show a cmd-clicked text file or path:line location as a read-only page (#874)

* docs: add text file link overlay implementation plan

* feat(text): add text page builder and bounded text file reader

TextPage maps a file's extension or exact name to a bundled highlight.js language, decides which clicked files open as text, and builds the page: the text escaped as inert data in a hidden div (a <pre> parser drops a leading newline), language and line as attributes, and a CSP that loads nothing. TextProbe reads through BoundedFile and refuses invalid UTF-8 and NUL bytes in its check, so a binary file fails the click.

* feat(text): render a text page source in an html overlay

HtmlSource.text is a themed page with no file grant, bridge, link or navigation: its policy arm runs before the shared exits and allows only the page's own about:blank. The registry loads it through TextProbe off the main actor and renders it with highlight.js and text.js in the renderer's content world, page JavaScript off; text.js writes the text through textContent, the highlight.js value being the only markup it assigns, and draws a line gutter with the requested line marked and scrolled to. Browser hand-off is refused, and the tree reports htmlOverlays[].text with the file, mapped language and requested line. Highlighting stops at 256 KB, where WebKit measured about 0.23 s over plain text and 1.2 s at 1 MB. The markdown page tests move to their own class over a shared page-test fixture.

* feat(control): open a text page with overlay open --text

session.overlay.open takes textFile and line: an absolute path to a file TextPage accepts, taken literally, exclusive with every other source and refused with the program and page flags, and refused as a page companion; line must be 1 or more and needs textFile. The app reads and validates the file before opening, so a binary or unreadable file opens nothing, and a presented session refuses the page. The CLI sends --text FILE resolve... (continued)

175 of 176 new or added lines in 10 files covered. (99.43%)

19365 of 20429 relevant lines covered (94.79%)

3365201.05 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
98.71
0.1% agtermCore/Sources/agtermCore/HtmlOverlay.swift
Jobs
ID Job ID Ran Files Coverage
1 41534075859.1 02 Nov 2026 10:12PM UTC 237
94.79
GitHub Action Run
Source Files on build 41534075859
  • Tree
  • List 237
  • Changed 9
  • Source Changed 9
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41534075859
  • 9b8926a5 on github
  • Prev Build on master (#41498287733)
  • Next Build on master (#41597739365)
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