@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,329 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { useState } from 'react';
|
|
4
|
+
import useSWR from 'swr';
|
|
5
|
+
import { apiFetch, formatRelativeTime, cn } from '@/lib/utils';
|
|
6
|
+
|
|
7
|
+
const API_BASE = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:4001';
|
|
8
|
+
import { useOfferStore } from '@/stores/offer-store';
|
|
9
|
+
import { useOffers } from '@/hooks/use-offers';
|
|
10
|
+
import { Badge } from '@/components/ui/badge';
|
|
11
|
+
import { ProgressBar } from '@/components/ui/progress-bar';
|
|
12
|
+
import { ScoreBadge } from '@/components/ui/score-badge';
|
|
13
|
+
import { PipelineStagePills } from '@/components/pipeline/PipelineStagePills';
|
|
14
|
+
import { ErrorBoundary } from '@/components/ui/error-boundary';
|
|
15
|
+
import { getNichoColor } from '@/lib/nicho-colors';
|
|
16
|
+
|
|
17
|
+
interface PipelineState {
|
|
18
|
+
offer: string;
|
|
19
|
+
pipeline: {
|
|
20
|
+
status: string;
|
|
21
|
+
mode: string;
|
|
22
|
+
started_at: string;
|
|
23
|
+
current_step: number;
|
|
24
|
+
total_steps: number;
|
|
25
|
+
current_deliverable: string;
|
|
26
|
+
iteration: number;
|
|
27
|
+
max_iterations: number;
|
|
28
|
+
last_score: number;
|
|
29
|
+
paused_at?: string;
|
|
30
|
+
crashed_at?: string;
|
|
31
|
+
completed_at?: string;
|
|
32
|
+
// Bob orchestrator format fields
|
|
33
|
+
current_phase?: string;
|
|
34
|
+
steps_completed?: Array<{ id: string; phase: string; description: string; result: string }>;
|
|
35
|
+
steps_remaining?: string[];
|
|
36
|
+
overnight_mode?: boolean;
|
|
37
|
+
} | null;
|
|
38
|
+
handoffs: Array<{
|
|
39
|
+
deliverable: string;
|
|
40
|
+
status: string;
|
|
41
|
+
completed_tasks: number;
|
|
42
|
+
total_tasks: number;
|
|
43
|
+
current_task?: string;
|
|
44
|
+
}>;
|
|
45
|
+
loops: Array<{
|
|
46
|
+
file: string;
|
|
47
|
+
deliverable: string;
|
|
48
|
+
offer_path: string;
|
|
49
|
+
iteration: number;
|
|
50
|
+
max_iterations: number;
|
|
51
|
+
last_score: number;
|
|
52
|
+
status: string;
|
|
53
|
+
feedback_categories: string[];
|
|
54
|
+
}>;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
interface PipelineSummary {
|
|
58
|
+
offer: string;
|
|
59
|
+
status: string;
|
|
60
|
+
mode?: string;
|
|
61
|
+
current_deliverable?: string;
|
|
62
|
+
started_at?: string;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
const STATUS_COLORS: Record<string, string> = {
|
|
66
|
+
'IN_PROGRESS': 'text-[var(--hud-accent)]',
|
|
67
|
+
'COMPLETED': 'text-emerald-400',
|
|
68
|
+
'CRASHED': 'text-red-400',
|
|
69
|
+
'PAUSED': 'text-yellow-400',
|
|
70
|
+
'ABORTED': 'text-red-300',
|
|
71
|
+
'STALE': 'text-orange-400',
|
|
72
|
+
'IDLE': 'text-zinc-500',
|
|
73
|
+
'HUMAN_GATE': 'text-amber-400',
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
const STATUS_BADGE: Record<string, 'active' | 'passed' | 'failed' | 'info'> = {
|
|
77
|
+
'IN_PROGRESS': 'active',
|
|
78
|
+
'COMPLETED': 'passed',
|
|
79
|
+
'CRASHED': 'failed',
|
|
80
|
+
'PAUSED': 'info',
|
|
81
|
+
'ABORTED': 'failed',
|
|
82
|
+
'STALE': 'info',
|
|
83
|
+
'HUMAN_GATE': 'info',
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
export default function PipelinePage() {
|
|
87
|
+
const { offers } = useOffers();
|
|
88
|
+
const { selectedOffer, selectOffer } = useOfferStore();
|
|
89
|
+
|
|
90
|
+
const { data: pipelines = [] } = useSWR<PipelineSummary[]>(
|
|
91
|
+
'/pipelines',
|
|
92
|
+
apiFetch,
|
|
93
|
+
{ refreshInterval: 10_000 }
|
|
94
|
+
);
|
|
95
|
+
|
|
96
|
+
const { data: detail, mutate: refreshDetail } = useSWR<PipelineState>(
|
|
97
|
+
selectedOffer ? `/pipeline/${selectedOffer}` : null,
|
|
98
|
+
apiFetch,
|
|
99
|
+
{ refreshInterval: 5_000 }
|
|
100
|
+
);
|
|
101
|
+
|
|
102
|
+
const sendCommand = async (command: 'pause' | 'resume' | 'abort') => {
|
|
103
|
+
if (!selectedOffer) return;
|
|
104
|
+
try {
|
|
105
|
+
const res = await fetch(`${API_BASE}/pipeline/command`, {
|
|
106
|
+
method: 'POST',
|
|
107
|
+
headers: { 'Content-Type': 'application/json' },
|
|
108
|
+
body: JSON.stringify({ offer: selectedOffer, command }),
|
|
109
|
+
});
|
|
110
|
+
if (!res.ok) {
|
|
111
|
+
console.error(`Pipeline command failed: ${res.status}`);
|
|
112
|
+
}
|
|
113
|
+
refreshDetail();
|
|
114
|
+
} catch (err) {
|
|
115
|
+
console.error('Pipeline command error:', err);
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
return (
|
|
120
|
+
<div className="space-y-6">
|
|
121
|
+
<div className="flex items-center justify-between">
|
|
122
|
+
<h1 className="text-lg font-mono text-[var(--hud-text)]">Pipeline Monitor</h1>
|
|
123
|
+
<select
|
|
124
|
+
value={selectedOffer || ''}
|
|
125
|
+
onChange={(e) => selectOffer(e.target.value || null)}
|
|
126
|
+
className="text-xs font-mono bg-[var(--hud-surface)] border border-[var(--hud-border)] text-[var(--hud-text)] rounded px-2 py-1"
|
|
127
|
+
>
|
|
128
|
+
<option value="">Select offer...</option>
|
|
129
|
+
{offers.map((o) => (
|
|
130
|
+
<option key={`${o.nicho}/${o.name}`} value={`${o.nicho}/${o.name}`}>{o.nicho}/{o.name}</option>
|
|
131
|
+
))}
|
|
132
|
+
</select>
|
|
133
|
+
</div>
|
|
134
|
+
|
|
135
|
+
{/* Active Pipelines Summary */}
|
|
136
|
+
<ErrorBoundary section="Pipelines">
|
|
137
|
+
{pipelines.length > 0 && (
|
|
138
|
+
<div>
|
|
139
|
+
<h2 className="text-sm font-mono text-[var(--hud-text)] mb-2">Active Pipelines</h2>
|
|
140
|
+
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3">
|
|
141
|
+
{pipelines.map((p) => (
|
|
142
|
+
<button
|
|
143
|
+
key={p.offer}
|
|
144
|
+
onClick={() => selectOffer(p.offer)}
|
|
145
|
+
className={cn(
|
|
146
|
+
'border rounded p-3 text-left transition-colors',
|
|
147
|
+
'border-[var(--hud-border)] bg-[var(--hud-surface)] hover:border-[var(--hud-accent)]'
|
|
148
|
+
)}
|
|
149
|
+
>
|
|
150
|
+
<div className="flex items-center justify-between mb-1">
|
|
151
|
+
<span className="text-xs font-mono text-[var(--hud-text)]">
|
|
152
|
+
{(() => {
|
|
153
|
+
const nicho = p.offer.split('/')[0];
|
|
154
|
+
const nc = getNichoColor(nicho);
|
|
155
|
+
return <span className={nc.text}>{p.offer}</span>;
|
|
156
|
+
})()}
|
|
157
|
+
</span>
|
|
158
|
+
<Badge variant={STATUS_BADGE[p.status] || 'info'}>{p.status}</Badge>
|
|
159
|
+
</div>
|
|
160
|
+
{p.current_deliverable && (
|
|
161
|
+
<p className="text-[10px] font-mono text-[var(--hud-text-dim)]">
|
|
162
|
+
{p.current_deliverable} ({p.mode || 'interactive'})
|
|
163
|
+
</p>
|
|
164
|
+
)}
|
|
165
|
+
</button>
|
|
166
|
+
))}
|
|
167
|
+
</div>
|
|
168
|
+
</div>
|
|
169
|
+
)}
|
|
170
|
+
|
|
171
|
+
</ErrorBoundary>
|
|
172
|
+
|
|
173
|
+
{/* Offer Detail */}
|
|
174
|
+
<ErrorBoundary section="Pipeline Detail">
|
|
175
|
+
{!selectedOffer ? (
|
|
176
|
+
<div className="flex flex-col items-center justify-center py-16 text-[var(--hud-text-dim)]">
|
|
177
|
+
<p className="text-sm font-mono">Select an offer to monitor its pipeline</p>
|
|
178
|
+
{pipelines.length === 0 && (
|
|
179
|
+
<p className="text-xs opacity-50 mt-2">No active pipelines. Start one with /pipeline [offer]</p>
|
|
180
|
+
)}
|
|
181
|
+
</div>
|
|
182
|
+
) : !detail ? (
|
|
183
|
+
<p className="text-xs font-mono text-[var(--hud-text-dim)] animate-pulse">Loading pipeline state...</p>
|
|
184
|
+
) : (
|
|
185
|
+
<div className="space-y-4">
|
|
186
|
+
{/* Pipeline State */}
|
|
187
|
+
{detail.pipeline ? (
|
|
188
|
+
<div className="border border-[var(--hud-border)] rounded p-4 bg-[var(--hud-surface)]">
|
|
189
|
+
<div className="flex items-center justify-between mb-3">
|
|
190
|
+
<div className="flex items-center gap-2">
|
|
191
|
+
<span className={cn('text-sm font-mono font-bold', STATUS_COLORS[detail.pipeline.status] || '')}>
|
|
192
|
+
{detail.pipeline.status}
|
|
193
|
+
</span>
|
|
194
|
+
<Badge variant="info">{detail.pipeline.mode}</Badge>
|
|
195
|
+
</div>
|
|
196
|
+
<div className="flex gap-1">
|
|
197
|
+
{detail.pipeline.status === 'IN_PROGRESS' && (
|
|
198
|
+
<button
|
|
199
|
+
onClick={() => sendCommand('pause')}
|
|
200
|
+
className="text-[10px] font-mono px-2 py-1 rounded border border-yellow-500/30 text-yellow-400 hover:bg-yellow-500/10"
|
|
201
|
+
>
|
|
202
|
+
Pause
|
|
203
|
+
</button>
|
|
204
|
+
)}
|
|
205
|
+
{detail.pipeline.status === 'PAUSED' && (
|
|
206
|
+
<button
|
|
207
|
+
onClick={() => sendCommand('resume')}
|
|
208
|
+
className="text-[10px] font-mono px-2 py-1 rounded border border-[var(--hud-border)] text-[var(--hud-accent)] hover:bg-[var(--hud-accent-bg)]"
|
|
209
|
+
>
|
|
210
|
+
Resume
|
|
211
|
+
</button>
|
|
212
|
+
)}
|
|
213
|
+
{['IN_PROGRESS', 'PAUSED'].includes(detail.pipeline.status) && (
|
|
214
|
+
<button
|
|
215
|
+
onClick={() => sendCommand('abort')}
|
|
216
|
+
className="text-[10px] font-mono px-2 py-1 rounded border border-red-500/30 text-red-400 hover:bg-red-500/10"
|
|
217
|
+
>
|
|
218
|
+
Abort
|
|
219
|
+
</button>
|
|
220
|
+
)}
|
|
221
|
+
</div>
|
|
222
|
+
</div>
|
|
223
|
+
|
|
224
|
+
<ProgressBar
|
|
225
|
+
value={Math.round((detail.pipeline.current_step / detail.pipeline.total_steps) * 100)}
|
|
226
|
+
className="mb-2"
|
|
227
|
+
/>
|
|
228
|
+
|
|
229
|
+
<div className="grid grid-cols-2 sm:grid-cols-4 gap-3 text-[10px] font-mono">
|
|
230
|
+
<div>
|
|
231
|
+
<p className="text-[var(--hud-text-dim)]">Step</p>
|
|
232
|
+
<p className="text-[var(--hud-text)]">{detail.pipeline.current_step}/{detail.pipeline.total_steps}</p>
|
|
233
|
+
</div>
|
|
234
|
+
<div>
|
|
235
|
+
<p className="text-[var(--hud-text-dim)]">Deliverable</p>
|
|
236
|
+
<p className="text-[var(--hud-text)]">{detail.pipeline.current_deliverable}</p>
|
|
237
|
+
</div>
|
|
238
|
+
<div>
|
|
239
|
+
<p className="text-[var(--hud-text-dim)]">Iteration</p>
|
|
240
|
+
<p className="text-[var(--hud-text)]">{detail.pipeline.iteration}/{detail.pipeline.max_iterations}</p>
|
|
241
|
+
</div>
|
|
242
|
+
<div>
|
|
243
|
+
<p className="text-[var(--hud-text-dim)]">Last Score</p>
|
|
244
|
+
<p className={cn((detail.pipeline.last_score || 0) >= 8 ? 'text-emerald-400' : 'text-yellow-400')}>
|
|
245
|
+
{(detail.pipeline.last_score || 0).toFixed(1)}
|
|
246
|
+
</p>
|
|
247
|
+
</div>
|
|
248
|
+
</div>
|
|
249
|
+
|
|
250
|
+
{/* Pipeline Stage Pills (Bob Orchestrator) */}
|
|
251
|
+
{(detail.pipeline.steps_completed?.length || detail.pipeline.steps_remaining?.length) ? (
|
|
252
|
+
<div className="mt-3 border-t border-[var(--hud-border)] pt-3">
|
|
253
|
+
<PipelineStagePills
|
|
254
|
+
stepsCompleted={detail.pipeline.steps_completed || []}
|
|
255
|
+
stepsRemaining={detail.pipeline.steps_remaining || []}
|
|
256
|
+
currentPhase={detail.pipeline.current_phase}
|
|
257
|
+
/>
|
|
258
|
+
</div>
|
|
259
|
+
) : null}
|
|
260
|
+
</div>
|
|
261
|
+
) : (
|
|
262
|
+
<div className="border border-[var(--hud-border)] rounded p-4 bg-[var(--hud-surface)]">
|
|
263
|
+
<p className="text-xs font-mono text-[var(--hud-text-dim)]">
|
|
264
|
+
No pipeline state for this offer. Start with: /pipeline {selectedOffer}
|
|
265
|
+
</p>
|
|
266
|
+
</div>
|
|
267
|
+
)}
|
|
268
|
+
|
|
269
|
+
{/* Handoff Tasks */}
|
|
270
|
+
{detail.handoffs.length > 0 && (
|
|
271
|
+
<div>
|
|
272
|
+
<h2 className="text-sm font-mono text-[var(--hud-text)] mb-2">Handoff Tasks</h2>
|
|
273
|
+
<div className="space-y-2">
|
|
274
|
+
{detail.handoffs.map((h) => (
|
|
275
|
+
<div
|
|
276
|
+
key={h.deliverable}
|
|
277
|
+
className="border border-[var(--hud-border)] rounded p-3 bg-[var(--hud-surface)]"
|
|
278
|
+
>
|
|
279
|
+
<div className="flex items-center justify-between mb-1">
|
|
280
|
+
<span className="text-xs font-mono text-[var(--hud-text)]">{h.deliverable}</span>
|
|
281
|
+
<Badge variant={h.status === 'completed' ? 'passed' : 'active'}>{h.status}</Badge>
|
|
282
|
+
</div>
|
|
283
|
+
<ProgressBar
|
|
284
|
+
value={h.total_tasks > 0 ? Math.round((h.completed_tasks / h.total_tasks) * 100) : 0}
|
|
285
|
+
/>
|
|
286
|
+
<p className="text-[10px] font-mono text-[var(--hud-text-dim)] mt-1">
|
|
287
|
+
{h.completed_tasks}/{h.total_tasks} tasks
|
|
288
|
+
{h.current_task ? ` — Current: ${h.current_task}` : ''}
|
|
289
|
+
</p>
|
|
290
|
+
</div>
|
|
291
|
+
))}
|
|
292
|
+
</div>
|
|
293
|
+
</div>
|
|
294
|
+
)}
|
|
295
|
+
|
|
296
|
+
{/* Production Loops */}
|
|
297
|
+
{detail.loops.length > 0 && (
|
|
298
|
+
<div>
|
|
299
|
+
<h2 className="text-sm font-mono text-[var(--hud-text)] mb-2">Auto-Corrective Loops</h2>
|
|
300
|
+
<div className="space-y-2">
|
|
301
|
+
{detail.loops.map((l, i) => (
|
|
302
|
+
<div
|
|
303
|
+
key={i}
|
|
304
|
+
className="border border-[var(--hud-border)] rounded p-3 bg-[var(--hud-surface)]"
|
|
305
|
+
>
|
|
306
|
+
<div className="flex items-center justify-between mb-1">
|
|
307
|
+
<span className="text-xs font-mono text-[var(--hud-text)]">{l.deliverable}</span>
|
|
308
|
+
<div className="flex items-center gap-2">
|
|
309
|
+
<ScoreBadge score={l.last_score} />
|
|
310
|
+
<Badge variant={l.status === 'approved' ? 'passed' : l.status === 'escalated' ? 'failed' : 'active'}>
|
|
311
|
+
{l.status}
|
|
312
|
+
</Badge>
|
|
313
|
+
</div>
|
|
314
|
+
</div>
|
|
315
|
+
<p className="text-[10px] font-mono text-[var(--hud-text-dim)]">
|
|
316
|
+
Iteration {l.iteration}/{l.max_iterations}
|
|
317
|
+
{l.feedback_categories?.length > 0 && ` — Issues: ${l.feedback_categories.join(', ')}`}
|
|
318
|
+
</p>
|
|
319
|
+
</div>
|
|
320
|
+
))}
|
|
321
|
+
</div>
|
|
322
|
+
</div>
|
|
323
|
+
)}
|
|
324
|
+
</div>
|
|
325
|
+
)}
|
|
326
|
+
</ErrorBoundary>
|
|
327
|
+
</div>
|
|
328
|
+
);
|
|
329
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { useMemo } from 'react';
|
|
4
|
+
import { useOfferStore } from '@/stores/offer-store';
|
|
5
|
+
import { Badge } from '@/components/ui/badge';
|
|
6
|
+
import { ScoreBadge } from '@/components/ui/score-badge';
|
|
7
|
+
import { ErrorBoundary } from '@/components/ui/error-boundary';
|
|
8
|
+
|
|
9
|
+
type Priority = 'must' | 'should' | 'could' | 'wont';
|
|
10
|
+
|
|
11
|
+
const PRIORITY_LABELS: Record<Priority, string> = {
|
|
12
|
+
must: 'Must Have',
|
|
13
|
+
should: 'Should Have',
|
|
14
|
+
could: 'Could Have',
|
|
15
|
+
wont: "Won't Have",
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
const PRIORITY_COLORS: Record<Priority, string> = {
|
|
19
|
+
must: 'border-red-500/30 bg-red-500/5',
|
|
20
|
+
should: 'border-yellow-500/30 bg-yellow-500/5',
|
|
21
|
+
could: 'border-blue-500/30 bg-blue-500/5',
|
|
22
|
+
wont: 'border-[var(--hud-border)] bg-[var(--hud-surface)] opacity-50',
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
function classifyPriority(offer: { status?: string; phase: string; mecanismo_state: string }): Priority {
|
|
26
|
+
if (offer.status === 'standby' || offer.status === 'archived') return 'wont';
|
|
27
|
+
if (offer.mecanismo_state === 'APPROVED' || offer.mecanismo_state === 'VALIDATED') return 'must';
|
|
28
|
+
if (offer.phase === 'research' || offer.phase === 'briefing') return 'should';
|
|
29
|
+
return 'could';
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export default function RoadmapPage() {
|
|
33
|
+
const offers = useOfferStore((s) => s.offers);
|
|
34
|
+
|
|
35
|
+
const grouped = useMemo(() => {
|
|
36
|
+
const groups: Record<Priority, typeof offers> = { must: [], should: [], could: [], wont: [] };
|
|
37
|
+
for (const o of offers) {
|
|
38
|
+
const priority = classifyPriority(o);
|
|
39
|
+
groups[priority].push(o);
|
|
40
|
+
}
|
|
41
|
+
return groups;
|
|
42
|
+
}, [offers]);
|
|
43
|
+
|
|
44
|
+
return (
|
|
45
|
+
<div className="space-y-6">
|
|
46
|
+
<h1 className="text-lg font-mono text-[var(--hud-text)]">Roadmap</h1>
|
|
47
|
+
|
|
48
|
+
<ErrorBoundary section="Roadmap">
|
|
49
|
+
<div className="space-y-4">
|
|
50
|
+
{(Object.keys(PRIORITY_LABELS) as Priority[]).map(priority => {
|
|
51
|
+
const items = grouped[priority];
|
|
52
|
+
if (items.length === 0) return null;
|
|
53
|
+
return (
|
|
54
|
+
<div key={priority}>
|
|
55
|
+
<h2 className="text-xs font-mono text-[var(--hud-text-dim)] uppercase tracking-wider mb-2">
|
|
56
|
+
{PRIORITY_LABELS[priority]} ({items.length})
|
|
57
|
+
</h2>
|
|
58
|
+
<div className="space-y-2">
|
|
59
|
+
{items.map(o => (
|
|
60
|
+
<div
|
|
61
|
+
key={`${o.nicho}/${o.name}`}
|
|
62
|
+
className={`border rounded p-3 ${PRIORITY_COLORS[priority]}`}
|
|
63
|
+
>
|
|
64
|
+
<div className="flex items-center justify-between mb-1">
|
|
65
|
+
<div className="flex items-center gap-2">
|
|
66
|
+
<span className="text-sm font-mono text-[var(--hud-text)]">{o.name}</span>
|
|
67
|
+
<Badge variant="default">{o.nicho}</Badge>
|
|
68
|
+
</div>
|
|
69
|
+
{o.avg_quality > 0 && <ScoreBadge score={o.avg_quality} />}
|
|
70
|
+
</div>
|
|
71
|
+
<div className="flex items-center gap-3 text-[10px] font-mono text-[var(--hud-text-dim)]">
|
|
72
|
+
<span>Phase: {o.phase}</span>
|
|
73
|
+
<span>Mec: {o.mecanismo_state}</span>
|
|
74
|
+
{o.deliverables && (
|
|
75
|
+
<span>
|
|
76
|
+
VSL:{o.deliverables.vsl} LP:{o.deliverables.lp} Ads:{o.deliverables.criativos} Email:{o.deliverables.emails}
|
|
77
|
+
</span>
|
|
78
|
+
)}
|
|
79
|
+
</div>
|
|
80
|
+
</div>
|
|
81
|
+
))}
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
);
|
|
85
|
+
})}
|
|
86
|
+
</div>
|
|
87
|
+
</ErrorBoundary>
|
|
88
|
+
|
|
89
|
+
<p className="text-[10px] font-mono text-[var(--hud-text-dim)]">
|
|
90
|
+
{offers.length} offers — Priority based on phase + mecanismo state
|
|
91
|
+
</p>
|
|
92
|
+
</div>
|
|
93
|
+
);
|
|
94
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { useSettingsStore } from '@/stores/settings-store';
|
|
4
|
+
|
|
5
|
+
const INTERVALS = [
|
|
6
|
+
{ label: '5s', value: 5_000 },
|
|
7
|
+
{ label: '10s', value: 10_000 },
|
|
8
|
+
{ label: '30s', value: 30_000 },
|
|
9
|
+
{ label: '1m', value: 60_000 },
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
export default function SettingsPage() {
|
|
13
|
+
const {
|
|
14
|
+
theme, autoRefresh, refreshInterval, showStandbyOffers,
|
|
15
|
+
setTheme, setAutoRefresh, setRefreshInterval, setShowStandbyOffers,
|
|
16
|
+
} = useSettingsStore();
|
|
17
|
+
|
|
18
|
+
return (
|
|
19
|
+
<div className="space-y-6 max-w-lg">
|
|
20
|
+
<h1 className="text-lg font-mono text-[var(--hud-text)]">Settings</h1>
|
|
21
|
+
|
|
22
|
+
{/* Theme */}
|
|
23
|
+
<div className="space-y-2">
|
|
24
|
+
<label className="text-xs font-mono text-[var(--hud-text-dim)] uppercase tracking-wider">Theme</label>
|
|
25
|
+
<div className="flex gap-2">
|
|
26
|
+
{(['dark', 'light', 'system'] as const).map(t => (
|
|
27
|
+
<button
|
|
28
|
+
key={t}
|
|
29
|
+
onClick={() => setTheme(t)}
|
|
30
|
+
className={`text-xs font-mono px-3 py-1.5 rounded border transition-colors ${
|
|
31
|
+
theme === t
|
|
32
|
+
? 'border-[var(--hud-accent)] text-[var(--hud-accent)] bg-[var(--hud-accent)]/10'
|
|
33
|
+
: 'border-[var(--hud-border)] text-[var(--hud-text-dim)] hover:text-[var(--hud-text)]'
|
|
34
|
+
}`}
|
|
35
|
+
>
|
|
36
|
+
{t.charAt(0).toUpperCase() + t.slice(1)}
|
|
37
|
+
</button>
|
|
38
|
+
))}
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
|
|
42
|
+
{/* Auto Refresh */}
|
|
43
|
+
<div className="space-y-2">
|
|
44
|
+
<label className="text-xs font-mono text-[var(--hud-text-dim)] uppercase tracking-wider">Auto Refresh</label>
|
|
45
|
+
<div className="flex items-center gap-4">
|
|
46
|
+
<button
|
|
47
|
+
onClick={() => setAutoRefresh(!autoRefresh)}
|
|
48
|
+
className={`relative inline-flex h-5 w-9 items-center rounded-full transition-colors ${
|
|
49
|
+
autoRefresh ? 'bg-[var(--hud-accent)]' : 'bg-[var(--hud-border)]'
|
|
50
|
+
}`}
|
|
51
|
+
>
|
|
52
|
+
<span className={`inline-block h-3.5 w-3.5 transform rounded-full bg-white transition-transform ${
|
|
53
|
+
autoRefresh ? 'translate-x-4' : 'translate-x-1'
|
|
54
|
+
}`} />
|
|
55
|
+
</button>
|
|
56
|
+
<span className="text-xs font-mono text-[var(--hud-text)]">
|
|
57
|
+
{autoRefresh ? 'Enabled' : 'Disabled'}
|
|
58
|
+
</span>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
|
|
62
|
+
{/* Refresh Interval */}
|
|
63
|
+
{autoRefresh && (
|
|
64
|
+
<div className="space-y-2">
|
|
65
|
+
<label className="text-xs font-mono text-[var(--hud-text-dim)] uppercase tracking-wider">Refresh Interval</label>
|
|
66
|
+
<div className="flex gap-2">
|
|
67
|
+
{INTERVALS.map(({ label, value }) => (
|
|
68
|
+
<button
|
|
69
|
+
key={value}
|
|
70
|
+
onClick={() => setRefreshInterval(value)}
|
|
71
|
+
className={`text-xs font-mono px-3 py-1.5 rounded border transition-colors ${
|
|
72
|
+
refreshInterval === value
|
|
73
|
+
? 'border-[var(--hud-accent)] text-[var(--hud-accent)] bg-[var(--hud-accent)]/10'
|
|
74
|
+
: 'border-[var(--hud-border)] text-[var(--hud-text-dim)] hover:text-[var(--hud-text)]'
|
|
75
|
+
}`}
|
|
76
|
+
>
|
|
77
|
+
{label}
|
|
78
|
+
</button>
|
|
79
|
+
))}
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
)}
|
|
83
|
+
|
|
84
|
+
{/* Show Standby Offers */}
|
|
85
|
+
<div className="space-y-2">
|
|
86
|
+
<label className="text-xs font-mono text-[var(--hud-text-dim)] uppercase tracking-wider">Show Standby Offers</label>
|
|
87
|
+
<div className="flex items-center gap-4">
|
|
88
|
+
<button
|
|
89
|
+
onClick={() => setShowStandbyOffers(!showStandbyOffers)}
|
|
90
|
+
className={`relative inline-flex h-5 w-9 items-center rounded-full transition-colors ${
|
|
91
|
+
showStandbyOffers ? 'bg-[var(--hud-accent)]' : 'bg-[var(--hud-border)]'
|
|
92
|
+
}`}
|
|
93
|
+
>
|
|
94
|
+
<span className={`inline-block h-3.5 w-3.5 transform rounded-full bg-white transition-transform ${
|
|
95
|
+
showStandbyOffers ? 'translate-x-4' : 'translate-x-1'
|
|
96
|
+
}`} />
|
|
97
|
+
</button>
|
|
98
|
+
<span className="text-xs font-mono text-[var(--hud-text)]">
|
|
99
|
+
{showStandbyOffers ? 'Showing all' : 'Active only'}
|
|
100
|
+
</span>
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
|
|
104
|
+
{/* Info */}
|
|
105
|
+
<div className="border-t border-[var(--hud-border)] pt-4 space-y-1">
|
|
106
|
+
<p className="text-[10px] font-mono text-[var(--hud-text-dim)]">Dashboard Port: 4001</p>
|
|
107
|
+
<p className="text-[10px] font-mono text-[var(--hud-text-dim)]">Settings persisted in localStorage</p>
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
);
|
|
111
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { useState, useMemo } from 'react';
|
|
4
|
+
import useSWR from 'swr';
|
|
5
|
+
import { apiFetch } from '@/lib/utils';
|
|
6
|
+
import { SquadGrid } from '@/components/squad/SquadGrid';
|
|
7
|
+
import { ExpertDetail } from '@/components/squad/ExpertDetail';
|
|
8
|
+
import { ErrorBoundary } from '@/components/ui/error-boundary';
|
|
9
|
+
import { Search } from 'lucide-react';
|
|
10
|
+
|
|
11
|
+
interface Expert {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
tier: string;
|
|
15
|
+
specialties: string[];
|
|
16
|
+
style: string;
|
|
17
|
+
avg_quality: number;
|
|
18
|
+
reviews_count: number;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
const TIER_ORDER: Record<string, number> = { '**': 0, '*': 1, '': 2, 'unknown': 3 };
|
|
22
|
+
|
|
23
|
+
export default function SquadPage() {
|
|
24
|
+
const { data: experts = [], isLoading } = useSWR<Expert[]>('/squad', apiFetch, {
|
|
25
|
+
refreshInterval: 120_000,
|
|
26
|
+
});
|
|
27
|
+
const [search, setSearch] = useState('');
|
|
28
|
+
const [tierFilter, setTierFilter] = useState('all');
|
|
29
|
+
const [selectedExpert, setSelectedExpert] = useState<string | null>(null);
|
|
30
|
+
|
|
31
|
+
// Group by tier
|
|
32
|
+
const tiers = useMemo(() => {
|
|
33
|
+
const set = new Set(experts.map((e) => e.tier));
|
|
34
|
+
return ['all', ...Array.from(set).sort((a, b) => (TIER_ORDER[a] ?? 9) - (TIER_ORDER[b] ?? 9))];
|
|
35
|
+
}, [experts]);
|
|
36
|
+
|
|
37
|
+
const filtered = useMemo(() => {
|
|
38
|
+
return experts
|
|
39
|
+
.filter((e) => {
|
|
40
|
+
if (search && !e.name.toLowerCase().includes(search.toLowerCase()) &&
|
|
41
|
+
!e.specialties.some((s) => s.toLowerCase().includes(search.toLowerCase()))) return false;
|
|
42
|
+
if (tierFilter !== 'all' && e.tier !== tierFilter) return false;
|
|
43
|
+
return true;
|
|
44
|
+
})
|
|
45
|
+
.sort((a, b) => (TIER_ORDER[a.tier] ?? 9) - (TIER_ORDER[b.tier] ?? 9));
|
|
46
|
+
}, [experts, search, tierFilter]);
|
|
47
|
+
|
|
48
|
+
return (
|
|
49
|
+
<div className="space-y-4">
|
|
50
|
+
<h1 className="text-lg font-mono text-[var(--hud-text)]">Copy Squad</h1>
|
|
51
|
+
|
|
52
|
+
<div className="flex gap-2">
|
|
53
|
+
<div className="relative flex-1 max-w-xs">
|
|
54
|
+
<Search size={14} className="absolute left-2 top-1/2 -translate-y-1/2 text-[var(--hud-text-dim)]" />
|
|
55
|
+
<input
|
|
56
|
+
type="text"
|
|
57
|
+
placeholder="Search expert or specialty..."
|
|
58
|
+
value={search}
|
|
59
|
+
onChange={(e) => setSearch(e.target.value)}
|
|
60
|
+
className="w-full text-xs font-mono bg-[var(--hud-surface)] border border-[var(--hud-border)] text-[var(--hud-text)] rounded px-2 py-1.5 pl-7"
|
|
61
|
+
/>
|
|
62
|
+
</div>
|
|
63
|
+
<select
|
|
64
|
+
value={tierFilter}
|
|
65
|
+
onChange={(e) => setTierFilter(e.target.value)}
|
|
66
|
+
className="text-xs font-mono bg-[var(--hud-surface)] border border-[var(--hud-border)] text-[var(--hud-text)] rounded px-2 py-1"
|
|
67
|
+
>
|
|
68
|
+
{tiers.map((t) => (
|
|
69
|
+
<option key={t} value={t}>{t === 'all' ? 'All Tiers' : `Tier ${t}`}</option>
|
|
70
|
+
))}
|
|
71
|
+
</select>
|
|
72
|
+
</div>
|
|
73
|
+
|
|
74
|
+
{isLoading ? (
|
|
75
|
+
<p className="text-xs font-mono text-[var(--hud-text-dim)] animate-pulse">Loading experts...</p>
|
|
76
|
+
) : (
|
|
77
|
+
<ErrorBoundary section="Squad Grid">
|
|
78
|
+
<SquadGrid
|
|
79
|
+
experts={filtered}
|
|
80
|
+
onExpertClick={(id) => setSelectedExpert(selectedExpert === id ? null : id)}
|
|
81
|
+
selectedExpert={selectedExpert}
|
|
82
|
+
/>
|
|
83
|
+
</ErrorBoundary>
|
|
84
|
+
)}
|
|
85
|
+
|
|
86
|
+
{/* Expert Detail Inline */}
|
|
87
|
+
{selectedExpert && (
|
|
88
|
+
<ErrorBoundary section="Expert Detail">
|
|
89
|
+
<ExpertDetail
|
|
90
|
+
expertId={selectedExpert}
|
|
91
|
+
onClose={() => setSelectedExpert(null)}
|
|
92
|
+
/>
|
|
93
|
+
</ErrorBoundary>
|
|
94
|
+
)}
|
|
95
|
+
|
|
96
|
+
<p className="text-[10px] font-mono text-[var(--hud-text-dim)]">
|
|
97
|
+
{experts.length} experts loaded — Click card to expand details
|
|
98
|
+
</p>
|
|
99
|
+
</div>
|
|
100
|
+
);
|
|
101
|
+
}
|