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

Function extractExecutionId

scripts/agent-config-smoke.ts:89–93  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

87};
88
89const extractExecutionId = (text: string): string => {
90 const match = /executionId:\s*(exec_[A-Za-z0-9_]+)/.exec(text);
91 assert(match?.[1], `CLI output did not contain an execution id:\n${text}`);
92 return match[1];
93};
94
95const callTool = (ctx: CliContext, path: readonly string[], args: unknown = {}) =>
96 runCli(ctx, [

Callers 1

approvePausedCallFunction · 0.70

Calls 2

assertFunction · 0.85
execMethod · 0.80

Tested by

no test coverage detected