feat(tui): open local file links - #2073
Closed
sethkarten wants to merge 1 commit into
Closed
Conversation
Contributor
Author
sethkarten
added a commit
that referenced
this pull request
Sep 7, 2026
…2068) * feat(coding-agent): show the model label on every agents-view row Resident summaries carry model info for all session kinds; only the renderer restricted the label to subagent rows. Drop the special case so any row whose summary has a model renders provider/id[:thinkingLevel] in the suffix region, still suppressed while pending delete/kill. * fix(coding-agent): open visible sessions without waiting for selection anchors Consolidates #2079 at d5b4926. * feat(tui): open local file links Consolidates #2073 at b6e83f0. * feat(coding-agent): highlight file references and command options Consolidates #1145 at 285ccf4. * feat: refresh Prime Inference models from the live catalog Consolidates #1928 at 24d3413. * feat(coding-agent): let root agents create sibling sessions Consolidates #1996 at 0c9c883. * feat(coding-agent): wake agents when asynchronous bash finishes Consolidates #2053 at 1bb4d43. * feat(coding-agent): simplify the agents view while retaining model details Consolidates #2087 at dc67428. Retains #2068 model visibility and #2079 immediate opening and query ownership. * fix(coding-agent): preserve background work and sibling-session credentials Keep managed shell commands active until completion delivery is accepted. Forward only effective same-provider transient auth when creating root sessions. Integration fixes for #2053 and #1996. * fix(coding-agent): address session lifecycle and rendering regressions Preserve sibling PATH and reject root creation after disposal. Treat background completions as new runs without duplicate as_completed wakes. Keep table delimiters visible and sanitize live catalog display metadata. Scope the stale-auth regression fixture to its cached Prime team. * fix(coding-agent): forward the selected provider environment credentials Preserve alias priority and runtime credential identity when creating sibling sessions. Pin that a create timeout never dispatches the task prompt. * fix(runtime): recheck creating-cell waits when shell commands settle Preserve late as_completed consumers without suppressing detached completion notices. Document the cached-wrapper result limitation. * fix(runtime): preserve background bash completion lifecycle Wait for process-group cleanup before releasing residency. Defer paused admission within the original request and report terminal rejection. Preserve notices after cancelled non-owning waits and clean up interrupted task construction. * fix(runtime): use a portable signal for construction cleanup Keep immediate POSIX cleanup and use the existing Windows job cleanup path without referencing SIGKILL. * fix(coding-agent): steer shell messages and stop losing supervisor launches Deliver labeled shell completion messages at the next safe turn boundary. Stop only an owned replacement child that loses to a current authenticated supervisor. --------- Co-authored-by: Seth <seth@primeintellect.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Prime Agent already renders
file://Markdown links as OSC 8 hyperlinks, but fullscreen mode rejected them when it handled mouse clicks. This made local file links do nothing while website links worked.No-Ticket: requested directly.
Changes
file:links through the existing fullscreen hyperlink handler.Validation
cd packages/tui && node --test --import tsx test/fullscreen.test.ts(46 passed)npm run checkNote
Low Risk
Single-protocol allowlist change in the TUI hyperlink handler with updated tests; no auth or data-path changes.
Overview
Fullscreen OSC 8 clicks now open
file://links, matching behavior for http(s) links when mouse reporting prevents the terminal from handling links natively.openHyperlinkstill rejects unsupported schemes (e.g.ssh://), malformed URLs, and URLs containing control characters. Opening uses the existingonOpenUrlhook or the platform default (open,xdg-open, Windows file handler).Reviewed by Cursor Bugbot for commit b6e83f0. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Add
file:protocol support toTUI.openHyperlinkopenerExtends the hyperlink opener in the fullscreen TUI to accept
file:URLs in addition to HTTP and HTTPS. File links are dispatched through the existing open-URL callback or platform opener, while other non-HTTP(S) schemes remain rejected. Tests now cover a percent-encodedfile:URL and an unsupportedssh:URL.Macroscope summarized b6e83f0.