Commit 39433f1
feat(vscode): add detail panels, browser executive dashboard, and security hardening
Add 5 dedicated detail webview panels (Kernel Debugger, Memory Browser,
Safety Stats, Audit Log, Active Policies) so all 8 sidebar panels now
open their own full-panel React views instead of falling back to the
Governance Hub.
Redesign the browser dashboard as an executive governance experience:
- Single-screen grid layout with all panels visible simultaneously
- 6 premium themes (Corporate Slate, Midnight Blue, Onyx, Azure Mist,
High Contrast Dark, High Contrast Light) persisted via localStorage
- Policy editor with 5 governance templates (Strict Security, SOC 2,
GDPR, Development, Rate Limiting), validation, test scenarios, and
file download/import
- Real-time filtering on Audit Log (by severity) and Policies (by action)
- SLO trend arrows showing delta between updates
- Full data broadcast (SLO, topology, audit, policies) over WebSocket
Security hardening:
- Fix CSP mismatch between HTTP header and HTML meta tag (blob: for downloads)
- Escape all data values in browser innerHTML with esc() including numerics
- Sanitize CSS class attribute injection via regex whitelist
- Fix pre-existing XSS in CMVK results panel (escHtml on external API data)
Sidebar fixes:
- Panel settings modal now fully opaque (was 5% transparent)
- Browser launch button added to sidebar header
- PROMOTE_COMMANDS correctly routes all 8 panels
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>1 parent 8022eaa commit 39433f1
File tree
31 files changed
+2307
-316
lines changed- packages/agent-os-vscode
- src
- server
- webviews
- auditDetail
- kernelDetail
- memoryDetail
- policyDetail
- sidebar
- statsDetail
31 files changed
+2307
-316
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
167 | 192 | | |
168 | 193 | | |
169 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
| |||
438 | 443 | | |
439 | 444 | | |
440 | 445 | | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
441 | 466 | | |
442 | 467 | | |
443 | 468 | | |
| |||
516 | 541 | | |
517 | 542 | | |
518 | 543 | | |
519 | | - | |
| 544 | + | |
| 545 | + | |
520 | 546 | | |
521 | 547 | | |
522 | 548 | | |
| |||
530 | 556 | | |
531 | 557 | | |
532 | 558 | | |
533 | | - | |
| 559 | + | |
| 560 | + | |
534 | 561 | | |
535 | 562 | | |
536 | 563 | | |
| |||
544 | 571 | | |
545 | 572 | | |
546 | 573 | | |
547 | | - | |
| 574 | + | |
| 575 | + | |
548 | 576 | | |
549 | 577 | | |
550 | 578 | | |
| |||
699 | 727 | | |
700 | 728 | | |
701 | 729 | | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
702 | 735 | | |
703 | 736 | | |
704 | 737 | | |
| |||
891 | 924 | | |
892 | 925 | | |
893 | 926 | | |
894 | | - | |
895 | | - | |
| 927 | + | |
| 928 | + | |
896 | 929 | | |
897 | 930 | | |
898 | 931 | | |
899 | | - | |
900 | | - | |
| 932 | + | |
| 933 | + | |
901 | 934 | | |
902 | 935 | | |
903 | 936 | | |
| |||
942 | 975 | | |
943 | 976 | | |
944 | 977 | | |
945 | | - | |
| 978 | + | |
946 | 979 | | |
947 | 980 | | |
948 | 981 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | | - | |
| 55 | + | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
61 | | - | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
67 | | - | |
| 70 | + | |
| 71 | + | |
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
| |||
178 | 182 | | |
179 | 183 | | |
180 | 184 | | |
181 | | - | |
| 185 | + | |
182 | 186 | | |
183 | 187 | | |
184 | 188 | | |
| |||
237 | 241 | | |
238 | 242 | | |
239 | 243 | | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
240 | 248 | | |
241 | 249 | | |
242 | 250 | | |
| |||
247 | 255 | | |
248 | 256 | | |
249 | 257 | | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
250 | 269 | | |
251 | 270 | | |
252 | 271 | | |
| |||
0 commit comments