@devflow-tools/cli 0.18.73 → 0.19.1

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 (34) hide show
  1. package/dist/commands/delivery.d.ts +7 -6
  2. package/dist/commands/delivery.d.ts.map +1 -1
  3. package/dist/commands/delivery.js +9 -8
  4. package/dist/commands/delivery.js.map +1 -1
  5. package/dist/commands/hooks.d.ts +22 -0
  6. package/dist/commands/hooks.d.ts.map +1 -0
  7. package/dist/commands/hooks.js +204 -0
  8. package/dist/commands/hooks.js.map +1 -0
  9. package/dist/index.js +2 -0
  10. package/dist/index.js.map +1 -1
  11. package/dist/lib/plugin-setup.js +29 -5
  12. package/dist/lib/plugin-setup.js.map +1 -1
  13. package/dist/plugin-files/.claude-plugin/plugin.json +1 -1
  14. package/dist/plugin-files/dist/command-registry.json +7 -7
  15. package/dist/plugin-files/dist/hooks/hook-daemon.js +28 -27
  16. package/dist/plugin-files/dist/hooks/post-tool-use-failure.js +2 -2
  17. package/dist/plugin-files/dist/hooks/post-tool-use.js +4 -4
  18. package/dist/plugin-files/dist/hooks/pre-tool-use.js +5 -4
  19. package/dist/plugin-files/dist/hooks/session-end.js +6 -6
  20. package/dist/plugin-files/dist/hooks/stop.js +9 -9
  21. package/dist/plugin-files/hooks/README.md +15 -0
  22. package/dist/plugin-files/hooks/constitution.md +7 -16
  23. package/dist/plugin-files/hooks/hooks.json +11 -6
  24. package/dist/plugin-files/hooks/post-tool-use +7 -0
  25. package/dist/plugin-files/hooks/post-tool-use-failure +7 -0
  26. package/dist/plugin-files/hooks/pre-compact +7 -0
  27. package/dist/plugin-files/hooks/pre-tool-use +17 -9
  28. package/dist/plugin-files/hooks/runtime-node +11 -0
  29. package/dist/plugin-files/hooks/session-end +7 -0
  30. package/dist/plugin-files/hooks/session-start +28 -27
  31. package/dist/plugin-files/hooks/stop +7 -0
  32. package/dist/plugin-files/hooks/user-prompt-submit +7 -0
  33. package/dist/plugin-files/package.json +14 -14
  34. package/package.json +29 -29
@@ -5,6 +5,13 @@ set -euo pipefail
5
5
  SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
6
6
  PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-$SCRIPT_DIR/..}"
7
7
  source "$SCRIPT_DIR/runtime-node"
8
+
9
+ # Global kill switch: exit with no opinion before spawning any runtime.
10
+ if devflow_is_disabled; then
11
+ cat >/dev/null 2>&1 || true
12
+ exit 0
13
+ fi
14
+
8
15
  DEVFLOW_NODE="$(devflow_resolve_node "$PLUGIN_ROOT")"
9
16
 
10
17
  # 1. Use the daemon as the authoritative Stop handler.
@@ -4,6 +4,13 @@ set -euo pipefail
4
4
  SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
5
5
  PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-$SCRIPT_DIR/..}"
6
6
  source "$SCRIPT_DIR/runtime-node"
7
+
8
+ # Global kill switch: exit with no opinion before spawning any runtime.
9
+ if devflow_is_disabled; then
10
+ cat >/dev/null 2>&1 || true
11
+ exit 0
12
+ fi
13
+
7
14
  DEVFLOW_NODE="$(devflow_resolve_node "$PLUGIN_ROOT")"
8
15
  CLIENT_JS="$PLUGIN_ROOT/dist/hooks/hook-client.js"
9
16
  FALLBACK_JS="$PLUGIN_ROOT/dist/hooks/user-prompt-submit.js"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devflow-tools/claude-code-plugin",
3
- "version": "0.18.73",
3
+ "version": "0.19.1",
4
4
  "description": "Claude Code hooks and skills for the DevFlow development intelligence runtime.",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -12,20 +12,20 @@
12
12
  "verify:runtime-dependencies": "node --import tsx scripts/verify-runtime-dependencies.ts"
13
13
  },
14
14
  "dependencies": {
15
- "@devflow-tools/benchmark": "0.18.73",
16
- "@devflow-tools/context-engine": "0.18.73",
17
- "@devflow-tools/database": "0.18.73",
18
- "@devflow-tools/mcp-server": "0.18.73",
19
- "@devflow-tools/memory-engine": "0.18.73",
20
- "@devflow-tools/sdk": "0.18.73",
21
- "@devflow-tools/semantic-engine": "0.18.73",
22
- "@devflow-tools/server": "0.18.73",
23
- "@devflow-tools/task-runtime": "0.18.73",
24
- "@devflow-tools/telemetry": "0.18.73",
25
- "@devflow-tools/workflow-engine": "0.18.73"
15
+ "@devflow-tools/benchmark": "0.19.1",
16
+ "@devflow-tools/context-engine": "0.19.1",
17
+ "@devflow-tools/database": "0.19.1",
18
+ "@devflow-tools/mcp-server": "0.19.1",
19
+ "@devflow-tools/memory-engine": "0.19.1",
20
+ "@devflow-tools/sdk": "0.19.1",
21
+ "@devflow-tools/semantic-engine": "0.19.1",
22
+ "@devflow-tools/server": "0.19.1",
23
+ "@devflow-tools/task-runtime": "0.19.1",
24
+ "@devflow-tools/telemetry": "0.19.1",
25
+ "@devflow-tools/workflow-engine": "0.19.1"
26
26
  },
27
27
  "devDependencies": {
28
- "@devflow-tools/devflow": "0.18.65"
28
+ "@devflow-tools/devflow": "0.19.1"
29
29
  },
30
30
  "allowScripts": {
31
31
  "better-sqlite3@12.11.1": true,
@@ -50,7 +50,7 @@
50
50
  "hooks",
51
51
  "skills"
52
52
  ],
53
- "gitHead": "f80c5d8fde0b5387e89cf3d38a0c533a5fbfb8c2",
53
+ "gitHead": "98ce356672b913045d8435cabd6ae68233f5723e",
54
54
  "license": "MIT",
55
55
  "repository": {
56
56
  "type": "git",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devflow-tools/cli",
3
- "version": "0.18.73",
3
+ "version": "0.19.1",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "devflow": "./bin/devflow.cjs"
@@ -14,33 +14,33 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@colbymchenry/codegraph": "^1.1.1",
17
- "@devflow-tools/adapters": "0.18.73",
18
- "@devflow-tools/benchmark": "0.18.73",
19
- "@devflow-tools/context-engine": "0.18.73",
20
- "@devflow-tools/database": "0.18.73",
21
- "@devflow-tools/delivery-line": "0.18.73",
22
- "@devflow-tools/devflow": "0.18.73",
23
- "@devflow-tools/knowledge-engine": "0.18.73",
24
- "@devflow-tools/mcp-server": "0.18.73",
25
- "@devflow-tools/memory-engine": "0.18.73",
26
- "@devflow-tools/plugin-animation": "0.18.73",
27
- "@devflow-tools/plugin-css": "0.18.73",
28
- "@devflow-tools/plugin-docker": "0.18.73",
29
- "@devflow-tools/plugin-electron": "0.18.73",
30
- "@devflow-tools/plugin-git": "0.18.73",
31
- "@devflow-tools/plugin-graphql": "0.18.73",
32
- "@devflow-tools/plugin-nest": "0.18.73",
33
- "@devflow-tools/plugin-nextjs": "0.18.73",
34
- "@devflow-tools/plugin-performance": "0.18.73",
35
- "@devflow-tools/plugin-react": "0.18.73",
36
- "@devflow-tools/plugin-tailwind": "0.18.73",
37
- "@devflow-tools/plugin-taro": "0.18.73",
38
- "@devflow-tools/plugin-ui-layout": "0.18.73",
39
- "@devflow-tools/plugin-vue": "0.18.73",
40
- "@devflow-tools/sdk": "0.18.73",
41
- "@devflow-tools/server": "0.18.73",
42
- "@devflow-tools/telemetry": "0.18.73",
43
- "@devflow-tools/workflow-engine": "0.18.73",
17
+ "@devflow-tools/adapters": "0.19.1",
18
+ "@devflow-tools/benchmark": "0.19.1",
19
+ "@devflow-tools/context-engine": "0.19.1",
20
+ "@devflow-tools/database": "0.19.1",
21
+ "@devflow-tools/delivery-line": "0.19.1",
22
+ "@devflow-tools/devflow": "0.19.1",
23
+ "@devflow-tools/knowledge-engine": "0.19.1",
24
+ "@devflow-tools/mcp-server": "0.19.1",
25
+ "@devflow-tools/memory-engine": "0.19.1",
26
+ "@devflow-tools/plugin-animation": "0.19.1",
27
+ "@devflow-tools/plugin-css": "0.19.1",
28
+ "@devflow-tools/plugin-docker": "0.19.1",
29
+ "@devflow-tools/plugin-electron": "0.19.1",
30
+ "@devflow-tools/plugin-git": "0.19.1",
31
+ "@devflow-tools/plugin-graphql": "0.19.1",
32
+ "@devflow-tools/plugin-nest": "0.19.1",
33
+ "@devflow-tools/plugin-nextjs": "0.19.1",
34
+ "@devflow-tools/plugin-performance": "0.19.1",
35
+ "@devflow-tools/plugin-react": "0.19.1",
36
+ "@devflow-tools/plugin-tailwind": "0.19.1",
37
+ "@devflow-tools/plugin-taro": "0.19.1",
38
+ "@devflow-tools/plugin-ui-layout": "0.19.1",
39
+ "@devflow-tools/plugin-vue": "0.19.1",
40
+ "@devflow-tools/sdk": "0.19.1",
41
+ "@devflow-tools/server": "0.19.1",
42
+ "@devflow-tools/telemetry": "0.19.1",
43
+ "@devflow-tools/workflow-engine": "0.19.1",
44
44
  "@inquirer/prompts": "^7.10.1",
45
45
  "chalk": "^5.3.0",
46
46
  "commander": "^12.0.0"
@@ -53,7 +53,7 @@
53
53
  "dist",
54
54
  "bin"
55
55
  ],
56
- "gitHead": "f80c5d8fde0b5387e89cf3d38a0c533a5fbfb8c2",
56
+ "gitHead": "b61099e2d21991cf212012dfbe965393fbf4da00",
57
57
  "description": "Command-line interface for DevFlow development intelligence and diagnostics.",
58
58
  "license": "MIT",
59
59
  "repository": {