hoangsonww / hoangsonww/Claude-Code-Agent-Monitor

Feature: Multi-Workspace Support with Data Isolation and Quick Switching

Open
#6 1 comment 0 reactions 1 assignee Claimed by @harsh7274v View on GitHub
bug documentation duplicate enhancement good first issue help wanted question
Dominant language
TypeScript
Stars
1k
Forks
234
Avg merge
2d 9h
Merged PRs (30d)
18

Description

## Problem
The tool currently assumes a single logical workspace/data context. Users monitoring multiple repositories/teams need separation and quick switching.

## Proposal
Add **Workspace Profiles** with strict data isolation and fast context switching.

## Scope
- Workspace entity with name, root path patterns, color/icon
- Data partitioning per workspace (sessions, agents, events, analytics)
- Workspace switcher in sidebar/header
- Cross-workspace aggregate dashboard (optional)

## UX Requirements
- Last selected workspace persisted across restarts
- Clear visual indicator of active workspace
- Safe fallback if workspace is missing/renamed

## Technical Notes
- Add `workspace_id` to key tables with indexed access paths
- Migration strategy for existing single-workspace data
- Optional workspace filters on all API endpoints

## Acceptance Criteria
- [ ] User can create/edit/archive workspaces
- [ ] New events are attributed to the correct workspace
- [ ] Switching workspace updates all views consistently
- [ ] Existing data migrates to a default workspace automatically
- [ ] API supports both scoped and aggregate queries

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.