MCPcopy Create free account
hub / github.com/Noumena-Network/code / prepareContextForPlanMode

Function prepareContextForPlanMode

src/tools/PlanModeToolRuntime.test.ts:89–94  ·  view source on GitHub ↗
(context: Record<string, unknown>)

Source from the content-addressed store, hash-verified

87for (const permissionSetupPath of permissionSetupPaths) {
88 mock.module(permissionSetupPath, () => ({
89 prepareContextForPlanMode(context: Record<string, unknown>) {
90 return {
91 ...context,
92 prePlanMode: context.mode,
93 }
94 },
95 isAutoModeGateEnabled: () => true,
96 getAutoModeUnavailableReason: () => 'circuit-breaker',
97 getAutoModeUnavailableNotification: () => 'auto mode unavailable',

Callers 2

callFunction · 0.50
callFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected