chore: remove debug console.log statements from agent tool implementations (evaluateInEngine262, graphExplorer, searchSpecSections)

This commit is contained in:
2026-04-08 19:03:53 +05:30
parent c109acba01
commit 606896a676
3 changed files with 0 additions and 12 deletions
-6
View File
@@ -45,8 +45,6 @@ export function createEvaluateInEngine262Tool() {
"Executes JavaScript code in the engine262 JavaScript engine and captures which ECMAScript specification sections are hit during execution. Returns the full marks array as JSON. Useful for understanding how specific JavaScript operations map to the ECMAScript spec.",
schema: evaluateSchema,
func: async ({ code }) => {
console.log(`[Tool: ask262_evaluate_in_engine262] Executing code...`);
try {
const engine = await loadEngine262();
const ask262Debug = engine.ask262Debug as {
@@ -129,10 +127,6 @@ export function createEvaluateInEngine262Tool() {
// Get captured marks
const marks = ask262Debug.marks;
console.log(
`[Tool: ask262_evaluate_in_engine262] Captured ${marks.length} unique marks`,
);
// Filter and group marks by important flag
const importantMarks = marks.filter((m) => m.important);
const otherMarks = marks.filter((m) => !m.important);