multica/server/internal/handler
Naiyuan Qing 759dd741bd refactor(server): extract inbox creation to bus listeners, add agent visibility filtering
- Move all CreateInboxItem calls from handlers to centralized inbox_listeners.go
- Enrich issue:updated payload with change context (assignee_changed, status_changed, prev values)
- Enrich comment:created payload with issue context (assignee info)
- Bus listeners handle: issue assign, unassign, reassign, status change, comment notification
- ListAgents filters private agents: only visible to owner_id or workspace admin
- Zero CreateInboxItem calls remain in handler package

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 11:24:45 +08:00
..
agent.go refactor(server): extract inbox creation to bus listeners, add agent visibility filtering 2026-03-25 11:24:45 +08:00
auth.go Provision default workspaces and harden daemon pairing 2026-03-24 15:19:27 +08:00
comment.go refactor(server): extract inbox creation to bus listeners, add agent visibility filtering 2026-03-25 11:24:45 +08:00
daemon.go feat: add event bus, WS workspace isolation, and global store migration 2026-03-25 10:08:27 +08:00
daemon_pairing.go feat(runtime): add local codex daemon pairing 2026-03-24 12:03:14 +08:00
handler.go feat: add event bus, WS workspace isolation, and global store migration 2026-03-25 10:08:27 +08:00
handler_test.go Provision default workspaces and harden daemon pairing 2026-03-24 15:19:27 +08:00
inbox.go feat(inbox): notification triggers, unread badge, archive UI, View Issue link 2026-03-25 11:00:07 +08:00
issue.go refactor(server): extract inbox creation to bus listeners, add agent visibility filtering 2026-03-25 11:24:45 +08:00
runtime.go feat(runtime): add local codex daemon pairing 2026-03-24 12:03:14 +08:00
workspace.go fix(workspace): permission enforcement, invite auto-create, switch clears stores 2026-03-25 10:46:53 +08:00