email-db tool: extract-attachment action, streaming, filename decoding, copy path fix

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-02 20:00:45 +00:00
co-authored by Claude Opus 4.6
parent 2752102a7e
commit 192ae63c0e
4 changed files with 118 additions and 24 deletions
@@ -384,12 +384,12 @@ export const useFileBrowserApp = (basePath: string, rootOverride?: string, initi
};
const handleCopyPath = (entry: DirEntry) => {
navigator.clipboard.writeText(absPath(entryPath(entry.name)));
navigator.clipboard.writeText(`~${entryPath(entry.name)}`);
toast.success('Path copied');
};
const handleCopyCurrentPath = () => {
navigator.clipboard.writeText(absPath(currentPath));
navigator.clipboard.writeText(`~${currentPath}`);
toast.success('Path copied');
};