oh-my-claude-sisyphus 3.8.11 → 3.8.12

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.
Files changed (37) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/dist/features/continuation-enforcement.js +1 -1
  3. package/dist/features/continuation-enforcement.js.map +1 -1
  4. package/dist/hooks/bridge.d.ts.map +1 -1
  5. package/dist/hooks/bridge.js +6 -29
  6. package/dist/hooks/bridge.js.map +1 -1
  7. package/dist/hooks/persistent-mode/index.d.ts +2 -1
  8. package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
  9. package/dist/hooks/persistent-mode/index.js +7 -17
  10. package/dist/hooks/persistent-mode/index.js.map +1 -1
  11. package/dist/hooks/todo-continuation/index.d.ts.map +1 -1
  12. package/dist/hooks/todo-continuation/index.js +2 -15
  13. package/dist/hooks/todo-continuation/index.js.map +1 -1
  14. package/dist/installer/hooks.d.ts +8 -111
  15. package/dist/installer/hooks.d.ts.map +1 -1
  16. package/dist/installer/hooks.js +11 -124
  17. package/dist/installer/hooks.js.map +1 -1
  18. package/dist/installer/index.d.ts +2 -10
  19. package/dist/installer/index.d.ts.map +1 -1
  20. package/dist/installer/index.js +10 -23
  21. package/dist/installer/index.js.map +1 -1
  22. package/package.json +1 -1
  23. package/scripts/persistent-mode.mjs +26 -53
  24. package/templates/hooks/persistent-mode.mjs +26 -53
  25. package/templates/hooks/stop-continuation.mjs +6 -158
  26. package/hooks/keyword-detector.sh +0 -102
  27. package/hooks/persistent-mode.sh +0 -172
  28. package/hooks/session-start.sh +0 -62
  29. package/hooks/stop-continuation.sh +0 -40
  30. package/scripts/claude-sisyphus.sh +0 -9
  31. package/scripts/install.sh +0 -1673
  32. package/scripts/keyword-detector.sh +0 -71
  33. package/scripts/persistent-mode.sh +0 -311
  34. package/scripts/post-tool-verifier.sh +0 -196
  35. package/scripts/pre-tool-enforcer.sh +0 -76
  36. package/scripts/sisyphus-aliases.sh +0 -18
  37. package/scripts/stop-continuation.sh +0 -31
@@ -1,31 +0,0 @@
1
- #!/bin/bash
2
- # Sisyphus Stop Continuation Hook
3
- # Checks for incomplete todos and injects continuation prompt
4
-
5
- # Read stdin
6
- INPUT=$(cat)
7
-
8
- # Check for incomplete todos in the Claude todos directory
9
- TODOS_DIR="$HOME/.claude/todos"
10
- if [ -d "$TODOS_DIR" ]; then
11
- INCOMPLETE_COUNT=0
12
- for todo_file in "$TODOS_DIR"/*.json; do
13
- if [ -f "$todo_file" ]; then
14
- if command -v jq &> /dev/null; then
15
- COUNT=$(jq '[.[] | select(.status != "completed" and .status != "cancelled")] | length' "$todo_file" 2>/dev/null || echo "0")
16
- INCOMPLETE_COUNT=$((INCOMPLETE_COUNT + COUNT))
17
- fi
18
- fi
19
- done
20
-
21
- if [ "$INCOMPLETE_COUNT" -gt 0 ]; then
22
- cat << EOF
23
- {"continue": false, "reason": "[SYSTEM REMINDER - TODO CONTINUATION]\n\nIncomplete tasks remain in your todo list ($INCOMPLETE_COUNT remaining). Continue working on the next pending task.\n\n- Proceed without asking for permission\n- Mark each task complete when finished\n- Do not stop until all tasks are done"}
24
- EOF
25
- exit 0
26
- fi
27
- fi
28
-
29
- # No incomplete todos - allow stop
30
- echo '{"continue": true}'
31
- exit 0