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

Function applyPermissionUpdate

src/tools/PlanModeToolRuntime.test.ts:78–83  ·  view source on GitHub ↗
(context: Record<string, unknown>, update: { mode: string })

Source from the content-addressed store, hash-verified

76for (const permissionUpdatePath of permissionUpdatePaths) {
77 mock.module(permissionUpdatePath, () => ({
78 applyPermissionUpdate(context: Record<string, unknown>, update: { mode: string }) {
79 return {
80 ...context,
81 mode: update.mode,
82 }
83 },
84 }))
85}
86

Callers 8

callFunction · 0.50
RemoveWorkspaceDirectoryFunction · 0.50
PermissionRuleListFunction · 0.50
AddPermissionRulesFunction · 0.50
callFunction · 0.50
handleAddDirectoryFunction · 0.50
REPLFunction · 0.50
useInboxPollerFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected