MCPcopy Index your code
hub / github.com/github/awesome-copilot / isStepDone

Function isStepDone

extensions/java-modernization-studio/autopilot.mjs:52–56  ·  view source on GitHub ↗
(state, step)

Source from the content-addressed store, hash-verified

50
51/** Whether the given step is now checked off in a freshly scanned state. */
52export function isStepDone(state, step) {
53 const k = stepKey(step);
54 const match = currentSteps(state).find((s) => stepKey(s) === k);
55 return !!(match && match.status === "done");
56}
57
58/** Construct the mutable, serializable run record broadcast to the canvas. */
59export function makeRun({ scope, maxSteps, startRank } = {}) {

Callers 2

cockpit.test.mjsFile · 0.90
runAutopilotFunction · 0.85

Calls 2

stepKeyFunction · 0.85
currentStepsFunction · 0.85

Tested by

no test coverage detected