@claude-flow/cli 3.1.0-alpha.15 → 3.1.0-alpha.16

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.
@@ -1,4 +1,7 @@
1
1
  {
2
+ "env": {
3
+ "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
4
+ },
2
5
  "hooks": {
3
6
  "PreToolUse": [
4
7
  {
@@ -91,6 +94,12 @@
91
94
  "timeout": 5000,
92
95
  "continueOnError": true
93
96
  },
97
+ {
98
+ "type": "command",
99
+ "command": "node ./node_modules/@claude-flow/cli/.claude/helpers/auto-memory-hook.mjs import 2>/dev/null || npx -y @claude-flow/cli@latest .claude/helpers/auto-memory-hook.mjs import 2>/dev/null || true",
100
+ "timeout": 8000,
101
+ "continueOnError": true
102
+ },
94
103
  {
95
104
  "type": "command",
96
105
  "command": "[ -n \"$SESSION_ID\" ] && npx @claude-flow/cli@latest hooks session-restore --session-id \"$SESSION_ID\" 2>/dev/null || true",
@@ -100,13 +109,38 @@
100
109
  ]
101
110
  }
102
111
  ],
112
+ "SessionEnd": [
113
+ {
114
+ "hooks": [
115
+ {
116
+ "type": "command",
117
+ "command": "node ./node_modules/@claude-flow/cli/.claude/helpers/auto-memory-hook.mjs sync 2>/dev/null || true",
118
+ "timeout": 10000,
119
+ "continueOnError": true
120
+ },
121
+ {
122
+ "type": "command",
123
+ "command": "npx @claude-flow/cli@latest hooks session-end --persist-memory true --export-patterns true 2>/dev/null || true",
124
+ "timeout": 8000,
125
+ "continueOnError": true
126
+ }
127
+ ]
128
+ }
129
+ ],
103
130
  "Stop": [
104
131
  {
105
132
  "hooks": [
106
133
  {
107
134
  "type": "command",
108
- "command": "echo '{\"ok\": true}'",
109
- "timeout": 1000
135
+ "command": "node ./node_modules/@claude-flow/cli/.claude/helpers/auto-memory-hook.mjs sync 2>/dev/null || true",
136
+ "timeout": 10000,
137
+ "continueOnError": true
138
+ },
139
+ {
140
+ "type": "command",
141
+ "command": "npx @claude-flow/cli@latest hooks session-end --persist-memory true 2>/dev/null || true",
142
+ "timeout": 8000,
143
+ "continueOnError": true
110
144
  }
111
145
  ]
112
146
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-flow/cli",
3
- "version": "3.1.0-alpha.15",
3
+ "version": "3.1.0-alpha.16",
4
4
  "type": "module",
5
5
  "description": "Claude Flow CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
6
6
  "main": "dist/src/index.js",