cc-chats 0.2.4 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-build-manifest.json +44 -32
  3. package/.next/app-path-routes-manifest.json +5 -4
  4. package/.next/build-manifest.json +5 -5
  5. package/.next/prerender-manifest.json +3 -3
  6. package/.next/routes-manifest.json +10 -0
  7. package/.next/server/app/_not-found/page.js +2 -2
  8. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  9. package/.next/server/app/_not-found.html +1 -1
  10. package/.next/server/app/_not-found.rsc +2 -2
  11. package/.next/server/app/api/project/rename/route.js +1 -1
  12. package/.next/server/app/api/project/rename/route_client-reference-manifest.js +1 -1
  13. package/.next/server/app/api/projects/memory/route.js +1 -1
  14. package/.next/server/app/api/projects/memory/route_client-reference-manifest.js +1 -1
  15. package/.next/server/app/api/projects/route.js +1 -1
  16. package/.next/server/app/api/projects/route_client-reference-manifest.js +1 -1
  17. package/.next/server/app/api/projects/sessions/route.js +1 -1
  18. package/.next/server/app/api/projects/sessions/route_client-reference-manifest.js +1 -1
  19. package/.next/server/app/api/search/route.js +1 -1
  20. package/.next/server/app/api/search/route_client-reference-manifest.js +1 -1
  21. package/.next/server/app/api/session/delete/route.js +1 -1
  22. package/.next/server/app/api/session/delete/route_client-reference-manifest.js +1 -1
  23. package/.next/server/app/api/session/duplicate/route.js +1 -1
  24. package/.next/server/app/api/session/duplicate/route_client-reference-manifest.js +1 -1
  25. package/.next/server/app/api/summary/route.js +4 -49
  26. package/.next/server/app/api/summary/route_client-reference-manifest.js +1 -1
  27. package/.next/server/app/api/sync/route.js +1 -1
  28. package/.next/server/app/api/sync/route_client-reference-manifest.js +1 -1
  29. package/.next/server/app/index.html +1 -1
  30. package/.next/server/app/index.rsc +2 -2
  31. package/.next/server/app/page.js +2 -2
  32. package/.next/server/app/page_client-reference-manifest.js +1 -1
  33. package/.next/server/app/project/[projectPath]/page.js +2 -2
  34. package/.next/server/app/project/[projectPath]/page_client-reference-manifest.js +1 -1
  35. package/.next/server/app/project/[projectPath]/session/[sessionId]/page.js +2 -2
  36. package/.next/server/app/project/[projectPath]/session/[sessionId]/page.js.nft.json +1 -1
  37. package/.next/server/app/project/[projectPath]/session/[sessionId]/page_client-reference-manifest.js +1 -1
  38. package/.next/server/app/project/[projectPath]/session/[sessionId]/subagent/[agentId]/page.js +2 -0
  39. package/.next/server/app/project/[projectPath]/session/[sessionId]/subagent/[agentId]/page.js.nft.json +1 -0
  40. package/.next/server/app/project/[projectPath]/session/[sessionId]/subagent/[agentId]/page_client-reference-manifest.js +1 -0
  41. package/.next/server/app/search/page.js +2 -2
  42. package/.next/server/app/search/page_client-reference-manifest.js +1 -1
  43. package/.next/server/app-paths-manifest.json +5 -4
  44. package/.next/server/chunks/138.js +2 -2
  45. package/.next/server/chunks/251.js +4 -4
  46. package/.next/server/chunks/326.js +1 -1
  47. package/.next/server/chunks/506.js +1 -1
  48. package/.next/server/chunks/586.js +10 -10
  49. package/.next/server/chunks/611.js +3 -3
  50. package/.next/server/chunks/68.js +1 -0
  51. package/.next/server/chunks/692.js +1 -1
  52. package/.next/server/middleware-build-manifest.js +1 -1
  53. package/.next/server/pages/404.html +1 -1
  54. package/.next/server/pages/500.html +1 -1
  55. package/.next/server/pages/_app.js +1 -1
  56. package/.next/server/pages/_document.js +1 -1
  57. package/.next/server/pages/_error.js +3 -3
  58. package/.next/server/pages-manifest.json +1 -1
  59. package/.next/server/server-reference-manifest.json +1 -1
  60. package/.next/server/webpack-runtime.js +1 -1
  61. package/.next/static/chunks/65-83e55f26b1f0df7d.js +1 -0
  62. package/.next/static/chunks/856-4671c40140d5540a.js +1 -0
  63. package/.next/static/chunks/app/project/[projectPath]/page-0c3c474576d65a1a.js +1 -0
  64. package/.next/static/chunks/app/project/[projectPath]/session/[sessionId]/page-c2778f4b0ae80f02.js +1 -0
  65. package/.next/static/chunks/app/project/[projectPath]/session/[sessionId]/subagent/[agentId]/page-5c6f66b60c32df86.js +1 -0
  66. package/.next/static/chunks/webpack-a17e201c0278f447.js +1 -0
  67. package/.next/static/css/09912a2e06f56b69.css +3 -0
  68. package/package.json +3 -3
  69. package/.next/static/chunks/app/project/[projectPath]/page-7bcd31021ad7cef3.js +0 -1
  70. package/.next/static/chunks/app/project/[projectPath]/session/[sessionId]/page-ea6ba7e3b77bc3f1.js +0 -1
  71. package/.next/static/chunks/webpack-6caf1cd8559327c9.js +0 -1
  72. package/.next/static/css/58c26641c026d929.css +0 -3
  73. /package/.next/static/{oQhiBukcW2UHK6MyAZD3U → 4S5ViPeRrgKP8Hpzi13Km}/_buildManifest.js +0 -0
  74. /package/.next/static/{oQhiBukcW2UHK6MyAZD3U → 4S5ViPeRrgKP8Hpzi13Km}/_ssgManifest.js +0 -0
@@ -1,2 +1,2 @@
1
- (()=>{var a={};a.id=810,a.ids=[810],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},263:(a,b,c)=>{"use strict";c.d(b,{m:()=>f});var d=c(1124),e=c(8301);function f({type:a,projectPath:b,sessionId:c,messageCount:f}){let[g,h]=(0,e.useState)(null),[i,j]=(0,e.useState)(!1),[k,l]=(0,e.useState)(null),[m,n]=(0,e.useState)(!0);async function o(){j(!0),l(null);try{let d=await fetch("/api/summary",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:a,projectPath:b,sessionId:c})}),e=await d.json();if(!d.ok)throw Error(e.error||"Failed to generate summary");h(e.summary)}catch(a){l(a instanceof Error?a.message:"Unknown error")}finally{j(!1)}}if(m)return null;let p=g&&g.messageCount<f;return(0,d.jsxs)("div",{className:"p-4 bg-surface border border-edge-subtle rounded-xl",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-4 mb-2",children:[(0,d.jsxs)("h3",{className:"text-sm font-medium text-content-secondary flex items-center gap-2",children:[(0,d.jsx)("svg",{className:"w-4 h-4 text-accent",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 10V3L4 14h7v7l9-11h-7z"})}),"AI Summary",p&&(0,d.jsx)("span",{className:"text-xs text-accent/60",children:"(outdated)"})]}),(0,d.jsx)("button",{onClick:o,disabled:i,className:"px-3 py-1 text-xs font-medium text-accent hover:text-accent-hover hover:bg-accent/10 rounded-lg transition-all disabled:opacity-50 disabled:cursor-not-allowed",children:i?"Generating...":g?"Regenerate":"Generate"})]}),k&&(0,d.jsx)("p",{className:"text-sm text-danger mb-2",children:k}),g?(0,d.jsx)("p",{className:"text-sm text-content-secondary leading-relaxed",children:g.content}):!i&&(0,d.jsx)("p",{className:"text-sm text-content-tertiary italic",children:'No summary yet. Click "Generate" to create one.'}),i&&(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm text-content-tertiary",children:[(0,d.jsxs)("svg",{className:"w-4 h-4 animate-spin",fill:"none",viewBox:"0 0 24 24",children:[(0,d.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,d.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Invoking Claude CLI..."]})]})}},323:(a,b,c)=>{"use strict";c.d(b,{SessionContent:()=>d});let d=(0,c(7954).registerClientReference)(function(){throw Error("Attempted to call SessionContent() from the server but SessionContent is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/session-content.tsx","SessionContent")},846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},875:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>D.a,__next_app__:()=>J,handler:()=>L,pages:()=>I,routeModule:()=>K,tree:()=>H});var d=c(9754),e=c(9117),f=c(6595),g=c(2324),h=c(9326),i=c(8928),j=c(175),k=c(12),l=c(4290),m=c(2696),n=c(2802),o=c(7533),p=c(5229),q=c(2822),r=c(261),s=c(6453),t=c(2474),u=c(6713),v=c(1356),w=c(2685),x=c(6225),y=c(3446),z=c(2762),A=c(5742),B=c(6439),C=c(1170),D=c.n(C),E=c(2506),F=c(1203),G={};for(let a in E)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(G[a]=()=>E[a]);c.d(b,G);let H={children:["",{children:["project",{children:["[projectPath]",{children:["session",{children:["[sessionId]",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,991)),"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/project/[projectPath]/session/[sessionId]/page.tsx"]}]},{}]},{}]},{}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,1472)),"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,1170,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,7028,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,461,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,2768,23)),"next/dist/client/components/builtin/unauthorized.js"]}]}.children,I=["/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/project/[projectPath]/session/[sessionId]/page.tsx"],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/project/[projectPath]/session/[sessionId]/page",pathname:"/project/[projectPath]/session/[sessionId]",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/project/[projectPath]/session/[sessionId]/page";"/index"===G&&(G="/");let M=(0,h.getRequestMeta)(a,"postponed"),N=(0,h.getRequestMeta)(a,"minimalMode"),O=await K.prepare(a,b,{srcPage:G,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:P,query:Q,params:R,parsedUrl:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,interceptionRoutePatterns:ae}=O,af=S.pathname||"/",ag=(0,r.normalizeAppPath)(G),{isOnDemandRevalidate:ah}=O,ai=K.match(af,$),aj=!!$.routes[aa],ak=!!(ai||aj||$.routes[ag]),al=a.headers["user-agent"]||"",am=(0,u.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[t.RSC_HEADER],aq=(0,s.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr)&&(null==(C=$.routes[ag]??$.dynamicRoutes[ag])?void 0:C.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?M:void 0,av=ar&&ap&&!ao,aw=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots);an&&ar&&(ak=!1,ax=!1);let ay=!0===K.isDev||!ak||"string"==typeof M||av,az=an&&ar,aA=null;_||!ak||ay||aq||au||av||(aA=aa);let aB=aA;!aB&&K.isDev&&(aB=aa),K.isDev||_||!ak||!ap||av||(0,k.d)(a.headers);let aC={...E,tree:H,pages:I,GlobalError:D(),handler:L,routeModule:K,__next_app__:J};X&&Y&&(0,o.setReferenceManifestsSingleton)({page:G,clientReferenceManifest:Y,serverActionsManifest:X,serverModuleMap:(0,q.createServerModuleMap)({serverActionsManifest:X})});let aD=a.method||"GET",aE=(0,g.getTracer)(),aF=aE.getActiveScopeSpan();try{let f=K.getVaryHeader(aa,ae);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return K.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aE.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aD} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aD} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aC,Component:(0,j.T)(aC),params:R,routeModule:K,page:G,postponed:f,shouldWaitOnAllReady:az,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof f||ay,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,serverActionsManifest:X,clientReferenceManifest:Y,setIsrStatus:null==ac?void 0:ac.setIsrStatus,dir:c(9902).join(process.cwd(),K.relativeProjectDir),isDraftMode:_,isRevalidate:ak&&!f&&!av,botType:am,isOnDemandRevalidate:ah,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,previewProps:$.preview,deploymentId:ad.deploymentId,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,devtoolSegmentExplorer:ad.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ad.experimental.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...as?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:as}:{},experimental:{isRoutePPREnabled:ar,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,cacheComponents:!!ad.experimental.cacheComponents,clientSegmentCache:!!ad.experimental.clientSegmentCache,clientParamParsing:!!ad.experimental.clientParamParsing,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:K.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[y.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,ak&&(null==n?void 0:n.revalidate)===0&&!K.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
2
- see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},o=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===K.isDev,l=c||b.writableEnded;if(ah&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,w.parseFallbackField)(ai.fallback)),j===w.FallbackMode.PRERENDER&&(0,u.isBot)(al)&&(!ar||an)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(j!==w.FallbackMode.NOT_FOUND||f)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),!N&&j!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aB&&!l&&!_&&T&&(k||!aj)){let b;if((k||ai)&&j===w.FallbackMode.NOT_FOUND)throw new B.NoFallbackError;if(ar&&!ap){let c="string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:k?ag:null;if(b=await K.handleResponse({cacheKey:c,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||at?(0,n.u)(ag):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let o=ah||g||!au?void 0:au;if(as&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=T&&ar&&((0,h.getRequestMeta)(a,"renderFallbackShell")||at)?(0,n.u)(af):null;return m({span:i,postponed:o,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,n=await K.handleResponse({cacheKey:aA,responseGenerator:a=>o({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),K.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!n){if(aA)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof n.value.postponed;ak&&!av&&(!p||ao)&&(N||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=n;if(au)l={revalidate:0,expire:void 0};else if(N&&ap&&!ao&&ar)l={revalidate:0,expire:void 0};else if(!K.isDev)if(_)l={revalidate:0,expire:void 0};else if(ak){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:y.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(n.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===v.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];N&&ak&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...n,value:{...n.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&au)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(N&&ak||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(N&&ak&&s&&"string"==typeof s&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,s),!q.status||ap&&ar||(b.statusCode=q.status),!N&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),p&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:av?{revalidate:0,expire:void 0}:n.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(q.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let u=q.html;if(!p||N||ap)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:n.cacheControl});if(as)return u.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}});let w=new TransformStream;return u.push(w.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(w.writable)}).catch(a=>{w.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}})};if(!aF)return await aE.withPropagatedContext(a.headers,()=>aE.trace(i.BaseServerSpan.handleRequest,{spanName:`${aD} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aD,"http.target":a.url}},p));await p(aF)}catch(b){throw b instanceof B.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:ak,isOnDemandRevalidate:ah})},ac),b}}},991:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>p,dynamic:()=>o});var d=c(5338),e=c(5169),f=c.n(e),g=c(3045),h=c(3554),i=c(1685),j=c(1699),k=c(7295),l=c(8913),m=c(323),n=c(4599);let o="force-dynamic";async function p({params:a,searchParams:b}){let{projectPath:c,sessionId:e}=await a,{highlight:o}=await b,p=(0,h.$d)(c,e);p||(0,g.notFound)();let q=p.messages.length,r=p.messages.filter(a=>!(0,n.X4)(a)&&!(0,n.B1)(a)).length;return(0,d.jsxs)("div",{className:"min-h-screen",children:[(0,d.jsx)("header",{className:"border-b border-edge-subtle bg-surface/80 backdrop-blur-md sticky top-0 z-10",children:(0,d.jsx)("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 py-4",children:(0,d.jsxs)("div",{className:"flex items-center gap-4",children:[(0,d.jsx)(f(),{href:`/project/${c}`,className:"p-2 -ml-2 text-content-tertiary hover:text-content-primary hover:bg-surface-elevated rounded-lg transition-all flex-shrink-0",children:(0,d.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),(0,d.jsxs)("div",{className:"flex-1 min-w-0 hidden sm:block",children:[(0,d.jsx)("h1",{className:"text-lg font-medium text-content-primary truncate",children:p.projectName}),(0,d.jsx)("p",{className:"text-xs text-content-tertiary truncate font-mono",children:p.id})]}),(0,d.jsx)("div",{className:"flex-1 max-w-md",children:(0,d.jsx)(i.GlobalSearch,{projectPath:c})}),(0,d.jsx)(k.FontSizeToggle,{}),(0,d.jsx)(j.ThemeToggle,{}),(0,d.jsx)(l.SyncButton,{})]})})}),(0,d.jsx)("main",{className:"max-w-5xl mx-auto px-4 sm:px-6 py-8",children:(0,d.jsx)(m.SessionContent,{projectPath:c,sessionId:p.id,messageCount:p.messageCount,lastActivity:p.lastActivity,tokenUsage:p.tokenUsage??null,totalMessageCount:q,strippedMessageCount:r,messages:p.messages,highlightMessageId:o})})]})}},1025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},1685:(a,b,c)=>{"use strict";c.d(b,{GlobalSearch:()=>d});let d=(0,c(7954).registerClientReference)(function(){throw Error("Attempted to call GlobalSearch() from the server but GlobalSearch is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/global-search.tsx","GlobalSearch")},1699:(a,b,c)=>{"use strict";c.d(b,{ThemeToggle:()=>d});let d=(0,c(7954).registerClientReference)(function(){throw Error("Attempted to call ThemeToggle() from the server but ThemeToggle is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/theme-toggle.tsx","ThemeToggle")},1777:(a,b,c)=>{"use strict";c.d(b,{FontSizeToggle:()=>g});var d=c(1124),e=c(7614);let f={small:"Small",medium:"Medium",large:"Large"};function g(){let{fontSize:a,cycle:b}=(0,e.e)();return(0,d.jsx)("button",{onClick:b,className:"p-2 text-content-tertiary hover:text-content-secondary hover:bg-surface-elevated rounded-lg transition-all flex-shrink-0",title:`Font size: ${f[a]}`,children:"small"===a?(0,d.jsx)("span",{className:"w-[18px] h-[18px] flex items-center justify-center font-medium text-[11px] leading-none",children:"A"}):"medium"===a?(0,d.jsx)("span",{className:"w-[18px] h-[18px] flex items-center justify-center font-medium text-[14px] leading-none",children:"A"}):(0,d.jsx)("span",{className:"w-[18px] h-[18px] flex items-center justify-center font-medium text-[17px] leading-none",children:"A"})})}},3033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},3045:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{ReadonlyURLSearchParams:function(){return k},RedirectType:function(){return e.RedirectType},forbidden:function(){return g.forbidden},notFound:function(){return f.notFound},permanentRedirect:function(){return d.permanentRedirect},redirect:function(){return d.redirect},unauthorized:function(){return h.unauthorized},unstable_isUnrecognizedActionError:function(){return l},unstable_rethrow:function(){return i.unstable_rethrow}});let d=c(5233),e=c(2781),f=c(4404),g=c(7837),h=c(9088),i=c(4712);class j extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class k extends URLSearchParams{append(){throw new j}delete(){throw new j}set(){throw new j}sort(){throw new j}}function l(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4404:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"notFound",{enumerable:!0,get:function(){return e}});let d=""+c(8541).HTTP_ERROR_FALLBACK_ERROR_CODE+";404";function e(){let a=Object.defineProperty(Error(d),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw a.digest=d,a}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},4712:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unstable_rethrow",{enumerable:!0,get:function(){return d}});let d=c(5799).unstable_rethrow;("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},5025:(a,b,c)=>{"use strict";c.d(b,{SessionContent:()=>o});var d=c(1124),e=c(8301),f=c(2155);function g({message:a,compact:b=!1}){let[c,g]=(0,e.useState)(!1),h="user"===a.type,i=function(a,b){if("string"==typeof a)return a;let c=[];for(let d of a)if("text"===d.type)c.push(d.text);else if("tool_use"===d.type)c.push(`[Tool: ${d.name}]`);else if("tool_result"===d.type&&b){let a="string"==typeof d.content?d.content:JSON.stringify(d.content);c.push(`[Tool Result: ${a.slice(0,500)}${a.length>500?"...":""}]`)}return c.join("\n\n")}(a.message.content,c),j=b&&!c&&i.length>300?i.slice(0,300)+"...":i,k=b&&i.length>300;return(0,d.jsx)("div",{className:`flex ${h?"justify-end":"justify-start"}`,children:(0,d.jsxs)("div",{className:`max-w-[85%] rounded-2xl px-4 py-3 ${h?"bg-accent/15 border border-accent/20 text-content-primary rounded-br-md":"bg-surface-elevated border border-edge-subtle text-content-primary rounded-bl-md"}`,children:[(0,d.jsxs)("div",{className:`text-[11px] mb-1.5 ${h?"text-accent/60":"text-content-tertiary"}`,children:[h?"You":"Claude"," \xb7 ",(0,f.r6)(a.timestamp)]}),(0,d.jsx)("div",{className:"text-sm whitespace-pre-wrap break-words leading-relaxed",children:c?i:j}),k&&(0,d.jsx)("button",{onClick:()=>g(!c),className:`mt-2 text-xs font-medium ${h?"text-accent/70 hover:text-accent":"text-accent hover:text-accent-hover"} transition-colors`,children:c?"Show less":"Show more"})]})})}function h({messages:a,previewCount:b=6,highlightMessageId:c,showHidden:h=!1}){let[i,j]=(0,e.useState)(!!c),k=(0,e.useRef)(null),l=[...(0,e.useMemo)(()=>h?a:a.filter(a=>!function(a){if(a.isMeta)return!0;let b=function(a){if("string"==typeof a)return a;let b=a.find(a=>"text"===a.type);return b?b.text:""}(a.message.content);return!!(b.startsWith("<command-name>")||b.startsWith("<local-command-")||b.startsWith("Caveat:")||b.startsWith("<system-reminder>"))}(a)&&!function(a){let b=a.message.content;return"string"==typeof b?0===b.trim().length:0===b.length||!b.some(a=>"text"===a.type&&a.text.trim().length>0)}(a)),[a,h])].sort((a,b)=>(0,f.EH)(a.timestamp)-(0,f.EH)(b.timestamp)),m=i?l:l.slice(0,b),n=l.length>b;return(0,d.jsxs)("div",{className:"space-y-4",children:[m.map((a,b)=>{let e=c===a.uuid;return(0,d.jsx)("div",{ref:e?k:void 0,className:`${e?"ring-2 ring-accent ring-offset-2 ring-offset-base rounded-2xl":""} animate-in stagger-${Math.min(b+1,10)}`,children:(0,d.jsx)(g,{message:a,compact:!i})},a.uuid)}),n&&(0,d.jsx)("div",{className:"flex justify-center pt-4",children:(0,d.jsx)("button",{onClick:()=>j(!i),className:"flex items-center gap-2 px-5 py-2.5 text-sm text-accent hover:text-accent-hover bg-surface hover:bg-surface-elevated border border-edge-subtle hover:border-edge-hover rounded-xl transition-all",children:i?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 15l7-7 7 7"})}),"Show preview only"]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})}),"Show all ",l.length," messages"]})})}),0===m.length&&(0,d.jsx)("div",{className:"text-center py-16 text-content-tertiary animate-fade",children:"No messages in this session"})]})}function i({sessionId:a}){let[b,c]=(0,e.useState)(!0),[f,g]=(0,e.useState)(!1),h=b?`claude --dangerously-skip-permissions --resume ${a}`:`claude --resume ${a}`;async function i(){await navigator.clipboard.writeText(h),g(!0),setTimeout(()=>g(!1),2e3)}return(0,d.jsxs)("div",{className:"space-y-2",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0 flex items-center gap-2 px-3 py-1.5 bg-surface-elevated border border-edge-subtle rounded-lg font-mono text-xs text-content-secondary overflow-x-auto scrollbar-thin",children:[(0,d.jsx)("span",{className:"text-accent select-none shrink-0",children:"$"}),(0,d.jsx)("span",{className:"whitespace-nowrap",children:h})]}),(0,d.jsx)("button",{onClick:i,className:`flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium rounded-lg transition-all shrink-0 ${f?"bg-success/15 text-success border border-success/20":"bg-accent/10 text-accent hover:bg-accent/20 border border-accent/20"}`,children:f?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("svg",{className:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}),"Copied"]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("svg",{className:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})}),"Copy"]})})]}),(0,d.jsxs)("label",{className:"flex items-center gap-1.5 text-xs text-content-tertiary cursor-pointer select-none w-fit",children:[(0,d.jsx)("input",{type:"checkbox",checked:b,onChange:a=>c(a.target.checked),className:"w-3.5 h-3.5 rounded border-edge-hover bg-surface-elevated text-accent focus:ring-accent focus:ring-offset-0 cursor-pointer"}),"Skip permissions"]})]})}var j=c(3312),k=c(2378);function l({encodedPath:a,sessionId:b,totalMessageCount:c,strippedMessageCount:f}){let g=(0,k.useRouter)(),[h,i]=(0,e.useState)(!1),[l,m]=(0,e.useState)(""),[n,o]=(0,e.useState)(!1),[p,q]=(0,e.useState)(!1),[r,s]=(0,e.useState)(null),t=(0,e.useRef)(null),u=l?parseInt(l,10):void 0,v=!l||u&&u>0,w=n?f:c,x=u?Math.min(u,w):w,y=c>0?Math.round((1-x/c)*100):0;async function z(){if(!v)return void s("Please enter a valid positive number.");q(!0),s(null);try{let c=await fetch("/api/session/duplicate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({encodedPath:a,sessionId:b,keepLastN:u,stripToolResults:n})}),d=await c.json();if(!c.ok)throw Error(d.error||"Failed to duplicate session");g.push(`/project/${a}/session/${d.newSessionId}`)}catch(a){s(a instanceof Error?a.message:"Unknown error")}finally{q(!1)}}return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("button",{onClick:()=>i(!0),className:"px-3 py-1.5 text-sm text-accent hover:text-accent-hover hover:bg-accent/10 border border-accent/20 rounded-lg transition-all flex items-center gap-2",children:[(0,d.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})}),"Duplicate"]}),h&&(0,j.createPortal)((0,d.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[(0,d.jsx)("div",{className:"absolute inset-0 bg-black/70 backdrop-blur-sm animate-fade",onClick:p?void 0:()=>i(!1)}),(0,d.jsxs)("div",{className:"relative bg-surface-elevated border border-edge rounded-2xl p-6 w-full max-w-md mx-4 shadow-2xl animate-modal",children:[(0,d.jsx)("h2",{className:"text-lg font-medium text-content-primary mb-4",children:"Duplicate Session"}),(0,d.jsxs)("div",{className:"mb-4",children:[(0,d.jsx)("label",{htmlFor:"keepLastN",className:"block text-sm text-content-secondary mb-2",children:"Keep last N messages (optional)"}),(0,d.jsx)("input",{ref:t,id:"keepLastN",type:"number",min:"1",value:l,onChange:a=>m(a.target.value),disabled:p,className:"w-full px-3 py-2.5 bg-surface border border-edge rounded-xl text-content-primary placeholder-content-tertiary focus:outline-none focus:border-accent focus:ring-1 focus:ring-accent/30 disabled:opacity-50 transition-all",placeholder:`Leave empty for all ${c} messages`})]}),(0,d.jsx)("div",{className:"mb-4",children:(0,d.jsxs)("label",{className:"flex items-center gap-2 text-sm text-content-secondary cursor-pointer",children:[(0,d.jsx)("input",{type:"checkbox",checked:n,onChange:a=>o(a.target.checked),disabled:p,className:"w-4 h-4 rounded border-edge-hover bg-surface text-accent focus:ring-accent focus:ring-offset-0 disabled:opacity-50"}),"Strip tool results & system messages"]})}),(0,d.jsxs)("div",{className:"text-sm text-content-secondary mb-4 p-3 bg-surface rounded-xl border border-edge-subtle",children:[(0,d.jsxs)("div",{className:"flex justify-between",children:[(0,d.jsx)("span",{children:"Original"}),(0,d.jsxs)("span",{className:"text-content-primary",children:[c," messages"]})]}),(0,d.jsxs)("div",{className:"flex justify-between mt-1",children:[(0,d.jsx)("span",{children:"Result"}),(0,d.jsxs)("span",{className:"text-content-primary",children:[x," messages"]})]}),y>0&&(0,d.jsxs)("div",{className:"flex justify-between mt-1 text-accent",children:[(0,d.jsx)("span",{children:"Reduction"}),(0,d.jsxs)("span",{children:[y,"%"]})]})]}),r&&(0,d.jsx)("p",{className:"text-sm text-danger mb-4",children:r}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-3",children:[(0,d.jsx)("button",{type:"button",onClick:()=>i(!1),disabled:p,className:"px-4 py-2 text-sm text-content-secondary hover:text-content-primary transition-colors disabled:opacity-50",children:"Cancel"}),(0,d.jsxs)("button",{onClick:z,disabled:p||!v,className:"px-4 py-2 text-sm font-medium bg-accent hover:bg-accent-hover text-white rounded-xl transition-all disabled:opacity-50 disabled:cursor-not-allowed flex items-center gap-2",children:[p&&(0,d.jsxs)("svg",{className:"w-4 h-4 animate-spin",fill:"none",viewBox:"0 0 24 24",children:[(0,d.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,d.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),p?"Duplicating...":"Duplicate"]})]})]})]}),document.body)]})}function m({encodedPath:a,sessionId:b}){let c=(0,k.useRouter)(),[f,g]=(0,e.useState)(!1),[h,i]=(0,e.useState)(!1),[l,m]=(0,e.useState)(null);async function n(){i(!0),m(null);try{let d=await fetch("/api/session/delete",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({encodedPath:a,sessionId:b})}),e=await d.json();if(!d.ok)throw Error(e.error||"Failed to delete session");c.push(`/project/${a}`)}catch(a){m(a instanceof Error?a.message:"Unknown error")}finally{i(!1)}}return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("button",{onClick:()=>g(!0),className:"px-3 py-1.5 text-sm text-danger hover:text-danger-hover hover:bg-danger/10 border border-danger/20 rounded-lg transition-all flex items-center gap-2",children:[(0,d.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})}),"Delete"]}),f&&(0,j.createPortal)((0,d.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[(0,d.jsx)("div",{className:"absolute inset-0 bg-black/70 backdrop-blur-sm animate-fade",onClick:h?void 0:()=>g(!1)}),(0,d.jsxs)("div",{className:"relative bg-surface-elevated border border-edge rounded-2xl p-6 w-full max-w-md mx-4 shadow-2xl animate-modal",children:[(0,d.jsx)("h2",{className:"text-lg font-medium text-content-primary mb-4",children:"Delete Session"}),(0,d.jsx)("p",{className:"text-sm text-content-secondary mb-4",children:"Are you sure you want to delete this session? This action cannot be undone."}),l&&(0,d.jsx)("p",{className:"text-sm text-danger mb-4",children:l}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-3",children:[(0,d.jsx)("button",{type:"button",onClick:()=>g(!1),disabled:h,className:"px-4 py-2 text-sm text-content-secondary hover:text-content-primary transition-colors disabled:opacity-50",children:"Cancel"}),(0,d.jsxs)("button",{onClick:n,disabled:h,className:"px-4 py-2 text-sm font-medium bg-danger hover:bg-danger-hover text-white rounded-xl transition-all disabled:opacity-50 disabled:cursor-not-allowed flex items-center gap-2",children:[h&&(0,d.jsxs)("svg",{className:"w-4 h-4 animate-spin",fill:"none",viewBox:"0 0 24 24",children:[(0,d.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,d.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),h?"Deleting...":"Delete"]})]})]})]}),document.body)]})}var n=c(263);function o({projectPath:a,sessionId:b,messageCount:c,lastActivity:g,tokenUsage:j,totalMessageCount:k,strippedMessageCount:o,messages:p,highlightMessageId:q}){let[r,s]=(0,e.useState)(!1);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"mb-6 bg-surface border border-edge-subtle rounded-xl animate-in",children:[(0,d.jsxs)("div",{className:"px-4 py-3 flex items-center gap-4 text-sm text-content-secondary",children:[(0,d.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,d.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z"})}),c," messages"]}),(0,d.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,d.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"})}),(0,f.fw)(g)]}),(0,d.jsx)("span",{className:"text-xs text-content-tertiary hidden sm:inline",children:(0,f.r6)(g)}),(0,d.jsxs)("label",{className:"flex items-center gap-1.5 text-xs text-content-tertiary cursor-pointer ml-auto",children:[(0,d.jsx)("input",{type:"checkbox",checked:r,onChange:a=>s(a.target.checked),className:"w-3.5 h-3.5 rounded border-edge-hover bg-surface-elevated text-accent focus:ring-accent focus:ring-offset-0"}),"System messages"]})]}),(0,d.jsx)("div",{className:"border-t border-edge-subtle px-4 py-3",children:(0,d.jsx)(i,{sessionId:b})}),j&&(0,d.jsxs)("div",{className:"border-t border-edge-subtle px-4 py-2.5 flex flex-wrap items-center gap-x-4 gap-y-1 text-xs",children:[(0,d.jsx)("span",{className:"text-content-tertiary font-medium",children:"Tokens"}),(0,d.jsxs)("span",{children:[(0,d.jsx)("span",{className:"text-content-tertiary",children:"in"})," ",(0,d.jsx)("span",{className:"text-content-primary font-mono",children:(0,f.ap)(j.input_tokens)})]}),(0,d.jsxs)("span",{children:[(0,d.jsx)("span",{className:"text-content-tertiary",children:"out"})," ",(0,d.jsx)("span",{className:"text-content-primary font-mono",children:(0,f.ap)(j.output_tokens)})]}),(0,d.jsxs)("span",{children:[(0,d.jsx)("span",{className:"text-content-tertiary",children:"cache read"})," ",(0,d.jsx)("span",{className:"text-content-primary font-mono",children:(0,f.ap)(j.cache_read_input_tokens)})]}),(0,d.jsxs)("span",{children:[(0,d.jsx)("span",{className:"text-content-tertiary",children:"cache write"})," ",(0,d.jsx)("span",{className:"text-content-primary font-mono",children:(0,f.ap)(j.cache_creation_input_tokens)})]})]}),(0,d.jsxs)("div",{className:"border-t border-edge-subtle px-4 py-2.5 flex items-center justify-end gap-2",children:[(0,d.jsx)(l,{encodedPath:a,sessionId:b,totalMessageCount:k,strippedMessageCount:o}),(0,d.jsx)(m,{encodedPath:a,sessionId:b})]})]}),(0,d.jsx)("div",{className:"mb-6 animate-in stagger-1",children:(0,d.jsx)(n.m,{type:"session",projectPath:a,sessionId:b,messageCount:c})}),(0,d.jsx)(h,{messages:p,highlightMessageId:q,showHidden:r})]})}},5169:(a,b,c)=>{let{createProxy:d}=c(9893);a.exports=d("/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/app-dir/link.js")},5233:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getRedirectError:function(){return g},getRedirectStatusCodeFromError:function(){return l},getRedirectTypeFromError:function(){return k},getURLFromRedirectError:function(){return j},permanentRedirect:function(){return i},redirect:function(){return h}});let d=c(1203),e=c(2781),f=c(9121).actionAsyncStorage;function g(a,b,c){void 0===c&&(c=d.RedirectStatusCode.TemporaryRedirect);let f=Object.defineProperty(Error(e.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return f.digest=e.REDIRECT_ERROR_CODE+";"+b+";"+a+";"+c+";",f}function h(a,b){var c;throw null!=b||(b=(null==f||null==(c=f.getStore())?void 0:c.isAction)?e.RedirectType.push:e.RedirectType.replace),g(a,b,d.RedirectStatusCode.TemporaryRedirect)}function i(a,b){throw void 0===b&&(b=e.RedirectType.replace),g(a,b,d.RedirectStatusCode.PermanentRedirect)}function j(a){return(0,e.isRedirectError)(a)?a.digest.split(";").slice(2,-2).join(";"):null}function k(a){if(!(0,e.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return a.digest.split(";",2)[1]}function l(a){if(!(0,e.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(a.digest.split(";").at(-2))}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},5370:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,5169,23)),Promise.resolve().then(c.bind(c,7295)),Promise.resolve().then(c.bind(c,1685)),Promise.resolve().then(c.bind(c,323)),Promise.resolve().then(c.bind(c,8913)),Promise.resolve().then(c.bind(c,1699))},5538:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,3991,23)),Promise.resolve().then(c.bind(c,1777)),Promise.resolve().then(c.bind(c,8091)),Promise.resolve().then(c.bind(c,5025)),Promise.resolve().then(c.bind(c,2087)),Promise.resolve().then(c.bind(c,5969))},5799:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unstable_rethrow",{enumerable:!0,get:function(){return function a(b){if((0,g.isNextRouterError)(b)||(0,f.isBailoutToCSRError)(b)||(0,i.isDynamicServerError)(b)||(0,h.isDynamicPostpone)(b)||(0,e.isPostpone)(b)||(0,d.isHangingPromiseRejectionError)(b))throw b;b instanceof Error&&"cause"in b&&a(b.cause)}}});let d=c(2831),e=c(3740),f=c(9305),g=c(1981),h=c(6906),i=c(9168);("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},6439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},6713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},7295:(a,b,c)=>{"use strict";c.d(b,{FontSizeToggle:()=>d});let d=(0,c(7954).registerClientReference)(function(){throw Error("Attempted to call FontSizeToggle() from the server but FontSizeToggle is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/font-size-toggle.tsx","FontSizeToggle")},7550:a=>{"use strict";a.exports=require("better-sqlite3")},7837:(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"forbidden",{enumerable:!0,get:function(){return d}}),c(8541).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},8354:a=>{"use strict";a.exports=require("util")},8913:(a,b,c)=>{"use strict";c.d(b,{SyncButton:()=>d});let d=(0,c(7954).registerClientReference)(function(){throw Error("Attempted to call SyncButton() from the server but SyncButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/sync-button.tsx","SyncButton")},9021:a=>{"use strict";a.exports=require("fs")},9088:(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unauthorized",{enumerable:!0,get:function(){return d}}),c(8541).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},9121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},9294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},9646:a=>{"use strict";a.exports=require("child_process")},9902:a=>{"use strict";a.exports=require("path")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[586,251,506,138,326],()=>b(b.s=875));module.exports=c})();
1
+ (()=>{var a={};a.id=810,a.ids=[810],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1708:a=>{"use strict";a.exports=require("node:process")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5407:(a,b,c)=>{"use strict";c.d(b,{ChatView:()=>k});var d=c(21124),e=c(38301),f=c(38276),g=c(92155);function h({message:a,compact:b=!1}){let[c,h]=(0,e.useState)(!1),i="user"===a.type,j=function(a,b){if("string"==typeof a)return a;let c=[];for(let d of a)if("text"===d.type)c.push(d.text);else if("tool_use"===d.type)c.push(`[Tool: ${d.name}]`);else if("tool_result"===d.type&&b){let a="string"==typeof d.content?d.content:JSON.stringify(d.content);c.push(`[Tool Result: ${a.slice(0,500)}${a.length>500?"...":""}]`)}return c.join("\n\n")}(a.message.content,c),k=b&&!c&&j.length>300?j.slice(0,300)+"...":j,l=b&&j.length>300;return(0,d.jsx)("div",{className:`flex ${i?"justify-end":"justify-start"}`,children:(0,d.jsxs)("div",{className:`max-w-[85%] rounded-2xl px-4 py-3 ${i?"bg-accent/15 border border-accent/20 text-content-primary rounded-br-md":"bg-surface-elevated border border-edge-subtle text-content-primary rounded-bl-md"}`,children:[(0,d.jsxs)("div",{className:`text-[11px] mb-1.5 ${i?"text-accent/60":"text-content-tertiary"}`,children:[i?"You":"Claude"," \xb7 ",(0,g.r6)(a.timestamp)]}),i?(0,d.jsx)("div",{className:"text-sm whitespace-pre-wrap break-words leading-relaxed",children:c?j:k}):(0,d.jsx)("div",{className:"text-sm leading-relaxed [&>*:first-child]:mt-0 [&>*:last-child]:mb-0 [&_p]:mb-2 [&_ul]:mb-2 [&_ol]:mb-2 [&_ul]:pl-4 [&_ol]:pl-4 [&_ul]:list-disc [&_ol]:list-decimal [&_li]:mb-0.5 [&_h1]:text-base [&_h1]:font-semibold [&_h1]:mb-1.5 [&_h2]:text-sm [&_h2]:font-semibold [&_h2]:mb-1 [&_h3]:text-sm [&_h3]:font-medium [&_h3]:mb-1 [&_code]:bg-surface-base [&_code]:px-1 [&_code]:py-0.5 [&_code]:rounded [&_code]:text-xs [&_code]:font-mono [&_pre]:bg-surface-base [&_pre]:p-3 [&_pre]:rounded-lg [&_pre]:overflow-x-auto [&_pre]:text-xs [&_pre]:mb-2 [&_blockquote]:border-l-2 [&_blockquote]:border-edge-subtle [&_blockquote]:pl-3 [&_blockquote]:text-content-secondary [&_hr]:border-edge-subtle [&_hr]:my-2",children:(0,d.jsx)(f.oz,{children:c?j:k})}),l&&(0,d.jsx)("button",{onClick:()=>h(!c),className:`mt-2 text-xs font-medium ${i?"text-accent/70 hover:text-accent":"text-accent hover:text-accent-hover"} transition-colors`,children:c?"Show less":"Show more"})]})})}function i({name:a,args:b,timestamp:c}){return(0,d.jsx)("div",{className:"flex justify-end py-1",children:(0,d.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 rounded-full bg-surface border border-edge-subtle text-xs",children:[(0,d.jsx)("svg",{className:"w-3 h-3 text-accent shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 9l3 3-3 3m5 0h3"})}),(0,d.jsx)("span",{className:"text-accent font-mono font-medium",children:a}),b&&(0,d.jsx)("span",{className:"text-content-secondary font-mono",children:b}),(0,d.jsx)("span",{className:"text-content-tertiary ml-1",children:(0,g.r6)(c)})]})})}var j=c(65881);function k({messages:a,previewCount:b=50,highlightMessageId:c,showHidden:f=!1}){let[k,l]=(0,e.useState)(!!c),m=(0,e.useRef)(null),n=[...(0,e.useMemo)(()=>f?a:a.filter(a=>!(0,j.X4)(a)&&!(0,j.B1)(a)),[a,f])].sort((a,b)=>(0,g.EH)(a.timestamp)-(0,g.EH)(b.timestamp)),o=k?n:n.slice(0,b),p=n.length>b;return(0,d.jsxs)("div",{className:"space-y-4",children:[o.map((a,b)=>{let e=c===a.uuid;return(0,d.jsx)("div",{ref:e?m:void 0,className:`${e?"ring-2 ring-accent ring-offset-2 ring-offset-base rounded-2xl":""} animate-in stagger-${Math.min(b+1,10)}`,children:(()=>{let b=(0,j.iP)(a.message.content),c=(0,j.Tc)(b);return c?(0,d.jsx)(i,{name:c.name,args:c.args,timestamp:a.timestamp}):(0,d.jsx)(h,{message:a,compact:!k})})()},a.uuid)}),p&&(0,d.jsx)("div",{className:"flex justify-center pt-4",children:(0,d.jsx)("button",{onClick:()=>l(!k),className:"flex items-center gap-2 px-5 py-2.5 text-sm text-accent hover:text-accent-hover bg-surface hover:bg-surface-elevated border border-edge-subtle hover:border-edge-hover rounded-xl transition-all",children:k?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 15l7-7 7 7"})}),"Show preview only"]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})}),"Show all ",n.length," messages"]})})}),0===o.length&&(0,d.jsx)("div",{className:"text-center py-16 text-content-tertiary animate-fade",children:"No messages in this session"})]})}},5538:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,3991,23)),Promise.resolve().then(c.bind(c,91777)),Promise.resolve().then(c.bind(c,98091)),Promise.resolve().then(c.bind(c,72416)),Promise.resolve().then(c.bind(c,12087)),Promise.resolve().then(c.bind(c,25969))},6051:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>p,dynamic:()=>o});var d=c(75338),e=c(65169),f=c.n(e),g=c(82161),h=c(53554),i=c(21685),j=c(31699),k=c(87295),l=c(38913),m=c(70323),n=c(44599);let o="force-dynamic";async function p({params:a,searchParams:b}){let{projectPath:c,sessionId:e}=await a,{highlight:o}=await b,p=(0,h.$d)(c,e),q=(0,h.yu)(c,e);p||(0,g.notFound)();let r=p.messages.length,s=p.messages.filter(a=>!(0,n.X4)(a)&&!(0,n.B1)(a)).length;return(0,d.jsxs)("div",{className:"min-h-screen",children:[(0,d.jsx)("header",{className:"border-b border-edge-subtle bg-surface/80 backdrop-blur-md sticky top-0 z-10",children:(0,d.jsx)("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 py-4",children:(0,d.jsxs)("div",{className:"flex items-center gap-4",children:[(0,d.jsx)(f(),{href:`/project/${c}`,className:"p-2 -ml-2 text-content-tertiary hover:text-content-primary hover:bg-surface-elevated rounded-lg transition-all flex-shrink-0",children:(0,d.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),(0,d.jsxs)("div",{className:"flex-1 min-w-0 hidden sm:block",children:[(0,d.jsx)("h1",{className:"text-lg font-medium text-content-primary truncate",children:p.projectName}),(0,d.jsx)("p",{className:"text-xs text-content-tertiary truncate font-mono",children:p.id})]}),(0,d.jsx)("div",{className:"flex-1 max-w-md",children:(0,d.jsx)(i.GlobalSearch,{projectPath:c})}),(0,d.jsx)(k.FontSizeToggle,{}),(0,d.jsx)(j.ThemeToggle,{}),(0,d.jsx)(l.SyncButton,{})]})})}),(0,d.jsx)("main",{className:"max-w-5xl mx-auto px-4 sm:px-6 py-8",children:(0,d.jsx)(m.SessionContent,{projectPath:c,sessionId:p.id,messageCount:p.messageCount,lastActivity:p.lastActivity,tokenUsage:p.tokenUsage??null,totalMessageCount:r,strippedMessageCount:s,messages:p.messages,highlightMessageId:o,subagents:q})})]})}},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21685:(a,b,c)=>{"use strict";c.d(b,{GlobalSearch:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call GlobalSearch() from the server but GlobalSearch is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/global-search.tsx","GlobalSearch")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},30263:(a,b,c)=>{"use strict";c.d(b,{m:()=>f});var d=c(21124),e=c(38301);function f({type:a,projectPath:b,sessionId:c,messageCount:f}){let[g,h]=(0,e.useState)(null),[i,j]=(0,e.useState)(!1),[k,l]=(0,e.useState)(null),[m,n]=(0,e.useState)(!0);async function o(){j(!0),l(null);try{let d=await fetch("/api/summary",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:a,projectPath:b,sessionId:c})}),e=await d.json();if(!d.ok)throw Error(e.error||"Failed to generate summary");h(e.summary)}catch(a){l(a instanceof Error?a.message:"Unknown error")}finally{j(!1)}}if(m)return null;let p=g&&g.messageCount<f;return(0,d.jsxs)("div",{className:"p-4 bg-surface border border-edge-subtle rounded-xl",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-4 mb-2",children:[(0,d.jsxs)("h3",{className:"text-sm font-medium text-content-secondary flex items-center gap-2",children:[(0,d.jsx)("svg",{className:"w-4 h-4 text-accent",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 10V3L4 14h7v7l9-11h-7z"})}),"AI Summary",p&&(0,d.jsx)("span",{className:"text-xs text-accent/60",children:"(outdated)"})]}),(0,d.jsx)("button",{onClick:o,disabled:i,className:"px-3 py-1 text-xs font-medium text-accent hover:text-accent-hover hover:bg-accent/10 rounded-lg transition-all disabled:opacity-50 disabled:cursor-not-allowed",children:i?"Generating...":g?"Regenerate":"Generate"})]}),k&&(0,d.jsx)("p",{className:"text-sm text-danger mb-2",children:k}),g?(0,d.jsx)("p",{className:"text-sm text-content-secondary leading-relaxed",children:g.content}):!i&&(0,d.jsx)("p",{className:"text-sm text-content-tertiary italic",children:'No summary yet. Click "Generate" to create one.'}),i&&(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm text-content-tertiary",children:[(0,d.jsxs)("svg",{className:"w-4 h-4 animate-spin",fill:"none",viewBox:"0 0 24 24",children:[(0,d.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,d.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Invoking Claude CLI..."]})]})}},31699:(a,b,c)=>{"use strict";c.d(b,{ThemeToggle:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call ThemeToggle() from the server but ThemeToggle is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/theme-toggle.tsx","ThemeToggle")},33873:a=>{"use strict";a.exports=require("path")},38913:(a,b,c)=>{"use strict";c.d(b,{SyncButton:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call SyncButton() from the server but SyncButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/sync-button.tsx","SyncButton")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},65370:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,65169,23)),Promise.resolve().then(c.bind(c,87295)),Promise.resolve().then(c.bind(c,21685)),Promise.resolve().then(c.bind(c,70323)),Promise.resolve().then(c.bind(c,38913)),Promise.resolve().then(c.bind(c,31699))},65881:(a,b,c)=>{"use strict";function d(a){if("string"==typeof a)return a;let b=a.find(a=>"text"===a.type);return b?b.text:""}function e(a){if(!a.startsWith("<command-name>")&&!a.startsWith("<command-message>"))return null;let b=a.match(/<command-name>([^<]+)<\/command-name>/);if(!b)return null;let c=a.match(/<command-args>([^<]*)<\/command-args>/);return{name:b[1].trim(),args:c?c[1].trim():""}}function f(a){if(a.isMeta)return!0;let b=d(a.message.content);return!!(b.startsWith("<local-command-")||b.startsWith("Caveat:")||b.startsWith("<system-reminder>"))}function g(a){let b=a.message.content;return"string"==typeof b?0===b.trim().length:0===b.length||!b.some(a=>"text"===a.type&&a.text.trim().length>0)}c.d(b,{B1:()=>g,Tc:()=>e,X4:()=>f,iP:()=>d})},70323:(a,b,c)=>{"use strict";c.d(b,{SessionContent:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call SessionContent() from the server but SessionContent is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/session-content.tsx","SessionContent")},72416:(a,b,c)=>{"use strict";c.d(b,{SessionContent:()=>q});var d=c(21124),e=c(38301),f=c(92155),g=c(5407);function h({sessionId:a}){let[b,c]=(0,e.useState)(!0),[f,g]=(0,e.useState)(!1),h=b?`claude --dangerously-skip-permissions --resume ${a}`:`claude --resume ${a}`;async function i(){await navigator.clipboard.writeText(h),g(!0),setTimeout(()=>g(!1),2e3)}return(0,d.jsxs)("div",{className:"space-y-2",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0 flex items-center gap-2 px-3 py-1.5 bg-surface-elevated border border-edge-subtle rounded-lg font-mono text-xs text-content-secondary overflow-x-auto scrollbar-thin",children:[(0,d.jsx)("span",{className:"text-accent select-none shrink-0",children:"$"}),(0,d.jsx)("span",{className:"whitespace-nowrap",children:h})]}),(0,d.jsx)("button",{onClick:i,className:`flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium rounded-lg transition-all shrink-0 ${f?"bg-success/15 text-success border border-success/20":"bg-accent/10 text-accent hover:bg-accent/20 border border-accent/20"}`,children:f?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("svg",{className:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}),"Copied"]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("svg",{className:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})}),"Copy"]})})]}),(0,d.jsxs)("label",{className:"flex items-center gap-1.5 text-xs text-content-tertiary cursor-pointer select-none w-fit",children:[(0,d.jsx)("input",{type:"checkbox",checked:b,onChange:a=>c(a.target.checked),className:"w-3.5 h-3.5 rounded border-edge-hover bg-surface-elevated text-accent focus:ring-accent focus:ring-offset-0 cursor-pointer"}),"Skip permissions"]})]})}var i=c(23312),j=c(42378);function k({encodedPath:a,sessionId:b,totalMessageCount:c,strippedMessageCount:f}){let g=(0,j.useRouter)(),[h,k]=(0,e.useState)(!1),[l,m]=(0,e.useState)(""),[n,o]=(0,e.useState)(!1),[p,q]=(0,e.useState)(!1),[r,s]=(0,e.useState)(null),t=(0,e.useRef)(null),u=l?parseInt(l,10):void 0,v=!l||u&&u>0,w=n?f:c,x=u?Math.min(u,w):w,y=c>0?Math.round((1-x/c)*100):0;async function z(){if(!v)return void s("Please enter a valid positive number.");q(!0),s(null);try{let c=await fetch("/api/session/duplicate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({encodedPath:a,sessionId:b,keepLastN:u,stripToolResults:n})}),d=await c.json();if(!c.ok)throw Error(d.error||"Failed to duplicate session");g.push(`/project/${a}/session/${d.newSessionId}`)}catch(a){s(a instanceof Error?a.message:"Unknown error")}finally{q(!1)}}return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("button",{onClick:()=>k(!0),className:"px-3 py-1.5 text-sm text-accent hover:text-accent-hover hover:bg-accent/10 border border-accent/20 rounded-lg transition-all flex items-center gap-2",children:[(0,d.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})}),"Duplicate"]}),h&&(0,i.createPortal)((0,d.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[(0,d.jsx)("div",{className:"absolute inset-0 bg-black/70 backdrop-blur-sm animate-fade",onClick:p?void 0:()=>k(!1)}),(0,d.jsxs)("div",{className:"relative bg-surface-elevated border border-edge rounded-2xl p-6 w-full max-w-md mx-4 shadow-2xl animate-modal",children:[(0,d.jsx)("h2",{className:"text-lg font-medium text-content-primary mb-4",children:"Duplicate Session"}),(0,d.jsxs)("div",{className:"mb-4",children:[(0,d.jsx)("label",{htmlFor:"keepLastN",className:"block text-sm text-content-secondary mb-2",children:"Keep last N messages (optional)"}),(0,d.jsx)("input",{ref:t,id:"keepLastN",type:"number",min:"1",value:l,onChange:a=>m(a.target.value),disabled:p,className:"w-full px-3 py-2.5 bg-surface border border-edge rounded-xl text-content-primary placeholder-content-tertiary focus:outline-none focus:border-accent focus:ring-1 focus:ring-accent/30 disabled:opacity-50 transition-all",placeholder:`Leave empty for all ${c} messages`})]}),(0,d.jsx)("div",{className:"mb-4",children:(0,d.jsxs)("label",{className:"flex items-center gap-2 text-sm text-content-secondary cursor-pointer",children:[(0,d.jsx)("input",{type:"checkbox",checked:n,onChange:a=>o(a.target.checked),disabled:p,className:"w-4 h-4 rounded border-edge-hover bg-surface text-accent focus:ring-accent focus:ring-offset-0 disabled:opacity-50"}),"Strip tool results & system messages"]})}),(0,d.jsxs)("div",{className:"text-sm text-content-secondary mb-4 p-3 bg-surface rounded-xl border border-edge-subtle",children:[(0,d.jsxs)("div",{className:"flex justify-between",children:[(0,d.jsx)("span",{children:"Original"}),(0,d.jsxs)("span",{className:"text-content-primary",children:[c," messages"]})]}),(0,d.jsxs)("div",{className:"flex justify-between mt-1",children:[(0,d.jsx)("span",{children:"Result"}),(0,d.jsxs)("span",{className:"text-content-primary",children:[x," messages"]})]}),y>0&&(0,d.jsxs)("div",{className:"flex justify-between mt-1 text-accent",children:[(0,d.jsx)("span",{children:"Reduction"}),(0,d.jsxs)("span",{children:[y,"%"]})]})]}),r&&(0,d.jsx)("p",{className:"text-sm text-danger mb-4",children:r}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-3",children:[(0,d.jsx)("button",{type:"button",onClick:()=>k(!1),disabled:p,className:"px-4 py-2 text-sm text-content-secondary hover:text-content-primary transition-colors disabled:opacity-50",children:"Cancel"}),(0,d.jsxs)("button",{onClick:z,disabled:p||!v,className:"px-4 py-2 text-sm font-medium bg-accent hover:bg-accent-hover text-white rounded-xl transition-all disabled:opacity-50 disabled:cursor-not-allowed flex items-center gap-2",children:[p&&(0,d.jsxs)("svg",{className:"w-4 h-4 animate-spin",fill:"none",viewBox:"0 0 24 24",children:[(0,d.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,d.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),p?"Duplicating...":"Duplicate"]})]})]})]}),document.body)]})}function l({encodedPath:a,sessionId:b}){let c=(0,j.useRouter)(),[f,g]=(0,e.useState)(!1),[h,k]=(0,e.useState)(!1),[l,m]=(0,e.useState)(null);async function n(){k(!0),m(null);try{let d=await fetch("/api/session/delete",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({encodedPath:a,sessionId:b})}),e=await d.json();if(!d.ok)throw Error(e.error||"Failed to delete session");c.push(`/project/${a}`)}catch(a){m(a instanceof Error?a.message:"Unknown error")}finally{k(!1)}}return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("button",{onClick:()=>g(!0),className:"px-3 py-1.5 text-sm text-danger hover:text-danger-hover hover:bg-danger/10 border border-danger/20 rounded-lg transition-all flex items-center gap-2",children:[(0,d.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})}),"Delete"]}),f&&(0,i.createPortal)((0,d.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[(0,d.jsx)("div",{className:"absolute inset-0 bg-black/70 backdrop-blur-sm animate-fade",onClick:h?void 0:()=>g(!1)}),(0,d.jsxs)("div",{className:"relative bg-surface-elevated border border-edge rounded-2xl p-6 w-full max-w-md mx-4 shadow-2xl animate-modal",children:[(0,d.jsx)("h2",{className:"text-lg font-medium text-content-primary mb-4",children:"Delete Session"}),(0,d.jsx)("p",{className:"text-sm text-content-secondary mb-4",children:"Are you sure you want to delete this session? This action cannot be undone."}),l&&(0,d.jsx)("p",{className:"text-sm text-danger mb-4",children:l}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-3",children:[(0,d.jsx)("button",{type:"button",onClick:()=>g(!1),disabled:h,className:"px-4 py-2 text-sm text-content-secondary hover:text-content-primary transition-colors disabled:opacity-50",children:"Cancel"}),(0,d.jsxs)("button",{onClick:n,disabled:h,className:"px-4 py-2 text-sm font-medium bg-danger hover:bg-danger-hover text-white rounded-xl transition-all disabled:opacity-50 disabled:cursor-not-allowed flex items-center gap-2",children:[h&&(0,d.jsxs)("svg",{className:"w-4 h-4 animate-spin",fill:"none",viewBox:"0 0 24 24",children:[(0,d.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,d.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),h?"Deleting...":"Delete"]})]})]})]}),document.body)]})}var m=c(30263),n=c(3991),o=c.n(n);function p({subagents:a,projectPath:b,sessionId:c}){return 0===a.length?null:(0,d.jsxs)("div",{className:"mt-8 animate-in stagger-2",children:[(0,d.jsxs)("h2",{className:"text-sm font-medium text-content-secondary mb-3 flex items-center gap-2",children:[(0,d.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 3H5a2 2 0 00-2 2v4m6-6h10a2 2 0 012 2v4M9 3v18m0 0h10a2 2 0 002-2V9M9 21H5a2 2 0 01-2-2V9m0 0h18"})}),"Subagents (",a.length,")"]}),(0,d.jsx)("div",{className:"grid gap-2",children:a.map(a=>(0,d.jsx)(o(),{href:`/project/${b}/session/${c}/subagent/${a.agentId}`,className:"block bg-surface border border-edge-subtle rounded-lg px-4 py-3 hover:border-edge-hover hover:bg-surface-elevated transition-all group",children:(0,d.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[(0,d.jsx)("span",{className:"text-xs font-mono text-accent",children:a.slug}),(0,d.jsx)("span",{className:"text-xs text-content-tertiary",children:"\xb7"}),(0,d.jsxs)("span",{className:"text-xs text-content-tertiary",children:[a.messageCount," messages"]}),(0,d.jsx)("span",{className:"text-xs text-content-tertiary",children:"\xb7"}),(0,d.jsx)("span",{className:"text-xs text-content-tertiary",children:(0,f.fw)(a.lastActivity)})]}),(0,d.jsx)("p",{className:"text-sm text-content-secondary truncate",children:a.firstMessage})]}),(0,d.jsx)("svg",{className:"w-4 h-4 text-content-tertiary group-hover:text-content-secondary flex-shrink-0 mt-0.5 transition-colors",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})},a.agentId))})]})}function q({projectPath:a,sessionId:b,messageCount:c,lastActivity:i,tokenUsage:j,totalMessageCount:n,strippedMessageCount:o,messages:q,highlightMessageId:r,subagents:s}){let[t,u]=(0,e.useState)(!1);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"mb-6 bg-surface border border-edge-subtle rounded-xl animate-in",children:[(0,d.jsxs)("div",{className:"px-4 py-3 flex items-center gap-4 text-sm text-content-secondary",children:[(0,d.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,d.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z"})}),c," messages"]}),(0,d.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,d.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"})}),(0,f.fw)(i)]}),(0,d.jsx)("span",{className:"text-xs text-content-tertiary hidden sm:inline",children:(0,f.r6)(i)}),(0,d.jsxs)("label",{className:"flex items-center gap-1.5 text-xs text-content-tertiary cursor-pointer ml-auto",children:[(0,d.jsx)("input",{type:"checkbox",checked:t,onChange:a=>u(a.target.checked),className:"w-3.5 h-3.5 rounded border-edge-hover bg-surface-elevated text-accent focus:ring-accent focus:ring-offset-0"}),"System messages"]})]}),(0,d.jsx)("div",{className:"border-t border-edge-subtle px-4 py-3",children:(0,d.jsx)(h,{sessionId:b})}),j&&(0,d.jsxs)("div",{className:"border-t border-edge-subtle px-4 py-2.5 flex flex-wrap items-center gap-x-4 gap-y-1 text-xs",children:[(0,d.jsx)("span",{className:"text-content-tertiary font-medium",children:"Tokens"}),(0,d.jsxs)("span",{children:[(0,d.jsx)("span",{className:"text-content-tertiary",children:"in"})," ",(0,d.jsx)("span",{className:"text-content-primary font-mono",children:(0,f.ap)(j.input_tokens)})]}),(0,d.jsxs)("span",{children:[(0,d.jsx)("span",{className:"text-content-tertiary",children:"out"})," ",(0,d.jsx)("span",{className:"text-content-primary font-mono",children:(0,f.ap)(j.output_tokens)})]}),(0,d.jsxs)("span",{children:[(0,d.jsx)("span",{className:"text-content-tertiary",children:"cache read"})," ",(0,d.jsx)("span",{className:"text-content-primary font-mono",children:(0,f.ap)(j.cache_read_input_tokens)})]}),(0,d.jsxs)("span",{children:[(0,d.jsx)("span",{className:"text-content-tertiary",children:"cache write"})," ",(0,d.jsx)("span",{className:"text-content-primary font-mono",children:(0,f.ap)(j.cache_creation_input_tokens)})]})]}),(0,d.jsxs)("div",{className:"border-t border-edge-subtle px-4 py-2.5 flex items-center justify-end gap-2",children:[(0,d.jsx)(k,{encodedPath:a,sessionId:b,totalMessageCount:n,strippedMessageCount:o}),(0,d.jsx)(l,{encodedPath:a,sessionId:b})]})]}),(0,d.jsx)("div",{className:"mb-6 animate-in stagger-1",children:(0,d.jsx)(m.m,{type:"session",projectPath:a,sessionId:b,messageCount:c})}),(0,d.jsx)(g.ChatView,{messages:q,highlightMessageId:r,showHidden:t}),s&&s.length>0&&(0,d.jsx)(p,{subagents:s,projectPath:a,sessionId:b})]})}},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},79646:a=>{"use strict";a.exports=require("child_process")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87295:(a,b,c)=>{"use strict";c.d(b,{FontSizeToggle:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call FontSizeToggle() from the server but FontSizeToggle is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/font-size-toggle.tsx","FontSizeToggle")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},90875:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>D.a,__next_app__:()=>J,handler:()=>L,pages:()=>I,routeModule:()=>K,tree:()=>H});var d=c(49754),e=c(9117),f=c(46595),g=c(32324),h=c(39326),i=c(38928),j=c(20175),k=c(12),l=c(54290),m=c(12696),n=c(82802),o=c(77533),p=c(45229),q=c(32822),r=c(261),s=c(26453),t=c(52474),u=c(26713),v=c(51356),w=c(62685),x=c(36225),y=c(63446),z=c(2762),A=c(45742),B=c(86439),C=c(81170),D=c.n(C),E=c(62506),F=c(91203),G={};for(let a in E)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(G[a]=()=>E[a]);c.d(b,G);let H={children:["",{children:["project",{children:["[projectPath]",{children:["session",{children:["[sessionId]",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,6051)),"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/project/[projectPath]/session/[sessionId]/page.tsx"]}]},{}]},{}]},{}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,51472)),"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,81170,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,87028,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,90461,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,32768,23)),"next/dist/client/components/builtin/unauthorized.js"]}]}.children,I=["/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/project/[projectPath]/session/[sessionId]/page.tsx"],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/project/[projectPath]/session/[sessionId]/page",pathname:"/project/[projectPath]/session/[sessionId]",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/project/[projectPath]/session/[sessionId]/page";"/index"===G&&(G="/");let M=(0,h.getRequestMeta)(a,"postponed"),N=(0,h.getRequestMeta)(a,"minimalMode"),O=await K.prepare(a,b,{srcPage:G,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:P,query:Q,params:R,parsedUrl:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,interceptionRoutePatterns:ae}=O,af=S.pathname||"/",ag=(0,r.normalizeAppPath)(G),{isOnDemandRevalidate:ah}=O,ai=K.match(af,$),aj=!!$.routes[aa],ak=!!(ai||aj||$.routes[ag]),al=a.headers["user-agent"]||"",am=(0,u.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[t.RSC_HEADER],aq=(0,s.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr)&&(null==(C=$.routes[ag]??$.dynamicRoutes[ag])?void 0:C.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?M:void 0,av=ar&&ap&&!ao,aw=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots);an&&ar&&(ak=!1,ax=!1);let ay=!0===K.isDev||!ak||"string"==typeof M||av,az=an&&ar,aA=null;_||!ak||ay||aq||au||av||(aA=aa);let aB=aA;!aB&&K.isDev&&(aB=aa),K.isDev||_||!ak||!ap||av||(0,k.d)(a.headers);let aC={...E,tree:H,pages:I,GlobalError:D(),handler:L,routeModule:K,__next_app__:J};X&&Y&&(0,o.setReferenceManifestsSingleton)({page:G,clientReferenceManifest:Y,serverActionsManifest:X,serverModuleMap:(0,q.createServerModuleMap)({serverActionsManifest:X})});let aD=a.method||"GET",aE=(0,g.getTracer)(),aF=aE.getActiveScopeSpan();try{let f=K.getVaryHeader(aa,ae);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return K.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aE.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aD} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aD} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aC,Component:(0,j.T)(aC),params:R,routeModule:K,page:G,postponed:f,shouldWaitOnAllReady:az,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof f||ay,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,serverActionsManifest:X,clientReferenceManifest:Y,setIsrStatus:null==ac?void 0:ac.setIsrStatus,dir:c(33873).join(process.cwd(),K.relativeProjectDir),isDraftMode:_,isRevalidate:ak&&!f&&!av,botType:am,isOnDemandRevalidate:ah,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,previewProps:$.preview,deploymentId:ad.deploymentId,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,devtoolSegmentExplorer:ad.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ad.experimental.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...as?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:as}:{},experimental:{isRoutePPREnabled:ar,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,cacheComponents:!!ad.experimental.cacheComponents,clientSegmentCache:!!ad.experimental.clientSegmentCache,clientParamParsing:!!ad.experimental.clientParamParsing,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:K.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[y.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,ak&&(null==n?void 0:n.revalidate)===0&&!K.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
2
+ see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},o=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===K.isDev,l=c||b.writableEnded;if(ah&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,w.parseFallbackField)(ai.fallback)),j===w.FallbackMode.PRERENDER&&(0,u.isBot)(al)&&(!ar||an)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(j!==w.FallbackMode.NOT_FOUND||f)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),!N&&j!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aB&&!l&&!_&&T&&(k||!aj)){let b;if((k||ai)&&j===w.FallbackMode.NOT_FOUND)throw new B.NoFallbackError;if(ar&&!ap){let c="string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:k?ag:null;if(b=await K.handleResponse({cacheKey:c,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||at?(0,n.u)(ag):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let o=ah||g||!au?void 0:au;if(as&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=T&&ar&&((0,h.getRequestMeta)(a,"renderFallbackShell")||at)?(0,n.u)(af):null;return m({span:i,postponed:o,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,n=await K.handleResponse({cacheKey:aA,responseGenerator:a=>o({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),K.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!n){if(aA)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof n.value.postponed;ak&&!av&&(!p||ao)&&(N||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=n;if(au)l={revalidate:0,expire:void 0};else if(N&&ap&&!ao&&ar)l={revalidate:0,expire:void 0};else if(!K.isDev)if(_)l={revalidate:0,expire:void 0};else if(ak){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:y.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(n.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===v.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];N&&ak&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...n,value:{...n.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&au)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(N&&ak||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(N&&ak&&s&&"string"==typeof s&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,s),!q.status||ap&&ar||(b.statusCode=q.status),!N&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),p&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:av?{revalidate:0,expire:void 0}:n.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(q.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let u=q.html;if(!p||N||ap)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:n.cacheControl});if(as)return u.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}});let w=new TransformStream;return u.push(w.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(w.writable)}).catch(a=>{w.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}})};if(!aF)return await aE.withPropagatedContext(a.headers,()=>aE.trace(i.BaseServerSpan.handleRequest,{spanName:`${aD} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aD,"http.target":a.url}},p));await p(aF)}catch(b){throw b instanceof B.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:ak,isOnDemandRevalidate:ah})},ac),b}}},91777:(a,b,c)=>{"use strict";c.d(b,{FontSizeToggle:()=>g});var d=c(21124),e=c(17614);let f={small:"Small",medium:"Medium",large:"Large"};function g(){let{fontSize:a,cycle:b}=(0,e.e)();return(0,d.jsx)("button",{onClick:b,className:"p-2 text-content-tertiary hover:text-content-secondary hover:bg-surface-elevated rounded-lg transition-all flex-shrink-0",title:`Font size: ${f[a]}`,children:"small"===a?(0,d.jsx)("span",{className:"w-[18px] h-[18px] flex items-center justify-center font-medium text-[11px] leading-none",children:"A"}):"medium"===a?(0,d.jsx)("span",{className:"w-[18px] h-[18px] flex items-center justify-center font-medium text-[14px] leading-none",children:"A"}):(0,d.jsx)("span",{className:"w-[18px] h-[18px] flex items-center justify-center font-medium text-[17px] leading-none",children:"A"})})}}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[586,251,506,68,138,326],()=>b(b.s=90875));module.exports=c})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../package.json","../../../../../chunks/138.js","../../../../../chunks/251.js","../../../../../chunks/326.js","../../../../../chunks/506.js","../../../../../chunks/586.js","../../../../../webpack-runtime.js","page_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../package.json","../../../../../chunks/138.js","../../../../../chunks/251.js","../../../../../chunks/326.js","../../../../../chunks/506.js","../../../../../chunks/586.js","../../../../../chunks/68.js","../../../../../webpack-runtime.js","page_client-reference-manifest.js"]}
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/project/[projectPath]/session/[sessionId]/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"449":{"*":{"id":"5969","name":"*","chunks":[],"async":false}},"622":{"*":{"id":"2146","name":"*","chunks":[],"async":false}},"1458":{"*":{"id":"8734","name":"*","chunks":[],"async":false}},"1959":{"*":{"id":"1603","name":"*","chunks":[],"async":false}},"2619":{"*":{"id":"3991","name":"*","chunks":[],"async":false}},"3389":{"*":{"id":"2087","name":"*","chunks":[],"async":false}},"3886":{"*":{"id":"5170","name":"*","chunks":[],"async":false}},"4431":{"*":{"id":"2263","name":"*","chunks":[],"async":false}},"5014":{"*":{"id":"7614","name":"*","chunks":[],"async":false}},"5278":{"*":{"id":"8922","name":"*","chunks":[],"async":false}},"6229":{"*":{"id":"1777","name":"*","chunks":[],"async":false}},"6281":{"*":{"id":"8091","name":"*","chunks":[],"async":false}},"6592":{"*":{"id":"9600","name":"*","chunks":[],"async":false}},"7150":{"*":{"id":"4160","name":"*","chunks":[],"async":false}},"7314":{"*":{"id":"5025","name":"*","chunks":[],"async":false}},"7989":{"*":{"id":"8495","name":"*","chunks":[],"async":false}},"8666":{"*":{"id":"2282","name":"*","chunks":[],"async":false}},"8924":{"*":{"id":"9234","name":"*","chunks":[],"async":false}},"8994":{"*":{"id":"5848","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"7526","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7150,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7150,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/client-page.js":{"id":1959,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/client-page.js":{"id":1959,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/client-segment.js":{"id":7989,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/client-segment.js":{"id":7989,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":3886,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":3886,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":5278,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":5278,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/render-from-template-context.js":{"id":8924,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":8924,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/lib/framework/boundary-components.js":{"id":4431,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":4431,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":622,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":622,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"DM_Sans\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-sans\"}],\"variableName\":\"dmSans\"}":{"id":4179,"name":"*","chunks":["177","static/chunks/app/layout-106c55be3e0b55bb.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-mono\"}],\"variableName\":\"jetbrainsMono\"}":{"id":5917,"name":"*","chunks":["177","static/chunks/app/layout-106c55be3e0b55bb.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/globals.css":{"id":3673,"name":"*","chunks":["177","static/chunks/app/layout-106c55be3e0b55bb.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/font-size-provider.tsx":{"id":5014,"name":"*","chunks":["177","static/chunks/app/layout-106c55be3e0b55bb.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/theme-provider.tsx":{"id":1458,"name":"*","chunks":["177","static/chunks/app/layout-106c55be3e0b55bb.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/project-page-content.tsx":{"id":8666,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","326","static/chunks/326-29798aee14a5eca1.js","943","static/chunks/app/project/%5BprojectPath%5D/page-7bcd31021ad7cef3.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/font-size-toggle.tsx":{"id":6229,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","810","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/page-ea6ba7e3b77bc3f1.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/global-search.tsx":{"id":6281,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","810","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/page-ea6ba7e3b77bc3f1.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/project-list.tsx":{"id":8994,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","326","static/chunks/326-29798aee14a5eca1.js","974","static/chunks/app/page-a6be885dc8fc0a2a.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/sync-button.tsx":{"id":3389,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","810","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/page-ea6ba7e3b77bc3f1.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/theme-toggle.tsx":{"id":449,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","810","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/page-ea6ba7e3b77bc3f1.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/app-dir/link.js":{"id":2619,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","810","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/page-ea6ba7e3b77bc3f1.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/app-dir/link.js":{"id":2619,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","810","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/page-ea6ba7e3b77bc3f1.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/session-content.tsx":{"id":7314,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","810","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/page-ea6ba7e3b77bc3f1.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/search/search-results.tsx":{"id":6592,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/":[],"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/layout":[{"inlined":false,"path":"static/css/58c26641c026d929.css"}],"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/page":[],"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/project/[projectPath]/page":[],"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/project/[projectPath]/session/[sessionId]/page":[]},"rscModuleMapping":{"449":{"*":{"id":"1699","name":"*","chunks":[],"async":false}},"622":{"*":{"id":"1384","name":"*","chunks":[],"async":false}},"1458":{"*":{"id":"3340","name":"*","chunks":[],"async":false}},"1959":{"*":{"id":"3597","name":"*","chunks":[],"async":false}},"2619":{"*":{"id":"5169","name":"*","chunks":[],"async":false}},"3389":{"*":{"id":"8913","name":"*","chunks":[],"async":false}},"3673":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"3886":{"*":{"id":"9748","name":"*","chunks":[],"async":false}},"4431":{"*":{"id":"3041","name":"*","chunks":[],"async":false}},"5014":{"*":{"id":"5864","name":"*","chunks":[],"async":false}},"5278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"6229":{"*":{"id":"7295","name":"*","chunks":[],"async":false}},"6281":{"*":{"id":"1685","name":"*","chunks":[],"async":false}},"6592":{"*":{"id":"3758","name":"*","chunks":[],"async":false}},"7150":{"*":{"id":"1170","name":"*","chunks":[],"async":false}},"7314":{"*":{"id":"323","name":"*","chunks":[],"async":false}},"7989":{"*":{"id":"6893","name":"*","chunks":[],"async":false}},"8666":{"*":{"id":"6157","name":"*","chunks":[],"async":false}},"8924":{"*":{"id":"9576","name":"*","chunks":[],"async":false}},"8994":{"*":{"id":"4591","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/project/[projectPath]/session/[sessionId]/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"449":{"*":{"id":"25969","name":"*","chunks":[],"async":false}},"622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"1458":{"*":{"id":"68734","name":"*","chunks":[],"async":false}},"1959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"2619":{"*":{"id":"3991","name":"*","chunks":[],"async":false}},"3389":{"*":{"id":"12087","name":"*","chunks":[],"async":false}},"3886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"4431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"5014":{"*":{"id":"17614","name":"*","chunks":[],"async":false}},"5278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"6229":{"*":{"id":"91777","name":"*","chunks":[],"async":false}},"6281":{"*":{"id":"98091","name":"*","chunks":[],"async":false}},"6592":{"*":{"id":"39600","name":"*","chunks":[],"async":false}},"7150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"7192":{"*":{"id":"72416","name":"*","chunks":[],"async":false}},"7989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"8666":{"*":{"id":"32282","name":"*","chunks":[],"async":false}},"8924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}},"8994":{"*":{"id":"55848","name":"*","chunks":[],"async":false}},"9649":{"*":{"id":"5407","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7150,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7150,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/client-page.js":{"id":1959,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/client-page.js":{"id":1959,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/client-segment.js":{"id":7989,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/client-segment.js":{"id":7989,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":3886,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":3886,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":5278,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":5278,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/render-from-template-context.js":{"id":8924,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":8924,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/lib/framework/boundary-components.js":{"id":4431,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":4431,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":622,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":622,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"DM_Sans\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-sans\"}],\"variableName\":\"dmSans\"}":{"id":4179,"name":"*","chunks":["177","static/chunks/app/layout-106c55be3e0b55bb.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-mono\"}],\"variableName\":\"jetbrainsMono\"}":{"id":5917,"name":"*","chunks":["177","static/chunks/app/layout-106c55be3e0b55bb.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/globals.css":{"id":3673,"name":"*","chunks":["177","static/chunks/app/layout-106c55be3e0b55bb.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/font-size-provider.tsx":{"id":5014,"name":"*","chunks":["177","static/chunks/app/layout-106c55be3e0b55bb.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/theme-provider.tsx":{"id":1458,"name":"*","chunks":["177","static/chunks/app/layout-106c55be3e0b55bb.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/font-size-toggle.tsx":{"id":6229,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","856","static/chunks/856-4671c40140d5540a.js","65","static/chunks/65-83e55f26b1f0df7d.js","810","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/page-c2778f4b0ae80f02.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/global-search.tsx":{"id":6281,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","856","static/chunks/856-4671c40140d5540a.js","65","static/chunks/65-83e55f26b1f0df7d.js","810","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/page-c2778f4b0ae80f02.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/project-list.tsx":{"id":8994,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","326","static/chunks/326-29798aee14a5eca1.js","974","static/chunks/app/page-a6be885dc8fc0a2a.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/sync-button.tsx":{"id":3389,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","856","static/chunks/856-4671c40140d5540a.js","65","static/chunks/65-83e55f26b1f0df7d.js","810","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/page-c2778f4b0ae80f02.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/theme-toggle.tsx":{"id":449,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","856","static/chunks/856-4671c40140d5540a.js","65","static/chunks/65-83e55f26b1f0df7d.js","810","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/page-c2778f4b0ae80f02.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/project-page-content.tsx":{"id":8666,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","326","static/chunks/326-29798aee14a5eca1.js","943","static/chunks/app/project/%5BprojectPath%5D/page-0c3c474576d65a1a.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/app-dir/link.js":{"id":2619,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","856","static/chunks/856-4671c40140d5540a.js","65","static/chunks/65-83e55f26b1f0df7d.js","810","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/page-c2778f4b0ae80f02.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/app-dir/link.js":{"id":2619,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","856","static/chunks/856-4671c40140d5540a.js","65","static/chunks/65-83e55f26b1f0df7d.js","810","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/page-c2778f4b0ae80f02.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/session-content.tsx":{"id":7192,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","856","static/chunks/856-4671c40140d5540a.js","65","static/chunks/65-83e55f26b1f0df7d.js","810","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/page-c2778f4b0ae80f02.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/chat-view.tsx":{"id":9649,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/search/search-results.tsx":{"id":6592,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/":[],"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/layout":[{"inlined":false,"path":"static/css/09912a2e06f56b69.css"}],"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/page":[],"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/project/[projectPath]/page":[],"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/project/[projectPath]/session/[sessionId]/page":[]},"rscModuleMapping":{"449":{"*":{"id":"31699","name":"*","chunks":[],"async":false}},"622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"1458":{"*":{"id":"33340","name":"*","chunks":[],"async":false}},"1959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"2619":{"*":{"id":"65169","name":"*","chunks":[],"async":false}},"3389":{"*":{"id":"38913","name":"*","chunks":[],"async":false}},"3673":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"3886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"4431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"5014":{"*":{"id":"85864","name":"*","chunks":[],"async":false}},"5278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"6229":{"*":{"id":"87295","name":"*","chunks":[],"async":false}},"6281":{"*":{"id":"21685","name":"*","chunks":[],"async":false}},"6592":{"*":{"id":"23758","name":"*","chunks":[],"async":false}},"7150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"7192":{"*":{"id":"70323","name":"*","chunks":[],"async":false}},"7989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"8666":{"*":{"id":"78538","name":"*","chunks":[],"async":false}},"8924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}},"8994":{"*":{"id":"44591","name":"*","chunks":[],"async":false}},"9649":{"*":{"id":"30619","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
@@ -0,0 +1,2 @@
1
+ (()=>{var a={};a.id=653,a.ids=[653],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1708:a=>{"use strict";a.exports=require("node:process")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5407:(a,b,c)=>{"use strict";c.d(b,{ChatView:()=>k});var d=c(21124),e=c(38301),f=c(38276),g=c(92155);function h({message:a,compact:b=!1}){let[c,h]=(0,e.useState)(!1),i="user"===a.type,j=function(a,b){if("string"==typeof a)return a;let c=[];for(let d of a)if("text"===d.type)c.push(d.text);else if("tool_use"===d.type)c.push(`[Tool: ${d.name}]`);else if("tool_result"===d.type&&b){let a="string"==typeof d.content?d.content:JSON.stringify(d.content);c.push(`[Tool Result: ${a.slice(0,500)}${a.length>500?"...":""}]`)}return c.join("\n\n")}(a.message.content,c),k=b&&!c&&j.length>300?j.slice(0,300)+"...":j,l=b&&j.length>300;return(0,d.jsx)("div",{className:`flex ${i?"justify-end":"justify-start"}`,children:(0,d.jsxs)("div",{className:`max-w-[85%] rounded-2xl px-4 py-3 ${i?"bg-accent/15 border border-accent/20 text-content-primary rounded-br-md":"bg-surface-elevated border border-edge-subtle text-content-primary rounded-bl-md"}`,children:[(0,d.jsxs)("div",{className:`text-[11px] mb-1.5 ${i?"text-accent/60":"text-content-tertiary"}`,children:[i?"You":"Claude"," \xb7 ",(0,g.r6)(a.timestamp)]}),i?(0,d.jsx)("div",{className:"text-sm whitespace-pre-wrap break-words leading-relaxed",children:c?j:k}):(0,d.jsx)("div",{className:"text-sm leading-relaxed [&>*:first-child]:mt-0 [&>*:last-child]:mb-0 [&_p]:mb-2 [&_ul]:mb-2 [&_ol]:mb-2 [&_ul]:pl-4 [&_ol]:pl-4 [&_ul]:list-disc [&_ol]:list-decimal [&_li]:mb-0.5 [&_h1]:text-base [&_h1]:font-semibold [&_h1]:mb-1.5 [&_h2]:text-sm [&_h2]:font-semibold [&_h2]:mb-1 [&_h3]:text-sm [&_h3]:font-medium [&_h3]:mb-1 [&_code]:bg-surface-base [&_code]:px-1 [&_code]:py-0.5 [&_code]:rounded [&_code]:text-xs [&_code]:font-mono [&_pre]:bg-surface-base [&_pre]:p-3 [&_pre]:rounded-lg [&_pre]:overflow-x-auto [&_pre]:text-xs [&_pre]:mb-2 [&_blockquote]:border-l-2 [&_blockquote]:border-edge-subtle [&_blockquote]:pl-3 [&_blockquote]:text-content-secondary [&_hr]:border-edge-subtle [&_hr]:my-2",children:(0,d.jsx)(f.oz,{children:c?j:k})}),l&&(0,d.jsx)("button",{onClick:()=>h(!c),className:`mt-2 text-xs font-medium ${i?"text-accent/70 hover:text-accent":"text-accent hover:text-accent-hover"} transition-colors`,children:c?"Show less":"Show more"})]})})}function i({name:a,args:b,timestamp:c}){return(0,d.jsx)("div",{className:"flex justify-end py-1",children:(0,d.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 rounded-full bg-surface border border-edge-subtle text-xs",children:[(0,d.jsx)("svg",{className:"w-3 h-3 text-accent shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 9l3 3-3 3m5 0h3"})}),(0,d.jsx)("span",{className:"text-accent font-mono font-medium",children:a}),b&&(0,d.jsx)("span",{className:"text-content-secondary font-mono",children:b}),(0,d.jsx)("span",{className:"text-content-tertiary ml-1",children:(0,g.r6)(c)})]})})}var j=c(65881);function k({messages:a,previewCount:b=50,highlightMessageId:c,showHidden:f=!1}){let[k,l]=(0,e.useState)(!!c),m=(0,e.useRef)(null),n=[...(0,e.useMemo)(()=>f?a:a.filter(a=>!(0,j.X4)(a)&&!(0,j.B1)(a)),[a,f])].sort((a,b)=>(0,g.EH)(a.timestamp)-(0,g.EH)(b.timestamp)),o=k?n:n.slice(0,b),p=n.length>b;return(0,d.jsxs)("div",{className:"space-y-4",children:[o.map((a,b)=>{let e=c===a.uuid;return(0,d.jsx)("div",{ref:e?m:void 0,className:`${e?"ring-2 ring-accent ring-offset-2 ring-offset-base rounded-2xl":""} animate-in stagger-${Math.min(b+1,10)}`,children:(()=>{let b=(0,j.iP)(a.message.content),c=(0,j.Tc)(b);return c?(0,d.jsx)(i,{name:c.name,args:c.args,timestamp:a.timestamp}):(0,d.jsx)(h,{message:a,compact:!k})})()},a.uuid)}),p&&(0,d.jsx)("div",{className:"flex justify-center pt-4",children:(0,d.jsx)("button",{onClick:()=>l(!k),className:"flex items-center gap-2 px-5 py-2.5 text-sm text-accent hover:text-accent-hover bg-surface hover:bg-surface-elevated border border-edge-subtle hover:border-edge-hover rounded-xl transition-all",children:k?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 15l7-7 7 7"})}),"Show preview only"]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})}),"Show all ",n.length," messages"]})})}),0===o.length&&(0,d.jsx)("div",{className:"text-center py-16 text-content-tertiary animate-fade",children:"No messages in this session"})]})}},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},17547:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>D.a,__next_app__:()=>J,handler:()=>L,pages:()=>I,routeModule:()=>K,tree:()=>H});var d=c(49754),e=c(9117),f=c(46595),g=c(32324),h=c(39326),i=c(38928),j=c(20175),k=c(12),l=c(54290),m=c(12696),n=c(82802),o=c(77533),p=c(45229),q=c(32822),r=c(261),s=c(26453),t=c(52474),u=c(26713),v=c(51356),w=c(62685),x=c(36225),y=c(63446),z=c(2762),A=c(45742),B=c(86439),C=c(81170),D=c.n(C),E=c(62506),F=c(91203),G={};for(let a in E)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(G[a]=()=>E[a]);c.d(b,G);let H={children:["",{children:["project",{children:["[projectPath]",{children:["session",{children:["[sessionId]",{children:["subagent",{children:["[agentId]",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,87285)),"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/project/[projectPath]/session/[sessionId]/subagent/[agentId]/page.tsx"]}]},{}]},{}]},{}]},{}]},{}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,51472)),"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,81170,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,87028,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,90461,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,32768,23)),"next/dist/client/components/builtin/unauthorized.js"]}]}.children,I=["/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/project/[projectPath]/session/[sessionId]/subagent/[agentId]/page.tsx"],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/project/[projectPath]/session/[sessionId]/subagent/[agentId]/page",pathname:"/project/[projectPath]/session/[sessionId]/subagent/[agentId]",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/project/[projectPath]/session/[sessionId]/subagent/[agentId]/page";"/index"===G&&(G="/");let M=(0,h.getRequestMeta)(a,"postponed"),N=(0,h.getRequestMeta)(a,"minimalMode"),O=await K.prepare(a,b,{srcPage:G,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:P,query:Q,params:R,parsedUrl:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,interceptionRoutePatterns:ae}=O,af=S.pathname||"/",ag=(0,r.normalizeAppPath)(G),{isOnDemandRevalidate:ah}=O,ai=K.match(af,$),aj=!!$.routes[aa],ak=!!(ai||aj||$.routes[ag]),al=a.headers["user-agent"]||"",am=(0,u.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[t.RSC_HEADER],aq=(0,s.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr)&&(null==(C=$.routes[ag]??$.dynamicRoutes[ag])?void 0:C.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?M:void 0,av=ar&&ap&&!ao,aw=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots);an&&ar&&(ak=!1,ax=!1);let ay=!0===K.isDev||!ak||"string"==typeof M||av,az=an&&ar,aA=null;_||!ak||ay||aq||au||av||(aA=aa);let aB=aA;!aB&&K.isDev&&(aB=aa),K.isDev||_||!ak||!ap||av||(0,k.d)(a.headers);let aC={...E,tree:H,pages:I,GlobalError:D(),handler:L,routeModule:K,__next_app__:J};X&&Y&&(0,o.setReferenceManifestsSingleton)({page:G,clientReferenceManifest:Y,serverActionsManifest:X,serverModuleMap:(0,q.createServerModuleMap)({serverActionsManifest:X})});let aD=a.method||"GET",aE=(0,g.getTracer)(),aF=aE.getActiveScopeSpan();try{let f=K.getVaryHeader(aa,ae);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return K.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aE.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aD} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aD} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aC,Component:(0,j.T)(aC),params:R,routeModule:K,page:G,postponed:f,shouldWaitOnAllReady:az,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof f||ay,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,serverActionsManifest:X,clientReferenceManifest:Y,setIsrStatus:null==ac?void 0:ac.setIsrStatus,dir:c(33873).join(process.cwd(),K.relativeProjectDir),isDraftMode:_,isRevalidate:ak&&!f&&!av,botType:am,isOnDemandRevalidate:ah,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,previewProps:$.preview,deploymentId:ad.deploymentId,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,devtoolSegmentExplorer:ad.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ad.experimental.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...as?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:as}:{},experimental:{isRoutePPREnabled:ar,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,cacheComponents:!!ad.experimental.cacheComponents,clientSegmentCache:!!ad.experimental.clientSegmentCache,clientParamParsing:!!ad.experimental.clientParamParsing,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:K.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[y.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,ak&&(null==n?void 0:n.revalidate)===0&&!K.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
2
+ see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},o=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===K.isDev,l=c||b.writableEnded;if(ah&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,w.parseFallbackField)(ai.fallback)),j===w.FallbackMode.PRERENDER&&(0,u.isBot)(al)&&(!ar||an)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(j!==w.FallbackMode.NOT_FOUND||f)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),!N&&j!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aB&&!l&&!_&&T&&(k||!aj)){let b;if((k||ai)&&j===w.FallbackMode.NOT_FOUND)throw new B.NoFallbackError;if(ar&&!ap){let c="string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:k?ag:null;if(b=await K.handleResponse({cacheKey:c,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||at?(0,n.u)(ag):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let o=ah||g||!au?void 0:au;if(as&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=T&&ar&&((0,h.getRequestMeta)(a,"renderFallbackShell")||at)?(0,n.u)(af):null;return m({span:i,postponed:o,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,n=await K.handleResponse({cacheKey:aA,responseGenerator:a=>o({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),K.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!n){if(aA)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof n.value.postponed;ak&&!av&&(!p||ao)&&(N||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=n;if(au)l={revalidate:0,expire:void 0};else if(N&&ap&&!ao&&ar)l={revalidate:0,expire:void 0};else if(!K.isDev)if(_)l={revalidate:0,expire:void 0};else if(ak){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:y.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(n.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===v.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];N&&ak&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...n,value:{...n.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&au)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(N&&ak||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(N&&ak&&s&&"string"==typeof s&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,s),!q.status||ap&&ar||(b.statusCode=q.status),!N&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),p&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:av?{revalidate:0,expire:void 0}:n.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(q.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let u=q.html;if(!p||N||ap)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:n.cacheControl});if(as)return u.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}});let w=new TransformStream;return u.push(w.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(w.writable)}).catch(a=>{w.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}})};if(!aF)return await aE.withPropagatedContext(a.headers,()=>aE.trace(i.BaseServerSpan.handleRequest,{spanName:`${aD} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aD,"http.target":a.url}},p));await p(aF)}catch(b){throw b instanceof B.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:ak,isOnDemandRevalidate:ah})},ac),b}}},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21685:(a,b,c)=>{"use strict";c.d(b,{GlobalSearch:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call GlobalSearch() from the server but GlobalSearch is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/global-search.tsx","GlobalSearch")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},30619:(a,b,c)=>{"use strict";c.d(b,{ChatView:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call ChatView() from the server but ChatView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/chat-view.tsx","ChatView")},31699:(a,b,c)=>{"use strict";c.d(b,{ThemeToggle:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call ThemeToggle() from the server but ThemeToggle is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/theme-toggle.tsx","ThemeToggle")},33873:a=>{"use strict";a.exports=require("path")},38913:(a,b,c)=>{"use strict";c.d(b,{SyncButton:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call SyncButton() from the server but SyncButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/sync-button.tsx","SyncButton")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},65881:(a,b,c)=>{"use strict";function d(a){if("string"==typeof a)return a;let b=a.find(a=>"text"===a.type);return b?b.text:""}function e(a){if(!a.startsWith("<command-name>")&&!a.startsWith("<command-message>"))return null;let b=a.match(/<command-name>([^<]+)<\/command-name>/);if(!b)return null;let c=a.match(/<command-args>([^<]*)<\/command-args>/);return{name:b[1].trim(),args:c?c[1].trim():""}}function f(a){if(a.isMeta)return!0;let b=d(a.message.content);return!!(b.startsWith("<local-command-")||b.startsWith("Caveat:")||b.startsWith("<system-reminder>"))}function g(a){let b=a.message.content;return"string"==typeof b?0===b.trim().length:0===b.length||!b.some(a=>"text"===a.type&&a.text.trim().length>0)}c.d(b,{B1:()=>g,Tc:()=>e,X4:()=>f,iP:()=>d})},69200:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,65169,23)),Promise.resolve().then(c.bind(c,30619)),Promise.resolve().then(c.bind(c,87295)),Promise.resolve().then(c.bind(c,21685)),Promise.resolve().then(c.bind(c,38913)),Promise.resolve().then(c.bind(c,31699))},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},78928:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,3991,23)),Promise.resolve().then(c.bind(c,5407)),Promise.resolve().then(c.bind(c,91777)),Promise.resolve().then(c.bind(c,98091)),Promise.resolve().then(c.bind(c,12087)),Promise.resolve().then(c.bind(c,25969))},79646:a=>{"use strict";a.exports=require("child_process")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87285:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>p,dynamic:()=>o});var d=c(75338),e=c(65169),f=c.n(e),g=c(82161),h=c(53554),i=c(21685),j=c(31699),k=c(87295),l=c(38913),m=c(30619);function n(a){return a>=1e6?`${(a/1e6).toFixed(1)}M`:a>=1e4?`${(a/1e3).toFixed(1)}k`:a.toLocaleString("en-GB")}let o="force-dynamic";async function p({params:a}){let{projectPath:b,sessionId:c,agentId:e}=await a,o=(0,h.UZ)(b,c,e);return o||(0,g.notFound)(),(0,d.jsxs)("div",{className:"min-h-screen",children:[(0,d.jsx)("header",{className:"border-b border-edge-subtle bg-surface/80 backdrop-blur-md sticky top-0 z-10",children:(0,d.jsx)("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 py-4",children:(0,d.jsxs)("div",{className:"flex items-center gap-4",children:[(0,d.jsx)(f(),{href:`/project/${b}/session/${c}`,className:"p-2 -ml-2 text-content-tertiary hover:text-content-primary hover:bg-surface-elevated rounded-lg transition-all flex-shrink-0",children:(0,d.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),(0,d.jsxs)("div",{className:"flex-1 min-w-0 hidden sm:block",children:[(0,d.jsx)("h1",{className:"text-lg font-medium text-content-primary truncate",children:o.projectName}),(0,d.jsxs)("p",{className:"text-xs text-content-tertiary truncate font-mono",children:[(0,d.jsx)("span",{className:"text-accent",children:o.id}),(0,d.jsx)("span",{className:"mx-1.5 opacity-40",children:"\xb7"}),"subagent"]})]}),(0,d.jsx)("div",{className:"flex-1 max-w-md",children:(0,d.jsx)(i.GlobalSearch,{projectPath:b})}),(0,d.jsx)(k.FontSizeToggle,{}),(0,d.jsx)(j.ThemeToggle,{}),(0,d.jsx)(l.SyncButton,{})]})})}),(0,d.jsxs)("main",{className:"max-w-5xl mx-auto px-4 sm:px-6 py-8",children:[(0,d.jsxs)("div",{className:"mb-6 bg-surface border border-edge-subtle rounded-xl animate-in",children:[(0,d.jsxs)("div",{className:"px-4 py-3 flex items-center gap-4 text-sm text-content-secondary",children:[(0,d.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,d.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z"})}),o.messageCount," messages"]}),(0,d.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,d.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"})}),function(a){let b=Date.now()-a,c=Math.floor(b/6e4),d=Math.floor(b/36e5),e=Math.floor(b/864e5),f=Math.floor(b/6048e5),g=Math.floor(b/2592e6);if(c<1)return"Just now";if(c<60)return`${c}m ago`;if(d<24)return`${d}h ago`;if(e<7)return`${e}d ago`;if(e<30)return`${f}w ago`;if(g<12)return`${g}mo ago`;let h=Math.floor(g/12);return`${h}y ago`}(o.lastActivity)]}),(0,d.jsx)("span",{className:"text-xs text-content-tertiary hidden sm:inline",children:new Date(function(a){if("number"==typeof a)return a;let b=Date.parse(a);return isNaN(b)?0:b}(o.lastActivity)).toLocaleString("en-GB",{day:"numeric",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit"})})]}),o.tokenUsage&&(0,d.jsxs)("div",{className:"border-t border-edge-subtle px-4 py-2.5 flex flex-wrap items-center gap-x-4 gap-y-1 text-xs",children:[(0,d.jsx)("span",{className:"text-content-tertiary font-medium",children:"Tokens"}),(0,d.jsxs)("span",{children:[(0,d.jsx)("span",{className:"text-content-tertiary",children:"in"})," ",(0,d.jsx)("span",{className:"text-content-primary font-mono",children:n(o.tokenUsage.input_tokens)})]}),(0,d.jsxs)("span",{children:[(0,d.jsx)("span",{className:"text-content-tertiary",children:"out"})," ",(0,d.jsx)("span",{className:"text-content-primary font-mono",children:n(o.tokenUsage.output_tokens)})]}),(0,d.jsxs)("span",{children:[(0,d.jsx)("span",{className:"text-content-tertiary",children:"cache read"})," ",(0,d.jsx)("span",{className:"text-content-primary font-mono",children:n(o.tokenUsage.cache_read_input_tokens)})]}),(0,d.jsxs)("span",{children:[(0,d.jsx)("span",{className:"text-content-tertiary",children:"cache write"})," ",(0,d.jsx)("span",{className:"text-content-primary font-mono",children:n(o.tokenUsage.cache_creation_input_tokens)})]})]})]}),(0,d.jsx)(m.ChatView,{messages:o.messages,showHidden:!1})]})]})}},87295:(a,b,c)=>{"use strict";c.d(b,{FontSizeToggle:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call FontSizeToggle() from the server but FontSizeToggle is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/font-size-toggle.tsx","FontSizeToggle")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},91777:(a,b,c)=>{"use strict";c.d(b,{FontSizeToggle:()=>g});var d=c(21124),e=c(17614);let f={small:"Small",medium:"Medium",large:"Large"};function g(){let{fontSize:a,cycle:b}=(0,e.e)();return(0,d.jsx)("button",{onClick:b,className:"p-2 text-content-tertiary hover:text-content-secondary hover:bg-surface-elevated rounded-lg transition-all flex-shrink-0",title:`Font size: ${f[a]}`,children:"small"===a?(0,d.jsx)("span",{className:"w-[18px] h-[18px] flex items-center justify-center font-medium text-[11px] leading-none",children:"A"}):"medium"===a?(0,d.jsx)("span",{className:"w-[18px] h-[18px] flex items-center justify-center font-medium text-[14px] leading-none",children:"A"}):(0,d.jsx)("span",{className:"w-[18px] h-[18px] flex items-center justify-center font-medium text-[17px] leading-none",children:"A"})})}}};var b=require("../../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[586,251,506,68,138,326],()=>b(b.s=17547));module.exports=c})();
@@ -0,0 +1 @@
1
+ {"version":1,"files":["../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../package.json","../../../../../../../chunks/138.js","../../../../../../../chunks/251.js","../../../../../../../chunks/326.js","../../../../../../../chunks/506.js","../../../../../../../chunks/586.js","../../../../../../../chunks/68.js","../../../../../../../webpack-runtime.js","page_client-reference-manifest.js"]}
@@ -0,0 +1 @@
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/project/[projectPath]/session/[sessionId]/subagent/[agentId]/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"449":{"*":{"id":"25969","name":"*","chunks":[],"async":false}},"622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"1458":{"*":{"id":"68734","name":"*","chunks":[],"async":false}},"1959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"2619":{"*":{"id":"3991","name":"*","chunks":[],"async":false}},"3389":{"*":{"id":"12087","name":"*","chunks":[],"async":false}},"3886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"4431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"5014":{"*":{"id":"17614","name":"*","chunks":[],"async":false}},"5278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"6229":{"*":{"id":"91777","name":"*","chunks":[],"async":false}},"6281":{"*":{"id":"98091","name":"*","chunks":[],"async":false}},"6592":{"*":{"id":"39600","name":"*","chunks":[],"async":false}},"7150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"7192":{"*":{"id":"72416","name":"*","chunks":[],"async":false}},"7989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"8666":{"*":{"id":"32282","name":"*","chunks":[],"async":false}},"8924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}},"8994":{"*":{"id":"55848","name":"*","chunks":[],"async":false}},"9649":{"*":{"id":"5407","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7150,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7150,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/client-page.js":{"id":1959,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/client-page.js":{"id":1959,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/client-segment.js":{"id":7989,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/client-segment.js":{"id":7989,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":3886,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":3886,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":5278,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":5278,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/components/render-from-template-context.js":{"id":8924,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":8924,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/lib/framework/boundary-components.js":{"id":4431,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":4431,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":622,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":622,"name":"*","chunks":[],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"DM_Sans\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-sans\"}],\"variableName\":\"dmSans\"}":{"id":4179,"name":"*","chunks":["177","static/chunks/app/layout-106c55be3e0b55bb.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-mono\"}],\"variableName\":\"jetbrainsMono\"}":{"id":5917,"name":"*","chunks":["177","static/chunks/app/layout-106c55be3e0b55bb.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/globals.css":{"id":3673,"name":"*","chunks":["177","static/chunks/app/layout-106c55be3e0b55bb.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/font-size-provider.tsx":{"id":5014,"name":"*","chunks":["177","static/chunks/app/layout-106c55be3e0b55bb.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/theme-provider.tsx":{"id":1458,"name":"*","chunks":["177","static/chunks/app/layout-106c55be3e0b55bb.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/font-size-toggle.tsx":{"id":6229,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","856","static/chunks/856-4671c40140d5540a.js","65","static/chunks/65-83e55f26b1f0df7d.js","653","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/subagent/%5BagentId%5D/page-5c6f66b60c32df86.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/global-search.tsx":{"id":6281,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","856","static/chunks/856-4671c40140d5540a.js","65","static/chunks/65-83e55f26b1f0df7d.js","653","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/subagent/%5BagentId%5D/page-5c6f66b60c32df86.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/project-list.tsx":{"id":8994,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","326","static/chunks/326-29798aee14a5eca1.js","974","static/chunks/app/page-a6be885dc8fc0a2a.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/sync-button.tsx":{"id":3389,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","856","static/chunks/856-4671c40140d5540a.js","65","static/chunks/65-83e55f26b1f0df7d.js","653","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/subagent/%5BagentId%5D/page-5c6f66b60c32df86.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/theme-toggle.tsx":{"id":449,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","856","static/chunks/856-4671c40140d5540a.js","65","static/chunks/65-83e55f26b1f0df7d.js","653","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/subagent/%5BagentId%5D/page-5c6f66b60c32df86.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/project-page-content.tsx":{"id":8666,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","326","static/chunks/326-29798aee14a5eca1.js","943","static/chunks/app/project/%5BprojectPath%5D/page-0c3c474576d65a1a.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/client/app-dir/link.js":{"id":2619,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","856","static/chunks/856-4671c40140d5540a.js","65","static/chunks/65-83e55f26b1f0df7d.js","653","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/subagent/%5BagentId%5D/page-5c6f66b60c32df86.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/dist/esm/client/app-dir/link.js":{"id":2619,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","856","static/chunks/856-4671c40140d5540a.js","65","static/chunks/65-83e55f26b1f0df7d.js","653","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/subagent/%5BagentId%5D/page-5c6f66b60c32df86.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/session-content.tsx":{"id":7192,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","856","static/chunks/856-4671c40140d5540a.js","65","static/chunks/65-83e55f26b1f0df7d.js","810","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/page-c2778f4b0ae80f02.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/components/chat-view.tsx":{"id":9649,"name":"*","chunks":["176","static/chunks/176-cef4c4d2c348a0da.js","856","static/chunks/856-4671c40140d5540a.js","65","static/chunks/65-83e55f26b1f0df7d.js","653","static/chunks/app/project/%5BprojectPath%5D/session/%5BsessionId%5D/subagent/%5BagentId%5D/page-5c6f66b60c32df86.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/search/search-results.tsx":{"id":6592,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/":[],"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/layout":[{"inlined":false,"path":"static/css/09912a2e06f56b69.css"}],"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/page":[],"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/project/[projectPath]/page":[],"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/project/[projectPath]/session/[sessionId]/page":[],"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/project/[projectPath]/session/[sessionId]/subagent/[agentId]/page":[]},"rscModuleMapping":{"449":{"*":{"id":"31699","name":"*","chunks":[],"async":false}},"622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"1458":{"*":{"id":"33340","name":"*","chunks":[],"async":false}},"1959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"2619":{"*":{"id":"65169","name":"*","chunks":[],"async":false}},"3389":{"*":{"id":"38913","name":"*","chunks":[],"async":false}},"3673":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"3886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"4431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"5014":{"*":{"id":"85864","name":"*","chunks":[],"async":false}},"5278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"6229":{"*":{"id":"87295","name":"*","chunks":[],"async":false}},"6281":{"*":{"id":"21685","name":"*","chunks":[],"async":false}},"6592":{"*":{"id":"23758","name":"*","chunks":[],"async":false}},"7150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"7192":{"*":{"id":"70323","name":"*","chunks":[],"async":false}},"7989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"8666":{"*":{"id":"78538","name":"*","chunks":[],"async":false}},"8924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}},"8994":{"*":{"id":"44591","name":"*","chunks":[],"async":false}},"9649":{"*":{"id":"30619","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}