Reuse the FILETIME structure and cached kernel32 bindings rather than creating a new ctypes pointer type for every identity query. Python before 3.14 retains those types in its global pointer cache, so idle WebUI and gateway polling could accumulate gigabytes.
Keep each identity query live and preserve the native HANDLE signatures and handle cleanup. Add a native Windows regression that checks identity stability and a bounded set of pointer types, including on Python 3.14 where ctypes no longer retains the types globally.
Fixes#6506
Co-authored-by: snailak <141750781+snailak@users.noreply.github.com>
Handle tool activity, errors and result-body clicks at the task item while preserving selection, nested controls, image portals and detail focus. Remove the sticky-title workaround.
Refs NAN-369
Keep the current task header above its independently scrolled result, including code copy controls. Preserve selection, detail focus and reading position.
Refs NAN-364
* feat(webui): complete direct bang shell commands
Reuse the gateway user-shell side channel, retain failed drafts without reconnect replay, and preserve literal output across live delivery and history. Highlight the bang prefix before and after sending.
NAN-291
* fix(clients): preserve literal shell output through display metadata
* fix(webui): crossfade theme changes as one page
* test(webui): align selection highlight motion checks
Follow the shared CSS transition contract instead of obsolete Tailwind utilities. Verify normal geometry easing and reduced-motion theme paint in the browser without changing accepted theme behavior or relaxing CI gates.
Use the current pending message for explicit empty Enter submissions instead of a transient second-Enter marker. Preserve automatic-send authorization and keyboard/voice guards.
Refs NAN-357.
* style(webui): refine the chat composer surface
Use a themed card background with a subtle edge and soft shadow. Keep focus stable without a darker frame while preserving Goal and drag rings. Align the startup composer surface and add composer-scoped browser coverage.
* style(webui): align workspace hover with access control
Keep the workspace trigger background clear on hover and use its existing text-color feedback, matching the adjacent access control. Preserve focus, disabled, and directory-picker behavior.