← Back to Kontasks
Fixed: Hide Kontask JSON Output
Hid the raw JSON response from konui_create_task in console output
Output
Fixed: Hidden Kontask JSON Output
Issue Resolved
The raw JSON response from
konui_create_task and konui_complete_task is now hidden from console output.What Was Happening
On fast requests, the MCP tool result was being displayed as raw JSON:
{
"success": true,
"task": {
"id": "8ef8f744-...",
"title": "Telemetry Timeline",
...
},
"_mcpTiming": { "executionMs": 382 }
}
The Fix
Added tool result filtering in router.ts:
case "tool_result": {
// Skip showing raw JSON for kontask MCP tools
if (lastToolName.includes("konui_create_task") ||
lastToolName.includes("konui_complete_task")) {
break;
}
// ... rest of result handling
}
Before vs After
| Before | After |
|---|---|
|
📋 Creating kontask...
{ "success": true, "task": { ... } }
● Summary text...
|
📋 Creating kontask...
● Summary text...
|
Quick Actions
Original Request
No layout configured
Details
Type
General
Status
Completed
Scope
vibetools
Tags
kontasksuifix
Created
7 Jan 2026, 5:23 pm
Updated
7 Jan 2026, 5:23 pm
Created By
claude
Raw Data
{
"id": "2b75c48b-a821-401c-9dee-d7450a697502",
"type": "general",
"status": "completed",
"title": "Fixed: Hide Kontask JSON Output",
"description": "Hid the raw JSON response from konui_create_task in console output",
"context": {
"output": "<div style=\"background:#1e1e1e;color:#e0e0e0;padding:20px;border-radius:8px;font-family:system-ui,-apple-system,sans-serif;\">\n<h2 style=\"color:#fff;margin:0 0 16px 0;\">Fixed: Hidden Kontask JSON Output</h2>\n\n<div style=\"background:#1a3320;border:1px solid #22c55e;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<strong style=\"color:#22c55e;\">Issue Resolved</strong>\n<div style=\"color:#9ca3af;margin-top:8px;\">The raw JSON response from <code>konui_create_task</code> and <code>konui_complete_task</code> is now hidden from console output.</div>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#daa520;margin:0 0 12px 0;\">What Was Happening</h3>\n<p style=\"color:#9ca3af;margin:0;\">On fast requests, the MCP tool result was being displayed as raw JSON:</p>\n<pre style=\"background:#1e1e1e;padding:12px;border-radius:4px;margin:12px 0;overflow-x:auto;font-size:0.85rem;color:#ef4444;\">{\n \"success\": true,\n \"task\": {\n \"id\": \"8ef8f744-...\",\n \"title\": \"Telemetry Timeline\",\n ...\n },\n \"_mcpTiming\": { \"executionMs\": 382 }\n}</pre>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#daa520;margin:0 0 12px 0;\">The Fix</h3>\n<p style=\"color:#9ca3af;margin:0 0 12px 0;\">Added tool result filtering in <code>router.ts</code>:</p>\n<pre style=\"background:#1e1e1e;padding:12px;border-radius:4px;margin:0;overflow-x:auto;font-size:0.85rem;color:#98c379;\">case \"tool_result\": {\n // Skip showing raw JSON for kontask MCP tools\n if (lastToolName.includes(\"konui_create_task\") ||\n lastToolName.includes(\"konui_complete_task\")) {\n break;\n }\n // ... rest of result handling\n}</pre>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;\">\n<h3 style=\"color:#daa520;margin:0 0 12px 0;\">Before vs After</h3>\n<table style=\"width:100%;border-collapse:collapse;\">\n<tr style=\"border-bottom:1px solid #444;\">\n<th style=\"text-align:left;padding:8px;color:#9ca3af;\">Before</th>\n<th style=\"text-align:left;padding:8px;color:#9ca3af;\">After</th>\n</tr>\n<tr>\n<td style=\"padding:8px;vertical-align:top;\">\n<div style=\"color:#ef4444;\">📋 Creating kontask...</div>\n<div style=\"color:#ef4444;font-size:0.85rem;\">{ \"success\": true, \"task\": { ... } }</div>\n<div style=\"color:#e0e0e0;\">● Summary text...</div>\n</td>\n<td style=\"padding:8px;vertical-align:top;\">\n<div style=\"color:#22c55e;\">📋 Creating kontask...</div>\n<div style=\"color:#22c55e;\">● Summary text...</div>\n</td>\n</tr>\n</table>\n</div>\n</div>",
"requestedAt": "2026-01-07T07:20:00.000Z",
"requestId": "231f4d5f-f765-4a5e-ad62-7357cdd45670",
"choices": [
{
"label": "Test it",
"value": "Give me a quick test kontask to verify the fix works",
"primary": true
},
{
"label": "Commit",
"value": "Commit this fix"
},
{
"label": "View diff",
"value": "Show me the code diff for this change"
}
]
},
"createdBy": "claude",
"createdAt": "2026-01-07T07:23:56.482Z",
"updatedAt": "2026-01-07T07:23:56.787Z",
"requestId": "231f4d5f-f765-4a5e-ad62-7357cdd45670",
"scope": "vibetools",
"tags": [
"kontasks",
"ui",
"fix"
],
"targetUser": "claude"
}