refactor(coding-agent/task): moved taskToolRenderer to separate module

- Extracted taskToolRenderer to a dedicated renderer file to resolve circular dependencies.
- Updated all references to the renderer to point to the new location.
This commit is contained in:
can1357
2026-06-27 16:37:36 +02:00
parent 4fb1490747
commit d8bf177af7
7 changed files with 20 additions and 12 deletions
@@ -2,7 +2,7 @@ import { afterAll, beforeAll, describe, expect, it } from "bun:test";
import { resetSettingsForTest, Settings } from "@oh-my-pi/pi-coding-agent/config/settings";
import { getThemeByName, setThemeInstance, type Theme } from "@oh-my-pi/pi-coding-agent/modes/theme/theme";
import type { TaskParams } from "@oh-my-pi/pi-coding-agent/task";
import { taskToolRenderer } from "@oh-my-pi/pi-coding-agent/task/render";
import { taskToolRenderer } from "@oh-my-pi/pi-coding-agent/task/renderer";
describe("task renderer: streaming call preview", () => {
let theme: Theme;