@brainervirus/workit-claude-code 8.26.1 → 8.28.0

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/hooks/hooks.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "description": "Workit host hooks: task context on session start (incl. compaction restore and forks) and when it changes per turn, branch policy and raw git/forge steering (deny gate bypasses, nudge routine commands) on shell commands, the heavy-command gate (a heavy shell command runs under the machine-wide heavy-check lease, a chain with heavy parts is split, a command a permission rule names is left to Claude Code), the before-write gate on file edits and shell writes, recording raw git commits for the session after they run, worktree guidance for subagents, one continuation when the agent stops with a provable unmet delivery obligation, a one-line skill nudge on prompts and delivery commands, and recording each Workit skill load. Only events that change Claude's behavior are registered.",
2
+ "description": "Workit host hooks: task context on session start (incl. compaction restore and forks) and when it changes per turn, branch policy and raw git/forge steering (deny gate bypasses, nudge routine commands) on shell commands, the heavy-command gate (a heavy shell command runs under the machine-wide heavy-check lease, a chain with heavy parts is split, a command a permission rule names is left to Claude Code), the before-write gate on file edits and shell writes, recording raw git commits for the session after they run, worktree guidance for subagents, the role's default model and effort on a subagent spawn that names none, one continuation when the agent stops with a provable unmet delivery obligation, a one-line skill nudge on prompts and delivery commands, and recording each Workit skill load. Only events that change Claude's behavior are registered.",
3
3
  "hooks": {
4
4
  "SessionStart": [
5
5
  {
@@ -60,6 +60,17 @@
60
60
  }
61
61
  ]
62
62
  },
63
+ {
64
+ "matcher": "Agent|Task",
65
+ "hooks": [
66
+ {
67
+ "type": "command",
68
+ "command": "node",
69
+ "args": ["${CLAUDE_PLUGIN_ROOT}/bin/workit-hook.mjs"],
70
+ "timeout": 15
71
+ }
72
+ ]
73
+ },
63
74
  {
64
75
  "matcher": "Skill",
65
76
  "hooks": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/workit-claude-code",
3
- "version": "8.26.1",
3
+ "version": "8.28.0",
4
4
  "private": false,
5
5
  "description": "Workit Claude Code plugin — session and per-turn task context, branch policy on git shell commands, workit method skills, and verifier/reviewer/implementer agents",
6
6
  "keywords": [
@@ -39,8 +39,8 @@
39
39
  "build": "bun scripts/build.ts"
40
40
  },
41
41
  "devDependencies": {
42
- "@brainervirus/workit-cli": "^8.26.1",
43
- "@brainervirus/workit-core": "^8.26.1"
42
+ "@brainervirus/workit-cli": "^8.28.0",
43
+ "@brainervirus/workit-core": "^8.28.0"
44
44
  },
45
45
  "engines": {
46
46
  "node": ">=24"