agentic-flow 1.4.10 → 1.4.11
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.
|
@@ -217,12 +217,18 @@ export function storeMattsRun(run) {
|
|
|
217
217
|
* Log performance metric
|
|
218
218
|
*/
|
|
219
219
|
export function logMetric(name, value) {
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
220
|
+
try {
|
|
221
|
+
const db = getDb();
|
|
222
|
+
// Log to metrics_log table (our own table)
|
|
223
|
+
db.prepare(`
|
|
224
|
+
INSERT INTO metrics_log (metric_name, value, timestamp)
|
|
225
|
+
VALUES (?, ?, CURRENT_TIMESTAMP)
|
|
226
|
+
`).run(name, value);
|
|
227
|
+
}
|
|
228
|
+
catch (error) {
|
|
229
|
+
// Silently fail if metrics table doesn't exist
|
|
230
|
+
// This is optional logging, not critical
|
|
231
|
+
}
|
|
226
232
|
}
|
|
227
233
|
/**
|
|
228
234
|
* Count new memories since last consolidation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentic-flow",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.11",
|
|
4
4
|
"description": "Production-ready AI agent orchestration platform with 66 specialized agents, 213 MCP tools, ReasoningBank learning memory, and autonomous multi-agent swarms. Built by @ruvnet with Claude Agent SDK, neural networks, memory persistence, GitHub integration, and distributed consensus protocols.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|