
> cortex-frontend@0.1.0 build
> react-scripts build

Creating an optimized production build...
Browserslist: browsers data (caniuse-lite) is 7 months old. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: browsers data (caniuse-lite) is 7 months old. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Compiled with warnings.

[eslint] 
src/App.js
  Line 35:10:  'userId' is assigned a value but never used                                                                                        no-unused-vars
  Line 71:6:   React Hook useEffect has missing dependencies: 'currentPage' and 'pathToPage'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
  Line 132:6:  React Hook useEffect has a missing dependency: 'authenticatedPages'. Either include it or remove the dependency array              react-hooks/exhaustive-deps

src/features/agents/components/AgentDrillDown.js
  Line 135:8:  React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/features/agents/components/AgentHarnessPage.js
  Line 2:21:  'getAgentTelemetry' is defined but never used    no-unused-vars
  Line 3:10:  'AreaChart' is defined but never used            no-unused-vars
  Line 3:21:  'Area' is defined but never used                 no-unused-vars
  Line 3:27:  'XAxis' is defined but never used                no-unused-vars
  Line 3:34:  'YAxis' is defined but never used                no-unused-vars
  Line 3:41:  'Tooltip' is defined but never used              no-unused-vars
  Line 3:50:  'ResponsiveContainer' is defined but never used  no-unused-vars

src/features/chat/components/ChatWindow.js
  Line 43:18:  The ref value 'audioRef.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'audioRef.current' to a variable inside the effect, and use that variable in the cleanup function  react-hooks/exhaustive-deps

src/features/nodes/pages/NodesPage.js
  Line 12:12:  'groups' is assigned a value but never used  no-unused-vars

src/features/profile/pages/ProfilePage.js
  Line 18:12:   'providerStatuses' is assigned a value but never used               no-unused-vars
  Line 153:11:  'handleGeneralPreferenceUpdate' is assigned a value but never used  no-unused-vars

src/features/settings/components/cards/IdentityGovernanceCard.js
  Line 12:7:  'loadGroups' is assigned a value but never used  no-unused-vars

src/features/settings/components/cards/NetworkIdentityCard.js
  Line 11:7:  'fileInputRef' is assigned a value but never used  no-unused-vars

src/features/settings/pages/SettingsPage.js
  Line 113:8:  React Hook useEffect has a missing dependency: 'loadUserProfile'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/features/swarm/hooks/useSwarmControl.js
  Line 110:6:  React Hook useEffect has a missing dependency: 'onNewSessionCreated'. Either include it or remove the dependency array. If 'onNewSessionCreated' changes too often, find the parent component that defines it and wrap that definition in useCallback                                                            react-hooks/exhaustive-deps
  Line 194:6:  React Hook useCallback has missing dependencies: 'onNewSessionCreated' and 'userConfigData?.effective?.llm?.active_provider'. Either include them or remove the dependency array. If 'onNewSessionCreated' changes too often, find the parent component that defines it and wrap that definition in useCallback  react-hooks/exhaustive-deps

src/features/swarm/pages/SwarmControlPage.js
  Line 7:3:     'detachNodeFromSession' is defined but never used                                                                 no-unused-vars
  Line 106:10:  'sessionNodeStatus' is assigned a value but never used                                                            no-unused-vars
  Line 249:6:   React Hook useEffect has a missing dependency: 'fetchNodeInfo'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/features/voice/hooks/useVoiceChat.js
  Line 8:3:    'createSession' is defined but never used                                                                           no-unused-vars
  Line 213:6:  React Hook useEffect has a missing dependency: 'fetchTokenUsage'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/services/api/userService.js
  Line 4:7:  'USERS_LOGOUT_ENDPOINT' is assigned a value but never used  no-unused-vars
  Line 5:7:  'USERS_ME_ENDPOINT' is assigned a value but never used      no-unused-vars

src/shared/components/FileSystemNavigator.js
  Line 114:8:  React Hook useEffect has a missing dependency: 'handleView'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/shared/components/MultiNodeConsole.js
  Line 60:8:    React Hook useEffect has missing dependencies: 'isAIProcessing', 'onMount', and 'onUnmount'. Either include them or remove the dependency array. If 'onMount' changes too often, find the parent component that defines it and wrap that definition in useCallback  react-hooks/exhaustive-deps
  Line 208:25:  Expected a default case                                                                                                                                                                                                                                             default-case
  Line 251:8:   React Hook useEffect has a missing dependency: 'attachedNodeIds'. Either include it or remove the dependency array                                                                                                                                                  react-hooks/exhaustive-deps
  Line 251:9:   React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked                                                                                                                            react-hooks/exhaustive-deps

src/shared/components/SessionSidebar.js
  Line 19:8:  React Hook useEffect has a missing dependency: 'fetchSessions'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

File sizes after gzip:

  324.01 kB (+11.4 kB)  build/static/js/main.cbb7862e.js
  16.42 kB              build/static/css/main.cc910544.css
  1.78 kB               build/static/js/453.23d913eb.chunk.js

The project was built assuming it is hosted at /.
You can control this with the homepage field in your package.json.

The build folder is ready to be deployed.
You may serve it with a static server:

  npm install -g serve
  serve -s build

Find out more about deployment here:

  https://cra.link/deployment

