MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / withoutTerminal

Function withoutTerminal

source code/utils/computerUse/executor.ts:285–288  ·  view source on GitHub ↗
(allowed: readonly string[])

Source from the content-addressed store, hash-verified

283 // the package ever passes it through we strip it here so the terminal never
284 // photobombs a screenshot.
285 const withoutTerminal = (allowed: readonly string[]): string[] =>
286 terminalBundleId === null
287 ? [...allowed]
288 : allowed.filter(id => id !== terminalBundleId)
289
290 logForDebugging(
291 terminalBundleId

Callers 3

resolvePrepareCaptureFunction · 0.85
screenshotFunction · 0.85
zoomFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected