feat: TASK 038 - Node Guardian & Steward Integration

- Backend: Added dynamic discovery of node agents in repo_city.py
- Backend: Created seed SQL for agent types
- Frontend: Added NodeGuardianCard component
- Frontend: Integrated NodeGuardianCard into Node Dashboard / Profile
This commit is contained in:
Apple
2025-11-29 01:46:38 -08:00
parent aee8bf00ff
commit 0bab4bba08
5 changed files with 245 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ import {
ModulesCard,
NodeStandardComplianceCard
} from '@/components/node-dashboard';
import { NodeAgentsPanel } from '@/components/nodes/NodeAgentsPanel';
import { NodeGuardianCard } from '@/components/nodes/NodeGuardianCard';
function getNodeLabel(nodeId: string): string {
if (nodeId.includes('node-1')) return 'НОДА1';
@@ -124,7 +124,7 @@ export default function NodeCabinetPage() {
<div className="space-y-6">
{/* Node Guardian & Steward Agents */}
<NodeAgentsPanel
<NodeGuardianCard
guardian={nodeProfile?.guardian_agent}
steward={nodeProfile?.steward_agent}
/>
@@ -279,7 +279,7 @@ export default function NodeCabinetPage() {
{/* Node Guardian & Steward Agents */}
<div className="mb-6">
<NodeAgentsPanel
<NodeGuardianCard
guardian={nodeProfile?.guardian_agent}
steward={nodeProfile?.steward_agent}
/>