mirror of
https://github.com/esengine/DeepSeek-Reasonix.git
synced 2026-11-07 02:36:01 -10:00
Problem: AI-created documents could not be handed off as validated, durable file cards, and binary files could not be read through the text editor route. Root cause: delivery identity lived only in ordinary tool output, while file reading, view selection and auxiliary actions lacked a shared preview path. Fix: add a bounded root-confined reader, Controller and raw-byte preview APIs, and host-confirmed present_files results projected through live and stored history. Add lazy PDF, worker CSV and sandboxed HTML viewers, responsive file cards, type icons, current-file state and accessible shared tooltips. Preserve dirty drafts while surfacing deletion/revocation and avoid metadata reads per keystroke. Keep the current workbench request-consumption contract intact. Verification: root and desktop Go tests, go vet, make lint/check, frontend typecheck, 498 related tests and production build. Browser checks cover PDF navigation, CSV literals, menus, request consumption and responsive themes. The builtin schema inventory grows by 143 measured tokens; boot effect tests verify stable schemas within a turn for direct and capability-proxy calls.
23 lines
517 B
CSS
23 lines
517 B
CSS
.icon-tooltip {
|
|
position: fixed;
|
|
z-index: 70;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
max-width: min(340px, calc(100vw / var(--zoom, 1) - 12px));
|
|
padding: 6px 9px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--r-sm);
|
|
background: var(--float);
|
|
color: var(--text);
|
|
box-shadow: var(--shadow-float);
|
|
font: var(--w-med) var(--fs-ui) var(--ui);
|
|
overflow-wrap: anywhere;
|
|
pointer-events: none;
|
|
}
|
|
.icon-tooltip kbd {
|
|
color: var(--muted);
|
|
font: inherit;
|
|
white-space: nowrap;
|
|
}
|