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

Function getTerminalBundleId

source code/utils/computerUse/common.ts:45–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 * terminal window, and the screenshots exclude it regardless.
44 */
45export function getTerminalBundleId(): string | null {
46 const cfBundleId = process.env.__CFBundleIdentifier
47 if (cfBundleId) return cfBundleId
48 return TERMINAL_BUNDLE_ID_FALLBACK[env.terminal ?? ''] ?? null
49}
50
51/**
52 * Static capabilities for macOS CLI. `hostBundleId` is not here — it's added

Callers 1

createCliExecutorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected