Feature: targen -u (Structured JSON Progress Output) #2

Closed
opened 2026-08-21 09:12:02 +01:00 by gronod · 1 comment
Owner

Description

Add a -u flag to targen to emit structured JSON progress events during patch generation.

Rationale

Advanced patch generation (especially iterative OFPS with adaptation) can take several minutes. A structured progress stream prevents host UIs from appearing frozen and avoids brittle regex parsing of stdout text.

Proposed Output

{"event": "progress", "stage": "optimising", "percent": 45}
### Description Add a `-u` flag to `targen` to emit structured JSON progress events during patch generation. ### Rationale Advanced patch generation (especially iterative OFPS with adaptation) can take several minutes. A structured progress stream prevents host UIs from appearing frozen and avoids brittle regex parsing of `stdout` text. ### Proposed Output ```json {"event": "progress", "stage": "optimising", "percent": 45} ```
gronod added this to the v3.5.1 - UI Subprocess Integration milestone 2026-08-21 09:12:02 +01:00
gronod added the Kind/Feature
Reviewed
Confirmed
1
Area/UI
labels 2026-08-21 18:31:39 +01:00
Author
Owner

Implemented in #11 via commit eba1838. Added -u switch to targen for structured JSON progress output.

Implemented in #11 via commit eba1838. Added `-u` switch to `targen` for structured JSON progress output.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gronod/argyllcms#2