MCPcopy
hub / github.com/coder/mux / addToolToFocusedTabset

Function addToolToFocusedTabset

src/browser/utils/rightSidebarLayout.ts:514–519  ·  view source on GitHub ↗
(
  state: RightSidebarLayoutState,
  tab: TabType
)

Source from the content-addressed store, hash-verified

512 return fallback;
513}
514export function addToolToFocusedTabset(
515 state: RightSidebarLayoutState,
516 tab: TabType
517): RightSidebarLayoutState {
518 return selectTabInFocusedTabset(state, tab);
519}
520
521/**
522 * Add a tab to the focused tabset without changing the active tab.

Callers 2

buildCoreSourcesFunction · 0.90

Calls 1

selectTabInFocusedTabsetFunction · 0.85

Tested by

no test coverage detected