From f41b7bbd0a0cc731fd7c471b7ee8b26f14a21755 Mon Sep 17 00:00:00 2001 From: adamdottv <2363879+adamdottv@users.noreply.github.com> Date: Thu, 8 May 2025 12:03:59 -0500 Subject: chore: refactoring status updates --- internal/llm/tools/shell/shell.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/llm/tools') diff --git a/internal/llm/tools/shell/shell.go b/internal/llm/tools/shell/shell.go index 668a69fa1..21c283668 100644 --- a/internal/llm/tools/shell/shell.go +++ b/internal/llm/tools/shell/shell.go @@ -12,7 +12,7 @@ import ( "syscall" "time" - "github.com/opencode-ai/opencode/internal/logging" + "github.com/opencode-ai/opencode/internal/status" ) type PersistentShell struct { @@ -101,7 +101,7 @@ func newPersistentShell(cwd string) *PersistentShell { go func() { err := cmd.Wait() if err != nil { - logging.ErrorPersist(fmt.Sprintf("Shell process exited with error: %v", err)) + status.Error(fmt.Sprintf("Shell process exited with error: %v", err)) } shell.isAlive = false close(shell.commandQueue) -- cgit v1.2.3