MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getAppState

Function getAppState

src/commands/security-review.ts:219–231  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

217 {
218 ...context,
219 getAppState() {
220 const appState = context.getAppState()
221 return {
222 ...appState,
223 toolPermissionContext: {
224 ...appState.toolPermissionContext,
225 alwaysAllowRules: {
226 ...appState.toolPermissionContext.alwaysAllowRules,
227 command: allowedTools,
228 },
229 },
230 }
231 },
232 },
233 'security-review',
234 )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected