sisyphi 1.1.9 → 1.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -839,15 +839,7 @@ function computeLastActivity(session) {
839
839
  if (timestamps.length === 0) return null;
840
840
  return new Date(Math.max(...timestamps));
841
841
  }
842
- function readRoadmapTodos(cwd, sessionId) {
843
- try {
844
- const content = readFileSync3(roadmapPath(cwd, sessionId), "utf8");
845
- return content.split("\n").filter((line) => /^\s*- \[ \]/.test(line)).map((line) => line.replace(/^\s*- \[ \]\s*/, "")).slice(0, 5);
846
- } catch {
847
- return [];
848
- }
849
- }
850
- function readFullRoadmap(cwd, sessionId) {
842
+ function readRoadmap(cwd, sessionId) {
851
843
  try {
852
844
  return readFileSync3(roadmapPath(cwd, sessionId), "utf8");
853
845
  } catch {
@@ -908,22 +900,11 @@ ${BOLD}Active agents (${runningAgents.length}):${RESET}`);
908
900
  }
909
901
  }
910
902
  }
911
- if (verbose) {
912
- const roadmap = readFullRoadmap(session.cwd, session.id);
913
- if (roadmap) {
914
- console.log(`
903
+ const roadmap = readRoadmap(session.cwd, session.id);
904
+ if (roadmap) {
905
+ console.log(`
915
906
  ${BOLD}Roadmap:${RESET}`);
916
- console.log(roadmap);
917
- }
918
- } else {
919
- const todos = readRoadmapTodos(session.cwd, session.id);
920
- if (todos.length > 0) {
921
- console.log(`
922
- ${BOLD}Remaining (${todos.length} unchecked):${RESET}`);
923
- for (const todo of todos) {
924
- console.log(` - ${todo}`);
925
- }
926
- }
907
+ console.log(roadmap);
927
908
  }
928
909
  if (session.orchestratorCycles.length > 0) {
929
910
  console.log(`