@remnic/bench 9.7.8 → 9.7.10

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/dist/index.js +9 -7
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -5582,7 +5582,8 @@ import {
5582
5582
  parseFlexibleIsoTimestamp,
5583
5583
  parseConfig,
5584
5584
  parseEntityFile,
5585
- serializeEntityFile
5585
+ serializeEntityFile,
5586
+ StorageManager
5586
5587
  } from "@remnic/core";
5587
5588
  import {
5588
5589
  lcmEvidenceIdentity
@@ -7117,6 +7118,7 @@ function createAdapterFactory(mode) {
7117
7118
  const shouldClearCallerOwnedBenchState = !state.ownsTempDir && rebuildOptions.clearCallerOwnedBenchState === true;
7118
7119
  const callerOwnedMemoryDir = state.tempDir;
7119
7120
  await cleanup();
7121
+ StorageManager.clearAllStaticCaches();
7120
7122
  if (shouldClearCallerOwnedBenchState) {
7121
7123
  await clearCallerOwnedBenchState(callerOwnedMemoryDir);
7122
7124
  }
@@ -29630,7 +29632,7 @@ import os7 from "os";
29630
29632
  import path23 from "path";
29631
29633
  import { randomUUID as randomUUID13 } from "crypto";
29632
29634
  import { mkdtemp as mkdtemp4, rm as rm5 } from "fs/promises";
29633
- import { StorageManager } from "@remnic/core";
29635
+ import { StorageManager as StorageManager2 } from "@remnic/core";
29634
29636
 
29635
29637
  // src/benchmarks/remnic/entity-consolidation/fixture.ts
29636
29638
  var ENTITY_CONSOLIDATION_FIXTURE = [
@@ -29792,7 +29794,7 @@ function loadCases4(mode, limit) {
29792
29794
  async function executeCase(sample) {
29793
29795
  const tmpDir = await mkdtemp4(path23.join(os7.tmpdir(), "remnic-bench-entity-consolidation-"));
29794
29796
  try {
29795
- const storage = new StorageManager(tmpDir);
29797
+ const storage = new StorageManager2(tmpDir);
29796
29798
  await storage.ensureDirectories();
29797
29799
  const canonicalName = await applyScenario(storage, sample);
29798
29800
  const rawEntity = await storage.readEntity(canonicalName);
@@ -32496,7 +32498,7 @@ import { mkdtemp as mkdtemp6, rm as rm7 } from "fs/promises";
32496
32498
  import os9 from "os";
32497
32499
  import path25 from "path";
32498
32500
  import {
32499
- StorageManager as StorageManager2,
32501
+ StorageManager as StorageManager3,
32500
32502
  parseConfig as parseConfig3,
32501
32503
  inferIntentFromText,
32502
32504
  isTaskInitiationIntent,
@@ -32627,7 +32629,7 @@ async function runProceduralRecallBenchmark(options) {
32627
32629
  const dir = await mkdtemp6(path25.join(os9.tmpdir(), "remnic-bench-procedural-recall-"));
32628
32630
  let section = null;
32629
32631
  try {
32630
- const storage = new StorageManager2(dir);
32632
+ const storage = new StorageManager3(dir);
32631
32633
  await storage.ensureDirectories();
32632
32634
  const body = buildProcedureMarkdownBody(sample.procedureSteps);
32633
32635
  await storage.writeMemory(
@@ -43911,7 +43913,7 @@ import { mkdir as mkdir19, mkdtemp as mkdtemp12, rm as rm14, writeFile as writeF
43911
43913
  import os11 from "os";
43912
43914
  import path38 from "path";
43913
43915
  import {
43914
- StorageManager as StorageManager3,
43916
+ StorageManager as StorageManager4,
43915
43917
  parseConfig as parseConfig5,
43916
43918
  buildProcedureRecallSection as buildProcedureRecallSection2,
43917
43919
  buildProcedureMarkdownBody as buildProcedureMarkdownBody2
@@ -43943,7 +43945,7 @@ async function runSide(scenarios, proceduralEnabled) {
43943
43945
  path38.join(os11.tmpdir(), "remnic-bench-proc-ablation-")
43944
43946
  );
43945
43947
  try {
43946
- const storage = new StorageManager3(dir);
43948
+ const storage = new StorageManager4(dir);
43947
43949
  await storage.ensureDirectories();
43948
43950
  const body = buildProcedureMarkdownBody2(scenario.procedureSteps);
43949
43951
  await storage.writeMemory(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnic/bench",
3
- "version": "9.7.8",
3
+ "version": "9.7.10",
4
4
  "description": "Retrieval latency ladder benchmarks + CI regression gates for @remnic/core",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -39,8 +39,8 @@
39
39
  "hyparquet": "^1.25.7",
40
40
  "yaml": "^2.4.2",
41
41
  "zod": "^3.24.0",
42
- "@remnic/coding-graph": "^9.7.8",
43
- "@remnic/core": "^9.7.8"
42
+ "@remnic/coding-graph": "^9.7.10",
43
+ "@remnic/core": "^9.7.10"
44
44
  },
45
45
  "devDependencies": {
46
46
  "tsup": "^8.5.1",