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

Function getAppState

source code/utils/plugins/loadPluginCommands.ts:384–396  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

382 {
383 ...context,
384 getAppState() {
385 const appState = context.getAppState()
386 return {
387 ...appState,
388 toolPermissionContext: {
389 ...appState.toolPermissionContext,
390 alwaysAllowRules: {
391 ...appState.toolPermissionContext.alwaysAllowRules,
392 command: allowedTools,
393 },
394 },
395 }
396 },
397 },
398 `/${commandName}`,
399 shell,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected