MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / ToolActivityLine

Function ToolActivityLine

src/cli/ui.tsx:741–752  ·  view source on GitHub ↗

* Live activity line shown while a tool runs. Replaces the old "spinner + raw tool name" * with a friendly verb, a category colour + icon, and the streamed target (path/query/ * command) — so "⚡ Running npm test" reads at a glance instead of "⠋ bash {"command…".

(props: { name: string; partialArgs: string; motion: boolean })

Source from the content-addressed store, hash-verified

739 }
740 next.push({
741 type: 'tool',
742 name: event.data.name,
743 result: event.data.result,
744 isError: event.data.isError,
745 id: nextId(),
746 });
747 return next;
748 });
749 break;
750 }
751 case 'tool_ui': {
752 // If a diff event came in, store it for upcoming permission prompt
753 if (event.data.type === 'diff') {
754 pendingDiffRef.current = event.data;
755 }

Callers

nothing calls this directly

Calls 3

describeToolActivityFunction · 0.85
extractTargetFunction · 0.85
formatTargetFunction · 0.85

Tested by

no test coverage detected