import{s as e}from"./DrKWWDpL.js";import{t}from"./DYP3EJMY.js";var n=e(t(),1);async function r(e){let t=(0,n.join)((0,n.homedir)(),`.claude`,`projects`);try{let r=await(0,n.readdir)(t,{withFileTypes:!0});for(let i of r){if(!i.isDirectory())continue;let r=(0,n.join)(t,i.name,`${e}.jsonl`);try{return await(0,n.stat)(r),r}catch{}}}catch{}return null}export{r as findSessionTranscriptPath};