vektor-slipstream 1.3.0 → 1.3.2

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/axon.js CHANGED
@@ -212,7 +212,7 @@ async function onSessionStart({ projectPath, memory } = {}) {
212
212
  try {
213
213
  const results = await memory.recall(
214
214
  `[CLOAK_AXON_MEMCELL] project:${_sessionLog.projectName}`,
215
- { limit: 1 }
215
+ 1
216
216
  );
217
217
  if (results && results.length > 0) {
218
218
  lastContext = results[0].content;
package/cerebellum.js CHANGED
@@ -116,11 +116,12 @@ async function checkWrite({ content, filePath, memory } = {}) {
116
116
  // Query causal error graph for patterns similar to this write
117
117
  const errorPatterns = await memory.recall(
118
118
  `${ERROR_PREFIX} ${content.slice(0, 300)}`,
119
- { limit: MAX_PATTERNS_TO_CHECK }
119
+ MAX_PATTERNS_TO_CHECK
120
120
  );
121
121
 
122
122
  if (!errorPatterns || errorPatterns.length === 0) {
123
- return { warnings: [], shouldProceed: true };
123
+ _cacheSet(key, []); // cache the empty result too — prevents repeat Vektor calls
124
+ return { warnings: [], shouldProceed: true, cached: false };
124
125
  }
125
126
 
126
127
  for (const pattern of errorPatterns) {
@@ -146,7 +147,7 @@ async function checkWrite({ content, filePath, memory } = {}) {
146
147
  // Also check Do-Not-Repeat rules (always enforced regardless of similarity)
147
148
  const dnrRules = await memory.recall(
148
149
  `${DNR_PREFIX}`,
149
- { limit: 5 }
150
+ 5
150
151
  );
151
152
 
152
153
  if (dnrRules) {
@@ -253,7 +254,7 @@ async function autoResolve({ content, filePath, memory } = {}) {
253
254
  // Pull all open errors on this file, then let REM cycle verify.
254
255
  const candidates = await memory.recall(
255
256
  `${ERROR_PREFIX} file:${filePath}`,
256
- { limit: MAX_PATTERNS_TO_CHECK }
257
+ MAX_PATTERNS_TO_CHECK
257
258
  );
258
259
 
259
260
  if (!candidates || candidates.length === 0) return { resolved: [], written: 0 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vektor-slipstream",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Hardware-accelerated persistent memory for AI agents. Local-first, zero cloud dependency, $0 embedding cost.",
5
5
  "main": "slipstream-core.js",
6
6
  "bin": {
package/token.js CHANGED
@@ -220,7 +220,7 @@ async function getWasteReport({ memory, days = 30 } = {}) {
220
220
  try {
221
221
  nodes = await memory.recall(
222
222
  `[CLOAK_TOKEN_LEDGER]`,
223
- { limit: days }
223
+ days
224
224
  );
225
225
  } catch (err) {
226
226
  return { error: err.message, sessions: [] };