dsh-incident-studio: Aligning screen frames, log lines, and key/mouse inputs to a single millisecond timeline

dsh-incident-studio is a DSH workflow plugin maintained by Eclipse-NotFound. It synchronizes screen captures, log lines, and key/mouse inputs onto a single millisecond timeline. After recording, users can mark intervals, draw box annotations, and write a description; it then populates the Composer with critical frame strips, animated GIFs, aligned log snippets, and a compact summary for the Agent, saving the Agent the effort of sifting through logs to identify "that moment." The plugin is not bound to any specific game or project; log sources are configured via profiles (paths do not expand %VAR%/$HOME and support preRoll). Local processes can also push events directly via an HTTP ingest interface, specifying precise timestamps. Recording artifacts are generated in the session workspace at .dsh-incidents/<id>/, including 6-frame strips, interval GIFs, input.jsonl, bundle.md, and bundle.json. Frame capture utilizes three paths: desktopCapturer, Windows GDI (tools/grab-frames.ps1, which is used on desktop as tested), and browser getDisplayMedia. Key and mouse input is recorded by tools/record-input.ps1 polling GetAsyncKeyState at approximately 30 Hz. It deliberately avoids installing keyboard hooks or recording text content, and only operates when the target process is in the foreground. It requires DSH 0.2.1+. The installation command is `dsh plugin --profile <profile> add https://github.com/Eclipse-NotFound/dsh-incident-studio`. The plugin runs with the privileges of the current dsh process; please read the source code and the MIT license before enabling it.

Read More