Skip to content

fix(cli): show the full remote control link in the startup output - #3331

Merged
sailist merged 1 commit into
MoonshotAI:mainfrom
sailist:feat-107-08-28-rc-full-link
Aug 28, 2026
Merged

fix(cli): show the full remote control link in the startup output#3331
sailist merged 1 commit into
MoonshotAI:mainfrom
sailist:feat-107-08-28-rc-full-link

Conversation

@sailist

@sailist sailist commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Related Issue

No linked issue — this is a small display fix to the experimental remote control startup output.

Problem

When remote control starts, the printed "open " line showed a shortened URL in hyperlink-capable terminals: the device id was truncated with , and the scheme and query parameters were dropped. The full URL only existed as the OSC-8 hyperlink target, so users who wanted to read or copy the link directly could not see it in full. Terminals without hyperlink support already printed the full URL, so the two paths were also inconsistent.

What changed

  • formatRemoteControlOutput now renders the full URL as the visible link text in both the hyperlink and plain-text paths. The OSC-8 wrapper is kept, so the link stays clickable in supporting terminals.
  • Removed the now-unused shortRemoteControlUrl helper.
  • Updated the remote control output test to assert the full URL is the visible text and that no truncated form appears.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue (external PRs: the issue must have a maintainer's /approve).
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset. (This PR needs no changeset.)
  • Ran gen-docs skill, or this PR needs no doc update. (No doc update needed.)

@changeset-bot

changeset-bot Bot commented Aug 28, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 5620d4b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Aug 28, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@5620d4b
npx https://pkg.pr.new/@moonshot-ai/kimi-code@5620d4b

commit: 5620d4b

@sailist
sailist merged commit efce74e into MoonshotAI:main Aug 28, 2026
16 checks passed
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