MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / approvePausedCall

Function approvePausedCall

scripts/agent-config-smoke.ts:106–117  ·  view source on GitHub ↗
(ctx: CliContext, paused: CliResult)

Source from the content-addressed store, hash-verified

104 ]);
105
106const approvePausedCall = async (ctx: CliContext, paused: CliResult): Promise<CliResult> => {
107 const executionId = extractExecutionId(paused.text);
108 return await runCli(ctx, [
109 "resume",
110 "--execution-id",
111 executionId,
112 "--base-url",
113 ctx.baseUrl,
114 "--scope",
115 ctx.scopeDir,
116 ]);
117};
118
119const postJson = async (url: string, payload: unknown): Promise<unknown> => {
120 const response = await fetch(url, {

Callers 1

runSmokeFunction · 0.85

Calls 2

runCliFunction · 0.85
extractExecutionIdFunction · 0.70

Tested by

no test coverage detected