feat(agent): add Projects + Compliance agents, webhook notifications
- Add AgentFAB to ProjectsPage and CompliancePage - Add AgentWebhookNotifier for agent events (activated, message, escalation, error) - Webhook URL configurable via AGENT_WEBHOOK_URL env var - Build fresh web-v2 dist
This commit is contained in:
@@ -14,6 +14,7 @@ import {
|
||||
Clock,
|
||||
TrendingUp,
|
||||
} from 'lucide-react'
|
||||
import { AgentFAB } from '@/components/agent/AgentFAB'
|
||||
|
||||
export function CompliancePage() {
|
||||
const [activeTab, setActiveTab] = useState('iso')
|
||||
@@ -514,6 +515,9 @@ export function CompliancePage() {
|
||||
</Card>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Compliance Agent */}
|
||||
<AgentFAB rum="compliance" />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -16,6 +16,7 @@ import {
|
||||
X,
|
||||
GripVertical,
|
||||
} from 'lucide-react'
|
||||
import { AgentFAB } from '@/components/agent/AgentFAB'
|
||||
|
||||
interface Task {
|
||||
id: string
|
||||
@@ -562,6 +563,9 @@ export function ProjectsPage() {
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Projects Agent */}
|
||||
<AgentFAB rum="projects" />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user