engramx 0.5.2 → 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.
@@ -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 changes = this.db.getRowsModified();
412
- return changes;
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-VUVXLXZN.js");
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-LH2ZID5Z.js";
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-V5VQQ3SF.js";
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-VUVXLXZN.js");
1015
+ const { getStore: getStore2 } = await import("./core-UXIP2GDR.js");
1016
1016
  const store = await getStore2(projectRoot);
1017
1017
  try {
1018
1018
  store.warmCache(
@@ -11,7 +11,7 @@ import {
11
11
  path,
12
12
  query,
13
13
  stats
14
- } from "./chunk-V5VQQ3SF.js";
14
+ } from "./chunk-IIFAAYDO.js";
15
15
  export {
16
16
  benchmark,
17
17
  computeKeywordIDF,
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  generateSummary,
5
5
  install,
6
6
  uninstall
7
- } from "./chunk-LH2ZID5Z.js";
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-V5VQQ3SF.js";
26
+ } from "./chunk-IIFAAYDO.js";
27
27
  export {
28
28
  GraphStore,
29
29
  SUPPORTED_EXTENSIONS,
package/dist/serve.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  query,
9
9
  stats,
10
10
  truncateGraphemeSafe
11
- } from "./chunk-V5VQQ3SF.js";
11
+ } from "./chunk-IIFAAYDO.js";
12
12
 
13
13
  // src/serve.ts
14
14
  function clampInt(value, defaultValue, min, max) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "engramx",
3
- "version": "0.5.2",
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",