Walkthrough
-
The editor launch request now supports an optional project root. Web editor links pass the effective workspace root, and the server includes it before positioned file arguments for JetBrains editors.
Changes: Project-root-aware editor launch
Layer / File(s) Summary Carry the project root through the launch request
packages/contracts/src/editor.ts,apps/web/src/editorPreferences.ts,apps/web/src/components/ChatMarkdown.tsx,apps/web/src/components/ThreadTerminalDrawer.tsxLaunchEditorInputaccepts an optional, trimmed, non-emptyprojectRoot. The editor preference hook includes it when provided. Chat markdown passescwd, and the terminal drawer passesworktreePath ?? cwd.Add the root to positioned launch arguments
apps/server/src/process/externalLauncher.ts,apps/server/src/process/externalLauncher.test.tsFor positioned line-columntargets, the server prepends the project root when one is defined. The test checks the root appears before the line, column, and file arguments.Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix · Severity of issue fixed: Medium
Suggested reviewers:
maria-rcks
Merge Risk: External image Low · up to 76811
-
Direct editor-launch requests with trailing whitespace in the project path may open the wrong project. This is a narrow edge case.
Pre-merge checks: Passed 4
-
Check name Status Explanation Title check Passed The title clearly summarizes the main change: JetBrains IDEs open file links in the thread’s project. Linked Issues check Passed Issue #5885requires the known project root before positioned JetBrains file arguments. The optionalprojectRootfield carries that root explicitly, and the launcher adds it for positioned `line-col…Out of Scope Changes check Passed The contract, launcher, chat and terminal caller updates, and launcher test all support the #5885fix. The change does not add unrelated behavior.Description check Passed The description covers the required Problem, Change, Scope and approval, and Verification sections. It explains the issue and fix, justifies the scope, reports focused test and IDE results, and identi… Full details: Linked Issues check
-
Explanation
Issue
#5885requires the known project root before positioned JetBrains file arguments. The optionalprojectRootfield carries that root explicitly, and the launcher adds it for positionedline-columntargets while preserving unpositioned targets. Chat passescwd; terminal passesworktreePath ?? cwd. The launcher test now checks the root precedes the line, column, and file arguments. Diff and Git actions are reported as unpositioned, so they do not require the positioned-target argument change.
Full details: Description check
-
Explanation
The description covers the required Problem, Change, Scope and approval, and Verification sections. It explains the issue and fix, justifies the scope, reports focused test and IDE results, and identifies checks that were not run. It also names the model and harness.
-
Finishing Touches
-
Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts