MCPcopy
hub / github.com/codeaashu/claude-code / setMainThreadAgentType

Function setMainThreadAgentType

src/bootstrap/state.ts:1627–1629  ·  view source on GitHub ↗
(agentType: string | undefined)

Source from the content-addressed store, hash-verified

1625}
1626
1627export function setMainThreadAgentType(agentType: string | undefined): void {
1628 STATE.mainThreadAgentType = agentType
1629}
1630
1631export function getIsRemoteMode(): boolean {
1632 return STATE.isRemoteMode

Callers 3

runFunction · 0.85
restoreAgentFromSessionFunction · 0.85
handleInitializeRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected