@lucapimenta/copy-chief-dashboard 1.0.0
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/LICENSE +21 -0
- package/README.md +107 -0
- package/bin/cli.js +48 -0
- package/dashboard/.next/BUILD_ID +1 -0
- package/dashboard/.next/app-build-manifest.json +152 -0
- package/dashboard/.next/app-path-routes-manifest.json +18 -0
- package/dashboard/.next/build-manifest.json +33 -0
- package/dashboard/.next/diagnostics/build-diagnostics.json +6 -0
- package/dashboard/.next/diagnostics/framework.json +1 -0
- package/dashboard/.next/export-detail.json +5 -0
- package/dashboard/.next/export-marker.json +6 -0
- package/dashboard/.next/images-manifest.json +58 -0
- package/dashboard/.next/next-minimal-server.js.nft.json +1 -0
- package/dashboard/.next/next-server.js.nft.json +1 -0
- package/dashboard/.next/package.json +1 -0
- package/dashboard/.next/prerender-manifest.json +397 -0
- package/dashboard/.next/react-loadable-manifest.json +251 -0
- package/dashboard/.next/required-server-files.json +321 -0
- package/dashboard/.next/routes-manifest.json +150 -0
- package/dashboard/.next/server/app/_not-found/page.js +2 -0
- package/dashboard/.next/server/app/_not-found/page.js.nft.json +1 -0
- package/dashboard/.next/server/app/_not-found/page_client-reference-manifest.js +1 -0
- package/dashboard/.next/server/app/_not-found.html +1 -0
- package/dashboard/.next/server/app/_not-found.meta +8 -0
- package/dashboard/.next/server/app/_not-found.rsc +19 -0
- package/dashboard/.next/server/app/agents/page.js +2 -0
- package/dashboard/.next/server/app/agents/page.js.nft.json +1 -0
- package/dashboard/.next/server/app/agents/page_client-reference-manifest.js +1 -0
- package/dashboard/.next/server/app/agents.html +1 -0
- package/dashboard/.next/server/app/agents.meta +7 -0
- package/dashboard/.next/server/app/agents.rsc +23 -0
- package/dashboard/.next/server/app/clickup/page.js +2 -0
- package/dashboard/.next/server/app/clickup/page.js.nft.json +1 -0
- package/dashboard/.next/server/app/clickup/page_client-reference-manifest.js +1 -0
- package/dashboard/.next/server/app/clickup.html +1 -0
- package/dashboard/.next/server/app/clickup.meta +7 -0
- package/dashboard/.next/server/app/clickup.rsc +23 -0
- package/dashboard/.next/server/app/context/page.js +2 -0
- package/dashboard/.next/server/app/context/page.js.nft.json +1 -0
- package/dashboard/.next/server/app/context/page_client-reference-manifest.js +1 -0
- package/dashboard/.next/server/app/context.html +1 -0
- package/dashboard/.next/server/app/context.meta +7 -0
- package/dashboard/.next/server/app/context.rsc +23 -0
- package/dashboard/.next/server/app/github/page.js +2 -0
- package/dashboard/.next/server/app/github/page.js.nft.json +1 -0
- package/dashboard/.next/server/app/github/page_client-reference-manifest.js +1 -0
- package/dashboard/.next/server/app/github.html +1 -0
- package/dashboard/.next/server/app/github.meta +7 -0
- package/dashboard/.next/server/app/github.rsc +23 -0
- package/dashboard/.next/server/app/helix/page.js +2 -0
- package/dashboard/.next/server/app/helix/page.js.nft.json +1 -0
- package/dashboard/.next/server/app/helix/page_client-reference-manifest.js +1 -0
- package/dashboard/.next/server/app/helix.html +1 -0
- package/dashboard/.next/server/app/helix.meta +7 -0
- package/dashboard/.next/server/app/helix.rsc +23 -0
- package/dashboard/.next/server/app/index.html +1 -0
- package/dashboard/.next/server/app/index.meta +9 -0
- package/dashboard/.next/server/app/index.rsc +20 -0
- package/dashboard/.next/server/app/insights/page.js +2 -0
- package/dashboard/.next/server/app/insights/page.js.nft.json +1 -0
- package/dashboard/.next/server/app/insights/page_client-reference-manifest.js +1 -0
- package/dashboard/.next/server/app/insights.html +1 -0
- package/dashboard/.next/server/app/insights.meta +7 -0
- package/dashboard/.next/server/app/insights.rsc +23 -0
- package/dashboard/.next/server/app/kanban/page.js +2 -0
- package/dashboard/.next/server/app/kanban/page.js.nft.json +1 -0
- package/dashboard/.next/server/app/kanban/page_client-reference-manifest.js +1 -0
- package/dashboard/.next/server/app/kanban.html +1 -0
- package/dashboard/.next/server/app/kanban.meta +7 -0
- package/dashboard/.next/server/app/kanban.rsc +23 -0
- package/dashboard/.next/server/app/monitor/page.js +2 -0
- package/dashboard/.next/server/app/monitor/page.js.nft.json +1 -0
- package/dashboard/.next/server/app/monitor/page_client-reference-manifest.js +1 -0
- package/dashboard/.next/server/app/monitor.html +1 -0
- package/dashboard/.next/server/app/monitor.meta +7 -0
- package/dashboard/.next/server/app/monitor.rsc +23 -0
- package/dashboard/.next/server/app/page.js +2 -0
- package/dashboard/.next/server/app/page.js.nft.json +1 -0
- package/dashboard/.next/server/app/page_client-reference-manifest.js +1 -0
- package/dashboard/.next/server/app/pipeline/page.js +2 -0
- package/dashboard/.next/server/app/pipeline/page.js.nft.json +1 -0
- package/dashboard/.next/server/app/pipeline/page_client-reference-manifest.js +1 -0
- package/dashboard/.next/server/app/pipeline.html +1 -0
- package/dashboard/.next/server/app/pipeline.meta +7 -0
- package/dashboard/.next/server/app/pipeline.rsc +23 -0
- package/dashboard/.next/server/app/roadmap/page.js +2 -0
- package/dashboard/.next/server/app/roadmap/page.js.nft.json +1 -0
- package/dashboard/.next/server/app/roadmap/page_client-reference-manifest.js +1 -0
- package/dashboard/.next/server/app/roadmap.html +1 -0
- package/dashboard/.next/server/app/roadmap.meta +7 -0
- package/dashboard/.next/server/app/roadmap.rsc +23 -0
- package/dashboard/.next/server/app/settings/page.js +2 -0
- package/dashboard/.next/server/app/settings/page.js.nft.json +1 -0
- package/dashboard/.next/server/app/settings/page_client-reference-manifest.js +1 -0
- package/dashboard/.next/server/app/settings.html +1 -0
- package/dashboard/.next/server/app/settings.meta +7 -0
- package/dashboard/.next/server/app/settings.rsc +23 -0
- package/dashboard/.next/server/app/squad/page.js +2 -0
- package/dashboard/.next/server/app/squad/page.js.nft.json +1 -0
- package/dashboard/.next/server/app/squad/page_client-reference-manifest.js +1 -0
- package/dashboard/.next/server/app/squad.html +1 -0
- package/dashboard/.next/server/app/squad.meta +7 -0
- package/dashboard/.next/server/app/squad.rsc +23 -0
- package/dashboard/.next/server/app/terminals/page.js +2 -0
- package/dashboard/.next/server/app/terminals/page.js.nft.json +1 -0
- package/dashboard/.next/server/app/terminals/page_client-reference-manifest.js +1 -0
- package/dashboard/.next/server/app/terminals.html +1 -0
- package/dashboard/.next/server/app/terminals.meta +7 -0
- package/dashboard/.next/server/app/terminals.rsc +23 -0
- package/dashboard/.next/server/app/warroom/page.js +2 -0
- package/dashboard/.next/server/app/warroom/page.js.nft.json +1 -0
- package/dashboard/.next/server/app/warroom/page_client-reference-manifest.js +1 -0
- package/dashboard/.next/server/app/warroom.html +1 -0
- package/dashboard/.next/server/app/warroom.meta +7 -0
- package/dashboard/.next/server/app/warroom.rsc +23 -0
- package/dashboard/.next/server/app-paths-manifest.json +18 -0
- package/dashboard/.next/server/chunks/1172.js +80 -0
- package/dashboard/.next/server/chunks/1227.js +4 -0
- package/dashboard/.next/server/chunks/1857.js +174 -0
- package/dashboard/.next/server/chunks/1894.js +1 -0
- package/dashboard/.next/server/chunks/1931.js +1 -0
- package/dashboard/.next/server/chunks/2044.js +1 -0
- package/dashboard/.next/server/chunks/228.js +1 -0
- package/dashboard/.next/server/chunks/2327.js +1 -0
- package/dashboard/.next/server/chunks/2348.js +1 -0
- package/dashboard/.next/server/chunks/2482.js +93 -0
- package/dashboard/.next/server/chunks/2624.js +1 -0
- package/dashboard/.next/server/chunks/2694.js +1 -0
- package/dashboard/.next/server/chunks/2839.js +1 -0
- package/dashboard/.next/server/chunks/2884.js +166 -0
- package/dashboard/.next/server/chunks/2942.js +43 -0
- package/dashboard/.next/server/chunks/3133.js +1 -0
- package/dashboard/.next/server/chunks/3442.js +1 -0
- package/dashboard/.next/server/chunks/3706.js +1 -0
- package/dashboard/.next/server/chunks/401.js +24 -0
- package/dashboard/.next/server/chunks/4135.js +36 -0
- package/dashboard/.next/server/chunks/4621.js +148 -0
- package/dashboard/.next/server/chunks/5154.js +5 -0
- package/dashboard/.next/server/chunks/5589.js +131 -0
- package/dashboard/.next/server/chunks/5611.js +6 -0
- package/dashboard/.next/server/chunks/5789.js +59 -0
- package/dashboard/.next/server/chunks/5949.js +1 -0
- package/dashboard/.next/server/chunks/5971.js +136 -0
- package/dashboard/.next/server/chunks/6044.js +1 -0
- package/dashboard/.next/server/chunks/6084.js +56 -0
- package/dashboard/.next/server/chunks/6148.js +201 -0
- package/dashboard/.next/server/chunks/6171.js +215 -0
- package/dashboard/.next/server/chunks/6442.js +62 -0
- package/dashboard/.next/server/chunks/6651.js +24 -0
- package/dashboard/.next/server/chunks/6673.js +262 -0
- package/dashboard/.next/server/chunks/6725.js +30 -0
- package/dashboard/.next/server/chunks/6743.js +1 -0
- package/dashboard/.next/server/chunks/7762.js +63 -0
- package/dashboard/.next/server/chunks/7945.js +1 -0
- package/dashboard/.next/server/chunks/8135.js +55 -0
- package/dashboard/.next/server/chunks/8192.js +1 -0
- package/dashboard/.next/server/chunks/8893.js +1 -0
- package/dashboard/.next/server/chunks/9286.js +29 -0
- package/dashboard/.next/server/chunks/9408.js +1 -0
- package/dashboard/.next/server/chunks/9596.js +1 -0
- package/dashboard/.next/server/chunks/9698.js +1 -0
- package/dashboard/.next/server/functions-config-manifest.json +4 -0
- package/dashboard/.next/server/interception-route-rewrite-manifest.js +1 -0
- package/dashboard/.next/server/middleware-build-manifest.js +1 -0
- package/dashboard/.next/server/middleware-manifest.json +6 -0
- package/dashboard/.next/server/middleware-react-loadable-manifest.js +1 -0
- package/dashboard/.next/server/next-font-manifest.js +1 -0
- package/dashboard/.next/server/next-font-manifest.json +1 -0
- package/dashboard/.next/server/pages/404.html +1 -0
- package/dashboard/.next/server/pages/500.html +1 -0
- package/dashboard/.next/server/pages/_app.js +1 -0
- package/dashboard/.next/server/pages/_app.js.nft.json +1 -0
- package/dashboard/.next/server/pages/_document.js +1 -0
- package/dashboard/.next/server/pages/_document.js.nft.json +1 -0
- package/dashboard/.next/server/pages/_error.js +19 -0
- package/dashboard/.next/server/pages/_error.js.nft.json +1 -0
- package/dashboard/.next/server/pages-manifest.json +6 -0
- package/dashboard/.next/server/server-reference-manifest.js +1 -0
- package/dashboard/.next/server/server-reference-manifest.json +1 -0
- package/dashboard/.next/server/webpack-runtime.js +1 -0
- package/dashboard/.next/static/JK-V08bhbMqDgo-zfSV9W/_buildManifest.js +1 -0
- package/dashboard/.next/static/JK-V08bhbMqDgo-zfSV9W/_ssgManifest.js +1 -0
- package/dashboard/.next/static/chunks/0dbeb660.c36e335de0d55418.js +53 -0
- package/dashboard/.next/static/chunks/1255-f98cc73ffd52f5bb.js +1 -0
- package/dashboard/.next/static/chunks/1345.7503fa6b29b871de.js +1 -0
- package/dashboard/.next/static/chunks/1380.77135630c8daf916.js +1 -0
- package/dashboard/.next/static/chunks/1490.c65d1aaee35b511a.js +1 -0
- package/dashboard/.next/static/chunks/1535.e648a03dbec3ff55.js +1 -0
- package/dashboard/.next/static/chunks/1750.43360397ece68aee.js +1 -0
- package/dashboard/.next/static/chunks/2320.015c7644b9ef5b70.js +93 -0
- package/dashboard/.next/static/chunks/2406.fb5bb75fd84ca1c5.js +1 -0
- package/dashboard/.next/static/chunks/2721.d8ec4517aa6c041e.js +63 -0
- package/dashboard/.next/static/chunks/2cdb6380.d3e32ab6aac21a0f.js +136 -0
- package/dashboard/.next/static/chunks/4093.2f7c452f6f30092f.js +1 -0
- package/dashboard/.next/static/chunks/4101.d9d1dfad9a7aa6e4.js +131 -0
- package/dashboard/.next/static/chunks/4153.5087e1e97addcb59.js +215 -0
- package/dashboard/.next/static/chunks/4243.d4ba4b8b4c2b5488.js +1 -0
- package/dashboard/.next/static/chunks/4290.da9364c5fcc0ecd1.js +80 -0
- package/dashboard/.next/static/chunks/4389.7312708ff9bb8d60.js +55 -0
- package/dashboard/.next/static/chunks/4459.bd1bcf0e75dafac8.js +1 -0
- package/dashboard/.next/static/chunks/461.02ddfe7abf885789.js +29 -0
- package/dashboard/.next/static/chunks/4776.f567801874e66499.js +1 -0
- package/dashboard/.next/static/chunks/4909-60c88923efbb24ad.js +1 -0
- package/dashboard/.next/static/chunks/4bd1b696-100b9d70ed4e49c1.js +1 -0
- package/dashboard/.next/static/chunks/526.47382bf23733427d.js +24 -0
- package/dashboard/.next/static/chunks/5281.51c549f558da3099.js +43 -0
- package/dashboard/.next/static/chunks/535.eb3a1482a7521647.js +1 -0
- package/dashboard/.next/static/chunks/5812.4f235560e1619a56.js +5 -0
- package/dashboard/.next/static/chunks/5836.34303e331382086a.js +1 -0
- package/dashboard/.next/static/chunks/5893.5744824d699de21b.js +1 -0
- package/dashboard/.next/static/chunks/5951.571c036629d38d80.js +1 -0
- package/dashboard/.next/static/chunks/6354.4bb95f70fe5dfbad.js +56 -0
- package/dashboard/.next/static/chunks/6706.f75cf4acecc1d556.js +166 -0
- package/dashboard/.next/static/chunks/6872.4915c5decbc84203.js +1 -0
- package/dashboard/.next/static/chunks/6892-033ce320fd438ed5.js +1 -0
- package/dashboard/.next/static/chunks/7083.da666db6cd05b140.js +174 -0
- package/dashboard/.next/static/chunks/7261.0e4f764520f61be4.js +262 -0
- package/dashboard/.next/static/chunks/7265.9e653a9dc3150886.js +59 -0
- package/dashboard/.next/static/chunks/7485.39ec2b59b81840e9.js +149 -0
- package/dashboard/.next/static/chunks/7557.07bfbf2344395f28.js +1 -0
- package/dashboard/.next/static/chunks/7815-3a3fed50c1f9f4a2.js +1 -0
- package/dashboard/.next/static/chunks/8175.9c76cdfbf4b95839.js +1 -0
- package/dashboard/.next/static/chunks/8433.7279330542021415.js +4 -0
- package/dashboard/.next/static/chunks/8456.8982722099740b7c.js +36 -0
- package/dashboard/.next/static/chunks/8458.4e9954c69b81ff6b.js +1 -0
- package/dashboard/.next/static/chunks/8629-d6d0d6655e6a1604.js +1 -0
- package/dashboard/.next/static/chunks/9014.9410ef55ed975a5b.js +1 -0
- package/dashboard/.next/static/chunks/90542734.c2386877103b1d80.js +1 -0
- package/dashboard/.next/static/chunks/9426.e5022dfcdc340cc9.js +1 -0
- package/dashboard/.next/static/chunks/9764.622ba6fdc3021279.js +24 -0
- package/dashboard/.next/static/chunks/9923.0a91d7c5812d587c.js +62 -0
- package/dashboard/.next/static/chunks/9937.22462c1efb33230c.js +148 -0
- package/dashboard/.next/static/chunks/app/_not-found/page-23c12faf3f32d11f.js +1 -0
- package/dashboard/.next/static/chunks/app/agents/page-897aad6c092db78f.js +1 -0
- package/dashboard/.next/static/chunks/app/clickup/page-4c7f1f73cee0cc1f.js +1 -0
- package/dashboard/.next/static/chunks/app/context/page-2fbe40350b7fbd6f.js +1 -0
- package/dashboard/.next/static/chunks/app/github/page-9d87a13179c596e7.js +1 -0
- package/dashboard/.next/static/chunks/app/helix/page-e152ee5b03cb16dd.js +1 -0
- package/dashboard/.next/static/chunks/app/insights/page-ba6765c3ba1baae9.js +1 -0
- package/dashboard/.next/static/chunks/app/kanban/page-63b90dbe0d4e8d7b.js +1 -0
- package/dashboard/.next/static/chunks/app/layout-bf2c2731f6484537.js +1 -0
- package/dashboard/.next/static/chunks/app/monitor/page-013728f1268859c9.js +1 -0
- package/dashboard/.next/static/chunks/app/page-ff65a92ee2f37737.js +1 -0
- package/dashboard/.next/static/chunks/app/pipeline/page-ff884b97e72ef0dc.js +1 -0
- package/dashboard/.next/static/chunks/app/roadmap/page-317896f93a48bd4d.js +1 -0
- package/dashboard/.next/static/chunks/app/settings/page-8d91e7f22a91e6c4.js +1 -0
- package/dashboard/.next/static/chunks/app/squad/page-3a4655e3c033a342.js +1 -0
- package/dashboard/.next/static/chunks/app/terminals/page-37d6ccad2c306dbc.js +1 -0
- package/dashboard/.next/static/chunks/app/warroom/page-40632273c9071c8e.js +1 -0
- package/dashboard/.next/static/chunks/d3ac728e.7efe4849e689f3b2.js +1 -0
- package/dashboard/.next/static/chunks/framework-a32a2a465584c0bc.js +1 -0
- package/dashboard/.next/static/chunks/main-app-43d91e7eb374bda1.js +1 -0
- package/dashboard/.next/static/chunks/main-b158c42304074eda.js +1 -0
- package/dashboard/.next/static/chunks/pages/_app-4b3fb5e477a0267f.js +1 -0
- package/dashboard/.next/static/chunks/pages/_error-c970d8b55ace1b48.js +1 -0
- package/dashboard/.next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
- package/dashboard/.next/static/chunks/webpack-28cfb0cda54bd302.js +1 -0
- package/dashboard/.next/static/css/edbd0cff8e611a55.css +1 -0
- package/dashboard/.next/trace +4 -0
- package/dashboard/.next/types/app/agents/page.ts +84 -0
- package/dashboard/.next/types/app/clickup/page.ts +84 -0
- package/dashboard/.next/types/app/context/page.ts +84 -0
- package/dashboard/.next/types/app/github/page.ts +84 -0
- package/dashboard/.next/types/app/helix/page.ts +84 -0
- package/dashboard/.next/types/app/insights/page.ts +84 -0
- package/dashboard/.next/types/app/kanban/page.ts +84 -0
- package/dashboard/.next/types/app/monitor/page.ts +84 -0
- package/dashboard/.next/types/app/page.ts +84 -0
- package/dashboard/.next/types/app/pipeline/page.ts +84 -0
- package/dashboard/.next/types/app/roadmap/page.ts +84 -0
- package/dashboard/.next/types/app/settings/page.ts +84 -0
- package/dashboard/.next/types/app/squad/page.ts +84 -0
- package/dashboard/.next/types/app/terminals/page.ts +84 -0
- package/dashboard/.next/types/app/warroom/page.ts +84 -0
- package/dashboard/.next/types/cache-life.d.ts +141 -0
- package/dashboard/.next/types/package.json +1 -0
- package/dashboard/.next/types/routes.d.ts +71 -0
- package/dashboard/.next/types/validator.ts +187 -0
- package/dashboard/next-env.d.ts +6 -0
- package/dashboard/next.config.ts +9 -0
- package/dashboard/out/404/index.html +1 -0
- package/dashboard/out/404.html +1 -0
- package/dashboard/out/_next/static/JK-V08bhbMqDgo-zfSV9W/_buildManifest.js +1 -0
- package/dashboard/out/_next/static/JK-V08bhbMqDgo-zfSV9W/_ssgManifest.js +1 -0
- package/dashboard/out/_next/static/chunks/0dbeb660.c36e335de0d55418.js +53 -0
- package/dashboard/out/_next/static/chunks/1255-f98cc73ffd52f5bb.js +1 -0
- package/dashboard/out/_next/static/chunks/1345.7503fa6b29b871de.js +1 -0
- package/dashboard/out/_next/static/chunks/1380.77135630c8daf916.js +1 -0
- package/dashboard/out/_next/static/chunks/1490.c65d1aaee35b511a.js +1 -0
- package/dashboard/out/_next/static/chunks/1535.e648a03dbec3ff55.js +1 -0
- package/dashboard/out/_next/static/chunks/1750.43360397ece68aee.js +1 -0
- package/dashboard/out/_next/static/chunks/2320.015c7644b9ef5b70.js +93 -0
- package/dashboard/out/_next/static/chunks/2406.fb5bb75fd84ca1c5.js +1 -0
- package/dashboard/out/_next/static/chunks/2721.d8ec4517aa6c041e.js +63 -0
- package/dashboard/out/_next/static/chunks/2cdb6380.d3e32ab6aac21a0f.js +136 -0
- package/dashboard/out/_next/static/chunks/4093.2f7c452f6f30092f.js +1 -0
- package/dashboard/out/_next/static/chunks/4101.d9d1dfad9a7aa6e4.js +131 -0
- package/dashboard/out/_next/static/chunks/4153.5087e1e97addcb59.js +215 -0
- package/dashboard/out/_next/static/chunks/4243.d4ba4b8b4c2b5488.js +1 -0
- package/dashboard/out/_next/static/chunks/4290.da9364c5fcc0ecd1.js +80 -0
- package/dashboard/out/_next/static/chunks/4389.7312708ff9bb8d60.js +55 -0
- package/dashboard/out/_next/static/chunks/4459.bd1bcf0e75dafac8.js +1 -0
- package/dashboard/out/_next/static/chunks/461.02ddfe7abf885789.js +29 -0
- package/dashboard/out/_next/static/chunks/4776.f567801874e66499.js +1 -0
- package/dashboard/out/_next/static/chunks/4909-60c88923efbb24ad.js +1 -0
- package/dashboard/out/_next/static/chunks/4bd1b696-100b9d70ed4e49c1.js +1 -0
- package/dashboard/out/_next/static/chunks/526.47382bf23733427d.js +24 -0
- package/dashboard/out/_next/static/chunks/5281.51c549f558da3099.js +43 -0
- package/dashboard/out/_next/static/chunks/535.eb3a1482a7521647.js +1 -0
- package/dashboard/out/_next/static/chunks/5812.4f235560e1619a56.js +5 -0
- package/dashboard/out/_next/static/chunks/5836.34303e331382086a.js +1 -0
- package/dashboard/out/_next/static/chunks/5893.5744824d699de21b.js +1 -0
- package/dashboard/out/_next/static/chunks/5951.571c036629d38d80.js +1 -0
- package/dashboard/out/_next/static/chunks/6354.4bb95f70fe5dfbad.js +56 -0
- package/dashboard/out/_next/static/chunks/6706.f75cf4acecc1d556.js +166 -0
- package/dashboard/out/_next/static/chunks/6872.4915c5decbc84203.js +1 -0
- package/dashboard/out/_next/static/chunks/6892-033ce320fd438ed5.js +1 -0
- package/dashboard/out/_next/static/chunks/7083.da666db6cd05b140.js +174 -0
- package/dashboard/out/_next/static/chunks/7261.0e4f764520f61be4.js +262 -0
- package/dashboard/out/_next/static/chunks/7265.9e653a9dc3150886.js +59 -0
- package/dashboard/out/_next/static/chunks/7485.39ec2b59b81840e9.js +149 -0
- package/dashboard/out/_next/static/chunks/7557.07bfbf2344395f28.js +1 -0
- package/dashboard/out/_next/static/chunks/7815-3a3fed50c1f9f4a2.js +1 -0
- package/dashboard/out/_next/static/chunks/8175.9c76cdfbf4b95839.js +1 -0
- package/dashboard/out/_next/static/chunks/8433.7279330542021415.js +4 -0
- package/dashboard/out/_next/static/chunks/8456.8982722099740b7c.js +36 -0
- package/dashboard/out/_next/static/chunks/8458.4e9954c69b81ff6b.js +1 -0
- package/dashboard/out/_next/static/chunks/8629-d6d0d6655e6a1604.js +1 -0
- package/dashboard/out/_next/static/chunks/9014.9410ef55ed975a5b.js +1 -0
- package/dashboard/out/_next/static/chunks/90542734.c2386877103b1d80.js +1 -0
- package/dashboard/out/_next/static/chunks/9426.e5022dfcdc340cc9.js +1 -0
- package/dashboard/out/_next/static/chunks/9764.622ba6fdc3021279.js +24 -0
- package/dashboard/out/_next/static/chunks/9923.0a91d7c5812d587c.js +62 -0
- package/dashboard/out/_next/static/chunks/9937.22462c1efb33230c.js +148 -0
- package/dashboard/out/_next/static/chunks/app/_not-found/page-23c12faf3f32d11f.js +1 -0
- package/dashboard/out/_next/static/chunks/app/agents/page-897aad6c092db78f.js +1 -0
- package/dashboard/out/_next/static/chunks/app/clickup/page-4c7f1f73cee0cc1f.js +1 -0
- package/dashboard/out/_next/static/chunks/app/context/page-2fbe40350b7fbd6f.js +1 -0
- package/dashboard/out/_next/static/chunks/app/github/page-9d87a13179c596e7.js +1 -0
- package/dashboard/out/_next/static/chunks/app/helix/page-e152ee5b03cb16dd.js +1 -0
- package/dashboard/out/_next/static/chunks/app/insights/page-ba6765c3ba1baae9.js +1 -0
- package/dashboard/out/_next/static/chunks/app/kanban/page-63b90dbe0d4e8d7b.js +1 -0
- package/dashboard/out/_next/static/chunks/app/layout-bf2c2731f6484537.js +1 -0
- package/dashboard/out/_next/static/chunks/app/monitor/page-013728f1268859c9.js +1 -0
- package/dashboard/out/_next/static/chunks/app/page-ff65a92ee2f37737.js +1 -0
- package/dashboard/out/_next/static/chunks/app/pipeline/page-ff884b97e72ef0dc.js +1 -0
- package/dashboard/out/_next/static/chunks/app/roadmap/page-317896f93a48bd4d.js +1 -0
- package/dashboard/out/_next/static/chunks/app/settings/page-8d91e7f22a91e6c4.js +1 -0
- package/dashboard/out/_next/static/chunks/app/squad/page-3a4655e3c033a342.js +1 -0
- package/dashboard/out/_next/static/chunks/app/terminals/page-37d6ccad2c306dbc.js +1 -0
- package/dashboard/out/_next/static/chunks/app/warroom/page-40632273c9071c8e.js +1 -0
- package/dashboard/out/_next/static/chunks/d3ac728e.7efe4849e689f3b2.js +1 -0
- package/dashboard/out/_next/static/chunks/framework-a32a2a465584c0bc.js +1 -0
- package/dashboard/out/_next/static/chunks/main-app-43d91e7eb374bda1.js +1 -0
- package/dashboard/out/_next/static/chunks/main-b158c42304074eda.js +1 -0
- package/dashboard/out/_next/static/chunks/pages/_app-4b3fb5e477a0267f.js +1 -0
- package/dashboard/out/_next/static/chunks/pages/_error-c970d8b55ace1b48.js +1 -0
- package/dashboard/out/_next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
- package/dashboard/out/_next/static/chunks/webpack-28cfb0cda54bd302.js +1 -0
- package/dashboard/out/_next/static/css/edbd0cff8e611a55.css +1 -0
- package/dashboard/out/agents/index.html +1 -0
- package/dashboard/out/agents/index.txt +23 -0
- package/dashboard/out/clickup/index.html +1 -0
- package/dashboard/out/clickup/index.txt +23 -0
- package/dashboard/out/context/index.html +1 -0
- package/dashboard/out/context/index.txt +23 -0
- package/dashboard/out/github/index.html +1 -0
- package/dashboard/out/github/index.txt +23 -0
- package/dashboard/out/helix/index.html +1 -0
- package/dashboard/out/helix/index.txt +23 -0
- package/dashboard/out/index.html +1 -0
- package/dashboard/out/index.txt +20 -0
- package/dashboard/out/insights/index.html +1 -0
- package/dashboard/out/insights/index.txt +23 -0
- package/dashboard/out/kanban/index.html +1 -0
- package/dashboard/out/kanban/index.txt +23 -0
- package/dashboard/out/monitor/index.html +1 -0
- package/dashboard/out/monitor/index.txt +23 -0
- package/dashboard/out/pipeline/index.html +1 -0
- package/dashboard/out/pipeline/index.txt +23 -0
- package/dashboard/out/roadmap/index.html +1 -0
- package/dashboard/out/roadmap/index.txt +23 -0
- package/dashboard/out/settings/index.html +1 -0
- package/dashboard/out/settings/index.txt +23 -0
- package/dashboard/out/squad/index.html +1 -0
- package/dashboard/out/squad/index.txt +23 -0
- package/dashboard/out/terminals/index.html +1 -0
- package/dashboard/out/terminals/index.txt +23 -0
- package/dashboard/out/warroom/index.html +1 -0
- package/dashboard/out/warroom/index.txt +23 -0
- package/dashboard/package-lock.json +3042 -0
- package/dashboard/package.json +33 -0
- package/dashboard/postcss.config.mjs +6 -0
- package/dashboard/src/app/agents/page.tsx +175 -0
- package/dashboard/src/app/clickup/page.tsx +237 -0
- package/dashboard/src/app/context/page.tsx +42 -0
- package/dashboard/src/app/github/page.tsx +27 -0
- package/dashboard/src/app/globals.css +259 -0
- package/dashboard/src/app/helix/page.tsx +101 -0
- package/dashboard/src/app/insights/page.tsx +124 -0
- package/dashboard/src/app/kanban/page.tsx +68 -0
- package/dashboard/src/app/layout.tsx +36 -0
- package/dashboard/src/app/monitor/page.tsx +96 -0
- package/dashboard/src/app/page.tsx +5 -0
- package/dashboard/src/app/pipeline/page.tsx +329 -0
- package/dashboard/src/app/roadmap/page.tsx +94 -0
- package/dashboard/src/app/settings/page.tsx +111 -0
- package/dashboard/src/app/squad/page.tsx +101 -0
- package/dashboard/src/app/terminals/page.tsx +82 -0
- package/dashboard/src/app/warroom/page.tsx +108 -0
- package/dashboard/src/components/agents/AgentCard.tsx +68 -0
- package/dashboard/src/components/agents/AgentGrid.tsx +51 -0
- package/dashboard/src/components/clickup/PendingBadge.tsx +26 -0
- package/dashboard/src/components/clickup/SyncExecutor.tsx +103 -0
- package/dashboard/src/components/context/ContextPanel.tsx +75 -0
- package/dashboard/src/components/context/McpStatus.tsx +29 -0
- package/dashboard/src/components/context/RulesTree.tsx +48 -0
- package/dashboard/src/components/github/GitHubPanel.tsx +154 -0
- package/dashboard/src/components/helix/HELIXMermaid.tsx +90 -0
- package/dashboard/src/components/helix/HELIXPipelinePanel.tsx +247 -0
- package/dashboard/src/components/helix/PhaseDetail.tsx +92 -0
- package/dashboard/src/components/insights/JourneysSection.tsx +83 -0
- package/dashboard/src/components/insights/MetricsSummary.tsx +87 -0
- package/dashboard/src/components/insights/PatternsSection.tsx +64 -0
- package/dashboard/src/components/insights/Sparkline.tsx +113 -0
- package/dashboard/src/components/insights/StatsOverview.tsx +133 -0
- package/dashboard/src/components/kanban/DnDKanbanBoard.tsx +166 -0
- package/dashboard/src/components/kanban/DroppableColumn.tsx +42 -0
- package/dashboard/src/components/kanban/KanbanColumn.tsx +46 -0
- package/dashboard/src/components/kanban/OfferCard.tsx +223 -0
- package/dashboard/src/components/kanban/SortableOfferCard.tsx +33 -0
- package/dashboard/src/components/layout/KeyboardShortcuts.tsx +8 -0
- package/dashboard/src/components/layout/Providers.tsx +41 -0
- package/dashboard/src/components/layout/Sidebar.tsx +91 -0
- package/dashboard/src/components/layout/StatusBar.tsx +54 -0
- package/dashboard/src/components/mermaidcn/mermaid.tsx +125 -0
- package/dashboard/src/components/monitor/ActivityFeed.tsx +115 -0
- package/dashboard/src/components/monitor/CurrentToolIndicator.tsx +66 -0
- package/dashboard/src/components/monitor/SessionsList.tsx +248 -0
- package/dashboard/src/components/monitor/SynapseWidget.tsx +61 -0
- package/dashboard/src/components/pipeline/PipelineStagePills.tsx +68 -0
- package/dashboard/src/components/squad/ExpertCard.tsx +81 -0
- package/dashboard/src/components/squad/ExpertDetail.tsx +120 -0
- package/dashboard/src/components/squad/SquadGrid.tsx +40 -0
- package/dashboard/src/components/terminals/TerminalGrid.tsx +54 -0
- package/dashboard/src/components/terminals/TerminalPanel.tsx +69 -0
- package/dashboard/src/components/ui/badge.tsx +32 -0
- package/dashboard/src/components/ui/error-boundary.tsx +47 -0
- package/dashboard/src/components/ui/progress-bar.tsx +45 -0
- package/dashboard/src/components/ui/score-badge.tsx +20 -0
- package/dashboard/src/components/ui/status-indicator.tsx +25 -0
- package/dashboard/src/components/ui/toast.tsx +77 -0
- package/dashboard/src/components/warroom/TaskKanbanBoard.tsx +149 -0
- package/dashboard/src/components/warroom/WarRoomActivityFeed.tsx +187 -0
- package/dashboard/src/components/warroom/WarRoomAgentStrip.tsx +68 -0
- package/dashboard/src/hooks/use-agents.ts +25 -0
- package/dashboard/src/hooks/use-context.ts +16 -0
- package/dashboard/src/hooks/use-dispatch-queue.ts +38 -0
- package/dashboard/src/hooks/use-github.ts +27 -0
- package/dashboard/src/hooks/use-helix.ts +39 -0
- package/dashboard/src/hooks/use-keyboard-shortcuts.ts +43 -0
- package/dashboard/src/hooks/use-metrics.ts +35 -0
- package/dashboard/src/hooks/use-monitor-events.ts +122 -0
- package/dashboard/src/hooks/use-offers.ts +36 -0
- package/dashboard/src/hooks/use-warroom.ts +103 -0
- package/dashboard/src/hooks/useSSE.ts +122 -0
- package/dashboard/src/lib/mermaid-themes.ts +41 -0
- package/dashboard/src/lib/nicho-colors.ts +10 -0
- package/dashboard/src/lib/persona-colors.ts +16 -0
- package/dashboard/src/lib/utils.ts +48 -0
- package/dashboard/src/stores/agent-store.ts +27 -0
- package/dashboard/src/stores/clickup-store.ts +101 -0
- package/dashboard/src/stores/dispatch-store.ts +40 -0
- package/dashboard/src/stores/helix-store.ts +43 -0
- package/dashboard/src/stores/monitor-store.ts +106 -0
- package/dashboard/src/stores/offer-store.ts +119 -0
- package/dashboard/src/stores/settings-store.ts +29 -0
- package/dashboard/src/stores/terminal-store.ts +44 -0
- package/dashboard/src/stores/ui-store.ts +21 -0
- package/dashboard/src/stores/warroom-store.ts +39 -0
- package/dashboard/tsconfig.json +41 -0
- package/dashboard/tsconfig.tsbuildinfo +1 -0
- package/package.json +32 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import useSWR from 'swr';
|
|
4
|
+
import { apiFetch, cn } from '@/lib/utils';
|
|
5
|
+
import { Badge } from '@/components/ui/badge';
|
|
6
|
+
|
|
7
|
+
interface ExpertProfile {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
tier: string;
|
|
11
|
+
specialties: string[];
|
|
12
|
+
style: string;
|
|
13
|
+
avg_quality: number;
|
|
14
|
+
reviews_count: number;
|
|
15
|
+
voice_dna?: string;
|
|
16
|
+
anti_patterns?: string[];
|
|
17
|
+
checklists?: string[];
|
|
18
|
+
signature_moves?: string[];
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
interface ExpertDetailProps {
|
|
22
|
+
expertId: string;
|
|
23
|
+
onClose: () => void;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export function ExpertDetail({ expertId, onClose }: ExpertDetailProps) {
|
|
27
|
+
const { data: expert, isLoading } = useSWR<ExpertProfile>(
|
|
28
|
+
`/squad/${expertId}`,
|
|
29
|
+
apiFetch
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
if (isLoading) {
|
|
33
|
+
return (
|
|
34
|
+
<div className="border border-[var(--hud-border)] rounded p-4 bg-[var(--hud-bg)] animate-pulse">
|
|
35
|
+
<p className="text-xs font-mono text-[var(--hud-text-dim)]">Loading expert profile...</p>
|
|
36
|
+
</div>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
if (!expert) return null;
|
|
41
|
+
|
|
42
|
+
return (
|
|
43
|
+
<div className="border border-[var(--hud-accent)]/30 rounded p-4 bg-[var(--hud-bg)] space-y-3">
|
|
44
|
+
<div className="flex items-center justify-between">
|
|
45
|
+
<h3 className="text-sm font-mono text-[var(--hud-text)] font-bold">{expert.name}</h3>
|
|
46
|
+
<button
|
|
47
|
+
onClick={onClose}
|
|
48
|
+
className="text-[10px] font-mono text-[var(--hud-text-dim)] hover:text-[var(--hud-text)]"
|
|
49
|
+
>
|
|
50
|
+
[close]
|
|
51
|
+
</button>
|
|
52
|
+
</div>
|
|
53
|
+
|
|
54
|
+
<div className="flex items-center gap-2">
|
|
55
|
+
<Badge variant={expert.tier === '**' ? 'passed' : expert.tier === '*' ? 'active' : 'info'}>
|
|
56
|
+
Tier {expert.tier}
|
|
57
|
+
</Badge>
|
|
58
|
+
{expert.style && (
|
|
59
|
+
<span className="text-[10px] font-mono text-[var(--hud-text-dim)]">{expert.style}</span>
|
|
60
|
+
)}
|
|
61
|
+
</div>
|
|
62
|
+
|
|
63
|
+
{/* All Specialties */}
|
|
64
|
+
<div>
|
|
65
|
+
<p className="text-[10px] font-mono text-[var(--hud-text-dim)] uppercase tracking-wider mb-1">Specialties</p>
|
|
66
|
+
<div className="flex flex-wrap gap-1">
|
|
67
|
+
{expert.specialties.map((s) => (
|
|
68
|
+
<Badge key={s} variant="default">{s}</Badge>
|
|
69
|
+
))}
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
|
|
73
|
+
{/* Signature Moves */}
|
|
74
|
+
{expert.signature_moves && expert.signature_moves.length > 0 && (
|
|
75
|
+
<div>
|
|
76
|
+
<p className="text-[10px] font-mono text-[var(--hud-text-dim)] uppercase tracking-wider mb-1">Signature Moves</p>
|
|
77
|
+
<ul className="space-y-0.5">
|
|
78
|
+
{expert.signature_moves.map((m, i) => (
|
|
79
|
+
<li key={i} className="text-[10px] font-mono text-emerald-400">+ {m}</li>
|
|
80
|
+
))}
|
|
81
|
+
</ul>
|
|
82
|
+
</div>
|
|
83
|
+
)}
|
|
84
|
+
|
|
85
|
+
{/* Anti-Patterns */}
|
|
86
|
+
{expert.anti_patterns && expert.anti_patterns.length > 0 && (
|
|
87
|
+
<div>
|
|
88
|
+
<p className="text-[10px] font-mono text-[var(--hud-text-dim)] uppercase tracking-wider mb-1">Anti-Patterns</p>
|
|
89
|
+
<ul className="space-y-0.5">
|
|
90
|
+
{expert.anti_patterns.slice(0, 8).map((a, i) => (
|
|
91
|
+
<li key={i} className="text-[10px] font-mono text-red-400">- {a}</li>
|
|
92
|
+
))}
|
|
93
|
+
</ul>
|
|
94
|
+
</div>
|
|
95
|
+
)}
|
|
96
|
+
|
|
97
|
+
{/* Checklists */}
|
|
98
|
+
{expert.checklists && expert.checklists.length > 0 && (
|
|
99
|
+
<div>
|
|
100
|
+
<p className="text-[10px] font-mono text-[var(--hud-text-dim)] uppercase tracking-wider mb-1">Checklists</p>
|
|
101
|
+
<div className="flex flex-wrap gap-1">
|
|
102
|
+
{expert.checklists.map((c) => (
|
|
103
|
+
<Badge key={c} variant="info">{c}</Badge>
|
|
104
|
+
))}
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
)}
|
|
108
|
+
|
|
109
|
+
{/* Voice DNA excerpt */}
|
|
110
|
+
{expert.voice_dna && (
|
|
111
|
+
<div>
|
|
112
|
+
<p className="text-[10px] font-mono text-[var(--hud-text-dim)] uppercase tracking-wider mb-1">Voice DNA</p>
|
|
113
|
+
<pre className="text-[10px] font-mono text-[var(--hud-text)] whitespace-pre-wrap bg-black/30 rounded p-2 max-h-40 overflow-auto">
|
|
114
|
+
{expert.voice_dna}
|
|
115
|
+
</pre>
|
|
116
|
+
</div>
|
|
117
|
+
)}
|
|
118
|
+
</div>
|
|
119
|
+
);
|
|
120
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ExpertCard } from './ExpertCard';
|
|
2
|
+
|
|
3
|
+
interface Expert {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
tier: string;
|
|
7
|
+
specialties: string[];
|
|
8
|
+
style: string;
|
|
9
|
+
avg_quality: number;
|
|
10
|
+
reviews_count: number;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
interface SquadGridProps {
|
|
14
|
+
experts: Expert[];
|
|
15
|
+
onExpertClick?: (id: string) => void;
|
|
16
|
+
selectedExpert?: string | null;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export function SquadGrid({ experts, onExpertClick, selectedExpert }: SquadGridProps) {
|
|
20
|
+
if (experts.length === 0) {
|
|
21
|
+
return (
|
|
22
|
+
<p className="text-sm font-mono text-[var(--hud-text-dim)] text-center py-8">
|
|
23
|
+
No experts match filter
|
|
24
|
+
</p>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
return (
|
|
29
|
+
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-3">
|
|
30
|
+
{experts.map((expert) => (
|
|
31
|
+
<ExpertCard
|
|
32
|
+
key={expert.id}
|
|
33
|
+
expert={expert}
|
|
34
|
+
onClick={onExpertClick ? () => onExpertClick(expert.id) : undefined}
|
|
35
|
+
isSelected={selectedExpert === expert.id}
|
|
36
|
+
/>
|
|
37
|
+
))}
|
|
38
|
+
</div>
|
|
39
|
+
);
|
|
40
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { TerminalPanel } from './TerminalPanel';
|
|
4
|
+
import type { TerminalLine } from '@/stores/terminal-store';
|
|
5
|
+
|
|
6
|
+
interface TerminalGridProps {
|
|
7
|
+
sessions: Map<string, TerminalLine[]>;
|
|
8
|
+
activeSession: string | null;
|
|
9
|
+
viewMode: 'grid' | 'single';
|
|
10
|
+
onExpand: (sessionId: string | null) => void;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export function TerminalGrid({ sessions, activeSession, viewMode, onExpand }: TerminalGridProps) {
|
|
14
|
+
const entries = Array.from(sessions.entries())
|
|
15
|
+
.sort(([, a], [, b]) => {
|
|
16
|
+
const lastA = a.length > 0 ? a[a.length - 1].timestamp : 0;
|
|
17
|
+
const lastB = b.length > 0 ? b[b.length - 1].timestamp : 0;
|
|
18
|
+
return lastB - lastA;
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
if (entries.length === 0) {
|
|
22
|
+
return (
|
|
23
|
+
<div className="flex flex-col items-center justify-center py-16 text-[var(--hud-text-dim)]">
|
|
24
|
+
<p className="text-sm font-mono mb-2">No terminal sessions</p>
|
|
25
|
+
<p className="text-xs opacity-50">Terminal output will appear as agents execute tools</p>
|
|
26
|
+
</div>
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
if (viewMode === 'single' && activeSession) {
|
|
31
|
+
const lines = sessions.get(activeSession) || [];
|
|
32
|
+
return (
|
|
33
|
+
<TerminalPanel
|
|
34
|
+
sessionId={activeSession}
|
|
35
|
+
lines={lines}
|
|
36
|
+
expanded
|
|
37
|
+
onExpand={() => onExpand(null)}
|
|
38
|
+
/>
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return (
|
|
43
|
+
<div className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-3">
|
|
44
|
+
{entries.map(([sessionId, lines]) => (
|
|
45
|
+
<TerminalPanel
|
|
46
|
+
key={sessionId}
|
|
47
|
+
sessionId={sessionId}
|
|
48
|
+
lines={lines}
|
|
49
|
+
onExpand={() => onExpand(sessionId)}
|
|
50
|
+
/>
|
|
51
|
+
))}
|
|
52
|
+
</div>
|
|
53
|
+
);
|
|
54
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { useRef, useEffect } from 'react';
|
|
4
|
+
import { cn } from '@/lib/utils';
|
|
5
|
+
import type { TerminalLine } from '@/stores/terminal-store';
|
|
6
|
+
|
|
7
|
+
interface TerminalPanelProps {
|
|
8
|
+
sessionId: string;
|
|
9
|
+
lines: TerminalLine[];
|
|
10
|
+
expanded?: boolean;
|
|
11
|
+
onExpand?: () => void;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export function TerminalPanel({ sessionId, lines, expanded, onExpand }: TerminalPanelProps) {
|
|
15
|
+
const scrollRef = useRef<HTMLDivElement>(null);
|
|
16
|
+
|
|
17
|
+
useEffect(() => {
|
|
18
|
+
if (scrollRef.current) {
|
|
19
|
+
scrollRef.current.scrollTop = scrollRef.current.scrollHeight;
|
|
20
|
+
}
|
|
21
|
+
}, [lines.length]);
|
|
22
|
+
|
|
23
|
+
const shortId = sessionId.split('-').slice(-2).join('-');
|
|
24
|
+
|
|
25
|
+
return (
|
|
26
|
+
<div
|
|
27
|
+
className={cn(
|
|
28
|
+
'border border-[var(--hud-border)] rounded bg-black/50 flex flex-col',
|
|
29
|
+
expanded ? 'col-span-full' : ''
|
|
30
|
+
)}
|
|
31
|
+
>
|
|
32
|
+
<div className="flex items-center justify-between px-3 py-1.5 border-b border-[var(--hud-border)] bg-[var(--hud-surface)]">
|
|
33
|
+
<span className="text-[10px] font-mono text-[var(--hud-accent)]">{shortId}</span>
|
|
34
|
+
<div className="flex items-center gap-2">
|
|
35
|
+
<span className="text-[10px] font-mono text-[var(--hud-text-dim)]">{lines.length} lines</span>
|
|
36
|
+
{onExpand && (
|
|
37
|
+
<button
|
|
38
|
+
onClick={onExpand}
|
|
39
|
+
className="text-[10px] font-mono text-[var(--hud-text-dim)] hover:text-[var(--hud-text)]"
|
|
40
|
+
>
|
|
41
|
+
{expanded ? 'Grid' : 'Expand'}
|
|
42
|
+
</button>
|
|
43
|
+
)}
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
<div
|
|
47
|
+
ref={scrollRef}
|
|
48
|
+
className={cn(
|
|
49
|
+
'overflow-auto font-mono text-[11px] p-2 space-y-0.5',
|
|
50
|
+
expanded ? 'h-[500px]' : 'h-[250px]'
|
|
51
|
+
)}
|
|
52
|
+
>
|
|
53
|
+
{lines.length === 0 ? (
|
|
54
|
+
<p className="text-[var(--hud-text-dim)] opacity-50">No output yet</p>
|
|
55
|
+
) : (
|
|
56
|
+
lines.map((line, i) => (
|
|
57
|
+
<div key={i} className={cn('leading-tight', line.is_error ? 'text-red-400' : 'text-green-300/80')}>
|
|
58
|
+
<span className="text-[var(--hud-text-dim)] opacity-40 mr-2">
|
|
59
|
+
{new Date(line.timestamp).toLocaleTimeString('pt-BR', { hour: '2-digit', minute: '2-digit', second: '2-digit' })}
|
|
60
|
+
</span>
|
|
61
|
+
<span className="text-cyan-400/60 mr-1">[{line.tool_name?.split('__').pop() || 'sys'}]</span>
|
|
62
|
+
<span>{line.text}</span>
|
|
63
|
+
</div>
|
|
64
|
+
))
|
|
65
|
+
)}
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
);
|
|
69
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { cn } from '@/lib/utils';
|
|
2
|
+
|
|
3
|
+
const VARIANTS: Record<string, string> = {
|
|
4
|
+
default: 'bg-[var(--hud-surface)] text-[var(--hud-text-dim)]',
|
|
5
|
+
active: 'bg-amber-500/20 text-amber-400 border-amber-500/30',
|
|
6
|
+
passed: 'bg-emerald-500/20 text-emerald-400 border-emerald-500/30',
|
|
7
|
+
success: 'bg-emerald-500/20 text-emerald-400 border-emerald-500/30',
|
|
8
|
+
failed: 'bg-red-500/20 text-red-400 border-red-500/30',
|
|
9
|
+
warning: 'bg-amber-500/20 text-amber-400 border-amber-500/30',
|
|
10
|
+
pending: 'bg-zinc-500/20 text-zinc-400 border-zinc-500/30',
|
|
11
|
+
info: 'bg-[var(--status-info-bg)] text-[var(--status-info)] border-[var(--status-info-border)]',
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
interface BadgeProps {
|
|
15
|
+
variant?: keyof typeof VARIANTS;
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export function Badge({ variant = 'default', children, className }: BadgeProps) {
|
|
21
|
+
return (
|
|
22
|
+
<span
|
|
23
|
+
className={cn(
|
|
24
|
+
'inline-flex items-center px-2 py-0.5 text-[10px] font-mono rounded border',
|
|
25
|
+
VARIANTS[variant] || VARIANTS.default,
|
|
26
|
+
className
|
|
27
|
+
)}
|
|
28
|
+
>
|
|
29
|
+
{children}
|
|
30
|
+
</span>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { Component, type ReactNode } from 'react';
|
|
4
|
+
|
|
5
|
+
interface Props {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
fallback?: ReactNode;
|
|
8
|
+
section?: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
interface State {
|
|
12
|
+
hasError: boolean;
|
|
13
|
+
error?: Error;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export class ErrorBoundary extends Component<Props, State> {
|
|
17
|
+
constructor(props: Props) {
|
|
18
|
+
super(props);
|
|
19
|
+
this.state = { hasError: false };
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static getDerivedStateFromError(error: Error): State {
|
|
23
|
+
return { hasError: true, error };
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
render() {
|
|
27
|
+
if (this.state.hasError) {
|
|
28
|
+
if (this.props.fallback) return this.props.fallback;
|
|
29
|
+
return (
|
|
30
|
+
<div className="border border-red-500/30 rounded p-3 bg-red-500/5">
|
|
31
|
+
<p className="text-[10px] font-mono text-red-400">
|
|
32
|
+
{this.props.section ? `[${this.props.section}] ` : ''}
|
|
33
|
+
Error: {this.state.error?.message || 'Unknown error'}
|
|
34
|
+
</p>
|
|
35
|
+
<button
|
|
36
|
+
onClick={() => this.setState({ hasError: false, error: undefined })}
|
|
37
|
+
className="text-[10px] font-mono text-[var(--hud-accent)] underline mt-1"
|
|
38
|
+
>
|
|
39
|
+
Retry
|
|
40
|
+
</button>
|
|
41
|
+
</div>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
return this.props.children;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { cn } from '@/lib/utils';
|
|
2
|
+
|
|
3
|
+
interface ProgressBarProps {
|
|
4
|
+
value: number;
|
|
5
|
+
max?: number;
|
|
6
|
+
threshold?: number;
|
|
7
|
+
className?: string;
|
|
8
|
+
showLabel?: boolean;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export function ProgressBar({
|
|
12
|
+
value,
|
|
13
|
+
max = 100,
|
|
14
|
+
threshold,
|
|
15
|
+
className,
|
|
16
|
+
showLabel = true,
|
|
17
|
+
}: ProgressBarProps) {
|
|
18
|
+
const pct = Math.min((value / max) * 100, 100);
|
|
19
|
+
const aboveThreshold = threshold !== undefined && value >= threshold;
|
|
20
|
+
|
|
21
|
+
return (
|
|
22
|
+
<div className={cn('flex items-center gap-2', className)}>
|
|
23
|
+
<div className="relative flex-1 h-2 bg-[var(--hud-surface)] rounded-full overflow-hidden">
|
|
24
|
+
<div
|
|
25
|
+
className={cn(
|
|
26
|
+
'h-full rounded-full transition-all duration-500',
|
|
27
|
+
aboveThreshold ? 'bg-emerald-500' : pct > 60 ? 'bg-amber-500' : 'bg-red-500'
|
|
28
|
+
)}
|
|
29
|
+
style={{ width: `${pct}%` }}
|
|
30
|
+
/>
|
|
31
|
+
{threshold !== undefined && (
|
|
32
|
+
<div
|
|
33
|
+
className="absolute top-0 bottom-0 w-px bg-emerald-400/50"
|
|
34
|
+
style={{ left: `${(threshold / max) * 100}%` }}
|
|
35
|
+
/>
|
|
36
|
+
)}
|
|
37
|
+
</div>
|
|
38
|
+
{showLabel && (
|
|
39
|
+
<span className="text-[10px] font-mono text-[var(--hud-text-dim)] min-w-[3ch] text-right">
|
|
40
|
+
{Math.round(pct)}%
|
|
41
|
+
</span>
|
|
42
|
+
)}
|
|
43
|
+
</div>
|
|
44
|
+
);
|
|
45
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { cn, formatScore, scoreColor } from '@/lib/utils';
|
|
2
|
+
|
|
3
|
+
interface ScoreBadgeProps {
|
|
4
|
+
score: number;
|
|
5
|
+
label?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export function ScoreBadge({ score, label, className }: ScoreBadgeProps) {
|
|
10
|
+
return (
|
|
11
|
+
<div className={cn('flex items-center gap-1', className)}>
|
|
12
|
+
{label && (
|
|
13
|
+
<span className="text-[10px] font-mono text-[var(--hud-text-dim)]">{label}</span>
|
|
14
|
+
)}
|
|
15
|
+
<span className={cn('text-sm font-mono font-bold', scoreColor(score))}>
|
|
16
|
+
{formatScore(score)}
|
|
17
|
+
</span>
|
|
18
|
+
</div>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { cn } from '@/lib/utils';
|
|
2
|
+
|
|
3
|
+
interface StatusIndicatorProps {
|
|
4
|
+
status: 'online' | 'offline' | 'warning' | 'active';
|
|
5
|
+
label?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
const COLORS: Record<string, string> = {
|
|
10
|
+
online: 'bg-emerald-400',
|
|
11
|
+
offline: 'bg-red-400',
|
|
12
|
+
warning: 'bg-amber-400',
|
|
13
|
+
active: 'bg-amber-400 animate-pulse',
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export function StatusIndicator({ status, label, className }: StatusIndicatorProps) {
|
|
17
|
+
return (
|
|
18
|
+
<div className={cn('flex items-center gap-1.5', className)}>
|
|
19
|
+
<span className={cn('w-2 h-2 rounded-full', COLORS[status])} />
|
|
20
|
+
{label && (
|
|
21
|
+
<span className="text-[10px] font-mono text-[var(--hud-text-dim)]">{label}</span>
|
|
22
|
+
)}
|
|
23
|
+
</div>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { useState, useEffect, useCallback, createContext, useContext, type ReactNode } from 'react';
|
|
4
|
+
import { cn } from '@/lib/utils';
|
|
5
|
+
|
|
6
|
+
interface Toast {
|
|
7
|
+
id: number;
|
|
8
|
+
message: string;
|
|
9
|
+
type: 'success' | 'error' | 'info';
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
interface ToastContextValue {
|
|
13
|
+
addToast: (message: string, type?: Toast['type']) => void;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const ToastContext = createContext<ToastContextValue>({ addToast: () => {} });
|
|
17
|
+
|
|
18
|
+
export function useToast() {
|
|
19
|
+
return useContext(ToastContext);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
let nextId = 0;
|
|
23
|
+
|
|
24
|
+
export function ToastProvider({ children }: { children: ReactNode }) {
|
|
25
|
+
const [toasts, setToasts] = useState<Toast[]>([]);
|
|
26
|
+
|
|
27
|
+
const addToast = useCallback((message: string, type: Toast['type'] = 'info') => {
|
|
28
|
+
const id = nextId++;
|
|
29
|
+
setToasts((prev) => [...prev, { id, message, type }]);
|
|
30
|
+
}, []);
|
|
31
|
+
|
|
32
|
+
const removeToast = useCallback((id: number) => {
|
|
33
|
+
setToasts((prev) => prev.filter((t) => t.id !== id));
|
|
34
|
+
}, []);
|
|
35
|
+
|
|
36
|
+
return (
|
|
37
|
+
<ToastContext.Provider value={{ addToast }}>
|
|
38
|
+
{children}
|
|
39
|
+
<div className="fixed bottom-4 right-4 z-50 flex flex-col gap-2 pointer-events-none">
|
|
40
|
+
{toasts.map((t) => (
|
|
41
|
+
<ToastItem key={t.id} toast={t} onDone={() => removeToast(t.id)} />
|
|
42
|
+
))}
|
|
43
|
+
</div>
|
|
44
|
+
</ToastContext.Provider>
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function ToastItem({ toast, onDone }: { toast: Toast; onDone: () => void }) {
|
|
49
|
+
const [visible, setVisible] = useState(false);
|
|
50
|
+
|
|
51
|
+
useEffect(() => {
|
|
52
|
+
requestAnimationFrame(() => setVisible(true));
|
|
53
|
+
const timer = setTimeout(() => {
|
|
54
|
+
setVisible(false);
|
|
55
|
+
setTimeout(onDone, 200);
|
|
56
|
+
}, 3000);
|
|
57
|
+
return () => clearTimeout(timer);
|
|
58
|
+
}, [onDone]);
|
|
59
|
+
|
|
60
|
+
const colors = {
|
|
61
|
+
success: 'border-[var(--status-success-border)] bg-[var(--status-success-bg)] text-[var(--status-success)]',
|
|
62
|
+
error: 'border-[var(--status-error-border)] bg-[var(--status-error-bg)] text-[var(--status-error)]',
|
|
63
|
+
info: 'border-[var(--status-info-border)] bg-[var(--status-info-bg)] text-[var(--status-info)]',
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
return (
|
|
67
|
+
<div
|
|
68
|
+
className={cn(
|
|
69
|
+
'pointer-events-auto px-3 py-2 rounded border text-[10px] font-mono transition-all duration-200',
|
|
70
|
+
colors[toast.type],
|
|
71
|
+
visible ? 'opacity-100 translate-y-0' : 'opacity-0 translate-y-2'
|
|
72
|
+
)}
|
|
73
|
+
>
|
|
74
|
+
{toast.message}
|
|
75
|
+
</div>
|
|
76
|
+
);
|
|
77
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { cn, formatRelativeTime } from '@/lib/utils';
|
|
4
|
+
import type { DispatchEntry, WorkflowStep } from '@/stores/dispatch-store';
|
|
5
|
+
|
|
6
|
+
// Agent colors matching server AGENTS array
|
|
7
|
+
const AGENT_COLORS: Record<string, string> = {
|
|
8
|
+
helix: '#FFD700', vox: '#10B981', atlas: '#3B82F6', blade: '#EF4444',
|
|
9
|
+
hawk: '#F59E0B', scout: '#06B6D4', forge: '#8B5CF6', echo: '#EC4899',
|
|
10
|
+
cipher: '#14B8A6', sentinel: '#E8ECF4', ops: '#78716C', strategist: '#D97706',
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
const COLUMNS = [
|
|
14
|
+
{ key: 'pending', label: 'PENDING', dotClass: 'bg-yellow-500' },
|
|
15
|
+
{ key: 'dispatched', label: 'IN PROGRESS', dotClass: 'bg-blue-500' },
|
|
16
|
+
{ key: 'completed', label: 'COMPLETED', dotClass: 'bg-emerald-500' },
|
|
17
|
+
{ key: 'failed', label: 'FAILED', dotClass: 'bg-red-500' },
|
|
18
|
+
] as const;
|
|
19
|
+
|
|
20
|
+
interface TaskKanbanBoardProps {
|
|
21
|
+
entries: DispatchEntry[];
|
|
22
|
+
workflowSteps: WorkflowStep[];
|
|
23
|
+
agentFilter: string | null;
|
|
24
|
+
offerFilter: string | null;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function normalizeStatus(status: string): string {
|
|
28
|
+
const s = status.toLowerCase();
|
|
29
|
+
if (s === 'in_progress' || s === 'dispatched' || s === 'active' || s === 'running') return 'dispatched';
|
|
30
|
+
if (s === 'done' || s === 'completed' || s === 'passed') return 'completed';
|
|
31
|
+
if (s === 'failed' || s === 'error') return 'failed';
|
|
32
|
+
if (s === 'skipped') return 'completed';
|
|
33
|
+
return 'pending';
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export function TaskKanbanBoard({ entries, workflowSteps, agentFilter, offerFilter }: TaskKanbanBoardProps) {
|
|
37
|
+
// Merge dispatch entries and workflow steps into unified list
|
|
38
|
+
const allItems: DispatchEntry[] = [
|
|
39
|
+
...entries,
|
|
40
|
+
...workflowSteps.map((step) => ({
|
|
41
|
+
id: step.id,
|
|
42
|
+
offer: step.offer,
|
|
43
|
+
agent_id: step.agent_id,
|
|
44
|
+
model: '',
|
|
45
|
+
status: normalizeStatus(step.status) as DispatchEntry['status'],
|
|
46
|
+
task_summary: step.action,
|
|
47
|
+
parallel_group: null,
|
|
48
|
+
created_at: '',
|
|
49
|
+
source: `workflow:${step.phase}`,
|
|
50
|
+
})),
|
|
51
|
+
];
|
|
52
|
+
|
|
53
|
+
// Apply filters
|
|
54
|
+
const filtered = allItems.filter((item) => {
|
|
55
|
+
if (agentFilter && item.agent_id.toLowerCase() !== agentFilter.toLowerCase()) return false;
|
|
56
|
+
if (offerFilter && item.offer !== offerFilter) return false;
|
|
57
|
+
return true;
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
// Group by column
|
|
61
|
+
const columns = COLUMNS.map((col) => ({
|
|
62
|
+
...col,
|
|
63
|
+
items: filtered.filter((item) => normalizeStatus(item.status) === col.key),
|
|
64
|
+
}));
|
|
65
|
+
|
|
66
|
+
if (filtered.length === 0) {
|
|
67
|
+
const hasUnfiltered = allItems.length > 0;
|
|
68
|
+
const activeFilter = agentFilter || offerFilter;
|
|
69
|
+
return (
|
|
70
|
+
<div className="flex flex-col items-center justify-center py-12 text-[var(--hud-text-dim)] gap-2">
|
|
71
|
+
<p className="text-xs font-mono">
|
|
72
|
+
{hasUnfiltered && activeFilter
|
|
73
|
+
? `No tasks for @${agentFilter || offerFilter} — ${allItems.length} tasks hidden by filter`
|
|
74
|
+
: 'No dispatch tasks found'}
|
|
75
|
+
</p>
|
|
76
|
+
{hasUnfiltered && activeFilter && (
|
|
77
|
+
<p className="text-[10px] font-mono opacity-50">Click the active agent again to clear filter</p>
|
|
78
|
+
)}
|
|
79
|
+
</div>
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return (
|
|
84
|
+
<div className="grid grid-cols-4 gap-3 min-h-[200px]">
|
|
85
|
+
{columns.map((col) => (
|
|
86
|
+
<div key={col.key} className="flex flex-col">
|
|
87
|
+
{/* Column header */}
|
|
88
|
+
<div className="flex items-center gap-2 mb-2 px-1">
|
|
89
|
+
<span className={cn('w-2 h-2 rounded-full', col.dotClass)} />
|
|
90
|
+
<span className="text-[10px] font-mono font-bold text-[var(--hud-text-dim)] uppercase tracking-wider">
|
|
91
|
+
{col.label}
|
|
92
|
+
</span>
|
|
93
|
+
<span className="text-[10px] font-mono text-[var(--hud-text-dim)]">
|
|
94
|
+
{col.items.length}
|
|
95
|
+
</span>
|
|
96
|
+
</div>
|
|
97
|
+
|
|
98
|
+
{/* Cards */}
|
|
99
|
+
<div className="flex-1 space-y-1.5 overflow-y-auto max-h-[400px]">
|
|
100
|
+
{col.items.map((item) => (
|
|
101
|
+
<TaskCard key={item.id} item={item} />
|
|
102
|
+
))}
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
))}
|
|
106
|
+
</div>
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
function TaskCard({ item }: { item: DispatchEntry }) {
|
|
111
|
+
const agentColor = AGENT_COLORS[item.agent_id.toLowerCase()] || '#6B7280';
|
|
112
|
+
const offerName = item.offer.split('/').pop() || item.offer;
|
|
113
|
+
|
|
114
|
+
return (
|
|
115
|
+
<div className="p-2 rounded border border-[var(--hud-border)] bg-[var(--hud-surface)] hover:border-[var(--hud-text-dim)] transition-colors">
|
|
116
|
+
{/* Agent badge + offer */}
|
|
117
|
+
<div className="flex items-center justify-between mb-1">
|
|
118
|
+
<span
|
|
119
|
+
className="text-[9px] font-mono font-bold px-1.5 py-0.5 rounded text-black"
|
|
120
|
+
style={{ backgroundColor: agentColor }}
|
|
121
|
+
>
|
|
122
|
+
{item.agent_id}
|
|
123
|
+
</span>
|
|
124
|
+
<span className="text-[9px] font-mono text-[var(--hud-text-dim)]">
|
|
125
|
+
{offerName}
|
|
126
|
+
</span>
|
|
127
|
+
</div>
|
|
128
|
+
|
|
129
|
+
{/* Task summary */}
|
|
130
|
+
<p className="text-[10px] font-mono text-[var(--hud-text)] leading-snug line-clamp-2 mb-1">
|
|
131
|
+
{item.task_summary || 'No description'}
|
|
132
|
+
</p>
|
|
133
|
+
|
|
134
|
+
{/* Footer: timestamp + model */}
|
|
135
|
+
<div className="flex items-center justify-between">
|
|
136
|
+
{item.created_at && (
|
|
137
|
+
<span className="text-[8px] font-mono text-[var(--hud-text-dim)]">
|
|
138
|
+
{formatRelativeTime(new Date(item.created_at).getTime())}
|
|
139
|
+
</span>
|
|
140
|
+
)}
|
|
141
|
+
{item.model && (
|
|
142
|
+
<span className="text-[8px] font-mono px-1 py-0.5 rounded bg-[var(--hud-bg)] text-[var(--hud-text-dim)]">
|
|
143
|
+
{item.model}
|
|
144
|
+
</span>
|
|
145
|
+
)}
|
|
146
|
+
</div>
|
|
147
|
+
</div>
|
|
148
|
+
);
|
|
149
|
+
}
|