@agenr/agenr-plugin 2.0.1 → 2.1.0

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.
@@ -22,7 +22,7 @@ import {
22
22
  readOptionalString,
23
23
  readRequiredString,
24
24
  validateTemporalValidityRange
25
- } from "./chunk-Y2BC7RCE.js";
25
+ } from "./chunk-7TDALVPY.js";
26
26
  import {
27
27
  compactClaimKey,
28
28
  describeClaimKeyNormalizationFailure,
@@ -34,7 +34,7 @@ import {
34
34
  parseRelativeDate,
35
35
  resolveClaimSlotPolicy,
36
36
  validateExtractedClaimKey
37
- } from "./chunk-MEHOGUZE.js";
37
+ } from "./chunk-6T5RXGIR.js";
38
38
 
39
39
  // src/adapters/openclaw/transcript/parser.ts
40
40
  import { createHash } from "crypto";
@@ -1064,7 +1064,6 @@ var openClawTranscriptParser = new OpenClawTranscriptParser();
1064
1064
  var ZERO_VECTOR = JSON.stringify(Array.from({ length: EMBEDDING_DIMENSIONS }, () => 0));
1065
1065
  function createOpenClawRepository(executor, options = {}) {
1066
1066
  return {
1067
- listCoreEntries: async (limit) => listCoreEntries(executor, limit),
1068
1067
  findEntryBySubject: async (subject) => findEntryBySubject(executor, subject),
1069
1068
  findMostRecentEntry: async () => findMostRecentEntry(executor),
1070
1069
  getEntryTrace: async (entryId) => getEntryTrace(executor, entryId, options.claimSlotPolicyConfig),
@@ -1072,24 +1071,6 @@ function createOpenClawRepository(executor, options = {}) {
1072
1071
  probeVectorAvailability: async () => probeVectorAvailability(executor)
1073
1072
  };
1074
1073
  }
1075
- async function listCoreEntries(executor, limit) {
1076
- if (limit <= 0) {
1077
- return [];
1078
- }
1079
- const result = await executor.execute({
1080
- sql: `
1081
- SELECT
1082
- ${ENTRY_SELECT_COLUMNS}
1083
- FROM entries
1084
- WHERE ${buildActiveEntryClause()}
1085
- AND expiry = 'core'
1086
- ORDER BY importance DESC, created_at DESC
1087
- LIMIT ?
1088
- `,
1089
- args: [limit]
1090
- });
1091
- return result.rows.map((row) => mapEntryRow(row));
1092
- }
1093
1074
  async function findEntryBySubject(executor, subject) {
1094
1075
  const normalizedSubject = subject.trim();
1095
1076
  if (normalizedSubject.length === 0) {