MCPcopy Create free account
hub / github.com/agent-tower/core / hashForLog

Function hashForLog

packages/server/src/executors/base.executor.ts:42–44  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

40}
41
42function logPtyOutput(pid: number, data: string): void {
43 const cleaned = stripAnsiSequences(data).replace(/\s+/g, ' ').trim();
44 if (cleaned) {
45 ptyLog(pid, `PTY> ${cleaned.slice(0, 300)}`);
46 }
47}

Callers 2

summarizeStdinForLogFunction · 0.70
spawnWithStdinFunction · 0.70

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected