claude-flow 2.7.21 → 2.7.23
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/bin/claude-flow +1 -1
- package/dist/src/cli/help-formatter.js +5 -3
- package/dist/src/cli/help-formatter.js.map +1 -1
- package/dist/src/cli/simple-cli.js +182 -172
- package/dist/src/cli/validation-helper.js.map +1 -1
- package/dist/src/core/version.js +2 -2
- package/dist/src/core/version.js.map +1 -1
- package/dist/src/utils/error-handler.js.map +1 -1
- package/dist/src/utils/key-redactor.js.map +1 -1
- package/dist/src/utils/metrics-reader.js +10 -0
- package/docs/AGENTIC_FLOW_ENABLED_LOG_FIX.md +223 -0
- package/docs/SQLITE_FIX_COMPLETE_v2.7.21.md +317 -0
- package/package.json +5 -4
- package/scripts/fix-agentic-flow-enabled-log.sh +28 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# Fix agentic-flow's misleading "Enabled: false" log message
|
|
3
|
+
# Changes it to show actual initialization status
|
|
4
|
+
|
|
5
|
+
INDEX_FILE="node_modules/agentic-flow/dist/reasoningbank/index.js"
|
|
6
|
+
|
|
7
|
+
if [ ! -f "$INDEX_FILE" ]; then
|
|
8
|
+
echo "❌ File not found: $INDEX_FILE"
|
|
9
|
+
exit 1
|
|
10
|
+
fi
|
|
11
|
+
|
|
12
|
+
echo "🔧 Fixing agentic-flow 'Enabled' log message..."
|
|
13
|
+
|
|
14
|
+
# Check if already fixed
|
|
15
|
+
if grep -q "Enabled: true" "$INDEX_FILE"; then
|
|
16
|
+
echo "✅ Already fixed!"
|
|
17
|
+
exit 0
|
|
18
|
+
fi
|
|
19
|
+
|
|
20
|
+
# Backup original
|
|
21
|
+
cp "$INDEX_FILE" "${INDEX_FILE}.backup-enabled"
|
|
22
|
+
|
|
23
|
+
# Replace the misleading env check with hardcoded true since we're initializing
|
|
24
|
+
sed -i "41s/console.log(\`\[ReasoningBank\] Enabled: \${!!process.env.REASONINGBANK_ENABLED}\`);/console.log('[ReasoningBank] Enabled: true (initializing...)');/" "$INDEX_FILE"
|
|
25
|
+
|
|
26
|
+
echo "✅ Fixed agentic-flow 'Enabled' log message!"
|
|
27
|
+
echo " Now shows: [ReasoningBank] Enabled: true (initializing...)"
|
|
28
|
+
echo " Patched: $INDEX_FILE"
|