aboutsummaryrefslogtreecommitdiff
path: root/src/renderers.ts
diff options
context:
space:
mode:
authoramankumarsingh77 <amankumarsingh7702@gmal.com>2026-05-02 16:46:12 +0530
committeramankumarsingh77 <amankumarsingh7702@gmal.com>2026-05-02 16:46:12 +0530
commitbb691459f358d32267c552de643fededf647855e (patch)
tree7dbbbc4f2cfa1f40077b48050cdbf2b96e348102 /src/renderers.ts
parentc86b220d46c577441bb0bff7eac49aa80340fc70 (diff)
refactor: delete legacy daemon, tools, protocol, renderers; collapse to single tsconfig
Diffstat (limited to 'src/renderers.ts')
-rw-r--r--src/renderers.ts21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/renderers.ts b/src/renderers.ts
deleted file mode 100644
index 5882ff4..0000000
--- a/src/renderers.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-/**
- * TUI renderers for pi-browser-harness.
- *
- * Registers custom message renderers and tool renderCall/renderResult
- * for browser tools.
- */
-
-import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
-import { Text } from "@mariozechner/pi-tui";
-
-export function registerRenderers(pi: ExtensionAPI): void {
- // Register a message renderer for screenshot notifications
- pi.registerMessageRenderer("browser-screenshot", (message, _options, theme) => {
- const path = (message as { details?: { path?: string } }).details?.path || "unknown";
- return new Text(
- theme.fg("accent", `📸 Screenshot: ${path}`),
- 0,
- 0,
- );
- });
-}