feat(web): reveal chat file chips in the system file manager #7140
MergedSunkenInTime(GitHub profile, opens in a new tab)merged 31 commits into
main fromrefs/pull/7140/headmerged by shivamhwp(GitHub profile, opens in a new tab) View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:L
- apps/server/src/process/externalLauncher.ts line 407OutdatedResolvedby cursor[bot](GitHub profile, opens in a new tab)@@ -384,3 +394,14 @@384394 };385395 });386396397+function fileManagerRevealArgs(398+ target: string,399+ platform: NodeJS.Platform,400+ path: Path.Path,401+): ReadonlyArray<string> {402+ switch (platform) {403+ case "darwin":404+ return ["-R", target];405+ case "win32":406+ // explorer.exe expects the switch and path as one comma-joined argument.407+ return [`/select,${target}`];
t3-code-bot[bot](GitHub profile, opens in a new tab) requested changes
apps/web/src/components/ChatMarkdown.tsx line 1406OutdatedResolvedby t3-code-bot[bot](GitHub profile, opens in a new tab)@@ -1336,4 +1402,5 @@13361402 reportFailure: false,13371403 });13381404 const preparedConnection = usePreparedConnection(threadRef?.environmentId ?? null);1339- const environmentId = useActiveEnvironmentId();1405+ const activeEnvironmentId = useActiveEnvironmentId();1406+ const environmentId = threadRef?.environmentId ?? activeEnvironmentId;apps/server/src/process/externalLauncher.ts line 419OutdatedResolvedby t3-code-bot[bot](GitHub profile, opens in a new tab)@@ -386,0 +399,21 @@399+ if (platform === "win32") {400+ // explorer.exe expects `/select,"<path>"` as one argument with only the401+ // path quoted. Node's default spawn quoting wraps the whole argument when402+ // the path has spaces, which explorer misparses, so go through Windows403+ // PowerShell 5.1 whose Start-Process passes the argument string verbatim.404+ const env = yield* readBrowserLaunchEnv;405+ const encodedCommand = encodeUtf16LeBase64(406+ `$ProgressPreference = 'SilentlyContinue'; Start explorer.exe -ArgumentList ('/select,"' + ${escapePowerShellStringLiteral(target)} + '"')`,407+ );408+ return {409+ editor: "file-manager",410+ target,411+ command: resolvePowerShellPath(env),412+ args: [...POWERSHELL_ARGUMENTS_PREFIX, encodedCommand],413+ };414+ }415+416+ // Linux file managers have no portable "select this file" flag, so open417+ // the containing directory instead.418+ const path = yield* Path.Path;419+ return { editor: "file-manager", target, command: "xdg-open", args: [path.dirname(target)] };apps/server/src/ws.ts line 1025OutdatedResolvedby t3-code-bot[bot](GitHub profile, opens in a new tab)@@ -1022,3 +1022,4 @@10221022 },10231023 settings,10241024 shellResumeCompletionMarker: true,1025+ shellRevealInFileManager: true,- apps/server/src/process/externalLauncher.ts line 411OutdatedResolvedby t3-code-bot[bot](GitHub profile, opens in a new tab)@@ -386,0 +391,21 @@391+const resolveFileManagerRevealLaunch = Effect.fn("resolveFileManagerRevealLaunch")(function* (392+ target: string,393+ platform: NodeJS.Platform,394+): Effect.fn.Return<EditorLaunch, never, Path.Path> {395+ if (platform === "darwin") {396+ return { editor: "file-manager", target, command: "open", args: ["-R", target] };397+ }398+399+ if (platform === "win32") {400+ // explorer.exe expects `/select,"<path>"` as one argument with only the401+ // path quoted. Node's default spawn quoting wraps the whole argument when402+ // the path has spaces, which explorer misparses, so go through Windows403+ // PowerShell 5.1 whose Start-Process passes the argument string verbatim.404+ const env = yield* readBrowserLaunchEnv;405+ const encodedCommand = encodeUtf16LeBase64(406+ `$ProgressPreference = 'SilentlyContinue'; Start explorer.exe -ArgumentList ('/select,"' + ${escapePowerShellStringLiteral(target)} + '"')`,407+ );408+ return {409+ editor: "file-manager",410+ target,411+ command: resolvePowerShellPath(env),
t3-code-bot[bot](GitHub profile, opens in a new tab) requested changes
apps/server/src/process/externalLauncher.ts line 255Resolvedby t3-code-bot[bot](GitHub profile, opens in a new tab)@@ -227,7 +241,20 @@241+ if (shouldUseWindowsHostFromWsl(platform, env)) {242+ return env.WSL_DISTRO_NAME?.trim() ? "file-explorer" : undefined;243+ }244+ return hasGraphicalLinuxSession(env) ? "files" : undefined;245+}246+247+function fileManagerCommandForPlatform(248+ platform: NodeJS.Platform,249+ env: NodeJS.ProcessEnv,250+): string | undefined {227251 switch (platform) {228252 case "darwin":229253 return "open";230254 case "win32":231255 return "explorer";232256 default:233- return "xdg-open";257+ if (shouldUseWindowsHostFromWsl(platform, env)) {258+ return env.WSL_DISTRO_NAME?.trim() ? "explorer.exe" : undefined;259+ }260+ return hasGraphicalLinuxSession(env) ? "xdg-open" : undefined;apps/server/src/process/externalLauncher.ts line 454OutdatedResolvedby t3-code-bot[bot](GitHub profile, opens in a new tab)@@ -384,3 +434,21 @@434+ command === "explorer.exe" && env.WSL_DISTRO_NAME !== undefined435+ ? [resolveWslFileManagerPath(input.cwd, env.WSL_DISTRO_NAME)]436+ : [input.cwd],384437 };385438 });386439440+const resolveFileManagerRevealLaunch = Effect.fn("resolveFileManagerRevealLaunch")(function* (441+ target: string,442+ platform: NodeJS.Platform,443+ env: NodeJS.ProcessEnv,444+): Effect.fn.Return<EditorLaunch, never, Path.Path> {445+ if (platform === "darwin") {446+ return { editor: "file-manager", target, command: "open", args: ["-R", target] };447+ }448+449+ if (platform === "win32") {450+ return {451+ editor: "file-manager",452+ target,453+ command: "explorer",454+ args: ["/select,", target],- apps/server/src/process/externalLauncher.ts line 302Resolvedby cursor[bot](GitHub profile, opens in a new tab)@@ -236,0 +301,21 @@301+ }302+303+ const spawner = yield* ChildProcessSpawner.ChildProcessSpawner;304+ return yield* spawner305+ .spawn(306+ ChildProcess.make("xdg-mime", ["query", "default", "inode/directory"], {307+ stdin: "ignore",308+ stderr: "ignore",309+ }),310+ )311+ .pipe(312+ Effect.flatMap((handle) =>313+ Effect.all([handle.stdout.pipe(Stream.decodeText(), Stream.mkString), handle.exitCode], {314+ concurrency: "unbounded",315+ }),316+ ),317+ Effect.map(([stdout, exitCode]) => exitCode === 0 && stdout.trim().length > 0),318+ Effect.scoped,319+ Effect.orElseSucceed(() => false),320+ );321+ },
- apps/server/src/process/externalLauncher.ts line 255Resolvedby cursor[bot](GitHub profile, opens in a new tab)@@ -227,7 +262,20 @@262+ ? "file-explorer"263+ : undefined;264+ }265+ return hasGraphicalLinuxSession(env) ? "files" : undefined;266+});267+268+function fileManagerCommandForPlatform(269+ platform: NodeJS.Platform,270+ env: NodeJS.ProcessEnv,271+): string | undefined {227272 switch (platform) {228273 case "darwin":229274 return "open";230275 case "win32":231276 return "explorer";232277 default:233- return "xdg-open";278+ if (shouldUseWindowsHostFromWsl(platform, env)) {279+ return env.WSL_DISTRO_NAME?.trim() ? "explorer.exe" : undefined;280+ }281+ return hasGraphicalLinuxSession(env) ? "xdg-open" : undefined;
github-actions[bot](GitHub profile, opens in a new tab) removed labelssize:L
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:XL
- apps/server/src/process/externalLauncher.ts line 383Resolvedby cursor[bot](GitHub profile, opens in a new tab)@@ -234,0 +356,21 @@356+ FileManagerRevealKind | undefined,357+ never,358+ FileSystem.FileSystem | Path.Path | ChildProcessSpawner.ChildProcessSpawner359+> {360+ if (platform === "darwin") return "finder";361+ if (platform === "win32") {362+ return (yield* isCommandAvailable(resolvePowerShellPath(env), { env }))363+ ? "file-explorer"364+ : undefined;365+ }366+ if (shouldUseWindowsHostFromWsl(platform, env)) {367+ if (368+ env.WSL_DISTRO_NAME?.trim() &&369+ (yield* isCommandAvailable("explorer.exe", { env })) &&370+ (yield* isCommandAvailable(WSL_POWERSHELL_COMMAND, { env }))371+ ) {372+ return "file-explorer";373+ }374+ return hasGraphicalLinuxSession(env) && (yield* isUsableFileManagerCommand("xdg-open", env))375+ ? "files"376+ : undefined;
t3-code-bot[bot](GitHub profile, opens in a new tab) approved these changes
- apps/web/src/components/ChatMarkdown.tsx lines 1459 to 1459OutdatedResolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -1374,9 +1451,9 @@13741451 const openPreview = useAtomCommand(previewEnvironment.open, {13751452 reportFailure: false,13761453 });1377- const preparedConnection = usePreparedConnection(threadRef?.environmentId ?? null);1378- const environmentId = useActiveEnvironmentId();1454+ const environmentId = threadRef?.environmentId ?? explicitEnvironmentId ?? null;1455+ const preparedConnection = usePreparedConnection(environmentId);13791456 const serverConfig = useAtomValue(serverEnvironment.configValueAtom(environmentId));1380- const openInPreferredEditor = useOpenInPreferredEditor(1381- environmentId,1382- serverConfig?.availableEditors ?? [],1457+ const availableEditors = serverConfig?.availableEditors ?? [];1458+ const [preferredEditor] = usePreferredEditor(availableEditors);1459+ const preferredEditorMenuLabel = openInEditorMenuLabel(preferredEditor, navigator.platform);
- apps/web/src/components/ChatMarkdown.tsx line 1459OutdatedResolvedby cursor[bot](GitHub profile, opens in a new tab)@@ -1374,9 +1451,9 @@13741451 const openPreview = useAtomCommand(previewEnvironment.open, {13751452 reportFailure: false,13761453 });1377- const preparedConnection = usePreparedConnection(threadRef?.environmentId ?? null);1378- const environmentId = useActiveEnvironmentId();1454+ const environmentId = threadRef?.environmentId ?? explicitEnvironmentId ?? null;1455+ const preparedConnection = usePreparedConnection(environmentId);13791456 const serverConfig = useAtomValue(serverEnvironment.configValueAtom(environmentId));1380- const openInPreferredEditor = useOpenInPreferredEditor(1381- environmentId,1382- serverConfig?.availableEditors ?? [],1457+ const availableEditors = serverConfig?.availableEditors ?? [];1458+ const [preferredEditor] = usePreferredEditor(availableEditors);1459+ const preferredEditorMenuLabel = openInEditorMenuLabel(preferredEditor, navigator.platform);
- apps/web/src/components/ChatMarkdown.tsx lines 1653 to 1669Resolvedby coderabbitai[bot](GitHub profile, opens in a new tab)@@ -1374,9 +1451,10 @@13741451 const openPreview = useAtomCommand(previewEnvironment.open, {13751452 reportFailure: false,13761453 });1377- const preparedConnection = usePreparedConnection(threadRef?.environmentId ?? null);1378- const environmentId = useActiveEnvironmentId();1454+ const environmentId = threadRef?.environmentId ?? explicitEnvironmentId ?? null;1455+ const preparedConnection = usePreparedConnection(environmentId);13791456 const serverConfig = useAtomValue(serverEnvironment.configValueAtom(environmentId));1380- const openInPreferredEditor = useOpenInPreferredEditor(1381- environmentId,1382- serverConfig?.availableEditors ?? [],1457+ const availableEditors = serverConfig?.availableEditors ?? [];1458+ const [preferredEditor] = usePreferredEditor(availableEditors);1459+ const preferredEditorMenuLabel = openInEditorMenuLabel(preferredEditor, navigator.platform);1460+ const openInPreferredEditor = useOpenInPreferredEditor(environmentId, availableEditors);
- apps/web/src/components/ChatMarkdown.tsx line 1659OutdatedResolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -1541,3 +1653,7 @@15411653 threadRef={threadRef}15421654 onOpen={openInPreferredEditor}15431655 onOpenInPanel={openFileInPanel}1656+ openInEditorMenuLabel={preferredEditorMenuLabel}1657+ onReveal={1658+ revealInFileManagerLabel !== undefined1659+ ? () => revealFileInFileManager(fileLinkMeta.filePath)
- apps/web/src/components/ChatMarkdown.tsx lines 1459 to 1467OutdatedResolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -1375,7 +1452,16 @@13751452 });1376- const preparedConnection = usePreparedConnection(threadRef?.environmentId ?? null);1377- const environmentId = useActiveEnvironmentId();1453+ const environmentId = threadRef?.environmentId ?? explicitEnvironmentId ?? null;1454+ const preparedConnection = usePreparedConnection(environmentId);13781455 const serverConfig = useAtomValue(serverEnvironment.configValueAtom(environmentId));1379- const openInPreferredEditor = useOpenInPreferredEditor(1380- environmentId,1381- serverConfig?.availableEditors ?? [],1456+ const availableEditors = serverConfig?.availableEditors ?? [];1457+ const [preferredEditor] = usePreferredEditor(availableEditors);1458+ const preferredEditorMenuLabel = openInEditorMenuLabel(1459+ preferredEditor,1460+ serverConfig1461+ ? {1462+ os: serverConfig.environment.platform.os,1463+ fileManagerKind: serverConfig.shellRevealInFileManagerKind,1464+ }1465+ : null,1466+ );1467+ const openInPreferredEditor = useOpenInPreferredEditor(environmentId, availableEditors);
- @@ -0,0 +27,21 @@27+function editorLabelForEnvironment(28+ editorId: EditorId,29+ environment: EditorEnvironmentLabelContext,30+): string {31+ if (editorId !== "file-manager") return editorLabels.get(editorId) ?? "Editor";32+ if (environment.fileManagerKind === "finder") return "Finder";33+ if (environment.fileManagerKind === "file-explorer") return "Explorer";34+ if (environment.fileManagerKind === "files") return "Files";35+ if (environment.os === "darwin") return "Finder";36+ if (environment.os === "windows") return "Explorer";37+ return "Files";38+}39+40+export function openInEditorMenuLabel(41+ editorId: EditorId | null,42+ environment: EditorEnvironmentLabelContext | null,43+): string {44+ return editorId === null || environment === null45+ ? "Open in editor"46+ : `Open in ${editorLabelForEnvironment(editorId, environment)}`;47+}
- @@ -1079,3 +1080,9 @@10791080 );10801081 const environment = yield* serverEnvironment.getDescriptor;10811082 const auth = yield* serverAuth.getDescriptor();1083+ const availableEditors: ReadonlyArray<EditorId> = yield* resolveAvailableEditorsForConfig(1084+ externalLauncher.resolveAvailableEditors(),1085+ );1086+ const fileManagerRevealKind = availableEditors.includes("file-manager")1087+ ? yield* externalLauncher.resolveFileManagerRevealKind()1088+ : undefined;
- apps/web/src/components/ChatMarkdown.tsx lines 1924 to 1924Resolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -1628,4 +1766,4 @@16281766 copyMarkdown={copyMarkdown}16291767 theme={resolvedTheme}16301768 threadRef={threadRef}1631- onOpen={openInPreferredEditor}1769+ {...(canUseShellActions ? { onOpen: openInPreferredEditor } : {})}
- apps/web/src/components/ChatMarkdown.tsx lines 154 to 168Resolvedby coderabbitai[bot](GitHub profile, opens in a new tab)@@ -125,3 +138,9 @@125138 parseRawHtml?: boolean;126139 }127140141+export function canUseMarkdownFileShellActions(142+ environmentId: EnvironmentId | null,143+ remoteOpenMode: RemoteOpenMode,144+): boolean {145+ return environmentId !== null && remoteOpenMode === "local-exec";146+}
- apps/web/src/components/ChatMarkdown.tsx lines 1479 to 1479OutdatedResolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -1377,5 +1460,20 @@13771460 }13781461 },1379- [displayPath, handleCopy, handleOpenInBrowser, handleOpenInEditor, onOpenInBrowser, targetPath],1462+ [1463+ displayPath,1464+ handleCopy,1465+ handleOpenInBrowser,1466+ handleOpenInEditor,1467+ handleRevealInFileManager,1468+ onOpenInBrowser,1469+ onOpen,1470+ onReveal,1471+ openInEditorMenuLabel,1472+ revealLabel,1473+ targetPath,1474+ ],13801475 );138114761477+ const hasPrimaryAction = hasMarkdownFilePrimaryAction({1478+ canOpenInEditor: onOpen !== undefined,1479+ canOpenInBrowser: onOpenInBrowser !== undefined,
- apps/web/src/components/ChatMarkdown.tsx lines 1513 to 1521OutdatedResolvedby coderabbitai[bot](GitHub profile, opens in a new tab)@@ -1406,0 +1501,21 @@1501+ }1502+ if (onOpenInBrowser) {1503+ handleOpenInBrowser();1504+ return;1505+ }1506+ handleOpenInFilePreview();1507+ }}1508+ onContextMenu={handleContextMenu}1509+ >1510+ <FileTagChipContent path={iconPath} label={label} theme={theme} selectable />1511+ </a>1512+ ) : (1513+ <span1514+ className={cn(1515+ CHAT_FILE_TAG_CHIP_CLASS_NAME,1516+ MARKDOWN_FILE_CHIP_CLASS_NAME,1517+ className,1518+ )}1519+ data-markdown-copy={copyMarkdown}1520+ onContextMenu={handleContextMenu}1521+ >
- apps/web/src/editorLabels.ts lines 8 to 10Resolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -0,0 +1,12 @@1+import { EDITORS, type EditorId } from "@t3tools/contracts";2+3+import { isMacPlatform, isWindowsPlatform } from "~/lib/utils";4+5+const editorLabels = new Map<EditorId, string>(EDITORS.map((editor) => [editor.id, editor.label]));6+7+export function editorLabelForPlatform(editorId: EditorId, platform: string): string {8+ if (editorId === "file-manager") {9+ if (isMacPlatform(platform)) return "Finder";10+ if (isWindowsPlatform(platform)) return "Explorer";11+ return "Files";12+ }apps/web/src/components/ChatMarkdown.tsx lines 1537 to 1540OutdatedResolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -1425 +1521,20 @@1425- </a>1521+ hasPrimaryAction ? (1522+ <a1523+ href={href}1524+ className={cn(1525+ CHAT_FILE_TAG_CHIP_CLASS_NAME,1526+ MARKDOWN_FILE_LINK_CLASS_NAME,1527+ className,1528+ )}1529+ data-markdown-copy={copyMarkdown}1530+ onClick={(event) => {1531+ event.preventDefault();1532+ event.stopPropagation();1533+ if (onOpen && shouldOpenMarkdownFileLinkInEditor(event)) {1534+ handleOpenInEditor();1535+ return;1536+ }1537+ if (onOpenInBrowser && shouldOpenMarkdownFileLinkInBrowserByDefault(iconPath)) {1538+ handleOpenInBrowser();1539+ return;1540+ }
- @@ -1425,0 +1556,21 @@1556+ handleOpenInEditor();1557+ return;1558+ }1559+ if (useBrowserPrimaryAction) {1560+ handleOpenInBrowser();1561+ return;1562+ }1563+ handleOpenInFilePreview();1564+ }}1565+ onContextMenu={handleContextMenu}1566+ >1567+ <FileTagChipContent path={iconPath} label={label} theme={theme} selectable />1568+ </a>1569+ ) : (1570+ <button1571+ type="button"1572+ aria-label={`File options for ${label}`}1573+ aria-haspopup="menu"1574+ className={cn(1575+ CHAT_FILE_TAG_CHIP_CLASS_NAME,1576+ MARKDOWN_FILE_LINK_CLASS_NAME,
- apps/web/src/components/ChatMarkdown.tsx lines 1574 to 1579Resolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -1425,0 +1558,21 @@1558+ }1559+ if (useBrowserPrimaryAction) {1560+ handleOpenInBrowser();1561+ return;1562+ }1563+ handleOpenInFilePreview();1564+ }}1565+ onContextMenu={handleContextMenu}1566+ >1567+ <FileTagChipContent path={iconPath} label={label} theme={theme} selectable />1568+ </a>1569+ ) : (1570+ <button1571+ type="button"1572+ aria-label={`File options for ${label}`}1573+ aria-haspopup="menu"1574+ className={cn(1575+ CHAT_FILE_TAG_CHIP_CLASS_NAME,1576+ MARKDOWN_FILE_LINK_CLASS_NAME,1577+ className,1578+ )}
Sign in to join this conversation.


Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID:
d1b7bf0e-928e-4520-ae4f-f351b0b27bd0You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
Note
Reviews paused#
It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the
reviews.auto_review.auto_pause_after_reviewed_commitssetting.Use the following commands to manage reviews:
@coderabbitai resumeto resume automatic reviews.@coderabbitai reviewto trigger a single review.Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID:
70388e88-912f-4e10-9fc5-0e77d6af02a4📥 Commits
Reviewing files that changed from the base of the PR and between ba1b4435e0bd8007122fef5856f9ed252c9c3fd3 and 47dd60ffeb08c54032108d04dfab8ea2e3ddf9db.
📒 Files selected for processing (1)
apps/web/src/index.cssIncluded review availability: Your plan provides up to 10 included reviews per hour; 3 remain after this review.
📝 Walkthrough
Walkthrough#
The change adds platform-aware file-manager reveal support, explicit environment routing for markdown actions, pull-request environment propagation, server capability discovery, attachment and feedback RPCs, mobile analytics metadata, and related tests.
Changes#
File-manager reveal flow
packages/contracts/src/editor.ts,packages/contracts/src/server.tsapps/server/src/process/externalLauncher.ts,apps/server/src/process/externalLauncher.test.tsapps/server/src/ws.ts,apps/server/src/server.test.tsEnvironment-aware web actions
apps/web/src/remoteOpen.ts,apps/web/src/components/ChatMarkdown.workspace-images.test.tsxapps/web/src/components/ChatMarkdown.tsx,apps/web/src/components/ChatMarkdown.test.tsxapps/web/src/components/chat/OpenInPicker.tsx,apps/web/src/editorLabels.ts,apps/web/src/components/preview/fileExplorerLabel.ts, related testsapps/web/src/components/pullRequest/*.tsxenvironmentIdvalues through pull-request markdown renderers and editors..macroscope/check-run-agents/ui-consistency.mdServer RPC and telemetry updates
apps/server/src/ws.ts,apps/server/src/server.test.tsapps/server/src/ws.ts,apps/server/src/server.test.tsapps/server/src/server.test.tsEstimated code review effort: 4 (Complex) | ~60 minutes
Merge Risk: 🟡 Moderate · up to
47dd6This PR adds cross-platform file-manager reveal actions to chat file chips, but the current head still has bounded merge-readiness risks involving capability-discovery timeouts, environment scoping, attachment behavior, and possible exposure of provider diagnostics to clients. These should be fixed or explicitly accepted by an owner before merge.
Sequence Diagram(s)#
Suggested reviewers:
juliusmarminge,maria-rcks,stienswout🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)#
✅ Passed checks (4 passed)
Full details: Docstring Coverage
Explanation
Docstring coverage is 22.86% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 35 functions across 20 files. (1 skipped: 1 unsupported.)
Full details: Description check
Explanation
The description explains the problem, solution, platform behavior, compatibility handling, testing, and UI changes with before-and-after screenshots. It uses Problem and Solution headings instead of the template headings and omits the checklist, but it is otherwise complete and on topic.
✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share