MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / getOrBind

Function getOrBind

src/utils/computerUse/wrapper.tsx:266–274  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

264}
265
266function getOrBind(): Binding {
267 if (binding) return binding;
268 const ctx = buildSessionContext();
269 binding = {
270 ctx,
271 dispatch: bindSessionContext(getComputerUseHostAdapter(), getChicagoCoordinateMode(), ctx),
272 };
273 return binding;
274}
275
276/**
277 * Returns the full override object for a single `mcp__computer-use__{toolName}`

Callers 1

callFunction · 0.85

Calls 4

bindSessionContextFunction · 0.90
buildSessionContextFunction · 0.85
getChicagoCoordinateModeFunction · 0.85

Tested by

no test coverage detected