@monoes/monograph 1.6.2 → 1.6.3

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.
Files changed (2) hide show
  1. package/README.md +5 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -52,14 +52,13 @@ monomind monograph wiki
52
52
  ## Programmatic usage
53
53
 
54
54
  ```typescript
55
- import { MonographEngine } from '@monoes/monograph';
55
+ import { buildAsync, openDb, queryGraph, getMonographImpact } from '@monoes/monograph';
56
56
 
57
- const engine = new MonographEngine({ projectRoot: process.cwd() });
58
- await engine.build();
57
+ await buildAsync(process.cwd());
59
58
 
60
- const results = engine.query('authenticate');
61
- const impact = engine.impact('src/auth/login.ts');
62
- const godNodes = engine.godNodes({ limit: 10 });
59
+ const db = openDb('.monomind/monograph.db');
60
+ const results = queryGraph(db, { query: 'authenticate' });
61
+ const impact = getMonographImpact(db, { name: 'login', filePath: 'src/auth/login.ts' });
63
62
  ```
64
63
 
65
64
  ## MCP tools
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monoes/monograph",
3
- "version": "1.6.2",
3
+ "version": "1.6.3",
4
4
  "type": "module",
5
5
  "description": "Code intelligence engine for monomind — tree-sitter WASM grammars + SQLite knowledge graph, no native builds",
6
6
  "main": "dist/src/index.js",