@monoes/monomindcli 1.10.28 → 1.10.29
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/.claude/helpers/hook-handler.cjs +27 -1
- package/dist/src/commands/init.d.ts.map +1 -1
- package/dist/src/commands/init.js +25 -1
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/init/executor.d.ts.map +1 -1
- package/dist/src/init/executor.js +27 -0
- package/dist/src/init/executor.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/scripts/understand-analyze.mjs +14 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monoes/monomindcli",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.29",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Monomind 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",
|
|
@@ -698,8 +698,21 @@ async function main() {
|
|
|
698
698
|
tx();
|
|
699
699
|
// Rebuild FTS so summaries are immediately searchable
|
|
700
700
|
try { db.prepare(`INSERT INTO nodes_fts(nodes_fts) VALUES('rebuild')`).run(); } catch {}
|
|
701
|
-
|
|
701
|
+
|
|
702
|
+
// Validate write-back: count nodes that now have a readable summary in properties
|
|
703
|
+
let enrichedCount = 0;
|
|
704
|
+
try {
|
|
705
|
+
const row = db.prepare(
|
|
706
|
+
`SELECT COUNT(*) AS c FROM nodes WHERE json_extract(properties, '$.summary') IS NOT NULL AND length(json_extract(properties, '$.summary')) > 5`
|
|
707
|
+
).get();
|
|
708
|
+
enrichedCount = row ? row.c : 0;
|
|
709
|
+
} catch (_) {}
|
|
702
710
|
console.log(`[understand] Imported ${written} analyses from stdin. FTS rebuilt.`);
|
|
711
|
+
console.log(`[understand] Validation: ${enrichedCount} node(s) now have LLM summaries readable via json_extract.`);
|
|
712
|
+
if (written > 0 && enrichedCount < written) {
|
|
713
|
+
console.warn(`[understand] WARNING: only ${enrichedCount} of ${written} imported analyses are queryable. Some properties may not have committed — check if properties column is TEXT.`);
|
|
714
|
+
}
|
|
715
|
+
mg.closeDb(db);
|
|
703
716
|
return;
|
|
704
717
|
}
|
|
705
718
|
|