Files
orca/src/renderer
Jinjing 7b6eb3cc06 fix: keep dispatch task preview after status normalization (#8185)
* fix: keep dispatch task preview after single-line status normalization

Agent-status prompts fold multi-KB dispatch preambles to ~200 single-line
chars, which previously kept only lifecycle boilerplate and dropped the
TASK body. Compact dispatch prompts to preserve task id + body, extract
that as the UI fallback before orchestration labels arrive, and prefer
richer labels once they match the live dispatch.

* fix: harden dispatch status prompt compaction

* fix: share dispatch task-marker parsing with UI preview helpers

Round-2 adversarial review found getOrcaDispatchTaskPreview still used
naive indexOf, so raw multi-line preambles with base-drift subjects
mentioning === TASK === could surface the wrong fallback label. Export
the standalone-line marker finder and use it on both compaction and UI
preview paths, with regression coverage for raw and single-line forms.
2026-07-10 18:32:51 -07:00
..
2026-03-17 01:40:24 -07:00
2026-05-30 13:09:17 -07:00