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

Function getOrBind

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

Source from the content-addressed store, hash-verified

228 };
229}
230function getOrBind(): Binding {
231 if (binding) return binding;
232 const ctx = buildSessionContext();
233 binding = {
234 ctx,
235 dispatch: bindSessionContext(getComputerUseHostAdapter(), getChicagoCoordinateMode(), ctx)
236 };
237 return binding;
238}
239
240/**
241 * Returns the full override object for a single `mcp__computer-use__{toolName}`

Callers 1

callFunction · 0.85

Calls 3

buildSessionContextFunction · 0.85
getChicagoCoordinateModeFunction · 0.85

Tested by

no test coverage detected