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

Offen
#1,046 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
cli
Bereich
cli

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Keine Sprachdaten
Sterne
4.2k
Forks
377
Ø Merge
1 T. 17 Min.
Gemergte PRs (30 T.)
7

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus CommandCodeAI/command-code

Alle Issues in CommandCodeAI/command-code

Ähnliche Issues

Weitere Issues zu CLI

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.