feat(scan): add live progress and recon bootstrap (#81)
* Add live scan progress view * Make local-agent recon report real tool progress * Feed recon bootstrap into local agent ReAct loop * Remove stale local-agent JSON tool parser * Label backend-seeded scan progress --------- Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
1 parent
8959a288e5
commit
089591b18f
6 files changed
+476
-11
No files matched your search
@@ -534,6 +534,21 @@ export interface Appendix {
|
||||
// EVENT TYPES
|
||||
// =============================================================================
|
||||
|
||||
export interface ScanProgressEvent {
|
||||
id: string;
|
||||
timestamp: number;
|
||||
kind: 'task_started' | 'thinking' | 'tool_call' | 'tool_result' | 'task_completed' | 'task_failed';
|
||||
operatorId: string;
|
||||
callsign: string;
|
||||
archetype: OperatorArchetype;
|
||||
taskId?: string;
|
||||
taskName?: string;
|
||||
toolName?: string;
|
||||
source?: 'agent' | 'backend_seeded';
|
||||
detail: string;
|
||||
success?: boolean;
|
||||
}
|
||||
|
||||
export interface CommandEvents {
|
||||
'command:started': void;
|
||||
'command:stopped': void;
|
||||
@@ -547,6 +562,7 @@ export interface CommandEvents {
|
||||
'target:owned': { target: Target; operatorId: string };
|
||||
'detection:triggered': DetectionEvent;
|
||||
'mission:phase_changed': { missionId: string; phase: KillChainPhase };
|
||||
'scan:progress': ScanProgressEvent;
|
||||
'abort:recommended': string;
|
||||
/** A capability-approval gate decision (allowed/denied) on an intrusive/dangerous tool — bridged to
|
||||
* the dashboard's live approval/audit feed. Structural match for arsenal/approval.ts ApprovalRecord. */
|
||||
|
||||
Reference in new issue
Block a user