MCPcopy
hub / github.com/OpenCoworkAI/open-codesign / explicitDisabled

Function explicitDisabled

packages/core/src/agent.ts:363–370  ·  view source on GitHub ↗
(setting: PromptFeatureProfile['tweaks'])

Source from the content-addressed store, hash-verified

361}
362
363function explicitDisabled(setting: PromptFeatureProfile['tweaks']): boolean {
364 return (
365 typeof setting !== 'string' &&
366 setting.mode === 'disabled' &&
367 setting.provenance === 'explicit' &&
368 setting.confidence === 'high'
369 );
370}
371
372function featureModeValue(setting: PromptFeatureProfile['tweaks']): PromptFeatureMode {
373 return typeof setting === 'string' ? setting : setting.mode;

Callers 2

agenticToolGuidanceFunction · 0.85
generateViaAgentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected