cc-chats 0.2.2 → 0.2.3
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.
- package/.next/BUILD_ID +1 -1
- package/.next/app-build-manifest.json +37 -35
- package/.next/app-path-routes-manifest.json +6 -6
- package/.next/build-manifest.json +5 -5
- package/.next/prerender-manifest.json +3 -3
- package/.next/server/app/_not-found/page.js +2 -2
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +16 -16
- package/.next/server/app/api/project/rename/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/projects/memory/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/projects/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/projects/sessions/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/search/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/session/delete/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/session/duplicate/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/summary/route.js +20 -20
- package/.next/server/app/api/summary/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/sync/route_client-reference-manifest.js +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +21 -20
- package/.next/server/app/page.js +2 -2
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/project/[projectPath]/page.js +2 -2
- package/.next/server/app/project/[projectPath]/page.js.nft.json +1 -1
- package/.next/server/app/project/[projectPath]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/project/[projectPath]/session/[sessionId]/page.js +1 -1
- package/.next/server/app/project/[projectPath]/session/[sessionId]/page.js.nft.json +1 -1
- package/.next/server/app/project/[projectPath]/session/[sessionId]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/search/page.js +2 -2
- package/.next/server/app/search/page.js.nft.json +1 -1
- package/.next/server/app/search/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +6 -6
- package/.next/server/chunks/138.js +47 -47
- package/.next/server/chunks/{707.js → 251.js} +2 -2
- package/.next/server/chunks/326.js +1 -0
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/next-font-manifest.js +1 -1
- package/.next/server/next-font-manifest.json +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/326-29798aee14a5eca1.js +1 -0
- package/.next/static/chunks/app/layout-106c55be3e0b55bb.js +1 -0
- package/.next/static/chunks/app/page-a6be885dc8fc0a2a.js +1 -0
- package/.next/static/chunks/app/project/[projectPath]/page-73bbc99c9d96a191.js +1 -0
- package/.next/static/chunks/app/project/[projectPath]/session/[sessionId]/page-66e079191ecf162f.js +1 -0
- package/.next/static/chunks/{webpack-43c7aa59eaa5af49.js → webpack-6caf1cd8559327c9.js} +1 -1
- package/.next/static/css/58c26641c026d929.css +3 -0
- package/package.json +14 -5
- package/.next/server/chunks/363.js +0 -1
- package/.next/static/chunks/app/layout-439f7d41814bd173.js +0 -1
- package/.next/static/chunks/app/page-165e097c34d523c2.js +0 -1
- package/.next/static/chunks/app/project/[projectPath]/page-0e277eaa40772193.js +0 -1
- package/.next/static/chunks/app/project/[projectPath]/session/[sessionId]/page-a834947a4b535ef5.js +0 -1
- package/.next/static/css/9c5191f521376c36.css +0 -3
- package/.next/static/media/35f3de0ebb1cfc70-s.woff2 +0 -0
- package/.next/static/media/e6099e249fd938cc-s.p.woff2 +0 -0
- /package/.next/static/{cDN2WcjRgaqWUg1mfQsk2 → OzSL4nEX-XnunlkFt9kZq}/_buildManifest.js +0 -0
- /package/.next/static/{cDN2WcjRgaqWUg1mfQsk2 → OzSL4nEX-XnunlkFt9kZq}/_ssgManifest.js +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
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:()=>o,dynamic:()=>n});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(8913),l=c(323),m=c(4599);let n="force-dynamic";async function o({params:a,searchParams:b}){let{projectPath:c,sessionId:e}=await a,{highlight:n}=await b,o=(0,h.$d)(c,e);o||(0,g.notFound)();let p=o.messages.length,q=o.messages.filter(a=>!(0,m.X4)(a)&&!(0,m.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-serif text-content-primary truncate",children:o.projectName}),(0,d.jsx)("p",{className:"text-xs text-content-tertiary truncate font-mono",children:o.id})]}),(0,d.jsx)("div",{className:"flex-1 max-w-md",children:(0,d.jsx)(i.GlobalSearch,{projectPath:c})}),(0,d.jsx)(j.ThemeToggle,{}),(0,d.jsx)(k.SyncButton,{})]})})}),(0,d.jsx)("main",{className:"max-w-5xl mx-auto px-4 sm:px-6 py-8",children:(0,d.jsx)(l.SessionContent,{projectPath:c,sessionId:o.id,messageCount:o.messageCount,lastActivity:o.lastActivity,tokenUsage:o.tokenUsage??null,totalMessageCount:p,strippedMessageCount:q,messages:o.messages,highlightMessageId:n})})]})}},1025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},1135:()=>{},1472:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>m,metadata:()=>l});var d=c(5338),e=c(7785),f=c.n(e),g=c(6785),h=c.n(g),i=c(7855),j=c.n(i),k=c(3340);c(1135);let l={title:"Claude Code Chats",description:"Browse your Claude Code chat history"};function m({children:a}){return(0,d.jsxs)("html",{lang:"en",suppressHydrationWarning:!0,children:[(0,d.jsx)("head",{children:(0,d.jsx)("script",{dangerouslySetInnerHTML:{__html:'(function(){try{var t=localStorage.getItem("theme");if(t==="light"||t==="dark"){document.documentElement.setAttribute("data-theme",t)}else{document.documentElement.setAttribute("data-theme",window.matchMedia("(prefers-color-scheme:light)").matches?"light":"dark")}}catch(e){document.documentElement.setAttribute("data-theme","dark")}})()'}})}),(0,d.jsx)("body",{className:`${f().variable} ${h().variable} ${j().variable} font-sans min-h-screen antialiased`,children:(0,d.jsx)(k.ThemeProvider,{children:a})})]})}},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")},1906:(a,b,c)=>{Promise.resolve().then(c.bind(c,8734))},2087:(a,b,c)=>{"use strict";c.d(b,{SyncButton:()=>f});var d=c(1124),e=c(8301);function f(){let[a,b]=(0,e.useState)(!1),[c,f]=(0,e.useState)(null),g=async()=>{b(!0),f(null);try{let a=await fetch("/api/sync",{method:"POST"});if(!a.ok)throw Error("Sync failed");let b=await a.json();f(b.sync),window.dispatchEvent(new Event("sync-complete")),setTimeout(()=>f(null),3e3)}catch(a){console.error("Sync error:",a)}finally{b(!1)}};return(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("button",{onClick:g,disabled:a,className:"p-2 text-content-tertiary hover:text-content-secondary hover:bg-surface-elevated rounded-lg transition-all disabled:opacity-50 disabled:cursor-not-allowed",title:"Resync database",children:(0,d.jsx)("svg",{className:`w-5 h-5 ${a?"animate-spin":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})})}),c&&(c.added>0||c.updated>0||c.removed>0)&&(0,d.jsxs)("div",{className:"text-xs text-content-tertiary whitespace-nowrap animate-fade",children:[c.added>0&&`+${c.added}`,c.updated>0&&` ~${c.updated}`,c.removed>0&&` -${c.removed}`]})]})}},2155:(a,b,c)=>{"use strict";function d(a){if("number"==typeof a)return a;let b=Date.parse(a);return isNaN(b)?0:b}function e(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`}function f(a){return new Date(d(a)).toLocaleString("en-GB",{day:"numeric",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit"})}function g(a){return a>=1e6?`${(a/1e6).toFixed(1)}M`:a>=1e4?`${(a/1e3).toFixed(1)}k`:a.toLocaleString("en-GB")}c.d(b,{EH:()=>d,ap:()=>g,fw:()=>e,r6:()=>f})},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(7614),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")},3340:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>e});var d=c(7954);(0,d.registerClientReference)(function(){throw Error("Attempted to call useTheme() from the server but useTheme 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-provider.tsx","useTheme");let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call ThemeProvider() from the server but ThemeProvider 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-provider.tsx","ThemeProvider")},4064:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,5169,23)),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))},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:()=>n});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:"))}(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(2378);function k({encodedPath:a,sessionId:b,totalMessageCount:c,strippedMessageCount:f}){let g=(0,j.useRouter)(),[h,i]=(0,e.useState)(!1),[k,l]=(0,e.useState)(""),[m,n]=(0,e.useState)(!1),[o,p]=(0,e.useState)(!1),[q,r]=(0,e.useState)(null),s=(0,e.useRef)(null),t=k?parseInt(k,10):void 0,u=!k||t&&t>0,v=m?f:c,w=t?Math.min(t,v):v,x=c>0?Math.round((1-w/c)*100):0;async function y(){if(!u)return void r("Please enter a valid positive number.");p(!0),r(null);try{let c=await fetch("/api/session/duplicate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({encodedPath:a,sessionId:b,keepLastN:t,stripToolResults:m})}),d=await c.json();if(!c.ok)throw Error(d.error||"Failed to duplicate session");g.push(`/project/${a}/session/${d.newSessionId}`)}catch(a){r(a instanceof Error?a.message:"Unknown error")}finally{p(!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,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:o?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-serif 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:s,id:"keepLastN",type:"number",min:"1",value:k,onChange:a=>l(a.target.value),disabled:o,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:m,onChange:a=>n(a.target.checked),disabled:o,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:[w," messages"]})]}),x>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:[x,"%"]})]})]}),q&&(0,d.jsx)("p",{className:"text-sm text-danger mb-4",children:q}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-3",children:[(0,d.jsx)("button",{type:"button",onClick:()=>i(!1),disabled:o,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:y,disabled:o||!u,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:[o&&(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"})]}),o?"Duplicating...":"Duplicate"]})]})]})]})]})}function l({encodedPath:a,sessionId:b}){let c=(0,j.useRouter)(),[f,g]=(0,e.useState)(!1),[h,i]=(0,e.useState)(!1),[k,l]=(0,e.useState)(null);async function m(){i(!0),l(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){l(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,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-serif 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."}),k&&(0,d.jsx)("p",{className:"text-sm text-danger mb-4",children:k}),(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:m,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"]})]})]})]})]})}var m=c(263);function n({projectPath:a,sessionId:b,messageCount:c,lastActivity:g,tokenUsage:j,totalMessageCount:n,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)(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)(h,{messages:p,highlightMessageId:q,showHidden:r})]})}},5153:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,4160,23)),Promise.resolve().then(c.t.bind(c,1603,23)),Promise.resolve().then(c.t.bind(c,8495,23)),Promise.resolve().then(c.t.bind(c,5170,23)),Promise.resolve().then(c.t.bind(c,7526,23)),Promise.resolve().then(c.t.bind(c,8922,23)),Promise.resolve().then(c.t.bind(c,9234,23)),Promise.resolve().then(c.t.bind(c,2263,23)),Promise.resolve().then(c.bind(c,2146))},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")},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)},5969:(a,b,c)=>{"use strict";c.d(b,{ThemeToggle:()=>g});var d=c(1124),e=c(8734);let f={system:"System",light:"Light",dark:"Dark"};function g(){let{theme:a,cycle:b}=(0,e.D)();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:`Theme: ${f[a]}`,children:"system"===a?(0,d.jsx)("svg",{className:"w-[18px] h-[18px]",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})}):"light"===a?(0,d.jsx)("svg",{className:"w-[18px] h-[18px]",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})}):(0,d.jsx)("svg",{className:"w-[18px] h-[18px]",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})})})}},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")},7550:a=>{"use strict";a.exports=require("better-sqlite3")},7614:(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)},7616:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,3991,23)),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))},7626:(a,b,c)=>{Promise.resolve().then(c.bind(c,3340))},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)},8091:(a,b,c)=>{"use strict";c.d(b,{GlobalSearch:()=>g});var d=c(1124),e=c(8301),f=c(2378);function g({projectPath:a}){let[b,c]=(0,e.useState)(""),g=(0,f.useRouter)(),h=(0,e.useRef)(null),i=(0,e.useCallback)(c=>{if(c.preventDefault(),b.trim()){let c=new URLSearchParams({q:b.trim()});a&&c.set("project",a),g.push(`/search?${c.toString()}`)}},[b,g,a]),j=a?"Search this project...":"Search all chats...";return(0,d.jsxs)("form",{onSubmit:i,className:"relative",children:[(0,d.jsx)("svg",{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-content-tertiary",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),(0,d.jsx)("input",{ref:h,type:"text",value:b,onChange:a=>c(a.target.value),placeholder:j,className:"w-full pl-10 pr-16 py-2 bg-surface border border-edge-subtle rounded-xl text-sm text-content-primary placeholder-content-tertiary focus:outline-none focus:border-accent focus:ring-1 focus:ring-accent/30 transition-all"}),!b&&(0,d.jsxs)("kbd",{className:"absolute right-3 top-1/2 -translate-y-1/2 hidden sm:inline-flex items-center gap-0.5 px-1.5 py-0.5 text-[10px] font-mono text-content-tertiary bg-surface-elevated border border-edge-subtle rounded",children:[(0,d.jsx)("span",{className:"text-xs",children:"⌘"}),"K"]})]})}},8354:a=>{"use strict";a.exports=require("util")},8734:(a,b,c)=>{"use strict";c.d(b,{D:()=>g,ThemeProvider:()=>h});var d=c(1124),e=c(8301);let f=(0,e.createContext)({theme:"system",resolved:"dark",setTheme:()=>{},cycle:()=>{}});function g(){return(0,e.useContext)(f)}function h({children:a}){let[b,c]=(0,e.useState)("system"),[g,h]=(0,e.useState)("dark"),i=(0,e.useCallback)(a=>{c(a),localStorage.setItem("theme",a)},[]),j=(0,e.useCallback)(()=>{let a=["system","light","dark"];i(a[(a.indexOf(b)+1)%a.length])},[b,i]);return(0,d.jsx)(f.Provider,{value:{theme:b,resolved:g,setTheme:i,cycle:j},children:a})}},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")},9473:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,1170,23)),Promise.resolve().then(c.t.bind(c,3597,23)),Promise.resolve().then(c.t.bind(c,6893,23)),Promise.resolve().then(c.t.bind(c,9748,23)),Promise.resolve().then(c.t.bind(c,6060,23)),Promise.resolve().then(c.t.bind(c,7184,23)),Promise.resolve().then(c.t.bind(c,9576,23)),Promise.resolve().then(c.t.bind(c,3041,23)),Promise.resolve().then(c.t.bind(c,1384,23))},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,707,506,138],()=>b(b.s=875));module.exports=c})();
|
|
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:()=>n});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:"))}(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(2378);function k({encodedPath:a,sessionId:b,totalMessageCount:c,strippedMessageCount:f}){let g=(0,j.useRouter)(),[h,i]=(0,e.useState)(!1),[k,l]=(0,e.useState)(""),[m,n]=(0,e.useState)(!1),[o,p]=(0,e.useState)(!1),[q,r]=(0,e.useState)(null),s=(0,e.useRef)(null),t=k?parseInt(k,10):void 0,u=!k||t&&t>0,v=m?f:c,w=t?Math.min(t,v):v,x=c>0?Math.round((1-w/c)*100):0;async function y(){if(!u)return void r("Please enter a valid positive number.");p(!0),r(null);try{let c=await fetch("/api/session/duplicate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({encodedPath:a,sessionId:b,keepLastN:t,stripToolResults:m})}),d=await c.json();if(!c.ok)throw Error(d.error||"Failed to duplicate session");g.push(`/project/${a}/session/${d.newSessionId}`)}catch(a){r(a instanceof Error?a.message:"Unknown error")}finally{p(!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,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:o?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:s,id:"keepLastN",type:"number",min:"1",value:k,onChange:a=>l(a.target.value),disabled:o,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:m,onChange:a=>n(a.target.checked),disabled:o,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:[w," messages"]})]}),x>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:[x,"%"]})]})]}),q&&(0,d.jsx)("p",{className:"text-sm text-danger mb-4",children:q}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-3",children:[(0,d.jsx)("button",{type:"button",onClick:()=>i(!1),disabled:o,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:y,disabled:o||!u,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:[o&&(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"})]}),o?"Duplicating...":"Duplicate"]})]})]})]})]})}function l({encodedPath:a,sessionId:b}){let c=(0,j.useRouter)(),[f,g]=(0,e.useState)(!1),[h,i]=(0,e.useState)(!1),[k,l]=(0,e.useState)(null);async function m(){i(!0),l(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){l(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,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."}),k&&(0,d.jsx)("p",{className:"text-sm text-danger mb-4",children:k}),(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:m,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"]})]})]})]})]})}var m=c(263);function n({projectPath:a,sessionId:b,messageCount:c,lastActivity:g,tokenUsage:j,totalMessageCount:n,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)(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)(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 +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/
|
|
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"]}
|
package/.next/server/app/project/[projectPath]/session/[sessionId]/page_client-reference-manifest.js
CHANGED
|
@@ -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}},"5278":{"*":{"id":"8922","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-439f7d41814bd173.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Instrument_Serif\",\"arguments\":[{\"weight\":\"400\",\"subsets\":[\"latin\"],\"variable\":\"--font-serif\"}],\"variableName\":\"instrumentSerif\"}":{"id":2907,"name":"*","chunks":["177","static/chunks/app/layout-439f7d41814bd173.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-439f7d41814bd173.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/globals.css":{"id":3673,"name":"*","chunks":["177","static/chunks/app/layout-439f7d41814bd173.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-439f7d41814bd173.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","943","static/chunks/app/project/%5BprojectPath%5D/page-0e277eaa40772193.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-a834947a4b535ef5.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","974","static/chunks/app/page-165e097c34d523c2.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-a834947a4b535ef5.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-a834947a4b535ef5.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-a834947a4b535ef5.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-a834947a4b535ef5.js"],"async":false},"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/search/search-results.tsx":{"id":6592,"name":"*","chunks":[],"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-a834947a4b535ef5.js"],"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/9c5191f521376c36.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}},"5278":{"*":{"id":"7184","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":"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/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-66e079191ecf162f.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-66e079191ecf162f.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-66e079191ecf162f.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-66e079191ecf162f.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-73bbc99c9d96a191.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-66e079191ecf162f.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-66e079191ecf162f.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-66e079191ecf162f.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,2 +1,2 @@
|
|
|
1
|
-
(()=>{var a={};a.id=959,a.ids=[959],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},1025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},1135:()=>{},1472:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>m,metadata:()=>l});var d=c(5338),e=c(7785),f=c.n(e),g=c(6785),h=c.n(g),i=c(7855),j=c.n(i),k=c(3340);c(1135);let l={title:"Claude Code Chats",description:"Browse your Claude Code chat history"};function m({children:a}){return(0,d.jsxs)("html",{lang:"en",suppressHydrationWarning:!0,children:[(0,d.jsx)("head",{children:(0,d.jsx)("script",{dangerouslySetInnerHTML:{__html:'(function(){try{var t=localStorage.getItem("theme");if(t==="light"||t==="dark"){document.documentElement.setAttribute("data-theme",t)}else{document.documentElement.setAttribute("data-theme",window.matchMedia("(prefers-color-scheme:light)").matches?"light":"dark")}}catch(e){document.documentElement.setAttribute("data-theme","dark")}})()'}})}),(0,d.jsx)("body",{className:`${f().variable} ${h().variable} ${j().variable} font-sans min-h-screen antialiased`,children:(0,d.jsx)(k.ThemeProvider,{children:a})})]})}},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")},1906:(a,b,c)=>{Promise.resolve().then(c.bind(c,8734))},2087:(a,b,c)=>{"use strict";c.d(b,{SyncButton:()=>f});var d=c(1124),e=c(8301);function f(){let[a,b]=(0,e.useState)(!1),[c,f]=(0,e.useState)(null),g=async()=>{b(!0),f(null);try{let a=await fetch("/api/sync",{method:"POST"});if(!a.ok)throw Error("Sync failed");let b=await a.json();f(b.sync),window.dispatchEvent(new Event("sync-complete")),setTimeout(()=>f(null),3e3)}catch(a){console.error("Sync error:",a)}finally{b(!1)}};return(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("button",{onClick:g,disabled:a,className:"p-2 text-content-tertiary hover:text-content-secondary hover:bg-surface-elevated rounded-lg transition-all disabled:opacity-50 disabled:cursor-not-allowed",title:"Resync database",children:(0,d.jsx)("svg",{className:`w-5 h-5 ${a?"animate-spin":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})})}),c&&(c.added>0||c.updated>0||c.removed>0)&&(0,d.jsxs)("div",{className:"text-xs text-content-tertiary whitespace-nowrap animate-fade",children:[c.added>0&&`+${c.added}`,c.updated>0&&` ~${c.updated}`,c.removed>0&&` -${c.removed}`]})]})}},2155:(a,b,c)=>{"use strict";function d(a){if("number"==typeof a)return a;let b=Date.parse(a);return isNaN(b)?0:b}function e(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`}function f(a){return new Date(d(a)).toLocaleString("en-GB",{day:"numeric",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit"})}function g(a){return a>=1e6?`${(a/1e6).toFixed(1)}M`:a>=1e4?`${(a/1e3).toFixed(1)}k`:a.toLocaleString("en-GB")}c.d(b,{EH:()=>d,ap:()=>g,fw:()=>e,r6:()=>f})},3033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3340:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>e});var d=c(7954);(0,d.registerClientReference)(function(){throw Error("Attempted to call useTheme() from the server but useTheme 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-provider.tsx","useTheme");let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call ThemeProvider() from the server but ThemeProvider 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-provider.tsx","ThemeProvider")},3758:(a,b,c)=>{"use strict";c.d(b,{SearchResults:()=>d});let d=(0,c(7954).registerClientReference)(function(){throw Error("Attempted to call SearchResults() from the server but SearchResults 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/app/search/search-results.tsx","SearchResults")},4844:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,3991,23)),Promise.resolve().then(c.bind(c,9600)),Promise.resolve().then(c.bind(c,8091)),Promise.resolve().then(c.bind(c,2087)),Promise.resolve().then(c.bind(c,5969))},5116:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,5169,23)),Promise.resolve().then(c.bind(c,3758)),Promise.resolve().then(c.bind(c,1685)),Promise.resolve().then(c.bind(c,8913)),Promise.resolve().then(c.bind(c,1699))},5153:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,4160,23)),Promise.resolve().then(c.t.bind(c,1603,23)),Promise.resolve().then(c.t.bind(c,8495,23)),Promise.resolve().then(c.t.bind(c,5170,23)),Promise.resolve().then(c.t.bind(c,7526,23)),Promise.resolve().then(c.t.bind(c,8922,23)),Promise.resolve().then(c.t.bind(c,9234,23)),Promise.resolve().then(c.t.bind(c,2263,23)),Promise.resolve().then(c.bind(c,2146))},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")},5969:(a,b,c)=>{"use strict";c.d(b,{ThemeToggle:()=>g});var d=c(1124),e=c(8734);let f={system:"System",light:"Light",dark:"Dark"};function g(){let{theme:a,cycle:b}=(0,e.D)();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:`Theme: ${f[a]}`,children:"system"===a?(0,d.jsx)("svg",{className:"w-[18px] h-[18px]",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})}):"light"===a?(0,d.jsx)("svg",{className:"w-[18px] h-[18px]",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})}):(0,d.jsx)("svg",{className:"w-[18px] h-[18px]",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})})})}},6110:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>l,dynamic:()=>k});var d=c(5338),e=c(5169),f=c.n(e),g=c(1685),h=c(8913),i=c(1699),j=c(3758);let k="force-dynamic";async function l({searchParams:a}){let{q:b,project:c}=await a,e=c?`/project/${c}`:"/";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:e,className:"p-2 -ml-2 text-content-tertiary hover:text-content-primary hover:bg-surface-elevated rounded-lg transition-all",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.jsx)("div",{className:"flex-1",children:(0,d.jsx)(g.GlobalSearch,{projectPath:c})}),(0,d.jsx)(i.ThemeToggle,{}),(0,d.jsx)(h.SyncButton,{})]})})}),(0,d.jsx)("main",{className:"max-w-5xl mx-auto px-4 sm:px-6 py-8",children:(0,d.jsx)(j.SearchResults,{query:b||"",projectPath:c})})]})}},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")},7626:(a,b,c)=>{Promise.resolve().then(c.bind(c,3340))},7747:(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:["search",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,6110)),"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/search/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/search/page.tsx"],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/search/page",pathname:"/search",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/search/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}}},8091:(a,b,c)=>{"use strict";c.d(b,{GlobalSearch:()=>g});var d=c(1124),e=c(8301),f=c(2378);function g({projectPath:a}){let[b,c]=(0,e.useState)(""),g=(0,f.useRouter)(),h=(0,e.useRef)(null),i=(0,e.useCallback)(c=>{if(c.preventDefault(),b.trim()){let c=new URLSearchParams({q:b.trim()});a&&c.set("project",a),g.push(`/search?${c.toString()}`)}},[b,g,a]),j=a?"Search this project...":"Search all chats...";return(0,d.jsxs)("form",{onSubmit:i,className:"relative",children:[(0,d.jsx)("svg",{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-content-tertiary",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),(0,d.jsx)("input",{ref:h,type:"text",value:b,onChange:a=>c(a.target.value),placeholder:j,className:"w-full pl-10 pr-16 py-2 bg-surface border border-edge-subtle rounded-xl text-sm text-content-primary placeholder-content-tertiary focus:outline-none focus:border-accent focus:ring-1 focus:ring-accent/30 transition-all"}),!b&&(0,d.jsxs)("kbd",{className:"absolute right-3 top-1/2 -translate-y-1/2 hidden sm:inline-flex items-center gap-0.5 px-1.5 py-0.5 text-[10px] font-mono text-content-tertiary bg-surface-elevated border border-edge-subtle rounded",children:[(0,d.jsx)("span",{className:"text-xs",children:"⌘"}),"K"]})]})}},8354:a=>{"use strict";a.exports=require("util")},8734:(a,b,c)=>{"use strict";c.d(b,{D:()=>g,ThemeProvider:()=>h});var d=c(1124),e=c(8301);let f=(0,e.createContext)({theme:"system",resolved:"dark",setTheme:()=>{},cycle:()=>{}});function g(){return(0,e.useContext)(f)}function h({children:a}){let[b,c]=(0,e.useState)("system"),[g,h]=(0,e.useState)("dark"),i=(0,e.useCallback)(a=>{c(a),localStorage.setItem("theme",a)},[]),j=(0,e.useCallback)(()=>{let a=["system","light","dark"];i(a[(a.indexOf(b)+1)%a.length])},[b,i]);return(0,d.jsx)(f.Provider,{value:{theme:b,resolved:g,setTheme:i,cycle:j},children:a})}},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")},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")},9473:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,1170,23)),Promise.resolve().then(c.t.bind(c,3597,23)),Promise.resolve().then(c.t.bind(c,6893,23)),Promise.resolve().then(c.t.bind(c,9748,23)),Promise.resolve().then(c.t.bind(c,6060,23)),Promise.resolve().then(c.t.bind(c,7184,23)),Promise.resolve().then(c.t.bind(c,9576,23)),Promise.resolve().then(c.t.bind(c,3041,23)),Promise.resolve().then(c.t.bind(c,1384,23))},9600:(a,b,c)=>{"use strict";c.d(b,{SearchResults:()=>i});var d=c(1124),e=c(8301),f=c(3991),g=c.n(f),h=c(2155);function i({query:a,projectPath:b}){let[c,f]=(0,e.useState)([]),[i,j]=(0,e.useState)(null),[k,l]=(0,e.useState)(!1),[m,n]=(0,e.useState)(null);return a.trim()?k?(0,d.jsxs)("div",{className:"text-center py-16 animate-fade",children:[(0,d.jsx)("div",{className:"w-8 h-8 mx-auto border-2 border-edge-hover border-t-accent rounded-full animate-spin mb-4"}),(0,d.jsx)("p",{className:"text-content-secondary",children:"Searching..."})]}):m?(0,d.jsxs)("div",{className:"text-center py-16 animate-fade",children:[(0,d.jsx)("svg",{className:"w-12 h-12 mx-auto text-danger mb-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})}),(0,d.jsx)("p",{className:"text-danger",children:m})]}):0===c.length?(0,d.jsxs)("div",{className:"text-center py-16 animate-fade",children:[(0,d.jsx)("svg",{className:"w-12 h-12 mx-auto text-content-tertiary/50 mb-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9.172 16.172a4 4 0 015.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),(0,d.jsxs)("p",{className:"text-content-secondary",children:["No results found for “",a,"”"]})]}):(0,d.jsxs)("div",{children:[(0,d.jsxs)("p",{className:"text-sm text-content-tertiary mb-4 animate-fade",children:["Found ",c.length," result",1!==c.length?"s":""," for “",a,"”"]}),(0,d.jsx)("div",{className:"space-y-3",children:c.map((a,b)=>(0,d.jsxs)(g(),{href:`/project/${a.projectPath}/session/${a.sessionId}?highlight=${a.messageUuid}`,className:`block p-4 bg-surface border border-edge-subtle rounded-xl hover:border-edge-hover hover:bg-surface-elevated transition-all duration-300 animate-in stagger-${Math.min(b+1,10)}`,children:[(0,d.jsxs)("div",{className:"flex items-start justify-between gap-4 mb-2",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,d.jsx)("span",{className:`px-2 py-0.5 rounded text-xs font-medium ${"user"===a.userType?"bg-info/15 text-info":"bg-accent/15 text-accent"}`,children:a.userType}),(0,d.jsx)("span",{className:"text-content-secondary",children:a.projectName})]}),a.timestamp>0&&(0,d.jsx)("span",{className:"text-xs text-content-tertiary whitespace-nowrap",children:(0,h.fw)(a.timestamp)})]}),(0,d.jsx)("p",{className:"text-sm text-content-secondary line-clamp-3 [&>mark]:bg-accent/25 [&>mark]:text-accent-hover [&>mark]:px-0.5 [&>mark]:rounded",dangerouslySetInnerHTML:{__html:a.snippet}}),(0,d.jsx)("p",{className:"text-[11px] text-content-tertiary mt-2 font-mono truncate opacity-50",children:a.sessionId})]},`${a.sessionId}-${a.messageUuid}-${b}`))})]}):(0,d.jsxs)("div",{className:"text-center py-16 animate-fade",children:[(0,d.jsx)("svg",{className:"w-12 h-12 mx-auto text-content-tertiary/50 mb-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),(0,d.jsxs)("p",{className:"text-content-secondary",children:["Enter a search query to find messages ",b?"in this project":"across all chats"]}),i&&(0,d.jsxs)("p",{className:"text-sm text-content-tertiary mt-2",children:[i.messageCount.toLocaleString()," messages indexed across ",i.fileCount," sessions"]})]})}},9902:a=>{"use strict";a.exports=require("path")}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[586,707,506],()=>b(b.s=7747));module.exports=c})();
|
|
1
|
+
(()=>{var a={};a.id=959,a.ids=[959],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},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")},3033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3758:(a,b,c)=>{"use strict";c.d(b,{SearchResults:()=>d});let d=(0,c(7954).registerClientReference)(function(){throw Error("Attempted to call SearchResults() from the server but SearchResults 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/app/search/search-results.tsx","SearchResults")},4844:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,3991,23)),Promise.resolve().then(c.bind(c,9600)),Promise.resolve().then(c.bind(c,8091)),Promise.resolve().then(c.bind(c,2087)),Promise.resolve().then(c.bind(c,5969))},5116:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,5169,23)),Promise.resolve().then(c.bind(c,3758)),Promise.resolve().then(c.bind(c,1685)),Promise.resolve().then(c.bind(c,8913)),Promise.resolve().then(c.bind(c,1699))},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")},6110:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>l,dynamic:()=>k});var d=c(5338),e=c(5169),f=c.n(e),g=c(1685),h=c(8913),i=c(1699),j=c(3758);let k="force-dynamic";async function l({searchParams:a}){let{q:b,project:c}=await a,e=c?`/project/${c}`:"/";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:e,className:"p-2 -ml-2 text-content-tertiary hover:text-content-primary hover:bg-surface-elevated rounded-lg transition-all",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.jsx)("div",{className:"flex-1",children:(0,d.jsx)(g.GlobalSearch,{projectPath:c})}),(0,d.jsx)(i.ThemeToggle,{}),(0,d.jsx)(h.SyncButton,{})]})})}),(0,d.jsx)("main",{className:"max-w-5xl mx-auto px-4 sm:px-6 py-8",children:(0,d.jsx)(j.SearchResults,{query:b||"",projectPath:c})})]})}},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")},7747:(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:["search",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,6110)),"/Users/pedrosousa/Work/Personal/Code/claude-code-chats/src/app/search/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/search/page.tsx"],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/search/page",pathname:"/search",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/search/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}}},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")},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")},9600:(a,b,c)=>{"use strict";c.d(b,{SearchResults:()=>i});var d=c(1124),e=c(8301),f=c(3991),g=c.n(f),h=c(2155);function i({query:a,projectPath:b}){let[c,f]=(0,e.useState)([]),[i,j]=(0,e.useState)(null),[k,l]=(0,e.useState)(!1),[m,n]=(0,e.useState)(null);return a.trim()?k?(0,d.jsxs)("div",{className:"text-center py-16 animate-fade",children:[(0,d.jsx)("div",{className:"w-8 h-8 mx-auto border-2 border-edge-hover border-t-accent rounded-full animate-spin mb-4"}),(0,d.jsx)("p",{className:"text-content-secondary",children:"Searching..."})]}):m?(0,d.jsxs)("div",{className:"text-center py-16 animate-fade",children:[(0,d.jsx)("svg",{className:"w-12 h-12 mx-auto text-danger mb-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})}),(0,d.jsx)("p",{className:"text-danger",children:m})]}):0===c.length?(0,d.jsxs)("div",{className:"text-center py-16 animate-fade",children:[(0,d.jsx)("svg",{className:"w-12 h-12 mx-auto text-content-tertiary/50 mb-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9.172 16.172a4 4 0 015.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),(0,d.jsxs)("p",{className:"text-content-secondary",children:["No results found for “",a,"”"]})]}):(0,d.jsxs)("div",{children:[(0,d.jsxs)("p",{className:"text-sm text-content-tertiary mb-4 animate-fade",children:["Found ",c.length," result",1!==c.length?"s":""," for “",a,"”"]}),(0,d.jsx)("div",{className:"space-y-3",children:c.map((a,b)=>(0,d.jsxs)(g(),{href:`/project/${a.projectPath}/session/${a.sessionId}?highlight=${a.messageUuid}`,className:`block p-4 bg-surface border border-edge-subtle rounded-xl hover:border-edge-hover hover:bg-surface-elevated transition-all duration-300 animate-in stagger-${Math.min(b+1,10)}`,children:[(0,d.jsxs)("div",{className:"flex items-start justify-between gap-4 mb-2",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,d.jsx)("span",{className:`px-2 py-0.5 rounded text-xs font-medium ${"user"===a.userType?"bg-info/15 text-info":"bg-accent/15 text-accent"}`,children:a.userType}),(0,d.jsx)("span",{className:"text-content-secondary",children:a.projectName})]}),a.timestamp>0&&(0,d.jsx)("span",{className:"text-xs text-content-tertiary whitespace-nowrap",children:(0,h.fw)(a.timestamp)})]}),(0,d.jsx)("p",{className:"text-sm text-content-secondary line-clamp-3 [&>mark]:bg-accent/25 [&>mark]:text-accent-hover [&>mark]:px-0.5 [&>mark]:rounded",dangerouslySetInnerHTML:{__html:a.snippet}}),(0,d.jsx)("p",{className:"text-[11px] text-content-tertiary mt-2 font-mono truncate opacity-50",children:a.sessionId})]},`${a.sessionId}-${a.messageUuid}-${b}`))})]}):(0,d.jsxs)("div",{className:"text-center py-16 animate-fade",children:[(0,d.jsx)("svg",{className:"w-12 h-12 mx-auto text-content-tertiary/50 mb-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),(0,d.jsxs)("p",{className:"text-content-secondary",children:["Enter a search query to find messages ",b?"in this project":"across all chats"]}),i&&(0,d.jsxs)("p",{className:"text-sm text-content-tertiary mt-2",children:[i.messageCount.toLocaleString()," messages indexed across ",i.fileCount," sessions"]})]})}},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,326],()=>b(b.s=7747));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../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/
|
|
1
|
+
{"version":1,"files":["../../../../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/251.js","../../chunks/326.js","../../chunks/506.js","../../chunks/586.js","../../webpack-runtime.js","page_client-reference-manifest.js"]}
|