diff --git a/apps/api/src/api/tool_instances.py b/apps/api/src/api/tool_instances.py index eb04078..38cf1d5 100644 --- a/apps/api/src/api/tool_instances.py +++ b/apps/api/src/api/tool_instances.py @@ -1104,14 +1104,11 @@ async def _prepare_manifest_instance( dockerfile = compile_dockerfile(manifest) entrypoint = compile_entrypoint(manifest) - logger.info( + logger.debug( "Compiled Dockerfile for instance %s (%d chars)", instance.id, len(dockerfile), ) - logger.debug("Dockerfile content: %s", dockerfile) - logger.info("Compiled entrypoint for instance %s", instance.id) - logger.debug("Entrypoint content: %s", entrypoint) build_ctx = { "Dockerfile": dockerfile, diff --git a/apps/api/src/services/docker_build.py b/apps/api/src/services/docker_build.py index 11f9624..5f1356b 100644 --- a/apps/api/src/services/docker_build.py +++ b/apps/api/src/services/docker_build.py @@ -31,13 +31,7 @@ def build_image( # Write Dockerfile dockerfile_path = Path(instance_dir) / "Dockerfile" dockerfile_path.write_text(dockerfile, newline="\n") - logger.info("Wrote Dockerfile to %s (%d bytes)", dockerfile_path, len(dockerfile)) - logger.debug("Dockerfile content:\n%s", dockerfile) - - # Hex-dump first 8 lines so we can see exactly what bytes Docker receives - lines_for_hex = dockerfile.split("\n")[:8] - for i, line in enumerate(lines_for_hex, start=1): - logger.info("Dockerfile line %d hex: %s", i, line.encode("utf-8").hex()) + logger.debug("Wrote Dockerfile to %s (%d bytes)", dockerfile_path, len(dockerfile)) # Write build context files if build_context: diff --git a/apps/web/src/components/terminal.tsx b/apps/web/src/components/terminal.tsx index 73aee06..db427e1 100644 --- a/apps/web/src/components/terminal.tsx +++ b/apps/web/src/components/terminal.tsx @@ -107,7 +107,6 @@ export const TerminalComponent = React.forwardRef( wsRef.current = ws; ws.onopen = () => { - console.log(`[Terminal ${sessionId ?? "default"}] WebSocket opened`); setStatus("connected"); setError(null); reconnectAttemptsRef.current = 0; @@ -139,10 +138,6 @@ export const TerminalComponent = React.forwardRef( if (!termRef.current) return; if (event.data instanceof Blob) { - // eslint-disable-next-line no-console - console.log( - `[Terminal ${sessionId ?? "default"}] received ${(event.data as Blob).size} bytes`, - ); event.data.arrayBuffer().then((buffer) => { const data = new Uint8Array(buffer); termRef.current?.write(data); @@ -313,9 +308,6 @@ export const TerminalComponent = React.forwardRef( // Open xterm first (must happen before fit) term.open(container); term.focus(); - console.log( - `[Terminal ${sessionId ?? "default"}] xterm opened and focused`, - ); const ws = connectWebSocket(); // Initial fit after layout settles (terminal must be opened first) @@ -340,11 +332,6 @@ export const TerminalComponent = React.forwardRef( // Handle terminal input term.onData((data) => { - // eslint-disable-next-line no-console - console.log( - `[Terminal ${sessionId ?? "default"}] sending:`, - JSON.stringify(data), - ); const currentWs = wsRef.current; if (currentWs?.readyState !== WebSocket.OPEN) return;