GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(web): terminal links keep Unicode file paths intact by Maseeek · Pull Request #20264 · pingdotgg/t3code

Conversation

@Maseeek

@Maseeek Maseeek commented Oct 16, 2026 •
edited by juliusmarminge
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Terminal links containing Unicode names could lose their directory prefix and open the wrong path. The existing ordinary and quoted path matchers now accept Unicode letters, combining marks, and numbers. They preserve Windows separators, quoted names with spaces, and line/column suffixes. A segment boundary guard prevents repeated scanning of ordinary Unicode output.

Original fix by @Maseeek in this PR. The takeover integrates current main's quoted and Windows path support, trims redundant assertions, and adds one quoted-name regression.

Validation: all 120 focused terminal-link and Ghostty tests pass on the merged head. Replacing the matcher with main's version reproduces five Unicode failures. Changed-file lint and formatting and the web typecheck pass.

A Node benchmark of 8,192 separator-free Unicode characters fell from about 1.19 seconds before the guard to 0.38 ms after it. This measures matcher scaling, not browser frame timing. Adjacent prose without separators can be part of a Unicode filename; spaces or punctuation disambiguate it.

Independent Opus and Sol reviews passed after the segment-boundary correction.

Live verification used the integrated web terminal and the real server editor-launch path in an isolated fixture. A PATH-local code stub recorded the launcher arguments instead of starting an external editor. Before the fix, clicking the Unicode file link launched the truncated /żółć.ts:12:7; after it, the launcher received the full fixture path. A Unicode directory, quoted mój plik.ts, and an ASCII control also produced the correct paths. This does not claim native Windows or external VS Code verification.

Before:

Before: Unicode terminal link loses its directory prefix

After:

After: Unicode terminal links retain their full paths

Recorded editor-launch arguments

Prepared with Claude Opus 5.5, Claude Fable 5.1, and GPT-6.1 Sol via T3 Code, coordinated with Codex.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Maseeek
fix(web): terminal links keep Unicode file paths intact
29f0bdd
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Oct 16, 2026
macroscopeapp[bot]
macroscopeapp Bot approved these changes Oct 16, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 29f0bdd

Macroscope's review found this PR approvable — This is a small, self-contained terminal-link bug fix that broadens path matching to preserve Unicode filenames, with focused regression tests and no schema, deployment, security, billing, or static-analysis configuration changes.

You can add or adjust custom eligibility rules. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Warning

Review limit reached

Only developers with an assigned seat can use this organization's usage-based review budget, and seats here are assigned manually. Ask an admin to assign a seat, or change the review continuation mode in Billing.

Next included review available in 6 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Path: .coderabbit.config.ts
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3975ae66-2e90-435c-a590-6086fe2cee2f
📥 Commits

Reviewing files that changed from the base of the PR and between 29f0bdd and 83740a5.

📒 Files selected for processing: 2
  • apps/web/src/terminal-links.test.ts
  • apps/web/src/terminal-links.ts

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Path: .coderabbit.config.ts
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f1c30706-5c03-485e-8d78-efe6cb85233e
📥 Commits

Reviewing files that changed from the base of the PR and between cfafb4b and 29f0bdd.

📒 Files selected for processing: 2
  • apps/web/src/terminal-links.test.ts
  • apps/web/src/terminal-links.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

📝 Walkthrough

The terminal path matcher now accepts Unicode letters, combining marks, and numbers in path components. Parameterized tests verify extraction offsets and resolution of Unicode paths beneath the project directory.

Changes: Terminal path matching

Layer / File(s) Summary
Unicode path matching
apps/web/src/terminal-links.ts, apps/web/src/terminal-links.test.ts
FILE_PATH_PATTERN now accepts Unicode letters, combining marks, and numbers in path components. Tests verify complete path extraction, offsets, and resolution beneath /tmp/project.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested reviewers: maansenv

Merge Risk: ⚪ Minimal · up to 29f0b

Unicode file paths can now be linked from terminal output, and the inspected extraction and resolution paths show no concrete regression. The change is mergeable.

Pre-merge checks: Passed 4
Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description clearly explains the Unicode path problem, the implementation change, focused verification, benchmark results, live checks, limitations, and visual evidence. It does not include an exp…
Title check Passed The title is concise, conventional, and accurately describes the primary change: preserving Unicode file paths in web terminal links.
Full details: Description check

Explanation

The description clearly explains the Unicode path problem, the implementation change, focused verification, benchmark results, live checks, limitations, and visual evidence. It does not include an explicit issue or approval link, but it explains the focused bug fix and is otherwise substantially complete.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge self-assigned this Oct 18, 2026
@juliusmarminge

juliusmarminge commented Oct 18, 2026

Copy link
Copy Markdown
Member

Taking over this one. I’ll reduce the tests to the useful coverage, update the implementation against current main, and verify it before publishing the changes.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

juliusmarminge and others added 4 commits October 18, 2026 15:35
@juliusmarminge
fix(web): preserve Unicode paths across terminal matchers
8b26bd0
@juliusmarminge
Merge remote-tracking branch 'origin/main' into takeover/20264
494bab9
@juliusmarminge
fix(web): bound Unicode terminal path scanning
edd5e69
@juliusmarminge
Merge remote-tracking branch 'origin/main' into L50-20264
83740a5
@juliusmarminge
juliusmarminge merged commit 9ac1355 into pingdotgg:main Oct 20, 2026
27 checks passed

Uh oh!

There was an error while loading. Please reload this page.

Pipyakas pushed a commit to Pipyakas/t3code that referenced this pull request Oct 21, 2026
@Maseeek @juliusmarminge @Pipyakas
fix(web): terminal links keep Unicode file paths intact (pingdotgg#20264
d0e9783
)

Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 9ac1355)
@Baker-Harrison Baker-Harrison mentioned this pull request Oct 22, 2026
perf(web,desktop): stop re-doing work on every render and unblock the login-shell probe #23857
Closed
@only21mil only21mil mentioned this pull request Oct 23, 2026
fix(web): keep wide characters in terminal links #24013
Merged
TheDarkPhantom added a commit to TheDarkPhantom/avicode that referenced this pull request Oct 26, 2026
@TheDarkPhantom @claude
fix(web): terminal links keep Unicode file paths intact (pingdotgg#20264
9f48598
)

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This was referenced Oct 26, 2026
fix(web): app UI ports from upstream (2026-10-21) TheDarkPhantom/avicode#284
Merged
fix: follow-ups from reviewing the upstream sync ports TheDarkPhantom/avicode#286
Merged
@olafura olafura mentioned this pull request Nov 7, 2026
test(features): ledger upstream T3 Code through 30d0138540 hal-c2/hal-c2#1125
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@juliusmarminge juliusmarminge

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@Maseeek @juliusmarminge
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.