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

Function getAppState

src/commands/commit-push-pr.ts:176–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

174 {
175 ...context,
176 getAppState() {
177 const appState = context.getAppState()
178 return {
179 ...appState,
180 toolPermissionContext: {
181 ...appState.toolPermissionContext,
182 alwaysAllowRules: {
183 ...appState.toolPermissionContext.alwaysAllowRules,
184 command: ALLOWED_TOOLS,
185 },
186 },
187 }
188 },
189 },
190 '/commit-push-pr',
191 )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected