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

Function getWorkflowAppState

src/tools/WorkflowTool/WorkflowTool.ts:149–159  ·  view source on GitHub ↗
(appState: AppState)

Source from the content-addressed store, hash-verified

147}
148
149function getWorkflowAppState(appState: AppState): AppState {
150 return {
151 ...appState,
152 toolPermissionContext: {
153 ...appState.toolPermissionContext,
154 shouldAvoidPermissionPrompts: true,
155 awaitAutomatedChecksBeforeDialog: false,
156 isBypassPermissionsModeAvailable: false,
157 },
158 }
159}
160
161function appendWorkflowLog(taskId: string, line: string): void {
162 appendTaskOutput(taskId, `[${new Date().toISOString()}] ${line}\n`)

Callers 1

workflowGetAppStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected