@monoes/monomindcli 1.11.0 → 1.11.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.
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +10 -1
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/init/claudemd-generator.d.ts.map +1 -1
- package/dist/src/init/claudemd-generator.js +47 -23
- package/dist/src/init/claudemd-generator.js.map +1 -1
- package/dist/src/mcp-tools/monograph-compat.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph-compat.js +19 -1
- package/dist/src/mcp-tools/monograph-compat.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/commands/hooks.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAiC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/commands/hooks.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAiC,MAAM,aAAa,CAAC;AAq/J1E,eAAO,MAAM,YAAY,EAAE,OAwG1B,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1424,7 +1424,16 @@ const preTaskCommand = {
|
|
|
1424
1424
|
output.writeln(output.bold('Recommendations'));
|
|
1425
1425
|
output.printList(result.recommendations);
|
|
1426
1426
|
}
|
|
1427
|
-
//
|
|
1427
|
+
// Monograph graph-first reminder — always surface before the agent starts grepping
|
|
1428
|
+
if (description) {
|
|
1429
|
+
output.writeln();
|
|
1430
|
+
output.writeln(output.bold('[MONOGRAPH] Graph-first protocol:'));
|
|
1431
|
+
output.printList([
|
|
1432
|
+
`mcp__monomind__monograph_suggest task="${description.slice(0, 80)}" — get relevant nodes ranked by task`,
|
|
1433
|
+
'mcp__monomind__monograph_query — BM25 lookup before any grep/find via Bash',
|
|
1434
|
+
'mcp__monomind__monograph_impact — blast radius before editing shared code',
|
|
1435
|
+
]);
|
|
1436
|
+
}
|
|
1428
1437
|
return { success: true, data: result };
|
|
1429
1438
|
}
|
|
1430
1439
|
catch (error) {
|