Repository navigation
Add relative Markdown links and per-Surface Back/Forward navigation - #1172
Merged
Merged
Conversation
- Lift in-place navigation into navigateInPlace and share retargetInPlace with the preview-slot retarget; one sourceChanged guard and one target position replace the repeated copies. - Capture the outgoing reading position best effort, so Back/Forward from a page that cannot answer still navigates. - Share hasToolHistory, toolNavigationPending, and toolHandlerName; reuse directoryOf and builtinHandler; route OSC document links through requestOpen without the ignored cwd. - Resolve heading fragments on demand instead of a MutationObserver rewriting ids on every edit; wait out a document load inside apply so the host makes one reading-position request instead of retrying across it. - Share isWebLink and CONTROLS; dedupe OSC open validation. - Drop the unused navigation fields from the dor ToolSurfaceRequest type, a redundant settling check, and ToolPanel's Markdown gate that could leave a request pending after a retarget. - Trim spec rules that restated code, and ratchet their budgets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying mouseterm with
|
| Latest commit: |
9513216
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6a9824f4.mouseterm.pages.dev |
| Branch Preview URL: | https://md-relative-links.mouseterm.pages.dev |
dormouse-bot
left a comment
Collaborator
There was a problem hiding this comment.
A reading-position restore that never gets a page leaves the Surface stuck in "navigation pending". Details are inline.
dormouse-bot
approved these changes
Oct 19, 2026
dormouse-bot
approved these changes
Oct 19, 2026
nedtwigg
requested a deployment
to
hosted-preview
October 19, 2026 03:42 — with
GitHub Actions
Waiting
This branch is waiting to be deployed
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.
Relative links in the built-in Markdown viewer now open through the normal file and Tool handlers. Plain click navigates in the current Surface; the context menu offers Open in another surface and Edit link, and Cmd/Ctrl-click opens in another Surface.
Back/Forward stays local to each Surface and restores Markdown scroll position, heading anchors, and source/rich-text mode. Existing matching Surfaces are reused without changing either history, and replacing a dirty document requires Save/Discard/Cancel. History survives live Workspace transfers but is excluded from durable saves.
The additive Tool protocol carries navigation and reading-state requests without new CLI syntax or expanded file grants. The playground and owning specs are updated. Claude simplify consolidated navigation helpers and removed continuous heading scans; follow-up review kept page-load retries within the host deadline.
Validation: