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

Function currentSteps

extensions/java-modernization-studio/autopilot.mjs:22–27  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

20
21/** The checklist Autopilot follows: progress.md when present, else plan.md. */
22export function currentSteps(state) {
23 if (!state) return [];
24 if (state.progress && state.progress.steps && state.progress.steps.length) return state.progress.steps;
25 if (state.plan && state.plan.steps) return state.plan.steps;
26 return [];
27}
28
29/** Stable identity for a step across re-scans (phase + title). */
30export function stepKey(step) {

Callers 2

selectNextStepFunction · 0.85
isStepDoneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected