thrivekit 2.0.0 → 2.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thrivekit",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "Tools to thrive with agentic coding - RALPH autonomous loop, Claude Code hooks, PRD-driven development",
5
5
  "author": "Allie Jones <allie@allthrive.ai>",
6
6
  "license": "MIT",
package/ralph/setup.sh CHANGED
@@ -7,31 +7,9 @@ ralph_setup() {
7
7
  echo "Setting up thrivekit..."
8
8
  echo ""
9
9
 
10
- # Find the package root (where thrivekit is installed)
11
- local pkg_root=""
12
-
13
- # Check common locations
14
- if [[ -d "node_modules/thrivekit" ]]; then
15
- pkg_root="node_modules/thrivekit"
16
- elif [[ -d "apps/web/node_modules/thrivekit" ]]; then
17
- pkg_root="apps/web/node_modules/thrivekit"
18
- elif [[ -d "apps/frontend/node_modules/thrivekit" ]]; then
19
- pkg_root="apps/frontend/node_modules/thrivekit"
20
- elif [[ -d "frontend/node_modules/thrivekit" ]]; then
21
- pkg_root="frontend/node_modules/thrivekit"
22
- else
23
- # Search for it
24
- pkg_root=$(find . -path "*/node_modules/thrivekit" -type d 2>/dev/null | head -1)
25
- fi
26
-
27
- if [[ -z "$pkg_root" || ! -d "$pkg_root" ]]; then
28
- print_error "thrivekit not found in node_modules."
29
- echo "Run: npm install thrivekit"
30
- return 1
31
- fi
32
-
33
- # Convert to absolute path
34
- pkg_root="$(cd "$pkg_root" && pwd)"
10
+ # Package root is relative to this script (works with npx and local installs)
11
+ local pkg_root
12
+ pkg_root="$(cd "$RALPH_LIB/.." && pwd)"
35
13
  echo "Found package at: $pkg_root"
36
14
  echo ""
37
15
 
@@ -1,75 +0,0 @@
1
- {
2
- "hooks": {
3
- "PreToolUse": [
4
- {
5
- "matcher": "Edit|Write",
6
- "hooks": [
7
- {
8
- "type": "command",
9
- "command": "/Users/allierays/Sites/vibe-and-thrive/ralph/hooks/protect-prd.sh",
10
- "timeout": 5
11
- }
12
- ]
13
- }
14
- ],
15
- "PostToolUse": [
16
- {
17
- "matcher": "Edit|Write",
18
- "hooks": [
19
- {
20
- "type": "command",
21
- "command": "/Users/allierays/Sites/vibe-and-thrive/ralph/hooks/warn-debug.sh",
22
- "timeout": 5
23
- },
24
- {
25
- "type": "command",
26
- "command": "/Users/allierays/Sites/vibe-and-thrive/ralph/hooks/warn-secrets.sh",
27
- "timeout": 5
28
- },
29
- {
30
- "type": "command",
31
- "command": "/Users/allierays/Sites/vibe-and-thrive/ralph/hooks/warn-urls.sh",
32
- "timeout": 5
33
- },
34
- {
35
- "type": "command",
36
- "command": "/Users/allierays/Sites/vibe-and-thrive/ralph/hooks/warn-empty-catch.sh",
37
- "timeout": 5
38
- }
39
- ]
40
- },
41
- {
42
- "matcher": "*",
43
- "hooks": [
44
- {
45
- "type": "command",
46
- "command": "/Users/allierays/Sites/vibe-and-thrive/ralph/hooks/log-tools.sh",
47
- "timeout": 3
48
- }
49
- ]
50
- }
51
- ],
52
- "SessionStart": [
53
- {
54
- "hooks": [
55
- {
56
- "type": "command",
57
- "command": "/Users/allierays/Sites/vibe-and-thrive/ralph/hooks/inject-context.sh",
58
- "timeout": 5
59
- }
60
- ]
61
- }
62
- ],
63
- "Stop": [
64
- {
65
- "hooks": [
66
- {
67
- "type": "command",
68
- "command": "/Users/allierays/Sites/vibe-and-thrive/ralph/hooks/save-learnings.sh",
69
- "timeout": 10
70
- }
71
- ]
72
- }
73
- ]
74
- }
75
- }
@@ -1,12 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "WebFetch(domain:x.com)",
5
- "WebSearch",
6
- "WebFetch(domain:creatoreconomy.so)",
7
- "Bash(cat:*)"
8
- ],
9
- "deny": [],
10
- "ask": []
11
- }
12
- }