@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,119 @@
|
|
|
1
|
+
import { create } from 'zustand';
|
|
2
|
+
|
|
3
|
+
const API_BASE = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:4001';
|
|
4
|
+
|
|
5
|
+
export interface OfferDeliverables {
|
|
6
|
+
vsl: number;
|
|
7
|
+
lp: number;
|
|
8
|
+
criativos: number;
|
|
9
|
+
emails: number;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface OfferStatus {
|
|
13
|
+
name: string;
|
|
14
|
+
nicho: string;
|
|
15
|
+
status?: 'active' | 'standby' | 'archived';
|
|
16
|
+
phase: string;
|
|
17
|
+
mecanismo_state: string;
|
|
18
|
+
production_count: number;
|
|
19
|
+
deliverables?: OfferDeliverables;
|
|
20
|
+
active_agent?: string | null;
|
|
21
|
+
last_activity?: number;
|
|
22
|
+
avg_quality: number;
|
|
23
|
+
rmbc?: { digerivel?: number; unico?: number; provavel?: number; conectado?: number };
|
|
24
|
+
blind_critic_score?: number;
|
|
25
|
+
est_score?: number;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// External listener pattern — notify without React re-render (AIOS pattern)
|
|
29
|
+
type OfferChangeListener = (offer: string, phase: string) => void;
|
|
30
|
+
const offerChangeListeners = new Set<OfferChangeListener>();
|
|
31
|
+
|
|
32
|
+
export const onOfferChange = (fn: OfferChangeListener) => {
|
|
33
|
+
offerChangeListeners.add(fn);
|
|
34
|
+
return () => { offerChangeListeners.delete(fn); };
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
// Race condition guard for concurrent operations
|
|
38
|
+
const operationsInProgress = new Set<string>();
|
|
39
|
+
|
|
40
|
+
interface OfferState {
|
|
41
|
+
offers: OfferStatus[];
|
|
42
|
+
selectedOffer: string | null;
|
|
43
|
+
loading: boolean;
|
|
44
|
+
moveError: string | null;
|
|
45
|
+
setOffers: (offers: OfferStatus[]) => void;
|
|
46
|
+
selectOffer: (offer: string | null) => void;
|
|
47
|
+
setLoading: (loading: boolean) => void;
|
|
48
|
+
moveOffer: (offerId: string, newPhase: string) => Promise<{ ok: boolean; error?: string }>;
|
|
49
|
+
refreshOffer: (offer: string) => void;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export const useOfferStore = create<OfferState>((set, get) => ({
|
|
53
|
+
offers: [],
|
|
54
|
+
selectedOffer: null,
|
|
55
|
+
loading: false,
|
|
56
|
+
moveError: null,
|
|
57
|
+
|
|
58
|
+
setOffers: (offers) => {
|
|
59
|
+
const prev = get().offers;
|
|
60
|
+
set({ offers, loading: false });
|
|
61
|
+
// Notify external listeners on phase changes
|
|
62
|
+
for (const offer of offers) {
|
|
63
|
+
const key = `${offer.nicho}/${offer.name}`;
|
|
64
|
+
const prevOffer = prev.find((o) => `${o.nicho}/${o.name}` === key);
|
|
65
|
+
if (prevOffer && prevOffer.phase !== offer.phase) {
|
|
66
|
+
offerChangeListeners.forEach((fn) => fn(key, offer.phase));
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
|
|
71
|
+
selectOffer: (offer) => set({ selectedOffer: offer }),
|
|
72
|
+
setLoading: (loading) => set({ loading }),
|
|
73
|
+
|
|
74
|
+
moveOffer: async (offerId, newPhase) => {
|
|
75
|
+
// Race guard — prevent concurrent moves on same offer
|
|
76
|
+
if (operationsInProgress.has(offerId)) {
|
|
77
|
+
return { ok: false, error: 'Move already in progress' };
|
|
78
|
+
}
|
|
79
|
+
operationsInProgress.add(offerId);
|
|
80
|
+
set({ moveError: null });
|
|
81
|
+
|
|
82
|
+
// Optimistic update — move immediately in UI
|
|
83
|
+
const prevOffers = get().offers;
|
|
84
|
+
set({
|
|
85
|
+
offers: prevOffers.map((o) =>
|
|
86
|
+
`${o.nicho}/${o.name}` === offerId ? { ...o, phase: newPhase } : o
|
|
87
|
+
),
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
try {
|
|
91
|
+
const res = await fetch(`${API_BASE}/offers/move`, {
|
|
92
|
+
method: 'POST',
|
|
93
|
+
headers: { 'Content-Type': 'application/json' },
|
|
94
|
+
body: JSON.stringify({ offer: offerId, newPhase }),
|
|
95
|
+
});
|
|
96
|
+
const result = await res.json();
|
|
97
|
+
if (!result.ok) {
|
|
98
|
+
// Snap-back on failure
|
|
99
|
+
set({ offers: prevOffers, moveError: result.error || 'Move failed' });
|
|
100
|
+
return { ok: false, error: result.error };
|
|
101
|
+
}
|
|
102
|
+
// Notify external listeners
|
|
103
|
+
offerChangeListeners.forEach((fn) => fn(offerId, newPhase));
|
|
104
|
+
return { ok: true };
|
|
105
|
+
} catch (err) {
|
|
106
|
+
// Snap-back on network error
|
|
107
|
+
const msg = err instanceof Error ? err.message : 'Network error';
|
|
108
|
+
set({ offers: prevOffers, moveError: msg });
|
|
109
|
+
return { ok: false, error: msg };
|
|
110
|
+
} finally {
|
|
111
|
+
operationsInProgress.delete(offerId);
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
|
|
115
|
+
refreshOffer: (_offer: string) => {
|
|
116
|
+
// SSE will auto-refresh — this is a manual trigger for cross-store sync
|
|
117
|
+
// No-op when SSE is active; used by clickup-store after sync execution
|
|
118
|
+
},
|
|
119
|
+
}));
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { create } from 'zustand';
|
|
2
|
+
import { persist } from 'zustand/middleware';
|
|
3
|
+
|
|
4
|
+
interface SettingsState {
|
|
5
|
+
theme: 'dark' | 'light' | 'system';
|
|
6
|
+
autoRefresh: boolean;
|
|
7
|
+
refreshInterval: number;
|
|
8
|
+
showStandbyOffers: boolean;
|
|
9
|
+
setTheme: (theme: 'dark' | 'light' | 'system') => void;
|
|
10
|
+
setAutoRefresh: (enabled: boolean) => void;
|
|
11
|
+
setRefreshInterval: (ms: number) => void;
|
|
12
|
+
setShowStandbyOffers: (show: boolean) => void;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const useSettingsStore = create<SettingsState>()(
|
|
16
|
+
persist(
|
|
17
|
+
(set) => ({
|
|
18
|
+
theme: 'dark',
|
|
19
|
+
autoRefresh: true,
|
|
20
|
+
refreshInterval: 30_000,
|
|
21
|
+
showStandbyOffers: false,
|
|
22
|
+
setTheme: (theme) => set({ theme }),
|
|
23
|
+
setAutoRefresh: (autoRefresh) => set({ autoRefresh }),
|
|
24
|
+
setRefreshInterval: (refreshInterval) => set({ refreshInterval }),
|
|
25
|
+
setShowStandbyOffers: (showStandbyOffers) => set({ showStandbyOffers }),
|
|
26
|
+
}),
|
|
27
|
+
{ name: 'copy-chief-settings' }
|
|
28
|
+
)
|
|
29
|
+
);
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { create } from 'zustand';
|
|
2
|
+
|
|
3
|
+
export interface TerminalLine {
|
|
4
|
+
timestamp: number;
|
|
5
|
+
session_id: string;
|
|
6
|
+
tool_name: string;
|
|
7
|
+
text: string;
|
|
8
|
+
is_error: boolean;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
interface TerminalState {
|
|
12
|
+
lines: Map<string, TerminalLine[]>;
|
|
13
|
+
activeSession: string | null;
|
|
14
|
+
viewMode: 'grid' | 'single';
|
|
15
|
+
addLine: (sessionId: string, line: TerminalLine) => void;
|
|
16
|
+
setActiveSession: (sessionId: string | null) => void;
|
|
17
|
+
setViewMode: (mode: 'grid' | 'single') => void;
|
|
18
|
+
clearSession: (sessionId: string) => void;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
const MAX_LINES = 200;
|
|
22
|
+
|
|
23
|
+
export const useTerminalStore = create<TerminalState>((set, get) => ({
|
|
24
|
+
lines: new Map(),
|
|
25
|
+
activeSession: null,
|
|
26
|
+
viewMode: 'grid',
|
|
27
|
+
|
|
28
|
+
addLine: (sessionId, line) => {
|
|
29
|
+
const lines = new Map(get().lines);
|
|
30
|
+
const existing = lines.get(sessionId) || [];
|
|
31
|
+
const updated = [...existing, line].slice(-MAX_LINES);
|
|
32
|
+
lines.set(sessionId, updated);
|
|
33
|
+
set({ lines });
|
|
34
|
+
},
|
|
35
|
+
|
|
36
|
+
setActiveSession: (activeSession) => set({ activeSession }),
|
|
37
|
+
setViewMode: (viewMode) => set({ viewMode }),
|
|
38
|
+
|
|
39
|
+
clearSession: (sessionId) => {
|
|
40
|
+
const lines = new Map(get().lines);
|
|
41
|
+
lines.delete(sessionId);
|
|
42
|
+
set({ lines });
|
|
43
|
+
},
|
|
44
|
+
}));
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { create } from 'zustand';
|
|
2
|
+
import { persist } from 'zustand/middleware';
|
|
3
|
+
|
|
4
|
+
interface UIState {
|
|
5
|
+
sidebarCollapsed: boolean;
|
|
6
|
+
activeView: string;
|
|
7
|
+
toggleSidebar: () => void;
|
|
8
|
+
setActiveView: (view: string) => void;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const useUIStore = create<UIState>()(
|
|
12
|
+
persist(
|
|
13
|
+
(set) => ({
|
|
14
|
+
sidebarCollapsed: false,
|
|
15
|
+
activeView: 'monitor',
|
|
16
|
+
toggleSidebar: () => set((s) => ({ sidebarCollapsed: !s.sidebarCollapsed })),
|
|
17
|
+
setActiveView: (view) => set({ activeView: view }),
|
|
18
|
+
}),
|
|
19
|
+
{ name: 'copy-chief-ui' }
|
|
20
|
+
)
|
|
21
|
+
);
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { create } from 'zustand';
|
|
2
|
+
import type { AgentStatus } from '@/stores/agent-store';
|
|
3
|
+
import type { DispatchEntry, WorkflowStep } from '@/stores/dispatch-store';
|
|
4
|
+
import type { MonitorEvent } from '@/stores/monitor-store';
|
|
5
|
+
|
|
6
|
+
interface WarRoomFilters {
|
|
7
|
+
agentFilter: string | null;
|
|
8
|
+
offerFilter: string | null;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
interface WarRoomState {
|
|
12
|
+
agents: AgentStatus[];
|
|
13
|
+
dispatchEntries: DispatchEntry[];
|
|
14
|
+
workflowSteps: WorkflowStep[];
|
|
15
|
+
activityFeed: MonitorEvent[];
|
|
16
|
+
filters: WarRoomFilters;
|
|
17
|
+
setAgents: (agents: AgentStatus[]) => void;
|
|
18
|
+
setDispatchEntries: (entries: DispatchEntry[]) => void;
|
|
19
|
+
setWorkflowSteps: (steps: WorkflowStep[]) => void;
|
|
20
|
+
setActivityFeed: (events: MonitorEvent[]) => void;
|
|
21
|
+
setAgentFilter: (agent: string | null) => void;
|
|
22
|
+
setOfferFilter: (offer: string | null) => void;
|
|
23
|
+
clearFilters: () => void;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export const useWarRoomStore = create<WarRoomState>((set) => ({
|
|
27
|
+
agents: [],
|
|
28
|
+
dispatchEntries: [],
|
|
29
|
+
workflowSteps: [],
|
|
30
|
+
activityFeed: [],
|
|
31
|
+
filters: { agentFilter: null, offerFilter: null },
|
|
32
|
+
setAgents: (agents) => set({ agents }),
|
|
33
|
+
setDispatchEntries: (dispatchEntries) => set({ dispatchEntries }),
|
|
34
|
+
setWorkflowSteps: (workflowSteps) => set({ workflowSteps }),
|
|
35
|
+
setActivityFeed: (activityFeed) => set({ activityFeed }),
|
|
36
|
+
setAgentFilter: (agent) => set((s) => ({ filters: { ...s.filters, agentFilter: agent } })),
|
|
37
|
+
setOfferFilter: (offer) => set((s) => ({ filters: { ...s.filters, offerFilter: offer } })),
|
|
38
|
+
clearFilters: () => set({ filters: { agentFilter: null, offerFilter: null } }),
|
|
39
|
+
}));
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2022",
|
|
4
|
+
"lib": [
|
|
5
|
+
"dom",
|
|
6
|
+
"dom.iterable",
|
|
7
|
+
"esnext"
|
|
8
|
+
],
|
|
9
|
+
"allowJs": true,
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"strict": true,
|
|
12
|
+
"noEmit": true,
|
|
13
|
+
"esModuleInterop": true,
|
|
14
|
+
"module": "esnext",
|
|
15
|
+
"moduleResolution": "bundler",
|
|
16
|
+
"resolveJsonModule": true,
|
|
17
|
+
"isolatedModules": true,
|
|
18
|
+
"jsx": "preserve",
|
|
19
|
+
"incremental": true,
|
|
20
|
+
"plugins": [
|
|
21
|
+
{
|
|
22
|
+
"name": "next"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"paths": {
|
|
26
|
+
"@/*": [
|
|
27
|
+
"./src/*"
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"include": [
|
|
32
|
+
"**/*.ts",
|
|
33
|
+
"**/*.tsx",
|
|
34
|
+
".next/types/**/*.ts",
|
|
35
|
+
"next-env.d.ts",
|
|
36
|
+
"out/types/**/*.ts"
|
|
37
|
+
],
|
|
38
|
+
"exclude": [
|
|
39
|
+
"node_modules"
|
|
40
|
+
]
|
|
41
|
+
}
|