Skip to content

[cold-review] feat(cli): Cursor-only display_links MCP (#1516) - #130

Closed
heavygee wants to merge 3 commits into
mainfrom
feat/display-links
Closed

[cold-review] feat(cli): Cursor-only display_links MCP (#1516)#130
heavygee wants to merge 3 commits into
mainfrom
feat/display-links

Conversation

@heavygee

Copy link
Copy Markdown
Owner

Fork-side cold-review stage. Not for merge.

Upstream target: tiann/hapi issue 1516 (display_links).

Spin for reviewers: this is a Cursor-ACP-only MCP tool we did not want. Cursor drops doubled letters in visible assistant text; remote operators tap 404s. Claude/Codex/OpenCode do not get the tool. Please comment on the upstream PR if you run Cursor ACP and have never seen the drop.

See body that will go to tiann/hapi in the worktree file localdocs/pr-1516-upstream.md (gitignored) / the upstream PR once fork review is clean.

heavygee and others added 3 commits August 13, 2026 09:29
Cursor-routed agents drop doubled letters when recalling URLs; store
href bytes built outside the model (MCP display_links + CLI fallback)
and render a tappable SessionChat card without a fake user turn.

Fixes tiann#1516

Co-authored-by: Cursor <cursoragent@cursor.com>
Doubled-letter URL recall is a Cursor-routed failure mode. Keep the
paint path and CLI fallback, but do not advertise display_links to
Claude/Codex/OpenCode/Grok tool lists or system prompts.

Co-authored-by: Cursor <cursoragent@cursor.com>
Estate hosts bind Cursor state under /var/lib/hapi/cursor via a home
symlink; refusing the symlink directory left overlay install dead and
pushed agents toward stale project mcp.json sidecars. Resolve to the
real directory (and honor HAPI_CURSOR_MCP_CONFIG_DIR); keep refusing
symlinked mcp.json files.

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

Copy link
Copy Markdown
Owner Author

Cold-review staging only. Claude Sonnet review: Ready to push yes (1 cosmetic nit). Promoted to tiann#1564. Closing this fork PR (not for merge).

@heavygee

Copy link
Copy Markdown
Owner Author

Superseded by tiann#1564. Fork-stage only.

@heavygee heavygee closed this Aug 13, 2026
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