MCPcopy Create free account
hub / github.com/Noumena-Network/code / onProgress

Function onProgress

src/tools/PowerShellTool/PowerShellTool.tsx:735–740  ·  view source on GitHub ↗
(lastLines, allLines, totalLines, totalBytes, isIncomplete)

Source from the content-addressed store, hash-verified

733 shellCommand = await exec(command, abortController.signal, 'powershell', {
734 timeout: timeoutMs,
735 onProgress(lastLines, allLines, totalLines, totalBytes, isIncomplete) {
736 lastProgressOutput = lastLines;
737 fullOutput = allLines;
738 lastTotalLines = totalLines;
739 lastTotalBytes = isIncomplete ? totalBytes : 0;
740 },
741 preventCwdChanges,
742 // Sandbox works on Linux/macOS/WSL2 — pwsh there is a native binary and
743 // SandboxManager.wrapWithSandbox wraps it same as bash (Shell.ts uses

Callers 1

callFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected