feature/stage-1-targen
main
Implements the complete Stage 1 target generation pipeline, integrating the ArgyllCMS targen binary as a Tauri sidecar process.
targen
process_manager.rs
Arc<Mutex<Child>>
try_wait()
process:exit
commands.rs
TargenConfig
build_targen_args()
run_targen
events.rs
process:stdout
process:stderr
process:error
dialog:default
argyll/**/*
src-tauri
index.html
window.__TAURI__.dialog
src-tauri/argyll/linux-x86_64/
cargo test
.ti1
No dependencies set.
The note is not visible to the blocked user.
Summary
Implements the complete Stage 1 target generation pipeline, integrating the ArgyllCMS
targenbinary as a Tauri sidecar process.Changes
Backend (Rust)
process_manager.rs): Async subprocess manager usingArc<Mutex<Child>>for shared ownership. Pollstry_wait()to emitprocess:exitevents.commands.rs):TargenConfigstruct,build_targen_args()builder, andrun_targenTauri command with proper empty-cwd handling.events.rs): Typed event emitters forprocess:stdout,process:stderr,process:exit, andprocess:error.dialog:defaultcapability added, resources path corrected toargyll/**/*insidesrc-tauri.Frontend (JS/HTML/CSS)
index.html): 5-stage stepper sidebar with Stage 1 form (colour space, patch count, white/black patches, browse/filename).window.__TAURI__.dialog, manual filename input support, process event listeners, log panel, and auto-advance to Stage 2.ArgyllCMS Binaries
src-tauri/argyll/linux-x86_64/.Tests
build_targen_args()covering RGB and CMYK configurations.Verification
cargo testpasses all unit tests..ti1file generation with realtargenbinary.