Route console diagnostics and stage progress through native reporting

This commit is contained in:
2026-11-20 05:59:09 +00:00
parent c7a5ff316d
commit c523def852
23 changed files with 309 additions and 76 deletions

View File

@@ -84,7 +84,7 @@ func sessionInitializationCommand(deps commandDependencies) commandkit.Command {
})},
CheckInput: checkSessionInitializationInput,
Run: func(invocation commandkit.Invocation, input *sessionInitializationInput) commandkit.Outcome {
report, err := initializeSession(invocation.Context, input, deps)
report, err := initializeSession(invocation.Context, input, withCommandReporting(deps, invocation))
if report != nil {
err = errors.Join(err, invocation.Reporter().Report(commandkit.Report{Value: report}))
}