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

Function getAppState

src/tools/WorkflowTool/createWorkflowCommand.ts:139–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137 {
138 ...toolUseContext,
139 getAppState() {
140 const appState = toolUseContext.getAppState()
141 return {
142 ...appState,
143 toolPermissionContext: {
144 ...appState.toolPermissionContext,
145 alwaysAllowRules: {
146 ...appState.toolPermissionContext.alwaysAllowRules,
147 command: allowedTools,
148 },
149 },
150 }
151 },
152 },
153 `/${workflowName}`,
154 shell,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected