engramx 0.4.0 → 0.4.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/cli.js +4 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1525,10 +1525,13 @@ function writeEngramSectionToMemoryMd(projectRoot, engramSection) {
|
|
|
1525
1525
|
|
|
1526
1526
|
// src/cli.ts
|
|
1527
1527
|
import { basename as basename4 } from "path";
|
|
1528
|
+
import { createRequire } from "module";
|
|
1529
|
+
var require2 = createRequire(import.meta.url);
|
|
1530
|
+
var { version: PKG_VERSION } = require2("../package.json");
|
|
1528
1531
|
var program = new Command();
|
|
1529
1532
|
program.name("engram").description(
|
|
1530
1533
|
"Context as infra for AI coding tools \u2014 hook-based Read/Edit interception + structural graph summaries"
|
|
1531
|
-
).version(
|
|
1534
|
+
).version(PKG_VERSION);
|
|
1532
1535
|
program.command("init").description("Scan codebase and build knowledge graph (zero LLM cost)").argument("[path]", "Project directory", ".").option(
|
|
1533
1536
|
"--with-skills [dir]",
|
|
1534
1537
|
"Also index Claude Code skills from ~/.claude/skills/ or a given path"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "engramx",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "The structural code graph your AI agent can't forget to use. A Claude Code hook layer that intercepts Read/Edit/Write/Bash and replaces file contents with ~300-token structural graph summaries. 82% measured token reduction. Context rot is empirically solved — cite Chroma. Local SQLite, zero LLM cost, zero cloud, zero native deps.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|