MCPcopy Create free account
hub / github.com/freecodexyz/free-code / getRemoteControlAtStartup

Function getRemoteControlAtStartup

src/utils/config.ts:1114–1121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1112 * 3. false (Remote Control must be explicitly opted into)
1113 */
1114export function getRemoteControlAtStartup(): boolean {
1115 const explicit = getGlobalConfig().remoteControlAtStartup
1116 if (explicit !== undefined) return explicit
1117 if (feature('CCR_AUTO_CONNECT')) {
1118 if (ccrAutoConnect?.getCcrAutoConnectDefault()) return true
1119 }
1120 return false
1121}
1122
1123export function getCustomApiKeyStatus(
1124 truncatedApiKey: string,

Callers 4

runFunction · 0.85
callFunction · 0.85
onChangeFunction · 0.85

Calls 1

getGlobalConfigFunction · 0.85

Tested by

no test coverage detected