Xiangzhe
a5b32557d6
refactor(video): use the structured pino logger in the broker extract route
2026-08-18 08:25:15 -03:00
Xiangzhe
e7858d7165
feat(video): cap the drill-down cache with a global byte budget
...
The per-session drill-down cache now tracks decoded bytes per entry and
evicts least-recently-used entries until an aggregate maxTotalBytes
budget fits (route sets 256 MiB); an entry larger than the whole budget
is rejected. Prevents the previous worst case of 64 x 32 MiB (~2 GiB)
pinned in memory.
2026-08-18 08:25:15 -03:00
Xiangzhe
bb22eeba8d
feat(video): add isolated drill-down cache
2026-08-18 08:25:13 -03:00
Xiangzhe
edb3abf323
feat(video): add segment-aware sampling
2026-08-18 08:25:13 -03:00
Xiangzhe
ffa6849cc8
feat(video): add validated focus windows
2026-08-18 08:25:10 -03:00
Xiangzhe
2c33638643
feat(video): add scene-aware sampling fallback
2026-08-18 08:25:07 -03:00
Diego Rodrigues de Sa e Souza
5379493bed
feat: add Video Bridge frame sampling ( #10483 )
...
Implements the secure, opt-in Video Bridge for issue #9760 , including bounded FFmpeg frame extraction, capability-aware routing, telemetry, settings UI, localization, documentation, and regression coverage.
2026-08-15 14:23:29 -03:00
Diego Rodrigues de Sa e Souza
71c85f31cd
feat(guardrails): modality bridge core — vision mode/task-aware/cache/input_image + modalityBridge settings ( #9759 )
...
* feat(sse): unified media-part detection helper (image+audio, input_image)
* refactor(guardrails): extractImageParts/comboStructure delegate to unified media detector
* fix(sse): media detector — audio parts no longer shadow sibling/nested image indicators
* fix(guardrails): close extract↔replace contract for input_image (allowlist + splice)
* perf(guardrails): skip media traversal when bridge disabled; short-circuit combo image check
* feat(guardrails): in-memory LRU bridge cache (sha256 keyed)
* feat(settings): modalityBridge* schema with legacy visionBridge* fallback
* feat(db): migrate visionBridge* settings to modalityBridge* (idempotent)
* refactor(guardrails): harden bridge cache key/config + settings resolution (review minors)
* feat(guardrails): vision bridge mode selector (auto/describe/reroute) short-circuit
* feat(guardrails): task-aware vision description prompt (default on)
* feat(guardrails): describe-path cache integration
* docs(guardrails): review polish — cache-key coupling notes + helper header
* feat(guardrails): in-memory bridge stats + modality-bridge response header
* feat(api): modality bridge stats endpoint + header wiring in chat handler
* docs(guardrails): document modality bridge mode/task-aware/cache/header + stats endpoint
* chore: untrack _tasks symlink (inherited from base tip; blocks pre-commit tracked-artifacts gate)
* fix(db): renumber modality bridge migration 139->140 (base renumbered ccr_blocks to 139)
* docs(guardrails): migration filename touch-up 139->140
* docs(db): stale comment touch-ups after 139->140 renumber and #9688 landing
* fix(db): renumber modality bridge migration 140->141 (base renumbered connection_runtime_state to 140)
* test(db): migration test titles 139->141
---------
Co-authored-by: diegosouzapw <diegosouzapw@users.noreply.github.com >
2026-08-08 01:59:11 -03:00