MCPcopy Index your code
hub / github.com/codeaashu/claude-code / withoutTerminal

Function withoutTerminal

src/utils/computerUse/executor.ts:283–286  ·  view source on GitHub ↗
(allowed: readonly string[])

Source from the content-addressed store, hash-verified

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

Callers 3

resolvePrepareCaptureFunction · 0.85
screenshotFunction · 0.85
zoomFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected