multica/apps/web
Naiyuan Qing 403c44f536 refactor(web): unify hub + agent state into single Zustand store
Replace useState-based useHub hook and separate useActiveAgent store
with a single useHubStore (Zustand). This fixes the bug where
HubSidebar and Chat held independent state copies, causing stale data
and duplicate 30s polling. Agent create/delete logic now lives in the
store with automatic activeAgentId management.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 23:15:11 +08:00
..
app refactor(web): unify hub + agent state into single Zustand store 2026-01-30 23:15:11 +08:00
public feat(web): replace default Next.js branding with Multica icon 2026-01-30 22:31:41 +08:00
.gitignore Add monorepo setup with Turborepo and Web client 2026-01-29 16:33:35 +08:00
components.json refactor(ui): reorganize components into ui/ subdirectory and share layout 2026-01-30 11:34:09 +08:00
eslint.config.mjs Add monorepo setup with Turborepo and Web client 2026-01-29 16:33:35 +08:00
next.config.ts feat(store): add shared Zustand store package with counter example 2026-01-30 11:34:09 +08:00
package.json feat(web): add @multica/sdk dependency and URL config module 2026-01-30 22:40:43 +08:00
postcss.config.mjs refactor(web): update imports to use @multica/ui package 2026-01-30 11:34:05 +08:00
README.md Add monorepo setup with Turborepo and Web client 2026-01-29 16:33:35 +08:00
tsconfig.json feat(store): add shared Zustand store package with counter example 2026-01-30 11:34:09 +08:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.