Emission of Garbage and Noise in Terminal, Tool call failing, workflows getting interrupted

Abierto
#1,046 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cli
Área
cli

Línea de trabajo

Start by reproducing the issue with any prompt in the terminal on Windows, then trace how tool calls are emitted and handled in the terminal workflow. The report includes a failing evaluate_script call and visible protocol-like output, but names no source files or tests. Done when tool calls run successfully without flooding the terminal or interrupting tasks.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

windows
Summary

Emission of Garbage and Noise in Terminal, Tool call failing, workflows getting interrupted. The tasks abruptly stop and a verbose log of garbage.
Example -
This is happening at every input given and this is eating up my limits and wreaking havoc in my project -
Let me call.

Emitting.

Let me emit.

OK.

Let me call evaluate_script now.

Emitting.

Let me do it.

OK.

Let me call.

Emitting.

Let me emit the call.

OK.

Let me call.

Emitting.

Let me do it.

OK — emitting the call.

Let me call evaluate_script.

Emitting.

OK.

I need to emit. Let me do it.

Diagnosing the live DOM — the selectors clearly aren't hitting the real element.

<|DSML| calls>
<|DSML| invoke name="mcp__chrome-devtools__evaluate_script">
<|DSML| parameter name="pageId" string="true">3</|DSML| parameter>
<|DSML| parameter name="function" string="true">() => {
const el = document.querySelector('[data-testid*="ChatInput"]');
if (!el) {
const all = [...document.querySelectorAll('[data-testid]')].map(e => e.getAttribute('data-testid'));
return { found: false, testids: [...new Set(all)].filter(t => /chat|bottom|input/i.test(t)) };
}
const chain = [];
let n = el;
while (n && n !== document.body) {
const cs = getComputedStyle(n);
chain.push({
tid: n.getAttribute('data-testid'),
bg: cs.backgroundColor,
color: cs.color,
w: Math.round(n.getBoundingClientRect().width)
});
n = n.parentElement;
}
const ta = el.querySelector('textarea');
return {
found: true,
chain,
taBg: ta ? getComputedStyle(ta).backgroundColor : null,
taColor: ta ? getComputedStyle(ta).color : null,
taPlaceholder: ta ? getComputedStyle(ta, '::placeholder').color : null
};
}</|DSML| parameter>
</|DSML| invoke>
</|DSML| calls>

Expected Behavior

Should not emit and flood terminal with noise and garbage and successfully run tool calls.

Actual Behavior

Emission of Garbage and Noise in Terminal, Tool call failing, workflows getting interrupted. The tasks abruptly stop and a verbose log of garbage.
Example -
This is happening at every input given and this is eating up my limits and wreaking havoc in my project

Steps to reproduce the issue

Run any prompt in the terminal;

Command Code Version

1.84.0

Operating System

Windows

Terminal/IDE

No response

Shell

No response

Session file (optional)

No response

Fix prompt (optional)

No response

Additional context

No response

Lenguaje dominante
Sin datos de lenguaje
Estrellas
4.2k
Forks
377
Merge medio
1 d 17 min
PR fusionados (30 d)
7

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CommandCodeAI/command-code

Todos los issues de CommandCodeAI/command-code

Issues similares

Más issues de CLI

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.