oh-my-claude-sisyphus 1.9.0 → 1.10.2
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/agents/definitions.js +1 -1
- package/dist/agents/orchestrator-sisyphus.js +1 -1
- package/dist/features/auto-update.d.ts +20 -0
- package/dist/features/auto-update.d.ts.map +1 -1
- package/dist/features/auto-update.js +35 -0
- package/dist/features/auto-update.js.map +1 -1
- package/dist/features/builtin-skills/skills.d.ts.map +1 -1
- package/dist/features/builtin-skills/skills.js +146 -13
- package/dist/features/builtin-skills/skills.js.map +1 -1
- package/dist/hooks/bridge.d.ts +1 -1
- package/dist/hooks/bridge.d.ts.map +1 -1
- package/dist/hooks/bridge.js +97 -1
- package/dist/hooks/bridge.js.map +1 -1
- package/dist/hooks/index.d.ts +4 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +12 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/persistent-mode/index.d.ts +40 -0
- package/dist/hooks/persistent-mode/index.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/index.js +322 -0
- package/dist/hooks/persistent-mode/index.js.map +1 -0
- package/dist/hooks/plugin-patterns/index.d.ts +107 -0
- package/dist/hooks/plugin-patterns/index.d.ts.map +1 -0
- package/dist/hooks/plugin-patterns/index.js +286 -0
- package/dist/hooks/plugin-patterns/index.js.map +1 -0
- package/dist/hooks/preemptive-compaction/index.js +2 -2
- package/dist/hooks/preemptive-compaction/index.js.map +1 -1
- package/dist/hooks/ralph-verifier/index.d.ts +72 -0
- package/dist/hooks/ralph-verifier/index.d.ts.map +1 -0
- package/dist/hooks/ralph-verifier/index.js +223 -0
- package/dist/hooks/ralph-verifier/index.js.map +1 -0
- package/dist/hooks/thinking-block-validator/index.d.ts +3 -34
- package/dist/hooks/thinking-block-validator/index.d.ts.map +1 -1
- package/dist/hooks/thinking-block-validator/index.js +21 -70
- package/dist/hooks/thinking-block-validator/index.js.map +1 -1
- package/dist/hooks/ultrawork-state/index.d.ts +60 -0
- package/dist/hooks/ultrawork-state/index.d.ts.map +1 -0
- package/dist/hooks/ultrawork-state/index.js +207 -0
- package/dist/hooks/ultrawork-state/index.js.map +1 -0
- package/dist/installer/hooks.d.ts +38 -2
- package/dist/installer/hooks.d.ts.map +1 -1
- package/dist/installer/hooks.js +682 -8
- package/dist/installer/hooks.js.map +1 -1
- package/dist/installer/index.d.ts.map +1 -1
- package/dist/installer/index.js +126 -10
- package/dist/installer/index.js.map +1 -1
- package/dist/tools/ast-tools.d.ts +3 -3
- package/dist/tools/ast-tools.d.ts.map +1 -1
- package/dist/tools/ast-tools.js +205 -104
- package/dist/tools/ast-tools.js.map +1 -1
- package/package.json +1 -1
- package/scripts/install.sh +70 -3
- package/scripts/uninstall.sh +116 -3
package/scripts/uninstall.sh
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
2
|
# Oh-My-Claude-Sisyphus Uninstaller
|
|
3
|
+
# Completely removes all Sisyphus-installed files and configurations
|
|
3
4
|
|
|
4
5
|
set -e
|
|
5
6
|
|
|
@@ -15,9 +16,17 @@ echo ""
|
|
|
15
16
|
# Claude Code config directory (always ~/.claude)
|
|
16
17
|
CLAUDE_CONFIG_DIR="$HOME/.claude"
|
|
17
18
|
|
|
18
|
-
echo "This will remove Sisyphus
|
|
19
|
+
echo "This will remove ALL Sisyphus components from:"
|
|
19
20
|
echo " $CLAUDE_CONFIG_DIR"
|
|
20
21
|
echo ""
|
|
22
|
+
echo "Components to be removed:"
|
|
23
|
+
echo " - Agents (oracle, librarian, explore, etc.)"
|
|
24
|
+
echo " - Commands (sisyphus, ultrawork, plan, etc.)"
|
|
25
|
+
echo " - Skills (ultrawork, git-master, frontend-ui-ux)"
|
|
26
|
+
echo " - Hooks (keyword-detector, silent-auto-update, stop-continuation)"
|
|
27
|
+
echo " - Version and state files"
|
|
28
|
+
echo " - Hook configurations from settings.json"
|
|
29
|
+
echo ""
|
|
21
30
|
read -p "Continue? (y/N) " -n 1 -r
|
|
22
31
|
echo
|
|
23
32
|
|
|
@@ -26,6 +35,7 @@ if [[ ! $REPLY =~ ^[Yy]$ ]]; then
|
|
|
26
35
|
exit 0
|
|
27
36
|
fi
|
|
28
37
|
|
|
38
|
+
# Remove agents
|
|
29
39
|
echo -e "${BLUE}Removing agents...${NC}"
|
|
30
40
|
rm -f "$CLAUDE_CONFIG_DIR/agents/oracle.md"
|
|
31
41
|
rm -f "$CLAUDE_CONFIG_DIR/agents/librarian.md"
|
|
@@ -33,15 +43,118 @@ rm -f "$CLAUDE_CONFIG_DIR/agents/explore.md"
|
|
|
33
43
|
rm -f "$CLAUDE_CONFIG_DIR/agents/frontend-engineer.md"
|
|
34
44
|
rm -f "$CLAUDE_CONFIG_DIR/agents/document-writer.md"
|
|
35
45
|
rm -f "$CLAUDE_CONFIG_DIR/agents/multimodal-looker.md"
|
|
46
|
+
rm -f "$CLAUDE_CONFIG_DIR/agents/momus.md"
|
|
47
|
+
rm -f "$CLAUDE_CONFIG_DIR/agents/metis.md"
|
|
48
|
+
rm -f "$CLAUDE_CONFIG_DIR/agents/orchestrator-sisyphus.md"
|
|
49
|
+
rm -f "$CLAUDE_CONFIG_DIR/agents/sisyphus-junior.md"
|
|
50
|
+
rm -f "$CLAUDE_CONFIG_DIR/agents/prometheus.md"
|
|
36
51
|
|
|
52
|
+
# Remove commands
|
|
37
53
|
echo -e "${BLUE}Removing commands...${NC}"
|
|
38
54
|
rm -f "$CLAUDE_CONFIG_DIR/commands/sisyphus.md"
|
|
39
55
|
rm -f "$CLAUDE_CONFIG_DIR/commands/sisyphus-default.md"
|
|
40
56
|
rm -f "$CLAUDE_CONFIG_DIR/commands/ultrawork.md"
|
|
41
57
|
rm -f "$CLAUDE_CONFIG_DIR/commands/deepsearch.md"
|
|
42
58
|
rm -f "$CLAUDE_CONFIG_DIR/commands/analyze.md"
|
|
59
|
+
rm -f "$CLAUDE_CONFIG_DIR/commands/plan.md"
|
|
60
|
+
rm -f "$CLAUDE_CONFIG_DIR/commands/review.md"
|
|
61
|
+
rm -f "$CLAUDE_CONFIG_DIR/commands/prometheus.md"
|
|
62
|
+
rm -f "$CLAUDE_CONFIG_DIR/commands/orchestrator.md"
|
|
63
|
+
rm -f "$CLAUDE_CONFIG_DIR/commands/ralph-loop.md"
|
|
64
|
+
rm -f "$CLAUDE_CONFIG_DIR/commands/cancel-ralph.md"
|
|
65
|
+
rm -f "$CLAUDE_CONFIG_DIR/commands/update.md"
|
|
66
|
+
|
|
67
|
+
# Remove skills
|
|
68
|
+
echo -e "${BLUE}Removing skills...${NC}"
|
|
69
|
+
rm -rf "$CLAUDE_CONFIG_DIR/skills/ultrawork"
|
|
70
|
+
rm -rf "$CLAUDE_CONFIG_DIR/skills/git-master"
|
|
71
|
+
rm -rf "$CLAUDE_CONFIG_DIR/skills/frontend-ui-ux"
|
|
72
|
+
|
|
73
|
+
# Remove hooks
|
|
74
|
+
echo -e "${BLUE}Removing hooks...${NC}"
|
|
75
|
+
rm -f "$CLAUDE_CONFIG_DIR/hooks/keyword-detector.sh"
|
|
76
|
+
rm -f "$CLAUDE_CONFIG_DIR/hooks/stop-continuation.sh"
|
|
77
|
+
rm -f "$CLAUDE_CONFIG_DIR/hooks/silent-auto-update.sh"
|
|
78
|
+
|
|
79
|
+
# Remove version, state, and config files
|
|
80
|
+
echo -e "${BLUE}Removing state and config files...${NC}"
|
|
81
|
+
rm -f "$CLAUDE_CONFIG_DIR/.sisyphus-version.json"
|
|
82
|
+
rm -f "$CLAUDE_CONFIG_DIR/.sisyphus-silent-update.json"
|
|
83
|
+
rm -f "$CLAUDE_CONFIG_DIR/.sisyphus-update.log"
|
|
84
|
+
rm -f "$CLAUDE_CONFIG_DIR/.sisyphus-config.json"
|
|
85
|
+
|
|
86
|
+
# Remove hook configurations from settings.json
|
|
87
|
+
SETTINGS_FILE="$CLAUDE_CONFIG_DIR/settings.json"
|
|
88
|
+
if [ -f "$SETTINGS_FILE" ] && command -v jq &> /dev/null; then
|
|
89
|
+
echo -e "${BLUE}Removing hook configurations from settings.json...${NC}"
|
|
90
|
+
|
|
91
|
+
# Create a backup
|
|
92
|
+
cp "$SETTINGS_FILE" "$SETTINGS_FILE.bak"
|
|
93
|
+
|
|
94
|
+
# Remove Sisyphus-specific hooks from settings.json
|
|
95
|
+
# This removes hooks that reference sisyphus hook scripts
|
|
96
|
+
TEMP_SETTINGS=$(mktemp)
|
|
97
|
+
|
|
98
|
+
# Use jq to filter out Sisyphus hooks
|
|
99
|
+
jq '
|
|
100
|
+
# Remove Sisyphus hooks from UserPromptSubmit
|
|
101
|
+
if .hooks.UserPromptSubmit then
|
|
102
|
+
.hooks.UserPromptSubmit |= map(
|
|
103
|
+
if .hooks then
|
|
104
|
+
.hooks |= map(select(.command | (contains("keyword-detector.sh") or contains("silent-auto-update.sh") or contains("stop-continuation.sh")) | not))
|
|
105
|
+
else .
|
|
106
|
+
end
|
|
107
|
+
) | .hooks.UserPromptSubmit |= map(select(.hooks | length > 0))
|
|
108
|
+
else . end |
|
|
109
|
+
|
|
110
|
+
# Remove Sisyphus hooks from Stop
|
|
111
|
+
if .hooks.Stop then
|
|
112
|
+
.hooks.Stop |= map(
|
|
113
|
+
if .hooks then
|
|
114
|
+
.hooks |= map(select(.command | (contains("keyword-detector.sh") or contains("silent-auto-update.sh") or contains("stop-continuation.sh")) | not))
|
|
115
|
+
else .
|
|
116
|
+
end
|
|
117
|
+
) | .hooks.Stop |= map(select(.hooks | length > 0))
|
|
118
|
+
else . end |
|
|
119
|
+
|
|
120
|
+
# Clean up empty hooks sections
|
|
121
|
+
if .hooks.UserPromptSubmit == [] then del(.hooks.UserPromptSubmit) else . end |
|
|
122
|
+
if .hooks.Stop == [] then del(.hooks.Stop) else . end |
|
|
123
|
+
if .hooks == {} then del(.hooks) else . end
|
|
124
|
+
' "$SETTINGS_FILE" > "$TEMP_SETTINGS" 2>/dev/null
|
|
125
|
+
|
|
126
|
+
if [ $? -eq 0 ] && [ -s "$TEMP_SETTINGS" ]; then
|
|
127
|
+
mv "$TEMP_SETTINGS" "$SETTINGS_FILE"
|
|
128
|
+
echo -e "${GREEN}✓ Removed Sisyphus hooks from settings.json${NC}"
|
|
129
|
+
echo -e "${YELLOW} Backup saved to: $SETTINGS_FILE.bak${NC}"
|
|
130
|
+
else
|
|
131
|
+
rm -f "$TEMP_SETTINGS"
|
|
132
|
+
echo -e "${YELLOW}⚠ Could not modify settings.json automatically${NC}"
|
|
133
|
+
echo " Please manually remove Sisyphus hooks from the 'hooks' section"
|
|
134
|
+
fi
|
|
135
|
+
else
|
|
136
|
+
if [ -f "$SETTINGS_FILE" ]; then
|
|
137
|
+
echo -e "${YELLOW}⚠ jq not installed - cannot auto-remove hooks from settings.json${NC}"
|
|
138
|
+
echo " Please manually edit $SETTINGS_FILE and remove the following hooks:"
|
|
139
|
+
echo " - keyword-detector.sh"
|
|
140
|
+
echo " - silent-auto-update.sh"
|
|
141
|
+
echo " - stop-continuation.sh"
|
|
142
|
+
fi
|
|
143
|
+
fi
|
|
144
|
+
|
|
145
|
+
# Remove .sisyphus directory if it exists (plans, notepads, drafts)
|
|
146
|
+
if [ -d "$CLAUDE_CONFIG_DIR/../.sisyphus" ] || [ -d ".sisyphus" ]; then
|
|
147
|
+
echo -e "${YELLOW}Note: .sisyphus directory (plans/notepads) was not removed.${NC}"
|
|
148
|
+
echo " To remove project plans and notepads, run:"
|
|
149
|
+
echo " rm -rf .sisyphus"
|
|
150
|
+
fi
|
|
43
151
|
|
|
44
152
|
echo ""
|
|
45
153
|
echo -e "${GREEN}Uninstallation complete!${NC}"
|
|
46
|
-
echo
|
|
47
|
-
echo "
|
|
154
|
+
echo ""
|
|
155
|
+
echo -e "${YELLOW}Items NOT removed (manual cleanup if desired):${NC}"
|
|
156
|
+
echo " - CLAUDE.md: rm $CLAUDE_CONFIG_DIR/CLAUDE.md"
|
|
157
|
+
echo " - settings.json backup: rm $CLAUDE_CONFIG_DIR/settings.json.bak"
|
|
158
|
+
echo ""
|
|
159
|
+
echo "To verify complete removal, check:"
|
|
160
|
+
echo " ls -la $CLAUDE_CONFIG_DIR/"
|