Fix build blockers and rewrite README with authorized-use warning.

Restore server/agent compile fixes, wire remote actions end-to-end, harden run.bat, and document AetherForge with a severity-ranked audit in PROBLEMS.md.
This commit is contained in:
drjones
2026-05-28 07:36:59 -07:00
parent 830c755235
commit a9aeaefb1b
12 changed files with 615 additions and 186 deletions

View File

@@ -10,7 +10,7 @@ import '../components/Fleet/AgentRemoteActions.css';
import './Pages.css';
export default function AgentsPage() {
const { agents: liveAgents, isConnected, agentLogs } = useWebSocket();
const { agents: liveAgents, isConnected, agentLogs, latestMessage } = useWebSocket();
const [agents, setAgents] = useState<Agent[]>([]);
const [selectedAgent, setSelectedAgent] = useState<Agent | null>(null);
const [hashrateHistory, setHashrateHistory] = useState<HashrateSample[]>([]);
@@ -221,7 +221,8 @@ export default function AgentsPage() {
<h3>Remote Control</h3>
<AgentRemoteActions
agent={selectedAgent}
onCommandSent={(action) => {
latestWsMessage={latestMessage}
onCommandSent={(action: string) => {
if (action === 'get_log') refreshLog(true);
}}
/>