multica/apps/web
Naiyuan Qing 9127e543d5 feat: add event bus, WS workspace isolation, and global store migration
- Add internal event bus (server/internal/events/) with synchronous
  pub/sub and panic isolation per listener
- Upgrade WebSocket Hub to workspace-scoped rooms with JWT auth
  and membership verification on connect
- Add 10 new WS event types (comment CRUD, inbox read/archive,
  agent create/delete, workspace/member events)
- Refactor all handlers and TaskService to publish events via Bus
  instead of direct Hub.Broadcast calls
- Add WS broadcast listener that routes events to correct workspace
- Frontend: WSClient sends token + workspace_id on connect with
  auto-reconnect refetch
- Frontend: centralized useRealtimeSync hook dispatches all WS
  events to global Zustand stores
- Migrate issues and inbox pages from local useState to global
  useIssueStore/useInboxStore
- Make store addIssue/addItem idempotent to prevent duplicates
- Remove dead packages/hooks/src/use-realtime.ts
- Add feature tracking files for 4 planned features

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 10:08:27 +08:00
..
app feat: add event bus, WS workspace isolation, and global store migration 2026-03-25 10:08:27 +08:00
components refactor(web): self-contained shadcn UI with base-nova style and design tokens 2026-03-24 18:19:26 +08:00
features feat: add event bus, WS workspace isolation, and global store migration 2026-03-25 10:08:27 +08:00
hooks refactor(web): self-contained shadcn UI with base-nova style and design tokens 2026-03-24 18:19:26 +08:00
lib refactor(web): self-contained shadcn UI with base-nova style and design tokens 2026-03-24 18:19:26 +08:00
public Provision default workspaces and harden daemon pairing 2026-03-24 15:19:27 +08:00
shared refactor(web): restructure to feature-based architecture with zustand stores 2026-03-24 16:08:36 +08:00
test feat(workspace): add context field for AI agent background info 2026-03-24 15:59:11 +08:00
components.json refactor(web): self-contained shadcn UI with base-nova style and design tokens 2026-03-24 18:19:26 +08:00
next-env.d.ts feat: pivot to AI-native task management platform (#232) 2026-03-20 17:55:49 +08:00
next.config.ts refactor(web): self-contained shadcn UI with base-nova style and design tokens 2026-03-24 18:19:26 +08:00
package.json fix(web): add missing linkify-it dependency and types 2026-03-24 18:24:30 +08:00
postcss.config.mjs refactor(web): self-contained shadcn UI with base-nova style and design tokens 2026-03-24 18:19:26 +08:00
tsconfig.json refactor(web): restructure to feature-based architecture with zustand stores 2026-03-24 16:08:36 +08:00
vitest.config.ts refactor(web): restructure to feature-based architecture with zustand stores 2026-03-24 16:08:36 +08:00