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

未关闭
#1,046 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
cli
领域
cli

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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

主要语言
没有语言数据
星标
4.2k
派生
377
平均合并
1 天 17 分钟
30 天内合并 PR
7

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CommandCodeAI/command-code 的其他 Issue

查看 CommandCodeAI/command-code 的全部 Issue

相似的 Issue

更多 CLI Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。