oh-my-claude-sisyphus 3.8.10 → 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 (46) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/dist/features/continuation-enforcement.js +1 -1
  4. package/dist/features/continuation-enforcement.js.map +1 -1
  5. package/dist/hooks/bridge.d.ts.map +1 -1
  6. package/dist/hooks/bridge.js +62 -78
  7. package/dist/hooks/bridge.js.map +1 -1
  8. package/dist/hooks/keyword-detector/__tests__/index.test.js +89 -1
  9. package/dist/hooks/keyword-detector/__tests__/index.test.js.map +1 -1
  10. package/dist/hooks/keyword-detector/index.d.ts +5 -1
  11. package/dist/hooks/keyword-detector/index.d.ts.map +1 -1
  12. package/dist/hooks/keyword-detector/index.js +32 -11
  13. package/dist/hooks/keyword-detector/index.js.map +1 -1
  14. package/dist/hooks/persistent-mode/index.d.ts +2 -1
  15. package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
  16. package/dist/hooks/persistent-mode/index.js +7 -17
  17. package/dist/hooks/persistent-mode/index.js.map +1 -1
  18. package/dist/hooks/todo-continuation/index.d.ts.map +1 -1
  19. package/dist/hooks/todo-continuation/index.js +2 -15
  20. package/dist/hooks/todo-continuation/index.js.map +1 -1
  21. package/dist/installer/hooks.d.ts +8 -111
  22. package/dist/installer/hooks.d.ts.map +1 -1
  23. package/dist/installer/hooks.js +11 -124
  24. package/dist/installer/hooks.js.map +1 -1
  25. package/dist/installer/index.d.ts +2 -10
  26. package/dist/installer/index.d.ts.map +1 -1
  27. package/dist/installer/index.js +10 -23
  28. package/dist/installer/index.js.map +1 -1
  29. package/package.json +1 -1
  30. package/scripts/keyword-detector.mjs +140 -59
  31. package/scripts/persistent-mode.mjs +26 -53
  32. package/templates/hooks/keyword-detector.mjs +280 -118
  33. package/templates/hooks/persistent-mode.mjs +26 -53
  34. package/templates/hooks/stop-continuation.mjs +6 -158
  35. package/hooks/keyword-detector.sh +0 -102
  36. package/hooks/persistent-mode.sh +0 -172
  37. package/hooks/session-start.sh +0 -62
  38. package/hooks/stop-continuation.sh +0 -40
  39. package/scripts/claude-sisyphus.sh +0 -9
  40. package/scripts/install.sh +0 -1673
  41. package/scripts/keyword-detector.sh +0 -71
  42. package/scripts/persistent-mode.sh +0 -311
  43. package/scripts/post-tool-verifier.sh +0 -196
  44. package/scripts/pre-tool-enforcer.sh +0 -76
  45. package/scripts/sisyphus-aliases.sh +0 -18
  46. 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