engramx 0.5.1 → 0.5.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.
- package/README.md +3 -3
- package/dist/{chunk-V5VQQ3SF.js → chunk-IIFAAYDO.js} +2 -2
- package/dist/{chunk-LH2ZID5Z.js → chunk-KEV4LNM6.js} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{core-VUVXLXZN.js → core-UXIP2GDR.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/serve.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -341,7 +341,7 @@ Each view picks a different set of sections with different limits. For example,
|
|
|
341
341
|
|
|
342
342
|
| | engram | Mem0 | Graphify | aider repo-map | CLAUDE.md |
|
|
343
343
|
|---|---|---|---|---|---|
|
|
344
|
-
| **Code structure** |
|
|
344
|
+
| **Code structure** | Heuristic extraction (10 langs) | No | Yes (tree-sitter) | Yes (tree-sitter) | No |
|
|
345
345
|
| **Persistent memory** | SQLite graph, survives sessions | Yes (vector + graph) | Static snapshot | Per-session only | Manual text file |
|
|
346
346
|
| **Session learning** | Mines decisions, patterns, mistakes | Generic facts | No | No | You write it by hand |
|
|
347
347
|
| **Universal** | MCP + CLI + auto-gen | API only | Claude Code only | aider only | Claude Code only |
|
|
@@ -382,12 +382,12 @@ engram hooks status # Check installation
|
|
|
382
382
|
engram hooks uninstall # Remove hooks
|
|
383
383
|
```
|
|
384
384
|
|
|
385
|
-
Code changes trigger an instant
|
|
385
|
+
Code changes trigger an instant graph rebuild (no LLM, <50ms). The graph stays fresh without manual re-runs.
|
|
386
386
|
|
|
387
387
|
## Programmatic API
|
|
388
388
|
|
|
389
389
|
```typescript
|
|
390
|
-
import { init, query, godNodes, stats } from "
|
|
390
|
+
import { init, query, godNodes, stats } from "engramx";
|
|
391
391
|
|
|
392
392
|
// Build the graph
|
|
393
393
|
const result = await init("./my-project");
|
|
@@ -408,8 +408,8 @@ var GraphStore = class _GraphStore {
|
|
|
408
408
|
"DELETE FROM provider_cache WHERE (cached_at + ttl * 1000) <= ?",
|
|
409
409
|
[now]
|
|
410
410
|
);
|
|
411
|
-
const
|
|
412
|
-
return
|
|
411
|
+
const result = this.db.exec("SELECT changes()");
|
|
412
|
+
return result[0]?.values[0]?.[0] ?? 0;
|
|
413
413
|
}
|
|
414
414
|
/**
|
|
415
415
|
* Remove all cache entries for a provider. Used when a provider is
|
|
@@ -310,7 +310,7 @@ function writeToFile(filePath, summary) {
|
|
|
310
310
|
writeFileSync2(filePath, newContent);
|
|
311
311
|
}
|
|
312
312
|
async function autogen(projectRoot, target, task) {
|
|
313
|
-
const { getStore } = await import("./core-
|
|
313
|
+
const { getStore } = await import("./core-UXIP2GDR.js");
|
|
314
314
|
const store = await getStore(projectRoot);
|
|
315
315
|
try {
|
|
316
316
|
let view = VIEWS.general;
|
package/dist/cli.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
install,
|
|
5
5
|
status,
|
|
6
6
|
uninstall
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KEV4LNM6.js";
|
|
8
8
|
import {
|
|
9
9
|
benchmark,
|
|
10
10
|
computeKeywordIDF,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
renderFileStructure,
|
|
22
22
|
stats,
|
|
23
23
|
toPosixPath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IIFAAYDO.js";
|
|
25
25
|
|
|
26
26
|
// src/cli.ts
|
|
27
27
|
import { Command } from "commander";
|
|
@@ -1012,7 +1012,7 @@ async function warmAllProviders(projectRoot, enabledProviders) {
|
|
|
1012
1012
|
try {
|
|
1013
1013
|
const result = await withTimeout2(p.warmup(projectRoot), 5e3);
|
|
1014
1014
|
if (result && result.entries.length > 0) {
|
|
1015
|
-
const { getStore: getStore2 } = await import("./core-
|
|
1015
|
+
const { getStore: getStore2 } = await import("./core-UXIP2GDR.js");
|
|
1016
1016
|
const store = await getStore2(projectRoot);
|
|
1017
1017
|
try {
|
|
1018
1018
|
store.warmCache(
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
generateSummary,
|
|
5
5
|
install,
|
|
6
6
|
uninstall
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KEV4LNM6.js";
|
|
8
8
|
import {
|
|
9
9
|
GraphStore,
|
|
10
10
|
SUPPORTED_EXTENSIONS,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
sliceGraphemeSafe,
|
|
24
24
|
stats,
|
|
25
25
|
truncateGraphemeSafe
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-IIFAAYDO.js";
|
|
27
27
|
export {
|
|
28
28
|
GraphStore,
|
|
29
29
|
SUPPORTED_EXTENSIONS,
|
package/dist/serve.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "engramx",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "The context spine for AI coding agents. 6 providers assembled into rich context packets per Read interception. Up to 90% session-level token savings. Local SQLite, zero native deps, zero cloud.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|