fleetlens 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/app/apps/web/.next/BUILD_ID +1 -1
  2. package/app/apps/web/.next/build-manifest.json +3 -3
  3. package/app/apps/web/.next/prerender-manifest.json +3 -3
  4. package/app/apps/web/.next/server/app/_global-error.html +1 -1
  5. package/app/apps/web/.next/server/app/_global-error.rsc +1 -1
  6. package/app/apps/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  7. package/app/apps/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  8. package/app/apps/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  9. package/app/apps/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  10. package/app/apps/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  11. package/app/apps/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  12. package/app/apps/web/.next/server/app/insights/[key]/page_client-reference-manifest.js +1 -1
  13. package/app/apps/web/.next/server/app/insights/page_client-reference-manifest.js +1 -1
  14. package/app/apps/web/.next/server/app/insights/print/[key]/page_client-reference-manifest.js +1 -1
  15. package/app/apps/web/.next/server/app/page_client-reference-manifest.js +1 -1
  16. package/app/apps/web/.next/server/app/parallelism/page_client-reference-manifest.js +1 -1
  17. package/app/apps/web/.next/server/app/projects/[slug]/page_client-reference-manifest.js +1 -1
  18. package/app/apps/web/.next/server/app/projects/page_client-reference-manifest.js +1 -1
  19. package/app/apps/web/.next/server/app/sessions/[id]/page_client-reference-manifest.js +1 -1
  20. package/app/apps/web/.next/server/app/sessions/page_client-reference-manifest.js +1 -1
  21. package/app/apps/web/.next/server/app/usage/page_client-reference-manifest.js +1 -1
  22. package/app/apps/web/.next/server/chunks/packages_parser_dist_fs_0bc7ptm.js +1 -1
  23. package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0w52fbc._.js +1 -1
  24. package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__13itnvx._.js +1 -1
  25. package/app/apps/web/.next/server/chunks/ssr/_0xies90._.js +1 -1
  26. package/app/apps/web/.next/server/chunks/ssr/packages_parser_dist_0-jvt~a._.js +1 -1
  27. package/app/apps/web/.next/server/middleware-build-manifest.js +3 -3
  28. package/app/apps/web/.next/server/pages/500.html +1 -1
  29. package/app/apps/web/.next/server/server-reference-manifest.js +1 -1
  30. package/app/apps/web/.next/server/server-reference-manifest.json +1 -1
  31. package/app/apps/web/.next/static/chunks/0u-n8fz-ms.ee.js +6 -0
  32. package/app/apps/web/.next/static/chunks/{063oimt30jeo9.js → 15w5_bct86ut6.js} +2 -2
  33. package/app/apps/web/app/sessions/[id]/session-view.tsx +450 -21
  34. package/app/apps/web/package.json +1 -1
  35. package/app/apps/web/tsconfig.tsbuildinfo +1 -1
  36. package/dist/daemon-worker.js +87 -0
  37. package/dist/index.js +92 -5
  38. package/package.json +1 -1
  39. package/app/apps/web/.next/static/chunks/03g5dw5eskotd.js +0 -6
  40. /package/app/apps/web/.next/static/{G_4ofKI9v9ARC_lb9JILZ → 95-RytHk7ZQtfpZj5BLST}/_buildManifest.js +0 -0
  41. /package/app/apps/web/.next/static/{G_4ofKI9v9ARC_lb9JILZ → 95-RytHk7ZQtfpZj5BLST}/_clientMiddlewareManifest.js +0 -0
  42. /package/app/apps/web/.next/static/{G_4ofKI9v9ARC_lb9JILZ → 95-RytHk7ZQtfpZj5BLST}/_ssgManifest.js +0 -0
@@ -1,3 +1,3 @@
1
1
  globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {};
2
- globalThis.__RSC_MANIFEST["/sessions/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":39756,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":37457,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":47257,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":92825,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":68017,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":97367,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":27201,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/sidebar.tsx <module evaluation>":{"id":86566,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/sidebar.tsx":{"id":86566,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/live-refresher.tsx <module evaluation>":{"id":51878,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/live-refresher.tsx":{"id":51878,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/live-sessions-widget.tsx <module evaluation>":{"id":23884,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/live-sessions-widget.tsx":{"id":23884,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>":{"id":68027,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/app/sessions/sessions-grid.tsx <module evaluation>":{"id":86333,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js","/_next/static/chunks/03.mv4y4.w-vb.js"],"async":false},"[project]/apps/web/app/sessions/sessions-grid.tsx":{"id":86333,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js","/_next/static/chunks/03.mv4y4.w-vb.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"86566":{"*":{"id":44422,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"51878":{"*":{"id":46069,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"23884":{"*":{"id":1568,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js","server/chunks/ssr/node_modules_09w7yel._.js"],"async":false}},"86333":{"*":{"id":23426,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js","server/chunks/ssr/_09n75_5._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"86566":{"*":{"id":10398,"name":"*","chunks":[],"async":false}},"51878":{"*":{"id":11272,"name":"*","chunks":[],"async":false}},"23884":{"*":{"id":62615,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}},"86333":{"*":{"id":58001,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/apps/web/app/layout":[{"path":"static/chunks/0vekjjj4pidlz.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/0vekjjj4pidlz.css","inlined":false}],"[project]/apps/web/app/sessions/page":[{"path":"static/chunks/0vekjjj4pidlz.css","inlined":false}]},"entryJSFiles":{"[project]/apps/web/app/layout":["static/chunks/03g5dw5eskotd.js","static/chunks/0018dy-m-kusj.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/03g5dw5eskotd.js","static/chunks/0018dy-m-kusj.js"],"[project]/apps/web/app/sessions/page":["static/chunks/03g5dw5eskotd.js","static/chunks/0018dy-m-kusj.js","static/chunks/03.mv4y4.w-vb.js"]}};
2
+ globalThis.__RSC_MANIFEST["/sessions/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/sidebar.tsx <module evaluation>":{"id":86566,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/sidebar.tsx":{"id":86566,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/live-refresher.tsx <module evaluation>":{"id":51878,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/live-refresher.tsx":{"id":51878,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/live-sessions-widget.tsx <module evaluation>":{"id":23884,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/live-sessions-widget.tsx":{"id":23884,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/app/sessions/sessions-grid.tsx <module evaluation>":{"id":86333,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js","/_next/static/chunks/03.mv4y4.w-vb.js"],"async":false},"[project]/apps/web/app/sessions/sessions-grid.tsx":{"id":86333,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js","/_next/static/chunks/03.mv4y4.w-vb.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"86566":{"*":{"id":44422,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"51878":{"*":{"id":46069,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"23884":{"*":{"id":1568,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js","server/chunks/ssr/node_modules_09w7yel._.js"],"async":false}},"86333":{"*":{"id":23426,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js","server/chunks/ssr/_09n75_5._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"86566":{"*":{"id":10398,"name":"*","chunks":[],"async":false}},"51878":{"*":{"id":11272,"name":"*","chunks":[],"async":false}},"23884":{"*":{"id":62615,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}},"86333":{"*":{"id":58001,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/apps/web/app/layout":[{"path":"static/chunks/0vekjjj4pidlz.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/0vekjjj4pidlz.css","inlined":false}],"[project]/apps/web/app/sessions/page":[{"path":"static/chunks/0vekjjj4pidlz.css","inlined":false}]},"entryJSFiles":{"[project]/apps/web/app/layout":["static/chunks/0u-n8fz-ms.ee.js","static/chunks/0018dy-m-kusj.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0u-n8fz-ms.ee.js","static/chunks/0018dy-m-kusj.js"],"[project]/apps/web/app/sessions/page":["static/chunks/0u-n8fz-ms.ee.js","static/chunks/0018dy-m-kusj.js","static/chunks/03.mv4y4.w-vb.js"]}};
3
3
 
@@ -1,3 +1,3 @@
1
1
  globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {};
2
- globalThis.__RSC_MANIFEST["/usage/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":39756,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":37457,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":47257,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":92825,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":68017,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":97367,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":27201,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/sidebar.tsx <module evaluation>":{"id":86566,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/sidebar.tsx":{"id":86566,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/live-refresher.tsx <module evaluation>":{"id":51878,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/live-refresher.tsx":{"id":51878,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/live-sessions-widget.tsx <module evaluation>":{"id":23884,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/live-sessions-widget.tsx":{"id":23884,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>":{"id":68027,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/usage-charts-dashboard.tsx <module evaluation>":{"id":36373,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js","/_next/static/chunks/0ipytyi01h0ta.js"],"async":false},"[project]/apps/web/components/usage-charts-dashboard.tsx":{"id":36373,"name":"*","chunks":["/_next/static/chunks/03g5dw5eskotd.js","/_next/static/chunks/0018dy-m-kusj.js","/_next/static/chunks/0ipytyi01h0ta.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"86566":{"*":{"id":44422,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"51878":{"*":{"id":46069,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"23884":{"*":{"id":1568,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js","server/chunks/ssr/node_modules_09w7yel._.js"],"async":false}},"36373":{"*":{"id":64405,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js","server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_0-lmm4p._.js","server/chunks/ssr/apps_web_components_usage-charts-dashboard_tsx_0bgr_uv._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"86566":{"*":{"id":10398,"name":"*","chunks":[],"async":false}},"51878":{"*":{"id":11272,"name":"*","chunks":[],"async":false}},"23884":{"*":{"id":62615,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}},"36373":{"*":{"id":51071,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/apps/web/app/layout":[{"path":"static/chunks/0vekjjj4pidlz.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/0vekjjj4pidlz.css","inlined":false}],"[project]/apps/web/app/usage/page":[{"path":"static/chunks/0vekjjj4pidlz.css","inlined":false}]},"entryJSFiles":{"[project]/apps/web/app/layout":["static/chunks/03g5dw5eskotd.js","static/chunks/0018dy-m-kusj.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/03g5dw5eskotd.js","static/chunks/0018dy-m-kusj.js"],"[project]/apps/web/app/usage/page":["static/chunks/03g5dw5eskotd.js","static/chunks/0018dy-m-kusj.js","static/chunks/0ipytyi01h0ta.js"]}};
2
+ globalThis.__RSC_MANIFEST["/usage/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/sidebar.tsx <module evaluation>":{"id":86566,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/sidebar.tsx":{"id":86566,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/live-refresher.tsx <module evaluation>":{"id":51878,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/live-refresher.tsx":{"id":51878,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/live-sessions-widget.tsx <module evaluation>":{"id":23884,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/live-sessions-widget.tsx":{"id":23884,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js"],"async":false},"[project]/apps/web/components/usage-charts-dashboard.tsx <module evaluation>":{"id":36373,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js","/_next/static/chunks/0ipytyi01h0ta.js"],"async":false},"[project]/apps/web/components/usage-charts-dashboard.tsx":{"id":36373,"name":"*","chunks":["/_next/static/chunks/0u-n8fz-ms.ee.js","/_next/static/chunks/0018dy-m-kusj.js","/_next/static/chunks/0ipytyi01h0ta.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"86566":{"*":{"id":44422,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"51878":{"*":{"id":46069,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"23884":{"*":{"id":1568,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js","server/chunks/ssr/node_modules_09w7yel._.js"],"async":false}},"36373":{"*":{"id":64405,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__13itnvx._.js","server/chunks/ssr/apps_web_components_06j3c.0._.js","server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js","server/chunks/ssr/node_modules_next_dist_0e1izl_._.js","server/chunks/ssr/node_modules_next_0w2y7fz._.js","server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_0-lmm4p._.js","server/chunks/ssr/apps_web_components_usage-charts-dashboard_tsx_0bgr_uv._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"86566":{"*":{"id":10398,"name":"*","chunks":[],"async":false}},"51878":{"*":{"id":11272,"name":"*","chunks":[],"async":false}},"23884":{"*":{"id":62615,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}},"36373":{"*":{"id":51071,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/apps/web/app/layout":[{"path":"static/chunks/0vekjjj4pidlz.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/0vekjjj4pidlz.css","inlined":false}],"[project]/apps/web/app/usage/page":[{"path":"static/chunks/0vekjjj4pidlz.css","inlined":false}]},"entryJSFiles":{"[project]/apps/web/app/layout":["static/chunks/0u-n8fz-ms.ee.js","static/chunks/0018dy-m-kusj.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0u-n8fz-ms.ee.js","static/chunks/0018dy-m-kusj.js"],"[project]/apps/web/app/usage/page":["static/chunks/0u-n8fz-ms.ee.js","static/chunks/0018dy-m-kusj.js","static/chunks/0ipytyi01h0ta.js"]}};
3
3
 
@@ -1,3 +1,3 @@
1
- module.exports=[66536,79357,t=>{"use strict";var e=t.i(2157),s=t.i(60526),i=t.i(50227);let a={input:0,output:0,cacheRead:0,cacheWrite:0};function n(t,e=200){let s=t.replace(/<[^>]+>/g,"").replace(/\s+/g," ").trim();return s.length>e?s.slice(0,e-1)+"…":s}let r=/^\s*<teammate-message\s+teammate_id="([^"]+)"[^>]*>([\s\S]*?)<\/teammate-message>/;function o(t){let e=t.match(r);if(!e)return;let s=e[1],i=e[2].trim(),a="message";if(i.startsWith("{"))try{let t=JSON.parse(i);"idle_notification"===t.type?a="idle-notification":"shutdown_request"===t.type?a="shutdown-request":"shutdown_approved"===t.type?a="shutdown-approved":"task_assignment"===t.type?a="task-assignment":"teammate_terminated"===t.type&&(a="teammate-terminated")}catch{}return{teammateId:s,body:i,kind:a}}function l(t){if(!t||"object"!=typeof t)return;let e=t=>"number"==typeof t?t:0;return{input:e(t.input_tokens),output:e(t.output_tokens),cacheRead:e(t.cache_read_input_tokens),cacheWrite:e(t.cache_creation_input_tokens)}}function u(t){let e,s,i,r,u,d,p,m,f=[];for(let e=0;e<t.length;e++){let s=function(t,e){if(!t||"object"!=typeof t)return null;let s=String(t.type??""),i=t.uuid,a=t.parentUuid??null,r=t.timestamp;if("assistant"===s){let o,u,d,p=t.message??{},m=p.content??[],f=l(p.usage),c=p.model,g=t.requestId,y=p.id,h=p.stop_reason,M=m[0],v="agent";return M?.type==="thinking"?(v="agent-thinking",o="[thinking] "+n(M.thinking,140)):M?.type==="tool_use"?(v="tool-call",u=M.name,d=M.id,o=`${M.name} `+n(JSON.stringify(M.input??{}),100)):o=M?.type==="text"?n(M.text,200):`<assistant:${M?.type??"empty"}>`,{index:e,uuid:i,parentUuid:a,timestamp:r,role:v,rawType:s,preview:o,blocks:m,usage:f,model:c,requestId:g,messageId:y,stopReason:h,toolName:u,toolUseId:d,raw:t}}if("user"===s){let l=(t.message??{}).content;if("string"==typeof l){let u=o(l);return{index:e,uuid:i,parentUuid:a,timestamp:r,role:"user",rawType:s,preview:n(l,200),blocks:[{type:"text",text:l}],raw:t,teammateMessage:u}}if(Array.isArray(l)){let u=l[0];if(u?.type==="tool_result")return{index:e,uuid:i,parentUuid:a,timestamp:r,role:"tool-result",rawType:s,preview:n("string"==typeof u.content?u.content:JSON.stringify(u.content),200),blocks:l,toolUseId:u.tool_use_id,toolResult:t.toolUseResult,raw:t};let d=l.find(t=>t?.type==="text"),p=d?o(d.text):void 0;return{index:e,uuid:i,parentUuid:a,timestamp:r,role:"user",rawType:s,preview:d?n(d.text,200):n(JSON.stringify(l),200),blocks:l,raw:t,teammateMessage:p}}}if("attachment"===s){let o=t.attachment??{},l=String(o.type??"attachment"),u=`<attachment: ${l}>`;return"string"==typeof o.content&&o.content.length>0?u=`[${l}] `+n(o.content,140):Array.isArray(o.addedNames)&&(u=`[${l}] +${o.addedNames.length} names`),{index:e,uuid:i,parentUuid:a,timestamp:r,role:"system",rawType:s,preview:u,blocks:[{type:"text",text:JSON.stringify(o,null,2)}],attachmentType:l,raw:t}}return{index:e,uuid:i,parentUuid:a,timestamp:r,role:"meta",rawType:s||"unknown",preview:`${s}: ${n(JSON.stringify(t),140)}`,blocks:[{type:"text",text:JSON.stringify(t,null,2)}],raw:t}}(t[e],e);s&&f.push(s)}let c=f.map(t=>t.timestamp?Date.parse(t.timestamp):void 0).filter(t=>"number"==typeof t&&!Number.isNaN(t)),g=c.length?Math.min(...c):void 0,y=c.length?Math.max(...c):void 0,h=void 0!==g?new Date(g).toISOString():void 0,M=void 0!==y?new Date(y).toISOString():void 0;for(let t of f){if(!t.timestamp)continue;let e=Date.parse(t.timestamp);Number.isNaN(e)||void 0!==g&&(t.tOffsetMs=Math.max(0,e-g))}let v=f.filter(t=>{let e;return t.timestamp&&("user"===(e=t.role)||"agent"===e||"agent-thinking"===e||"tool-call"===e||"tool-result"===e)}).map(t=>({e:t,ms:Date.parse(t.timestamp)})).filter(t=>!Number.isNaN(t.ms)).sort((t,e)=>t.ms-e.ms);for(let t=1;t<v.length;t++)v[t].e.gapMs=Math.max(0,v[t].ms-v[t-1].ms);let w=f.filter(t=>t.timestamp).map(t=>Date.parse(t.timestamp)).filter(t=>!Number.isNaN(t)).sort((t,e)=>t-e),_=[],k=0;if(w.length>0){let t=w[0],e=w[0];for(let s=1;s<w.length;s++){let i=w[s],a=i-e;a>18e4?(_.push({startMs:t,endMs:e}),t=i):a>0&&(k+=a),e=i}_.push({startMs:t,endMs:e})}let N={...a},D=new Set,j="",I=!1,S=!1,b=0,x=0,P=0,T=0,$=new Set;for(let t of f){if("tool-call"===t.role){b++;let e=t.blocks.find(t=>t&&"tool_use"===t.type);if(e){let t=e.input??{};if("TeamCreate"===e.name&&(I=!0),"SendMessage"===e.name){let e="string"==typeof t.to?t.to:"";e&&"team-lead"!==e&&(S=!0)}let s="string"==typeof t.file_path?t.file_path:void 0;if("Edit"===e.name&&s){$.add(s);let e="string"==typeof t.old_string?t.old_string:"",i="string"==typeof t.new_string?t.new_string:"",a=e?e.split("\n").length:0,n=i?i.split("\n").length:0;P+=Math.max(0,n-a),T+=Math.max(0,a-n)}else if("Write"===e.name&&s){$.add(s);let e="string"==typeof t.content?t.content:"";P+=e?e.split("\n").length:0}}}if("user"===t.role){let e=t.raw?.message,s="string"==typeof e?.content?e.content:"",i=s.startsWith("<command-name>")||s.startsWith("<local-command-caveat>")||s.startsWith("Base directory for this skill:")||s.startsWith("<task-notification>"),a=void 0!==t.teammateMessage&&!u;i||a||(d||(d=t.teammateMessage?t.teammateMessage.body:t.preview),x++,m=t.preview)}"agent"===t.role&&(p=t.preview)}for(let a of t)if(a&&"object"==typeof a&&("string"!=typeof a.sessionId||j||(j=a.sessionId),"string"!=typeof a.cwd||s||(s=a.cwd),"string"!=typeof a.gitBranch||i||(i=a.gitBranch),"string"!=typeof a.teamName||r||(r=a.teamName),"string"!=typeof a.agentName||u||(u=a.agentName),"assistant"===a.type)){let t=a.message;if(t){"string"!=typeof t.model||e||(e=t.model);let s="string"==typeof t.id?t.id:void 0,i="string"==typeof a.requestId?a.requestId:void 0,n=null!=s?`${s}:${i??""}`:void 0;if(n&&D.has(n))continue;n&&D.add(n);let r=l(t.usage);r&&(N.input+=r.input,N.output+=r.output,N.cacheRead+=r.cacheRead,N.cacheWrite+=r.cacheWrite)}}return{events:f,meta:{sessionId:j,firstTimestamp:h,lastTimestamp:M,durationMs:void 0!==g&&void 0!==y?y-g:void 0,eventCount:f.length,model:e,cwd:s,gitBranch:i,totalUsage:N,status:"idle",firstUserPreview:d,lastUserPreview:m,lastAgentPreview:p,toolCallCount:b,turnCount:x,airTimeMs:k,activeSegments:_,linesAdded:P,linesRemoved:T,filesEdited:$.size,teamName:r,agentName:u,isTeamLead:void 0!==r&&void 0===u&&(I||S)}}}function d(t){let e=new Date(t),s=e.getFullYear(),i=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return`${s}-${i}-${a}`}let p=["/.claude/worktrees/","/.worktrees/"];t.s(["canonicalProjectName",0,function(t){let e=function(t){for(let e of p){let s=t.lastIndexOf(e);if(s>=0)return{idx:s,marker:e}}return null}(t);return e?t.slice(0,e.idx):t},"computeBurstsFromSessions",0,function(t,e={}){let s=[];for(let e of t)e.activeSegments&&0!==e.activeSegments.length&&s.push({id:e.id,projectDir:e.projectDir,segments:e.activeSegments});return function(t,e){let s=e.minDurationMs??6e4,i=e.mergeGapMs??6e5,a=e.minActive??2,n=[];for(let e of t)for(let t of e.segments)t.endMs<=t.startMs||(n.push({ms:t.startMs,delta:1,sessionId:e.id}),n.push({ms:t.endMs,delta:-1,sessionId:e.id}));n.sort((t,e)=>t.ms-e.ms||e.delta-t.delta);let r=new Map,o=[],l=null;for(let t of n){if(1===t.delta)r.set(t.sessionId,(r.get(t.sessionId)??0)+1);else{let e=(r.get(t.sessionId)??0)-1;e<=0?r.delete(t.sessionId):r.set(t.sessionId,e)}let e=r.size;if(e>=a)if(l)for(let s of(l.endMs=t.ms,e>l.peak&&(l.peak=e),r.keys()))l.sessionIds.add(s);else l={startMs:t.ms,endMs:t.ms,peak:e,sessionIds:new Set(r.keys())};else l&&(l.endMs=t.ms,o.push(l),l=null)}l&&o.push(l);let u=o.filter(t=>t.endMs-t.startMs>=s),d=[];for(let t of u){let e=d[d.length-1];if(e&&t.startMs-e.endMs<=i)for(let s of(e.endMs=t.endMs,t.peak>e.peak&&(e.peak=t.peak),t.sessionIds))e.sessionIds.add(s);else d.push({startMs:t.startMs,endMs:t.endMs,peak:t.peak,sessionIds:new Set(t.sessionIds)})}let p=new Map;for(let e of t)p.set(e.id,e.projectDir);return d.map(t=>{let e=Array.from(new Set(Array.from(t.sessionIds).map(t=>p.get(t)).filter(t=>!!t)));return{startMs:t.startMs,endMs:t.endMs,peak:t.peak,sessionIds:Array.from(t.sessionIds),projectDirs:e,crossProject:e.length>1}})}(s,e)},"toLocalDay",0,d],79357);let m=i.default.join(s.default.homedir(),".claude","projects");function f(t){return t.startsWith("-")?"/"+t.slice(1).replace(/-/g,"/"):t}async function c(t){let s=await e.promises.readFile(t,"utf8"),i=[];for(let t of s.split("\n")){let e=t.trim();if(e)try{i.push(JSON.parse(e))}catch{}}return i}let g=new Map,y=new Map,h=null;async function M(t=m){let s;if(h&&h.root===t&&Date.now()-h.capturedAtMs<1e3)return h.files;try{s=await e.promises.readdir(t,{withFileTypes:!0})}catch{return[]}let a=s.filter(t=>t.isDirectory()).map(t=>t.name),n=(await Promise.all(a.map(async s=>{let a,n=i.default.join(t,s);try{a=await e.promises.readdir(n)}catch{return[]}let r=a.filter(t=>t.endsWith(".jsonl"));return(await Promise.all(r.map(async t=>{let a=i.default.join(n,t);try{let i=await e.promises.stat(a);return{projectDir:s,fileName:t,fullPath:a,mtimeMs:i.mtimeMs,sizeBytes:i.size}}catch{return null}}))).filter(t=>null!==t)}))).flat();return h={files:n,capturedAtMs:Date.now(),root:t},n}function v(t){return t.replace(/\.jsonl$/i,"")}function w(t,e,s){for(let i of t){if(!i||"object"!=typeof i||"assistant"!==i.type)continue;let t=i.message;if(!t)continue;let a="string"==typeof t.id?t.id:void 0,n="string"==typeof i.requestId?i.requestId:void 0,r=null!=a&&null!=n?`${a}:${n}`:void 0;if(r&&e.has(r))continue;r&&e.add(r);let o=t.usage;if(o){let t=t=>"number"==typeof t?t:0;s.input+=t(o.input_tokens),s.output+=t(o.output_tokens),s.cacheRead+=t(o.cache_read_input_tokens),s.cacheWrite+=t(o.cache_creation_input_tokens)}}}async function _(t,s,a){let n,r={...I},o=new Set;w(t,o,r);let l=i.default.join(s,a,"subagents");try{n=await e.promises.readdir(l)}catch{return r}let u=n.filter(t=>t.endsWith(".jsonl"));return 0===u.length||await Promise.all(u.map(async t=>{try{let e=await c(i.default.join(l,t));w(e,o,r)}catch{}})),r}async function k(t){let e=g.get(t.fullPath);if(e&&e.mtimeMs===t.mtimeMs&&e.sizeBytes===t.sizeBytes)return e.meta;try{let e=await c(t.fullPath),{meta:s}=u(e),a=v(t.fileName),n=i.default.dirname(t.fullPath);s.totalUsage=await _(e,n,a);let r={...s,id:a,filePath:t.fullPath,projectDir:t.projectDir,projectName:s.cwd??f(t.projectDir)};return g.set(t.fullPath,{meta:r,mtimeMs:t.mtimeMs,sizeBytes:t.sizeBytes}),r}catch{return null}}async function N(t){let e=y.get(t.fullPath);if(e&&e.mtimeMs===t.mtimeMs&&e.sizeBytes===t.sizeBytes)return e.detail;try{let e=await c(t.fullPath),{meta:s,events:i}=u(e),a={...s,id:v(t.fileName),filePath:t.fullPath,projectDir:t.projectDir,projectName:s.cwd??f(t.projectDir),events:i};y.set(t.fullPath,{detail:a,mtimeMs:t.mtimeMs,sizeBytes:t.sizeBytes});let n={...a};return delete n.events,g.set(t.fullPath,{meta:n,mtimeMs:t.mtimeMs,sizeBytes:t.sizeBytes}),a}catch{return null}}async function D(t={}){let{root:e=m,limit:s=500,projectDir:i}=t,a=await M(e);i&&(a=a.filter(t=>t.projectDir===i)),a.sort((t,e)=>e.mtimeMs-t.mtimeMs);let n=a.slice(0,s);return(await Promise.all(n.map(t=>k(t)))).filter(t=>null!==t)}async function j(t,e={}){let{root:s=m}=e,a=(await M(s)).find(e=>v(e.fileName)===t);if(!a)return null;let n=await N(a);if(!n)return n;let r=n.firstTimestamp?Date.parse(n.firstTimestamp):void 0,o=i.default.join(i.default.dirname(a.fullPath),v(a.fileName),"subagents"),l=await S(o,r,n.events);return{...n,subagents:l}}let I={input:0,output:0,cacheRead:0,cacheWrite:0};async function S(t,s,a){let n;try{n=await e.promises.readdir(t)}catch{return[]}let r=new Map,o=[];for(let t of a)if("tool-call"===t.role&&"Agent"===t.toolName)for(let e of t.blocks){if(e?.type!=="tool_use"||"Agent"!==e.name)continue;let s=e.input??{},i="string"==typeof s.description?s.description:void 0,a=t.timestamp?Date.parse(t.timestamp):void 0,n={toolUseId:e.id,parentUuid:t.uuid??"",runInBackground:!0===s.run_in_background,prompt:"string"==typeof s.prompt?s.prompt:void 0,tsMs:a};i&&r.set(i,n),void 0!==a&&o.push(n)}o.sort((t,e)=>(t.tsMs??0)-(e.tsMs??0));let l=n.filter(t=>t.startsWith("agent-")&&t.endsWith(".jsonl"));return(await Promise.all(l.map(async a=>{let n,l=a.replace(/^agent-/,"").replace(/\.jsonl$/,""),u=i.default.join(t,a),d=i.default.join(t,`agent-${l}.meta.json`),p={};try{let t=await e.promises.readFile(d,"utf8");p=JSON.parse(t)}catch{}try{n=await c(u)}catch{return null}let m=function(t){let e,s,i,a,n,r={...I},o=new Set,l=0,u=0,d=0,p=new Map;for(let m of t){if(!m||"object"!=typeof m)continue;l++;let t="string"==typeof m.timestamp?Date.parse(m.timestamp):NaN;if(!Number.isNaN(t)&&((void 0===e||t<e)&&(e=t),(void 0===s||t>s)&&(s=t)),void 0===n&&"user"===m.type&&(null===m.parentUuid||void 0===m.parentUuid)){let t=m.message,e=t?.content;if("string"==typeof e)n=e;else if(Array.isArray(e)){let t=e.find(t=>t&&"object"==typeof t&&"text"===t.type);t?.text&&(n=t.text)}}if("assistant"===m.type){let t=m.message;if(!t)continue;a||"string"!=typeof t.model||(a=t.model);let e="string"==typeof t.id?t.id:void 0,s="string"==typeof m.requestId?m.requestId:void 0,n=null!=e&&null!=s?`${e}:${s}`:void 0,l=!n||!o.has(n);if(n&&l&&o.add(n),l){u++;let e=t.usage;if(e){let t=t=>"number"==typeof t?t:0;r.input+=t(e.input_tokens),r.output+=t(e.output_tokens),r.cacheRead+=t(e.cache_read_input_tokens),r.cacheWrite+=t(e.cache_creation_input_tokens)}}let f=t.content;if(Array.isArray(f))for(let t of f)t&&"object"==typeof t&&("text"===t.type&&"string"==typeof t.text?i=t.text:"tool_use"===t.type&&"string"==typeof t.name&&(d++,p.set(t.name,(p.get(t.name)??0)+1)))}}let m=Array.from(p.entries()).map(([t,e])=>({name:t,count:e})).sort((t,e)=>e.count-t.count);return{startMs:e,endMs:s,totalUsage:r,eventCount:l,finalPreview:void 0!==i?i.replace(/\s+/g," ").trim().slice(0,240):void 0,finalText:i,model:a,toolCalls:m,toolCallCount:d,assistantMessageCount:u,initialPrompt:n}}(n),f=p.description&&p.description.trim().length>0?p.description:void 0,g=f?r.get(f):function(t){let e;if(void 0===t)return;let s=1/0;for(let i of o){if(void 0===i.tsMs)continue;let a=Math.abs(t-i.tsMs);a<s&&a<=2e3&&(e=i,s=a)}return e}(m.startMs),y=f??(m.initialPrompt?m.initialPrompt.replace(/\s+/g," ").trim().slice(0,80):"(no description)"),h=g?.prompt??m.initialPrompt,M=void 0!==s&&void 0!==m.startMs?Math.max(0,m.startMs-s):void 0,v=void 0!==s&&void 0!==m.endMs?Math.max(0,m.endMs-s):void 0,w=void 0!==m.startMs&&void 0!==m.endMs?m.endMs-m.startMs:void 0;return{agentId:l,agentType:p.agentType??"unknown",description:y,startMs:m.startMs,endMs:m.endMs,durationMs:w,startTOffsetMs:M,endTOffsetMs:v,eventCount:m.eventCount,totalUsage:m.totalUsage,parentUuid:g?.parentUuid,parentToolUseId:g?.toolUseId,runInBackground:g?.runInBackground,prompt:h,finalPreview:m.finalPreview,finalText:m.finalText,model:m.model,toolCalls:m.toolCalls,toolCallCount:m.toolCallCount,assistantMessageCount:m.assistantMessageCount}}))).filter(t=>null!==t).sort((t,e)=>(t.startMs??0)-(e.startMs??0))}let b=i.default.join(s.default.homedir(),".cclens","usage.jsonl");async function x(t,s){let i;try{i=await e.promises.readFile(b,"utf8")}catch{return{by_day:[]}}let a=new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime(),n=new Date(s.getFullYear(),s.getMonth(),s.getDate(),23,59,59,999).getTime(),r=new Map;for(let t of i.split("\n")){let e=t.trim();if(e)try{let t=JSON.parse(e);if(!t.captured_at)continue;let s=Date.parse(t.captured_at);if(Number.isNaN(s)||s<a)continue;if(s>n)break;let i=d(s),o=t.five_hour?.utilization??0,l=r.get(i)??0;o>l&&r.set(i,o)}catch{}}let o=[],l=new Date(t.getFullYear(),t.getMonth(),t.getDate()),u=new Date(s.getFullYear(),s.getMonth(),s.getDate());for(;l.getTime()<=u.getTime();){let t=d(l.getTime());o.push({date:t,peak_util_pct:r.get(t)??0}),l.setDate(l.getDate()+1)}return{by_day:o}}t.s(["DEFAULT_ROOT",0,m,"getSession",0,j,"invalidateFile",0,function(t){g.delete(t),y.delete(t),h=null},"listSessions",0,D,"loadUsageByDay",0,x],66536)}];
1
+ module.exports=[66536,79357,e=>{"use strict";var t=e.i(2157),s=e.i(60526),i=e.i(50227);let a={input:0,output:0,cacheRead:0,cacheWrite:0};function n(e,t=200){let s=e.replace(/<[^>]+>/g,"").replace(/\s+/g," ").trim();return s.length>t?s.slice(0,t-1)+"…":s}let r=/^\s*<teammate-message\s+teammate_id="([^"]+)"[^>]*>([\s\S]*?)<\/teammate-message>/;function o(e){let t=e.match(r);if(!t)return;let s=t[1],i=t[2].trim(),a="message";if(i.startsWith("{"))try{let e=JSON.parse(i);"idle_notification"===e.type?a="idle-notification":"shutdown_request"===e.type?a="shutdown-request":"shutdown_approved"===e.type?a="shutdown-approved":"task_assignment"===e.type?a="task-assignment":"teammate_terminated"===e.type&&(a="teammate-terminated")}catch{}return{teammateId:s,body:i,kind:a}}function l(e){if(!e||"object"!=typeof e)return;let t=e=>"number"==typeof e?e:0;return{input:t(e.input_tokens),output:t(e.output_tokens),cacheRead:t(e.cache_read_input_tokens),cacheWrite:t(e.cache_creation_input_tokens)}}function u(e){let t,s,i,r,u,m,p,d,c=[];for(let t=0;t<e.length;t++){let s=function(e,t){if(!e||"object"!=typeof e)return null;let s=String(e.type??""),i=e.uuid,a=e.parentUuid??null,r=e.timestamp;if("assistant"===s){let o,u,m,p=e.message??{},d=p.content??[],c=l(p.usage),f=p.model,g=e.requestId,y=p.id,h=p.stop_reason,M=d[0],w="agent";return M?.type==="thinking"?(w="agent-thinking",o="[thinking] "+n(M.thinking,140)):M?.type==="tool_use"?(w="tool-call",u=M.name,m=M.id,o=`${M.name} `+n(JSON.stringify(M.input??{}),100)):o=M?.type==="text"?n(M.text,200):`<assistant:${M?.type??"empty"}>`,{index:t,uuid:i,parentUuid:a,timestamp:r,role:w,rawType:s,preview:o,blocks:d,usage:c,model:f,requestId:g,messageId:y,stopReason:h,toolName:u,toolUseId:m,raw:e}}if("user"===s){let l=(e.message??{}).content;if("string"==typeof l){let u=o(l);return{index:t,uuid:i,parentUuid:a,timestamp:r,role:"user",rawType:s,preview:n(l,200),blocks:[{type:"text",text:l}],raw:e,teammateMessage:u}}if(Array.isArray(l)){let u=l[0];if(u?.type==="tool_result")return{index:t,uuid:i,parentUuid:a,timestamp:r,role:"tool-result",rawType:s,preview:n("string"==typeof u.content?u.content:JSON.stringify(u.content),200),blocks:l,toolUseId:u.tool_use_id,toolResult:e.toolUseResult,raw:e};let m=l.find(e=>e?.type==="text"),p=m?o(m.text):void 0;return{index:t,uuid:i,parentUuid:a,timestamp:r,role:"user",rawType:s,preview:m?n(m.text,200):n(JSON.stringify(l),200),blocks:l,raw:e,teammateMessage:p}}}if("attachment"===s){let o=e.attachment??{},l=String(o.type??"attachment"),u=`<attachment: ${l}>`;return"string"==typeof o.content&&o.content.length>0?u=`[${l}] `+n(o.content,140):Array.isArray(o.addedNames)&&(u=`[${l}] +${o.addedNames.length} names`),{index:t,uuid:i,parentUuid:a,timestamp:r,role:"system",rawType:s,preview:u,blocks:[{type:"text",text:JSON.stringify(o,null,2)}],attachmentType:l,raw:e}}return{index:t,uuid:i,parentUuid:a,timestamp:r,role:"meta",rawType:s||"unknown",preview:`${s}: ${n(JSON.stringify(e),140)}`,blocks:[{type:"text",text:JSON.stringify(e,null,2)}],raw:e}}(e[t],t);s&&c.push(s)}let f=c.map(e=>e.timestamp?Date.parse(e.timestamp):void 0).filter(e=>"number"==typeof e&&!Number.isNaN(e)),g=f.length?Math.min(...f):void 0,y=f.length?Math.max(...f):void 0,h=void 0!==g?new Date(g).toISOString():void 0,M=void 0!==y?new Date(y).toISOString():void 0;for(let e of c){if(!e.timestamp)continue;let t=Date.parse(e.timestamp);Number.isNaN(t)||void 0!==g&&(e.tOffsetMs=Math.max(0,t-g))}let w=c.filter(e=>{let t;return e.timestamp&&("user"===(t=e.role)||"agent"===t||"agent-thinking"===t||"tool-call"===t||"tool-result"===t)}).map(e=>({e,ms:Date.parse(e.timestamp)})).filter(e=>!Number.isNaN(e.ms)).sort((e,t)=>e.ms-t.ms);for(let e=1;e<w.length;e++)w[e].e.gapMs=Math.max(0,w[e].ms-w[e-1].ms);let v=c.filter(e=>e.timestamp).map(e=>Date.parse(e.timestamp)).filter(e=>!Number.isNaN(e)).sort((e,t)=>e-t),k=[],_=0;if(v.length>0){let e=v[0],t=v[0];for(let s=1;s<v.length;s++){let i=v[s],a=i-t;a>18e4?(k.push({startMs:e,endMs:t}),e=i):a>0&&(_+=a),t=i}k.push({startMs:e,endMs:t})}let N=new Map,b=[];for(let e of c){if(!e.timestamp)continue;let t=Date.parse(e.timestamp);if(!Number.isNaN(t)){if("assistant"===e.rawType&&e.usage&&e.messageId){let s=N.get(e.messageId);s?(s.siblings.push(e),t<s.ms&&(s.rep=e,s.ms=t)):N.set(e.messageId,{rep:e,ms:t,siblings:[e]})}else if("system"===e.rawType){let s=e.raw;if(s?.subtype!=="compact_boundary")continue;let i=s.compactMetadata??{};b.push({ms:t,trigger:"manual"===i.trigger?"manual":"auto",preTokens:"number"==typeof i.preTokens?i.preTokens:0})}}}let D=[...N.values()].sort((e,t)=>e.ms-t.ms);b.sort((e,t)=>e.ms-t.ms);let I=0,j=0,S=(e,t)=>{for(let s of e.siblings)s.coldResume=t;I++,j+=t.writeTokens},T=new Set;for(let e of b){let t,s=D.find(t=>t.ms>e.ms&&(t.rep.usage?.cacheWrite??0)>=1e3);if(!s)continue;for(let s=D.length-1;s>=0;s--)if(D[s].ms<=e.ms){t=D[s].ms;break}let i=s.rep.usage,a=i.cacheWrite+i.cacheRead;S(s,{trigger:"compact",gapMs:void 0!==t?s.ms-t:0,writeTokens:i.cacheWrite,writeRatio:a>0?i.cacheWrite/a:0,compact:{trigger:e.trigger,preTokens:e.preTokens}}),T.add(s.rep.messageId)}for(let e=1;e<D.length;e++){let t=D[e-1],s=D[e];if(T.has(s.rep.messageId))continue;let i=s.rep.usage,a=i.cacheWrite+i.cacheRead,n=a>0?i.cacheWrite/a:0,r=s.ms-t.ms;r>3e5&&i.cacheWrite>=1e3&&n>=.3&&S(s,{trigger:"idle",gapMs:r,writeTokens:i.cacheWrite,writeRatio:n})}let x={...a},P=new Set,W="",$=!1,B=!1,A=0,O=0,U=0,z=0,R=new Set;for(let e of c){if("tool-call"===e.role){A++;let t=e.blocks.find(e=>e&&"tool_use"===e.type);if(t){let e=t.input??{};if("TeamCreate"===t.name&&($=!0),"SendMessage"===t.name){let t="string"==typeof e.to?e.to:"";t&&"team-lead"!==t&&(B=!0)}let s="string"==typeof e.file_path?e.file_path:void 0;if("Edit"===t.name&&s){R.add(s);let t="string"==typeof e.old_string?e.old_string:"",i="string"==typeof e.new_string?e.new_string:"",a=t?t.split("\n").length:0,n=i?i.split("\n").length:0;U+=Math.max(0,n-a),z+=Math.max(0,a-n)}else if("Write"===t.name&&s){R.add(s);let t="string"==typeof e.content?e.content:"";U+=t?t.split("\n").length:0}}}if("user"===e.role){let t=e.raw?.message,s="string"==typeof t?.content?t.content:"",i=s.startsWith("<command-name>")||s.startsWith("<local-command-caveat>")||s.startsWith("Base directory for this skill:")||s.startsWith("<task-notification>"),a=void 0!==e.teammateMessage&&!u;i||a||(m||(m=e.teammateMessage?e.teammateMessage.body:e.preview),O++,d=e.preview)}"agent"===e.role&&(p=e.preview)}for(let a of e)if(a&&"object"==typeof a&&("string"!=typeof a.sessionId||W||(W=a.sessionId),"string"!=typeof a.cwd||s||(s=a.cwd),"string"!=typeof a.gitBranch||i||(i=a.gitBranch),"string"!=typeof a.teamName||r||(r=a.teamName),"string"!=typeof a.agentName||u||(u=a.agentName),"assistant"===a.type)){let e=a.message;if(e){"string"!=typeof e.model||t||(t=e.model);let s="string"==typeof e.id?e.id:void 0,i="string"==typeof a.requestId?a.requestId:void 0,n=null!=s?`${s}:${i??""}`:void 0;if(n&&P.has(n))continue;n&&P.add(n);let r=l(e.usage);r&&(x.input+=r.input,x.output+=r.output,x.cacheRead+=r.cacheRead,x.cacheWrite+=r.cacheWrite)}}return{events:c,meta:{sessionId:W,firstTimestamp:h,lastTimestamp:M,durationMs:void 0!==g&&void 0!==y?y-g:void 0,eventCount:c.length,model:t,cwd:s,gitBranch:i,totalUsage:x,status:"idle",firstUserPreview:m,lastUserPreview:d,lastAgentPreview:p,toolCallCount:A,turnCount:O,airTimeMs:_,activeSegments:k,linesAdded:U,linesRemoved:z,filesEdited:R.size,coldResumeCount:I,cacheRebuildTokens:j,teamName:r,agentName:u,isTeamLead:void 0!==r&&void 0===u&&($||B)}}}function m(e){let t=new Date(e),s=t.getFullYear(),i=String(t.getMonth()+1).padStart(2,"0"),a=String(t.getDate()).padStart(2,"0");return`${s}-${i}-${a}`}let p=["/.claude/worktrees/","/.worktrees/"];e.s(["canonicalProjectName",0,function(e){let t=function(e){for(let t of p){let s=e.lastIndexOf(t);if(s>=0)return{idx:s,marker:t}}return null}(e);return t?e.slice(0,t.idx):e},"computeBurstsFromSessions",0,function(e,t={}){let s=[];for(let t of e)t.activeSegments&&0!==t.activeSegments.length&&s.push({id:t.id,projectDir:t.projectDir,segments:t.activeSegments});return function(e,t){let s=t.minDurationMs??6e4,i=t.mergeGapMs??6e5,a=t.minActive??2,n=[];for(let t of e)for(let e of t.segments)e.endMs<=e.startMs||(n.push({ms:e.startMs,delta:1,sessionId:t.id}),n.push({ms:e.endMs,delta:-1,sessionId:t.id}));n.sort((e,t)=>e.ms-t.ms||t.delta-e.delta);let r=new Map,o=[],l=null;for(let e of n){if(1===e.delta)r.set(e.sessionId,(r.get(e.sessionId)??0)+1);else{let t=(r.get(e.sessionId)??0)-1;t<=0?r.delete(e.sessionId):r.set(e.sessionId,t)}let t=r.size;if(t>=a)if(l)for(let s of(l.endMs=e.ms,t>l.peak&&(l.peak=t),r.keys()))l.sessionIds.add(s);else l={startMs:e.ms,endMs:e.ms,peak:t,sessionIds:new Set(r.keys())};else l&&(l.endMs=e.ms,o.push(l),l=null)}l&&o.push(l);let u=o.filter(e=>e.endMs-e.startMs>=s),m=[];for(let e of u){let t=m[m.length-1];if(t&&e.startMs-t.endMs<=i)for(let s of(t.endMs=e.endMs,e.peak>t.peak&&(t.peak=e.peak),e.sessionIds))t.sessionIds.add(s);else m.push({startMs:e.startMs,endMs:e.endMs,peak:e.peak,sessionIds:new Set(e.sessionIds)})}let p=new Map;for(let t of e)p.set(t.id,t.projectDir);return m.map(e=>{let t=Array.from(new Set(Array.from(e.sessionIds).map(e=>p.get(e)).filter(e=>!!e)));return{startMs:e.startMs,endMs:e.endMs,peak:e.peak,sessionIds:Array.from(e.sessionIds),projectDirs:t,crossProject:t.length>1}})}(s,t)},"toLocalDay",0,m],79357);let d=i.default.join(s.default.homedir(),".claude","projects");function c(e){return e.startsWith("-")?"/"+e.slice(1).replace(/-/g,"/"):e}async function f(e){let s=await t.promises.readFile(e,"utf8"),i=[];for(let e of s.split("\n")){let t=e.trim();if(t)try{i.push(JSON.parse(t))}catch{}}return i}let g=new Map,y=new Map,h=null;async function M(e=d){let s;if(h&&h.root===e&&Date.now()-h.capturedAtMs<1e3)return h.files;try{s=await t.promises.readdir(e,{withFileTypes:!0})}catch{return[]}let a=s.filter(e=>e.isDirectory()).map(e=>e.name),n=(await Promise.all(a.map(async s=>{let a,n=i.default.join(e,s);try{a=await t.promises.readdir(n)}catch{return[]}let r=a.filter(e=>e.endsWith(".jsonl"));return(await Promise.all(r.map(async e=>{let a=i.default.join(n,e);try{let i=await t.promises.stat(a);return{projectDir:s,fileName:e,fullPath:a,mtimeMs:i.mtimeMs,sizeBytes:i.size}}catch{return null}}))).filter(e=>null!==e)}))).flat();return h={files:n,capturedAtMs:Date.now(),root:e},n}function w(e){return e.replace(/\.jsonl$/i,"")}function v(e,t,s){for(let i of e){if(!i||"object"!=typeof i||"assistant"!==i.type)continue;let e=i.message;if(!e)continue;let a="string"==typeof e.id?e.id:void 0,n="string"==typeof i.requestId?i.requestId:void 0,r=null!=a&&null!=n?`${a}:${n}`:void 0;if(r&&t.has(r))continue;r&&t.add(r);let o=e.usage;if(o){let e=e=>"number"==typeof e?e:0;s.input+=e(o.input_tokens),s.output+=e(o.output_tokens),s.cacheRead+=e(o.cache_read_input_tokens),s.cacheWrite+=e(o.cache_creation_input_tokens)}}}async function k(e,s,a){let n,r={...I},o=new Set;v(e,o,r);let l=i.default.join(s,a,"subagents");try{n=await t.promises.readdir(l)}catch{return r}let u=n.filter(e=>e.endsWith(".jsonl"));return 0===u.length||await Promise.all(u.map(async e=>{try{let t=await f(i.default.join(l,e));v(t,o,r)}catch{}})),r}async function _(e){let t=g.get(e.fullPath);if(t&&t.mtimeMs===e.mtimeMs&&t.sizeBytes===e.sizeBytes)return t.meta;try{let t=await f(e.fullPath),{meta:s}=u(t),a=w(e.fileName),n=i.default.dirname(e.fullPath);s.totalUsage=await k(t,n,a);let r={...s,id:a,filePath:e.fullPath,projectDir:e.projectDir,projectName:s.cwd??c(e.projectDir)};return g.set(e.fullPath,{meta:r,mtimeMs:e.mtimeMs,sizeBytes:e.sizeBytes}),r}catch{return null}}async function N(e){let t=y.get(e.fullPath);if(t&&t.mtimeMs===e.mtimeMs&&t.sizeBytes===e.sizeBytes)return t.detail;try{let t=await f(e.fullPath),{meta:s,events:i}=u(t),a={...s,id:w(e.fileName),filePath:e.fullPath,projectDir:e.projectDir,projectName:s.cwd??c(e.projectDir),events:i};y.set(e.fullPath,{detail:a,mtimeMs:e.mtimeMs,sizeBytes:e.sizeBytes});let n={...a};return delete n.events,g.set(e.fullPath,{meta:n,mtimeMs:e.mtimeMs,sizeBytes:e.sizeBytes}),a}catch{return null}}async function b(e={}){let{root:t=d,limit:s=500,projectDir:i}=e,a=await M(t);i&&(a=a.filter(e=>e.projectDir===i)),a.sort((e,t)=>t.mtimeMs-e.mtimeMs);let n=a.slice(0,s);return(await Promise.all(n.map(e=>_(e)))).filter(e=>null!==e)}async function D(e,t={}){let{root:s=d}=t,a=(await M(s)).find(t=>w(t.fileName)===e);if(!a)return null;let n=await N(a);if(!n)return n;let r=n.firstTimestamp?Date.parse(n.firstTimestamp):void 0,o=i.default.join(i.default.dirname(a.fullPath),w(a.fileName),"subagents"),l=await j(o,r,n.events);return{...n,subagents:l}}let I={input:0,output:0,cacheRead:0,cacheWrite:0};async function j(e,s,a){let n;try{n=await t.promises.readdir(e)}catch{return[]}let r=new Map,o=[];for(let e of a)if("tool-call"===e.role&&"Agent"===e.toolName)for(let t of e.blocks){if(t?.type!=="tool_use"||"Agent"!==t.name)continue;let s=t.input??{},i="string"==typeof s.description?s.description:void 0,a=e.timestamp?Date.parse(e.timestamp):void 0,n={toolUseId:t.id,parentUuid:e.uuid??"",runInBackground:!0===s.run_in_background,prompt:"string"==typeof s.prompt?s.prompt:void 0,tsMs:a};i&&r.set(i,n),void 0!==a&&o.push(n)}o.sort((e,t)=>(e.tsMs??0)-(t.tsMs??0));let l=n.filter(e=>e.startsWith("agent-")&&e.endsWith(".jsonl"));return(await Promise.all(l.map(async a=>{let n,l=a.replace(/^agent-/,"").replace(/\.jsonl$/,""),u=i.default.join(e,a),m=i.default.join(e,`agent-${l}.meta.json`),p={};try{let e=await t.promises.readFile(m,"utf8");p=JSON.parse(e)}catch{}try{n=await f(u)}catch{return null}let d=function(e){let t,s,i,a,n,r={...I},o=new Set,l=0,u=0,m=0,p=new Map;for(let d of e){if(!d||"object"!=typeof d)continue;l++;let e="string"==typeof d.timestamp?Date.parse(d.timestamp):NaN;if(!Number.isNaN(e)&&((void 0===t||e<t)&&(t=e),(void 0===s||e>s)&&(s=e)),void 0===n&&"user"===d.type&&(null===d.parentUuid||void 0===d.parentUuid)){let e=d.message,t=e?.content;if("string"==typeof t)n=t;else if(Array.isArray(t)){let e=t.find(e=>e&&"object"==typeof e&&"text"===e.type);e?.text&&(n=e.text)}}if("assistant"===d.type){let e=d.message;if(!e)continue;a||"string"!=typeof e.model||(a=e.model);let t="string"==typeof e.id?e.id:void 0,s="string"==typeof d.requestId?d.requestId:void 0,n=null!=t&&null!=s?`${t}:${s}`:void 0,l=!n||!o.has(n);if(n&&l&&o.add(n),l){u++;let t=e.usage;if(t){let e=e=>"number"==typeof e?e:0;r.input+=e(t.input_tokens),r.output+=e(t.output_tokens),r.cacheRead+=e(t.cache_read_input_tokens),r.cacheWrite+=e(t.cache_creation_input_tokens)}}let c=e.content;if(Array.isArray(c))for(let e of c)e&&"object"==typeof e&&("text"===e.type&&"string"==typeof e.text?i=e.text:"tool_use"===e.type&&"string"==typeof e.name&&(m++,p.set(e.name,(p.get(e.name)??0)+1)))}}let d=Array.from(p.entries()).map(([e,t])=>({name:e,count:t})).sort((e,t)=>t.count-e.count);return{startMs:t,endMs:s,totalUsage:r,eventCount:l,finalPreview:void 0!==i?i.replace(/\s+/g," ").trim().slice(0,240):void 0,finalText:i,model:a,toolCalls:d,toolCallCount:m,assistantMessageCount:u,initialPrompt:n}}(n),c=p.description&&p.description.trim().length>0?p.description:void 0,g=c?r.get(c):function(e){let t;if(void 0===e)return;let s=1/0;for(let i of o){if(void 0===i.tsMs)continue;let a=Math.abs(e-i.tsMs);a<s&&a<=2e3&&(t=i,s=a)}return t}(d.startMs),y=c??(d.initialPrompt?d.initialPrompt.replace(/\s+/g," ").trim().slice(0,80):"(no description)"),h=g?.prompt??d.initialPrompt,M=void 0!==s&&void 0!==d.startMs?Math.max(0,d.startMs-s):void 0,w=void 0!==s&&void 0!==d.endMs?Math.max(0,d.endMs-s):void 0,v=void 0!==d.startMs&&void 0!==d.endMs?d.endMs-d.startMs:void 0;return{agentId:l,agentType:p.agentType??"unknown",description:y,startMs:d.startMs,endMs:d.endMs,durationMs:v,startTOffsetMs:M,endTOffsetMs:w,eventCount:d.eventCount,totalUsage:d.totalUsage,parentUuid:g?.parentUuid,parentToolUseId:g?.toolUseId,runInBackground:g?.runInBackground,prompt:h,finalPreview:d.finalPreview,finalText:d.finalText,model:d.model,toolCalls:d.toolCalls,toolCallCount:d.toolCallCount,assistantMessageCount:d.assistantMessageCount}}))).filter(e=>null!==e).sort((e,t)=>(e.startMs??0)-(t.startMs??0))}let S=i.default.join(s.default.homedir(),".cclens","usage.jsonl");async function T(e,s){let i;try{i=await t.promises.readFile(S,"utf8")}catch{return{by_day:[]}}let a=new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime(),n=new Date(s.getFullYear(),s.getMonth(),s.getDate(),23,59,59,999).getTime(),r=new Map;for(let e of i.split("\n")){let t=e.trim();if(t)try{let e=JSON.parse(t);if(!e.captured_at)continue;let s=Date.parse(e.captured_at);if(Number.isNaN(s)||s<a)continue;if(s>n)break;let i=m(s),o=e.five_hour?.utilization??0,l=r.get(i)??0;o>l&&r.set(i,o)}catch{}}let o=[],l=new Date(e.getFullYear(),e.getMonth(),e.getDate()),u=new Date(s.getFullYear(),s.getMonth(),s.getDate());for(;l.getTime()<=u.getTime();){let e=m(l.getTime());o.push({date:e,peak_util_pct:r.get(e)??0}),l.setDate(l.getDate()+1)}return{by_day:o}}e.s(["DEFAULT_ROOT",0,d,"getSession",0,D,"invalidateFile",0,function(e){g.delete(e),y.delete(e),h=null},"listSessions",0,b,"loadUsageByDay",0,T],66536)}];
2
2
 
3
3
  //# sourceMappingURL=packages_parser_dist_fs_0bc7ptm.js.map