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

Function extractExecutionId

apps/cli/src/tooling.ts:215–220  ·  view source on GitHub ↗
(structured: unknown)

Source from the content-addressed store, hash-verified

213};
214
215export const extractExecutionId = (structured: unknown): string | undefined => {
216 if (!isRecord(structured) || typeof structured.executionId !== "string") {
217 return undefined;
218 }
219 return structured.executionId;
220};
221
222export const normalizeCliErrorText = (raw: string): string => {
223 const lines = raw.split(/\r?\n/);

Callers 3

executeCodeFunction · 0.90
main.tsFile · 0.90
tools-cli.test.tsFile · 0.90

Calls 1

isRecordFunction · 0.70

Tested by

no test coverage detected