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

Function tuc

source code/utils/computerUse/wrapper.tsx:53–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 2

buildSessionContextFunction · 0.85
runPermissionDialogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected