INNER CODE UNIT · TypeScript
ordered
synthetic-sciences/openscience · backend/cli/src/command/index.ts:73
const ordered = [...new Set(numbered)].sort((a, b) => Number(a.slice(1)) - Number(b.slice(1)))
for (const match of ordered) result.push(match)
}
if (template.includes("$ARGUMENTS")) result.push("$ARGUMENTS")
return result
}
export const Default = {
INIT: "init",
PLAN: "plan",
GOAL: "goal",
REVIEW: "review",
REPRODUCE: "reproduce",
LITERATURE: "literature",
STOP: "stop",
COMPACT: "compact",
HANDOFF: "handoff",
CHECKPOINT: "checkpoint",