From a80ad2b4691d0df63f68c6977ee18444e7bb752f Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 18 Jun 2026 08:05:32 +0300 Subject: ik0 replace remaining test seams with DI --- internal/hexaicli/runner.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal/hexaicli/runner.go') diff --git a/internal/hexaicli/runner.go b/internal/hexaicli/runner.go index 340733c..ba42452 100644 --- a/internal/hexaicli/runner.go +++ b/internal/hexaicli/runner.go @@ -69,6 +69,9 @@ func NewRunner() *Runner { func (r *Runner) Run(ctx context.Context, args []string, stdin io.Reader, stdout, stderr io.Writer) error { runner := normalizeRunner(r) + if factory := clientFactoryFromContext(ctx); factory != nil { + runner.newClient = factory + } if len(args) > 0 { sub := args[0] if sub == "config" { -- cgit v1.2.3