MCPcopy Create free account
hub / github.com/anthropics/claude-code / currentOf

Function currentOf

mods/diff/hooks/register.ts:83–83  ·  view source on GitHub ↗
(engine: Host)

Source from the content-addressed store, hash-verified

81 const loggedBaseKinds = new Set<'ok' | 'sad'>()
82
83 const currentOf = (engine: Host): Host => host ?? engine
84 const isPaneSeen = (): boolean => isPaneOpen && awaited === null
85
86 const backendHostOf = (engine: Host): Backend.BackendHost => ({

Callers 1

backendHostOfFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected