fix: preserve attack-chain summary provenance and evidence access

This commit is contained in:
Sycun committed 2026-10-12 20:58:45 +08:00
1 parent 983c981b92
commit 2b76b31355
15 files changed
+1022 -66

No files matched your search

+57
View File
@@ -16689,6 +16689,63 @@ tr.mcp-stats-tool-row[data-tool-name]:focus-visible {
background: rgba(15, 23, 42, 0.3);
}
.attack-chain-context {
margin: 14px 14px 0;
padding: 12px;
flex-shrink: 0;
border: 1px solid var(--border-color);
border-radius: 12px;
background: var(--bg-primary);
color: var(--text-primary);
font-size: 0.8125rem;
}
.attack-chain-context[hidden] {
display: none;
}
.attack-chain-context summary {
cursor: pointer;
font-weight: 600;
overflow-wrap: anywhere;
}
.attack-chain-context-notice {
color: var(--text-secondary);
font-size: 0.75rem;
line-height: 1.6;
margin: 10px 0;
}
.attack-chain-context-entry {
border-top: 1px solid var(--border-color);
margin-top: 10px;
padding-top: 10px;
}
.attack-chain-context-body {
white-space: pre-wrap;
overflow-wrap: anywhere;
max-height: 360px;
overflow: auto;
font-size: 0.75rem;
font-family: var(--font-mono, monospace);
line-height: 1.6;
margin: 10px 0;
}
.attack-chain-context-copy {
font-size: 0.75rem;
padding: 5px 8px;
}
.attack-chain-context-copy-status {
display: block;
color: var(--text-secondary);
font-size: 0.75rem;
margin-top: 6px;
}
.attack-chain-toolbar {
padding: 14px 18px;
border-bottom: 1px solid rgba(15, 23, 42, 0.07);