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

Function markTabSwitch

mods/diff/hooks/register.ts:724–729  ·  view source on GitHub ↗
(engine: Host, tab: (typeof Record.TABS)[number])

Source from the content-addressed store, hash-verified

722 }
723
724 function markTabSwitch(engine: Host, tab: (typeof Record.TABS)[number]) {
725 Record.recorderOf(engine).mark(Record.FEATURES.tabSwitch, {
726 kind: 'ok',
727 props: { tab: { value: tab, of: Record.TABS } },
728 })
729 }
730
731 async function openOnFirstEdit(engine: Host): Promise<void> {
732 const isTaken = () => isPaneOpen || hasAutoOpened

Callers 2

togglePaneFunction · 0.85
registerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected