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

Function tuc

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

Source from the content-addressed store, hash-verified

49let binding: Binding | undefined;
50let currentToolUseContext: ToolUseContext | undefined;
51function tuc(): ToolUseContext {
52 // Safe: `binding` is only populated when `currentToolUseContext` is set.
53 // Called only from within `ctx` callbacks, which only fire during dispatch.
54 return currentToolUseContext!;
55}
56function formatLockHeld(holder: string): string {
57 return `Computer use is in use by another Claude session (${holder.slice(0, 8)}…). Wait for that session to finish or run /exit there.`;
58}

Callers 2

buildSessionContextFunction · 0.85
runPermissionDialogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected