Skip to content

feat(mecatui): render StatusML terminal hyperlinks - #1834

Merged
jbeda merged 4 commits into
mainfrom
impl/mecatui-status-hyperlinks
Sep 24, 2026
Merged

jbeda merged 4 commits into
mainfrom
impl/mecatui-status-hyperlinks

Conversation

@jbeda

@jbeda jbeda commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Render existing validated StatusML link spans as native OSC 8 terminal hyperlinks.
  • Preserve theme underline/color, sanitizer and URL-validation boundaries, and visual fallback on terminals without activation support.
  • Add acceptance coverage and update the StatusML user guide.

Development stage

  • Implementation — based on an approved, merged Plan / Interface PR

Contract linkage

  • Work classification: Bounded
  • Classification rationale: approved renderer-only terminal presentation behavior
  • Decision record: None — existing validated StatusML link metadata remains the only destination source
  • Human waiver of spine: No
  • Acceptance plan: docs/acceptance/mecatui-status-hyperlinks.md
  • Human decisions resolved and recorded: Yes
  • Plan / Interface PR: Plan: StatusML terminal hyperlinks #1830
  • Approved commit baseline: 9b6caf96555460530ad191eefadf0e414f45e2b0
  • Combined/exemption rationale: N/A

Interface conformance

Interfaces match approved contract: Yes. No flags, settings, APIs, mouse routing, OS opener, shell execution, or URI-policy changes.

Issue relationship

No tracking issue was provided.

Type of change

  • New feature
  • Documentation/process

Test plan

  • Focused hyperlink acceptance tests
  • task test
  • task test:race
  • task docs
  • task site:build
  • go run ./cmd/mecademo
  • task ac-trace-strict
  • task lint — root module completed cleanly; command timed out during the engine module after 600 seconds; focused affected-package lint passes.

User-facing change

Valid custom StatusML links in MecatUI headers and footers now emit OSC 8 terminal hyperlinks. Terminals that do not activate OSC 8 retain themed underlined text.

Special notes for reviewers

This is renderer-only: activation remains terminal-owned. The existing StatusML validation remains the sole hyperlink-destination boundary.

@jbeda
jbeda merged commit 0a68933 into main Sep 24, 2026
36 checks passed
@jbeda
jbeda deleted the impl/mecatui-status-hyperlinks branch September 24, 2026 04:49
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Sep 25, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant