vibe-forge 0.4.0 → 0.8.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.
Files changed (129) hide show
  1. package/.claude/commands/clear-attention.md +63 -63
  2. package/.claude/commands/compact-context.md +52 -0
  3. package/.claude/commands/configure-vcs.md +5 -5
  4. package/.claude/commands/forge.md +50 -3
  5. package/.claude/commands/need-help.md +77 -77
  6. package/.claude/commands/update-status.md +64 -64
  7. package/.claude/commands/worker-loop.md +106 -106
  8. package/.claude/hooks/worker-loop.js +37 -4
  9. package/.claude/scripts/setup-worker-loop.sh +45 -45
  10. package/.claude/settings.json +89 -0
  11. package/LICENSE +21 -21
  12. package/README.md +211 -232
  13. package/agents/aegis/personality.md +35 -1
  14. package/agents/anvil/personality.md +39 -1
  15. package/agents/architect/personality.md +26 -0
  16. package/agents/crucible/personality.md +54 -1
  17. package/agents/crucible-x/personality.md +210 -0
  18. package/agents/ember/personality.md +29 -1
  19. package/agents/flux/personality.md +248 -0
  20. package/agents/furnace/personality.md +52 -1
  21. package/agents/herald/personality.md +3 -1
  22. package/agents/loki/personality.md +108 -0
  23. package/agents/oracle/personality.md +284 -0
  24. package/agents/pixel/personality.md +140 -0
  25. package/agents/planning-hub/personality.md +222 -0
  26. package/agents/scribe/personality.md +3 -1
  27. package/agents/slag/personality.md +268 -0
  28. package/agents/{sentinel → temper}/personality.md +85 -9
  29. package/bin/cli.js +77 -30
  30. package/bin/dashboard/api/agents.js +333 -0
  31. package/bin/dashboard/api/dispatch.js +507 -0
  32. package/bin/dashboard/api/tasks.js +416 -0
  33. package/bin/dashboard/public/assets/index-BpHfsx1r.js +2 -0
  34. package/bin/dashboard/public/assets/index-QODv4Zn9.css +1 -0
  35. package/bin/dashboard/public/index.html +14 -0
  36. package/bin/dashboard/server.js +645 -0
  37. package/bin/forge-daemon.sh +176 -550
  38. package/bin/forge-setup.sh +28 -11
  39. package/bin/forge-spawn.sh +5 -5
  40. package/bin/forge.cmd +83 -83
  41. package/bin/forge.sh +210 -31
  42. package/config/agent-manifest.yaml +237 -243
  43. package/config/agents.json +207 -132
  44. package/config/task-types.yaml +111 -106
  45. package/context/agent-overrides/README.md +41 -0
  46. package/context/architecture.md +42 -0
  47. package/context/modern-conventions.md +129 -129
  48. package/docs/agents.md +473 -409
  49. package/docs/architecture.md +194 -162
  50. package/docs/commands.md +451 -388
  51. package/docs/security.md +195 -144
  52. package/package.json +38 -11
  53. package/src/lib/check-aliases.js +50 -0
  54. package/{bin → src}/lib/colors.sh +2 -1
  55. package/src/lib/config.sh +347 -0
  56. package/{bin → src}/lib/constants.sh +48 -13
  57. package/src/lib/daemon/budgets.sh +107 -0
  58. package/src/lib/daemon/dependencies.sh +146 -0
  59. package/src/lib/daemon/display.sh +128 -0
  60. package/src/lib/daemon/notifications.sh +273 -0
  61. package/src/lib/daemon/routing.sh +93 -0
  62. package/src/lib/daemon/state.sh +163 -0
  63. package/src/lib/daemon/sync.sh +103 -0
  64. package/{bin → src}/lib/database.sh +52 -0
  65. package/src/lib/frontmatter.js +106 -0
  66. package/src/lib/heimdall-setup.js +113 -0
  67. package/src/lib/heimdall.js +265 -0
  68. package/src/lib/index.sh +25 -0
  69. package/{bin → src}/lib/json.sh +7 -1
  70. package/{bin → src}/lib/terminal.js +7 -1
  71. package/.claude/settings.local.json +0 -33
  72. package/agents/forge-master/capabilities.md +0 -144
  73. package/agents/forge-master/context-template.md +0 -128
  74. package/agents/forge-master/personality.md +0 -138
  75. package/bin/lib/config.sh +0 -313
  76. package/config/task-template.md +0 -87
  77. package/context/forge-state.yaml +0 -19
  78. package/docs/TODO.md +0 -150
  79. package/docs/getting-started.md +0 -243
  80. package/docs/npm-publishing.md +0 -95
  81. package/docs/workflows/README.md +0 -32
  82. package/docs/workflows/azure-devops.md +0 -108
  83. package/docs/workflows/bitbucket.md +0 -104
  84. package/docs/workflows/git-only.md +0 -130
  85. package/docs/workflows/gitea.md +0 -168
  86. package/docs/workflows/github.md +0 -103
  87. package/docs/workflows/gitlab.md +0 -105
  88. package/docs/workflows.md +0 -454
  89. package/tasks/completed/ARCH-001-duplicate-agent-config.md +0 -121
  90. package/tasks/completed/ARCH-002-mixed-bash-node-implementation.md +0 -88
  91. package/tasks/completed/ARCH-003-worker-loop-hook-duplication.md +0 -77
  92. package/tasks/completed/ARCH-009-test-organization.md +0 -78
  93. package/tasks/completed/ARCH-011-jq-vs-nodejs-json.md +0 -94
  94. package/tasks/completed/ARCH-012-tmp-files-in-root.md +0 -71
  95. package/tasks/completed/ARCH-013-exit-code-constants.md +0 -65
  96. package/tasks/completed/ARCH-014-sed-incompatibility.md +0 -96
  97. package/tasks/completed/ARCH-015-docs-todo-tracking.md +0 -83
  98. package/tasks/completed/CLEAN-001.md +0 -38
  99. package/tasks/completed/CLEAN-003.md +0 -47
  100. package/tasks/completed/CLEAN-004.md +0 -56
  101. package/tasks/completed/CLEAN-005.md +0 -75
  102. package/tasks/completed/CLEAN-006.md +0 -47
  103. package/tasks/completed/CLEAN-007.md +0 -34
  104. package/tasks/completed/CLEAN-008.md +0 -49
  105. package/tasks/completed/CLEAN-012.md +0 -58
  106. package/tasks/completed/CLEAN-013.md +0 -45
  107. package/tasks/completed/SEC-001-sql-injection-fix.md +0 -58
  108. package/tasks/completed/SEC-002-notification-injection-fix.md +0 -45
  109. package/tasks/completed/SEC-003-eval-injection-fix.md +0 -54
  110. package/tasks/completed/SEC-004-pid-race-condition-fix.md +0 -49
  111. package/tasks/completed/SEC-005-worker-loop-path-fix.md +0 -51
  112. package/tasks/completed/SEC-006-eval-agent-names.md +0 -55
  113. package/tasks/completed/SEC-007-spawn-escaping.md +0 -67
  114. package/tasks/pending/ARCH-004-git-bash-detection-duplication.md +0 -72
  115. package/tasks/pending/ARCH-005-missing-src-directory.md +0 -95
  116. package/tasks/pending/ARCH-006-task-template-location.md +0 -64
  117. package/tasks/pending/ARCH-007-daemon-monolith.md +0 -91
  118. package/tasks/pending/ARCH-008-forge-master-vs-hub.md +0 -81
  119. package/tasks/pending/ARCH-010-missing-index-files.md +0 -84
  120. package/tasks/pending/CLEAN-002.md +0 -29
  121. package/tasks/pending/CLEAN-009.md +0 -31
  122. package/tasks/pending/CLEAN-010.md +0 -30
  123. package/tasks/pending/CLEAN-011.md +0 -30
  124. package/tasks/pending/CLEAN-014.md +0 -32
  125. package/tasks/review/task-001.md +0 -78
  126. /package/{bin → src}/lib/agents.sh +0 -0
  127. /package/{bin → src}/lib/util.sh +0 -0
  128. /package/{bin → src}/lib/vcs.js +0 -0
  129. /package/{context → templates}/project-context-template.md +0 -0
@@ -1,106 +1,106 @@
1
- ---
2
- description: Start a persistent worker loop (Ralph-style)
3
- argument-hint: <agent> [--max-idle 10] | stop
4
- ---
5
-
6
- # Worker Loop Command
7
-
8
- Start a persistent worker loop for the specified agent. The worker will:
9
- 1. Check for assigned tasks
10
- 2. Work on tasks until complete
11
- 3. Loop back and check for more tasks
12
- 4. Only exit after N idle checks with no work found
13
-
14
- ## Activation Modes
15
-
16
- Worker Loop can be activated in two ways:
17
-
18
- ### 1. Config-based (Recommended)
19
-
20
- Enable during `forge init` or toggle anytime:
21
-
22
- ```bash
23
- forge config worker-loop on # Enable for all workers
24
- forge config worker-loop off # Disable
25
- forge config worker-loop # Check status
26
- ```
27
-
28
- When enabled, ALL workers will automatically stay running and check for new tasks.
29
-
30
- ### 2. Runtime (Per-session)
31
-
32
- Use this command for fine-grained control:
33
-
34
- ```
35
- /worker-loop anvil # Start Anvil in persistent loop
36
- /worker-loop furnace --max-idle 20 # Custom idle limit
37
- /worker-loop stop # Stop the current loop
38
- ```
39
-
40
- ## Arguments
41
-
42
- - `$1` - Agent name (anvil, furnace, crucible, etc.) or "stop"
43
- - `--max-idle N` - Exit after N checks with no tasks (default: 10)
44
-
45
- ## Implementation
46
-
47
- Based on `$ARGUMENTS`:
48
-
49
- ### If first argument is "stop"
50
-
51
- Remove the worker loop state file and confirm:
52
-
53
- ```bash
54
- rm -f "${CLAUDE_LOCAL_DIR:-$HOME/.claude}/forge-worker-loop.json"
55
- ```
56
-
57
- Output: "Worker loop stopped."
58
-
59
- ### Otherwise, start a loop
60
-
61
- 1. Resolve the agent name to canonical form
62
- 2. Create state file at `${CLAUDE_LOCAL_DIR}/forge-worker-loop.json`:
63
-
64
- ```json
65
- {
66
- "agent": "<resolved-agent>",
67
- "max_idle_checks": 10,
68
- "idle_count": 0,
69
- "poll_interval": 5,
70
- "started_at": "<ISO timestamp>"
71
- }
72
- ```
73
-
74
- 3. Load the agent's personality file
75
- 4. Start working with this system prompt addition:
76
-
77
- ```
78
- You are in PERSISTENT WORKER MODE. After completing each task:
79
- 1. Check for more tasks assigned to you in tasks/pending/ and tasks/needs-changes/
80
- 2. If tasks found, immediately begin working
81
- 3. If no tasks, announce you are idle and waiting
82
-
83
- Do NOT ask permission to continue - work autonomously until no tasks remain.
84
- ```
85
-
86
- 5. The stop hook (hooks/worker-loop.js) will intercept exit attempts and:
87
- - If tasks exist: feed prompt to continue working
88
- - If no tasks: increment idle counter
89
- - If max idle reached: allow exit
90
-
91
- ## How It Works
92
-
93
- The Worker Loop uses Claude Code's **Stop Hook** feature:
94
-
95
- 1. When a worker tries to exit, the hook script runs
96
- 2. It checks for pending tasks in `tasks/pending/` and `tasks/needs-changes/`
97
- 3. If tasks found: blocks exit and feeds a prompt to continue working
98
- 4. If no tasks: allows exit (or waits, depending on config)
99
-
100
- ## Benefits
101
-
102
- - Workers stay active and pick up new tasks automatically
103
- - No need to manually respawn workers
104
- - Tasks can be added to pending/ and workers will find them
105
- - Config-based mode requires zero per-session setup
106
- - Configurable idle timeout prevents infinite waiting
1
+ ---
2
+ description: Start a persistent worker loop (Ralph-style)
3
+ argument-hint: <agent> [--max-idle 10] | stop
4
+ ---
5
+
6
+ # Worker Loop Command
7
+
8
+ Start a persistent worker loop for the specified agent. The worker will:
9
+ 1. Check for assigned tasks
10
+ 2. Work on tasks until complete
11
+ 3. Loop back and check for more tasks
12
+ 4. Only exit after N idle checks with no work found
13
+
14
+ ## Activation Modes
15
+
16
+ Worker Loop can be activated in two ways:
17
+
18
+ ### 1. Config-based (Recommended)
19
+
20
+ Enable during `forge init` or toggle anytime:
21
+
22
+ ```bash
23
+ forge config worker-loop on # Enable for all workers
24
+ forge config worker-loop off # Disable
25
+ forge config worker-loop # Check status
26
+ ```
27
+
28
+ When enabled, ALL workers will automatically stay running and check for new tasks.
29
+
30
+ ### 2. Runtime (Per-session)
31
+
32
+ Use this command for fine-grained control:
33
+
34
+ ```
35
+ /worker-loop anvil # Start Anvil in persistent loop
36
+ /worker-loop furnace --max-idle 20 # Custom idle limit
37
+ /worker-loop stop # Stop the current loop
38
+ ```
39
+
40
+ ## Arguments
41
+
42
+ - `$1` - Agent name (anvil, furnace, crucible, etc.) or "stop"
43
+ - `--max-idle N` - Exit after N checks with no tasks (default: 10)
44
+
45
+ ## Implementation
46
+
47
+ Based on `$ARGUMENTS`:
48
+
49
+ ### If first argument is "stop"
50
+
51
+ Remove the worker loop state file and confirm:
52
+
53
+ ```bash
54
+ rm -f "${CLAUDE_LOCAL_DIR:-$HOME/.claude}/forge-worker-loop.json"
55
+ ```
56
+
57
+ Output: "Worker loop stopped."
58
+
59
+ ### Otherwise, start a loop
60
+
61
+ 1. Resolve the agent name to canonical form
62
+ 2. Create state file at `${CLAUDE_LOCAL_DIR}/forge-worker-loop.json`:
63
+
64
+ ```json
65
+ {
66
+ "agent": "<resolved-agent>",
67
+ "max_idle_checks": 10,
68
+ "idle_count": 0,
69
+ "poll_interval": 5,
70
+ "started_at": "<ISO timestamp>"
71
+ }
72
+ ```
73
+
74
+ 3. Load the agent's personality file
75
+ 4. Start working with this system prompt addition:
76
+
77
+ ```
78
+ You are in PERSISTENT WORKER MODE. After completing each task:
79
+ 1. Check for more tasks assigned to you in tasks/pending/ and tasks/needs-changes/
80
+ 2. If tasks found, immediately begin working
81
+ 3. If no tasks, announce you are idle and waiting
82
+
83
+ Do NOT ask permission to continue - work autonomously until no tasks remain.
84
+ ```
85
+
86
+ 5. The stop hook (hooks/worker-loop.js) will intercept exit attempts and:
87
+ - If tasks exist: feed prompt to continue working
88
+ - If no tasks: increment idle counter
89
+ - If max idle reached: allow exit
90
+
91
+ ## How It Works
92
+
93
+ The Worker Loop uses Claude Code's **Stop Hook** feature:
94
+
95
+ 1. When a worker tries to exit, the hook script runs
96
+ 2. It checks for pending tasks in `tasks/pending/` and `tasks/needs-changes/`
97
+ 3. If tasks found: blocks exit and feeds a prompt to continue working
98
+ 4. If no tasks: allows exit (or waits, depending on config)
99
+
100
+ ## Benefits
101
+
102
+ - Workers stay active and pick up new tasks automatically
103
+ - No need to manually respawn workers
104
+ - Tasks can be added to pending/ and workers will find them
105
+ - Config-based mode requires zero per-session setup
106
+ - Configurable idle timeout prevents infinite waiting
@@ -20,7 +20,23 @@ const os = require('os');
20
20
  // State file location (runtime toggle)
21
21
  const claudeLocalDir = process.env.CLAUDE_LOCAL_DIR || path.join(os.homedir(), '.claude');
22
22
  const stateFile = path.join(claudeLocalDir, 'forge-worker-loop.json');
23
- const forgeRoot = process.env.FORGE_ROOT || process.cwd();
23
+ // SEC-005: Validate FORGE_ROOT to prevent path traversal via attacker-controlled env
24
+ const rawForgeRoot = process.env.FORGE_ROOT || process.cwd();
25
+ const forgeRoot = validateForgeRoot(rawForgeRoot) ? rawForgeRoot : null;
26
+
27
+ function validateForgeRoot(dir) {
28
+ try {
29
+ if (!dir || typeof dir !== 'string') return false;
30
+ // Must be an absolute path to prevent cwd-relative resolution
31
+ if (!path.isAbsolute(dir)) return false;
32
+ // Must contain tasks/ and .forge/ (or config/) to be a valid forge project
33
+ const hasTasksDir = fs.existsSync(path.join(dir, 'tasks'));
34
+ const hasForgeDir = fs.existsSync(path.join(dir, '.forge')) || fs.existsSync(path.join(dir, 'config'));
35
+ return hasTasksDir && hasForgeDir;
36
+ } catch (_) {
37
+ return false;
38
+ }
39
+ }
24
40
 
25
41
  // Helper to safely parse JSON
26
42
  function safeJsonParse(filePath, defaultValue = {}) {
@@ -75,6 +91,12 @@ function output(result) {
75
91
 
76
92
  // Main logic
77
93
  function main() {
94
+ // SEC-005: Abort safely if forge root is invalid
95
+ if (!forgeRoot) {
96
+ output({ decision: 'allow' });
97
+ return;
98
+ }
99
+
78
100
  let loopActive = false;
79
101
  let workerAgent = '';
80
102
  let maxIdleChecks = 10;
@@ -112,8 +134,16 @@ function main() {
112
134
  return output({ decision: 'approve' });
113
135
  }
114
136
 
137
+ // Determine tasks directory location
138
+ // When running from vibe-forge repo: tasks are at ./tasks/
139
+ // When running from a project using vibe-forge as submodule: tasks are at ./_vibe-forge/tasks/
140
+ let tasksDir = path.join(forgeRoot, 'tasks');
141
+ if (!fs.existsSync(tasksDir)) {
142
+ // Fall back to submodule location
143
+ tasksDir = path.join(forgeRoot, '_vibe-forge', 'tasks');
144
+ }
145
+
115
146
  // Check for pending tasks
116
- const tasksDir = path.join(forgeRoot, '_vibe-forge', 'tasks');
117
147
  let pendingCount = 0;
118
148
  let needsChangesCount = 0;
119
149
 
@@ -133,6 +163,9 @@ function main() {
133
163
 
134
164
  const totalTasks = pendingCount + needsChangesCount;
135
165
 
166
+ // Get relative task path for prompts (relative to forgeRoot)
167
+ const relativeTasksPath = path.relative(forgeRoot, tasksDir);
168
+
136
169
  if (totalTasks > 0) {
137
170
  // Tasks found! Reset idle counter and continue
138
171
  if (fs.existsSync(stateFile)) {
@@ -146,7 +179,7 @@ function main() {
146
179
  return output({
147
180
  decision: 'block',
148
181
  message: `[Forge Loop] Found ${totalTasks} pending task(s). Continuing work...`,
149
- prompt: 'Check _vibe-forge/tasks/pending/ and _vibe-forge/tasks/needs-changes/ for tasks assigned to you and begin working on them immediately.'
182
+ prompt: `Check ${relativeTasksPath}/pending/ and ${relativeTasksPath}/needs-changes/ for tasks assigned to you and begin working on them immediately.`
150
183
  });
151
184
  }
152
185
 
@@ -173,7 +206,7 @@ function main() {
173
206
  return output({
174
207
  decision: 'block',
175
208
  message: `[Forge Loop] No tasks available. Idle check ${idleCount}/${maxIdleChecks}. Waiting...`,
176
- prompt: 'No tasks currently assigned to you. Wait briefly, then check _vibe-forge/tasks/pending/ and _vibe-forge/tasks/needs-changes/ again for new work. If still no tasks, announce you are idle and ready.'
209
+ prompt: `No tasks currently assigned to you. Wait briefly, then check ${relativeTasksPath}/pending/ and ${relativeTasksPath}/needs-changes/ again for new work. If still no tasks, announce you are idle and ready.`
177
210
  });
178
211
  }
179
212
 
@@ -1,45 +1,45 @@
1
- #!/usr/bin/env bash
2
- #
3
- # Setup Worker Loop
4
- # Creates state file to enable the worker loop stop hook
5
- #
6
-
7
- set -euo pipefail
8
-
9
- AGENT="${1:-}"
10
- MAX_IDLE="${2:-10}"
11
- STATE_DIR="${CLAUDE_LOCAL_DIR:-$HOME/.claude}"
12
- STATE_FILE="$STATE_DIR/forge-worker-loop.json"
13
-
14
- if [[ "$AGENT" == "stop" ]]; then
15
- if [[ -f "$STATE_FILE" ]]; then
16
- rm -f "$STATE_FILE"
17
- echo "Worker loop stopped."
18
- else
19
- echo "No active worker loop."
20
- fi
21
- exit 0
22
- fi
23
-
24
- if [[ -z "$AGENT" ]]; then
25
- echo "Usage: setup-worker-loop.sh <agent> [max-idle-checks]"
26
- echo " setup-worker-loop.sh stop"
27
- exit 1
28
- fi
29
-
30
- # Ensure state directory exists
31
- mkdir -p "$STATE_DIR"
32
-
33
- # Create state file
34
- cat > "$STATE_FILE" << EOF
35
- {
36
- "agent": "$AGENT",
37
- "max_idle_checks": $MAX_IDLE,
38
- "idle_count": 0,
39
- "poll_interval": 5,
40
- "started_at": "$(date -u +%Y-%m-%dT%H:%M:%SZ)"
41
- }
42
- EOF
43
-
44
- echo "Worker loop started for $AGENT (max idle: $MAX_IDLE checks)"
45
- echo "State file: $STATE_FILE"
1
+ #!/usr/bin/env bash
2
+ #
3
+ # Setup Worker Loop
4
+ # Creates state file to enable the worker loop stop hook
5
+ #
6
+
7
+ set -euo pipefail
8
+
9
+ AGENT="${1:-}"
10
+ MAX_IDLE="${2:-10}"
11
+ STATE_DIR="${CLAUDE_LOCAL_DIR:-$HOME/.claude}"
12
+ STATE_FILE="$STATE_DIR/forge-worker-loop.json"
13
+
14
+ if [[ "$AGENT" == "stop" ]]; then
15
+ if [[ -f "$STATE_FILE" ]]; then
16
+ rm -f "$STATE_FILE"
17
+ echo "Worker loop stopped."
18
+ else
19
+ echo "No active worker loop."
20
+ fi
21
+ exit 0
22
+ fi
23
+
24
+ if [[ -z "$AGENT" ]]; then
25
+ echo "Usage: setup-worker-loop.sh <agent> [max-idle-checks]"
26
+ echo " setup-worker-loop.sh stop"
27
+ exit 1
28
+ fi
29
+
30
+ # Ensure state directory exists
31
+ mkdir -p "$STATE_DIR"
32
+
33
+ # Create state file
34
+ cat > "$STATE_FILE" << EOF
35
+ {
36
+ "agent": "$AGENT",
37
+ "max_idle_checks": $MAX_IDLE,
38
+ "idle_count": 0,
39
+ "poll_interval": 5,
40
+ "started_at": "$(date -u +%Y-%m-%dT%H:%M:%SZ)"
41
+ }
42
+ EOF
43
+
44
+ echo "Worker loop started for $AGENT (max idle: $MAX_IDLE checks)"
45
+ echo "State file: $STATE_FILE"
@@ -0,0 +1,89 @@
1
+ {
2
+ "_comment": "Project-level permissions for Vibe Forge agents. These allow agents to work without --dangerously-skip-permissions while still gating destructive operations.",
3
+ "permissions": {
4
+ "allow": [
5
+ "Read",
6
+ "Edit",
7
+ "Write",
8
+ "Glob",
9
+ "Grep",
10
+ "Bash(ls:*)",
11
+ "Bash(cat:*)",
12
+ "Bash(head:*)",
13
+ "Bash(tail:*)",
14
+ "Bash(wc:*)",
15
+ "Bash(mkdir:*)",
16
+ "Bash(cp:*)",
17
+ "Bash(mv:*)",
18
+ "Bash(node:*)",
19
+ "Bash(npx:*)",
20
+ "Bash(npm test*)",
21
+ "Bash(npm run*)",
22
+ "Bash(npm ci*)",
23
+ "Bash(npm install*)",
24
+ "Bash(npm audit*)",
25
+ "Bash(npm view*)",
26
+ "Bash(npm version*)",
27
+ "Bash(git status*)",
28
+ "Bash(git diff*)",
29
+ "Bash(git log*)",
30
+ "Bash(git branch*)",
31
+ "Bash(git checkout*)",
32
+ "Bash(git switch*)",
33
+ "Bash(git add*)",
34
+ "Bash(git commit*)",
35
+ "Bash(git pull*)",
36
+ "Bash(git push*)",
37
+ "Bash(git rm*)",
38
+ "Bash(git stash*)",
39
+ "Bash(git show*)",
40
+ "Bash(git merge*)",
41
+ "Bash(git rebase*)",
42
+ "Bash(gh pr*)",
43
+ "Bash(gh run*)",
44
+ "Bash(gh repo*)",
45
+ "Bash(gh workflow*)",
46
+ "Bash(gh secret list*)",
47
+ "Bash(sqlite3:*)",
48
+ "Bash(find:*)",
49
+ "Bash(grep:*)",
50
+ "Bash(sed:*)",
51
+ "Bash(awk:*)",
52
+ "Bash(sort:*)",
53
+ "Bash(echo:*)",
54
+ "Bash(printf:*)",
55
+ "Bash(date:*)",
56
+ "Bash(basename:*)",
57
+ "Bash(dirname:*)",
58
+ "Bash(realpath:*)",
59
+ "Bash(which:*)",
60
+ "Bash(command:*)",
61
+ "Bash(sleep:*)",
62
+ "Bash(cd:*)"
63
+ ]
64
+ },
65
+ "hooks": {
66
+ "PreToolUse": [
67
+ {
68
+ "matcher": "Bash",
69
+ "hooks": [
70
+ {
71
+ "type": "command",
72
+ "command": "node src/lib/heimdall.js"
73
+ }
74
+ ]
75
+ }
76
+ ],
77
+ "Stop": [
78
+ {
79
+ "matcher": "",
80
+ "hooks": [
81
+ {
82
+ "type": "command",
83
+ "command": "node .claude/hooks/worker-loop.js"
84
+ }
85
+ ]
86
+ }
87
+ ]
88
+ }
89
+ }
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 SpasticPalate
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 sugar-crash-studios
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.